blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64b27f780de40c608ed6edd74b9761c8447a9e56 | 2c0b0b2136505dfea2b016157d1aba8cb750c05b | /src/textures/checkerboard.h | 974ccae58a3ec7cfc5ecd815ebf96b5029e7dd3f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | koiava/pbrt-v3 | 5fc91d283fa9fa588791e591cdaaa832e68bcdc1 | 3b1bfb670464e763be0a23d1c1490a1071a1bb22 | refs/heads/master | 2021-01-15T14:03:03.186539 | 2016-04-26T15:04:18 | 2016-04-26T15:04:18 | 57,282,240 | 2 | 0 | null | 2016-04-28T07:58:35 | 2016-04-28T07:58:35 | null | UTF-8 | C++ | false | false | 5,550 | h |
/*
pbrt source code is Copyright(c) 1998-2015
Matt Pharr, Greg Humphreys, and Wenzel Jakob.
This file is part of pbrt.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redi... | [
"matt@pharr.org"
] | matt@pharr.org |
25e617ffddac79fc3fdb7dd3c69541105119fd49 | 44bca330427da4c910394c7dd2a1ee5119ef6b2c | /ShuCodeDir/Shu1983.cpp | c39d35f6e9cf0f097e833fe787a9f471a42d7a14 | [] | no_license | Yisaer/ACM_ICPC | ccd525a16b0b4dc5d83c17c80919e14975dbdf85 | 7f9b02fca13cfed4bffd914ba7e46ea92adc90ce | refs/heads/master | 2021-01-13T12:00:45.734513 | 2017-01-03T03:48:20 | 2017-01-03T03:48:20 | 77,881,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | // main.cpp
// A
//
// Created by 高松 on 16/1/4.
// Copyright © 2016年 yisa. All rights reserved.
//
#include <iostream>
using namespace std;
#include <queue>
#include <stack>
#include <cstring>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
#define PB(X) push_back(X)
#def... | [
"2695690803@qq.com"
] | 2695690803@qq.com |
e5a0d964be4ad5c4161fdcc29518f90a010a7b49 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /ess/src/v20201111/model/FormField.cpp | 2cde990ff2c5e688a72723472c3071d1b81646fb | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,254 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
785e413016ec75779f32e9bd85fecfc43a2a29bf | c71e0e67a0fd5750fc76ed1af01ea56c48438f2a | /main.cpp | acdaa721ac246abee92575e31d7bee439f69d4df | [] | no_license | btk15049/atcoder-ahc003 | 11283db05b47f9b5452feb0d75ece3f1f4868b78 | 48c4e263ef49664cc445cde76995a5d75aa1a9dc | refs/heads/main | 2023-05-08T06:06:14.928537 | 2021-05-31T09:09:22 | 2021-05-31T09:09:22 | 369,760,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,399 | cpp | #ifndef VSCODE
// clang-format off
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx")
#ifndef FLAME_GRAPH
#pragma GCC optimize("O3")
#pragma GCC optimize("omit-frame-pointer")
#pragma GCC optimize("inline")
#pragma GCC optimize("unroll-loops")
#endif
// clang-format ... | [
"btk15049@live.jp"
] | btk15049@live.jp |
13ab0804efc143a1a7eae7f7be54572e97cd19dd | 635a2b7c474bc68de939c8790f0a9ac4030954a3 | /common/src/OrCondition.cpp | 58f4e10d3332eaee099d8fdf8dd5bca40e6d1c7a | [] | no_license | knollejo/PPT-PoTATo | 5e46b832fa3b81fc871b5d5defe723f23ef51219 | 37f5cfe3085aa3f092e4377929eca9627583dc59 | refs/heads/master | 2020-03-27T13:22:38.637184 | 2018-09-01T06:56:48 | 2018-09-01T06:56:48 | 146,605,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | //----------------------------------------------------------------------------//
// PoTATo's a Top Analysis Tool
// Project: common
// File: OrCondition.cpp
// Author: Joscha Knolle
// Date: 2018-04-26
//----------------------------------------------------------------------------//
#include "OrCondition.h"
tem... | [
"joscha.knolle@desy.de"
] | joscha.knolle@desy.de |
3a28baacd4596cd967e153fc82cf80b378f3af60 | 2413d71a07074043233874f114c303a9d1df7705 | /模板题/带权并查集模板.cpp | dac80cf56e09bc5c301a6d06fe61793f8a43dbb5 | [] | no_license | ferapontqiezi/AlgorithmDesign | fe21ccc5983c9622e4e6200209f0124b4360eeb4 | cdeefa760f1c55fa32ebc4a0f034fcbfa1da0ac1 | refs/heads/master | 2023-08-26T18:29:07.171850 | 2021-11-12T05:20:14 | 2021-11-12T05:20:14 | 421,362,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | class UF {
private:
// 连通分量个数
int count;
// 存储一棵树
vector<int> parent;
// dist[]维护编号为i的战舰到parent[i]之间的距离
vector<int> dist;
// nums[]维护编号为i的战舰所在的那一列有多少战舰
vector<int> nums;
public:
UF(int n) {
this->count = n;
parent.resize(n + 1);
dist.resize(n + 1);
nu... | [
"Ferapont@qq.com"
] | Ferapont@qq.com |
35bfe3294d8c0825b0e23ab53dba7500af0dcbad | 974f810f4634788b13bcb5c2ac717fff375ab924 | /modules/Utility/src/DefaultLoggerService.cpp | 12a7b518f8a537cd10138d94749a7198d30c26ba | [] | no_license | mrtrizer/FlappyEngine | c5a38974e6ef5d9106bc9dfe8ccfefd98ed58f3e | 57e7598f9b84c95b17cd332f4f06ac40f8f10467 | refs/heads/master | 2020-04-04T06:11:41.067587 | 2019-01-09T21:35:29 | 2019-01-09T21:35:29 | 53,366,417 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include "DefaultLoggerService.h"
#include <cstdio>
#include <cstdarg>
#include "IConsoleService.h"
namespace flappy {
DefaultLoggerService::DefaultLoggerService(std::shared_ptr<IConsoleService> consoleManager)
: m_outputBuff(1024)
, m_consoleManager(consoleManager)
{
}
void DefaultLoggerService::log(LogMe... | [
"mrtrizer@gmail.com"
] | mrtrizer@gmail.com |
d9a7bf873a4f2fc25d4bbd85491fcdb03ebc50ec | 6a27b6d484481ef6e7dc1c865331b1c8371b83e1 | /be/src/vec/exprs/table_function/vexplode_json_array.cpp | 8ee1815117ee39c5cd94d14f220472e43f14d558 | [
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"PSF-2.0",
"dtoa",
"MIT",
"bzip2-1.0.6",
"OpenSSL"
] | permissive | HappenLee/incubator-doris | 6b011c57bd97464aa50221de277093895a2677b5 | c74113773a33dbcba35763984b0789db90635191 | refs/heads/master | 2023-09-01T21:05:33.828221 | 2022-08-28T15:10:47 | 2022-08-29T03:31:16 | 264,080,199 | 2 | 5 | Apache-2.0 | 2023-07-26T06:24:35 | 2020-05-15T02:51:56 | C++ | UTF-8 | C++ | false | false | 2,901 | cpp | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"noreply@github.com"
] | noreply@github.com |
92d61d4015192026658ba9621b8ffcf0bc4e1817 | 3094757cc2793e761d46f3229c9d618b034ad0ab | /object.h | 4bd4280a72f7c478bd99c8c21e5d066f4cdaf85d | [] | no_license | JudeLiu/CGProject | 4e50222a0ae234fa404ca85d3389ca828d140214 | 1507388d6f7a60917c200a7344c0a2d3949e5948 | refs/heads/master | 2020-06-05T19:54:37.258334 | 2019-06-18T12:06:58 | 2019-06-18T12:06:58 | 192,531,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | h | #ifndef OBJECTH
#define OBJECTH
#include "aabb.h"
#include <float.h>
#define M_PI 3.14159265358979323846
class material;
void get_sphere_uv(const vec3 &p, float &u, float &v)
{
float phi = atan2(p.z(), p.x());
float theta = asin(p.y());
u = 1 - (phi + M_PI) / (2 * M_PI);
v = (theta + M_PI / 2) / M_P... | [
"ljnsjtu@hotmail.com"
] | ljnsjtu@hotmail.com |
84357cc6cab842339a963e91e934b32520f2d08a | b3074cc5a03af2efa9094b7a5a57924a73ee10c1 | /source/opencv2/opencv_core.cc | bb17de06b089c603ac298b504c65ae4905e565e9 | [] | no_license | xujiajun/php-opencv | e19b5d29d02001e22586b38ccd6c68024f1feaa1 | 4d28e388d3dd482eb657254577ebdf0145fb6ada | refs/heads/master | 2020-12-02T06:28:38.353428 | 2017-07-10T13:49:22 | 2017-07-10T13:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,951 | cc |
#include "../../php_opencv.h"
#include "opencv_core.h"
#include "core/opencv_mat.h"
#include "../../opencv_exception.h"
#include "core/opencv_type.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
zend_class_entry *opencv_formatter_ce;
const zend_function_entry opencv_formatter_methods[] = {
PHP_FE_END
};... | [
"hihozhou@gmail.com"
] | hihozhou@gmail.com |
9fef3dc33df5d9350f7ac84c44e61127dcb711fe | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/resource-container/src/Configuration.cpp | e545c2538375cc1a124e38f97179f7bcb64cb0cf | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 10,922 | cpp | //******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
0b313a692f9da948e11ada663938d5f31b7c8d97 | 5037e1d3e3e94be0cab1abae477b3106293c3234 | /src_conditionally_enabled_interface/vocabulary_tree/vocabulary_tree_structs.h | 9c1f2f7b75d8347d261a09078fbc2974be076c8a | [] | no_license | jheinly/vocabulary_tree | 8b8aa41d40dc6f5737452db15d7ba421cc012bf1 | 43b26209e332ccebf90e12db3b1d62a8e1819a55 | refs/heads/master | 2020-05-30T07:30:33.436698 | 2015-05-22T20:17:22 | 2015-05-22T20:17:22 | 35,631,338 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | h | #pragma once
#ifndef VOCABULARY_TREE_STRUCTS_H
#define VOCABULARY_TREE_STRUCTS_H
#include <vocabulary_tree/vocabulary_tree_types.h>
#include <vocabulary_tree/vocabulary_tree_conditionally_enable.h>
#include <vocabulary_tree/vocabulary_tree_histogram_normalization_types.h>
#include <type_traits>
#include <vector>
name... | [
"jheinly@users.noreply.github.com"
] | jheinly@users.noreply.github.com |
e83ca72dfe5abd307c6581bd522059a3efc40852 | c0ec5e1b48f54aecc7df6741fd3265d24091d07c | /gpt-utils/gpt-utils.h | 5bfe1e9c709c0dbbe13408ba99412dc00e6d3475 | [] | no_license | yogevm15/device_xiaomi_sm8350-common | ea64d7031a0c915af9a05884b3f622f1a1a2495c | 39d932f03821a8c69f13e8f236b487bbd03545de | refs/heads/lineage-18.1 | 2023-08-23T01:03:07.419901 | 2021-09-28T14:01:39 | 2021-09-28T14:01:39 | 402,748,315 | 0 | 0 | null | 2021-09-03T13:46:41 | 2021-09-03T11:35:40 | C++ | UTF-8 | C++ | false | false | 7,969 | h | /*
* Copyright (c) 2013,2016,2020 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice... | [
"demonsingur@gmail.com"
] | demonsingur@gmail.com |
7b244cd24bd48020038e71277c2d4e975f64952f | 8ab93c74f0d61d9e703025307cf120c2e78e0d83 | /audioplayer.cpp | bbb921730cf6523239ff8044b8afb0d8fccaa91d | [
"Apache-2.0"
] | permissive | Traine9/WSound-Client- | 00d48fa2914cce372b5b64beea1f3d5d470f07b0 | c6ef93855fcdd2ed89382b0cbc9f3d7def4b3ec5 | refs/heads/master | 2020-03-07T06:56:39.199323 | 2018-03-29T19:04:02 | 2018-03-29T19:04:02 | 127,335,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | cpp | #include "audioplayer.h"
#include <QDebug>
#include <QAudioRecorder>
AudioPlayer::AudioPlayer(QAudioFormat format, QObject *parent)
: QObject(parent)
{
adi = QAudioDeviceInfo::defaultOutputDevice();
QAudioRecorder a;
af.setChannelCount(format.channelCount());
af.setSampleRate(format.sampleRate());... | [
"dimaprilipko@gmail.com"
] | dimaprilipko@gmail.com |
b47e0bcaa0430d579619fecc656a9fd7305b93cc | eae10a450cf19b65418ed2cb494190e5ccf21583 | /MRF/audio.cpp | 6caf21e82f288ba82ba0c4404495631e1e5fe57a | [] | no_license | GiovannyBrugge/MRF | 1aa07baca728e5ff5c23e7777e186d1d550402ee | 9f85cd6b514a64b1716a9807d529ba9c478c1842 | refs/heads/main | 2023-04-13T22:35:38.148257 | 2021-04-13T07:02:07 | 2021-04-13T07:02:07 | 339,354,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cpp | #include <MRF/config.h>
#include <MRF/audio.h>
Audio::Audio()
{
}
Audio::~Audio()
{
}
| [
"giovannybrugge@live.nl"
] | giovannybrugge@live.nl |
329a1a017d84492300a052dbe0eb022bca464c80 | 138a353006eb1376668037fcdfbafc05450aa413 | /source/PushBlockRight.h | 68ff2d80803975ee8c2346e4d0c860a21ecaec53 | [] | no_license | sonicma7/choreopower | 107ed0a5f2eb5fa9e47378702469b77554e44746 | 1480a8f9512531665695b46dcfdde3f689888053 | refs/heads/master | 2020-05-16T20:53:11.590126 | 2009-11-18T03:10:12 | 2009-11-18T03:10:12 | 32,246,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | h | #pragma once
#include "PuzzleEntity.h"
#include <Ogre.h>
#include <OgreNewt.h>
class PressureSensor;
// This object is a block that can be pushed to the right by players, until it reaches destination
/* Implementation: block will be rigid body, have an invisible PressureSensor to the left of the
* block. Both th... | [
"Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e"
] | Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e |
f3e77b57dc9401204ff3cb992d35f00be0ae9682 | fff70fd9fab5a631ca491444b2586c3036a1099d | /BattleTank/Source/BattleTank/Private/Tank.cpp | c70c0ea2f5421c9d3138d78f68c3dad6b90c7d93 | [
"MIT"
] | permissive | Csumbavamba/tankgame | f9e7ca99fe0031090e7d134eb8a419d40188352d | cf45fd6e3c2ecc84db53bee43641fa4a4b30bd12 | refs/heads/master | 2020-03-07T09:24:52.237373 | 2018-04-16T08:16:43 | 2018-04-16T08:16:43 | 127,406,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Tank.h"
void ATank::AimAt(FVector HitLocation)
{
TankAimingComponent->AimAt(HitLocation, LaunchSpeed);
}
// Sets default values
ATank::ATank()
{
// Set this pawn to call Tick() every frame. You can turn this off to improve ... | [
"zsombor.pirok@gmail.com"
] | zsombor.pirok@gmail.com |
52111c752a7bd92bc95e91c7acd0eb3df1c31c4d | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /chrome/browser/ui/ash/chrome_shell_delegate.cc | abd0dd78234542ed49f1a38bdf23286d10fae756 | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 7,348 | 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 "chrome/browser/ui/ash/chrome_shell_delegate.h"
#include "ash/content_support/gpu_support_impl.h"
#include "ash/wm/window_state.h"
#include ... | [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
37324e93fddcdd23a1000d0cc95390b4f93b2e0a | aa581e27fd19e36816541d68f349646cbb451115 | /game/src/command_manager/command_ppo.cpp | 7b469f1a7c962f29293fcfc671def93a908a3d6a | [] | no_license | morgandruesne/PSU_zappy_2018 | 65f5d78cc868f2c741c38cb3c270a86b21f42526 | 8fa0bf188de458beb5c9cd7d3b1c8cb56f130e5a | refs/heads/master | 2021-01-03T19:57:45.605350 | 2020-02-13T09:01:50 | 2020-02-13T09:01:50 | 240,217,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | cpp | /*
** EPITECH PROJECT, 2019
** zappy
** File description:
** main
*/
#include "interface.hpp"
#include "../event/eventManager.hpp"
#include "../player/player.hpp"
#include "client.hpp"
void InterfaceCore::move_player_command(control_t *control)
{
int player_number = 0;
size_t i = 0;
int newposx = 0;
i... | [
"morgan.druesne@epitech.eu"
] | morgan.druesne@epitech.eu |
58b5c5edeed9704099e36dd20f852ffd3e9f9d17 | c219870df35e43de44767659a56466a5933ff13a | /scambia.cc | 9569759b9b9116ab88b9d096e6b9915b0070b534 | [] | no_license | EnricoGdx/Programmazione1 | aa98f70ca40b8e6f83ddf4e5d0a3a464dc285760 | 9eee78d8b26e7e9bf2a4af2a12baa7ab6a1a16dc | refs/heads/master | 2020-04-28T01:16:38.979653 | 2019-03-10T16:22:22 | 2019-03-10T16:22:22 | 174,849,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cc | #include <iostream>
using namespace std;
void scambia(int &d,int &e,int &f);
int main()
{
int a,b,c;
cout << "inserisci tre numeri da scambiare" << endl;
cin >> a >> b >> c;
scambia (a,b,c);
cout << "adesso sono: " << endl << a << endl << b << endl << c << endl;
return 0;
}
void scambia(int &d, i... | [
"enrico.gdx@gmail.com"
] | enrico.gdx@gmail.com |
a9dbe1584cae9bd097526c25a905ccb17a3f82a2 | 808444e3b16550229823ab6df93cf40415e66822 | /15_aula/src/Carro.cpp | 12fe9efca035d723ce61cdd5fa9013d1d6a10d7d | [] | no_license | Gaobaofogo/faculdade_lp1 | cca450097a92502f2a00ba990d107eb897ab3d2c | 506410a776a79f5b5aa64ff09cc41b18e8950ac1 | refs/heads/master | 2022-11-22T19:33:29.668028 | 2020-07-23T01:27:28 | 2020-07-23T01:27:28 | 272,557,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include "Carro.hpp"
Carro::Carro(std::string cor) {
this->cor = cor;
}
Carro::Carro() {
this->cor = "Branco";
}
void Carro::acelera(int velocidade){
this->velocidade += velocidade;
}
void Carro::freia(int velocidade){
this->velocidade -= velocidade;
}
void Carro::ligaCarro(){
motor.partida()... | [
"gabrieldiniz54@gmail.com"
] | gabrieldiniz54@gmail.com |
e396319b17449303d7f4751f3804c7aac5d9259e | e0159e48fcbee78ae545f61a9b6d1f81805af5df | /graphs/singlesource.cpp | 35e76dd01cc98f4e159bf899dc7ed69779d48635 | [
"MIT"
] | permissive | sans712/SDE-Interview-Questions | 944f583d63b4a30020d6ecc0de09eb50948a5f7f | 44f5bda60b9ed301b93a944e1c333d833c9b054b | refs/heads/master | 2022-12-24T14:28:46.896108 | 2020-10-01T05:39:16 | 2020-10-01T05:39:16 | 300,159,282 | 0 | 0 | MIT | 2020-10-01T05:41:08 | 2020-10-01T05:41:08 | null | UTF-8 | C++ | false | false | 847 | cpp | #include<iostream>
using namespace std;
#include<bits/stdc++.h>
template<typename T>
class graph
{
map<T,list<T>> l;
public:
void addedge(int x,int y){
l[x].push_back(y);
l[y].push_back(x);
}
void bfs(T src){
queue<T> q;
map<T,int> dist;
for(auto node_pair:l){
T node=node_pair.first;
dist[node]... | [
"sanskritimisra712@gmail.com"
] | sanskritimisra712@gmail.com |
fe8a6bbd9bd6d1af8eecbbfeb1646aaf3f478267 | 01bcef56ade123623725ca78d233ac8653a91ece | /ivp/havana/havok/hk_math/rotation.inl | 2ee05033235d529e71072cc05649f8715f610bf8 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | UTF-8 | C++ | false | false | 83 | inl |
inline hk_Rotation::hk_Rotation(const hk_Quaternion& q)
{
this->set(q);
}
| [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
0894a5b81788a5102d5e1d717266bfcc61a50d7c | 3155e49c384880956b43334e9da72cbfb15efe92 | /src/jsonrpc-cpp/jsonrpc_udpserver.cpp | 98a2cc5bfbc60b9986bf1059f61e49494cf564d6 | [] | no_license | asianhawk/blockchain-explorer | 169fe08f919d440f69f846ed2f33874b0f70eda8 | 06a043cd8d507e603e4663dcf8b020017ec35a2e | refs/heads/master | 2020-06-03T09:02:32.850538 | 2018-11-08T08:31:19 | 2018-11-08T08:31:19 | 191,517,107 | 1 | 0 | null | 2019-06-12T07:07:25 | 2019-06-12T07:07:25 | null | UTF-8 | C++ | false | false | 3,787 | cpp | /*
* JsonRpc-Cpp - JSON-RPC implementation.
* Copyright (C) 2008-2011 Sebastien Vincent <sebastien.vincent@cppextrem.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, eith... | [
"515598065@qq.com"
] | 515598065@qq.com |
cc4a0a57e99aa42075f57db81ae94ef8e05c6dd9 | e5292428482181499e59886ad2ee50c83a504f6e | /URI/ZerovaleZero.cpp | c5ee93674e013b31ea1a2bc28bf74e7bac101449 | [] | no_license | pedrohenriqueos/maratona | fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d | 5c9bffa2ec6a321a35c854d4800b4fe7931c1baf | refs/heads/master | 2020-03-22T06:35:23.879463 | 2020-02-27T20:15:53 | 2020-02-27T20:15:53 | 139,644,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include<bits/stdc++.h>
using namespace std;
#define inf 0x3f3f3f3f
#define pi 3.14159265358979323846264338327950288
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define FOR(i,a,n) for(int i=a;i<n;i++)
#define FORI(i,a,n) for(int i=a;i>=n;i--)
#define REP(i,n) FOR(i,0,n)
#define all(a) a.... | [
"pedro986@gmail.com"
] | pedro986@gmail.com |
b98f87877053a9d576848088cc1750b30a55375f | bedf2373e90512197c1f9ae9049a0df5560562b9 | /Relay_LED3/Relay_LED3.ino | e5294553865893b0d4293b3a47393a45d75a36c5 | [] | no_license | Mechanicalbird/Arduino | 79c40dec25138d005d182fce529af4de1fee9531 | 227c987ac02672705bf9a7db5315278e901d78fb | refs/heads/master | 2020-12-03T08:04:34.495847 | 2017-06-28T10:06:30 | 2017-06-28T10:06:30 | 95,655,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | ino | // Blinking Relay-LED
const int LED4 = 10;
const int LED1 = 2;
const int LED2 = 7;
const int BUTTON = 5;//the input pin where the
int val = 0; //val will be used to store the state
//of the input pin
int old_val = 0; //this variable stores the previous
//... | [
"noreply@github.com"
] | noreply@github.com |
7f28213ce155e80ffb6cc8c86d09b683196439ea | 080fc34144f8399ab58dc4c4e9bd2a46ffedd442 | /src/geometry/boundingbox.cpp | 77fee9e0508685f743e9ff78e4c9d634f475a373 | [] | no_license | SomeRandomGameDev/DumbFramework | 3d3babe86f5ce418b6cab77d40a504dc67c1df3c | 048f2b998b50dd1e65a2e472b5ffb421a98efb45 | refs/heads/master | 2016-08-04T17:40:04.102861 | 2015-12-30T13:02:34 | 2015-12-30T13:02:34 | 7,084,290 | 0 | 0 | null | 2015-07-01T14:09:00 | 2012-12-09T22:18:24 | C++ | UTF-8 | C++ | false | false | 7,745 | cpp | /*
* Copyright 2015 MooZ
*
* 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 writ... | [
"mooz@blockos.org"
] | mooz@blockos.org |
d6520098e018ea0b85d27a5b30adb58bc78047cb | 59c0f199ddcfa81b4611257f24d115c3c79bebe4 | /jni/MSTargetInfo.cpp | 7eaa3c3518ed2fd9bb395d8ec49319850074659b | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kod3r/moodstocks-vuforia-android-demo-app | bc2df793c1b533ab4767b79aec0d505ed7f4ac72 | 9a1feb40e51bda75e8d30bc52c186b5aaae0a52f | refs/heads/master | 2020-04-11T00:41:49.378335 | 2013-08-14T12:39:56 | 2013-08-14T12:39:56 | 12,110,898 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | #include "MSTargetInfo.h"
#include "MSController.h"
#include "MSTexture.h"
#include "MSModel.h"
#include <math.h>
#include <string.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <QCAR/QCAR.h>
MSTargetInfo::MSTargetInfo(float *h, int *d, MSModel *m, MSTexture *t,
float *scale... | [
"maxime@moodstocks.com"
] | maxime@moodstocks.com |
e36e17d1e55fd860a441cf1c4f0de84dc196b5b0 | e0b9b4693a4b3bdaf9cbf161a1964a66870e647a | /c++/2981(검문)/2981.cpp | 5f67f333a766f848605c63adedb97052426a416f | [] | no_license | junstone1995/BaekJoon | 6b35425851b896914d664a92fc1fd28ab8723269 | 58751591a30a681a9576b97c7b1930534c10f00f | refs/heads/master | 2021-12-12T10:56:48.499558 | 2021-12-04T08:14:09 | 2021-12-04T08:14:09 | 194,616,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int arr[101];
int sol[500];
int gcd(int a, int b)
{
int tmp;
if( a > b)
{
while(b)
{
tmp = a % b;
a = b ;
b = tmp;
}
return a;
}
else
{
while(a)
{
... | [
"boris0730@gmail.com"
] | boris0730@gmail.com |
66146a2cc949271e8ce63f3d0ed90146831da760 | 92613cecc10db7e6b9eb569488e346529986e796 | /gropt/test/TestEucQuadratic.cpp | a92ff6c376872cd2635df6256153ac637811408e | [] | no_license | surfcao/fdasrvf_MATLAB | 514f8b26fdfc59252b89296911c5700165506c41 | 3de430f915c06cad3765128603ba4aa4ef987d65 | refs/heads/master | 2021-07-02T02:17:57.791685 | 2017-09-20T18:36:57 | 2017-09-20T18:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,800 | cpp |
#include "TestEucQuadratic.h"
#if !defined(MATLAB_MEX_FILE) && defined(TESTEUCQUADRATIC)
std::map<integer *, integer> *CheckMemoryDeleted;
int main(void)
{
init_genrand(0);
// size of the domain
integer dim = 10;
// Generate the matrices in the Euclidean Quadratic problem.
// Use blas to obtai... | [
"jdtuck@sandia.gov"
] | jdtuck@sandia.gov |
b4b702f6beadf8247cb99289636b0029ff87b2c0 | 34056cadcbf5e1efb21215ef2389f90afb9fe569 | /Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_15Table.cpp | 5d4c8013420ba3f13406bef006e9cfcc833cc78a | [] | no_license | ZhuoyueWang/HW2-unity | 555563d3ed857d8b38f98fd4988234fcf8220a67 | 260e8e6fa85f3195b029bd5bfaf52c7d17e4d542 | refs/heads/master | 2020-08-06T06:06:12.697149 | 2019-10-04T17:27:53 | 2019-10-04T17:27:53 | 212,863,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184,831 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"zhuoxiaoli@airbears2-10-142-144-45.airbears2.1918.berkeley.edu"
] | zhuoxiaoli@airbears2-10-142-144-45.airbears2.1918.berkeley.edu |
76bedeb9505581c3ff1e027b5538cd7f6f97d604 | 833704f4a302061e1d702f6ff853606a870b923a | /notiferProduct.h | 4428878d1aaace08dee9e3aab38e4965f1483be0 | [] | no_license | MalinovAndrey/online-shop | cd6448ad00b1773fc9a042a6dd93cdb2fce4bf4c | 4bb69d3142f5ab7a50492ae9aecc734c46970d0c | refs/heads/master | 2020-06-07T09:57:27.971211 | 2019-06-20T22:30:26 | 2019-06-20T22:30:26 | 192,993,220 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 792 | h | #include "product.h"
#include <String>
// Декоратор продукта
class notiferProduct {
public:
notiferProduct(product i_product, int _quantity) {
_product = i_product;
quantity = _quantity;
total = i_product.getPrice() * _quantity;
}
// Вызывать после setQuantity
double getTotal() {
updateTota... | [
"noreply@github.com"
] | noreply@github.com |
2130eb32f9a969671e46735b6569bf8307785f3f | d95e61fa76d2ccd49b05cfb459cc93a22c989185 | /include/G4GDMLParameterisation.hh | 1faf26886a2b5d7b30821f8bbb4afadf5ee659a2 | [] | no_license | mirguest/gdml | dd05ea9bf6449ec2b834c6d06718da52ee42ac40 | 54bbacb0f2a140bfdd6203d013ca0e302b7a4a25 | refs/heads/master | 2020-05-31T11:01:54.093742 | 2015-01-07T00:59:01 | 2015-01-07T00:59:01 | 28,862,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,034 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"lintao51@gmail.com"
] | lintao51@gmail.com |
c890df62d0b2e51ad2115d0ccb611dea5c7e62b0 | aca810f6dd683a8c4069dff0e9705e7db19fbcca | /combinationSum.cpp | 82d35cf80f1c5c766fa1838200ddb1e98db8bfad | [] | no_license | okeashwin/General | 4c3c6333e5ba343230eb78deb1a510cb168b1731 | 9df41c2cfa4895b944c29eb13de03295bba69758 | refs/heads/master | 2021-01-10T05:50:07.721347 | 2017-09-27T02:31:50 | 2017-09-27T02:31:50 | 44,040,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | cpp | /*
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
For example, given candidate set [2, 3, 6, 7] and target 7,
A solution set is:
[
... | [
"okeashwin@gmail.com"
] | okeashwin@gmail.com |
f7a06f81ee8606462fbbc7935f618c8d94537a5c | 50a8a3fe0fdffb4141b12b0ee73363f218efc222 | /src/ngap/ngapMsgs/UplinkNASTransport.cpp | 9e9e76da2c90ddc9a60733dd412fb4b533a847b3 | [] | no_license | dukl/fake_gnb | f89972ad50c6a50e620fe8590cece7200d2560da | b6f772e8fb82c61a9949a4f4c317637d97c36fb6 | refs/heads/master | 2022-12-07T21:55:26.285263 | 2020-08-27T07:11:37 | 2020-08-27T07:11:37 | 290,703,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,109 | cpp | #include "UplinkNASTransport.hpp"
extern "C"{
#include "constr_TYPE.h"
#include "asn_codecs.h"
#include "per_encoder.h"
#include "per_decoder.h"
#include "constraints.h"
}
#include <iostream>
using namespace std;
namespace ngap{
UplinkNASTransportMsg::UplinkNASTransportMsg()
{
uplinkNAS... | [
"du_keliang@163.com"
] | du_keliang@163.com |
8bbaef82104e1881458e644f6ca6c3329fe7aa4c | 8090c796078254ca6d9bfac0a6ad533fa11580cb | /uva/183.cpp | bb66ced94035d7ee48cb16fe99a2f6a98fc1edfb | [] | no_license | xcloudyunx/Informatics | ef62d0a12d9cad9f8c6ecfa5741d9340667c911f | edf2386b421bdaab0fc6dfae31fbcfc74c52581e | refs/heads/main | 2023-08-26T05:15:11.665976 | 2021-11-07T03:13:17 | 2021-11-07T03:13:17 | 405,290,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,839 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
#define INF 1000000000
string dac(int r1, int r2, int c1, int c2, vector< vector<char> > &grid) {
if (r1 == r2 && c1 == c2) return string(1, grid[r1][c1]);
if (... | [
"noreply@github.com"
] | noreply@github.com |
1c75fc3560b3714e11d8eba1fce3cc4727b989cc | 995850145f2f4355e4263f6c0ee7c5a11ae7065c | /6getORNfr.cpp | 4a5cf3ee49e4a765b92d8f532c1de371e0a18d77 | [] | no_license | ModelDBRepository/245445 | e1418bf2aa856ec52ed9db5bf8ddb190273119e7 | 0fc81847a342f44239d74f08909916ec2f50517e | refs/heads/master | 2020-05-29T18:27:20.092370 | 2019-05-31T02:10:52 | 2019-05-31T02:10:52 | 189,300,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | cpp | #include <iostream>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <ctime>
#include <iomanip>
#include <string>
#include <sstream>
using namespace std;
const double vth=-50;
const double vreset=-70;
const double taum=20;
const double ve=50;
const double vi=-75;
const double vr=-70;
const double gl=1;
... | [
"tom.morse@yale.edu"
] | tom.morse@yale.edu |
924ec78923e11f3426eee7f2344efdf64320aecc | 00ccda33c7647483029234e0240b272a127c82c8 | /monitoringTemp_of_light_with_arduino_control/monitoringTemp_of_light_with_arduino_control.ino | 8910dac6ad013d82fff4dbca0969ea9113524b79 | [] | no_license | AnnaAlina/Monitoring-temperature-of-a-lightbulb-Arduino | d4a5007b40c2c9ed7cb31fdddd7f650d278168f0 | 0fed6a4ccee6e5950b27eca2240c24e197eadbcd | refs/heads/master | 2020-06-30T05:38:27.551054 | 2019-08-06T21:50:43 | 2019-08-06T21:50:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | ino | #define THERMISTOR A1
#define NUMSAMPLES 5
#define THERMROOM 25
#define ROOMRESIST 10000
#define BETA 3960
#define SERIESR 4700
#include <LiquidCrystal.h>
#include <TimerOne.h>
LiquidCrystal lcd(10,9,5,4,3,2); //define object called lcd
uint16_t samples[NUMSAMPLES];
int mocPin = 6;
int red = 11;
int ... | [
"noreply@github.com"
] | noreply@github.com |
39c9f6f5c9014c594036ffb60039b4b2055def38 | 2bf416eabdca397601f1c70bb0f4856751b33a10 | /samples/c_cxx/imagenet/main.cc | 1077bcd40789ff2d3359eb7391f9f0b6583eba7a | [
"MIT"
] | permissive | agnikumar/onnxruntime | b8aeb3fea954ad994666c898df2ade8254cf1163 | 7408dec0bfee82c433bb26856dd204dfc9ec90a2 | refs/heads/master | 2020-06-04T02:49:01.473273 | 2019-08-23T02:16:01 | 2019-08-23T02:16:01 | 191,841,076 | 1 | 0 | MIT | 2019-06-13T22:25:38 | 2019-06-13T22:25:37 | null | UTF-8 | C++ | false | false | 9,179 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <string>
#include <string.h>
#include <sstream>
#include <stdint.h>
#include <assert.h>
#include <stdexcept>
#include <setjmp.h>
#include <algorithm>
#include <vector>
#include <memory>
#include <atomic>
#include ... | [
"noreply@github.com"
] | noreply@github.com |
69598b5bae2c0203ce654bb78ff612b59b5e8be5 | fcddb939ac434d1397701a741df43662caebe392 | /hackerearth/city_travel.cpp | 245d817bdb7ef16f3483e36a531d0f1873463017 | [] | no_license | kjsr7/coding | f93cfe2a2bd6de0f06b94af3c0ac82af8d2ec668 | 35ce3bdf814cf5085023707301ce93d1c073032b | refs/heads/master | 2020-03-30T19:12:14.104667 | 2018-10-23T17:08:58 | 2018-10-23T17:08:58 | 149,289,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ull int
map< ull,int> m,m2;
ull x,n,s;
ull ty[1001][2];
ull fun(ull s)
{
static int d = 0;
++d;
if(s<=0)
return 0;
else
{
if(n!=0 && m[d] == 1)
{
return 1 + fun(s - ty[m2[d]][1]);
}
else... | [
"kommurujaishankarreddy@gmail.com"
] | kommurujaishankarreddy@gmail.com |
5f4f6d518ee8ac5c4b02f02baa0dc5a5b37944a4 | c99294a91bbc3ac11febaaa45b5e859937991323 | /queue/4queue_using_2stack.cpp | 5c37c202ce5f9fe2c854ee4b3363aff052ef99c4 | [] | no_license | shubhamraj-dev/data_structure_and_algorithms_preparation | 8b51375cab5fe1847989cfb3292ba53155268a74 | 94884309b1664edecb4bb08c0d8d819e2e6de090 | refs/heads/master | 2022-09-10T12:51:11.953251 | 2020-05-21T17:50:04 | 2020-05-21T17:50:04 | 257,993,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | //problem: implement queue using 2 stacks
#include<iostream>
#include<stack>
using namespace std;
class queue_using_stack
{
stack<int>stack1;
stack<int>stack2;
public:
void enqueue(int value)
{
stack1.push(value);
}
int dequeue()
{
int data;
if(!stack2.empty())... | [
"shubamraj993@gmail.com"
] | shubamraj993@gmail.com |
315a03572bdf05a5a8d466dd1071c9164bcd9b6a | bf36d7b447b2dc658f894a12b0fd6df646d8131b | /MazeRunner_core/MazeRunner_core/Item.cpp | e5fe19417cf43d16f1646f5b0edad0ad1f2dbb97 | [] | no_license | MilanDierick/MazeRunner | 56780ed55c660b2144a922a8442f8bf908bbb592 | 2a8bf4486a3ac82532534180e8988901b91f355f | refs/heads/master | 2020-03-11T03:08:20.522475 | 2018-04-23T13:41:51 | 2018-04-23T13:41:51 | 129,738,497 | 0 | 0 | null | 2018-04-23T13:48:21 | 2018-04-16T12:17:37 | C++ | UTF-8 | C++ | false | false | 175 | cpp | #include "Item.h"
Item::Item()
{
this->name = "";
this->id = "";
}
Item::Item(const std::string& name, const std::string& id)
{
this->name = name;
this->id = id;
}
| [
"kenneth.vanpoucke@gmail.com"
] | kenneth.vanpoucke@gmail.com |
f669d4e402d282d7adff7db03fc166f26a3133a5 | d324b3d4ce953574c5945cda64e179f33c36c71b | /php/php-sky/grpc/src/core/lib/security/transport/tsi_error.cc | 2dfa89047a57bff6180d98973eb0b81134e1fd86 | [
"Apache-2.0"
] | permissive | Denticle/docker-base | decc36cc8eb01be1157d0c0417958c2c80ac0d2f | 232115202594f4ea334d512dffb03f34451eb147 | refs/heads/main | 2023-04-21T10:08:29.582031 | 2021-05-13T07:27:52 | 2021-05-13T07:27:52 | 320,431,033 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cc | /*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
7c7c2f53f85c20ec40b309d295355439144154cb | fedfd83c0762e084235bf5562d46f0959b318b6f | /L1 小学生趣味编程/ch06/ch63-zy02.cpp | 228b06f2dcbe0af0ac4b02b86e119b8ed6efe89e | [] | no_license | mac8088/noip | 7843b68b6eeee6b45ccfb777c3e389e56b188549 | 61ee051d3aff55b3767d0f2f7d5cc1e1c8d3cf20 | refs/heads/master | 2021-08-17T21:25:37.951477 | 2020-08-14T02:03:50 | 2020-08-14T02:03:50 | 214,208,724 | 6 | 0 | null | null | null | null | GB18030 | C++ | false | false | 490 | cpp | #include <iostream>
using namespace std;
/*
第63课,老鹰捉小鸡
循环移位
作业02
*/
int main()
{
//a[0] 代表狐狸老师,钥匙用-1表示。
int a[6] = {4,3,-1,5,1,2};
int i;
cout << "老师";
i = a[0];
do
{
cout << "--->" << i;
i = a[i];
} while(i != -1);
cout << endl;
cout << "钥匙找到了! " << endl;
return 0;
}
//-----------------------... | [
"chun.ma@qq.com"
] | chun.ma@qq.com |
7b1e8181cebb1c08ddd152cc859b3ca16455cf1a | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /17/ed/dc/f4/d2b649cd5f6a8bc850095e8b84315377ec95c28c0deae08a22362462b57c2a0e39fe6b7f4eec8bf17eba554896df0481add43bd6ef4d1426d82ce9ee/sw.cpp | bdb83bf02d0880183af87d14ec8061441dcdc534 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | cpp | void build(Solution &s)
{
auto &t = s.addTarget<StaticLibrary>("facebook.folly", "2021.1.25.0");
t += Git("https://github.com/facebook/folly", "v{M}.{m:02}.{p:02}.{t:02}");
//t.CPPVersion = CPPLanguageStandard::CPP14;
t.CPPVersion = CPPLanguageStandard::CPP17;
t += "folly/.*\\.cpp"_rr;
t += "f... | [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
3449a2c5f00931dcc30544b0a97b38d0fd08f661 | 55e0710904a0997f663f9d5152547a71ea09ae83 | /data_mining/join_based/JoinBase.h | 9747f6dfff8a1df2c6fa17628c1220c1f28dcea3 | [
"MIT"
] | permissive | juanjuanShu/codes | 12cea1d0fe0b16d9fbaee3853aeb3712e7ef2b7a | 905e70e79a21832ed751598d15ed71c420a310ce | refs/heads/main | 2023-03-24T01:28:43.176486 | 2021-03-17T09:06:47 | 2021-03-17T09:06:47 | 310,597,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | h | #pragma once
#include "stdafx.h"
#include "Types.h"
#include "Common.h"
#include "MultiResolution.h"
class Common;
struct Rule {
ColocationType antecedent;
ColocationType consequent;
double conf;
friend bool operator < (struct Rule const&a, struct Rule const &b)
{
if (a.antecedent == b.antecedent) {
return... | [
"juanjuanShu168@163.com"
] | juanjuanShu168@163.com |
ac99eb0b4490d48ee0e88cdf1f08bd7b9e3abff4 | 689796028bfa89e10d8b900f0012c20cbcc681df | /include/heimdall/common.h | f129938c36ba4d24f816239824c6a433f05e28ec | [] | no_license | adamleighfish/heimdall | ab7d995e611a9d5aa8965b0bab0b259e8346fd4b | fbbc0caa362e8c17db03f34cf8df797edf6221e5 | refs/heads/master | 2021-05-09T05:27:55.631797 | 2018-02-12T14:19:06 | 2018-02-12T14:19:06 | 119,308,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,745 | h | #pragma once
/// Common includes across all files
#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
#include <limits>
#include <iterator>
#include <cstring>
/// Convenient definitions
#define HEIMDALL_NAMESPACE_BEGIN namespace heimdall {
#define HEIMDALL_NAMESPACE_END }
/// Error epsilon fo... | [
"adamleighfish@gmail.com"
] | adamleighfish@gmail.com |
4ddd4f77938f13bc52012c4abba68f0e4ebd71ae | 68dd4bf39f15c2665e25ee11f25d8a5bedf0bf35 | /PWG2resonances/RESONANCES/AliRsnDaughter.cxx | d0d1ee76c07eb55ba2c9ad6d108622ce67f8f8dc | [] | no_license | sanyaade-speechtools/alimv | b3200a16d367e2438f47d9ea5cb86f806d5815e7 | 62784da96bb65b26b1c1c2c8e114107cb75a8df1 | refs/heads/master | 2016-09-09T23:30:54.456676 | 2011-04-22T09:25:29 | 2011-04-22T09:25:29 | 41,254,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,818 | cxx | //
// This class works as generic interface to each candidate resonance daughter.
// Its main purpose is to provide a unique reference which includes all the
// facilities available in the AliVParticle generic base class, plus all info
// which could be needed during analysis, which are not in AliVParticle but
// ... | [
"vala.martin@f903ec54-de9e-11de-b4e8-61bb9a648e99"
] | vala.martin@f903ec54-de9e-11de-b4e8-61bb9a648e99 |
75e743d79e49fa4e4879b02efad4eeb4ddf89caa | 82b811d259ad4b75820948af677f8d2ff214a149 | /cpp/linkedlist/double.cpp | 1b84877c5e91147909bee267b235f9daca7e704f | [
"MIT"
] | permissive | mario21ic/abstract-data-structures | 3b6bb8fb5693c94c9b3e5836b81510f88f483975 | 2bf89db8cff4cf79c66d63eb84a96c33cda6cebd | refs/heads/master | 2022-03-10T00:48:29.051310 | 2022-02-21T07:10:09 | 2022-02-21T07:10:09 | 252,648,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include <iostream>
#include <array>
class Node {
public:
int value;
int *prev;
int *next;
};
int main ()
{
std::array<Node,4> nodos;
int array_len = nodos.size();
std::cout << "size of nodos: " << array_len << std::endl;
std::cout << "sizeof(nodos): " << sizeof(nodos) << std::endl;
... | [
"mario21ic@gmail.com"
] | mario21ic@gmail.com |
a642b4ef28c82b3cbfd6542f783df64ed0e9efbb | 9aa80c9868541eea69c39dd75ef14de22e078083 | /include/rapidjson/encodings.h | 2e93efc4cafc5fcbddc0948ec80748471def9541 | [
"MIT"
] | permissive | tr0yspradling/jsontree | 34781637cb9f64ea496f30b64a04b6c25c9eecd1 | e025f5377380f1ec03b5f3ddb52c3d43ce103e40 | refs/heads/master | 2022-11-11T13:50:10.911338 | 2022-10-25T07:14:14 | 2022-10-25T07:14:14 | 229,385,977 | 1 | 0 | null | 2022-10-25T06:09:29 | 2019-12-21T06:16:11 | C++ | UTF-8 | C++ | false | false | 32,680 | h | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obt... | [
"ts@tr0y.me"
] | ts@tr0y.me |
baa8419e3f1bdf4cbdbdc5d7867eb20e48cd9a61 | 87d2ffd1f03e7313200426c293d41aeef61aa543 | /code/mailbox.ino | 0466722c214d79d6e2b53587279573dfba9b71f0 | [] | no_license | victorheid/MQTT_ESP01_Mailbox | c7afa757be644b40ad853d4f483b4791e95e9e1f | 1503ed61abf3f803b60c93cbc99bd2e408cda962 | refs/heads/master | 2020-03-31T05:18:45.773538 | 2018-10-07T13:09:23 | 2018-10-07T13:09:23 | 151,941,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | ino | /**********************************************************************
* MQTT Message + Deep Sleep for ESP8266 chips
*
* By Victor Heid (https://victorheid.com)
*
* Highly inspired by
* https://github.com/witnessmenow/push-notifications-arduino-esp8266/
******************************... | [
"v.heid.miko@gmail.com"
] | v.heid.miko@gmail.com |
9827c6453a6f84409cd8e4018933bc13e8d717a1 | 6fc9a543ab23fb8d1253f7d073d864f41c2b9067 | /src/view/MoveMenuView.h | ce0daaa7d5143d23443fb580059f31213cc37e89 | [] | no_license | MarcoCaballero/klondike-cpp | 73fa7e5c4a3974f47500259e9f1bb988202fd72c | 3b3a6acc5851c5fbe2cc86401951f7f9e3653189 | refs/heads/master | 2021-05-07T15:06:16.858655 | 2017-11-16T07:48:19 | 2017-11-16T07:48:19 | 109,833,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | #ifndef SRC_VIEW_MOVEMENUVIEW_H_
#define SRC_VIEW_MOVEMENUVIEW_H_
#include <controller/MoveController.h>
namespace view {
class MoveMenuView {
public:
MoveMenuView(controller::MoveController* moveController);
virtual ~MoveMenuView();
void print(std::list<std::string> allowedFrom, std::list<std::string> allowedTo)... | [
"marco.caballero.d@gmail.com"
] | marco.caballero.d@gmail.com |
ad506c4a3feb165e20af04539ae1a7d6d57c0133 | 6bf48d97101fdf4ea4382db9ea8fe22b7c7431f1 | /HelpFunctions.h | 548e3d1ade94ceda31a7c5f304091c7154a4b245 | [] | no_license | AlexandrTerentyev/Strassen | 0cdc52028da1825d09f5eec976567409f9e9f302 | 60173e535fc06cf5f5cd93fd3483b754a7f7dd35 | refs/heads/master | 2021-08-23T04:52:02.613622 | 2017-12-02T20:30:25 | 2017-12-02T20:30:25 | 112,924,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | //
// Created by Aleksandr Terentev on 02.12.17.
//
#ifndef STRASSEN_HELPFUNCTIONS_H
#define STRASSEN_HELPFUNCTIONS_H
#include <iostream>
double** createMatrix (int size);
void printMatrx (double** A, int size);
void log(std::string text);
#endif //STRASSEN_HELPFUNCTIONS_H
| [
"terentyev@gradoservice.ru"
] | terentyev@gradoservice.ru |
7613191878f80a563bba4c1464929a5435ace1f4 | 740e249ee83c2729b89e36e3087bad349c46ef9b | /dev/src/engine/private/glExtenstions.cpp | 0a7584c81ddb1295b4cb127a13697f66fcd2214b | [] | no_license | LukeNzk/oglSample | 64118bcedea4645cf7732adfa2c556e76639af28 | 0d5faef01022959611ace6dea449bd850f0de89b | refs/heads/master | 2021-09-10T02:12:09.791935 | 2018-03-06T16:49:28 | 2018-03-06T16:49:28 | 109,990,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,727 | cpp | #include "glExtenstions.h"
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB;
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT;
PFNGLATTACHSHADERPROC glAttachShader;
PFNGLBINDBUFFERPROC glBindBuffer;
PFNGLBINDVERTEXARRAYPROC glBindVertexArray;
PFNGLBUFFER... | [
"elejdor@gmail.com"
] | elejdor@gmail.com |
ec9ce661cd98ed0ff03dbef07a9966d56cdf1940 | d4d48fb0eb655871b963575326b112dac746c33d | /src/plugins/laser/urg_gbx_aqt.h | ac64f402470d2f5c7f6c8681983ba04bfd83e56a | [] | no_license | kiranchhatre/fawkes | 30ac270af6d56a1a98b344c610386dfe1bc30c3e | f19a5b421f796fc4126ae9d966f21462fbc9b79e | refs/heads/master | 2020-04-06T19:41:36.405574 | 2018-11-13T18:41:58 | 2018-11-13T18:41:58 | 157,746,078 | 1 | 0 | null | 2018-11-15T17:11:44 | 2018-11-15T17:11:44 | null | UTF-8 | C++ | false | false | 2,252 | h |
/***************************************************************************
* urg_gbx_aqt.h - Thread for Hokuyo URG using the Gearbox library
*
* Created: Fri Dec 04 20:30:08 2009 (at Frankfurt Airport)
* Copyright 2008-2009 Tim Niemueller [www.niemueller.de]
*
*********************************************... | [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
7f10a8e5edf1c76136213c17d28210d11bf10ad4 | 65b7ee5b4b84af8f47b2c811e380bf9390fa730a | /Lab/lab5/C.cpp | 64afbcce47a51a8b604c506bb3d64b6a61da7ac4 | [] | no_license | zethuman/PP1 | 1171b1cba1929752f96a91466c202464a92b0e39 | d49c2d83fb80166d501e61d64a49b46c665ec5e4 | refs/heads/master | 2020-09-01T23:49:46.533544 | 2019-11-02T01:46:40 | 2019-11-02T01:46:40 | 219,089,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp |
#include <string>
#include <iostream>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
size_t pos = s.find(t);
if(pos != -1)
{
cout << "YES";
}
else cout << "NO";
} | [
"51375666+zethuman@users.noreply.github.com"
] | 51375666+zethuman@users.noreply.github.com |
7da3c4a8f67338d2f06eabdff5b787a54eff5b0a | 07cf5954868ceba49b94861e1a8a0b5fa1bb6e73 | /components/hal/hal-tdd/HAL_TDD.cpp | aaa25630e2e15c695d20c550824eb415be39bd6c | [
"MIT"
] | permissive | 4rthurmonteiro/esp32-tdd-boilerplate | c7e00f4afaf841495419440ac43f2098217a1dec | 9688dd6b0d12bbd12debf053cf8b3e979c3ed0c3 | refs/heads/master | 2022-02-21T22:33:34.711368 | 2019-09-13T09:24:32 | 2019-09-13T09:24:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include "HAL_TDD.hpp"
#include "GPIO.hpp"
#include "I2C.hpp"
static GPIO_Mock gpioDriver;
static I2C_Mock i2cDriver;
HAL_TDD::HAL_TDD() : HAL(&gpioDriver, &i2cDriver){};
void HAL_TDD::setup() {}
HAL& getHAL() {
static HAL_TDD hal;
return hal;
}
| [
"xabicrespog@gmail.com"
] | xabicrespog@gmail.com |
3880403ca7e0a7f0270cbdf818f84a87379abb13 | 312ac2db68db9bae2ea5db87ca05329a77564216 | /402/A [Nuts].cpp | 0dea4e31db4e61baa41ef3908f8230275dca9f64 | [] | no_license | Nikhil-Medam/Codeforces-Solutions | 3107023a4bbfc6bcf82ab05ed840a6d621567876 | 71f6304d7b9d87aac05f5b5c27a9f277ffdad4cd | refs/heads/master | 2020-06-17T07:30:24.618634 | 2019-07-08T16:13:35 | 2019-07-08T16:13:35 | 195,846,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long
#define int long long
const int N=1e6+5;
ll max(ll a,ll b)
{
if(a>=b)
return a;
else
return b;
}
ll min(ll a,ll b)
{
if(a>=b)
return b;
... | [
"medam.nikhil@gmail.com"
] | medam.nikhil@gmail.com |
bf427131b60bdc8f85a25f39163bb346da191614 | f2797796d3e2486eba74d4d34d059669b32adb9d | /Week_4/array1/1-sum close to 0.cpp | 42a0a3cf0f5bd7c8e858982ad666f59a3472c235 | [] | no_license | TanuGangrade/IPMP | be88d7e82aa423092caa5f1cd79b52281c09cd81 | 03612dd3bd55f9eb1815631ca7996c152f6c3e0e | refs/heads/main | 2023-06-28T01:02:00.535346 | 2021-08-01T19:55:42 | 2021-08-01T19:55:42 | 352,314,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | int closestToZero(int a[], int n)
{
// your code her
sort(a,a+n);
int l=0,r=n-1;
int x=0,y=n-1;
int min=a[r]+a[l];
int sum;
while(l<r)
{
sum=a[r]+a[l];
if... | [
"noreply@github.com"
] | noreply@github.com |
ce19795f0e1f8e9c543456581b2c85d5bfa95462 | e02d8a8aa7cb5c5a116da37588c03cc2aea1fe26 | /WiichuckFortnite/WiichuckFortnite.ino | 929ffd5ea12341e5ebd8bdb9fc79f6f89d48b5c9 | [] | no_license | floreseken/NunchuckWASD | 682b971cfe7edd0e8757b7e548e4d42f56f52627 | 5bf5028e009725102d385b6c1ab5294c04ad9269 | refs/heads/main | 2023-02-27T07:54:24.010210 | 2023-02-19T13:03:42 | 2023-02-19T13:03:42 | 301,122,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,077 | ino | #include <Wire.h>
#include <Keyboard.h>
#include <Arduino.h>
static uint8_t nunchuck_buf[6]; // array to store nunchuck data,
// initialize the I2C system, join the I2C bus,
// and tell the nunchuck we're talking to it
static void nunchuck_init()
{
Wire.begin(); // join i2c bus as master
Wire.beg... | [
"flores@eken.nl"
] | flores@eken.nl |
45927541645b474ba6bf8fb0dfb80236f578d645 | 3ec0221cb4af76511cd2ec5493dea4ded9ca1e29 | /src/merge_img_depth_node.cpp | 0e8198272b3f4517dfd174c39682e2826926a021 | [] | no_license | efc-robot/ROS-DSLAM | e89d0b1bebc0d4f0c17e8bcd4fd86abf7068be01 | 619ba45448927ebcc19da7a5cc13483a80260cc5 | refs/heads/master | 2020-09-24T13:19:51.558794 | 2020-02-19T12:39:04 | 2020-02-19T12:39:04 | 225,767,102 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | cpp | #include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <dslam_sp/image_depth.h>
#include <queue>
using namespace std;
std::queue <sensor_msgs::Image::ConstPtr> image_queue;
ros::Publisher pub;
void img_Callback(const sensor_msgs::Image::ConstPtr &msg)
{
//Convert to OpenCV native BGR color
... | [
"you@example.com"
] | you@example.com |
728af3a614066fce49a715cd7fd998e2ec783260 | f036820b48e5d27abda2f295a20fa6ba0d4165bc | /Renderer/Framebuffer.hpp | 3158f29ba2352c76462a6a6ca2840dc518387599 | [
"MIT"
] | permissive | mmllr/Renderer | 8c14a53ed8fd5dc36c10b022e8f7b6d595d5e9e8 | fbbe6c082f95038fa79a9b680f4806ddde2f1728 | refs/heads/master | 2020-12-24T06:01:46.148012 | 2016-11-11T14:50:09 | 2016-11-11T14:50:09 | 73,239,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | hpp | #ifndef Framebuffer_hpp
#define Framebuffer_hpp
#include <cstdint>
#include <vector>
#include "renderlib.hpp"
namespace renderlib {
struct Framebuffer {
public:
Framebuffer(size_t width, size_t height);
void setPixel(const Pixel& pixel, size_t x, size_t y);
const void* pixelData() const { return static_cast<... | [
"mmlr@gmx.net"
] | mmlr@gmx.net |
c0641707e7648824f44bb0a9898abbae757efc2f | 42a03c9c60cedd544ab5e0a531c2b841468a54db | /src/Parser/ParserModbus.cpp | be2eecbaa3466547bb7d8e9dff7c3ea8f7efd178 | [] | no_license | pierre1326/decision-tree | dda12bedeac1766c1b56c5ed7663a2ee04571b14 | 890636c099faf722adfaab01abe6346d20506dbe | refs/heads/main | 2023-07-14T10:57:07.811378 | 2021-08-12T23:25:35 | 2021-08-12T23:25:35 | 379,476,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | cpp | #include "ParserModbus.h"
Information * ParserModbus::readFrame(char * buffer, bool isSigned) {
char function = buffer[1];
if(function == 0x03 || function == 0x04) {
return readData(buffer, isSigned);
}
else {
return readError(buffer);
}
}
Information * ParserModbus::readData(char * buffer, bool isS... | [
"pierre1326@hotmail.com"
] | pierre1326@hotmail.com |
06c93413b79a840f8da54aff0e337b3dbf7ae7a9 | 8b6f07480c48ca8885616b56a5a18b9403c1f2b4 | /finder/finder.h | ea65adbca234d20b266c9d63492e8dcba8755644 | [] | no_license | KirillSemennikov2803/Semennikov_181-351_git_lab_clone | 20135dda8d8644cb0a5e628953f971a9deb3fc50 | 36b61d3d1bd28b5dc5c4d869565b4c6739363c70 | refs/heads/master | 2020-04-17T14:59:55.902247 | 2019-02-25T19:29:23 | 2019-02-25T19:29:23 | 166,680,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | #ifndef FINDER_H
#define FINDER_H
#include <QMainWindow>
#include <QObject>
#include <QWidget>
class Finder
{
public:
Finder();
~Finder();
QString name="С:/";
int this_id=1;
int id_parent=0;//ссылка на родительский класс
int del=0;//если 1-то обьект удаляетсяа
Finder(Finder &parent,QString n... | [
"semennikov1360@mail.ru"
] | semennikov1360@mail.ru |
2327f3c638f9744c49f91a6ef90f1592402c4e19 | 16a857618f01cf32b036f8b44b6c89ac0259d4ff | /C++/c++_basic/chapter_11/Date.cpp | a19589ad04a0fc058ec1129a1f6524e0876c0773 | [] | no_license | tetrapod54/Self_study | 3685cd3d61d388246726fcf74ede42eb6d767b1c | 6b0aa2ff6f2d60f2d3286f8a677a6666efd6f0a1 | refs/heads/main | 2023-08-13T01:19:20.956986 | 2021-09-30T01:10:45 | 2021-09-30T01:10:45 | 392,683,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include "Date.h"
Date::Date(int yy, int mm,int dd){
y = yy;
m = mm;
d = dd;
} | [
"tetrapod54@gmail.com"
] | tetrapod54@gmail.com |
091da82a59cc398c7c5c1a9a5dbc59e4fb008526 | 995c731cfbc26aaa733835eebaa6fcb0787f0081 | /gazebo-5.3.0/gazebo/util/Diagnostics.hh | dc068741d0d781178e9aaab9b6aa27000a326846 | [
"Apache-2.0"
] | permissive | JdeRobot/ThirdParty | 62dd941a5164c28645973ef5db7322be72e7689e | e4172b83bd56e498c5013c304e06194226f21c63 | refs/heads/master | 2022-04-26T18:26:51.263442 | 2022-03-19T09:22:14 | 2022-03-19T09:22:14 | 33,551,987 | 7 | 9 | null | 2022-03-19T09:22:14 | 2015-04-07T15:36:00 | C++ | UTF-8 | C++ | false | false | 6,987 | hh | /*
* Copyright (C) 2012-2015 Open Source Robotics 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... | [
"f.perez475@gmail.com"
] | f.perez475@gmail.com |
515051ea1cf6a817d3c51a64a4349d94ebd4ffce | fa342ea2fef279a2b76c89ea2a2a804a0d7e0468 | /Mandatory1/SIMPLE_KO_20_200_40/0.001/p | 2535af5a9327985438a34cd4d17389f17e95ab10 | [] | no_license | JDTyvand/OF_MEK4420 | f433a8fbc056c2d7e2261c792e5241ed4c9e7079 | 0ab7dcf805afe972d809bb884be12d60bc1933be | refs/heads/master | 2016-08-06T18:35:38.441170 | 2015-10-01T19:13:42 | 2015-10-01T19:13:42 | 42,505,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141,099 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"jorgentyvand@.gmail.com"
] | jorgentyvand@.gmail.com | |
26c8a8a80a97e0cfce3ae2a279477c701ac7d013 | b28161725407c24fa8f7dd634b6889f164a9f720 | /src/login_server/login_server.cpp | 94758418f12db2f4407a853bc092c23a5a5866c0 | [] | no_license | qidaizhe11/QingfengCalendar-server | 5a22b45ca5f2cb5fc510b535f5cbcdb7b7bc04b1 | 0606d635b1730fcded0a66a102f4cf13f18296da | refs/heads/master | 2016-09-05T16:59:40.783980 | 2015-09-20T13:37:46 | 2015-09-20T13:37:46 | 42,799,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | cpp |
#include "LoginConn.h"
#include "netlib.h"
#include "ConfigFileReader.h"
#include "version.h"
#include "HttpConn.h"
#include "ipparser.h"
IpParser* pIpParser = NULL;
string strMsfsUrl;
string strDiscovery; // 发现获取地址
void client_callback(void* callback_data, uint8_t msg, uint32_t handle, void* pParam)
{
if (ms... | [
"qidaizhe11@gmail.com"
] | qidaizhe11@gmail.com |
f85232164ded4de73454339ef0ba49e4c729a1cc | c0936ba52ea548fa1771037adb5dfa1f0e7501b3 | /2016/Ex8/Second/main.cpp | b85bbd649b379842efb68364aa78cbf5991ffe4c | [] | no_license | blazkovic/AdventOfCode | e43b0aac0d0a3739d1027f9173e1d15f8a7b878b | c12d156266aefcb9fd58d54c2c07cca738b2cad8 | refs/heads/master | 2021-01-01T15:36:07.524754 | 2020-01-03T11:32:27 | 2020-01-03T11:32:27 | 76,390,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,362 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
std::string input =
R"(rect 1x1
rotate row y=0 by 20
rect 1x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 3
rect 2x1
rotate row y=0 by 2
rect 1x1
... | [
"blazkovic@unknown"
] | blazkovic@unknown |
a6277b4aa3e2c94f147eedf26fa8c5809f92b035 | 3d7ce2f3040591fa0e768e03f82354a3468cfbdc | /Object.h | da50546db07fb74bc1d337cb2628cdb625559536 | [] | no_license | aybuket/NavigatingBarn | 77970db390baed2e17337c53955c4eb93697e89d | ac951c271f61eb9b24cb119fdd66fcc44f088b13 | refs/heads/main | 2023-05-29T00:09:06.736061 | 2021-06-14T21:03:04 | 2021-06-14T21:03:04 | 376,954,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | //
// Object.hpp
// GraphicTermProject
//
// Created by Aybüke Buket Akgül on 11.06.2021.
// Copyright © 2021 Aybüke Buket Akgül. All rights reserved.
//
#ifndef Object_h
#define Object_h
#include "Angel.h"
#include "Decleration.h"
#include <stdio.h>
namespace Object {
void initialize_buffer(int index);
void col... | [
"aakgul13@ku.edu.tr"
] | aakgul13@ku.edu.tr |
26f7fa205c0ce20d96ca52ee6fc2b3f4ee5b91e3 | 63ba91de14d218aafce9b9fef4d68f072dc511d2 | /codechef/SOLVED/MEX/c.cpp | 001fa848684f27a3cb4484532a8102fabe40c4b9 | [] | no_license | anas-didi95/programming-practices | bd1b57ea88db274f7c4b926cf2baf7360b3efe41 | cb0fb132e322b190edc11a8f71a231912c14ede5 | refs/heads/master | 2021-04-27T11:41:15.594540 | 2018-03-06T10:22:00 | 2018-03-06T10:22:00 | 122,566,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 2*100100
int main() {
int t;
scanf("%d", &t);
while (t--) {
int n, k;
scanf("%d %d", &n, &k);
bool s[MAX] = {false};
for (int i = 0; i < n; i++) {
int x;
scanf("%d", &x);
... | [
"anas.didi95@gmail.com"
] | anas.didi95@gmail.com |
cd48da361bbfe1a6f2df1514be8bbc5de3e30e7c | e22b72be7a7184a2e5c184baf6a487d7085e35f0 | /Classes/AppDelegate.cpp | 857ea21cad4ebfefc0c71a91d7cb756cdeb37020 | [
"MIT"
] | permissive | lcglcglcg/mygame | c24a3db71027551c47c67240d31907dbddfab30f | bc7f8b53e254afbd5fbcbe80aacfbf1c72f7e31f | refs/heads/master | 2021-01-10T09:17:21.824399 | 2016-03-17T01:32:07 | 2016-03-17T01:32:07 | 54,078,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp |
#include "AppDelegate.h"
#include "MyGame.h"
USING_NS_CC;
AppDelegate::AppDelegate()
{
}
AppDelegate::~AppDelegate()
{
}
void AppDelegate::initGLContextAttrs()
{
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8};
GLView::setGLContextAttrs(glContextAttrs);
}
bool AppDelegate::applicationDidFini... | [
"verylcg@sina.com"
] | verylcg@sina.com |
2611a21bbf2afc3d58a5b7cd8ece6dba2db95c0c | a80e8a0f30bb79f4e5416dba3f1d1ed197bd1b8c | /src/asservissement.cpp | 95abb75138ae62d2d11c7b61032eac97165da3fe | [] | no_license | QuenOlivier/ProjetImplementation | ff6468ef841b5460b31c5b65e634287b8b603379 | b0fb425402cfd6097c22d68ad27d1dc2eea92167 | refs/heads/master | 2020-04-08T11:24:16.343448 | 2019-01-18T09:19:30 | 2019-01-18T09:19:30 | 159,304,640 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,378 | cpp | ///
/// \file asservissement.cpp
/// \brief Fichier regroupant toute l'algorithmique concernant le controle des moteurs
/// \author Quentin.OLIVIER
///
#include "asservissement.hpp"
#include "BBBexample.hpp"
#define _USE_MATH_DEFINES
#define TIMESTEP 0.5 //En secondes
#define REDUC (10.0/19.0)
#define MAX_SPEED 6680
... | [
"quentin.olivier1996@gmail.com"
] | quentin.olivier1996@gmail.com |
3d6556d3e09e1f5dc98284bb1a61aed48a741ca1 | 86798d4b8ccaa9ac4b66b3e86f87fec62df70180 | /DS & Algo Implementation/Search Techniques/spoj ACTIV.cpp | 45c18914d26cd2a3295baf6c6c6bb8b6d9b9b4da | [] | no_license | sakiib/competitive-programming-code-library | 03675e4c9646bd0d65f08b146310abfd4b36f1c4 | e25d7f50932fb2659bbe3673daf846eb5e7c5428 | refs/heads/master | 2022-12-04T16:11:18.307005 | 2022-12-03T14:25:49 | 2022-12-03T14:25:49 | 208,120,580 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define all(V) V.begin(), V.end()
#define Unique(V) sort(all(V)), V.erase(unique(all(V)), V.end())
#define FIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
typedef long long int LL;
const int N = 1e5 + 5;
#define ff first
#define ss ... | [
"noreply@github.com"
] | noreply@github.com |
a326984a20a241117fd5239c0e8d8a52ed89f568 | c99ee4531e379e2104ccc937646321739f3540e8 | /Colors.cpp | b3f20033749adad7f7b1cec07a7970cb1bab1a4d | [] | no_license | Kishore-p-98/Code-wars-3-Editorial | b8c4fc2b27c616ece521edd310e36d9dbcdf7d5d | 73dfe3fffc1404ff843c93945cf0c87381450860 | refs/heads/master | 2020-04-25T16:33:04.269841 | 2019-02-27T16:08:16 | 2019-02-27T16:08:16 | 172,916,488 | 0 | 1 | null | 2019-02-27T15:54:04 | 2019-02-27T13:01:21 | C++ | UTF-8 | C++ | false | false | 433 | cpp | Colors : https://www.hackerrank.com/contests/codewars-3-rvce/challenges/colors-1
Complexity : O(n)
Solution :
The problem reduces to find the value of maximum of frequency of elements in the given array.
CODE :
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i,a;
cin>>n;
int freq[101]={0},ans=0... | [
"noreply@github.com"
] | noreply@github.com |
f02261dbbb0fc764de0e5c906039d2e1122e695f | 230d3cbab96c9b5886987bc19f3ed395f36861be | /learnopencv/app/src/main/cpp/sg.cpp | adcad14b351a44d5c5e5fbc8a7c4d931f6734414 | [] | no_license | atoliu/learn-1 | 7a0a7ca1691cb1ca8e2f5ee981950aebf05acb4e | 0d3c805e0f71c7f66f42e4dd0a22e745d2227cd0 | refs/heads/master | 2023-08-05T03:33:38.656783 | 2021-09-14T05:35:35 | 2021-09-14T05:35:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,041 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
#include <vector>
#include <cmath>
#include <cmath>
using namespace cv;
using namespace std;
/// <summary>
/// 直线参数
/// </summary>
typedef struct {
/// <summary>
/// 截距
/// </summary>
float intercept;
/// <summary>
/// 斜率
/// </summary>
... | [
"390835144@qq.com"
] | 390835144@qq.com |
12dc16a95d139bb1f3d419bd99d0eddb7ef5070d | 7bf043a834dc8811e6d7f889617c07a1e9f22c70 | /chapter10/code/code10_32.cc | 1743ca5a9c83c588189e31efa0c536bbdd35abd6 | [] | no_license | bug-code/Cpp_primer | 90a3133a33e33baa27e163800803b537887e4322 | 6b39b346ef896f47ec746984c7f55a3536e83cd2 | refs/heads/master | 2023-05-14T11:58:21.733526 | 2021-06-10T03:14:38 | 2021-06-10T03:14:38 | 357,915,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | cc | #include <fstream>
#include <iterator>
#include <algorithm>
#include <numeric>
#include "Sales_data.h"
using namespace std;
/*比较Sales_data对象isbn*/
bool compareIsbn(const Sales_data &data1 , const Sales_data &data2){
auto isbn1 = data1.isbn() , isbn2 = data2.isbn();
auto beg_isbn1 = 0 , beg_isbn2 = 0;
auto ... | [
"1033257492@qq.com"
] | 1033257492@qq.com |
0b28b96a7dcc664ca92d60024b74310554fca45c | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/vardist_solaccess/VarSolDRotamerDots.cc | 4489515655b6890b51c6827b67bc0fcc9324ec39 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 35,041 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
763b7b5235aadae2eb02210228297dba1b342e35 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0005/PC4H8OH | 446ab4a554f7777d104c0dd7bcfe728f7bc808e8 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
be806f4e2093cd2bbf42c0e5fc613320b9cf378d | 208a1e5d145aa28b5281a4704a485d486bada5dc | /examples/autorally/autorallyrtwindow.h | 53cba30644df217166657cef4b211827684cefe7 | [] | no_license | munzir/13-3DUnification | ee8de2e7e3b0f485feb58b7490ecabc65ca700a9 | d0fb6702dd41cdb6c37598024ef0839391f313e1 | refs/heads/master | 2020-06-23T02:13:47.166182 | 2018-08-01T12:45:10 | 2018-08-01T12:45:10 | 198,472,205 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | #ifndef AUTORALLYRTWINDOW_H
#define AUTORALLYRTWINDOW_H
#include <QMainWindow>
#include <qcustomplot/qcustomplot.h>
namespace Ui {
class AutoRallyRTWindow;
}
class AutoRallyRTWindow : public QMainWindow
{
Q_OBJECT
public:
using Scalar = double;
explicit AutoRallyRTWindow(Scalar dt, QWidget *parent = 0);... | [
"john.shimin.zhang@gmail.com"
] | john.shimin.zhang@gmail.com |
abb505dc7f1c02cb7345c3da72418e481c154295 | 004432620e309370603e5e2836e94d54b9082453 | /Day 27.cpp | ab2164377625391b1d4a261b8cdcf79ce6a9ad23 | [] | no_license | Ayush-KS/November-LeetCoding-Challenge | d67f3c63b86f0ef1b6fb289a2ba8e92ec2bda3e6 | ffa9fd9833039fb21426a7441ba32c8522da1280 | refs/heads/main | 2023-02-04T09:16:57.191393 | 2020-12-01T09:47:30 | 2020-12-01T09:47:30 | 309,596,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | // Partition Equal Subset Sum
class Solution {
public:
vector<int> arr;
bool helper(vector<vector<int>>& dp, int si, int sum) {
int tot = dp[0].size();
if(sum == tot)
return true;
if(sum > tot || si >= dp.size())
return false;
if(dp[si][sum] != -1)
... | [
"45496026+Ayush-KS@users.noreply.github.com"
] | 45496026+Ayush-KS@users.noreply.github.com |
fad41f4da8ccac42a2cf69a3754b359d8e2a9c8c | 12615282879168eb6262f57df87518e83df44489 | /detection/spencer_detected_person_association/src/spencer_detected_person_association/aggregate_detections.cpp | 5a7b467dd80badc99a57a4ffc8a979d6f6ce1a86 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LdwgWffnschmdt/spencer_people_tracking | 86f40c21744b7e9084f671531cdba29e2da58342 | 5a9b7fafe2e388b3bed19e9484701a710c3c313f | refs/heads/master | 2023-03-11T19:33:39.705536 | 2021-01-22T08:11:41 | 2021-01-22T08:11:41 | 331,878,728 | 0 | 1 | null | 2021-01-22T10:19:59 | 2021-01-22T08:07:23 | C++ | UTF-8 | C++ | false | false | 3,489 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014-2015, Timm Linder, Social Robotics Lab, University of Freiburg
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redis... | [
"linder@cs.uni-freiburg.de"
] | linder@cs.uni-freiburg.de |
136726da0d92666f19007a4fdbb781666c412104 | 61af2d058ff5b90cbb5a00b5d662c29c8696c8cc | /Codeforces/15/A.cpp | 6384f3d2660bff799338f1fa653812c610a64a8d | [
"MIT"
] | permissive | sshockwave/Online-Judge-Solutions | eac6963be485ab0f40002f0a85d0fd65f38d5182 | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | refs/heads/master | 2021-01-24T11:45:39.484179 | 2020-03-02T04:02:40 | 2020-03-02T04:02:40 | 69,444,295 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
struct house{
int x,a;
};
bool diycomp(struct house a,struct house b){
return a.x<b.x;
}
int main(){
int n,t,cnt=2,tmp;
cin>>n>>t;
house h[n];
for(int i=0;i<n;i++){
cin>>h[i].x>>h[i].a;
}
sort(h,h+n,diycomp);
f... | [
"i_sukai@live.com"
] | i_sukai@live.com |
26c645f8a5e39df71ce4413b657572862c0927a4 | c6e5fafc1c63acca406f384acc9088254cef2254 | /assets/listings/item45-1.cpp | cacf6e6753d47fa60a90049fcc83cbcf78b33f74 | [
"BSD-2-Clause"
] | permissive | feserr/ResumenEffectiveCpp | 6f52bb14ea61ce6c995b0483903417c616ca6d27 | 8c535b2c9acc53fc117d38e35e1dd2cb7c8750fc | refs/heads/master | 2020-03-25T00:33:55.602720 | 2019-12-03T23:02:29 | 2019-12-03T23:02:29 | 143,192,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | template<class T>
class shared_ptr {
public:
shared_ptr(shared_ptr const& r);
template<class Y>
shared_ptr(shared_ptr<Y> const& r);
shared_ptr& operator=(shared_ptr const& r);
template<class Y>
shared_ptr& operator=(shared_ptr<Y> const& r);
...
}; | [
"fraserm1989@gmail.com"
] | fraserm1989@gmail.com |
308e4a02d010a777742a8498d04e229988b49fbf | b5e3bc07ff658cb982e8a4d60abc889dc35095cb | /Source/Voxel_VXGI/Voxel/Voxel_Wood.h | 104acd02596c7b8a610d857991bc73afa5b256fc | [] | no_license | AthosOfAthos/Voxel_VXGI | 058369019bd07611b2f13185bf6cd9495b4ffca4 | 3e4d8de12bd8b4c9eada092552a0aae12e908c13 | refs/heads/master | 2020-03-28T19:58:42.724131 | 2018-10-14T21:57:12 | 2018-10-14T21:57:12 | 149,027,144 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Voxel/Voxel_Voxel.h"
/**
*
*/
class VOXEL_VXGI_API Voxel_Wood: public Voxel_Voxel
{
public:
Voxel_Wood();
~Voxel_Wood();
};
| [
"mhock99@gmail.com"
] | mhock99@gmail.com |
0ee0766d93acb9391809d5a1a3121e45b727977f | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /tms/src/v1/model/ReqCreateTag.cpp | 04836ebed938d57d4d998f95b8e87348c5e6a6eb | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 3,076 | cpp |
#include "huaweicloud/tms/v1/model/ReqCreateTag.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Tms {
namespace V1 {
namespace Model {
ReqCreateTag::ReqCreateTag()
{
projectId_ = "";
projectIdIsSet_ = false;
resourcesIsSet_ = false;
tagsIsSet_ = false;
}
ReqCreateTag::~ReqCreateTag() = defa... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
0d6108b94a09633e0e0b08e173e81efbb074ea69 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/EtsEod/EtsEodManager/stdafx.h | 622210ad6346fd6eae3bf9ab576533c7420dc43c | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#define _ATL_APARTMENT_THREADED
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// ... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
ad2c0a0b386d579f73078f425fca1106075e9064 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/ui/webui/quota_internals/quota_internals_types.h | e372799e921d19a0d0574837e7bf6d62e9c56713 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 2,101 | 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_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_TYPES_H_
#define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_TYPES_H_
#in... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
0c776601dde52c0ee70ecbd2ccf0fd07af0cec1f | 7d76028ce93c2fdc0f1f131a7d649d78658b7b9e | /HMC5883L_compass_MPU6050_calibrat/HMC5883L_compass_MPU6050_calibrat.ino | 4746703b645306ed7e731e89a51104908d9d809b | [] | no_license | Fenix-dimetrius/antenna-navigation-system | 52f9ea5166211032a3dbf219a1efe50b5100438a | 4e2a770b1571252d14c6514d22039bc4bd828820 | refs/heads/master | 2020-03-08T16:50:14.936398 | 2018-04-05T19:04:12 | 2018-04-05T19:04:12 | 128,251,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | ino | /*
HMC5883L Triple Axis Digital Compass + MPU6050 (GY-86 / GY-87). Compass Example.
Read more: http://www.jarzebski.pl/arduino/czujniki-i-sensory/3-osiowy-magnetometr-hmc5883l.html
GIT: https://github.com/jarzebski/Arduino-HMC5883L
Web: http://www.jarzebski.pl
(c) 2014 by Korneliusz Jarzebski
*/
#include <Wi... | [
"37903300+Fenix-dimetrius@users.noreply.github.com"
] | 37903300+Fenix-dimetrius@users.noreply.github.com |
40bc164a8b47d99781ca7e95fe9cf296723537fd | edfcaf491fd7d5457a24ab7da061ecd70031a60b | /SoCV_HWs/hw2/r04943179_hw2/p7a.h | 6fa75328f0eaed4e6a66153d72b4f0fe737ab126 | [] | no_license | mickyshey/SoCV | 900280a6fd7eb82e7bce8f7fffa8a0cd603d9a89 | 7efb1e879bdec1c7c9d92b8347482b1c339f0dca | refs/heads/master | 2021-01-21T23:20:31.093024 | 2017-06-23T14:49:10 | 2017-06-23T14:49:10 | 95,229,248 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,552 | h | /****************************************************************************
FileName [ bddMgr.h ]
PackageName [ ]
Synopsis [ Define BDD Manager ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2005-present LaDs(III), GIEE, NTU, Taiwan ]
******************************************... | [
"r04943179@valkyrie.ee.ntu.edu.tw"
] | r04943179@valkyrie.ee.ntu.edu.tw |
999bf49d6d472c58b8352aa07eadf2422905db8e | 631b5cf7194c7ee759e746bfc1f044cb81d01b8b | /src/Header/GarbageCollector.h | 480404169fb8cfa0d6258eef1330ae785932986c | [] | no_license | VanModers/IdeenMemoorje | e45672ad889d13823595ab230788c9b3411dbb09 | d4ed14928d84c6cbb4e3d1b26864572d6698593e | refs/heads/main | 2023-01-03T20:11:48.221328 | 2020-10-12T21:56:15 | 2020-10-12T21:56:15 | 300,965,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #include "LoginHandler.h"
#include <stdio.h>
#include <experimental/filesystem>
class GarbageCollector {
public:
vector<string> TempFiles;
int FileThreshold;
GarbageCollector(vector<string> files, int threshold);
GarbageCollector() {};
void addFile(string path);
};
| [
"programmingstudios227@gmail.com"
] | programmingstudios227@gmail.com |
7d1922ee19fd657f9ba9a772dad98f0780f97e25 | cc1ca9f0124f3ae29d9ea066d0eac3bb010d0409 | /C++ Talon FX (Falcon 500)/MotionMagic/src/main/include/Robot.h | 63302a14e30baba35486de27a1d90e2e79ef2988 | [] | no_license | benjiboy50fonz/Phoenix-Examples-Languages | e917b8562214260ad4a92d77f2246ec78b2a815b | a9063fd8ca1a18b3730783ac5548541992b97f39 | refs/heads/master | 2023-03-28T16:26:09.029007 | 2021-04-05T14:40:12 | 2021-04-05T14:40:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | #pragma once
#include <frc/TimedRobot.h>
#include <frc/Joystick.h>
#include "ctre/Phoenix.h"
#include "Instrum.h"
class Robot : public frc::TimedRobot
{
public:
void RobotInit() override;
void AutonomousInit() override;
void AutonomousPeriodic() override;
void TeleopInit() override;
void TeleopPeriodic() overr... | [
"cnessctre@gmail.com"
] | cnessctre@gmail.com |
a8bc807832a7e47607a4950a111978329ec6bdf5 | 5fd7fbe2e4bb2eb6fc1df9032215b222bbef3788 | /DataBase/TypeManager.h | a588c998a401426b11e92c40a89a25a472932aca | [
"MIT"
] | permissive | olokshyn/ToyDataBase | 3d56f6e6e0918aa07d63a53ee04175a96b80fa6a | aa95bd550d926fc4fa43a9dab6c9111fb0dff9df | refs/heads/master | 2020-06-10T09:09:12.468868 | 2016-12-13T21:23:09 | 2016-12-13T21:23:09 | 75,976,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | h | #pragma once
#include <vector>
#include <string>
#include <map>
#include <memory>
#include "BaseType.h"
class TypeManager
{
public:
TypeManager();
void GetTypeNames(std::vector<std::string>& names) const;
const BaseType* GetTypeByName(const std::string& name) const;
const std::string& GetNameOfType(const BaseTy... | [
"olokshyn@gmail.com"
] | olokshyn@gmail.com |
ed320b320f8e88a4e3d487b169ef2b5b1359ce22 | 9226b2c5c77451fbd389be575bb2701fbd14f691 | /AA1_04/DynArray.cc | 32495d0d2365e600953bcce1ae33244f2e601a68 | [] | no_license | juanlojo/AA1_01 | 05acaa15d7c39304ddc6f7ec0859f25c1a12952d | 39938cff2e7f7b2c939bd1107be5db60afaa902b | refs/heads/master | 2021-04-29T21:50:28.657916 | 2018-05-08T11:11:47 | 2018-05-08T11:11:47 | 121,625,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | cc | #include <iostream>
#include "DynArray.hh"
DynArray::DynArray()
{
data = new int[DYN_ARRAY_DEFAULT_SIZE];
DynArray::m_capacity = DYN_ARRAY_DEFAULT_SIZE;
DynArray::m_size = 0;
}
DynArray::DynArray(size_t size)
{
data = new int[size];
DynArray::m_capacity = size;
DynArray::m_size = 0;
}
DynArray::DynArray(size_t... | [
"juan230599@hotmail.com"
] | juan230599@hotmail.com |
c2a78cb77c5de050bf0fb1c030a751f132a930bc | 82e6516c33c15f26c3544272c813980503d40f6f | /main.cpp | 972a7a80f272f96d36cc06b41b5b89deed2f9f29 | [] | no_license | OlegYariga/SmallSH | 87f4443622ba20369146faace14cb6d538afc066 | f5d728109a103994fcff6d84791a001b3c94786c | refs/heads/master | 2021-07-16T12:33:12.042509 | 2020-11-03T11:57:26 | 2020-11-03T11:57:26 | 224,686,827 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,575 | cpp | // SmallSH.cpp: определяет точку входа для консольного приложения.
// SmallSH - небольшой командный интерпретатор для ОС Linux. Выполняет как встроенные
// так и внешние программы. Для получения подробной справке по использованию команд
// запустите интерпретатор и введите help
//
/*
*
* Подключаем необходимые для рабо... | [
"oyariga@gmail.com"
] | oyariga@gmail.com |
70e9ecf8299a924bfe5901158ae72cf87a3526d7 | c9d5a5c3ee696b7cf2cbb6a8d6e1baca38cc4690 | /peridot/public/lib/modular_test_harness/cpp/fake_module.cc | b15a1ba04bf022a1e28e112f116f58d539456373 | [
"BSD-3-Clause"
] | permissive | blockspacer/fuchsia | 1ffffa0b3e7b3c4d9c0d47eab3a941232a5833ea | 1436b974d8189ba41eda75c123e3bb7becb43556 | refs/heads/master | 2020-05-26T20:28:21.781385 | 2019-05-23T10:40:53 | 2019-05-23T10:40:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cc | // Copyright 2019 The Fuchsia 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 <lib/modular_test_harness/cpp/fake_module.h>
namespace modular {
namespace testing {
FakeModule::FakeModule(
fit::function<void(fuchsia::mod... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e84eee94477b3510291e2d2fa2be6210148f1cdf | dfd2eb796494fdd129800b066f4e624523f45a03 | /src/operatorsP0/utility/psetpixel.cct | 93f1bafcdcd153c8180843c4ed2259b2f14cd748 | [] | no_license | Dr-XX/pandore-bug-injected | 81d099d6a890a2c5be1617df254a96c7a2addcf9 | a3cf01cec67d04581ec20eeaa6bf8cabd016e826 | refs/heads/master | 2022-03-28T21:50:05.001637 | 2020-01-16T08:27:29 | 2020-01-16T08:27:29 | 230,410,981 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 4,484 | cct | /* -*- c-basic-offset: 3; mode: c++ -*-
*
* Copyright (c), GREYC.
* All rights reserved
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met... | [
"jordan0801@163.com"
] | jordan0801@163.com |
0f564c08674e467d8cdb973373d3fb1538609cf3 | 7d5538864d38167b2cb66764b4ea5c85bee0c918 | /atcoder/abc/231/a.cpp | e4bcebda3475585b946e35ee98c3294deda54391 | [] | no_license | iPolyomino/contest | ec63acef925bf4a9b562aab46fc247d0fe7a71b9 | 96bea95174cc320f0620da322a25668ac5c500cd | refs/heads/master | 2023-07-09T01:19:33.026494 | 2023-06-24T01:06:13 | 2023-06-24T01:06:13 | 163,596,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
double D;
cin >> D;
cout << D / 100.0 << endl;
return 0;
}
| [
"macbookpromacbookpromacbookpro@gmail.com"
] | macbookpromacbookpromacbookpro@gmail.com |
3eb70e060fd5d5a6bc0bac1be1795dadec1a9bac | b79b4b17b3b65c5ee27ceb07d56e85a7b269dd10 | /cpp/nwd.cpp | 4b793ef123d92bf50b5e2b4acdaf16c9a3d6b812 | [] | no_license | kam0309/gitrepo | e9881d868a1fd63403220c7656b295d5fbe1c25b | e17ee11de2238a9d4b75fc33ad8bda4deb37296c | refs/heads/master | 2021-09-22T11:51:18.723167 | 2018-09-10T07:39:47 | 2018-09-10T07:39:47 | 103,923,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | /*
* nwd.cpp
*/
#include <iostream>
using namespace std;
int nwd_1(int a,int b)
{
//int a,b;
while (a != b)
if (a > b)
a = a - b;
else
b = b - a;
return a;
}
int nwd_2(int a, int b)
{
while (a > 0)
a = a % b;
b = b - a;
... | [
"kamil.warzycki@o2.pl"
] | kamil.warzycki@o2.pl |
ff4e695beb10ddf2de82f3a6544d3ee0568a067f | a3634de7800ae5fe8e68532d7c3a7570b9c61c5b | /euler/citizens.cpp | 321bdbc60a56ea96a6b2f790ad67252f434c38b0 | [] | no_license | MayankChaturvedi/competitive-coding | a737a2a36b8aa7aea1193f2db4b32b081f78e2ba | 9e9bd21de669c7b7bd29a262b29965ecc80ad621 | refs/heads/master | 2020-03-18T01:39:29.447631 | 2018-02-19T15:04:32 | 2018-02-19T15:04:32 | 134,152,930 | 0 | 1 | null | 2018-05-20T13:27:35 | 2018-05-20T13:27:34 | null | UTF-8 | C++ | false | false | 874 | cpp | #include <iostream>
using namespace std;
const int MAX = 100000000;
int phi[MAX];
int main()
{
for(int i=1; i<MAX; i++)
phi[i]=i;
for(int i=2; i<MAX; i++)
{ if(phi[i]==i)
{ // This condition guarantees that i is prime since it was not modified by any number <i.
for(int j=i; j<MAX; j+=i)
phi[j]-=(ph... | [
"f20160006@goa.bits-pilani.ac.in"
] | f20160006@goa.bits-pilani.ac.in |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.