blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ad4336c6a955822fbb47854ca026740e5c38051 | 05f0cab2f3c7426a0ae3bbe38e42e261c03ca49b | /prebuilt/include/streaming_pipeline/data_object.h | 00786c2d11bff3bc7983da572e531f3cc538599b | [] | no_license | JammyWei/ver30 | 199719eb7904db0b5d764a413e0ea6b7e8a26f6f | 2e1fe0eeb6cef5c6e35a16e30226874a14b86f7d | refs/heads/master | 2020-04-03T13:01:17.982783 | 2014-03-05T09:38:58 | 2014-03-05T09:38:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,256 | h | #pragma once
#include "gmi_system_headers.h"
#include "memory_pool_parallel_consumers.h"
enum DataObjectStatus
{
DOS_Init = 0,
DOS_Uninit = 1,
DOS_Playing = 2,
DOS_Paused = 3,
DOS_Stopped = 4
};
class DataObject
{
protected:
DataObject( boolean_t ActiveObject );
vir... | [
"admin_lgq@dd879d07-adaa-4757-b7d0-008d00b626b4"
] | admin_lgq@dd879d07-adaa-4757-b7d0-008d00b626b4 |
70b0ea348df055b95bd227450cdf4efb2fd66373 | 2975d1dd9b02c2745eb1353ac6dd56798724b7ab | /Episode 64 menulis File Eksternal/menulisFileEksternal/menulisFileEksternal/Source.cpp | 8d29f0d0ca59b6e90c8190ab4aebe0948075fe89 | [] | no_license | randynetworks/cpp | 9e191d7c2747aa91ff1a25c51bc18d72625416fa | 74e7c4ecb6bb0e702aeb966b30c8e7cd55c43d5f | refs/heads/master | 2020-05-24T07:09:35.102303 | 2019-05-25T06:20:34 | 2019-05-25T06:20:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include <iostream>
#include <fstream> //ofstream, ifstream, fstream
using namespace std;
int main(){
ofstream myFile;
//ios::out = default, operasi output;
//ios::app = menuliskan pada akhir baris;
//ios::trunc = default, membuat file, jika sudah ada menghapus file dan menimpanya
myFile.open("data1.text", io... | [
"randyramadhan1973@gmail.com"
] | randyramadhan1973@gmail.com |
03c53ab020cfb4c5b3b86eb24cbb24c20faeb4a1 | 6a721fb3eecf92950e1f6007fb49c399f0b3cb7c | /SDK/PUBG_BP_BuffIconListWidget_parameters.hpp | 5027be289f81f4f733a1471ec998162f08e8e822 | [] | no_license | handsomeprince/PUBG-SDK-3 | 5474c48041b6fd4e4be975c222f76b6c02df9f31 | 5a922157f770a49c82ae597284d2a7cb60c86515 | refs/heads/master | 2021-04-15T09:46:11.411487 | 2018-02-22T06:13:30 | 2018-02-22T06:13:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (2.6.23) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_BP_BuffIconListWidget_classes.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------------... | [
"number201724@me.com"
] | number201724@me.com |
e63d407950035d7bffb0c6de85218f02e6bd9222 | 8909f2a1735a3eb04a53655285266cf07954e99a | /src/main.cpp | 5fddc3d9efb5c36f7f080129e6b48916ebc6254a | [
"MIT"
] | permissive | coins-archive/chbtokenV5.x | da96e574c462f13df439b40edb63f1d038d52fe3 | 7a8d6ebda5ce029caaea289116c69f8eb3f457d5 | refs/heads/master | 2021-05-16T22:30:52.171704 | 2020-03-16T06:25:14 | 2020-03-16T06:25:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132,663 | cpp | // 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.
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#inc... | [
"p.lamprecht@dlsag.ch"
] | p.lamprecht@dlsag.ch |
8aef2aeea56a415652ff06ce04dba2739c05e780 | 8d55088a0e249dddfa4ed0d0073a158fe2c5c80b | /trunk/suiwgx/src/Extend/Controls/WrapPanel.cpp | 9df6733f4e794ebecc5843bffe77e80557935856 | [
"MIT"
] | permissive | mackenbaron/MPFUI | bbdff0e3f2735a0a4898b74ca363b5243516d103 | bb720fc0323de5e9990765ece63854480f52282b | refs/heads/master | 2021-01-19T23:48:05.817174 | 2017-08-23T04:42:47 | 2017-08-23T04:42:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,566 | cpp | // ======================================================================
//
// Copyright (c) 2008-2020 汪荣(视点UI), Inc. All rights reserved.
//
// MPF界面库个人免费使用,团体或公司请购买授权,但不能居于此库衍生任何商业性质的库或代码。
//
// ======================================================================
//////////////////////////////////////////////////... | [
"china0851@foxmail.com"
] | china0851@foxmail.com |
c881e89e0c7b2e6949f4862ae2353a04b2056d1d | 93da2a4b1916ab9806551b4cc5ff20e1d67c0ab1 | /C/threadedServer/semaphore.cc | 641e9ea401e045116a7b810f92eeecd1c035cc31 | [] | no_license | ssnyder2525/Educational | 83d9c5b24b49bae345bbe35228b20bdf7fb038ed | 5c0cbfcfcad07fd06068e689051feba89a2cfc1f | refs/heads/master | 2020-08-30T19:09:06.565541 | 2016-09-05T19:54:33 | 2016-09-05T19:54:33 | 67,445,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | cc | // Taken from Unix Network Programming: The Sockets Networking API, Volume 1,
// Third Edition, by W. Richard Stevens, Bill Fenner, and Andrew M. Rudoff
// Page 700
// This program demonstrates how to use a semaphore to solve the
// synchronization problem.
#include <pthread.h>
#include <semaphore.h>
#include <stdio... | [
"ssnyder2525@yahoo.com"
] | ssnyder2525@yahoo.com |
8fa0e21ba1e9b0df9e39ee6104f8b154e6a18996 | 6873169a367ef58a94cebf0019b6ec12e980ef42 | /tensorflow/core/kernels/data/experimental/choose_fastest_branch_dataset_op.cc | e2492519e1ed8dd5b7aa728a28f0e712fc0b4a6a | [
"Apache-2.0"
] | permissive | zhaohb/tensorflow | 842636c42cbba84cefeec96d4c981dec5666844d | d9792a5ab0f30c94bb31b4c6ce37e1a5b793c03e | refs/heads/master | 2020-04-30T19:48:07.026869 | 2019-03-22T01:07:07 | 2019-03-22T01:12:36 | 177,049,139 | 2 | 1 | Apache-2.0 | 2019-03-22T01:15:41 | 2019-03-22T01:15:41 | null | UTF-8 | C++ | false | false | 22,945 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0e6864229991d3099c7fe1423b879fb99630822b | 4fa88ea74a43a44d7e9d9b25e927026c4e2a1a56 | /structuredCode/OopPrinciples/Polymorphism/functionTemplates.cpp | 90a3b743393c204144c3814d2309978b72522bf4 | [] | no_license | testinggrounds221/my-cpp-tutorials | c89b9e09e43eeb7bf965170d139878cd2e454a20 | 1618e4b4ea645ce4ff428ed16fe20af6b0e46b53 | refs/heads/main | 2023-05-03T15:42:46.992473 | 2021-05-23T05:24:52 | 2021-05-23T05:24:52 | 366,626,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <iostream>
using namespace std;
template <typename T>
T addSame(T x, T y) {
return x + y;
}
template <typename T, typename U>
U addDiff(T x, U y) {
return x + y;
}
// int addSame(int x, int y) { return x + y; }
// float addSame(float x, float y) { return x + y; }
// double addSame(double x, double y) ... | [
"testinggrounds221@gmail.com"
] | testinggrounds221@gmail.com |
16aca6c179c7764ac569502cc3242fde6b0cf9c4 | 299648a8c633728662d0b7651cd98afdc28db902 | /src/thirdparty/sentry-native/external/crashpad/test/multiprocess_exec.cc | cd9a32c0bbe1d711e5389162627b5d1602c52e26 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | aardvarkxr/aardvark | 2978277b34c2c3894d6aafc4c590f3bda50f4d43 | 300d0d5e9b872ed839fae932c56eff566967d24b | refs/heads/master | 2023-01-12T18:42:10.705028 | 2021-08-18T04:09:02 | 2021-08-18T04:09:02 | 182,431,653 | 183 | 25 | BSD-3-Clause | 2023-01-07T12:42:14 | 2019-04-20T16:55:30 | TypeScript | UTF-8 | C++ | false | false | 2,495 | cc | // Copyright 2018 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
9c6834db95bd9565ea1a36d671101f12a28127f1 | 303fdef7d8f917541dacd1209d078bbf825dc744 | /src/devices/aym/dumper/fym.cpp | bcd7a1854ed616bd21958acdda724e63afe90835 | [] | no_license | djdron/zxtune | 7073149ed166bf8fab5a4eb0b0f6a0e3a07a4adb | b9b14282857451acbd7dcb4f8306a4f6cfabe915 | refs/heads/master | 2022-12-22T18:54:38.923836 | 2022-11-21T20:31:19 | 2022-11-21T20:31:19 | 15,060,257 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | cpp | /**
*
* @file
*
* @brief FYM dumper implementation
*
* @author vitamin.caig@gmail.com
*
**/
// local includes
#include "devices/aym/dumper/dump_builder.h"
// common includes
#include <byteorder.h>
#include <contract.h>
#include <make_ptr.h>
// library includes
#include <binary/compression/zlib_stream.h>
// st... | [
"vitamin.caig@gmail.com"
] | vitamin.caig@gmail.com |
23c5a30f3b47772d01534030c3069f89185f9eb6 | 2d36ac7285664ce798edb27bafa00e0dbc0f25fb | /LSL/liblsl/external/lslboost/interprocess/sync/interprocess_recursive_mutex.hpp | d18f426494a88a9fb31d2d377d926ba4e6729745 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | nagarjunvinukonda/Brain-Computer-Interface-for-Bionic-Arm | af1a6241df167e747a7d9426e497f95dda632fda | 839cb0dc798d2bf274d3df7c4db0fef62af3770d | refs/heads/master | 2023-02-13T12:02:36.692225 | 2021-01-14T08:32:35 | 2021-01-14T08:32:35 | 297,540,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,606 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt)
//
// See http://www.lslboost.org/libs/i... | [
"vinukondanagarjun4@gmail.com"
] | vinukondanagarjun4@gmail.com |
23c9c43cb1508c1820e5eebe167588a0f0b16c78 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_Zombie_Working_pants_02_parameters.hpp | d495e4df0936f716747fe3db9ad13fe94747a75c | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function ConZ.ClothesItem... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
692b4f5560de88fd515e7ebf9c52fd549f66acec | ae98aeef3da6c8c3605bec3498371e1de566c295 | /core-avr-ds/src/fixed_queue.h | 5d432bf0b755609c757a5179dd24011b21a9ae7b | [
"MIT"
] | permissive | enklu/commons-avr | a7cf2119e8e0ad88d4e2a1edf201fb300c238696 | 352e1d33b22f2a2bb066c767c3c5755146700b18 | refs/heads/master | 2023-06-06T21:07:31.967106 | 2017-11-22T19:47:59 | 2017-11-22T19:47:59 | 111,247,797 | 1 | 1 | MIT | 2021-07-01T14:29:50 | 2017-11-18T23:23:54 | C++ | UTF-8 | C++ | false | false | 2,473 | h | #ifndef CIRCLEQUEUE_H
#define CIRCLEQUEUE_H
#include <inttypes.h>
/**
* Queue with a fixed size in memory.
*/
template<class T>
class FixedQueue
{
private:
/**
* Dynamically allocated array of pointers.
*/
T** buffer_;
/**
* Total capacity of the queue.
*/
int32_t capacity_;
... | [
"bmj465@gmail.com"
] | bmj465@gmail.com |
1af2d03dd7e74691f32de59ad1b752d67301904b | 92ad17dc88f7dec50161d57666c6afbf11daf34a | /위상정렬/main.cpp | 1a46f52f5783d08fa0f650da6c02902733b0eb54 | [] | no_license | kangbeonghyun/Algorithm | 4c675e0b52d54429ee9efb85bfc6166aef1e0176 | c87a0c5fa33b5d3ab6316a65200ce4c6c9218cab | refs/heads/master | 2022-10-02T10:46:38.579699 | 2020-06-11T13:46:04 | 2020-06-11T13:46:04 | 265,192,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp |
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <functional>
using namespace std;
int n,m;
int degree[32001];
vector<int> v[32001];
void search(){
priority_queue<int,vector<int>,greater<int>> que;
for(int i=1;i<=n;++i){
if(degree[i]==0)que.push(i);
... | [
"zxcvb8802@naver.com"
] | zxcvb8802@naver.com |
9d3890c14aea83752f659f7aea79a16094924afa | 534e2e3d8d8bebd2366c0fee60886d84597ee0ef | /CF/821C.cpp | 08891736d24e3da4daf263638b3af363c7e6920b | [] | no_license | coldEr66/online-judge | a8844d3f35755adafd4f43a1f08ce56b6b870601 | e85ec0750d92dd00133c93284085a0f5d8a11d36 | refs/heads/master | 2021-09-07T01:58:10.634492 | 2021-07-28T16:31:13 | 2021-07-28T16:31:13 | 128,494,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,685 | cpp | #include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(int i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define RST(i,n) ... | [
"seal1000402@gmail.com"
] | seal1000402@gmail.com |
053232afb6560a6a9fd02a08bbc4e0076578c125 | 365bac64e7d5f70669d8dff3f5b2f2b7bd3f4fa7 | /Project1/project1/ItemVisitor.cpp | 9112428b4c71ed83a15e54ca5cfaf98e440e1f37 | [] | no_license | winnie1027/CSE-335-MSU | cce1b97d77906d6232481c2f75c15d58f19b480d | 4a6d20bbffa452019fecbeaf7d6b267733033f4c | refs/heads/main | 2023-04-21T21:32:27.590813 | 2021-05-05T04:51:39 | 2021-05-05T04:51:39 | 343,647,844 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp | #include "pch.h"
#include "ItemVisitor.h"
| [
"71732749+winnie1027@users.noreply.github.com"
] | 71732749+winnie1027@users.noreply.github.com |
40b0504d10b45c13b2d21f61cac42a896b7025ae | 6a36a50da722b7971f874f0703cab2339fcc05f9 | /app/src/demo.h | cf8cdb0b2d48ccd92bcbaab8f0fa5e9e6bb3c79c | [] | no_license | xue99999/jsCallQt | 425b6965831c6b4a50c0cda874155c5f8da77f33 | f199a0317fe964d241195fdb4e65aebf26cfd5c1 | refs/heads/master | 2021-07-17T01:31:55.727488 | 2019-10-08T11:40:47 | 2019-10-08T11:40:47 | 213,526,357 | 1 | 2 | null | 2019-10-08T11:38:06 | 2019-10-08T01:59:17 | C++ | UTF-8 | C++ | false | false | 564 | h | #ifndef AUDIO_H
#define AUDIO_H
#include <QObject>
#include <QtMultimedia>
#include <QMediaPlayer>
#include <QMediaContent>
#include "framework/nativesdkhandlerbase.h"
class Demo : public NativeSdkHandlerBase
{
Q_OBJECT
public:
Q_INVOKABLE Demo();
~Demo();
void request(QString callBackID,QString act... | [
"1090374167@qq.com"
] | 1090374167@qq.com |
b5fb0121642e88919c3f60243393a7a66dc32368 | c30a664836799c2397a24639007cd4d1c7317dab | /net/EventLoop.h | dbed1ddcb934482807b8e1ead8ddf857836c4ffa | [
"BSD-3-Clause"
] | permissive | berlinhuang/Engine | 39411c5cefc001e7915ad8712fb84ebe7cba7778 | 11e43775f5548b11b0a5a4f66d596c3896560720 | refs/heads/master | 2021-01-25T16:59:18.444550 | 2018-08-08T09:14:58 | 2018-08-08T09:14:58 | 102,453,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | h | //
// Created by root on 17-11-14.
//
#ifndef ENGINE_EVENTLOOP_H
#define ENGINE_EVENTLOOP_H
#include "./../base/CurrentThread.h"
#include "./../base/Timestamp.h"
#include "./../base/Mutex.h"
#include "./Callbacks.h"
#include "./TimerId.h"
#include <sys/types.h>
#include <boost/scoped_ptr.hpp>
#include <vector>
clas... | [
"berlinmail@qq.com"
] | berlinmail@qq.com |
582208afe172f01b090c92fbf901ba55fa24fce5 | 9618aeab5df07ffd1d4f204c8cc3af1a2345d420 | /chrome/browser/policy/messaging_layer/storage/storage_module.cc | 17d5fee02590f7406817ddd545b68bde14fb05e4 | [
"BSD-3-Clause"
] | permissive | dmt3o/chromium | 3709c0c73e37aec82dc44d2bbe234d1f1829c32f | d368d5937f235033bd495a57005587ab275536b4 | refs/heads/master | 2022-12-19T04:43:33.801508 | 2020-10-02T02:56:57 | 2020-10-02T02:56:57 | 279,344,900 | 0 | 0 | BSD-3-Clause | 2020-10-02T02:50:00 | 2020-07-13T15:43:43 | null | UTF-8 | C++ | false | false | 2,064 | 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 <memory>
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/memory/ptr_util.h"
#include "chrome/browser/policy/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
801428869057a0f41440e7ca6b7b8911f278d304 | 602bbde8f6823e4054124cbbb447aa656d50026a | /micro-profiler/frontend/marshalling_server.cpp | 009bcd32d93d93c2683caa52a2dabc21b489501b | [] | no_license | fcccode/micro-profiler | d0cf770aeb9d28519c73c28250b2535938f9c5db | 7a5a4e7dc2b368b2bdb5064d27d276380f9408b9 | refs/heads/master | 2020-04-30T08:55:43.765773 | 2019-01-14T01:10:02 | 2019-01-14T01:12:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,611 | cpp | // Copyright (c) 2011-2018 by Artem A. Gevorkyan (gevorkyan.org)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... | [
"artem.gevorkyan@gmail.com"
] | artem.gevorkyan@gmail.com |
b98e9c84cec6e40bbec85be242fb15389bfebc83 | 0465f02a80425228f4adbd21e0039c734ec23b1f | /tests/auto/datasync/mockremoteconnector.cpp | 38fab642ac189ed32f2bdbb1b71e2f3876ada6c5 | [
"BSD-3-Clause"
] | permissive | refaqtor/QtDataSync | 29a3d94d655c782d66d49d7fc3e1897d1ebc0c8f | 5f3a52c32be9ed4880706e12eab94ed1b8200e97 | refs/heads/master | 2021-01-15T19:45:36.385917 | 2017-08-05T12:46:47 | 2017-08-05T12:46:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,139 | cpp | #include "mockremoteconnector.h"
#include <QTimer>
using namespace QtDataSync;
MockRemoteConnector::MockRemoteConnector(QObject *parent) :
RemoteConnector(parent),
mutex(QMutex::Recursive),
enabled(false),
connected(false),
failCount(0),
reloadTimeout(100),
pseudoStore(),
pseudoState()
{}
QtDataSync::Authenti... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
061fc2da61262f9b5f706f82d612ea7ea211948a | 85139c255cf284315d8f742f6edbd0ca9fc6c694 | /LexYacc/cc/Image2Header/rtl8192cu/output.cpp | 2b9d8f8321c66b7bbda19ea5da50af5d39f75ecb | [] | no_license | wjhwsh/Practices2 | b3bfef4cc160addda680b1be528d43e746fd4cf3 | 0d9ed1e0d11599e9b24096239a5085abccfdcf0f | refs/heads/master | 2020-05-05T01:28:31.139762 | 2011-11-03T07:01:33 | 2011-11-03T07:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,789 | cpp | #include <stdio.h>
const unsigned int PHY_REG_1TArray[] = {
0xFF03050E, 0xABCD,
0x024, 0x0011800D, 0x028, 0x00FFDB83, 0x800, 0x80040000, 0x804, 0x00000001, 0x808, 0x0000FC00, 0x80C, 0x0000000A, 0x810, 0x10005388, 0x814, 0x020C3D10, 0x818, 0x02200385, 0x81C, 0x00000000, 0x820, 0x01000100, 0x824, 0x00390004, 0x828, 0x... | [
"kordan@Kordan-MacBook.local"
] | kordan@Kordan-MacBook.local |
44f54a1b9051b497f18f67f40815be9a0a7727d8 | 15af3ec27916e0d26d6528f76981aeb8015c1864 | /Hmwk/Assignment 4/Gaddis_8thED_13.6_InventoryClass/inventory.cpp | 168d1ec748f18ce16ca7f22d9e0cfdf3c97a7fba | [] | no_license | RyanARinger/2018_Fall_17a_RingerRyan | 8dbb2a2dd82124ae65fdf59973028a88028c67ac | 3e15be739ef5357eb5560d2536b78fb3151444a2 | refs/heads/master | 2020-03-28T07:12:59.911577 | 2019-07-09T18:43:44 | 2019-07-09T18:43:44 | 147,864,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | cpp | /*
* File: RetailItem.h
* Author: Ryan Ringer
* Purpose: RetailItem Initialization
* Created on November 7, 2018, 11:31 AM
*/
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
#include "inventory.h"
Invent::Invent(){
Invent::setId(0);
Invent::setQty(0);
... | [
"ringeraryan@gmail.com"
] | ringeraryan@gmail.com |
c818ab5a367c693e8ee627bcb009b1cf4d047c2f | 2cfc1a2ee5f60b98e89c2d8289f1438acc9e6735 | /StereoMakeDelay/common_platform.cpp | 2c9fa62220ae564515f7f62b13c96a8079fb3d01 | [] | no_license | Miyakawa-99/StereoMakeDelay | ee9cac9a09afa6b357f57dd8ca16c8bc1f86b885 | 45de3e4553ae149ec232960d3d39bb886ae43040 | refs/heads/master | 2022-12-10T03:03:37.691080 | 2020-07-25T23:11:10 | 2020-07-25T23:11:10 | 261,438,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,406 | cpp | /*==============================================================================
FMOD Example Framework
Copyright (c), Firelight Technologies Pty, Ltd 2012-2020.
==============================================================================*/
#define WIN32_LEAN_AND_MEAN
#include "common.h"
#include <stdio.h>
#include ... | [
"haru19970409@gmail.com"
] | haru19970409@gmail.com |
60a53ccc3e3a310945130163263e9ba62f6e6d67 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /components/mirroring/service/remoting_sender.cc | 8a72c0d684592659c7b9c846ca34e5896c525cd8 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 7,617 | 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/mirroring/service/remoting_sender.h"
#include <algorithm>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/logg... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
77f79e7ac35a5c582fbcba6e155b4bec4008bbdf | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/ui/base/ime/input_method_ibus.cc | 666bae2c5b80f1762d2a9e57199b38765beb6f82 | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,615 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/ime/input_method_ibus.h"
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#undef FocusIn
#undef FocusOut
#include <... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
ae6b38e2f4805c2c74941d46072b12c2c9592f4d | 58dbbfc002f13063757c1b2cf5907ad119ed6118 | /src/PositionHooks.cpp | d75c41ae929f3a04f657690ab706549b8923cdef | [
"MIT"
] | permissive | muhopensores/RE2-Mod-Framework | aa8e84351d10ec0fdcdbd417846ef2273d322319 | 0def991b598a83a488c0be1bcf78df81e265b8b6 | refs/heads/master | 2020-12-01T14:53:29.513259 | 2019-12-18T07:59:24 | 2019-12-18T07:59:24 | 230,670,244 | 1 | 0 | MIT | 2019-12-28T21:33:09 | 2019-12-28T21:33:09 | null | UTF-8 | C++ | false | false | 5,579 | cpp | #include "Mods.hpp"
#include "REFramework.hpp"
#include "utility/Scan.hpp"
#include "PositionHooks.hpp"
PositionHooks* g_hook = nullptr;
PositionHooks::PositionHooks() {
g_hook = this;
}
std::optional<std::string> PositionHooks::onInitialize() {
auto game = g_framework->getModule().as<HMODULE>();
// Th... | [
"praydog@gmail.com"
] | praydog@gmail.com |
146129f887352fcb23418a383a2fbec832dd0bfd | c0584531bc9d6a1b4f1ecd33f1d4e25ae54c0ab8 | /tibackupapi.cpp | b7ab2e5ad9f237c5ae24be0217d39874d68b2edd | [] | no_license | theinvisible/tiBackupLib | e10233418adfbb127c7fc33ca25a5ca1846ecdcf | 824f34a011513fbd0423d4e9bece9d821ecbc793 | refs/heads/master | 2022-05-19T06:23:39.119016 | 2022-03-25T11:16:21 | 2022-03-25T11:16:21 | 23,285,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include "tibackupapi.h"
tiBackupApi::tiBackupApi(QObject *parent) : QObject(parent)
{
}
| [
"rene@hadler.me"
] | rene@hadler.me |
5c4cc442b5a1314704fec913725a294295be4d04 | 1fdc2b69f34d4169586da5b8d96efd35da672ece | /include/concurrencpp/executors/manual_executor.h | 5b535eb1334f72f6997f9cfb736904dc2e1bab4d | [
"MIT"
] | permissive | David-Haim/concurrencpp | 7d7689c1f263d61027f1d05dc903fa0a58467ad2 | 7a88f5401e15e1b64acae70077e40df1a5a9f6bf | refs/heads/master | 2023-08-17T08:00:00.608787 | 2023-07-15T10:41:45 | 2023-07-15T10:41:45 | 232,289,062 | 1,717 | 167 | MIT | 2023-08-05T15:16:11 | 2020-01-07T09:24:06 | C++ | UTF-8 | C++ | false | false | 3,489 | h | #ifndef CONCURRENCPP_MANUAL_EXECUTOR_H
#define CONCURRENCPP_MANUAL_EXECUTOR_H
#include "concurrencpp/threads/cache_line.h"
#include "concurrencpp/executors/derivable_executor.h"
#include <deque>
#include <mutex>
#include <chrono>
#include <condition_variable>
namespace concurrencpp {
class CRCPP_API alignas(CRCP... | [
"noreply@github.com"
] | David-Haim.noreply@github.com |
5dbaf9b34cec6bdf7c76a77ff7c68caca4dfc05a | 439d28f761c1774f759fdf720c14ab2108bb93b8 | /toi/11/toi11_labor.2.cpp | 2721a92e2fe84ff161232f58413813279e7e6211 | [] | no_license | Chomtana/cptraining | 19fec94cd489c6117f49bd6d80642d60079276f1 | df380badd952dceb335525f03373738c35aa0b3a | refs/heads/master | 2021-01-09T20:53:24.758998 | 2020-04-11T04:10:48 | 2020-04-11T04:10:48 | 56,289,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include <bits/stdc++.h>
#define for1(a,b,c) for(int (a)=(b);(a)<(c);(a)++)
#define for2(i,a,b) for(int (i)=(a);((a)<=(b)?(i)<=(b):(i)>=(b));(i)+=((a)<=(b)?1:-1))
#define until(x) while(!(x))
#define all(x) x.begin(),x.end()
#define mp make_pair
#define subfunc(ret,name,args) function<ret args> name; name = [&] args
... | [
"chomtana001@gmail.com"
] | chomtana001@gmail.com |
0d256215303b6db7a5bf1471c962ffbf5dd60f34 | 87b3e855290ee40d1ce566dd66d3a0d5c1cfe5b4 | /Contests/Contest-CTDL_GT/Contest 3 By me/3/Q.cpp~dd0d66c6d7ca2af224d6bc0565dddddd8ccf1c79 | e862fde3679a212e2301de73f9b94d9cc5bfa44f | [] | no_license | trunghieu99tt/C- | c5cad7dad6caa9b8070d90f8ca72527c80ffa413 | ffe5c1347c48bddbdc72ec47e8d394615edee12f | refs/heads/master | 2023-02-23T13:10:05.975247 | 2021-01-24T15:36:22 | 2021-01-24T15:36:22 | 264,694,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | #include <bits/stdc++.h>
using namespace std;
int n, k;
bool dp[50000];
int a[300];
int main()
{
//freopen("inp.txt", "r", stdin);
memset(dp, 0, sizeof(dp));
ios_base::sync_with_stdio(false);
cin >> n >> k;
dp[0] = 1;
for (int i = 1; i <= n; i++)
cin >> a[i];
for ... | [
"trunghieu99tt@gmail.com"
] | trunghieu99tt@gmail.com | |
51f90610ad0b74df73758c6db21d061d27ecacef | 28617f27f1a57853d5697591a33cc50bf5512efe | /UTS DASAR PEMROGRAMAN/BAB II/bab2.2.3.cpp | 9dffe1d9ae35de8a28768a9bd1b8ca8d11783ad5 | [] | no_license | TinaSriWulanAgustin/UTS-DASAR-PEMROGRAMAN | fc7b0b3540b254a8ee45c4db271182a7d05f13e7 | bba81575927108a5f7ee8ddd201ea21a92fe199c | refs/heads/master | 2020-08-31T11:18:53.462148 | 2019-10-31T03:41:03 | 2019-10-31T03:41:03 | 218,678,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
using namespace std;
int main()
{
char huruf, simbol, digit;
huruf = 'A';
simbol = '+';
digit = '4';
cout << huruf << simbol << digit endl;
return 0;
}
| [
"noreply@github.com"
] | TinaSriWulanAgustin.noreply@github.com |
00039600ae73551d4dd6bc18d4866a1aa24461aa | 4cc5f5024b5ff77a346e08614acf4b361842684c | /RRRduino_Clinic_Tulsa_2021/Code/006_sequence_OOP_test/006_sequence_OOP_test.ino | 79c4c2f994453220d03044ed38cfb6e5a4113ba3 | [] | no_license | nambabwe/other | fb3521daa451d48af3f2ed7ead694e90142fd1cb | 10fe76727a08b91eee353c0f66265824c310bba8 | refs/heads/master | 2023-06-22T05:56:12.314629 | 2023-06-12T12:31:43 | 2023-06-12T12:31:43 | 200,096,313 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | ino | /*
* Tulsa 2021.10.08 Arduino for Beginners Make and Take Clinic
*
* To flash three LEDs, at pin 13, pin 12 and pin 11 in sequence, but roll them!
*
* Author: Speed Muller, Date: 2021.10.08, 08:06
*/
#define VERSION_STR "006_sequence_OOP_test_roll, 2021.10.08, 08:06, ver 0.01"
#define BAUD 115200
#define LED1... | [
"gert.muller@abbott.com"
] | gert.muller@abbott.com |
c3f279842b49b638e8a7ccd6415c6d9b53dc2178 | 9a035e87f0ed1975d785fde0af17b6666cf1412e | /libuavcan/src/transport/uc_transfer_listener.cpp | a48878f0c17344518295bde7daa19d77ebb90fca | [
"MIT"
] | permissive | yexs/uavcan | af5a2cc5da5f95d5a21475694443acdea3479a38 | 489c178681501cd3e95f6329e429ccc2f01868b4 | refs/heads/master | 2020-12-31T01:10:19.216455 | 2015-05-26T13:17:12 | 2015-05-26T13:17:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,105 | cpp | /*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#include <uavcan/transport/transfer_listener.hpp>
#include <uavcan/debug.hpp>
#include <cstdlib>
#include <cassert>
namespace uavcan
{
/*
* IncomingTransfer
*/
int IncomingTransfer::write(unsigned, const uint8_t*, unsigned)
{
UAVCAN_ASSERT(0... | [
"pavel.kirienko@gmail.com"
] | pavel.kirienko@gmail.com |
5f1667bc3e3acd35b10016c7333344adae6aab31 | a568d13304fad8f44b1a869837b99ca29687b7d8 | /Code_15/TOI15/Test8/RT_Traverse.cpp | 8d39d9fe2110fcebdec7571ae6ee2292cd590ac6 | [] | no_license | MasterIceZ/Code_CPP | ded570ace902c57e2f5fc84e4b1055d191fc4e3d | bc2561484e58b3a326a5f79282f1e6e359ba63ba | refs/heads/master | 2023-02-20T14:13:47.722180 | 2021-01-21T06:15:03 | 2021-01-21T06:15:03 | 331,527,248 | 0 | 0 | null | 2021-01-21T05:51:49 | 2021-01-21T05:43:59 | null | UTF-8 | C++ | false | false | 780 | cpp | /*
TASK:RT_Traverse
LANG: CPP
AUTHOR: KersaWC
SCHOOL: RYW
*/
#include<bits/stdc++.h>
using namespace std;
struct A{
int u,n,bm;
};
vector<int> g[10];
queue<A > q;
int main(){
int n,m,a,b,i,bm,w,cou=0,u;
scanf("%d %d",&n,&m);
while(m--){
scanf("%d %d",&a,&b);
g[a].push_back(... | [
"w.wichada26@gmail.com"
] | w.wichada26@gmail.com |
e8f2a539ba145bfa369958cff572095db7e3d392 | 3a4af86cd3f3ec1c7254018c98288dabde7054c5 | /Zadaca3/main.1.cpp | b26e95bd3a1b03354324ea9ede0a5a8fbab7803f | [] | no_license | laky55555/racunarski_praktikum_1 | 8298f04b76dbaba40b3325892b8680ab18986dba | 660d5255ca41d6f98340e82160b27d7cc4147049 | refs/heads/master | 2020-05-23T08:12:19.570282 | 2016-10-07T21:26:04 | 2016-10-07T21:26:04 | 70,283,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include "comp.h"
using namespace std;
void print_computer(Computer &c)
{
cout << c.get_mhz() << " " << c.get_vendor() << " " << c.get_memory() << endl;
}
int main(void)
{
Computer computer(1800, "intel", 1024);
Notebook notebook(2000, "amd", 2048, 15.6);
Tablet tablet(2200, "intel",... | [
"laky55555@gmail.com"
] | laky55555@gmail.com |
1364096502c21a7775b3c30917ae861894cb88af | df323151561064cd4014184568f2c086f0fbcef4 | /Firmware/src/SerialTest.cpp | 969bf075488d28d312f67a7a1264873916a9c1a6 | [] | no_license | CommonWealthRobotics/SmallKat | af20ad330ab849e10eeb32a82a845510b66c1d87 | 8eb913230ea6e11f0d9f2a86f7bfb47c31656616 | refs/heads/dynamics | 2020-03-18T20:15:13.637728 | 2019-05-18T05:41:51 | 2019-05-18T05:41:51 | 135,204,056 | 0 | 0 | null | 2018-06-11T23:45:59 | 2018-05-28T20:02:02 | Makefile | UTF-8 | C++ | false | false | 250 | cpp | //
// Created by keionbis on 10/26/17.
//
#include "main.h"
void SerialSetup(){
HWCOMMS.begin(2000000);
}
void SerialRun(){
HWCOMMS.write("/r/n%d",1);
}
void TestSerial(){
SerialSetup();
while(1)
{
SerialRun();
}
} | [
"keion96@gmail.com"
] | keion96@gmail.com |
b819fd9bc4e70ae9c1fd3d220e7b7b322dc20014 | c60e4f97890cc7329123d18fd5bc55734815caa5 | /3rd/xulrunner-sdk/include/nsIDOMHTMLDataListElement.h | 22dba2c3aa5913c528c1347fbae3ad9a795dfc6f | [
"Apache-2.0"
] | permissive | ShoufuLuo/csaw | cbdcd8d51bb7fc4943e66b82ee7bc9c25ccbc385 | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | refs/heads/master | 2021-01-19T10:02:51.209070 | 2014-04-30T19:53:32 | 2014-04-30T19:53:32 | 16,976,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,858 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/dom/interfaces/html/nsIDOMHTMLDataListElement.idl
*/
#ifndef __gen_nsIDOMHTMLDataListElement_h__
#define __gen_nsIDOMHTMLDataListElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For ID... | [
"luoshoufu@gmail.com"
] | luoshoufu@gmail.com |
f43b2e5a31c3c818b884767768db085adb5e7c62 | 0065cefdd3a4f163e92c6499c4f36feb584d99b7 | /rogue/cheat/sdk/SDK/WBP_PurchaseConfirmation_classes.h | 409abdd2184633d48ace847a323c6265d6be477c | [] | no_license | YMY1666527646/Rogue_Company_hack | ecd8461fc6b25a0adca1a6ef09ee57e59181bc84 | 2a19c81c5bf25b6e245084c073ad7af895a696e4 | refs/heads/main | 2023-08-20T06:07:14.660871 | 2021-10-21T20:33:53 | 2021-10-21T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,342 | h | #pragma once
// Name: roguecompany, Version: 425
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------... | [
"51001754+dmitrysolovev@users.noreply.github.com"
] | 51001754+dmitrysolovev@users.noreply.github.com |
e5b5cdf136b89207e2201d826d5b0973f24a4823 | f947dddcc697e82b4658765a3998ebad04467fff | /DataStruct/RBTree/test.cpp | c5acb2a24c9b924b6e5c48d30dad537396f7a9bd | [] | no_license | sworsman31415926/linux_send_message | 7bd987e37e24e608c036bc38d41c1273abf2c4a5 | 1f198018f1f1a19856f6c98395e2e26236bf9efe | refs/heads/master | 2023-02-01T00:12:32.270025 | 2020-12-15T05:52:10 | 2020-12-15T05:52:10 | 321,565,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | /**************************************
*文件说明:test.cpp
*作者:高小调
*创建时间:2017年04月08日 星期六 20时50分15秒
*开发环境:Kali Linux/g++ v6.3.0
****************************************/
#include"RBTree.hpp"
int main(){
RBTree<int,int> rbt;
int arr[][10] = {{2,4,5,3,6,9,1,0,7,8},
{4,2,6,1,3,5,15,7,16,14}};
for(int i=0; i<sizeof(arr)... | [
"hmf31415926@126.com"
] | hmf31415926@126.com |
3e09b35e46ff186a0827a4736f7523acb07bae4d | c8167b5af3a7462b1a302855ea941d5f0e6c0b4a | /configuration/include/IVolumeMeasurementConfiguration.h | c8a441ad1394308e77c86b820849f38ea26a16fa | [
"MIT"
] | permissive | elchtzeasar/balcony-watering-system | 92d07b959c186560d562fda8539be6bf3ba3bc48 | 2fb20dc8bdf79cff4b7ba93cb362489562b62732 | refs/heads/master | 2020-06-16T10:25:30.792582 | 2020-04-29T07:52:38 | 2020-04-29T07:52:38 | 195,538,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | #ifndef CONFIGURATION_SRC_IVOLUMEMEASUREMENTCONFIGURATION_H_
#define CONFIGURATION_SRC_IVOLUMEMEASUREMENTCONFIGURATION_H_
#include <string>
#include <vector>
namespace balcony_watering_system {
namespace configuration {
class IVolumeMeasurementConfiguration {
public:
virtual ~IVolumeMeasurementConfiguration() = de... | [
"westman.peter@gmail.com"
] | westman.peter@gmail.com |
ff53dd0cfff15e2f3d26d2f7464bf3b6424eec83 | feb35ca6518e988edc42e946d361b2bb26703050 | /earth_enterprise/src/fusion/gst/gstPolygonCleaner_unittest.cpp | 16cd281c057535d9a4fd5cf0d8c33df9dc90ef52 | [
"Apache-2.0"
] | permissive | tst-ccamp/earthenterprise | ccaadcf23d16aece6f8f8e55f0ca7e43a5b022fe | f7ea83f769485d9c28021b951fec8f15f641b16c | refs/heads/master | 2021-07-11T07:10:57.701571 | 2021-02-03T22:03:13 | 2021-02-03T22:03:13 | 86,094,101 | 2 | 0 | Apache-2.0 | 2021-02-03T22:10:41 | 2017-03-24T17:29:52 | C++ | UTF-8 | C++ | false | false | 25,167 | cpp | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"avnish@sunrise.mtv.corp.google.com"
] | avnish@sunrise.mtv.corp.google.com |
282e33c7ca2c4d2997e1800fb6ab374923ed6344 | d4161009b411de8e28647fb7efb28546b2776fa0 | /myparserCopy.cpp | 8efa0b0ec5736976f84278ce0e03483590d7a28b | [] | no_license | Den-ice/CS421-Theory-of-Computing-English-to-Japanese-Translator | 9510f9d45b850dcbc43c80cc4eedc56bb6efa088 | d6d1a5b5555ef9b435fc1acb904c09b20f3e3f4f | refs/heads/master | 2022-12-06T02:01:03.074137 | 2020-08-29T22:25:43 | 2020-08-29T22:25:43 | 291,355,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,063 | cpp | #include<iostream>
#include<fstream>
#include<string>
#include<stdlib.h>
using namespace std;
//=====================================================
// File scanner.cpp written by: Group Number: **
//=====================================================
// --------- HELPER FUNCTIONS ---------------------
... | [
"noreply@github.com"
] | Den-ice.noreply@github.com |
1116de0226cee19604da5394f04ff0787059c753 | 4fef69ca0cddc1986e159b9fe5fe400e4ee724f1 | /sungunjo/BJ_14500.cpp | d179171c057522495b6f5cdcd1cd93b43b2ceb7b | [] | no_license | Banggre/Algorithm_Study | 1865752627286ec27dcfb8844777511312265477 | 9ce1a4ebe02b60845f06ae4b08c61db2a0245bbf | refs/heads/master | 2023-07-06T16:37:02.093490 | 2020-09-12T13:53:35 | 2020-09-12T13:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,399 | cpp | #include <iostream>
#include <cstring>
#include <vector>
#include <queue>
#include <stack>
#include <utility>
#include <algorithm>
#include <cmath>
using namespace std;
#define IOS_SETTING \
ios::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
int lineFirst(const vector<vector<int> > &map, int x, int y_sta... | [
"vfjdg12@gmail.com"
] | vfjdg12@gmail.com |
e735bbdd7ac49b00bf208ff068a5644ead61e51d | 6f65de8e12527de3050414556842da8a20d2230c | /src/Qir/Tests/QIR-dynamic/qir-driver.cpp | 557c7647404d540297315bbdc0f50b60e94d818b | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"Unlicense"
] | permissive | microsoft/qsharp-runtime | 2f509485bed522ea17b412d113ce583dc8cadbb9 | 8d29158a3ef352d3ed470ac0d1a11eb7ac1f7f4d | refs/heads/main | 2023-08-29T18:44:13.395606 | 2023-08-02T05:14:17 | 2023-08-02T05:14:17 | 190,621,223 | 315 | 115 | MIT | 2023-09-13T00:12:03 | 2019-06-06T17:20:46 | C# | UTF-8 | C++ | false | false | 3,713 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <iostream>
#include <fstream>
#include <cstdio>
#include <memory>
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
extern "C"
{
int64_t Mic... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
18ea2f3100d89badd0bdc1c1804721258f8305be | ee566f1e387d6c4009cb299a4d5f4c00bd3cc901 | /src/orange/surf/detail/QuadraticSolver.hh | 05b490c57060979808c76b657b9163e4cfed176a | [
"MIT",
"Apache-2.0"
] | permissive | celeritas-project/celeritas | 3d4f5aedd01c9c21b62ae0712c84f027e05179d3 | e7fe01331baf055393d78bdaceff8c1f7db4c9c4 | refs/heads/develop | 2023-09-01T14:10:32.210033 | 2023-08-31T21:14:20 | 2023-08-31T21:14:20 | 250,622,820 | 48 | 24 | NOASSERTION | 2023-09-14T17:11:38 | 2020-03-27T19:06:46 | C++ | UTF-8 | C++ | false | false | 6,725 | hh | //----------------------------------*-C++-*----------------------------------//
// Copyright 2021-2023 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//--------------------------------------------------------------------... | [
"noreply@github.com"
] | celeritas-project.noreply@github.com |
ff5867315b90d45f3f93f211fc3ddb7f3b1d89aa | 976326e1af284103cf360dbb0966a8fd0213e32b | /main.cpp | 7ed5fd47950ba4f60ff24fa2432ccd2dc9dab1ff | [
"MIT"
] | permissive | beichen520/tvip | 9caedd0d75016f7ee183f9676d35b1072782ce0b | ffebd6cf78f84fc1f3f7733c45cdcb028b74c841 | refs/heads/master | 2020-11-27T11:05:51.269230 | 2019-12-20T15:19:06 | 2019-12-20T15:19:06 | 229,414,622 | 0 | 0 | MIT | 2019-12-21T10:58:24 | 2019-12-21T10:58:24 | null | UTF-8 | C++ | false | false | 4,693 | cpp | //VIP plugin by thirteenc13
#include<cstdio>
#include<list>
#include<string>
#include<algorithm>
#include"../cmdhelper.h"
#include"../base/base.h"
#include"../serial/seral.hpp"
#include<dlfcn.h>
#include<cstdlib>
#include"../gui/gui.h"
using std::string;
using std::to_string;
using std::unordered_map;
extern "C" {
... | [
"thirteenc13@163.com"
] | thirteenc13@163.com |
59a476de35ccfc0d85316c7b9618386fb056d2cc | 0f645b9883dec87ea7e91f3880e31bfac838fe5b | /arduino/projects2/barobot_mainboard2/source/barobot_mainboard2.cpp | 092c3a5966f04c02dbcb1518aa8dc8ef35249528 | [] | no_license | Irytacja/barobot | a28467f182ce62d5156eb4d4ceca3e013e3867fb | 880f3524877fbb2619f24696907bbe948066491c | refs/heads/master | 2020-08-31T13:59:04.252340 | 2015-04-02T17:46:45 | 2015-04-02T17:46:45 | 218,705,808 | 1 | 0 | null | 2019-10-31T07:12:07 | 2019-10-31T07:12:04 | null | WINDOWS-1252 | C++ | false | false | 9,108 | cpp | #define MAXCOMMAND 10
#define IS_MAINBOARD true
#include "barobot_mainboard2_main.h"
#include <barobot_common.h>
#include <Arduino.h>
#include <WSWire.h>
#include <constants.h>
#include <AsyncDriver.h>
#include <FlexiTimer2.h>
#define INBFLENGTH 5
#define I2CDELAY 10
byte my_address = 0x00;
volatil... | [
"ja.arczi@gmail.com@cdf298a0-faf9-3d2b-5f3e-60a35f28f79b"
] | ja.arczi@gmail.com@cdf298a0-faf9-3d2b-5f3e-60a35f28f79b |
9ac65155ed8c4ff1bea1f5bb0f7ab47d265c69ec | 727ffac1c2e3e1f262d0dd6ff1d6adedbe6c639a | /cmt/src/freeverb/Components/revmodel.h | 3f552ce4f1c46e1a047b07381c640962a507e88f | [
"LicenseRef-scancode-public-domain"
] | permissive | bketech/bt1-plugins | bcb61d1365057bb380bd45ea7bdf7fad8f977ce5 | 931602204d34a8f184500a2e526a17e01e5ce11e | refs/heads/master | 2020-04-15T02:56:20.705424 | 2015-06-01T21:56:51 | 2015-06-01T21:56:51 | 21,253,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,992 | h | // Reverb model declaration
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// This code is public domain
#ifndef _revmodel_
#define _revmodel_
#include "comb.h"
#include "allpass.h"
#include "tuning.h"
class revmodel
{
public:
revmodel();
void mute();
void processmix(float ... | [
"mfisher31@gmail.com"
] | mfisher31@gmail.com |
3ddb72e1f988a5b41f5eb6fdb086cdc03f218dd0 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/std/ranges/adaptors/p2281.cc | cd9b9b2dd3c7cb1c6c2b52f6165858c8da08edaa | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 2,615 | cc | // Copyright (C) 2021-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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; either version 3, or (at your op... | [
"rink@rink.nu"
] | rink@rink.nu |
9c4d138b7cff6b8365c70770a23cbf46ed4a3f64 | 790c9630635086120f9f9b418ae509fee6230aa8 | /kruskal.cpp | 636c45a0afad0b6c9f9be4c42d881eb413405a46 | [] | no_license | sju07144/algorithm | ceb5a0f84ec8c94259547a6123b20acf2f68e40f | abb8d8d366e7a1724753c256d723de59b0202788 | refs/heads/master | 2022-12-08T23:05:30.559881 | 2020-09-07T09:41:52 | 2020-09-07T09:41:52 | 293,486,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | #include <iostream>
#include <algorithm>
#define SIZE 20000
using namespace std;
class graph
{
public:
int start, end, weight;
};
int g[201], vertex, edge;
graph gph[SIZE], temp[SIZE];
inline void union_find(int a, int b)
{
if (a < b)
g[b] = a;
else
g[a] = b;
}
inline int get(int x)
{
if (x == g[x])
retu... | [
"sju07144@naver.com"
] | sju07144@naver.com |
fa97eaf2f6de99b97f3daf5a1982a17e07b74e5c | ab2f5c13d874cd09d0ad51d980beeba37df22d00 | /main.cpp | c7c3b0fdaa4edd460016e82e5e457d12e8d76f53 | [
"MIT"
] | permissive | manashmandal/AdvancedELearning | 7565c59e9600832997be830dcb965974daf37371 | c5dd591a5420a180051fc535807c1284dec7101f | refs/heads/master | 2021-05-29T23:06:58.735166 | 2015-07-13T21:04:05 | 2015-07-13T21:04:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | #include "mainwindow.h"
#include "qbase.h"
#include <QApplication>
#include <QSplashScreen>
#include <QTest>
#include "qbaseoperations.h"
#include <QWidget>
#include <QDialog>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QSplashScreen *splash = new QSplashScreen;
splash->setPixmap(QPixm... | [
"manashmndl@gmail.com"
] | manashmndl@gmail.com |
dd341131e0ada3e2e00be579b7cf89b5b9edeb6a | 6c3cc18a5c926d2b33b714262178ef73fa989c50 | /tutorial18/tutorial18.cpp | 75fb17927848f730df413163aaf36a38e9c9ed0d | [] | no_license | emeiri/ogldev | 4c5e53d7b6ddecfcc694d5cd880c14db9869652d | a23402e0bfd48508dbfd4002112590af56a3d070 | refs/heads/master | 2023-08-03T18:56:33.219078 | 2023-07-23T19:43:20 | 2023-07-23T19:43:20 | 37,465,193 | 378 | 151 | null | 2023-03-09T16:47:36 | 2015-06-15T12:58:00 | C++ | UTF-8 | C++ | false | false | 7,898 | cpp | /*
Copyright 2011 Etay Meiri
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is dist... | [
"etay.meiri@gmail.com"
] | etay.meiri@gmail.com |
d93658312c6d3037df9527aa5eda302f70fc9e58 | bd6e36612cd2e00f4e523af0adeccf0c5796185e | /src/core/stdClass.cc | 0a00743d6bb7a6080528b904d450a5729351d7af | [] | no_license | robert-strandh/clasp | 9efc8787501c0c5aa2480e82bb72b2a270bc889a | 1e00c7212d6f9297f7c0b9b20b312e76e206cac2 | refs/heads/master | 2021-01-21T20:07:39.855235 | 2015-03-27T20:23:46 | 2015-03-27T20:23:46 | 33,315,546 | 1 | 0 | null | 2015-04-02T15:13:04 | 2015-04-02T15:13:04 | null | UTF-8 | C++ | false | false | 1,586 | cc | /*
File: stdClass.cc
*/
/*
Copyright (c) 2014, Christian E. Schafmeister
CLASP is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.... | [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
131468e62a56fd9b888c80df194ccc04dbdec36b | 0cd64c91e5b5612865bf9b94d72b78f251b36631 | /Boids.h | 1a61ee24c140b65941a3f50a6b32fb421aacbe1c | [
"MIT"
] | permissive | MylerRL661/BoidsGame | 75168fc28fef8d6dcc33dc18872a415c0d25aafa | 1393bee9097e90b530c83f2b150d4897278088ed | refs/heads/main | 2023-03-15T10:25:28.747794 | 2021-03-14T14:41:05 | 2021-03-14T14:41:05 | 347,661,503 | 1 | 0 | MIT | 2021-03-14T14:41:05 | 2021-03-14T14:36:24 | null | UTF-8 | C++ | false | false | 1,928 | h | #pragma once
#include <Urho3D/Engine/Application.h>
#include <Urho3D/Input/Input.h>
#include <Urho3D/Core/ProcessUtils.h>
#include <Urho3D/Engine/Engine.h>
#include <Urho3D/Graphics/AnimatedModel.h>
#include <Urho3D/Graphics/AnimationController.h>
#include <Urho3D/Graphics/Camera.h>
#include <Urho3D/Graphics/... | [
"noreply@github.com"
] | MylerRL661.noreply@github.com |
f8e663db125b8bce8c4dffb9501850ad6ef75d8a | eab98d8b02774cb9e15b51a6edc51d754180f9e8 | /20140811/Levenshtein/unordered_map.cpp | 5af388512621bffc683cb99c62278d5997c64b1a | [] | no_license | trungkstn/project | 97cf2cc970e4726ca878a07a1420b3792e2f4aec | 54c97705694a0886f13a3cb3fab760473408bbce | refs/heads/master | 2021-01-23T11:59:57.947377 | 2014-08-13T06:35:00 | 2014-08-13T06:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | cpp | /*************************************************************************
> File Name: unordered_map.cpp
> Author: Soul
> Mail:souldong1591@gmail.com
> Created Time: 2014年08月11日 星期一 23时11分52秒
************************************************************************/
#include <iostream>
#include <string>
#includ... | [
"souldong1591@163.com"
] | souldong1591@163.com |
cb6afaf8061bd9eb4714a506fb46b962a6823f7b | 4ddf464dff8ed5572789dc82cd2a8a723aef6127 | /src/qt/notificator.h | 52af06c5661292723b85d09b2f36ee850650a5eb | [
"MIT"
] | permissive | clycoin/clycoin | 2c577cf4a308b39e2cf55f6e93b8976ebe1b663b | 34efad8b2554b9a3369a059cb78fbe45d8007f53 | refs/heads/master | 2020-04-08T08:43:37.493214 | 2018-11-26T15:54:54 | 2018-11-26T15:54:54 | 159,191,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,878 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_NOTIFICATOR_H
#define BITCOIN_QT_NOTIFICATOR_H
#if defined(HAVE_CONFIG_H)
#include "config/clycoin-config... | [
"clycoin@gmail.com"
] | clycoin@gmail.com |
e6ecccd47e59a2eab03b473acf0ecda46d9140a0 | a605ff26c58636a32e297a8362ebfaa3eac5b135 | /include/compose.h | 0d89d0d8f1cb1f24bef770e61763689b5edf627c | [] | no_license | git-patrick/math | 4c867d81494df9c9139c1dbabfcdbebd27f338cf | dcf7fa27a29891d8f0545626b9297d53251696c6 | refs/heads/master | 2020-09-12T12:33:09.713755 | 2014-06-12T17:42:46 | 2014-06-12T17:42:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | h | //
// compose.h
// math
//
// Created by Patrick Sauter on 4/12/14.
// Copyright (c) 2014 Patrick Sauter. All rights reserved.
//
#ifndef math_compose_h
#define math_compose_h
#include <iostream>
#include <pat/compose.h>
namespace pat {
template <typename F, typename ... G>
std::ostream & operator << (std::ost... | [
"ehh.patrick@gmail.com"
] | ehh.patrick@gmail.com |
4f8d29c73b2fd2fe1e546ca9ca117b8a89d44c4c | 73a0f661f1423d63e86489d4b2673f0103698aab | /oneflow/core/platform/include/wrapper.h | 2119e44d426195ad4a29b4d600622f8a5745e4e9 | [
"Apache-2.0"
] | permissive | Oneflow-Inc/oneflow | 4fc3e081e45db0242a465c4330d8bcc8b21ee924 | 0aab78ea24d4b1c784c30c57d33ec69fe5605e4a | refs/heads/master | 2023-08-25T16:58:30.576596 | 2023-08-22T14:15:46 | 2023-08-22T14:15:46 | 81,634,683 | 5,495 | 786 | Apache-2.0 | 2023-09-14T09:44:31 | 2017-02-11T06:09:53 | C++ | UTF-8 | C++ | false | false | 1,254 | h | /*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | Oneflow-Inc.noreply@github.com |
13a1db4e084ef59e0eeaf86252835e95656696c0 | cc75fb537fca9792cf8c9e3c69c800da37102524 | /src/Magnum/DebugTools/ForceRenderer.h | 463420219765adf3b9a626cc567d4a4465b79757 | [
"MIT"
] | permissive | funkybunky777/magnum | 8150b607af76adebf529531d2d798d06e8e0cf16 | a8fdcd44d10a5549d355f42caab4568a6dfeb1a9 | refs/heads/master | 2020-03-14T05:27:05.608887 | 2018-04-25T07:11:43 | 2018-04-25T07:11:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,755 | h | #ifndef Magnum_DebugTools_ForceRenderer_h
#define Magnum_DebugTools_ForceRenderer_h
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
ae4c72da219096d73f0d695a4f9aa2bcf30d4748 | 329a3d76b08f42a26982753cdcffe5b33fc65242 | /src/solvers/Solver.h | ea16c89534dfdf60cbde97fbc6ddcbc654dbd28c | [
"MIT"
] | permissive | mdd36/picture_maze_solver | 6fe84f53abf059f7b9eddbcf8d064c0f5cfe29a4 | 6f7e8c997960ea5dc1e0e725026d8ff0b0cd9dee | refs/heads/master | 2021-04-03T10:27:24.895184 | 2018-08-22T20:14:55 | 2018-08-22T20:14:55 | 124,805,325 | 0 | 0 | MIT | 2018-08-22T20:14:55 | 2018-03-11T22:24:02 | C++ | UTF-8 | C++ | false | false | 3,241 | h | //
// Created by Matthew on 3/21/2018.
//
#pragma once
#include "../graph/GraphNode.h"
#include <vector>
#include <queue>
class Solver{
public:
virtual void solve(GraphNode* head, GraphNode* tail, std::vector<std::vector<int>>* grid)= 0;
virtual std::string getTypeString()= 0;
static const int RED = 2;
... | [
"matthew.dickson.137@gmail.com"
] | matthew.dickson.137@gmail.com |
5ed66a216d160786a3e54a83814ada6d961a31cc | 7817bb863b7ee98ff159991c9765327d63e297ed | /test/test_animations/test_fade/test_fade.cpp | dbe0b89ce66af36f1da92672ee9e0ba721b27dee | [] | no_license | dynamatt/cup-pong-firmware | 2c78044acde0426f4e4d4c92615d13b66d901c4c | f901d2faa1f28fcf8fa4249b50947994f55bdf3d | refs/heads/master | 2023-07-25T10:54:28.061693 | 2023-07-15T04:25:53 | 2023-07-15T04:25:53 | 217,632,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | cpp | #include <unity.h>
#include <stdio.h>
#include "animation.h"
#include "animations/fade.h"
#include "timer.h"
#define TEST_ASSERT_LEDS(i, r, g, b) TEST_ASSERT_EQUAL_UINT8_MESSAGE(pixels_live[(i)].red, (r), "Red index "#i);TEST_ASSERT_EQUAL_UINT8_MESSAGE(pixels_live[(i)].green, (g), "Green index "#i);TEST_ASSERT_EQUAL_U... | [
"mattmwilliams89@gmail.com"
] | mattmwilliams89@gmail.com |
02df8a7b1310d3ac7e7f9e3514bdf23769f58705 | ac7333429239942f0ba91a6fdec4c9f6efd60c88 | /code/LCA.cpp | a853683543d9ec1a02ae8277affa55bb899f24ef | [
"MIT"
] | permissive | Keyboard2018/ACM-Library | 8a94407c072dd23edeb67c4110d688f8dc310cf9 | 2ab2bf6424345c79a83f0de642bacf4de3e0d676 | refs/heads/master | 2020-04-17T14:50:17.784918 | 2019-01-14T14:05:42 | 2019-01-14T14:05:42 | 166,673,763 | 1 | 0 | MIT | 2019-01-20T14:58:54 | 2019-01-20T14:58:53 | null | UTF-8 | C++ | false | false | 2,846 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<vi> vvi;
typedef pair<int, int> pii;
typedef vector<pii> vii;
typedef vector<bool> vb;
typedef vector<string> vs;
const int di[] = { -1, 0, 1, 0, -1, 1, 1, -1 };
const int dj[] = { 0, 1, 0... | [
"khaled.hamedt@gmail.com"
] | khaled.hamedt@gmail.com |
8b0c63056185b0c37d87b3e2258051a8e8762ca2 | 59f380cdd7f87281f3444a4b150e5c1e33a94eb2 | /Maximum Product.cpp | d7797411e37c46078d7bf51a28ccd65be650f656 | [] | no_license | raihanshifat/Codeforces | 5968d9b17765838dce3d7deacb962e4dd03da47e | a78747225d876ffb3376a7e398cb15c1acca6aec | refs/heads/main | 2023-04-13T09:18:59.756409 | 2021-04-19T20:13:07 | 2021-04-19T20:13:07 | 356,556,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
vector<long long>inp;
int size=n;
long long result;
while(n--)
{
long long m;
cin>>m;
inp.push_back(m);
... | [
"salraihan444@yahoo.com"
] | salraihan444@yahoo.com |
def769925cbbd70bf0b8dc355667b34347dc07ed | 3c6ed068fb1b18617fec8f7c6ab824e0bfe87892 | /code/src/main.cpp | 894fa2ced51fe942354db2f285f9d559c6f65c5a | [] | no_license | martigomezprunera/Particles | cb42a73f7bcebc97c5654d49a3fc8b2b88a17b98 | 89524a413e54e892eed2684fb949c4b500cf3071 | refs/heads/master | 2021-01-24T00:54:16.971560 | 2018-02-26T20:45:56 | 2018-02-26T20:45:56 | 122,786,495 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 3,502 | cpp | #include <windows.h>
#include <GL\glew.h>
#include <SDL2\SDL.h>
#include <imgui\imgui.h>
#include <imgui\imgui_impl_sdl_gl3.h>
#include <cstdio>
#include "GL_framework.h"
extern void PhysicsInit();
extern void PhysicsUpdate(float dt);
extern void PhysicsCleanup();
extern void GUI();
extern void GLmousecb(MouseEvent... | [
"magopru1995@gmail.com"
] | magopru1995@gmail.com |
ddcf3a87a7c71b31a865fd39c32704d80c8c41ee | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /HLT/trigger/AliHLTTriggerFastJet.cxx | 29a9470657129d2de07cc508f0a29c3c021ad868 | [
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 12,284 | cxx | //**************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* ... | [
"fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863"
] | fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863 |
e23bfba7bd92e687f65691b3f25e5fc96e4d815c | 52ed29219adcb6425f7c4f7dacb959fa4923cd5e | /lab_7/lab_7.ino | 2936d7b112451983049c120015677100a4919aff | [
"MIT"
] | permissive | kirito25/Small-Arduino-Projects | d16c0b3350a8f49dbe3f4fb5688c53afc2a14acb | 06542220cc34b265d30b90690eb141cb338d6d47 | refs/heads/master | 2021-01-18T20:08:42.845809 | 2017-10-03T19:31:02 | 2017-10-03T19:31:02 | 86,942,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,571 | ino | long distance, old_distance, velocity, acceleration, old_velocity, old_duration;
const int pingPin = 5;
void setup() {
// initialize serial communication:
Serial.begin(9600);
}
void loop() {
// establish variables for duration of the ping,
// and the distance result in inches and centimeters:
long duration,... | [
"cristian@cs.umb.edu"
] | cristian@cs.umb.edu |
b5082df5c532940ccdc915ec20e51c616fe12196 | 84b2192c6b7a537a1a21ba50d4f79b00fa097fca | /UNITSUSerial_ESP8266.cpp | 46332003223dccd7f328c732fb362fe04ecfbafc | [] | no_license | devops-unitsu/UNITSUSerial | 7348776ac231d614bbc511f985292543a1b2d120 | 0dba7653b0805046071ad6c7085d2b9320f83d45 | refs/heads/master | 2020-11-24T12:48:35.531827 | 2019-12-15T18:39:34 | 2019-12-15T18:39:34 | 228,151,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,096 | cpp | #include <UNITSUSerial.h>
#include <UNITSUSoftwareSerial.h>
#define DETECT_BAUDATE_TIMEOUT 250
String UNITSUSerial::getLogString() const {
String log;
log.reserve(48);
log = "UNITSU serial: ";
if (isSWserial()) {
log += "SW";
} else {
log += "HW";
}
log += ": rx:";
log += String(_receiveP... | [
"noreply@github.com"
] | devops-unitsu.noreply@github.com |
02ebe759134633046beee9b6491f0c206923a902 | 339a4bd8cfed11aec8de5658cfccf53befd1457c | /include/box2d/b2_fixture.h | 98b1143ba8f54faa54bb9e2a973488b4552a08f9 | [] | no_license | LEE-JAE-HYUN179/box2d-pinballgame | 574709d74fa82d4129b5043e4ec52721fdf45367 | 97feb095ecf9df0a3a629d9de603fbaa7ed0731b | refs/heads/master | 2022-12-31T05:53:23.698719 | 2020-10-18T09:50:29 | 2020-10-18T09:50:29 | 301,833,366 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,278 | h | // MIT License
// Copyright (c) 2019 Erin Catto
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merg... | [
"leejaehyun1223@gmail.com"
] | leejaehyun1223@gmail.com |
3cf93184d0b27fdb116320645d6d7fc03fc9b595 | 2904c9141a848f2aaa40b9289fc8401fa5b98d83 | /DynLighting.ino | 799408fdfff89feda0a45123468681ba488e0c4b | [] | no_license | mdeyell/UCSC-hackathon-2015 | 7c1b00f5b8eea1ebfeb31e41576f5e5daa54a9af | 81af8e1a3bdc810c117bdcdeb1ec019d0928bda2 | refs/heads/master | 2016-09-06T19:10:55.375441 | 2015-01-11T20:53:52 | 2015-01-11T20:53:52 | 29,043,933 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,534 | ino | #include <aREST.h>
// Create aREST instance
aREST rest = aREST();
void setup() // Built-in initialization block
{
tone(4, 3000, 1000); // Play tone for 1 second
delay(1000); // Delay to finish tone
//for use with the room's li... | [
"Matthew@eduroam-231-234.ucsc.edu"
] | Matthew@eduroam-231-234.ucsc.edu |
4229238d7ac7e4cefd1ee37c9d11dee1ccff454c | ffb9b6b789f77bfdf95dcc3a479ed5dc13a28249 | /IpcDelegate/AVLog.h | e8d494e1e1e154de51f46a2bad866b8f686463f7 | [
"MIT"
] | permissive | antonplakhotnyk/ipcdelegates | 1ba23adeb875d2ebed2762d77dc3fe5b4e1f744e | 0fc30118747596035fd13bf1dd55fa8c61fd1ad5 | refs/heads/master | 2021-01-11T06:22:56.169815 | 2016-10-05T16:12:26 | 2016-10-05T16:12:26 | 69,951,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | #pragma once
class AVLog
{
public:
AVLog();
~AVLog();
struct Options
{
bool use_thread = true;
bool use_file_and_line = true;
};
virtual void TimeStamp(uint64_t* tik, uint64_t* freq) = 0;
virtual uint32_t MessageNumber() = 0;
virtual size_t ThreadId() = 0;
virtual void WriteMessage(const char* msg, size... | [
"antonix@aitona.com"
] | antonix@aitona.com |
b3ae2d3f5ac4a1768ac33fae47d109d78de31d1f | 7633802e35480e1b44d3a557f5f62a9e5801976f | /DSA/ROCKPAPERSCISSORS.cpp | 41d6b198204f0feb63338116cd58477af213f659 | [] | no_license | vaibhavagarwal47/Competetive-Coding-With-C- | 80740d9c3a7bd24fb2bc232e0921e33397f073a3 | a2983b106b8e13d6934a67c5619ca0cdb87ee8c3 | refs/heads/main | 2023-03-20T11:50:53.427504 | 2021-03-10T13:25:16 | 2021-03-10T13:25:16 | 329,033,317 | 0 | 0 | null | 2021-01-12T15:42:16 | 2021-01-12T15:42:15 | null | UTF-8 | C++ | false | false | 1,722 | cpp | #include<iostream>
#include<windows.h>
using namespace std;
const int max=5;
void displayinfo()
{
cout<<"\t\t\tWELCOME TO THE GAME"<<endl;
cout<<"\t\t\tROCK-PAPER-SCISSORS"<<endl;
cout<<"THERE ARE TOTAL OF 5 ROUNDS YOU WILL PLAY WITH COMPUTER"<<endl;
cout<<"YOU NEED TO WIN MINIMUM OF 3 ROUNDS TO WIN THE GAME"<<endl... | [
"58652650+vaibhavagarwal47@users.noreply.github.com"
] | 58652650+vaibhavagarwal47@users.noreply.github.com |
6745e534a9e3cbd8f82845dcca1f79f891d19096 | 1dae8da18d5acc2511fc7ece8cf447fbd790d303 | /122_BestTimeToBuyAndSellStock2/BestTimeToBuyANdSellStock2.cc | ce4ad35c2e27d11ca399101ebedeb34876450dc6 | [] | no_license | zhouStar7/LeetCode | d476526dc4dd217a8d3c3675282baf9b27c84364 | 5e7d438c8d6a57f753f96233b5c39b78aadb0081 | refs/heads/master | 2021-07-04T10:17:42.693973 | 2017-09-26T14:41:33 | 2017-09-26T14:41:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | cc | class Solution {
public:
int maxProfit(vector<int>& prices) {
if (prices.size() <= 1) {
return 0;
}
int max_profit = 0;
auto size = prices.size();
decltype(size) index = 1;
while (index < size) {
while (index<size && prices[index]<=prices[index... | [
"saber.rl32@gmail.com"
] | saber.rl32@gmail.com |
f50d916b9f4562a809413f1a687cc58142dc705b | e77bb7afc612666f1b8d65a0039a32f737b4f209 | /chrome/browser/sharing/sharing_device_registration.cc | 1c56e23ac7d48a4de8db453950bf9fcaf950349d | [
"BSD-3-Clause"
] | permissive | lvyeshufang/chromium | 76f6b227ac100f0c75305252a9ffc45820da70de | 49f84636734485b99303ed44a18bc09a39efabe2 | refs/heads/master | 2022-08-22T02:35:00.231811 | 2019-07-09T11:24:00 | 2019-07-09T11:24:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,392 | 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 "chrome/browser/sharing/sharing_device_registration.h"
#include <stdint.h>
#include <vector>
#include "base/base64url.h"
#include "base/bind.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
848835fa8fd7303af8bac513e0b99ebb4b71f7f2 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/LB-GWW+R-A.c.cbmc_out.cpp | 3c2dc435d537944c550ea8ad3afbbd402b6bec90 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 43,924 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 6
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
45e2c6a41626bb557cff37744608d6994877982d | 01b1f86aa05da3543a2399ffc34a8ba91183e896 | /modules/core/combinatorial/bench/scalar/fibonacci.cpp | e94bef12991229300c436b225c11b4b85d0782d9 | [
"BSL-1.0"
] | permissive | jtlap/nt2 | 8070b7b3c4b2f47c73fdc7006b0b0eb8bfc8306a | 1b97350249a4e50804c2f33e4422d401d930eccc | refs/heads/master | 2020-12-25T00:49:56.954908 | 2015-05-04T12:09:18 | 2015-05-04T12:09:18 | 1,045,122 | 35 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
92d9dc77c279fa9a3d8b08fccce939ef7d1d9c37 | 050df09544031734b48cbe7f008237b63c97bfe9 | /SPOJ/P157PROA.cpp | 2e578ee256a8b59096938fff8023f692e491e916 | [] | no_license | koha13/All-code | d4173bb48e96d3e8f873a3c3cf1fcf138601a3bd | e3b656bdd17a3b6d7ac7df8afefa5fa9b4cab046 | refs/heads/master | 2020-03-26T14:54:45.105944 | 2018-08-16T16:24:41 | 2018-08-16T16:24:41 | 145,011,712 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include<bits/stdc++.h>
using namespace std;
main(){
int test;
cin>>test;
while(test--){
int n,a[1001]={0};
cin>>n;
for(int i=1;i<=n;i++){
int tmp;
cin>>tmp;
a[tmp]++;
}
int smax=a[1],vt=1;
for(int i=1;i<=1000;i++)
if(a[i]>smax ){
smax=a[i];
vt=i;
}
cout<<vt<<endl;
}
}
| [
"policekhoa13101998@gmail.com"
] | policekhoa13101998@gmail.com |
63b94f28dc7f7c4ee811cd8b185f25499cdc70be | 947c16ea428c396988f790097289289e590e5f38 | /lab_9/src/core/cutter/coencutter.cpp | 52cba0c90a9895ee5aa918958128328e84ba326d | [] | no_license | RullDeef/cg-lab | ed350e6560df78b8e490a996683895768142b051 | 8a46de19b595f68afef46aec6dbcb7c5aaf897fa | refs/heads/master | 2023-06-16T08:23:31.431634 | 2021-06-23T16:10:13 | 2021-06-23T16:10:13 | 387,730,748 | 2 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,639 | cpp | #include "coencutter.hpp"
using namespace core;
static int cutterBounds[4]; // { left, right, bottom, top }
static int pointCode(int x, int y)
{
int code = 0;
if (x < cutterBounds[0]) code |= BIT_LEFT;
if (x > cutterBounds[1]) code |= BIT_RIGHT;
if (y > cutterBounds[2]) code |= BIT_BOTTOM;
if (y... | [
"deeroll666@gmail.com"
] | deeroll666@gmail.com |
671a088ceca3bb203f7ee6261dd817169c70a945 | 9f9266a40a869e34c8627f66d0ef05ec25c40236 | /AnvilEldorado/Source/Game/Players/PlayerPropertiesExtension.hpp | 3eb636b5729114638057ff15e2b26c637c67f533 | [
"MIT"
] | permissive | AnvilOnline/AnvilClient | b2d6273de7c1f7d436f939e19948edf2c69631da | 9b7751d9583d7221fd9c9f1b864f27e7ff9fcf79 | refs/heads/development | 2020-04-13T22:12:16.638751 | 2017-04-22T17:22:10 | 2017-04-22T17:22:10 | 44,775,425 | 57 | 23 | null | 2017-04-22T17:22:10 | 2015-10-22T21:53:19 | C++ | UTF-8 | C++ | false | false | 1,520 | hpp | #pragma once
#include "PlayerPropertiesExtensionBase.hpp"
namespace AnvilEldorado::Game::Players
{
// Helper class which adds type safety to PlayerPropertiesExtensionBase.
template <class TData>
class PlayerPropertiesExtension : public PlayerPropertiesExtensionBase
{
protected:
// Builds extension data for a pl... | [
"forums@allenthinks.com"
] | forums@allenthinks.com |
ceb4013e67c6baaae96d7d56f18baba392d5f06b | 2a8868f99c858defc0d227843236abd49c839a65 | /max_points_on_a_line_2.cpp | d38957923e6466488bf36bb865e1c8eef802387e | [] | no_license | qynx/lintcode | 48d724e94e7b0acf39358d6f54fb3cfaed0ed9b4 | 5aa53047b4830fea79d15d5e45e4140befd6b7f0 | refs/heads/master | 2021-07-09T19:22:42.181314 | 2018-11-12T02:21:56 | 2018-11-12T02:21:56 | 135,247,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | #include<iostream>
#include<vector>
using namespace std;
struct Point{
int x;
int y;
Point() :x(0),y(0){}
Point(int a,int b):x(a),y(b){}
};
/**
* Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
* Definition for a point.
* struct Point {
* int x;
* ... | [
"zslngu@163.com"
] | zslngu@163.com |
c8f0380190a50fb56775c0a7c02d9aab59067e8b | 5d45a3ab6d8358ea46d200e23e5a4c2b91eefd13 | /source/InterceptRouting/RoutingPlugin/FunctionInlineReplace/FunctionInlineReplaceExport.cc | f20cd1d6c8f0725b5a6ae427779991d5220599d1 | [
"Apache-2.0"
] | permissive | ALEHACKsp/Dobby | 136006303023317ec01051412414532306636f94 | 79a4b750db453e4b7e752a716633b3d5630748f2 | refs/heads/master | 2023-04-16T18:42:53.604333 | 2021-05-06T03:42:58 | 2021-05-06T03:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cc | #include "dobby_internal.h"
#include "Interceptor.h"
#include "InterceptRouting/InterceptRouting.h"
#include "InterceptRouting/RoutingPlugin/FunctionInlineReplace/function-inline-replace.h"
PUBLIC int DobbyHook(void *address, void *replace_call, void **origin_call) {
if (!address) {
ERROR_LOG("function address ... | [
"jmpews@gmail.com"
] | jmpews@gmail.com |
d4f2d794ef9c2b39edf15f46ad4e68f1ee22ee73 | 20494f5b8a9ba96ee5102eb3837c6b9821a8d276 | /Button.cpp | 1793321d30da36abb221addc63961fe815e1e1ab | [] | no_license | Christ00pher/Flashcards-SFML | fb35eccaf63e20bc9de01adce79fc61a5b9316ac | 63a9e7d2fa08be7662b8e7603b39be71e4c18b15 | refs/heads/master | 2020-06-30T21:17:45.714339 | 2016-11-01T15:56:07 | 2016-11-01T15:56:07 | 67,153,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | #include "Button.h"
Button::Button() {}
Button::Button(std::string def, std::string mark, sf::Vector2f pos, std::string text)
:position(pos),
defaultPath(def),
markedPath(mark),
caption(text)
{
defaultTexture.loadFromFile(defaultPath);
markedTexture.loadFromFile(markedPath);
sprite.setTexture(defaultTexture);
... | [
"krzysiekzabicki@interia.pl"
] | krzysiekzabicki@interia.pl |
c5f67944f473764e9402b31ee1f1ac6ad50bdc13 | a4118fad1d9ab1f6612761d96407d09b56ccfba8 | /src/cpu3d/c3dApp.h | bbe8ad806f7b201c1157141d598e302614ae95fd | [] | no_license | jjzhang166/CPU3D | 28111eed48096f9edaf486d8b3b6cff1e49b3b8d | a43b1913d6464dda184dbc10fd696448d372f1ae | refs/heads/master | 2021-01-19T18:39:51.319627 | 2016-06-24T05:20:50 | 2016-06-24T05:20:50 | 101,150,787 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 656 | h | #pragma once
#include "c3d.h"
#include "c3dTexture.h"
/*
* c3dApp用作入口类,其中c3dFrame的功能尽量都抽取出来,只保留最原始的功能,即把一张纹理渲染到窗口上面
*/
class c3dApp
{
public:
c3dApp();
~c3dApp();
int setup();
void update();
void dispatch();
void draw();
void mousePressed(int button,int x,int y);
void mouseReleased(int button,int x,int y);
vo... | [
"1316973175@qq.com"
] | 1316973175@qq.com |
a78817863f44cfa6c588777466c79ea20b33cec4 | 469271f5403be4336eeb75ae1da98172d0c26ddb | /ch13cds/cds.h | bfc2d5aadd6cf87acf6469a4cecce34d618aa81c | [] | no_license | FlavP/CPlusPlusPrimer | 179b459dd92687eb05235543923fca35bd843202 | 7cd0170b1656cc6f7baefbedcbf4a14235dfa0b0 | refs/heads/master | 2021-01-01T16:24:04.467119 | 2017-11-06T12:39:22 | 2017-11-06T12:39:22 | 97,825,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: cds.h
* Author: flavius
*
* Created on October 5, 2017, 12:50 PM
*/
#ifndef CDS_H
#define CDS_H
class Cd{
private... | [
"flavius.popoiu@mediaimage.ro"
] | flavius.popoiu@mediaimage.ro |
80cbce4642b79e9d1301296d18fed4d622678d45 | 47122159a4c93a3e8ff65ccc3a2b9755b8913707 | /plato/algo/bfs/bfs.hpp | 52e071814e59fd0d6b9bc2d378a038d9424ad9c0 | [
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | patricxu/plato | 9fd0f4c3074f69d226b286dc14a43e0b55ec998f | 63a5278334ec609a4a65486bcce3dd9b31a2ebba | refs/heads/master | 2021-05-25T07:30:17.423426 | 2020-04-03T02:17:30 | 2020-04-03T02:17:30 | 253,716,252 | 1 | 0 | NOASSERTION | 2020-04-07T07:16:00 | 2020-04-07T07:15:58 | null | UTF-8 | C++ | false | false | 4,953 | hpp | /*
Tencent is pleased to support the open source community by making
Plato available.
Copyright (C) 2019 THL A29 Limited, a Tencent company.
All rights reserved.
Licensed under the BSD 3-Clause License (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy... | [
"cedricsun@tencent.com"
] | cedricsun@tencent.com |
757bb65c6787e11bcc945ec20373d9efd1b11074 | a047b4009ca2e9460b558f8406b5e435f90b1add | /xraftwm/root.cc | 6f09dd6db850d102432a0a0f37957d3423293c4c | [] | no_license | shin1m/xraft | d92dfd877da74a83a9de65fd69898fc2442eaf9d | a65f3e5b0e4c85eba6ac938028a8e61e2da63b48 | refs/heads/main | 2023-06-30T23:15:19.511340 | 2023-06-11T21:58:38 | 2023-06-11T21:58:38 | 3,844,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,718 | cc | #include "common.h"
#include <cstdio>
#include <cstdlib>
#include <typeinfo>
namespace xraft
{
t_root* t_root::v_instance;
int t_root::f_handle(Display* a_display, XErrorEvent* a_xerror)
{
char buffer[255];
XGetErrorText(a_display, a_xerror->error_code, buffer, sizeof(buffer));
std::fprintf(stderr, "%s\n", buffe... | [
"shin1morita@gmail.com"
] | shin1morita@gmail.com |
5692654160407b70ee1b749e4ba0c2e6990a96b4 | a7d316ed1e3f8030fa3566099dc2f4772a60d478 | /RaClient/StdAfx.cpp | 45797f4c989cdf6a9700db03d5753a86f89611a3 | [] | no_license | LoseSynchronization/MiniCA | 39e73cfc7db1c40d3857d0c1869ea112dd2163e4 | 500a7f8a2c508adff08277386101b8e4601fe7bc | refs/heads/main | 2023-04-11T13:20:33.599767 | 2021-04-15T08:02:41 | 2021-04-15T08:02:41 | 358,173,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Raclient.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
#include <stdlib.h>
#include <stdio.h>
| [
"noreply@github.com"
] | LoseSynchronization.noreply@github.com |
39aa4e67b006bfa0ef86d2850ba7b22ab03b227b | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /components/cryptauth/ble/bluetooth_low_energy_characteristics_finder.cc | f7d052476837cb5f7553fb96680c243a27a95947 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,815 | cc | // Copyright 2015 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/cryptauth/ble/bluetooth_low_energy_characteristics_finder.h"
#include "components/proximity_auth/logging/logging.h"
#include "device... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
116b391b79df391aad14269342069fce48477cce | 436623ee85c9d9444d700b56f2729b12b9f2c659 | /include/eepp/graphics/convexshapedrawable.hpp | fc945faff5b7533752a5e9cb1539435b465de8d9 | [
"MIT"
] | permissive | SpartanJ/eepp | 0bd271b33058ef119f5c34460ed94e44df882a25 | 9f64a2149f3a0842ced34b8b981ffe3a8efc6d13 | refs/heads/develop | 2023-09-01T01:17:30.155540 | 2023-08-27T20:58:19 | 2023-08-27T20:58:19 | 125,767,856 | 341 | 27 | MIT | 2023-04-01T20:10:26 | 2018-03-18T21:11:21 | C++ | UTF-8 | C++ | false | false | 892 | hpp | #ifndef EE_GRAPHICS_CONVEXSHAPEDRAWABLE_HPP
#define EE_GRAPHICS_CONVEXSHAPEDRAWABLE_HPP
#include <eepp/graphics/primitivedrawable.hpp>
#include <eepp/math/polygon2.hpp>
namespace EE { namespace Graphics {
class EE_API ConvexShapeDrawable : public PrimitiveDrawable {
public:
static ConvexShapeDrawable* New();
Co... | [
"spartanj@gmail.com"
] | spartanj@gmail.com |
fb4bd1dfe13b927d23dbdacaa8d0b6f1354424c4 | 7176368f9ead00f7e2b7b224d3c197282331b00d | /Test/TestScene.hpp | 4939a95ee9a5b99073fdba08d78ae6f1f652f44d | [
"MIT",
"CC-BY-4.0"
] | permissive | netwarm007/GameEngineFromScratch | 8793aa1b9581fc0932e7e212c83b9b540ea5dcf5 | 3907778a1c543dfd38f660e5ffa7950d147c807c | refs/heads/master | 2023-08-21T02:25:26.556984 | 2023-03-07T09:37:28 | 2023-03-07T09:37:28 | 100,656,491 | 1,647 | 346 | NOASSERTION | 2023-03-07T09:37:30 | 2017-08-18T00:28:20 | C++ | UTF-8 | C++ | false | false | 3,029 | hpp | #include <memory>
#include "TestMaterial.hpp"
#include "Sphere.hpp"
#include "HitableList.hpp"
// World
auto random_scene() {
My::HitableList<float_precision> world;
auto material_ground = std::make_shared<lambertian>(color({0.5, 0.5, 0.5}));
world.add(std::make_shared<My::Sphere<float_precision, std::sh... | [
"chenwenli@chenwenli.com"
] | chenwenli@chenwenli.com |
8ee8f4c810fcdf69b3d9dd7470ddcea081cab381 | 2f0d44ecaa0082894fd639039ccfc8331e88a809 | /tests/test_fixed_views_2d.cpp | bd358f1194425e6b33d15431888f21419a1b2254 | [
"MIT"
] | permissive | worthy-os/Fastor | 7e36a0dc72330eab47fd399eb2bdef09a3dd96aa | 99e3ff00e4aa0ff92da5502df5889d5baa95efb1 | refs/heads/master | 2020-04-30T12:35:58.532005 | 2019-03-07T12:06:03 | 2019-03-07T12:06:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,831 | cpp | #include <Fastor.h>
using namespace Fastor;
#define Tol 1e-12
#define BigTol 1e-5
template<typename T>
void run() {
using std::abs;
{
// Check construction from views
Tensor<T,15,18> a1; a1.iota(11);
decltype(a1) a2 = a1(fall,fall);
assert(abs(norm(a1)-norm(a2)) < Tol);
... | [
"roman@romans-mbp.home"
] | roman@romans-mbp.home |
2d47b6cc31e3f8913f0cbb3b9322a2bd6cbd2040 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /yukicoder/141.cpp | a6859514f617c0ac25ca944d63fa68a36d986b4f | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<(n);++i)
#define each(itr,c) for(__typeof(c.begin()) itr=c.begin(); itr!=c.end(); itr++)
#define mp make_pair
#define pb push_back
#define fi first
#define sc second
int main(int argc, char const *argv[]) {
ll m,n;
... | [
"k0223.teru@gmail.com"
] | k0223.teru@gmail.com |
490367bad7551ae48bde1d0c9a9ab3f5109159d7 | 723484af16dda4c6bc6ea53edafdee53b7c02fd2 | /Tutorial-3/swap.cpp | 89030ece47abb38414daa907552338ea3c75e78e | [] | no_license | pecuniam-cpp/OOPC-lab | 8b24e0333669425fd9c861ed3fb33b07e9da8354 | a68a11a0f1690825a269c6b87ab33721e0d0d31d | refs/heads/master | 2021-01-16T20:56:41.580507 | 2015-02-17T08:06:24 | 2015-02-17T08:06:24 | 30,583,256 | 0 | 0 | null | 2015-02-10T08:51:28 | 2015-02-10T08:51:28 | null | UTF-8 | C++ | false | false | 655 | cpp | #include<iostream>
using namespace std;
void swap_by_ref(int *p1,int *p2)
{
int *temp;
temp = p1;
p1 = p2;
p2 = temp;
cout<<"swap value of a is : "<<*p1<<endl;
cout<<"swap value of b is : "<<*p2<<endl;
}
void swap_by_val(int a,int b)
{
int temp;
temp = a;
a = b;
... | [
"kedarkhetia@gmail.com"
] | kedarkhetia@gmail.com |
665b1773ad7d0733a74778f03fc2eb3d7a16372a | 67f61e55d4d74a76deef5b826e9cb6c1d9e53c58 | /externals/skia/tests/HashTest.cpp | 4a884e3b5b11e1a448cda2e13e6cdeca22a22b79 | [
"BSD-3-Clause",
"MIT"
] | permissive | mono/linux-packaging-skiasharp | e7d0478b0c34c80f341e0224041e3dc076e13d41 | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | refs/heads/master | 2023-08-23T10:22:57.751473 | 2017-04-25T14:28:46 | 2017-04-25T14:28:46 | 89,267,865 | 1 | 5 | MIT | 2020-04-08T02:40:44 | 2017-04-24T17:23:42 | C++ | UTF-8 | C++ | false | false | 4,177 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkChecksum.h"
#include "SkString.h"
#include "SkTHash.h"
#include "Test.h"
// Tests use of const foreach(). map.count() is of course the better way to do this.
sta... | [
"joshield@microsoft.com"
] | joshield@microsoft.com |
6f9614177b67b08a2197c63737f256702247d27d | 2922f5512a4741f1cc084a0857704fa2c88fcce9 | /newcarena/newcarena/constructor.cpp | 814b6d560cd8c8a3e33ccc8b65f99592ff6707ae | [] | no_license | RickKoenig/engq | 3544a7c01ff6b05c732a19607ee5424e0086e7f3 | 87ea08727bc0aea508221f0210e1f8f52ef066b9 | refs/heads/master | 2023-07-26T06:35:31.377976 | 2022-04-05T05:52:53 | 2022-04-05T05:52:53 | 242,048,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,145 | cpp | #define D2_3D
#define INCLUDE_WINDOWS
#include <m_eng.h>
#include <l_misclibm.h>
#include "n_deflatecpp.h"
#include "enums.h"
#include "utils/json.h"
#include "hash.h"
#include "constructor.h"
#include "n_faceverts.h"
#include "n_polylist.h"
#include "n_meshtest.h"
#include "carenalobby.h"
#include "tracklist.h"
#inclu... | [
"mkoeni@sbcglobal.net"
] | mkoeni@sbcglobal.net |
7a33a3e759f337736d09c83def91db877519f07b | 3563afcf7b0eefd85e5de8b7516991cf99274efc | /Ejercicio2/triangulo.cpp | 908e4730bffbd037a60db07419dd4eaf7e75681b | [] | no_license | Sebasvillota20/ALSE_ejercicios_20 | 2908ebff3e90bd6d10e6baa34a1e02b141f5e48c | 84cd2aff96401b3abe6f154712d91b889aa6e969 | refs/heads/master | 2021-03-31T18:09:28.849884 | 2020-03-31T22:45:37 | 2020-03-31T22:45:37 | 248,124,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "triangulo.h"
#include <math.h>
Triangulo::Triangulo()
{
}
Triangulo::Triangulo(float b, float h, float x, float y){
_b = b;
_h = h;
setCoordX(x);
setCoordY(y);
}
float Triangulo::Area(){
float A;
A = _b * _h /2;
return A;
}
float Triangulo::Perimetro(){
float P;
P = 3 ... | [
"juan.villota-c@mail.escuelaing.edu.co"
] | juan.villota-c@mail.escuelaing.edu.co |
277af50f92c7460870ce7b20cd7dc29d4469664a | 8a2001b338d4fb854c9d99cfff1fee7d64cb4a64 | /src/Lacrimi/Source/LuaHandler/LUALunar.h | d9e5ba0518b1feddbaa30a7848488ad824b1862b | [] | no_license | Sandshroud/Sandshroud-Onyx | 06dceec3ded18013dfaf6d4ca7ff53a9af581167 | 133f92d1adcfd13bb28119bff777982690f41ff9 | refs/heads/master | 2021-01-25T05:21:26.141410 | 2013-02-19T06:10:57 | 2013-02-19T06:10:57 | 8,284,289 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,915 | h | /*
* Lacrimi Scripts Copyright 2010 - 2011
*
* ############################################################
* # ## # ####### ####### ## # # ## #
* # ## ### ## ## ## ## ### ### ## #
* # ## ## ## ## ## ## ## ### ### ## #
* # ## #... | [
"Crow5736@yahoo.com"
] | Crow5736@yahoo.com |
9cc36129086436e0df0eac9fb74ef0ba928678fd | 153e38d81e9c63c311b0e97961632cbb64ff9807 | /C++/Code/20200924STLCode/day3/04 内建函数对象.cpp | b3cbca86a79fe2d82636aea1294527eee6014654 | [] | no_license | 0000duck/MyStudy | 0d8b02f2ad8afda6dcfc79928ddb6f6e8b41238d | d01c803177104bc5b0375309b140a3b009b7b0cb | refs/heads/master | 2023-02-25T23:28:53.360198 | 2021-02-05T08:31:31 | 2021-02-05T08:31:31 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 734 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
//内建函数对象头文件
#include <functional>
#include <vector>
#include <algorithm>
void test01()
{
//template<class T> T negate<T>//取反仿函数
negate<int>n;
cout << n(10) << endl;
//加法 template<class T> T plus<T>//加法仿函数
plus<int> p;
cout << p(1, 1) <<... | [
"422358883@qq.com"
] | 422358883@qq.com |
2a8fbe440d6bec648958d4cd8ae08e09267e2cfb | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/detail/winapi/process.hpp | 1caa40962062979a7bf4f6847e8b880e396aaacc | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 876 | hpp | // process.hpp --------------------------------------------------------------//
// Copyright 2010 Vicente J. Botet Escriba
// Distributed under the Boost Software License, Version 1.0.
// See http://www.lslboost.org/LICENSE_1_0.txt
#ifndef BOOST_DETAIL_WINAPI_PROCESS_HPP
#define BOOST_DETAIL_WINAPI_PR... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
992adf15d2180c61a6bce721365bbab29bf49621 | f3e5299ba52957abb42796d5f5930562d07180e7 | /src/node_mpg123.cc | 540217a1af2461cd37ca483638f7ea3bb572c0ac | [] | no_license | Hagith/node-mpg123n | a569bee092c254a09ea11475f6a362add72a8e36 | 7bcc684122d5e9e01bda8257c5083e54b50e8a52 | refs/heads/master | 2021-01-17T07:06:05.675727 | 2015-02-06T21:14:37 | 2015-02-06T21:14:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,381 | cc | /*
* Copyright (c) 2013, Marek Będkowski <marek@bedkowski.pl>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS ... | [
"marek@bedkowski.pl"
] | marek@bedkowski.pl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.