blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1716467f2a2282dc1dcaed1835841e3a67a2e3f0 | e2d6129f991ec7a8c304aa9c045f486cc8901b7c | /src/pcrepp/test_pcre2pp.cc | ce5b0c58b637c90975be8d3f7216982ad322e235 | [
"BSD-2-Clause"
] | permissive | tstack/lnav | f1f8769885d1e639fa969dbc8c304626bfcb7318 | c796a662731b5bdb74196af0a4dfd0cbdf96e285 | refs/heads/master | 2023-09-05T19:04:14.646192 | 2023-09-05T05:51:07 | 2023-09-05T05:51:07 | 306,147 | 5,812 | 355 | BSD-2-Clause | 2023-08-05T19:12:34 | 2009-09-14T01:02:02 | C++ | UTF-8 | C++ | false | false | 7,794 | cc | /**
* Copyright (c) 2022, Timothy Stack
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of condi... | [
"timothyshanestack@gmail.com"
] | timothyshanestack@gmail.com |
3e1792367200f5f62a365b478174b17382203892 | 87b64a43e2f62d7d6bbcc0c6879586c0eb6e76eb | /button.hpp | 4f4264c0128a77e3812e588f00943d9a8f9caf98 | [
"MIT"
] | permissive | SudhanshuLaroiya/MakeUofT | 145e4a3c405298ff3447a6371952b1e4ea54f6d6 | 13b8f8db4d7f9360ec7a4c88c88f4fd40c18d6f0 | refs/heads/master | 2020-04-23T11:42:19.350950 | 2019-02-17T16:42:04 | 2019-02-17T16:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,395 | hpp | /**
* copyright (c) 2018, James Flynn
* SPDX-License-Identifier: MIT
*/
/**
* @file button.hpp
* @brief A small BUTTON class for detecting & debouncing button preesses
*
* @author James Flynn
*
* @date 24-Aug-2018
*/
#include "mbed.h"
#define BUTTON_DEBOUNCE 20 //specify th... | [
"noreply@github.com"
] | noreply@github.com |
e811c19394f4861bbd3ab100ac1d671a66d6a467 | f67629586414cfe28929c10f30e09ce82ea342bc | /Benchmark Engineering Tool/example/BenchmarkLibUnbuilt/src-gen/stateMachine/AbstractMachineElement.hpp | a875c394458854b66dd69ecb31cbdea2936ad642 | [] | no_license | Mohamedgalil/plug-and-bench | cb259258fbb9a09a7ed084d395ca5a49d17c8a6b | 44d02a6eb0eb7de289364e2dffe5dc0d63cc9516 | refs/heads/master | 2020-04-25T15:31:23.868541 | 2019-04-16T07:20:24 | 2019-04-16T07:20:24 | 172,881,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,566 | hpp | // -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* stateMachine/AbstractMachineElement.hpp
* This file was created by EMF4CPP 2.0.0 and is copyrighted by the
* respective user and/or provider of the processed ECORE model.
*
* EMF4CPP is free software. You can obtain it from
* https://github.com/c... | [
"mohamed.el-shamouty@ipa.fraunhofer.de"
] | mohamed.el-shamouty@ipa.fraunhofer.de |
2abdbeb285bbcf1ab1ac3945151585570162bcc6 | 19a012b6a66374235771a8c2baee19560e98f8d7 | /Codeforces/CR51/a.cpp | e1c9e0ee5f568dcef4d3a1b651505a7efed34706 | [] | no_license | juancate/CompetitivePrograming | 735e992fd6ac9c264059604fb7a2f2dfce74d330 | 8cea3695fd0dec7122c94ab45b4517cb13232fb3 | refs/heads/master | 2021-01-25T10:06:47.576470 | 2018-12-19T01:11:41 | 2018-12-19T01:11:41 | 14,966,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
#include <cctype>
#include <cassert>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <algorithm>
#define D(x) ... | [
"jcamargo@gmail.com"
] | jcamargo@gmail.com |
1f8199c241d96eab456cc804103218b6e89b1e4c | a19c02e59d9d5990a92ee64d97d3deab2d8b7f0f | /src/Robot.cpp | b06d36d0cee76b87fe81cb141955d9f1b43304fd | [] | no_license | CloverBots/steamworks-2017 | 556b08dd546c54738656c15b09208e671692491c | 174d807b4bd33e8c846d5833a594176112895e5d | refs/heads/master | 2021-01-14T08:03:09.567910 | 2017-08-05T23:32:04 | 2017-08-05T23:32:04 | 81,898,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,222 | cpp | #include <memory>
#include <Commands/Command.h>
#include <Commands/PlaceGearCenter.h>
#include <Commands/PlaceGearLeft.h>
#include <Commands/PlaceGearRight.h>
#include <Commands/ShootSequence.h>
#include <Commands/Scheduler.h>
#include <IterativeRobot.h>
#include <LiveWindow/LiveWindow.h>
#include <SmartDashboard/Send... | [
"mackinnonman@icloud.com"
] | mackinnonman@icloud.com |
0caf860b2208eba1eceed5d16e0bbf1b1db68f81 | 81dc36fe44f0d9df4f17f70959925816b5fe385e | /license-client/include/tcpclient.h | b955fab05874ff3cec435cf95ad13a8ea91fc5e6 | [
"MIT"
] | permissive | stallion5632/license-services | 6dd5beb076de762ccbcc8bef0bcddc12d1156b9f | e46be0a89fdee4037aa8804411b6ec135ce25887 | refs/heads/master | 2020-03-29T12:13:17.721950 | 2018-09-23T02:00:23 | 2018-09-23T02:00:23 | 149,889,481 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 676 | h |
#ifndef TCP_CLIENT_H
#define TCP_CLIENT_H
#include <boost/asio.hpp>
#include "tcp_message.hpp"
#include "messagebus.hpp"
#include "common.h"
#include "rockapi.h"
struct ClientConfig;
class TcpClientImpl;
class ROCK_NET_API TcpClient
{
public:
TcpClient(boost::asio::io_context& io_context,
const ClientConfig &c... | [
"stallion5632@163.com"
] | stallion5632@163.com |
1a57ee116aa5abe676104c058972799ea6d6f101 | 4e8ec57b29f8ffab169e97bb5a1cb1e794ee24d9 | /Tema3Object3D.h | b13ea7b245ec62c29832f4bd8fa643e044b1d22d | [] | no_license | remusbompa/New-Vegas | 4ee780a52f0a4f6b95ae73870bf4b06a41654c2c | 80580316894db3e36aa4d4a8b385ebed253c117e | refs/heads/master | 2020-04-23T02:44:17.014961 | 2019-02-15T11:43:52 | 2019-02-15T11:43:52 | 170,855,809 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | h | #pragma once
#include <string>
#include <include/glm.h>
#include <Core/GPU/Mesh.h>
#include "Tema3.h"
/*
Fisierul defineste functiile de construire a obiectelor si de detectare a coliziunilor.
*/
namespace Tema3Object3D
{
Mesh* CreateParaleliped(std::string name, glm::vec3 corner, float height, float depth, float... | [
"noreply@github.com"
] | noreply@github.com |
10b00f1d7deb884ddc3369c0e9da346139ac88a5 | 85bfbbc8ecff945026ca735fa70b6b07029efef3 | /PA4/mycode/expression_validation.h | 42a061fdfc69ac7f2b1105c78d9a59625be916d3 | [] | no_license | dafidi/cs143 | 3febf7a4b6a50f38c79a13ca32f39d4f291e2111 | 7336deac87625f90f57d731bc8346d7e40c90481 | refs/heads/master | 2020-07-13T00:36:50.471457 | 2019-09-06T01:22:33 | 2019-09-06T01:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,698 | h | #pragma once
#include "cool-tree.h"
#include "symtab.h"
#include "typechecking.h"
#include <stack>
#include <algorithm>
namespace mycode {
bool object_in_ancestry_attribs(Symbol sym, const Symbol c, SymbolTable<Symbol, symbol_table_data>*& sym_tab);
bool validate_exp_assign(Class_ in_class, Feature in_feature, Ex... | [
"david.awogbemila@bison.howard.edu"
] | david.awogbemila@bison.howard.edu |
9231be6a36383b9579e83435371c9f0e4b0e42ea | 8559edef3b57407ac5d11cb23df68b50b07b7911 | /Best_Online Judge solution/Code force online judge/Game.cpp | 1522d16b86c4e4c13c1aecbbf5889b12725ec5b1 | [] | no_license | mijanur-rahman-40/C-C-plus-plus-Online-Judge-Algorithms-Practise-Programming | 2a031b0743356ba4c8670623aaa87b57f0b43f27 | 254924e4bd890e2f6d434abcc9ef52ef3e209211 | refs/heads/master | 2023-02-13T06:26:20.422678 | 2021-01-13T14:20:21 | 2021-01-13T14:20:21 | 329,330,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int num;
scanf("%d",&num);
int arr[num];
for(int i=0; i<num; i++){
scanf("%d",&arr[i]);
}
sort(arr,arr+num);
cout<<arr[(num-1)/2]<<endl;
}
| [
"mijanurrahman31416@gmail.com"
] | mijanurrahman31416@gmail.com |
888de065a43c643dab1eed5f4c0d89650b614d2d | f43543ac545c96daf74ee763e7fb1497f7ddf309 | /Chapter5/ass4.cpp | 3acadb4e27c8e4dbe54cda8e92040d4280370a46 | [] | no_license | Cyrus07/Cpp_pp | bb272e5fbdb100ade2aba4c268c0abd6072e4601 | 89450593a63bdc70ec9bf648e3a250e9e0e0f71c | refs/heads/master | 2021-01-10T17:38:26.006926 | 2016-01-07T14:36:24 | 2016-01-07T14:36:24 | 48,879,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include<iostream>
int main()
{
using std::cout;
using std::endl;
double Daphne=100.0, Cleo=100.0;
int i=0;
while (Cleo <= Daphne)
{
i++;
Cleo*=1.05;
Daphne+=10;
}
cout << "Daphne: " << Daphne << endl
<< "Cleo: " << Cleo << endl
<< "It's year " << i << endl;
return 0;
}
| [
"teamworkhlc@gmail.com"
] | teamworkhlc@gmail.com |
88ea7b80f4d118f94da626108f911b82018fe9d5 | a2edaed1232234b1b3227f989fc35aece8c26a50 | /TerrificTrafficSimulator/GUI/SCN_SelectMap.h | ce1df35e953784d863bf7360726e39cf86c467ec | [] | no_license | mkay1375/TerrificTrafficSimulator | 690519488c62ddc21ce12321eac4a8e8c820e81a | ade4483abb23712980c8eee17da3feead67d21cd | refs/heads/main | 2023-03-27T01:11:06.164891 | 2021-04-04T16:03:41 | 2021-04-04T16:03:41 | 354,578,362 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | h | #pragma once
#include "Scene.h"
class SCN_SelectMap : public Scene
{
public:
SCN_SelectMap();
~SCN_SelectMap();
};
| [
"mkay1375@gmail.com"
] | mkay1375@gmail.com |
8871d673d5d2d1d2fed836530caf4ba084fde102 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/ProvidesEndpoint/UNIX_ProvidesEndpoint_SOLARIS.hxx | 0e588878e083edfb93d18e7bf5b4eb13b7077919 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hxx | #ifdef PEGASUS_OS_SOLARIS
#ifndef __UNIX_PROVIDESENDPOINT_PRIVATE_H
#define __UNIX_PROVIDESENDPOINT_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
ee7e7a92a1f1a1fa9ac67a95c2ec7fa53c1b346f | e426bfa4943daf4206030415cba2012ffc45c532 | /include/common/snippets/asc2bin.h | 3030d16a2c633fcb6fbbcaa15d292dee3aa2f548 | [] | no_license | shawwn/codesuppository | 952c43b48fb12fc70c6c7057119cc4af30e03385 | da9905802797c8e42bb0016d2929d3d768aea332 | refs/heads/master | 2020-03-21T07:14:32.497634 | 2019-06-11T06:56:49 | 2019-06-11T06:56:49 | 138,269,183 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,883 | h | #ifndef ASC2BIN_H
#define ASC2BIN_H
#include "UserMemAlloc.h"
/*!
**
** Copyright (c) 2007 by John W. Ratcliff mailto:jratcliff@infiniplex.net
**
** Portions of this source has been released with the PhysXViewer application, as well as
** Rocket, CreateDynamics, ODF, and as a number of sample code snippets.
**
** If ... | [
"shawnpresser@gmail.com"
] | shawnpresser@gmail.com |
4277d7e725dcae1ee05b89d4f024b5a4c1139927 | 4769bb26031102e53e0f15a46c45946f38b90214 | /CPU_STACK 1.1/CPU.cpp | 3dd670b7f4d0ec78bbc5f7158805212bb4bb1a42 | [] | no_license | eduardgorbunov/edscorp | 9233d33bbef107e3da236139237f10f943690f58 | 4b6a45234cc022c0cc8c9fd58cffd0291cbe125c | refs/heads/master | 2016-08-11T08:37:03.616267 | 2015-06-04T20:36:35 | 2015-06-04T20:36:35 | 36,892,705 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 14,837 | cpp | #include <string.h>
#include <conio.h>
#include <locale.h>
#include <ctype.h>
#include "Stack_Instructions.cpp"
#define assert_cpu(cond) if (!cond) {CPU_info(cp);\
printf("ERROR in the line number %d\n", __LINE__); assert(cond);}
#define NUMBER_OF_COMANDS 30
struct EDCPU_t
{
double a... | [
"ed-gorbunov@yandex.ru"
] | ed-gorbunov@yandex.ru |
c720aac13d9977afcd42b98c62af3e23a7cf99f8 | 39f9ae6bdbda7f3b42cf4a006fb2a469fb44e4cf | /Farol/AssemblyInfo.cpp | 4b46aa567e0d2ef8993d1f2dc527747d40b59ecd | [] | no_license | maochy/farol | 30b2af11cf951d128797ec79c0d419883b7bbc11 | 486928695c3658e7646606d14c3bf6b8bc9d8933 | refs/heads/master | 2021-01-10T01:17:40.086620 | 2010-03-12T04:10:39 | 2010-03-12T04:10:39 | 38,855,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// General Information about an assembly is controlled through the following
... | [
"renanrv@5a151274-b240-11de-8e13-c326f17d7b4c"
] | renanrv@5a151274-b240-11de-8e13-c326f17d7b4c |
1574a77a78057e2c32b6bc1f241ad1d8568521d4 | 43a9f64427158c5bec8e9ce60233ba91b8c55f3e | /samples/DockContainer/src/Classes.cpp | eda206ed74a7a59f4167c3928e14a3f8b41d4919 | [] | no_license | CCCCCCCCZ/Win32xx | 7e8647b74eaca47ef80cadd76d68dc036dabe709 | 2ef27b55e05931ebabf931f133387bc046f888dc | refs/heads/master | 2020-06-07T13:29:41.006512 | 2019-06-22T07:33:53 | 2019-06-22T07:33:53 | 193,032,614 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,703 | cpp | ///////////////////////////////////////////////////
// Classes.cpp - Definitions for the CViewClasses, CContainClasses
// and CDockClasses classes
#include "stdafx.h"
#include "Classes.h"
#include "ContainerApp.h"
#include "resource.h"
///////////////////////////////////////////////
// CViewClasses fu... | [
"czx_1991@qq.com"
] | czx_1991@qq.com |
ef39a4f2774140b4d11cd79fdf8c8725981b50d5 | 2f685114f9dcf630673fc982380196ec0e4f8dd3 | /ash/highlighter/highlighter_controller_unittest.cc | 87368acad33cb182fa20c8d648cc35e127d7ceee | [
"BSD-3-Clause"
] | permissive | BitShekel/Tungsten | 5ed9a6958f4d7147af42753ec6b85205394ce5fa | fd7caa325cbc10c6d88ce7e393d21c2e6941211c | refs/heads/master | 2023-01-19T16:51:58.927691 | 2020-11-26T02:12:08 | 2020-11-26T02:12:08 | 133,874,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,690 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/highlighter/highlighter_controller.h"
#include <memory>
#include "ash/components/fast_ink/fast_ink_points.h"
#include "ash/highlighter/hig... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
131f145dd496b4e3e4b758cf8387a2d1afd82b92 | 77a1e8b6e3181b097a196bda951ae5ed05115729 | /libraries/chain/apply_context.cpp | a72b6732fcc748556bdaaf4bc1194043cf78569a | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | yinchengtsinghua/EOSIOChineseCPP | 04888f80cb7a946fb54c2494137868cb86685ff1 | dceabf6315ab8c9a064c76e943b2b44037165a85 | refs/heads/master | 2020-04-18T01:20:58.685186 | 2019-01-23T04:17:07 | 2019-01-23T04:17:07 | 167,115,462 | 21 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 29,164 | cpp |
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
#include <algorithm>
#include <eosio/chain/apply_context.hpp>
#include <eosio/chain/controller.hpp>
#include <eosio/chain/... | [
"openaichain"
] | openaichain |
eb79d0f6badde2f8c9cbb97596d00736cd362920 | e2188ff27e1002b665bfe0d9060a1bae1c2e2d37 | /c++/12_EquityMC/Pricer.h | 813448d80740d08b64180e9a52e820e3732e0ade | [] | no_license | Claudio911015/UMA | b8fb28de32cf87d707c1eaf4f9886bb8a345148a | 032b901ea3a558aa703ab00b89a24f96da75ff37 | refs/heads/master | 2021-08-18T05:49:31.676008 | 2019-05-04T19:06:49 | 2019-05-04T19:06:49 | 184,843,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef PRICER_H
#define PRICER_H
#include <random>
#include "MarketData.h"
#include "Payoff.h"
class Results{
public:
double m_price;
double m_standardDeviation; //the standard error of m_price
double m_delta;
double m_gamma;
};
class Pricer{
public:
Pricer(int nPaths):m_numIndependentPaths(nPaths){}
Res... | [
"claudiocp_2@hotmail.com"
] | claudiocp_2@hotmail.com |
3b139f3fc58ad68d3b2d13e90abf569b968816a5 | 30b7ffd17845db982883a91ce8d04551281658c4 | /Codeforces/Round/Round 496/New folder/New folder/asdasd/A.cpp | da0dc00a172c173d83cff0b5dfb693b6f230ce98 | [] | no_license | shas9/codehub | 95418765b602b52edb0d48a473ad7e7a798f76e5 | bda856bf6ca0f3a1d59980895cfab82f690c75a2 | refs/heads/master | 2023-06-21T01:09:34.275708 | 2021-07-26T14:54:03 | 2021-07-26T14:54:03 | 389,404,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
vector<ll>graph[123459];
ll ara[123459], chk[200009];
ll node1, dist1 = 0, node2, dist2 = 0;
void dfs(ll u, ll p, ll lv)
{
if(lv > dist1 && chk[u]) {
dist1 = lv;
node1 = u;
}
for(ll i = ... | [
"shahwathasnaine@gmail.com"
] | shahwathasnaine@gmail.com |
2d318f4e6113cf57a7545631601a94e3a85d9179 | 62a9e86743572b2c1c485809d181419e5229ae22 | /leetcode/apple/461-Hamming-Distance.cpp | f44d8b5da918b1d53ef637554499fd37a9253bf3 | [] | no_license | BinWangGBLW/leetcode | 7fbe7d02fb9a7667f708cd8d9d4fa75f0fa48a7a | cd8c0b25866d7a25dc12c137ac92ae35627c99b3 | refs/heads/master | 2021-04-06T05:58:43.554030 | 2018-03-20T21:38:34 | 2018-03-20T21:38:34 | 125,078,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | #include <iostream>
#include <vector>
/*
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Given two integers x and y, calculate the Hamming distance.
Note:
0 ≤ x, y < 231.
Example:
Input: x = 1, y = 4
Output: 2
Explanation:
1 (0 0 0 1)
4 (0 1... | [
"b.wang@qub.ac.uk"
] | b.wang@qub.ac.uk |
003103d78f3831826fb759695e22661d8469cd70 | 7724d908ff50bf9bf31465a58a99914a8669d5fb | /BOJ/2525.cpp | c371d6ec2ad5ccc93a3215d5c409d8733cc606dd | [] | no_license | HyeonDKIM/AlgorithmStudy | d3e6cb5d1265377a1dd9b33cd416282634e45442 | 3abaf506981c8202f3913b62cbcc0e89daeb0c78 | refs/heads/master | 2021-08-08T17:52:50.046115 | 2021-07-22T00:20:37 | 2021-07-22T00:20:37 | 157,544,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include <iostream>
using namespace std;
int main(void) {
int A = 0;
int B = 0;
int C = 0;
cin >> A >> B;
cin >> C;
int Time_Hour = 0;
int Time_Minute = 0;
Time_Hour = C / 60;
Time_Minute = C % 60;
A = A + Time_Hour;
B = B + Time_Minute;
if (B >= 60) {
B = B - 60;
A = A + 1;
}
if (A >= 24) {
... | [
"noreply@github.com"
] | noreply@github.com |
dfe77ffc7c011ddc24d2762108661b8c81071fe4 | 7cce0635a50e8d2db92b7b1bf4ad49fc218fb0b8 | /郭鑫程序交接/line.2012.06.12/line/line3/WndInstrument.cpp | 438876d922050056752ac2b0f34d2e8a04c6096a | [] | no_license | liquanhai/cxm-hitech-matrix428 | dcebcacea58123aabcd9541704b42b3491444220 | d06042a3de79379a77b0e4e276de42de3c1c6d23 | refs/heads/master | 2021-01-20T12:06:23.622153 | 2013-01-24T01:05:10 | 2013-01-24T01:05:10 | 54,619,320 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,096 | cpp | // WndInstrument.cpp : 实现文件
//
#include "stdafx.h"
#include "line.h"
#include "WndInstrument.h"
// CWndInstrument
IMPLEMENT_DYNAMIC(CWndInstrument, CBCGPStatic)
CWndInstrument::CWndInstrument()
{
/** 仪器总数*/
m_uiInstrumentCountAll = 0;
/** 图形单元间隔X*/
m_iGridX = 50;
/** 图形单元间隔Y*/
m_iGridY = 50;... | [
"chengxianming1981@gmail.com"
] | chengxianming1981@gmail.com |
5098989ecd4b0ca852ea8bd0aa5940afb369e5d9 | 5f3fe02df7fd5f65ca8966eede31ea01ea7e7316 | /homework2/code.ino/code.ino.ino | a39fdd8692fdb860b13b79b1890b7dddd6409c49 | [] | no_license | CloakedGhost07/Martin_CSE_236 | d6bb2d0b9003399adecee2612c1d1bf0d0837857 | a2b3626388c401be3d6a7f70875cded380b69969 | refs/heads/master | 2020-12-13T08:15:28.879351 | 2020-05-01T15:11:45 | 2020-05-01T15:11:45 | 234,358,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,297 | ino | /*--------------------------------------------------------------------
Name: Michael Martin
Date: 1/30/2020
Course: CSCE 236 Embedded Systems (Spring 2020)
File:
HW/Lab: Lab 1, programming component
Purp: Source code for Arduino board,
Doc:
Academic Integrity Statement: I certify that, while others may have... | [
"46792241+CloakedGhost07@users.noreply.github.com"
] | 46792241+CloakedGhost07@users.noreply.github.com |
36db34649a60e9c0ca55183ddfab404c9c31988c | 89be38f4428c37df62fae8a3f1a0d44f4b68f93d | /src/main.h | 936f0c7eea91728da04bd7920b8e53515232b4e2 | [
"MIT"
] | permissive | blackwhitecoin/Blackwhitecoin | 1a2e9fde6a86e30d0ae9a3a73967b049abd7a1a1 | 78f2774a3f5ee2d2e381f2707ea6d63ce76932bb | refs/heads/master | 2016-09-05T09:02:03.761406 | 2014-04-23T13:52:25 | 2014-04-23T13:52:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,167 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "bignum.h"
#include "sync.h... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
ffeeb41db0f671fe7b9c4d4c9afb2d7b78534a72 | 7a92206984e9007948afaa363adbb95c06897a74 | /demo/DesignPatternsTest/Builder.cpp | 646c6359c29d5dd56c74ef7a9a828aaebf77ab5d | [] | no_license | fengbingchun/Messy_Test | 6a801414a36581bce16edbde122b66ac86b57ddb | b55fcfc4b8adc538f9ac70bf78aa391a50b20241 | refs/heads/master | 2023-06-26T18:07:59.679346 | 2023-06-22T06:23:16 | 2023-06-22T06:23:16 | 55,020,860 | 305 | 171 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | #include "Builder.hpp"
#include "director.hpp"
// Blog: http://blog.csdn.net/fengbingchun/article/details/22593157
Builder_1::Builder_1()
{
}
Builder_1::~Builder_1()
{
}
ConcreteBuilder::ConcreteBuilder()
{
}
ConcreteBuilder::~ConcreteBuilder()
{
}
void ConcreteBuilder::BuildPartA(con... | [
"fengbingchun@163.com"
] | fengbingchun@163.com |
a00ab0642d22ffd0b62a967a91bcec20b63cf7c3 | b26964bc265d51da810be3f3b874faeedcfd2056 | /observer/Observable.cpp | 20315d88d4d8c80de6f9f2330f5168419fda7389 | [] | no_license | Preant/design-pattern-workshop | b1aaf03f097bfe77ce237f94c3c25fc7e00fe433 | 3bcfb7f542b0f4c575cf4fc499ea4b4cf6d58628 | refs/heads/master | 2023-04-11T08:24:09.840142 | 2021-04-16T12:56:56 | 2021-04-16T12:56:56 | 356,162,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | /*
** EPITECH PROJECT, 2020
** hub
** File description:
** Observable.cpp
*/
#include "Observable.hpp"
void
Observable::notify(std::string data) const
{
/*to do*/
}
bool
Observable::subscribe(IObserver *observer)
{
/*to do*/
}
bool
Observable::unsubscribe(IObserver *observer)
{
/*to do*/
} | [
"paolo.reant-hamadi@epitech.eu"
] | paolo.reant-hamadi@epitech.eu |
441c436eee96eac46c98caa4cef251ff35c4008c | 6e22d7679ebeb092232de6052ced81c7d8ab97a6 | /ISocket/EventSelectClient/Client.h | 4e62f0578b43d71b136ba6ae9c1ef8d30439b47a | [] | no_license | chengguixing/iArt | e3de63161bd91a18522612d6320453431824061d | c2d60e36f2f2a6a04b2188f20e7264cfc5d05dc4 | refs/heads/master | 2021-01-02T09:27:11.010862 | 2014-06-28T12:34:56 | 2014-06-28T12:34:56 | 22,207,953 | 4 | 5 | null | null | null | null | GB18030 | C++ | false | false | 302 | h |
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h"
class CClientApp : public CWinApp
{
public:
CClientApp();
public:
virtual BOOL InitInstance();
afx_msg void OnAppAbout();
DECLARE_MESSAGE_MAP()
};
| [
"izhuxin@gmail.com"
] | izhuxin@gmail.com |
1a49edbbe8caf228a5702b85e7ec2bb97462599c | 2755f1ea5aa4dca8b446b0192f244e246a0d5596 | /cds_and_led/cds_and_led.ino | 84ddd5d8f1551d897427d9eda8d37be83c266add | [] | no_license | forearth/arduino-learning-sample | e958fe4e15f6e099dc9b377b0425528f9b47df2e | 8620bea1c07e530291f9cd485edf04d3c60e062b | refs/heads/master | 2021-06-24T05:15:27.247810 | 2021-01-07T02:32:17 | 2021-01-07T02:32:17 | 48,705,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | ino | #define LIGHT_PIN A0
#define LED 3
void setup()
{
Serial.begin(9600);
pinMode(LED, OUTPUT);
}
void loop()
{
int val = 0;
val = analogRead(LIGHT_PIN);
Serial.println(val);
delay(1000);
if(val>400){
digitalWrite(LED, LOW);
}else{
digitalWrite(LED, HIGH);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
8e81e2bfad6995aae369f5e14963ff71a22c6eeb | 191bf92db1a9f6df7c30e37a8f0a14d1c220a3bd | /LEETCODEMAYDAY4.cpp | 34059017d376f22d774aaba2e120d28bf9834c1e | [] | no_license | doomsday861/Allofit | 958fa379296e1a4c9a78b25ab0fd7c222bb1f81a | 94d644e52a64ff2949ea731c569478e721fc71bf | refs/heads/master | 2023-01-04T12:35:10.447467 | 2022-12-28T09:30:18 | 2022-12-28T09:30:18 | 250,110,669 | 0 | 1 | null | 2021-01-11T09:20:21 | 2020-03-25T22:59:54 | C++ | UTF-8 | C++ | false | false | 614 | cpp | class Solution {
public:
long long findComplement(int num) {
if(num==2)
return 1;
vector<int> com(33);
int i=0;
while(num)
{
com[i] = num%2;
num /=2;
i++;
}
string s="";
for(int j=i-1;j>=0;j--)
{
... | [
"kartikeyasrivastava861@gmail.com"
] | kartikeyasrivastava861@gmail.com |
161d728fc2a9b1ec2679cf5f0fcc7bc98a00a132 | 83f1ae33762440d2246fbe2bf5d965d749074d09 | /PAT/1011.cpp | da47c8826bf09a216f4b6e853eb91367c1d379a1 | [] | no_license | Zendq1998/program_practice | aacef80d3f89ae08c3b740bd0cbf4926806919a8 | 850818ee75abe3511c4951e961e1bf2e821543c8 | refs/heads/master | 2021-07-19T13:23:41.498743 | 2018-12-07T14:18:09 | 2018-12-07T14:18:09 | 105,018,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | //
// main.cpp
// 1011A+B和C
//
// Created by 1 on 2017/12/5.
// Copyright © 2017年 zendq1998. All rights reserved.
//
#include <iostream>
#include <stdlib.h>
using namespace std;
struct ABC {
long A;
long B;
long C;
bool greater = false;
};
int main() {
int T;
cin>>T;
ABC test[T];
... | [
"a1@1deMacBook-Pro.local"
] | a1@1deMacBook-Pro.local |
f5df5f0d53a68282c66781eac485e1df32edc16b | ad54cec63c2873dad1321818fd2863f079b5ffa7 | /RepoFile.cpp | 12374a1e05fa7b0d0f9ea38d8b6b597bfed6b457 | [] | no_license | LauraDiosan-CS/lab5-6-template-stl-SintamareanCristina | db870bb36f7172d93b02b0b5ab239f23bc89590c | a893c1dbe4af9edb7975bb04aeaee015b028742e | refs/heads/master | 2021-05-20T00:39:20.613235 | 2020-04-15T06:28:30 | 2020-04-15T06:28:30 | 252,110,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #include "Repo.h"
#include "RepoFile.h"
#include <fstream>
#include <string.h>
#include <list>
#include "Car.h"
#include "Repo.cpp"
class RepoFile : public Repo {
private:
const char* fis;
public:
RepoFile(); RepoFile(const char* fileName) {
fis = fileName;
ifstream f(fileName);
string linie;
char* numePose... | [
"sintamareancris@yahoo.com"
] | sintamareancris@yahoo.com |
bddfcacada3b737a025fcf7c7eccf3ad326725b3 | 7d2a0e66f73ff0746f3195566321e39f0b7f13c9 | /talk/media/webrtc/webrtcvideoengine.cc | e95e1422d77dc2188aff7e1a87e4d8a3da690326 | [] | no_license | jeidee/xmpp_p2p_exported_from_libjingle | 7027eb0e5ad2cfb2bdd7edb9c2dfabfa40219ad6 | 738183945910c66d0de6b55b3fbe2a8e9e1880ea | refs/heads/master | 2020-03-27T19:04:57.951621 | 2016-06-21T12:46:36 | 2016-06-21T12:46:36 | 61,092,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121,519 | cc | /*
* libjingle
* Copyright 2004 Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fo... | [
"jeidee@gmail.com"
] | jeidee@gmail.com |
0624831608292907e205e8c99fbb1cb95176923e | 590b56bc2e6fafd6a906c61f3f6dbd66ac5731f2 | /src/3rdParty/ImGui/imgui.h | f94fc5a7313ad0617162d01126a6be114d21c6c3 | [
"MIT"
] | permissive | erdinckaya/monitorx | 508a7e4a6764b4ef67253d1718e74414ae61576c | 5e100ed4b36dc4c9b01c2ab5a9a2207b99a460c1 | refs/heads/master | 2020-04-14T06:00:03.606503 | 2019-01-07T17:49:17 | 2019-01-07T17:49:17 | 163,675,108 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202,270 | h | // dear imgui, v1.67 WIP
// (headers)
// See imgui.cpp file for documentation.
// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code.
// Read 'Programmer guide' in imgui.cpp for notes on how to setup ImGui in your codebase.
// Get latest version at https://github.com/ocornut/imgui
/*
Index of this... | [
"erdinckaya@yandex.com"
] | erdinckaya@yandex.com |
7ce9cf0571433f8b2542c5fa638a2c18f56a7209 | 11f77b4c947c3869dbd2398d20fd2394e7c62daf | /melodic/src/rviz/src/rviz/time_panel.cpp | ec73b23241e718f044c96d0d8d7c230c7c888bf2 | [
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA | 4658fd1732461d9065cd3ff94ba10aec7f60fd2e | 3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0 | refs/heads/master | 2022-07-18T15:11:23.740964 | 2020-05-23T06:57:58 | 2020-05-23T06:57:58 | 279,299,388 | 3 | 0 | null | 2020-07-13T12:41:32 | 2020-07-13T12:41:31 | null | UTF-8 | C++ | false | false | 9,216 | cpp |
/*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this ... | [
"chiioleong519@gmail.com"
] | chiioleong519@gmail.com |
c6336fcad3e09ef36e41c95008c5bddc7408e1f2 | 8633303b5f570856d8e2d47621574a82b093f60e | /binaryTree/binaryTreeOperations.cpp | 1f519140e0c9bdb2d67b9825cfd68020982ad094 | [] | no_license | ApostaC/dsalgo | 9c01ce317cf189894c8adde3edbbd26edf91d905 | c747d1699f62a815dae0e8dbd0af798a2cb6f780 | refs/heads/master | 2021-08-28T18:41:15.710665 | 2017-12-13T00:30:55 | 2017-12-13T00:30:55 | 109,796,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | #include <iostream>
#define MAXN 110
using namespace std;
struct Node
{
int l,r,p;
Node(int ll=-1,int rr=-1,int pp=-1):l(ll),r(rr),p(pp){}
void setl(int ll){l=ll;}
void setr(int rr){r=rr;}
void setp(int pp){p=pp;}
void exchange(){int t=l;l=r;r=t;}
};
int t,n,m;
Node nodes[MAXN];
void swap(int a,int b)
{
int pa=n... | [
"Aposta@pku.edu.cn"
] | Aposta@pku.edu.cn |
ce6f872f3536b9ff6c0bf2b90e1a6ed51de2db6f | 8fc945ec94827f0c64a914873fcefc0eb68944cf | /Google Code Jam 2015/pancakes.cpp | c51b12f0baf8d315766d225b43cfc8c51c5f7cd4 | [] | no_license | mateuscgc/maratonas | 641a5396d64ce14d32fe0ae2c8f9b30d7545f69d | 3ed87f1e0307beb7f89934598440869d88c74495 | refs/heads/master | 2020-04-24T06:21:19.963512 | 2017-09-28T20:03:53 | 2017-09-28T20:03:53 | 26,088,854 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int nT;
cin >> nT;
for (int i = 1; i <= nT; i++) {
int nD;
cin >> nD;
int nP[1001] = {0};
int num;
int max = -1;
for(int j = 0; j < nD; j++) {
cin >> num;
nP[num]++;
... | [
"mateus_cgc@hotmail.com"
] | mateus_cgc@hotmail.com |
2726825b4fafa2b60873b391ccfb3d492cf811ec | 5b7be40ce294fac1fb7ec6085d5705e2bf0fd890 | /src/3d-party/boundingmesh/SimpleOptimizer.h | f6e5cf30e43e443fcff96b9c76a8940ff01157a4 | [] | no_license | jedrzejowski/sokar-app | 97b7997cea12fbb0fd55f33b625b382ce1eeb7a4 | c918a3d5383c68b0f3fb042c014549fc25ba1991 | refs/heads/master | 2022-05-19T03:03:46.879716 | 2022-03-29T22:36:48 | 2022-03-29T22:36:48 | 132,521,466 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,896 | h | // Copyright (c) 2019, the boundingmesh authors
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this
/... | [
"adam@jedrzejowski.pl"
] | adam@jedrzejowski.pl |
ec8e715cb0a16d43dd690c92d1c69168e966752d | cd4dc874e9b5bcd6a9436ed383dc775af4868380 | /CPPProjects/RectangleSum.cpp | 1699fbeb6b920c7ffb9a03a33867501ae475e1cd | [
"MIT"
] | permissive | RafiulIslamRafi/ContestNeko | fcd5969f6b7fa9307d5f28ee1505f2210a603eb4 | 4dd7867e5bae92a3d60569a4aac9b894a4855fba | refs/heads/master | 2020-06-12T12:07:13.209347 | 2018-09-08T06:08:05 | 2018-09-08T06:08:05 | 194,293,411 | 2 | 0 | MIT | 2019-06-28T15:10:59 | 2019-06-28T15:10:58 | null | UTF-8 | C++ | false | false | 7,935 | cpp | #define LOGLEVEL 0
#define NDEBUG
// BEGIN CUT HERE
#define LOGLEVEL 1
// END CUT HERE
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cassert>
#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <cmath>
#include <cstdlib>
#include <array>
#include <type_traits>
#include <... | [
"ducnm0@gmail.com"
] | ducnm0@gmail.com |
83184b7823427dbb500e80b21cc18d05f9552848 | 406b4b18f5c58c689d2324f49db972377fe8feb6 | /ANE/Include/Memory/IMemoryPool.h | cd118b1a3cd79d2f003a329221fb47c1e0b00b8c | [] | no_license | Mobiwoom/ane | e17167de36699c451ed92eab7bf733e7d41fe847 | ec20667c556a99351024f3ae9c8880e944c5bfbd | refs/heads/master | 2021-01-17T13:09:57.966141 | 2010-03-23T16:30:17 | 2010-03-23T16:30:17 | 33,132,357 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #pragma once
namespace Ane
{
class IMemoryPool
{
public:
IMemoryPool(){}
virtual ~IMemoryPool(){}
virtual void* Alloc() = 0;
virtual void* Alloc(unsigned int Size) = 0;
virtual void Free(void* pMemory) = 0;
};
} | [
"inthejm@5abed23c-1faa-11df-9e62-c93c6248c2ac"
] | inthejm@5abed23c-1faa-11df-9e62-c93c6248c2ac |
9e86ebed0c26e1c5c1a8210c35bbaf949f7c8497 | 8567438779e6af0754620a25d379c348e4cd5a5d | /net/tools/quic/test_tools/mock_quic_time_wait_list_manager.h | a2d7fa6cee481e4a158b9abfa0ecbb57fab4b94d | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 2,218 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_
#define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_TIME_WAIT_LIST_MANAGER_H_
#include ... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
30326183f91a7fa5f340d10c291805a764d559ea | 7abeae5aa8f2374df600b229b851d51b0a2ec025 | /FitSDKRelease_21.40.00/cpp/fit_monitoring_info_mesg_listener.hpp | c35aeeec721b0e46bf102e7eb46f511e30e8a7ac | [
"Apache-2.0"
] | permissive | JoyKuan/ArchitecturalDesign_AI | c66ffe0a98a67b6a36a6ffb60071e9a97de90014 | 71442dcfdba20564a772a6807e43cbb86dafc14d | refs/heads/main | 2023-02-28T07:45:46.378995 | 2021-02-02T21:54:55 | 2021-02-02T21:54:55 | 322,163,300 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,356 | hpp | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Garmin Canada Inc.
// The software is being provided on an "as-is" basis and as an accommodation,
// ... | [
"kuanhuil@usc.edu"
] | kuanhuil@usc.edu |
bc8e054faaff94da0d5875c547ac4446e50e4a24 | 6a246869b9f099f043f3e6bd613fc90992ce19fe | /Talat/RectanglePawn.h | 4cf69785cf0fe3c410a467d4f072fa887a252cbe | [] | no_license | justcasualguy/Talat | ab9b531dcbc04c9803f76334c769d768684fe7d2 | 511972d100eda22061f5d6f682963ea36e8b0a82 | refs/heads/master | 2020-05-24T21:22:12.407155 | 2019-06-29T13:16:36 | 2019-06-29T13:16:36 | 180,581,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | h | #pragma once
#include "Pawn.h"
class RectanglePawn :public Pawn
{
public:
RectanglePawn();
RectanglePawn(Size size);
~RectanglePawn();
void draw(Board& board, COORD boardField,Color pawnColor);
};
| [
"kubachw@gmail.com"
] | kubachw@gmail.com |
bc96401ad73c65c6873149399e3967110f665612 | f30b2d33c209eca780e645a0237738ccd5ef2b78 | /Compiler/_backup/MidCode/Quaternary.cpp | 22db457290290f3c1b86fc9a26e7b4f41421efeb | [] | no_license | DreamChaserMXF/Compiler | cfa55e7476858c2be6a856a9efceb56a7fad6ef2 | 3aae54ccfcfe3d68002f82056281a38f1581720b | refs/heads/master | 2021-07-09T01:04:02.192725 | 2016-04-24T14:26:03 | 2016-04-24T14:26:03 | 48,437,970 | 2 | 1 | null | 2016-04-24T14:26:03 | 2015-12-22T14:58:55 | Assembly | GB18030 | C++ | false | false | 3,296 | cpp | #include "Quaternary.h"
#include <assert.h>
const char* Quaternary::OPCodeString[] = {
"NIL_OP",
"NEG", "ADD", "SUB", "MUL", "DIV", "ASG", "AASG", "STORE",
"JMP", "JE", "JNE", "JG", "JNG", "JL", "JNL",
"FUNC_CALL", "PROC_CALL", "READ", "WRITE", "SETP", "RET",
"BEGIN", "END", "LABEL"
};
Quate... | [
"sad_sugar@163.com"
] | sad_sugar@163.com |
769e6d09b38408bbe0894ba3aa1bfa27d2de8141 | 7f64f76f1a45e2c92a9d47ecc96b0a629a12a37f | /bgfx/examples/01-cubes/cubes.cpp | 62ab6b9a4cea3141849b5d15f2d61adc4e991529 | [
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | louis-tru/SummerTraining | 275b4d406a7ff6106b604502c9422ece10d04b63 | 347afd07b94f5f47ed1c84b10be54e6500d64fe1 | refs/heads/master | 2020-04-28T22:06:35.750532 | 2015-08-23T08:23:59 | 2015-08-23T08:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,738 | cpp | /*
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include "common.h"
#include "bgfx_utils.h"
struct PosColorVertex
{
float m_x;
float m_y;
float m_z;
uint32_t m_abgr;
static void init()
{
ms_decl
.begin()
.add(bgfx::Attrib... | [
"myspace@inbox.ru"
] | myspace@inbox.ru |
241838aa5359d482cbfe107b0a818ec7d1fc8223 | d72ed530c9e14bcdaef73ca1bd6ce13dbd7085c3 | /solved/0-3/copsandrobbers.cpp | 9797cfa0c5a9fd3700796b078b6cac3daeb0eda4 | [] | no_license | Tetragonal/kattis-solutions | 2fa8e8bda68a6656b34415d1a8c3a5e233642bec | fa3c6be58ac5a79fbbb27320f76ad27680a02c54 | refs/heads/master | 2020-05-17T16:53:49.556352 | 2019-12-31T01:27:15 | 2019-12-31T01:27:15 | 183,831,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5+1, INF = 1e9;
struct edge {int v, c, f;};
int n, src, snk, h[N], ptr[N];
vector<edge> edgs;
vector<int> g[N];
void add_edge (int u, int v, int c) {
int k = edgs.size();
edgs.push_back({v, c, 0});
edgs.push_back({u, 0, 0});
g[u].push_back(k);
g... | [
"kevin_m_tang@yahoo.com"
] | kevin_m_tang@yahoo.com |
b20244f6f19977708e40b574eae6ef959c767d09 | 01aec7177f473d28f8bc262c1a72418a97d3dd10 | /Thread examples-22-10-20(ipc,mutex,atomic)/Thread examples-22-10-20(ipc,mutex,atomic))/threadmutex.cpp | e8ef03cde2e05db0ee353c79a72838a571b315b3 | [] | no_license | 99002651/Advanced-cpp | 97559344dad89bfd32d1a775c36b619e66a287cb | 915c3a4088336829de16a3f3f0123c6adf54b60d | refs/heads/master | 2023-01-02T22:00:17.043467 | 2020-10-27T12:47:35 | 2020-10-27T12:47:35 | 307,698,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include<iostream>
#include<thread>
#include<mutex>
std:: mutex mtx;
using namespace std;
constexpr int maxv=10000;
int val=100;
void fsample()
{
std::cout<<"thread a"<<"\n";
for(int i=1;i<=maxv;i++)
{mtx.lock();
val++;
mtx.unlock();}
}
void gsample()
{
std::cout<<"thread b"<<"\n";
... | [
"sandyadevi.golakoti@ltts.com"
] | sandyadevi.golakoti@ltts.com |
91d91c7425c314687576d2273c498a36acbcf0ee | de3b2b924bf3498d9644fdbfec72514bba6d14d1 | /C++/invert_binary_tree.cpp | 2bac71a4b2a9c8adc4d3442d157557d456d61c02 | [] | no_license | eric82714/LeetCode_226--Invert-Binary-Tree | 39504af771abc846229311cd55b6bed4f6f6d523 | 5e3e0eb97bb4cb547ff04ef29a8ba22b9d7c8f83 | refs/heads/master | 2021-01-04T05:55:05.523985 | 2020-02-14T03:36:46 | 2020-02-14T03:36:46 | 240,418,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | 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* invertTree(TreeNode* root) {
if(root == NULL) return NULL;
T... | [
"noreply@github.com"
] | noreply@github.com |
b8f59d73669f20e8cc100512e4068fc9582c1a55 | 706dd85e8712b80bc03a316ca8cdc8a7e3980d05 | /ClientDemoDlg.cpp | 35634c65250336ba6df56b734257a81493ff9fbb | [] | no_license | yyj8209/HikSyn | fa6be917d125501b1f80eb5959841dbc91cb5561 | a2e819e5d3bbae9850b6abc6c27945f42b98f777 | refs/heads/master | 2021-06-21T14:31:36.296142 | 2020-04-09T23:07:50 | 2020-04-09T23:07:50 | 254,497,210 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 839,396 | cpp | /**********************************************************
FileName: ClientDemoDlg.cpp
Description: main dialog, show the main function
Date: 2008/12/12
Note: the global Macro definition and structure is in "GeneralDef.h", global variable and function is in "ClientDemo.cpp"
Modification History: ... | [
"yyj8209@163.com"
] | yyj8209@163.com |
a8dd06ea6cb2d44137f0f3fb2ae99ded1bc34222 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5648941810974720_1/C++/Z0RR0/code2.cpp | d9574da6b532d779f30b62dd8bcd73294e0009ac | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #include <bits/stdc++.h>
#define rep(i,n) for(i=1;i<=n;i++)
#define Rep(i,n) for(i=0;i<n;i++)
#define For(i,a,b) for(i=a;i<=b;i++)
#define pb(x) push_back(x)
#define sz(x) x.size()
#define mem(ara,val) memset(ara,val,sizeof(ara))
#define eps 1e-9
#define si(x) scanf("%d",&x)
#define sii(x,y) scanf("%d %d",&x,&y)
#d... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
71aae707a37a8a181b0a945ac803a8e92a17bb7c | cb2c21441bea57d04e25d2bcb6bf3e41aad8e85e | /src/heightmap.h | f3894efba414914d11c9da233afd8467dc74c3df | [] | no_license | heitaoflower/hmm | 776576808fa05ad8905a25b1045635d3010e77c3 | 47906d42c1968c88339799437d099e3efb541a7e | refs/heads/master | 2020-07-11T03:28:28.921612 | 2019-08-26T03:30:43 | 2019-08-26T03:30:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | #pragma once
#include <glm/glm.hpp>
#include <string>
#include <utility>
#include <vector>
class Heightmap {
public:
Heightmap(const std::string &path);
int Width() const {
return m_Width;
}
int Height() const {
return m_Height;
}
float At(const int x, const int y) const {
... | [
"fogleman@gmail.com"
] | fogleman@gmail.com |
476b141de4907a0c3f0aa9c16391a12b45a29f0a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/activec/designer/vb98ctls/mssnapd/mssnapd/taskpvw.cpp | 4d21d14c5c9e5bc81cc47f235778c81fdcb8abe9 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 22,257 | cpp | //=--------------------------------------------------------------------------------------
// taskpvw.cpp
//=--------------------------------------------------------------------------------------
//
// Copyright (c) 1999, Microsoft Corporation.
// All Rights Reserved.
//
// Information Contai... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
506837914b9836f1c9311c7d92775a691203bd4d | 9a0b53947648ffd90ef2ae4a09b604bfa3aa5ec7 | /ARRAYmpi2/ARRAYmpi2/arraympi.cpp | b1c54d2390d26f00dfd959767412deed65216a4d | [] | no_license | gideioanamaria/APD | da8bdba4e9fd4a30d1128e156fa705cbe92e1f69 | 911b2f4412831a0bef1e744b49f333efe4df56bd | refs/heads/master | 2021-01-24T18:26:41.358816 | 2017-05-31T18:52:54 | 2017-05-31T18:52:54 | 84,441,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include <iostream>
#include "mpi.h"
using namespace std;
#define SIZE 4
#define N 16
int main (int argc, char *argv[])
{
int numprocs, rank, sendcount, recvcount;
int buf[N]={3,5,3,4,7,3,8,6,8,7,6,8,5,3,1,2};
int recvbuf[20];
int poz[N],nrcautat=3;
int j=0;
int rezultat[20];
int low=0;
int h... | [
"gidei_oanamaria@yahoo.com"
] | gidei_oanamaria@yahoo.com |
05f5bf7d577bcb6b66963d940dd82237249ab1a7 | 3390f604b39fe90933bc4e919ba9d6720dc66537 | /src/robocontrol/controller/interrupt/Interrupt.h | 0e4d543fbdd9641553e4ed9f7623f7f87e871832 | [] | no_license | hiroshi-mikuriya/nxt | 880aa9ebee679797d8b2d5c25054e027857d2263 | edfd585548447117eb3605ef0f451c8bf8346629 | refs/heads/master | 2021-05-09T07:01:44.238374 | 2018-01-29T07:33:58 | 2018-01-29T07:33:58 | 119,347,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | h | /*
* Interrupt.h
*
* Created on: 2012/07/31
* Author: HIROSHI MIKURIYA
*/
#ifndef INTERRUPT_H_
#define INTERRUPT_H_
#include "event/parts/EventParts.h"
namespace controller {
class Interrupt {
public:
/**
* イベントとそれが発生したときに行う動作のペア
*/
struct EventProcT {
event::parts::Event m_event;
void ... | [
"hiroshi.mikuriya@fxat.co.jp"
] | hiroshi.mikuriya@fxat.co.jp |
1301827b851e9f84ac94b2a69def821bfcf5ebdc | 93aacecedc7c8214c9ca7171f081884f2a314699 | /PriorityQueue.h | 1cd737afeba3923a5e1fe2fa816672c3c5bde363 | [] | no_license | alkanalperen/Printer-Simulation | 8c375ab947ad3360d5b74a6e306b82090f2f1a5c | ef7552eef6cc34b823346962ca76d77847256ff8 | refs/heads/main | 2023-05-03T21:48:35.840994 | 2021-05-25T10:43:31 | 2021-05-25T10:43:31 | 370,655,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | /*
* Title: Heaps
* Author: Alperen Alkan
* ID: 21803216
* Section: 3
* Assignment: 3
* Description: main
*/
#ifndef HW3_PRIORITYQUEUE_H
#define HW3_PRIORITYQUEUE_H
#include "Heap.h"
#include "Request.h"
class PriorityQueue {
public:
// default constructor, copy constructor, and destructor
// are supp... | [
"noreply@github.com"
] | noreply@github.com |
eb3ddbd3866f65121ccf982f636a2f2c39acad5c | f2d47951fb3738bff966f83c090d91846e491994 | /tools/gvsoc/common/models/devices/spiflash/spiflash_impl.cpp | e8d3909e1107b1e5b916d4e46b23fabfc7e40efe | [
"Apache-2.0"
] | permissive | EEESlab/gvsoc-old | cb5f630f6a7bf99664ee57755454a6e6d6b2fc59 | 19917f1789a3f771e1ec42e11c4f5897d1f9fda2 | refs/heads/main | 2023-08-01T05:00:54.614155 | 2021-08-18T13:10:30 | 2021-08-19T16:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,996 | cpp | /*
* Copyright (C) 2020 GreenWaves Technologies, SAS, ETH Zurich and
* University of Bologna
*
* 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.apac... | [
"nazareno.bruschi@studio.unibo.it"
] | nazareno.bruschi@studio.unibo.it |
e33ad849a0bab55533ce6a33d8bf6f245441fde9 | eedd904304046caceb3e982dec1d829c529da653 | /clanlib/ClanLib-2.2.8/Sources/Display/ImageProviders/png_provider.cpp | c31d92d3697751003893a7e9fa8f178761fb8016 | [] | no_license | PaulFSherwood/cplusplus | b550a9a573e9bca5b828b10849663e40fd614ff0 | 999c4d18d2dd4d0dd855e1547d2d2ad5eddc6938 | refs/heads/master | 2023-06-07T09:00:20.421362 | 2023-05-21T03:36:50 | 2023-05-21T03:36:50 | 12,607,904 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,430 | cpp | /*
** ClanLib SDK
** Copyright (c) 1997-2011 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | [
"paulfsherwood@gmail.com"
] | paulfsherwood@gmail.com |
804696e2787be299fd68405b2d556688fa36d3fb | 75fc8b7594b2075ff487dc05afdd5ad0a7408c1f | /ElDorito/Source/Blam/Tags/Sounds/Sound/Sound.cpp | b3101f5943bda975158508ea6c0e7af01a4c0843 | [] | no_license | NoShotz/ElDorito | 929e7b4e033914d15257419c8978d0f5fa598177 | a6d2d681e999d2d21f3f8bb3bd272f0771f2d1fe | refs/heads/master | 2021-07-25T18:26:25.982270 | 2020-05-08T17:17:17 | 2020-05-08T17:17:17 | 167,758,023 | 26 | 35 | null | 2019-11-24T05:36:13 | 2019-01-27T01:35:22 | C++ | UTF-8 | C++ | false | false | 1,497 | cpp | #include "Sound.hpp"
namespace Blam::Tags::Sounds
{
Scale* GetScale(Sound* sound) {
return &sound->Scale;
}
PlaybackParameters* GetPlaybackParameters(Sound* sound) {
return &sound->PlaybackParameters;
}
SampleRate GetSampleRate(Sound* sound) {
return sound->SampleRate;
}
PitchRange* GetPitchRange(Sound... | [
"noshotz@protonmail.com"
] | noshotz@protonmail.com |
767e0b76c17293827c1edb301c5aa6f36672ef1d | 65099cadbfbcaa34324864230bbfa7162a36fdad | /ENIGMAsystem/SHELL/Graphics_Systems/Direct3D9/DX9draw.cpp | 244ccfb05076b18c7e3384f484e0d5f3e7f20a2b | [] | no_license | Rexhunter99/enigma-dev | cb7cc3e4fa2e5fe2b66bf827d0c8b84a37c71fd2 | 1b5af2c09284c16dd91905d3847554f26da9c1df | refs/heads/master | 2021-01-17T14:15:42.919564 | 2013-10-20T11:48:43 | 2013-10-20T11:48:43 | 13,639,130 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,270 | cpp | /** Copyright (C) 2013 Robert B. Colton
***
*** This file is a part of the ENIGMA Development Environment.
***
*** ENIGMA is free software: you can redistribute it and/or modify it under the
*** terms of the GNU General Public License as published by the Free Software
*** Foundation, version 3 of the license or any lat... | [
"robertbcolton@hotmail.com"
] | robertbcolton@hotmail.com |
8381175eba1d6009310cc6e02744e8870590bfcc | e6ec3326bfba74656e5beb7f1599a87e210cc86b | /threads/threadsgroup.cpp | 5a2550d239e83aaf5adcaf837cc3e1176b69505b | [] | no_license | fengjixuchui/syslib | 1d357983120386ab11d1a1cb64fd8ec30af24a56 | 8e3121e1d0cbd0021a155801badb53bd08fea6d9 | refs/heads/master | 2021-05-27T20:45:02.751275 | 2014-10-12T07:06:37 | 2014-10-12T07:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,068 | cpp | #include "sys_includes.h"
#include "syslib\criticalsections.h"
#include "syslib\mem.h"
#include "syslib\system.h"
#include "syslib\threadsgroup.h"
#include "threadsgroup.h"
SYSLIBFUNC(HANDLE) ThreadsGroup_Create()
{
THREADS_GROUP *lpGroup=(THREADS_GROUP*)MemAlloc(sizeof(THREADS_GROUP));
if (lpGroup)
I... | [
"seledka"
] | seledka |
1a33ab73f5248e86562bc32400e8370a88be3e5a | c636136096c92ddb07ce97d3960bf0289d70b57a | /Medusa/Medusa/Resource/Image/DynamicAtlasRGBAImage.cpp | 7b7b3f1e96f2eaf88716ed6432a9b715c1423b9b | [
"MIT"
] | permissive | johndpope/Medusa | 6a5a08e0c3f216dcab3b23db2f7bcf4d05845bce | 22aa6719a001330fea51a6822fec01150eb8aabc | refs/heads/master | 2020-12-30T20:51:14.718429 | 2015-12-15T12:31:22 | 2015-12-15T12:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,459 | cpp | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#include "MedusaPreCompiled.h"
#include "DynamicAtlasRGBAImage.h"
#include "Core/Geometry/Size3.h"
#include "Resource/Image/ImageFactory.h"
MEDUSA_BEGIN;
DynamicAtl... | [
"fjz13@live.cn"
] | fjz13@live.cn |
fb2180a2d18769f3b385f371856efbb2ede9d67b | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/f2/72edad4d84f47a/main.cpp | 4470ae6eff6c0f6fa0922d36cced79597c37b590 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cpp | #include <iostream>
#include <string>
#include <sstream>
struct name_value_pair { std::string name; int value; };
// convert object of type name_value_pair into a sequence of characters
std::string to_string( name_value_pair nvpair )
{
// step 1. create an output stringstream
std::ostringstream stm;... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
9cff6751ec88c916865606b41c23733dc53d459d | 7ada3d5c958cfdaeefa3d67d0815bb027006f65f | /Engine/Engine/inc/Core/RTTI/RTTIEditorHelpers.h | d8295984da5411baf677dfcf1199444da644641a | [] | no_license | JSpink95/cypher | 55778e2db3a842b502027a8d429393837eed0bfb | d6567e685a03a033b3ab447a84ea1b999a76b3ad | refs/heads/master | 2020-11-27T11:55:41.064332 | 2020-02-20T17:17:37 | 2020-02-20T17:17:37 | 229,427,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,553 | h | //////////////////////////////////////////////////////////////////////////
// File : RTTIEditorHelpers.h
// Created By : Jack Spink
// Created On : [07/02/2020]
//////////////////////////////////////////////////////////////////////////
#pragma once
////////////////////////////////////////////////... | [
"jackspink95@gmail.com"
] | jackspink95@gmail.com |
f777a8a677b5164ea1ffbcacb4a13ca11cbfad7f | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-562-div1-250/qiaoranliqu.cpp | 8190d52138959edb178299f492e0d25edf459db1 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | GB18030 | C++ | false | false | 1,424 | cpp | #include<cstdio>
#include<algorithm>
#include<cstring>
#include<iostream>
#include<vector>
#include<set>
#include<map>
#include<bitset>
#include<cmath>
#include<string>
#define ls (t<<1)
#define rs ((t<<1)+1)
#define mid ((l+r)>>1)
#define fi first
#define se second
#define mk make_pair
#define pb push_back
#define N... | [
"857075272@qq.com"
] | 857075272@qq.com |
d809d4175f1a25df9c66db34f29fb78da7ccbb33 | 295356e2cf152ae3a24e78ea409b44e9ee7dccc3 | /ns-allinone-3.17/ns-3.17/src/lte/model/epc-ue-nas.cc | 7d3dafaf70d69901af5689e999118a00158a7cf1 | [] | no_license | evyhsu/ho-lte | 37dc21b3d35c3c1f46f65e644abed40594c2ddaf | 7c546549ff2299d826ea4149fc8743da4bef9da3 | refs/heads/master | 2021-01-10T20:08:41.571656 | 2014-04-24T02:33:57 | 2014-04-24T02:33:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,889 | cc | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | [
"yenchu@yenchu.(none)"
] | yenchu@yenchu.(none) |
5aee861dcaa1eedef5aacb58a4fe90f58ec946b3 | 481f3c6b713379912988084cf10810e7d9a74fd0 | /services/image_annotation/annotator_unittest.cc | 62bad57482339822654afb7bb6a09055dd16f9c5 | [
"MPL-2.0-no-copyleft-exception",
"LicenseRef-scancode-unknown-license-reference",
"AGPL-3.0-only",
"LGPL-2.1-only",
"GPL-2.0-only",
"MPL-2.0",
"BSD-3-Clause"
] | permissive | huhisoft/huhi-android | bab71148730ff68b770f56b93b731302528045ec | 1c00f05a2ab19f0d6acf42331931de61555a93e8 | refs/heads/master | 2023-01-13T11:26:25.618267 | 2019-11-11T04:09:38 | 2019-11-11T04:09:38 | 219,455,870 | 0 | 4 | BSD-3-Clause | 2022-12-10T08:31:33 | 2019-11-04T08:48:00 | null | UTF-8 | C++ | false | false | 85,986 | 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 "services/image_annotation/annotator.h"
#include <cstring>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/json/json_reade... | [
"huhibrowser@gmail.com"
] | huhibrowser@gmail.com |
7d981f136520ddf03d0f96f979989fad3ea2f7cf | 29f7ed9fa3dd0c8a71e01f71897ba06ee127049f | /Library/Foundation/Foundation/SharedLibrary/SharedLibrary.cpp | a6c7e525a8ebbebb239c67df6cfc5c9578aada61 | [] | no_license | solidusex/ragebtclient | 12324bf5832f88582f382dd1748390d3ff380b05 | dff62872e7d7036110f31595e31d674379019524 | refs/heads/master | 2021-01-02T13:00:31.849237 | 2012-02-15T19:29:27 | 2012-02-15T19:29:27 | 41,566,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | /*
* The Foundation Library
* Copyright (c) 2007 by Solidus
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this... | [
"SolidusSnakeEx@gmail.com"
] | SolidusSnakeEx@gmail.com |
c03830f090c3f8d391a0b39556d3667a8507b300 | d6ad657a22a10a666898bc5d091e0f7df7766494 | /motor_frame/Arduino_Practice/LiquidHandlingRobot.cpp | 26f1860762b7f9c7d183df3f1c1df35f46f17e1b | [] | no_license | gsuematsu/Liquid-Handling-Robot | 493d53cd73717548109c9ec4a9bbfcef528d105c | ff41886ac4a9778a7568fb952d0758e420494bbb | refs/heads/master | 2021-07-06T19:39:25.007309 | 2020-09-21T00:27:25 | 2020-09-21T00:27:25 | 188,185,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,729 | cpp | #include <Arduino.h>
#include "LiquidHandlingRobot.h"
#define timeDelay 1700
StepperMotor::StepperMotor(int pinStep, int pinDir, int pinMinSwitch, int pinMaxSwitch) {
pinMode(pinStep, OUTPUT);
pinMode(pinDir, OUTPUT);
pinMode(pinMinSwitch, INPUT_PULLUP);
pinMode(pinMaxSwitch, INPUT_PULLUP);
m_pinStep = pin... | [
"noreply@github.com"
] | noreply@github.com |
f213f7843ce737ac315afd8b3d60959bee870afa | d939ea588d1b215261b92013e050993b21651f9a | /mgobe/src/v20201014/model/DescribeRoomRequest.cpp | f93ab698f084150a8a27eeb028e083f4a8fd4350 | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,968 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
dfd10c58409d0c0d60ce79143f87fa8f6d719bb3 | a4d25420e402f9a1dd69b950372f5c496127db7a | /MyView.cpp | a2f1b2f2e557edab36423f32abe0830d0f3db0f9 | [] | no_license | PieTurri/Game-2D | 793b309b70039ea9c5d6395fedc9acebd6ce583c | 8116a58692fc11c666391a714642309f95ec9182 | refs/heads/master | 2021-10-27T05:51:28.732244 | 2019-04-16T12:52:35 | 2019-04-16T12:52:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | //
// Created by leogori on 28/02/19.
//
#include "MyView.h"
#include <iostream>
#include <tgmath.h>
#include "Knight.h"
using namespace std;
MyView::MyView() {}
void MyView::followHero() {
Hero* sub= dynamic_cast<Hero*>(subject);
Vector2f range = sub->getPosition() - getCenter();
if(!sub->getDirDown... | [
"leonardogori@hotmail.it"
] | leonardogori@hotmail.it |
7f61d6df7cbf64257c7bccd4635eb159e65cbaad | 0e6ab2afe5c570f7fa5d8176dffbd0e1f7f6a9fb | /Exemplos de Provas/main_prova1_1_Q3.cpp | 2ee442a3b1bb0514471f00a48db424b8162c4bf0 | [] | no_license | fsofelipe/CompGraficaUFPel | 84c0dbf497828f5cd28edec83171ef7dad278900 | 0eb1a833c6d61eca728b99aa45c5638d2cbfa717 | refs/heads/master | 2020-03-07T00:07:23.437594 | 2018-04-16T12:41:59 | 2018-04-16T12:41:59 | 127,150,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,367 | cpp | // Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <vector>
// Include GLEW
#include <GL/glew.h>
// Include GLFW
#include <glfw3.h>
GLFWwindow* g_pWindow;
unsigned int g_nWidth = 1024, g_nHeight = 768;
// Include AntTweakBar
#include <AntTweakBar.h>
TwBar *g_pToolBar;
// In... | [
"felipe.oliveira.tk@gmail.com"
] | felipe.oliveira.tk@gmail.com |
8a107c7cfe02e2edba174e65b57531fdd59f989c | c35c692e051e15199410385ec82845391ab84b84 | /src/robot_control_system_generator/sources/thirdparty/libyuv/libyuv_scale_argb.h | cfc95a50f1b954dc941f69e41604950d5928f685 | [] | no_license | pombreda/roboticsby | fc9b389d88f10109e937cc8125a818a209057ddb | 4789f8faf7e63dc0d675778d40c1e7b541e77d41 | refs/heads/master | 2021-01-22T03:39:27.354870 | 2015-02-23T11:33:52 | 2015-02-23T11:33:52 | 32,210,410 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,090 | h | /*
* Copyright 2012 The LibYuv 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 p... | [
"sgerasuto%tut.by@gtempaccount.com@9e829c2e-0fe7-11df-962a-0b01395cd2b2"
] | sgerasuto%tut.by@gtempaccount.com@9e829c2e-0fe7-11df-962a-0b01395cd2b2 |
1cd156015f91f7919303425e309add6d39bf7546 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-7-8测试/2.画长方形1/rectangle1.cpp | cbebb9a43965ff11af2ee982e498cfeebcc192f2 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | #include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <vector>
#include <cctype>
#define rgi register int
#define il inline
#define ll long long
using namespace std;
il int read()
{
rgi x = 0, f = 0, ch;
while(!isdigit(ch = getchar())) f |= ch == '-';
while(isdigit(... | [
"506503360@qq.com"
] | 506503360@qq.com |
59f27268aa051284c4f2168af91a1ded1058e93f | 42aaa7f06f8c7a6bd5e7691ccaa4150dbe2c7160 | /src/md5.cpp | b3eba2c7abd76e2b59e4954c161807375d8a3cd2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | OatBran/FFNx | a19a26b8f2c94bc53cb4e0c28d25bb1712bed0be | 8053c85e3f1b2e64f327f5ddaa09fe8637a85dae | refs/heads/master | 2022-07-12T00:19:54.289987 | 2020-05-07T07:23:22 | 2020-05-07T07:23:22 | 261,897,276 | 0 | 0 | MIT | 2020-05-06T22:58:52 | 2020-05-06T22:58:52 | null | UTF-8 | C++ | false | false | 11,421 | cpp | /* MD5
converted to C++ class by Frank Thilo (thilo@unix-ag.org)
for bzflag (http://www.bzflag.org)
based on:
md5.h and md5.c
reference implemantion of RFC 1321
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted... | [
"info@julianxhokaxhiu.com"
] | info@julianxhokaxhiu.com |
29b37913bfe41f6acec66db5d983934a1735860e | e33b790ec7b22a4c2cfc470d46794e954a2e4a7d | /lib/PortAliases.cpp | f73a00c2ab583f5c003fbb4a108915156606bf18 | [
"LicenseRef-scancode-other-permissive"
] | permissive | caizikun/tool_axe | 0ae4abf3e7d5feb6280f37bbafe0f5b4bf1d8d9a | c1d7c0ad8095abc6733eb8df3bc0f4f72b3852d6 | refs/heads/master | 2020-03-20T10:40:53.686373 | 2018-05-30T13:46:20 | 2018-05-30T13:46:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | // Copyright (c) 2012, Richard Osborne, All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>
#include "PortAliases.h"
using namespace axe;
bool PortAliases::
lookup(const st... | [
"richard@xmos.com"
] | richard@xmos.com |
b789b294589486cf39b770752e8e8b474c7952b2 | 32f7ed22967a7e0f745f4938f9dd013a51af57ee | /clientsdk/GP_Client/Subject.h | 86d5755f19e4cebe9322e09eda768cee86182a82 | [] | no_license | stonejiang208/GP_Client | 1eb85ee51b52b49351e98ac843870d2ec231c8bb | 9d790adf20bbfb6b4a101734ad71825b70717c1c | refs/heads/master | 2021-01-10T03:05:09.273439 | 2015-05-27T09:11:52 | 2015-05-27T09:11:52 | 36,205,125 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 761 | h | // -*- C++ -*-
//===========================================================================
/* Time-stamp: <2015-05-26 00:10:54 by android> */
/* @file Subject.h
* $Id: Subject.h 2015-02-27 14:02:41 jiangtao
*
* @author:Stone Jiang<jiangtao@tao-studio.net>
*/
//===================================================... | [
"jiangtao@tao-studio.net"
] | jiangtao@tao-studio.net |
1e0bce8126a319655c5c70cae2fbdca49911dee8 | e4355967555857fd536787dce39ca30426ffa702 | /YouLe/You_系统模块/系统模块/辅助工具/视频服务/Include/IniFile.cpp | 22747af4885b20cb9485639317482683d736d85c | [] | no_license | herox25000/oathx-ogrex-editor | f0fd6044f8065db9cb50a80376e52f502734e877 | f645c7997f27e11a9063a0d352accd98a474cef1 | refs/heads/master | 2020-12-24T14:35:34.912603 | 2013-08-24T06:20:06 | 2013-08-24T06:20:06 | 32,935,652 | 6 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | #include "StdAfx.h"
#include "IniFile.h"
CIniFile::CIniFile(void)
{
ZeroMemory( m_FileName, sizeof(m_FileName) );
}
CIniFile::~CIniFile(void)
{
}
void CIniFile::Load( LPCTSTR FileName )
{
lstrcpy( m_FileName, FileName );
}
int CIniFile::GetInt(LPCTSTR pszSectionName, LPCTSTR pszKeyName)
{
retu... | [
"ydxl2011@yahoo.cn@a113e17c-5e0c-ebba-c532-3ad10810a225"
] | ydxl2011@yahoo.cn@a113e17c-5e0c-ebba-c532-3ad10810a225 |
d9ee5273f6596417326b9459356bb714a4e25829 | 20a6df4c4c9183b80f23f2e77806e345c4ca1473 | /7. Speech Contest Process Management System/speechManager.cpp | 488dd05c0adaa16acc6174d9e5728aa1ea55e9b3 | [
"MIT"
] | permissive | weijiew/cpp-study-cases | a14627980ba622463bbf244a57b26796f508e003 | d204efa9a33f18ff7ebdec58bdba4056c25f464a | refs/heads/main | 2023-03-01T16:26:35.275203 | 2021-02-02T09:00:13 | 2021-02-02T09:00:13 | 308,617,811 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,185 | cpp | #include <iostream>
#include "speechManager.h"
SpeechManager::SpeechManager(){
this->initSpeech();
}
void SpeechManager::Show_Menu(){
cout << "**********************" << endl;
cout << "*** 欢迎参加演讲比赛 ***" << endl;
cout << "*** 1. 开始演讲比赛。***" << endl;
cout << "*** 2. 查看往届记录。***" << endl;
cout <... | [
"836678589@qq.com"
] | 836678589@qq.com |
10031c2a3d5684eaad7817d0ff0a5d4d25506aed | 9d199804ea3aca63762a6779570cfb482c605834 | /DigitalSimulator/sources/Application/Objects/plugin/dll/SimpleType/ObjectPluginManager.cpp | 52e19eda95eec62bbea5cc4034cee386c045d761 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | hupfdule/DigitalSimulator | 6a9a9e43f2f6a9bab620b0190e8991b6c55e54bb | 3b789dcae9adb977bbed681c4459e74bf5f4bf62 | refs/heads/master | 2020-06-20T06:17:40.835154 | 2015-05-24T06:37:48 | 2015-05-24T06:37:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,440 | cpp | /* NO WARRANTY
*
* BECAUSE THE PROGRAM IS IN THE PUBLIC DOMAIN, THERE IS NO
* WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
* LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE AUTHORS
* AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
* WARRANTY OF ANY KIND, EITHER E... | [
"a.herz@freegroup.de"
] | a.herz@freegroup.de |
8a0f63848a79adbbdad77f97e9e74a0d9c906c07 | c4790552abc608f491b7ac2a0b6dcd5826a5bd7c | /463D.cpp | 33753bcf4896797df5c23d1f1a40401e9d2b1f0c | [] | no_license | jeffry1829/ojcode | bd03df14360e5c00e6463c3621de0cfeef88bb11 | 18a6fa3aa59e0d9c274f44f7dea060f70c91cbe8 | refs/heads/master | 2023-02-27T00:27:04.856978 | 2021-02-04T09:20:58 | 2021-02-04T09:20:58 | 286,199,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,276 | cpp | #pragma GCC optimize(1)
#pragma GCC optimize(2)
#pragma GCC optimize(3)
#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("-fgcse")
#pragma GCC optimize("-fgcse-lm")
#pragma GCC optimize("-fipa-sra")
#pragma GCC optimize("-ftree-pre")
#pragma GCC optimize("-ftree-vrp")
#pragma GCC optimi... | [
"jeffry1829@gmail.com"
] | jeffry1829@gmail.com |
784a33f7a6915bef853b522959aee47133c2f194 | 6670724130458d10b458b4f23ee995c4ef0ef242 | /MegaProject/Controller/StructureController.cpp | c1abb4f5bf36948e5fcb2eef4eaad3ac089c0857 | [] | no_license | AarooneyFarr/MegaProject | d54154e45b61f0e50e2a65caa04ea0b738b5900b | f89a67360999e6fb98a960e63114560fbb581c45 | refs/heads/master | 2021-01-12T10:32:21.684192 | 2017-05-26T15:55:08 | 2017-05-26T15:55:08 | 81,345,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,897 | cpp | //
// StructureController.cpp
// MegaProject
//
// Created by Farr, Aaron on 2/8/17.
// Copyright © 2017 Farr, Aaron. All rights reserved.
//
#include "../Model/IntNodeArray.hpp"
#include "StructureController.hpp"
#include <iostream>
#include "../Model/Timer.hpp"
#include "../Model/List.hpp"
#include "../Model/Mem... | [
"Aarooney.Farr@gmail.com"
] | Aarooney.Farr@gmail.com |
c6776b65c567b5da17feecfeecbeaad8568b6284 | 02ce8a5d3386aa639ef1c2c2fdd6da8d0de158f9 | /ACE-5.6.1/ACE_wrappers/apps/drwho/SM_Client.cpp | bf0cb5194912d62f67a17d583bcf7497ebf21a44 | [] | no_license | azraelly/knetwork | 932e27a22b1ee621742acf57618083ecab23bca1 | 69e30ee08d0c8e66c1cfb00d7ae3ba6983ff935c | refs/heads/master | 2021-01-20T13:48:24.909756 | 2010-07-03T13:59:39 | 2010-07-03T13:59:39 | 39,634,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | cpp | // $Id: SM_Client.cpp 53169 2003-11-01 11:15:26Z dhinton $
#include "Options.h"
#include "PMC_All.h"
#include "PMC_Flo.h"
#include "PMC_Usr.h"
#include "PMC_Ruser.h"
#include "SM_Client.h"
#include "ace/Log_Msg.h"
#include "ace/OS_Memory.h"
// Call-back function that invokes the appropriate decode function.
int
SM_... | [
"yuwuxiong2010@gmail.com"
] | yuwuxiong2010@gmail.com |
d63ff4bbfd799ec498e73745a4c865cf4d09ebe4 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/3289.cpp | d9c1a338639d27b15797ec4a29f3faa512fe0c45 | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 1,351 | cpp | #include <cmath>
#include <cstdio>
#include <algorithm>
using namespace std;
const int maxn = 50001;
int n, q, a[maxn], tot, que[maxn], sqn, bit[maxn], L, R, tmp, ans[maxn];
struct Query
{
int id, l, r;
bool operator < (const Query &t) const
{
if(l / sqn != t.l / sqn)
return l < t.l;
return r < t.r;
}
} Q[ma... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
65336427007e9d4ac03288573a3cb3c5bae1aa62 | 0769bb399c7ef945e91d3a2dc227d08214438795 | /BilliardsGame/SceneManager.h | 70c95e7ad325046bfafe2bc0b16d2cd86c83796d | [] | no_license | ogasho/BilliardsGameDX | 307353762d4c9a0147c7fac12dc849dcabbc6207 | 52e9f7f41c7bfe8b5f2fcc37c0e7ffaa7b23a522 | refs/heads/master | 2021-01-13T13:56:56.313095 | 2016-12-14T16:37:42 | 2016-12-14T16:37:42 | 72,931,827 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 753 | h | /* シーン遷移管理クラス */
// 現在動作しているシーンの監視、切り替えを行う
#pragma once
#include <d3d11.h>
enum class SceneID;
class DX11Manager;
class ShaderManager;
class SceneBase;
class SceneNineBall;
class InputManager;
class SceneManager
{
public:
SceneManager();
~SceneManager();
bool Init(SceneID firstScene, DX11Manager* dx3D, const In... | [
"ogasho100@yahoo.co.jp"
] | ogasho100@yahoo.co.jp |
7aa8a842ec1fb6184a881afc0bb60155f13c0636 | b8231d5bb8341e3067051c812f284254b13e0b1b | /Algorithms/513.Find_Bottom_Left_Tree_Value.cpp | 635f15b89abac22bad6bc765b29f480613ce1e0a | [] | no_license | icoty/LeetCode | 8ceb401841aa2b3cbcfbab907af5ac26aa3fd064 | 38083236ebfc197c77ff2a85b5e42834b8916320 | refs/heads/master | 2020-04-05T14:40:54.811234 | 2019-04-14T05:04:29 | 2019-04-14T05:04:29 | 156,935,383 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,341 | cpp | #include "AllInclude.h"
class Solution {
public:
int findBottomLeftValue(TreeNode* root) {
queue<TreeNode*> q;
q.push(root);
int ret;
while(!q.empty()){
ret = q.front()->val;
int len = q.size();
for(int i = 0; ... | [
"icoty.yangy@gmail.com"
] | icoty.yangy@gmail.com |
371356a02a0ecbd581e1e5b800e341aa30d6115f | 323379c8ea06b5527d5a41ceb75e11b40fe3bc60 | /include/daface_det.h | 796ee4b6cc53b56c273590153307ee40f1ace79a | [] | no_license | LHQ0308/DAFace | bce8d43dac811ccfd5554ada986bda81e657ee18 | 3401e9e6804f705c548b99cee195b930d24152df | refs/heads/master | 2020-04-27T23:36:23.634854 | 2017-06-05T15:09:26 | 2017-06-05T15:09:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | /******************************************************************************
* FileName: dafece_det.h
* Author: binLearning
* Version: 1.0.0
*
* Description: use seeta-face to detect face region & 5 facial points
*****************************************************************************/
#ifndef _DAFACE... | [
"binLearning@163.com"
] | binLearning@163.com |
546ac5ebcf9761b1aff0fa43d44565d8d8907aa9 | 5a358636837d1db66c8ba4ff7d369454b30b8734 | /MissingNumber.cpp | 641350e5e52bf1cdc94152ae6c83695412e91252 | [] | no_license | sohampod/100daysofcpp | 95660f779b392500ea3c48ae03c5d9594a348eec | 05c6dd9204132a872c93a25a88cddf1a55497338 | refs/heads/main | 2023-03-27T11:08:07.969013 | 2021-03-27T19:58:11 | 2021-03-27T19:58:11 | 326,193,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include <bits/stdc++.h>
using namespace std;
// Function to get the missing number
int getMissingNo(int a[], int n)
{
// For xor of all the elements in array
int x1 = a[0];
// For xor of all the elements from 1 to n+1
int x2 = 1;
for (int i = 1; i < n; i++)
x1 = x1 ^ a[i];
for (int i = 2; i <= n + 1; i++)
... | [
"soham.poddar23@gmail.com"
] | soham.poddar23@gmail.com |
b974402a2c5f40cf2ef56e34330d9259baca94b5 | 8cd51af419cd7dda12e0ece4ab37c1987f69bb51 | /src/BlueMotor.cpp | c6071a557e96ff48430c5f489bd31724327a540e | [] | no_license | sandman-code/Lab6 | 900c911491a5cf95b76d022734387082e3479e82 | 528c4264365773baed11bf644a943b905fed2486 | refs/heads/main | 2023-04-02T14:55:46.551762 | 2021-03-27T19:48:54 | 2021-03-27T19:48:54 | 346,200,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,073 | cpp | #include "BlueMotor.h"
#include <Romi32U4.h>
#include <PID.h>
// variables for the counter of controlling the encoder
const char X = 5;
int errorCount = 0;
int oldValue = 0;
long count = 0;
const int DBdiff = 40;
char encoderArray[4][4] = {
{0, 1, -1, X},
{-1, 0, X, 0},
{1, X, 0, -1},
{X, -1, 1, 0}};
//... | [
"cade3217@gmail.com"
] | cade3217@gmail.com |
6dd1e909acf995e4486d7048c082f9b5b9b44fd2 | 46a924618d0b248acad0a44f92aad10072ef7bb0 | /src/cppruntime/include/runtimetest/system/ProcessJSystemConstants.hpp | 5ed44a90d332449110c3db958338b1c5556783f5 | [
"Apache-2.0"
] | permissive | mattunlv/ProcessJ | 48dfc6aa5f59f51bb86155de84185c8e941c51e7 | 57d6ae2d120bd58978195d133924b4eefc4bc844 | refs/heads/main | 2023-06-24T05:57:57.176316 | 2023-05-06T04:17:23 | 2023-05-06T04:17:23 | 454,967,668 | 1 | 0 | Apache-2.0 | 2022-08-30T20:39:25 | 2022-02-02T23:19:40 | Java | UTF-8 | C++ | false | false | 942 | hpp | /*!
*
* ProcessJSystem::Constants declaration. Defines constants that are used throughout
* the ProcessJSystem to promote refactorablility
*
* \author Carlos L. Cuenca
* \date 03/13/2022
* \version 1.0.0
*/
#ifndef UNLV_PROCESS_J_SYSTEM_CONSTANTS_HPP
#define UNLV_PROCESS_J_SYSTEM_CONSTANTS_HPP
namespace Proce... | [
"cuenca.cl@gmail.com"
] | cuenca.cl@gmail.com |
6df358d5f86de64408285763f66508e1e2e706b5 | ce1cc211b951de557fc7bdc41d59591aa131bb8b | /sources/seating_arrangement/tests.cpp | 4b31190cb874e2339f54cf952027e7c5fa2c691c | [
"MIT"
] | permissive | jacek143/kata | ac09203fe1462f7f80cd0015b6f5fce86079021f | 57784b1d6139c6f7cb8be0ebd3fee162f1d5e558 | refs/heads/master | 2020-08-01T00:20:51.224732 | 2020-04-13T09:24:02 | 2020-04-13T11:07:10 | 210,797,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | cpp | #include "seating_arrangement.h"
#include "gtest/gtest.h"
using seating_arrangement::getFacingSeatNumber;
using seating_arrangement::getSeatType;
using seating_arrangement::SeatType;
using seating_arrangement::solveProblem;
using std::string;
class SeatingArrangement : public ::testing::Test {
public:
void expectSe... | [
"jacek143@gmail.com"
] | jacek143@gmail.com |
71e904e953ef060125282d63d417c56096d557fb | 270906a92f36f1ced4e5ab71a20efc367dad0c0b | /include/anvil/RPC/ServerExample.hpp | 06677cae8adbf536e3ff1883f83ccf27236ffbc5 | [
"Apache-2.0"
] | permissive | asmith-git/anvil | 69c0c71df2eb81195bbce586061905972e79d682 | 6a0ead54fa870cb0b3159fb40387e8dc239e37af | refs/heads/master | 2023-09-06T00:48:49.659072 | 2023-08-28T16:55:21 | 2023-08-28T16:55:21 | 112,432,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | hpp | //Copyright 2023 Adam G. Smith
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http ://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing... | [
"adam.george.smith@btinternet.com"
] | adam.george.smith@btinternet.com |
c60de1c98465a0c7740d050d8e102e2c1c40ce1e | 5ca2e41a032c92ecf840592ad82815b894bbb2ed | /Ex3:Hough变换/3-2/Hough.cpp | 680e3c0419668ba532b33e26badccf1297906cda | [] | no_license | Xungerrrr/SYSU-CV | e5ac5f396a0d9fd975decc50280703ba0c4b195b | a883ab65b09a72e2ad30a305ade3b7021c275c8e | refs/heads/master | 2020-04-29T15:41:48.296220 | 2019-03-18T08:39:21 | 2019-03-18T08:39:21 | 176,236,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,617 | cpp | #include <iostream>
#include "Hough.h"
using namespace std;
/* The constructor. */
Hough::Hough(char *in, CImg<unsigned char> edge_image, int threshold, float f, int minR, int maxR) {
if(VERBOSE) cout << "Reading the image " << in << "." << endl;
infilename = in;
src.load(infilename);
edge = edge_image;... | [
"hellolixy@icloud.com"
] | hellolixy@icloud.com |
5a1340cea032412105121d32737b937cfec6de17 | 2212e07b37c0a0045bb808ca1bd612b5d2079065 | /header/battle/LightAttackStrategy.h | 63283f37daeeec440f8885324adb308d1b096605 | [] | no_license | danzmoses/cs100-project | 4d641b6a1b99369f0e5d61dca7c8063e111ecdf9 | ae1c0698cd5bb2139239c1152b64d34a993f2c88 | refs/heads/master | 2023-02-03T18:28:11.996762 | 2020-12-24T04:36:01 | 2020-12-24T04:36:01 | 324,067,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | h | #ifndef LIGHT_ATTACK_STRATEGY_H
#define LIGHT_ATTACK_STRATEGY_H
#include "AttackStrategy.h"
class LightAttackStrategy : public AttackStrategy
{
private:
public:
LightAttackStrategy() {}
int attack(Entity* attacker, Entity* defender)
{
// light attack: player ATK multiplier ... | [
"danzmoses@gmail.com"
] | danzmoses@gmail.com |
49b52a9c8f9e6b2f002d9d552c3a439e8ca595b6 | 1ad14377c65c624aac3de787e86ad232faacf8e6 | /gameNode.cpp | 62db8091d1bf521b4e2798e1a23fbe6e4b5a0d66 | [] | no_license | juh1128/SGA-Monarch2Weeks | 5c5aba87619da193314679951034617e8e365dbe | f77c799572f21c5350cce2eed5a4aeb31b690e6e | refs/heads/master | 2021-10-08T22:53:39.082264 | 2018-12-18T18:28:32 | 2018-12-18T18:28:32 | 106,794,815 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,072 | cpp | #include "stdafx.h"
#include "gameNode.h"
gameNode::gameNode()
{
}
gameNode::~gameNode()
{
}
HRESULT gameNode::init(void)
{
_managerInit = false;
return S_OK;
}
HRESULT gameNode::init(bool managerInit)
{
_managerInit = managerInit;
if (_managerInit)
{
KEYMANAGER->init();
IMAGEMANAGER->init();
SOUN... | [
"juh17@naver.com"
] | juh17@naver.com |
fcc79b6904429583be2ef36c0059783a2f9349cf | 8d675d8b658f028400543c18b0243f8dc45c9b03 | /213-House Robber II.cpp | d3ec056d13973e624ca312696d38b861d045c00f | [] | no_license | dc-tw/leetcode | 06b1784ce7111fe43632067750944ce9596df03a | 2556209843dd6d621b8ced305eaf7cf8f39ff294 | refs/heads/master | 2020-05-19T20:23:36.485881 | 2020-02-14T08:02:36 | 2020-02-14T08:02:36 | 185,200,761 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | class Solution {
public:
int rob(vector<int>& nums) {
if(nums.empty()) return 0;
if(nums.size()==1) return nums[0];
int n=nums.size();
vector<int> info(n,0);
for(int i=0;i<n-1;++i)
{
if(i==0) info[i]=nums[i];
else if(i==1) info[i]=max(info[i-1]... | [
"david112358c@gmail.com"
] | david112358c@gmail.com |
efd3530542bbc554a982e6eb9c3904a0c0c522f7 | 935c73c085973689f73d2e3e7d604efec2122cfb | /src/WindHorn/WHSurface.cpp | b9f7e3c6e9aa98470cf2ea77feb89a58c0a19f31 | [] | no_license | AlanMiu/mir2-cpp | d0d91b05b2d0218464b51a4a156ed8da19505965 | a33a92aa01b03a45b0911e51c642740d8612fc77 | refs/heads/master | 2022-04-16T21:54:24.449441 | 2017-09-14T17:26:52 | 2017-09-14T17:26:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,309 | cpp | /******************************************************************************************************************
Module Name:
Author:
Date:
... | [
"baiyqukq@163.com"
] | baiyqukq@163.com |
2f583eb76e3667b8daf962694ba8f8b6a8c7b18c | 5f13d88fd0457bf8fe3845435d039f4e315191d9 | /include/peli/json/value.h | 20901a4dd0bd6b0ee4abd1b778b595fa16e5c465 | [
"Apache-2.0"
] | permissive | aclex/peli | 149d198875a42395ecf8f5c9546291cb9096f826 | 189eb3d902feac9ea4b54c9116419d0eaf71ffff | refs/heads/master | 2023-05-26T18:06:02.534043 | 2023-05-23T21:45:15 | 2023-05-23T21:45:15 | 38,453,766 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,396 | h | /*
* This file is part of Peli - universal JSON interaction library
* Copyright (C) 2014-2022 Alexey Chernov <4ernov@gmail.com>
*
* 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
*
* ht... | [
"4ernov@gmail.com"
] | 4ernov@gmail.com |
819ac6f75766c6d13ad29807994285aa502c13b5 | e36906be9399685b0d03daffec9c33735eda8ba1 | /src/python/tests/main.cpp | f0b5c8cbadb2760814ad090816db526dc371268f | [] | no_license | ybouret/yocto4 | 20deaa21c1ed4f52d5d6a7991450d90103a7fe8e | c02aa079d21cf9828f188153e5d65c1f0d62021c | refs/heads/master | 2020-04-06T03:34:11.834637 | 2016-09-09T14:41:55 | 2016-09-09T14:41:55 | 33,724,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include "yocto/utest/driver.hpp"
YOCTO_UNIT_TEST_INIT(8)
{
YOCTO_UNIT_TEST_DECL(vm);
}
YOCTO_UNIT_TEST_EXEC()
| [
"yann.bouret@gmail.com@6d5338fb-0854-7327-6163-5cad528299e9"
] | yann.bouret@gmail.com@6d5338fb-0854-7327-6163-5cad528299e9 |
1af8ef97e6331cfbc76f0c0f9a9036f1aceaa94f | 901c98bb6d28b857262340168e9f23b8179df6a1 | /OpenGLConsole/include/lights/LightManager.h | 3ca6798c8d61ef02d15b1f8fa3a276da8cb0bc4b | [] | no_license | ni-sirius/CoreOne | 4ae3fa2dd9f8a2b397ab0ebcb9d453082811de3f | 39dbec32d7e4db7e10edc37e1c1e3ef41108bd76 | refs/heads/master | 2021-06-11T20:01:50.305317 | 2021-04-10T12:47:59 | 2021-04-10T12:52:53 | 174,483,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #pragma once
#include "lights/Lights.h"
namespace coreone::graphics
{
class Shader;
}
class LightManager
{
public:
LightManager();
~LightManager();
void RegisterLight(std::shared_ptr<light::LightContainer> light);
void LoadLightsToShader(std::shared_ptr<coreone::graphics::Shader> shader) c... | [
"ni-sirius@ya.ru"
] | ni-sirius@ya.ru |
4a7d8a92fe90299933e8d37d1aaef79ebbaa167c | 725e0762e67e767c51cd5b336a69ca0b7b8ed183 | /Thrust/Engine/Rect.h | 22d94e17953752572ddb6010e9c26c1316f78d0d | [] | no_license | TonyMalz/CPP | 5b09284f08a65cc87b5ffa1090564d183da86a7a | 89cd416ed098fddece9bca9bb887b8a5c98ba684 | refs/heads/master | 2016-08-05T07:08:07.162185 | 2014-10-19T18:36:30 | 2014-10-19T18:36:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,294 | h | /******************************************************************************************
* Chili DirectX Framework Version 14.03.22 *
* Rect.h *
* Copyright 2014 PlanetChili.net <http://www.planetchili.net> *
* *
* This file is part of The Chili DirectX... | [
"arsch@boozr.de"
] | arsch@boozr.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.