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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd3e05c9e5f35e290c7e50036e3b52c2d533bde5 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/SceneEdit/Xerces/src/xercesc/validators/schema/XUtil.hpp | c9fce54446d02bbad2a24ffaacab677714183cc1 | [
"Apache-2.0"
] | permissive | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,286 | hpp | /*
* Copyright 2001,2004 The Apache Software Foundation.
*
* 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... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
bb0544c9f37181a868d166a330274d89c2f3f984 | 628a99b03a5f72873adcdb337785fbc7267e5f32 | /API/ReconDemo/DataSample/SampleDataProtocol.h | 21b380ada6a1afbf5f7a5fd99030815c0370350e | [
"MIT"
] | permissive | randall2002/YAP | e99efb0c1b24d6f5f18e12d011f3d517db0cf964 | e3fb9565ad14aada2e19016d7c88af2a58965771 | refs/heads/master | 2020-07-23T21:52:19.577755 | 2018-07-09T09:22:16 | 2018-07-09T09:22:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,624 | h | #ifndef SAMPLEDATAPROTOCOL_H
#define SAMPLEDATAPROTOCOL_H
#pragma once
#include <complex>
#include <vector>
#define SAMPLE_DATA_START 1
#define SAMPLE_DATA_DATA 2
#define SAMPLE_DATA_END 3
#define SAMPLE_DATA_PROTOCOL_VERSION 1
struct SampleDataStart
{
uint32_t cmd_id;
uint32_t version;
uint32_t scan_id;
... | [
"hbxie@phy.ecnu.edu.cn"
] | hbxie@phy.ecnu.edu.cn |
87856f8fdc88af573a90f160abd3a530426473ef | d40cd8f8daff69950482d641f3343fc3361230fc | /server/系统模块/定制游戏/红中麻将_房卡版/机器人服务/AndroidUserItemSink.cpp | f93af1e288bf531d87327dade6d1b40abb71ec10 | [] | no_license | scriptkitz/SiYangMJ | 3f47f389f55fb2854fbf3ab9ac26f3f1b25e2f0c | 6e899b7f7c22a6770722038dac3f05c17d4bffb3 | refs/heads/master | 2020-07-12T18:30:15.228243 | 2018-01-02T03:53:53 | 2018-01-02T03:53:53 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 32,716 | cpp | #include "Stdafx.h"
#include "AndroidUserItemSink.h"
//////////////////////////////////////////////////////////////////////////
//辅助时间
#define TIME_LESS 3 //最少时间
//游戏时间
#define TIME_OUT_CARD 3 //出牌时间
#define TIME_START_GAME 3 //开始时间
#define TIME_OPERATE_CARD 3 /... | [
"jianan@ixianlai.com"
] | jianan@ixianlai.com |
b70367dd842d04982710302e41a6694c09dc36ea | 88b6874ce87799c362ac22d24238b44f720744e8 | /gui/src/utils/empty-dirs-fix/empty-dirs-fix-1.cpp | 5321a446d66e1418291e52c770a04992a36f4ca2 | [
"Apache-2.0"
] | permissive | maskkulin/imgbrd-grabber | a0ab6aee767ed91895c34a329a3fff7b6092ed3d | 4c64deef385d63f4c75119741ccab41c3b721322 | refs/heads/master | 2021-01-19T08:36:22.983153 | 2017-04-06T14:20:16 | 2017-04-06T14:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cpp | #include <QSettings>
#include <QMessageBox>
#include "empty-dirs-fix-1.h"
#include "empty-dirs-fix-2.h"
#include "ui_empty-dirs-fix-1.h"
EmptyDirsFix1::EmptyDirsFix1(Profile *profile, QWidget *parent)
: QDialog(parent), ui(new Ui::EmptyDirsFix1)
{
ui->setupUi(this);
QSettings *settings = profile->getSettings();
... | [
"bio.nus@hotmail.fr"
] | bio.nus@hotmail.fr |
2787a34202d291b1ab6023b5cc7a9876d3008e18 | 8c881345865a01b5c63a5bb076f126403716420c | /FeatureReuse3/FeatureReuse/DockingBar/scbarg.cpp | 7014795a979d2bba02b261a1dedd04ce242ce214 | [] | no_license | Asher-1/C_Plus_Plus-projects | f758df626de074a5a5071c6bf1ae08cfb5c4d2e3 | 56941f1a76cf1645df5cc0fcb5529eddc64643f2 | refs/heads/master | 2022-01-28T13:03:24.493838 | 2019-05-30T13:06:35 | 2019-05-30T13:06:35 | 160,189,947 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,503 | cpp | /////////////////////////////////////////////////////////////////////////
//
// CSizingControlBarG Version 2.42
//
// Created: Jan 24, 1998 Last Modified: Feb 10, 2000
//
// See the official site at www.datamekanix.com for documentation and
// the latest news.
//
//////////////////////////////////////... | [
"ludahai19@163.com"
] | ludahai19@163.com |
046a4c23bceeb4ed67b61f79010912271d79b711 | 5b65206ce28ab5e10c157703934b1bdb220e3298 | /MainPanel.cpp | 613871a68d47a503562b047f93037b6389bd8330 | [] | no_license | mellwa/cs349_LogoGraphic | c4c33f62c540232966b6e9dc5a6c627f8858ddd8 | e9eb94648b0f5df58fa174714349cdf7a935aa8e | refs/heads/master | 2021-01-10T20:44:39.940241 | 2014-05-13T05:25:31 | 2014-05-13T05:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,141 | cpp | #include "MainPanel.h"
#include "TurtleGraphics.h"
#include "TurtlePanel.h"
#include "Button.h"
#include "Slider.h"
#include "A2WidgetIdentifiers.h"
#include "XApplication.h"
#include "PlaybackPanel.h"
#include "StepPanel.h"
#include "ButtonPanel.h"
#include "PlayButton.h"
#include "ActionListener.h"
#include "Timer.h"... | [
"kolachao.chen@gmail.com"
] | kolachao.chen@gmail.com |
c1b12b567eda30db306a42959cf57bece2388934 | 00742b0dbcef0f9e611b4362b3c1fe1bbde1df47 | /src/torus.cpp | 7f50871b2498b1863ea1209e8e0de905725e082c | [] | no_license | ProtossProbe/torus | 0673cbf24012500ff187d3c8650d7fd94473a99d | 3fe43308076ad750b9beaaaf92127c9490186a2e | refs/heads/master | 2021-01-19T03:51:26.419328 | 2017-05-17T10:38:16 | 2017-05-17T10:38:16 | 87,337,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,724 | cpp | //
// torus.cpp
//
//
// Created by Protoss Probe on 2017/04/09.
// Copyright © 2016-2017年 probe. All rights reserved.
//
#include <boost/array.hpp>
#include <boost/math/special_functions/ellint_1.hpp>
#include <boost/math/special_functions/ellint_2.hpp>
#include <boost/math/special_functions/ellint_3.hpp>
#include... | [
"puluobi@gmail.com"
] | puluobi@gmail.com |
d25589376a3f94b6659836a4a0241c42d88f3ffd | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /dlls/hl2_dll/grenade_hopwire.cpp | 1c62bc2c3b756b2ba814d9c962ee988c32e176d3 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | WINDOWS-1252 | C++ | false | false | 14,200 | cpp | //========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "grenade_hopwire.h"
//#include "rope.h"
//#include "rope_shared.h"
//#include "beam_shared.h"
#includ... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
384ef5ba144da06632791035eb8fc19c064d88ab | 7b9a73846f914ff7cdc5dc27ed821a04c52dd15b | /King.cpp | d8add483767c178b6e596a189b4208943e5b5df2 | [] | no_license | SevdjanYusein/Chess-game | 9dd066ad45093daa41cbed29925ff86c5b97b538 | 87e6b90c133483c1c5ddf87a22c53b6c49769e10 | refs/heads/master | 2020-03-28T11:36:25.428336 | 2018-09-10T23:22:32 | 2018-09-10T23:22:32 | 148,230,514 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include "King.h"
King::King(Type _type, Color _color, int _X, int _Y) :
Figure(_type, _color, _X, _Y) {}
bool King::validMove(int x, int y)
{
int xS = getX();
int yS = getY();
if (x == xS || y == yS)
{
return (abs(x - xS) == 1 || abs(y - yS) == 1);
}
else if (abs(x - xS) == abs(y - yS))
{
... | [
"noreply@github.com"
] | SevdjanYusein.noreply@github.com |
1120e43fbebd8232d97a04eab99fff3086af96bb | 5ded0de2cce83e5a75ee90863baaf7e5d10b9249 | /rpm.ino | bf67243b576305adf199ac53c67a65e005fc1567 | [] | no_license | Andressoosa/controlrpm | 9a29a118eb0677fdb7fd2e22db05c27d0c9e7928 | 17b987a509d14e445b033c5cd7094412b1fd33bc | refs/heads/master | 2016-09-05T23:52:36.306411 | 2015-06-29T02:52:53 | 2015-06-29T02:52:53 | 38,224,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | ino | int IN3 = 5; // Input3 conectada al pin 5
int IN4 = 4; // Input4 conectada al pin 4
int ENB = 3; // ENB conectada al pin 3 de Arduino
void setup()
{
pinMode (ENB, OUTPUT);
pinMode (IN3, OUTPUT);
pinMode (IN4, OUTPUT);
}
void loop()
{
//Prepara la salida para que el motor gire en un sentido
digitalWrit... | [
"andres.sosa208@live.com"
] | andres.sosa208@live.com |
adbee818254d1eb77263b91d01187536743d7cb0 | cf3c7f0a821eced7c4b5a74e4ba677ffd1ee360e | /cpp/main.cpp | fd0817debfb41cc1b5a242b561693f3a599e3c67 | [] | no_license | Parto-E/PartoEshraghi | 9efd2646304c5305a9d7fcdd3d2cccb2b32f219a | 8333134ecf1a0fd143298f3a659b682752feee16 | refs/heads/master | 2023-05-07T20:20:23.354276 | 2021-06-05T23:22:28 | 2021-06-05T23:22:28 | 369,545,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | #include "maze.h"
#include <iostream>
#include <unistd.h>
int main(void){
int ROWS;
int COLS;
int solvation;
//std::cout << "\033[38;5;206m #That is, \033[38;5;<FG COLOR>m";
std::cout << "\033[1;34mPlease enter the number of ROWS and COLOUMNS respectively\033[0m\n";
std::cin >> ROWS >> COLS;
... | [
"Parto-E@users.noreply.github.com"
] | Parto-E@users.noreply.github.com |
b9346ae5fadbe248fa1839b192195113c23a664f | ce23637ea024b078aa2ca0cd1c312029a7e5bd61 | /cpp/nn/nn.cpp | c5c0a56cad7c195e0841534b82d8dbafdc90c265 | [
"MIT"
] | permissive | rostam/Experiments | 5fad99de7e939a841baa91c10b90bd050281d7bf | c878138c4f9d8141066e81a8320897b90da61eed | refs/heads/master | 2023-08-09T00:44:00.569174 | 2023-08-08T04:49:47 | 2023-08-08T04:49:47 | 109,122,194 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <utility>
//
// Created by rostam on 19.02.19.
//
#include "nn.h"
nn::nn(int input_nodes, int hidden_nodes, int output_nodes, double learning_rate) {
this->input = input_nodes;
this->hidden = hidden_nodes;
this->output = output_nodes;
this->lr = learning_rate;
std::default_random_engine ... | [
"rostamiev@gmail.com"
] | rostamiev@gmail.com |
7343bf5616be43adb9ec6112b4838f212a41eb02 | eaad2b7a64ed15872208ddbb1c0af7c49e537309 | /L2Root/l2_incercat_sim/Stack.h | 18586199b4665afd58551cd4b8cadd5b37254513 | [] | no_license | ionut-mntn/Laboratoare-Structuri-de-Date-si-Algoritmi-Cpp | 069ea65282d16a6eff60731d5f0ef062ec6c3ac5 | 3a6f0d8de49c07ac520f36a81a0372e7dceed4df | refs/heads/master | 2023-03-12T12:45:42.634439 | 2021-03-02T16:35:07 | 2021-03-02T16:35:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | #pragma once
typedef int TElem;
/*
typedef struct stackNode
{
TElem data;
stackNode* next;
}Node;
*/
struct NodeSLL {
TElem data;
NodeSLL* next;
};
class Stack
{
private:
NodeSLL* top;
public:
// getter temporar (de proba) pt top
TElem getTop();
// constructor
Stack();
// pune in varful sti... | [
"43119550+ionut-mntn@users.noreply.github.com"
] | 43119550+ionut-mntn@users.noreply.github.com |
028c728638f167b29ff300f76c6c9adc3375b4f1 | 851cc2ed27abc49bf77d53299f1852f7aea2d44e | /src/logging/writers/none/Plugin.cc | f712e7408c99d79c73a0427184ddcab4a2015359 | [
"BSD-2-Clause",
"BSD-4-Clause",
"ISC"
] | permissive | angusshire/zeek | 251ba683f9aad996514096e9b5e215c5ad7a0cf6 | dd173f49619e78693a0e5fc5e3be5c570bd0b023 | refs/heads/master | 2020-05-24T17:46:57.868944 | 2019-05-17T21:13:46 | 2019-05-17T21:18:45 | 187,394,948 | 6 | 1 | NOASSERTION | 2019-05-18T18:58:21 | 2019-05-18T18:58:21 | null | UTF-8 | C++ | false | false | 509 | cc | // See the file in the main distribution directory for copyright.
#include "plugin/Plugin.h"
#include "None.h"
namespace plugin {
namespace Bro_NoneWriter {
class Plugin : public plugin::Plugin {
public:
plugin::Configuration Configure()
{
AddComponent(new ::logging::Component("None", ::logging::writer::None... | [
"robin@icir.org"
] | robin@icir.org |
40ed96de26d6df5af852e028fe8a51253f991c2d | 38c10c01007624cd2056884f25e0d6ab85442194 | /chrome/test/base/test_launcher_utils.h | 24bd23db5d47e015c3e114ce2c026aab6215dcf8 | [
"BSD-3-Clause"
] | 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 | 893 | h | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_
#define CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_
#include <string>
#include "base/compiler_specific.h... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
5b60da942f111080f58993217128e0b9d796859c | d4b17a1dde0309ea8a1b2f6d6ae640e44a811052 | /lang_service/java/com/intel/daal/algorithms/linear_regression/predict.cpp | 2fae17133ee604e59a3ce094de0cd007ad1d635c | [
"Apache-2.0",
"Intel"
] | permissive | h2oai/daal | c50f2b14dc4a9ffc0b7f7bcb40b599cadac6d333 | d49815df3040f3872a1fdb9dc99ee86148e4494e | refs/heads/daal_2018_beta_update1 | 2023-05-25T17:48:44.312245 | 2017-09-29T13:30:10 | 2017-09-29T13:30:10 | 96,125,165 | 2 | 3 | null | 2017-09-29T13:30:11 | 2017-07-03T15:26:26 | C++ | UTF-8 | C++ | false | false | 3,360 | cpp | /* file: predict.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
*
* 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 a... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
29b7c1e2715c5734515cc87d47ab2591b4745e87 | ba1108e03dc280ecebf3646bc3328fb2983e0da9 | /tests/ceftests/accessibility_unittest.cc | ec30b716e86ca2bf5a58ef87e6d8a3abace96596 | [
"BSD-3-Clause"
] | permissive | fanyer/cef | 04af091f2f09b1798393ee1f429d18e8fea593cb | d4f06e380640ffbd10ccd5db85b9290bf1b123a7 | refs/heads/master | 2021-01-13T04:40:05.139972 | 2017-05-19T09:06:00 | 2017-05-19T09:11:18 | 79,417,128 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,577 | cc | // Copyright (c) 2016 The Chromium Embedded Framework 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 "include/base/cef_bind.h"
#include "include/cef_accessibility_handler.h"
#include "include/cef_parser.h"
#include "include... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
2b4ab6dbf514ed32f561881447c2fd61621d3322 | 0060767c484839f15350a51619e6da415f759f23 | /src/tree/zigzagLevelOrder.cpp | 38c6d0fec1fb096d03f29c76d0f262d2e83149dc | [] | no_license | algebra84/leetcode | 46929797a435d1c0b629fa9344ed1896d6d38b67 | 19ca007f89a252f64b92782006ac70add0e4d9fd | refs/heads/master | 2021-01-22T23:53:02.999627 | 2018-11-08T09:03:40 | 2018-11-08T09:03:40 | 85,675,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp | /* 103. Binary Tree Zigzag Level Order Traversal */
#include<iostream>
#include<vector>
#include<deque>
#include<algorithm>
using namespace std;
class TreeNode {
public:
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
vector<vector<i... | [
"crazylht@126.com"
] | crazylht@126.com |
b566cbfe1891b4f646880d41b84e76e34b07f38d | 6398b48516fb7a68ff9225efbaed61f597ded1d4 | /panda/src/event/asyncFuture_ext.h | 00a5344d38649042d07e68719c7b83d25cb378d4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | DioExtreme/panda3d-null | 9e9755d1687efdc28feed30a7d0d9a61784670d5 | 67eab71ec9d0895f621cf20bfd1998700e551e2e | refs/heads/master | 2023-07-01T18:31:20.019485 | 2021-08-05T13:03:04 | 2021-08-05T13:03:04 | 379,086,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | h | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file asyncFuture_ext.h
* @a... | [
"git@rdb.name"
] | git@rdb.name |
3fad4cbf202798e688c70f074dc8d8a6b630ef90 | 85edf963dfbcecc2dca79fc5727b27ee572bcf6d | /mapper.cpp | c121565862912d3a005688ed9e1db5f0b84b7939 | [] | no_license | dburkart/mobile-robot-programming | 6744e3441ae5fbaf8c6356ce40686f25020f97b2 | 56d946af29809ca12ce8e055a852d032fd3ee411 | refs/heads/master | 2021-01-21T00:21:07.636063 | 2012-05-23T00:02:17 | 2012-05-23T00:02:17 | 3,966,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,703 | cpp | // Example of pixel-plotting together with Player/Stage robot control
// zjb 4/10, based on code by John Hawley and original uncredited
// Player/Stage example code.
// Not guaranteed to be decent code style but seems to work OK.
#include <GL/glut.h>
#include <libplayerc++/playerc++.h>
#include <pthread.h>
#include ... | [
"discodancemonkey@gmail.com"
] | discodancemonkey@gmail.com |
3e80a7e873212ead8f76101cc4fd78778349877a | 364b8f84f18b89dc8c1bc8add90300d7048dc74f | /src/Watchy.h | 76ac7ab865239b1a9bb46d4ef89722dbaa005d3a | [
"MIT"
] | permissive | Ryomoo/Watchy | 23f8ad44ab78be0b58e7a657bf48f6d4b62fa869 | 0ea1863c7fe1519b63b93f85ce283332f58da5bb | refs/heads/master | 2023-03-22T15:25:38.412373 | 2021-03-10T02:40:11 | 2021-03-10T02:40:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | h | #ifndef WATCHY_H
#define WATCHY_H
#include <Arduino.h>
#include <WiFiManager.h>
#include <HTTPClient.h>
#include <Arduino_JSON.h>
#include <DS3232RTC.h>
#include <GxEPD2_BW.h>
#include <Wire.h>
#include <Fonts/FreeMonoBold9pt7b.h>
#include "DSEG7_Classic_Bold_53.h"
#include "BLE.h"
#include "bma.h"
#incl... | [
"github@sqfmi.com"
] | github@sqfmi.com |
ca01fbc76243c4c202a24665c52c1324ed0a1aa2 | f931479b6c8a4dd6407f0fa026da020c6028d0ba | /include/asio_include_dir/asio/ip/basic_resolver_results.hpp | d8fa2f3871cdb3adb85ed99381348587d216f12f | [] | no_license | STORCH-paul/storch_project_1 | 84e21bbeade24032568d716d727b8f0be63c08df | 19b19c46ff69dbcca72f0dbff294f452c5f15ab2 | refs/heads/master | 2023-02-10T14:23:21.874924 | 2021-01-10T20:25:36 | 2021-01-10T20:25:36 | 319,001,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,602 | hpp | //
// ip/basic_resolver_results.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef A... | [
"sto.paul14@gmail.com"
] | sto.paul14@gmail.com |
a4cc0dd6c59928c61c208bcbc27ca4850212dce6 | ab4156ca699182a749105ece73d26ecd66f4ff1d | /include/time/timestamp.inl | 9934eae1187acd913bf35d79ffda89dac4caeb4e | [
"MIT"
] | permissive | firebirdtools/CppCommon | 4c6057224f46c798960bf7d6751e5fff63afca58 | ad96c6739da0cb2c5b7144b2ff5e66249c9eb462 | refs/heads/master | 2020-04-13T19:56:52.219898 | 2018-12-21T19:51:31 | 2018-12-21T19:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | inl | /*!
\file timestamp.inl
\brief Timestamp inline implementation
\author Ivan Shynkarenka
\date 26.01.2016
\copyright MIT License
*/
namespace CppCommon {
inline void Timestamp::swap(Timestamp& timestamp) noexcept
{
using std::swap;
swap(_timestamp, timestamp._timestamp);
}
inline void swap... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
e0b4e70c08238a3f8b9da00c3ef46ae46cd04416 | 11aeb1d16daa70b26187a605e4a5ffb73a17a8ca | /features/visuals/nightmode.h | 74c843f2005a400b88b583860888a52371d6c8ad | [] | no_license | t4pp3r/sdr_sdk | 59c5e6920d89186526339378f9aef6169e0d9762 | c229a0781b1b214fe3a7f68dc5e76ce29b7ea7ae | refs/heads/main | 2023-03-28T06:58:27.504371 | 2021-03-30T18:05:22 | 2021-03-30T18:05:22 | 334,418,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | h | #pragma once
class MaterialBackup //-V802
{ //-V802
public:
MaterialHandle_t handle;
IMaterial* material;
float color[3];
float alpha;
bool translucent;
bool nodraw;
MaterialBackup(MaterialHandle_t h, IMaterial* p)
{
handle = h;
material = p;
material->GetColorModulation(&color[0], &c... | [
"noreply@github.com"
] | t4pp3r.noreply@github.com |
06b8f27e77fb72ee53241e479c14ce613151349e | f4897f893104dbced7b5c96680e4e1d9febc47a1 | /simple_raytracer/buffer.h | bf3b53bd02962e45098dc2eab9cdde665542ba6b | [] | no_license | mtao/tests | dbbb221592997f298721f4a7adcd95027993d65c | 90c58f213fa7a173f97e3cd12e457149a4a252c0 | refs/heads/master | 2021-01-18T14:10:55.954338 | 2011-07-14T00:03:58 | 2011-07-14T00:03:58 | 1,781,887 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | /*
* buffer.h
*
* Created on: Jul 10, 2011
* Author: g9sash
*/
#ifndef BUFFER_H_
#define BUFFER_H_
#include "rgbcolor.h"
class Buffer {
public:
virtual ~Buffer();
public:
virtual int width() const = 0;
virtual int height() const = 0;
virtual void setPixel(int x, int y, RGBColor const& color) = 0;
}... | [
"g9sash@cdf.toronto.edu"
] | g9sash@cdf.toronto.edu |
e35ffba0c3babbd853246827c7f559f06b21d528 | a49605664829701a085f863533ffc53b100ecf77 | /PA3/symtable.h | dbd49c4c14d676407c5b9249d498da141f951fcf | [] | no_license | CherylXjy/CSE131 | 89545150214401c864e3106c8e3db804662f0941 | 3b4d87a5eebde0fb1a002d40b580a04cdd61483e | refs/heads/master | 2021-06-14T07:29:12.439624 | 2017-03-22T23:13:57 | 2017-03-22T23:13:57 | 85,765,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | h | /**
* File: symtable.h
* -----------
* This file defines a class for symbol table and scoped table table.
*
* Scoped table is to hold all declarations in a nested scope. It simply
* uses the standard C++ map.
*
* Symbol table is implemented as a vector, where each vector entry holds
* a pointer to the sc... | [
"noreply@github.com"
] | CherylXjy.noreply@github.com |
555167cd9843ddb3c7255f67f69a35a2a1f10541 | 00abe2d53d67fe7eea24c9a7277d4d11e47ba7d5 | /repos/plywood/src/web/common/web-common/URLEscape.cpp | 69024c35d38815377ef3dda528a017f3d17df353 | [
"MIT"
] | permissive | arc80/plywood | 807e250ef321ed7560f57bf4a1eafe6ab383924a | 1face511f012c3c84a1b893e810fcc70a43f6b6d | refs/heads/main | 2023-09-02T04:01:25.216707 | 2022-10-12T15:26:41 | 2022-10-12T15:26:41 | 266,890,685 | 792 | 58 | MIT | 2023-05-22T16:12:54 | 2020-05-25T22:16:19 | C++ | UTF-8 | C++ | false | false | 809 | cpp | /*------------------------------------
///\ Plywood C++ Framework
\\\/ https://plywood.arc80.com/
------------------------------------*/
#include <web-common/Core.h>
#include <web-common/URLEscape.h>
namespace ply {
PLY_NO_INLINE void fmt::TypePrinter<web::URLEscape>::print(OutStream* outs,
... | [
"filter-github@preshing.com"
] | filter-github@preshing.com |
c8a63af5eab37eadc58a574e6609028e6c3d16d0 | 786de89be635eb21295070a6a3452f3a7fe6712c | /hdf5pp/tags/V00-00-08/src/PListImpl.cpp | 92810cdc02d7b364271b1238130d98b157d1fc32 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class PListImpl...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
#include "Lusi/Lusi.h"
//-------------... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
42e4844402cc2c35bd04cc32a8afbc409c95d18a | 586a07c790343f9f95b1705f10fc143566818466 | /Tree/BinaryTreePostorderTraversal.cpp | 1469e5ee609f378e95768df7ba8c749077076e9a | [] | no_license | zhaoyunED/leetcode | 7a9cefc42bc44631ed351fe36035388e7daff772 | cb1a26c86f8e55ca3023e49b20ed9545981ced19 | refs/heads/master | 2021-01-10T19:58:10.063215 | 2015-09-10T02:02:44 | 2015-09-10T02:02:44 | 35,321,280 | 0 | 1 | null | 2015-05-11T03:05:01 | 2015-05-09T08:28:18 | null | WINDOWS-1252 | C++ | false | false | 1,119 | cpp | Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
\
2
/
3
return [3,2,1].
Note: Recursive solution is trivial, could you do it iteratively?
//·ÇµÝ¹é
vector<int> postorderTraversal(TreeNode *root)
{
vector<int> result;
... | [
"zjjzhaoyun@126.com"
] | zjjzhaoyun@126.com |
73318109d2b82e3863ea0a84195635f983730c2d | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/SeReqProc/SendMsgByAccount.cpp | 994a5d10e150374054e0efd6a17372c83abd6539 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,828 | cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... | [
"barryniu@jimodb.com"
] | barryniu@jimodb.com |
681ac29af14a75b251d39db11fda286ba65dc6f6 | d022ef527b8924e05b670bd228e6df331be1263a | /Usaoj/hidden.cpp | ab5d7309cf9814df1f322c01f096965724c99145 | [] | no_license | Plypy/Lifestyle | 3300c08d40d93985624b028a9ad565431c6d7d83 | ca900d122b71ff4fc0949439522ae1a8be394506 | refs/heads/master | 2016-08-03T23:36:20.668023 | 2015-03-19T14:44:17 | 2015-03-19T14:44:17 | 32,526,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | /*
ID: jake1994
PROG: hidden
LANG: C++
*/
#include <iostream>
#include <cstdio>
#include <fstream>
#include <cstring>
using namespace std;
ifstream fin("hidden.in");
ofstream fout("hidden.out");
const int MAXLEN = 10010;
int n;
string str;
string tmp;
void load()
{
fin >> n;
while (fin >> tmp)
s... | [
"jake199436@gmail.com"
] | jake199436@gmail.com |
bfce5422ed0830dc3519e857d5f30d52be4dd172 | 303b1702ff07308e4ccafcb30220e0fbeed85294 | /src/ibisami_api.cpp | f3a10fe13a030480b5956252722d209859e7a069 | [
"BSD-3-Clause"
] | permissive | pradeepchawda/ibisami | 5177587cbae73b5c8cee64fc13f12ebfa4421b35 | 2c68e6b01b66c191c2cee7c180a8176414289638 | refs/heads/master | 2023-07-25T13:25:22.883435 | 2021-08-31T01:26:44 | 2021-08-31T01:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,979 | cpp | /** \file ibisami_api.cpp
* \brief Provides IBIS-AMI API and necessary bootstrapping.
*
* Original author: David Banas <br>
* Original date: April 29, 2015
*
* Copyright (c) 2015 David Banas; all rights reserved World wide.
*
* Provides the API (application programming interface) to the
* *.SO (shared object) or *.... | [
"capn.freako@gmail.com"
] | capn.freako@gmail.com |
b390a080a353b65c53b3bd6282ed9c29c1304aa7 | ef0378f718f10f37da0d1f6432c8be9e97011049 | /cf667/b.cpp | 2304f51245a3cbdba5fbfc4f26d2be84d763cd81 | [] | no_license | snandasena/cf-contests | 13355fa211f90e2d77f352d1857385bdfa9a2a18 | 62df67dad8da6de7d0572d6ca3c04b54f8d1d151 | refs/heads/master | 2023-01-12T20:37:05.681906 | 2020-11-22T02:06:58 | 2020-11-22T02:06:58 | 280,200,591 | 2 | 0 | null | 2020-11-22T02:06:59 | 2020-07-16T16:15:52 | C++ | UTF-8 | C++ | false | false | 710 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
ll gcd(ll a, ll b) {
while (b) {
a %= b;
swap(a, b);
}
return a;
}
ll lcm(ll a, ll b) {
return a / gcd(a, b) * b;
}
ll solve(ll a, ll b, ll x, ll y, ll n) {
ll t = min(a - x, n);
a -= ... | [
"sajith@digitalxlabs.com"
] | sajith@digitalxlabs.com |
2f7c2295f4ed67fe84d528d1ec3064030bcbfef2 | 12e828fd13fbfdea6bf86e434d89cf2eef0a10d4 | /include/type_traits.hpp | c40aa3025d0e40df9748915340678750d270af48 | [
"MIT"
] | permissive | vn-os/KTL-1 | 2063a555dd31bbb0c5dcccb33c906f4aa9d69322 | 8228193fabd91bc8a5820632b98853eaa81195f2 | refs/heads/master | 2023-06-19T07:19:11.512133 | 2021-06-26T17:11:37 | 2021-06-26T17:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,598 | hpp | #pragma once
#include <type_traits_impl.hpp>
namespace ktl {
template <class Ty>
struct alignment_of
: integral_constant<size_t,
alignof(typename remove_all_extents<Ty>::type)> {};
template <class T, T... Ints>
class integer_sequence {
public:
using value_type = T;
static_assert(is_i... | [
"dym93ok@yandex.ru"
] | dym93ok@yandex.ru |
c30f17ef3016fdf872817aa62154966c15c94a0a | dbf16f6522ae46d6cffd75577d76bffd1cbeaeb1 | /Src/Tools/PathFinder.h | dd08690531f9dc3e5a2b5bf86dd05c3e28ab6ff0 | [] | no_license | RomanMichna/diplomovka | df6e48f43f2b91407f63e7f100f7e10e16b5d52c | c3f090fe2662cc34f8ecc65ee14e1555695c0f54 | refs/heads/master | 2021-01-10T15:31:48.017316 | 2013-04-09T11:32:41 | 2013-04-09T11:32:41 | 8,552,952 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,940 | h | /**
* @file PathFinder.h
* @author Katharina Gillmann
*/
#pragma once
#include "Tools/Module/Module.h"
#include "Representations/Modeling/CombinedWorldModel.h"
#include "Representations/Modeling/BallModel.h"
#include "Representations/Modeling/RobotPose.h"
#include "Representations/Infrastructure/GameInfo.h"
#inclu... | [
"roman.michna@student.tuke.sk"
] | roman.michna@student.tuke.sk |
ff55920b50ac2a97e33db61d3b8570546fde83f7 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/System/SystemTesting/CharacterStringSuite/FormatErrorMessage/FormatStringMessageUseArgumentArrayAndBufferTesting.cpp | e59276eb31c4f23a9c0cf6f74ae66a251177aee7 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,627 | cpp | /// Copyright (c) 2010-2022
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.8.1.4 (2022/11/29 21:51)
#include "FormatStringMessageUseArgumentArrayAndBufferTesting.h"
#include "System/CharacterString/FormatErrorMessage.h"
#include "CoreTools/Helper/Asse... | [
"94458936@qq.com"
] | 94458936@qq.com |
e8ab70706cc82bca7a1116e9ca922b614aaa9c8f | 75d45eeff521e0680d11122e57eefbc9337d2121 | /modbus_backend.h | 6e813f22729f25473fc9ca940662a56a106f1ef3 | [] | no_license | raccoonn32/Tester | 4a79810ca185da7d04360abeeedf7c2fa7446762 | cfb73311948d03f069a361ffe721afe38af17b8c | refs/heads/master | 2022-11-26T10:48:33.936977 | 2020-07-20T07:38:33 | 2020-07-20T07:38:33 | 281,033,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | h | #ifndef MODBUS_BACKEND_H
#define MODBUS_BACKEND_H
#include <QThread>
#include <QString>
#include <QTimer>
#include <QMutex>
#include <QVector>
#include "libmodbus/modbus.h"
class modbus_backend : public QObject
{
Q_OBJECT
Q_DISABLE_COPY(modbus_backend)
public:
explicit modbus_backend(QObject ... | [
"noreply@github.com"
] | raccoonn32.noreply@github.com |
0893a4303911f6f3ec0cc6e4a09fa96dbf9bd276 | 320eb998c7e7b9745df92ca4b8a1b1973802dc8f | /China加密.cpp | 9b264c238f88da4ab786664c4aa9465407c92cfa | [] | no_license | JinMinghan18/mass | 2d3bf0dd0ff32145bed260608d72c0530771f9db | a2e1be96e55af36a403df35ac5f7c8c7139bbbd4 | refs/heads/master | 2020-05-18T17:50:55.485128 | 2019-05-02T11:20:29 | 2019-05-02T11:20:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include <iostream>
using namespace std;
int main()
{
char c1,c2,c3,c4,c5;
cin >>c1>>c2>>c3>>c4>>c5;
c1+=4,c2+=4,c3+=4,c4+=4,c5+=4;
cout<<c1<<c2<<c3<<c4<<c5;
system("pause");
return 0;
}
| [
"1099461301@qq.com"
] | 1099461301@qq.com |
21b003c1e74a3308a84115ce82666d2cdb32c10d | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Action/actionHuntingDead.cpp | 979a0b64f804948a8588e32b942db34471d9c71e | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 726 | cpp | #include "Game/AI/Action/actionHuntingDead.h"
namespace uking::action {
HuntingDead::HuntingDead(const InitArg& arg) : ksys::act::ai::Action(arg) {}
HuntingDead::~HuntingDead() = default;
void HuntingDead::enter_(ksys::act::ai::InlineParamPack* params) {
ksys::act::ai::Action::enter_(params);
}
void HuntingDea... | [
"leo@leolam.fr"
] | leo@leolam.fr |
ed3a84d475158116a50e07247487c08d8c93e6c9 | e658e1d3357b1f841486687824436c6aa2124255 | /OOP-Milestone5-master/NonPerishable.h | 9dd664288a8c0b5dd8a48f6719b60d70b5a46e53 | [] | no_license | wu-geoff/OOP244 | bf3029cf16d5dbebb198ec9f58c98c1af5b2785b | 9eaf823167b7f1405d1839221f9277764571e194 | refs/heads/master | 2020-12-30T15:21:12.191872 | 2018-01-24T20:04:03 | 2018-01-24T20:04:03 | 91,125,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #ifndef ICT_NONPERISHABLE_H__
#define ICT_NONPERISHABLE_H__
#include <iostream>
#include "Item.h"
#include "Error.h"
namespace ict {
class NonPerishable: public Item{
private:
Error m_err;
protected:
bool ok() const;
void error(const char* message);
virtual char signature()c... | [
"wu.geoff@gmail.com"
] | wu.geoff@gmail.com |
5b21a4b042a71638fa87d834ac8ff77c1804a224 | dddea9f57189af8e26a7a0da95ef57116d9a0a37 | /application/test/Task_Test.cpp | 607ee7067693e076ea7e544e6b297da53de5b8eb | [] | no_license | sunnybouorm/Task_Tracker | ecb09f81d5c001f91f7c0449f9ea3b7255f612ff | c4b2a7ee7e56b80bba422f2b67f5c64e11474858 | refs/heads/master | 2016-09-05T18:14:10.363717 | 2015-01-29T07:00:59 | 2015-01-29T07:00:59 | 28,864,357 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,991 | cpp | #include "catch.hpp"
#include <vector>
#include "Task_Manager.h"
#include <iostream>
SCENARIO( "Tasks can be created and deleted", "[task]" )
{
GIVEN( "A task manager with 2 tasks added" )
{
Task_Manager tskmgr;
tskmgr.add("MATH");
REQUIRE(tskmgr.is_Exist("MATH") == true );
ts... | [
"sunnybouorm@yahoo.com.au"
] | sunnybouorm@yahoo.com.au |
dc2b620ad7715eef690e3fd9dcfebab61e3c053c | c3bde89cdacf4a47137e5a00c29117bf8c35dced | /Source/Escape/Escape.cpp | 721e50ffff4148cce64c313fdc430b4760db3745 | [] | no_license | abdullahsultan/BuildingEscape-UnrealEngine | ff7815058e5ca103a66ed45b70a9409b98baae31 | 5ed785e24588f000e3867aa9b81dc9c18564d19a | refs/heads/master | 2022-10-27T19:43:03.177039 | 2020-06-13T18:32:07 | 2020-06-13T18:32:07 | 270,039,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Escape.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Escape, "Escape" ); | [
"abdullahsultan448@gmail.com"
] | abdullahsultan448@gmail.com |
820dd039ce6674c929a91f58a840b0e44165fe0d | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/search/SearchCache2/src/SearchCacheProxy/CacheProxy.cpp | ff6a58fde72be3ba33744df1c956f08dfcd4f7b2 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,234 | cpp | #include <execinfo.h>
#include "QueryRunner.h"
#include "../Util/DatabaseCacheFactory.h"
#include "CacheProxy.h"
//***************************************************************************
void MyUtil::initialize() {
ServiceI& service = ServiceI::instance();
int cluster = service.getCommunicator()->getProperties... | [
"liyong19861014@gmail.com"
] | liyong19861014@gmail.com |
8a639a221215bc5181a95adce37e10f749ab1dba | d879664ed7a16312a8e3b4d8c4b04e77a5d4c78b | /src/Board_colisions.cpp | 479ccc845ea651f1c920d396687b8b1a10e5ea98 | [] | no_license | cbartol/Pacman-3D | 4f5abb80c6d8745a631bd6e0b6b32398459c9a57 | 1e96721bab66cb46b6a4e939faf9f771b3221d48 | refs/heads/master | 2016-09-06T09:32:07.526882 | 2013-07-21T14:33:25 | 2013-07-21T14:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,606 | cpp | #include "Board.h"
#include "Game.h"
#include "conventions.h"
#include <GL/glut.h>
#include <cmath>
#include <iostream>
position Board::checkPacmanPath(position orig, position dest, char key, int *dir, Game* game){
float xorig = orig.x + 12., yorig = (-orig.y)+ 7., xdest = dest.x + 12., ydest = (-dest.y)+ 7.;
/**
... | [
"carlosgbartolomeu@gmail.com"
] | carlosgbartolomeu@gmail.com |
49d62254d997f9c9e99a2f4fb8652eeb943e1435 | f911d8e95d8103ce786775743ae7d8394ea2fe27 | /src/main.cpp | ba760ef85b088deb5408a9fd05c862e3cdb6f2de | [
"MIT"
] | permissive | Sj-Amani/Practical_PID_Controller | aa5b8ef9717b68ae3a107d0044952de100b5f6ee | f1b16cf620ea197b072a610a04dd90ea7fc6210f | refs/heads/master | 2020-09-27T22:50:32.619250 | 2019-12-08T13:58:24 | 2019-12-08T13:58:24 | 226,628,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,429 | cpp | #include <uWS/uWS.h>
#include <iostream>
#include "json.hpp"
#include "PID.h"
#include <math.h>
// for convenience
using json = nlohmann::json;
// For converting back and forth between radians and degrees.
constexpr double pi() { return M_PI; }
double deg2rad(double x) { return x * pi() / 180; }
double rad2deg(double... | [
"s-amani@seaos.co.jp"
] | s-amani@seaos.co.jp |
84e9160fa2a4f1e265aac3f3dfe1b0415690775d | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Libraries/libil2cpp/include/vm/Type.h | ecc0fbf5109c8f6ef1a7cbef072651592071e1ee | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,373 | h | #pragma once
#include <stdint.h>
#include <string>
#include <sstream>
#include <list>
#include <vector>
#include <algorithm>
#include "il2cpp-config.h"
#include "class-internals.h"
#ifdef major
# undef major
# undef minor
#endif
struct FieldInfo;
struct Il2CppType;
struct Il2CppClass;
struct Il2CppGenericParameter;... | [
"lii@rstgames.com"
] | lii@rstgames.com |
9082759cc3d30bb78297220c2d54efc1cdea8ae0 | 5a162c8dca054964b7a559d67796c745008b1612 | /lab3_2/mainwindow.cpp | 7f919855e6e55ce2b7c282225bd0ae060764d96d | [] | no_license | AndrikB/2-Course | 009abed462f562a10eae504b9e6ff7b60fa29153 | 6cda23012ff85c5286224ff6ef7ac0cb75afaee2 | refs/heads/master | 2020-03-29T17:12:50.120917 | 2019-06-20T07:12:25 | 2019-06-20T07:12:25 | 150,149,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,259 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileDialog>
const QString name="autosave.autosave";
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
this->open(name);
ui->setupUi(this);
show_time();
QTimer *timer = new QTimer(this);
conn... | [
"blagij00@gmail.com"
] | blagij00@gmail.com |
5d5416904b7a20dde3696795d3e1effc926967df | 4667145a410412f5c093f47e67674c3fb03c042c | /Sprookjesmobiel/Gameplay/Story/Decorators/HasInventoryItemDecorator.cpp | ee645ff959301f31aff3a86db0e22773ff0192dc | [] | no_license | nik3122/SprookjesMobiel | f23776046329d2dfb184e742c14d756a000874ec | 7cd368125a9711da9857810b21f4fd4d84a1c76a | refs/heads/master | 2022-03-07T06:13:47.467035 | 2019-10-23T21:34:14 | 2019-10-23T21:34:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "HasInventoryItemDecorator.h"
#include "BehaviorTree/BlackboardComponent.h"
#include "Characters/Player/PlayerCharacter.h"
#include "UI/InventoryWidget.h"
#include "Gameplay/Items/BaseItem.h"
bool UHasInventoryItemDecorator::Calcu... | [
"quintenhenry@hotmail.be"
] | quintenhenry@hotmail.be |
661689fd7f05d680337695cc0f0bc853da29dc2c | 72a86345ceb63b187a52632e828c81210919fa78 | /225.用队列实现栈.cpp | b67d4142a7a05ccb074bd75209b268478371701e | [] | no_license | stomachacheGE/leetcode | 535a6af727faa7c85ba2453b93fadf34876b75b7 | 579f903d4656e3877a7c75efe0ac9626a7efc44f | refs/heads/master | 2021-03-12T10:00:18.227887 | 2020-03-11T15:39:59 | 2020-03-11T15:39:59 | 246,610,086 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | /*
* @lc app=leetcode.cn id=225 lang=cpp
*
* [225] 用队列实现栈
*/
// @lc code=start
class MyStack {
private:
deque<int> queue1;
deque<int> queue2;
int stack_top;
public:
/** Initialize your data structure here. */
MyStack() {
}
/** Push element x onto stack. */
void push(int x) {
... | [
"liangcheng@LiangchengdeMacBook-Pro.local"
] | liangcheng@LiangchengdeMacBook-Pro.local |
70a4951ce3aacf01e54ae4ab22ba83e5a1ba6a34 | 564c21649799b8b59f47d6282865f0cf745b1f87 | /content/public/common/presentation_session.h | 87bafb4b140cc45bf33603184280263f287c86db | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | pablosalazar7/WebARonARCore | e41f6277dd321c60084abad635819e0f70f2e9ff | 43c5db480e89b59e4ae6349e36d8f375ee12cc0d | refs/heads/webarcore_57.0.2987.5 | 2023-02-23T04:58:12.756320 | 2018-01-17T17:40:20 | 2018-01-24T04:14:02 | 454,492,900 | 1 | 0 | NOASSERTION | 2022-02-01T17:56:03 | 2022-02-01T17:56:02 | null | UTF-8 | C++ | false | false | 1,997 | h | // 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.
#ifndef CONTENT_PUBLIC_COMMON_PRESENTATION_SESSION_H_
#define CONTENT_PUBLIC_COMMON_PRESENTATION_SESSION_H_
#include <string>
#include "content/common/c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
70521b2d5800349ef1b3f73b1bf09f5cce7f782d | 18ee7b4e3957b000df06414da36d7e717ccb7357 | /Fraples7DevDX3D/Source/Fraples7DevDX3D/Objects/Sheet.cpp | 29d31fa0d3ce4ac4c668b59c70c0dc14d9f7ec96 | [] | no_license | searcas/Fraples7DevDX3D | 3d793b223a23ec56e20f8aeff933552421928181 | 77704aae3afcbb4a234428d020fbfc0a687534fb | refs/heads/master | 2023-06-05T08:17:18.969558 | 2021-02-17T16:51:02 | 2021-02-17T16:51:02 | 290,781,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | #include "Sheet.h"
#include "../RendererAPI/GFXContextBase.h"
#include "../Core/Debugging/Exceptions/Macros/GraphicsThrowMacros.h"
#include "Plane.h"
#include "../Core/Texture/Texture.h"
#include "../Core/Sampler.h"
namespace FraplesDev
{
FraplesDev::Sheet::Sheet(Graphics& gfx, std::mt19937& rng, std::uniform_real_di... | [
"ultimatez1000@gmail.com"
] | ultimatez1000@gmail.com |
85a9cf6b6063c8b5ee8eaa6af8ec0d1330b9c19f | d847920cec1ca123dc80b0e8338114351d2794bc | /palindromeNumber.cpp | 2c68bf45e21a225bfabf28609b9b2ac5ace9ad11 | [] | no_license | Rishi55/LeetCode | 7143f9719503ecf4bf755cea8c27e07454a1e100 | ff1d6f61ff930aae7579dca03aa6f7885a3c94d5 | refs/heads/master | 2020-04-03T09:32:30.010861 | 2018-10-31T11:10:18 | 2018-10-31T11:10:18 | 155,167,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | class Solution {
public:
bool isPalindrome(int x) {
if (x<0 || ((x!=0) && (x%10 == 0))) return false;
int end=0;
while(x>end){
end = (end*10)+(x%10);
x = x/10;
}
if((x == end) || (end/10 == x)) return true;
return false;
}
};
| [
"rishindrakumar@Rishindras-MacBook-Air.local"
] | rishindrakumar@Rishindras-MacBook-Air.local |
894e756887e5c094eac8f512315cb9b7e4c563fd | 911eaaff418c91a3d159c3df2e8e9d91763ab5ab | /src/gui/consolewidget.cpp | c3490714ae4ead7bae9afbacd58decce8229fac9 | [
"MIT"
] | permissive | venkatarajasekhar/X86Emulator | c5f7e84c356bfd665b2eb7ff76dc74c861c00da1 | d822978ac46495da18b4df5095b6f51038d77c23 | refs/heads/master | 2020-06-29T01:47:18.807869 | 2014-01-05T08:44:17 | 2014-01-05T08:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,430 | cpp | #include "consolewidget.h"
#include <QPainter>
#include <QPaintEvent>
#include <assert.h>
#include "charactercode.h"
#include <QDebug>
ConsoleWidget::ConsoleWidget(QWidget *parent,const u8 *videoMemory) :
QWidget(parent),_consoleImage("resource/Asci0816.zf")
{
_videoMemory = NULL;
_isShowCursor=true;
_... | [
"chenhuaguanzju@gmail.com"
] | chenhuaguanzju@gmail.com |
10c2b23249f02251be51ec4845a099c867b2a595 | efb3753829a06413a4411a4753c547eec11e4c40 | /src/zmq/zmqconfig.h | e499fb8cb17d68440a2207d8ea0abe3ad43151a0 | [
"MIT"
] | permissive | BitHostCoin/BitHost | 69c6471b150104fc1147ca7541274bba546647c8 | cd83067acbe16cffa16ab0f752e6da05136c783a | refs/heads/master | 2020-04-01T19:55:33.954484 | 2019-02-22T15:43:29 | 2019-02-22T15:43:29 | 153,578,694 | 4 | 6 | MIT | 2019-05-21T21:23:34 | 2018-10-18T07:06:13 | C++ | UTF-8 | C++ | false | false | 538 | h | // Copyright (c) 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_ZMQ_ZMQCONFIG_H
#define BITCOIN_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config/bithost-config.h"
#en... | [
"44026210+BitHostCoin@users.noreply.github.com"
] | 44026210+BitHostCoin@users.noreply.github.com |
d7f8164119c921b474f336361ae3d97a973332f6 | f75023d84d96482b5b3214128bea6da51f23c7fb | /cpp/experiments/core/oblivious_tree_model.cpp | 86e4ab35d22cac46b7d31cf3b15767e95202f891 | [
"Apache-2.0"
] | permissive | Noxoomo/ml_lib | 2c5b57c7b319fd7255b5c5879894243111c7baf7 | 69c6b9ea67540b014524b41ebf4da3431ead1954 | refs/heads/master | 2021-07-15T15:31:47.313523 | 2020-05-21T21:18:31 | 2020-05-21T21:18:31 | 150,850,473 | 1 | 1 | Apache-2.0 | 2019-05-03T11:05:52 | 2018-09-29T09:50:48 | C++ | UTF-8 | C++ | false | false | 33 | cpp | #include "oblivious_tree_model.h" | [
"dimaga92@gmail.com"
] | dimaga92@gmail.com |
5cfbf02870e96961c8f0cd8c5e826347408d88e9 | aba9c44666be6ba1d609a54eb36b0ede88dbe294 | /Externals/sockets/EventTime.h | baa779e86f0c907387c0809fd6082b49e0783560 | [
"Apache-2.0"
] | permissive | fan3750060/OpenWow | a2252660f3111e93f15a666d28fb3702a1dd892c | 28925ebed1b3503d88014f6a3a7bd8adc777fdcc | refs/heads/master | 2020-05-17T21:52:09.500604 | 2019-04-24T21:46:47 | 2019-04-24T21:46:47 | 183,984,115 | 0 | 1 | Apache-2.0 | 2019-04-29T02:11:05 | 2019-04-29T02:11:05 | null | UTF-8 | C++ | false | false | 2,196 | h | /** \file EventTime.h
** \date 2005-12-07
** \author grymse@alhem.net
**/
/*
Copyright (C) 2005-2011 Anders Hedstrom
This library is made available under the terms of the GNU GPL, with
the additional exemption that compiling, linking, and/or using OpenSSL
is allowed.
If you would like to use this library in a clo... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
4557b25d595d168e9c441c9aa77a8a59cdb59b90 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/printsupport/widgets/qprintpreviewwidget.h | ff648b03d0b6f4ec6345f55834064548906c75c1 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-refe... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 3,434 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensee... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
544491349ad6fdceb3b4bbf47b60c131488a3dde | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_117_collectd-4.0.7.cpp | e24456f8deb9c6f35a2eb08ec15ad65a55251356 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | void module_register (void)
{
#if APACHE_HAVE_READ
plugin_register_config ("apache", config,
config_keys, config_keys_num);
plugin_register_init ("apache", init);
plugin_register_read ("apache", apache_read);
#endif
} | [
"993273596@qq.com"
] | 993273596@qq.com |
7f6872737321c6bc84b8e687b81db3baa7dcf87a | d5d00fb9439aa6c3db7380e82663cb2fef0b910f | /directory_service/Message.cpp | 3aa3263ebce29ec6fb4c9c8d2c8bd8645a9d24be | [] | no_license | basmatamer/Distributed-Systems-Project | e2a91ff58378f25c1b3431f0a3a6706233c57f28 | 78cb6b2cbfbbb4348d31bcb9d1fb5fd11dae281d | refs/heads/master | 2020-12-02T09:19:00.676914 | 2019-12-30T18:21:21 | 2019-12-30T18:21:21 | 230,959,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,667 | cpp | #include "Message.hpp"
#include "ErrorHandler.hpp"
#include "Converter.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include "packet.hpp"
#include <vector>
#include "InterfaceDefintion.h"
#include <cmath>
#include "LocalDirectory.hpp"
std::string typeToString(MessageType type) {... | [
"noreply@github.com"
] | basmatamer.noreply@github.com |
8a71251be08408cd0d26b4e7f0f5ef80e29cf072 | 9a8f7cc51b9cfd8e76c76258e980603b990740e5 | /Chase-Game-Video/src/character.cpp | 30f52d817d02575e68cf011ca77cc0fbd80e6465 | [
"MIT"
] | permissive | SakshayMahna/AI-for-Game-Programming | 8ab23e2eea89cfc027ee4ae5bf6aa093eaf1bf06 | de2df8b25b233e6db08971226eece2cab2a7f3ef | refs/heads/main | 2023-08-15T06:06:04.577408 | 2021-10-19T16:50:08 | 2021-10-19T16:50:08 | 409,204,141 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | cpp | #include <SFML/Graphics.hpp>
#include <cmath>
#include "character.h"
#include "kinematic.h"
// Character Constructor
Character::Character(float i_position[2], sf::Color color, float width, float height) {
// Initialize Kinematic State
float i_velocity[] = {0.0, 0.0};
state = Kinematic(i_position, i_velocit... | [
"sakshum19@gmail.com"
] | sakshum19@gmail.com |
95a686df9df55a72337296ed5412a89c96582100 | 65aa81b16883a9bb1af081b9fbbe536c11b524c1 | /Pac-Man/main.cpp | 95d180d6051e1e396b120bef14e8e6ca33bbb125 | [] | no_license | Guitaroz/TicTacToe-Pac-Man | af62870962485c71bc5ba007eff404300a10a1b8 | bd701ec2f92abcfb757be6119a5642d040de18a0 | refs/heads/master | 2021-01-02T23:07:21.626487 | 2016-05-07T22:43:21 | 2016-05-07T22:43:21 | 58,287,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,927 | cpp | #include <iostream>
using namespace std;
#include <conio.h>
#include "Player.h"
#include"Ghost.h"
#include "Console.h"
using namespace System;
#include <fstream>
#include <ctime>
#include "globals.h"
void ResetCursor()
{
Console::SetCursorPosition(0, Console::WindowHeight() - 1);
} // Reset the conso... | [
"o.alvarado89@gmail.com"
] | o.alvarado89@gmail.com |
11d2a90ecc9af9f9550a5b8d0f26476dfb5cf341 | cecf6991e6007ee4bc32a82e438c9120b3826dad | /Stock/Source/FutureCommission.h | 7361aba7491603f41fedf95bc8467e649314cf5d | [] | no_license | thinking2535/Rso | 172a3499400331439a530cab78934fa4c4433771 | 35d556463118825a1d5d36f49d46f18a05806169 | refs/heads/main | 2022-11-30T12:43:50.917063 | 2022-11-23T10:47:59 | 2022-11-23T10:47:59 | 31,525,549 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #pragma once
#include "Base.h"
namespace rso
{
namespace stock
{
class CFutureCommission
{
double _CommissionRatio = 0.0;
TValue _TradeValue = 0;
public:
CFutureCommission(double CommissionRatio_) :
_CommissionRatio(CommissionRatio_)
{
}
inline void Trade(const SOrder& Order_)
{
... | [
"thinking2535@gmail.com"
] | thinking2535@gmail.com |
bb34396fe34b373a80b0256398dcb52b46d644b9 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/IfcMedicalDeviceType.cpp | b037be94c9bf13fda6c2574d68fb746ecaca5db8 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 5,008 | cpp | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "OpenInfraPlatform/IfcRoad... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
a6cce6021215ed4081202d927debc38796e198cb | 150464efa69db3abf328ef8cd912e8e248c633e6 | /_6.opengl/Common/helper_gl.h | 19566a2d6bea0f9022bc48c4695c31c91ff3f80c | [] | no_license | bunshue/vcs | 2d194906b7e8c077f813b02f2edc70c4b197ab2b | d9a994e3afbb9ea84cc01284934c39860fea1061 | refs/heads/master | 2023-08-23T22:53:08.303457 | 2023-08-23T13:02:34 | 2023-08-23T13:02:34 | 127,182,360 | 6 | 3 | null | 2023-05-22T21:33:09 | 2018-03-28T18:33:23 | C# | UTF-8 | C++ | false | false | 5,900 | h | // These are helper functions for the SDK samples (OpenGL)
#ifndef HELPER_GL_H
#define HELPER_GL_H
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
#include <GL/glew.h>
#endif
#include <GL/gl.h>
#include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <algorit... | [
"david@insighteyes.com"
] | david@insighteyes.com |
eb55fd4d13adb37ce9a1e0beb5b1a75c5d3d9fba | d93159d0784fc489a5066d3ee592e6c9563b228b | /DQM/HcalCommon/src/DQClient.cc | 73a7f2af1628c041689c83fe543d6eedaffff4bd | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 3,302 | cc | #include "DQM/HcalCommon/interface/DQClient.h"
namespace hcaldqm
{
DQClient::DQClient(std::string const& name, std::string const& taskname,
edm::ParameterSet const& ps) :
DQModule(ps),_taskname(taskname), _maxProcessedLS(0)
{
// - SET THE TASK NAME YOU REFER TO
// - SET THE CLIENT'S NAME AS WELL - RUN SUMMAR... | [
"vdkhristenko1991@gmail.com"
] | vdkhristenko1991@gmail.com |
af2a7b42ce73fd73aa7f2d60581ad2c8f36257b9 | ade375dbbb1dfa2feb0fd7a846c4e5bb9afe2692 | /src/arch/x64/interrupts/apic/ioapic.hpp | 8d71477a74758679ef04679653a1e085ea268f32 | [] | no_license | unixpickle/anarch | af1fb6fde6fcddeef21f29167259c23fe50c0107 | 111d9c566bae1c4cabe5d6a922ab56edbd201f11 | refs/heads/master | 2020-04-06T03:08:59.201062 | 2014-09-09T19:46:52 | 2014-09-09T19:46:52 | 21,776,364 | 12 | 4 | null | 2014-09-08T22:14:37 | 2014-07-12T20:55:21 | C++ | UTF-8 | C++ | false | false | 1,668 | hpp | #ifndef __ANARCH_X64_IOAPIC_HPP__
#define __ANARCH_X64_IOAPIC_HPP__
#include "../../acpi/apic-table.hpp"
#include <anarch/lock>
#include <ansa/nocopy>
namespace anarch {
namespace x64 {
class IOApic : public ansa::NoCopy {
public:
struct Entry;
static const int RegVersion = 1;
IOApic(ApicTable & table, Api... | [
"unixpickle@gmail.com"
] | unixpickle@gmail.com |
c426bf3beb2142eef2d2e71a10e634766345a99a | c3ba7b56210242e843fd95f959e0c2cdf46269c0 | /ComicSetup/StdAfx.cpp | 8276bc79b300dc6f7f4c7043e1488c1a46845cf7 | [
"Apache-2.0"
] | permissive | Evanthx/comics | 76fbd7d3820fbdf4c933c090223f26d507d0e00c | 0bcb798e77328afb83ac6fbccf94209ee35361f8 | refs/heads/master | 2016-09-06T15:09:47.284488 | 2015-05-10T05:05:23 | 2015-05-10T05:05:23 | 35,200,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ComicSetup.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"evan@evan.org"
] | evan@evan.org |
410abc5007e81ae10bb2dbfa7c1cfa0e73a85ad7 | 043da47d8825018be200680174227adef5456959 | /lamb/math/camera.cc | e4e35d2481493322be466fbfab41959450d7a9d2 | [
"MIT"
] | permissive | Volcore/es3-ssao | 3a3f9e1542ee9299fc3c0eb0baf72e75a830f9e9 | d027cb7790b424c30e69288a452545005fdc2b8a | refs/heads/master | 2021-01-06T20:37:48.547024 | 2013-12-20T21:27:09 | 2013-12-20T21:27:09 | 15,337,082 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,098 | cc | /*******************************************************************************
Copyright (c) 2009, Limbic Software, Inc.
All rights reserved.
******************************************************************************/
#include "lamb/math/camera.h"
#include <stdio.h>
#include <cmath>
#include "lamb/math/m... | [
"volker@limbic.com"
] | volker@limbic.com |
74c29ab4f87ee21a8682e563a3b62b36c46b7b09 | 14ff2a31d4e2a8c306190e855bb73c4bfb65a4bc | /utility/Fibonacci.h | c0294c5e464139145a616c65b045c08b672f2ce9 | [] | no_license | JimmyBear/Library | e10e85e248d2dfce51227519acef9f81923cf3e2 | c71ec541599e83822283d38a03179cc62757ced4 | refs/heads/master | 2021-01-10T15:54:40.162643 | 2015-07-29T15:40:17 | 2015-07-29T15:40:17 | 36,297,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #ifndef __UTILITY_FIBONACCI_H
#define __UTILITY_FIBONACCI_H
namespace utility
{
namespace recursive
{
unsigned int Fibonacci(unsigned int n);
};
namespace iterative
{
unsigned int Fibonacci(unsigned int n);
};
};
#endif // __UTILITY_FIBONACCI_H | [
"jimmy760205@gmail.com"
] | jimmy760205@gmail.com |
997172689eb772873da0ebadd594028f83f6d024 | 6ae1aa70d46788fcfce031f51733b3c18715b45d | /src/jet/constant_vector_field2.cpp | 2d7c1515dda9698d685d84c1e41a5514a661631e | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | dokipen3d/fluid-engine-dev | 3d4f3e4bb907feb00734e0fc1d47d2e86a89e3f0 | 0e26fbc19195ce4a21fb529a3de2d15b46c93050 | refs/heads/master | 2021-01-11T06:50:38.790287 | 2016-10-08T04:55:39 | 2016-10-08T04:55:39 | 72,378,941 | 4 | 1 | null | 2016-10-30T22:16:28 | 2016-10-30T22:16:28 | null | UTF-8 | C++ | false | false | 478 | cpp | // Copyright (c) 2016 Doyub Kim
#include <pch.h>
#include <jet/constant_vector_field2.h>
using namespace jet;
ConstantVectorField2::ConstantVectorField2(const Vector2D& value) :
_value(value) {
}
Vector2D ConstantVectorField2::sample(const Vector2D& x) const {
UNUSED_VARIABLE(x);
return _value;
}
std:... | [
"doyubkim@gmail.com"
] | doyubkim@gmail.com |
76ca4776b585f6e29dec9b9252beb0693d7b3fbf | e3e381b042b21ff1fe204a165bbb938749026510 | /Lucido/Source/Lucido/Private/Tools/LucidToolBase.cpp | af6a23c54755cedec6401c3e4a10892214220f18 | [] | no_license | AnimalXStudio/Lucido | 8ce7c0c0ea2c5c291c939f4da506130939333925 | 7149c489292037f30ee841928ee23a1f31cd68cf | refs/heads/main | 2023-04-18T14:44:57.556652 | 2021-05-01T11:57:50 | 2021-05-01T11:57:50 | 363,394,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,002 | cpp | // Copyright AnimalXStudio 2021
#include "Tools/LucidToolBase.h"
#include "Interaction/LucidInteractionComponent.h"
#include "Character/LucidCharacter.h"
#include "Components/PrimitiveComponent.h"
#include "Core/LucidVisibilityComponent.h"
#include "Kismet/KismetMathLibrary.h"
#include <Core/LucidGameInstance.h>
#incl... | [
"mathias@animalxs.com"
] | mathias@animalxs.com |
3ae07be4a2af2d7852c9294abe06a922fd014fd2 | d4422ebd1b82f5024038537de68d2af5d27de34c | /AeroDrawTest/AeroDrawTestDlg.h | 5583ff7292fcbbefad8f80ecc9211bf6d1045cf1 | [] | no_license | LeeJaeBin/All-Application-Screencapture | a182ad29be3833a33707726d817c9adf861abc68 | 722903845175cf41e78ee6a408f407becd852872 | refs/heads/master | 2020-04-09T07:38:39.811001 | 2019-02-07T05:51:48 | 2019-02-07T05:51:48 | 160,164,296 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 2,237 | h |
// AeroDrawTestDlg.h : 헤더 파일
//
#pragma once
#include <vector>
#include "afxwin.h"
#define ERR_NONE 0
#define ERR_RUN_CHECK_PROCESS 413
#define NOT_FOUND_PID 104
typedef struct _tagProcessInfo
{
int nPid;
char szName[MAX_PATH];
}PROCESSINFO, *LPPROCESSINFO;
// CAeroDrawTestDlg 대화 ... | [
"dmlwlsdk07@gmail.com"
] | dmlwlsdk07@gmail.com |
6a8bb415813398ca176eedda3bdb6a975642765f | 2301b818bd8f68ecb295bedd500831b569531a4d | /src/server_socket.cpp | 6fb20d76ea428569892d9792ce7a7bf06c606679 | [] | no_license | prophetofxenu/csc401-project | 19dcc0931c59fd2dea3af49722661a62467e6e0b | 1716107bcc743e10976473f98ecddb520dee9d39 | refs/heads/main | 2023-04-21T04:38:49.102791 | 2021-05-01T01:01:16 | 2021-05-01T01:01:16 | 355,738,300 | 0 | 0 | null | 2021-05-01T01:01:51 | 2021-04-08T02:17:42 | C++ | UTF-8 | C++ | false | false | 1,496 | cpp | #include "server_socket.hpp"
#include <sys/socket.h>
#include <unistd.h>
#include <iostream>
#define MAX_READ 4096
ServerSocket::ServerSocket(int sock_fd) {
this->sock_fd = sock_fd;
connected = true;
}
bool ServerSocket::send(void *data, size_t len) {
char *d = reinterpret_cast<char*>(data);
if (!... | [
"wmharrel@ncsu.edu"
] | wmharrel@ncsu.edu |
6e7610d8a4f86be9ad6ad869699b783b4473c9ae | da54ddcc3ef108c16714ab7f05e12e1191b83a90 | /firmware/src/sensors/gnss/gnss_cli.cpp | 0c8fdda2874717e6ad41b2f2472c3ab60f13393e | [] | no_license | mihadyuk/u2 | 9f50cd2d4f1ae918b1dad799b0391e6c6777fdc4 | ad97e8137bfdc80c6e9b9928424785b2ab917fec | refs/heads/master | 2021-01-19T17:39:16.550431 | 2016-10-05T05:31:58 | 2016-10-05T05:31:58 | 29,294,204 | 0 | 0 | null | 2015-01-15T11:23:44 | 2015-01-15T11:23:44 | null | UTF-8 | C++ | false | false | 2,877 | cpp | #include <stdio.h>
#include "main.h"
#include "ublox.hpp"
#include "mtkgps.hpp"
#include "cli.hpp"
using namespace chibios_rt;
/*
******************************************************************************
* DEFINES
******************************************************************************
*/
/*
******... | [
"barthess@yandex.ru"
] | barthess@yandex.ru |
2df2220ba3e650961236989e6d525d19cd690758 | 8c9984a6a2574d57a89b5dd12e988fd20773d57d | /Arrays/MoveAllTheNegativeElementsToOneSideOfTheArray.cpp | 4a337148b5acaecffc672158f65c30edd3a373e1 | [] | no_license | reputationaire-github-sonarcloud/final450 | b5a4911f1549d13b1f5570fdd3e07995143adb49 | adaf1aba3102f28630cd3bd8c0a596fd38a6bcbb | refs/heads/main | 2023-03-15T20:58:32.167173 | 2020-12-12T10:39:41 | 2020-12-12T10:39:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
vector<int> vec1;
int input,pivotpos,i=0;
while(cin>>input){
vec1.push_back(input);
i++;
}
for(int i=0;i<vec1.size();i++){
if(vec1.at(i)>0){
pivotpos=i;
break;
}
}
int start=0,end=vec1.size... | [
"parthmshah1302@gmail.com"
] | parthmshah1302@gmail.com |
da638bf7f61610e70fd731a2771d98d55902a362 | ba6029ab6b9e1511ce447a223b08df864ee1f6a5 | /code/dynamix/type_mutation-c.cpp | 588bdd02c2b8ae94309c9dafdea496a2b1048c32 | [
"MIT",
"CC-BY-4.0"
] | permissive | iboB/dynamix | a47d3d822860a74ea2156f584a5ebdc3f76292e3 | d69e989ddb0913a6fe7a17ed2b7cb303671c4b42 | refs/heads/master | 2023-05-05T21:01:05.967634 | 2023-04-26T04:16:16 | 2023-04-26T04:16:16 | 61,472,488 | 680 | 57 | MIT | 2023-04-23T03:31:23 | 2016-06-19T09:11:56 | C++ | UTF-8 | C++ | false | false | 3,524 | cpp | // Copyright (c) Borislav Stanimirov
// SPDX-License-Identifier: MIT
//
#include "../dnmx/type_mutation.h"
#include "type_mutation.hpp"
#include "domain.hpp"
#include "type.hpp"
using namespace dynamix;
extern "C" {
#define self type_mutation::from_c_handle(hmut)
dnmx_type_mutation_handle dnmx_create_type_mutation_... | [
"b.stanimirov@abv.bg"
] | b.stanimirov@abv.bg |
c5a802eb43943827873f99d853b31a098e5971f1 | 950894d49664f6109b800aab112dd2889397d155 | /src/gl/models/gl_models.h | 183a3e88ec9b9e765692710d6b86a0bcddc1ae28 | [] | no_license | alexey-lysiuk/gzdoom-v18x-dev | 741926b0f0230f1a96d30ec51482c3b91b81fde5 | 496adcd99123220edf41124f59efd73c90d9f5ee | refs/heads/master | 2020-12-25T21:56:58.649126 | 2016-01-13T20:46:53 | 2016-01-13T20:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,039 | h | #ifndef __GL_MODELS_H_
#define __GL_MODELS_H_
#include "gl/utility/gl_geometric.h"
#include "p_pspr.h"
#include "r_data/voxels.h"
#define MAX_LODS 4
enum { VX, VZ, VY };
#define MD2_MAGIC 0x32504449
#define DMD_MAGIC 0x4D444D44
#define MD3_MAGIC 0x33504449
#define NUMVERTEXNORMALS 162
FTexture * LoadSkin(c... | [
"alexey.lysiuk@gmail.com"
] | alexey.lysiuk@gmail.com |
93d03ac5637b86d5295ce4e2a3778302f3dac363 | 93cf7f77db00ba67284837f873c39426044b9b4b | /TestRevisionP13/Graph.hpp | 802977b42e4181137158c00918e5462f60a7e842 | [] | no_license | Laura-Wa1sh/ProgrammingPractical13 | 29bf4d77ba0ad3b5b560e80e4943a79e64591bce | 3c26664df23f9e0e61192cb54ee1c1b865f0414a | refs/heads/master | 2020-05-28T00:46:52.441920 | 2019-05-27T12:03:15 | 2019-05-27T12:03:15 | 188,835,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | hpp | //
// Graph.hpp
// TestRevisionP13
//
// Created by Laura Walsh on 06/05/2019.
// Copyright © 2019 Laura Walsh. All rights reserved.
//
#ifndef Graph_hpp
#define Graph_hpp
#include <stdio.h>
class Graph
{
public:
// constructor - create a graph from a file with the given name
Graph(char* fname);
// ... | [
"noreply@github.com"
] | Laura-Wa1sh.noreply@github.com |
a2bf4b4ee48e3d523fefb15026749cdc0d13d581 | 180f0182335b653bccd1df9aa3bd821ab6609887 | /findNthDigit.cpp | c3ecb5379840bcadf14dc1ee736a42f239ea5038 | [] | no_license | wenyi214/Qusetion-bank | 1eba12f13b65ddcec4916b47e004f0a1d1a39bc7 | b51d7ef0133b7ed0e8246dece45d3624aa3d9cbe | refs/heads/master | 2023-09-03T00:05:31.820221 | 2021-11-08T12:56:41 | 2021-11-08T12:56:41 | 371,200,722 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,770 | cpp | //这里有一个数学规律:
//1~9,数字只有1位数,从1开始,一共位数有9个。
//10~99,数字是2位数,从10开始,一共位数有
//10~19,数字两位,一共位数有20。
//20~29,数字两位,一共位数有20。
//......
//90~99,数字两位,一共位数有20。
//所以10~99,一共位数有9 * 10 * 2 = 180个
//100~999,数字是3位数,从100开始,一共位数有9 * 100 * 3 = 2700个
//总结就是:
//1~9,数字是1位数,从1开始。一共位数有9 * 1 * 1个
//10~99,数字是2位数,从10开始,一共位数有9 * 10 * 2个
//100~999,数字是3位... | [
"17621889147@163.com"
] | 17621889147@163.com |
f8ccd96cd16021ce3c372f7d958bc07d06376af3 | e3929acbdc012951b2b1994d7d9d58187404d6f6 | /LeetCode/P147.cpp | b308dca59e3be3570cdbfdf297fb6f4d189e2914 | [] | no_license | LuJianBuPing/LeetCode | a8bc08ab001577e814c628e3566265ef98172429 | 2f58a4efe644dcc0043dbacb9816aff759570afb | refs/heads/master | 2021-03-12T23:22:15.551914 | 2015-07-13T14:16:12 | 2015-07-13T14:16:12 | 32,003,541 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include "LeetCode.h"
class Solution {
public:
ListNode* insertionSortList(ListNode* head) {
ListNode* newhead = NULL;
auto p = head, q = head;
while (p != NULL)
{
q = p->next;
newhead = insertOneNode(newhead, p);
p = q;
}
return newhead;
}
ListNode* insertOneNode(ListNode* head, ListNode* no... | [
"star.fang1990@live.com"
] | star.fang1990@live.com |
962afc9ee3e46a080b0904cfbab01e7e5d813d47 | 527be6bafec9fafe893313f2b7f568778f1a18f6 | /Códigos anteriores/201131177-proyecto2/Codigo/Arduino/I2C_master/I2C_master.ino | bad7991b6470b13e5dfd2f9626c7174424a3152c | [] | no_license | danielcanessa/III-Proyecto-Operativos | 501250cf000bc065e1e026a8dc4f311d311ea812 | 29fb292de9ef9bd7ce0aa883cabd7bb4e153689e | refs/heads/master | 2021-06-08T11:27:42.809086 | 2016-11-15T21:06:32 | 2016-11-15T21:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | ino | #include <Wire.h>
int slaveId = 1;
void setup(){
Serial.begin(9600) ;
while(!Serial);
// Run as I2C Master
Wire.begin();
}
char cadena[24];
byte contador = 0;
void loop() {
contador = 0;
if(Serial.available()){ // Si hay datos disponibles para leer.
memset(cadena,0,sizeof(cadena));
whi... | [
"danielcanessa09@gmail.com"
] | danielcanessa09@gmail.com |
56f45586cb8bb97ba14284087be06ef88c600ffe | 8c26828d4e487771699c07905d986d4b5cb0580b | /proyecto tienda/borlad proyecto tienda/proyecto final 6.1/iniciadorprueba.cpp | 7ac9b908f78ff1238632b8a2c8d44cb65e30eaea | [] | no_license | jguillermo/cpp | 5f0aa0f70183cebe7d602580c824927d50b62c21 | 13b9d68b4d13df424c669df66f21dfe5128172dc | refs/heads/master | 2023-06-27T15:47:38.116675 | 2021-07-24T21:10:58 | 2021-07-24T21:10:58 | 389,202,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,736 | cpp | #include<iostream.h>
#include<fstream.h>
#include<conio.h>
#include<stdlib.h>
#include<iomanip.h>
#include<stdio.h>
#include <ctype.h>
#include <math.h>
#define sal 27
#include "producto.h"
#include "productoa.h"
char op;
//******************************************************************************
clas... | [
"jguillermo@outlook.com"
] | jguillermo@outlook.com |
53ffc4f4b22db290823fcb2694b77f21c87404ad | 388fbd2245e2dd65601c46d201a1afa9ee2f6d2c | /src/p2p/random.cc | 9f0e92bf09143124268397e9edd2a0081c9550c6 | [
"MIT"
] | permissive | Ambr-org/Ambr | c927299c4b5ee33fefce7845e8a42e8a4e8c4cc0 | 2f36bac6e675006d83eb45b54a9907a0ebb7e3d5 | refs/heads/master | 2020-03-22T15:24:53.391685 | 2018-11-20T02:16:49 | 2018-11-20T02:16:49 | 140,250,863 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 14,578 | cc | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <random.h>
#include <crypto/sha512.h>
#include <support/cleanse.h>
#ifd... | [
"243522440@qq.com"
] | 243522440@qq.com |
20cae8e3638ebbd54773dd43719b994183c26609 | 56e6d77e6feb2ad530cb10fb68dd0debd8f21729 | /Day 1.cpp | 9218ded6f1909f9583da2eafe51e7bd6981c8f55 | [] | no_license | chhetri28/November-challenge-Leetcode | be507ed326a507c8550be0130e128e6ea90c2888 | 919791997af7a0a70a3cdf39a677e5c922a0c9eb | refs/heads/master | 2023-01-14T17:46:21.948146 | 2020-11-20T05:13:48 | 2020-11-20T05:13:48 | 309,429,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | // Convert Binary Number in a Linked List to Integer
/*
Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number.
Return the decimal value of the number in the linked list.
Input: head = [1,0,1... | [
"chettrisourav28@gmail.com"
] | chettrisourav28@gmail.com |
ba7ea38283175701295070ffaca1c69902de7dce | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/Studio/WorkbenchProtocol/src/I_SubscribeModelRequest.cpp | ed0573bd79cbb033584f5503817abac3e7b5833d | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Zen Community Framework
//
// Copyright (C) 2001 - 2010 Tony Richards
// Copyright (C) 2008 - 2009 Matthew Alan Gray
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be... | [
"mgray@wintermute"
] | mgray@wintermute |
ca1c33766e62f62ecd84fb3bb7634a018fd0c469 | 9f3ec71f502ffc1a32b1c9fbdf52cc27f79cd266 | /C++(1st)/929.unique-email-addresses.cpp | 3bc9d9d95178b51cacc6b61a5ac3674d9ac9067c | [] | no_license | shanerbo/leetcode | 3b91383bf8b1bb13c7ca1e58507cf24f60fc23de | a08f897e73bd2fdd28eb723aeddd4eb617340691 | refs/heads/master | 2021-08-16T16:54:45.471245 | 2021-08-09T23:04:33 | 2021-08-09T23:04:33 | 211,225,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,960 | cpp | /*
* @lc app=leetcode id=929 lang=cpp
*
* [929] Unique Email Addresses
*
* https://leetcode.com/problems/unique-email-addresses/description/
*
* algorithms
* Easy (68.40%)
* Likes: 591
* Dislikes: 162
* Total Accepted: 156K
* Total Submissions: 228.3K
* Testcase Example: '["test.email+alex@leetcode.... | [
"shanerbo@gmail.com"
] | shanerbo@gmail.com |
57bf8471846a763c555e8be5d9672f766b64798d | 18dc5c24f3659ee86bc133a3940963490af86028 | /chapter19-6/sum_thread.cpp | 16359b5a45bc2bed7541847f56bcd8b78c0f9031 | [] | no_license | hyoilll/hong_cplusplus | 91fb4d126179894f025643ca6b86daaf01560281 | 1015cdc8ccb651a0d3aa0749a1b5797d61f266fe | refs/heads/master | 2021-02-17T20:40:03.106536 | 2020-03-07T15:04:53 | 2020-03-07T15:04:53 | 245,126,483 | 0 | 0 | null | null | null | null | ISO-8859-5 | C++ | false | false | 917 | cpp | /*
thread
1~99 Че = 4950
*/
#include <vector>
#include <thread>
#include <functional>
#include <iostream>
void sum(std::vector<int>::iterator from, std::vector<int>::iterator to, int& sum)
{
int temp = 0;
for (auto i = from; i < to; ++i)
{
temp += *i;
}
sum = temp;
}
int main()
{
std::vector<std::thread>... | [
"dlgydlf123@gmail.com"
] | dlgydlf123@gmail.com |
2ad1a25592666579a4214aaeb0c62245c7834b5d | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/search_engines/search_provider_install_data_unittest.cc | 1bca439f5dc1d2d6dadbf72ce88ad94aae0c47af | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,009 | 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 <string>
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#inclu... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
fd96bf40f072ea619f9e07c03192bde72f0b956d | ccdd893cf4e544da6a4356ffb38b2bab953a4457 | /cars_scraper/common/stdafx.h | 0b108bfc7d0f9cda4654f676823b3a014078c6e3 | [] | no_license | zicuer/cars_scraper | d94fc2a479c58aead0c28fe578b2b2e14c0f5fa9 | 309a96b738094401f205ac19dbd51af0a79562fa | refs/heads/master | 2021-01-10T01:48:42.420408 | 2013-03-10T23:15:23 | 2013-03-10T23:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #pragma once
#define _SCL_SECURE_NO_WARNINGS
#include <QtCore/QtCore>
#include <QtGui/QtGui>
#include <QtWebKit/QtWebKit>
#include <QtXml/QtXml>
#include <boost/optional.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/any.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>
... | [
"zicuer@gmail.com"
] | zicuer@gmail.com |
3e8f19ea0ddf776a3b55ffd7c1bacfa7df647a36 | 7a2abbfb8cf1a381d89a09f39d8524d0adb8191c | /CSCI398/hw3/main.cpp | 1c3ac4729617c1c36f3ab1641cc88782e1f2c002 | [] | no_license | german9304/Fall2018 | ed1bf71c63836024288909abdad151fcf5035ee3 | 3a027c6b12b8165d992ac07201e872a87a6bc6ca | refs/heads/master | 2021-10-09T04:26:27.967381 | 2018-12-21T05:30:49 | 2018-12-21T05:30:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include<iostream>
#include<string>
#include <climits>
using std::cin;
using std::cout;
using std::string;
using std::endl;
using std::cerr;
#include "bst.h"
int main(){
string command;
while(cin >> command){
if(command == "countSum"){
int size;
cin >> size;
BST numbers;
for(int i = 0; i < size... | [
"31298672+german9304@users.noreply.github.com"
] | 31298672+german9304@users.noreply.github.com |
7461049dc9ca7bec21bc66bdd5a9fd4a70a31a97 | 674bcb4bf88b5359ea9710c864481af61f5867d3 | /src/plugins/playback/gme/src/gme/Gbs_Emu.h | 580f395c61cdde86cd9b729c00c302c181c216f9 | [
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"GPL-2.0-only",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"LGPL-2.1-only",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | HippoPlayer/HippoPlayer | a1da46743507c866c5e614f36122348794229b05 | a3145f9797a5ef7dd1b79ee8ccd3476c8c5310a6 | refs/heads/master | 2023-04-19T13:05:36.210552 | 2021-05-08T06:48:18 | 2021-05-08T06:48:18 | 2,195,999 | 44 | 5 | Apache-2.0 | 2022-10-19T15:45:21 | 2011-08-12T08:12:25 | C | UTF-8 | C++ | false | false | 2,073 | h | // Nintendo Game Boy GBS music file emulator
// Game_Music_Emu https://bitbucket.org/mpyne/game-music-emu/
#ifndef GBS_EMU_H
#define GBS_EMU_H
#include "Classic_Emu.h"
#include "Gb_Apu.h"
#include "Gb_Cpu.h"
class Gbs_Emu : private Gb_Cpu, public Classic_Emu {
typedef Gb_Cpu cpu;
public:
// Equalizer profiles for ... | [
"daniel@collin.com"
] | daniel@collin.com |
4b68d75fec96cae4637ff021377218bfbace8186 | 5d00b40908d122dcf5be94d09b0985ff732d8430 | /program to string strncmp.cpp | bec244a76739fe2a9005cd2915cce7a492682e75 | [] | no_license | rahul263-stack/100-program-of-c | 548093949c6816009305a95f36594eef46b3d5f8 | d229487434acdc9b978eb17071c939b1e8463d71 | refs/heads/master | 2020-09-21T01:57:21.749326 | 2020-01-13T20:05:10 | 2020-01-13T20:05:10 | 224,647,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include<stdio.h>
#include<string.h>
int main()
{
char s1[50], s2[50];
printf("enter string s1");
gets(s1);
printf("enter string s2");
gets(s2);
int n;
printf("enter value for n");
scanf("%d",&n);
strncmp(s1,s2,n);
if(strncmp(s1,s1,n)==0)
printf("string are same upto %d characters",n);
else
printf("string... | [
"53581155+rahul263-stack@users.noreply.github.com"
] | 53581155+rahul263-stack@users.noreply.github.com |
e33bec271d369d1f1c5b06b26e5b9f8c39050734 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chromecast/media/cma/backend/video_decoder_null.cc | dd36635612a1347e920857dee80a15809718f0a0 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,624 | cc | // Copyright 2016 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 "chromecast/media/cma/backend/video_decoder_null.h"
#include <memory>
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
e94c381d9dcb04a664e537277c174b242515bc0d | a286c37cdb622493d38e9109ff8550868351d1fd | /one/tridigonal_matrix_condensed/tridgonal_matrix_condensed/main.cpp | 1d4f476b11ca0b903355d8cb261deddbe81eb49c | [] | no_license | heinehn/FYS4150 | c1bf141639539b73c65ed484387b58d49f3e811c | 7f37d7c2cc339355cdc9b7457029727158640d2b | refs/heads/master | 2020-09-13T22:50:24.501807 | 2016-09-12T08:48:52 | 2016-09-12T08:48:52 | 66,631,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <stdio.h>
#include <string>
#include <cmath>
#include "time.h"
using namespace std;
ofstream ofile;
//Function
double f(double x){
return 100*exp(-10*x);
}
//Function for exact solution
double f_exact(double x){
return 1-x*(1-exp(-10))-exp(-1... | [
"heinehn@student.matnat.uio.no"
] | heinehn@student.matnat.uio.no |
357de377c3e1f96fa65f91d66c0b5a09c09e9885 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2755486_1/C++/waynenguyen/GCJ1C_C.cpp | 3e31586a8529c0f40ba2d19c93e181c5eff77c22 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 5,242 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <set>
#include <vector>
#include <map>
#include <cstring>
#include <sstream>
#include <algorithm>
#include <string>
#include <queue>
#include <fstream>
#define FOR(i,a,b) for(int i = (a); i <= (b); i++)
#define FR(i,a) for(int i = 0; i < (a); ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
3c450ad500412b1153218bb53b5954cdec09f4d4 | b71168dbe920e7f8d1c67427dd320d2c888c6599 | /src/machinery/extern.cc | 0db1aadaab4d028a541dc800982cac566598fd56 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | drycpp/machinery | 122bb92e72fb954538ef39287f564ddf425f4b39 | d52d575a222d7b41cac7c4b8c47b1b256af99f4a | refs/heads/master | 2020-04-09T20:08:50.849287 | 2014-11-03T02:07:20 | 2014-11-03T02:07:20 | 12,908,417 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cc | /* This is free and unencumbered software released into the public domain. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "extern.h"
#include <cassert> /* for assert() */
bool
machinery_module_exists(const char* const module_name) {
assert(module_name != nullptr);
if (module_name != nullptr) {
... | [
"arto@bendiken.net"
] | arto@bendiken.net |
1f78f3371b6a0b1d8f9edebb2c85c8b13d21730e | 04fdec1d377c74f95a418597d14e20db2a48d92e | /src/render/EmptyRender.h | 8c584cf2e9334041bbf0c267943e5eb8f334bb31 | [] | no_license | SergiiKusii/Cracker | ced5e00c21932e81cc1c78ff614e87cebdcd233b | b104e2c5a4d4331dfb222b27a6f4e9a4bfb5b161 | refs/heads/master | 2021-07-07T09:24:06.890772 | 2019-04-19T12:40:21 | 2019-04-19T12:40:21 | 151,879,430 | 0 | 0 | null | 2019-04-19T12:40:22 | 2018-10-06T20:34:53 | null | UTF-8 | C++ | false | false | 143 | h | #pragma once
#include "IRender.h"
class EmptyRender : public IRender
{
public:
virtual void Draw(const Document& doc) override
{ }
}; | [
"serge_11@ukr.net"
] | serge_11@ukr.net |
54e01dfd3a6518aeb89abc8c5250d34b01094b3d | 2d18b6d0fb3dd10268e9e90e27b22feac6c2a494 | /src/qt/bitcoinaddressvalidator.cpp | d6a1b2507939a3ea9525c053155df7b450fa20db | [
"MIT"
] | permissive | HugoPhoenix/Polar | de5dea8f3e658c1c00686b925d372cda18336c9c | fd3609a4fc7861e7246974adb828b01829fbb1e8 | refs/heads/main | 2023-05-14T20:16:53.959581 | 2021-06-06T02:36:20 | 2021-06-06T02:36:20 | 347,132,355 | 1 | 3 | MIT | 2021-05-30T02:08:38 | 2021-03-12T16:41:12 | C++ | UTF-8 | C++ | false | false | 2,660 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinaddressvalidato... | [
"phoenixhugo.w@gmail.com"
] | phoenixhugo.w@gmail.com |
96b602a01aea1ff86a42c55edf845a02171336f0 | 0e8a9d7ced8f061ee00299686fb510595ef17182 | /CS 2450 PriorityQueue/main.cpp | bf15b847b4707bbe66d702eede0ae209dc82fc1f | [] | no_license | FriendshipWarrior/PriorityQueue | 65a696d17897c6bf440f630a3a6383801d61c670 | 3053f72a146ecec497bad9c7806ace9f898a6bfd | refs/heads/master | 2021-05-28T15:40:17.404550 | 2015-02-15T06:11:16 | 2015-02-15T06:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | //
// main.cpp
// CS 2450 PriorityQueue
//
// Created by Dustin Hurst on 2/14/15.
// Copyright (c) 2015 Dustin Hurst. All rights reserved.
//
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
class PriorityQueue {
public:
void getInput(){
string input;
vector<int> ... | [
"the_friendship_warrior@hotmail.com"
] | the_friendship_warrior@hotmail.com |
8e6066f532a20790a282fe1e03c7613849ad6550 | 727c417f8c6fdcd01324fbccfcaed0add35d666a | /third/asio/detail/work_dispatcher.hpp | 3cc5b8a28ef95e7011cf8921acbddc0c3900f467 | [
"MIT",
"BSL-1.0",
"Zlib",
"BSD-3-Clause"
] | permissive | sniper00/moon | 2bbfabe48ac231df4befd0c29e60991598848f7b | dccdf2271d8c4f90299cb867c66327b44ebf6eda | refs/heads/master | 2023-08-31T13:52:15.187664 | 2023-08-27T05:26:25 | 2023-08-27T05:26:25 | 69,004,268 | 597 | 154 | MIT | 2023-02-05T09:27:16 | 2016-09-23T08:15:14 | C++ | UTF-8 | C++ | false | false | 4,268 | hpp | //
// detail/work_dispatcher.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DE... | [
"hanyongtao@live.com"
] | hanyongtao@live.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.