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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eaa1ac8e8532257ebc955bc7754a230c2b5c1f2f | 0a1d33de260573d68b8d02926a92a52530ec7d74 | /tile.cpp | cf09389a4eac5c984069eb139bf79effb6ce87b2 | [] | no_license | Chuvvie/Final-Project | 9a2598f8ef9fe74a936c88c7ea952447bae9a207 | 960b168327dcd0a55dc11ca6e74f6b68c7d96789 | refs/heads/master | 2021-01-21T16:48:43.616845 | 2016-05-06T06:49:32 | 2016-05-06T06:49:32 | 58,185,767 | 0 | 0 | null | 2016-05-06T06:26:46 | 2016-05-06T06:26:46 | null | UTF-8 | C++ | false | false | 1,462 | cpp | #include "Tile.h"
#include "SFML/System/Vector2.hpp"
#include "SFML/Graphics/Color.hpp"
Tile::Tile(float cx, float cy, int type, bool passability) {
this->cx = cx;
this->cy = cy;
this->type = type;
this->passability = passability;
this->shape = sf::RectangleShape(sf::Vector2f(Tile::tileSize, Tile::tileSize));
... | [
"giansalay@yahoo.com"
] | giansalay@yahoo.com |
ddb9478162a6a635c9663b7f6204670a2b578aa7 | 8489aae0a1b1f546a14c1719717c5184feb8e36c | /MotorbikeArduino/ino/Gps_TinyGps.ino | f88e5afb3947329892e495b2b8ab0a77c66cfc1a | [] | no_license | lentzlive/MotorbikeArduino | 16df093b368fd4114d15b52e8396bcc830d5e085 | 425a9e3ba88b70edabfeb00b38cc9124289e9f93 | refs/heads/master | 2021-01-17T17:59:53.052448 | 2016-07-30T11:14:33 | 2016-07-30T11:14:33 | 61,470,971 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,581 | ino | #include <TinyGPS++.h>
#include <SoftwareSerial.h>
#include <Wire.h>
#include <ADXL345.h>
const float alpha = 0.5;
double fXg = 0;
double fYg = 0;
double fZg = 0;
double refXg = 0;
double refYg = 0;
double refZg = 0;
int i = 0;
ADXL345 acc;
/*
This sample sketch demonstrates the normal use of a TinyGPS++ (Tin... | [
"Davide@DAVIDE-PC"
] | Davide@DAVIDE-PC |
9cdb8357ac8fb471092cf387f6fc6ab6ef18e401 | 1fea1b1bcb283931afea6aa3103795236f12fb6d | /rta-dq-lib/execution_strategies/include/HDF5ReadingCompoundScalarFieldStrategy.hpp | 12033e5265ad86cdf593f928aa0a2e8a0df88980 | [] | no_license | LeoBaro/rtadqlibcpp_proto | 09b3ec479117fec37ce5a5dd6441a16316a3bc8f | 9802c180e29a3aecc9bfbee4735ec51c8328f755 | refs/heads/master | 2022-12-06T13:10:59.449412 | 2020-08-22T09:21:49 | 2020-08-22T09:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | hpp | #ifndef HDF5_READING_COMPOUND_SCALAR_FIELD_STRATEGY_HPP
#define HDF5_READING_COMPOUND_SCALAR_FIELD_STRATEGY_HPP
#include "H5Cpp.h"
using namespace H5;
#include "HDF5ReadingCompoundFieldStrategy.hpp"
template <class T>
class HDF5ReadingCompoundScalarFieldStrategy: public HDF5ReadingCompoundFieldStrategy<T> {
p... | [
"leonardo.baroncelli@inaf.it"
] | leonardo.baroncelli@inaf.it |
61c8e314a1cf9d70e70a1b46be5c4808a1c5f633 | 19ee8a8f3ca7c378ee3b463721f494b23991cce7 | /1_spring/code.cpp | 9eeebe4f2a1d593f2605bbf4aa83b2e3ea944f4a | [] | no_license | sahsinevgen/MIPT_algorithms | 1fb2694f161ff6da2f349e426cdbea363bf755d4 | 642db51d15f4a7479925c776af6705ddedb1b066 | refs/heads/master | 2023-02-02T10:16:35.477866 | 2020-12-20T18:13:12 | 2020-12-20T18:13:12 | 320,849,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include <list>
#include <vector>
#include <iostream>
using namespace std;
int last_digit(list<int> array, int Mod = 10) {
if (array.size() == 0)
return 1;
vector<int> anss;
int x = array.front();
int x_ = x;
while (true) {
x_ = (x * x_) % Mod;
anss.push_back(x_);
if... | [
"sasha@darkmastersin.net"
] | sasha@darkmastersin.net |
7508fbed7e64d2afdb563f07d9255f0ec8f844d2 | 5c74203db583750843c70142f1a9d7166e942d63 | /boost/memory/memory.cpp | 35d228c7eb35a1785436015d1fe1b86334b7bb88 | [] | no_license | shiqi-lu/Learn-CPP | fd49704192c3983dd81ba5d690f909ba0968e116 | 169a383a9078b3fc1e6fffa5be79f068f10f9b0e | refs/heads/master | 2021-05-30T10:18:24.371296 | 2015-11-30T23:27:51 | 2015-11-30T23:27:51 | 25,058,280 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,456 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <boost/smart_ptr.hpp>
using namespace boost;
using namespace std;
struct posix_file
{
posix_file(const char * file_name)
{
cout << "open file: " << file_name << endl;
}
~posix_file()
{
cout << "close file" << endl;
... | [
"traumlou@gmail.com"
] | traumlou@gmail.com |
70f52cde87541f0d1c88c0a92d555d6e9a3629c5 | cd5610dd6fcb7803d1ea1883dec3d8b36a8c7c7e | /src/primitives/block.h | e0a0ce225f4adb3a019daad9af53fe4c9a13bf9e | [
"MIT"
] | permissive | malandante/Commercium-TESTNET | 39f62f83bd61c9206a6ebafe77d354c61081ffd5 | 91ad12511d89b8357540c8208093098419f5e9ff | refs/heads/master | 2020-04-04T18:51:48.191375 | 2018-07-21T01:03:40 | 2018-07-21T01:03:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,811 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
#define BITCOIN_PRIMITIVES_BLOCK_H
#include "... | [
"anthony19114@gmail.com"
] | anthony19114@gmail.com |
7ecaf59537605026de714a5a1bb94bcc900272fa | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/editor/world/sources/particle_links_manager.h | ec147d0c01c54167c47f09f2a9dffd42f87f6b27 | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 26.01.2010
// Author :
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef PARTICLE_LINKS_MANAGER_H_INCLUDED
#define PARTICLE_LINKS_MANAGER_H_INCLUDED
us... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
97bbaa709661277e41808d4f9db04febbd1d6dd8 | 33ac633b566c21f00a6073fba2f896020cd7f62c | /WA/BackStageMgrDef.h | d801e44e97dc856954dcc2f04ca0f90182a8e259 | [] | no_license | orichisonic/GMServer_20091221 | ef4d454d4b78d01b49b8752eed2170c3419af22a | 19847f86a45a2706ddf645a2ca9e98f80affb198 | refs/heads/master | 2020-03-13T04:33:08.253747 | 2018-04-25T07:29:55 | 2018-04-25T07:29:55 | 130,965,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 440 | h | #pragma once
//
// 服务器后台管理相关定义
//
#pragma pack(push, 1)
namespace BACKSTAGEMGR
{
const int MSG_BASE_BSTRS = 25000;
const int MSG_BASE_RSTBS = 26000;
const int MAX_ID_LENGTH = 20;
const int MAX_PASSWORD_LENGTH = 21;
const int MAX_CHARACTER_NAME_LENGTH = 13;
struct TCP_MSG_BASE
{
unsigned shor... | [
"wanglin36@CENTALINE.COM.CN"
] | wanglin36@CENTALINE.COM.CN |
f19fd447cce1fdac00226e25af66221ed7a28805 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp | 2418fc12c458544a79ea5888e2e00f0a6d3c033c | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 15,350 | cpp | /*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
c69bbb914d82072687a805c65971399163f06097 | df2b251a2d00fff294270ebb3fa5ff4e8f82a23a | /WebSocketAPIPlugin/MessageHandling.cpp | 711b1e7c9b567ede3a4484405297abc9af87f0af | [] | no_license | sKeLeTr0n/OBSRemote | 93ca4ba79e37000225ae85cbe61f61f8739c56e3 | 031df3ad70b3b379eeb8399c0b7d4ed42ebf35ac | refs/heads/master | 2021-01-17T22:29:31.172773 | 2013-03-10T19:34:44 | 2013-03-10T19:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,028 | cpp | /********************************************************************************
Copyright (C) 2013 Hugh Bailey <obs.jim@gmail.com>
Copyright (C) 2013 William Hamilton <bill@ecologylab.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | [
"luin.uial@gmail.com"
] | luin.uial@gmail.com |
e89f0a7dfc8e1af5d2fa8190e5fb6ebe755c5b4d | 6b6e7606ea14bd3ee22f5fbfab90bf86220d36a2 | /appseed/axis/axis/node/_node.cpp | ee4ee3198a47cf1675634a815e7d0eb8ba0123e9 | [] | no_license | mediabuff/app | b51e1d21e8b244af09e3d3f78ab38d8e80cd4bba | 12f8aeacce1b2649977d4c7ce61a4415c636fa6c | refs/heads/master | 2021-08-06T15:57:12.573775 | 2017-11-06T12:24:35 | 2017-11-06T12:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | cpp | #include "framework.h"
#ifdef ANDROID
#include "android/_node_android.cpp"
#elif defined(WINDOWSEX)
#include "windows/_windows_node.cpp"
#endif
| [
"camilo@ca2.email"
] | camilo@ca2.email |
5d86b1013fd9c4e4a17b0806e4ccb097926cfdeb | 414af5807da676c87967d47132654c08238b9b2e | /part-3/09-priority-queues-heapsort/program_09_06.cpp | 44beddbff2ce042b0f72457ea49443c3e42ebae6 | [] | no_license | jthommen/algorithms-cpp | bfcd77ba90af1df1dfac00d8ceeb3239e8a11db3 | c20149ac0e7c4ea8452c39b975f757e05e3438c8 | refs/heads/master | 2020-04-15T01:57:18.051712 | 2019-12-22T12:55:22 | 2019-12-22T12:55:22 | 164,297,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | cpp | /*
###
Program 9.6: Heapsort
###
Description:
Using fixDown directly gives the classical heapsort algorithm.
The for loop constructs the heap, then the while loop exchanges
the largest element with the final element in the array and
repairs the heap, continuing until the heap is empty.
The pointer pq to a[l... | [
"23640912+jthommen@users.noreply.github.com"
] | 23640912+jthommen@users.noreply.github.com |
ca9c086027352c6712602de83ae27ef556e62ed7 | bd1a8d3157793f97ac0e4340cf51e09412b8717d | /src/config/file/filebasedconfig.h | 314ea0cdc51c3fe103b5809f6f0a115f794248be | [] | no_license | zaic/cavis | 198e070c32fe48d238680450a408cbb2c90eb3a7 | d8d91fe34d7fba83ef3eb2b80413bb9aae6c03d4 | refs/heads/master | 2020-04-08T12:12:40.880402 | 2013-06-06T01:55:15 | 2013-06-06T01:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | h | #pragma once
#include <cstddef>
#include <fstream>
#include <iostream>
#include <sstream>
#include <cassert>
#include <cstdlib>
#include "../config.h"
using std::ifstream;
using std::cerr;
using std::endl;
using std::stringstream;
using std::string;
class FileBasedConfig : public Config
{
FileBasedConfig();
... | [
"zaic101@gmail.com"
] | zaic101@gmail.com |
9a18b4bf77a8c0140e5095ea4ce872e8c9ae1b72 | 64b487be42dbc38f1915fca72e338f158506598b | /hw10/cleaner.cpp | 4447eaac7454f08063f340800bcf849fdf7b6cd7 | [] | no_license | DLobosky/CS53-Intro-to-Programming-C-Plus-Plus | 250ad090178587e0a906feb7d66d2d39162e6fad | 08b8a3b28e958ea10b5e95df417ded2187005af7 | refs/heads/master | 2021-01-10T18:44:02.222047 | 2016-12-01T21:40:20 | 2016-12-01T21:40:20 | 75,326,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,848 | cpp | //Programmers: Jason Beard, Dalton Lobosky, Carl Garrett Herrmann
//Date: 05/07/2013
//File: cleaner.cpp
//Class: CS 53
//Purpose: class definition for cleaner object.
#include "cleaner.h"
#include "house.h"
#include <cstdlib>
#include <ctime>
cleaner::cleaner(string obj_name, int x_coor, int y_coor... | [
"d.lobosky@gmail.com"
] | d.lobosky@gmail.com |
46388f2039a1bf63c355098e4e528281be71a454 | 92468dc69a005e9b640093c9be2db2465130a57d | /Sources/Log.cpp | e6099ea0ecee10a3fc9af5518e633d5655c7b029 | [] | no_license | wingrime/ShaderTestPlatform | 8bf32922d16b95d8f57bbd53942b0a2080cbda5a | d531b90415946a4c0608d2eb3eb37317a9739ecd | refs/heads/master | 2021-01-10T02:18:49.350009 | 2017-01-05T19:01:11 | 2017-01-05T19:01:11 | 47,027,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp | #include "Log.h"
#include <iostream>
#include <stdarg.h>
#include "MAssert.h"
#include "ErrorCodes.h"
#include "string_format.h"
Log::~Log()
{
d_logfile_stream.flush();
d_logfile_stream.close();
}
Log::Log(Log::Verbosity _v, const std::string &s)
:d_logfile_stream(s),
v(_v)
{
}
in... | [
"wingrime@gmail.com"
] | wingrime@gmail.com |
f2ac358a2f8fe7761eeea8b19e847c6f577be315 | 6cffc6e9f6b4c434262a096a6847e315f76c0bc9 | /atcoder/abc214/C.cpp | 25430213b441bbf8a45d21f70127342a1d7de491 | [] | no_license | nishgpt/competitive_programming | c0cd15663d36dec6132bd615cdd3e0b4ba0c64cd | 38535bb57081f2065dfe4170c9c87a981163fb0f | refs/heads/master | 2023-08-16T14:19:42.746680 | 2021-10-22T04:29:33 | 2021-10-22T04:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | cpp | /*
Author : Nishant Gupta 2.0
*/
#include<bits/stdc++.h>
using namespace std;
#define LL long long int
#define getcx getchar_unlocked
#define X first
#define Y second
#define PB push_back
#define MP make_pair
#define MAX 100005
#define LOG_MAX 20
#define MOD 1000000007
#define INF 0x3f3f3f3f
#define INFL (LL(1e18))
#... | [
"nishant141077@gmail.com"
] | nishant141077@gmail.com |
3f9aebca05ac0ed9fe43f7226283f7d254cab2e6 | 1e9c38783db1e2b7e9d96cccec3e38d0dff497ad | /IronManRing/IronManRing.ino | 251e3cd6275d27c11311bde7cf0eb9a2e0495636 | [
"MIT"
] | permissive | simonemarra/IronManRing_Arduino | 6f6293a7b268ecf3900c8d4e2c1d30227af3df61 | 3126aca2e80d3511edd583bfeff3b861cd9f59a4 | refs/heads/master | 2020-12-30T08:38:11.594374 | 2020-02-07T13:51:54 | 2020-02-07T13:51:54 | 238,933,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | ino | #include <Adafruit_NeoPixel.h>
#define RING_PIN 2//6
// How many NeoPixels are attached to the Arduino?
#define LED_COUNT 36//16//60
Adafruit_NeoPixel strip(LED_COUNT, RING_PIN, NEO_GRB + NEO_KHZ800);
// Argument 1 = Number of pixels in NeoPixel strip
// Argument 2 = Arduino pin number (most are valid)
// Argument ... | [
"simone.marra.electronics@gmail.com"
] | simone.marra.electronics@gmail.com |
fc3ad073b9f6bf2876203c42952c26bb67b091c8 | 9795b3fdc47ce0aa91c9f2443168f4cbbe8d9c3c | /simulation/extern_include/mex.hpp | 54a9ce7107daf360cfc9ae63f8d3dcf65d7517a7 | [
"MIT"
] | permissive | seanny1986/gym-aero | badf540a230adab0c85ef2f9c6f76fcc189e8aff | bb8e7f299ca83029c300fa85e423be90fc9c11e1 | refs/heads/master | 2021-06-18T13:01:44.804786 | 2021-01-06T11:24:52 | 2021-01-06T11:24:52 | 143,800,401 | 5 | 4 | MIT | 2018-10-26T07:59:00 | 2018-08-07T01:04:18 | Python | UTF-8 | C++ | false | false | 1,721 | hpp | /**
* Published header for C++ MEX
*
* Copyright 2017-2018 The MathWorks, Inc.
*/
#if defined(_MSC_VER)
# pragma once
#endif
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3))
# pragma once
#endif
#ifndef mex_hpp
#define mex_hpp
#endif
#ifndef __MEX_CPP_PUBLISHED_API_HPP__
#define ... | [
"s3251350@student.rmit.edu.au"
] | s3251350@student.rmit.edu.au |
c1fa0e8cd45d9d837e55570cb75b796d9f104535 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /src/script/bridge/qscriptdeclarativeclass_p.h | 8c7328685365f9c0a7ee344c4f16e5a9f0d9fc4d | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 5,045 | h | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.... | [
"ansel@copperspice.com"
] | ansel@copperspice.com |
c3c80d49da67557e4f30808f39bf80c4dbef722e | 359741b841c2bdee997891b36363128bb8522964 | /win9x/subwnd/skbdwnd.h | 9f36f8c62dfac652c1bfb0b8a839980560a4d8b2 | [
"BSD-3-Clause"
] | permissive | libretro/xmil-libretro | 4686acb22c521b2414eb9524748d58f2fa5e7f5c | 4cb1e4eaab37321904144d1f1a23b2830268e8df | refs/heads/master | 2022-05-01T12:04:23.292954 | 2022-04-14T16:39:02 | 2022-04-14T16:39:02 | 244,228,236 | 3 | 9 | BSD-3-Clause | 2022-04-14T06:05:46 | 2020-03-01T21:42:20 | C | SHIFT_JIS | C++ | false | false | 1,696 | h | /**
* @file skbdwnd.h
* @brief ソフトウェア キーボード クラスの宣言およびインターフェイスの定義をします
*/
#pragma once
#if defined(SUPPORT_SOFTKBD)
#include "dd2.h"
#include "subwnd.h"
/**
* @brief ソフトウェア キーボード
*/
class CSoftKeyboardWnd : public CSubWndBase
{
public:
static CSoftKeyboardWnd* GetInstance();
static void Initialize();
static v... | [
"yui@afe8d728-ceca-4c4c-a723-f8cfeda826dd"
] | yui@afe8d728-ceca-4c4c-a723-f8cfeda826dd |
44147b89c9cee4d1d6642e62ce54bcf4971ffd3c | 7e5aae473ced56a9cff5cb9cda8527d1c5b0ce79 | /Module_3/dragons/src/main.cpp | df75d08c5bc34f7d940d4a9f2ebe9ced025369cb | [] | no_license | linroad123/AaltoCpp2021 | 985f37951ecb7ff7117bdd5a3aacab30ab9d9437 | 1ddff42b00c3c148d6514096357eac2852d477d5 | refs/heads/master | 2023-08-29T14:22:31.513281 | 2021-10-08T12:13:25 | 2021-10-08T12:13:25 | 414,680,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,631 | cpp | #include <vector>
#include <list>
#include <iostream>
#include <cstdlib>
#include "dragon.hpp"
#include "fantasy_dragon.hpp"
#include "magic_dragon.hpp"
#include "dragon_cave.hpp"
std::list<Treasure> CreateRandomTreasures(size_t count) {
std::list<Treasure> treasures;
// Jewellery
std::vector<std::string... | [
"linroad@hotmail.com"
] | linroad@hotmail.com |
e0ccb701f2f9bf1550bb8d7bc1339c91c15b303c | 3051d1fe583be3d2b89b9ebf3694790d54db24df | /tarjan/cut-vertex.cpp | 3321b892e55c8a426680d0775e955cc9546b88df | [] | no_license | zzzcd0x/Data-Structres | 9c6bdda6d14c0e61d6da910ed8a5516cab33ec70 | f4128e218e3925f8e718381ad1a999a95458869c | refs/heads/master | 2022-12-27T07:44:16.146204 | 2020-10-04T04:00:35 | 2020-10-04T04:00:35 | 293,036,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | cpp | #include<cstdio>
#include<string.h>
#include<algorithm>
using namespace std;
struct Edge{
int from;
int to;
int next;
}edge[200005];
int sum;
int tot;
int head[20005];
int n, m;
int dfscnt;
int dfn[20005];
int low[20005];
bool cut[20005];
inline int read(){
int x = 0;
char c = getchar();
w... | [
"1055820620@qq.com"
] | 1055820620@qq.com |
dc8f539c94db1d1ffc3deda08aaa44dc3f4b1942 | 9da899bf6541c6a0514219377fea97df9907f0ae | /Runtime/Engine/Private/Components/BillboardComponent.cpp | 8e819a4a1c60c44a1784abeedaf4e1732fe7d9d2 | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,785 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Components/BillboardComponent.h"
#include "UObject/ConstructorHelpers.h"
#include "EngineGlobals.h"
#include "PrimitiveViewRelevance.h"
#include "PrimitiveSceneProxy.h"
#include "Components/LightComponent.h"
#include "Engine/CollisionProfile.h"
#include "UOb... | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
db14a84cf3819da14d03c362537e7efb7e9da5f0 | a1ffe4ed85bfaa2f67325ed324b119ed9a1b93c1 | /CookieSync.cpp | 4c948c020fd44bb7b5152b84e10aa5c77e2d84e4 | [
"Apache-2.0"
] | permissive | lhn200835/watchman | ff621b1b95f5e127a2970e19daf4cc3921d6216b | ce4f339e15a7aa13d37b6128835db19d7a6d85a2 | refs/heads/master | 2020-06-11T03:04:21.997001 | 2016-12-08T20:43:49 | 2016-12-08T20:48:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | /* Copyright 2012-present Facebook, Inc.
* Licensed under the Apache License, Version 2.0 */
#include "watchman.h"
namespace watchman {
CookieSync::CookieSync(const w_string& dir) {
setCookieDir(dir);
}
void CookieSync::setCookieDir(const w_string& dir) {
cookieDir_ = dir;
char hostname[256];
gethostname(... | [
"facebook-github-bot-bot@fb.com"
] | facebook-github-bot-bot@fb.com |
39bd46b1100be24f27cb5ed4c349b6947155a547 | 3b1de2ad43d067411fcfd3e9d59f89f01b1a5c83 | /scuApp/src/scuMain.cpp | c145c6399c242b8bd8ff76c930a8c7f093538972 | [] | no_license | allanbugyi/SMARACT_SCU_IOC | b2f9a8677e34ccf306de83459ebc239662aff8ea | 06771dacad4d54a1ecf3910dc498e2e3434fc542 | refs/heads/master | 2020-08-26T15:04:50.973933 | 2019-10-23T12:05:05 | 2019-10-23T12:05:05 | 217,049,317 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | /* scuMain.cpp */
/* Author: Marty Kraimer Date: 17MAR2000 */
#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>
#include "epicsExit.h"
#include "epicsThread.h"
#include "iocsh.h"
int main(int argc,char *argv[])
{
if(argc>=2) {
iocsh(argv[1]);
... | [
"allan.bugyi@lnls.br"
] | allan.bugyi@lnls.br |
df059699b9e9ec764308e615ee2eb9948a0638b5 | 328d2b96ad70e360f49c49e7e8399d0c1ad5d96c | /src/systems/StateSwitchButtonSystem.h | b38c237ebd89da588629c005691090f369000543 | [] | no_license | vasylbo/ecs_lemmings | b60096927e4673d2b6852ee7c383aaabc66592fb | 15b81f86bf911f466d24f44b550fbd0e2c17196a | refs/heads/master | 2021-01-19T03:02:02.391392 | 2017-04-01T21:51:20 | 2017-04-01T21:51:20 | 51,010,782 | 2 | 2 | null | 2017-04-01T21:21:11 | 2016-02-03T15:55:26 | C++ | UTF-8 | C++ | false | false | 823 | h | //
// Created by Vasyl.
//
#ifndef LEMMINGS_BUTTONSYSTEM_H
#define LEMMINGS_BUTTONSYSTEM_H
#include <entityx/System.h>
#include "../components/StateSwitchButtonC.h"
class StateSwitchButtonSystem :
public entityx::System<StateSwitchButtonSystem>,
public entityx::Receiver<StateSwitchButtonSystem> {
pu... | [
"vasylbo@gmail.com"
] | vasylbo@gmail.com |
7ccb1c01ee84d1cb9de985605b21f28629dc17bf | 30584da3a22b076c463d3363811543202db8d63a | /leetcode-problems/medium/91-decode-ways.cpp | 6dad01884bf33941426c3fc3e62a19be8f2a6d27 | [
"Unlicense"
] | permissive | formatkaka/dsalgo | 30ad7521ea68f9b43f29ba54cd6aa0f0c00e1959 | a7c7386c5c161e23bc94456f93cadd0f91f102fa | refs/heads/master | 2020-07-13T19:59:45.617443 | 2019-12-04T12:35:46 | 2019-12-04T12:35:46 | 205,143,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | //
// Created by Siddhant on 2019-11-17.
//
#include "iostream"
#include "vector"
#include "string"
using namespace std;
int find(string &s, int i, vector<int>& memo) {
if (i <= 0) {
return 1;
}
int l1 = 0, l2 = 0;
if(memo[i] != -1){
return memo[i];
}
if (s[i] != '0') {
... | [
"formatkaka@gmail.com"
] | formatkaka@gmail.com |
5f324698fc968714ae85d6d04cae3e6ff942562b | e351acdfbc906f141756b99443004e052dfce152 | /2_add_two_num.cpp | 57a880091428b73a4cc3a4bd0fb2f22b666324be | [] | no_license | jhasudhakar/leetcode | e4ec680c6aef8dbe156c683ee9ae8834100e59e4 | 6669580d91a2ce02794ac2e0a83adc588dfcaaae | refs/heads/master | 2023-04-07T19:41:23.296959 | 2021-04-07T03:29:05 | 2021-04-07T03:29:05 | 293,828,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include <stdlib.h>
//Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode *next) : val(x), next(next) {}
};
class Solution {
public:
ListNode* addT... | [
"jhasudhakar.ai@gmail.com"
] | jhasudhakar.ai@gmail.com |
343054916a121883fbd8de72287d1ae7dcecd312 | 3935ac1e3bd8958e987b44b366f3c17376d6c766 | /camuso 114 Copy Constructors (setter)/src/data.cpp | b31c386a923adc6f68d01d3358c7c32bb7db0c24 | [] | no_license | mircocrit/Cpp-workspace-camuso | 0f2dc9231fd52b63cea688fa9702084071993c61 | fe1928a0f4718880d53b4acbf3bd832df2ae9713 | refs/heads/master | 2020-05-19T13:29:31.944404 | 2019-05-05T15:03:06 | 2019-05-05T15:03:06 | 185,040,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include "data.h"
#include <ctime>
#include <iostream>
Data::Data(int gg, int mm) : Data(gg, mm, data_corrente()->tm_year+1900 ){ }
Data::Data(int gg) : Data(gg, data_corrente()->tm_mon, data_corrente()->tm_year+1900 ){}
Data::Data(const std::string d) : Data( stoi( d.substr(0,2) ), stoi( d.substr(3,2) ), stoi( ... | [
"Mirco@DESKTOP-A55DTAV"
] | Mirco@DESKTOP-A55DTAV |
221e74256591a93e0bb9aaed4e9e3d6bb1eadbe3 | 9a9e511d4881edaa293b6378e3f81ab853fa8b31 | /src/libs/gui/swfruntime/utils.cpp | a28730ceae422f2d74ea69b22bdf544339a68c64 | [] | no_license | DeanoC/old_yolk | d14a4c02da1841f83e919915bd62bfd51d6a309b | 3d413320c2a0e53e3ddc9c76a801b5b91abe2028 | refs/heads/master | 2021-07-14T02:17:44.062551 | 2017-08-01T16:17:31 | 2017-08-01T16:17:31 | 208,746,200 | 0 | 0 | null | 2020-10-13T16:04:18 | 2019-09-16T08:15:54 | C++ | UTF-8 | C++ | false | false | 1,145 | cpp | //
// SwfRuntimeUtils.cpp
// Projects
//
// Created by Deano on 2008-09-27.
// Copyright 2012 Cloud Pixies Ltd. All rights reserved.
//
#include "swfruntime.h"
#include "gui/swfparser/SwfMatrix.h"
#include "gui/swfparser/SwfColourTransform.h"
#include "utils.h"
namespace Swf {
Math::Matrix4x4 C... | [
"deano@cloudpixies.com"
] | deano@cloudpixies.com |
8f34a1eb74640ad4d178f6c2d5c3ae5ffe76cadb | ffec661fbab4218ece3b026d84606813c0ddc9ac | /src/objects/js-objects-inl.h | 9a755af84a321123a84f1ba19d7ffa791af188f8 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | j10sanders/v8 | ce9dd110b17eef969d21b28185796706ba7ce89a | 0988e0d6477dfee77535cbbd08d3e519a40ee874 | refs/heads/master | 2020-04-22T19:34:36.935169 | 2019-02-13T22:54:45 | 2019-02-14T00:02:03 | 170,612,198 | 0 | 0 | NOASSERTION | 2019-02-14T02:17:34 | 2019-02-14T02:17:34 | null | UTF-8 | C++ | false | false | 36,366 | h | // Copyright 2018 the V8 project 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 V8_OBJECTS_JS_OBJECTS_INL_H_
#define V8_OBJECTS_JS_OBJECTS_INL_H_
#include "src/objects/js-objects.h"
#include "src/feedback-vector.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7ca67e2e5f3b841a8b8aa8673118bc2de24031a9 | 6b57df76567fc391ba3f7e9f741a742d792b606b | /fundcomp/lab10/board.h | a6d16cb6356ff34a33bc1ff2572d803b1f1b9fb1 | [] | no_license | nolan-downey/SchoolCodingWork | 66393a9839c807a1a7ba5f1de6fe4a4fe8562da0 | 4592791d67a7191b9bfc2cb78232fef230b36c39 | refs/heads/master | 2022-04-13T12:30:24.494405 | 2020-04-06T00:22:30 | 2020-04-06T00:22:30 | 253,351,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | h | //Nolan Downey
//board.h
#include <vector>
#include <string>
using namespace std;
const bool ACROSS = 1;
const bool DOWN = 0;
const int SZ = 15;
const string END = ".";
struct Word {
string a_word;
string s_word;
int down;
int across;
bool orientation;
bool placed;
};
class Board {
public:
Board();
~Boa... | [
"ndowney@student12.cse.nd.edu"
] | ndowney@student12.cse.nd.edu |
ec87cd25bff562aaa71e23b8a14d22753513c05c | f1fd5b8854f5c43424f524e4326cec664a943262 | /charm/Mesytec.config.hpp | c92e445ab70c2e03816e50c458d5df717f338bac | [] | no_license | zweistein22/CHARMing | 771fd89fcfb2926ae2fe220eff0b80cc4a5ab082 | 1c19002db7f18e729e050dcec969c23b6e404745 | refs/heads/master | 2023-07-30T23:23:12.315525 | 2021-10-07T08:20:51 | 2021-10-07T08:20:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,147 | hpp | /* _ _ _
___ __ __ __ ___ (_) ___ | |_ ___ (_) _ _
|_ / \ V V / / -_) | | (_-< | _| / -_) | | | ' \
_/__| \_/\_/ \___| _|_|_ /__/_ _\__| \___| _|_|_ |_||_|
_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|... | [
"andreas.langhoff@frm2.tum.de"
] | andreas.langhoff@frm2.tum.de |
f58273eebab81f61cb853ccfe7316810375a60a2 | 1f6578736dac2b14aee2b790867c09980a72f697 | /src/ClientPatch/HookMgr.cpp | b2a9957bf3a8e4b811f00b4567c81e412cc5e3f7 | [] | no_license | gabrielbsx/wyd-spirit-destiny | c1899c76f55a10595b9c9ce8333d210e9b8c7654 | ba0fb01cf511c7a54ae302c5dc9d8456f6b44ca4 | refs/heads/master | 2023-09-06T05:38:59.671009 | 2021-03-28T22:29:38 | 2021-03-28T22:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | cpp | #include "pch.h"
#include "HookMgr.h"
#include <exception>
#include "pe_Hook.h"
#include "Naked.h"
void HookMgr::ChangeWindowName()
{
const char* windowName = "Spirit Destiny - https://spirit-destiny.com/";
PEHook::SETDWORD((int)windowName, 0x05494FC + 1);
}
void HookMgr::FixAutoTradeName()
{
PEHook:... | [
"patrikveloso@gmail.com"
] | patrikveloso@gmail.com |
78537fee0c8cd4738e0fc5fc8666319ffe764a57 | 88aac5840b11009e4fb0275c150329b3e46c9e1c | /SFML_GAME/HitboxComponent.cpp | 3729637c899ba04d189bd8b18e3456c97a03dfdb | [] | no_license | ohmlim123/Game-suraj-Ohmlim | bcf640b48fa0aa9f74d08869df95a93d23cd11d5 | 4afc60059728c490c55b59b89df6dcf06ebfa1f6 | refs/heads/master | 2023-01-13T18:18:10.685423 | 2020-11-20T19:40:07 | 2020-11-20T19:40:07 | 306,371,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,946 | cpp | #include"stdafx.h"
#include "HitboxComponent.h"
HitboxComponent::HitboxComponent(sf::Sprite& sprite,
float offset_x, float offset_y,
float width, float height)
:sprite(sprite), offsetX(offset_x),offsetY(offset_y)
{
this->nextPosition.left = 0.f;
this->nextPosition.top = 0.f;
this->nextPosition.width = width;
... | [
"ohmlim1234567@gmail.com"
] | ohmlim1234567@gmail.com |
0a04810b26fd127ed254db3a97f9ac813286fc46 | 9ddc81b9f8285b3a384b13fbbbf292f4a473e638 | /src/qt/test/test_main.cpp | 0483571436c0544204014055adc80adb083b3ad7 | [
"MIT"
] | permissive | Al3xxx19/jiyo | 80f15e659e80a928823be6e7c6e1b9a16920b78c | 363ae3a1f1154c64ddf066a5095973b3cd9b1268 | refs/heads/master | 2020-04-25T17:34:44.187357 | 2019-02-27T17:34:37 | 2019-02-27T17:34:37 | 172,953,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | cpp | // Copyright (c) 2009-2009 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018-2018 The Jiyo developers
// Distributed under the MIT software license, see the accompanying
// file COPYING ... | [
"39266190+Al3xxx19@users.noreply.github.com"
] | 39266190+Al3xxx19@users.noreply.github.com |
ef9a754079c0db91440a9dba63fcf9b96e68f416 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_log_6301.cpp | a7de7af12f6a8d052cec3db6648f11d83f7699c1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | fputs(
" --crlf (FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).\n"
"\n"
" --crlfile <file>\n"
" (HTTPS/FTPS) Provide a file using PEM format with a Certificate\n"
" Revocation List that may specify peer certificates that are to\n"
" be considered revoke... | [
"993273596@qq.com"
] | 993273596@qq.com |
f8c3231a602cc458b78b358f7071cd937c7ce6ee | 47924dd44a8e071aa113f0f2b9e8700e21a5d934 | /Marlin/Marlin_main.cpp | 12ae360d66e22665a5349ff03a75a53687abc1e3 | [] | no_license | masterzion/Marlin1.4 | 4cf585b0b47811517a12296c43e2c1db7b72e1b0 | fd079a5d81484bb66699937bfe6dfb9d4ebc2531 | refs/heads/main | 2023-04-18T23:59:31.678600 | 2021-05-03T14:56:49 | 2021-05-03T14:56:49 | 363,965,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537,086 | cpp | /**
* Marlin 3D Printer Firmware
* Copyright (C) 2016, 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of t... | [
"master.zion@gmail.com"
] | master.zion@gmail.com |
7b7be03b070b7eef158519603af2b422f5638624 | 629f413e1ef30c1e388c89613c0012b1b8dfa96d | /src/sherpaTTPlanner_rtwutil.cpp | 71a3d35440bf186bc4c796c6e153e0f55c593e0d | [] | no_license | wired2015/single_leg_planner | be59dfb6bf241387bed331d7ee0c594ef15a3136 | 439a226c506f6850950237cc31e016626f477444 | refs/heads/master | 2020-06-04T05:59:50.661336 | 2015-03-05T14:03:37 | 2015-03-05T14:03:37 | 30,363,456 | 0 | 1 | null | 2015-03-05T09:26:23 | 2015-02-05T15:46:44 | HTML | UTF-8 | C++ | false | false | 1,447 | cpp | //
// File: sherpaTTPlanner_rtwutil.cpp
//
// MATLAB Coder version : 2.7
// C/C++ source code generated on : 05-Mar-2015 15:01:21
//
// Include Files
#include "rt_nonfinite.h"
#include "buildBiDirectionalRRTWrapper.h"
#include "buildRRTWrapper.h"
#include "randomStateGenerator.h"
#include "sherpaTTPlanner_... | [
"will.reid3@gmail.com"
] | will.reid3@gmail.com |
ad8357622c3545b72fc13eabf74f8f6600a8b27b | e0e0d7c929d353ffd903fff0826faec9d4c904e9 | /TowerD/TextBox.cpp | f1bb4c6906f1c6b7f26e946cddcf3ff387bdc9bf | [] | no_license | rich98521/FYP | 11a06dbb4457849bb9376bbb8f63b8fddda8eee8 | d6624d1a1960da1db45a5ab61bdd06eab0b056b1 | refs/heads/master | 2021-01-21T13:26:34.653989 | 2016-04-20T20:16:48 | 2016-04-20T20:16:48 | 45,685,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,340 | cpp | #include "stdafx.h"
#include "TextBox.h"
//button just containing text
TextBox::TextBox(sf::FloatRect r, string text, string value, Renderer* ren, int maxChars) : mRect(r), mValueText(value, "detente.ttf"), mText(text, "detente.ttf"), mRen(ren)
{
mValueText.setColor(sf::Color(20, 20, 20, 255));
mValueText.setCharact... | [
"richie98521@gmail.com"
] | richie98521@gmail.com |
4e4c923616a10c6a25c90b35c9ccad077b911d24 | 5c7e7bb3222e2f27858d15b5d5bc51c0a5d763e7 | /obj_dir/VMIPS__Syms.cpp | 63366bd90bd3e11c75fb360ef8b486bbf52d87ab | [] | no_license | NickTGraham/ECE401_Project1 | ec68570167816c37bd51488f1eeca720fb240d83 | a8e857137aace9eb52f1dc81856690d79535204d | refs/heads/master | 2021-03-30T15:59:41.310980 | 2017-11-16T18:43:14 | 2017-11-16T18:43:14 | 70,346,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,982 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Symbol table implementation internals
#include "VMIPS__Syms.h"
#include "VMIPS.h"
#include "VMIPS_MIPS.h"
#include "VMIPS_ID.h"
#include "VMIPS_EXE.h"
#include "VMIPS_RegFile.h"
// FUNCTIONS
VMIPS__Syms::VMIPS__Syms(VMIPS* topp, const char* namep)
// Setup l... | [
"nickdud341@gmail.com"
] | nickdud341@gmail.com |
75338c90e48290ac44c3b5ea3d01388d40388326 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rmixmod/src/mixmod_iostream/to_be_removed/DomClusteringProject.h | 0029cfb45458b0ba920b2a17bacb04d2a71065e3 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,165 | h | /***************************************************************************
SRC/MIXMOD_IOSTREAM/XEMDomClusteringProject.h description
copyright : (C) MIXMOD Team - 2001-2011
email : contact@mixmod.org
*****************************************************... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
ecc849a7a6ca2ffca86cc49eeca1d59722aeff86 | 75f9da31883b36375475f86dddf4a72750d3b2ee | /src/chem/energyChiralRestraint.cc | d9f3ae9f7aec52fbd69de478fab68e9364604f24 | [] | no_license | salewski/cando | b5a4e7ef94260c29771dcabec80854e0495ca88f | 118320d70c5fab2c5fba7692f3d684ebda903520 | refs/heads/master | 2020-06-09T13:13:57.069065 | 2019-03-29T20:07:02 | 2019-03-29T20:07:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,510 | cc | /*
File: energyChiralRestraint.cc
*/
/*
Open Source License
Copyright (c) 2016, Christian E. Schafmeister
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without ... | [
"chris.schaf@verizon.net"
] | chris.schaf@verizon.net |
77ca718c7e79a844735da4ca3b32e5dc7dd6cff2 | bcd30d9e7f89a54c0eff1cf2bb52fbb9c37aa3c7 | /lib/IMU/ITG3200.cpp | 54e6b558ca08e323e0c4f67b87329c173f9c4e91 | [] | no_license | tbhsm/Flight_controller | c93481eef8471f38039b8f46c8ed5b0d175b3be8 | 61c97e6c576681c26dd07117bfbfb3159f6f2e4b | refs/heads/master | 2021-09-25T13:41:31.091284 | 2018-10-22T18:12:45 | 2018-10-22T18:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | #include "ITG3200.h"
int ITG3200::initialize(ITG3200ConfigStruct config)
{
i2c.frequency(400000);
// set sample rate and filter frequency
buffer[0] = REG_CONFIG;
buffer[1] = (FS_SELECT << FS_OFFSET) | SAMPLE_RATE_1KHZ_188;
i2c.write(ITG3200_ADDRESS, buffer, 2);
// set sample divider
buff... | [
"timhosman@hotmail.com"
] | timhosman@hotmail.com |
f2f469b0ac6e6412aeaa52fe13d09ab54bfdf276 | 497f9e14784bbf49e4c250ab9d0129465acca309 | /src/Calibration.cpp | 347bfd402f363ebe746fe9b9cea6a4fb091b8b11 | [] | no_license | davidjonas/Painter | 72b3b5e0fd91133aa79083f5e205b370d179a15e | dabc95cadba28df15b158adf33227d341635687f | refs/heads/master | 2021-01-02T09:28:43.965228 | 2017-11-14T18:24:44 | 2017-11-14T18:24:44 | 99,219,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include "Calibration.h"
Calibration::Calibration()
{
flipX = flipY = flipZ = true;
angle = 0;
//ofQuaternion qtAdd(-0.122736, 0, 0, 0.992439);
//rotation = qtAdd;
}
| [
"davidjonasdesign@gmail.com"
] | davidjonasdesign@gmail.com |
ba0013256a3f50bad7f92094693be78cb0456ddc | b7e97047616d9343be5b9bbe03fc0d79ba5a6143 | /test/core/select/residue_selector/NeighborhoodResidueSelector.cxxtest.hh | 400c01e653edaeb01e6ff6377121c0ebc232475c | [] | no_license | achitturi/ROSETTA-main-source | 2772623a78e33e7883a453f051d53ea6cc53ffa5 | fe11c7e7cb68644f404f4c0629b64da4bb73b8f9 | refs/heads/master | 2021-05-09T15:04:34.006421 | 2018-01-26T17:10:33 | 2018-01-26T17:10:33 | 119,081,547 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,364 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"achitturi17059@gmail.com"
] | achitturi17059@gmail.com |
16f43584dd3287e2aef2d88b1b77e409aace7a61 | fbe68d84e97262d6d26dd65c704a7b50af2b3943 | /third_party/retdec-3.2/include/retdec/llvmir2hll/optimizer/optimizers/simplify_arithm_expr/const_operator_const_sub_optimizer.h | a6f1abc2ad91b5022aaa22590fe6d1e349d9674e | [
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"WTFPL",
"LGPL-2.1-only",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"LGPL-2.0-or-later",
"JSON",
"Zlib",
"NCSA",
"LicenseRef-scancode-proprietary-license",
"G... | permissive | thalium/icebox | c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb | 6f78952d58da52ea4f0e55b2ab297f28e80c1160 | refs/heads/master | 2022-08-14T00:19:36.984579 | 2022-02-22T13:10:31 | 2022-02-22T13:10:31 | 190,019,914 | 585 | 109 | MIT | 2022-01-13T20:58:15 | 2019-06-03T14:18:12 | C++ | UTF-8 | C++ | false | false | 3,782 | h | /**
* @file include/retdec/llvmir2hll/optimizer/optimizers/simplify_arithm_expr/const_operator_const_sub_optimizer.h
* @brief A sub-optimization class that optimize expression like Constant operator
* constant
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_LLVMIR2HLL_OPTI... | [
"benoit.amiaux@gmail.com"
] | benoit.amiaux@gmail.com |
615b2368a80efb83f380580221cdb738f8002b64 | 600d5ec32e3fe52a2fd589f036917470000e0d10 | /monotone_increase_digits.cpp | a485e63a06945c1fc0aaec5eca1577ecf397423e | [] | no_license | Shubham-js/Codes | 5a6ce3b33c35ff495cc7f4610c05bb97e829eeea | 703a63e7e95e89ab9ed2f79da9b18d90a496220c | refs/heads/main | 2023-05-28T17:07:57.214838 | 2021-06-12T20:33:10 | 2021-06-12T20:33:10 | 372,717,217 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | #include<bits/stdc++.h>
using namespace std;
class Solution {
public:
int monotoneIncreasingDigits(int n) {
if (n >= 0 and n <= 9)
{
return n;
}
vector<int>v;
while (n > 0)
{
int r = n % 10;
n /= 10;
v.push_back(r);
... | [
"66121483+Shubham-js@users.noreply.github.com"
] | 66121483+Shubham-js@users.noreply.github.com |
4780e4bf593c3fa0a4aa0dd61e2f2da0bd2ac49a | 37b5230d6fcd00b432bb9202ee9299977b11b5bf | /lib/interop-1.1.8/include/interop/util/string.h | 455324f7d112b30c4fdc37f6ef8a2b21b9d431b5 | [
"MIT"
] | permissive | guillaume-gricourt/HmnIllumina | f1a19880ad969282ce3fe1265f50c0a001287e44 | 2a925bcb62f0595e668c324906941ab7d3064c11 | refs/heads/main | 2023-04-28T18:15:56.440126 | 2023-04-17T17:10:57 | 2023-04-17T17:10:57 | 577,830,976 | 0 | 0 | MIT | 2023-09-08T21:56:15 | 2022-12-13T16:14:48 | C++ | UTF-8 | C++ | false | false | 1,857 | h | /** String utilities
*
* @file
* @date 5/16/16
* @version 1.0
* @copyright GNU Public License.
*/
#pragma once
#include <cctype>
namespace illumina { namespace interop { namespace util
{
// replace, camel_to_space
//
/** Replace any first occurence of substring from with substring to
*
... | [
"guipagui@gmail.com"
] | guipagui@gmail.com |
aa8500cfc0702e3bf1b2a0a1678f6e8d6b02ee25 | 6eb7f67e2d69a1adf45b123fd7d2e8f8ee3058b7 | /src/lib/geogram/delaunay/periodic.h | 66dafb68eb35af20cf74f99f011536cacfc83269 | [
"BSD-3-Clause"
] | permissive | nyorem/geogram | e779a1e574cff2ac1796ebf7569315dceb57ba33 | 1bd64a158101626cf7ce7c04153f48c45b245f17 | refs/heads/main | 2022-11-24T12:41:42.234938 | 2022-11-17T21:37:55 | 2022-11-17T21:37:55 | 567,473,547 | 0 | 0 | NOASSERTION | 2022-11-17T21:40:38 | 2022-11-17T21:40:37 | null | UTF-8 | C++ | false | false | 6,361 | h | /*
* Copyright (c) 2000-2022 Inria
* 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,
* this list of conditi... | [
"Bruno.Levy@inria.fr"
] | Bruno.Levy@inria.fr |
df25b8c2daee452f8bebe3a342eb2111b3c917ae | 8bec7effc5893a09421b9cfa7877d1f566d12069 | /Source/CubeSurvival/Private/Character/CSPlayerCharacter.cpp | 0adcd2f11398aca9eae23a4ef7dc4caa58a1b3b0 | [] | no_license | ShinChanhun/CubeSurvival | eb2c9fc46894cdd2ce58e34292656622ae822fad | c53eedbd690a54ca0f0e52bbf5c75a186b049534 | refs/heads/master | 2021-07-14T17:16:31.053623 | 2020-08-05T11:14:30 | 2020-08-05T11:14:30 | 193,646,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "CSPlayerCharacter.h"
ACSPlayerCharacter::ACSPlayerCharacter()
{
PrimaryActorTick.bCanEverTick = false;
} | [
"wjdwlrdhks@naver.com"
] | wjdwlrdhks@naver.com |
a760477cc586bd62990f86660e9477d935014032 | 7e112d201abfcb60fbc97d1deb7b4cfa402cda40 | /src/main.cpp | 6d13d46d503f8eb533ce60ee8aa8db9a28e79622 | [
"BSD-2-Clause"
] | permissive | panxiaosen/esp32-lora-mqtt | a98f01df2db12accc20917df8e35f06071d6c20e | dc2cb75430aef4e0879c856be512f3821a7799f3 | refs/heads/master | 2023-03-17T21:22:23.788369 | 2020-01-22T18:38:53 | 2020-01-22T20:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,953 | cpp | #include "config.h"
#include <heltec.h>
#include <AES.h>
#include <EEPROM.h>
#include <PubSubClient.h>
#include <WiFi.h>
#include <WiFiMulti.h>
#include <esp_system.h>
using namespace LoRaGateway;
constexpr LoRaNodeID const LORA_GW_ID = 0xffff;
static Config config;
static WiFiMulti wiFiMulti;
static WiFiClient w... | [
"rainer.poisel@gmail.com"
] | rainer.poisel@gmail.com |
7fdbe0519effb9318907b4041b6808e126fad44f | e1e5d6f0a6b4b55697cc2226b8582980f054697a | /src/NodeEngine/Core/ActionTarget.hpp | 401030085d66e34b629c918a46131f4a9b2a794a | [] | no_license | gitter-badger/Delmia | 3b736c9ae422c0e6fa33ba1002040d76fff7d3a6 | 488ae6a8ff5d5a1dea8111955722b1a8cddbf8d6 | refs/heads/master | 2021-01-12T14:45:18.438239 | 2016-03-24T06:56:48 | 2016-03-24T06:56:48 | 54,749,140 | 0 | 0 | null | 2016-03-25T21:41:48 | 2016-03-25T21:41:48 | null | UTF-8 | C++ | false | false | 890 | hpp | #ifndef NACTIONTARGET_HPP
#define NACTIONTARGET_HPP
#include "ActionMap.hpp"
#include "Tickable.hpp"
class NActionTarget : public NActionMap, public NTickable
{
public:
NActionTarget();
typedef std::function<void(sf::Time dt)> ActionCallback;
void bind(std::string const& id, ActionCallba... | [
"charles.mailly@free.fr"
] | charles.mailly@free.fr |
ee39d1b71c1862b873e28c06d8019ab33ec8ea41 | a5c0ecb91a259adf14cc803346497bb305bf47ed | /include/experimental/__p1673_bits/blas1_linalg_add.hpp | 97d95b8190c300462cc1c1e44873eaafcbe7315c | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | bdhss/stdBLAS | 23d791525631b1068a4f51f1f97142de931d1b63 | d3a45e34efa041b165404b5ec9c5337816e8477f | refs/heads/main | 2022-10-31T04:13:50.951849 | 2020-06-19T00:16:25 | 2020-06-19T00:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,846 | hpp | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2019) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | [
"mhoemme@sandia.gov"
] | mhoemme@sandia.gov |
38fb8fc78520a24e707b592a5560fa98b7d313bc | b11c1346faff5041bf94d300e821448fbe2a18f2 | /01HelloWinRT/Debug/Generated Files/winrt/Windows.Gaming.Input.ForceFeedback.h | ce33b3d0719e5f0efe308f7ae0580dfcf9aafbc5 | [] | no_license | ShiverZm/CxxWinRT_Learn | 72fb11742e992d1f60b86a0eab558ee2f244d8f1 | 66d1ec85500c5c8750f826ed1b6a2199f7b72bbe | refs/heads/main | 2023-01-19T12:09:59.872143 | 2020-11-29T16:15:54 | 2020-11-29T16:15:54 | 316,984,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,351 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.190404.8
#ifndef WINRT_Windows_Gaming_Input_ForceFeedback_H
#define WINRT_Windows_Gaming_Input_ForceFeedback_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.190404.8"), "Mismatched C++/WinRT headers.");
#inc... | [
"1113673178@qq.com"
] | 1113673178@qq.com |
c9c8fee6b2dc26b013702a70c82782992c761467 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/HitProxies.gen.cpp | be6b37dac2cd41b288ed87f502c160e4f00e1e41 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 3,660 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
db47238eb4637635615960bde837ed86eab23506 | 131223db8fe76478768e174d85828cf10862c0dc | /services/bluetooth_standard/service/src/avrcp_ct/avrcp_ct_notification.cpp | 10068e467d2791ab0cc35732fa1074feed044419 | [
"Apache-2.0"
] | permissive | openharmony-gitee-mirror/communication_bluetooth | e3c834043d8d96be666401ba6baa3f55e1f1f3d2 | 444309918cd00a65a10b8d798a0f5a78f8cf13be | refs/heads/master | 2023-08-24T10:05:20.001354 | 2021-10-19T01:45:18 | 2021-10-19T01:45:18 | 400,050,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,798 | cpp | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"guohong.cheng@huawei.com"
] | guohong.cheng@huawei.com |
a7d8329842a5c5e63f2d2d5745c7351a1c62da14 | b4ea2e3422db249fec4e8696c76184629479aa87 | /include/fcsc/sandwich_pose.hpp | be7196a92cd49452ee8dae1f9144ab0f31a741a2 | [] | no_license | xmba15/fcsc | ed325a45ac24097caef8334a43e85245c60b275c | 769e12f71e221712e0fcbb0070c9c350c6564ca8 | refs/heads/master | 2022-07-28T02:50:57.919062 | 2018-10-02T12:11:28 | 2018-10-02T12:11:28 | 151,177,940 | 0 | 0 | null | 2022-06-21T21:29:05 | 2018-10-02T00:10:32 | Jupyter Notebook | UTF-8 | C++ | false | false | 1,038 | hpp | // Copyright (c) 2018
// All Rights Reserved.
#pragma once
#include <ros/ros.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/conversions.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/features/moment_of_inertia_estimation.h>
#include <sensor_msgs/PointCloud2.h>
#include <geome... | [
"thba1590@gmail.com"
] | thba1590@gmail.com |
112663d693967de7b71b50023706017ea8f59851 | 1c216ea07d9cf0ddcadc479e848472bb712438ce | /eval_postfix.h | e5a0cacdc62658ed57f0040f64d0c89add0b1721 | [] | no_license | rod41732/2110211-Intro-Data-Struct | 1181ee7c4f3e857678403d2d2832ae4c0e3549cb | cf7b13f172b00eb9b7db724fe1996bf72d403743 | refs/heads/master | 2020-03-29T21:49:09.749082 | 2018-09-26T07:57:05 | 2018-09-26T07:57:05 | 150,389,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | #include <vector>
#include <algorithm>
#include <stack>
#include <map>
using namespace std;
int eval_postfix(const vector<pair<int,int> > &v){
stack<int> op;
for (pair<int, int> p: v){
if (p.first == 1) op.push(p.second);
else {
int t1 = op.top(); op.pop();
int t2 = op.t... | [
"rod8711@gmail.com"
] | rod8711@gmail.com |
2b3f99fd50acb87d09762d1a4281d262f84c66d1 | 9a4fe73a39bf7912d4480f88933d11ba139b0c34 | /src/lib/libc++/libcxx/include/iostream | 348ec0a0034ce9971ebe96605faa79cfbef418f7 | [
"MIT",
"NCSA",
"LicenseRef-scancode-mit-nagy",
"LicenseRef-scancode-other-permissive",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-musl-exception",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | JasonZhouPW/ontology-wasm-cdt-cpp | ddd4bd67342d37692ea78a991618a9b52494c83e | 488fc0fd8623d95ab570947630aaa54c8fe4bce2 | refs/heads/master | 2020-05-02T12:30:25.100024 | 2019-03-27T08:54:39 | 2019-03-27T09:02:19 | 177,959,753 | 0 | 0 | null | 2019-03-27T09:21:02 | 2019-03-27T09:21:01 | null | UTF-8 | C++ | false | false | 1,463 | // -*- C++ -*-
//===--------------------------- iostream ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | [
"chenglin.cn@163.com"
] | chenglin.cn@163.com | |
c07c914375bc514eae39955a9e34b4c8ec833769 | 53392ccfdc49ffde0d0372c93e065857e944f58f | /backjoon/10828.cpp | 964a5b757f76cf31de57c89ac46d91d35b92a558 | [] | no_license | pthdud1123/Algorithm | 4524bf79103b90960ce47cabd0c6749181b77685 | e0a461280f9cd968709f8b120eed0c6198c52a55 | refs/heads/main | 2023-08-23T04:23:30.931923 | 2021-11-02T09:07:58 | 2021-11-02T09:07:58 | 299,723,052 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 790 | cpp | #include<iostream>
#include<stack>
#include<string>
using namespace std;
int main() {
int N;//명령의 수
cin >> N;
stack<int> s;//int형 자료형을 저장하는 스택 생성
string a;
for (int i = 0;i < N;i++) {
cin >> a;
if (a == "push") {
int number;
cin >> number;
s.push(number);
}
else if (a == "pop") {
if (s.em... | [
"68340532+pthdud1123@users.noreply.github.com"
] | 68340532+pthdud1123@users.noreply.github.com |
ec2ff327d46feb8abdea3f2664d9ec582e93ac87 | c81a507a4c76db54e9e29a2a457a017a8725a8c2 | /src/utils/blitz_cpu_function.cc | 5d8a2e148b75762408f97d9de7dfe93fac2f2fa6 | [] | no_license | CSWater/blitz | b8e5d1f5a69a64a9dc12be7252f95ed40f2178c5 | cc5488f1623f5b3161fa334e6813d499918dcc5e | refs/heads/master | 2020-06-11T00:27:52.466242 | 2016-12-27T07:49:22 | 2016-12-27T07:49:22 | 75,832,706 | 1 | 0 | null | 2016-12-07T12:11:00 | 2016-12-07T12:10:59 | null | UTF-8 | C++ | false | false | 1,261 | cc | #include "utils/blitz_cpu_function.h"
#include "utils/common.h"
namespace blitz {
template<>
void BlitzCPUGemm<float>(
float* A, float* B, float* C,
bool transa, bool transb,
float alpha, float beta,
size_t M, size_t N, size_t K) {
CBLAS_TRANSPOSE TransA = transa ? CblasTrans : CblasNoTrans;
size_t lda = ... | [
"robinho364@gmail.com"
] | robinho364@gmail.com |
b41c91c1b7c51b311491a0ce77fc1eb46c211816 | 49bf571e8f5e9ee2e6119a7d4582f3d762b68a08 | /gei zitent/testWebEngine/main.cpp | 43da4c5e621b8465e7d2c31ce07ed51becaf8192 | [] | no_license | a798447431/Qt_Project | a88e5b31e5175617787799d27c2a4603d8a09d0b | 03c7518b59d56369df97582505e1729503fa1664 | refs/heads/master | 2020-12-27T12:24:42.999604 | 2020-02-03T06:45:41 | 2020-02-03T06:45:41 | 237,900,469 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | #include <QApplication>
#include <QQmlApplicationEngine>
#include "mainform.h"
#include "myform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyForm w ;//创建主界面对象
w.show();//显示主界面
return app.exec();
}
| [
"253604653@qq.com"
] | 253604653@qq.com |
97bedaba838016a92f009995a52547b43fdd78ca | e9acf56f8545281397b5da70954c01f216080a1a | /Notes/Notes.ino | cf77179347b014eeb59f8ed75ddc5ee29a4a9edf | [] | no_license | melimathlete/Artduino | 3ad4f1805ad03d8f9c6d9f9a57893ae9bbc9bf5f | 1cf65c96fd1a0f8e9927b4debf75ecc7b84e77de | refs/heads/master | 2020-04-11T09:59:42.481954 | 2018-12-14T00:20:43 | 2018-12-14T00:20:43 | 161,698,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,880 | ino |
#include <Servo.h>
class Eighth{
Servo finger1; // create servo object to control a servo
// twelve servo objects can be created on most boards
const byte pin;
int pos = 0; // variable to store the servo position
int count = 0;
void setup() {
// put your setup code here, to run once:
finger1... | [
"23112766+melimathlete@users.noreply.github.com"
] | 23112766+melimathlete@users.noreply.github.com |
89df48c02c2792c0fddcba6f493e6c5576462b61 | 63da17d9c6876e26c699dc084734d46686a2cb9e | /inf-2-practical/06. Object Lifetime, RAII, Rule of 3/Sources/beer.cpp | 82e06f08c5b876ce1135338ad6fe6e55b790713d | [] | no_license | semerdzhiev/oop-2020-21 | 0e069b1c09f61a3d5b240883cfe18f182e79bb04 | b5285b9508285907045b5f3f042fc56c3ef34c26 | refs/heads/main | 2023-06-10T20:49:45.051924 | 2021-06-13T21:07:36 | 2021-06-13T21:07:36 | 338,046,214 | 18 | 17 | null | 2021-07-06T12:26:18 | 2021-02-11T14:06:18 | C++ | UTF-8 | C++ | false | false | 783 | cpp | #include <iostream>
#include <cstring>
#include "../Headers/beer.hpp"
void Beer::copyFrom(const Beer &other)
{
brand = new char[strlen(other.brand) + 1];
strcpy(brand, other.brand);
volume = other.volume;
abv = other.abv;
}
void Beer:: free()
{
delete[] brand;
}
Beer:: Beer()
{
brand = new ch... | [
"blagovesta.simonova@gmail.com"
] | blagovesta.simonova@gmail.com |
5c51abe8009ebfc9a56e3fec7a9f02c9c942632b | 9594717431a92058bc368a7c55e79c777119d8b1 | /src/kalman_filter.cpp | 2ba71d8200fbf0f505e8c837b8f87d461f8ff6a6 | [] | no_license | dills003/Extended_Kalman_Filter | bf064e9b3ee3009ac151d08a3002a04b0989f73c | 2c939302fc56663079efb56ab7be5f0b63f3aab8 | refs/heads/master | 2021-01-23T01:17:50.667637 | 2017-05-31T01:30:03 | 2017-05-31T01:30:03 | 92,864,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp | #include "kalman_filter.h"
#include <iostream>
#define PI 3.14159265359
#define TINY_NUMBER .2 //used to check if radar px py are close to an axis
using Eigen::MatrixXd;
using Eigen::VectorXd;
using namespace std;
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::Init(VectorXd &x_i... | [
"dills003@gmail.com"
] | dills003@gmail.com |
d78596c8d09e1050b0fad52ad0799b735700bba5 | 2af943fbfff74744b29e4a899a6e62e19dc63256 | /IntelligentSI/Communication/otigtl/libs/ace/QoS/SOCK_Dgram_Mcast_QoS.cpp | 16e34f6947792df806690c1fbfbf03128c0d993c | [] | no_license | lheckemann/namic-sandbox | c308ec3ebb80021020f98cf06ee4c3e62f125ad9 | 0c7307061f58c9d915ae678b7a453876466d8bf8 | refs/heads/master | 2021-08-24T12:40:01.331229 | 2014-02-07T21:59:29 | 2014-02-07T21:59:29 | 113,701,721 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,909 | cpp | // SOCK_Dgram_Mcast_QoS.cpp,v 1.16 2005/12/08 22:25:45 ossama Exp
#include "SOCK_Dgram_Mcast_QoS.h"
#include "ace/Log_Msg.h"
#include "ace/OS_NS_sys_socket.h"
#if defined (ACE_WIN32)
#include "ace/Sock_Connect.h" // needed for subscribe_ifs()
#endif /* ACE_WIN32 */
#if !defined (__ACE_INLINE__)
#include "SOCK_Dgram... | [
"tokuda@5e132c66-7cf4-0310-b4ca-cd4a7079c2d8"
] | tokuda@5e132c66-7cf4-0310-b4ca-cd4a7079c2d8 |
636b8a3a256d8f0802f4b6018ca3b8a8b0cd9fc0 | 70fa0ad1dbc8326130f68309bd61b4e30f2d8a4d | /mosp/mosp-client/terrain.h | edd2d7764c30f820b4ff617f3d3155a70e594708 | [] | no_license | alongubkin/mosp | cb21f9faa4b66f2cc6e1f6625c2ab0495b138ef1 | bba6ab1a4cb78e75bcd2aa65d748601a355b0a1c | refs/heads/master | 2020-04-07T05:54:44.149987 | 2015-04-10T11:05:50 | 2015-04-10T11:05:50 | 24,295,645 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 131 | h | #pragma once
#include "stdafx.h"
class Terrain
{
public:
Terrain(Ogre::SceneManager* sceneManager);
~Terrain();
};
| [
"guymor4@gmail.com"
] | guymor4@gmail.com |
7fe538bbd5367db354155664c657bf6f9adbfe5c | 05f3e15798584b737ff7a94cac4600e81230d69e | /HopfieldUser.h | 77a7b0328f4d666885b5ce1c42229faf58256c5c | [] | no_license | jjawor/projects | 4418b733f84987d641e2c586f27915f6b61a6789 | cfda168da919e9aae3ac78b336502abcb4cd4292 | refs/heads/master | 2016-09-06T00:49:16.317950 | 2013-05-08T19:45:17 | 2013-05-08T19:45:17 | 9,944,268 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,161 | h | #include "HopfieldNetwork.h"
class HopfieldUser{
private :
int historySize;
double margin;
HopfieldNetwork * hpGood;
HopfieldNetwork * hpBad;
double * toBinnaryPattern(int * source,int where,int size){
double * pattern= new double [8*sizeof(int)*size];
for(i... | [
"jakubjawor@gmail.com"
] | jakubjawor@gmail.com |
d71df32120da785f048dadf8ac343d8199f9d6f8 | 2e37dcef53c5f5dbd8d3e5eec50884375bf02750 | /src/Render/BlockData/BlockVolumeManager.hpp | 526ab4467a068e414e068ffb24a3d601780e0578 | [] | no_license | wyzwzz/NeuronAnnotation | 2e121b5be02f9420caa3076d52de448c2e0802b4 | 994f3525ab69c1c65b93139e974265e9d16bc481 | refs/heads/main | 2023-04-25T11:23:32.268258 | 2021-05-18T08:21:55 | 2021-05-18T08:21:55 | 352,972,843 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,239 | hpp | //
// Created by wyz on 2021/4/19.
//
#ifndef NEURONANNOTATION_BLOCKVOLUMEMANAGER_HPP
#define NEURONANNOTATION_BLOCKVOLUMEMANAGER_HPP
#include<VoxelCompression/voxel_uncompress/VoxelUncompress.h>
#include<VoxelCompression/voxel_compress/VoxelCmpDS.h>
#include<list>
#include<Common/utils.hpp>
#include<Common/help_cuda... | [
"1076499338@qq.com"
] | 1076499338@qq.com |
7942cf35f5b26d4d33375c3e22be10d5365135c5 | dd1cc8316c29707ee7a0f7333fcbb5ee17cb1c76 | /src/spring.cpp | e18b4c480a780efef98410d2a8c02ff45e27892f | [] | no_license | KyleFung/jiggle | e96f0e77b1c8ff2713a5058748de0e5403795f44 | 029296043c7f651b0dbc52fb4bc18876c1082592 | refs/heads/master | 2021-01-19T00:15:18.238557 | 2019-04-07T01:53:06 | 2019-04-07T01:53:06 | 72,971,268 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp | #include "spring.h"
#include <GLUT/glut.h>
Spring::Spring(std::vector<PointMass>& points, int p, int q, float length, float k) : mPoints(points) {
mP = p;
mQ = q;
mL = length;
mK = k;
}
Spring::Spring(std::vector<PointMass>& points, int p, int q, float k) : mPoints(points) {
mP = p;
mQ = q;
... | [
"kyle_fung@outlook.com"
] | kyle_fung@outlook.com |
fdf88e1db5361a69062b299597680d4e371f7091 | 9cc5f7d71dcf3fd486e040e0a0237d5320a4929b | /mslquad/include/mslquad/pose_track_controller.h | 8540f82328d3b6af245a133bd4aa611d5c802296 | [
"MIT"
] | permissive | IngTIKNA/msl_quad_GameTheoretic | 8291b6741d7d31799a46844ab29d00efac024596 | c319ecf4ba1063075221b67f12f4e017992f28fc | refs/heads/master | 2023-03-21T20:10:48.132066 | 2020-12-14T23:46:35 | 2020-12-14T23:46:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | /* copyright[2019] <msl>
**************************************************************************
File Name : pose_track_controller.h
Author : Kunal Shah
Multi-Robot Systems Lab (MSL), Stanford University
Contact : k2shah@stanford.edu
Create Time : Dec 3, 2018.
Description :... | [
"kshah.kunal@gmail.com"
] | kshah.kunal@gmail.com |
4f4f8b77ae5e5f840aef4811957c3f7b5f6864ae | 7a3e3a3406bfd7fb6537a3b44c65a68daf2137af | /deps/v8/src/base/utils/random-number-generator.cc | 3b38858192970e3f6e6d61ff7599a225dcf8d5e7 | [
"MIT"
] | permissive | billywhizz/dv8 | 14346c0f98f47da20e5354b543c9b4393f138198 | 0304830e5252e9fa779acb619807834324ac3842 | refs/heads/master | 2020-03-28T19:12:46.047798 | 2019-12-30T00:19:04 | 2019-12-30T00:19:04 | 148,955,110 | 10 | 1 | MIT | 2019-12-30T00:19:05 | 2018-09-16T02:05:35 | C++ | UTF-8 | C++ | false | false | 6,262 | cc | // Copyright 2013 the V8 project 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 "src/base/utils/random-number-generator.h"
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include <new>
#include "src/base/bit... | [
"apjohnsto@gmail.com"
] | apjohnsto@gmail.com |
463b08aa178a56a90e6ce90dbb61befd620a864a | 357a90a4524b0b8450a2390577cbb41c20b78154 | /JAMA firmware/include/SistemasdeControle/src/restrictedOptimization/quadprog.hpp | 5dbdc8f827fef76e825646876248678d5e5fe29b | [
"MIT"
] | permissive | tuliofalmeida/jama | 23b8709c2c92a933f35fae5ba847a9938c676f0f | 6ec30ea23e79e8a95515f4a47519df9e8ac04b31 | refs/heads/main | 2023-08-18T07:07:49.108809 | 2021-09-28T13:26:33 | 2021-09-28T13:26:33 | 363,915,045 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 261 | hpp | #ifdef testModel
#include "../../../headers/restrictedOptimization/quadprog.h"
#else
#include "SistemasdeControle/headers/restrictedOptimization/quadprog.h"
#endif
template<typename Type>
restrictedOptimizationHandler::QuadProg<Type>::QuadProg()
{
}
| [
"tuliofalmeida@hotmail.com"
] | tuliofalmeida@hotmail.com |
4fed4c112ede12f6214d3c80c0ae55480efd56f7 | 2b60d3054c6c1ee01f5628b7745ef51f5cd3f07a | /Gemotry/days/MATRIX3.h | 99eab52af07d63a179e0a1bbcf33e4764299de79 | [] | no_license | LUOFQ5/NumericalProjectsCollections | 01aa40e61747d0a38e9b3a3e05d8e6857f0e9b89 | 6e177a07d9f76b11beb0974c7b720cd9c521b47e | refs/heads/master | 2023-08-17T09:28:45.415221 | 2021-10-04T15:32:48 | 2021-10-04T15:32:48 | 414,977,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,905 | h | /*
QUIJIBO: Source code for the paper Symposium on Geometry Processing
2015 paper "Quaternion Julia Set Shape Optimization"
Copyright (C) 2015 Theodore Kim
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwa... | [
"1614345603@qq.com"
] | 1614345603@qq.com |
56f67949970c589a86b7e1e5936801baf6e9065f | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir22442/dir25702/file25728.cpp | de8c04788e3effc89bd4e4e9dd150143a722800e | [] | 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 | 115 | cpp | #ifndef file25728
#error "macro file25728 must be defined"
#endif
static const char* file25728String = "file25728"; | [
"tgeng@google.com"
] | tgeng@google.com |
686d49b4137cda97205f536e7cec559958a73362 | fe7150e6178a9d93baa720f1eb4fe2b8365613ae | /src/pConvexHullTest/main.cpp | c5292471cdf6293621945ee071cb8058cd7bb0e4 | [] | no_license | nicrip/moos-ivp-marineswarm | 2db0a327881a528e5b8914b795b0516590c7bfd7 | f2e2043e278c9ca51d3aee37ed2ab31005d98ca1 | refs/heads/master | 2021-01-10T07:09:46.987103 | 2015-10-22T19:59:40 | 2015-10-22T19:59:40 | 44,127,701 | 6 | 2 | null | 2015-10-21T15:39:36 | 2015-10-12T18:56:24 | C++ | UTF-8 | C++ | false | false | 1,571 | cpp | /************************************************************/
/* NAME: */
/* ORGN: MIT */
/* FILE: main.cpp */
/* DATE: */
/******... | [
"nick.rypkema@gmail.com"
] | nick.rypkema@gmail.com |
182392ea7489be2b62453fe1303726e2f7c5b71b | af525264bc4f1390358b00877eb932fa9a43bd76 | /reference/variables.h | fb5d9f93b572ad943520ac7dad6cd9dce2282753 | [
"BSD-3-Clause"
] | permissive | kohnakagawa/mdacp_oacc | 2c274ab18e21b05f41b42f009dbc3a703b89b0d2 | 91655b9bce5c53292bbc494685c4e0c85f347bd3 | refs/heads/master | 2022-01-26T17:20:09.994213 | 2019-05-04T13:55:11 | 2019-05-04T13:55:11 | 105,779,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | h | //----------------------------------------------------------------------
#ifndef variables_h
#define variables_h
//----------------------------------------------------------------------
#include <iostream>
#include "mdconfig.h"
#include "simulationinfo.h"
//--------------------------------------------------------------... | [
"tsunekou1019@gmail.com"
] | tsunekou1019@gmail.com |
794a8b1229fb1a1593f9dcce63cf516678633333 | 431afef3d33961f5ba15aeaa115bbeeeeae66257 | /atcoder/abc/090/c/main.cpp | 5bf486e6feaf1efe329dc7154c98496e21a4555b | [] | no_license | cashiwamochi/kyopro_shojin | 55c1c3c300d403fff16f649a54d8fa0a0e3260de | 4e8b38acc06279e9125ce1d49de92aad9194dee7 | refs/heads/master | 2022-11-06T13:35:07.644594 | 2020-06-21T14:57:54 | 2020-06-21T14:57:54 | 268,121,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
using namespace std;
int main() {
long long row, col;
cin >> row >> col;
cout << abs((row - 2) * (col - 2)) << endl;
return 0;
} | [
"ryo.cv.0311@gmail.com"
] | ryo.cv.0311@gmail.com |
61699bacaf9ce57e6a873b3f969ed14fe9ecb78f | 74560ccbb4dc00a899d4092403434a6361b69ae4 | /src/cmake_test/test_others/ADialog.cpp | 9d75672617addef930ac50f9219c591dd0f41225 | [] | no_license | crystalsky/my_test | 4d76ed10da7b04d24bd0b58d16f44d26bb9e8a5e | 0723a4e136cda5e9ddd0d49a091ff8a1e47ab751 | refs/heads/master | 2020-03-18T07:03:45.131476 | 2018-05-22T15:18:17 | 2018-05-22T15:18:17 | 134,430,003 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | #include "ADialog.h"
#include "ui_ADialog.h"
ADialog::ADialog(QDialog* parent)
: QDialog(parent)
, m_pUI(new Ui::ADialog())
{
m_pUI->setupUi(this);
}
ADialog::~ADialog()
{
delete m_pUI;
m_pUI = NULL;
}
| [
"crystalsky@foxmail.com"
] | crystalsky@foxmail.com |
36a6521d46642ba47c74d39e9939cb89021bee0d | 593685202e5c670fa6ff0a658be68d7e25f48dae | /include/ProtonDistributionGenerator.hh | 791267191ba739c5d3362b3b5a99f7cd1174a367 | [] | no_license | takumi-yamaga/KNN_simple_polarimeter | cfbb81abf14413a25f718e5a38da7f6751d5d4be | d3ec250778d5889e36a681464507a7f83a85b47c | refs/heads/master | 2023-06-05T08:10:31.280891 | 2021-03-31T00:06:21 | 2021-03-31T00:06:21 | 353,174,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | hh | // ProtonDistributionGenerator.hh
#ifndef ProtonDistributionGenerator_hh
#define ProtonDistributionGenerator_hh
#include"G4ThreeVector.hh"
#include"TTree.h"
#include"TFile.h"
class ProtonDistributionGenerator
{
private:
ProtonDistributionGenerator();
~ProtonDistributionGenerator();
public:
ProtonDis... | [
"takumi.yamaga@riken.jp"
] | takumi.yamaga@riken.jp |
cf931824ea06e865c56fdd5197595529355c3058 | 7065ae03809c28f18acc5b0e32d7cb2c371ca2f9 | /P147-P166 职工管理系统/employee.cpp | 0d4af88386846ec2b35f7b812b20b547836a741c | [] | no_license | callmer00t/cpp_learning | 63d6bd12879590d20da117cfe5c67cf8791b4252 | 703bf026a723c59a8dde592b0b3b0769086cbfd4 | refs/heads/master | 2023-07-22T02:38:40.705882 | 2021-08-17T07:07:33 | 2021-08-17T07:07:33 | 386,171,041 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 464 | cpp | #include"employee.h"
//构造函数
Employee::Employee(int id, string name, int dId)
{
this->m_Id = id;
this->m_Name = name;
this->m_DeptId = dId;
}
//显示个人信息
void Employee::showInfo()
{
cout << "职工编号:" << this->m_Id << "\t职工姓名:" << this->m_Name << "\t岗位:" << this->getDeptName() << "\t岗位职责:完成经理交付的任务" << endl;
}
//获取岗位名称
st... | [
"lastwinter07@gmail.com"
] | lastwinter07@gmail.com |
499940709e037adbc94feac984e3e06629bcd2fb | 323803788a843d35bb81c2b5377477f6b0f09e73 | /nnnEdit/controldoc.h | 4afc75958b4989a1fb9d84be0ba011c53ed943d4 | [] | no_license | tinyan/SystemNNN_Editor | 138384493986eb11714871237a4b31f28ddc342d | c8e9f5cf51b152817d855f6c01bc95465c2c5aa8 | refs/heads/master | 2023-03-04T18:22:47.794068 | 2023-02-26T10:51:03 | 2023-02-26T10:51:03 | 38,660,049 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h | //
// controldoc.h
//
#if !defined __TINYAN_NNNEDIT_CONTROLDOC__
#define __TINYAN_NNNEDIT_CONTROLDOC__
#include "mydocument.h"
class CControlDoc : public CMyDocument
{
public:
CControlDoc(CMyApplicationBase* lpApp);
~CControlDoc();
void End(void);
// void OnCloseButton(void);
void OnControlButton(int n);
int ... | [
"tinyan@mri.biglobe.ne.jp"
] | tinyan@mri.biglobe.ne.jp |
1a393d7de70c5ac0263877338eb12495492be954 | e930d82add91242f721caf51a9b8857114b5481d | /src/nimble/app.cpp | 6eaa5f9eb2ff51f80c8dfd0c000cc416531d6e9b | [
"MIT"
] | permissive | nimbletools/nimble-app | bc98c26a0018410abda267487487e44e35efb3f5 | 9d1008f3db46b9e020fe2a76b0722dedf3a97e7b | refs/heads/master | 2020-12-07T13:38:52.781676 | 2017-08-05T14:44:36 | 2017-08-05T14:44:36 | 95,582,592 | 9 | 1 | null | 2017-06-28T15:33:51 | 2017-06-27T17:13:27 | C++ | UTF-8 | C++ | false | false | 11,743 | cpp | #include <nimble/common.h>
#include <nimble/app.h>
#include <nimble/widgets/rect.h>
#include <nimble/widgets/button.h>
#include <nimble/widgets/label.h>
#include <nimble/widgets/text.h>
#include <nimble/utils/ini.h>
#include <GL/glew.h>
#ifdef __APPLE__
#define GLFW_INCLUDE_GLCOREARB
#endif
#define GLFW_INCLUDE_GLEX... | [
"spansjh@gmail.com"
] | spansjh@gmail.com |
5f932d9e7edebf596f8c89b675b520d0de968590 | 7098c3e563aff1e88cec7913d92a76f0d55c888d | /problemset/B/1217B.cpp | 0dd38c0ddb004de458ac31cdead01e050ec63412 | [] | no_license | cyyever/codeforces | 3ae5e7749bd44d9b4d44c1a5620ecd4b5ea13a5b | 51f8f205aeb3c20e5fe6453b90ce8ad6794526e8 | refs/heads/master | 2021-12-02T01:57:02.010834 | 2021-11-25T10:49:17 | 2021-11-25T10:49:17 | 93,985,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | /*!
* \file 1217B.cpp
*
* \brief http://codeforces.com/problemset/problem/1217/B
* \author cyy
*/
#include <algorithm>
#include <iostream>
#include <utility>
int main(void) {
size_t t;
std::cin >> t;
for (size_t i = 0; i < t; i++) {
size_t n;
int64_t x;
std::cin >> n >> x;
int64_t max_d = ... | [
"cyyever@outlook.com"
] | cyyever@outlook.com |
b7256e4b5d472e06d7380e8a03dcb9a90fa8d04c | 9f0627df2f8ff55bbf5a226bfa47726824f11ae5 | /algorithms/containerMostWater/containerMostWater.cpp | 4ea04faf6e6534d7252701fe1dc69e8cd9a26031 | [] | no_license | SophiaXiaoxingFang/LeetCode | 5413d2fbdf9467aebb700430b19253d03612d1bd | a952196066278b96964a3b3854cb12d141f962f2 | refs/heads/master | 2020-06-04T23:40:57.712022 | 2019-07-27T20:18:06 | 2019-07-27T20:18:06 | 192,236,807 | 0 | 0 | null | 2019-07-27T20:18:07 | 2019-06-16T21:05:11 | C++ | UTF-8 | C++ | false | false | 315 | cpp | class Solution {
public:
int maxArea(vector<int>& height) {
int i = 0;
int j = height.size()-1;
int area = 0;
while(i<j)
{
area = max(area, min(height[i],height[j])*(j-i));
height[i]<=height[j] ? i++ : j--;
}
return area;
}
};
| [
"xiaoxing.fang.ca@gmail.com"
] | xiaoxing.fang.ca@gmail.com |
dc9fdaa0122a488483c3db81f82b3f6dbec6d19d | f1fee38fbc6e517f044851e47a55eb8519d43b30 | /ECE231/CPP-source/stacks-queues/Chapter5/Stack/linked/StackDr.cpp | 07fe8aa45f7284a63f61d119043bc1a0a253451d | [] | no_license | unm-ieee/ECE_Material | 7876f5d83acb4280bbc90b8cd575ba3ee4a0f0ce | 45ff92dacf48cb4c20fc8d90805d00b90fcfa042 | refs/heads/master | 2021-01-10T20:13:55.768764 | 2017-08-15T16:47:27 | 2017-08-15T16:47:27 | 24,461,853 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | cpp | // Test driver
#include <iostream>
#include <fstream>
#include <string>
#include <cctype>
#include <cstring>
#include "StackType.h"
using namespace std;
int main()
{
ifstream inFile; // file containing operations
ofstream outFile; // file containing output
string inFileName; // in... | [
"steven.t.seppala@gmail.com"
] | steven.t.seppala@gmail.com |
715474c31716358f4a5ee3fb0995067f501f44c1 | 24aafdc3272cccced6e00de27130f03d0c203b12 | /library/Canvas.h | f57a948aa5b2f9ee3052fd353ec9ea3fed298e41 | [] | no_license | bits-und-basteln/examples | 2748d55bc9de8b2c19d74b94f98d5f20cdd1df0d | 87d189b82573ceda72d9b547607bd61688d03376 | refs/heads/master | 2020-08-09T02:28:52.986461 | 2019-11-13T19:48:59 | 2019-11-13T19:48:59 | 213,977,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | #ifndef Canvas_h
#define Canvas_h
#include "Arduino.h"
#include <avr/pgmspace.h> // Needed to store stuff in Flash using PROGMEM
#include "FastLED.h" // Fastled library to control the LEDs
#include "Stamp.h"
class Canvas
{
public:
Canvas();
void setBrightness(int brightness);
void pixel(int x, in... | [
"christoph.burnicki@gmail.com"
] | christoph.burnicki@gmail.com |
0e1ced9dfef3ad5bb2fbac947d0fbababaa35153 | d4ca6475faf8fec491288a4b5bbd26f090e2d14d | /src/arcemu-shared/Network/SocketMgrFreeBSD.cpp | f7bd4d01660315efadeaf4e36994b69900bead88 | [] | no_license | saqar/Edge-of-Chaos | 926b73ff934d677cee8922850040b8cf550372b0 | b840a34849119f5ecd1e998a87c236e8624b01c7 | refs/heads/master | 2021-01-11T05:01:30.535195 | 2014-04-11T18:02:30 | 2014-04-11T18:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,974 | cpp | /*
* Multiplatform Async Network Library
* Copyright (c) 2007 Burlex
*
* SocketMgr - epoll manager for Linux.
*
*/
#include "Network.h"
#ifdef CONFIG_USE_KQUEUE
initialiseSingleton(SocketMgr);
void SocketMgr::AddSocket(Socket* s)
{
assert(fds[s->GetFd()] == 0);
fds[s->GetFd()] = s;
struct k... | [
"admin@e2d0575d-2f82-4250-b8ec-0d5e7f3c5cc0"
] | admin@e2d0575d-2f82-4250-b8ec-0d5e7f3c5cc0 |
543fbc868c2b37136b70944d5d376fe424bd11e4 | 748e5e68157bbc8644989f83019d443e4c183f29 | /main.cpp | 0402408b741955cfe62491f25a618a8f5914e09f | [] | no_license | volen17/Huffman-Project | 67df580ef5168cbaefe9a880117842e33e8e0c0f | a42bfa875e81ed40b81bfef390b6af488a2cf08d | refs/heads/master | 2023-03-07T10:06:46.011154 | 2021-02-06T05:32:13 | 2021-02-06T05:32:13 | 332,034,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,534 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include "huffman.hpp"
bool isTXT(std::string file)
{
std::string extension;
int i = file.length() - 1;
while (file[i] != '.')
{
extension = extension + file[i];
i--;
}
if (extension ==... | [
"volen17@abv.bg"
] | volen17@abv.bg |
2701d04d6246ba0d483121fc1fed6c21ab3aebcb | 98f49e12468575aa763303acb98b002128ee2332 | /pm2/pm2/pm2.cpp | ec4e05e2cdf56bb73dd28b179354b5d594e486ac | [] | no_license | madaschlesinger/codility | dc34bda7bcf4be2f84b8506b6ac1bd909d4b17e9 | 801effca452d6972d891e787b8e0fc8bdebcfc24 | refs/heads/master | 2021-01-22T19:40:44.050457 | 2019-07-30T14:33:03 | 2019-07-30T14:33:03 | 85,217,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | // pm2.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int main()
{
return 0;
}
| [
"mada.schlesinger@gmail.com"
] | mada.schlesinger@gmail.com |
fe2cc8d97f446b2c73bc34030c1fe177e3dd63b0 | 4ad26968ff4256966992edb434570332b8cb5853 | /HairChange/HairChange/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp | cdacfecd22fed486d466cc6e6ee8a9e1f6edd188 | [
"MIT"
] | permissive | daliborristic883/HairColorChange | 582bcbe5dfd9f670438e1d770b8221c756929640 | 286ef0a8c89c4f63072ee8c8404178aac897cad5 | refs/heads/master | 2022-08-02T04:25:35.032365 | 2020-05-29T19:48:25 | 2020-05-29T19:48:25 | 267,933,189 | 19 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,013 | hpp | //
// detail/win_iocp_socket_recvmsg_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_... | [
"daliborristic883@gmail.com"
] | daliborristic883@gmail.com |
21be9032406c3c90436993def032184b1f47ec9e | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658068650033152_0/C++/TankEngineer/C.cpp | 11a16b2d869bf7ac01c8b75316e0a08ce81b28f3 | [] | 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,056 | cpp | #include<deque>
#include<vector>
#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
using namespace std;
int main() {
int t;
scanf("%d", &t);
while (t--) {
static int id = 0;
printf("Case #%d: ", ++id);
int n, m, k;
scanf("%d%d%d", &n, &m, &k);
if (min(n, m) <= 2) {
printf("%d\n"... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
e672c736b5a7406d61296cc9c36d41d60c6e29c5 | 39c8b9523516d0759d126cbfd09ca4785e6355ab | /milestone_3/item.cpp | 392836a830d6d38fea1624d82ceb90609411dd37 | [] | no_license | NodeJSMongo/OOP345 | 7408f3b65551228ffd2642e0dd86406a394831b9 | 504a70514f3b70e3a2a92e13223b3b1574136a6e | refs/heads/master | 2021-05-11T15:24:46.430892 | 2018-01-16T20:19:57 | 2018-01-16T20:19:57 | 117,728,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include "util.h"
using namespace std;
class item {
string itemName, itemInstaller, itemRemover, itemSequence, itemDescription;
public:
item(vector <string> & row) {
switch (row.size())
{
case 5:
itemDescription = row[4];
case 4:... | [
"mahmud.smu@gmail.com"
] | mahmud.smu@gmail.com |
d2d2fcc9b2b899a01c85086685f848532242d15b | 5e124a2960591ac485359a52aeb7fef445d3116f | /JEngine/src/Platform/Windows/WindowsInput.h | 726e0ba573d9aa1d2fc700559d4fde4ab7c77cff | [
"Apache-2.0"
] | permissive | peter-819/JEngine | 858605202e9dd46fce2d1012674944fc86a97b7f | f4362cdaa5e781e3a973cf84b604bd055b1b3880 | refs/heads/master | 2021-02-28T06:40:32.231003 | 2020-04-24T14:22:31 | 2020-04-24T14:22:31 | 245,671,074 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | h | #pragma once
#include "JEngine/Core/core.h"
#include "JEngine/Core/Input.h"
namespace JEngine {
class WindowsInput : public Input {
protected:
virtual bool IsKeyPressedImpl(int keycode) override;
virtual bool IsMouseButtonPressedImpl(int button) override;
virtual std::pair<float, float> GetMousePosImpl() ove... | [
"peter-819@outlook.com"
] | peter-819@outlook.com |
43e2df71c07cae82b6c6529a7461a45b4c948444 | 83921e08a63594fdeedcbe7866710b6f1a4c4d89 | /main/Watchdog.cpp | 33905c45f30ef09ac7f53a74af5d88795971fd01 | [] | no_license | j3ven7/CurrentBikeCode | 106accd21393af2c566740b1ff0c40a5477192f4 | 97e68a54524f8088ee62d00531f46ebdd488d2b3 | refs/heads/master | 2021-01-25T07:02:16.294395 | 2017-05-07T17:29:10 | 2017-05-07T17:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | #include "Watchdog.h"
void Watchdog::recordStartTime() {
l_start = micros();
}
void Watchdog::verifyEndTime() {
l_diff = micros() - l_start;
//Standardize the loop time by checking if it is currently less than the constant interval, if it is, add the differnce so the total loop time is standard
if (l_diff < i... | [
"kwf37@cornell.edu"
] | kwf37@cornell.edu |
08a970b0822c32f4e494e5a5742837cd538528b7 | 5ec1b9ba37db5ff57a18627f946ec47ca36955ec | /include/285Z_Subsystems/pid.hpp | 39863b27a17d1e06323aa64f062e9e17a9b931eb | [] | no_license | AmmaarK/285zTT4 | 288f023c8e40e72be19156cde523f5acce47420e | b6fbc055dbe3a499eb28a09d9347101953fb2d9c | refs/heads/master | 2023-07-27T15:57:30.605914 | 2021-09-06T19:35:14 | 2021-09-06T19:35:14 | 257,171,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | hpp | #pragma once
#include "main.h"
#include "../include/285z/initRobot.hpp"
#define RELATIVE 0
#define ABSOLUTE 1
extern double kP;
extern double kI;
extern double kD;
void calibrate();
void turn(double);
| [
"ekintiu@gmail.com"
] | ekintiu@gmail.com |
56643f1230a0ad45729dd5da76647b383938c62e | 61c9cc83c6950382acbde8efb87ad4fd7d23db96 | /graph_trans/load.cpp | 4c352477d3a8129ec4568338369f967447e0a5c4 | [] | no_license | MangoMaster/graph_theory | 704607beb4a12d7900256ed665c673cb8fa15a26 | f0b305ec5ef54e19c52250e727c9527bfc356ba5 | refs/heads/master | 2020-03-14T15:22:18.491985 | 2018-05-26T12:54:22 | 2018-05-26T12:54:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include <iostream>
#include <fstream>
#include "func.h"
using namespace std;
void graph_trans::load()
{
ifstream fin;
fin.open(inputfilename);
if (!fin.is_open())
{
cout << "error: input file is not properly open." << endl;
return;
}
fin >> n;
weight_matrix.resize(n);
... | [
"weijd17@mails.tsinghua.edu.cn"
] | weijd17@mails.tsinghua.edu.cn |
87555a590b7e0cc0a2622a756f766ad6dfd886f2 | cc1add14dc392a4f082fc556200bb32194a536d6 | /include/glm/gtx/compatibility.hpp | 2bb74601dcf07a111a81c0c68ccc343d1624e738 | [
"Apache-2.0"
] | permissive | Black-Photon/Tellas | 31a072726f6d8821b1c8ae62f8ca3600bfc809c1 | c5915f8c2cb92951635752c44f0ad3c81562223e | refs/heads/master | 2020-05-05T04:19:13.501120 | 2020-02-23T03:42:29 | 2020-02-23T03:42:29 | 179,706,934 | 0 | 0 | Apache-2.0 | 2019-07-05T13:37:51 | 2019-04-05T15:21:24 | C | UTF-8 | C++ | false | false | 14,990 | hpp | /// @ref gtx_compatibility
/// @file glm/gtx/compatibility.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_compatibility GLM_GTX_compatibility
/// @ingroup gtx
///
/// Include <glm/gtx/compatibility.hpp> to use the features of this extension.
///
/// Provide functions to increase the compatibility with Cg and ... | [
"joseph_keane@live.co.uk"
] | joseph_keane@live.co.uk |
abeac6127b691ec8c8ad320dfd25aacd9251a194 | e16af72bb1f28d6f4ce0a0fe8bb03bea465f6486 | /3.4/3.4.2/3.4.2/Line.cpp | 269bc5ab90521cf27ff000c1d750b64fcb30044d | [] | no_license | tianyu-z/CPP_Programming_for_MFE | 1c9c14fa6a6ffa25d50de27c167674b28669bf08 | 4391d288f4d03bee5284105c2b9e9f7285e6fb60 | refs/heads/master | 2020-12-04T00:54:19.221839 | 2020-01-03T09:00:55 | 2020-01-03T09:00:55 | 231,544,880 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | cpp | //Purpose: The source file of Line
//Author: Tianyu Zhang
//Date: 06/12/18
#include <sstream>
#include "Point.h"
#include "Line.h"
#include <cmath>
using namespace std;
//Line::Line()
//{
// m_s = Point(0.0, 0.0);
// m_e = Point(0.0, 0.0);
//}
Line::Line():Shape(),m_s(0,0),m_e(0,0)
{
}
//Line::Line(const Line& line)... | [
"tianyuzhang@outlook.com"
] | tianyuzhang@outlook.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.