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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21a6b08dbb25c40540e704363a49c1112f2c9fce | 73e3f1432c34e105413991e61656239ceb410681 | /degree.cpp | 840fa968dd68ebbe878a03d167a413a2875ccb27 | [
"MIT"
] | permissive | hkuno9000/sunmoon | 2491d72bc888cf106c314386fc32169b34881287 | 6797cb8b030ef0b9e1fd2f7224e064e4f79f96f9 | refs/heads/master | 2021-06-04T10:13:14.513816 | 2021-04-28T12:50:22 | 2021-04-28T13:02:58 | 33,721,475 | 5 | 2 | null | 2021-04-07T10:51:49 | 2015-04-10T09:53:32 | C++ | UTF-8 | C++ | false | false | 7,149 | cpp | //. degree.cpp - 角度と時間の変換
// Copyright (C) 1997,1998,1999,2000,2014 hkuno
// mailto:hkuno.kuno@nifty.ne.jp
#include <iostream>
#include <cstdio>
#include <cstring>
#include "degree.h"
using namespace std;
using namespace util;
namespace util {
//------------------------------------------------------------------------... | [
"hkuno9000@gmail.com"
] | hkuno9000@gmail.com |
f8e4bd8296983c0179ddc1ae65d32a8a33a130c2 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /chrome/browser/engagement/important_sites_usage_counter_unittest.cc | cfcf779a726fe951fa9ef2286c782311ba52e858 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 5,509 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/engagement/important_sites_usage_counter.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/files/fi... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
0b60c32fb47ff56fdff9c43ba8dfc8449b89a777 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/thread/test/sync/futures/promise/set_rvalue_at_thread_exit_pass.cpp | 5ce7797e9498dc9ff26459eea9dab1bb133ad8fe | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,537 | cpp | //===----------------------------------------------------------------------===//
//
// 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.
//
//===---------------------------------------... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
ceabcc8ef06ca6eb71a3507f4ed9aa50e3b75336 | 18d6de022fae6e7c2b1718c05b1293c612bc0705 | /dct_hls/solution3/.autopilot/db/dct.pp.0.cpp.ap-cdt.cpp | 657d739f57298a6a516119d0f5479fb64ef5bed7 | [] | no_license | bonjourdrs/Watermark-Huaweicloud | 71d51b22f9360fb8487806675930a8414433664b | 089f777b64464ae0baa8bc804ba18653f5aee073 | refs/heads/master | 2020-05-17T17:04:39.014171 | 2018-11-11T09:21:30 | 2018-11-11T09:21:30 | 183,839,053 | 1 | 0 | null | 2019-04-28T01:33:07 | 2019-04-28T01:33:06 | null | UTF-8 | C++ | false | false | 1,894,223 | cpp | #pragma line 1 "dct_hls/dct.cpp"
#pragma line 1 "dct_hls/dct.cpp" 1
#pragma line 1 "<built-in>" 1
#pragma line 1 "<built-in>" 3
#pragma line 152 "<built-in>" 3
#pragma line 1 "<command line>" 1
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pragma empt... | [
"cypmvp@163.com"
] | cypmvp@163.com |
8ae401858d6be5ca82666489baf41e673ff788ed | 027676db2840b76864d7fb9d1ea0ef7b77ed925a | /WinAPI_Template/WinAPI_Template/KeyManager.cpp | 5cf82d697e481d96d641036686509dee201c8ac1 | [
"MIT"
] | permissive | PhoenixBkgs/SGA | ddda7cc7617ed5f5c913edff969050caf802acd1 | e329048370b0c9867068fb8787104f42af918eca | refs/heads/master | 2021-07-21T03:39:50.308426 | 2017-10-31T00:19:54 | 2017-10-31T00:19:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include "stdafx.h"
#include "KeyManager.h"
void KeyManager::Setup()
{
for (int i = 0; i < KEYMAX; i++)
{
m_bitKeyUp.set(i, false);
m_bitKeyDown.set(i, true);
}
}
bool KeyManager::isOnceKeyDown(int key)
{
if (GetAsyncKeyState(key) & 0x8000)
{
if (!m_bitKeyDown[key])
... | [
"komastar.dev@gmail.com"
] | komastar.dev@gmail.com |
4b093f54c9e425766531b732e2c50701528ec56d | dc363502aaeb8412222aba60c6ae4392152e6388 | /tcpproxy/Socket.h | b4f9632ae63af534833ab479f5ab32480efe3b69 | [] | no_license | JiangSheng1987/tcpproxy | 62c7e27d533263e39fa8fe9f32227f1103b52a04 | cc253d1d460cdcec76a9c7f9768cfc1b40ccc08f | refs/heads/master | 2022-01-23T04:09:51.338204 | 2019-05-12T20:11:33 | 2019-05-12T20:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h |
#ifndef __socket_h__
#define __socket_h__
namespace tcpproxy {
class Socket
{
public:
Socket(int fd);
virtual ~Socket();
int Send(const char* buf, int len);
int Receive(char* buf, int len);
void Close();
private:
int m_fd;
};
} // namespace tcpproxy
#endif
| [
"noreply@github.com"
] | JiangSheng1987.noreply@github.com |
30669c225ae721fb050eb05a8dfc6926eb40eaa1 | a326e253fc86e6aa9fdd4b5657cc0735ee394c8a | /ManagerM/debug/moc_ui_new_venta_cotizacion.cpp | 896ae6eb6fe37134b3e26cd15a044b86fafce6ef | [] | no_license | janfranco27/TheProyect | 9b63df6fa8ca4017e604c8e30b678808fa4014fd | bc8725e15a17228649bbcda047c061ec52129bed | refs/heads/master | 2016-09-06T19:37:42.913805 | 2013-07-05T03:28:00 | 2013-07-05T03:28:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,232 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'ui_new_venta_cotizacion.h'
**
** Created: Thu Jul 4 21:42:36 2013
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
************... | [
"Lordalex27@gmail.com"
] | Lordalex27@gmail.com |
55bb083585d6960e2da1b24be7fadd0810f4a1b6 | 5d9a231227d13271952a93ee974469f15e398b3f | /Trap/Trap/Menu.cpp | 2ec9d245daa9dc8ef62c04f4a307491079bbc14e | [] | no_license | sugaharakeita/teamAseisaku | dc4cf1325caf7335cb25f1a12cd098e857b405d4 | 62e2163f8bcf9cece60f99039b440f861bc8257a | refs/heads/master | 2020-03-31T20:32:10.989122 | 2019-02-05T04:06:48 | 2019-02-05T04:06:48 | 152,544,820 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,929 | cpp | #include "GameL\DrawTexture.h"
#include "GameL\DrawFont.h"
#include "GameL\WinInputs.h"
#include "GameHead.h"
#include "Menu.h"
#include "SwitchALL.h"
CObjMenu::CObjMenu(float x, float y)
{
m_x = x;
m_y = y;
}
CObjMenu::~CObjMenu()
{
}
void CObjMenu::Init()
{
}
void CObjMenu::Action()
{
if (Input::GetVKey(VK_B... | [
"GA1@DEV1-27"
] | GA1@DEV1-27 |
2a8c449146acc8f15768348dd2b82653b79992ca | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/linalg/include/functions/scalar/planerot.hpp | ed5d4fc41fd095058cf8475b786491fd8d376292 | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 186 | hpp | #ifndef NT2_LINALG_INCLUDE_FUNCTIONS_SCALAR_PLANEROT_HPP_INCLUDED
#define NT2_LINALG_INCLUDE_FUNCTIONS_SCALAR_PLANEROT_HPP_INCLUDED
#include <nt2/linalg/functions/planerot.hpp>
#endif
| [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
c1e6f466eb7352ddae22bc63fe694c47e68e2724 | 4a71db6295df7dd7cffc066fa0cdf71422b1faec | /CF-1536A.cpp | f65f86f1ef551849fbbf67d3546afd1cf15972f1 | [] | no_license | nikhil767raj/Codeforces-solutions | 36eb308383d73ece9adaa70c07ae0ca54654d542 | d5795aefe12e7cf6c63fdbcc99b12dfe1afedd67 | refs/heads/master | 2023-08-02T14:05:44.132018 | 2021-10-06T10:20:30 | 2021-10-06T10:20:30 | 317,952,647 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int t; cin >> t;
while (t--) {
int n; cin >> n;
vector < int > v;
bool ok = false;
set < int > s;
for (int i = 0; i < n; i++) {
int elem; cin >> elem;
s.insert(elem);
if (elem < 0) ok = true;
}... | [
"noreply@github.com"
] | nikhil767raj.noreply@github.com |
6a1b51b6625de44e70f304ccc2a01be94d869824 | fd5d274d6a94db9e9a2d10a544bdc625d2f443eb | /day05/ex02/RobotomyRequestForm.hpp | 5ecf40e6137f6dedafd54f3131c1a3346944780f | [] | no_license | opogiba/PiscineCplusplus | 26943f87bc8ab5091f1eeaa3999eb9ce9c478046 | b644ecb09f4e856ae67f5dff3da88f54e9a4d036 | refs/heads/master | 2021-08-12T02:59:33.802880 | 2017-11-14T10:43:22 | 2017-11-14T10:43:22 | 110,676,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | hpp | //
// Created by Oleksiy Pogiba on 11/7/17.
//
#ifndef D05_ROBOTOMYREQUESTFORM_HPP
#define D05_ROBOTOMYREQUESTFORM_HPP
#include "Form.hpp"
class RobotomyRequestForm : public Form {
public:
RobotomyRequestForm( void );
RobotomyRequestForm( std::string target );
RobotomyRequestForm( RobotomyRequestForm const & src )... | [
"opogiba@e2r3p10.unit.ua"
] | opogiba@e2r3p10.unit.ua |
e08126554436b9e5a47eba22c4fb26c1aa1f6a6e | 5c520717a1c206261f1c2259a50bb38b8816e56c | /pim/PIMPacket_m.h | 207b1e35dadaea474ae36351cfd9c2f53d2a0aab | [] | no_license | hrncovic/ansa | eb87ed69c311e7408c7c8b3ad1e2d0d6b5f80f42 | 23f429aaa73406ebe88a70f210030a595311c922 | refs/heads/master | 2021-01-25T03:27:25.290154 | 2012-04-06T10:26:50 | 2012-04-06T10:26:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,595 | h | //
// Generated file, do not edit! Created by opp_msgc 4.2 from ansa/pim/PIMPacket.msg.
//
#ifndef _PIMPACKET_M_H_
#define _PIMPACKET_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0402
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! Probably this file was generated by an... | [
"hrnco@hrnco.net"
] | hrnco@hrnco.net |
a02691139482afc4a3ca529d8723822424e584cc | 2874d43ea364066f758caac630ff8b5929730533 | /lab2/周四下午NB验收/lab2_NB_classificationL_v0.cpp | 778d08aadbd21614a1eb3de3c69959169d9dc443 | [] | no_license | nacuto/AI_lab | 730fb915e1447dd57be68c8f4921b308860ce0b8 | 5844ee81b561b0424a0454e33713f8d7fc561cae | refs/heads/master | 2020-03-28T23:31:26.348863 | 2018-09-18T14:28:47 | 2018-09-18T14:28:47 | 149,295,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,625 | cpp | #include <iostream>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <cstring>
#include <vector>
#include <cmath>
#include <map>
#include <ctime>
using namespace std ;
int TrainRow,TestRow,WordsCol,WordSum=0 ;
map<string,int> emotionMap ;
string emotion[]={"joy","sad","anger","disgust","surprise","... | [
"caijt5@mail2.sysu.edu.cn"
] | caijt5@mail2.sysu.edu.cn |
8401495c7605a9aa906c49d8e90106baf89989e9 | f4d088d52fd5e6bcbad3eee55b9fc0474bf055f8 | /Algorithms/14891.cpp | c18976ec1f6f249e39788b2fb1b05f1905456921 | [] | no_license | leecoders/ALGORITHMS_CODE | 1b43bef881d3256a6a09ffaf67f818281a5e9e31 | 4ad08e2a2356efa7c66b088dbea9c9816aa3fd03 | refs/heads/master | 2020-06-21T20:26:00.911621 | 2019-10-28T16:42:05 | 2019-10-28T16:42:05 | 197,542,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | //#include"bits/stdc++.h"
//using namespace std;
//
//#define mp make_pair
//#define pb(x) push_back(x)
//#define _upgrade ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0)
//#define ALL(a) (a.begin()),(a.end())
//#define ZERO(a) memset(a,0,sizeof(a))
//#define MINUS(a) memset(a,0xff,sizeof(a))
//
//typedef pair<int,... | [
"jaemin3382@gmail.com"
] | jaemin3382@gmail.com |
d075354c6ec7e8c43f4a087adbfdfb70cddbc2a8 | 77ab711bb0e56970fea148ec2d2f9378e1ca602c | /gui/logic/ShengNv.cpp | 281ddf9bbd9dc004467f3518aed03d78bced37b2 | [] | no_license | benlin97204/Asteriated_Grail | 257a7d2ec6a94e4757d4dd535f0ded6bcc0fdf57 | 4a8d9690a64458c3c14ab5bb13ef7d8e6553e25d | refs/heads/master | 2020-03-23T14:57:09.640807 | 2013-03-15T07:00:09 | 2013-03-15T07:00:09 | 141,710,259 | 0 | 0 | null | 2018-07-20T12:37:33 | 2018-07-20T12:37:32 | null | UTF-8 | C++ | false | false | 8,178 | cpp | #include "ShengNv.h"
ShengNv::ShengNv()
{
makeConnection();
setMyRole(this);
Button *zhiLiaoShu, *zhiYuZhiGuang, *shengLiao;
zhiLiaoShu = new Button(3,QStringLiteral("治疗术"));
buttonArea->addButton(zhiLiaoShu);
connect(zhiLiaoShu,SIGNAL(buttonSelected(int)),this,SLOT(ZhiLiaoShu()));
zhiYuZhiGua... | [
"chntujia@gmail.com"
] | chntujia@gmail.com |
a2f434e73935df5415553a82ba6091ae010e96c6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_21067.cpp | ed1c75fdda96fcaef94aa5d6d375e50265d8b819 | [] | 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 | 345 | cpp | {
CONSOLE_SCREEN_BUFFER_INFO info;
if (!GetConsoleScreenBufferInfo(tty->handle, &info)) {
return uv_translate_sys_error(GetLastError());
}
uv_sem_wait(&uv_tty_output_lock);
uv_tty_update_virtual_window(&info);
uv_sem_post(&uv_tty_output_lock);
*width = uv_tty_virtual_width;
*height = uv_tty_virtu... | [
"993273596@qq.com"
] | 993273596@qq.com |
cdee7fb1452e75abc500ab09e4fde40984c0bbf6 | 0341aef81c5f49913b9c5047a34a05eccdbbec84 | /iMain.cpp | d6abeadf2c19893d26cf9a0b058933760354115e | [] | no_license | parvez018/image-viewer | 2256391f07c1b314c2a21ef07994b52b4fb7efab | 542e61bb881325fb630035dcf7036b5b547119e9 | refs/heads/master | 2020-04-05T10:07:56.989667 | 2014-03-17T08:32:01 | 2014-03-17T08:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,144 | cpp | /*****************************
*PROJECT::IMAGE VIEWER *
*Created by MD.NASIM *
*Student ID:0905018 *
*****************************/
# include "iGraphics2.h"
#define SCREEN_WIDTH 1300 //replace 1350 & 700 with your screen resolution for the software to act properly
#define SCREEN_HEIGHT 600
#... | [
"nasim.buet.bd@gmail.com"
] | nasim.buet.bd@gmail.com |
a6c73e2cfb7f1f3ddf850181bad2415b7eb33e71 | 49df2231d2185d86e1da134f0b7e7773d4024468 | /include/summy/cfg/node/node_copy_visitor.h | 2092c1a9c7069f7e4919eb922ff1a857bd251ac8 | [
"Apache-2.0"
] | permissive | gdslang/summy | 38dca64bbaf1aa947b6464a8d20e3394e7ac0f3e | bd450278f18859eb94d1f30b7b878bbb1b94c42c | refs/heads/master | 2020-05-03T05:35:40.372392 | 2018-09-24T17:00:48 | 2018-09-24T17:00:48 | 178,450,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | h | /*
* node_copy_visitor.h
*
* Created on: Oct 29, 2014
* Author: Julian Kranz
*/
#pragma once
#include <summy/cfg/node/node_visitor.h>
#include <functional>
#include <optional>
#include "address_node.h"
namespace cfg {
class node;
class node_copy_visitor : public node_visitor {
public:
typedef std::func... | [
"kranzj@in.tum.de"
] | kranzj@in.tum.de |
8f780c5286b0ddbc5c24500bbd647bb7491fa15d | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/locale/generic_codecvt.hpp | eb7cd1283a6c7d4568442bc7899ff7fcdd8e9682 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,263 | hpp | //
// Copyright (c) 2015 Artyom Beilis (Tonkikh)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_LOCALE_GENERIC_CODECVT_HPP
#define BOOST_LOCALE_GENERIC_CODECVT_HPP
#include <sstd/boost/... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
9f31b322b90942fa921f637bb9a0d5d22b238efa | 538e4944b4d4f92289124ecf8698258160dc8590 | /examples/cmd_mode_test/cmd_mode_test.ino | ebba38faa83459191c2d66f12fcd585915090465 | [] | no_license | ashumate/IRduino | 8758fedabda3724c2f489ac321196d28a8bfe3ba | 6a358cd93fcddd16ac2108a2588f9486cd57a169 | refs/heads/master | 2020-12-03T09:15:00.242941 | 2017-01-07T02:17:12 | 2017-01-07T02:17:12 | 47,476,223 | 0 | 0 | null | 2017-01-07T02:17:13 | 2015-12-05T23:10:54 | C++ | UTF-8 | C++ | false | false | 1,795 | ino | // cmd mode test
// n cmd t_start t_stop ....
// Key, t_start, t_stop unit in 10ms
#include <IRduino.h>
unsigned char cmd_buf[] = {3, KEY_LEFT_CTRL, 0, 10, KEY_RIGHT_ALT, 0, 10, KEY_DELETE, 5, 10};
unsigned char cmd_buf2[] = {5, 'h', 0, 1, 'e', 2, 3, 'l', 4, 5, 'l', 6, 7, 'o', 8, 9};
unsigned char cmd_buf3[] = {... | [
"626861688@qq.com"
] | 626861688@qq.com |
a5cc1b18a1515284aac7209c5911a972197ce6f2 | 5d9652e16f4ef55e8a7baac28f6b4ccfc8a63ae4 | /Lab 4/rule.cpp | f27b7c051740cb44457cb8a6e501347873b21a6c | [] | no_license | samchamberlin/discrete-structures | 659b54ed844101e3f73c7cb3d293d6c1abfb7033 | 77a25ed0da758fc93afb87e4e9f7132a8ffcb870 | refs/heads/main | 2022-12-30T09:24:58.969747 | 2020-10-19T06:06:50 | 2020-10-19T06:06:50 | 305,277,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include "rule.h"
Rule::Rule(){}
Rule::Rule(Predicate head){
HEADPREDICATE = head;
}
Rule::Rule(Predicate head, vector<Predicate> my_pred){
HEADPREDICATE = head;
my_predicates = my_pred;
}
Rule::~Rule(){}
void Rule::addHeadPredicate(Predicate head){
HEADPREDICATE = head;
}
void Rule::addPredicate(... | [
"noreply@github.com"
] | samchamberlin.noreply@github.com |
fa4cd67e93c0cb03955ef97a282da927df5d4f82 | f2902e4f503b33465e04edf7e061e3c1138e4698 | /include/ma/chrono/model/insurance_fwd.h | 7ec0de55a5c2d1b08972a08f83b40fccfbc16bb8 | [] | no_license | mabrarov/chrono | 42802d412ee5c8b20a8bfa40b829950b847663f0 | 575156ea6930ce233db42b7a3bc3fcf15ef48f57 | refs/heads/master | 2021-01-01T19:16:28.146850 | 2014-08-10T19:24:44 | 2014-08-10T19:24:44 | 15,283,483 | 0 | 0 | null | 2015-03-09T10:08:01 | 2013-12-18T13:13:28 | C++ | UTF-8 | C++ | false | false | 599 | h | //
// Copyright (c) 2010-2014 Marat Abrarov (abrarov@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MA_CHRONO_MODEL_INSURANCE_FWD_H
#define MA_CHRONO_MODEL_INSURANCE_FWD_H
#if defined(_MS... | [
"abrarov@gmail.com"
] | abrarov@gmail.com |
3ebe1195aa59c5f606c9b3241923e4baaab507cc | 9433cf50af730ee1cef83c66768daf208b6f4c5f | /Super Synthesis Engine/Include/Resources/ResourceManager.h | 2f1112737d5c8217582459fab51653fda7593171 | [
"MIT"
] | permissive | nstearns96/Super-Synthesis-Engine | 47b43aad5da832f420b29ec0a92967644484d354 | 64824c50557e64decc9710a5b2aa63cd93712122 | refs/heads/master | 2023-06-23T17:52:12.145005 | 2021-07-24T18:38:18 | 2021-07-24T18:38:18 | 258,901,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | h | #ifndef _SSE_RESOURCE_MANAGER_H
#define _SSE_RESOURCE_MANAGER_H
#include "Audio/AudioSample.h"
#include "Graphics/Font.h"
#include "Graphics/Texture2D.h"
#include "Graphics/Shaders/Shader.h"
#include "Model/Model.h"
#include "Resources/ResourceHandleManager.h"
#pragma message("TODO: Add support for streamed audio... | [
"nstearns96@gmail.com"
] | nstearns96@gmail.com |
c4e23eb3c848144860803cbc7af76e9492c5e6d8 | 930a2c0078e8c68f96c10370224d8057161cd647 | /Jinaria/three problem per day/2020.1/2020.1.7/1012.cpp | f4f4701a33a4a7c1226ed177c6dc7323a7692e52 | [] | no_license | JaechanAn/algorithm-study | bbc45f638bca00230a455e8fb5ef468b568ccce2 | 01b74f662cc4210f4c646f6a303cb3b8ba26ed99 | refs/heads/master | 2022-07-07T06:42:45.095078 | 2020-05-13T07:07:13 | 2020-05-13T07:07:13 | 175,931,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include <cstdio>
#include <vector>
#include <algorithm>
#include <stack>
using namespace std;
#define GRAPH(T) vector<vector<T>>
int dfs(GRAPH(int)& pek, GRAPH(bool)& check, int i, int j) {
if (i < 0 || i >= pek.size()) return 0;
if (j < 0 || j >= pek[0].size()) return 0;
if (pek[i][j] == 0)
ret... | [
"2014005187@hanyang.ac.kr"
] | 2014005187@hanyang.ac.kr |
1ea24b3c2a7ccd2a685a573797f96d24d62026a9 | 998c9177b2d0ff4c66e5592c2e43297afe0a2956 | /advanced/Files/structPadding.cpp | 332debeb3a1db1e0f3376abd8db6ffb9d2f02412 | [] | no_license | marcusjwhelan/cppcourses | 571ab5f742a3c1477693965865225d114ac5c344 | 88a5eef92c7cc4325fd92818512eec08f4874b6b | refs/heads/master | 2020-03-31T00:27:20.111093 | 2018-10-05T15:20:20 | 2018-10-05T15:20:20 | 151,740,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,780 | cpp | #include <iostream>
#include <fstream>
using namespace std;
// turn off the struct padding so it can be written propertly
#pragma pack(push, 1) // 1 align this data and whatever follows with single byte boundaries
struct Person {
// string name; can't use string. string objects store the reference so boo
char ... | [
"marcus.j.whelan@gmail.com"
] | marcus.j.whelan@gmail.com |
83feda5975c33a8ff77855656633792a8e6048d7 | 1c803d259e1f459426fdd62b5399f4c3a65a5291 | /7/iterator4.cpp | 7451497de81f3cfa15ee320cf4c94a3a984e97c4 | [] | no_license | CIS190/spring2020 | 3c13816718116b333d8ec9744fc19cde3e7661db | 3d58cefae7051e0adfa7159f6a83e439fe96bb14 | refs/heads/master | 2021-08-05T22:10:37.891693 | 2020-12-18T20:46:53 | 2020-12-18T20:46:53 | 230,176,647 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include <iostream>
#include <list>
using namespace std;
int main()
{
list<int> l {1, 2, 2, 4};
for (auto it = l.begin(); it != l.end(); )
{
if (*it == 2)
{
// erase returns an iterator to the next element past the erased element
it = l.erase(it);
// l... | [
"paulhe@seas.upenn.edu"
] | paulhe@seas.upenn.edu |
4f17ab1ccf320a3b4dca9385e8f7c1a8cbaa4390 | 78b9fdbcf91852ffc14e36a2df6cfca1761733d5 | /src/constants.h | 4235a301408dc6e1477f3af53b5cda2915ac67c7 | [] | no_license | hazelchain/Hazelchain | 0e1a1e7f57385007609be966c44aab6b38c7012f | df9bdb0d3346c8aaf15710ace0842f6c6ecdc2de | refs/heads/main | 2023-08-29T16:40:55.440261 | 2021-10-07T13:17:50 | 2021-10-07T13:17:50 | 384,753,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | //
// Created by chris on 2021-08-12.
//
#ifndef HAZELCHAIN_CONSTANTS_H
#define HAZELCHAIN_CONSTANTS_H
#include <iostream>
#include "util/util.h"
#include "util/strutil.h"
using json = nlohmann::json;
namespace constants {
inline static Logger logger(
util::concat(
util::currentT... | [
"christianlaforest45@gmail.com"
] | christianlaforest45@gmail.com |
7f50beb14d80f665bf1e6edd7bc1cb3936aeab40 | 9264720c7c9a4de7c58a8b6261be5aa3b1a6b90d | /proj/VoxelCraft/common/Chunk.hpp | 82b43ad2453dda61991f5aecff56c6ea1a297654 | [
"MIT"
] | permissive | antjowie/VoxelCraft | 7600ca17423a7a810655df565157a434577dc1e9 | c7e40dc3826f6fb2a8b4fa350b83214375bcbc00 | refs/heads/master | 2021-01-16T05:41:27.930955 | 2020-09-09T14:43:10 | 2020-09-09T14:43:10 | 242,995,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | hpp | #pragma once
#include "BlockData.hpp"
#include <functional>
#include <glm/gtx/hash.hpp>
#include <glm/glm.hpp>
#include <unordered_map>
constexpr glm::uvec3 chunkDimension { 16,16, 16};
constexpr auto chunkSize{ chunkDimension.x * chunkDimension.y * chunkDimension.z };
/**
* A chunk contains the data of a certain p... | [
"7332321+antjowie@users.noreply.github.com"
] | 7332321+antjowie@users.noreply.github.com |
07d03186ceb4bfc54395bae54b4466413590c940 | fe0559eaa11c60145797571bf0ab051bed71ae91 | /functions/FunctionFloor.cpp | 3b792b18ce539cf49d9c55d2c3ea181dbb739453 | [] | no_license | ren19890419/xqilla | 23e64a012f825ff58371907284d15872c9286f7b | ba6e4d58c777bede091856c0edee68c58a5fa364 | refs/heads/master | 2021-05-26T12:09:50.022580 | 2012-04-11T13:41:47 | 2012-04-11T13:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | cpp | /*
* Copyright (c) 2001, 2008,
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004, 2011,
* Oracle and/or its affiliates. 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 ob... | [
"yayanyang@gmail.com"
] | yayanyang@gmail.com |
fc7f360da04575719767d87f2c3cc8af44a31b68 | f818f4bc786c49a2eb207c22d7835c8067a493a5 | /PhoneBook/Contact.h | 41313ffae98ba1d7047f32f1c0ff723adb0794fd | [] | no_license | YassirBouigherdaine/PhoneBook-cpp | 73285a06020d6df572d096f6286d95ee77825c38 | e2c528eb30a67bacdb39c994e49ac06aa6296dc9 | refs/heads/main | 2023-02-17T01:54:33.850308 | 2021-01-16T10:40:55 | 2021-01-16T10:40:55 | 330,019,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #pragma once
#include<iostream>
#include<string>
#include<fstream>
#include<conio.h>
#include<vector>
#include<algorithm>
using namespace std;
class Contact
{
protected:
string Name;
string phoneNum;
string email;
string address;
public:
Contact();
void contactOptions(string);
void addContact();
... | [
"bouigherdaineyassir@gmail.com"
] | bouigherdaineyassir@gmail.com |
1678985e9152d622920bf0b12ac075050427f0a8 | 2e4e888db8feedcac0c2acc35f295d4cb6a0f55a | /Engine/main/main.cpp | c3340a08b460c356fde9dad34189aca003813f51 | [
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jonreyno/AGS-old | 3ef175600d99687d7e625f5904f88f862fb6e570 | 6922847542401f451a26c6cc31b9d51b5889a008 | refs/heads/master | 2020-03-31T07:27:29.027561 | 2019-11-24T00:42:46 | 2019-11-24T00:42:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,237 | cpp | //=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS ... | [
"jonreyno@hotmail.com"
] | jonreyno@hotmail.com |
715f0bde8896c9e6decf87d143926989a3416bd4 | fea580849c7dd6f5f32886a1ae963c9779be250c | /HackerRank/Algorithms/Implementation/encryption.cpp | e4a0e10fc2f8967f3c54622c1eacad3ef98326b8 | [] | no_license | TyDunn/hacker-rank-daily-challenge | 95f884fafb46a622d0784c19543fdf1468e36c10 | 7d1abf5267d928198f177f90066f0ff3ac0badea | refs/heads/master | 2021-01-20T04:50:15.400092 | 2017-12-01T15:07:41 | 2017-12-01T15:07:41 | 89,740,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | // Encryption
// Day #58
// Tuesday, June 27, 2017
// https://www.hackerrank.com/challenges/encryption
#include <cmath>
#include <vector>
#include <iostream>
using namespace std;
int main() {
string password;
cin >> password;
int col = ceil(sqrt(password.length()));
... | [
"tydunn@umich.edu"
] | tydunn@umich.edu |
8c6093f0c1144ffd8b83fd26f2d4adc80fb0f15b | 3c7e9921abd987e45bb034027717a515943cabe9 | /code_redirect/src/ShareSvc/dllmain.cpp | cec73f7954cdf5f2186f42aca144ac128c9b6991 | [] | no_license | zhuanbao/gxzb | 2f07380e3b27acb86d46d8d1c77f838593fc98b8 | a40bc93fad5f40bfc410619c5d4265a1bce099d4 | refs/heads/master | 2021-01-12T01:28:53.383633 | 2020-04-22T05:13:44 | 2020-04-22T05:13:44 | 78,386,221 | 2 | 2 | null | 2020-01-26T22:35:49 | 2017-01-09T02:24:32 | C++ | GB18030 | C++ | false | false | 463 | cpp | // dllmain.cpp : 定义 DLL 应用程序的入口点。
#include "stdafx.h"
HINSTANCE g_hModule = NULL;
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
g_hModule = hModule;
... | [
"ethminer@163.com"
] | ethminer@163.com |
4961633384635f76479be5a888e11ab30ff1006e | 57a8c438c94ce4832dedd34680e58782f4bb3dd7 | /common/AutoCombo.h | fbe5d08f39287c00e89725fe8ceb7f051f35f800 | [] | no_license | beru/dataviewer | 29dd6d7081bf4d765b5a306230fc619d25620ac8 | 64e542c5697505ae4a8a2605dc343c85d3449a1a | refs/heads/master | 2021-07-14T21:21:05.751876 | 2020-07-26T13:19:18 | 2020-07-26T13:19:18 | 34,772,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | h | //#include <atlcrack.h>
#include <atlstr.h>
#pragma once
// http://www.codeproject.com/wtl/wtlautocompletecombo.asp
class CAutoCombo : public CWindowImpl<CAutoCombo, CComboBox>, public CMessageFilter
{
protected:
bool m_bAutoComplete;
public:
CAutoCombo()
{
m_bAutoComplete = true;
}
BEGIN_M... | [
"beru@users.noreply.github.com"
] | beru@users.noreply.github.com |
d460adfaa1adf6ae635c559598e5e76fd1410487 | c519b52a58a2bb57d2d2ad1d64a7de012ef23081 | /Library/Src/System/Application.cpp | e91b736b7106e0d040000b4bfc10729db32d2a73 | [] | no_license | shugraphics/outofcorepoisson | cd0d9d5c84d7e8976b874e921b2c53ac3e309cac | 7bea311123177aa5070062e7444c2f2936293b4f | refs/heads/master | 2021-03-01T00:02:26.719704 | 2019-04-23T15:10:09 | 2019-04-23T15:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,847 | cpp | /*************************************************************************************************** * File: $URL: https://svn.bolitho.us/Library/Trunk/Src/System/Application.cpp $
* Author: $Author: matthew $
* Revision: $Rev: 1735 $
* Last Updated: $Date: 2008-12-21 03:47:38 -0800 (Sun, 21 Dec 20... | [
"johnrachwan@gmail.com"
] | johnrachwan@gmail.com |
b22918650f29e5418b46cece5c079f5e9e49eeb8 | e8fd261e55684e8f56d6ac2bb54a0106c6ed3300 | /R10K_Simulator/InstructionQueue.cpp | 1f1de706dca727821ccc0d67c687d534c795ea3b | [] | no_license | lhhGit/R10K-Simulator | bfe9bbb4e2951f1ef7baf999a1ae937d712eefaa | 9710dc16142b2c099a044a7b6d08c849d4afd78f | refs/heads/master | 2020-05-05T02:28:45.403718 | 2014-12-16T19:06:07 | 2014-12-16T19:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | //
// ALUQueue.cpp
// R10K_Simulator
//
// Created by lhh on 12/14/14.
// Copyright (c) 2014 UCSD. All rights reserved.
//
#include "InstructionQueue.h"
bool InstructionQueue::isInstructionReady(Instruction *instr) {
for (int i = 0; i < 2; i++) {
if (this->regmgr->isBusy[instr->logicalIdx[i]]) {
... | [
"adamlhh@gmail.com"
] | adamlhh@gmail.com |
5b154d887b0166250485afccca4b672dd404aa5c | 1f2f8581608853d78ac8a3fd1e59879517c122fa | /计算机与信息类/物联网导论/QRCode/decode/QZXing/zxing/zxing/common/BitArray.cpp | 3a2fc3e925959c8b353d6833e93f769c2193fc1f | [
"Apache-2.0",
"MIT"
] | permissive | qianggui/USTC-CS-Courses-Resource | c02b48da99edcd5aea514fdb78d134cb812c2a3f | 773871ac6ad3f6e6b227af5ae28ceea57a1c629f | refs/heads/master | 2023-02-26T00:58:27.333487 | 2019-01-20T04:28:41 | 2019-01-20T04:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,942 | cpp | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
/*
* Copyright 2010 ZXing authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"zhuheqin1@gmail.com"
] | zhuheqin1@gmail.com |
7da1e729ba88bd2be907fe9c5b171f2640b5dd7a | cb13290d523816e38a18cb12b05da9f63c793861 | /section3_task5/section3_task5/main.cpp | 548496ca1aab72ea57a4d3449a83b1eb864f792e | [] | no_license | hyy1999-08/c-plus_learn | 54344c257a4e505968081d19b1b308f124de2343 | 898e52642364f3119a83fc78e55c4355fa5ba16f | refs/heads/master | 2023-07-07T04:02:50.037439 | 2021-08-04T15:05:58 | 2021-08-04T15:05:58 | 346,672,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include<map>
#include<fstream>
#include<iostream>
#include<functional>
#include<algorithm>
#include<vector>
#include<set>
#include<string>
#include<iterator>
#include"less_than.h"
using namespace std;
int main() {
ifstream inf("inputfile.txt");
ofstream ouf("outputfile.txt");
void display(vector<strin... | [
"noreply@github.com"
] | hyy1999-08.noreply@github.com |
284170b781a941d05e619e1709b3a5729edace59 | 4d378ebc534a5ff894d07ff6e0d31a9d17d43015 | /Ticket Class/Ticket.h | a4b4668efba811c371a6e43d857370c1fda6b211 | [] | no_license | shawnc96/Object-Oriented-Programming | a62020b1f146f29c700c01b9b3fbb8cbff391827 | 43bf8658e5b1bca52bdb88a5870a239ab34c1242 | refs/heads/master | 2021-01-22T10:07:21.366561 | 2017-06-06T21:24:23 | 2017-06-06T21:24:23 | 81,987,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | h | #include<string>
#include<iostream>
using namespace std;
struct When
{
int Month;
int Day;
int Year;
int hour;
int min;
};
struct Seat
{
string row;
int number;
};
class Ticket
{
private:
string name;
string venue;
When when;
Seat seat;
bool sold;
public:
Ticket(string Sh... | [
"noreply@github.com"
] | shawnc96.noreply@github.com |
75f2dc32bda4750e8d830a4e3f4f8db8b6cd4e0c | 65c555734a7b61bfb1dc8993188c7365a98aa6d7 | /Common/PublicUtility/CAHostTimeBase.h | faa23bf15620eaa0fb94162e07fcca3312dfc720 | [
"MIT"
] | permissive | eddyc/CsoundAU | 4636d9568a7faebfba8d4f4f01bdbd88bcca0988 | 5faa8f63d7222c5a8ca07e43992c61ccdbd227b3 | refs/heads/master | 2020-06-09T16:59:26.483241 | 2015-08-06T19:05:10 | 2015-08-06T19:05:10 | 39,026,385 | 8 | 2 | null | 2015-08-06T19:05:12 | 2015-07-13T17:17:49 | C++ | UTF-8 | C++ | false | false | 7,316 | h | /*
File: CAHostTimeBase.h
Abstract: Part of CoreAudio Utility Classes
Version: 1.0.1
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple so... | [
"phasereset@gmail.com"
] | phasereset@gmail.com |
6705c864c6d700c5e0b0f8d1021e097a28a7ad57 | 9177984cb1cd5843df94a93846367db5dd45daf0 | /src/cs/geolib/geolib_string_utils.h | b38b2923d3773f6956517c52548678b4c8165df7 | [] | no_license | fccoguz/OpenSeaSeis | 001f8a9d4258ce033ad5e2fa27f719c1f6a5d0a8 | eb09a7ed115eaff4b055df25a60e975650635cda | refs/heads/master | 2023-03-18T20:11:24.133298 | 2020-02-18T15:20:58 | 2020-02-18T15:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,825 | h | /* Copyright (c) Colorado School of Mines, 2013.*/
/* All rights reserved. */
/**
* String/char utilities
*
* @author Bjorn Olofsson
* @date 2007
*/
#ifndef CSEIS_STRING_UTILS_H
#define CSEIS_STRING_UTILS_H
#include <string> // C++ 'string' class
namespace {
//------------------------... | [
"john.19071969@gmail.com"
] | john.19071969@gmail.com |
31f8671cfaf04b8236468ee3df5de883de346e9a | 8c2e07e3709b8e38a9dbbad3cde8ee0281cd9b16 | /PFLibrary/BaseMeasurementModel.hh | 98c2e968bdca845ab19808d8fd0db052179628a9 | [] | no_license | budl1ghtyear/BudPhDCode | 4953ae2b8492eb2cb7af91c953c61662ad1e5879 | b79f35384fc08079ca7a2c1cab07a74c4ecd76d9 | refs/heads/master | 2020-05-18T15:39:49.016785 | 2014-02-11T15:18:01 | 2014-02-11T15:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | hh | #ifndef BASEMEASUREMENTMODELC_HH
#define BASEMEASUREMENTMODELC_HH
////////////////////////////////
// Name - BaseMeasurementModelC
// Author - Bud Goswami
// Notes : Defines a base measurement model body class that can be used as the base for different child classes
// Follows the example for RCHandleVC derivation
// ... | [
"budgoswami@gmail.com"
] | budgoswami@gmail.com |
fa0730f967163c001e6424becdca637d088d4d49 | 26047b708c43b1659ce10a2698ce8a53940445d2 | /MIOpen-master/test/ford.hpp | 503c13949aa94a9a8e2e423b8996cdc011ab79f7 | [
"MIT"
] | permissive | RPGOne/han-solo | b4c61a70daf739b2aac56d22a8902d26de2c17cd | a8fa938f1e6b510ad96928f66d9676cb5f945390 | refs/heads/master | 2020-04-06T07:02:27.392553 | 2017-11-21T10:22:12 | 2017-11-21T10:22:12 | 55,286,923 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,979 | hpp | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2017 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | [
"rosenraychov9@gmail.com"
] | rosenraychov9@gmail.com |
f77144aacccda5db0e523930b77b2e4faebfab8d | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/offline_pages/core/prefetch/store/prefetch_store_test_util.h | 7f5926022a1fa5bab480b973d8d38c6b52b3d448 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,353 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_STORE_PREFETCH_STORE_TEST_UTIL_H_
#define COMPONENTS_OFFLINE_PAGES_CORE_PREFETCH_STORE_PREFETCH_STORE_TEST_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
218d1cd543f5c36552704b36dc642c929754d1a0 | 12fe8eef0b1e0b93a250fd5220033598c3b670c2 | /BaseHeap.cpp | e773a041d26e56e45fc28459b4c2e22e6711d5b4 | [] | no_license | HiddenWriter/TestStuff | 91a6b6ddb9e431dd619a00756e80d2dbb1031ce6 | fc26e2ca390c2e31e787ffb7d8d35ae6cd6d02a0 | refs/heads/master | 2023-01-01T03:05:26.624842 | 2020-10-01T05:54:32 | 2020-10-01T05:54:32 | 298,151,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #include "pch.h"
#include "BaseHeap.h"
| [
"noreply@github.com"
] | HiddenWriter.noreply@github.com |
9316f2178660ced0593adb56edabc1c1846930fe | 06a99b0989f765d3657e219dbe1fa82eff3ba679 | /internal/ceres/preprocessor.h | ce2eec5c0d1fff4438c4c326aa33935c3226fe3d | [
"BSD-3-Clause"
] | permissive | mc275/Ceres | 5c5da101aee475ea640df2cec7fd6fb1bd7cdf5c | da68358a7a79772a2d03b370fa72c95eb49f3fc6 | refs/heads/master | 2020-03-09T15:28:05.727074 | 2018-04-10T02:10:19 | 2018-04-10T02:22:53 | 128,859,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,825 | h | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | [
"sameeragarwal@google.com"
] | sameeragarwal@google.com |
f4f50ff0f67daab2ab56ffebad7236db1e62d593 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-snowball/include/aws/snowball/model/JobType.h | 330e976673b6020670d38caa14b959680a49498e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 617 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/snowball/Snowball_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Snowball
{
namespace Model
{
enum class JobType
{
NOT_SET,
... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
ddad378afbad32495bcd79642c9000badb10b72c | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/scoring/constraints/Constraints.cc | 2052997a8ddb5ea5991e5dfe0071ee09cdf97de2 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,023 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
f1f3e60714242bd3c5f1e3b5520c6311d2b248f4 | 83716a38c589e8bfccd7046daebb0227118c846c | /mulitthread/main.cpp | 5056ed7ea8a962b3d66ddec08c4bcade71c921d0 | [] | no_license | misc-song/QTPro | e3a5474d2a5174be1cb963daea7284d285ff8e1f | f988c919e8f02cb7816eabded1eea14f278c625b | refs/heads/master | 2021-07-21T09:14:55.735709 | 2017-10-31T19:10:14 | 2017-10-31T19:10:14 | 109,042,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | #include <QCoreApplication>
#include<thread>
#include<QDebug>
using namespace std;
void helloWord()
{
qDebug()<<"helloWord"<<endl;
}
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
std::thread t(helloWord);
t.join();
return a.exec();
}
| [
"wqshj@126.com"
] | wqshj@126.com |
2898431382d6b6df7995092c6f4a3fb3125f5bfd | 387763db0e897f0e745b841c7bccdc838f61a287 | /623 - 500!/UVA_623.cpp | fc9d7dae92eb52ec7f62085934e1910c12d6af40 | [] | no_license | glaucoacassio/UVA | 308dae64da633ff4f1f2490b08da487c93dcb0a1 | ec924ab40ae35f2a8c663227eb79c166cf421778 | refs/heads/master | 2022-12-12T21:13:09.807033 | 2020-09-13T18:25:16 | 2020-09-13T18:25:16 | 288,886,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <cstdio>
using namespace std;
// Numero maximo de digitos na saida
#define MAX 200000
int multiplicar(int x, int res[], int res_size);
// Esta funcao encontra o fatorial de numeros largos
// e imprime eles
void fatorial(int n)
{
int res[MAX];
... | [
"noreply@github.com"
] | glaucoacassio.noreply@github.com |
03bb00fb1e94f0afbc063be6484b83125e482462 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /services/preferences/public/cpp/preferences_mojom_traits.h | 62af028dfe70e5f43217c1c5bcab8c6f30e57d27 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,382 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_MOJOM_TRAITS_H_
#define SERVICES_PREFERENCES_PUBLIC_CPP_PREFERENCES_MOJOM_TRAITS_H_
#include "compone... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
065cc2d22c7c3160f89812fa051c79eeb7b58bfb | a2d2aa14969a8349321f530b552f07b57e52e29c | /AoC18/d5/t2.cpp | 571d932d6558dfb84a0b5fb7ee30e8e089e26167 | [] | no_license | zjurelinac/Competitions | ee01edea212c70266280846bce939eeb294e8a05 | f148a3b578fa46607e264a037feb4ba988617710 | refs/heads/master | 2020-04-09T18:17:15.819975 | 2018-12-05T11:19:57 | 2018-12-05T11:19:57 | 160,507,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include <cctype>
#include <cstdio>
#include <cstring>
#include <stack>
bool react(char a, char b) {
return a > b ? a -'a' == b - 'A' : a - 'A' == b - 'a';
}
int reduce(const char* p, char x) {
char ux = toupper(x), lx = tolower(x);
std::stack<int> s;
for (; *p; ++p) {
if (*p == ux || *p == lx... | [
"zvonimir.jurelinac@mireo.hr"
] | zvonimir.jurelinac@mireo.hr |
43ad717585ab2fd366468c2a64e598838de6f856 | 777a7527317e5d265536701a7a8f24f3cd6b5ada | /programing/13_class.cc | 0e85254c18d110c9cab4b047cbaf018f5bed939b | [] | no_license | ThanhChinhBK/interview-programing-questions | 22d0906ae2e315af4e48f56fe2296a4ac26ff62e | b58d716348301e9b62c57e98ed34a2fb9c34d033 | refs/heads/master | 2022-05-14T02:29:03.879809 | 2022-04-09T14:32:26 | 2022-04-09T14:32:26 | 116,651,413 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cc | #include <iostream>
#include <sstream>
using namespace std;
class Student {
private:
int age, standard;
string first_name, last_name;
public:
void set_age(int a){
age = a;
}
int get_age(){
return age;
}
void set_standard(int a){
standard = a;
}
int get_standard(){
return standa... | [
"nguyenthanhchinh96@gmail.com"
] | nguyenthanhchinh96@gmail.com |
9b69ec99896c2934c95e96dae6451cb7535d9d86 | d3320205a436e5f3bc2c52653d8a57553df4edaa | /10799_쇠막대기.cpp | 7386bd7892bd1f7ac5572696daefd4ef9ef938c1 | [] | no_license | jjoon9/Algorithm | caf01eb6d5486a1aa81fc57934e66ba663f16bee | 9b0a9bf19fa0b9b764a0be046b245e8f8d14d8bb | refs/heads/master | 2021-01-20T06:12:56.125426 | 2017-07-22T13:36:31 | 2017-07-22T13:36:31 | 89,856,503 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <cstdio>
#include <cstring>
int main() {
char input[100001]; scanf("%s", input);
int par=0,pieces=0;
for (int i=0; i<strlen(input); i++) {
switch (input[i]) {
case '(':
par++;
break;
case ')':
if (input[i-1]=='(') {
par--;
pieces+=par;
}
else {
pieces++;
par--;
}
b... | [
"wnsrnek3@gmail.com"
] | wnsrnek3@gmail.com |
36821a154bd1de647da96602bef7cfb22489fc7a | 8d3b8c1c9b69601b56fc18b244766faebb953b70 | /TeamProject/TeamProject/BinaryFile.h | 5f198974f8ddbba0dddf73c83ff576a3052ffd42 | [] | no_license | leeleelee394/Moonlighter | 70762d8313bbe693357cb88e55d52b200a021059 | 8c7ecbfe1b77e29a272b439c36411eb2774afa55 | refs/heads/master | 2020-08-04T12:15:03.043719 | 2019-10-01T16:02:45 | 2019-10-01T16:02:45 | 212,134,351 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,132 | h | #pragma once
/********************************************************************
## BinaryWriter ##
이진 파일 저장 모듈 클래스
*********************************************************************/
class BinaryWriter
{
public:
BinaryWriter();
~BinaryWriter();
void Open(wstring filePath, UINT openOption = CREATE_ALWAYS);
v... | [
"leeleelee394@gmail.com"
] | leeleelee394@gmail.com |
2c120083e875f3aa4e021e1a25efb1100c25d1ed | 155a848a4ee3c72ba8dc12a801d2d4c119b11caf | /RakAuth/RakAuth/FileManager.h | c596a6cc059852daceeb30d14bc5abcd37312225 | [] | no_license | SKDS/Server | 9b40684113f5cbf87004400e05d5656b39a71e15 | e93f6b7de66da9fb4972bac87e6d66b9dd3b677d | refs/heads/master | 2020-12-28T20:32:11.829184 | 2015-07-22T00:46:37 | 2015-07-22T00:46:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #pragma once
#include <io.h>
#include <string>
#include "easylogging++.h"
using namespace std;
namespace FileManager{
static bool fileExists(std::string path)
{
return access(path.c_str(), 0) != -1;
}
static bool DirExists(const char * fname){
if (fname == NULL || _tcslen(fname) == 0)
{
return false;
... | [
"i_man90@mail.ru"
] | i_man90@mail.ru |
12a3c512aaf807a746438efb46e179a3d463ae99 | e0e5c635c5b5e5d4fa3f6eb48a41544c3330f964 | /midichannelvoicemessage.cpp | 90de958922dc9a27ca4f1799cc64b4cd80f2cc65 | [] | no_license | hempnall/midi | 25a9785a1b52b3b5ee3e79e37fbc1c29718a2292 | df1cf4011a916f280892505e4348d6e35c0f18a5 | refs/heads/master | 2021-01-19T22:15:23.962459 | 2017-04-28T15:34:03 | 2017-04-28T15:34:03 | 88,782,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include "midichannelvoicemessage.h"
MidiChannelVoiceMessage::MidiChannelVoiceMessage()
{
}
MidiChannelVoiceMessage::~MidiChannelVoiceMessage()
{
}
| [
"jameshook@Jamess-Mac-mini.local"
] | jameshook@Jamess-Mac-mini.local |
880248b0e7cc3396b690cc7f150f15b5fd5ab9b3 | 40aa8314168fe69c6e217912df978a230738c194 | /examples/partitions_reverse.cpp | 12dc87e25fffe5528e1b76e5ac1cc19477534a5b | [
"MIT"
] | permissive | kspinka/discreture | c407dcfad2069741fabaf0561daca2f9fde4154a | ec758378d793c85eac3fa5c8222ed4ad869362fe | refs/heads/master | 2020-03-19T19:28:15.693832 | 2018-06-11T04:01:44 | 2018-06-11T04:01:44 | 136,857,427 | 0 | 0 | null | 2018-06-11T01:01:31 | 2018-06-11T01:01:30 | null | UTF-8 | C++ | false | false | 2,771 | cpp | #include "Discreture/Partitions.hpp"
#include <cstdlib>
#include <sstream>
#include <string>
using std::cout;
using std::endl;
using std::stringstream;
using dscr::partitions;
using dscr::operator<<;
int n = 6;
int min_parts = 1;
int max_parts = n;
void parse_command_line(int argc, char* argv[]);
int main(int argc,... | [
"mraggi@gmail.com"
] | mraggi@gmail.com |
ea05bc7e6ab2b7042124ec510b37427e14b33d8b | e0aa3282487a819b5c778a5f85776c31391e100f | /cs221/proj2/mimic.cc | 8b7f0df405af2a1e8baca7f28670b992efe81000 | [] | no_license | utopiamagic/coursework | 6ccca77e5200b09b2e4fe937b4e20158eb7db5d1 | 35eca505bda907082a222fc60e2af98890d145da | refs/heads/master | 2023-03-08T01:39:05.670439 | 2018-04-11T05:36:32 | 2018-04-11T05:36:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | cc | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include "treap.h"
using namespace std;
// Replace all characters except letters (A-Z,a-z) in line with ' ',
// except keep '-' or '\'' if they are between letters.
void lowercaseWords(string & line) {
for( string::iterato... | [
"qingnian213@hotmail.com"
] | qingnian213@hotmail.com |
78c0a0755c5061e29a79eef52a0b63e1cad2350a | 9775bb10c3dae5d7d0d90a0ee8ffb162d1d0d6a2 | /Factorial.cpp | 6a48b36b611c019620123f678e7fd15b4a56fe7a | [] | no_license | Harguna/C-and-Cplusplus | 12ea1e1fbb326d8bec181c5c947b7a71870469a8 | 9263533b19e2c67757df954fdbeaa4f895d4b56d | refs/heads/master | 2020-04-04T01:16:51.709447 | 2018-11-01T07:27:56 | 2018-11-01T07:27:56 | 155,675,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include<stdio.h>
#include<math.h>
int main()
{ //Factorial
int num1,i,fact,num2,temp; //declaration
home:
printf("\nWelcome to this FACTORIAL program \nEnter the number to get its factorial :");
scanf("%d",&num1); //entering the number
temp=num1;
for(i=0;i<temp;i++) //calculating factorial
{fa... | [
"noreply@github.com"
] | Harguna.noreply@github.com |
65d7de6c6259b5da343c7dcf25a0eebd535baf58 | 7fd64b86c7e8f63d6238fe93ccf6e62a4b8ebc66 | /codeforces/597/C.cpp | e652bc6a195f4923cde00bd34d637c63f5da385b | [] | no_license | Mohammad-Yasser/harwest | 775ba71303cc2849f71e82652263f31e79bd8e04 | d01834a9a41c828c8c548a115ecefd77ff2d6adc | refs/heads/master | 2023-02-02T23:37:54.186079 | 2013-09-19T19:28:00 | 2020-12-21T14:30:32 | 323,233,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int SIZE = 262145;
struct SegmentTree {
struct node {
int from, to;
ll sum;
} nodes[SIZE];
ll val[100005];
void createTree(int node = 1, int from = 1, int to = 100005) {
nodes[node] = {from,to,0};
if (from == to) re... | [
"mohammadyasser3@gmail.com"
] | mohammadyasser3@gmail.com |
a0bc5ca65f6ef3102d1497413f3029f66b13910d | 5ee7b59b955ebde297f0dd924382a96a79771681 | /appplnr/PnlPlnrCtpTpl1NCalc.h | 11e2b81e67e357a0c534d85e88d814f79d283740 | [] | no_license | epsitech/planar | a3b22468e6718342218143538a93e7af50debee0 | e97374190feaf229dac4ec941e19f6661150e400 | refs/heads/master | 2021-01-21T04:25:32.542626 | 2016-08-07T19:20:49 | 2016-08-07T19:20:49 | 48,572,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,774 | h | /**
* \file PnlPlnrCtpTpl1NCalc.h
* app access code for job PnlPlnrCtpTpl1NCalc (declarations)
* \author Alexander Wirthmueller
* \date created: 4 Dec 2015
* \date modified: 4 Dec 2015
*/
#ifndef PNLPLNRCTPTPL1NCALC_H
#define PNLPLNRCTPTPL1NCALC_H
#include "AppPlnr_blks.h"
#include "PlnrQCtpTpl1NCalc.h"
... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
b8b9aa024b02df60427f8a97f951ce1da20df681 | d76bcb55d3b28e2ce2daaba5e89dbb4435cd81cd | /source/poisson/poisson_process.h | ddd8e348158a9511a257ab47da68c821acf1aa92 | [] | no_license | zhnhou/healsim | b6810aa6825b68bfef431ece9a77795317e882ae | 8741d251d5078d8396ac8f630f7374d4c92fbfcd | refs/heads/master | 2021-01-01T03:52:10.294948 | 2016-05-18T22:05:49 | 2016-05-18T22:05:49 | 57,356,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | h | #include <string>
#include <fstream>
using namespace std;
class FluxDensityInfo {
private:
int num_flux_;
double *read_tmp;
void dealloc();
public:
//double *read_tmp;
double flux_min, flux_max;
double *S, *S2p5dNdS, *dNdS, *logS;
double *dNdlo... | [
"zhn.hou@gmail.com"
] | zhn.hou@gmail.com |
550fd814fd86c4cb03290e4e2a0df27e4a3cc783 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /tools/hardware/pointCloud/branches/dora-yr4-20120620/src/c++/components/StereoServer.cpp | 41c6f0c9ee37ed5f067bce97ef7968aa17a8c8bf | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,912 | cpp | /**
* @file StereoServer.cpp
* @author Richtsfeld Andreas
* @date April 2011
* @version 0.1
* @brief Point cloud server for the cast-framework implemented as stereo server.
*/
#include <cast/core/CASTUtils.hpp>
#include <limits.h>
#include <sstream>
#include <opencv/highgui.h>
#include <VideoUtils.h>
#include "S... | [
"krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837"
] | krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837 |
36cc7730da8c02a7831e71add501da066d0cb2f7 | 19bf7175f35e32f91188322c5e4d2f651c6a7380 | /Instruction.h | 3fcbedd5c18090ddcecc20c71679d5fd1179e112 | [] | no_license | MohamedDarkaoui/stackMachine | a298bb68ed981224652809693d3f06befdf08540 | 3803f8992904f5863b7e999cb8a0c0bf124dd5b7 | refs/heads/master | 2023-07-14T08:12:59.339508 | 2021-09-06T22:45:58 | 2021-09-06T22:45:58 | 403,726,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | h | //
// Created by mohamed on 9/6/21.
//
#ifndef STACKMACHINE_INSTRUCTION_H
#define STACKMACHINE_INSTRUCTION_H
#include <string>
#include <stdexcept>
#include <memory>
#include <stack>
#include "Data.h"
namespace sm {
template<typename T>
class Instruction {
public:
/**
* simple virtual default destructor
... | [
"mohamed.darkaoui@student.uantwerpen.be"
] | mohamed.darkaoui@student.uantwerpen.be |
db1f04ec4d944a2bd4b0e8f2eed8591e9c6c0723 | 05c3a5435063fc981754722bc976708a8d1bdd7b | /Operating Systems (046209)/Smash/signals.cc | 4f4af9ca910b1fc8887f5591eda367bfe9f099e0 | [] | no_license | roymaor1/Technion-Courses | 48b3304b4c18814d14446ba182891b0996edc93a | 56a94d52caa11705920f1c7d14f3953639491810 | refs/heads/master | 2022-04-14T06:23:39.454512 | 2020-04-01T11:05:20 | 2020-04-01T11:05:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | cc | // signals.c
// contains signal handler funtions
// contains the function/s that set the signal handlers
/*******************************************/
/* Name: handler_cntlc
Synopsis: handle the Control-C */
#include "signals.h"
#include "signal.h"
#include <sys/wait.h>
#include "commands.h"
extern smashProcess s... | [
"roymaor1@gmail.com"
] | roymaor1@gmail.com |
6390da13dc5209e29c0e7ee962e0052a1416efbc | a08d69383be2bfb210c4275e78b40c4f8ec496be | /0000도 별거아니구나/1516도 별거아니구나/D. Minimal Height Tree.cpp | 513be2f13b6972fcf9d2df39e778a411e755cbe3 | [] | no_license | auddl0756/My-Algorithm | ee23bb764133bfb00a886dd695386ac59317a725 | 8b8ca742a16f9571c8bcf718b5c6574ace546ea4 | refs/heads/master | 2023-03-20T03:24:37.709975 | 2021-03-09T13:52:33 | 2021-03-09T13:52:33 | 279,713,797 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,510 | cpp | #include <bits/stdc++.h>
#define pii pair<int,int>
#define pdi pair<double,int>
#define ppi pair<pair<int,int>,int>
#define pipi pair<pair<int,int>,pair<int,int> >
#define fs first
#define sc second
#define sorta(a) sort(a.begin(),a.end());
#define rsorta(a) sort(a.rbegin(),a.rend());
#define sorta2(a,n) sort(a,a+n);... | [
"cjddl789123@naver.com"
] | cjddl789123@naver.com |
e27beaf0fb968d0b128b5fc5e6bb64fdf20cba92 | 2bb97ef62405957b84a099510ef8645f94ec2571 | /keller.cpp | 68aa9082b8cd66ea802d5ac4fbe51eebf491e3b9 | [] | no_license | pozpl/SparseProjecton | ed44d7bf428788c5e2b10c8098cbbb8e3a39b681 | 0f5ee7c417c24b0fe88c9e4c35e7269de15bac2a | refs/heads/master | 2016-09-06T08:21:19.335057 | 2012-03-12T05:05:45 | 2012-03-12T05:05:45 | 3,302,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,961 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <getopt.h>
#include <math.h>
#include <fstream>
#include <iostream>
#include <istream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
extern "C" {
#include <at... | [
"pozdpl@gmail.com"
] | pozdpl@gmail.com |
ec056000d986f1494370dfc31a0bbf47fea81640 | 3e4a7f76fb4563fbc6e2be63c280438a5950b284 | /src/testing/unit/vector_test.cpp | e6d3c0da366c3ed03b7cd25cf157b215a0924f25 | [] | no_license | kluopaja/raycaster-tira | af0eaee13054b20451e42fdb162f82e96fed6660 | 4bfdde05b4e6455879dc9ccf8da2dddc8169b292 | refs/heads/master | 2023-01-06T22:16:11.970836 | 2020-10-28T06:50:13 | 2020-10-28T06:50:13 | 292,952,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,725 | cpp | #include "../../vector.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <random>
#include <sstream>
#include <string>
#include <vector>
using ::testing::PrintToString;
namespace {
MATCHER_P(ElementType1Eq, et,
"should equal {" + PrintToString(et.a) + ", " + PrintToString(et.b)) {
return (et... | [
"kalle.luopajarvi@helsinki.fi"
] | kalle.luopajarvi@helsinki.fi |
b11473f7d42b7f694964e7e5f9b21ca24bb4771c | 89e117906b6f9b08843ef82bba940e1f13047643 | /3.CalculateItemPaging_Tests/unittest1.cpp | e0aa14c21b3689c1915bcaf22b00573a8b9c7ab7 | [] | no_license | CriticalStriker/CodingPractice | 42d8ffa27d260adc5d88e5f7a61fed9290968c05 | 106c6ef731b1e69023e76390ba1f2078f8848b63 | refs/heads/master | 2020-04-25T04:14:22.081305 | 2019-03-12T13:29:35 | 2019-03-12T13:29:35 | 172,503,979 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include <assert.h>
#include "../3.CalculateItemPaging/PagingCalculater.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace My3CalculateItemPaging_Tests
{
TEST_CLASS(UnitTest1)
{
public:
TEST_METHOD(TestMethod_M0N1)
{
PagingCalculate... | [
"slash512@gmail.com"
] | slash512@gmail.com |
4c975eb272eb5f8d9af919ef3a668c82d5aa4ddd | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/graph/distributed/graphviz.hpp | a1ecb451b8b120abe476645b6b37d8237ebb92c6 | [
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 9,117 | hpp | // Copyright (C) 2004-2006 The Trustees of Indiana University.
// 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
#i... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
49ace082af74855daba3e67c436df1158f13950a | 6e4aa50e275048cdedef07b79f5d51bd29a7bef1 | /ACIOI/AC_TowerOfHanoi.cpp | f1a3a6f61e0044632fbe66045699e4026355e640 | [] | no_license | KorlaMarch/competitive-programming | 4b0790b8aed4286cdd65cf6e4584e61376a2615e | fa8d650938ad5f158c8299199a3d3c370f298a32 | refs/heads/master | 2021-03-27T12:31:10.145264 | 2019-03-03T02:30:51 | 2019-03-03T02:30:51 | 34,978,427 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include "stdio.h"
char dishNum[21][3] = {};
int top[3] = {};
void moveBlock(char from, char to){
if(top[to] == 0 || dishNum[top[to]-1][to] > dishNum[top[from]-1][from]){
printf("%d %c %c\n", dishNum[top[from]-1][from], from+'A', to+'A');
dishNum[top[to]][to] = dishNum[top[from]-1][from];
... | [
"korla.march@gmail.com"
] | korla.march@gmail.com |
155f566f5ab587ceb037b070cba52ca64b7ca135 | c26912f3375141bb2fb3c07357289f20d88bcf2d | /Clion/ZeroTrac/array_list/removeDuplicates_26.cpp | 9ed5267b12cfc355e744101b8e19fd3a96725cca | [
"MIT"
] | permissive | TzashiNorpu/Algorithm | 2013b5781d0ac517f2857633c39aee7d2e64d240 | bc9155c4daf08041041f84c2daa9cc89f82c2240 | refs/heads/main | 2023-07-08T06:30:50.080352 | 2023-06-28T10:01:58 | 2023-06-28T10:01:58 | 219,323,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | //
// Created by TzashiNorpu on 10/18/2022.
//
#include "array_list.h"
using namespace Array_List;
int Solution::removeDuplicates(vector<int> &nums) {
int index = 0;
for (int i = 1; i < nums.size(); ++i) {
if (nums[index] != nums[i]) nums[++index] = nums[i];
}
return index + 1;
} | [
"tzashinorpu@gmail.com"
] | tzashinorpu@gmail.com |
d4ad9a59b9df0ee2f69afd03a431daf76ddc00a4 | 2fa275ac6a17d15b9ad28e09a5295e2ae7bcd8b3 | /HackerRank/AdInfinitum/Feb_15/fibonacci_exponentiation.cpp | abfb9a12614eaf28ee4c242dd8d7a4328a5452d5 | [] | no_license | arnabgho/competitive_programming | bcd46cbcafad06dce80efaae28048de149b0fe5d | 13af2a371d7d973f3fed244daf04a1c6252db53b | refs/heads/master | 2021-01-17T13:38:17.464779 | 2016-06-27T22:41:32 | 2016-06-27T22:41:32 | 33,666,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include <bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
using namespace std;
typedef long long int ll;
typedef std::vector<ll> vi;
const ll mod=1e9+7;
ll nfib(ll A,ll B,ll n){
std::vector<vi> X(2,vi(2,1));
std::vector<vi> Y(2,vi(2,1));
Y[1][1]=0;
X[1][0]=0;
X[0][1]=0;
while(n>0){
if(n%... | [
"arnabgho@cse.iitk.ac.in"
] | arnabgho@cse.iitk.ac.in |
3cfc9b27fa82c52e1650a091a3762f3eb2d0ee6c | f45c8775c0517fdc46939e6d5d728a09a7fe55e3 | /codeforces/348/A.cpp | 94867beeeba0bb5b964c17ddb8a123635e628e1c | [] | no_license | Radhesh-Sarma/Competitive-Coding | 6550af86545d7456923c559a78784af201f57e4e | ce71acaa912249717a8f6cbf7584034548db7951 | refs/heads/main | 2023-02-23T09:40:57.401882 | 2021-01-31T15:53:24 | 2021-01-31T15:53:24 | 191,410,831 | 0 | 1 | null | 2019-06-11T16:34:32 | 2019-06-11T16:34:31 | null | UTF-8 | C++ | false | false | 1,903 | cpp | //Keep Working Hard
// I__Like__Food
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#pragma comment(linker, "/stack:200000000")
#define rep(i,a,b) for(int i = a; i <=b; i++)
#define rep2(i,a,b) for(int i = a; i>=b; i--)
#pragma GCC optimi... | [
"radhesh@pop-os.localdomain"
] | radhesh@pop-os.localdomain |
138a4aaba2cd92e627cdaf214e819dc95013932b | d8d739928a6a4d589735f677ddc7478c8a3d3356 | /src/CircleClass.hpp | 9c8999c7af42821aa9dd2c1f695738b82f4b5f9e | [] | no_license | josephmwells/ofx-generative-field | 99c89e10696eae074802445ad4a19d435b3b1075 | efd526b889355eeac4ee60cd38346c7d5ecbcce8 | refs/heads/master | 2021-06-16T18:37:00.101425 | 2017-04-30T05:13:51 | 2017-04-30T05:13:51 | 89,829,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | hpp | //
// CircleClass.hpp
// 03vjShaper
//
// Created by Joseph Wells on 2/29/16.
//
//
#ifndef CircleClass_hpp
#define CircleClass_hpp
#include "ofMain.h"
class CircleClass{
public:
void setup();
void update();
void draw();
ofParameterGroup circleParams;
ofParameter<int> circleRes;
ofPar... | [
"josephwells@Josephs-MacBook-Pro.local"
] | josephwells@Josephs-MacBook-Pro.local |
60ed7ef303c25b82bc7f99a381d1cd41f3409dda | b9e3370720076315a862fdeda8a7ded2b69d5b50 | /Il2CppOutputProject/Source/il2cppOutput/Il2CppTypeDefinitions.cpp | f9aa2cec0d691fcc1d9dce0b3deaa1b07bda9669 | [] | no_license | Uchemantellem/Holonasty | f03e4419608982b84019030417a59c9fbc7bc0b4 | 4a41de88374dd4a8aeb947200657e03ce7b2bc5a | refs/heads/master | 2020-03-31T11:13:00.560084 | 2018-12-10T07:01:41 | 2018-12-10T07:01:41 | 152,167,866 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,830,545 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const Il2CppType Int32_t2950945753_0_0_0;
extern const Il2CppType DS_t2232270370_0_0_0;
extern const Il2CppType Type_t_0_0_0;
extern... | [
"tedk@umich.edu"
] | tedk@umich.edu |
44b9c7ab94cbe0bd8621351cfe2e08bedd59ee1c | 0003a8a7d0522f18a1f109c76399fa414d5429f5 | /src/Magnum/Platform/GlxApplication.cpp | d3cb3af1d76834b1c5eca0acbaad051a7b68aae8 | [
"MIT"
] | permissive | aroig/magnum | 62b29b6f9e3fe1ef0eb09e152ae20cfd36c0dc0a | 9ab2a1553c5de07e7a6083dc6369feaef897742a | refs/heads/master | 2021-01-11T18:10:30.240858 | 2017-01-17T14:47:59 | 2017-01-17T14:49:50 | 79,509,604 | 1 | 0 | null | 2017-01-20T00:33:44 | 2017-01-20T00:33:44 | null | UTF-8 | C++ | false | false | 1,901 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016
Vladimír Vondruš <mosra@centrum.cz>
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 S... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
0f8e079d14bd480a496c381f0b53aaab2e088a99 | 9dbabed9c4d25ebcca9fe20e18835d74c15fe86b | /src/pass/build/unary.cpp | 669678f528707325929c523038834f5227b3d422 | [
"MIT"
] | permissive | arrow-lang/arrow-legacy | 011e74238ee423cf9081914c53c0578b5739f3e1 | 5857697b88201c9a6abdd63c1b132741f3451b01 | refs/heads/master | 2021-01-15T12:10:19.166782 | 2015-11-16T23:51:15 | 2015-11-16T23:51:15 | 26,388,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,275 | cpp | // Copyright (c) 2014-2015 Ryan Leckey, All Rights Reserved.
// Distributed under the MIT License
// See accompanying file LICENSE
#include <sstream>
#include "arrow/pass/resolve.hpp"
#include "arrow/pass/build.hpp"
#include "arrow/match.hpp"
namespace arrow {
namespace pass {
void Build::do_unary(
ast::Unary& x... | [
"leckey.ryan@gmail.com"
] | leckey.ryan@gmail.com |
1b2133a75d466430f2853e51d7d6202a8f1912d3 | 3641f576e445ac85e50b457569e52455d08c4dc2 | /dnsbase.cpp | 643beb07ac27337de3f9a81eafcf678a2c9f90b0 | [] | no_license | zhaoyaogit/myagent | 1ddd038aa56a294d85758b3969b305c2e36cb478 | 9162945ddc883a90cb75db42e7fe6a3b25992b17 | refs/heads/master | 2021-05-26T21:04:21.489974 | 2013-01-07T10:01:25 | 2013-01-07T10:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,043 | cpp |
#include "dnsbase.h"
#include "agentclient.h"
#include "config.h"
#include "eventbase.h"
#include <event2/dns.h>
#include <event2/util.h>
#include <assert.h>
#ifdef WIN32
#define snprintf _snprintf_s
#endif
static void dnscallback(int errcode, struct evutil_addrinfo *addr, void *ptr)
{
if (errcode)
{
... | [
"zhanjunxiong@126.com"
] | zhanjunxiong@126.com |
561431e285cc949f60d36d415003e6c54c4072aa | 510959a396e2e72eaec632c5c5f7b32f01adbdb4 | /elenasrc2/ide/browser.h | 0fd10c6d5030cfd17d7f555be39945f7215bf260 | [
"Apache-2.0"
] | permissive | sanyaade-teachings/elena-lang | a6c700ccf0cc8186d271f2226205cdf76bf19f5d | 5b9871e654fe2e57e88931bbebcfbb5155a52247 | refs/heads/master | 2020-05-29T11:35:21.276914 | 2014-01-25T08:52:14 | 2014-01-25T08:52:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,760 | h | //---------------------------------------------------------------------------
// E L E N A P r o j e c t: ELENA IDE
// Debugger watch window header
// (C)2005-2012, by Alexei Rakov
//---------------------------------------------------------------------------
#ifnde... | [
"arakov@yandex.ru"
] | arakov@yandex.ru |
0a505cfb94e560905d462bdb273bd125fc874c3d | e12570fbb920144a07dc6511c6929b2829a7174f | /src/triangle.cpp | 3cf4318460cd861ca4b543220044d506d295dd23 | [
"MIT"
] | permissive | EgeCiklabakkal/Raytracer | 7da7a2b307196276787054cb572655ee950347c9 | 39ba3009198feb88e53a46849111282149ba4308 | refs/heads/master | 2020-04-22T04:24:05.821827 | 2019-10-13T11:24:49 | 2019-10-13T11:24:49 | 170,122,529 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,109 | cpp | #include "triangle.h"
Triangle::Triangle(const Vec3& _p0, const Vec3& _p1, const Vec3& _p2, const rgb& _color)
{
vertices[0] = _p0;
vertices[1] = _p1;
vertices[2] = _p2;
color = _color;
}
Triangle::Triangle(const Vec3& _p0, const Vec3& _p1, const Vec3& _p2,
const Vec3& _normal, const Material& _material, Text... | [
"ege.cikla@gmail.com"
] | ege.cikla@gmail.com |
a113f79f13197f136892f99aa13094d0ac3caea0 | 461b4f0b646d632bb83c1eb7ccbf5d618aab7a86 | /LC_1060_Missing_Element_In_Sorted_Array.cpp | 682e255e24849c21780bd91aba107841e29ecb14 | [] | no_license | pigHasDream/Leetcode | 89e1dd8970f781aab8bdeffce005ee980709c034 | 5c483dec2666e8009e35944fb94ea4d0abeb1e2b | refs/heads/master | 2021-06-23T08:41:40.627950 | 2021-01-03T05:50:14 | 2021-01-03T05:50:14 | 178,759,088 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | class Solution {
public:
int missingElement(vector<int>& nums, int k) {
int left = 0, right = nums.size();
int miss = 0;
while(left < right) {
int mid = left + (right-left)/2;
miss = nums[mid] - nums.front() - mid;
if(miss >= k) {
right = mid;
}
... | [
"jinmiao@utexas.edu"
] | jinmiao@utexas.edu |
bbdd3367624618339aa83e207429956c5be26db3 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-es/include/aws/es/model/InstanceCountLimits.h | ab7f1c36b08e8f1c484019c8484c449883b05abf | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 2,345 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
7338adc0564235dd351f459b460f2b35c77afd6d | ec4da31d1ad8ab6b3813b2ebf06edf49350b29f2 | /HOOKS/hooks.cpp | bc606bf4be00f194b8c519983ec3bacd1914aefc | [] | no_license | MayoHvH/wanhedacsgo | b6f36096c5e156f5cbff4c4ce054834323e3d79a | b8fa6b9cf4620903d933bb8dd45cf88ebb0bff63 | refs/heads/master | 2020-07-11T03:59:41.184114 | 2019-03-22T17:30:34 | 2019-03-22T17:30:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101,476 | cpp | #include "..\includes.h"
#include "../ImGui/imgui.h"
#include "../ImGui/imgui_internal.h"
#include "../ImGui/dx9/imgui_impl_dx9.h"
#include "hooks.h"
#include "../UTILS/interfaces.h"
#include "../UTILS/offsets.h"
#include "../UTILS/NetvarHookManager.h"
#include "../UTILS/render.h"
#include "../FEATURES/NewEventLog.h"
... | [
"extremegaming275@gmail.com"
] | extremegaming275@gmail.com |
570cc7151a5f7e5e5057ff2f2c603f490b3b1fe4 | afa8744ebc3577225b0770fcca224829a317c484 | /OptionDialog.cpp | cda3206763a2f8ecf157d923959b5d3dba629b53 | [] | no_license | librehelbreath/AnMap | 619111ebce04198322a2d8f8066cff234ee2e2a9 | 1de8dbdfd4ac0bb1e0b2b6824589d80270870889 | refs/heads/master | 2021-09-04T18:58:22.341875 | 2018-01-21T11:38:26 | 2018-01-21T11:38:26 | 118,328,420 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,614 | cpp | // OptionDialog.cpp : implementation file
//
#include "stdafx.h"
#include "AnMap.h"
#include "OptionDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COptionDialog dialog
COption... | [
"michal@papierski.net"
] | michal@papierski.net |
8d3a78188f118be6efc1a7f9ddfd46e638512b23 | 021262cfe6e748dbede5916344352bba757f3178 | /src/filters/merge.hpp | 5fdf5f575b878b9ab8ad3d396a9ca26c01799b6d | [
"OpenSSL",
"ISC",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lorisunjunbin/pipy | 8ef8d015175ee859bc81a13d059eca73d4938f81 | 2d8b8eafe814340365dd036f255ca9b06c395042 | refs/heads/main | 2023-08-25T05:16:34.575753 | 2021-10-01T12:44:47 | 2021-10-01T12:44:47 | 412,665,480 | 1 | 0 | NOASSERTION | 2021-10-02T02:01:04 | 2021-10-02T02:01:04 | null | UTF-8 | C++ | false | false | 3,546 | hpp | /*
* Copyright (c) 2019 by flomesh.io
*
* Unless prior written consent has been obtained from the copyright
* owner, the following shall not be allowed.
*
* 1. The distribution of any source codes, header files, make files,
* or libraries of the software.
*
* 2. Disclosure of any source codes pertaini... | [
"pajamacoder@flomesh.io"
] | pajamacoder@flomesh.io |
5bafb393f329d417579997a19082e4b4900ac6db | 6730adf4a8ff8f77484ccb5db6a9c309b460520d | /arc077c.cpp | 9d9f6ee657539db7bf7ab1cf1f58a3b6f0e28542 | [] | no_license | togacoder/AtCoder | 8fa3cd0007ec3aa5243dbf578c7588ce8940504b | 9128bc4d475da004d5aa490bd636ab6f935b6804 | refs/heads/master | 2021-06-08T09:08:11.403406 | 2020-04-12T14:17:54 | 2020-04-12T14:17:54 | 87,400,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n);
for(int i = 0; i < n; i++) {
cin >> a[i];
}
if(n == 1) {
cout << a[0] << endl;
} else {
for(int i = n - 1; 0 <= i; i -= 2) {
cout << a[i] << " ";
}
if(n % 2 == 0) {
for(int i = 0; i < n; i += 2) {
co... | [
"togaerror@gmail.com"
] | togaerror@gmail.com |
bf4d0c6918ee822830e81491d58fa7f416743140 | 66ed370c2dd95b8f80ed0e6bc5fdd99dfaa3526c | /reactor/TimerId.h | b5e312a1c6db7ad6f632d13e34b4c0f71781c9ee | [] | no_license | GeneralStudy/studymuduo | 2177f7c210c7e905758de9d4fc5488142ed43143 | 0b660b4c6ae211059bb0565a37835a0d33b56c8c | refs/heads/master | 2020-03-09T21:44:21.729977 | 2018-05-06T07:39:52 | 2018-05-06T07:39:52 | 129,017,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | #ifndef MUDUO_NET_TIMERID_H
#define MUDUO_NET_TIMERID_H
#include "../datetime/copyable.h"
namespace muduo
{
class Timer;
class TimerId: public muduo::copyable
{
public:
explicit TimerId(Timer* timer):
m_value(timer)
{
}
private:
Timer* m_value;
};
}
#endif | [
"ykdacd123@gmail.com"
] | ykdacd123@gmail.com |
3f1f3c55eead180504c4e4ecfe1608d0880e1221 | b46ec32cfbb91f51ffda8a4b8a9f35bbd2b391e9 | /src/game/graph/EntityMesh.cpp | a0f80512be8ac0dcf6b6f34219d30038987044ca | [] | no_license | DELTA-FORCE-CTF/Zeus_cpp | b41168fc26b942366de1db157ac36162931bc72e | 06ab953e709127892622ba32be3432ef0f11e927 | refs/heads/master | 2020-06-21T09:52:19.476477 | 2019-07-17T15:39:48 | 2019-07-17T15:39:48 | 197,414,172 | 0 | 0 | null | 2019-07-17T15:17:18 | 2019-07-17T15:17:17 | null | UTF-8 | C++ | false | false | 1,904 | cpp | //
// Created by aurailus on 18/06/19.
//
#include "EntityMesh.h"
EntityMesh::EntityMesh() {
VAO = 0;
VBO = 0;
IBO = 0;
indCount = 0;
}
void EntityMesh::create(const std::vector<EntityVertex>& vertices, const std::vector<unsigned int>& indices) {
this->indCount = (int)indices.size();
glGenVe... | [
"100Toby1@gmail.com"
] | 100Toby1@gmail.com |
e568c537e00a715d5c7e9a0261ad18082e25a0a2 | d0e28efd148dc3ea2643d2d68b945faaae1e98f3 | /Assignment 3/3-3.cpp | 9e97f915b47a14d19e0800e12b431808857b77c4 | [] | no_license | eaindra-wp/OOP-2-In-Class-Assignments | 99f02939389a0d44ffe4b53619a68cffeaef954a | 6c05b4d73fd9382e168be86cc9911786eeb33ecf | refs/heads/master | 2022-01-17T21:42:30.232274 | 2019-07-22T07:15:28 | 2019-07-22T07:15:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | cpp | /*
CH08-320143
a3-p3.cpp
Eaindra Wun Pyae
e.wunpyae@jacobs-university.de
*/
#include <iostream>
#include <list>
#include <fstream>
using namespace std;
int main()
{
typedef list<int> ilist;
ilist A,B;
//two int lists
int n;
while(1)
{
cin >> n;
... | [
"noreply@github.com"
] | eaindra-wp.noreply@github.com |
40198ad3d0a0581c3b0e84e940a78224549f4a61 | c07797934115e827efe18190efb765825ddbeec8 | /playerbot/strategy/triggers/WorldPacketTrigger.h | 59141a99217e01a1c0b798c1be4b684bef940771 | [] | no_license | conan513/mangosbot-bots | 5382d9939a0a5caedb91fa0f11cd773dd554f3c4 | 676ca668eae7c0814547b4a09f961a8a9eb214f8 | refs/heads/master | 2023-06-27T06:28:31.431732 | 2023-06-20T16:27:16 | 2023-06-20T16:27:16 | 153,980,213 | 7 | 3 | null | 2018-10-21T06:32:52 | 2018-10-21T06:32:52 | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
#include "../Trigger.h"
namespace ai
{
class WorldPacketTrigger : public Trigger {
public:
WorldPacketTrigger(PlayerbotAI* ai, string command) : Trigger(ai, command), triggered(false) {}
virtual void ExternalEvent(WorldPacket &packet, Player* owner = NULL)
{
t... | [
"ike@email.org"
] | ike@email.org |
400edd22eb3cfa30ad59560a1bb9e4a9cc2b3f14 | b615a88db719f6fdf588cbaf641a7437876d9415 | /solution.cc | fca521f5c9e1ec40d77d163f30e55c4004b8aeb5 | [] | no_license | xiaosaob/Gas-Station-LeetCode-142 | 5e4a8b1ea0ab6a162b17bbcd41c4e4abb5914fb5 | c24b4bae13897a8b29b204aa924eb35e6cb01525 | refs/heads/master | 2020-12-24T17:07:53.473081 | 2014-07-01T06:49:36 | 2014-07-01T06:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cc | // There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
// You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to its next station (i+1). You begin the journey with an empty tank at one of the gas stations.
// Return the starting g... | [
"mervinmqzju@gmail.com"
] | mervinmqzju@gmail.com |
e438408b9a6eb4d79082993f239e3a2917a71b3a | e038ed2bb07a4edc4cf24b632e12195647409f86 | /lib/Target/PowerPC/PPCSubtarget.cpp | c60adb4ea60926dfd383ec492b33f9afdc9d2714 | [
"NCSA"
] | permissive | MorpheusCommunity/llvm | b1cf565a39fcae5d2bfcdaab198fbfde87105909 | 02b28c6985fa26454803060cf5374fe0bd3fc61c | refs/heads/master | 2020-12-24T13:52:34.061153 | 2015-06-10T19:19:30 | 2015-06-10T19:19:30 | 37,215,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,999 | cpp | //===-- PowerPCSubtarget.cpp - PPC Subtarget Information ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"arthur.devun@gmail.com"
] | arthur.devun@gmail.com |
5ea650392d6111002e40f247885e0ac566e71973 | c5e788e2d3a4b006564bf220d3cff04747240f54 | /secondProj_ScrabbleJunior_2020/BoardBuilder/Board.h | e4fc8ca3c50aa9d9eaa8446c68b22f115ff5b351 | [] | no_license | Andrepereira2001/feup-prog-2020 | e83ed2f199a89c41947f6863a44a4cae95991954 | cd73a0d6711bd4c5a5073cad352bd51b2385162d | refs/heads/master | 2023-02-14T20:33:45.786818 | 2021-01-11T02:03:10 | 2021-01-11T02:03:10 | 325,137,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | h | #pragma once
#include "Word.h"
#include <Windows.h>
#include <fstream>
#include <sstream>
#include <vector>
#include <iostream>
#include <algorithm>
void setColor(unsigned int color);
struct House
{
char letter = ' ';
bool isPlayed = false;
//vector with the size of how many words that house belongs
//pair (posit... | [
"adbp@live.com.pt"
] | adbp@live.com.pt |
5546d9c5bbb06b0582265624cba7c87f06051fc0 | e77bb7afc612666f1b8d65a0039a32f737b4f209 | /components/previews/core/previews_switches.h | 142993d611dd2d18c237c4054e170101901795bf | [
"BSD-3-Clause"
] | permissive | lvyeshufang/chromium | 76f6b227ac100f0c75305252a9ffc45820da70de | 49f84636734485b99303ed44a18bc09a39efabe2 | refs/heads/master | 2022-08-22T02:35:00.231811 | 2019-07-09T11:24:00 | 2019-07-09T11:24:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PREVIEWS_CORE_PREVIEWS_SWITCHES_H_
#define COMPONENTS_PREVIEWS_CORE_PREVIEWS_SWITCHES_H_
namespace previews {
namespace switches {
//... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b5f1b8c10ef49699592b38dd3bb5ee4c76a31bad | 056229ca14aa1d0604c056d14dae103d4308d07e | /ZenCoding-Python.cpp | 2ba47df4f3537130accc7bcee53d626a0163414f | [] | no_license | bruderstein/ZenCoding-Python | 7f6463534859e7f778dbde05eb43a56a57246516 | d291792c6ab154e6ffe41781eab222a0eaeccbaf | refs/heads/master | 2021-01-10T19:25:48.160038 | 2011-03-22T19:32:09 | 2011-03-22T19:32:09 | 894,698 | 19 | 5 | null | 2018-10-21T06:18:18 | 2010-09-07T20:49:02 | Python | UTF-8 | C++ | false | false | 15,134 | cpp |
/*
ZenCoding Python Plugin
This code needs tidying up - it should be split out into classes
- there's waaaay too many global variables (i.e. more than none :)
*/
#include "stdafx.h"
#include "AboutDlg.h"
#include "PluginInterface.h"
#include "FuncItemManager.h"
#define CHECK_INITIALISED() if (!g_init... | [
"davegb@pobox.com"
] | davegb@pobox.com |
497100f54dac19807ed7d50f5c49913ca29dcaaa | a266316db951ca903e839e5e731087e6c31ab200 | /sbncode/OpT0Finder/flashmatch/Base/LinkDef.h | 0e8b6736eed66a198bd65638bd6f499d5d1e1a3e | [] | no_license | SBNSoftware/sbncode | 59e69dad9e86be3d6cae906578de087ebbaf3afc | 206718020a2a7db8996f36d355057f25d86bb1f5 | refs/heads/develop | 2023-08-24T11:36:19.337775 | 2023-08-15T09:44:08 | 2023-08-15T09:44:08 | 211,186,929 | 5 | 25 | null | 2023-08-24T19:57:27 | 2019-09-26T21:48:31 | C++ | UTF-8 | C++ | false | false | 1,443 | h | //
// cint script to generate libraries
// Declaire namespace & classes you defined
// #pragma statement: order matters! Google it ;)
//
#ifdef __CLING__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ namespace flashmatch;
#pragma link C++ namespace flashm... | [
"a.scarff@sheffield.ac.uk"
] | a.scarff@sheffield.ac.uk |
ee34dedf56a4c683c34a661ed0feae4dd062fc47 | c8d46c62758b71dc1f70cc47f2acb0ae3858f76d | /Goldeneye Revenge/structs.h | ee4adc70df30878aa9ae23b28436626df38bce17 | [] | no_license | scruffyfox/Goldeneye-Revenge | dcb24000620ad42f26e491f2814e0f19a1f75cc5 | 29b9a9ca668260f7516b1651d06820dd89be9444 | refs/heads/master | 2020-05-30T06:44:46.625236 | 2018-02-07T10:10:46 | 2018-02-07T10:10:46 | 2,696,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,862 | h | //////////////////////////////////////////////////////////////
//
// Golden Eye Reveng - 2011 Games design project by
// Callum Taylor
//
// structs.h - This file will handle all the structures for
// the program such as vectors
//
//////////////////////////////////////////////////////////////
struct Size
{
public:
... | [
"callum@callumtaylor.net"
] | callum@callumtaylor.net |
ce14ba2e1b37a33189f2a01083a99bc0d80f4cc2 | a7d1b1158f5b8ffdfc7e2b6f1a24dfd234bcded6 | /C_expedtion/basic/memory_manage.cpp | 746ecd66cfb8cf88c3cfd8f53a8bec9b30e2f739 | [] | no_license | Ferrymania/Cplusplus_learning | 56f44c4dc47b66deea3319275a122fbda4e66930 | 99cd1451075b57aa125931e40e9f2d2aaa6d98eb | refs/heads/master | 2020-03-22T02:35:10.849423 | 2018-07-05T12:39:00 | 2018-07-05T12:39:00 | 139,380,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include <iostream>
#include <string.h>
using namespace std;
int main(void)
{
//在堆中申请100个char类型的内存
char *str = new char[100];
//拷贝Hello C++字符串到分配的堆中的内存中
strcpy(str,"Hello world");
cout<<str<<endl;
delete []str;
str = NULL;
return 0;
}
| [
"904655716@qq.com"
] | 904655716@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.