blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a0f1a645f4328ff4a9bd0926adea76cd868c00c2 | fcd4bce0080771389b4a69338ed6443153942183 | /src/imageops.h | c9aec60ce20a49ccb5ddeb53642c788950737b60 | [
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-brian-gladman-3-clause",
"BSD-3-Clause"... | permissive | wulfebw/retro | d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa | dad4b509e99e729e39a2f27e9ee4120e3b607f58 | refs/heads/master | 2022-10-23T07:17:55.320585 | 2020-06-12T01:38:06 | 2020-06-12T01:38:06 | 260,832,205 | 8 | 1 | MIT | 2020-06-12T01:38:08 | 2020-05-03T05:06:17 | C | UTF-8 | C++ | false | false | 823 | h | #pragma once
#include <cstdint>
#include <cstddef>
namespace Retro {
class Image {
public:
enum class Format {
RGB565,
RGB888,
RGBX888,
G8
};
Image() {}
Image(Format, const void* in, size_t w, size_t h, size_t stride);
Image(Format, void* in, size_t w, size_t h, size_t stride);
Image(const Image&) = d... | [
"vickipfau@openai.com"
] | vickipfau@openai.com |
c0b770df8b2382ebe28958eff58d367f4c84df04 | ddd4f8d705b12f840d05671bad90a54a1f81d286 | /TCG-LoginServer/NetCore/IHandler.h | d2ab31af604fb964713934f479efb945262dfa5c | [] | no_license | codesafe/TCG-LibUV-Server | bfaa51dc3f57b02ce3656cc3d53cb4656685a53f | b8380b49bf434595a2fb29672439cff13ee82ac9 | refs/heads/master | 2020-08-02T05:25:17.194164 | 2019-10-02T09:48:01 | 2019-10-02T09:48:01 | 211,247,807 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,564 | h | #ifndef HANDLER
#define HANDLER
#include "../Predef.h"
class Session;
class DataBuff;
/*
class IDataBuffer
{
public:
virtual INT32 GetRef() = 0;
virtual BOOL AddRef() = 0;
virtual BOOL Release() = 0;
virtual CHAR* GetData() = 0;
virtual UINT32 GetTotalLenth() = 0;
virtual VOID SetTotalLenth(... | [
"codesafe@gmail.com"
] | codesafe@gmail.com |
5764a60635efb4b5cb31f66600a23b1e09eb3140 | 2842ca2e1493b03cc2cf54814bc6ab2bf113122a | /solutions/euler11.cpp | df1b036aa4a44d9857c64999806e04c11dc55fd5 | [] | no_license | hwXYZ12/Project-Euler-Cplusplus | 54239a3eb6b0e80a99aa34ffc19bd8d557d40035 | 045d63d06fb6f3f72e850ed0d0596d5f08755375 | refs/heads/master | 2021-01-15T11:29:58.729603 | 2017-08-07T21:08:17 | 2017-08-07T21:08:17 | 99,620,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,320 | cpp | // project euler problem 11 - euler11.cpp
// https://projecteuler.net/problem=11 for problem statement
#include <iostream>;
#include <fstream>;
#include <algorithm>;
typedef long long INT;
const char * INPUT_PATH = "euler11input.txt";
const int GRID_SIZE = 20;
const int PROD_SIZE = 4;
int main()
{
using std::ifstrea... | [
"wpolenz@live.com"
] | wpolenz@live.com |
393f686c2462a6644e9df50e7f6af229327d42fc | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tcbr/src/v20220217/model/StorageInfo.cpp | 3be25971a9fcc33a9cf7d5753259405d5452fcd8 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,852 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
ad4220676c67c032c09420433146edaba7493ff0 | 0aadbab091314463991d4dbc3ba5a616576861a4 | /Etc/mergesort.cpp | da60d585e68105b7fe253a12003e47a10d02057d | [] | no_license | SilverFloo/Code | cdc0c6fdf8650d25a4b30ed4aaf577523021945a | 45a75e2dd42e2bb551f330ddbeee8d25b841f2b0 | refs/heads/master | 2022-12-15T10:04:19.562501 | 2020-09-02T14:34:54 | 2020-09-02T14:34:54 | 264,585,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cassert>
using namespace std;
void merge(int* l, int* r){
if (r - l <= 1) return;
auto m = l + (r - l) / 2;
merge(l, m);
merge(m, r);
std::vector<int> ans;
int *pl = l, *pr = m;
while(pl != m and pr != r){
ans.push... | [
"aapimrak@gmail.com"
] | aapimrak@gmail.com |
5e68d6de1bd1b512de51365b9b8272d6a9ca04e5 | ddd475df9583604eff3881b33e2cd1d79224a10a | /IVS_Demo/IVSAlarmPage.cpp | 67bf09b531fbd29488941f7a0d192d595874453b | [] | no_license | RayAndAmanda/-eSDK_IVS_API_Demo_V2.1.00.100_CPP | 5cfdbb50234845f7385c5636192f0cb05e56c464 | 54dab2a003241795c037c2d7a4a80da8ef6eca72 | refs/heads/master | 2022-08-28T14:17:45.093370 | 2022-08-04T02:33:13 | 2022-08-04T02:33:13 | 162,942,430 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,113 | cpp | // IVSAlarmPage.cpp : implementation file
//
#include "stdafx.h"
#include "afxdialogex.h"
#include "IVS_Demo.h"
#include "IVSAlarmPage.h"
#include "IVSSDKSheet.h"
// CIVSAlarmPage dialog
IMPLEMENT_DYNAMIC(CIVSAlarmPage, CPropertyPage)
CIVSAlarmPage::CIVSAlarmPage()
: CPropertyPage(CIVSAlarmPage::ID... | [
"noreply@github.com"
] | noreply@github.com |
6ef963556bc38fdff943610ff162858d020ccb4e | efcc9ecde592f2db0e5de4ff9737176a422d00e3 | /Src/Modules/Update/Src/CheckForUpdateDialog.h | 50bd49a3bd590c1b2ff4c0a686892c924b0a22e8 | [] | no_license | xujin961129/Kits | 86b7373e4367b641d0a8ffcdc316a6cf52df6456 | 315f3070b1f9e227e4395ca7865eb3b7ff3afe66 | refs/heads/master | 2020-07-11T03:48:57.557781 | 2019-08-26T09:13:39 | 2019-08-26T09:13:39 | 204,438,592 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | h | /**
* @copybrief Copyright © 2018, WuHai all rights reserve.
* @author wuhai
* @em wuhai1024@outlook.com
* @date The file is created on Dec. 29, 2018 by wuhai.
* @brief The device info.
* @version
* 20181229 --v1.0.0 create the file.
*/
#ifndef CHECKFORUPDATEDIALOG_H
#define ... | [
"xujin961129.@163.com"
] | xujin961129.@163.com |
408cee75e2f7a87e02a28dbbc230cd7e8f6843b2 | 12a09d5f747bdf1e52b129f3c95dd544fdc86f41 | /src/car.h | efdf15a362431bc15ca8cb7738046bf2b5f3e619 | [] | no_license | akyryl/game | d33035554d8ad7eb33f2bfb5a9eb8aca51d2bc82 | 3ac12a5879fa40da257cd234542c046ca93df0f0 | refs/heads/master | 2016-09-05T10:37:46.561716 | 2013-01-29T20:16:41 | 2013-01-29T20:16:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #ifndef __CAR_H__
#define __CAR_H__
#include "carRenderObject.h"
class Car
{
CarRenderObject *m_pDrawingObject;
public:
Car();
~Car();
CarRenderObject *getDrawingObject() const;
void stepLeft();
void stepRight();
};
#endif // __CAR_H__
| [
"akyryl@localhost.localdomain"
] | akyryl@localhost.localdomain |
5f54078d5f7bd6e5b7c2383f3bd0f3dc2c9688a1 | cf1bc90582b3b9fe939650979e9319aaa19936e9 | /src/paging/PageTableManager.cc | f5e37e5fffd7e1867ee1a067aceeb7b319a8bffd | [] | no_license | RGFTheCoder/kernel | a224e065ca0e620dc7ecb222231fd02e038fd2eb | f5485c20bea97d801bd5a213dd36aa8cc0eacd87 | refs/heads/main | 2023-02-16T07:37:15.798141 | 2021-01-10T07:32:46 | 2021-01-10T07:32:46 | 328,304,858 | 1 | 0 | null | 2021-01-10T04:44:32 | 2021-01-10T04:44:31 | null | UTF-8 | C++ | false | false | 1,663 | cc | #include <paging/PageTableManager.hh>
#include <paging/PageMapIndexer.hh>
#include <paging/PageFrameAllocator.hh>
#include <types/ints.hh>
#include <Memory.hh>
void PageTableManager::MapMemory(void *virtualMemory, void *physicalMemory)
{
PageMapIndexer indexer{(u64)virtualMemory};
PageDirectoryEntry PDE;
PDE = PML... | [
"recdeclec.ceo@gmail.com"
] | recdeclec.ceo@gmail.com |
276cfdaa0442b8ce146fa01aefff5450bdd94391 | e86e5c93668cd38a523dcec1eab9198e51974d3a | /VeritasEngine_Windows/TextureResourceLoaderImpl.cpp | 160f271177dd1db137062757a7ccfc14abf3514e | [
"MIT"
] | permissive | webfinesse/veritas-engine | cf41544f9f2380d34807b3e9925eaa43ff5f36a4 | de771f2dcaa1a58550d07500e33e50940e3f5e58 | refs/heads/master | 2021-01-11T01:49:47.815527 | 2018-01-07T23:41:18 | 2018-01-07T23:41:18 | 70,659,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include <memory>
#include "TextureResourceLoaderImpl.h"
#include "WindowsUtil.h"
#include "DirectXState.h"
#include "DDSTextureLoader/DDSTextureLoader.h"
#include "DirectXTextureData.h"
#include "../VeritasEngine/ResourceData.h"
VeritasEngine::TextureResourceLoaderImpl::TextureResourceLoaderImpl(std::sh... | [
"webfinesse@gmail.com"
] | webfinesse@gmail.com |
1b81d14026247e1e865612c87faef889380ac7a3 | a033338aeb547f3c3d4d5a0fc0cec86966a3fdb1 | /Juego1D/Game/Engine/GameObjects/Components/Derived/CollisionComponent.cpp | 65051e9126bc34e5d6e6e77487738c058dc559a0 | [] | no_license | sergiodrm/Juego1D | fb9b10af35bafd9d5c46ef5cde725c5e4c278725 | f74d5767b25aab46cc6e7fbaf1e60e88e380202d | refs/heads/master | 2023-02-24T08:20:01.732997 | 2021-01-28T19:09:26 | 2021-01-28T19:09:26 | 332,168,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | cpp | #include "CollisionComponent.h"
#include "TransformComponent.h"
#include "MovementComponent.h"
#include "GameObjects/GameObject.h"
#include "World/World.h"
CCollisionComponent::CCollisionComponent()
: m_eTypeToIgnore(CGameObject::EGameObjectTypes::Invalid) {}
void CCollisionComponent::Update(float _fDeltaTime)
{
... | [
"sergiojg.drm@gmail.com"
] | sergiojg.drm@gmail.com |
bd91c86aefb7b78dbf9f80d2d6e5a03275c5df81 | d4235fb113bcbf4adef8467e1db716b169c0640f | /src/snark/libsnark/gadgetlib1/gadgets/hashes/hash_io.hpp | 93ae4e3735b1cb4659a140dea8a74750cd30523d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | phabulu/litecoinz | c0d1b0eb8d8564e7d1d9cf0665b2b2e4bfa8fb87 | f27d3e157811c8ae19bc7165d613f4d4b8ef9523 | refs/heads/master | 2020-03-06T18:55:25.439682 | 2018-03-17T15:04:55 | 2018-03-17T15:04:55 | 127,016,647 | 1 | 0 | MIT | 2018-03-27T16:37:06 | 2018-03-27T16:37:05 | null | UTF-8 | C++ | false | false | 2,152 | hpp | /**
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
* and contributors (see AUTHORS).
* @copyright MIT license (see LICENSE file)
**************************************************************************... | [
"team@litecoinz.info"
] | team@litecoinz.info |
83f7963209b43913c96ad5a41a68ca945547adf3 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/wum/WorkUnitBase.fwd.hh | 210808a9c73c0bcc0c1af4df45ce5d7fffbd9d80 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
3a150246fa2532feb23bfe333b5476f6f954c690 | b6bad48fbff4264a2b670b6776f5c0c19c937f54 | /src/agaliarept/analyze_JPEG_item_Base.h | 7fe17cd5fb108d37c82b2d9ec9144372645d0db5 | [
"MIT"
] | permissive | solomon-qwe/agalia | a39343720896545116cb121f6f8e63f4007fbfba | 811655f37e1b875cce53f18da6f4df4fe64e39b4 | refs/heads/master | 2022-08-26T22:59:53.721412 | 2022-08-07T14:14:20 | 2022-08-07T14:18:58 | 90,438,465 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | h | #pragma once
#include "container_JPEG.h"
#include "jpeg_def.h"
#include "byteswap.h"
namespace analyze_JPEG
{
class item_Base : public _agaliaItemBase
{
public:
enum item_type
{
unknown,
marker_segment,
jfif, // APP0
exif, // APP1
xmp, // APP1
icc_profile, // APP2
ducky, // APP... | [
"solomon-qwe@users.noreply.github.com"
] | solomon-qwe@users.noreply.github.com |
bc1fc49254b7b592d4bebf79d1c54e7eaba68f5c | cba54fda668bdbadbfe04130b17d2f703a53971c | /sr2/src/core/Element.cpp | 6a598e2ed36424c4ea6f98203eef71f1d9a54636 | [] | no_license | Nightwind0/stonering | 85af318ad90c6698bc424c86a031481cb6d67ee0 | f6c31db3840bfdc3d9a5da7f66aed9186615a2c9 | refs/heads/master | 2021-01-17T18:45:07.301920 | 2018-08-29T20:19:56 | 2018-08-29T20:19:56 | 65,499,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,472 | cpp | #include <ClanLib/core.h>
#include "Element.h"
#include "IApplication.h"
#include <algorithm>
using StoneRing::IApplication;
using StoneRing::LevelFactory;
using StoneRing::Element;
/*const Element::ElementCreationEntry Element::g_pElementCreationEntries[] =
{
{"itemRef", &IApplication::getLevelFactory, &Lev... | [
"nightwind@1a319a91-200f-0410-9ca8-f36a151797b4"
] | nightwind@1a319a91-200f-0410-9ca8-f36a151797b4 |
251b83daeef32bb43d64778543d220444f4d0e8a | 243b10891fb389f408a48c8f17215464ff7def49 | /_Engine/Inc/Object/Actor/tile_actor.h | a0496816c0c50f924b05d32001c931d69f89774c | [] | no_license | kwangminy27/K-Diablo-II-Expansion | 4b3eb4146331995410f77494337e8e61f76f73cb | 9a2adcf915a59871df50848da7db531dcba38979 | refs/heads/master | 2020-04-11T05:50:12.683927 | 2019-01-02T12:44:27 | 2019-01-02T12:44:27 | 161,561,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | #pragma once
#include "actor.h"
namespace K
{
class K_ENGINE_DLL TileActor final : public Actor
{
friend class ObjectManager;
public:
virtual void Initialize() override;
virtual APTR Clone() const override;
virtual void Serialize(InputMemoryStream& _imstream) override;
virtual void Serialize(OutputMemo... | [
"kwangminy27@outlook.com"
] | kwangminy27@outlook.com |
3ae1c44dbb0abd32d309b8d02f77498132dae67e | b9b36c53e012acb7f73b539cba0eb89310437905 | /src/AbsEncoder.h | 0ca1356244f16e66ef48ec662e926d94f34c6ec1 | [] | no_license | newdavidl/Team-3341-Stronghold | 3b1e2c1f7b88738074c6bf6f45fa32a2aeac3902 | 7ecc2c321447f4fdad5aa92cff14ba94fc2b1a80 | refs/heads/master | 2021-01-10T07:08:37.958701 | 2016-02-06T22:58:58 | 2016-02-06T22:58:58 | 50,240,215 | 0 | 0 | null | 2016-01-25T02:49:16 | 2016-01-23T13:47:23 | C++ | UTF-8 | C++ | false | false | 326 | h | #ifndef AbsEncoder_H
#define AbsEncoder_H
#include "WPILib.h"
class AbsEncoder
{
private:
// It's desirable that everything possible under private except
// for methods that implement subsystem capabilities
SPI *myAbsEncoder;
short input;
public:
AbsEncoder();
void InitDefaultCommand();
short getInput();
};
#... | [
"newdavidl@gmail.com"
] | newdavidl@gmail.com |
0a69ce9339d78e5818559fff0c011a30057ae7cd | cf71bad94e4e7a579c2c87bbf1a21bfaea068368 | /build-Bejeweled-Desktop_Qt_5_9_0_MinGW_32bit-Debug/ui_crankdlg.h | 9dac38eb5ffe076965dbcc0a98f4ba0e4414b892 | [] | no_license | Paitesanshi/Data-Structure-Project | 50d64178ad94d7cca73fd49761890ca861cfb930 | b442da81d4d45da58e1b6a1c30b8fd5ee54a7a56 | refs/heads/master | 2022-10-20T11:07:51.583717 | 2020-06-11T15:28:54 | 2020-06-11T15:28:54 | 264,111,608 | 1 | 4 | null | 2020-05-26T14:08:22 | 2020-05-15T06:13:44 | Makefile | UTF-8 | C++ | false | false | 8,208 | h | /********************************************************************************
** Form generated from reading UI file 'crankdlg.ui'
**
** Created by: Qt User Interface Compiler version 5.9.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************************... | [
"13520782708@139.com"
] | 13520782708@139.com |
57e5d35369b5cd46becd31cf92af6d8fc689a4e1 | 2a13524e497dd4ea97b634252f770b23eb3b031e | /Chat/ChatClient/ChatClient.h | c030f50955774671f546a65a4f8ecc4371350e7c | [] | no_license | thaobktin/NetworkProgrammingCpp | 10a7370fbf6ebb2a8e542814f55fa387fde8bdab | e4fd64feaac4c885796a8b4d150079f5f8598aa2 | refs/heads/master | 2021-01-23T00:01:40.701745 | 2017-09-05T03:02:55 | 2017-09-05T03:02:55 | 102,426,911 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | h | // ChatClient.h : main header file for the CHATCLIENT application
//
#if !defined(AFX_CHATCLIENT_H__F820FDDE_E4D5_4AA1_A677_72512AFC748F__INCLUDED_)
#define AFX_CHATCLIENT_H__F820FDDE_E4D5_4AA1_A677_72512AFC748F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error includ... | [
"thaobktin@gmail.com"
] | thaobktin@gmail.com |
2409a17ad679f7ab4dcfa91fc1ae0352b83efc30 | 2780081bb046866b1449519cbe4dd78fbbf0719e | /XUL.framework/Versions/2.0/include/nsITextScroll.h | f5cf6c835bf29026bdeb682c96a392a5563bb33d | [] | no_license | edisonlee55/gluezilla-mac | d8b6535d2b36fc900eff837009372f033484a63f | 45d559edad7b5191430e139629d2aee918aa6654 | refs/heads/master | 2022-09-23T19:57:18.853517 | 2020-06-03T03:57:37 | 2020-06-03T03:57:37 | 267,499,676 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,559 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/docshell/base/nsITextScroll.idl
*/
#ifndef __gen_nsITextScroll_h__
#define __gen_nsITextScroll_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#i... | [
"edisonlee@edisonlee55.com"
] | edisonlee@edisonlee55.com |
3aa1e9f7c583dc262b62025d9596a669f47a8770 | ba86279dd568979d29b7f3b92840dfb6bc1f3ba0 | /TankWar1_9/tank.cpp | 8a72c5838b012263c6f6935b4a40439f3e8c8529 | [] | no_license | ChenYilei2016/MyTankWar | 5e690ea6e9defc3bc579b18c1b8c69dd816e51df | 6ce8495bf8587fa74f4ab9d259e3e11297c14f0b | refs/heads/master | 2020-03-27T05:23:01.420150 | 2019-01-01T05:14:34 | 2019-01-01T05:14:34 | 146,014,430 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,007 | cpp | #include "tank.h"
Tank::Tank(int x, int y, bool GOOD, QObject *parent) : QObject(parent)
{
this->x = x;
this->y = y;
oldX = x;
oldY = y;
this->good = GOOD;
tc = static_cast<TankClient *>(parent);
pt = new Pt(x,y,this);
pt->setDir(D);
srand(time(0));
}
void Tank::draw( QPainter &pai... | [
"705029004@qq.com"
] | 705029004@qq.com |
b5607014080a779088054b58b7fd3102cfec8b39 | 7590c1811a3a46442a7ee8ffd909c1bf6189cc84 | /chat_item/regdialog.cpp | de54b62510d4d9e36278e6b00548f6177d362ddb | [] | no_license | xmmgit/qt_chat | b3b2740f5105671b8b024a4233ced2f72436da62 | 216674a9ec0d9501a71c6954bcf18eba76bdcdec | refs/heads/master | 2021-04-03T04:58:51.400331 | 2018-03-13T08:21:35 | 2018-03-13T08:21:35 | 125,014,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,767 | cpp | #include "regdialog.h"
#include "ui_regdialog.h"
#include<QShowEvent>
#include<QMessageBox>
#include <QObject>
regDialog::regDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::regDialog)
{
ui->setupUi(this);
}
regDialog::~regDialog()
{
delete ui;
}
void regDialog::showEvent(QShowEvent * event )
{
... | [
"609527336@qq.com"
] | 609527336@qq.com |
3db260972f32a4492a207a7edc948d1b505dc2ed | dd4d0f2589130357cfaa7e8c82acd6d3157ca882 | /project1/accumSim.cpp | 0d2e03d494b7dca8685a815a27723edd55a84c9b | [] | no_license | MichaelRJones/Auburn-Schoolwork | 25b59ea51d3bbd5dc22afee1ee51017d7f8dbecf | 193c15cdc4d0396a6679843839967515cd191e43 | refs/heads/master | 2021-01-21T10:12:49.178267 | 2015-06-24T03:54:28 | 2015-06-24T03:54:28 | 37,958,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,693 | cpp | #include <iostream>
#include <string>
#include <cstdint>
#include <sstream>
#include <fstream>
#include <cstring>
using namespace std;
typedef uint32_t mem_addr;
typedef int32_t mem_word;
typedef int32_t reg_word;
/*
* Author: Kyle Taylor
* Date: 9/9/14
*/
class Memory {
public:
mem_word read(mem_addr ... | [
"michaelrjones6@gmail.com"
] | michaelrjones6@gmail.com |
dce43cc4ac8c90e9612b98432171b411e9244971 | a3f704871b974c69fddec501e8d0d5c607f2a898 | /E23-schuif-potmeter/schuif-potmeter.ino | 043a35f42a63fdfe9185f9adabf075cc712b37cb | [] | no_license | robert190879/Arduino-Beginners-NL | b2f9aa8c9ea2a6aef3ed2e966b2ab3af581aac48 | ed370a755e935eaaca122fde3cad181455162961 | refs/heads/master | 2023-04-05T16:02:58.660585 | 2021-04-17T05:13:26 | 2021-04-17T05:13:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | ino | /*
* Bas on Tech - Schuif potmeter
* Deze les is onderdeel van de lessen op https://arduino-lessen.nl
*
* (c) Copyright 2019 - Bas van Dijk / Bas on Tech
* Deze code en inhoud van de lessen mag zonder schriftelijke toestemming
* niet voor commerciele doeleinden worden gebruikt
*
* YouTube: https://www.yo... | [
"info@basontech.com"
] | info@basontech.com |
656b00dab1cbf87067c3c5a78e9d2e0b518af0fe | 656d1cdc9b4a61305c3468c739fcaf52ed7b368f | /jni/test/test_map.cpp | 48cc569a6c96ebfe26f56d1d13b932031e547d91 | [] | no_license | arikwex/maslab-sim-2015 | 2a35a47ddc8077bcf7cb78222c2498fc052d5ed4 | a70e107b431f67c2f7041ce7ed40d720d6a0844e | refs/heads/master | 2021-01-10T21:57:40.250266 | 2015-01-30T17:18:43 | 2015-01-30T17:18:43 | 29,835,280 | 0 | 1 | null | 2015-01-30T05:23:23 | 2015-01-25T22:57:45 | C++ | UTF-8 | C++ | false | false | 533 | cpp | #include "map.h"
#include "gtest/gtest.h"
TEST(MapTest, TestWallRaster) {
Map m({Wall(5.0, 5.0, 10.0, 10.0)}, {}, RobotPose(1, 2, PI));
EXPECT_EQ(Map::NONE, m.getMapElement(0.0, 0.0));
EXPECT_EQ(Map::NONE, m.getMapElement(5.5, 5.0));
EXPECT_EQ(Map::WALL, m.getMapElement(5.0, 5.0));
EXPECT_EQ(Map::WALL, m.... | [
"gurtej@mit.edu"
] | gurtej@mit.edu |
c0ba2049bde8273a84c68011881bdd825488cf4e | 21e35ad8479abc12793471b7fc18f0962c675a8f | /cpp/console/utf8Reader/code/src/SuperBinaryDisplayUtil.h | 5791883da49603a82eefd795b449594b3ccae47b | [] | no_license | EdisoNewtong/Vector | a16cdda585e4706c4d096562846c2186243a914c | 07ea562e13b74d784bc02f419fa5cbd3f7ab2a88 | refs/heads/master | 2023-08-18T20:08:27.552592 | 2023-06-27T16:15:50 | 2023-06-27T16:16:34 | 82,069,585 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,106 | h | #ifndef SUPER_BINARY_DISPLAY_UTIL_H
#define SUPER_BINARY_DISPLAY_UTIL_H
#include <fstream>
#include <string>
#include <utility>
#include <sstream>
#include <vector>
#include <list>
using namespace std;
namespace SuperBinaryDisplayUtil
{
struct SpecialAnsiChar
{
char ch;
unsigned int ansi_code;
st... | [
"edisonewtong@163.com"
] | edisonewtong@163.com |
5ddc7d39190a9e3f275705de7dac3eaa0d72d1e6 | fa1defefd03c28049d7c65a22f353260c890106d | /Validation/0/k.abl | d12f063368e947c06a9fd98fef7c9bb89d1606ea | [] | no_license | sushobhansen/Wind-Study | 41715a8401538ef415943787c6c06016d25b4640 | 8cf722c63fccbb2d9c34244acbf0ec3b19a347a7 | refs/heads/master | 2020-12-01T00:28:21.439056 | 2019-12-27T21:54:07 | 2019-12-27T21:54:07 | 230,521,738 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | abl | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"icecoolsushobhan@gmail.com"
] | icecoolsushobhan@gmail.com |
1e94072b9e440aaffe4d9f440317a5c60dc28880 | 05b80fcc656682e8c9c90f9b511bd4d6457c387e | /src/runtime/optimizer/OptimizerActivator.cpp | 7e81263e6d3b860d3018a32881e336c9ae529b6b | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | osbornjd/exatn | cc34349830f5c4343b8f5f757ea8572e073a73f2 | c17fae68878b62b7f28d77b7d0779a1a8cbbada8 | refs/heads/master | 2020-06-23T00:23:59.812828 | 2019-07-18T20:28:05 | 2019-07-18T20:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp |
#include "cppmicroservices/BundleActivator.h"
#include "cppmicroservices/BundleContext.h"
#include <memory>
#include <set>
using namespace cppmicroservices;
namespace {
/**
*/
class US_ABI_LOCAL OptimizerActivator : public BundleActivator {
public:
OptimizerActivator() {}
/**
*/
void Start(BundleContex... | [
"mccaskeyaj@ornl.gov"
] | mccaskeyaj@ornl.gov |
b4172250e18e4ceb675875285822806cfbcffd5d | 7ed17d60f2c1ebd24383fa416ccc5481b386ceb8 | /search/hashsearch/main.cpp | e8482794535d10d8f43695fd5b670cc209753e1c | [] | no_license | taokong1017/train | 781c02c99fb50e578ac17266103a9aba55be3666 | 6784bacd8ed9b9ff2118802ba332fafdb94c4458 | refs/heads/master | 2023-03-22T21:28:39.212320 | 2021-03-03T13:45:27 | 2021-03-03T13:45:27 | 262,312,027 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | #include <iostream>
#include <vector>
#include <tuple>
using namespace std;
template<typename T>
using HashTable= vector<vector<T>>;
template<typename T>
size_t hashValue(const T& data, size_t module)
{
return ((3*data)%module);
}
template<typename T>
void insertHashTable(HashTable<T>& table, co... | [
"wang_song1017@163.com"
] | wang_song1017@163.com |
399b7404f70c7e5e0f69363edca352ff626e799b | 7188c98e04cd9c48942195b7f0f22e4717efb674 | /components/feed/core/v2/feed_network_impl.cc | 433500e7ba0f06e50606f56b0ee065393086f3eb | [
"BSD-3-Clause"
] | permissive | tornodo/chromium | 1aa8fda7e9f506ddf26d69cd74fcf0e9e6595e39 | 1d748d142bde525249a816b1d9179cd9b9fa6419 | refs/heads/master | 2022-11-30T12:17:02.909786 | 2020-08-01T03:40:02 | 2020-08-01T03:40:02 | 197,871,448 | 0 | 0 | BSD-3-Clause | 2020-08-01T03:40:03 | 2019-07-20T02:53:57 | null | UTF-8 | C++ | false | false | 19,249 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/feed/core/v2/feed_network_impl.h"
#include <memory>
#include <utility>
#include "base/base64url.h"
#include "base/bind.h"
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2196b6204d5f18b5e221aa3befa3986ee98d6688 | 1e27e7d97e49e144a87461be71fe9d8f8868d834 | /Competitie_Sportiva/categoriedao.h | 07296a1b8751fb1ecef99a252aa6c3b3848a1665 | [] | no_license | Nionutlucian/DatabaseProject-Sport-Competition | 5c59dff3b4e27957e45bc2119e61aaa0644465a2 | e8b8dc300f26e8f7b6c03022a55f88eee2f92221 | refs/heads/master | 2021-05-09T15:32:23.804978 | 2018-01-30T23:44:06 | 2018-01-30T23:44:06 | 119,094,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #ifndef CATEGORIEDAO_H
#define CATEGORIEDAO_H
#include"categorie.h"
#include"mainwindow.h"
#include<QString>
#include<QSqlDatabase>
#include <QSqlQuery>
class categoriedao
{
public:
categoriedao();
bool addCategorie(categorie c);
private:
MainWindow *mw;
QSqlDatabase m_db;
};
#endif // CATEGORIEDAO_H... | [
"nicolescuionutluci@gmail.com"
] | nicolescuionutluci@gmail.com |
6a0e89d40bb2aa92301bd5b2b2b0d92e3a99abea | 07c43092ac87907bdaeecff136b125b4f77182c2 | /third_party/LLVM/lib/Target/X86/X86GenFastISel.inc | 71ac967c8ff88bd815b2b4f2789df38fd10dc8a3 | [
"NCSA",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ddrmax/swiftshader-ex | 9cd436f2a0e8bc9e0966de148e5a60f974c4b144 | 2d975b5090e778857143c09c21aa24255f41e598 | refs/heads/master | 2021-04-27T15:14:22.444686 | 2018-03-15T10:12:49 | 2018-03-15T10:12:49 | 122,465,205 | 7 | 0 | Apache-2.0 | 2018-03-15T10:12:50 | 2018-02-22T10:40:03 | C++ | UTF-8 | C++ | false | false | 199,572 | inc | //===- TableGen'erated file -------------------------------------*- C++ -*-===//
//
// "Fast" Instruction Selector for the X86 target
//
// Automatically generated file, do not edit!
//
//===----------------------------------------------------------------------===//
// FastEmit Immediate Predicate functions.... | [
"capn@google.com"
] | capn@google.com |
d3ed63431b13e7760723b862f4d1ab66bba53e50 | ca9d59c1c57ae2807fe79093c5e6aec3d6d0b00b | /workbench/src/imagenet_perf.cpp | 1971b019da85a60ba53183375b43340301c15616 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BeatWolf/dll | 39eac00d9abdb6287c462eea15efb8398b428f03 | ae7061e1593228b9114ab0846220c7bf700288bc | refs/heads/master | 2021-01-07T05:25:57.513380 | 2020-02-19T11:00:22 | 2020-02-19T11:00:22 | 241,591,119 | 1 | 0 | MIT | 2020-02-19T10:16:13 | 2020-02-19T10:16:13 | null | UTF-8 | C++ | false | false | 5,165 | cpp | //=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
66de7540843934d152da04d509f5e85f5d481272 | f92f7594bcabce3e880b3d8d1da10f64cd3b9349 | /net/dns/dns_config_service_linux.cc | 64dc9b73f421031b2c83310fa6a985f1e975db39 | [
"BSD-3-Clause"
] | permissive | adetaylor/chromium | b3250dec67356929ab2480780e2ea09225f230c5 | ee65bed7ef1ef9e88fd1dd0332e26a1ef0f098f1 | refs/heads/main | 2023-03-29T00:48:58.542282 | 2021-04-07T03:39:17 | 2021-04-07T03:39:17 | 355,406,122 | 0 | 0 | BSD-3-Clause | 2021-04-07T03:57:22 | 2021-04-07T03:57:22 | null | UTF-8 | C++ | false | false | 8,397 | cc | // Copyright 2021 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 "net/dns/dns_config_service_linux.h"
#include <netinet/in.h>
#include <resolv.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <memor... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
9b04e034082ed0450850256a5661653501c06bdd | 496559527fd9afbb22598c1a45450a46e8bceb4f | /Codeforces/Div2/666/d.cpp | 2aabd5bd36b28596794bef256aaa3540c7ccadca | [] | no_license | ujjawalpabreja99/codeforces | 50343193ea6be84a66611c4e5252a8a5df37a3f0 | 204ab9278885b441213fc4d967109528f227b2e7 | refs/heads/main | 2023-01-29T02:46:18.547747 | 2020-12-15T16:44:51 | 2020-12-15T16:44:51 | 301,606,298 | 1 | 8 | null | 2020-12-15T16:44:52 | 2020-10-06T03:43:30 | C++ | UTF-8 | C++ | false | false | 2,426 | cpp | /*
Ujjawal Pabreja [cuber_coder]
*/
#include <bits/stdc++.h>
#include <functional>
using namespace std;
#define speed_cubing ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define ll long long
#define ld long double
#define rep(i,a) for(ll i = 0 ; i < a ; i++)
#define ... | [
"ujjawalpabreja@Ujjawals-MacBook-Pro.local"
] | ujjawalpabreja@Ujjawals-MacBook-Pro.local |
4b5aa0900a9861d674f5a77d7f708895d7c1c6e5 | 70cdbcfc93a380a64587e182003b61c522ec7adc | /memoria.cpp | 974af3c2758a0206715d7c018a312af7ccd4feb5 | [] | no_license | kitpinho/first-fit | 385da8dcc94620efc7ae6db83885c003771fc5af | f1a9246b292b939bbad0a25feb1ef59037324051 | refs/heads/master | 2021-01-22T02:39:40.248118 | 2014-06-04T23:07:50 | 2014-06-04T23:07:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | #include "memoria.h"
#include "bloco.h"
#include "controleProcesso.h"
Memoria::Memoria()
{
memoria.clear();
ControleProcesso pr();
Bloco bl(100);
memoria.push_back(bl);
}
//Insere um novo bloco no vetor 'memoria'
void Memoria::insertBloco(Bloco _bloco)
{
memoria.push_back(_bloco);
}
//Remove do vetor 'memoria' o... | [
"kitpinho@hotmail.com"
] | kitpinho@hotmail.com |
369bab26e5aac6264c075e2f0d7d299f3f8abca0 | ad80c85f09a98b1bfc47191c0e99f3d4559b10d4 | /code/src/nemesis/nodenode_cmds.cc | c2caadc754ceb3c9f6fc5d7147a8f55c328616f7 | [] | no_license | DSPNerd/m-nebula | 76a4578f5504f6902e054ddd365b42672024de6d | 52a32902773c10cf1c6bc3dabefd2fd1587d83b3 | refs/heads/master | 2021-12-07T18:23:07.272880 | 2009-07-07T09:47:09 | 2009-07-07T09:47:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,402 | cc | #define N_IMPLEMENTS nOdeNode
//==============================================================================
// subdir/nOdeNode_init.cc
// author: Your Name
// (C) 2000 Radon Labs GmbH
//------------------------------------------------------------------------------
// includes
#include "kernel/npersistse... | [
"plushe@411252de-2431-11de-b186-ef1da62b6547"
] | plushe@411252de-2431-11de-b186-ef1da62b6547 |
5f1f94c76dc4262a665a8ed6c35827e2ae57ca3a | 51f6e63555b4fda6a620fb42952c5c1fa6eac706 | /components/autofill/core/browser/payments/payments_util.cc | ee230cb56361fc01002786263bba1ab641405b99 | [
"BSD-3-Clause"
] | permissive | heanglightman/chromium | 6f74026b428317a28cbb1226d20d1116ed54dd2b | f561f3e0174135fcc555aad31f4adb845977b8bd | refs/heads/master | 2023-02-25T08:18:13.731198 | 2019-03-25T16:19:12 | 2019-03-25T16:19:12 | 177,623,917 | 1 | 0 | NOASSERTION | 2019-03-25T16:27:22 | 2019-03-25T16:27:22 | null | UTF-8 | C++ | false | false | 1,747 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/browser/payments/payments_util.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_pi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1a86e9a8eb4fc38fba9f5561c45d5fc9c213d803 | 81f6419ea475836b1f1b24bcd2de77a316bc46a1 | /GFG must do questions/Building binary tree.cpp | 192a10aa43c6774a24efd9c46e27d742ed15bd93 | [] | no_license | Pramodjais517/competitive-coding | f4e0f6f238d98c0a39f8a9c940265f886ce70cb3 | 2a8ad013246f2db72a4dd53771090d931ab406cb | refs/heads/master | 2023-02-25T12:09:47.382076 | 2021-01-28T06:57:26 | 2021-01-28T06:57:26 | 208,445,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define rs reserve
#define pb push_back
#define ff first
#define ss second
#define mp make_pair
#define fi(i,s,e,inc) for(auto i=s;i<e;i+=inc)
#define fie(i,s,e,inc) for(auto i=s;i<=e;i+=inc)
#define fd(i,s,e,dec) for(auto ... | [
"pramodjaiswal517@gmail.com"
] | pramodjaiswal517@gmail.com |
02ba632e85257c5b5ce042046b23fcc3fb4edef5 | a5a640cb7c2a47b7b82a8e560f88c5a224903525 | /server/server/ODsocket.h | 51aeac833934211da3ef0246a54752c81523e551 | [] | no_license | Crasader/Archer_battle | 70d51da8914a8d453384a731bc9ef5b70cf181db | 78b3f57a25c6b0008b66d1039d586ea3d798015b | refs/heads/master | 2020-11-29T03:47:00.867503 | 2019-06-16T02:16:37 | 2019-06-16T02:16:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 814 | h | #pragma once
#include<winsock.h>
#include<string>
typedef int socklen_t;
//#include<iostram>
using namespace std;
class ODsocket
{
public:
ODsocket(SOCKET sock = INVALID_SOCKET);//构造函数
int SocketID;
bool Create(int AF, int type, int protocal = 0);
bool Connect(const string &ip, unsigned short port);
bool Bind(... | [
"2206475938@qq.com"
] | 2206475938@qq.com |
dbcdfd9363a14c3df10efdc7f305dc378bf160bf | 4f8f944062e3841892c19e5baef16a50ffd88834 | /srm517/ColorfulBoard.cpp | 379953357da3155d4c3f2ccff4cf3458d6ee6e33 | [] | no_license | triplekiller/mytopcoder | 2e56628c8cf185f7737a5b7d010f510e3945c2f8 | 09d9a3b0aee24ee2fab2fce089fd6a6c13b81d6d | refs/heads/master | 2021-01-17T12:34:59.386276 | 2013-08-10T03:19:44 | 2013-08-10T03:19:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp | class ColorfulBoard {
public:
int theMin(vector <string>);
};
char a[55][55];
int mm[110][110];
int doIt(vector<string> board){
int n,m;
n=board.size();
m=board[0].size();
res=100000000;
for (int color=0;color<n;color++) {
int cur=m;
int ok=1;
memset(mm,0,sizeof(mm));
for (int i=0;i<n;i++)... | [
"yinyinbigdata@gmail.com"
] | yinyinbigdata@gmail.com |
1fd59104c445c259858fb57721dc61ff80e09e73 | 15e71d56deba4504f55c433b823043efd57e915c | /SingleLepton2011/scripts/Hootilities.h | 05d03b8be786b5b993cdab1cd16bab6ca9648580 | [] | no_license | hooberman/UserCode | 3404f24a40d3c499632d31cb8b7b592a734b8a4f | 21c149b84f0064a533c2b092c30f4c412716f300 | refs/heads/master | 2021-01-15T16:16:01.389885 | 2013-06-26T01:28:29 | 2013-06-26T01:28:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | #ifndef HOOTILITIES
#define HOOTILITIES
#include "TChain.h"
#include "TLegend.h"
#include "TCut.h"
#include <vector>
void compareDataMC( vector<TChain*> chmc , vector<char*> labels , TChain* chdata , char* var ,
TCut sel , TCut weight , int nbins , float xmin , float xmax , char* xtitle ,
bool overlayD... | [
""
] | |
015d87593807ea5787b8d52a5e504965f11b64b4 | 45b922b56ac0523655eb6cf2885627271798cc88 | /hw7/bst.h | 036e0c28fab11dfa6e04694494255478e381a350 | [] | no_license | timhang/Projects-in-C- | 0f4a049b64de41765565536f326f0b45b13d034a | 45f6cff8a9d3ead7d32486fcd72f93ee55ae6653 | refs/heads/master | 2020-04-22T12:38:09.927172 | 2019-02-12T19:39:29 | 2019-02-12T19:39:29 | 170,378,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,604 | h | #ifndef BST_H
#define BST_H
#include <iostream>
#include <exception>
#include <cstdlib>
#include <utility>
/**
* A templated class for a Node in a search tree. The getters for parent/left/right are virtual so that they
* can be overridden for future kinds of search trees, such as Red Black trees, Splay trees, and AVL... | [
"weihangz@usc.edu"
] | weihangz@usc.edu |
20896a69a27b9c4fcf5a098923640bafa55757d4 | 95caaab452ee711095c21b726ab7b8fdfb1398c7 | /project4/inc/ddk/softehciif.h | c3a6e3df37ce2b13fb356babfe0833767a96c7e1 | [] | no_license | derfsubterfuge/CSE451 | 496cdee60d1c4328d53f17f5e05c8fe7f62639e2 | eed11316894489f77888a8a28d8ebfd1e0c70033 | refs/heads/master | 2020-04-11T10:38:11.810400 | 2013-03-06T10:23:05 | 2013-03-06T10:23:05 | 7,844,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,095 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */
/* Compiler settings for softehciif.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data ... | [
"tolth@tolth-HP.(none)"
] | tolth@tolth-HP.(none) |
c1d4d0c9f8e659ef7ecd41c4dfac4d04913f4f07 | 9e7ad483c200103985868a13e19d7d6758527927 | /SpaceShipCaptaincpp.cpp | e07db088592aa249bbffa7a9d54aee283506b5fa | [] | no_license | smithj16/GameObject | 7cb5a1cebb7b6138071e543c88ab1efa6f110d91 | d1085197b62697bedd17f5b0f31772a27aeadaff | refs/heads/master | 2020-08-02T16:16:42.579420 | 2019-09-28T01:18:45 | 2019-09-28T01:18:45 | 211,425,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include "SpaceShipCaptain.h"
SpaceShipCaptain::SpaceShipCaptain()
:SpaceShipCaptain(0, 0, 0, 0)
{
//empty
}
SpaceShipCaptain::SpaceShipCaptain(double position, double speed, string name, double rested)
: GameObject(position, speed),
Name(name),
Rested(rested)
{
//empty
}
string SpaceShipCaptai... | [
"noreply@github.com"
] | noreply@github.com |
face6aaa567fb7db2bd4a69f0529c6884cd3e0cb | a7d578f15bc05f393df32861c0f726e83359c174 | /include/grpc_cb/impl/proto_utils.h | 191038ddd42b0af7b777da2c86e66150a48c4cbc | [
"Apache-2.0"
] | permissive | wendysuly/grpc_cb | e5209fc75fc7008e3300f7eb5da24f83f561367c | 7fa807f6e961ca568bd7e0309b0979e9721c9fa8 | refs/heads/master | 2021-06-22T06:23:59.280411 | 2017-08-14T08:20:04 | 2017-08-14T08:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #ifndef GRPC_CB_IMPL_PROTO_UTILS_H
#define GRPC_CB_IMPL_PROTO_UTILS_H
#include <grpc_cb/support/protobuf_fwd.h> // for Message
struct grpc_byte_buffer;
namespace grpc_cb {
class Status;
namespace Proto {
// Serialize the msg into a buffer created inside the function. The caller
// should destroy the returned buf... | [
"jinq0123@163.com"
] | jinq0123@163.com |
2a5c4ccdcaf11bbfe4760a2b8dfa033382eb6bf5 | 38a6046ba22ea84d2728a1f37d6113674b9c9456 | /c_look_disk_scheduling.cpp | dc07d255f1c4da1d0e2ae5c1a1fb91b64cefe6f4 | [] | no_license | ruchika2ar/Operating-Systems-Algorithms | 7da2fe8272d21f898b25cc75858e457f79ac221b | 7e5fa41d6a2a3d0bd2cfc732f5c27525b5b61836 | refs/heads/master | 2021-05-18T04:35:15.096485 | 2020-03-29T19:25:58 | 2020-03-29T19:25:58 | 251,110,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> v(n);
cout << "Enter queue: ";
for (int i = 0; i < n; i++) {
cin >> v[i];
}
int start;
cout << "Enter starting position of head: ";
cin >> start;
cou... | [
"noreply@github.com"
] | noreply@github.com |
d0bca0c0bdaa376c2fdbcdd5eeb65d5c3c6f4284 | 369d31fdeea04e46b561061859716e7a63966ae1 | /nodes/angular_tracker/src/angular_tracker.cpp | 9d163ed8e310f63f2725b27db5539a25d5275a3e | [] | no_license | Matszs/project-robotica-team-6 | 964d9b429bce55baa69391245776cd1049729a91 | 1dcd409a33d7f23cbd6b88d321ecb66a8e53af73 | refs/heads/master | 2021-05-09T13:30:52.396728 | 2018-01-04T12:57:50 | 2018-01-04T12:57:50 | 119,036,290 | 1 | 0 | null | 2018-01-26T10:03:55 | 2018-01-26T10:03:55 | null | UTF-8 | C++ | false | false | 1,125 | cpp | #include <ros/ros.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <message_filters/time_synchronizer.h>
#include <message_filters/subscriber.h>
#include <geometry_msgs/Twist.h>
#include <vision/TrackedPosition.h>
#include <cstdio>
using namespace std;
ros::Publisher driver;
void trackedCal... | [
"mats@kepsi.nl"
] | mats@kepsi.nl |
be47eaea967783f2a3f6f813196a29fbb598e1aa | 0f95719c10b19d418872f96feb7bc9025e77ea9c | /MFCApplication3/MFCApplication3.cpp | afa80f451d570479664fc6b93c9a786db7dc17b2 | [] | no_license | tommyhl/MatchingProgramV2 | 7ccae117d81ca083bf14bfe266f59601b67504c6 | b8343223ea13bbab81d5b95bc01d3aae3e0a086f | refs/heads/master | 2016-09-13T00:27:23.134465 | 2016-04-26T19:45:39 | 2016-04-26T19:45:39 | 56,986,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | cpp |
// MFCApplication3.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "MFCApplication3.h"
#include "MFCApplication3Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFCApplication3App
BEGIN_MESSAGE_MAP(CMFCApplication3App, CWinApp)
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END... | [
"tommylie91@gmail.com"
] | tommylie91@gmail.com |
ac5ca80b48a67566d652b51ee2518356ee370eb5 | 5c6194e025346e672d8d6d760d782eed0e61bb7d | /developer/VSSDK/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockIComThreadingInfo.h | 0d2971cccadd31c6ceb6759ebccbece3a9ddbfaa | [
"MIT"
] | permissive | liushouhuo/windows | 888c4d9f8ae37ff60dd959eaf15879b8afdb161f | 9e211d0cd5cacbd62c9c6ac764a6731985d60e26 | refs/heads/master | 2021-09-03T06:34:51.320672 | 2018-01-06T12:48:51 | 2018-01-06T12:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,254 | h | /***************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIES... | [
"jdm7dv@gmail.com"
] | jdm7dv@gmail.com |
4d9435d995d22064427f3e4dbe5b09773771a6f5 | dae907db0cf43b427fd1a456b338be3910fc5f90 | /X76165_en_Sawtooth_sequences.cpp | b4dcfe0a8b013bb741332ae46a888f8b3bc56a12 | [] | no_license | FranciOrtiz/jutge_problems | 4c5c273ada09f20088b08287356bbb967a642e45 | a838f6ad8995cf57ae6f11cc6beeb3f13fa7e55d | refs/heads/master | 2022-12-23T20:33:43.775974 | 2020-09-24T09:49:10 | 2020-09-24T09:49:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <bits/stdc++.h>
using namespace std;
bool is_sawtooth() {
int a, b;
if (!(cin >> a >> b)) return true;
bool inc = a > b;
for(;cin >> a; inc^=1, b = a)
if (inc and a <= b) return false;
else if (!inc and b <= a) return false;
return true;
}
int main () {
cout << (is_... | [
"abone9999@gmail.com"
] | abone9999@gmail.com |
04fbfc933660f964e503f0f77f2850ddc7ac0ce2 | 8dde35ad5b8d6fdfa446cb1c0b845f61b02c00bf | /Fraction.hpp | 62c93bd100534441743f737638969ea29859bcb9 | [] | no_license | ronengi/Math_educator | e7f8a1f8acd63d332e2357e10627f3b6c2ed810f | ed7a52d9b792d614e6638bd27c2ed462cfc1457b | refs/heads/master | 2020-03-15T22:28:53.070193 | 2018-05-07T19:33:46 | 2018-05-07T19:33:46 | 132,374,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | hpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Fraction.hpp
* Author: Ronen Gilead-Raz <ronengi@gmail.com>
*
* Created on May 6, 2018, 1:15 PM
*/
#ifndef FRACTION... | [
"ronengi@gmail.com"
] | ronengi@gmail.com |
27c2885e9cd9cc4506f27af61b0163a4f2dc3e30 | b2e21c4578ec8816220ab8af904e15b7cc31fd7e | /UPDATEIT.cpp | 9310bd7f1fe51f9888841cb4885fc0612980ff3c | [] | no_license | vkthakur/spoj | 70968b8ecd67208e33dd7d666a69047eb71b7e26 | 1731c05624a1eaed0fec3d84c31b4b2aaaea11b5 | refs/heads/master | 2016-09-10T01:10:34.977541 | 2015-01-19T20:18:33 | 2015-01-19T20:18:33 | 28,721,879 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include <iostream>
#include <stdio.h>
#include <math.h>
#include <utility>
#include <algorithm>
#include <set>
#include <queue>
#include <vector>
#include <stack>
#include <map>
#include <stdlib.h>
using namespace std;
long long int tree[10001],maxval;
long long int read(long long int idx)
{
long long int sum=0;
... | [
"me.vivekkrthakur@gmail.com"
] | me.vivekkrthakur@gmail.com |
6c8bb098c1f147bf5be796b1ddaa47a6f15c70db | c4a4d0fd7973885dfa39568cca2fa0fb1c7ac04d | /FaceSwap/FaceSwap/FSImageUtils.hpp | bf0fc77ccfa3705198bf0b366fd20e6222c995b5 | [
"MIT"
] | permissive | devilcoder/FaceSwap-iOS | ad9d88fbe86caa3a49752668bab0baf36c98e504 | f465f2641d48297ddbde837394696a3d0ca5869a | refs/heads/master | 2022-11-23T23:41:56.773753 | 2020-07-31T11:54:35 | 2020-07-31T11:54:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | hpp | //
// FSImageUtils.h
// FaceSwap
//
// Created by Alexander Karlsson on 2016-12-31.
// Copyright © 2016-2020 Alexander Karlsson. All rights reserved.
//
#ifndef FSImageUtils_hpp
#define FSImageUtils_hpp
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreGraphics/CoreGraphics.h>
#import "openc... | [
"st.alexander85@gmail.com"
] | st.alexander85@gmail.com |
04c55a076cc6ece4a536f3606a143d80caf42bf9 | 45851e25f270c2acae0939e3b57dd55954b3f0d9 | /WORLD/simple_objects.h | 3a8f7506c9e34f37a71d7a03ed29cdc21481d369 | [] | no_license | eliotuci/epuck_aggregation | fdbc083e6af6e187bd7c01c3afa61434b9dc7fce | 7bd91fe0d14a9c05b9515225f6ebf31b42150dd5 | refs/heads/master | 2021-01-11T14:10:07.577927 | 2017-06-21T10:14:59 | 2017-06-21T10:14:59 | 94,988,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,726 | h | #ifndef _SIMPLE_OBJECTS_
#define _SIMPLE_OBJECTS_
#include "world_entity.h"
using namespace std;
class SIMPLE_Objects : public World_Entity {
protected:
//vector <double> pos;
//vector <double> rot;
//vector <double> dim;
double angle;
btQuaternion rotation;
//int type_id;
static const int robot_sl... | [
"noreply@github.com"
] | noreply@github.com |
335383e5c0ef81e53ef3bfad7114db24490d1b59 | c9796a20cf56aa01ecbc2ff3985703b17bfb51fe | /leetcode2/SuperWashingMachines/a.cpp | dba274942d52eedbc0df8153a64db76c738c72cf | [] | no_license | iamslash/learntocode | a62329710d36b21f8025961c0ad9b333c10e973a | 63faf361cd4eefe0f6f1e50c49ea22577a75ea74 | refs/heads/master | 2023-08-31T08:20:08.608771 | 2023-08-31T00:05:06 | 2023-08-31T00:05:06 | 52,074,001 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | /* Copyright (C) 2020 by iamslash */
#include <cstdio>
#include <vector>
#include <numeric>
#include <cmath>
using namespace std;
// 12ms 100.00% 13.3MB 31.36%
// linear traversal
// O(N) O(1)
class Solution {
public:
int findMinMoves(vector<int>& M) {
int n = M.size();
int total = accumul... | [
"iamslash@gmail.com"
] | iamslash@gmail.com |
8744f14bed40690db689db14e1b398dcb1b57679 | 82089585986bfd5611f46629f2d326dc2b85b943 | /Source/CppSpaceInvadors/MyPlayerController.h | b25b491ea89a6ccbcb97f5f29f25a6f9eb980b98 | [] | no_license | jonny2027/SpaceInvadorsUnrealEngine4 | 3a4ea06b8cdf11a16c0be0b215a345a682f9eb1c | 48061b24d2b935378b8602533ce379940714de8c | refs/heads/master | 2021-01-16T18:59:40.553947 | 2016-01-08T02:20:45 | 2016-01-08T02:20:45 | 49,428,752 | 1 | 1 | null | 2016-01-11T13:40:28 | 2016-01-11T13:40:28 | null | UTF-8 | C++ | false | false | 348 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/PlayerController.h"
#include "MyPlayerController.generated.h"
/**
*
*/
UCLASS()
class CPPSPACEINVADORS_API AMyPlayerController : public APlayerController
{
GENERATED_BODY()
public:
AMyPlayerCont... | [
"djyeats@gmail.com"
] | djyeats@gmail.com |
2cc7a51d866916b7dab86b053a62cab46d463d0b | ad31a1c599310d66ca7dfad86614561f303d9fda | /taxoperatoroverloading.cc | ff623b71c8ee4e723070a10096ac9470c7eed6fc | [] | no_license | shreybose/C- | cf42e802f6a2bf8c0a896693df1430ecee33bf32 | 19a64357c1f3213131dd62daac68c4e97b5f7c80 | refs/heads/master | 2023-01-03T11:56:07.186969 | 2020-11-02T19:38:24 | 2020-11-02T19:38:24 | 298,381,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cc | // Copyright 2020 Shreya Bose
#include <inc/tax.h>
using std::istream;
using std::string;
Tax::Tax(const std::string& code, double percent) {
if (percent > 0)
percentage = percent;
new_code = code;
}
// accessors
const std::string& Tax::code() const {
return new_code;
}
double Tax::percent() const {
retur... | [
"noreply@github.com"
] | noreply@github.com |
efb7f14942a7fda9580cd0e5b4bf551e4ecf423e | 8637c397daa1f082216579c1c220781ded98830a | /benchmarking/dilithium/main.cpp | 9d8d8e0c737eeb19e53bbd905721252d2b82fe33 | [] | no_license | jameshoweee/falcon-fpu | 3a36dd63f3f3c495773b91427117f21d9a19f337 | 26785477be9b987f9170690f3e1519b8070ba22c | refs/heads/main | 2023-05-21T01:16:55.510137 | 2021-06-03T10:46:03 | 2021-06-03T10:46:03 | 339,133,355 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,274 | cpp | #include <string>
#include <stdlib.h>
#include "mbed.h"
#include "stm32f7xx_hal.h"
extern "C" {
#include "dilithium-pqm4/api.h"
#include "dilithium-pqm4/config.h"
#include "dilithium-pqm4/keccakf1600.h"
#include "dilithium-pqm4/ntt.h"
#include "dilithium-pqm4/packing.h"
#include "dilithium-pqm4/params.h"
#include "di... | [
"jameshoweee@gmail.com"
] | jameshoweee@gmail.com |
62e2cbcded3b55064a562f312d505bea55c50995 | c9b93f511c05284121ab4c6c2533464d361a04f6 | /perceptron/rand.h | 3a9c43b4d38dcca21f90f3a3abbc15ecd8c7a771 | [] | no_license | brasm94/oldschool | 7af43b76c41747151eda7a146d4f4fad64e3955a | 0125ef2eaf881f6e6b1c1a7c4e8f040f729c491e | refs/heads/master | 2023-01-22T17:20:54.243082 | 2020-01-10T00:32:39 | 2020-01-10T00:32:39 | 232,930,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,810 | h | // ----------------------------------------------------------------
// The contents of this file are distributed under the CC0 license.
// See http://creativecommons.org/publicdomain/zero/1.0/
// ----------------------------------------------------------------
#ifndef RAND_H
#define RAND_H
#include <vector>
typedef... | [
"brian.rasmussen55@gmail.com"
] | brian.rasmussen55@gmail.com |
ad79cd033696f50305abcf6a99aed2e2709177dd | bb8dfd19165f349d87d3b558050bc377d4da6449 | /配套光盘/习题/0x6B 图论 总结与练习/太鼓达人/CH6B18/BZOJ3033 太鼓达人.cpp | b0166d311c5e065440ab713107e2fec7543d2b28 | [] | no_license | lydrainbowcat/tedukuri | 4c3358e2e4d7f8e07152a79981535f0ead3372e7 | b0471bb0bcf6216a45b818d6be2288e23a02347c | refs/heads/master | 2023-08-17T14:02:02.847399 | 2023-08-07T23:25:35 | 2023-08-07T23:25:35 | 125,682,894 | 2,222 | 706 | null | 2023-08-07T23:25:37 | 2018-03-18T01:24:42 | Roff | UTF-8 | C++ | false | false | 603 | cpp | //Author:XuHt
#include <cstdio>
#include <iostream>
using namespace std;
const int N = 10006;
int p[20], n, t;
bool v[N], ans[N];
bool dfs(int x, int k) {
if (v[x]) return 0;
if (k == t) return 1;
ans[k] = x & 1;
v[x] = 1;
if (dfs((x << 1) & (t - 1), k + 1)) return 1;
if (dfs((x << 1 | 1) & (t - 1), k + 1)) retu... | [
"hyqjlyd@qq.com"
] | hyqjlyd@qq.com |
cc794225c3d5b9cbf986dfffd6e1927f7862b276 | dc9e18984183e628d580056841b56b4d24d2436c | /Textbook/Inheritance02.cpp | b170369788108f3c149f337e8f4cd23ed82528ec | [] | no_license | YangNayoung/C- | 0096ad0cefaaefffba82d5167ab595dd9377883c | e604620feda1d7aebe5e133f2d17a64950fb6743 | refs/heads/master | 2022-07-28T13:39:39.096552 | 2020-05-14T10:36:01 | 2020-05-14T10:36:01 | 257,483,555 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 676 | cpp | #include <iostream>
using namespace std;
class BaseData {
public: // 누구나 접근 가능
BaseData() { cout << "BaseData()" << endl; }
int GetData() { return m_nData; }
void SetData(int nParam) { m_nData = nParam; }
protected: // 파생 클래스만 접근 가능
void PrintData() { cout << "BaseData::PrintData()" << " "; }
private: // 접근 불가능
in... | [
"s2018s32@e-mirim.hs.kr"
] | s2018s32@e-mirim.hs.kr |
5a4e66e6f857471acb10795a7e912775f1a3af45 | b8392ef868ef43367b5d54d7296e76692dda3a39 | /Design pattern/factory/工厂模式/factoryMode/factoryMode/factoryMode.cpp | c83f0ce8c145390022d8c0362e716c5ba2c40850 | [] | no_license | zxycele/MyRepository | 571b037cf82bc505524909634f7cdf9fd6672104 | d7557dcc84faf335a20a8bdc8f2ba392805b0d4b | refs/heads/master | 2021-05-03T19:10:18.933708 | 2016-11-22T11:42:36 | 2016-11-22T11:42:36 | 71,976,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | // factoryMode.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "FactoryCoreA.h"
#include "FactoryCoreB.h"
#include "SingleCoreA.h"
#include "FactoryCoreB.h"
int _tmain(int argc, _TCHAR* argv[])
{
CFactoryCoreA *mFactoryCoreA = new CFactoryCoreA();
CSingleCore * mSingleCore... | [
"474081209@qq.com"
] | 474081209@qq.com |
fbf1fe4f39368c6fc5b158334b8a21e71f5ee2fb | dd3564f348bf84fd341a7845d419fde6c98dcb1e | /BaekJoon Online Judge/C++/Step19-Binary Search/2805.cpp | 64393c6beef3761fbcd72798b6cf565c8c50d617 | [] | no_license | YebinKim/Algorithm-Study | af01526b9ad866c573eae194767d11e163d9f329 | 63f994fdf3bc549c5ed159f2fd6a47de4b849442 | refs/heads/main | 2023-05-25T19:22:44.139820 | 2023-05-11T12:03:08 | 2023-05-11T12:03:08 | 204,962,764 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | //
// 2805.cpp
// Step19-Binary Search
//
// Created by 김예빈 on 2019. 9. 29..
// Copyright © 2019년 김예빈. All rights reserved.
//
#include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
cin.tie(NULL);
ios::sync_with_stdio(false);
int n, m;
long long result = 0, mid, le... | [
"yb2316@naver.com"
] | yb2316@naver.com |
8a1286445d149bb6415a3552a0afbbe153637e58 | abb2bdc836b04ecca1aebcf46afece213c2d3592 | /CPP_QT/Time_test/Src/main.cpp | 59ccf671b59dd80385ea3aa227f6ea05a0c26afb | [] | no_license | XwAdmin/CodeTest | 3d4d7944eca687d94fcfda7f53be6ae89f84a0a6 | 77880881296a7b9c1f81b2203a72292bd543cb24 | refs/heads/master | 2022-03-08T10:52:06.594869 | 2019-11-15T09:12:32 | 2019-11-15T09:12:32 | 190,144,911 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include <QApplication>
#include "form.h"
int main ( int argc, char **argv )
{
QApplication app( argc, argv );
Form form;
form.show();
return app.exec();
}
| [
"1220366326@qq.com"
] | 1220366326@qq.com |
1dd2d68ddb316f5b9952a0580aeb5a69023ce175 | 4780d22cc6726c3b8856d961031fcba614d64cd8 | /include/ShaderManager.h | 583e3f7ec92b1da1fb6fed704ed72fb93a055f7d | [] | no_license | kobapotch/OpenGLLearning | 113ac6e17eb389be7e233f186c46b1b9214c2638 | 05da7c41f06b2aba353f320065e97f506f4fcb32 | refs/heads/master | 2016-09-05T18:04:15.635140 | 2015-06-04T08:12:57 | 2015-06-04T08:12:57 | 33,104,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | h | #ifndef _SHADERMANAGER_INCLUDED
#define _SHADERMANAGER_INCLUDED
#include <GLFW/glfw3.h>
class ShaderManager{
private:
GLuint vertexShaderID;
GLuint fragmentShaderID;
// リンクしたシェーダーのID
GLuint programID;
void compileShader(const char*, GLuint&);
public:
void compileVertexShader(const cha... | [
"kobapotch@kobayashitakuya-no-MacBook-Pro.local"
] | kobapotch@kobayashitakuya-no-MacBook-Pro.local |
101da9df5e8f2767d67500acbaf6c24796f776b1 | dc433b22bd676a3eba982a904227cf47ebabe101 | /01-scanners/lexer.hh | cb500cbbd627816aa36199d07e8ac405ec8ee887 | [] | no_license | VladimirVolodya/CompilersCourse | 0b69155f91e3301a90a4533059889fae7bac3e50 | 055d1404c0c2a37cd5106b95f73c856e02612750 | refs/heads/master | 2023-03-10T06:41:50.138766 | 2021-02-22T18:46:57 | 2021-02-22T18:46:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | hh | #pragma once
#if ! defined(yyFlexLexerOnce)
#include <FlexLexer.h>
#endif
#undef YY_DECL
#define YY_DECL int Lexer::ScanToken()
// ScanToken is function that calls Scanner; It returns int values, we will use enums!
class Lexer: public yyFlexLexer {
public:
virtual ~Lexer() {}
virtual int ScanToken();
};
| [
"akhtyamovpavel@gmail.com"
] | akhtyamovpavel@gmail.com |
3960003eadfee618e1772674221e78870ca34793 | f642bef457a17554209b0cedad21de984000e03d | /AD/LifeBonus.cpp | 39e88bb463469c5c90c9540b72701659d09bfd09 | [
"MIT"
] | permissive | simonNaveau/AsteroidsDestruction | b1d8ba5e3034fa6325724e62656833f13490d098 | 2f0e0f1e620f3328b54ed96dc1b5aebbc381fa59 | refs/heads/master | 2020-09-08T09:11:18.754340 | 2019-12-16T08:22:36 | 2019-12-16T08:22:36 | 221,088,495 | 1 | 0 | MIT | 2019-12-12T10:59:06 | 2019-11-11T23:26:06 | C++ | UTF-8 | C++ | false | false | 835 | cpp | #include "LifeBonus.h"
#include "Game.h"
extern Game *game; //there
LifeBonus::LifeBonus(int lchange, qreal xParentCoordinate, qreal yParentCoordinate, QGraphicsItem *parent)
: ObstacleItem(0, 0, 0, xParentCoordinate, yParentCoordinate, parent), LifeChanger(lchange) {
animationTimer = new QTimer();
se... | [
"loic.travaille@gmail.com"
] | loic.travaille@gmail.com |
03c1d3e6765f66bf87e3699ffb626e84303af5d8 | e298082b9650874e1442065e6980d3e2f0fa9a83 | /src/qt/editaddressdialog.cpp | 7cc3839c37d1234ab94582b88831e405b49b9807 | [
"MIT"
] | permissive | pascalcoinclassic/pascalcoinclassic | b9ceead263bc290f195c1a5fac3527b8298a1e43 | 9828f512ded050d0f0d6e85830bd41d2c89e29b4 | refs/heads/master | 2021-07-04T15:45:38.203559 | 2017-09-26T00:43:45 | 2017-09-26T00:43:45 | 104,816,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,740 | cpp | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod... | [
"pascalcoinclassic@gmx.com"
] | pascalcoinclassic@gmx.com |
080dabb32c1a16656f0c60f7d53a008557a5c9a5 | 617d4e8112bc7f71aecf1c44f4fdbc01adb7ecfd | /libs/OpenMesh3.0/include/OpenMesh/Tools/Subdivider/Uniform/Sqrt3T.hh | 964a27ebdde8a6998e47dd817961d2c78a0bd878 | [] | no_license | Zhengjun-Du/PoissonDeformation | fc20ebbd43fe32b8056b5397d5030c1d72ff79ac | adff9041f8e031b9077163c6aa794e356354cd70 | refs/heads/master | 2022-03-18T10:33:10.662977 | 2022-03-03T01:44:24 | 2022-03-03T01:44:24 | 230,398,204 | 42 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 17,748 | hh | /*===========================================================================*\
* *
* OpenMesh *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* ... | [
"duzjqhu@aliyun.com"
] | duzjqhu@aliyun.com |
2722fb0d620f836e502dd47ec2fac1ff74c3e39f | db6903560e8c816b85b9adec3187f688f8e40289 | /VisualUltimate/WindowsSDKs/vc7/Include/math.h | 14f829052b7e1caba1fc3409c4a47e8989a13d2b | [] | no_license | QianNangong/VC6Ultimate | 846a4e610859fab5c9d8fb73fa5c9321e7a2a65e | 0c74cf644fbdd38018c8d94c9ea9f8b72782ef7c | refs/heads/master | 2022-05-05T17:49:52.120385 | 2019-03-07T14:46:51 | 2019-03-07T14:46:51 | 147,986,727 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,702 | h | /***
*math.h - definitions and declarations for math library
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file contains constant definitions and external subroutine
* declarations for the math subroutine library.
* [ANSI/System V]
*
* [Public]
*
****/
#... | [
"vc6@ultim.pw"
] | vc6@ultim.pw |
1c6e4cbbef8412412d343afd7cc0b33a9275ed50 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/numeric/ublas/traits.hpp | 1cc19c775feb0354eb0a5376a6b570a026e7f362 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66 | hpp | #include "thirdparty/boost_1_55_0/boost/numeric/ublas/traits.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
4325b745fea3ddf258bca95d844922d64b84f4f2 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/PacketFilterCondition/UNIX_PacketFilterCondition_TRU64.hxx | 72a97c32a6b086cf9a006d9bd1f4496110c6e7a7 | [
"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 | 138 | hxx | #ifdef PEGASUS_OS_TRU64
#ifndef __UNIX_PACKETFILTERCONDITION_PRIVATE_H
#define __UNIX_PACKETFILTERCONDITION_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
6af3cbcf2feffca7d00b2c27eb39503d31a40ba4 | 0596b46b7358a38016ab0c7d07916620e3b4cdb0 | /Test/src/Basic_checking/TestKVStoreImpl_Async_Basic.cpp | 5dca630f45895bf6909d931f8f3783fbc76c3806 | [] | no_license | JashDave/MTP_New | b942badc77b3acb3c983592698322f90ddbe1ce8 | b47ae48b8aa33f8e5d55fbb43115b7a97aa7a54e | refs/heads/master | 2021-01-24T01:29:58.769014 | 2017-06-16T13:14:21 | 2017-06-16T13:14:21 | 68,596,251 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,821 | cpp | /*
g++ -std=c++11 TestKVStoreImpl_Async_Basic.cpp -lkvstore_v2 -lboost_serialization -pthread -lkvs_redis_v2
*/
// #define CONF string("10.129.28.44:8091")
// #define CONF string("10.129.28.141:7003")
#define TABLE string("TestTable123")
// #define JDEBUG
#include "../jutils.h"
#include <iostream>
#include <casser... | [
"jashdave23@gmail.com"
] | jashdave23@gmail.com |
a38302e9a27fc024190d2872ed698cb6c5685211 | d0acccde673fe3df1bb8e02fe58aeb661d6367a2 | /Even or Odd.cpp | 79c648990627be689f001c89d0cc27abff670659 | [] | no_license | MihirDichwalkar/Myrepository | 7064c4f4e97e5608cca35dfad6c978cbeaf11af2 | 160756afc09a57c3c676d34c109402d9e5d266a9 | refs/heads/master | 2022-12-22T14:05:41.301753 | 2020-09-24T09:27:24 | 2020-09-24T09:27:24 | 292,536,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int n = 0;
int tab = 0;
cout<<"Enter the number = ";
cin>>n;
if(n%2 == 0){
cout<<"The number "<<n<<" is a Even Number.\n";
}
else{
cout<<"The number "<<n<<" is a Odd Number.\n";
}
r... | [
"noreply@github.com"
] | noreply@github.com |
6b92c1ade60ebca00a893e07f580881cfaaba046 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/rocksdb/2016/8/sharded_cache.cc | b02e5b5dbfa055d60d3acb79e747d2d78e5656f7 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 3,661 | cc | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// Copyright (c) ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
a9fee0f0cd9922cacf3641cdbd4043263863b41d | 23ed1b706ccf7bfa4d550a4cccdad9a8665b0f2c | /FrameWork73/EffectFactory.h | 9f21a49b9e0295362ca11163be8aa016613b1d74 | [] | no_license | codnsj81/BastionCopy | 7440cfeb3984faed0ee421dd93c1d24bc27d9475 | 0cf4a8e8bfa2729b8bb61e151dcef65da6e46eed | refs/heads/master | 2020-08-05T14:27:25.083493 | 2019-10-03T12:57:56 | 2019-10-03T12:57:56 | 212,577,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #pragma once
#include "PlayerHit.h"
class CGameObject;
template<typename T>
class CEffectFactory abstract
{
public:
static CGameObject* CreateEffect(void)
{
CGameObject* pEffect = new CPlayerHit;
CBridge* pBridge = new T;
dynamic_cast<CPlayerHit*>(pEffect)->SetBridge(pBridge);
pEffect->Initialize();
pB... | [
"codnsj81@naver.com"
] | codnsj81@naver.com |
e6af2bf80fc090e2cb0f428352f36d1c86235d63 | ccbf6c8092b2254a53d28f5b25ba8969f2dd086c | /LuoGu/level2/2-18_dp_moretips/P1052.cpp | d098f0606a9bdc1208319701423e91b3ade77965 | [] | no_license | wangbb13/wangbb13.github.io | 4c2ebfc03383bbaa1cf7485bbcc8c655cca5d2bb | 5ffefdb5fe15563b9e3e8fea1484d9312d19d377 | refs/heads/master | 2020-05-20T12:53:31.217109 | 2019-11-07T06:31:14 | 2019-11-07T06:31:14 | 38,562,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | /**
* Description: cross river
* Input : L \n S T M \n pos
* L: the length of birdge
* [S, T]: jump interval
* M: # stones
* Output: the minimum number of stones on which the frog must jump
* Time/Space Limit: 1s/128MB
*/
#include <iostream>
#include <vector>
#include <deque>
#include ... | [
"18800160527@163.com"
] | 18800160527@163.com |
d10d47b7a8b0b0158205e820660239ba35bbc3ae | cf9c4f10e2db6508a4784eb56d63c87000047e78 | /src/LevScene/LevSceneRenderAttribute.cpp | a8502b20d3a3cecaaab1b97c4e90b589cab4962d | [
"MIT"
] | permissive | wakare/Leviathan | 86f578bebb0b9100920d981ef6c67672a241b94b | 8a488f014d6235c5c6e6422c9f53c82635b7ebf7 | refs/heads/master | 2021-06-26T17:25:28.927589 | 2020-10-11T15:12:53 | 2020-10-11T15:12:53 | 151,736,145 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | #include "LevSceneRenderAttribute.h"
#include "LevNumericalUniform.h"
namespace Leviathan
{
namespace Scene
{
LevSceneRenderAttribute::LevSceneRenderAttribute()
: LevSceneObjectAttribute(ELSOAT_RENDER)
{
}
LevSceneRenderAttribute::~LevSceneRenderAttribute()
{
}
}
} | [
"wakarenokaze@gmail.com"
] | wakarenokaze@gmail.com |
aa3e24dba485f68a55dcfe0d10fc65b62ce4c330 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/chrome/browser/extensions/extension_service_unittest.cc | bdeb43d6e6b3fa5ed9b5c2c45901a253b25c6158 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 243,141 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_service.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <map>
#include <set>
#... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
0295bb925038de28085cf7e7317667eab9bbd95e | 3db023edb0af1dcf8a1da83434d219c3a96362ba | /windows_nt_3_5_source_code/NT-782/PRIVATE/NET/UI/COMMON/SRC/BLT/BLTCC/BLTSSS.CXX | 769ccf4597b6c6055a96ed3ea90be239e30472c7 | [] | no_license | xiaoqgao/windows_nt_3_5_source_code | de30e9b95856bc09469d4008d76191f94379c884 | d2894c9125ff1c14028435ed1b21164f6b2b871a | refs/heads/master | 2022-12-23T17:58:33.768209 | 2020-09-28T20:20:18 | 2020-09-28T20:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,582 | cxx | /**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corp., 1991 **/
/**********************************************************************/
/*
bltsss.cxx
... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
8811b72f2a87488e9f70aec4a1453f36a0cb5e32 | d7df0ea341b5e3e155b08c98119beec998f20524 | /threatexchange/tmk/cpp/io/tmkio.h | 69e6e9a5a2a518af2025c55393f6cf8cadb9a253 | [
"BSD-2-Clause",
"MIT"
] | permissive | meedan/alegre | 6c1ee60124f69b559854186d04ff9aff1efccd47 | 013b2b72607b80210076d772c93ed77f0e732ab2 | refs/heads/develop | 2023-08-24T23:21:02.372841 | 2023-08-08T13:19:57 | 2023-08-08T13:19:57 | 44,700,808 | 14 | 10 | MIT | 2023-09-14T20:35:17 | 2015-10-21T19:59:30 | C++ | UTF-8 | C++ | false | false | 3,412 | h | // ================================================================
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// ================================================================
// ================================================================
// Methods for reading/writing TMK file for... | [
"noreply@github.com"
] | noreply@github.com |
06750bd094aad9c770bea8dd1147398213b6034c | c681508bf3ad18a832389c402a5029acf6e8c72f | /sparse-iter/control/magma_dmcsrpass_gpu.cpp | af83aa5a437351120a0d242f9ef4db5457ab6c87 | [] | no_license | xulunfan/magma | 6f058ed0e288ecfc88a4ecc3711ad17faf74cb18 | b4e228e14cc1046861c8f38803743d784b06b9bf | refs/heads/master | 2021-01-21T15:50:21.484822 | 2016-02-10T15:08:42 | 2016-02-10T15:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,420 | cpp | /*
-- MAGMA (version 2.0.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date February 2016
@generated from sparse-iter/control/magma_zmcsrpass_gpu.cpp normal z -> d, Tue Feb 9 16:05:48 2016
@author Hartwig Anzt
*/
// in this... | [
"maxhutch@gmail.com"
] | maxhutch@gmail.com |
7261f3934a36db259c4b031560796ff78622e431 | e13be1afb7605a58d7c846445b71ed8687a9382e | /btcacoinlinux/src/primitives/block.cpp | c8f7d76141382cd1f8ea6bfcd7aa566546aca3aa | [
"MIT"
] | permissive | bitcoinagain/bitcoinagain | 3042086ea8f3f9036b6cf85b8afc49403eab8a79 | a7493d08dbdbad0f59e8c47c5ab7f03dca84fbb2 | refs/heads/master | 2023-02-06T22:05:39.220131 | 2020-12-29T10:55:28 | 2020-12-29T10:55:28 | 283,498,307 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoinagain Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#include "hash.h"
#include "tinyformat.h"
#in... | [
"wangyh@weherepost.com"
] | wangyh@weherepost.com |
d2d92a23414630a7f7fc3cbcfb28f994d9519c38 | 6cd69d24276d418be9fb3ad5fbb850bdcaca9f7e | /oss_src/sframe_query_engine/util/aggregates.hpp | 6cb5d73eaad8410671e3078fb8e782e80a52340a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | charles2648/SFrame | e8cd14074932635af067aa20a86d1a9cbf7cf698 | 43fdd3ed9fde4ec0f26d548b5f1eebb4cdf1bea5 | refs/heads/master | 2021-01-18T11:23:21.447110 | 2016-03-16T08:51:56 | 2016-03-16T08:51:56 | 54,029,970 | 1 | 0 | null | 2016-03-16T12:29:02 | 2016-03-16T12:29:02 | null | UTF-8 | C++ | false | false | 3,411 | hpp | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_SFRAME_QUERY_ENGINE_UTIL_AGGREGATES_HPP
#define GRAPHLAB_SFRAME_QUERY_ENGINE_UTIL_AGGREGATES_HPP
#include <sframe... | [
"toby@dato.com"
] | toby@dato.com |
656d3b0397198b79474be95a4de78e145ce8b00e | 329daf9c66c87da480e47e1dc1e78a507d475e22 | /LeetCode/header/MeetingRoomII.h | c3f953cfeb9f12abff5f1c4f18308879a37f9a57 | [] | no_license | guancongyi/LeetCode | 716edae5b5d802a9f95ae961b8724c0fc5a554b6 | 0a399bece086aac9adf8cb3a42c1d03e942b316c | refs/heads/master | 2020-04-14T21:57:43.465583 | 2019-10-19T15:49:02 | 2019-10-19T15:49:02 | 164,040,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | h | /*
First sort the vector according to starting time
Then, use min heap to keep track of the end time
Find the room that can be vacate first when allocating.
*/
class myComparator
{
public:
int operator() (const vector<int>& v1, const vector<int>& v2)
{
return v2[1] < v1[1];
}
};
class MeetingRoomIISolution {
pu... | [
"congyiguan@gmail.com"
] | congyiguan@gmail.com |
9798302f4cfdc02cad15be6f7819f26f20a4f0ed | 779e1f5e1140e0c09fabc9c286e590ecd55ed612 | /src/Game.cpp | 2de8d5ac3a264e4a9f207dede96b1833ebf65123 | [] | no_license | maro-n/MyGame | 02a80545c755a707d2e87a2076f271ecf06aeb0b | dc5ea6dedec9fd04a6685c2fea3e122293b7ab97 | refs/heads/master | 2021-01-10T07:12:24.370245 | 2015-07-14T06:57:11 | 2015-07-14T06:57:11 | 36,990,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp |
#include "Game.h"
cGame::cGame(){
isChange = false;
}
void cGame::init(){
player.setup();
enemy.setup();
}
void cGame::setup(){
player.setup();
enemy.setup();
}
void cGame::keyDown(KeyEvent event){
player.keyDown(event);
if (event.getChar() == 'r'){
isChange = true;
}
}
void cGame::keyUp(KeyEv... | [
"with.tennis.win.0406@gmail.com"
] | with.tennis.win.0406@gmail.com |
da0d119044e5ba9f5e63f3ec9dd575dee09ba6ff | 371178fa6768ca13dda499a21fa1f04f0430a43f | /由前序与中序结果重建二叉树.hpp | a6550b95986cdd5b11d749666025e070f2a8aeb8 | [] | no_license | Aaronlanni/practice | ed55be9d2cc788da3f91af32de78916a129415bd | 6389566fc2b6321a4826a832fa35d2a15f79b3ac | refs/heads/master | 2020-03-18T21:35:48.591147 | 2018-09-11T12:46:33 | 2018-09-11T12:46:33 | 135,288,755 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,161 | hpp | //由前序遍历与中序遍历的结果重建二叉树
pNode RebulitBindaryTree(T*PreResult, size_t PreLen, T*InResult, size_t InLen)
{
if (PreLen != InLen || PreResult == NULL || InResult == NULL)
return NULL;
int index = 0;
_pRoot = _RebulitBindaryTree1(PreResult, PreLen, InResult, 0, InLen, index);//此处给出区间的范围
return _pRoot;
}
pNode _RebulitBi... | [
"1099384248@qq.com"
] | 1099384248@qq.com |
8aa1c0f2f2ac567a246a2573f66f0769a720159b | a272c9417d443c1a9355d5d119bbe209c270eedd | /src/hvpp/ia32/cpuid/cpuid_eax_01.h | cd05b0de9a796fb8c23ad9081b27a82552bd4dd4 | [
"MIT",
"LicenseRef-scancode-free-unknown",
"BSD-2-Clause"
] | permissive | tandasat/hvpp | 4a3b19105df61ba2a0e35bec007176c8225d5d5b | 204f8f8ea431903bedbe3038cc9dc5b76fecba0b | refs/heads/master | 2020-03-26T17:09:16.172662 | 2018-10-07T17:02:35 | 2018-10-07T17:02:35 | 145,144,533 | 3 | 1 | MIT | 2018-08-17T16:42:22 | 2018-08-17T16:42:22 | null | UTF-8 | C++ | false | false | 4,033 | h | #pragma once
#include <cstdint>
namespace ia32 {
struct cpuid_eax_01
{
union
{
struct
{
int cpu_info[4];
};
struct
{
uint32_t eax;
uint32_t ebx;
uint32_t ecx;
uint32_t edx;
};
struct
{
union
{
uint32_t flags;
struct
... | [
"w.benny@outlook.com"
] | w.benny@outlook.com |
0f1566bf0b3dd3338bc4e6949f1f3e0034ec5971 | ca8d40d52a3d8a0e50d3630cd57b892e6ca4a9fa | /src/pynuitrack.cpp | 002966f442a35dd683b570434f0d2aa18ac2e98f | [
"MIT"
] | permissive | soltrinox/pynuitrack | 310ad25bbf0cd03b38086a5116883d3907ec6375 | 5174341ed71100790b111bd093ecb10ce735d714 | refs/heads/master | 2022-02-17T22:55:01.342794 | 2019-09-12T17:22:48 | 2019-09-12T17:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,642 | cpp | /**
* @file pynuitrack.cpp
* @author Silas Alves (silas.alves)
* @brief Contains the Nuitrack and NuitrackException claeses.
* @version 0.1
* @date 2019-09-03
*
* @copyright Copyright (c) 2019
*
* MIT License
*
* Copyright (c) 2019 Silas Franco dos Reis Alves
*
* Permission is hereby granted, free of c... | [
"silas.alves@gmail.com"
] | silas.alves@gmail.com |
7fc7860fed3571169253d875dca4266a78fe7cd3 | cebac349711f601c964bab6727c69b716805a673 | /plugins/NSVfitAlgorithmByIntegration.h | 7741e85c5b8c3b686a239d9a1c7751de399913b4 | [] | no_license | JehadMousa/TauAnalysis-CandidateTools | 1338415db346f94f9d1b4e6a298e333d48ac9f12 | 008acd5469a4963688034ec72a14dbff1fc418d3 | refs/heads/master | 2021-01-14T11:53:06.883362 | 2013-06-28T20:10:42 | 2013-06-28T20:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,265 | h | #ifndef TauAnalysis_CandidateTools_NSVfitAlgorithmByIntegration_h
#define TauAnalysis_CandidateTools_NSVfitAlgorithmByIntegration_h
/** \class SVfitAlgorithmByIntegration
*
* Concrete implementation of (n)SVfit algorithm
* by integration of likelihood functions
* (based on VEGAS integration algorithm)
*
* \autho... | [
"sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch"
] | sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch |
7630c048fb04ba6f4d275e10af15fd30e6ae6573 | 497aa5b78b584bf3b7ad40ac5844858490b9b558 | /problems/sm_depth_todo/ibex/test_stability.cpp | f628e223938f351d9f0e9b4a59824ed5d6a1eda7 | [] | no_license | alexlefort/these | 785b952b08633cbd68c76073fbf1a42e640ede67 | db54fbaafdc19bccc76ecf84ff9bbb366ce777be | refs/heads/master | 2020-05-20T22:49:36.889927 | 2019-06-29T17:38:03 | 2019-06-29T17:38:03 | 185,788,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,674 | cpp | #include "ibex.h"
#include <string>
#include <ctime>
#include "ibex_Random.h"
using namespace ibex;
//using namespace std;
void test_stability() {
IntervalVector x(9);
double kz = 0.0;
double ktheta = 0.0;
double kpi = 0.0;
double kq = 0.0;
double iz = 0.0;
double ep... | [
"alexandre.lefort@ensta-bretagne.org"
] | alexandre.lefort@ensta-bretagne.org |
6dff0d473e335d930af436f284e22f6115f5c5a2 | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/skia/include/core/SkImageInfo.h | 4b82ae6e2fb317cf2414cb09801d72efc26de423 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-public-domain"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 9,896 | h | /*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkImageInfo_DEFINED
#define SkImageInfo_DEFINED
#include "SkMath.h"
#include "SkRect.h"
#include "SkSize.h"
class SkReadBuffer;
class SkWriteBuffer;
/**
* Describ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
f4114ec98a74833c09d25b883f48e31bad4f1e30 | be43d3804e0a74c8201e488ee1c7bca3d4ed7818 | /assignment-2/test.cpp | d6a83b3f181c3207999a516d957c6896439505ec | [] | no_license | catlicjohnson/cpsc-457 | 647c8c4ebde17d187f1c863ceb00d3f52ee49543 | f47d208ae5fbb2ee18286ef5cda1ec0e8686fa45 | refs/heads/main | 2023-06-04T02:17:03.033295 | 2021-05-08T16:36:24 | 2021-06-16T11:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <string>
#include <iostream>
#include <filesystem>
namespace fs = std::filesystem;
int main() {
std::string path = "/path/to/directory";
for (const auto& entry : fs::directory_iterator(path))
std::cout << entry.path() << std::endl;
} | [
"cloudyyoung74@outlook.com"
] | cloudyyoung74@outlook.com |
e839668cc5f411057011a75016c49da11eaedc58 | 2d2c69acda9154755be0a22b9ec1b710789a5bf0 | /LeetCode/leetcode-may-challenge/week4/SortCharacterByFrequency-strings.cpp | 835b64ab2545bde85511ddabc6c2899fd73854fe | [] | no_license | Kalit31/cp-playground | 2f74282a29222a308c022115e1a733ed2ed8dd6f | 572b543403498ffa12e80236a245bd7fb71249dd | refs/heads/master | 2023-06-26T21:50:26.676082 | 2021-07-31T08:45:15 | 2021-07-31T08:45:15 | 228,023,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,162 | cpp | #include <bits/stdc++.h>
using namespace std;
//Type: Strings, Heaps
//Approach: Store the frequency of each character in a map.
// Maintain a max heap whose each element is (freq of char,char)
// Start popping out the elements and add them to the final result.
//Complexity: O(NLgN) time
class Solut... | [
"inanikalit31@gmail.com"
] | inanikalit31@gmail.com |
003a20709329c3176713b6dfed2c13440a670a68 | 496b95ce18228acd29ab48586e12694b740fed42 | /utils/options/Option.cpp | a112bc02a053f4fc84cb2776ac22c49f06e9e371 | [] | no_license | pratik101agrawal/Indian_traffic_control | 11fb0de64e09ab9c658ce6db9f48a364ce98e4f5 | 6de2c6880edc853cce7efacebcb10fce475ba8c1 | refs/heads/master | 2022-12-25T09:43:40.295535 | 2020-09-30T18:57:57 | 2020-09-30T18:57:57 | 300,026,534 | 1 | 0 | null | 2020-09-30T18:56:37 | 2020-09-30T18:56:36 | null | UTF-8 | C++ | false | false | 11,496 | cpp | /****************************************************************************/
/// @file Option.cpp
/// @author Daniel Krajzewicz
/// @date Mon, 17 Dec 2001
/// @version $Id: Option.cpp 8648 2010-04-27 09:34:37Z dkrajzew $
///
// A class representing a single program option
/*************************************... | [
"chordiasagar14@gmail.com"
] | chordiasagar14@gmail.com |
cea122d2e0caa3b922ba11a32eef771e59d971e0 | e7c657adfc65e15fd2638d5bab8deaa9de07a5bb | /calculator6.0/TEST.cpp | bc93caa03b686c71476a919acf0e3becd06837dc | [] | no_license | HangyuanYang/SimpleMFCCalculator | ee0383f95772ee0eb4edece55fe48a5503df2325 | 18bd5d29a1bfd01618420cab947a72614fcc7bb6 | refs/heads/master | 2021-05-16T10:30:34.754390 | 2017-09-28T06:47:26 | 2017-09-28T06:47:26 | 104,749,020 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,176 | cpp | // TEST.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "TEST.h"
#include "TESTDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTESTApp
BEGIN... | [
"690094231@qq.com"
] | 690094231@qq.com |
c622f30d18a2212726b49bf655a20c67aa2ffe11 | cae60b0fbbd10ccfb50814c88da94bae80253942 | /l4d2Simple/indexes.h | 03c3f014334c633ccb36db0e5c8c8c495613d267 | [] | no_license | zonde306/9306 | fd8dd35683140393ef844de1f012ff7a52ec5fa9 | 97947a9bdfdc3b3856ab4e14b517a57807cfb24e | refs/heads/master | 2021-01-01T15:22:31.504974 | 2017-09-04T09:26:54 | 2017-09-04T09:26:54 | 97,606,870 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,173 | h | #pragma once
namespace indexes
{
// Client
const int GetAllClasses = 7;
const int CreateMove = 20;
const int FrameStageNotify = 34;
const int DispatchUserMessage = 35;
const int InKeyEvent = -1;
const int HudProcessInput = 9;
const int HudUpdate = 10;
const int IN_IsKeyDown = 18;
// Engine
const int GetScr... | [
"zonrex@live.cn"
] | zonrex@live.cn |
baeeecbe8ed541a72b447a86103f9a4849a6a7f3 | 0ddc592ffb9a062386c1efd8eaebc88c6a5bdce7 | /jnx-cc-routeservice/src/sbin/jnx-cc-routeserviced/jnx-routeserviced_ssd.h | f2cd10cafdc6d74a351ed9fded1a2135c06bd092 | [] | no_license | lakshmidm/junos-sdk-sample-apps | 2869c7bab877d610635c17bec0a90b8f8ec5c729 | e40870db65ba4f34f767b6a739745a145a117000 | refs/heads/master | 2021-05-05T04:11:31.435455 | 2016-02-29T23:28:32 | 2016-02-29T23:28:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,514 | h | /*
* $Id: jnx-routeserviced_ssd.h 346460 2009-11-14 05:06:47Z ssiano $
*
* This code is provided as is by Juniper Networks SDK Developer Support.
* It is provided with no warranties or guarantees, and Juniper Networks
* will not provide support or maintenance of this code in any fashion.
* The code is provided on... | [
"james@jameskelly.net"
] | james@jameskelly.net |
0c28d1db27bac7cb04b08a987a2336d5ba37f5cc | c7d3efc822825d62bea0cab54b6f01ff5cbbe737 | /gameModes/dotsnetcritsonline/logicComponents/Gravity.cpp | 2d3db49acc2d6f6805142a39df6de34dc9510b76 | [] | no_license | practicing01/Urho3DTemplate | 933835f723fbb2368013a94ae7a2a7617f7578a3 | ab9e151fea3e940d796702cd65b21eeea5e84f1f | refs/heads/master | 2021-01-22T14:32:55.540422 | 2015-11-10T18:27:02 | 2015-11-10T18:27:02 | 27,493,133 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | cpp | /*
* Gravity.cpp
*
* Created on: Jul 13, 2015
* Author: practicing01
*/
#include <Urho3D/Urho3D.h>
#include <Urho3D/Graphics/AnimatedModel.h>
#include <Urho3D/Math/BoundingBox.h>
#include <Urho3D/Graphics/Camera.h>
#include <Urho3D/Physics/CollisionShape.h>
#include <Urho3D/Core/CoreEvents.h>
#include <Urho... | [
"practicing01@gmail.com"
] | practicing01@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.