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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a72ea5a9e8f21f346466ef93de82e4e4f38ef1aa | b3562393b9e7eea2f704ee242f3462d05084512b | /src/pintool/histlockplus.cpp | 94b603ead65a2d0652f5b9f381135db54a391557 | [
"Apache-2.0"
] | permissive | jialinyang1990/data-race-detectors | cab2431dea6ca47502ecf283898844a6b0d38c9d | c8b6b8905b844dd83bcabe985bdef11bfe3e26af | refs/heads/master | 2020-04-02T01:48:47.550497 | 2018-10-20T06:50:03 | 2018-10-20T06:50:23 | 153,876,370 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,187 | cpp | //#define WINDOW_SIZE 100
#include "histlockplus.h"
namespace pintool {
using namespace race;
HistLockPlus::Meta *HistLockPlus::GetMeta(address_t iaddr) {
Meta::Table::iterator it = meta_table_.find(iaddr);
if (it == meta_table_.end()) {
Meta *meta = new HistLockPlusMeta(iaddr);
... | [
"jialinyang1990@gmail.com"
] | jialinyang1990@gmail.com |
6fc642cdacd6e44a84ba6c3772af66df3bc84f33 | 41721eef584d00c288069b17bef8049b5cc7dd6e | /lock_smain.cc | 7cfea2e42e14de9e17f056a206f4e980261449e7 | [] | no_license | chris98122/CSE-filesystem | dfb11ddfe3856fa780837d19daef90ae206a1efd | 64c18c6cd6ee7062cf4ee630be7cfc672827010f | refs/heads/master | 2020-09-28T15:47:59.628151 | 2019-12-09T07:16:42 | 2019-12-09T07:16:42 | 226,808,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cc | #include "rpc.h"
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
//#include "lock_server.h"
#include "lock_server_cache.h"
#include "jsl_log.h"
// Main loop of lock_server
int main(int argc, char *argv[])
{
int count = 0;
setvbuf(stdout, NULL, _IONBF, 0);
setvbuf(stderr, NU... | [
"chris98122@126.com"
] | chris98122@126.com |
ba6a6ba94aaa3d654819781763f658188b314ba1 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8381/Kireev_Konstantin/lab1/code/unitsclasses.h | 9dbb655b3ad8b058889bf8df20ebbe73cb8d92f7 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 1,714 | h | #pragma once
#include <unitsinterface.h>
class DamageAbsorberInfantry : public InfantryInterface, public UnitDamageAbsorberInterface //пехота, поглощающая урон
{
public:
DamageAbsorberInfantry();
QString getClass() override;
cellInterface* copy() override { return new DamageAbsorberInfantry(*this); }
};
c... | [
"gandhi.noir@mail.ru"
] | gandhi.noir@mail.ru |
d95fdfee1974ec292071aa454a56d5d61393f399 | 72cc56c488930ed632070a1d23c340b6835c24b5 | /Robotics/ca/devel/include/caros_sensor_msgs/PoseSensorState.h | 6aac44c39b9ed9c5bf90a1cb8ed2c42f57cd1c27 | [] | no_license | Keerthikan/ROVI2 | 856b9cb9706ee3ab14f41ce51cc5c6a5f8113225 | 46c6f3dac80207935d87a6f6a39b48c766e302a4 | refs/heads/master | 2021-01-18T22:07:57.035506 | 2016-05-19T08:58:13 | 2016-05-19T08:58:13 | 51,436,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,984 | h | // Generated by gencpp from file caros_sensor_msgs/PoseSensorState.msg
// DO NOT EDIT!
#ifndef CAROS_SENSOR_MSGS_MESSAGE_POSESENSORSTATE_H
#define CAROS_SENSOR_MSGS_MESSAGE_POSESENSORSTATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"kerat12@student.sdu.dk"
] | kerat12@student.sdu.dk |
9680a904bad95a20ea6ea0f58126766d3636923e | f381ef7cd2a22ba0063d50ae83126eb53e277dd7 | /deps/src/cvwrap/wrap_stitching.cpp | 69360846b9320eafb19446e33a2e5096d5c9613a | [] | no_license | TakekazuKATO/OpenCV.jl | a56cc5da5ee4ab656729e93fe92d22c6d3106fa2 | cfa7fcf6a74bfb4257528793e6eb357ad323dbd2 | refs/heads/master | 2020-04-05T03:05:43.640693 | 2018-11-28T06:59:10 | 2018-11-28T06:59:10 | 156,501,048 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include <opencv2/opencv.hpp>
#include "jlcxx/jlcxx.hpp"
#include "modules.hpp"
using namespace jlcxx;
using namespace cv;
JLCXX_MODULE
define_stitching_module(Module& mod) {
mod.add_type<cv::Stitcher>("Stitcher");
mod.method("createStitcher", []() { return cv::createStitcher(); });
mod.method("createStitcher",
... | [
"takekazu.kato@gmail.com"
] | takekazu.kato@gmail.com |
165c82ac0c189c9b2a6074d351c79119e51d8981 | 9ea185fc14b01c5b90bcc704b53f1c9006389c98 | /include/criterion/trompeloeil.hpp | a899daa2e2ca0a6f35b460fe4a08d5c2b9d72b18 | [
"BSL-1.0"
] | permissive | rollbear/trompeloeil | 593c15ce69e6020f3ab98b1fe0a6671efde8f2a5 | 9d4f09aa4083e8e2eb71d1b03e195daa1dee6439 | refs/heads/main | 2023-09-05T10:01:18.970380 | 2023-08-20T08:43:26 | 2023-08-21T14:27:32 | 25,121,543 | 786 | 113 | BSL-1.0 | 2023-05-06T05:41:48 | 2014-10-12T14:23:48 | C++ | UTF-8 | C++ | false | false | 1,316 | hpp | /*
* Trompeloeil C++ mocking framework
*
* Copyright Björn Fahller 2014-2019
* Copyright Etienne Barbier 2020
*
* Use, modification and distribution is subject to 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)
*
* Pro... | [
"etienne.barbier@atos.net"
] | etienne.barbier@atos.net |
4910050ba08094b8dd5b5e4ce7acc183e0c45dbb | f2339e85157027dada17fadd67c163ecb8627909 | /Social/LegendCupService/Src/LegendCupManager.h | 3d98156a9cc9bc5b9bd1ee6bbbd54dbd0f1dae7d | [] | no_license | fynbntl/Titan | 7ed8869377676b4c5b96df953570d9b4c4b9b102 | b069b7a2d90f4d67c072e7c96fe341a18fedcfe7 | refs/heads/master | 2021-09-01T22:52:37.516407 | 2017-12-29T01:59:29 | 2017-12-29T01:59:29 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 857 | h | /*******************************************************************
** 文件名: E:\speed\Social\LegendCupServer\Src\LegendCupManager.h
** 版 权: (C) 深圳冰川网络技术有限公司 2008 - All Rights Reserved
** 创建人: 秦其勇
** 日 期: 3/18/2015 14:47
** 版 本: 1.0
** 描 述: 杯赛服务管理类
****************************************************************... | [
"85789685@qq.com"
] | 85789685@qq.com |
d6144998f92972a2ababdc396a5d445aba4f6966 | f7df6576f641633ffa1290969e7b6da48ee3c26d | /src/ObjectUtils/Address.cpp | e60fc1d6f81a634196d06147ea1192cef1174323 | [
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | beckerhe/orbitprofiler | 96fa8466dac647618e42ff45319d70aceb4505cc | 56541e1e53726f9f824e8216fdcbd4e7b1178965 | refs/heads/main | 2023-06-06T01:08:10.490090 | 2021-12-10T13:31:51 | 2021-12-10T13:31:51 | 235,291,165 | 2 | 0 | BSD-2-Clause | 2021-12-10T13:31:51 | 2020-01-21T08:32:27 | C++ | UTF-8 | C++ | false | false | 1,825 | cpp | // Copyright (c) 2021 The Orbit 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 "ObjectUtils/Address.h"
#include <absl/strings/str_format.h>
#include <algorithm>
#include <filesystem>
#include <memory>
#include <string>
#... | [
"dimitry@google.com"
] | dimitry@google.com |
9355eefa3afe95b34de10d4625071586b87be40f | 71cd02b16fa272576461523621748c7ab18fff5d | /include/lutok/state.ipp | 531d9c19dacd5e24ab89df117de53879d5492568 | [
"BSD-3-Clause"
] | permissive | freebsd/lutok | 825e4a19d5a526da2e20c508473ad5c57ed25bf8 | 8f8eaefe8b7c76e286b96fcbe2e860af98de29ea | refs/heads/master | 2023-08-03T21:53:47.279403 | 2016-07-14T19:53:32 | 2016-07-18T20:02:30 | 251,681,590 | 2 | 7 | BSD-3-Clause | 2020-03-31T17:35:44 | 2020-03-31T17:35:44 | null | UTF-8 | C++ | false | false | 27 | ipp | #include "../../state.ipp"
| [
"jmmv@julipedia.org"
] | jmmv@julipedia.org |
50117d69e1277f2fd96ec3ead7c4ac595a608aef | 8c917f522c65d106e0b2a0a10c20bf20176b8798 | /C++/Trees/IncreasingorderSearchTree.cpp | b8fa860ed9f4ab43c8b215a3f316f4659cda514d | [] | no_license | khandya1/Placement-prep | 495e3cb23b3fdfec6a1ff184cfd8402d7a271cba | 9bd0880a16fa21dea5a142b9f48a6d6d85c853d9 | refs/heads/master | 2023-06-28T15:03:54.044725 | 2021-08-04T16:39:10 | 2021-08-04T16:39:10 | 369,742,967 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | /// https://leetcode.com/problems/increasing-order-search-tree/
/// lc 987
#include <bits/stdc++.h>
#include "TreeCreation.cpp"
using namespace std;
class Solution {
public:
vector<int> x;
TreeNode* increasingBST(TreeNode* root) {
inorder(root);
TreeNode* temp = new TreeNode(x[0]);
... | [
"63929895+khandya1@users.noreply.github.com"
] | 63929895+khandya1@users.noreply.github.com |
52030b56823d74f811775a2c4f062e9f5fcc1ffb | 2b930079819f0384fd021184c71ab8ec0cfb4808 | /q5/widget.h | a65936efc447f890c1c5c34f17274c1f57d49c41 | [] | no_license | SethMarkarian/Lab-Exam-2 | 426d5e4c77e4caba1e824a064fb362ceb098db55 | 502e60792ca792d8a79f45780a581c3cbb365d5c | refs/heads/master | 2020-05-02T21:59:52.864684 | 2019-03-28T16:03:15 | 2019-03-28T16:03:15 | 178,237,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = nullptr);
~Widget();
void replot();
private slots:
void on_move_left_clicked();
void on_move_right_clicked();
void on_p... | [
"markaris@lafayette.edu"
] | markaris@lafayette.edu |
3b06345ba3b7ec8202243a8397be686e3554932f | c9cdb8772eb74c832b703624f6395f1e8b84c09e | /Target/BeagleBoneBlack/CCore/src/dev/DevEth.cpp | 751b21ffd688e8db6dbf53b47c5a18a2c2ebbd2b | [
"BSL-1.0"
] | permissive | SergeyStrukov/CCore | 70799f40d0ecfec75ab9298f60e7396413931800 | 509bd439ae5621603f9fbe8e8b3ca03721ac283b | refs/heads/master | 2021-01-17T17:01:19.899215 | 2015-08-12T18:41:25 | 2015-08-12T18:41:25 | 3,891,233 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 39,402 | cpp | /* DevEth.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 1.08
//
// Tag: Target/BeagleBoneBlack
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the lo... | [
"sshimnick@hotmail.com"
] | sshimnick@hotmail.com |
a434e181d9796bf2aa05db7dd3cdabf3df32aa7c | 1cc1368471301cf8b0508e112a55e0410cc212a4 | /src/layer/normalize.cpp | 5be9884a29185374371dbaf7de2f1f858d86620a | [
"Zlib",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | wwlong/ncnn_embedded | 39f9ccbb716b4c6578d7834124477eb59b52d46e | b583dbf6f4d18bdcfb9cb3c0918bcc53144e7547 | refs/heads/master | 2021-09-03T13:09:28.234024 | 2018-01-09T08:30:39 | 2018-01-09T08:30:39 | 116,786,701 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,087 | cpp | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | [
"interestingwwl@sina.com"
] | interestingwwl@sina.com |
fc1e44981133c23f94bdf53a02cf2d9b2a432264 | 5b3496495ca74b382c76ededbc63768f3fbc5c06 | /Construct.cpp | 3d27df06769c695ca827f0b2062a1c8f84c1bce6 | [] | no_license | qiaobabaaa/3DRCS-Program | 672dcfcd634e688ba92df24d266fe221f0555d4b | c2ad1e4cd5897240dc81d987be45b1c4c463451a | refs/heads/master | 2020-03-23T21:28:40.016910 | 2018-07-24T13:53:37 | 2018-07-24T13:53:37 | 142,109,880 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 6,152 | cpp | // Construct.cpp : 实现文件
//
#include "stdafx.h"
#include "3DRCS.h"
#include "Construct.h"
#include "afxdialogex.h"
#include "IctHeader.h"
#include "PCG.h"
// CConstruct 对话框
IMPLEMENT_DYNAMIC(CConstruct, CDialog)
CConstruct::CConstruct(CWnd* pParent /*=NULL*/)
: CDialog(CConstruct::IDD, pParent)
{
... | [
"noreply@github.com"
] | qiaobabaaa.noreply@github.com |
f31dc32316ee400420c302b013dc5b470fb7d1d9 | e3013ce104d6c3188d51e7da5c14f455d0de8825 | /C++/Tan/06_善于使用指针与引用/pointToPointers.cpp | 9c4412a606c529ba2b8986b1892a34ab94f6b798 | [] | no_license | whztt07/LearningNotes | 73c9ea22a3d4efee0b2f1b508a2b5a5589aa5c22 | 250a5e1d094e57e7fd36fa244d0fdd985083ea28 | refs/heads/master | 2020-05-31T14:51:25.672031 | 2018-09-18T08:10:50 | 2018-09-18T08:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include<iostream>
using namespace std;
int main()
{
char*(*p);
char *name[]={"BASIC","FORTRAN","C++","Pascal","COBOL"};
p = name+2;
cout<<*p<<endl;
cout<<**p<<endl;
return 0;
}
| [
"yucicheung@gmail.com"
] | yucicheung@gmail.com |
54ae36d0c46d2ca3b35b5bfb85d343a4d1ff4c66 | d493276f3a09b6f161b9d3a79d5df55f48a0557c | /codejam_2020_RA_No3.cpp | 712b0fb514de4e29e916b56a5ae022d07487cdd6 | [] | no_license | AnneMayor/algorithmstudy | 31e034e9e7c8ffab0601f58b9ec29bea62aacf24 | 944870759ff43d0c275b28f0dcf54f5dd4b8f4b1 | refs/heads/master | 2023-04-26T21:25:21.679777 | 2023-04-15T09:08:02 | 2023-04-15T09:08:02 | 182,223,870 | 0 | 0 | null | 2021-06-20T06:49:02 | 2019-04-19T07:42:00 | C++ | UTF-8 | C++ | false | false | 3,967 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pii pair<int, int>
#define ll long long
#define x first
#define y second
int findIndex(set<int> & group, int pos, int dir) {
if(dir > 0) {
// 오른쪽 검사
auto idx = group.upper_bound(pos);
if(idx == group.end()) return int(1e9);
ret... | [
"melllamodahye@gmail.com"
] | melllamodahye@gmail.com |
29672406f9cb8edbde732f7486f1d74a9192e5b2 | fd7ed208359ad08fa6bb716e1b008aa4e39e7efe | /labs/G60_Composite/cpp/complete/simpleposition.hpp | 007ccc8e919e498016e91d6bef552ecf8dc370a7 | [
"MIT"
] | permissive | Meera94/design_patterns | 54ca8f2796d5c878487c82f5d758b5811d3bcef2 | bf9f599149359921c8171b82d102a2f2904f915e | refs/heads/main | 2023-07-02T04:02:11.116457 | 2021-08-09T14:49:44 | 2021-08-09T14:49:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | hpp | #pragma once
#include <string>
#include <ctime>
#include "position.hpp"
using namespace std;
enum Direction { Long, Short };
string direction_to_string(Direction d)
{
switch(d)
{
case Direction::Long: return "Long";
case Direction::Short: return "Short";
default: throw "Bad Enum";
}
}
class SimplePositi... | [
"you@example.com"
] | you@example.com |
12da96276f5a74b7324fe62d47aeb43ef1e79d47 | 82e61ed114f5bb4cef6fc0e9ea8df1d54b33f8c6 | /Atom.h | 5b16aa8357300c4d2b1e6b35fbd024832ccf0d69 | [] | no_license | moggces/ENTESS | add248852a372ed0f03c9f439725a5ab14f52b41 | cc86eea3a2cfdd4bce1d249f250029207f192ef6 | refs/heads/master | 2021-01-13T08:53:15.998553 | 2016-10-26T12:56:28 | 2016-10-26T12:56:28 | 72,002,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | #ifndef Atom_H
#define Atom_H
#include <vector>
#include "apstring.h"
#define DUMMY_VAL -999
using namespace std;
typedef apstring A_STRING;
struct Protein_S {
float temper;
};
struct Ligand_S {
float p_charge;
};
class Atom_n {
public:
//constructors , deconstructor
Atom_n(int); //0 is ligand ; the other... | [
"juihua.hsieh@gmail.com"
] | juihua.hsieh@gmail.com |
9b7794629996948950f02b2e71fd2f94c6b88440 | 836964efff9836f0e62dbe566a9313dad1f9123d | /src/rmatrix.h | bd28b4453d903ae24a286367d36deeeecb0aa3a4 | [] | no_license | nicolaje/interval | f8ebc002574bc8a5f91e7e314820cb7d1038fecc | 7ee97c5084b26b055e90f105c999d39a86b9b95c | refs/heads/master | 2021-01-15T14:18:44.649773 | 2014-12-06T14:22:15 | 2014-12-06T14:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,528 | h | // Simple interval library from Luc JAULIN, with minor modifications from Fabrice LE BARS and Jeremy NICOLA.
#ifndef __RMATRIX__
#define __RMATRIX__
#include "box.h"
#include "matrix_lib/tnt.h"
#include "matrix_lib/jama_lu.h"
class rmatrix
{
public:
TNT::Array2D <double> data;
public:
//--------------------------... | [
"jeremy.nicola@gmail.com"
] | jeremy.nicola@gmail.com |
0bb04e64f1664b24ab522da9e17d23090931909b | ef2c53c3fd1ebb2a62dd675e46ca387d8ae46902 | /WaveformViewers/include/EBEvent.hpp | ad1c9580ca757ca24ea3b4bb02d5b3961f7dd408 | [] | no_license | madantimalsina/ElectronicsSimulation-baseline_study | 9ef410cc440235184de9ec3d44f96416bac1e8e1 | 8832ad57ba8b5c2fff3cabb6be8cfa425afa4af4 | refs/heads/master | 2020-06-30T16:46:57.661729 | 2019-08-06T16:42:36 | 2019-08-06T16:42:36 | 200,888,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | hpp | //
// EBEvent.hpp
// devices
//
// Created by Cees Carels on 13/03/2016.
// Copyright © 2016 LZOxford. All rights reserved.
//
#ifndef EBEvent_hpp
#define EBEvent_hpp
#include <stdio.h>
#include <vector>
#include "DDC32.hpp"
#include "Device.hpp"
/**
* Class containing event specific information for the curren... | [
"noreply@github.com"
] | madantimalsina.noreply@github.com |
85fcba4dbbdb79ca058a09d6a038db6788a86ad7 | b47490fab509a894716969b12649a1944cf6b1de | /CPP_Module_01/ex09/Logger.hpp | d518f5ac7965ff04e2bbf818e3a9d2a1a3fb0eeb | [] | no_license | flavienfr/piscine_cpp | 2341d097616bdceb79cdee3e7737913c7304d6e5 | 61d7793f8eb812432db5d1f92ec50df94ab1b82d | refs/heads/master | 2021-05-18T01:19:24.917876 | 2020-07-07T16:35:07 | 2020-07-07T16:35:07 | 251,043,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Logger.hpp :+: :+: :+: ... | [
"flav.rsl@hotmail.fr"
] | flav.rsl@hotmail.fr |
92236819aa256121c0a90a61cc8fe21cf652b9de | 36776f47cfbb57d0188d90217e03171a2194b553 | /UnitTest1/UnitTest1.cpp | 0685c03a121464460888af75aff593c6bb37e816 | [] | no_license | Aquat1c/lab1.1_oop | cc927e024b69555cbd7795d303a20c8b59f8a6da | 6ee6662258a3d95292cb38f98a5bc3df4551d882 | refs/heads/main | 2023-04-02T05:46:24.343096 | 2021-03-05T10:36:36 | 2021-03-05T10:36:36 | 344,776,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include "pch.h"
#include "CppUnitTest.h"
#include "../oop_lab_1.1/Goods.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace UnitTest1
{
TEST_CLASS(UnitTest1)
{
public:
TEST_METHOD(TestMethod1)
{
Assert::AreEqual(1, (1));
}
};
}
| [
"noreply@github.com"
] | Aquat1c.noreply@github.com |
942aa615a9b6a543875dd07a3c7740bc62c964b6 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5769900270288896_0/C++/auguste/main.cpp | 2a2f906c35d439aa7082b11d224744dea331d81c | [] | 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 | 923 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
int f(int r, int c)
{
if(r%2 == 0)
return c - 2;
else
return 2*((c-1)/2);
}
int main()
{
int T;
scanf("%d", &T);
for(int _i=1; _i<=T; _i++)
{
int r, c, n;
scanf("%d%d%d", &r, &c, &n);
int t = r*(c-1) + c*(r-1);... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
89591eacd855ccb5031dadf4e3287bfc9fdf04f5 | 321a8ef1591e915c6a9f69d1ce28e98017e72909 | /MapOfCity/City.cpp | 63aca993a9e074d8837c5393397bf949541d42e5 | [] | no_license | krasimirDiulgerov/MapOfCitySofia | 90cfc14b4a3de48fb77fe7024f39bbac16e1cec6 | 5111d4926d65346fe4e49484de1728e3d8b5c055 | refs/heads/main | 2023-03-28T04:47:09.356139 | 2021-04-01T17:22:23 | 2021-04-01T17:22:23 | 353,770,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,720 | cpp | #include<iostream>
#include<sstream>
#include<queue>
#include<cmath>
#include<fstream>
#include<string>
#include"Intersection.h"
#include"City.h"
Location::Location(std::string name, std::vector<Intersection*>* intersections) {
closed = std::vector<std::string>();
allIntersections = intersections;
current = fin... | [
"krasimir.diulgerov26@abv.bg"
] | krasimir.diulgerov26@abv.bg |
b054d68d580d3f627d0fb4bd7a8da5784f353e1d | a4cdc257cc5ed0dce546420c3b680840267c5c10 | /Boj/14000/14226(이모티콘).cpp | b4fd87c6f3f8e330c439102a3649b2e2123daab1 | [] | no_license | xifoxy/OnlineJudge | fd9013f048f3b0c0d8387a6151caaee84b6e5560 | 34165bf661a2cca25abd4622235b089a04c0fe38 | refs/heads/master | 2021-06-19T03:02:14.624660 | 2021-04-02T22:37:54 | 2021-04-02T22:37:54 | 200,482,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | #include <bits/stdc++.h>
using namespace std;
struct info{
int cnt, clip;
};
const int M = 1e3;
bool dp[M + 1][M + 1];
int n;
int main(){
scanf("%d", &n);
queue<info> Q;
Q.push({1,0});
dp[1][0] = 0;
int cmd_time = 0;
bool cmp = true;
// 2중 반복문으로 구현한 이유는, 연산 시간을 구분하기 위함이다.
whi... | [
"xifoxy@gmail.com"
] | xifoxy@gmail.com |
a3e1059bae18d9b1fd958b6f74dc0d1cffebc46f | ac2c7ce45a28c8ceb10d543944db90f6025e8a58 | /src/dc/qm_if.hpp | 6d7f747f1c177ed28f1f40b386fed96f2719974f | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0"
] | permissive | degarashi/revenant | a5997ccc9090690abd03a19e749606c9cdf935d4 | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | refs/heads/master | 2021-01-11T00:15:06.876412 | 2019-09-08T13:00:26 | 2019-09-08T13:00:26 | 70,564,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | hpp | #pragma once
#include "frea/src/matrix.hpp"
#include "spine/src/flyweight_item.hpp"
namespace rev::dc {
using SName = spi::FlyweightItem<std::string>;
using Mat4 = frea::Mat4;
using JointId = uint32_t;
struct IQueryMatrix {
virtual ~IQueryMatrix() {}
virtual Mat4 getLocal(JointId id) const = 0;
virtual Mat4... | [
"slice013@gmail.com"
] | slice013@gmail.com |
0ee55b21a143bdf164e593fa5dd842924c4d0c1f | 0db743b403076f2dd69d4c2ad6573d2afe02694c | /list_remove_duplicates.cpp | 8d71840ddcd3c6107ad375105a24e06e87c65df4 | [] | no_license | AnahitStepanyan/hackerRank | 80c1522a08d2380f9361b159fd09d1b54f720699 | 2da8a81393d068de715055d526ae89c9eb2a3ef6 | refs/heads/main | 2023-02-15T12:29:19.328814 | 2021-01-01T10:53:41 | 2021-01-01T10:53:41 | 316,466,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | cpp | #include <cstddef>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Node
{
public:
int data;
Node *next;
Node(int d){
data=d;
next=NULL;
}
};
class Solution{
public:
Node* ... | [
"noreply@github.com"
] | AnahitStepanyan.noreply@github.com |
7bdd9095217b3992b07799a322eeb298f8c8c005 | 5e5429b49ff7f9a248b27aa78ca0a5a8ac5007e4 | /profile.re | f05482f2d0ca58be7480f353be4bc2b18d5af91e | [] | no_license | thinkitcojp/tibooks-maker | 60cad2c02d9b60c4b1e34d58bd24b7e89dcb7a44 | c900a049fb8d17b334b8b584bc6d01e4045c6e1a | refs/heads/master | 2021-09-09T01:19:50.908843 | 2021-09-05T04:40:35 | 2021-09-05T04:40:35 | 46,779,216 | 10 | 0 | null | 2018-06-26T02:40:56 | 2015-11-24T08:57:47 | CSS | UTF-8 | C++ | false | false | 1,710 | re | = 著者紹介
#@# 著者名、所属会社役職、紹介文の3ブロック。スタッフは下寄せで配置
: ★★ ★★
★★★★★
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
: ★★ ★★
★★★★★
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★... | [
"suzuki-n@impress.co.jp"
] | suzuki-n@impress.co.jp |
0b9b6f32122007b3eb9042eddcfe6f4309a0c839 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_E_StegoBackplateMode_functions.cpp | 1cc10ddae2c010754ee31ab194037f2ecb38b031 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_E_StegoBackplateMode_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
e9e1f833432c75f674860145c81aa07a60e297bb | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5/generated/client/OAIOrgApacheSlingCommonsLogLogManagerFactoryWriterInfo.cpp | afabb4f7e0011c805693e4a040ff9f4611f5f101 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 5,225 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
1667739fe9d0802fd8a09936f3c180e24202ec9c | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /VTK/Rendering/vtkOverlayPass.h | 06806f1cda07aed2cd2a53bb101b4c58d497e927 | [
"LicenseRef-scancode-paraview-1.2",
"BSD-3-Clause"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 1,807 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOverlayPass.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is ... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
b4ca57c9fde8bdee17a2f9779a5949d8fc0ea924 | 46f24bf2f88f19e2de3ddb7bea1d3bb8595f573e | /src/ui/qt/droparea.cpp | 4a7672a6776897b0d218040b7581ffcd7f4beb0c | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | magcius/vgmtrans | 2c4e1425813d2b5eb5121f2bb8eccec73c488e51 | 8e34ddc2fb43948dc1e1a8759c739a0c1c7b62d7 | refs/heads/siiva | 2022-12-26T07:13:31.757552 | 2017-06-19T15:40:26 | 2017-06-19T15:40:26 | 77,760,514 | 32 | 7 | NOASSERTION | 2022-12-09T14:59:57 | 2017-01-01T00:28:44 | C++ | UTF-8 | C++ | false | false | 4,179 | cpp |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of t... | [
"lowin.mike@gmail.com"
] | lowin.mike@gmail.com |
1b26c325b9a4e0a0f05027ae24707dc514bda2cb | b30e2c2bf99d26547b2d42cbb685533ead33a346 | /Source/Reikonoids/Gameplay/RGameMode.cpp | 163201b4eabfb319e21504e53dd50fa9351031ce | [
"MIT"
] | permissive | doanamo/Reikonoids-2020 | 9d7ef5dd26420345f68ef40fbf9bfbec4e63529d | 55496bed915aec8c42048c9257b1050fd360b006 | refs/heads/master | 2022-12-06T22:22:36.078353 | 2020-08-26T09:37:00 | 2020-08-26T09:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include "RGameMode.h"
#include "RSpawnDirector.h"
#include <Kismet/GameplayStatics.h>
ARGameMode::ARGameMode()
{
SpawnDirector = CreateDefaultSubobject<URSpawnDirector>(TEXT("SpawnDirector"));
}
ARGameMode::~ARGameMode() = default;
void ARGameMode::BeginPlay()
{
Super::BeginPlay();
// Setup spawn direc... | [
"doanpiotr@gmail.com"
] | doanpiotr@gmail.com |
02b7bd77bd4a8247025156fb6fc2c2e7687d14aa | 1a8f8db68258056f2641d6a7df657f0678806843 | /SkillData.h | 51029c8010577671c69070633cffbd1afa101fc2 | [] | no_license | mdifferent/sanyu_rpg_cocos2dx | bf6d8b4d4b04e830e84676772a1344caecf128c1 | 98c1fb24fa11c3c625d4104fb66d76e6f19bee31 | refs/heads/master | 2020-12-24T16:59:53.172599 | 2014-11-10T02:35:16 | 2014-11-10T02:35:16 | 18,980,902 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #pragma once
#include "AbstractListItemData.h"
#include <string>
#include <map>
using namespace std;
class SkillData : public AbstractListItemData
{
public:
enum SKILL_TYPE {
RECOVER,
ATTACK,
ENHENCE,
WEAKEN
};
SkillData(int id, string name, TargetType target, bool multi, int cost,SKILL_TYPE type)
:Abstra... | [
"mdifferent@163.com"
] | mdifferent@163.com |
96e33e6916bf1454258cccb6811b14ae6a3e9a88 | 42c9ec95e477c545848c750ad3d0486a0bc1b0ee | /Collection/List.hpp | d9b3ddbfe9b75bdf1951c6f91a16fdec144ebaae | [] | no_license | matbuster/cppframework | de88af6d4cd0e947885ad8e445ef9f37815a141d | f806781c40cb5893a1efc9a91e4853d79e085749 | refs/heads/master | 2021-01-18T23:45:35.562292 | 2017-08-04T09:12:53 | 2017-08-04T09:12:53 | 55,763,111 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,005 | hpp | /**
* \file List.hpp
* \date 04/11/2015
* \author MAT
*/
#ifndef LIST_H
#define LIST_H
#include <stdlib.h>
#include <list>
#include <exception>
namespace Collection {
/** class list definition using std
* template cannot beemented in cpp. fusionning cpp and h is the solution
* to compile project*/
... | [
"m.abet@galitt.com"
] | m.abet@galitt.com |
5382236de641656adc67168224f55c40758c84e1 | d2f493f794151b2f0b927617b10f0f9338572ff0 | /SPOJ/PTIT135I.cpp | 5863e7f619b1f834796999a652356a7ce1beac97 | [] | no_license | hungnt61h/PTIT-Algorithms | 320aa078216fc17203ec7f14d70fbfa8a577e2a1 | d53786a87a0b0a8fe2efbbaaf886f835a0d27f34 | refs/heads/master | 2020-03-07T22:46:24.188916 | 2018-04-07T06:39:43 | 2018-04-07T06:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | #include <iostream>
#include <string>
using namespace std;
void readNumber(string str) {
int length = str.length();
int count = 1;
string result = "";
for (int i = 0; i < length; i++) {
if (str[i] == str[i+1])
count++;
else {
cout<<count<<str[i];
count = 1;
}
}
}
int main() {
... | [
"noreply@github.com"
] | hungnt61h.noreply@github.com |
d86fb885289a3b6322ba90ee6d3acd714b6eff29 | 1d9b4180e79e98033bb913c3dd69761a4c9cac5e | /Homework/HW1/Set.cpp | 4021dcaee14378986354f2147c925c858fce3b59 | [] | no_license | auszhang/cs32 | b3554bac2ba5c936115aac524869525c3ccca394 | 4cfcb5115b6ff60a48628483e2facacb517d3d3f | refs/heads/master | 2021-04-28T20:36:28.460247 | 2018-05-17T21:22:56 | 2018-05-17T21:22:56 | 121,929,926 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | #include "Set.h"
Set::Set()
{
// Create an empty set.
m_size = 0;
}
bool Set::empty() const
{
if (m_size > 0)
return false;
return true;
}
int Set::size() const
{
return m_size;
}
bool Set::insert(const ItemType& value)
{
if (m_size > DEFAULT_MAX_ITEMS)
return false;
//checks if value is already presen... | [
"aus.zhang@gmail.com"
] | aus.zhang@gmail.com |
a16e4d66bc387f829166f6781cae60b61e978ea1 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir3871/dir4221/dir4598/file4743.cpp | 50d8083329af5962e836227005e4b1077a0bb5db | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #ifndef file4743
#error "macro file4743 must be defined"
#endif
static const char* file4743String = "file4743"; | [
"tgeng@google.com"
] | tgeng@google.com |
073aea6d2fb3ec65f67d24a9bcc8054ebba5b2b4 | 55246006e3d95a5357f32be0361062c7c6084f8e | /src/subtract.cpp | 57cd44c07a825879a305f31f463100f21dc410e4 | [] | no_license | jsandham/hello-world | c1bdaaef9ad165ef87a1b2f4466344ffdfe168c0 | a2851b971ceff00aef71698137b682db284ce901 | refs/heads/master | 2022-01-04T15:39:02.129853 | 2020-01-19T18:32:59 | 2020-01-19T18:32:59 | 111,231,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | float subtract(float x, float y)
{
return x - y;
}
| [
"jsandham@uwaterloo.ca"
] | jsandham@uwaterloo.ca |
696cc4abcf1e5e89bf90673d2eb0d32360b748b3 | b940a160ad0bd3a7211087158a0343893264dedb | /include/definitions.hpp | a6340ca3e09dddccf5d2733065d45c0c55e23a7e | [] | no_license | vctrodrigues/Windows-Manager | a52197e6a6b5ce0577993520e36b361351e92c91 | 95dcadc3436104394abeaa2f80262a11d123779c | refs/heads/master | 2021-10-28T10:32:03.221027 | 2019-04-23T15:36:25 | 2019-04-23T15:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | hpp | #ifndef DEFINITIONS_H
#define DEFINITIONS_H
#include <string.h>
typedef struct coordinates Coordinates;
struct coordinates
{
int x;
int y;
};
typedef struct window Window;
struct window
{
std::string ID;
Coordinates p1[2];
Coordinates p2[2];
int zIndex;
};
typedef struct wList WindowList;
struct wList
{... | [
"victorvieira89@gmail.com"
] | victorvieira89@gmail.com |
8f2067e1b08a2ec5740ff43da751887569c01bf7 | 6e5b06b17cd7de6ee16e37520a77bdd5de4f3a41 | /src/QCandidatePatchScrollArea.h | a96842d769ea2934c4c0edcb31f8a576094ca7fa | [] | no_license | TaiManProject/Dirks_Code_V3 | 243d7e35df21eb8621c0be752fcd7251bc77d84e | 0f208d4ac1febba681a496af423b2445824c6127 | refs/heads/master | 2020-05-26T07:50:24.919282 | 2014-09-22T15:12:07 | 2014-09-22T15:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | #ifndef CANDIDATEPATCHSCROLLAREA_H
#define CANDIDATEPATCHSCROLLAREA_H
#include <QScrollArea>
class CandidatePatchScrollArea : public QScrollArea
{
Q_OBJECT
public:
CandidatePatchScrollArea(QWidget *parent);
~CandidatePatchScrollArea();
private:
};
#endif // CANDIDATEPATCHSCROLLAREA_H
| [
"carltonchanhku@gmail.com"
] | carltonchanhku@gmail.com |
c9e40a4c214237e71b80bdbb4baa3b134e111396 | b0e18a4b0e7bb7da4cbdb281a2b248795357daa8 | /game002/Game.cpp | 0f73955c37b99c87dbf3e95f9ee7b3235e8dc040 | [] | no_license | Mumei437/Number002 | 35158583aefc84ab2b553765cd96f6d127d2ab9d | 407ef6f2876cf3c60d64803dcad1ea377deff5e9 | refs/heads/master | 2023-04-04T02:04:40.713431 | 2021-04-15T01:53:50 | 2021-04-15T01:53:50 | 358,093,266 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 7,481 | cpp | #include "Game.h"
#include<cstdio>
#include<cstdlib>
#define WINWIDTH 1024
#define WINHEIGHT 800
Game::Game()
:
mWindow{ nullptr },
mIsEnd{ false },
PlayerVector{ 0,0 },
IsPressed{ true },
PlayerPos{ 0,0 },
mIsRestart{false},
mTicksCount{0}
{
if (SDL_Init(SDL_INIT_VIDEO) != 0)
{
printf("SDLライブラリの初期化に失敗しま... | [
"mumeii452@gmail.com"
] | mumeii452@gmail.com |
39b3f0d8dcec02dfc1c12121a093f5fe8f6df834 | b3424a31386b84e0c3acd5918fe1315d9f0725a9 | /src/HardWareDevice.cpp | b4b01d02ac6e67b59a5c9730dfa7dc540e6ee2c1 | [] | no_license | EulerCauchyEquation/2018.11.28_FaceRecognition-Doorlock | a5803f48f0f62bdd3a10fad6c36454867386a0e9 | 6125d9a2e92b5f3727012aa7fa03e8f4f4c89c59 | refs/heads/master | 2020-04-22T10:09:19.002450 | 2019-09-16T07:44:43 | 2019-09-16T07:44:43 | 170,295,367 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,901 | cpp |
#include "HardWareDevice.h"
#include "HardWare.h"
#include "getDiffTime.hpp"
int Motor::motorState = OPEN; // 모터 상태 기억 변수
/* @.하드웨어 초기화 */
void HardWareDevice::init(){
// 라이브러리 초기화
if (wiringPiSetup() == -1)
return;
// 초음파 echo trig
pinMode(ECHO, INPUT);
pinMode(TRIG, OUTPUT);
// motor 정방향, 역방향
... | [
"keplor@naver.com"
] | keplor@naver.com |
4696bc1f1a70ab71310205fbf3bab1fce614f5c3 | 25844df17a7f79911f4481809baba4d9c4f1ad3b | /Expressions/AddExpr.h | fcb7ea25847b4f4f658cfb4f91cd9533d4af9405 | [] | no_license | VladimirVolodya/Pascal_Interpreter | c756599d9a5b9d97834481feba4232e080f01f19 | 8332992b7d3fc9e1d3102db5b1cc746cf6cffde5 | refs/heads/master | 2023-02-24T21:52:38.165018 | 2020-12-24T15:27:10 | 2020-12-24T15:27:10 | 319,766,788 | 0 | 0 | null | 2020-12-24T15:26:22 | 2020-12-08T21:36:07 | C++ | UTF-8 | C++ | false | false | 342 | h | #ifndef PARSEREXAMPLE_ADDEXPR_H
#define PARSEREXAMPLE_ADDEXPR_H
#include "BaseElements/BaseExpr.h"
class AddExpr : public BaseExpr {
public:
AddExpr(BaseExpr* p_lhs, BaseExpr* p_rhs);
BaseExpr* p_lhs;
BaseExpr* p_rhs;
~AddExpr() override;
var_t Accept(Visitor& visitor) override;
};
#endif //PA... | [
"smirvovn@gmail.com"
] | smirvovn@gmail.com |
e85057239f5c260d2803f9bfd368a51dcfa0cf44 | 9a8f5b459b36815a984ba41ba91670d3d8f659a0 | /ncfspack/source/NcDetector.h | b83ca9f7e1ed3424652d23680c4a28307aed71f7 | [] | no_license | nick-ve/ncfs | 06e86b5d5d55752b406ef41acf6d8b0d38627caf | 580d5e4beb64247dcfcea745ae4701a2b736e0be | refs/heads/master | 2023-07-23T03:19:19.564816 | 2023-07-18T02:49:01 | 2023-07-18T02:49:06 | 87,968,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | h | #ifndef NcDetector_h
#define NcDetector_h
// Copyright(c) 1997-2021, NCFS/IIHE, All Rights Reserved.
// See cxx source for full Copyright notice.
#include "NcDetectorUnit.h"
class NcDetector : public NcDetectorUnit
{
public:
NcDetector(const char* name="",const char* title=""); // Default constructor
virtual ~... | [
"nickve.nl@gmail.com"
] | nickve.nl@gmail.com |
6adb39d1058059881217e2ffb16dda312d824741 | eea7adb1221e39e949e9f13b92805f1f63c61696 | /leetcode-05-main/countAndSay.cpp | 14c0f31ac47d6f7f2630e5d3e9cdec9358b78d75 | [] | no_license | zhangchunbao515/leetcode | 4fb7e5ac67a51679f5ba89eed56cd21f53cd736d | d191d3724f6f4b84a66d0917d16fbfc58205d948 | refs/heads/master | 2020-08-02T21:39:05.798311 | 2019-09-28T14:44:14 | 2019-09-28T14:44:14 | 211,514,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | /*
Problem: Count and Say
Method:
Author: 'gq'
*/
#include<iostream>
using namespace std;
class Solution {
public:
string countAndSay(int n) {
if(n<=0)
return "";
int i=1;
string str="1";
while(i<n)
{
string newStr="";
int j=0;
... | [
"zhangchunbao515@163.com"
] | zhangchunbao515@163.com |
efa421d7444f11d1178226335ed23bbf8e17eadd | 445af4de326b66b6cd5f40c7abf9879eb45d8689 | /nano/lib/tomlconfig.hpp | 7f349449623939a8ad170ef10e2a623c90a89367 | [
"BSD-3-Clause"
] | permissive | MeowCoinCore/meow-node | e0fe0f5085e7bb9eeb6fd5bf26d00fc15769f750 | edcc4321b7ed5a76426f6c43c29fd67883c547a4 | refs/heads/master | 2023-02-04T03:33:53.198562 | 2020-11-23T08:00:22 | 2020-11-23T08:00:22 | 313,790,883 | 0 | 0 | BSD-3-Clause | 2020-11-22T06:26:32 | 2020-11-18T01:37:51 | C++ | UTF-8 | C++ | false | false | 6,434 | hpp | #pragma once
#include <nano/lib/configbase.hpp>
#include <nano/lib/utility.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/optional.hpp>
#include <cpptoml.h>
namespace boost
{
namespace asio
{
namespace ip
{
class address_v6;
}
}
}
namespace nano
{
class error;
/**... | [
"noreply@github.com"
] | MeowCoinCore.noreply@github.com |
84a732b068dc04b0cddff39eba68136e6970d2bc | d770007d03c25109c0246943d514f2ebc77ffdb6 | /src/libraries/imgui-glfw/imgui_internal.h | d5882ce3a456c7f185c71571fa821d0e83bab887 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mbaldus/MA_Volumetric_Clouds | f0256ec78e7e034baa04c9673f4a64fe2ff19c92 | 16ea5775e67ba4df776b0c361a1f26df0a6529e7 | refs/heads/master | 2020-03-29T20:06:20.296787 | 2018-09-25T16:28:41 | 2018-09-25T16:28:41 | 150,295,637 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 47,580 | h | // dear imgui, v1.50
// (internals)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
// Implement maths operators for ImVec2 (disabled by default to not collide with using IM_VEC2_CLASS_EXTRA along with your own math types+operators)
//... | [
"maxbaldus@googlemail.com"
] | maxbaldus@googlemail.com |
68be65272885ede0088ad46e6781e329c891b598 | 87687f2ba32fb4b47e078b7f30a805d40a0b326f | /lib/encoder_impl.cc | ff3071046635d725d9bffb48dd5494d7bcabfc15 | [] | no_license | szabolor/gr-ao40 | e2d0b80d58dd4af0372bdbc1ae42f6877870e92f | 4e5de210b5ddb83e858abdde61046224e2f586c7 | refs/heads/master | 2021-01-19T07:56:48.187916 | 2015-09-22T21:07:15 | 2015-09-22T21:07:15 | 42,960,660 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,517 | cc | /* -*- c++ -*- */
/*
* Copyright 2015 szabolor.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software is distributed i... | [
"szabolor@linux"
] | szabolor@linux |
d348ecd66b04beb6b9c01e82eb88447fd77398cb | f76606b4e7ea1c34dd6b99a1ea6991c79e5592e0 | /src/mainwindow.h | f18dd1fe2b28fb996ee21c8fa9a064d57a6bf39c | [] | no_license | oleglite/MUP | 5bc31e34c1f16131c05984991d933c58bb8a1467 | 346ae80396bfc048835ffe0807e35fe703f960d8 | refs/heads/master | 2021-01-10T19:54:41.851887 | 2012-06-01T16:39:23 | 2012-06-01T16:39:23 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,548 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtWebKit/QWebView>
#include <QtGui>
#include "muploader.h"
#include "searchgenerator.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow();
~MainWindow();
public slots:
void openLink(const QUrl& url);
private slots:
void ope... | [
"beloglazov.oleg@gmail.com"
] | beloglazov.oleg@gmail.com |
af8008575fb547f541876f200cd40f8b3f1d682d | baab42ac0c4181b68af44c8707cbfd3fc5641888 | /RobotDemoPM6/RobotDemoPM6.ino | b5c1fd913207ce1c393d11dcd3172b53593adcdd | [] | no_license | KevinMoffatt/Mech6_2 | 95d2e1bd23d0c8b1185665ed0053000dfcc78e52 | e4bd98d99c1750f37c284cca5bdbdceb96141b72 | refs/heads/master | 2021-05-04T22:43:55.310837 | 2018-03-31T18:50:12 | 2018-03-31T18:50:12 | 120,058,220 | 0 | 0 | null | 2018-03-31T18:50:12 | 2018-02-03T04:09:11 | C++ | UTF-8 | C++ | false | false | 6,905 | ino | #define MEGA
#include <DualVNH5019MotorShieldMod3.h>
//#include <Encoder.h>
#include <SoftwareSerial.h>
#include <Servo.h>
double messData;
//Initialize pins for servo
int servoArmPin = 11; // THIS CORRESPONDTDS TO THE SERVO'S ORANGE WIRE
// Initialize message variables
double messDouble;
SoftwareSerial mySerial(50,... | [
"brettreeder63@hotmail.com"
] | brettreeder63@hotmail.com |
c58c45472a0ef696d82aa7b15875f5f7e8343468 | 003fc0f816d61eabc69e6b3d92c7ea63bf5cdd7a | /oving9/oving9/dummyTest.cpp | 407aeb4cafd1f74d80e0909fa398fbd6e552cd56 | [] | no_license | siljeanf/TDT4102_OOP | 380f24fead7fa44046750e50ce2141ecba83e027 | c2aa6e67eacc5db79c491ee416f74c7f28b3ee94 | refs/heads/master | 2022-12-12T21:56:16.540507 | 2020-09-07T13:27:48 | 2020-09-07T13:27:48 | 293,534,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | //
// dummyTest.cpp
// oving9
//
// Created by Silje Anfindsen on 12/03/2019.
// Copyright © 2019 Silje Anfindsen. All rights reserved.
//
#include "dummyTest.hpp"
using namespace std;
void Dummy::dummyTest() {
Dummy a;
*a.num = 4;
Dummy b{a};
Dummy c;
c = a;
cout << "a:" << *a.num << en... | [
"siljemarieanfindsen@Siljes-MBP.lan"
] | siljemarieanfindsen@Siljes-MBP.lan |
e7cf9ec94afaa8823d0d8853990967831bd5813c | a5cf450078809a0b507e21d56660b7c4f033c6d5 | /include/dac/dacdef_zrh.h | b45d52ea55c04eb3efbfa2f84469da63f0066e6c | [] | no_license | fay1987/communication_manager | 98a72677d4e2aa631e2c895741819a53c639c79a | 7df29883f6a18400ceb26682cf2d800630b6df33 | refs/heads/master | 2021-07-13T14:30:04.214616 | 2018-01-25T08:08:05 | 2018-01-25T08:08:05 | 94,993,715 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 8,416 | h | /*==============================================================================
* 文件名称 : dacdef.h
* 文件功能 :数据采集各种类型定义
* 模块 : 数据采集
* 创建时间 : 2009-06-08
* 作者 :
* 版本 : v1.0
* 修改后版本 : 1.1
* 修改摘要 :
* 修改者 :
* 修改日期 :
==============================================================================*/
#ifndef _PDT_DAC_DACDEF_... | [
"lingquan324@163.com"
] | lingquan324@163.com |
d0a238ac20478695ce1d683321eaeee7750efbef | 29948885a97f946dd46d25dcce1ae08247affb8a | /Builder/builder.h | f45bfb1ad54678aff0df82e800e3515edf306c69 | [] | no_license | osanseviero/Software_Engineering | 8c9d573fd8793601d8ee25f827f7295c940a9174 | 396244b0de12275115959ce11c008a1bb08a7db2 | refs/heads/master | 2020-04-12T05:42:19.118305 | 2016-12-08T02:54:55 | 2016-12-08T02:54:58 | 65,292,647 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | class Builder {
public:
Plane* getPlane() {
return this->p;
}
Plane* p;
Plane* createPlane() {
return new Plane();
}
virtual void getWings() = 0;
virtual void getEngine() = 0;
virtual void getSerie() = 0;
virtual void getBrand() = 0;
}; | [
"osanseviero@gmail.com"
] | osanseviero@gmail.com |
00be243f21932b24154b0483da0ed2fb541a3031 | 2313bace51d91d2f73a535bd2cb04f93f1c85103 | /Program (15).cpp | b79b16271e1d163f608ea620df3200512ddb49ac | [] | no_license | Soumyadeep-Chakraborty/labassignment3 | 63dcd0131d00228c5c3d88d51083dfce8e912c88 | aa9904abc7dfb50186a3550669a976e030c0212a | refs/heads/master | 2021-06-28T14:49:10.193353 | 2017-09-15T17:24:27 | 2017-09-15T17:24:27 | 103,683,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include<iostream>
using namespace std;
int main()
{float a,b,c,s;
cout<<"enter a side";
cin>>a;
cout<<"enter another side";
cin>>b;
cout<<"enter another side";
cin>>c;
if((a+b)>c||(b+c)>a||(a+c)>b||a>-1||b>-1||c>-1){
cout<<"triangle can exist";}
else{cout<<"triangle can't exist";} r... | [
"noreply@github.com"
] | Soumyadeep-Chakraborty.noreply@github.com |
305cad32b0607b93afd0167e1f614eeda9a6c911 | abc7b3795be6210cd2ccff9bce475b91936a7f6f | /recurrent-net-lstm/src/diagonal_matrix.h | aeef9088e4b71a4f8f170010c4f7b4d46449eaa2 | [] | no_license | brishtiteveja/DeepNN | 75d897cb578d42045eebf84d33d75f1e81eff3ae | a62cd67dda856b90650c31e3de8d946a6346c8db | refs/heads/master | 2021-01-19T21:44:23.237932 | 2018-03-01T20:22:09 | 2018-03-01T20:22:09 | 88,697,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | h | #pragma once
#include "general_settings.h"
using namespace std;
using namespace cv;
class diagonalMatrix{
public:
diagonalMatrix();
diagonalMatrix(Mat&);
diagonalMatrix(int);
diagonalMatrix operator=(diagonalMatrix);
~diagonalMatrix();
Mat operator*(Mat&);
... | [
"brishtiteveja@gmail.com"
] | brishtiteveja@gmail.com |
699072189ca313d6ede56353cbb31b337db53e85 | 544a2f66dd174cb45190152af2aa3e38754b4933 | /system/utest/core/resource/resource.cpp | ee0cf714fffa6418f522b9343a7c24c00940c242 | [
"BSD-3-Clause",
"MIT"
] | permissive | wblixin6017/zircon | cbcd3ecef11749d49b23f1e44f3204105e169eae | 5c06209be72abed4757c7b1f7541385da0a4f286 | refs/heads/master | 2020-03-26T18:04:46.082321 | 2018-08-17T20:34:32 | 2018-08-18T02:53:20 | 145,195,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,485 | cpp | // Copyright 2016 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/zx/interrupt.h>
#include <lib/zx/resource.h>
#include <lib/zx/vmo.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <uni... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
028592ae62a668ed3b6468ccd50de46967e37fe6 | 04e5b6df2ee3bcfb7005d8ec91aab8e380333ac4 | /clang_codecompletion/llvm/MC/MCAsmLayout.h | f95af210a28f34ff33fa5e8213f6fd218fb7a0cf | [
"MIT"
] | permissive | ColdGrub1384/Pyto | 64e2a593957fd640907f0e4698d430ea7754a73e | 7557485a733dd7e17ba0366b92794931bdb39975 | refs/heads/main | 2023-08-01T03:48:35.694832 | 2022-07-20T14:38:45 | 2022-07-20T14:38:45 | 148,944,721 | 884 | 157 | MIT | 2023-02-26T21:34:04 | 2018-09-15T22:29:07 | C | UTF-8 | C++ | false | false | 3,840 | h | //===- MCAsmLayout.h - Assembly Layout Object -------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"emma@labbe.me"
] | emma@labbe.me |
9862e8eb20ebe7183468b5e74cc22936b312c6e3 | 400df5bf0c8e5c0ed5a2d7d8d1fc9a0507b0659e | /Photocell.ino | ba79a1e1ee2b61f11a8dfa4b2855d23ef6df26f0 | [] | no_license | fangtyler/cubby_buddy | 55398765dc6c14f961b5533c87b70ea6c68273ad | eaf49b115b3b50b6b97ee91a68605c0d426d37ca | refs/heads/master | 2020-04-22T20:19:14.974906 | 2019-02-22T05:12:03 | 2019-02-22T05:12:03 | 170,637,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | ino | int sensorPin = A0; // select the input pin for the potentiometer
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
pinMode(sensorPin, INPUT);
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
delay(5000);
}
| [
"noreply@github.com"
] | fangtyler.noreply@github.com |
1e6ac7a3573778ef2f66752b65d3d9a020d98740 | 991f0724c2ba3572f57ce8418f8ef4acfb5766fd | /main.cpp | 1d60e3747bf6b9c4fa605f81e2a4265ba1d94b8d | [] | no_license | going4distance/SnakeGame | d90f602076fe974c54fcb6e8e7abdfa5d243db3e | bec313b693e446006d84bf9fccbbaa45b0f20914 | refs/heads/master | 2021-04-06T03:06:22.928166 | 2018-03-14T18:13:33 | 2018-03-14T18:13:33 | 125,254,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,792 | cpp | #include <iostream>
#include <conio.h>
#include <windows.h>
using namespace std;
bool gameOver;
const int width = 20;
const int height = 20;
int x, y, fruitX, fruitY, score;
int tailX[100], tailY[100];
int nTail = 0; // so we know how many segments there are.
enum eDirection{STOP = 0, LEFT, RIGHT, UP, DOWN};
eDirecti... | [
"noreply@github.com"
] | going4distance.noreply@github.com |
489b29334ca66f54999f6dd6cc1805fd467545a4 | 13b29bde05a3fe138caff9f07073722ab0811089 | /src/angle_pid.h | a93edde0128f0b843f2d29944b83a03c26646a70 | [] | no_license | Navigation-Team/uscturtle_motion | 5d2f2f9ff291f76121119c3a7df2217afd942510 | e40e8b00cf5dcd512cb705bf34e668d39d01f6d4 | refs/heads/master | 2020-03-25T02:57:30.383063 | 2018-08-15T07:00:59 | 2018-08-15T07:00:59 | 143,315,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,697 | h | #ifndef ANGLE_PID_H
#define ANGLE_PID_H
#include <chrono>
#include <thread>
#include <cmath>
#include <iostream>
// Class that performs angular PID on a system.
// Is templated so it can be used with either floats or doubles.
// NOTE: Angles input into the class don't have to be normalized
template<typename FPType> ... | [
"jsmith@crackofdawn.onmicrosoft.com"
] | jsmith@crackofdawn.onmicrosoft.com |
157a712a181302861bdeb550321974214def8157 | 3f0e4545e869e3e45958e09d3ec5408b919268e4 | /ADS/tree/RBTRTEST.H | 059b74aaf4b14a53b9b504239c3415fd0b85da92 | [] | no_license | ethancodes/reallyoldcode | 813bae889f0e3c396f82f1a20e79adf05231a87d | 58fddfe11132685002f8d1fa813449f734249bb8 | refs/heads/master | 2020-03-30T07:50:36.014691 | 2012-09-05T12:35:57 | 2012-09-05T12:35:57 | 5,686,889 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | //file rbtrtest.h
//Created January 29, 1995 by J. TenEyck
#ifndef _RED_BLACK_TEST_H
#define _RED_BLACK_TEST_H
#include "rbtree.h"
enum menu_choice {add,del,showoff,query,quit};
template <class T>
class RedBlackTest {
private:
void insert(RedBlackTree<T> & b, T v);
void remove(RedBlackTree<T> & ... | [
"e@ethancodes.com"
] | e@ethancodes.com |
c0d9e95dd742a8884290dbf054bff398c48b6114 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_2103.cpp | 2c3f73436c9195d09fdd31b321378670ce37fae8 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | struct ref_lock *lock;
struct stat loginfo;
int log = !lstat(git_path("logs/%s", oldrefname), &loginfo);
struct strbuf err = STRBUF_INIT;
if (log && S_ISLNK(loginfo.st_mode))
return error("reflog for %s is a symlink", oldrefname);
if (!resolve_ref_unsafe(oldrefname, RESOLVE_REF_READING, orig_sha1, &flag))
r... | [
"993273596@qq.com"
] | 993273596@qq.com |
f1168cc68681de761b8b086e3bfdf1646ab561ca | 2e368bbce5f867db9046f45130bbbae06e3fbe1d | /Others/uniqueElement.cpp | d2b8afc2c8100b65c307fd0b21f6752a33e3100d | [] | no_license | Andresrodart/Hobbies | 2b66c5adc8054b5f8e4c58129f49b0af420383ec | f1d29f3d30104d41aa80b7cea0aae7730a2cf6d8 | refs/heads/master | 2022-10-24T18:33:31.707102 | 2022-10-22T00:10:15 | 2022-10-22T00:10:15 | 172,858,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include <vector>
/*
for an arry of values int return the
same array but with only the unique values.
Te array es oredered.
*/
void uniqueElem(std::vector<int> &arr){
int lastSeen = 0;
for(int i = 1; i < arr.size(); i++)
if(arr[i] != arr[lastSeen]){
arr[i] == arr[lastSeen] + 1;
... | [
"arodartel1601@alumno.ipn.mx"
] | arodartel1601@alumno.ipn.mx |
bf3640215fd82fb9f1b62c47509429ccd16573ba | 1de5da21967c2837d45e9620b4084eab20f1d4b0 | /C++/やさしいC++/Sample/09/Sample6.cpp | 9513089b84e12ab8f3d11b3283768c851c9ab383 | [] | no_license | haruto-k/PC-Same-party | d283db37a830c815c11720dc1b49c5098a0ff20b | 4db731da665a932f9d2f80f301170aebc2c34026 | refs/heads/master | 2020-05-20T13:28:25.049473 | 2019-05-08T11:21:45 | 2019-05-08T11:21:45 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 429 | cpp | #include <iostream>
using namespace std;
int main()
{
int test[5] = {80,60,55,22,75};
cout << "test[0]の値は" << test[0] << "です。\n";
cout << "test[0]のアドレスは" << &test[0] << "です。\n";
cout << "testの値は" << test << "です。\n";
cout << "test+1の値は" << test+1 << "です。\n";
cout << "*(test+1)の値は" << *(... | [
"toritoribox@gmail.com"
] | toritoribox@gmail.com |
986798b4b55fd69f34025af67e23fdfedebc78f7 | 2f078361c5890e46fdebbc85db1649484513f0d9 | /UVaProblems/graph_theory/topological_sort/872/k.cpp | 234a918cc5bb6c3c696013616c703a94a2813bfc | [] | no_license | joseg4570/OJ_problems | 6bdcb29d8e52ef56024c53f105ed6f00cce60bea | c60d3dc0e569cb5955d7b60b94e9e551a37f0023 | refs/heads/master | 2021-01-11T10:19:49.866093 | 2016-10-31T19:33:31 | 2016-10-31T19:33:31 | 72,462,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
using namespace std;
typedef vector<char> vs;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef map<char,int> c_i;
vs let;
int n,T,selected;
char A,B,h,a,b;
c_i reg;
vi parent;
vi ans;
bool f_case,s_found;
bool ok(int n... | [
"joseg4570@gmail.com"
] | joseg4570@gmail.com |
44570d57113fb8c6dfa45feb262a2cdf978b3f31 | b9c1098de9e26cedad92f6071b060dfeb790fbae | /3rdparty/openmpt/src/openmpt/sounddevice/SoundDeviceDirectSound.cpp | e4005d9d3941d0d7dc75d6fa2c827fe76d6fc022 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | vitamin-caig/zxtune | 2a6f38a941f3ba2548a0eb8310eb5c61bb934dbe | 9940f3f0b0b3b19e94a01cebf803d1a14ba028a1 | refs/heads/master | 2023-08-31T01:03:45.603265 | 2023-08-27T11:50:45 | 2023-08-27T11:51:26 | 13,986,319 | 138 | 13 | null | 2021-09-13T13:58:32 | 2013-10-30T12:51:01 | C++ | UTF-8 | C++ | false | false | 15,706 | cpp | /* SPDX-License-Identifier: BSD-3-Clause */
/* SPDX-FileCopyrightText: Olivier Lapicque */
/* SPDX-FileCopyrightText: OpenMPT Project Developers and Contributors */
#include "openmpt/all/BuildSettings.hpp"
#include "SoundDeviceDirectSound.hpp"
#include "SoundDevice.hpp"
#include "SoundDeviceUtilities.hpp"
#include... | [
"vitamin.caig@gmail.com"
] | vitamin.caig@gmail.com |
51382c7f18d39afa4b10c8772898e92581a9cac4 | 80964d157a56467fda540a9ea5f627b9cfe273f6 | /juliafunctions.cpp | cde6d701bfda666132c5b70a065efafa442b1e1b | [] | no_license | moskovets/kg_project | 7470663cffad44244da0132507347f61128f1f1a | 780321742c49a162210e1a185bcb177fd423d421 | refs/heads/master | 2020-03-07T18:04:14.023120 | 2018-04-11T23:02:02 | 2018-04-11T23:02:02 | 127,627,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cpp | #include "juliafunctions.h"
| [
"n.moskovets@yandex.ru"
] | n.moskovets@yandex.ru |
9a34512a9b2c251e7e2f314172ad4ebac75216ed | f54d561e884707601fc2a09b012c605df512b50f | /Binary.cpp | f84b4c9b8442540c4baa49f4414bd0a7700ad62a | [] | no_license | FahimCC/Data-Structure | e903e5d0b81da61c5b291609cc8897e001ba4907 | b063f2509f5bf522383926c3e693422b19393d70 | refs/heads/main | 2023-03-30T01:30:06.271388 | 2021-04-08T13:17:12 | 2021-04-08T13:17:12 | 337,717,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include<stdio.h>
int main()
{
int BEG,END,MID,ITEM,LOC=NULL,DATA[1000],n,i;
printf("Enter the number of element: ");
scanf("%d",&n);
printf("Enter the number: \n");
for(i=1;i<=n;i++)
{
scanf("%d",&DATA[i]);
}
printf("Enter the search item: ");
scanf("%d",&ITEM);
... | [
"noreply@github.com"
] | FahimCC.noreply@github.com |
9b599298392fbe8a7774076412570047920ba3c7 | 582fb473d12beeb612beeb4fd2e15362163868d2 | /linux.davidson.cc.nc.us/student/public/GETLINE.CPP | 0a57c8f7cab01537254a07e9fd9af16a76fa431d | [] | no_license | fsamuels/highschool-coursework | 3bb97d39681d300296f671c4a55737e8682dfe87 | eb9fcc741941c07391906c2527d9e76daf0e5295 | refs/heads/master | 2021-01-13T11:12:35.942585 | 2017-02-08T23:59:31 | 2017-02-08T23:59:31 | 81,388,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <iostream> // 1 File name: getline.cpp
#include <fstream> // 2
#include <string> // 3
using namespace std; // 4
int main() // 6
{ // 7
string aLine;
ifstream inFile("getline.cpp"); // This file
int lineCount = 0;
while( getline(inFile... | [
"forrest@homegauge.com"
] | forrest@homegauge.com |
377b34da2f41236724a007c3e50508f184199164 | cee0a5fa9b69093b9a533e0236be6131dc032877 | /cs371p/quizzes/Quiz25.c++ | 8ee4ae0e1079a92470f8ebf3b80b003850636950 | [] | no_license | ztschir/Object-Oriented-Programming | 7484b98624b560e6008b9f863d87af0512da9a10 | f5048a358af655ba3c194b5f7ebcb12d3037b55f | refs/heads/master | 2021-01-01T17:42:55.743067 | 2013-03-07T04:18:53 | 2013-03-07T04:18:53 | 8,619,875 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | /*
CS371p: Quiz #25 (5 pts)
*/
/* -----------------------------------------------------------------------
1. A piece of software that fulfills its requirements and yet exhibits any
or all of the following three traits has a bad design.
List any two.
[The Dependency Inversion Principle]
(2 pts)
1. It is ha... | [
"ztschir@gmail.com"
] | ztschir@gmail.com | |
1b9df5bd58fc4a24e7d8cc8f139b5d18479651dd | c6ced56bcff2311571866f2ce2ba07566297b6ad | /Faux Galaga/TileMap.cpp | 45fa3c1ee9ee525db697e986aefe21e7418d1a7e | [] | no_license | bdanielsimmons/Scrolling-Shooter-in-SDL | 2f448673e568c6cfe8926e5406bfef22bd6ca6d2 | fa107fd31dfe5e3d3c5c530c17c7ddf5d6c5d7d8 | refs/heads/master | 2020-07-31T21:57:05.528047 | 2016-11-13T07:17:14 | 2016-11-13T07:17:14 | 73,590,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | #include <SDL.h>
#include <iostream>
#include <vector>
/*class Tile {
private:
public:
int x, y, w, h;
static std::vector<Tile> Tiles;
Tile(int x, int y, int w, int h) {
this->x = x;
this->y = y;
this->w = w;
this->h = h;
}
void createTile(int,int,int,int);
void Update();
void Draw(SDL_Renderer*);
};
std::vector<Tile... | [
"bdanielsimmons@gmail.com"
] | bdanielsimmons@gmail.com |
398d5802ed3506bfda22e940c5d2b0f67bb3226f | 31ded232e01e73c3c58a7e5e6ae62be92ccb0782 | /libs/camera/CameraParameters.cpp | 94c74814a9d877a688df10aaab9d9a9f4183d3a4 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | Krylon360/android_frameworks_base_encore_aokp_ics | becc7ef24d99cbf444d521dc954954860fac1eff | b60feec4b93717d35ed4fa9426c6487012aa2766 | HEAD | 2016-09-05T10:54:56.842719 | 2012-08-12T06:15:44 | 2012-08-12T06:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,456 | cpp | /*
**
** Copyright 2008, The Android Open Source Project
**
** 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 appl... | [
"b.t.walter@gmail.com"
] | b.t.walter@gmail.com |
fe8438b339599a56449547d8cc25a3f9bd2e6101 | 32286f7ca7c8d5b4d61efc90075de5edf81eb9ec | /sp/src/thirdparty/protobuf-2.3.0/src/google/protobuf/io/coded_stream.h | 5840970960224b91818080c90bac5579bf7e1261 | [
"LicenseRef-scancode-protobuf",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | saul/source-sdk-2013 | 0c20f31366d36b050e47c6fccc5e8e9815ac5de4 | cc136aae767653f3290589eb9a230fb8aea82383 | refs/heads/master | 2021-01-18T03:32:36.266073 | 2013-08-05T19:09:20 | 2013-08-05T19:09:20 | 11,110,123 | 12 | 1 | null | 2013-08-05T19:01:21 | 2013-07-01T23:34:24 | C++ | UTF-8 | C++ | false | false | 46,086 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * ... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
e24dc759d7878d7016af7a351fbaad6d4d20d4a2 | 276220869da497bdae45cea138bba891a84e202f | /test/test.cpp | 163e65aa564f63d6d8f5e744b89669d4d7e64097 | [] | no_license | harukoya/AtCoder | 1882c589946e17431819ca08cb6e432da28ed041 | 19504cb846629187ab3b7ef371bbcf5500f90167 | refs/heads/master | 2023-06-17T22:27:39.148457 | 2021-07-18T01:04:04 | 2021-07-18T01:04:04 | 330,525,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
cout << "こんにちは" << endl;
cout << "AtCoder" << endl;
return 0;
} | [
"ka.uni.stu@gmail.com"
] | ka.uni.stu@gmail.com |
f0c15898d9fdd3ad8f4c43148fffcd9447fb3f6e | 6d8faae66dd6332836bb11d7f02d6867c95d2a65 | /glast/skymaps/src/GtiBase.cxx | cb84f59d8477d13ca7fbbc27ad0e6c36fe0a6fb9 | [] | no_license | Areustle/fermi-glast | 9085f32f732bec6bf33079ce8e2ea2a0374d0228 | c51b821522a5521af253973fdd080e304fae88cc | refs/heads/master | 2021-01-01T16:04:44.289772 | 2017-09-12T16:35:52 | 2017-09-12T16:35:52 | 97,769,090 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,791 | cxx | /** \file GtiBase.cxx
\brief Implementation of encapsulation of the concept of a GTI. May be constructed from a GTI extension.
\author James Peachey, HEASARC/GSSC
*/
#include <iostream>
#include <memory>
#include <sstream>
#include <stdexcept>
#include "skymaps/GtiBase.h"
#include "st_facilities/FileSys.h"
#... | [
"areustledev@gmail.com"
] | areustledev@gmail.com |
83807103976656a9df10c92b1f00bb5ea931fb5c | 0fa7257cea3bb3e70d97045faeb372c82f938233 | /count of subset sum/count_of_subset_sum.cpp | 806f8edf0a684c88ee150cd58b862657d410d855 | [] | no_license | MihirShri/Dynamic-Programming | 4fdb085abe6fa0f73b857fbfc85acf999600094b | 12da08c00ab8ae7d5682a77679607d1f8c95b0a0 | refs/heads/master | 2022-12-22T09:54:05.653635 | 2020-09-28T04:43:42 | 2020-09-28T04:43:42 | 292,763,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | #include <iostream>
using namespace std;
int subset_sum(int set[], int sum, int n)
{
int t[n+1][sum+1];
for (int i = 0; i <= n; i++)
t[i][0] = 1;
for (int i = 1; i <= sum; i++)
t[0][i] = 0;
for (int i = 1; i < n + 1; ++i)
{
for (int j = 1; j < sum + 1; ++j)
{
if (set[i-1] <= j)
t[i][j] = t[i-1]... | [
"noreply@github.com"
] | MihirShri.noreply@github.com |
dcba376d2def64425de1d3eb4603b5497ea7e206 | ce11dc0db50aa7bc27284c26678c54d92d0ebf3c | /CAddObjectDlg.h | 3a470e92ab2431d8e0e8bbfa505b16c061309e81 | [] | no_license | longbefer/Radiosity | 33e4ff08c47ca766c9fb572b6625caea61680935 | b2d7a7f73d439f9335fd4cebf56c1d0323f70924 | refs/heads/master | 2023-06-04T04:00:23.314387 | 2021-06-17T00:09:19 | 2021-06-17T00:09:19 | 355,954,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | h | #pragma once
// CAddObjectDlg 对话框
#include "Scene.h"
#include "Light.h"
class CAddObjectDlg : public CDialogEx
{
DECLARE_DYNAMIC(CAddObjectDlg)
public:
CAddObjectDlg(CWnd* pParent = nullptr); // 标准构造函数
virtual ~CAddObjectDlg();
void SetScene(Scene*s) {
this->s = s;
}
enum class Operator { Add, Modify }... | [
"long2696761655@sina.com"
] | long2696761655@sina.com |
ee05dc8f6a64e248c9eb222a0591778f0b607b9b | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_6145.cpp | c997b5b7e9dfca2217eeac4e38e0e34f31edcafb | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp |
if (!old.commit && !opts->force) {
if (!opts->quiet) {
warning("You appear to be on a branch yet to be born.");
warning("Forcing checkout of %s.", new->name);
}
opts->force = 1;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
5f2f39052dabb5b8cc978bc093770622f3bfef4b | 6e677e70c25ef822567013d1e5cdda7a6cd1b058 | /examples/legacy/_Bounce/main.cpp | ebdc9c6f0b2b5bab40def4b7a86f6de3112299b3 | [] | no_license | Astr0/FastHAL | 384e31add14be0cd38e7698eecbc0fc890e3321f | 6024453e5d3463f81d5729b21c1b07186fd39008 | refs/heads/master | 2021-01-21T11:50:13.776765 | 2018-04-28T05:00:34 | 2018-04-28T05:00:34 | 102,027,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | /*
* Bounce.cpp
*
* Created: 9/23/2017 11:40:20 PM
* Author : astr0
*/
#include <avr/io.h>
int main(void)
{
/* Replace with your application code */
while (1)
{
}
}
| [
"aastr00@gmail.com"
] | aastr00@gmail.com |
2bdac46bddf09c55002f348451b1c789f750b0fd | 7f2a56144158e6b8114da9c1ada6ad0f844e1105 | /vmodels/constant.hpp | 0909fed38d47c6cf907a3f8694ec398833f0582f | [
"MIT"
] | permissive | lizhangscience/opt_utilities | 6fa1799ff565b8fb92d1a56e84b0d1f69101bc4d | 17363d2b870c88db108984a9a59d79c12d677e93 | refs/heads/master | 2021-02-18T15:30:27.786348 | 2018-10-09T03:13:22 | 2018-10-09T03:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | hpp | /**
\file constant.hpp
\brief constant model
\author Junhua Gu
*/
#ifndef VCONSTANT_MODEL_H_
#define VCONSTANT_MODEL_H_
#define OPT_HEADER
#include <core/fitter.hpp>
#include <misc/optvec.hpp>
#include <cmath>
namespace opt_utilities
{
template <typename T>
class constant
:public model<optvec<T>,op... | [
"astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675"
] | astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675 |
17e13707f15c22d115a03ecf79fd593f121ccb81 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2652486_1/C++/johnathan79717/main.cc | 34e12a3f2777d8357b688a1d6d1b965ee34ed419 | [] | 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 | 1,602 | cc | #include <iostream>
using namespace std;
int main() {
int T;
cin >> T;
cout << "Case #1:" << endl;
int R, N, M, K;
cin >> R >> N >> M >> K;
for(int r = 0; r < R; ++r) {
int p[12];
for(int k = 0; k < K; ++k)
cin >> p[k];
int f[6];
memset(f, 0, sizeof(f));
for(int k = 0; k < K; ++k... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
d7aaf3b2c3f562759b83bb8274e1ec39be2a0f7e | 73b80a1074ad8b9999e4dd78c86a6baad32bfce5 | /Core/Shared/odbcvaluecombobox.cpp | 4c3149a1f2d779e7e83470353ab5cd7cd9f7cda8 | [] | no_license | abstractspoon/ToDoList_Dev | 25f463dea727b71ae30ca8de749570baa451aa13 | 29d038a7ff54150af21094f317e4f7c7d2dd118d | refs/heads/master | 2023-08-31T21:18:16.238149 | 2023-08-29T01:24:16 | 2023-08-29T01:24:16 | 66,343,401 | 87 | 26 | null | 2023-09-09T08:16:35 | 2016-08-23T07:19:50 | C++ | UTF-8 | C++ | false | false | 2,456 | cpp | // odbcvaluecombobox.cpp : implementation file
//
#include "stdafx.h"
#include "odbcvaluecombobox.h"
#include "RecordsetEx.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
enum
{
VALUE_K... | [
"daniel.godson@gmail.com"
] | daniel.godson@gmail.com |
3e95f12cc01f320d36257cc5292e515be02e45f4 | f39e0073320d6fb2d68e38ddaaeec54fcd54d4d6 | /examples/ARDUINO/Local/SoftwareBitBang/ClassMemberCallback/Transmitter/Transmitter.ino | 83bb06add6f75b310d811d88a77cfd1204c85d0b | [
"Apache-2.0"
] | permissive | jcbrtl/PJON | 87ae6ab58501f022d4be5dc6bae0be46913e4dd3 | e857bea7214bb8d1a5c57643794c0e8891c538ff | refs/heads/master | 2022-09-11T23:55:56.952591 | 2020-05-28T14:24:21 | 2020-05-28T14:24:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | ino |
// Uncomment to use the mode you prefer (default SWBB_MODE 1)
// #define SWBB_MODE 1 // 1.95kB/s - 15625Bd
// #define SWBB_MODE 2 // 2.21kB/s - 17696Bd
// #define SWBB_MODE 3 // 2.94kB/s - 23529Bd
// #define SWBB_MODE 4 // 3.40kB/s - 27210Bd
/* Response timeout (1500 microseconds default).
If the acknowledgement... | [
"gioscarab@gmail.com"
] | gioscarab@gmail.com |
5a4e5f899875bd011fb7e54dd4d60467947e70ef | 01b99b95a7d48577c1b67eeb321e09eb8cd5e55f | /src/tests/TempLat/lattice/algebra/su2algebra/su2doubletbinaryoperator.cpp | 10b554920d0dc7c2cc9381919987ed1a087b952b | [
"MIT"
] | permissive | cosmolattice/cosmolattice | e3172056a9d0c963c299f786f1d0066d25565ef6 | 521befc3e8073fa97ffdd76a6281f270f027b491 | refs/heads/master | 2023-06-25T03:21:19.029827 | 2023-06-20T13:41:36 | 2023-06-22T10:29:50 | 334,783,491 | 29 | 5 | MIT | 2022-07-11T15:03:35 | 2021-01-31T23:57:25 | C++ | UTF-8 | C++ | false | false | 361 | cpp |
/* This file is part of CosmoLattice, available at www.cosmolattice.net .
Copyright Daniel G. Figueroa, Adrien Florio, Francisco Torrenti and Wessel Valkenburg.
Released under the MIT license, see LICENSE.md. */
// File info: Main contributor(s): Adrien Florio, Year: 2020
#include "TempLat/lattice/algebra... | [
"adrien.florio@epfl.ch"
] | adrien.florio@epfl.ch |
7aa2e983f7068742317a9a8ff8dbd757bc361f74 | 93b672401e11546d9ebb08e5db8913a22e0527a4 | /trunk/FieldOperations/Route_2_Reader_OpCodeSelector/src/selectedCropOpReader.cpp | 86e33a7a8c7538d335de1af92c2145078343eb31 | [] | no_license | KlimaVand/Nitroscape | 4bd8772e7699b7fb51be36f07af5871b9608b6f9 | d0bc028925104561491d0277cbbfad42f4e900ea | refs/heads/master | 2021-08-18T17:17:30.651312 | 2017-11-23T12:00:09 | 2017-11-23T12:00:09 | 111,693,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,726 | cpp | /*! \mainpage Nitroscape Component 5 Route 1 file reader
Group of C++ classes that are used to write or read the field operations to be used in
NitroEurope Component 5.
The file cropOpReader.cpp provides entry to a simple program that reads the file that provides the detailed
ecosystem models with field op... | [
"sai@agro.au.dk"
] | sai@agro.au.dk |
f7a485cd2564f4c420b47b1fb1c21983fe7b7e5d | debaeb333391ee9672da62c86f9dc0b020bcd364 | /lluvia/cpp/core/include/lluvia/core/node/PortDirection.h | efa809642985e41dfe0b5e55582b19c3aafa51c9 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jadarve/lluvia | a4966cc0c601e493367e74e982705954f9577bbb | 71a20d57196ffd6a620151ba79b7471f1b6a899d | refs/heads/master | 2023-08-31T13:42:59.550829 | 2023-08-22T01:07:28 | 2023-08-22T01:07:28 | 94,946,831 | 52 | 10 | Apache-2.0 | 2023-08-22T01:07:29 | 2017-06-21T00:34:56 | C++ | UTF-8 | C++ | false | false | 1,100 | h | /**
@file PortDirection.h
@brief PortDirection enum.
@copyright 2022, Juan David Adarve Bermudez. See AUTHORS for more details.
Distributed under the Apache-2 license, see LICENSE for more details.
*/
#ifndef LLUVIA_CORE_NODE_PORT_DIRECTION_H_
#define LLUVIA_CORE_NODE_PORT_DIRECTION_H_
#includ... | [
"noreply@github.com"
] | jadarve.noreply@github.com |
a954e6ad19ed60f8ee85d5104bec24d73b0114c7 | 0f709ac90c3f58fea8b3c7730da37581ffadb0ce | /PA2/ColdNode.h | 2d433395a84c70a2e09b598a211f1ee90a9c19b4 | [] | no_license | alxndraflo/DataAlignment_CachingOptimization | 033ca3a4f278b5638428a8ce6947c628b2c9596e | 85d6bb3a9d00aeb949fdfab654708261e3657a11 | refs/heads/master | 2023-01-13T12:27:56.720586 | 2020-11-15T21:33:35 | 2020-11-15T21:33:35 | 313,118,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | //----------------------------------------------------------------------------
// Copyright Ed Keenan 2019
// Optimized C++
//----------------------------------------------------------------------------
#ifndef COLD_NODE_H
#define COLD_NODE_H
#include "Node.h"
class Node;
class HotNode;
class ColdNode
{
public:
//... | [
"60085663+killrbnny@users.noreply.github.com"
] | 60085663+killrbnny@users.noreply.github.com |
f1544b5af7263a4d6e316abec6eeca3f9d41fb20 | fec987af26eed21ab5d9dd90794e7ba9c1c594ea | /ATTINY13A_TX/ATTINY13A_TX.ino | d990946eede3cc693a5687c2f70323d56d60aa2d | [
"MIT"
] | permissive | vymaztom/ATTINY13A_433_TX_RX | 79b0718f07852b68bfcf0d33a97e700fe43eb225 | f6248ceebc52a436ae4bf020c3bf141b48cca883 | refs/heads/master | 2021-01-08T07:58:34.582603 | 2020-02-22T13:27:43 | 2020-02-22T13:27:43 | 241,963,669 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 756 | ino |
//#define F_CPU 9600000
#define TX 4
void setup() {
// put your setup code here, to run once:
pinMode(TX,OUTPUT);
pinMode(3,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
/*
digitalWrite(TX,1);
delay(1000);
digitalWrite(TX,0);
delay(1000);
*/
if(digitalRead(A3) == 0){
... | [
"vyma.96@gmail.com"
] | vyma.96@gmail.com |
b8b809f26bd4c0fe9ac4841f4fdbd303d3926888 | 5b3167f8046a5da1b61a2eef598c697c494f166c | /Algorithms/algorithms_5/p05_ponteiros_passagem_valor-e-referencia.cpp | 65c2f53b5b72e123bc9484759edb1e2029f3d0cf | [
"MIT"
] | permissive | jpenrici/Miscellaneous | cb7122af91c4b890a05a8eb78abd30402e82c212 | 08d9f400ef576e6393913e48d768931cacb4523b | refs/heads/master | 2023-08-31T15:20:40.028650 | 2023-08-30T13:01:52 | 2023-08-30T13:01:52 | 123,445,141 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,737 | cpp | /*
================================================================================
Objetivo:
Estudo da declaração e uso de ponteiros.
Passagem de parâmetro por valor (cópia) e por refência.
Pratica:
Tipos, Variáveis, Operadores
Ponteiros
======================================================================... | [
"jpenrici@gmail.com"
] | jpenrici@gmail.com |
770f4eb2293b3fed2476d03d51c175bbc73edcf5 | 4262591e1586b909692756c48288e690af813b66 | /src/project/cocos2dx/sprite_nodes/CCAnimationSprite.cpp | c8ce90ba66de0b58b47842457f70e55d3739af39 | [] | no_license | atom-chen/DotaTribe | 924a6df4463bffb6cc08df5d8d5cdb4a1a5740fb | 2f6409a78825250ffa38b18b9819dee3ec9d1182 | refs/heads/master | 2020-11-28T03:44:41.631302 | 2019-08-23T07:04:34 | 2019-08-23T07:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,189 | cpp | /****************************************************************************
Copyright (c) 2010-2011 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | [
"qyin@me.com"
] | qyin@me.com |
b1e1c4a5f32a7f2dd0f013be67e8ce5d9ab2fe16 | 59f00d4f6fccb6b1103c5aa54f43a6e4d4f8bfc5 | /src/common-lib/DataObjects/Spectrum.h | 55a781cd1ffd0def2d805fda656afa0459359967 | [] | no_license | tomas-pluskal/masspp | 9c9492443bb796533bcb27fe52a0a60e4ba62160 | 808bf095215e549e7eb5317c02c04dfb2ceaba15 | refs/heads/master | 2021-01-01T05:33:44.483127 | 2015-06-07T12:54:17 | 2015-06-07T12:54:17 | 33,917,190 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,036 | h | /**
* @file Spectrum.h
* @brief interfaces of Spectrum class
*
* @author S.Tanaka
* @date 2006.08.30
*
* Copyright(C) 2006-2014 Eisai Co., Ltd. All rights reserved.
*/
#ifndef __KOME_OBJECTS_SPECTRUM_H__
#define __KOME_OBJECTS_SPECTRUM_H__
#include <string>
#include <boost/optional.hpp>
namespace kome {
... | [
"murase@localhost"
] | murase@localhost |
bafc70ef068e2a461b2f259f3443dd294b5295aa | 306b5a47d33d0846ce40ceaf15e599913cfa23de | /You-QueryEngine-Tests/mocks/task_list.cpp | 68fd8e999463b606cd91a73e06b5cf1534cc796c | [
"MIT"
] | permissive | digawp/main | 52b30a583aff3230f791381920a2f489fc9b598c | f7def04b9c8f3ba50dbcc3a75f7cbed2c2b4d7d0 | refs/heads/master | 2020-11-30T01:44:48.056487 | 2014-11-10T15:33:22 | 2014-11-10T15:33:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | //@author A0112054Y
#include "stdafx.h"
#include "../You-QueryEngine/internal/controller.h"
#include "../You-QueryEngine/internal/state.h"
#include "task_list.h"
namespace You {
namespace QueryEngine {
namespace UnitTests {
namespace {
using Controller = You::QueryEngine::Internal::Controller;
using State = You::Qu... | [
"evans@comp.nus.edu.sg"
] | evans@comp.nus.edu.sg |
e992506c2a4422f2882fc30d77b452ba1b5d86bd | 22cc83be4eeaf57399a92c7039bc441edd178a67 | /src/simulation/collision_object/particle/discritized_particle_shape.cpp | b570f694f92edfdb4c28231a920c733bee77f6ac | [
"WTFPL"
] | permissive | dearshuto/ParticleBasedSimulation | 0703c12df4c266b267dd6e470fb04abb72f93d64 | 75f7f7454e39f8ed4b970a94d261385cb03b3e15 | refs/heads/master | 2022-03-03T20:57:29.036506 | 2017-02-10T02:55:33 | 2017-02-10T02:55:33 | 78,620,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,874 | cpp | //
// discritized_particle_shape.cpp
// CubicFineParticleSimulation
//
// Created by Shuto on 2016/09/10.
//
//
#include <array>
#include <btBulletDynamicsCommon.h>
#include <btBulletCollisionCommon.h>
#include "particle_based_simulation/simulation/collision_object/particle/discritized_particle_shape.hpp"
std::un... | [
"shuto.shikama@fj.ics.keio.ac.jp"
] | shuto.shikama@fj.ics.keio.ac.jp |
59f80ef3079d9d2d88f815d6169070a9064c2298 | b36cda341d93d5a76465db3ac5d119670a4d42b0 | /Dynamic Programming/Coin Combinations I.cpp | b9dde1e94f254752fc31404e627dc32e1af4d768 | [] | no_license | Ii-xD-iI/CSES | b159688cc73d64e66fb464d8a42c43a574b65450 | 5212938d774c4fbe8ca69c920e00b0bcd385a6b0 | refs/heads/master | 2023-07-14T17:08:14.624264 | 2021-08-25T18:04:06 | 2021-08-25T18:04:06 | 291,788,252 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include "bits/stdc++.h"
using namespace std;
#define elif else if
#define len(x) (int)(x).size()
int main() { cin.tie(nullptr)->sync_with_stdio(false);
const int MOD = 1e9+7;
int N, X; cin >> N >> X;
vector<long long> DP(X+1), coins(N);
for(auto &i : coins) cin >> i;
DP[0] = 1;
for(int... | [
"noreply@github.com"
] | Ii-xD-iI.noreply@github.com |
8924a43331d79c2861c509c547e836ce454059e7 | b7c036434c925f639bd0a70963a4092ef0508445 | /STL_multiset.cpp | a622eaa3c3fd9d3c6bb8eb1cde056a12c5a66849 | [] | no_license | ASHISH-GITHUB2495/My-CPP-STL-programms | a51e2de4dfb9256624cdf8f310b612490afa9611 | 992247e935fa50fff2df755aef1f809f7e957348 | refs/heads/master | 2022-10-02T17:08:52.021163 | 2020-06-09T13:03:11 | 2020-06-09T13:03:11 | 271,003,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | //Multi set
#include<bits/stdc++.h>
using namespace std;
int main()
{
multiset <int,std::greater<int>> mset={9,3,6,5,8,3,6,5,2};//gerater also
mset.insert(90);
for(auto e: mset)
{
cout<<e<<" ";
}
return 0;
}
| [
"noreply@github.com"
] | ASHISH-GITHUB2495.noreply@github.com |
bf3662e427cd6f55b43f0693b873273141bd744c | e29c03ce1c2a5bbc8b33fc79039a5490444ad04d | /multisom.cpp | 2506c90008a6b65deba3cec59b4cd5ec29eec90a | [] | no_license | AviatorYan/Multi-SOM | 8c65db14a89a9ab5b269294fcfb54885115b7a46 | ba1a86be2cc42a960cce8f5349ba8323acf7a9cd | refs/heads/master | 2023-03-15T19:51:00.683122 | 2016-12-18T00:08:56 | 2016-12-18T00:08:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | cpp | #include <string>
#include <cmath>
#include <fstream>
#include"Eigen/StdVector"
#include "som.cpp"
template<int G_DIM, int X_DIM>
class MultiSOM {
private:
int N = X_DIM;
int G = G_DIM;
int epoch = 0;
int epoch_max;
float eta_0;
float eta_final;
float s_0 = 4.0f; // size of gaussian of ... | [
"ahmadz1991@gmail.com"
] | ahmadz1991@gmail.com |
b21f57a35cb67eefa0757a8834f9303ccd15267b | 3d2053c68cacda89b55b2fcb2a65fed9d93e75fc | /seurat/compressor/rgba/rgba_rate_resizer.h | e042ba4b8332553fbcdb6c179a11152748888142 | [
"Apache-2.0"
] | permissive | n1ckfg/seurat | 99dddf9dc665d522c2c781aea205272e4c89e145 | 1e60a31ae9ca80ddd9afc34c64171b792e5f1c89 | refs/heads/master | 2020-03-15T17:07:18.397694 | 2019-04-08T21:13:52 | 2019-04-08T21:13:52 | 132,251,747 | 1 | 1 | null | 2018-05-05T13:45:49 | 2018-05-05T13:45:49 | null | UTF-8 | C++ | false | false | 2,283 | h | /*
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"ernstm@google.com"
] | ernstm@google.com |
f0581475a0f87cea0346360c452b7b335370d768 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/2/U | 83626fba98ea0f40d2033a33234e8e3eda9d8ac6 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140,455 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
a008e40623e1b390aeec1b2016fd25a693f2e2fa | 516d0f7bf5f0c79d67e24c8778b783d9000c4bf1 | /arduino/samd/libraries/phyphox-arduino/examples/randomNumbers-IoT/randomNumbersIoT.ino | 3f5f20c593c102278ed612bde5ef05ee3ea31e1e | [
"Apache-2.0",
"LGPL-3.0-only",
"GPL-3.0-only"
] | permissive | sensebox/senseBoxMCU-core | b068eee39517d21840cf4ffe00b6f83f48344ea1 | 92c4244a94debf3b5e6c78b6acfd2d9530db8d8e | refs/heads/master | 2023-03-09T03:28:32.245820 | 2022-03-08T10:03:01 | 2022-03-08T10:03:01 | 137,878,137 | 2 | 9 | Apache-2.0 | 2023-03-04T03:03:14 | 2018-06-19T10:45:14 | C++ | UTF-8 | C++ | false | false | 487 | ino | #include <phyphoxBle.h>
void setup() {
PhyphoxBLE::start(); //Start the BLE server
}
void loop() {
float randomNumber = random(0,100); //Generate random number in the range 0 to 100
PhyphoxBLE::write(randomNumber); //Send value to phyphox
delay(50); //Shor... | [
"noreply@github.com"
] | sensebox.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.