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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ba61cb52b4bbd5c2eeb157c2afb410f1b00b569 | e48b2ede55e28c6142d6452d8fbe68686134b141 | /src/AudioConfigIIRFilterBank_F32.cpp | 2342ec6676a5b33b460aa5269030c1d0c8d36e6b | [
"MIT"
] | permissive | kxm-creare/Tympan_Library | b33c0f53c6cf105f1a3bac1d41dbee24ee680a29 | 4fc9206b5040cf934d2cdbdc37dc5872814546f2 | refs/heads/master | 2021-06-29T16:10:46.589723 | 2021-06-11T17:50:52 | 2021-06-11T17:50:52 | 130,901,324 | 0 | 0 | MIT | 2021-06-11T17:56:19 | 2018-04-24T19:02:44 | HTML | UTF-8 | C++ | false | false | 15,622 | cpp | /*
* iir_filterbank.cpp
*
* Created: Chip Audette, Creare LLC, May 2020
* Primarly built upon CHAPRO "Generic Hearing Aid" from
* Boys Town National Research Hospital (BTNRH): https://github.com/BTNRH/chapro
*
* License: MIT License. Use at your own risk.
*
*/
#include "AudioConfigIIRFilterBank_F32... | [
"chipaudette@yahoo.com"
] | chipaudette@yahoo.com |
62d7de7d49db1a0340215a88df46e43eb0eeccd4 | 65dbef8d4b81ce04ac3a8c9e3a3da91a07313688 | /C・C++/独習C++新版/ch03/check_4.cpp | 6a6d4f7ab6b8b1fd38343e93ec425bd46cd4eff6 | [] | no_license | iinuma0710/programming_study | 2c0b9526327cdb98b4c3da7e5cb19125db5f1299 | e1eefb062487f32c982c1fed4b4c3739b90fbb37 | refs/heads/main | 2023-04-18T23:03:49.819678 | 2021-04-03T03:02:40 | 2021-04-03T03:02:40 | 311,096,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include <iostream>
class A
{
int private_val = 77;
friend void show(const A& a);
};
void show(const A& a)
{
std::cout << a.private_val << std::endl;
}
int main()
{
A aa;
show(aa);
} | [
"iinuma0710@gmail.com"
] | iinuma0710@gmail.com |
975fe2f9bf6b60ea0810bf8f35e8153176d0527c | 304dcc859ff1bad63ae881a096e687f7dc3de04b | /Test_PC_Poker/UPGCommon/src/Community/BlackBuddyAddDlg.cpp | 54a509bebc15978cea22ef39debc01063746a7ff | [] | no_license | idh37/testrepo | 03e416b115563cf62a4436f7a278eda2cd05d115 | b07cdd22bd42356522a599963f031a6294e14065 | refs/heads/master | 2020-07-11T00:57:34.526556 | 2019-09-10T07:22:35 | 2019-09-10T07:22:35 | 204,413,346 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 6,329 | cpp | #include "stdafx.h"
#include "BlackBuddyAddDlg.h"
#include "BlackBuddyAddDlgID.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CBlackBuddyAddDlg::CBlackBuddyAddDlg(CWnd* pParent/* = NULL*/)
: LSY::CLSYLibDialogBase(pParent),
m_pWndBack(NULL),
m_pTxtResult(NULL),
... | [
"idh37@nm-4ones.com"
] | idh37@nm-4ones.com |
ce226b28bc80e700d084e00192f7e18199871d82 | 83d04e85b76463d6ae12e03db7e998ab89da6a44 | /C++/1330.cpp | 741447068fbf7172dc13f6f41fa4892d84d8d6eb | [] | no_license | tunde02/Algorithms | d10856b704ba8863db40a686d15d3c1a03639cba | ec81db5de25f9b5732a67c925305b3edfefb7be4 | refs/heads/main | 2023-08-03T18:59:22.738786 | 2023-07-29T14:04:14 | 2023-07-29T14:04:14 | 207,979,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include <iostream>
using namespace std;
int a, b;
int main() {
cin >> a >> b;
if(a > b) {
cout << ">";
}
else if(a == b) {
cout << "==";
}
else {
cout << "<";
}
return 0;
}
| [
"snskrktja@naver.com"
] | snskrktja@naver.com |
cb341429c1b042dfcb7aa1f3d3b98bec237bcc39 | 181a888d842f9aafcbb618960f2ffe568ec9fc9c | /Navigator.cpp | 7a5a2611da9a0a3712ca5aca80a4ba9ad589fb4b | [] | no_license | katiecai/BruinNav | 4b4e0009470e1e69bcb9fb4143d5e76f758e619b | 5918e142939e61eaacb2286e0a2a239a54fc327d | refs/heads/master | 2020-12-02T19:32:50.227674 | 2017-07-05T20:21:20 | 2017-07-05T20:21:20 | 96,357,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,051 | cpp | //#include "provided.h"
#include "MyMap.h"
#include "support.h"
#include <string>
#include <vector>
#include <queue>
#include <iostream>
using namespace std;
struct Node {
Node(const GeoCoord cur, const GeoCoord dest, Node* p, double distance) : m_cur(cur.latitudeText, cur.longitudeText) {
h = distanceEart... | [
"katiecai@g.ucla.edu"
] | katiecai@g.ucla.edu |
f755445951474a6ee0a31b6be7648a7779e11d7c | b4828cf9403fedde5dd346b3338a5f4bf0f1eb96 | /codeforces_sol/B-Vanya_and_Lanterns.cpp | 0661110efd8633ad95e532f4e24c7e19e01beffa | [] | no_license | Masters-Akt/CS_codes | 9ab3d87ca384ebd364c7b87c8da94b753082a7e3 | 1aaa107439f2e208bb67b0bcca676f90b6bc6a11 | refs/heads/master | 2023-01-24T00:11:05.151592 | 2023-01-21T18:45:57 | 2023-01-21T18:45:57 | 292,529,160 | 6 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int n;
long long int l;
cin>>n>>l;
double a[n];
for(int i=0;i<n;i++){
cin>>a[i];
}
sort(a, a+n);
// for(int i=0;i<n;i++) cout<<a[i]<<" ";
// cout<<"\n";
double m=0;
if(a[0]>m) m=a[0];
if(l-a[n-1]>m) m=l-a[n-1];
for(int... | [
"64123046+Masters-Akt@users.noreply.github.com"
] | 64123046+Masters-Akt@users.noreply.github.com |
f9e5b73d7faa5011f4f6c11a4c394244ed544880 | 632516b82a6d662ab0d542190759f4620cf98d14 | /tests/unit_tests/address_from_url.cpp | 71b6c54b3a1447fe918ab457de073321a9f4134c | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | creddit-project/creddit | cf5adca578d778d4bb9352ecfd416f7bf4953e27 | 4b76b4e26076d778f0ffa451104c420cd1a5cc64 | refs/heads/master | 2020-06-25T01:57:29.958980 | 2019-07-27T12:40:27 | 2019-07-27T12:40:27 | 198,517,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,921 | cpp | // Copyright (c) 2014-2019, The Monero Project
//
// All rights reserved.
//
// 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 must retain the above copyright notice, this list o... | [
"jedibear@protonmail.com"
] | jedibear@protonmail.com |
899e49a875596c2a867dc61e0afa93e4da45c5b7 | 6f4dbb99df537ff0f86bbc323e30371f2a4521d2 | /easy-as-pie/funcs/source/stores.cpp | 0198161be108d3614f0c65a7e0f0ab089aaac5e0 | [
"Unlicense"
] | permissive | rodrigobmg/psx | 0e54d12aba6a25987274e1cf81a18019e367eafe | 34ca33d2254958963026d1719c31cfc69bfaaf7b | refs/heads/master | 2020-04-03T19:13:11.007887 | 2018-08-20T16:12:49 | 2018-08-20T16:12:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,049 | cpp | // C:\diabpsx\SOURCE\STORES.CPP
#include "types.h"
// address: 0x800633E8
void FreeStoreMem__Fv() {
}
// address: 0x800633F0
void DrawSTextBack__Fv() {
}
// address: 0x80063460
void PrintSString__FiiUcPcci(int x, int y, unsigned char cjustflag, char *str, int col, int val) {
// register: 21
register int xx;
//... | [
"rnd0x00@gmail.com"
] | rnd0x00@gmail.com |
7c9f9ea25e4c7e945c96f04cf3044bffc189fdc4 | 669951b6fc45543581f452a75831eaae77c3627c | /1114E.cpp | 19c4628f41b3f6914332f9bfa8a94d04d8e6501e | [] | no_license | atharva-sarage/Codeforces-Competitive-Programming | 4c0d65cb7f892ba8fa9fc58e539d1b50d0d7a9cb | c718f0693e905e97fbb48eb05981eeddafde108e | refs/heads/master | 2020-06-10T01:12:17.336028 | 2019-06-24T16:43:32 | 2019-06-24T16:43:32 | 193,542,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | /**************************
* Author-Atharva Sarage *
* IIT HYDERABAD *
**************************/
#include<bits/stdc++.h>
#warning Check Max_Limit,Overflows
using namespace std;
# define ff first
# define ss second
# define pb push_back
# define mod 1000000007
# define mx 100005
# define ll long long... | [
"atharva.sarage@gmail.com"
] | atharva.sarage@gmail.com |
a3161a696f06976f5cdf56940f749e1be38b1185 | 55f945f29f78c0c0c6ac110df808126a38999be5 | /devel/.private/mavros_msgs/include/mavros_msgs/RTCM.h | cbb34b1a8be801f6433a7ad02fdfd39339312ba2 | [] | no_license | aarchilla/NodeROS | 43e9f0d6931d1eb11057d229e20e2911fba943c2 | 4d79e3ffbbb19c11535613249fed2191ada63000 | refs/heads/master | 2020-06-16T20:00:39.218889 | 2019-07-07T18:36:17 | 2019-07-07T18:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,397 | h | // Generated by gencpp from file mavros_msgs/RTCM.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_RTCM_H
#define MAVROS_MSGS_MESSAGE_RTCM_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operatio... | [
"aarchilla21@gmail.com"
] | aarchilla21@gmail.com |
8ca29d213b3aa587db1a02a738cd86f355599b3b | 89016fcda83d19cf880a3671e7923d69b8cb7c39 | /spriterengine/objectref/spriterefinstance.cpp | 76d48689b0e2f7b04fd7c5ca65c9f03279aeb0e5 | [
"Zlib"
] | permissive | lucidspriter/SpriterPlusPlus | 9f83e68cd81295642dd3814ab800cd92967ee6c0 | 8fb550e1633036b42acd1cce0e05cfe60a3041c0 | refs/heads/master | 2023-08-10T10:29:03.386422 | 2021-02-17T22:13:10 | 2021-02-17T22:13:10 | 45,448,363 | 97 | 55 | NOASSERTION | 2023-07-23T13:17:31 | 2015-11-03T07:09:45 | C++ | UTF-8 | C++ | false | false | 903 | cpp | #include "spriterefinstance.h"
#include "../objectinfo/universalobjectinterface.h"
#include "../file/filereference.h"
#include "../override/imagefile.h"
namespace SpriterEngine
{
SpriteRefInstance::SpriteRefInstance(UniversalObjectInterface *initialResultObject,
TransformProcessor *initialParentTransformer,
Tim... | [
"lucid@brashmonkey.com"
] | lucid@brashmonkey.com |
b0f07196a8f2a746cfb2231cbcaf528ebcb10933 | eec816ee04e0c5fa8aa050d182a687c5e90fbbd7 | /device/source/Main/ServerCommunication.h | c058f235dd36d49fcdfc14149ca4fa55ee282ebf | [] | no_license | HAL-RO-Developer/iot_platform | d7e9112aba330e41590244c0dab50e694c5b0b52 | d14f8617cc33f2cec8b265110142a91908699626 | refs/heads/master | 2021-01-22T11:29:00.934570 | 2018-01-15T04:22:50 | 2018-01-15T04:22:50 | 92,702,104 | 3 | 0 | null | 2017-12-10T22:09:11 | 2017-05-29T03:00:33 | JavaScript | UTF-8 | C++ | false | false | 792 | h | #ifndef __SERVER_COMMUNICATION_H_
#define __SERVER_COMMUNICATION_H_
/* --- includeファイル --- */
#include "ArduinoLibrary.h"
#include "System.h"
#include "InfoStruct.h"
#define SERVER_SUCCESS ( 1 )
#define SERVER_CONNECT_ERROR ( -1 )
/* --- HTTPステータスコード --- */
#define HTTP_STATUS_OK ( 200 )
#define HTTP_STATUS_FORBIDD... | [
"tanaka.shogo2@gmail.com"
] | tanaka.shogo2@gmail.com |
d0839a1c5979eac2ea688f3d8f1391e97155d0ca | 5c0cde9516179e199beda1104a329b252c7684b7 | /Graphics/Middleware/QT/include/QtPrintSupport/qprintengine.h | 2abf3dda74beff151f31cba1f0251d6f8ccdf307 | [] | no_license | herocrx/OpenGLMatrices | 3f8ff924e7160e76464d9480af7cf5652954622b | ca532ebba199945813a563fe2fbadc2f408e9f4b | refs/heads/master | 2021-05-07T08:28:21.614604 | 2017-12-17T19:45:40 | 2017-12-17T19:45:40 | 109,338,861 | 0 | 0 | null | 2017-12-17T19:45:41 | 2017-11-03T01:47:27 | HTML | UTF-8 | C++ | false | false | 3,445 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... | [
"hubertkuc13@gmail.com"
] | hubertkuc13@gmail.com |
a7004c103c75751cc8695e8a8ab861ef83fc2c51 | a7cd1fc70b9c87fc35ec3c3be5d4d3332e7ff9da | /RayTracer/PointLight.cpp | a973e88f2909295c49384e124949b9e5a6287224 | [] | no_license | Thomas92330/2021_Classes | 0deca281df37bc3597036ec512fa0c253b2771f0 | fd6456399ba26e87964e827c060d164a772add25 | refs/heads/master | 2023-03-13T07:34:24.982300 | 2021-02-25T12:50:17 | 2021-02-25T12:50:17 | 342,186,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include "PointLight.h"
PointLight::PointLight(Vector _origine)
:Light(), origine(_origine)
{
}
PointLight::~PointLight()
{
}
Vector PointLight::VectorL(const Vector& point)
{
Vector vectorL = (point - origine);
vectorL.normalize();
return vectorL;
}
| [
"toto.tranchet@gmail.com"
] | toto.tranchet@gmail.com |
13786c3a61c242a91a5d523a6a8a14c16ed8aa5f | 92fc392b5e3b7517ea7535fa6986aa63cd204b8c | /CaptureGifEncoder/GifEncoder.cpp | 4c9642b733c7e17dad68a2eea439bc6ee1243399 | [
"MIT"
] | permissive | robmikh/CaptureGifEncoder | 1709bb45a10079d8f01894908af3863a5e546daa | 005771f83a36cf3b6a9549a1887cd51634dfd8f2 | refs/heads/master | 2023-01-12T09:05:03.069616 | 2022-12-27T01:52:13 | 2022-12-27T01:52:13 | 245,104,898 | 23 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,033 | cpp | #include "pch.h"
#include "GifEncoder.h"
namespace winrt
{
using namespace Windows::Graphics;
using namespace Windows::Graphics::Capture;
using namespace Windows::Storage::Streams;
}
namespace util
{
using namespace robmikh::common::uwp;
}
GifEncoder::GifEncoder(
winrt::com_ptr<ID3D11Device> cons... | [
"rob.mikh@outlook.com"
] | rob.mikh@outlook.com |
1eab6819a9b14a91e24f1ba29e824bcbbe55ab1b | 836bebf3b9451308f6b66266323fdec68f37852f | /Tip distribution program/functions.cpp | 259924ec90ad51d3b2542ea002332b558dbb2e78 | [] | no_license | DaegilPyo/C-Programs | e50a0ad1e21f237e2eaad5dc973c7f1ff8b446fb | e193787f485d45fa6d7247d289eaf6787912c11d | refs/heads/master | 2020-07-31T03:36:15.931632 | 2019-10-10T18:57:05 | 2019-10-10T18:57:05 | 210,470,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,318 | cpp | #include"functions.h"
using namespace std;
namespace function
{
bool Yes_Or_No()
{
char YON = '\0';
bool result = false;
cout << " Would you like to exit Tip Rating program?(Y(y)/N(n)) : ";
do
{
cin >> YON;
clearKeyboard();
if (YON != 'N' && YON != 'n' && YON != 'Y' && YON != 'y') { co... | [
"noreply@github.com"
] | DaegilPyo.noreply@github.com |
d23b5f1c74655ec67782169a182ddeffce6d17a0 | 56148fb60af13e0b7464bf19248ee019998be461 | /Delta-2A_Windows_Demo/sdk/app/frame_grabber/SerialSelDlg.cpp | 005701fa42121c8f35ae93d563a3edef727fc304 | [] | no_license | shuimuyangsha/Lider_Delta2A | 14a99cd31b783adb8d02c85aea7c119d931db370 | 452b1df04bbc7f3b35d856bc3d7628b8b409e1a5 | refs/heads/master | 2022-11-08T05:59:07.940341 | 2020-07-04T08:41:35 | 2020-07-04T08:41:35 | 276,083,115 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,808 | cpp | /*
* RSLIDAR System
* Driver Interface
*
* Copyright 2015 RS Team
* All rights reserved.
*
* Author: ruishi, Data:2015-12-25
*
*/
// SerialSelDlg.cpp : implementation of the CSerialSelDlg class
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "resource.h... | [
"dongxh@dadaoii.com"
] | dongxh@dadaoii.com |
5c7c21b9bf44653a775253b4dcb1de82a82ea07f | 1ae7e3c269e0bd2df0bc725a33f307971816d40d | /app/src/main/cpp/boost/range/detail/value_type.hpp | 033783fe8cae2ef10f1b8c0e958c093f975ceedf | [] | no_license | HOTFIGHTER/XmLogger | 347902372bf2afc88cf26d2342434c1ea556201f | 433a0420c99a883bd65e99fd5f04ac353ac6d7b6 | refs/heads/master | 2021-02-18T08:46:12.122640 | 2020-03-05T14:16:39 | 2020-03-05T14:16:39 | 245,178,943 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | hpp | // Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2004. 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)
//
// For more information, see http://www.boost.org/libs/rang... | [
"linfeng.yu@ximalaya.com"
] | linfeng.yu@ximalaya.com |
9447dccb97b4bddebcb7a3a839647d688c044c39 | 50d821d66784a620b6c37af7314e27fdcef25b73 | /src/Renderer.cpp | b292672b0e21b701dfbd20e4684bb2d7b6356240 | [] | no_license | Munstar/VisRTX | 6b22fa3097dddc24521b5812b697c01b5f66113c | bacc0c85467cf4c82a9b844e9a0e46ba248d08d2 | refs/heads/master | 2020-07-06T11:05:58.550967 | 2019-08-13T14:01:46 | 2019-08-13T14:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,271 | cpp | /*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 condition... | [
"tbiedert@nvidia.com"
] | tbiedert@nvidia.com |
aef45e542988c33f7dce842357a162004bd58fc7 | c90ce2d1e2b96409e20fef94af1207d5543cddec | /sw/src/sw/ctrl/RootControl.cpp | 9bcf606e2fefbde4c03382c2e25336b502e763e3 | [] | no_license | definedD4/SlickWindows | 2f58407a14088117683df073bdd5d83fc686d47f | 4e538f6447acc8ec923ad297ab08eb814b74ddd8 | refs/heads/master | 2021-01-21T11:44:54.781130 | 2016-05-11T16:04:04 | 2016-05-11T16:04:04 | 49,780,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | #include "RootControl.h"
namespace sw {
RootControl::RootControl(Window* owner) : ControlParrent(), m_Owner(owner) { }
RootControl::~RootControl() {
delete m_Content;
}
Size RootControl::getContainerArea(ControlBase* control) const {
ASSERT(m_Owner != nullptr)
ASSERT(control == m_Content)
r... | [
"definedd4@gmail.com"
] | definedd4@gmail.com |
b4a0faec69758bffd52705708585f1b0ae4fcb07 | 74abda4c78e009363a64dbca2747ff8c44d406b1 | /Exercicios_Aulas/Exercicios extras/Exercicio3.cpp | 3c42a23cdafa17907396d6714a2d8af84f0923d5 | [] | no_license | JonasAntonio/Algoritmos | 12863b1f954fb51a8f676e872931780ac5e35ad0 | cd9f69f3233cc1b03c33f4af182f3d83b477ac4b | refs/heads/master | 2020-03-10T17:53:31.892145 | 2018-04-14T11:58:42 | 2018-04-14T11:58:42 | 129,511,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | cpp | #include<stdio.h>
int main() {
int p,s,be;
int a,b,c;
p=1,2,3,4;
s=1,2,3,4;
b=1,2,3,4;
//Prato principal
printf("Prato principal: \n");
printf("1.Vegetariano\n");
printf("2.Peixe\n");
printf("3.Frango\n");
printf("4.Carne de Porco\n");
scanf("%d",&p);
if(p>4 || p<1) {
printf("Comando... | [
"noreply@github.com"
] | JonasAntonio.noreply@github.com |
9bc55e00cde41bfa922e87e1a4abb1144c50deb1 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-redshift-serverless/source/model/GetWorkgroupResult.cpp | 5423e1060b3005216804a527c1842d584f9ea94a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 959 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/redshift-serverless/model/GetWorkgroupResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#incl... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
d42698b9cee689e9138b7e5321007a0406cd3aaf | 686f674dd3c28e1a9fd1518c2dab134d77f4828e | /main85.cpp | 327c7033742ecbd59e29727e8dc8c5ca1f263de9 | [] | no_license | jack-Dong/NubtOj | 8aa452f44a0ef1ba7bb7be4e211fa28a4dbf1fa2 | 7cecf56289b247dd85625bc9102141324ff81a8b | refs/heads/master | 2021-01-23T07:44:55.374580 | 2017-03-28T09:52:27 | 2017-03-28T09:52:27 | 86,443,612 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,331 | cpp | #include <iostream>
#include <vector>
#include <math.h>
using namespace std;
//点的结构体
typedef struct Point
{
double x,y;
}Point;
//判断是否在一条直线上
inline bool jugleOnALine(Point p1,Point p2,Point p3)
{
double det = (p2.y - p1.y)*(p3.x - p1.x) - (p2.x - p1.x)*(p3.y - p1.y);
if( fabs(det) < 0.0001 )
{
return true... | [
"1099633787@qq.com"
] | 1099633787@qq.com |
43411e54ae745b73cff4d6c1545e99d176aff307 | 11cd4f066c28c0b23272b6724f741dd6231c5614 | /Matka Codechef.cpp | ec24b8c47518bbfe851b3332514b0d52edca1ef1 | [] | no_license | Maruf089/Competitive-Programming | 155161c95a7a517cdbf7e59242c6e3fc25dd02b7 | 26ce0d2884842d4db787b5770c10d7959245086e | refs/heads/master | 2021-06-24T11:00:55.928489 | 2021-06-01T05:45:58 | 2021-06-01T05:45:58 | 222,057,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,159 | cpp | ///*بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم*///
//#pragma GCC optimize("Ofast")
//#pragma GCC target("avx,avx2,fma")
//#pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define ln '\n'
#define inp(x) scanf("%lld",&x)
#define inp2(a,b) scanf("%lld %lld",&a,&b)
#define f0... | [
"noreply@github.com"
] | Maruf089.noreply@github.com |
7fa7a63706605fc3267d6e2d8d1cde03caeca3c8 | d9167eaed1bc14c7cf3ba8555e241c4ca2fd9d1b | /KernelMonitor/context.cpp | 6e9c4340c1fe61195119b6019d4e3c399b1120c0 | [] | no_license | yuaom/KernelMon | 8301af36c34d05e13b306f9ea4b4a67fba644018 | 4f545da24980c72e6e9f6dcc9ad78fceb45d37b7 | refs/heads/master | 2023-06-07T11:17:40.826321 | 2021-03-05T12:24:37 | 2021-03-05T12:24:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,923 | cpp | #include "context.h"
#include "ept.h"
static vmx::Vmxon* alloc_vmxon();
static vmx::Vmcs* alloc_vmcs();
static unsigned __int64 virtual_to_physical(PVOID vaddr);
vmx::VmmContext* vmx::alloc_vmm_context() {
PHYSICAL_ADDRESS physical_max;
physical_max.QuadPart = ~0ULL;
auto vmm_context = new(NonPagedPool) VmmContex... | [
"alonbenti@gmail.com"
] | alonbenti@gmail.com |
4ac0f3c41d2b7d82a0a417aa007341f7895efad9 | 9056dcc0298c2c9142ceb070bafaec52a75e13a9 | /Cpp-version/libs/map.cpp | f829b2c6d0cdfb2e11ab58b0d123a44544ecd706 | [] | no_license | vwdorsey/dungeon | 641597439d2da7adc16cf42230d72fc717cd05bd | ad5c315ea3a95a66f52aef530c5795123acc6705 | refs/heads/master | 2020-05-29T14:16:34.788538 | 2015-04-26T02:56:50 | 2015-04-26T02:56:50 | 82,594,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,818 | cpp | /*
* map.cpp - Contains all the classes and functions necessary to
* create and maintain a map for the dungeon crawler
*
*/
#include <iostream>
#include <cstdlib>
#include <random>
#include "values.hpp"
#include "dijkstra.hpp"
#include "map.hpp"
map::map(){
room_count = min_rooms + (random() % ((max_rooms - ... | [
"vwdorsey@iastate.edu"
] | vwdorsey@iastate.edu |
9544de486ebc10609f6b066923b9020d781b8938 | 5e2e27daacfddfe119015736fcc6e9a864d66c49 | /GameEngine/Graphics/Anim2Bone.cpp | db53db079308dd27a65033a6f9aab04f82670dd4 | [] | no_license | mdubovoy/Animation_System | 17ddc22740962209e7edbd8ea85bec108499f3e2 | b356d0ea6812e0548336bc4813662463e786de93 | refs/heads/master | 2021-01-22T11:41:13.637727 | 2014-09-22T14:01:20 | 2014-09-22T14:01:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,129 | cpp | #include "OpenGLWrapper.h"
#include "Pyramid.h"
#include "PyramidObject.h"
#include "GraphicsObjectManager.h"
#include "Anim.h"
#include "Constants.h"
#define BONE_ANIM 0
#if BONE_ANIM
// temporary hack
Frame_Bucket *pHead = 0;
PyramidObject *firstBone;
// PyramidObject *p1;
Pyramid *pPyramid;
#define BONE_WIDTH 13... | [
"michel.dubovoy@gmail.com"
] | michel.dubovoy@gmail.com |
e8ef9f37e0485f383e9b869a5c93eb1aadac2844 | 917370624ba324c5a04996b3d68f31e9f0c1b5f9 | /lib/Sema/SemaDecl.cpp | 83ec34448fa8418aee2822696eb4630e8e7ee970 | [
"NCSA"
] | permissive | yuankong11/Clang-elementWise | 0137101a0adad425d464e0b801d9ee9e7ea1daf3 | 892ba3b080e34d5c7fd8da7a94832414d689da8d | refs/heads/master | 2022-01-24T21:17:41.683108 | 2019-07-07T12:52:33 | 2019-07-07T12:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474,103 | cpp | //===--- SemaDecl.cpp - Semantic Analysis for Declarations ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"zenghongbin16@mails.ucas.ac.cn"
] | zenghongbin16@mails.ucas.ac.cn |
8bbd1b97c9286e76c2ee2e30bab1d5efe3c4fd4a | a7d417b677c62920cc408ee6b07e8a9106b30d2f | /lab2/lab2/readfromfile.cpp | 234a4117da2a6f474ea87c239817459ce9d1df35 | [] | no_license | KITKATJN/LAB2MOCOS | 9dafe557326d381a6a4ae94f5745034c39de4b2d | 94ab261792bd3b14a2783081325a21848fe15996 | refs/heads/main | 2023-04-05T09:57:31.887241 | 2021-04-11T14:59:45 | 2021-04-11T14:59:45 | 356,677,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | cpp | #include "Header.h"
std::vector < std::complex < double>> ReadSignal(std::string path)
{
std::ifstream file;
file.open(path);
std::size_t count = 0;
double x;
while (file >> x) count++;
std::cout << "count = " << count << std::endl;
std::vector < std::complex < double>> signal(count / 2);
double... | [
"noreply@github.com"
] | KITKATJN.noreply@github.com |
8b39ec91989d277cda0767101743597b7b23dac1 | c40a70b70835a0a8b8672f3d2c10c82fe13d55ff | /switch.cpp | a459913b2f25c14707e1761cc9033e1bcaded569 | [] | no_license | RodArg/OOPDemo | 4561df368f5753990cb94a87882fe0f502503b2d | 55351defeeff0f8fe660ba38d21d363cc38f873a | refs/heads/master | 2020-03-22T05:59:06.663981 | 2018-08-01T22:51:18 | 2018-08-01T22:51:18 | 139,604,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include "std_lib_facilities.h"
int main(){
int num;
cout << "What's your favorite number 1-10?";
cin >> num;
switch(num){
case 0: case 2: case 4: case 6: case 8: case 10:
cout << "Nice and even";
break;
case 1: case 3: case 5: case 9:
cout << "That's odd";
break;
case 7:
cout << "Lucky!";
break;
}
... | [
"rodrigo.arg01@gmail.com"
] | rodrigo.arg01@gmail.com |
e609cef92d881e1f9ac4548a74bf2e91b485e1a4 | 49c55e28d66238a6b6cc6ad26b3ea4ff7db6f6df | /src/src/FlowSinkProcessor.h | 6708d7529964210ad504bb8bffe56bdd21de9ee2 | [] | no_license | akosiorek/optical_flow | 3380825e55d15a4d7f57e8717c7fa9be4d5c3e10 | d48918f56e864d7d1f087216e0e0e7435a19069a | refs/heads/master | 2021-01-02T22:57:14.563839 | 2015-07-03T11:23:04 | 2015-07-03T11:23:04 | 33,973,413 | 1 | 3 | null | 2015-05-19T17:46:10 | 2015-04-15T04:37:34 | C++ | UTF-8 | C++ | false | false | 1,423 | h | #ifndef FLOW_SINK_PROCESSOR_H
#define FLOW_SINK_PROCESSOR_H
#include <vector>
#include "common.h"
#include "DataFlowPolicy.h"
#include "FlowSlice.h"
#include "IFlowSinkTask.h"
template<template <class> class InputBufferT>
class FlowSinkProcessor :
public BufferedInputPolicy<FlowSlice::Ptr, InputBufferT>
{
public:
... | [
"dawidh.adrian@googlemail.com"
] | dawidh.adrian@googlemail.com |
c6adcc10b4743ccfbef86b75d557eea81d2318f3 | 4fc802a5e091f42d463917e07dd6e104604cecf6 | /Tarea2_Ej7/src/Headers/InputManager.h | e0a58c5b871e60323490cc0973d0b613c3aa642c | [] | no_license | FernandaRTenorio/DIMyR_FerRomeroT | c0ca9692960454bc8ac90f99975bfef6f71211d4 | 3ca115f6aa7b22a3e6f1230b8833749ae6239521 | refs/heads/master | 2020-12-07T03:49:04.678662 | 2016-12-13T17:22:46 | 2016-12-13T17:22:46 | 66,040,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | h | #ifndef _InputManager_H
#define _InputManager_H
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform2.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtc/type_ptr.hpp>
// Standar GLFW for the management of inputs codes keyboards
enum InputCodes {
kEscape = 27,
Space = 32,
... | [
"fernandiux_mo@hotmail.com"
] | fernandiux_mo@hotmail.com |
110620a945036f77fd104ba8a5a318c38c1eed69 | b375b5f1ab13f8c9d8b3003435a4980d6c5a1215 | /GameServer/GameMsg.h | 9d82d8c58c64858cd65b54e5b9e4c0dc65de213d | [] | no_license | 2316707511/GameProject | 08291b43e90c1463ac5e14cd2f52da26645fa838 | 533d96d1acc91f6cedaf3f7bf7803599edff815b | refs/heads/master | 2020-11-27T07:49:17.420504 | 2019-12-24T09:27:32 | 2019-12-24T09:27:32 | 229,360,156 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,377 | h | #pragma once
#include "zinx.h"
#include "msg.pb.h"
#include <list>
using namespace std;
class GameSingleTLV :public UserData {
public:
//根据游戏的协议需求,定义的消息ID 枚举
enum GameMsgType {
GAME_MSG_LOGON_SYNCPID = 1, //同步玩家id和名字
GAME_MSG_TALK_CONTENT = 2, //聊天信息
GAME_MSG_NEW_POSTION = 3, ... | [
"2316707511@qq.com"
] | 2316707511@qq.com |
7afa1c2512c09b448ca65af6197a4c3814d94142 | 4392a99245845c9f047e84b1cd4e53ac72983391 | /HDOJ/1097.cpp | 26dcbc0b34015a6c8b87cf7e82d6e1be4018bd43 | [] | no_license | netcan/Netcan_ICPC | 54aa26e111aa989fb9802d93b679acdfe4293198 | 73cde45b23301870bdb2f3eeead3ce46dd229e92 | refs/heads/master | 2021-01-20T07:18:35.117023 | 2016-09-07T02:08:13 | 2016-09-07T02:08:13 | 39,720,148 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: netcan
////Nickname: Netcan
////Run ID:
////Submit time: 2015-05-08 16:38:52
////Compiler: GUN C++
///////... | [
"1469709759@qq.com"
] | 1469709759@qq.com |
5c5f18bb483024a56a579b764f85298b3e5518d1 | 5aa4d76fef6247d93b6500f73512cdc98143b25d | /Soket/CHAT/SampleServer/Sample.h | 5fbe0abbd51a1a50268cc41199a0f6189e2e5a2f | [] | no_license | leader1118/KHJ-Project | a854bc392991e24774ab0feca0bb49eb8593ef15 | 0eb0144bbd2b4d40156402a5994c8f782b558f6c | refs/heads/master | 2020-04-05T20:44:07.339776 | 2019-02-01T10:11:45 | 2019-02-01T10:11:45 | 157,193,296 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | #pragma once
#include "TCore.h"
#include "TUdpSocket.h"
class Sample: public TCore
{
public:
TUdpSocket m_Udp;
public:
bool Init();
bool Release();
bool PreRender() { return true; }
bool PostRender() { return true; }
LRESULT MsgProc(HWND hWnd,
UINT message,
WPARAM wParam,
LPARAM lP... | [
"hyunjin9173@gmail.com"
] | hyunjin9173@gmail.com |
7cd2f4bd102ca4415e512e65725a3323b62d2db5 | 790714546b4638d8d69995d9158a313c795dbffd | /inet_insertions/MobileNode.cc | cc9a10de99439d460bc93599f8394d93472ea8a2 | [] | no_license | brunoolivieri/omnetpp-mobility-drones | 13f76fdac4d5bda1668017a52436a26850320182 | f20f72fed2d8273ed29d302759898b2bc4542444 | refs/heads/master | 2023-03-05T06:57:29.253913 | 2021-02-18T10:17:41 | 2021-02-18T10:17:41 | 313,561,272 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,988 | cc | #include "MobileNode.h"
#include "stdlib.h"
#include <time.h>
#include "inet/inet_insertions/MobileNode.h"
//namespace inet {
//Register_Class(MobileNode);
Define_Module(MobileNode);
void MobileNode::initialize(){
// TO-DO: these ID shaw be UUID as in network
internalMobNodeId = this->get... | [
"bruno@olivieri.com.br"
] | bruno@olivieri.com.br |
d32f30ac9fc860f5eb376c64d9d8ba960f1b7dd3 | aec87add1dcaa69f84b9408bc6a9bf85363563f2 | /tests/interface/TWNEOTests.cpp | 8565c0813ffcedbbc6e79ae99e5509c4be57213c | [
"MIT"
] | permissive | maxUo/wallet-core | bd2396a8cf5a2907958359fcde24cdd09bddc4c8 | 13fc3733327749c5ecefa821da657290211df869 | refs/heads/master | 2020-12-30T02:40:08.927517 | 2020-02-06T13:36:32 | 2020-02-06T13:36:32 | 238,834,431 | 0 | 1 | MIT | 2020-02-07T03:17:45 | 2020-02-07T03:17:44 | null | UTF-8 | C++ | false | false | 1,354 | cpp | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include <TrustWalletCore/TWNEOSigner.h>
#include <TrustWal... | [
"noreply@github.com"
] | maxUo.noreply@github.com |
ce3fb3184c9a7d1b79e8a3da026f5f0c0e324051 | 2a1cadc7c37e34e449f9a9ce159c29f425a8c82f | /mediatek/platform/mt6577/hardware/audio/aud_drv/AudioAnalogAfe.h | ec76406c612a86646a52a36f27c7bde35695a772 | [] | no_license | abgoyal-archive/OT_5035E | 31e74ab4fed05b8988acdc68c5a3af6b6381f43f | 56d0850adfc5501ebb4a3b020bd1b985d5e9dcdc | refs/heads/master | 2022-04-16T15:09:24.021237 | 2015-02-07T00:22:16 | 2015-02-07T00:22:16 | 30,439,232 | 0 | 2 | null | 2020-03-08T21:16:36 | 2015-02-07T00:20:49 | C | UTF-8 | C++ | false | false | 7,459 | h |
#ifndef ANDROID_AUDIO_ANALOGAFE_H
#define ANDROID_AUDIO_ANALOGAFE_H
#include <stdint.h>
#include <sys/types.h>
#include "AudioYusuDef.h"
#ifndef ABB_MDSYS_BASE
#define ABB_MDSYS_BASE (0xFD114000)
#endif
#define MIX_ABB_REGION (0x9B4)
#define MIX_PMU_REGION (0x724)
#define MASK_ALL ... | [
"abgoyal@gmail.com"
] | abgoyal@gmail.com |
a88d48a7ad9cea117a5ee4fe23980e4a8937a6b5 | 2ef8f10d0d6ff404c87c9f290833131464b42167 | /2/2_You_jump_I_jump_3/2_You_jump_I_jump_3.cpp | 9ad411f6a3511469a306dbb6b9f63fe895fc2694 | [] | no_license | EventideX/Class | ccfb7b9c41e183207f8d3ffe05d98e03ef9f39b4 | 18b70997bdf47aeb603093afe4458fde7bcfeb3a | refs/heads/master | 2021-01-17T21:54:14.084637 | 2017-03-12T14:44:37 | 2017-03-12T14:44:37 | 84,183,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include<iostream>
using namespace std;
int main()
{
int i, j, k, n, m, s, t, a[10001] = { 0 }, x, y;
cin >> n >> x >> y;
t = 0;
i = 1;
j = 1;
k = 0;
while (t == 0)
{
i += x;
j += y;
if (i > n) i = i - n;
if (j > n) j = j - n;
a[i]++;
a[j]++;
k++;
if ((a[i] > 1) || (a[j] > 1)) t = 1;
}
cout ... | [
"844058637@qq.com"
] | 844058637@qq.com |
20d6d432049f37e9c4a5f704e7b8652da6d1416a | a69574670179ba33bc67d9de6004c27fbefc6638 | /topcoder/TCO11 Wildcard/250.cpp | 4254fed5ea838f464b9723783e5e58f1372e7abf | [] | no_license | ashpsycho/CP | d60516ad6aad6a5045053344acb99210d954c53f | 1ae2d9825363c4d25ed2c865b04223a48d6b1f6a | refs/heads/master | 2021-01-18T23:37:19.382933 | 2018-06-05T11:02:39 | 2018-06-05T11:02:39 | 48,465,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include <bits/stdc++.h>
using namespace std;
class EventOrder{
public:
int getCount(int longE,int inst){
long long i,j,k=0,mod=1000000009L, dp[2][3004];
for(i=0;i<2;i++)
for(j=0;j<3002;j++)dp[i][j]=0;
dp[0][0]=1;
for(i=0;i<longE;i++){
for(j=0;j<3002;j++){
dp[1][j]=(dp[1][j]+((j*(j-1))/2)*dp[0][j])%... | [
"lavania_a@worksap.co.jp"
] | lavania_a@worksap.co.jp |
a661c438c4f7c5f3978590045c9d6c1d3945f128 | aafccc71b3ba659a9b6a606d805d9889c9fabc09 | /codechef/jan2014long/error.cpp | 485709f1c2995802b1555a4383db24418c90d228 | [] | no_license | abhashksingh/practice-programs | 6bf37670e8f385a2bb274bb14ffb9052944a9ab5 | 02602f61ad4812726dedb6c760c81dc647244b8c | refs/heads/master | 2021-01-25T05:23:09.630415 | 2014-08-24T17:07:10 | 2014-08-24T17:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <stdio.h>
using namespace std;
int main()
{
string inp,c1="010",c2="101";
long long t;
size_t r1,r2;
scanf("%lld",&t);
cin.ignore();
while(t--)
{
getline(cin,inp);
r1 = inp.find(c1);
r2 = inp.find(c2);
if((r1!=string::npos)&&(r2!=strin... | [
"superabhash@gmail.com"
] | superabhash@gmail.com |
2dd31397f0bab427098a38f6f253bec0f72eec04 | 71e7675390503901564239473b56ad26bdfa13db | /src/zoidfs/ftb/FTBClient.cpp | 05e489198abd0c5ccd1d656abec6c4a9c8e7706e | [] | no_license | radix-io-archived/iofsl | 1b5263f066da8ca50c7935009c142314410325d8 | 35f2973e8648ac66297df551516c06691383997a | refs/heads/main | 2023-06-30T13:59:18.734208 | 2013-09-11T15:24:26 | 2013-09-11T15:24:26 | 388,571,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | cpp | #include "FTBClient.hh"
#include "ServerSelector.hh"
#include "iofwdutil/IOFWDLog.hh"
#include "common/ftb/ftb.pb.h"
#include <arpa/inet.h>
#include <boost/uuid/uuid_io.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/format.hpp>
#include <ftb.h>
using boost::format;
namespace zoidfs
{
//============... | [
"dkimpe@mcs.anl.gov"
] | dkimpe@mcs.anl.gov |
5ca97377bae739c51c0e5c7ba86db2577212ff4d | 17e7f2f8b786ee8361b9b755740e816411751b76 | /NexusNative/nnetwork/ntcp_server.h | daaca79435c4943d98aca7a70fa4ecd1c113c2a1 | [] | no_license | windless1015/My3DEngine2008 | 880945bd9d9f5e9a2ed30fe869ee53ec5b4fe2da | 6fffdd1b158ba9c63ffd564788fddd5706e08ac0 | refs/heads/master | 2022-11-13T17:41:46.620000 | 2020-07-02T13:31:19 | 2020-07-02T13:31:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,139 | h | /**
* nexus network - ntcp_server
*
* Copyright (C) 2010 NexusDev
*
* Author: D. Zhao
* Date: Feb, 2010
*/
#ifndef _NNETWORK_NTCP_SERVER_H_
#define _NNETWORK_NTCP_SERVER_H_
#include "ncommon.h"
#include "nnetwork_def.h"
#include "ntcp_session.h"
#include <boost/thread/thread.hpp>
namespace ... | [
"neil3d@126.com"
] | neil3d@126.com |
17d3a7a1f3fb2fd05fda153f59ca72c40b7636ca | 6fad097d94153a3bb5d504908721064b40f38bd0 | /eh-sim/src/simulate.hpp | 8a50133955b7dafd422586c3345301ae2a8d4654 | [
"MIT"
] | permissive | charleyXuTO/thumbulator | 8aecbe605bdbe42932aefcf5a5d0e5109e6d12fd | 487dfac96d88948ea2a316244ca7b952e5dce5c6 | refs/heads/master | 2020-05-23T18:01:27.330962 | 2018-07-06T18:24:14 | 2018-07-06T18:24:14 | 186,878,961 | 0 | 0 | null | 2019-05-15T18:05:15 | 2019-05-15T18:05:14 | null | UTF-8 | C++ | false | false | 705 | hpp | #ifndef EH_SIM_SIMULATE_HPP
#define EH_SIM_SIMULATE_HPP
#include <chrono>
#include <cstdint>
namespace ehsim {
class eh_scheme;
struct stats_bundle;
class voltage_trace;
/**
* Simulate an energy harvesting device.
*
* @param binary_file The path to the application binary file.
* @param power The power supply ov... | [
"mario.badr@outlook.com"
] | mario.badr@outlook.com |
0ff5fe476bd1749edd16259586c393bd797a89db | 198f1f5606add5d11ecc7f264e11e83e05de92e7 | /Classes/not used/SensoryMemory.cpp | 826cc558e5e1eda0cb40819fcccbb46b2454788f | [] | no_license | jsenter/MOBAclient | 407c6a44441976adbd0d040cb6ac8548fb254a6d | 490924a9bbfccd9fe54f9b1916fd70be32b18326 | refs/heads/master | 2021-01-15T21:30:31.820134 | 2016-11-26T05:12:38 | 2016-11-26T05:12:38 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 11,259 | cpp | #include "SensoryMemory.h"
#include "GameWorld.h"
#include "AbstCharacter.h"
#include "Timer/CrudeTimer.h"
#include "SteeringBehavior.h"
USING_NS_CC;
std::stringstream & operator<<(std::stringstream &ss, const MemoryRecord& m)
{
ss << m.attackable << std::endl
<< m.within_view << std::endl
<< m.time_became_visib... | [
"insooneelife@naver.com"
] | insooneelife@naver.com |
1d519b46b14d062a7550bd6c0286c51969077f1c | ef836b7ae3cc245f466c55cb1e351d5bda4220c7 | /qtTeamTalk/filesview.cpp | ea306bfec638f81baf4434677d780f311b3f5b19 | [] | no_license | DevBDK/TeamTalk5 | 1e26cc2bcba87fd1079e070079cf82f4d78e5a4c | 14d4cf040a49521cc44c94df85fe4cfef91e7729 | refs/heads/master | 2021-01-12T00:11:10.644407 | 2017-02-20T08:09:32 | 2017-02-20T08:09:32 | 78,031,402 | 0 | 0 | null | 2017-01-11T21:14:24 | 2017-01-04T16:11:58 | C++ | UTF-8 | C++ | false | false | 2,630 | cpp | /*
* Copyright (c) 2005-2016, BearWare.dk
*
* Contact Information:
*
* Bjoern D. Rasmussen
* Kirketoften 5
* DK-8260 Viby J
* Denmark
* Email: contact@bearware.dk
* Phone: +45 20 20 54 59
* Web: http://www.bearware.dk
*
* This source code is part of the TeamTalk 5 SDK owned by
* BearWare.dk... | [
"contact@bearware.dk"
] | contact@bearware.dk |
02567772f8c35d2caa6f13bdcd89c0fe104024da | 74fafa521fc4ebe7fb7d47b7ca9df76ae8028143 | /CBProjects/game1/blackbox.cpp | 968a13808fbf66bbf619e3630c8fec9209d34b1d | [] | no_license | JKick101/sometrash | e1be4da20d5c3b2150871eb970c168583ea12590 | 9f9d8c18c5fdcd7e969085b6fbe28ad8447ac830 | refs/heads/master | 2021-07-20T01:17:49.976513 | 2017-10-29T00:02:26 | 2017-10-29T00:02:26 | 108,422,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,064 | cpp | // BLACKBOX.CPP - Game Engine
// INCLUDES ///////////////////////////////////////////////////
#define WIN32_LEAN_AND_MEAN // make sure all macros are included
#include <windows.h> // include important windows stuff
#include <windowsx.h>
#include <mmsystem.h>
#include <iostream> // include important... | [
"ilyababichev101@gmal.com"
] | ilyababichev101@gmal.com |
08ca013dcd33e3ce9e2beefb4e4786cb72a53c5f | 625d129f66712f0d5c5e19c8f80d510f58dd3727 | /data structures/binary search.cpp | c0ea6c3f9d8dd197de8cce3908e1ebce267cce51 | [] | no_license | valeriaconde/school | 61621a9262078fcd71832ebe880eff80e3ae8b4f | 210d96a4e86f45e14a6e6297bc186327f72f90de | refs/heads/main | 2023-08-16T17:00:51.026552 | 2021-09-21T16:25:24 | 2021-09-21T16:25:24 | 401,173,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | cpp | // Actividad 1.3
// Entregado 11/09/2020
// Equipo #21
// Juan Pablo Salazar A01740200
// Valeria Conde A01281637
// Melissa Vélez Martínez A00827220
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
// Struct Datos para guardar objetos de cada dato e... | [
"valeriaconde.96@gmail.com"
] | valeriaconde.96@gmail.com |
987fbefbf5d3a33536c65566ad89fff725a9c714 | 9ca5e88f35f1b9ca6e966498d49e853f20e7201e | /src/qt/sendcoinsdialog.cpp | 998df42b3fb1c254ebe6aabdb81a4d92a11afffe | [
"MIT"
] | permissive | myworldgithub/Horgerchain | dce64c51325de4efd6eb45dd7f31183b53bfe2c4 | 8d9c9bdf0c598b1457e75e90635afa97cb533ac6 | refs/heads/master | 2020-03-07T20:12:47.284188 | 2018-04-02T02:25:29 | 2018-04-02T02:25:29 | 127,691,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,653 | cpp | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
// Coin Control
#include "init.h"
#include "addresstablemodel.h"
#include "coincontrol.h"
#include "coincontroldialog.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#i... | [
"eqrtty@163.com"
] | eqrtty@163.com |
4e316c6d4f80923a702381d18c87d703a722590c | 711619c0fef88df3c62bb78a8a847ce8e439de01 | /exercise-01.cpp | 3a448465a399ba9908bab46357430fd9483c7e97 | [] | no_license | shenaach/strukdat-03 | 0ace5a3b8873dd0435af7eff5ece0a3bc0e6301d | 165d935c3c7ae671f75a7fe9baea0a91c7f567ac | refs/heads/master | 2020-04-28T14:45:39.947048 | 2019-03-13T04:44:06 | 2019-03-13T04:44:06 | 175,347,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | /*
Nama program : Exercise 01
Nama : Sharashena Chairani
NPM : 140810180022
Tanggal buat : 13 Maret 2019
Deskripsi : Segiempat
*************************************************/
#include <iostream>
#include <cmath>
#include <math.h>
using namespace std;
typedef struct{
float pa... | [
"shenachairani@gmail.com"
] | shenachairani@gmail.com |
46f4a7be8fb79d2b1b373e5144651978aa0b3e17 | 032de413fe4b756456bed9aefcf81f38ac38a3ed | /binary_tree_level_order_zigzag.cpp | 2e497e951ab1568998e4657b389901dabcd20bcd | [] | no_license | elden2010/leetcode | 1eede355bd466114e005a6cb4e6e758cf2dceca6 | d6963e82826721901cdcf51ba4fbef4732c102ee | refs/heads/master | 2020-05-27T20:12:53.861858 | 2013-11-02T04:13:06 | 2013-11-02T04:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cpp | class Solution {
public:
vector<vector<int> > zigzagLevelOrder(TreeNode *root) {
vector<vector<int> > ret;
vector<vector<TreeNode*> > allLvl; // store all TreeNodes in levels
if(root) {
// initial set up
vector<TreeNode*> newLvl;
newLvl.push_back(root);
allLvl.push_back(newLvl);
... | [
"elden.yu@gmail.com"
] | elden.yu@gmail.com |
1798865c1c8ae846de77c0a49f5faf77f3e31b2f | 74ef3dca3c51cc006cb4a6e001d677177fde415b | /Projecte/Graph.cpp | e6bb52056cbd6d1476c50214d5885b18b60a1fe0 | [] | no_license | Elektroexe/ProjecteLP | 32b58508db63b0d0863c5975f692163edf3d8bed | e0eb6ede9c5c4dc2bdbb2111d3e990aeab4ef221 | refs/heads/master | 2020-04-18T08:21:01.920629 | 2019-01-24T16:32:26 | 2019-01-24T16:32:26 | 167,393,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include "Graph.h"
void Graph::calculaComunitats(list<Tree<double>*>& listDendrogram)
{
Comunitat c(&m_mAdjacencia);
c.calculaComunitats(listDendrogram);
}
| [
"gerson.e.ramirez@gmail.com"
] | gerson.e.ramirez@gmail.com |
175c3f8eac990435d1c3261d83d13126b08bf815 | 6a6a952f5e73520a26823cb0ffa984fff594afdc | /ortools/gscip/gscip_event_handler.h | cc3c3bb3305bde3ba2f85f9f7a656351a55fd43a | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hmaytac/or-tools | 010c9aeffab5da24a87520423e0558369e5d3de1 | 21b3cc679628a4d9c81f33da77012339aabc6c72 | refs/heads/master | 2023-07-17T14:26:42.542840 | 2021-09-03T13:28:10 | 2021-09-03T13:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,678 | h | // Copyright 2010-2021 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"lperron@google.com"
] | lperron@google.com |
89d749cfd6d0f8ebba7d4257244c4abf74fec665 | c963958323984427bf29e17ba544d78a9b1739fd | /CTEHL2MPFireBullets.h | 0141204ef46891cb95937f55d76a780f32f1245b | [] | no_license | hentaidad/gmod-sdk | ada3beae43af4b6da401155f783b3132860b027b | 8c451b5c57a1ced3da4a686ffb2cd83e42adcc3f | refs/heads/master | 2020-03-19T05:25:36.394975 | 2018-06-03T18:35:43 | 2018-06-03T18:35:43 | 135,929,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | //***********************************************
// SDK Generated by ValveGen (written by Chod)
// File: CTEHL2MPFireBullets.h
//***********************************************
#pragma once
#pragma pack(push,1)
class CTEHL2MPFireBullets
{
public:
unsigned char _0x0[0x10];
int m_iPlayer; // 0... | [
"noreply@github.com"
] | hentaidad.noreply@github.com |
f3a1c60284c3fd6371d93ef48508e215b800fcf2 | ca87b6d95b8951346226cbccc78fa6b971fa906c | /delivery/include/Account.h | c2993ad7e7b0bf5a98ae819036786ea1cfac7906 | [] | no_license | ngreen3/Deep-Learning | 05de586c66050accd107aa6d69959ceebc8f2db8 | c6ec177f5e6bbb9fd6abb0c3f14249806f873262 | refs/heads/master | 2020-03-12T13:30:15.371389 | 2018-05-01T06:54:07 | 2018-05-01T06:54:07 | 130,643,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | h | #ifndef _ACCOUNT_H_
#define _ACCOUNT_H_
#include "OpenPosition.h"
#include "enumErrorOutputs.h"
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
class Account
{
private:
// Current cash level
double cash = 0;
// List of all open positions held by the account
vector<OpenPos... | [
"naomi.green@mines.sdsmt.edu"
] | naomi.green@mines.sdsmt.edu |
766f52f3eef84ffe1bad92eb6e18e7f881262be0 | 5f4e7f89ac9f8934beb9fd9a5d8aff232fb9e105 | /babies/ame_folder/ame/ame.ino | 3caf4b081aac56a7a08d1551f19eba8a78020d93 | [] | no_license | AmedeoSpagnolo/lullababy | 2ca2b5845dae2fa565ab06ec6973ac6f71832616 | 665f75ffe914dc84b013f2453466d9e06277cf26 | refs/heads/master | 2020-07-28T17:33:44.820281 | 2019-10-07T06:29:57 | 2019-10-07T06:29:57 | 209,480,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | ino |
#include <SD.h>
#include <SPI.h>
#include <arduino.h>
#include <MusicPlayer.h>
long x = 0;
long y = 0;
long z = 0;
long prev = 0;
bool shake = false;
void setup(void)
{
Serial.begin(9600);
player.begin();
player.setPlayMode(PM_REPEAT_ONE);
player.playOne("cry.mp3");
}
void loop(){
player.play();
player... | [
"amedeo.spagnolo@gmail.com"
] | amedeo.spagnolo@gmail.com |
93bf6b5eb1594887f85085b89e60dd13813ff4b4 | 5ccabccc3c54423c73072f9d9dfc522f70a689fd | /AudioPlayer.h | 45f2e19ad9db9efb8631db30dcfcc9171c3c6fdc | [] | no_license | RyanSwann1/CPP-SFML-Platformer | 60a4374ba49ce73bbb5d31da5a0e6ca31275651e | c483801d4c7b498e6d33ad799e680e5537641a8d | refs/heads/master | 2021-01-11T08:52:39.117354 | 2016-10-31T23:28:57 | 2016-10-31T23:28:57 | 72,383,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | h | #pragma once
#include <string>
#include <unordered_map>
#include <vector>
#include <SFML\Audio.hpp>
struct AudioClip
{
AudioClip(const std::string& audioClipName, sf::Sound* audioClip)
: m_name(audioClipName),
m_audioClip(audioClip)
{}
std::string m_name;
sf::Sound* m_audioClip;
};
using ... | [
"noreply@github.com"
] | RyanSwann1.noreply@github.com |
d8bbbd8725a5bb1c971ca4fe8429f6014ee2ebe8 | 3ea68b2659229e3258592bf7ee035bfb9a51aaab | /kmint_handout/kmintapp/src/pathfinding/dijkstra.h | 665175c441039d4d662db93c1841291622a5175f | [] | no_license | JorisWillig/KIProject | 43a5df2fc9acb4943ef85d61138296fe61d8974b | 64bd8a3a5210ee1193e8691013bf6ff535a586dd | refs/heads/master | 2020-04-04T19:07:09.768329 | 2018-11-20T12:07:21 | 2018-11-20T12:07:21 | 156,192,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,103 | h | #pragma once
#include "pathfinder.h"
#include <map>
#include <queue>
#include <vector>
namespace pathfinding {
class Dijkstra : public IPathfinder {
public:
Path findPath(map::map_graph& graph, const map::map_node* start,
const map::map_node* target) override;
private:
struct Comparator {
Comp... | [
"fabio.waljaard@gmail.com"
] | fabio.waljaard@gmail.com |
a801c81a2ad918f700887d6ca2fc84f27df864e6 | b3e525a3c48800303019adac8f9079109c88004e | /dol/iris/test/offload/crypto_sha_testvec.hpp | 27ded2dd2024e89b9b9e325ae63e2254c6e3f346 | [] | no_license | PsymonLi/sw | d272aee23bf66ebb1143785d6cb5e6fa3927f784 | 3890a88283a4a4b4f7488f0f79698445c814ee81 | refs/heads/master | 2022-12-16T21:04:26.379534 | 2020-08-27T07:57:22 | 2020-08-28T01:15:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,404 | hpp | #ifndef _CRYPTO_SHA_TESTVEC_HPP_
#define _CRYPTO_SHA_TESTVEC_HPP_
#include <stdint.h>
#include <string>
#include <memory>
#include <math.h>
#include <unistd.h>
#include <assert.h>
#include <openssl/ssl.h>
#include "logger.hpp"
#include "offload_base_params.hpp"
#include "testvec_parser.hpp"
#include "crypto_sha.hpp"
... | [
"32073521+raghavaks@users.noreply.github.com"
] | 32073521+raghavaks@users.noreply.github.com |
460920ed9d8984a9e02467ed8f52bcb29eeda912 | 4d3a7ac0d0dd35d8cd4a8cdebdf28e405df7b508 | /단어변환.cpp | 9f5f7e1b9b0a52c6c76835dcea3963fe9f3d516f | [] | no_license | HannSoo/algoPrac | c98bd50672dd2eb4e3f913f01320b6b2b757a0ec | a974cfad3ed510e32466e99abfd209f0d491e0ac | refs/heads/master | 2020-03-27T11:10:46.066957 | 2019-11-21T07:51:22 | 2019-11-21T07:51:22 | 146,470,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <queue>
using namespace std;
vector<string> words;
bool isAdj(string a, string b);
int targetLvl;
vector<string> bfs(string start,string target){
int size = words.size();
vector<bool> discovered(size, false);
queue<string> q;
queue<int> lvl;
... | [
"ggt1324@gmail.com"
] | ggt1324@gmail.com |
fcbb1f63755d255fc0157d51f0bde275f18aa806 | ebd4e46c40aade4df0bf9a61026a37ca19ef9641 | /Rat_In_The_Maze.cpp | f2494c15013102d1d15afc72df874d4ecbd9db7f | [] | no_license | vrragul1405043/Recursion-Backtracking | 048db2d52aa89064c50c521256220443f1fe0d3d | b59919457fd51b40b84597b097705ecaacfb4597 | refs/heads/master | 2023-06-24T01:04:14.813635 | 2021-07-28T13:34:00 | 2021-07-28T13:34:00 | 388,720,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | class Solution{
void solve(int i, int j, vector<vector<int>> &a, int n, vector<string> &ans, string move,
vector<vector<int>> &vis, int di[], int dj[]) {
if(i==n-1 && j==n-1) {
ans.push_back(move);
return;
}
string dir = "DLRU";
for(int ind = 0; ind<4;i... | [
"ragul.ravishankar@gmail.com"
] | ragul.ravishankar@gmail.com |
ee7d7bcb7818032f16127ca2fcf09db41a21cb26 | c048e266bcfd87389e0082f80290614f090915cc | /main.cpp | a42fd03680b8f154152adbda95e1ecc6cc6e88ce | [] | no_license | BarNeeY95/Timp_l6 | 1cfb172acdf08eba9cc5d8bd71cd46d8911a79e0 | 48c988eddcf56fb331a277308d5349191d065775 | refs/heads/master | 2021-01-02T22:17:27.469452 | 2015-06-03T06:30:19 | 2015-06-03T06:30:19 | 36,784,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,980 | cpp | //
// main.cpp
//
//
//
//
/** \include <iostream>
\include <string>
*/
#include <iostream>
#include <string>
///- Используем пространство стандартных имен
using namespace std;
/** \tparam T {Шаблонный тип, отвечающий за подаваемые в метода класса типы int и string}
*/
template <typename T>
/** \class List
\b... | [
"krid3d@yandex.ru"
] | krid3d@yandex.ru |
b40ee980ed793757704bbf7b6023ec8bc319e551 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_Prompt_EmissaryEntitlementPurchased_parameters.h | 3e0175c75caa029292b86e4d97c9d226f2b374b4 | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//----------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
235e8c20127d3f7115df32ebba148f613b0dadc9 | bdf9b430d9e6302b58cbdd2c2f438f3500ce62e1 | /Old Topcoder SRM codes/Maxu.cpp | 5d961a22a514bca2d2656de3b10517538ba499dd | [] | no_license | rituraj0/Topcoder | b0e7e5d738dfd6f2b3bee4116ccf4fbb8048fe9c | 3b0eca3a6168b2c67b4b209e111f75e82df268ba | refs/heads/master | 2021-01-25T05:16:18.768469 | 2014-12-14T13:47:39 | 2014-12-14T13:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include <algorithm>
#include <cmath>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
using namespace std;
int main()
{
int a=10,b=5;
int c;
// c=a >? b ;
return abs(a-b) >? abs(a+b);
cout<<c<<endl;
return 0;
}
| [
"rituraj.tc@gmail.com"
] | rituraj.tc@gmail.com |
d91505c886d2dca96da1a32f076fa38f80216f87 | f028d17056e8955accc84b5fa087ada9ba5a8241 | /lesson7/InClass/Human.cpp | dfc0defa11826924b13ad2b75f9be9fb42e0ac30 | [] | no_license | ck1001099-Teaching/cpp_course_2020fall | a20afd39bf0ece657f902ce52e40cfdab47c4bf1 | 91b80a47738cac07cb9efe1cb396acd03c241291 | refs/heads/master | 2023-01-25T02:53:52.633725 | 2020-12-08T03:43:21 | 2020-12-08T03:43:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include <iostream>
#include <string>
using namespace std;
class Dog{
public:
private:
};
class Human{
public:
string name;
string bloodType;
string birth;
void SetLINEID(string ID){
LINE_ID = ID;
}
string GetLINEID(string name){
if (name == "小華"){
return LINE_ID;
} else {
cout << "不告訴你!" << end... | [
"ck1001099@gmail.com"
] | ck1001099@gmail.com |
89b73796aac1fa0c577dc559cccee8775b395f2d | 493ac26ce835200f4844e78d8319156eae5b21f4 | /flow_simulation/ideal_flow/processor1/0.12/U | c7f2a5cafa267a45e7d7709053f9129bf51bf282 | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,861 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
86644dd736a3e80c254d13be8b17623150143310 | 4d48900772a8c7f6e2b37b17800c6adcecdb6757 | /Source/Plugins/NetModeler/stdafx.cpp | 0b514b25ef87944ff786638c3c2879cbf17a6276 | [] | no_license | boltej/Envision | 42831983d5cf04dfc98b5ea95722e29472af3ca6 | eb90284c03ac709fd99e226834821b09eb9e50e6 | refs/heads/master | 2023-08-09T02:24:34.509337 | 2023-07-19T17:32:49 | 2023-07-19T17:32:49 | 179,588,778 | 5 | 4 | null | 2022-11-29T17:19:52 | 2019-04-04T22:55:26 | C++ | UTF-8 | C++ | false | false | 200 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Modeler.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"john.bolte@oregonstate.edu"
] | john.bolte@oregonstate.edu |
d5a212b330e39bb5dcac48401c30d7845e924339 | e2052e830c93eb8451ebc533d89929f143465c36 | /myfirstopencv/hist.cpp | b08057e3a2453217c09cc27991de37776fd63001 | [] | no_license | haocong/opencv-object-recognition | 4471993baa1e333141daf6017008d7649fc25be0 | f047d42d9b523565f84d4dcd2e9be4cc3e2288a9 | refs/heads/master | 2021-01-11T10:05:06.196123 | 2017-01-16T16:42:30 | 2017-01-16T16:42:30 | 78,092,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | #include <highgui.h>
#include <cv.h>
#include <opencv2/legacy/legacy.hpp>
using namespace std;
IplImage* doScale(IplImage* image_input, double scale)
{
CvSize size;
size.width = (int)image_input->width * scale;
size.height = (int)image_input->height * scale;
IplImage* image_output = cvCreateImage(size,... | [
"haocong.xu@gmail.com"
] | haocong.xu@gmail.com |
711f3ecc01b1e77b12b670f1b61e4f4c517f8a7c | d58f5e22717dbac802faca8a1748f9f9a10dbb11 | /data-structures/tests/optional.cxx | 01b96022dbd09566367e4f3c66a3d832b22c20ed | [
"BSD-3-Clause"
] | permissive | mtezych/cpp | f5705bfd1fc31f8727b17773a732b86269f4830d | ea000b4d86faa112a2bfa3cc2e62638c8e14fd15 | refs/heads/master | 2023-05-25T16:04:00.964687 | 2023-05-09T03:44:18 | 2023-05-09T03:44:18 | 79,068,122 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,233 | cxx |
/*
* BSD 3-Clause License
*
* Copyright (c) 2021, Mateusz Zych
* 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... | [
"mte.zych@gmail.com"
] | mte.zych@gmail.com |
1523e6658c46df5904c527648ebee6ac1325c5cf | 2eb779146daa0ba6b71344ecfeaeaec56200e890 | /oneflow/core/vm/object_instruction_type.cpp | 7df0ca5ac6c8c9b1afe2fe9964ba767749677239 | [
"Apache-2.0"
] | permissive | hxfxjun/oneflow | ee226676cb86f3d36710c79cb66c2b049c46589b | 2427c20f05543543026ac9a4020e479b9ec0aeb8 | refs/heads/master | 2023-08-17T19:30:59.791766 | 2021-10-09T06:58:33 | 2021-10-09T06:58:33 | 414,906,649 | 0 | 0 | Apache-2.0 | 2021-10-09T06:15:30 | 2021-10-08T08:29:45 | C++ | UTF-8 | C++ | false | false | 11,666 | cpp | /*
Copyright 2020 The OneFlow 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | hxfxjun.noreply@github.com |
d5e03cde8722d69495c85051fc2ebfd4966397e2 | bc2ee860790f7ccedb5f68c13d528cf303dc2389 | /src/engine/videoimage.cpp | 8a2ce1345e9bc9dbbad22dbe56f78cb4b89dc643 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | FreeAllegiance/Allegiance-AZ | d0d3fc4655f94c0a145245c43ff4f3cddaeb9d1a | 1d8678ddff9e2efc79ed449de6d47544989bc091 | refs/heads/master | 2021-06-26T02:54:18.589811 | 2017-09-10T23:47:19 | 2017-09-10T23:47:19 | 40,015,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,576 | cpp | #include "pch.h"
#include "mmstream.h"
#include "amstream.h"
#include "ddstream.h"
//////////////////////////////////////////////////////////////////////////////
//
// VideoImage
//
//////////////////////////////////////////////////////////////////////////////
class VideoImageImpl : public VideoImage {
public:
//... | [
"austin.w.harris@gmail.com"
] | austin.w.harris@gmail.com |
7138b8028fc6b1f11f2f96accfaec6782f0425ec | 3cc724e49843928f6e0886ca99110ce87b806b9c | /capdDynSys/examples/newton/newtonSimple.cpp | fe7bbf22a2486c0d1d82616974a9a6022bbabde4 | [] | no_license | dreal-deps/capdDynSys-3.0 | ec6245d470c40b74eaafeae14cac28d985eb8c4f | 1d02413c10be5354e5c81d2533d0fde89243d455 | refs/heads/master | 2021-01-10T20:20:12.351964 | 2014-06-27T21:27:52 | 2014-06-27T21:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,992 | cpp |
/////////////////////////////////////////////////////////////////////////////
/// @file newtonSimple.cpp
///
/// This file contains examples how to use Newton and Krawczyk classes
///
/// This file differs from newtontst.cpp only in using facade classes
/// instead of general templates
///
/// @author Tomasz Ka... | [
"soonhok@cs.cmu.edu"
] | soonhok@cs.cmu.edu |
68cfd158b94fcc2d1a6e2ebe5b35d2d6ef799df5 | f753c6173870b72768fe106715b5cbe8496b9a89 | /private/tst/avb_streamhandler/src/IasTestAvbPtpClockDomain.cpp | 1670f2f846f8d3fc6774b6286c551282f4d721af | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | intel/AVBStreamHandler | 3615b97a799a544b2b3847ad9f5f69902fbcab6e | 45558f68e84cc85fa38c8314a513b876090943bd | refs/heads/master | 2023-09-02T13:13:49.643816 | 2022-08-04T22:47:26 | 2022-08-04T22:47:26 | 145,041,581 | 17 | 24 | NOASSERTION | 2019-04-11T23:04:57 | 2018-08-16T21:38:32 | C++ | UTF-8 | C++ | false | false | 1,513 | cpp | /*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasTestAvbPtpClockDomain.cpp
* @date 2018
*/
#include "gtest/gtest.h"
#define private public
#define protected public
#include "avb_streamhandler/IasAvbPtpClockDomain.hpp"
#include "avb_str... | [
"keerock.lee@intel.com"
] | keerock.lee@intel.com |
5d59d7b4a790177bac03972b15768bdbfb081aec | 32af99b4bfdc6d8bbe8267ce08d661a8af369c12 | /FYP_detect/tests/sequence_number/main.cpp | 994dd12574e0dd764b7fdd12b43c2c7d5cbf8d4c | [] | no_license | Dthird/FYP | 6056ec0b65720b1be3d737985ab6aea1b55de6aa | b73004d8ae4bed877f88c6481697f7e5cce3609b | refs/heads/master | 2020-04-01T16:51:51.783879 | 2015-12-30T07:53:59 | 2015-12-30T07:53:59 | 28,626,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,338 | cpp | #include <iostream>
#include <vector>
#include <llvm/IR/Module.h>
#include <llvm/Support/SourceMgr.h>
#include <llvm/IRReader/IRReader.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/CFG.h>
#include <llvm/Analysis/LoopInfo.h>
#include <llvm/PassA... | [
"sydongjx@163.com"
] | sydongjx@163.com |
b64253ba6408e75dbc7c41b13d09b53b8a946599 | 6451f4869745d523f220c6b9ce019b5a701c8778 | /Solutions/q.cpp | 90f77f908e0740ed5cf5c7b470d0051a485df790 | [
"MIT"
] | permissive | dariodsa/Information-Theory | de5f2628bd5bd1a732f13ca90c48555bd1a39369 | 8102af59be9258159d480d3a079cb3d8938154f3 | refs/heads/master | 2022-11-08T00:50:49.634108 | 2020-07-13T06:57:17 | 2020-07-13T06:57:17 | 111,422,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include <stdio.h>
int main(int argc, char *argv[])
{
FILE *pfile = fopen(argv[1],"r");
FILE *pfile2 = fopen("out1.txt","w");
char t;
while(fscanf(pfile,"%c",&t))
{
fprintf(pfile2,"%c,",t);
}
}
| [
"dario.sindicic@gmail.com"
] | dario.sindicic@gmail.com |
b8fe7880b433eecaba6b3dde34f9357043cecea7 | bd0a5fa497bcd418c71b9d0a4d5329ebc98a0f44 | /Graphs/shortest_distance_1or2.cpp | 04dc84ad04b0d30221be7c226d45349c2d805cdd | [] | no_license | pruvi007/InterViewBit_Academy | f9ab953919dc4afb4711118640cb72883c3106a8 | f1022d6ff8aaf28ffcff688ba69af4aeff136200 | refs/heads/master | 2021-07-04T10:47:06.639914 | 2020-10-09T06:45:44 | 2020-10-09T06:45:44 | 186,099,196 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | /*
Find shortest distance between source and destination in a graph which has weights 1 or 2.
idea: introduce dummy nodes to make distances 1, then apply BFS to get the shortest distance.
*/
// solution by @pruvi007
#include<bits/stdc++.h>
using namespace std;
vector< vector<int> > v(100001);
int bfs(bool vis[],int ... | [
"pruvi007@gmail.com"
] | pruvi007@gmail.com |
1c06e05cec436f8d9342ee144445e19c4561ac02 | 5fd7ba925b2cb277f2e4fe182f28fe4df960b92d | /2468/2468.cpp | a3c97250186e8de6515cc759c75cbb22f7391b39 | [] | no_license | htyvv/2021-BaekJun | e8c144561a2a5d80bf881427e76faaae68b4d4cf | f0c58e29ffcfc75e0463227753ffb9e03a813169 | refs/heads/main | 2023-06-20T18:02:44.026216 | 2021-08-07T14:32:26 | 2021-08-07T14:32:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include<iostream>
using namespace std;
int n;
int map[100][100];
bool check[100][100];
int dx[] = { 1,0,-1,0 };
int dy[] = { 0,1,0,-1 };
void dfs(int x, int y);
int main() {
cin >> n;
int input;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
cin >> input;
map[i][j] = input - n;
}
}
i... | [
"htyvv@naver.com"
] | htyvv@naver.com |
79e25a1afaca24e7c70fa54497a3e6c8f93a2ccc | 8c5ca1bee5f581cebea051f181725698ef3e4e31 | /src/libtsduck/dtv/mpe/tsMPEDemux.cpp | eec293ce12b2e87e421cb8f6cb17a33f564a5402 | [
"BSD-2-Clause"
] | permissive | vtns/tsduck | 1f914c799fcd3e758fbea144cbd7a14f95e17f00 | 2a7c923ef054d8f42fd4428efe905b033574f78f | refs/heads/master | 2023-08-28T08:11:02.430223 | 2021-10-29T23:28:47 | 2021-10-29T23:28:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,202 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
02313b76fe6647698850697869aeeecf4aec2a7e | 9f7ae044ec7e6fab9bd27e81b636ea242d3dfa1d | /examples/cpp/open_response/request_open_resp.cpp | 8c08dd1a012d46f30778761d61087a7b58d9e0e3 | [
"LicenseRef-scancode-us-govt-public-domain"
] | permissive | barbaroony/GMSEC_API | 9ced39b6d6847a14db386264be907403acc911da | 85f806c2519104f5e527dab52331c974d590145a | refs/heads/master | 2022-12-18T20:52:36.877566 | 2020-09-25T12:27:13 | 2020-09-25T12:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,769 | cpp | /*
* Copyright 2007-2020 United States Government as represented by the
* Administrator of The National Aeronautics and Space Administration.
* No copyright is claimed in the United States under Title 17, U.S. Code.
* All Rights Reserved.
*/
/**
* @file request_open_resp.cpp
*
* This file contains an exampl... | [
"david.m.whitney@nasa.gov"
] | david.m.whitney@nasa.gov |
6c6bac7a6b0d5570c27f31b042f767e117f5b8dd | f8a7754b0621d1b936a3177d7888d1c7439b18f2 | /Source/ActionGame/CharacterInterface.h | 3b0b4dd30eebd50031f878118af1274d64b21a6d | [] | no_license | kaznakajima/ActionGameProj | 085722fa5a031c0bf7995d4134ac21277716a58a | bb26636ea07a2c6d1c09758a8eff15a13f1106f9 | refs/heads/master | 2021-06-12T15:11:35.359447 | 2019-09-09T14:26:55 | 2019-09-09T14:26:55 | 185,239,210 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,989 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "CharacterInterface.generated.h"
UINTERFACE()
class ACTIONGAME_API UCharacterInterface : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
// キャラクターのステータス
US... | [
"nkc.kazuya.nakajima@gmail.com"
] | nkc.kazuya.nakajima@gmail.com |
530d32029dfd83b2f150a0c9fde952d1c5d0df05 | bffb0c3c64029c7fa8521cce1374105803a280e1 | /docs/cpp/codes/new_delete.cpp | e8b7f71f5b5d0a409c576a24157bf0b430b2a8a9 | [] | no_license | yiouejv/blog | b7d6ea015e13da9f988ac5a62098d24561f43d9b | f5c0a3ce26e961df3fc8879f55b681bb9d8aae51 | refs/heads/master | 2021-07-06T20:33:39.124373 | 2021-03-28T08:47:52 | 2021-03-28T08:47:52 | 229,209,161 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
// new 申请内存
int *p1 = new int; // c++
*p1 = 12; // 写
cout << *p1 << endl; // 读
delete p1; // delete + 指针
// 申请并初始化
int *p2 = new int(123);
cout << *p2 << endl;
delete p2;
// 申请数组空间,返回空间的首地址
int *p = new int[5];
p[0] ... | [
"yiouejv@126.com"
] | yiouejv@126.com |
d09adabc5e46d9b20a2aa362bac980691248c9ff | fcaae47ab2e34c634b6965a7f7c85ffe064b0572 | /cf/aresta_no_caminho_minimo.cpp | d5f26d055301c2d22baec01ebf4e6e726a39b2f7 | [] | no_license | MatheusSanchez/Gema | de9769d4a491d7ac4ad66c514cbd929fc46ac25f | 988f78a30c78477efcebc2676be3b19d107a3067 | refs/heads/master | 2021-07-13T13:30:25.138507 | 2018-11-07T18:51:17 | 2018-11-07T18:51:17 | 123,514,762 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,976 | cpp | #include <bits/stdc++.h>
#define inf 0x3f3f3f3f
#define MAX 100001
using namespace std;
typedef pair <int,int> pii;
typedef vector <pii> vpii;
typedef vector<vpii> graph;
typedef vector<int> vi;
int n_nos,n_arestas,origem,destino,A,B,peso;
graph g(MAX);
int prede[MAX];
int dist[MAX];
void print_prede(){
//cout ... | [
"matheus2.sanchez@usp.br"
] | matheus2.sanchez@usp.br |
f82bb97977b3e7f0407caf3dbe1a0e6a4f22ff0e | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/097/920/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_w32CreateFile_52a.cpp | d64402cbff399fe47626d536024d6bb87543f66d | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,190 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_w32CreateFile_52a.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-52a.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket Read data ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
a64d20f90834706f18fdd0eb0a9010cfd6238b2e | b6067f462d3bd91362ca9bb462b99f9a2890d980 | /CSAcademy/76/C.cpp | e0d16db88f1d5f3577a89d3083fc8b5c076aaea8 | [] | no_license | lionadis/CompetitiveProgramming | 275cb251cccbed0669b35142b317943f9b5c72c5 | f91d7ac19f09d7e89709bd825fe2cd95fa0cf985 | refs/heads/master | 2020-07-22T07:29:18.683302 | 2019-09-08T13:48:31 | 2019-09-08T13:48:31 | 207,116,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(a, x) for(auto& a : x)
#define all(x) x.begin(), x.end()
#define sz(x) (int)(x).size()
#define F first
#define S second
#define f_in freopen("test.in","r",stdin);
#define f_out freopen("test.in","w",std... | [
"ahmed.ben.neji@ieee.org"
] | ahmed.ben.neji@ieee.org |
b5e49a628c8e74c38643b3f6b74fac435ac4ed1a | 75b418f5fb34a524e11d26c3e6928e89100e04e8 | /homework2/btb_trial_2_2048.cpp | 77fd11041a375552cfde1ce5a853e1b4ab98da31 | [] | no_license | Krishna14/CSE240C | 362bb272d7ce26772ee76dc030b17709ba3b0d57 | d41949816bf440f58752bdb47fabe05d6c57a249 | refs/heads/main | 2023-03-25T14:41:38.109721 | 2021-03-23T09:27:11 | 2021-03-23T09:27:11 | 339,305,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122,890 | cpp | #include <iostream>
using namespace std;
int main(void) {
uint64_t i;
uint64_t iter = 1000000;
for (i=0; i < iter; i++) {
__asm__ (
"clc\n"
"clc\n"
"mov $10, %eax\n"
"cmp $15, %eax\n"
"jle l780\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"l780: jle l782\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"clc\n"
"l782: jle l784\n"
"cl... | [
"ec2-user@ip-172-31-19-38.us-east-2.compute.internal"
] | ec2-user@ip-172-31-19-38.us-east-2.compute.internal |
bf9814661e3daa3099f71c75d4ab6cd1fd50b599 | fc151e851d1d64eb94c0890bb7c99e0ce9a455eb | /include/vsg/viewer/ViewMatrix.h | 42f0ec4b9bb12cec151ef53420af62772a6e0bc9 | [
"MIT"
] | permissive | wangii/VulkanSceneGraph | dc4873221bb17b159e65e64c2f598ef9a695b687 | 1e480b333c5e241e57c033b5cdecbe819a27355b | refs/heads/master | 2021-06-13T22:46:43.561844 | 2020-04-09T19:43:11 | 2020-04-09T19:43:11 | 254,459,430 | 0 | 0 | MIT | 2020-04-09T19:43:13 | 2020-04-09T19:22:24 | null | UTF-8 | C++ | false | false | 3,542 | h | #pragma once
/* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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 limitation the rights to ... | [
"robert@openscenegraph.com"
] | robert@openscenegraph.com |
1fec185bd70f1d3a10439cb0e21da9a5c0c534cf | db8f2e61e3c13862c540eddfdf8447e88bf53b72 | /examples/timer-test/timer-test.cpp | fda09761de2f2d8eaf5a45aad594e469001f8e07 | [
"MIT"
] | permissive | Gadgetoid/32blit-beta | 87769a0b314443022688d849ccafee02e0408b00 | ff77149e904e314f756f3c7df59ef45a6676fc02 | refs/heads/master | 2023-02-12T19:20:29.006400 | 2020-01-17T20:26:55 | 2020-01-17T20:26:55 | 234,631,151 | 1 | 1 | MIT | 2020-01-17T20:32:29 | 2020-01-17T20:32:29 | null | UTF-8 | C++ | false | false | 2,320 | cpp | #include <string>
#include <string.h>
#include <memory>
#include <cstdlib>
#include "timer-test.hpp"
/*
TODO: This example is really dry, how can we make it awesome?
Without making it so complicated that it fails to elucidate its point.
*/
using namespace blit;
const uint16_t screen_width = 320;
cons... | [
"phil@gadgetoid.com"
] | phil@gadgetoid.com |
5246647eae33cf7a12fa273e5e73971653f1762b | 1fea1b1bcb283931afea6aa3103795236f12fb6d | /read_xml/include/datatypes.h | ba255ef4cd7f5e7a28c94b45c10ad2d7f015a791 | [] | 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 | 680 | h | #include <iostream>
#include <vector>
#include <assert.h>
#include "tinyxml.h"
#include "datatype.h"
using std::string;
using std::vector;
using std::shared_ptr;
class Datatypes
{
public:
static Datatypes * Instance();
void load_datatypes_from_xml(const char * xml_file_path);
shared_ptr<D... | [
"leonardo.baroncelli@inaf.it"
] | leonardo.baroncelli@inaf.it |
2cce6fafdfbf795a56ca9febd33ed52c85f49fce | 041896c4d54efd97e1896fb882f92b5c7df3a425 | /RdcTable.h | 0d14bf7bef44f31b005f5d166a328a1a75d66681 | [] | no_license | double16/switchmin-w32 | 69ce34fce9a666dc21e62086a4d0bd0c0853e49f | aece48d3d6507b7811060d4fb75ab65e81798acb | refs/heads/master | 2020-05-19T12:40:23.711046 | 2014-06-15T01:29:07 | 2014-06-15T01:29:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | h | ////// AB CLASSGEN Wed Apr 02 22:04:50 1997 ////////
// RdcTable Definition
//////////////////////////////////////////////////////
#if !defined(RdcTable_HPP)
#define RdcTable_HPP
#if !defined(RC_INVOKED) // no Windows RC compiler
#include "TermSet.HPP"
#include <map.h>
namespace swmin {
#if defined(DLLUSE_SWSYSTEM) ... | [
"pat@patdouble.com"
] | pat@patdouble.com |
bac857f93600a56462531221680d4e3c6c1fb2c7 | e484ee95ee030a3447efd6f6ffdc5802721553f8 | /CoinWeight/weighresult.hpp | 1caae8bdb9be1020f93eb1445f2efb748b6a084d | [] | no_license | mortarsanjaya/CoinWeight | 1c04ebdf34f2e51dd6eea29e16d4aa5b9bfc03f0 | 77db1d8578e7e691d4d593ca20c8a73a99f981f2 | refs/heads/master | 2022-11-06T22:59:02.680403 | 2020-05-23T03:43:35 | 2020-05-23T03:43:35 | 244,746,700 | 1 | 0 | null | 2020-04-01T02:45:08 | 2020-03-03T21:36:38 | C++ | UTF-8 | C++ | false | false | 326 | hpp | //
// weighresult.hpp
// CoinWeight
//
// Created by Gian Cordana Sanjaya on 2020-03-25.
// Copyright © 2020 -. All rights reserved.
//
#ifndef weighresult_hpp
#define weighresult_hpp
namespace CoinWeight {
enum class WeighResult {
Start,
Invalid,
Balance,
LeftHeavy,
RightHeavy
};
};
#e... | [
"mortarsanjaya@gmail.com"
] | mortarsanjaya@gmail.com |
d7e07e681b041b192ef28e3ab987139b107f67f1 | 81fe39a5d34edc7d0bdb92202aecaa7544ff107b | /DFS_tren_do_thi_co_huong.cpp | 93efc27df3c69c00a54540ae1ee45b1b3fcb9f09 | [] | no_license | Tran-Thanh-The/sam-sung-algorithm | d279af2c86317e14a3c33750f1a8e56bef9498a5 | eabb62795b3bf2cf834ebe9b4848a4c221e3b772 | refs/heads/master | 2023-08-29T23:44:23.979146 | 2021-11-16T15:46:58 | 2021-11-16T15:46:58 | 422,822,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> floo[1005];
bool check[1005];
int tr[1005];
void DFS( int f, int v) {
if ( check[v])
return;
check[f] = true;
for ( int i = 0; i < floo[f].size(); ++i) {
if ( !check[floo[f][i]]) {
tr[floo[f][i]] = f;
DFS( floo[f][i], v);
}
}
}
void trace( i... | [
"phonvan128@gmail.com"
] | phonvan128@gmail.com |
51f7b3c4d407cfc8659ea5c66f0299fb5d671b2b | 2589ecea3012916196becdc75c7513aafdd5f994 | /HackerRank/HR_BasicDataTypes/hr_basic_data_types.cpp | 4f60c3ed780c1bddbda5c05e637584f08446c0ce | [] | no_license | outcastgeek/LL_kcaH | c4e104576c6db07c680f5d817aed4413ebe2188f | e7b44cb983d506edd659c533d5c7516e9e01badf | refs/heads/master | 2023-02-02T08:21:48.397842 | 2020-12-21T02:18:03 | 2020-12-21T02:18:03 | 112,263,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include <cstdio>
int main() {
int a; long b; char c; float d; double e;
scanf("%i %li %c %f %lf",&a,&b,&c,&d,&e);
printf("%i\n%li\n%c\n%.03f\n%.09lf\n",a,b,c,d,e);
return 0;
}
| [
"outcastgeek+git@gmail.com"
] | outcastgeek+git@gmail.com |
ac4bc86b9db81c565028a20288032ac4b38d71ab | a8fa9114a7ed19a11010c5151d513a7dee21dc55 | /learnopenGL/Source/AI_Comp.h | a7905b0dbab33b6df1e64d0ff8b97ea74930f0dc | [] | no_license | Mamama22/Framework-C- | 24694c752fa9ba9fbdb1de144486238fd3b53d86 | 7fd1de38b4544a9739d560386268a30df5d6ebd1 | refs/heads/master | 2020-05-21T14:54:01.935221 | 2016-10-27T23:53:42 | 2016-10-27T23:53:42 | 62,128,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | h | #ifndef AI_COMP_H
#define AI_COMP_H
#include "Component.h"
struct XY_grid
{
int x;
int y;
XY_grid(){ x = y = -1; }
~XY_grid(){}
XY_grid& operator=(XY_grid& copyMe)
{
x = copyMe.x;
y = copyMe.y;
return *this;
}
};
/*************************************************************
Author: Tan Yie Cher
AI co... | [
"spotifyuser998@gmail.com"
] | spotifyuser998@gmail.com |
92f56dacf3f1b4dcae0fe746d882c59c5a08c8b5 | 34138f011537a4c70e25b1618dae3552ee9af682 | /mt_copy/src/mt_gamesvr/gameplay/gameplay_lottery.cpp | 73b3e3a248c0a3cbd73955ade2d36e07d7816059 | [] | no_license | marinemelody/MyUtility | 1ce8f6d17742d7a4d361c7306bf5b608a83e403d | d4beb9d900b07fd579275d8670d385483c1f287f | refs/heads/master | 2020-04-28T01:24:35.411752 | 2014-01-06T09:57:39 | 2014-01-06T09:57:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,983 | cpp |
#include "gameplay_lottery.h"
#include "id_mgr.h"
// 抽奖概率表
apr_hash_t * lottery_stone_prob_hash = NULL;
apr_status_t lottery_stone_roll(
apr_int32_t group_id,
card_ptt_id_t * ptt_id)
{
lottery_group_prob * gp = NULL;
gp = (lottery_group_prob *)apr_hash_get(
lottery_stone_prob_hash,
&group_id,
sizeof(group... | [
"marinemelody@gmail.com"
] | marinemelody@gmail.com |
ac8e1ad2f5be1a2f3ce6cd450b14a00998de2a44 | eb376bf1655d1264e368ca70d0377b0b1a1ec127 | /Bubble Sort/bubblesort.cpp | 78ee59a24ff95a5bbc19ccca5f3be0f7bb19f579 | [] | no_license | KamalDGRT/Implementation-of-Algorithms | a7900da1d71bde0e75693701035cdc77c34c2430 | 18ac768f669984b632d82399eade9ed0fb93183e | refs/heads/master | 2020-08-28T04:04:55.568935 | 2020-05-20T14:49:27 | 2020-05-20T14:49:27 | 217,582,889 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | // bubble sort for sorting numbers
#include <iostream>
using namespace std;
int main()
{
//Variables that will be used
int n, i, j, t, *array;
char choice;
do
{
system("cls"); // to clear the screen
cout << "\t\t\t\t Bubble Sort \n";
cout << "\n How many values do you want to sor... | [
"noreply@github.com"
] | KamalDGRT.noreply@github.com |
69632c011239bf6195fe4b49b045813f3cbb24d9 | a14e6279c6d7b027613dee37baee6e0cfd2e2c06 | /iOS/core/plane.cpp | c820106df465f46cc63841152e05c2b8886a85b9 | [] | no_license | psenzee/senzee5 | e7caa80bfc3346fc98e2fc4809041f576647653f | dfe2a9f7a3b33f7ccfe9b12e09a20d1b10d6f3f4 | refs/heads/master | 2016-08-06T15:51:29.894387 | 2015-01-22T13:27:06 | 2015-01-22T13:27:06 | 23,462,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,178 | cpp | #include "tuple3f.h"
#include "math.h"
#include "plane.h"
const Plane Plane::INVALID = Plane();
bool Plane::intersect(const Edge &line, point_t &at)
{
point_t nl = line.normal();
float denom = dot(nl),
num = dot(line.a) + dist;
if (math::eq(denom, 0.f)) return false;
else at = line.... | [
"psenzee@yahoo.com"
] | psenzee@yahoo.com |
a7ed7c0faa9fa18642e0a2f89ea057e47526b55d | 605c89c38d3729e623a409979080913c0674ef7f | /coconut2d-x/controllers/CNScrollLayerController.h | 0943a50146f4397928abe75cab4b41af77f9a634 | [
"MIT"
] | permissive | moky/SpriteForest | 02080ceb816492fc718e0c00b772e49b74e8c99a | b88f2be74a14157e9b25c2295f0efc7c516446b5 | refs/heads/master | 2021-01-18T20:29:38.450925 | 2014-04-28T03:33:06 | 2014-04-28T03:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | h | //
// CNScrollLayerController.h
// Coconut2D-X
//
// Created by Moky on 12-12-11.
// Copyright 2012 Slanissue.com. All rights reserved.
//
#ifndef Coconut2D_X_CNScrollLayerController_h
#define Coconut2D_X_CNScrollLayerController_h
#include "CNTouchController.h"
NS_CN_BEGIN
class CNScrollLayerController : public... | [
"albert.moky@gmail.com"
] | albert.moky@gmail.com |
36d62bfbb4af479ab78e241f1ec4d1c6715ea48e | a087ef38b7f8ddce92f89ec609ad5bd22b68dc06 | /Hamil/src/os/inputman.cpp | dd670fa23474f148aee38fb3d4af277a61df32cf | [] | no_license | miviwi/Hamil | 329957b6ed76cfbd28d8b0d45fc56b22396d5998 | 110e2a66c7feca5890bf3b3a722138524444ff6b | refs/heads/master | 2021-08-08T21:15:17.670327 | 2021-06-25T05:54:30 | 2021-06-25T05:54:30 | 114,602,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,323 | cpp | #include <os/inputman.h>
#include <os/time.h>
#include <math/geometry.h>
namespace os {
InputDeviceManager::InputDeviceManager() :
m_mouse_buttons(0),
m_kb_modifiers(0), m_capslock(0),
m_mouse_speed(1.0f), m_dbl_click_seconds(0.25f)
{
}
InputDeviceManager& InputDeviceManager::mouseSpeed(float speed)
{
m_mous... | [
"m.schwarz@cormo.pl"
] | m.schwarz@cormo.pl |
846967f5c76a385d548bed3b949e1ff2a856bfd6 | 638e3aef6bde970bcc5afb2d39443e9558c3e778 | /Project2/이차원 배열 원소.cpp | 6895974bde7d5ce67b95e1ba69873da6289e73b7 | [] | no_license | yyatta/Project2 | 95a023eed12eac97b1b2f85a73145a515830f336 | 69f73a8d120f22e190ad7c88d03ba17b67258489 | refs/heads/master | 2020-07-28T16:52:31.391436 | 2020-05-14T14:09:30 | 2020-05-14T14:09:30 | 209,471,569 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 523 | cpp | #include <stdio.h>
#define ROWSIZE 2
#define COLSIZE 3
int main(void)
{
int td[ROWSIZE][COLSIZE];
td[0][0] = 1; td[0][1] = 2; td[0][2] = 3;
td[1][0] = 4; td[1][1] = 5; td[1][2] = 6;
printf("반복문 for을 이용하여 출력\n");
printf("행우선\n\n");
for (int i = 0; i < ROWSIZE; i++)
{
for (int j = 0; j < COLSIZE; j++)
... | [
"wjdwldnjs178@naver.com"
] | wjdwldnjs178@naver.com |
78440dee0c6c6f36a84639893d685ab71f56b40b | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/00/8fd9bb30c70e2d/main.cpp | cfca06445bdbe464aaf702234813fba4cb4ab835 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include <boost/thread.hpp>
#include <boost/chrono.hpp>
#include <mutex>
#include <memory>
#include <utility>
#include <iostream>
class ThreadRAII {
public:
enum class DtorAction {join, detach};
explicit ThreadRAII(DtorAction a = DtorAction::join) : action(a) {}
ThreadRAII(boost::thread&& t, DtorAction a ... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.