blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
586f46cd34b34f49406aab770631c0230733b4b2 | ad3f34546afba57daf888798ad2d29db0361dcca | /T3000/Json-cpp/dist/jsoncpp.cpp | c9e6049bea46ef500d705cecd71aa0e8e1e12a54 | [
"MIT"
] | permissive | temcocontrols/T3000_Building_Automation_System | b7303be5d447cd8d40b1d2424b32b6c7683c2570 | 5fc9204df43aabfe57ccd1a5183b69940d525e2d | refs/heads/master | 2023-08-31T13:37:39.375528 | 2023-08-29T03:30:48 | 2023-08-29T03:30:48 | 6,994,906 | 66 | 62 | MIT | 2023-08-08T12:38:00 | 2012-12-04T05:29:25 | C++ | UTF-8 | C++ | false | false | 163,304 | cpp | /// Json-cpp amalgamated source (http://jsoncpp.sourceforge.net/).
/// It is intended to be used with #include "json/json.h"
// //////////////////////////////////////////////////////////////////////
// Beginning of content of file: LICENSE
// //////////////////////////////////////////////////////////////////////
... | [
"alaa@temcocontrols.com"
] | alaa@temcocontrols.com |
1df21450fc881a70da40740395006f90b2427c37 | e9f244a624aff647768a876b38c42ef7e88d76cc | /sample/BundleSample/BundleSample.cpp | aa9156cb1f5b148fb898c1ef47c23a9030b93c5c | [
"Zlib",
"OpenSSL",
"LicenseRef-scancode-unicode",
"Apache-2.0",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | rudyhuyn/msix-packaging | fcb2936089405d563ae800027be6eba60c3dcb82 | 8e847de81290efa378aae0d7c86ece3e11a262bc | refs/heads/master | 2020-04-22T16:17:45.643414 | 2019-04-29T21:39:28 | 2019-04-29T21:39:28 | 170,503,469 | 2 | 0 | null | 2019-02-13T12:21:56 | 2019-02-13T12:21:56 | null | UTF-8 | C++ | false | false | 9,881 | cpp | //
// Copyright (C) 2017 Microsoft. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "AppxPackaging.hpp"
#include "MSIXWindows.hpp"
#include <iostream>
#define RETURN_IF_FAILED(a) \
{ HRESULT __hr = a; \
if (FAILED(__hr)) \
... | [
"36937303+msftrubengu@users.noreply.github.com"
] | 36937303+msftrubengu@users.noreply.github.com |
a6de200a8c3cb4bf104de06a3630b60000eed80a | 49ca052c08b6a6480337e2c0ca7963b12e44c0c1 | /experiments/metastring.cpp | 6353fa96811034383252f17843a3530702d04d8f | [
"BSD-2-Clause"
] | permissive | alzwded/ConstExprShenanigans | 177309dff5cd5cd98626df8d66167bb12db16701 | 64c642691e25eb3811491c256b0716ddae70ad3e | refs/heads/master | 2021-01-18T21:09:09.281278 | 2016-12-22T13:23:05 | 2016-12-22T13:23:05 | 53,246,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | // THING ====================================================
#include <type_traits>
template<typename T>
struct ThingHelper
{
constexpr T value() const;
};
template<>
constexpr void ThingHelper<void>::value() const {}
template<typename T>
constexpr T ThingHelper<T>::value() const { return {}; }
template<char C,... | [
"alzwded@gmail.com"
] | alzwded@gmail.com |
f6a9cb535c1730f3dc429a80f7ec3287deffac1b | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/alembic/lib/Alembic/AbcCoreOgawa/ArImpl.h | 0f17e1c3350be2dd35f5d7258ad3402b4fefe14a | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 4,386 | h | //-*****************************************************************************
//
// Copyright (c) 2013,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or wi... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
f1cb3ba5a22448d47e15dc7c6e882cba16904f17 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day2程序包/answers/GD-0609/game/game.cpp | ab23b10f26e465ed2c357af83c40d31a749d1c6d | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
const int N = 1000007, M = 5, P = 1e9 + 7;
int f[N][1 << M];
int n, m, full;
int main()
{
freopen("game.in", "r", stdin);
freopen("game.out", "w", stdout);
scanf("%d%d", &n, &m);
if (n == 3 && m == 3) { printf("112\n"); return 0; }
if (n == 5 && m == 5) {... | [
"orion545@qq.com"
] | orion545@qq.com |
2cd88367dc50d9ca777ee475c4de6d3c4b3123a0 | 99b97e802008e7e578f074e25c0a2f5b85cbd83e | /顺序栈.cpp | 70ba9f655d1457f873fa9f2a0157dfac2ed115e3 | [] | no_license | jx-66/jx | 2f57afbbaa6b2a5f9d7db90d70c77c9733edd63d | 5f51ac9194876d2b62a1afaaf17ef0350c187b90 | refs/heads/main | 2023-01-08T11:14:05.573062 | 2020-11-06T01:37:12 | 2020-11-06T01:37:12 | 309,133,479 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,421 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
#define N 50
typedef char Elemtype;
typedef struct SqStack{
Elemtype *base; //栈底
Elemtype *top; //栈顶
int StackSize;
}SqStack;
//初始化栈
int InitStack(SqStack &s)
{
s.base=(Elemtype*)malloc(sizeof(Elemtype));
if(!s.base) return 0; //分配... | [
"73505853+ZZZzzz175@users.noreply.github.com"
] | 73505853+ZZZzzz175@users.noreply.github.com |
adc16f6e5e3ef7c77b56f1d7c35631a64f4075a4 | 51e329979e832fe0d710b809b2c20adc23a15670 | /iocore/net/P_Connection.h | 6b1ce74ef13e703994ba937318771e3dff4df84d | [] | no_license | marlinprotocol/Petrum | 3a75d9ac35b2c649629c88ca2a7e3f87baab92a2 | 9d76d80f9f3a353c1fdc7cc7df279db2bf2031cb | refs/heads/master | 2022-12-24T06:57:10.775344 | 2020-07-14T17:18:16 | 2020-07-14T17:18:16 | 298,849,810 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,601 | h | /** @file
A brief file description
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you und... | [
"cryptkit@marlin.pro"
] | cryptkit@marlin.pro |
0444fb12a3c592cd507628028757a58ecfafb3df | e0cd22a3dbf1589cee37c33374607ed2ce66e95e | /cpp/opensourcesrcs/ace/ace/config-hpux-10.x-g++.h | 0d5cac38abfe8b5844f65bbf9f93cc62b7b7a834 | [
"BSD-3-Clause"
] | permissive | CodeOpsTech/DesignPatternsCpp | 1335402e2c88a4b8715430210ec153af7bb733be | 2c67495ffdc65443fae98b2879f7b608e3562876 | refs/heads/master | 2021-01-11T19:19:48.498940 | 2017-07-19T02:52:56 | 2017-07-19T02:52:56 | 79,355,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | /* -*- C++ -*- */
// config-hpux-10.x-g++.h,v 4.24 2000/03/23 21:27:02 nanbor Exp
// The following configuration file is designed to work for HP
// platforms running HP/UX 10.x using G++.
#ifndef ACE_CONFIG_H
#define ACE_CONFIG_H
#include "ace/pre.h"
// config-g++-common.h undef's ACE_HAS_STRING_CLASS with... | [
"ganesh@codeops.tech"
] | ganesh@codeops.tech |
57f74df476df092daa5c376a0e60d9059edc2e17 | 2550a0de6c2285d94fd3f42b24f8f2a6696045c3 | /Normal/1082/A.cpp | c449c0bb95600062c2d89dd2390371b27f44317f | [] | no_license | Mohd-3/Codeforces-Solutions | a2b26cf2072de7cdc0d2e754d7f0df0bad50174f | 97b0caf353a811f134a4c0206fd3c74fb4707149 | refs/heads/master | 2020-09-01T22:51:20.581848 | 2019-11-04T00:25:09 | 2019-11-04T00:25:09 | 219,078,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include <bits/stdc++.h>
using namespace std;
int t, n, d, x, y;
int main() {
scanf("%d", &t);
while (t--) {
scanf("%d %d %d %d", &n, &x, &y, &d);
int ans = 1e9;
if (abs(x-y)%d == 0) {
ans = min(ans, abs(x-y)/d);
}
if ((y-1)%d == 0) {
a... | [
"mohd@al-abdulhadi.com"
] | mohd@al-abdulhadi.com |
928598a20abbf1d4a85cd2aafd2a70c8f3ebb2c3 | 36357bbe859f79d48f9313442ccb39e78f25b347 | /modules/drivers/radar/rocket_radar/driver/system-radar-software/engine/scp-src/eng-api/uhmath.h | 55558e486cda46d6842fbbe201dea29eb5ecd386 | [
"Apache-2.0"
] | permissive | MaxLin86/apollo | 75c8a94d90daa14759c0bb0eae3085638bb9b6b5 | fae1adf277c8d2b75e42119c5d52cbd1c6fb95c7 | refs/heads/main | 2023-03-28T18:22:36.161004 | 2021-03-08T07:53:25 | 2021-03-08T07:53:25 | 345,560,672 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,779 | h | #ifndef SRS_HDR_UHMATH_H
#define SRS_HDR_UHMATH_H 1
// START_SOFTWARE_LICENSE_NOTICE
// -------------------------------------------------------------------------------------------------------------------
// Copyright (C) 2016-2019 Uhnder, Inc. All rights reserved.
// This Software is the property of Uhnder, Inc. (Uhnde... | [
"maxlin86@foxmail.com"
] | maxlin86@foxmail.com |
22010febe91c178139fba8c4a490bb499782c2d3 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/multiprecision/cpp_int/limits.hpp | 20267cc40a4810e4ab15200f272fcb4a32243be1 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:12b8d653f334d43b593fc7fe77d0c55a9891909c6b14fb3b0b9915c2ac50bb82
size 20489
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
249329a9471c85330b729a2612d5fc76704f483d | 8d1c1e1bbd0ca4ca290d181f92e6af48595de71a | /Project/Graphics.cpp | 80c7c0c64ddb34a1ce504f782856bfae6cb534c4 | [] | no_license | gapantiru/PankyGame | 2f4ceca22c715e4fc5df76d068451becfcc3fc8f | 43148af732ad5b6ff6b3da3c7e2f62e4bf106b71 | refs/heads/main | 2023-06-16T13:42:14.488012 | 2021-07-15T10:23:38 | 2021-07-15T10:23:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | /* Graphic class
*
*/
#include "graphics.h"
#include "globals.h"
#include <SDL_image.h>
#include <SDL.h>
Graphics::Graphics() {
SDL_CreateWindowAndRenderer(globals::SCREEN_WIDTH, globals::SCREEN_HEIGHT, 0, &this->_window, &this->_renderer);
SDL_SetWindowTitle(this->_window, "Panky");
}
Graphics::~Graphics() {
... | [
"gapantiru@bitdefender.com"
] | gapantiru@bitdefender.com |
2b70b048f3d349d2dff00d9e1dd79cc56ebe323b | b36a8c4495fd41c5a77fdf66a7875016f4d48880 | /Warmup 12 - Split String by Identical Character/Warmup 12 - Split String by Identical Character.cpp | 0a71977dc1dd1cc204e61172002c736bb5d74dc3 | [] | no_license | comi999/Warmup-Exercises | 651b0dc010f188154ea9b850cd5135d4bf5e380d | dcfc56a5117eac689fca07347febfa08596a9f8c | refs/heads/master | 2022-11-25T06:10:51.407215 | 2020-08-07T02:34:24 | 2020-08-07T02:34:24 | 273,102,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include <iostream>
#include <vector>
std::vector<std::string> splitGroups(std::string s)
{
std::vector<std::string> result;
char count = 0, current;
for (int i = 0; i < s.size(); i++)
{
current = s[i];
while (current == *(&s[i] + count) && s[i] != '\0') count++;
result.push_b... | [
"glizzyzbro@hotmail.com"
] | glizzyzbro@hotmail.com |
b841a09e819fe3dd9adfa744f7c2d86114fe7186 | e206517b0417f19f49b17e8e35f7fef9cd2e61c3 | /sources/dll/sources/Point.cpp | 236d3f78d3e66c119ed5eaef56e09d1b495e818b | [] | no_license | Bence886/LightFinder_GPU | 0beaaf89bc153183ad2a9b4753caa58e69bbd224 | 703c082a3f2ded319f2d81295a43a7f28c1640ee | refs/heads/master | 2021-04-06T00:27:01.254535 | 2018-05-10T15:35:53 | 2018-05-10T15:35:53 | 124,689,181 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,484 | cpp | #include "Point.h"
#include <sstream>
#include "math.h"
CUDA_CALLABLE_MEMBER Point::Point()
{
}
CUDA_CALLABLE_MEMBER Point::Point(float x, float y, float z) : X(x), Y(y), Z(z)
{
}
CUDA_CALLABLE_MEMBER Point::~Point()
{
}
CUDA_CALLABLE_MEMBER Point & Point::operator-(const Point &otherPoint) const
{
return Point(... | [
"tbencet96@gmail.com"
] | tbencet96@gmail.com |
5cebb2e50f42a8a307fe3695ee48e9f9347442fd | 8eea3d715692194bf09e3c19520ba3eb9254cb8f | /Advance_Bit.cpp | 73cac607250e15f796487ec1bb6cb4350d623855 | [] | no_license | ismail-ru-cse-39/Programming_Samsung_internship | 9971cb6c73407c8ff7bec6e266536812dd9a9110 | ba464785bc695972819f3ed1fd54adcf9c47ab87 | refs/heads/master | 2020-05-06T15:47:54.235235 | 2019-05-17T01:21:01 | 2019-05-17T01:21:01 | 180,208,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | //Advance
//Bit
//solution
//solved
#include <stdio.h>
#define SZ 110
int N, M, K,Test_case;
int Ar_grid[SZ][SZ];
int Case;
int Ans = 0;
int Max(int a, int b)
{
if (a > b){
return a;
}
return b;
}
void take_input()
{
int i, j;
scanf("%d %d %d", &N, &M, &K);
for (i = 0; i <... | [
"shaikat.ru.39@gmail.com"
] | shaikat.ru.39@gmail.com |
43006a72f6fc26439daaf67d775b61b77a0d8fa9 | e12e16efbe58992d5dfe5e81544ee64c61f1f8e0 | /integration_tests/source/3-offsets.cpp | abc311de2054d22794c2b3d1e2e535a48ea44fd6 | [] | no_license | tbennun/dawn2dace | 1da9c2d4251d8b7d8e6b9225fc059c47bea7080d | a0d427b1d3d741a7a97dbc1cd9088b781a8d0a13 | refs/heads/master | 2020-05-20T05:58:43.086563 | 2019-08-21T12:29:10 | 2019-08-21T12:29:10 | 185,419,592 | 0 | 0 | null | 2019-05-07T14:33:38 | 2019-05-07T14:33:38 | null | UTF-8 | C++ | false | false | 219 | cpp | #include "gridtools/clang_dsl.hpp"
using namespace gridtools::clang;
stencil test {
storage a, b;
Do {
vertical_region(k_start, k_end) {
// copy stencil
a = b[i + 1, j - 1] + b[i - 1];
}
}
}; | [
"twicki@ethz.ch"
] | twicki@ethz.ch |
da19680b2d33df94a91ed530baead95299dda7a7 | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_BP_CustomisableLadder_functions.cpp | de4db1fd5ab35589671a2fc15957a2e9a6e3504e | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,032 | cpp | // Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_CustomisableLadder_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
//... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
7d8f2b61eeb86db0da46d3d844508135c2a40504 | 1a2cd5cda7b9eace27d7fc9a0dd307960868c0ed | /alpha/MemoryList-inl.h | b16fd00e8aa4c7e91efef58e41c77588a3d3da6a | [] | no_license | jacobwpeng/alpha | bc045e82acb0a3e107b9a16a84c84ef32241b5b8 | 6e1258977f78970e6c49e8377dc92d82293299a6 | refs/heads/master | 2022-12-10T01:20:11.431867 | 2022-12-06T05:36:59 | 2022-12-06T05:36:59 | 28,303,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,062 | h | /*
* ==============================================================================
*
* Filename: MemoryList-inl.h
* Created: 05/17/15 23:32:21
* Author: Peng Wang
* Email: pw2191195@gmail.com
* Description:
*
* ==============================================================... | [
"pw2191195@gmail.com"
] | pw2191195@gmail.com |
5584740a7a4bb46f93106431f14aaf3ac21cc530 | 48e8d00debd2be1bbbfebd48de6e03c090a16649 | /cdb/include/tencentcloud/cdb/v20170320/model/Inbound.h | 2e288b98f8bf77a87c9dbe3545e16832358decdb | [
"Apache-2.0"
] | permissive | xuliangyu1991/tencentcloud-sdk-cpp | b3ef802c0aa5010e5af42d68de84080697f717d5 | f4b057e66ddb1e8761df2152f1faaa10870cc5c7 | refs/heads/master | 2020-06-19T03:24:04.286285 | 2019-06-20T07:04:49 | 2019-06-20T07:04:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,124 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
968af9e52df0733a010e19c4e0f3aa6d70ae07d7 | 64e06f70e6cdf2684ae0934e3edd53992db436a1 | /include/lib/interface/IDay.hpp | 065bbf22f137239baef346874a4ca1fe4d926a7c | [] | no_license | vglad/AdventOfCode_Framework_CPP | 9c4aa1ad1704d28de0a2729b0143bd9d55a69289 | ca10a04ceef308a20d3944e9346ca7c74794eb0b | refs/heads/master | 2020-09-21T22:52:43.404844 | 2019-12-13T21:12:26 | 2019-12-13T21:12:26 | 224,961,508 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | hpp | #pragma once
namespace AoC {
class IDay {
public:
virtual void print_header() noexcept = 0;
virtual void print_results() noexcept = 0;
virtual void calculate_all() noexcept = 0;
virtual void calculate_part1() = 0;
virtual void calculate_part2() = 0;
virtual ~ID... | [
"vgladun@gmail.com"
] | vgladun@gmail.com |
a95a4726ef05df980fb52d55a0a0c8a439c07d89 | 3bbc63175bbff8163b5f6b6af94a4499db10a581 | /StuMgr/Mid/RecvThread.h | be9503bbac348b22620cf6555c626e1c38806304 | [] | no_license | chancelee/MyProject | 76f8eb642544a969efbb10fa4e468daeba5b88ef | 62f5825b244f36ed50f6c88868e13670e37281d5 | refs/heads/master | 2021-09-16T01:31:00.158096 | 2018-06-14T10:08:42 | 2018-06-14T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | // RecvThread.h: interface for the CRecvThread class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RECVTHREAD_H__FD2FA857_694B_476A_82A1_50FE2DB67F1D__INCLUDED_)
#define AFX_RECVTHREAD_H__FD2FA857_694B_476A_82A1_50FE2DB67F1D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#en... | [
"styxschip@sina.com"
] | styxschip@sina.com |
56d20517f1f7ad0f4c0ad4ceae7c232e8f8dc5d9 | 33d1314ced7b45381f819603e305f22b304fbd1f | /While/CalcularDobroNoIntervalo.cpp | 73cfc269da240dc537eb5f00893a3a3cb60548f0 | [] | no_license | LustosaJunior/Estrutura-de-Dados | b1320dca0b583434023d2ecbe47bc424f4f801ba | 0b77e0ad1720f9c56f9fbf6de4f874e7226ad1e5 | refs/heads/main | 2023-05-01T13:46:07.151391 | 2021-05-21T00:07:58 | 2021-05-21T00:07:58 | 358,425,742 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 579 | cpp | /* 62. Faça um programa que receba 10 números inteiros positivos quaisquer, calcule e mostre na tela o dobro dos valores pertencentes ao intervalo: 5< x <20. (do .. while e if)*/
#include<stdio.h>
#include<conio.h>
#include<locale.h>
int main() {
setlocale(LC_ALL, "Portuguese");
int number, x2, cont = 0;
do {
... | [
"junior_dj_decio@hotmail.com"
] | junior_dj_decio@hotmail.com |
73cb7c00de9e4d7e037969d6cb13ffe074e0e835 | 48bbc4386f073e3f9b2f9a6aae16cd3551ae0f0f | /trunk/src/AL/ConfigManager.cpp | 5a88f1affcbe8126d7c944d508b1e286ecc809ce | [] | no_license | JackyPyb/RAS | 98d042b3e75d395170ecec8b9c245123a2f6327e | 9378268a4e7d8737af0e0f60b52241d151cba53a | refs/heads/master | 2020-04-30T10:31:54.816025 | 2015-03-27T08:10:57 | 2015-03-27T08:10:57 | 32,208,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | cpp | #include "ConfigManager.h"
#include "common/xml/XMLConfig.h"
#include "common/util/util.h"
using util::conv::conv;
ConfigManager::ConfigManager():
m_connectIP(""),
m_connectPort(0),
m_frameworkID(0),
m_imageLable(""),
m_moduleName(""),
m_locationFilePath(""),
m_ncIP(""),
m_cpuNum(0.0)... | [
"641186889@qq.com"
] | 641186889@qq.com |
367a0173a6485faf7fd476c69bed74f7c8ed525a | 3b60585a87d959809fa1552e4fa22f6b612f136c | /src/LegitVulkan/RenderPassCache.h | 0a98f3ea7355d1a6e641335a68ce84bf79cd26cb | [
"MIT"
] | permissive | MomoDeve/LegitEngine | c0aa07f3943caa8d9aba79d4006d5231cb82ef5d | fd6a388a4a987f387edee3e3e89a6c1b9e9d0ba5 | refs/heads/master | 2023-05-14T10:47:53.597949 | 2021-05-23T20:55:57 | 2021-05-23T20:55:57 | 370,144,413 | 0 | 0 | MIT | 2021-05-23T19:50:59 | 2021-05-23T19:50:58 | null | UTF-8 | C++ | false | false | 4,779 | h | #pragma once
#include <map>
#include "RenderPass.h"
namespace legit
{
class RenderPassCache
{
public:
RenderPassCache(vk::Device _logicalDevice) : logicalDevice(_logicalDevice)
{
}
struct RenderPassKey
{
RenderPassKey()
{
}
std::vector<legit::RenderPass::AttachmentDesc>... | [
"donxenapo@gmail.com"
] | donxenapo@gmail.com |
4ef1cff157b71ebeb7e1b59c2642191feca5c23c | 6d54aeccc82dfdc9dc476cd9a5a23d72ff418e2d | /GradingStudents.cpp | ef1008dfb1ce73727bf2f8bc373016d97781198a | [] | no_license | Yashkalyan/Algorithm-Hackerrank-Solutions | 8d060b8cdc8b7ea5d30a21ce8c469de4e466d765 | 486eddc7515898465384bf03424b2e01810e5bd7 | refs/heads/master | 2021-04-10T21:57:03.466559 | 2020-04-01T08:12:52 | 2020-04-01T08:12:52 | 248,969,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | #include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string &);
/*
* Complete the 'gradingStudents' function below.
*
* The function is expected to return an INTEGER_ARRAY.
* The function accepts INTEGER_ARRAY grades as parameter.
*/
vector<int> gradingSt... | [
"noreply@github.com"
] | noreply@github.com |
daa9c414b327ebfb3c174b5da12f684e35c25b6b | 88a40203ebdbf2810a21688fb84a3f56d2ebb1b3 | /cc/library/ray_tracing/occ_grid_builder.cu.cc | 7dd9b89d46442ec55346ead9d09cc8ec9dd6d4b4 | [] | no_license | aushani/flsf | 2ae356338f08f2ba48a499fadb3eb91d6c01f66f | a1782b3accffa4ebb5f231e76a6e1d958d16b714 | refs/heads/master | 2020-03-28T13:08:19.554199 | 2018-08-23T21:47:15 | 2018-08-23T21:47:15 | 148,369,543 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | cc | // Adapted from dascar
#include "library/ray_tracing/occ_grid_builder.h"
#include <iostream>
#include <boost/assert.hpp>
#include <thrust/device_ptr.h>
#include "library/ray_tracing/occ_grid_location.h"
#include "library/ray_tracing/device_data.cu.h"
#include "library/timer/timer.h"
namespace tr = library::timer;
... | [
"aushani@gmail.com"
] | aushani@gmail.com |
44c790f88a81bfc27eaa7f9b817da1c7a8794d5c | ac140a854c180f0c6c0ff0f35518c18e32a43758 | /ModernCpp/SubParagraph_5_6_3.cpp | 2ec81b2b8f14dcc833e0d0944b1ec55dbbea5a27 | [] | no_license | klasing/MnistExample | 53bd4e6316b513889acd77a5549082863c643435 | 720479f6768c15fa6e63fafd415b5a2bcff3dfa9 | refs/heads/master | 2020-04-22T00:29:18.102857 | 2019-06-30T18:41:17 | 2019-06-30T18:41:17 | 169,981,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include "pch.h"
inline void subParagraph_5_6_3() {
cout << "Spacing and Tabs" << endl;
cout << "----------------" << endl;
} | [
"klasing1959@gmail.com"
] | klasing1959@gmail.com |
ee76ea3311b35e54a341196681938829d5515d0a | e98bce72249d4d00da6f76c221f97a6675420cfd | /video_receiver_helper.h | 8ff7a64624c6b59f4081f7f7adc357d7e4cde9b2 | [] | no_license | asdlei99/video_receiver_helper | 656756e4b6da262be537372f2f5929e1eb85cc8f | a7258a43fd4d4152550e003f9050124081bda371 | refs/heads/master | 2020-08-21T11:01:25.766701 | 2019-10-04T04:40:35 | 2019-10-04T04:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | h | #ifndef _VIDEO_RECEIVER_HELPER_H___
#define _VIDEO_RECEIVER_HELPER_H___
#include <memory>
#include <string>
#include "video_receiver/video_track_receiver.h"
#include "rendering_server_client/rendering_server_client.h"
namespace webrtc {
class MediaStreamTrackInterface;
}
namespace grt {
//class video_tr... | [
"aks.dce.007@gmail.com"
] | aks.dce.007@gmail.com |
cbb20a6ad1842e297982a55d68a7c824e4b12fec | abb5f5cec0d009fabbf72734254cac5a0a4b3a9c | /DiscreteRods/ThreadConstrained.h | f2412db4ab9c2bb48875bd0705e5102e68d116fc | [] | no_license | alexlee-gk/surgical | 692ebc6295002ea44cdb86bc846730c446a48784 | 9c4739100aaa612aa2fb476515e651666533b3df | refs/heads/master | 2021-01-16T22:49:43.863602 | 2011-10-17T09:20:09 | 2011-10-17T09:20:09 | 1,873,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,550 | h | #include <stdlib.h>
#include <algorithm>
#ifdef MAC
#include <OpenGL/gl.h>
#include <GLUT/glut.h>
#include <GL/gle.h>
#else
#include <GL/gl.h>
#include <GL/glut.h>
#include <GL/gle.h>
#endif
#include <iostream>
#include <fstream>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <math.h>
#include "thread_disc... | [
"alex@slave444.(none)"
] | alex@slave444.(none) |
57e0503fd12ac6cf0622c3046d3dddc5f4fd4c16 | 12eab058faa68f697b96ffb0ccee3b4b30577e05 | /mopney.cpp | a14bf7aee400bc03af70126b51c1ce5bc4971cbe | [] | no_license | DDWC1603/lab-exercise-chapter-4-suga935 | 2bcb9cfe62bc138082975e1854b046ebfde8e80b | 89c4b54850132fe20ba90a60e249f170f0706db7 | refs/heads/master | 2021-05-11T21:55:32.787254 | 2018-01-15T02:14:11 | 2018-01-15T02:14:11 | 117,482,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | cpp | #include <iostream>
using namespace std;
int main(){
int i,j,rows;
cout <<"\n\n display the pattern like right angle triangle using an asterisk:\n";
cout <<"---------------------------------------------------------------------\n";
cout <<"input number of rows:";
cin >>rows;
for(i=1;i<=rows;i++)
{ ... | [
"noreply@github.com"
] | noreply@github.com |
acf1366df106e580f8c61ce0dc8fc70ea9b1ab3f | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/DeleteDataCellsFilterResult.h | 1d0f9d55ed8a9552cfd74ccfe2869a76449a0e16 | [
"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 | 810 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
}... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
4acc274b654fa572c1bf5f8cc7455f981d1313be | 7a5dbfc55d2fcd43e90e14ebe3fe3fa4705a162a | /Quasics2021Code/MaeTester2022/src/main/cpp/commands/DelayForTime.cpp | 54338737ef2cc61aa1973bf395a56d3d0890a315 | [
"BSD-3-Clause"
] | permissive | quasics/quasics-frc-sw-2015 | c71194921a3f0930bc16ae96952577ff029f8542 | 83aa34f475e5060e31ddf12186b48cb68430acc6 | refs/heads/master | 2023-08-23T07:13:23.194240 | 2023-08-17T23:19:51 | 2023-08-17T23:19:51 | 43,209,473 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "commands/DelayForTime.h"
DelayForTime::DelayForTime(units::second_t time) : time(time) {
// There are no su... | [
"mjhealy@users.noreply.github.com"
] | mjhealy@users.noreply.github.com |
c0ecd8088fb93609d3ce50eb565ab3b4ad664dc3 | a40e65eb1f6f494b3db0266ec1f7ed7f583927ab | /question42.cpp | 6524719bcff052359bd4e354f9067dbe5e49b868 | [] | no_license | Txiaobin/coding-interviews | d9dda4aca2376dc546c8370215735bb76d074158 | bb7862c481e415cc76b716f369f2b9de5ecf9496 | refs/heads/master | 2020-06-16T18:30:40.379944 | 2019-08-28T01:49:08 | 2019-08-28T01:49:08 | 195,665,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | /*
输入一个整型数组,数组中有正数也有负数。数组中的一个或者连续多个整数组成一个子数组,求所有子数组的和的最大值。要求时间复杂度为 O(n)。
例如:{6,-3,-2,7,-15,1,2,2},连续子向量的最大和为8(从第0个开始,到第3个为止)。
xiaobin9652@163.com;
Xiaobin Tian;
*/
#include<vector>
using namespace::std;
class Solution {
public:
int FindGreatestSumOfSubArray(vector<int> array) {
if(array.size() == 0)
return... | [
"xiaobin9652@163.com"
] | xiaobin9652@163.com |
428f1b45860758b9e3d40f433215a77ae1352f06 | a3a21d5f295fa71e7b74a23692349fd24b44c064 | /worsearchunion.cpp | ceca630c2c943b35d28420b063d91b04c3e4a18c | [] | no_license | QinghangHong1/project02 | 9d05c0c6a40c748febfc40edc649794fb4f60de4 | c397ceb2547fb3a6c1d93bca655d8e4482448353 | refs/heads/master | 2020-04-10T01:31:56.230740 | 2018-12-07T02:19:06 | 2018-12-07T02:19:06 | 160,718,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,798 | cpp | #include <iostream>
#include <cstdlib>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <vector>
#include <string>
#include <fstream>
#include "word.h"
#include "wordsearchcount.h"
using namespace std;
int getdir (string dir, vector<string> &files)
{
DIR *dp;
struct dirent ... | [
"noreply@github.com"
] | noreply@github.com |
b25910d1628a01f5c583c09e6251a0b4750d521d | e2c37739e3832dfd63725c5d25cca86fdc04f89f | /week15/code/MultimediaFile.hpp | 3a066bb8e7738a0a257f430552e806314fa0934b | [] | no_license | lyubolp/OOP-SI-2021 | bad9229d269f0b462dbb16c44c0667b3dd9622c4 | 4afc1671a414bee7bb1d1c57511cfa870f8ef4ce | refs/heads/main | 2023-05-27T10:33:11.952723 | 2021-06-11T16:17:25 | 2021-06-11T16:17:25 | 341,111,944 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 904 | hpp | //
// Created by lyubo on 3.06.21 г..
//
#ifndef CODE_MULTIMEDIAFILE_HPP
#define CODE_MULTIMEDIAFILE_HPP
#include <string>
#include <iostream>
//const, const&, unsigned, () with parameters - 4pts
class MultimediaFile { //20pts
public:
MultimediaFile();
MultimediaFile(const std::string& name, const std::strin... | [
"lyubo.karev@gmail.com"
] | lyubo.karev@gmail.com |
929b82336368473ed024f87f8ad970bd252ee7a3 | 7670dcac34ec0f528482216292392496c0e2705b | /projects/Resource/code/Shader.h | 55c015c79d807d735d40dd3e04640ecf9d1ba460 | [
"MIT"
] | permissive | Nechrito/s0009d-lab-env | c5a3ba224b8665d6ce38245819027876510ad61b | 61599401536205c344654ef2a270a010df0e2254 | refs/heads/master | 2023-01-10T00:16:38.692203 | 2020-11-04T16:47:18 | 2020-11-04T16:47:18 | 309,981,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | h | // Copyright © 2020 Philip Lindh
// All rights reserved
#pragma once
#include "core/app.h"
#include <string>
#include <Vector3.h>
#include <Matrix4x4.h>
#include <unordered_map>
struct ShaderSources
{
std::string VertexSource;
std::string FragmentSource;
};
class Shader
{
public:
unsigned int... | [
"philip.lindh98@hotmail.com"
] | philip.lindh98@hotmail.com |
ab19bc012e3e4f6d9c9c9f4b8896ff5b40b49d3e | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /ui/aura/mus/client_surface_embedder.cc | 74f31fd2e7007276b5d607f89f4ed7934282f3e2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 4,053 | 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 "ui/aura/mus/client_surface_embedder.h"
#include "ui/aura/window.h"
#include "ui/gfx/geometry/dip_util.h"
namespace aura {
ClientSurfaceEmbedd... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
7d9436213dc34d8b15abd0be4f24ee3602964c25 | 855dc81eb63aa2ce1463343580c078afc84e2934 | /src/graphnode.cpp | 43bd1ac54c4e08386d83bc546cf930c4be6a6cd4 | [] | no_license | tusharsangam/Cpp-Memory-Management-Chatbot | e398bbc8ac8756c861768eefd68359e1f0dd12a4 | d36d44d746b2018883663eb6c04fb09e4e6c4477 | refs/heads/master | 2021-04-21T23:00:24.428812 | 2020-03-24T21:43:32 | 2020-03-24T21:43:32 | 249,823,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | #include "graphedge.h"
#include "graphnode.h"
GraphNode::GraphNode(int id)
{
_id = id;
}
GraphNode::~GraphNode()
{
//// STUDENT CODE
////
//delete _chatBot;
////
//// EOF STUDENT CODE
}
void GraphNode::AddToken(std::string token)
{
_answers.emplace_back(token);
}
void GraphNode::AddEd... | [
"tusharsangam5@gmail.com"
] | tusharsangam5@gmail.com |
8cf5d9e8a44ea53679863a71b89c094a0876cb02 | 5102892f18f44b02b340cea85f220982eea18435 | /NewFramework/ItemsManager.cpp | 2ec249a1b56f82f92c93c9dfbd084a9615d79f70 | [
"MIT"
] | permissive | lhthang1998/Megaman_X3_DirectX | b87ee477ac596954122e1aa838e3aa6242127632 | 2c695fefad81c37a7872cc79c78d0de3ff6db9ca | refs/heads/master | 2021-10-10T11:07:38.695966 | 2019-01-10T03:38:01 | 2019-01-10T03:38:01 | 164,980,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include "ItemsManager.h"
std::vector<HP*> ItemsManager::HPItemsList;
ItemsManager::ItemsManager()
{
}
ItemsManager::~ItemsManager()
{
for (int i = 0; i < HPItemsList.size(); i++) {
delete HPItemsList[i];
}
}
void ItemsManager::DropItem(HP* item) {
HPItemsList.push_back(item);
}
void ItemsManager::DropHPItem... | [
"lhthang.1998@gmail.com"
] | lhthang.1998@gmail.com |
977c10f0652aae0ca576880c8b19bd4d47e866ae | 2019d94fe0d8b32959190d02dd1ee367f524878e | /Problem Solving/Algorithms/Implementation/15_cats_and_a_mouse.cpp | 05396be65465a936e1495fe4b1cc7a7287cdc847 | [] | no_license | yang4978/Hackerrank_for_Cpp | bfd9065bd4924b26b30961d4d734a7bb891fe2e2 | 4c3dde90bcc72a0a7e14eda545257c128db313f7 | refs/heads/master | 2020-05-21T06:05:26.451065 | 2019-08-11T15:19:13 | 2019-08-11T15:19:13 | 185,934,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | //https://www.hackerrank.com/challenges/cats-and-a-mouse/problem
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the catAndMouse function below.
string catAndMouse(int x, int y, int z) {
if(abs(x-z)<abs(y-z)){
return "Cat A";
}
else if(abs(x-z)>abs(... | [
"noreply@github.com"
] | noreply@github.com |
d371c22fa6662d20696cb24410c6349ade0001a8 | 04df0a0f2837c06d47ca6ced95969c61b4357386 | /catkin_ws/src/world_mapper/sketch/libraries/ros_lib/loki_base_node/BusUInt16Set.h | 36f854e354955d0d7245f9c5fa264e15827e0f2c | [] | no_license | basharbme/RealityVirtualVirturalizer | 82fae9d8dada920ce3cf226b77dd8f0a61f359ac | f783c981554f27beee258d720962a61dd298c3a5 | refs/heads/master | 2022-09-19T06:30:09.326876 | 2020-06-01T06:55:11 | 2020-06-01T06:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,836 | h | #ifndef _ROS_SERVICE_BusUInt16Set_h
#define _ROS_SERVICE_BusUInt16Set_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace loki_base_node
{
static const char BUSUINT16SET[] = "loki_base_node/BusUInt16Set";
class BusUInt16SetRequest : public ros::Msg
{
pub... | [
"aytimothy@aytimothy.xyz"
] | aytimothy@aytimothy.xyz |
b4aa82a4d96b1eb00cf23e073069108ef5a038e3 | 2b434fd4c0efa344cbce249f0ee0efde99c26cec | /fancyHeart/fancyHeart/Classes/xls/XGate.h | b716791f845f6889bbeed9cc1dfe52c55a72741e | [
"MIT"
] | permissive | PenpenLi/cocos2d-x-3.6 | 03f20c247ba0ee707c9141531f73ab7c581fe6c1 | fd6de11fde929718ddb8f22841d813133d96029e | refs/heads/master | 2021-05-31T12:01:55.879080 | 2016-04-12T06:39:13 | 2016-04-12T06:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | h | //XGate自动生成类
#ifndef __fancyHeart__XGate__
#define __fancyHeart__XGate__
#include <iostream>
#include "external/json/document.h"
#include "cocos2d.h"
#include "extensions/cocos-ext.h"
USING_NS_CC;
class XGate{
private:
Value v;
public:
static XGate* record(Value v);
rapidjson::Document doc;
int getId();
std::stri... | [
"fzcheng813@gmail.com"
] | fzcheng813@gmail.com |
6adc2d367850b26fccd6c1e40dffd5edb365a761 | 55f746a9916cd661176ffff64999c8b02ee6ae89 | /pred.h | b44b647e5122e7c1dd66b62a674f6386dc73d2b3 | [] | no_license | MyNameIsKodak/kuzyhook | 778fa7851ddcba267b2478f051a943307a249e9f | 7e1b8d3bbe290d6fe07303d5b204203cf7c28a5a | refs/heads/master | 2023-07-07T17:16:15.487295 | 2021-09-04T17:35:33 | 2021-09-04T17:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #pragma once
class InputPrediction {
public:
float m_curtime;
float m_frametime;
struct PredictionData_t {
int m_flUnpredictedFlags;
vec3_t m_vecUnpredictedVelocity;
vec3_t m_vecUnpredictedOrigin;
} PredictionData;
struct Variables_t {
float m_flFrametime;
... | [
"somageller06@gmail.com"
] | somageller06@gmail.com |
f0087c27c6ff243fa497d195013d7c4fbe3ee195 | 5929805c1d19ab909974e349f9d5c443584a3bc3 | /Algorithms/Randomised Algorithms/Generate numbers from 1 to 7 with equal probability.cpp | d82ef51802a825580160c60208323eb97d53345e | [] | no_license | shrish-ti/DSA-practice | ac3769d049822386f1d3cac3a20f538a07a6f20b | 37a90d1092e76bd3533c540cc1c2eff957ee957a | refs/heads/master | 2023-01-01T21:55:19.457085 | 2020-10-27T08:24:46 | 2020-10-27T08:24:46 | 291,715,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include <bits/stdc++.h>
using namespace std;
int probab1to7()
{
int val=5*(foo()-1)+foo;
if(val<22)
{
return val%7+1;
}
else
return probab1to7();
}
| [
"noreply@github.com"
] | noreply@github.com |
b389e9eaa06f5242f48810cf5a68038ed4b739c9 | b439b8840237b26e42445e18a745318b4d794e27 | /DCFoundation/DCFoundation/Source/Base/DCFMutableData.h | c8952bb120c65c714598c10faecddf8093ec25ca | [] | no_license | Design-Complex/DCFoundation | dbf41154b98c80abc80b85262cd824a494664514 | 75aebbf2bf0cfa9e536fbcce898d4cba5b8c5fe7 | refs/heads/master | 2021-01-20T23:37:39.030177 | 2015-06-24T19:41:21 | 2015-06-24T19:41:21 | 32,950,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | //
// DCFMutableData.h
// DCFoundation
//
// Created by Rob Dotson on 6/24/15.
// Copyright (c) 2015 Design Complex LLC. All rights reserved.
//
#ifndef _DCFMutableData_
#define _DCFMutableData_
#include <DCFoundation/DCFData.h>
DCF_NAMESPACE_BEGIN
class DCF_VISIBLE MutableData : public virtual DCFData {
}... | [
"rob@robdotson.info"
] | rob@robdotson.info |
a41a531677a63c397a486711336a21b544fa4dac | 89a30d3f12799c05430a081e1d89d453e5481557 | /ex04/main.cpp | d068fb2bac22dff80a83d1c72db9febca3a7dca6 | [] | no_license | sasakiyudai/cpp03 | 3cb1840e630a399baee741c37bd7ee6a8feb416b | a944dc8ad9066e1fdb7deb49be64aea9ca648c2b | refs/heads/master | 2023-04-24T17:35:51.622589 | 2021-05-05T08:54:59 | 2021-05-05T08:54:59 | 355,207,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | cpp | #include "FragTrap.hpp"
#include "ScavTrap.hpp"
#include "ClapTrap.hpp"
#include "NinjaTrap.hpp"
#include "SuperTrap.hpp"
int main()
{
std::srand(time(NULL));
FragTrap hikakin("hikakin");
ScavTrap seikin("seiikin");
ClapTrap youtube("youtube");
NinjaTrap nikoniko("nikoniko");
NinjaTrap nikoniko2("nikoniko2");
S... | [
"you@example.com"
] | you@example.com |
d8ed28569bbc9fc759876880a0229199fd74ff7c | 1c895c003b270c53788d6422a2c71891d3f12d9c | /dacincubator/dacincubator.hpp | 87219ef8792da4d2ac87fdbb4a2ed15b2be2a57f | [] | no_license | eostry/kyubey-initial-bancor-offer-contract | 203a31a4a953d14322c52aeca3085de9c05086fe | 9be7f932f5496c200981c8b08fe9cb6ef7e19cfe | refs/heads/master | 2020-03-30T01:27:20.858673 | 2018-09-27T05:20:47 | 2018-09-27T05:20:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,820 | hpp | #include <eosiolib/currency.hpp>
#include <eosiolib/asset.hpp>
#include <math.h>
#include <string>
#include "kyubey.hpp"
#include "utils.hpp"
#define TOKEN_CONTRACT N(eosio.token)
using namespace eosio;
using namespace std;
typedef double real_type;
class dacincubator : public kyubey
{
public:
dacincubator(ac... | [
"lychees67@gmail.com"
] | lychees67@gmail.com |
89702d6f979a0ffd634d0c5ddd8ab1b370479460 | 5b12e6a9bb6000fe14f758374e83269caf7c9c80 | /BamIterator.hpp | 77b3538611a43b28bcb19d4f7e468054ac6f0f49 | [] | no_license | escherba/asw-utils | 467a2dde329986ae02de50aa919ad5d5a5e3e7d5 | 27556de62e7228796bf2e105601287792cfb5cf4 | refs/heads/master | 2021-01-22T13:17:19.268682 | 2013-07-06T22:12:01 | 2013-07-06T22:12:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,469 | hpp | /*
* =====================================================================================
*
* Filename: BamIterator.hpp
*
* Description: A wrapper around BAM reading functions provided in samtools
*
* Version: 1.0
* Created: 04/08/2011 15:03:18
* Revision: none
* Compi... | [
"escherba@gmail.com"
] | escherba@gmail.com |
45884bc75cff91ac81e5d764be1586f2cb10755c | f712ed86ac4967d8906c0c1b1b3bf36e335418e1 | /constant/polyMesh/sets/planStlX7 | 088f55c90e400e1dfed6761ca0218e6d09804265 | [] | no_license | OpenFOAMwaterResourcesGroup/sharpCrestedWeir | 4950ac375a9f029f9a9c6d5a231313e7f7968f36 | a51a751db66b88b5470a7f1b99d551062689b097 | refs/heads/master | 2021-01-19T12:42:55.143419 | 2019-04-08T11:20:58 | 2019-04-08T11:20:58 | 82,355,241 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,570 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 ... | [
"noreply@github.com"
] | noreply@github.com | |
0c91f12f68904989d5447ebe505c896076a2c082 | a6376e1ada58384cdc0065ce5a4a96728e84f04f | /SDK/include/voreen/core/interaction/trackballnavigation.h | 2b68cbcc7ee099e2aa6deb3de12cf17923834586 | [] | no_license | widVE/Voreen | be02bac44896e869a6af083c61729d5e154c28f1 | c8a5c66f15d31f8177eeceefa19358f905870441 | refs/heads/master | 2021-08-17T23:46:19.556383 | 2020-06-22T20:21:11 | 2020-06-22T20:21:11 | 196,454,037 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,110 | h | /***********************************************************************************
* *
* Voreen - The Volume Rendering Engine *
* ... | [
"kalimi@wisc.edu"
] | kalimi@wisc.edu |
53e4e397c8e1eeef63447fad3447cea8ede8c35c | 54046ec2ff1717d752798ed47bf5dfde6f52713d | /grades.cpp | 20123c91005cbaa8fa24927a828ef469dd36071d | [] | no_license | Surbhi050192/Detect-and-Remove-Collision-in-Hash-Table-using-LinkedList | aad23d4ac8be3005dbcd4a805a98aee37316e758 | da8a585e01d3b9f341c697ee833fb430e323c659 | refs/heads/master | 2021-01-23T05:24:17.529340 | 2018-01-31T21:57:31 | 2018-01-31T21:57:31 | 86,302,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,224 | cpp | // Name: Surbhi Goel
// Loginid: surbhigo
// CSCI 455 PA5
// Fall 2016
/*
* grades.cpp
* A program to test the Table class.
* How to run it:
* grades [hashSize]
*
* the optional argument hashSize is the size of hash table to use.
* if it's not given, the program uses default size (Table::HASH_... | [
"surbhigo@usc.edu"
] | surbhigo@usc.edu |
4fdcf557e3798448e4e865c750ec24128a224992 | 9f9ac37f22333569ae3bec78075d0918c3ad2742 | /src/protocol/proto-types.cxx | fb85666838857c005630d51a1821e32a721234db | [
"MIT"
] | permissive | credativ/pg_backup_ctl-plus | 602bcd0ce2bcce1653dd340e7b134c3b8f92973d | d1655f9791be9227e17b60731829bbd8572e850b | refs/heads/master | 2023-03-20T22:15:21.159701 | 2021-03-16T18:08:53 | 2021-03-16T18:08:53 | 348,447,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,709 | cxx | #include <sstream>
#include <boost/log/trivial.hpp>
#include <pgsql-proto.hxx>
#include <proto-descr.hxx>
#include <server.hxx>
using namespace pgbckctl;
using namespace pgbckctl::pgprotocol;
/* ****************************************************************************
* PGProtoResultSet implementation
* ********... | [
"bernd.helmle@credativ.de"
] | bernd.helmle@credativ.de |
6244451b2be96b658d9c50b571bd3c1b82bbca75 | b1aef802c0561f2a730ac3125c55325d9c480e45 | /src/ripple/beast/unity/beast_utility_unity.cpp | 71de0b8ceffb3add02bc159ef1a49dd99d49c656 | [] | no_license | sgy-official/sgy | d3f388cefed7cf20513c14a2a333c839aa0d66c6 | 8c5c356c81b24180d8763d3bbc0763f1046871ac | refs/heads/master | 2021-05-19T07:08:54.121998 | 2020-03-31T11:08:16 | 2020-03-31T11:08:16 | 251,577,856 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp |
#include <ripple/beast/utility/src/beast_Journal.cpp>
#include <ripple/beast/utility/src/beast_PropertyStream.cpp>
| [
"sgy-official@hotmail.com"
] | sgy-official@hotmail.com |
cd56f02d67dce7a596cfaf5dee7b6119a9f33f41 | 097b2a0f8e5cefbaff31790a359d267bd978e480 | /Atcoder/ABC_s1/ABC_079/C-Train_Ticket.cpp | f37899ce059057bc72afda3204eeb6cfb96a33a9 | [] | no_license | Noiri/Competitive_Programming | 39667ae94d6b167b4d7b9e78a98b8cb53ff1884f | 25ec787f7f5a507f9d1713a1e88f198fd495ec01 | refs/heads/master | 2023-08-16T17:35:15.940860 | 2021-09-07T20:57:59 | 2021-09-07T20:57:59 | 161,947,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
for(int bit=0; bit<(1<<3); bit++){
int tmp = (int)(s[0] - '0');
char op[3];
for(int i=0; i<3; i++){
if(bit & (1<<i)){
tmp += (int)(s[i+1] - '0');
op[... | [
"suleipenn@gmail.com"
] | suleipenn@gmail.com |
67a59a9620eb8ef0b4e25f3b9ffd347dcd110215 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/net/net_jni_headers/net/jni/X509Util_jni.h | e20565583b74720b0476f48d208a5815e79d43b7 | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | h | // Copyright 2014 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.
// This file is autogenerated by
// base/android/jni_generator/jni_generator.py
// For
// org/chromium/net/X509Util
#ifndef org_chromium_net_X50... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
304aa5a343f45e40c0f53bbcf4608bbd07a02737 | c64e539f641211a7593c8552c9e38ff443982a2d | /src/qt/sendcoinsentry.cpp | 6abf74a183ca3fd9b06ffbfc9c9fb8633a6fe866 | [
"MIT"
] | permissive | cryptolog/ARGUS | 1c38334bcf61017073e4b512936e7372f7a87a5b | fc17a26535069ee0cc12d7af5053fc5c5fc5a91d | refs/heads/master | 2020-06-02T23:19:24.322324 | 2019-06-21T08:58:18 | 2019-06-21T08:58:18 | 191,341,107 | 0 | 0 | MIT | 2019-06-11T09:42:04 | 2019-06-11T09:42:03 | null | UTF-8 | C++ | false | false | 4,617 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbo... | [
"bitminer82@gmail.com"
] | bitminer82@gmail.com |
018f5c74a9f51895d68557b5026600d9b25eecee | 160506cbb73a6328fdd5d60c02bf0e305b966b08 | /gstar/Master/dealCsv.cpp | 1e0561afa164b95b5fb3b1b0b03dfc30a0e0e9e4 | [] | no_license | paradiser/Gstar | 7938b0492f7d42e70408157b25a2dcb56c4782d5 | 7d341c343191a615984439b6303bfe73ecfbe4df | refs/heads/master | 2021-01-18T22:24:07.458062 | 2016-11-08T02:45:17 | 2016-11-08T02:45:17 | 72,499,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,725 | cpp | //
// Created by wbl on 16-7-29.
//
#include "dealCsv.h"
//const string csvfp = "/home/wbl/Desktop/1.csv";
vector<string> split(string rawString, char spliter)
{
vector<string> result;
string tmp="";
for(int i=0;i<rawString.length();i++)
{
if(rawString[i]==spliter){
result.push_bac... | [
"paradiser@ubuntu.ubuntu-domain"
] | paradiser@ubuntu.ubuntu-domain |
ea87206aaf224dfec59f15917547b6a4611a728e | 1ad39267d734f4236fb93d519a856fcdee7f8cc7 | /ACE_Event_Handler_Server/Client_Acceptor.h | ce45e274a6e2974b14e6e4393666cef410889e5f | [] | no_license | yoloo/ace_reactor | 328db469f321a6590cb28881c46bc60c06cb2ca5 | 151e706eae41ea4f6be0d6571e485de2b1ba9b46 | refs/heads/master | 2021-01-23T12:25:50.289879 | 2015-06-17T00:45:29 | 2015-06-17T00:45:29 | 37,563,815 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | h | #ifndef _CLIENT_ACCEPTOR_H_
#define _CLIENT_ACCEPTOR_H_
#include "Client_Service.h"
/*ACE headers.*/
#include "ace/Reactor.h"
#include "ace/SOCK_Acceptor.h"
class ClientAcceptor : public ACE_Event_Handler
{
public:
ClientAcceptor();
explicit ClientAcceptor( const ACE_INET_Addr & addr );
virtual ~... | [
"yoloo0624@gmail.com"
] | yoloo0624@gmail.com |
bc197a70da3d407451372f2b991dd4d226fd05f4 | e3b7d7960949a42948b4fe0a05301c8794daf0a3 | /projects/worker/server.cpp | 285c1ec689000173e187dbe44c9347479b34e5c6 | [] | no_license | masixian/RelayLive | d2ba6af6cddae8cc2e05507a3002d715db030f8d | 41e2c167da8bd6925d0e25524e22e7eeaf06eca1 | refs/heads/master | 2022-05-12T01:20:38.766811 | 2022-03-25T06:00:40 | 2022-03-25T06:00:40 | 196,906,055 | 0 | 0 | null | 2019-07-15T01:59:09 | 2019-07-15T01:59:08 | null | GB18030 | C++ | false | false | 15,884 | cpp | #include "server.h"
#include "sha1.h"
#include "base64.h"
#include "uv.h"
#include "util.h"
#include "utilc.h"
#include "easylog.h"
#include "worker.h"
#include <unordered_map>
#include <sstream>
using namespace util;
uv_loop_t uvLoopLive;
uv_tcp_t uvTcpServer;
class CLiveSession : public ILiveSession
{
public:
... | [
"wlla@jiangsuits.com"
] | wlla@jiangsuits.com |
943ffac4260a69a32c3d8c3900b5c09571053eec | 68113737651a9856a703860e8e81e4c9da5073cf | /Chess/Camera.h | 6c3a18df25145cbba43db7ea34d09667bba634ae | [] | no_license | stefano9o/chess_game | 2983dbfc30283d025e42f34eb017b9d46b8bdb3a | e00cbbe1654a24fc056290ad8f202de49e4b9bdb | refs/heads/master | 2021-01-17T23:55:30.448921 | 2017-03-13T20:08:32 | 2017-03-13T20:08:32 | 84,234,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,133 | h |
#ifndef CAMERA_H
#define CAMERA_H
// Std. Includes
#include <vector>
// GL Includes
#include <GL\glew.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
// Defines several possible options for camera movement. Used as abstraction to stay away from window-system specific input methods
enum Camera_Mo... | [
"stefano.galeano@gmail.com"
] | stefano.galeano@gmail.com |
1faa28603c5cf376387be0e6e091d187f20efa50 | 06d0a55bfdcdf17a1cc8a914fc19e8a535720cea | /Sorting/selection_sort.cpp | 9f4924fbc92832d400a165c308142a95c1b2ff31 | [] | no_license | luciandinu93/CPPAlgorithms | 8922492b1071e5861641ba54edd26cf495a63977 | 0e179e38a9c06a63c52062702a1d89d824a90f5e | refs/heads/master | 2020-04-23T11:42:04.986925 | 2020-04-02T05:47:24 | 2020-04-02T05:47:24 | 171,145,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include <iostream>
using namespace std;
void selection_sort(int *A, int n) {
int temp, min = 0;
for(int i = 0; i < n-1; i++) {
min = i;
for(int j = i + 1; j < n; j++) {
if(A[min] > A[j])
min = j;
}
temp = A[i];
A[i] = A[min];
A[min] = temp;
}
}
int main() {
int n;
cin >> n;
int A[n];
for(i... | [
"lucian.dinu93@yahoo.com"
] | lucian.dinu93@yahoo.com |
0d5e5e65119fdbbaab6dbf7738e5a67e6627ff79 | f73b1c973666697607191ca08b165a485ac3c980 | /src/UIMode.cpp | 98d2d2749eb9ab727e829080afdf32c515c0675a | [
"BSD-2-Clause"
] | permissive | simonzty/RPi_Pico_WAV_Player | 1580f593ad4e1d132364530c8ce84e4e5b8b418a | 606d1cec8bfb7f5e55eab78f467c3541f0fff1fd | refs/heads/main | 2023-05-01T22:20:14.745081 | 2021-05-05T14:15:28 | 2021-05-05T14:15:28 | 378,089,434 | 1 | 0 | BSD-2-Clause | 2021-06-18T08:47:13 | 2021-06-18T08:47:13 | null | UTF-8 | C++ | false | false | 25,953 | cpp | /*------------------------------------------------------/
/ UIMode
/-------------------------------------------------------/
/ Copyright (c) 2020-2021, Elehobica
/ Released under the BSD-2-Clause
/ refer to https://opensource.org/licenses/BSD-2-Clause
/------------------------------------------------------*/
#include ... | [
"elehobica@gmail.com"
] | elehobica@gmail.com |
6df7c98286000605dd0455e1d230b9a48c7cfa32 | fed5d16dd3166c7c5fc1c0fab37f9bb06b164c61 | /problem 8 sorting array elements by its frequency.cpp | b1bde94b2e6eae28b47baa61bd75a8dd0935e97b | [] | no_license | sushmitasah/-100daysofcodingchallenge | 0f42a71900391bd549c7a32fb73069aaa7352a5f | 00c9ec509af5fe6473b42e131460ee2a8b9c446c | refs/heads/master | 2020-06-03T12:04:53.157692 | 2019-07-17T04:53:45 | 2019-07-17T04:53:45 | 191,561,575 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | cpp | Problem:-
/*Given an array A[] of integers, sort the array according to frequency of elements. That is elements that have higher frequency come first. If frequencies of two elements are same, then smaller number comes first.
Input Format:
The first line of input contains an integer T denoting the number of test case... | [
"noreply@github.com"
] | noreply@github.com |
50994871acb87e0cb9dcbf9b063267a380f40f82 | 709ceec684610f302a031806eea86e375031a726 | /PUBG_WeaponEquipmentSlotWidget_parameters.hpp | 7e9aa3c725ddce5d8b66e21fd6f92f8455b7850e | [] | no_license | denfrost/UE4_SDK_DUMP | 867df3a4fdc0a714ca04a52ba0f5d3d6dc7d6e22 | 05f3d9dd27c9148d3d41162db07d395074467d15 | refs/heads/master | 2020-03-25T08:02:35.815045 | 2017-12-28T03:26:29 | 2017-12-28T03:26:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,223 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (2.4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//--------------------------------------------------------------------------... | [
"34903638+ColdStartEnthusiast@users.noreply.github.com"
] | 34903638+ColdStartEnthusiast@users.noreply.github.com |
3d4df29ce10f64949652539c76e6d6a32baae6fd | 8d291265155434ea3ddda7276a343911e3c1f7b1 | /Lecture 26/generic_graph.cpp | f926e314c2915e3564059e0c3e0bce493ccb332e | [] | no_license | sanjeetboora/Launchpad-Pitampura-10June | 497a1d6c85ca7c3c7797416be2f134eefff72960 | 73a2b3d347dc2aa24eabb5871e9cd132d6715ee7 | refs/heads/master | 2020-06-07T07:40:55.563462 | 2019-08-01T12:34:11 | 2019-08-01T12:34:11 | 192,963,671 | 1 | 0 | null | 2019-08-01T11:32:50 | 2019-06-20T17:45:55 | C++ | UTF-8 | C++ | false | false | 2,493 | cpp | #include <iostream>
#include <list>
#include <map>
#include <queue>
#include <climits>
using namespace std;
template <typename T>
class Graph{
map<T, list<T> > adjList;
void dfsHelper(T node,map<T,bool> &visited){
cout<<node<<" ";
visited[node] = true;
for(auto neighbour:adjList[node]){
if(!visited[neig... | [
"pranav.khandelwal@lifcare.in"
] | pranav.khandelwal@lifcare.in |
a624e116b58edf04976c18f7a91a67450d4f2fda | 481cba865f0fed25c929c0c874f8ef8b58d3d06f | /src/gui/collabwebgraph.cpp | a03a656c68537242ec8f5d90cb71fc069de2b566 | [
"MIT",
"BSD-3-Clause"
] | permissive | lssjByron/teamsirus | d4f3af6ae75aacff9675afb3a200a9198ebef672 | 21f5f26f410eb0262754006d7c4a024c160e6401 | refs/heads/master | 2020-03-22T22:38:14.548601 | 2018-07-12T20:38:16 | 2018-07-12T20:38:16 | 140,762,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,347 | cpp | #include "collabwebgraph.h"
#include "ui_collabwebgraph.h"
#include "math.h"
#include <iterator>
#include <QList>
#include <QPair>
#include <QDebug>
#include <QFileInfo>
#include "mainwindow.h"
#include <QGraphicsDropShadowEffect>
#include <QPointF>
#include <QObject>
#include <qobjectdefs.h>
#include <QStyle>
#include... | [
"byron@invaware.com"
] | byron@invaware.com |
037613bd2d78379c84cfaac6b7a28e62a83d89cb | 9c9632cc91135b1bc7222f60bda99a5da4018f85 | /02.Product/Cloud/Cpp/Devmgr/tags/dev_crs_net/V4.2.5/build/linux/sredisdll/include/sredisdll.h | 7312f9fb957b378a084484b43669cf897dd88d3a | [] | no_license | lltxwdk/testgame | eb71624141f85f6aabcae85b417ab6aa286403fb | 1cc55d9d2a25594818cfe365c0dcc0b476e9053e | refs/heads/master | 2022-08-01T05:24:48.024701 | 2020-05-24T05:07:59 | 2020-05-24T05:07:59 | 187,604,627 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,701 | h | // The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the SREDISDLL_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project who... | [
"375563752@qq.com"
] | 375563752@qq.com |
482f4cae26b6ce88e30e5e850f9e4ff338c5e735 | f8770867dcbe75666fdbd68194d88c75935ab5a6 | /proves3/proves3/Point.h | c13f7195d78ed4e608cbd080e2f8142e648fbbc3 | [] | no_license | weprikjm/Point2D | f85c4005d8e4da5f716aa851ef1f3cf9c3833fc3 | afd6101d1d486c821eaeb0da3d251c4aaf9aca29 | refs/heads/master | 2020-06-10T17:06:17.693876 | 2015-10-05T15:55:39 | 2015-10-05T15:55:39 | 43,690,942 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 310 | h |
class Point
{
public:
int x,y;
Point operator=(Point& p);
bool operator==(Point& p)const;
bool operator!=(Point& p)const;
Point operator+=(Point& p);
Point operator-=(Point& p);
Point operator+(Point& p)const;
Point operator-(Point& p)const;
bool IsZero()const;
void SetZero();
void Negate();
}; | [
"ruben.idigora@gmail.com"
] | ruben.idigora@gmail.com |
b81b6d3f967d2b98682cc6784fa228a8ade24925 | 957a80ea22c5abb4f4670b250d55534d9db99108 | /src/library/compiler/reduce_arity.h | 75978588d42e0bc25ddd1e2328c2afef80b91f4f | [
"Apache-2.0"
] | permissive | GaloisInc/lean | aa1e64d604051e602fcf4610061314b9a37ab8cd | f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0 | refs/heads/master | 2020-06-15T06:35:09.807322 | 2017-09-05T15:13:07 | 2017-09-05T15:13:07 | 75,319,626 | 2 | 1 | Apache-2.0 | 2018-10-11T20:36:04 | 2016-12-01T18:15:04 | C++ | UTF-8 | C++ | false | false | 750 | h | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "kernel/environment.h"
#include "library/compiler/procedure.h"
namespace lean {
/** \brief Try to reduce the arity of auxiliary declar... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
0b7d960a83cff6a7afa126115833cf2f5753ea48 | 3459ad2afff7ad28c99c0e6837755aedda7f5ff1 | /WarehouseControlSystem/ControlClass/externcommuincation/tcommtcpclient.cpp | 937a6a83f9cfd413293504be6df4ab34c2f703ca | [] | no_license | KorolWu/WCSFinal | 7fbe534114d8dae3f83f0e80897e7b3fc2683097 | ea0b8cd71f8ffc9da5d43ab9c511130039a9d32a | refs/heads/master | 2023-04-03T01:32:45.274632 | 2021-04-22T01:00:17 | 2021-04-22T01:00:17 | 360,348,654 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,277 | cpp | #include "tcommtcpclient.h"
#include <QDateTime>
#include "tcommtransceivermanager.h"
#include "UnitClass/c_systemlogmng.h"
TCommTCPclient::TCommTCPclient()
{
socket = nullptr;
m_connectStatus = false;
connect(this,&TCommTCPclient::signalSendHWdeviceData,this,&TCommTCPclient::write);
connect(this,&TComm... | [
"1050476035@qq.com"
] | 1050476035@qq.com |
c4f3fbda381fbb580302b53e1f581da67aece6a8 | b920e8e33d1ba49fbf04c619608f230f2ea6a23f | /nurbs2.cpp | 5108a4fea66ced4d78a4cf58ae873f8358056d09 | [] | no_license | qiuyingyue/project | 1ae349d70bf77edd0a20fdafb3d74419c70dbfe8 | 909d8498cf4e4fe2a3ef26b275180858a7fe5b67 | refs/heads/master | 2020-12-25T17:03:41.467017 | 2016-01-11T15:05:25 | 2016-01-11T15:05:25 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,624 | cpp |
//
// nurbs2.cpp
// opengltest
//
// Created by Victor Young on 1/10/16.
// Copyright (c) 2016 Victor Young. All rights reserved.
//
//see http://www.glprogramming.com/red/chapter12.html
#include"nurbs.h"
#include <stdlib.h>
#include"CGdrive.h"
GLfloat ctrlpoints[5][5][3] =
{ { { -5, 0, 0 }, { -3, 0, 0 }, {... | [
"842752622@qq.com"
] | 842752622@qq.com |
e8d9645ec32dac680bb42dfcaeb42ee8c1d50db7 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboServer/Server/GameServer/BotAiCondition_ScanTarget.cpp | eeee73f2a1ef79a614ac589ab1ef799254fc5705 | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UTF-8 | C++ | false | false | 1,914 | cpp | #include "stdafx.h"
#include "BotAiCondition_ScanTarget.h"
#include "ObjectManager.h"
#include "char.h"
#include "NtlPacketGU.h"
CBotAiCondition_ScanTarget::CBotAiCondition_ScanTarget(CNpc* pBot, CBotAiCondition_ScanTarget::eBOTAI_SMARTSCAN_TYPE eSmartScantype, BYTE bySmartLevel)
:CBotAiCondition(pBot, BOTCONTROL_CO... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
de9b1777207cbdb3fe3e0b4d2bfd789680d545fd | a949ca5fd781f526ad292992fd47f4b8bd973d9e | /RAVULA/ARRAY/1.LINEAR SEARCH.cpp | b4d278a342700662fbb84b24ac9b5c268e70443d | [
"MIT"
] | permissive | scortier/Complete-DSA-Collection | 8f20e56b18e4a552aebd04964e8365e01eba5433 | 925a5cb148d9addcb32192fe676be76bfb2915c7 | refs/heads/main | 2023-05-14T14:24:21.678887 | 2021-06-06T18:59:01 | 2021-06-06T18:59:01 | 307,963,617 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | // QUARANTINE DAYS..;)
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define test long long int tt;cin>>tt;while(tt--)
#define rep(i,a,b) for(long long int i=a;i<b;i++)
#define rev(i,a,b) for(long long int i=b-1;i>=a;i--)
#define reep(i,a,b) for(long long int i=a;i<=b;i++)
#d... | [
"onlytoaditya@gmail.com"
] | onlytoaditya@gmail.com |
82f57646a4c7f09646be0abcecfbf5fd2e13b246 | 9607d81d6126b04c75e197440a15c325a69d97a1 | /TradingSDI/TradingSDI/ADD_overview.cpp | 3f4a2696b880f9a212b9fca94ec7383f79751fcf | [] | no_license | FX-Misc/prasantsingh-trading | 0f6ef3ddac2fcb65002d6c1031ea0557c1155d9a | 755670edd6f964915a4f8c3675f2274b70d01c50 | refs/heads/master | 2021-05-05T17:18:47.658007 | 2017-01-19T11:06:16 | 2017-01-19T11:06:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,387 | cpp | // ADD_overview.cpp : implementation file
//
#include "stdafx.h"
#include "TradingSDI.h"
#include "ADD_overview.h"
#include "afxdialogex.h"
#include "tabControl.h"
IMPLEMENT_DYNAMIC(ADD_overview, CDialogEx)
ADD_overview::ADD_overview(CWnd* pParent /*=NULL*/)
: CDialogEx(ADD_overview::IDD, pParent)
{
m_hIcon =... | [
"prasantsingh01@hotmail.com"
] | prasantsingh01@hotmail.com |
5aa5904da88ef161fa340740b3d2428bf52a864a | 8295c24e35f48205a308a64a216e673790be0f21 | /01cpp/day1_2.cpp | a8460ced96fde7836a367c43b59866f19cdd0844 | [] | no_license | kev-zheng/advent2016 | e6da8e13a492735079c1007f3dcda4ddd456717b | 56d6a3b6c818948dd1690b6c513ed1df63b9efd9 | refs/heads/master | 2021-01-12T07:31:37.981359 | 2016-12-29T20:00:51 | 2016-12-29T20:00:51 | 76,972,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <typeinfo>
#include <cmath>
using namespace std;
int main(){
string instructions;
vector <char> directions;
vector <int> distances;
int currentX = 0;
int currentY = 0;
int currentDirection = 1;
int distance;
int totalDistance;
int posX = 1000;
int posY... | [
"Kevin@MacBook-Pro-4.local"
] | Kevin@MacBook-Pro-4.local |
85b4638ab6121c25772d841d1e885976c205db22 | 144138ef6a25005fba1ff74ce20d490bbc5edc97 | /examples/node_modules/canvas/src/Canvas.h | f5b3740aa3c49de797fe0ddc58a7f93e66e036f1 | [
"MIT",
"WTFPL",
"BSD-2-Clause"
] | permissive | tmcw/k-means | 642965268ead937f10f3bb04b530b62cdc4e0375 | 7b8c4e40354ba46c381d1346c65bb4e647ba7604 | refs/heads/master | 2021-01-10T21:27:14.320170 | 2015-05-19T02:19:49 | 2015-05-19T02:19:49 | 5,286,199 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | h |
//
// Canvas.h
//
// Copyright (c) 2010 LearnBoost <tj@learnboost.com>
//
#ifndef __NODE_CANVAS_H__
#define __NODE_CANVAS_H__
#include <v8.h>
#include <node.h>
#include <node_object_wrap.h>
#include <node_version.h>
#include <cairo/cairo.h>
using namespace v8;
using namespace node;
/*
* Maxmimum states per contex... | [
"tom@macwright.org"
] | tom@macwright.org |
c995c4f4a54b9abf6f68b9caef72e775fd282752 | 6d6ff3721a863e4fb980603f7045fedf43673af5 | /include/wdp/Depth.h | 97a0ae72c73d8b706b8ab916864bc1d94fb5c3b9 | [
"BSL-1.0"
] | permissive | lewis-revill/wheele-depth-perception | 833f31ed42fb2b67335b8fd99e833779a2832c6d | 9f92df089847e8d5b412dc50f21f301a68324312 | refs/heads/master | 2022-08-29T09:37:57.474273 | 2020-05-30T17:32:21 | 2020-05-30T17:32:21 | 263,041,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | h | //===-------- Depth.h - Depth Perception Algorithms -------------*- C++ -*-===//
//
// Copyright © 2020 Lewis Revill
//
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt).
//
// SPDX-Lic... | [
"lewis.revill@embecosm.com"
] | lewis.revill@embecosm.com |
1e6adf16ee17a9a8d8f54d686683db04c9cef38b | 6676867d1b645bd6d8fc7c79d85d7e943a3a3550 | /ROS/skinny/src_does_not_compile/victor/src/victor_node.cpp | 99bd7da1437840332680c036f4fac47194c1d69f | [] | no_license | Razorbotz/RMC-Code-20-21 | 88604410293c5edb7a877365aa8bbf2a9cb4141b | f1a5a9c99a3af840188f8dc3a680c0453600ee02 | refs/heads/master | 2023-07-18T03:44:26.445419 | 2021-05-11T18:08:24 | 2021-05-11T18:08:24 | 336,593,274 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,632 | cpp | #include <string>
#include <iostream>
#include <chrono>
#include <thread>
#include <unistd.h>
#define Phoenix_No_WPI // remove WPI dependencies
#include <ctre/Phoenix.h>
#include <ctre/phoenix/platform/Platform.h>
#include <ctre/phoenix/unmanaged/Unmanaged.h>
#include <ros/ros.h>
#include <ros/console.h>
#include <std... | [
"andrewburroughs17@gmail.com"
] | andrewburroughs17@gmail.com |
1a7a4b42dc989d21ffab293af44a63c9260fe8ee | 379d9b87abaa7781d3af96b0c295f106ab18c0d0 | /vector.cpp | 4f4602ace9af555113c930c0c80e6f06fe7b5363 | [] | no_license | JkUzumaki/C-_02_2020 | b2417737b74b5c662e3864699f23dfef797dfd4c | 376961b114d0834b92cdeb9e39cac17f84e3687a | refs/heads/master | 2020-12-28T18:39:52.629901 | 2020-02-28T07:39:49 | 2020-02-28T07:39:49 | 238,444,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,688 | cpp | // Self implementation of
// the Vector Class in C++
#include <bits/stdc++.h>
using namespace std;
class vectorClass {
// arr is the integer pointer
// which stores the address of our vector
int* arr;
// capacity is the total storage
// capacity of the vector
int capacity;
// current is the numbe... | [
"jaikumar.1415@yahoo.com"
] | jaikumar.1415@yahoo.com |
c5f4bb56552416aa9db9d99b7896dc7fc227a559 | 7d7301514d34006d19b2775ae4f967a299299ed6 | /leetcode/tree/958.isCompleteTree.cpp | c812006aea9ade2ae62a7d4210abb205c6326bfc | [] | no_license | xmlb88/algorithm | ae83ff0e478ea01f37bc686de14f7d009d45731b | cf02d9099569e2638e60029b89fd7b384f3c1a68 | refs/heads/master | 2023-06-16T00:21:27.922428 | 2021-07-17T03:46:50 | 2021-07-17T03:46:50 | 293,984,271 | 1 | 0 | null | 2020-12-02T09:08:28 | 2020-09-09T02:44:20 | C++ | UTF-8 | C++ | false | false | 917 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <queue>
#include "treeNode.h"
using namespace std;
bool isCompleteTree(TreeNode* root) {
queue<TreeNode*> q;
q.push(root);
int level = 0;
while (!q.empty()) {
int size = q.size();
bool has_null = false, has_next = false;
... | [
"xmlb@gmail.com"
] | xmlb@gmail.com |
7f0766975f6d910a4a909a1e762c0ab85402c537 | e13bddc546916ecba5b10721050d091da6df3993 | /helper.h | 7a2a11a422842ce7d1fd5684e0024697b211ef4d | [
"MIT"
] | permissive | aldemirenes/hagen | c7c278e1ea6f32f224d1edf2966869484061ce01 | e88385275fb9da82a6a132cd1e9a8f1cbacf3289 | refs/heads/master | 2021-04-27T18:36:14.526000 | 2018-02-21T15:41:02 | 2018-02-21T15:49:54 | 122,342,697 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 866 | h | #ifndef __HELPER__H__
#define __HELPER__H__
#include <iostream>
#include <string>
#include <fstream>
#include <jpeglib.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "glm/glm.hpp" // GL Math library header
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
#include "glm/gtx/rotate_vecto... | [
"aldemirenes@live.com"
] | aldemirenes@live.com |
46f770e2934fb79593e6ba638e8f4d9670bf6d7e | 06a7f45d1bea8ccbc358ee7e9c8a1c517666975b | /eviction.cc | 5bcbd992614b32c6ed124b34315870e93ec04b1b | [] | no_license | ezraschwaa/CS389-hw2 | 0d93703bf5ff0b3fb544de992150e4e679cd95e2 | dd8c178f620a136f77b73e384f544b5e8a7d6789 | refs/heads/master | 2020-04-08T23:21:25.251567 | 2018-12-02T07:57:33 | 2018-12-02T07:57:33 | 159,821,423 | 0 | 1 | null | 2018-12-02T04:13:14 | 2018-11-30T12:37:21 | C++ | UTF-8 | C++ | false | false | 8,410 | cc | //By Monica Moniot and Alyssa Riceman
#include <stdlib.h>
#include "eviction.h"
#include "book.h"
#include "types.h"
constexpr Bookmark INVALID_NODE = -1;
inline Evict_item* get_evict_item(Book* book, Bookmark item_i) {
return &read_book(book, item_i)->evict_item;
}
Node* get_node(Book* book, Bookmark item_i) {
re... | [
"mmoniot2@gmail.com"
] | mmoniot2@gmail.com |
472c889d379e6909ea101e25377f0b852f79a430 | f981bca58ad38cb0d79eff19f9e56fb58a5c8efe | /Stepper1/Stepper1.ino | c4554b0faeaece7648c969db2b1ef544fc65f8a7 | [] | no_license | andresmonsalvo/Arduino | 5b57487aeaa8506aa59416d6a56caf61c92a81d2 | f999b2744cd4114ca2d389496a0cf0911011b977 | refs/heads/main | 2023-05-24T12:11:14.439127 | 2021-06-02T00:27:05 | 2021-06-02T00:27:05 | 369,952,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | ino | #include <Stepper.h>
int stepsPerRevolution=2048;
int motSpeed=3;
int dt=500;
Stepper myStepper(stepsPerRevolution, 8,10,9,11);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
myStepper.setSpeed(motSpeed);
}
void loop() {
myStepper.step(stepsPerRevolution);
delay(dt);
myStepper.step(-st... | [
"andresmonsalvo@yahoo.ca"
] | andresmonsalvo@yahoo.ca |
8c1ec4445099e162a772d5db5ec84d9e358dafa2 | 21b99ea7396881e8a56f41b53e5672e689c805a7 | /omnetpp-5.2.1/tools/macosx/include/osgEarthUtil/TMSPackager | 1a170568066bfb5e20b7666541432052046b35b3 | [] | no_license | mohammedalasmar/omnetpp-data-transport-model-ndp | 7bf8863091345c0c7ce5b5e80052dc739baa8700 | cbede62fc2b375e8e0012421a4d60f70f1866d69 | refs/heads/master | 2023-06-27T06:17:57.433908 | 2020-10-09T11:30:02 | 2020-10-09T11:30:02 | 194,747,934 | 2 | 2 | null | 2021-08-02T17:03:56 | 2019-07-01T21:54:32 | HTML | UTF-8 | C++ | false | false | 6,227 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2013 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundat... | [
"mohammedzsalasmar@gmail.com"
] | mohammedzsalasmar@gmail.com | |
ca24226c5692fc523964e6e54bdc5448b8b18dd6 | 6f25c6660e770db7aa6c917834fa87ff3c784af3 | /cocos2d/cocos/2d/CCFontAtlas.h | 56a76bca29da441334d65c99a37b148f7ef82c07 | [
"MIT"
] | permissive | lfeng1420/BrickGame | 7c6808f7212211ad7dc12592063e505c95fdfadb | e4961a7454ae1adece6845c64a6ba8ac59856d68 | refs/heads/master | 2020-12-11T08:50:19.812761 | 2019-10-11T15:06:59 | 2019-10-11T15:06:59 | 49,433,572 | 42 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 4,063 | h | /****************************************************************************
Copyright (c) 2013 Zynga Inc.
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation ... | [
"lfeng1420@hotmail.com"
] | lfeng1420@hotmail.com |
1bd16073ec8a1f3521e2a2a1ae3837f03a502ac0 | 5253d4c4b2467c856d3490fc95f4a069bd3dbf8a | /lab4q4.cpp | 960f3a1e89979c601592a1a869fc1cbdbc95421b | [] | no_license | Anujith123/lab-4 | f30b4cd4fe174ab0e6fb859179610f6e5df2ec0a | 368ff5b93fd80c421a345e96f656bff294750afe | refs/heads/master | 2020-03-27T03:43:20.325241 | 2018-08-23T17:10:54 | 2018-08-23T17:10:54 | 145,884,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | //include library
#include<iostream>
using namespace std;
//using main function
int main() {
// declaring variables
float x;
//enter value
cout<<"enter the number of days: \n";
cin >>x;
//calculation
cout<<"in years = "<<x/365.25<<"\nin weeks ="<<x/7<<"\nin days="<<x<<"\n";
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
14c5bfbd6b79c3d51df3272baf2b606cbccf3536 | 394fd2a44126ae5607c30a58fe5593db1c6e5a02 | /src/QFrameDisplay.cpp | 9fc74e400994cfb7241bf2a7e5d919aa20c7f3f8 | [] | no_license | thx8411/qastrocam-g2 | 653b98463609737ab328f63929690f27d7f100eb | c1453cc8bc2e7719db21bae5bffe3340c66b42e0 | refs/heads/master | 2021-01-17T11:35:54.403879 | 2016-04-01T20:33:07 | 2016-04-01T20:33:07 | 40,839,897 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | /******************************************************************
Qastrocam
Copyright (C) 2003-2009 Franck Sicard
Qastrocam-g2
Copyright (C) 2009-2013 Blaise-Florentin Collin
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2
as published ... | [
"thx8411@c1ec87e9-771e-51c6-fe90-2aeb2be771a7"
] | thx8411@c1ec87e9-771e-51c6-fe90-2aeb2be771a7 |
2c0fde64edb5f672aa14b73fd0df0bbd5ac5e5e4 | 0f448094cf44550aa932011475a26360501b73b7 | /include/boost/asio/execution/detail/as_receiver.hpp | 3eefa5382f205b5411c256937211db34f0a3dfd0 | [] | no_license | DaiJason/asio | 0b1ca3bd3eba0143c6b9f509a26b03e8a32bd51a | b462d8fef2b64af3718c23141ec457821f5d44c1 | refs/heads/master | 2022-11-10T21:31:39.046058 | 2020-07-01T14:53:39 | 2020-07-01T14:53:39 | 276,620,049 | 0 | 0 | null | 2020-07-02T10:43:39 | 2020-07-02T10:43:39 | null | UTF-8 | C++ | false | false | 3,168 | hpp | //
// execution/detail/as_receiver.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#if... | [
"chris@kohlhoff.com"
] | chris@kohlhoff.com |
1a3b60a5efab91fa77b99e409904690a655762a9 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Codeforces/ProblemSet/33D.cpp | 41502b6f254c683e85fa14a302d9a088e8d533f3 | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | /*
* Author : Yang Zhang
*/
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <vector>
#include <cstdio>
#include <string>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
4cca9237f2ba51519a370b62f8504b5177ea13ab | 400d08ce40087beb18f59eefef794b403527aea6 | /test/test_detred_opadd.cpp | 51b096115d8c81aab482f122fef9958d44fd87d0 | [
"BSD-3-Clause"
] | permissive | sukhaj/CilkpubV2 | dd96e979f23579578d7820b4e00c9ffaf5509f29 | b494e0e463222c5571153eb1176664892df356b9 | refs/heads/master | 2021-05-15T10:49:50.837422 | 2017-10-24T02:59:54 | 2017-10-25T03:14:19 | 108,214,215 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,754 | cpp | /* test_detred_opadd.cpp -*-C++-*-
*
*************************************************************************
*
* Copyright (C) 2013, Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | [
"jsukha@CHAR.localdomain"
] | jsukha@CHAR.localdomain |
a0169f15c930ce2382be60f4932f5a746de33e85 | a968f6f83fffd1170410f36dd9ec36fc67f4e968 | /ifttt.ino | 3d5beb3f52b7f8b39226671c7db5b58c96a68ae8 | [] | no_license | ayman2104/led-kelpa-kelip-with-google-assistant | 5c40ff25a9808dd4b79363d30d535eb4e4ad9ecc | 32aa965b9d6dd5863cac7996e01868aff7627f62 | refs/heads/master | 2022-11-19T05:08:00.429336 | 2020-07-25T09:45:00 | 2020-07-25T09:45:00 | 282,414,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | ino | #define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "ex0IgXxw_4-kWFvccqNMcgg9EEAqY_xC";
char ssid[] = "Delce22";
char pass[] = "kimcher22";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
| [
"noreply@github.com"
] | noreply@github.com |
00beb681504f109e0f1ddec767cfeddab1d67135 | 47de1c3720ee7df453ce7904e1767798bbc5f1c7 | /src/mavencore/maven/Date.h | 49c42ad05ea64b259cea1a4be7270e53067e785f | [] | no_license | elliotchance/maven | 28a20058d8b83c0b364680f573b329941ad0573a | ea189bf5cea7cacf15ecfe071762d5560323d0ab | refs/heads/master | 2021-01-10T21:01:14.871430 | 2010-05-04T08:20:32 | 2010-05-04T08:20:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | h | #ifndef MAVENCORE_MAVEN_DATE
#define MAVENCORE_MAVEN_DATE 1
#include "../mavencore.h"
namespace maven {
class Date extends maven::Object {
public_variable mshort year;
public_variable mbyte month;
public_variable mbyte day;
public_variable mbyte hour;
public_variable mbyte minute;
public_variable mbyte... | [
"elliot@chancemedia.com"
] | elliot@chancemedia.com |
cd0a7558331d64c19e76f9b7c92347d366fa5179 | 7bb00eea506d129c94cede3001d437f4ebc4b16f | /20180327/Source/Api/ApiStd.cpp | d6e6a73e0efabece9527814af15750b126f5a3cf | [] | no_license | jhd41/ToolFrame | 3e5c82b5a5c41e1ba844b93c3df6dfc5a41572d9 | 250c7d4371eca95acc1a579f2b861a1c94dfe9e4 | refs/heads/master | 2020-03-15T03:04:58.371922 | 2018-05-03T03:01:10 | 2018-05-03T03:03:05 | 131,933,829 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,373 | cpp | #include "ApiStd.h"
#include "ToolStd.h"
void ApiStd::Trace( const std::string& msg )
{
#if MACRO_TARGET_VER == MACRO_VER_DEBUG
std::cout<<msg<<std::endl;
#endif // MACRO_VER_DEBUG
}
void ApiStd::OutPut( const std::string& msg )
{
std::cout<<msg<<std::endl;
}
void ApiStd::OutPutCerr( const std::string& msg )
{
st... | [
"jhd41@sina.com"
] | jhd41@sina.com |
fa3544fb48cb3f5c2edf55fa302c9b1eee1fea95 | b8dbb9de51e58afb0dd81f14a302c1b7d4e9a80a | /src/TileLayer.cpp | 8f07676ac3cc4827c3754c913a704b83f2d36ed0 | [] | no_license | tonyellis69/3DEngine | a78425cecf6f0228d6bdc5cfcdf455f00edceefd | 927954300136e67a7fa120d4c5922fe212c07ff6 | refs/heads/master | 2023-07-19T20:07:05.971617 | 2023-07-10T15:01:04 | 2023-07-10T15:01:04 | 41,534,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,625 | cpp | #include "TileLayer.h"
#include <iostream> //cout
#include <fstream> //ifstream
#include "Config.h"
using namespace std;
void CSceneLayer::SetParallax(float val) {
Parallax = val;
}
CTileLayer::CTileLayer(void) {
ViewOrigin.x = 0; ViewOrigin.y = 0;
LeftmostViewCol = 1; BottomVisibleRow = 1;
Repeats = false;//... | [
"tonyellis69@gmail.com"
] | tonyellis69@gmail.com |
bad01930753395f97a78056585ca48f4aba219f3 | 91783ac35f1303247826c984e648f4ba495055bc | /chapter7.cpp | fa3cfcf32fcad001e9b0a3fa899597f58301dfe3 | [] | no_license | JkeeZander/HLPL1HEYH2J | bf838d8913b80b421933496826e16683b4f6d8f2 | 95821b6283696f92875cf3cdf3f61a3062c98935 | refs/heads/main | 2023-04-25T11:28:39.957321 | 2021-05-11T21:39:00 | 2021-05-11T21:39:00 | 339,593,553 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,798 | cpp | #include "std_lib_facilities.h"
constexpr char number = '8';
constexpr char quit = 'q';
constexpr char print = ';';
constexpr char name = 'a';
constexpr char let = '#';
const string square = "sqrt"; //chapter 7 drill 7
const string power = "pow"; //chapter 7 drill 9
const string declkey = "#"; //chaoter 7 drill 10
co... | [
"noreply@github.com"
] | noreply@github.com |
6b993bfe7c387e1fbab7c68d7ea51e0d7445c668 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/processor0/3.86/e | 363b0f75a1ce3c072ff18fc5cac325b11ad9931a | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,000 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
3303c86e8479e67e404c7e8934d4b5574a83d3b1 | f5371e78a69065c7f12ad3c599b3ca72adf7b691 | /src/app/gui.cpp | b3c0c954b29dcb3c0a49fd14df60753854b3897d | [] | no_license | LennyHEVS/RealTime | 568e1cb2a03a0e16dd8d4ac0fdb0fca1f2c4f128 | e4ddf853fc6c2dd32d0c2256c52e048208d93104 | refs/heads/master | 2023-02-02T09:42:49.813805 | 2020-12-20T17:02:47 | 2020-12-20T17:02:47 | 317,564,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,823 | cpp | #include <string.h>
#include <assert.h>
#include "trace/trace.h"
#include "ui-gen/resources_manager.h"
#include "ui-gen/gui.h"
#include "gui.h"
#define TOUCH_THREAD_STACK_SIZE 2048
namespace oscilloscope {
GListener gl;
Gui::Gui() :
_pGuiObserver(nullptr),
_redLedOn(false),
_xAxisPixelsPerField(0)
{... | [
"lenny.favre@students.hevs.ch"
] | lenny.favre@students.hevs.ch |
d9d91288f9d7b3c31be719ef5437b0dad244d364 | 0a443dbaeab480c5d05c9553d5aea9fc0c0a2af8 | /src/util.h | 570cded79eaa890e7bfa9f43338b5f4774044591 | [] | no_license | thuskey/sidescroller | 3cce32ee13d9f0bdf6198e8af581d9666a67cfa7 | f5988a550a7deb9fd52691f157af75b9527a5257 | refs/heads/master | 2021-01-15T12:49:08.732698 | 2012-06-24T04:04:15 | 2012-06-24T04:04:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #ifndef UTIL_H
#define UTIL_H
#include <string>
namespace Base64
{
char *Decode(char *str, int *dbufsz);
char *Encode(char *str);
char *CleanString(char *str);
};
void ParseRGB(const char *str, int *r, int *g, int *b);
#endif // UTIL_H
| [
"zxmarcos@gmail.com"
] | zxmarcos@gmail.com |
af055a368092d7521478d465d60346b2531911c9 | 452be58b4c62e6522724740cac332ed0fe446bb8 | /src/cobalt/speech/sandbox/speech_sandbox.h | 966ee3271282d609d6b6f65c0eb24776d06e7fe9 | [
"Apache-2.0"
] | permissive | blockspacer/cobalt-clone-cab7770533804d582eaa66c713a1582f361182d3 | b6e802f4182adbf6a7451a5d48dc4e158b395107 | 0b72f93b07285f3af3c8452ae2ceaf5860ca7c72 | refs/heads/master | 2020-08-18T11:32:21.458963 | 2019-10-17T13:09:35 | 2019-10-17T13:09:35 | 215,783,613 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | h | // Copyright 2016 The Cobalt 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 ap... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
63d4eab90765c1f9c1449ae613d7be8e9b3e2534 | 0f5f4d0c33e752a35fc71a7762ad7aa904d16c27 | /dcmsign/libsrc/sicertvf.cxx | 5065c7b680ca2fce8a8b3b81742d4bfdcba347ac | [
"LicenseRef-scancode-warranty-disclaimer",
"IJG",
"BSD-4.3TAHOE",
"LicenseRef-scancode-other-permissive",
"xlock",
"OFFIS",
"BSD-3-Clause",
"JasPer-2.0"
] | permissive | trabs/DCMTK | 158b945f3740806d6a128d7f4d0a059997d3bacb | d6c163e4c2dcf1831c2efa20aa7752d15b61e67e | refs/heads/master | 2021-01-18T06:18:08.748952 | 2010-03-09T21:36:11 | 2010-06-14T08:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,446 | cxx | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"jchris.fillionr@kitware.com"
] | jchris.fillionr@kitware.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.