blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
284bb3b7c43566144d344d5e5e6762ed2457d8e9 | c352fc3597360aa468af15d42cb8dd5525f7582d | /Hmwrk/Assignment_4/Gaddis_9thEd_Chap5_Prob1_Sum/main.cpp | 87d895a811711403491da2aa179a5236f97feb5a | [] | no_license | yesicota/CotaYesenia_Cis5_41366 | c400a224118bda9a1f56fe7ecbbe0c6f29ce831a | 42d8a36fc4494ac13c51f2015e2e206e54912b06 | refs/heads/main | 2023-02-22T00:57:21.708991 | 2021-01-27T07:31:18 | 2021-01-27T07:31:18 | 332,184,057 | 0 | 0 | null | 2021-01-23T10:47:37 | 2021-01-23T10:32:52 | null | UTF-8 | C++ | false | false | 826 | cpp | /*
* File: main.cpp
* Author: Yesenia Cota
* Created on January 23, 2021, 12:27 AM
* Purpose: Use loops to find sum of integers
*/
//System Libraries
#include <iostream> //I/O Library
using namespace std;
//User Libraries
//Global Constants
//Math, Science, Universal, Conversions, High Dimensioned Arrays
/... | [
"yesenia.cota138@gmail.com"
] | yesenia.cota138@gmail.com |
4fd64b9063ed908cc94e84dd051fb365c7bd2ee9 | 719d57ab59222a0563a915c8b0267573b2667170 | /tools/Templates/TemplateManager.hpp | f0d489fe96d1cc9f301235f4ec29079fddb8002d | [
"MIT"
] | permissive | Adrikikicp/BetterEdit | e93487acb57e6f405e7d2793b29ce47fe8c61cc9 | 014af9903a69fde7aa038bcc58efe97b9c6ff1c5 | refs/heads/master | 2023-09-03T19:25:43.441879 | 2021-10-29T03:00:06 | 2021-10-29T03:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | hpp | #pragma once
#include <GDMake.h>
class TemplateMenu;
class TemplateManager;
struct TBlock {
enum TEdge : uint8_t {
eNone = 0,
eLeft = 1 << 0,
eRight = 1 << 1,
eTop = 1 << 2,
eBottom = 1 << 3,
};
uint8_t edges = eNone;
enum TCorner : uint8_t {
c... | [
"60038575+HJfod@users.noreply.github.com"
] | 60038575+HJfod@users.noreply.github.com |
2f58e3d565a5c4e9ad2e03d507cff0b82a8f3109 | 36b9decf14d266d6babaf1c44085c2ba869c03ce | /Remnant-main/Remnant/SDK/Trait_Exploiter_parameters.h | bdddeb8be23227d8e0501ee94b44dd364ac1ae6b | [] | no_license | RoryGlenn/RemnantLootSwitcher | 6e309a7b2b7bac88a166b552b640c830b863eb2d | 85c4cb6839b7c0f60cf8143c571d64ca12439a63 | refs/heads/master | 2022-12-29T08:47:15.713546 | 2020-10-23T22:01:45 | 2020-10-23T22:01:45 | 305,910,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,140 | h | #pragma once
// Name: Remnant, Version: 6
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Parameters
//-----------------------------------------------------------... | [
"romglenn@ucsc.edu"
] | romglenn@ucsc.edu |
cfe8adeb1a11fd3fbeb7a2af573c2e8e8e7a3c51 | b05f4887792696d96c94f2146c9bf0826fcf48e8 | /src/coincontrol.h | 5d4ba8a35e2d5e21ab7910eff2e469516a08541f | [
"MIT"
] | permissive | alexwasspammed/test1 | 9a2e2eeabd8e48e41327f4a843e0cc48c24e74d0 | d8141c6b52f42b0392bac3a0069a41952d84199b | refs/heads/master | 2020-04-14T08:50:54.902401 | 2014-04-21T09:47:43 | 2014-04-21T09:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | h | // Copyright (c) 2013-2014 Test1Coin Developers
#ifndef COINCONTROL_H
#define COINCONTROL_H
/** Coin Control Features. */
class CCoinControl
{
public:
CTxDestination destChange;
CCoinControl()
{
SetNull();
}
void SetNull()
{
destChange = CNoDestination();
setS... | [
"alex.was.spammed@gmail.com"
] | alex.was.spammed@gmail.com |
186c2c72e419fc672f1251b2535bf3e971eba62d | 5c869d5525ade025649d4d4145940065fe5ad078 | /20181110/Cau42/Cau42.cpp | 7c6352da2f6141d33bb59c3302ff5edd56ca3371 | [] | no_license | ledinhchien3320/tindocdaicuong | a37e920a5d6fcc14545da27039e59210e176b38f | 2120038e4ccdbce643db9ba6b37906b38771a2ae | refs/heads/master | 2020-04-04T14:16:18.862622 | 2019-03-01T10:02:51 | 2019-03-01T10:02:51 | 155,993,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | cpp | #include<iostream>
using namespace std;
int main() {
// tim gia tri k lon nhat sao cho S(k)=1+2+3+...+k < n
int n, S = 0, Max1=0,Max=0;
cout << "nhap n: ";
cin >> n;
//chay vong for
for (int i = 1; i < n; i++) {
S += i;
if (S < n) {
Max = i;
}
}
if (Max > Max1) {
cout << "Cau42= " << Max << endl;
}
... | [
"thelastone3320@gmail.com"
] | thelastone3320@gmail.com |
9559c4813bde271ee54864a9b3624f866b3aaa19 | 2b210288fb83c773c7a2afa4d874d35f6a000699 | /chromium-webcl/src/chrome/browser/devtools/devtools_window.h | 4ea733584acd80cbe6dea9667ed7cc6c81a5f6fc | [
"BSD-3-Clause"
] | permissive | mychangle123/Chromium-WebCL | 3462ff60a6ef3144729763167be6308921e4195d | 2b25f42a0a239127ed39a159c377be58b3102b17 | HEAD | 2016-09-16T10:47:58.247722 | 2013-10-31T05:48:50 | 2013-10-31T05:48:50 | 14,553,669 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,449 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
#define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
#include <string>
#include <vector>
#include "... | [
"ZhangPeiXuan.CN@Gmail.COM"
] | ZhangPeiXuan.CN@Gmail.COM |
3b4cb7105087124be94b9c1750dbc4e505b2284c | 846a7668ac964632bdb6db639ab381be11c13b77 | /android/hardware/qcom/gps/msm8998/gnss/GnssAdapter.cpp | 6202a0ef414d468ab8ebaac6db417f6938282a7b | [] | no_license | BPI-SINOVOIP/BPI-A64-Android8 | f2900965e96fd6f2a28ced68af668a858b15ebe1 | 744c72c133b9bf5d2e9efe0ab33e01e6e51d5743 | refs/heads/master | 2023-05-21T08:02:23.364495 | 2020-07-15T11:27:51 | 2020-07-15T11:27:51 | 143,945,191 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101,401 | cpp | /* Copyright (c) 2017, The Linux Foundation. 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 ... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
2d325b0310706e921cdadd2f960c1985d83c81df | a303be0a547d717b0deb19b5bdcc75010e131b51 | /dp/dp_bit_masking1.cpp | da44750b8ac91910a0830cddbdc5b635e3dad125 | [] | no_license | harrypotter0/competitive-programming | ff883c4dc5aa8d72f1af589bb654a422e32c8a38 | 82a8497e69212dc62e75af74b0d5a3b390b8aca2 | refs/heads/master | 2023-03-23T07:07:14.295053 | 2021-03-17T01:24:45 | 2021-03-17T01:24:45 | 70,964,689 | 16 | 9 | null | 2021-03-17T01:24:49 | 2016-10-15T03:52:53 | Python | UTF-8 | C++ | false | false | 1,392 | cpp | #include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
// Poori Duniya bhadwi hai
int dp[15][100][1 << 15];
int n;
struct edge {
int u, v, w, energy;
edge(int a, int b, int c, int d) {
u = a, v = b, w = c, energy = d;
}
};
vector<edge> graph[20];
// O(2^n*n^2*E)
int solve(int u, int m... | [
"9654263057akashkandpal@gmail.com"
] | 9654263057akashkandpal@gmail.com |
87eedfff8aece916a28bd9c76c52ada3d2f24472 | 4d9e5b590eca7ae4099881d42112e811446cdb46 | /20_ODBC_aw/output/application._ODBC_aw/BuildConfig/src/operator/ODBCAppend_3.cpp | fee22823714b85b49dd1d5205024e4810928eaaa | [] | no_license | cly1213/2019_NCTU_IBM_Streams_Course | c31b68515fab064f8252384a3dfee4e327dc000f | 342d895f28b8f5d2c44aeadbf1989a50d0e80d1d | refs/heads/master | 2022-01-23T08:59:19.474948 | 2019-07-24T11:50:28 | 2019-07-24T11:50:28 | 198,313,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,254 | cpp | // eJzFkU9z2jAQxUdfhekhvdiKSduEm7HzBxtIimCgXBhZ3gENtqSR1nXcT19BSSCnHDs6aff33rydJ3QdyKIOHFrgtQvKYjB4TodJbAyoklwT6t816QVBiJ2BcAhZa53Y0rvuLmes382TfTR9GjVj9iP7Qyne7n9P5oLS6Wj4_0nOVP8aL1becr7JsGRvWbZ_1yx3u_0yNg6fZi5e9PNluukqCvBPPFrUenJNG73iyxZVxv6nS2zUR6PbzY04TzY9Y5hSLjTNYRQNlEUttruneECwohuDrk3vA1LjpworYCSPhFaKRAotUq1aGpQ6M... | [
"leo@MacBook-Air.Home"
] | leo@MacBook-Air.Home |
f9a01c5e97cc2b5cfb6cbdc1567c4145310725a7 | 120eb6e3eefd4083d719ab90ed288c88fcedfaed | /game/properties/TileDef.h | a0a2435bb54b8dfc53563fad7475918a3284fcd9 | [] | no_license | AspidT/Zerlight | b111d6c874033b1bccef1780d8479f216d0239b0 | 2fb6d713580f4b93217274ee8f655b5af0682a07 | refs/heads/master | 2020-04-18T18:59:39.029017 | 2019-01-28T16:47:29 | 2019-01-28T16:48:51 | 167,700,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | h | //
// Created by tatiana on 15.12.18.
//
#ifndef ZERLIGHT_TILEDEF_H
#define ZERLIGHT_TILEDEF_H
#include "guichan/gui/ZColor.h"
namespace properties
{
struct TileDef
{
std::string SpriteID;
float DrawOrder;
gui::ZColor Color;
};
}
#endif //ZERLIGHT_TILEDEF_H
| [
"hx03@yandex.ru"
] | hx03@yandex.ru |
b4992c1788df2eb289b825b0387546bf7141ee46 | c2c1fbaf67708be4315a4a5f387e34b1dd117e70 | /CppAsync/util/ScopeGuard.h | fe1f2b993cf927005ba804a93ceef901723e5363 | [
"Apache-2.0"
] | permissive | elix22/CppAsync | 6c792436f5a25f24f677590926b8e850547de739 | 546d79d7f4de6387a044df527277c54a3266a11a | refs/heads/master | 2021-04-26T23:31:40.205599 | 2016-10-13T18:28:07 | 2016-10-13T18:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | h | /*
* Copyright 2015-2016 Valentin Milea
*
* 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 ... | [
"valentin.milea@gmail.com"
] | valentin.milea@gmail.com |
582e88ec407d8b29dd5a71015fbeb118c2bcbeb0 | 019c446b2c8f8e902226851db1b31eb1e3c850d5 | /oneEngine/oneGame/source/core-ext/system/shell/Inputs.h | 724216531103b6dbfe90bd6fd8c7846813dead84 | [
"FTL",
"BSD-3-Clause"
] | permissive | skarik/1Engine | cc9b6f7cf81903b75663353926a23224b81d1389 | 9f53b4cb19a6b8bb3bf2e3a4104c73614ffd4359 | refs/heads/master | 2023-09-04T23:12:50.706308 | 2023-08-29T05:28:21 | 2023-08-29T05:28:21 | 109,445,379 | 9 | 2 | BSD-3-Clause | 2021-08-30T06:48:27 | 2017-11-03T21:41:51 | C++ | UTF-8 | C++ | false | false | 779 | h | //===============================================================================================//
//
// core-ext/system/shell/Inputs.h
//
// Contains shell-specific feature interfaces
//
//===============================================================================================//
#ifndef CORE_EXT_SYSTEM_SHELL_... | [
"josh@epichousestudios.com"
] | josh@epichousestudios.com |
34572b9104248614b7c3a853d10a99947c32c1f7 | ced225937df2527063d09a1e23405052c65c28e4 | /src/exceptions.h | fe10fb960324027ee8527e37fc5db7794f39cc9c | [] | no_license | veljkodj/system-software | d01bdd5e755e84694da9f0ffaab7b0c9011bd0b9 | 31999c6349dba3c89c772475e466c7838602d4d3 | refs/heads/master | 2023-03-23T00:05:53.691943 | 2021-03-19T00:03:36 | 2021-03-19T00:03:36 | 310,136,659 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | h | #ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
#include <iostream>
#include <string.h>
#include <sstream>
using namespace std;
class AssemblyException : public exception
{
public:
AssemblyException(string message) noexcept : exception(), message(message), line(-1) {}
AssemblyException(string message, unsigne... | [
"veljkodjordjevic97@gmail.com"
] | veljkodjordjevic97@gmail.com |
08331a2b318d9f1ed7e3060043d3be5b4b94225d | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /apiwdbe/QryWdbeSil1NInterrupt.cpp | dce881b0664a6780c7f7536522b68789d6e53897 | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,450 | cpp | /**
* \file QryWdbeSil1NInterrupt.cpp
* API code for job QryWdbeSil1NInterrupt (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 26 Aug 2021
*/
// IP header --- ABOVE
#include "QryWdbeSil1NInterrupt.h"
using namespace std;
usin... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
36221d5c16e30fca50cef395d32a10554937b6d6 | f1d0f38a1a3f8e0b5265b731fd5aa9f1111630c2 | /source/OBJ_Parser.cpp | 3dfeb8c6fd1598a9d8aa9d5848ef477d0d59a8a8 | [
"MIT"
] | permissive | Kair0z/Custom-Rasterizer | 9c6fd06c5828145b41fcc04ddc8eaf7bf7678a7b | f83c636c29b85e12cc3c1c85b25a0bc2da2eaf84 | refs/heads/main | 2023-01-04T16:51:41.763195 | 2020-10-29T08:16:05 | 2020-10-29T08:16:05 | 304,494,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,380 | cpp | #include "pch.h"
#include "OBJ_Parser.h"
#include <regex>
#include <fstream>
#include <sstream>
#include "Utils.h"
std::unordered_map<std::string, std::vector<uint32_t>> OBJ_Parser::stat_LoadedIndexbuffers{};
std::unordered_map<std::string, std::vector<Input_Vertex>> OBJ_Parser::stat_LoadedVertexbuffers{};
enum class... | [
"52052044+Kair0z@users.noreply.github.com"
] | 52052044+Kair0z@users.noreply.github.com |
ef94735ef6da4622e8d005ebe163479e70f809cf | 1a33019b4176750fdbb1460bae7b5c27f5eaf6b4 | /Back/Agent/Nas/AuthJsonMgr.cpp | ab440472c855fcc6b416525cd7921d4118cfd2bc | [] | no_license | gaofeilong/uniplatform | 42a727cd77990e7e9fc3e071d4d6ceb5f2e5a514 | 940e9266045adfb8ca3a96a113842418bb903391 | refs/heads/master | 2021-06-28T23:21:02.115026 | 2017-09-10T15:34:50 | 2017-09-10T15:34:50 | 103,040,546 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 27,598 | cpp | #include "Protocol.h"
#include "AuthJsonMgr.h"
#include "Include/LvmConf.h"
#include "Include/Constant.h"
#include "Utils/Log/Log.h"
#include "Utils/Common/CommonFunc.h"
#include "Utils/Shell/System.h"
#include "Agent/Disk/LvmMgr.h"
#include "Agent/Disk/FsOper.h"
#include <stdio.h>
#include <string.h>
usin... | [
"gfl@localhost.localdomain"
] | gfl@localhost.localdomain |
6e7918d5df4bd1c2bd1af401426aa9a02658c0ce | 4c97f219d0a7896495d258a0e1a5f0cc3fd045e9 | /src/propagation-of-uncertainty-calculator/propagation-of-uncertainty-calculator.cpp | 5345daf735ef967d7c0edf8a3b54b07a2e06b4bc | [] | no_license | diamant711/Analysis | dee7fdc95c2eb3c92513b3920642396058219039 | aa35fde40b7394b31a5b919e83eec3acc90fd172 | refs/heads/master | 2023-05-13T15:48:40.699009 | 2021-06-04T13:45:19 | 2021-06-04T13:45:19 | 373,458,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,821 | cpp | #include "propagation-of-uncertainty-calculator.h"
#include <fstream>
static void save_propagation_data(propagation_data *data){
ofstream file_out;
file_out.open(FILE_LOG);
if(!file_out.good()){
cout << "Error on opening file" << endl;
}
file_out << data->formula << endl;
file_out << data->num_par << endl;
fo... | [
"53996598+diamant711@users.noreply.github.com"
] | 53996598+diamant711@users.noreply.github.com |
1015caff7a036beb2db439e3548540a7a7686942 | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/abc151/c.cpp | ee5c19ac3f895229598ecf8d9ae0535aa172fe32 | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end()
#define print(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<_<<", "; cerr<<"]"<<endl; }
#define printpair(v) { cerr<<#v<<": [ "; for(auto _ : v) cerr<<... | [
"knagakura@bs.s.u-tokyo.ac.jp"
] | knagakura@bs.s.u-tokyo.ac.jp |
fd4c1d6c1647c27161b2140a1ec9c1f49fdc5ff8 | e0acf68d2caf0ea2556a7d0a23d5117e44fb81f7 | /HSTracker/Utility/CardMissing/CardMissingDetector.cpp | 75b2ec17a446bf3168252209d5238d3be6e7e7c8 | [
"MIT"
] | permissive | nicgrayson/HSTracker | 8264e47d11d21e450608bc424ccfa09763d01f72 | c7df66d3d277bffc3dcf0725b175b0beacc362fc | refs/heads/master | 2021-01-21T01:33:55.339490 | 2017-01-21T07:24:54 | 2017-01-21T07:24:54 | 79,630,614 | 0 | 0 | null | 2017-01-21T07:19:47 | 2017-01-21T07:19:47 | null | UTF-8 | C++ | false | false | 3,539 | cpp | //
// CardMissingDetector.cpp
// HSTracker
//
// Created by Benjamin Michotte on 31/10/16.
// Copyright © 2016 Benjamin Michotte. All rights reserved.
//
#include "CardMissingDetector.hpp"
#include <iostream>
#include <corefoundation/corefoundation.h>
CardMissingDetector::CardMissingDetector() {
didInit = fa... | [
"bmichotte@gmail.com"
] | bmichotte@gmail.com |
1694a70abc0c7de1cce3fbc0b48375bae326dfc4 | 3b71fc0d749fe2d22d61d5cfcd2e919edf33f719 | /src/qt/sendcoinsentry.cpp | ff046e57e317cd60bed67b9cae806b3bc9d759ea | [
"MIT"
] | permissive | PacoBits/MoneyBagCoin | 3cc7350759779501ae358fb05490cb2fe3869d26 | 88f1607eb49366af465814c7803ce35b7c5e12fc | refs/heads/master | 2020-03-25T08:06:15.145471 | 2018-08-05T08:55:47 | 2018-08-05T08:55:47 | 143,597,554 | 2 | 0 | null | 2018-08-05T08:53:27 | 2018-08-05T08:53:26 | null | UTF-8 | C++ | false | false | 4,521 | cpp | #include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "stealth.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QW... | [
"moneybagcoins@gmail.com"
] | moneybagcoins@gmail.com |
de9e1e615fd6432d243807d6bb69776e8416a8af | f93238259313cf6122932a94aafe696a060f7896 | /codeforces/1093/D.cpp | b24425ac814c8f2b1b5afdde2bbcfacdc1bfafd0 | [] | no_license | SubhashPadala/Codeforces | 639efb57b74bd3eceb0745501fc61328ae4b4fb7 | e9d42440b4a3fec6343cc32760ade23b092f3414 | refs/heads/master | 2023-08-08T04:44:54.402270 | 2021-07-19T07:58:00 | 2021-09-23T09:29:53 | 409,528,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,661 | cpp | // Problem ID - 1093D
// _____ ___ __
// ___________(_)___ ________ ___ | / /
// __ ___/__ / __ | / /_ __ `/__ | / /
// _(__ ) _ / __ |/ / / /_/ / __ |/ /
// /____/ /_/ _____/ \__,_/ _____/
// ________________________ ________ ______ ______ ______ ... | [
"111901038@smail.iitpkd.ac.in"
] | 111901038@smail.iitpkd.ac.in |
6d562412617baa897080303b9d1a2936c217313c | d311c5c45071c02170a0dc0be733b051863c9483 | /dark_possible.cpp | a5ae8b3e640272e3a0310dba40207e15bcacf7bb | [] | no_license | MatthewJulian/Frozlunky | 889d5cc1b88084f48edc60836d5907e0363b6c76 | 8385dd74aaa1fba992dfe08ba51ab6d952535f96 | refs/heads/master | 2022-10-19T07:18:42.403555 | 2020-06-07T18:42:44 | 2020-06-07T18:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | #include "dark_possible.h"
BYTE dark_find[] = {0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x4E, 0x00, 0x00, 0x7D, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x00, 0xC6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
std::string dark_mask = "x.....xxxxx.x.....x.x.....x";
BYTE check_patch[] = {0x90, 0x90, 0x90, 0x90, 0x... | [
"sashavol@sashavol.com"
] | sashavol@sashavol.com |
25e34aef2362379523f7c0e195a198704ae37484 | 8d2f78fe90d2baa34ec7ec6a84a4522391a2a9c7 | /AcStp/AccStp01/AccStpGT03/AccStpGT03.ino | 4b326c4aa76b54a8286eba11cdf1abf9765b50a1 | [] | no_license | SelimBenIsmail/stage_lisa | d006cb516c6abcfbe3ae3fe13a3bbbea15a952ed | c1dfedc1837c68cf10b9237cc59d3250c89ad556 | refs/heads/master | 2022-11-17T06:45:48.613399 | 2020-07-14T14:12:12 | 2020-07-14T14:12:12 | 279,605,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,035 | ino | #include <AccelStepper.h>
#include <IRremote.h>
#define RECV 2 //PORTD2
#define EN 3 //PORTD3 // intérêt ?
#define m0 4 //PORTD4
#define m1 5 //PORTD5
#define m2 6 //PORTD6
#define DIR 8 //PORTB0
#define STEP 7 //PORTD7
#define RLED 16
#define GLED 15
class MStepper: public AccelStepper
{
public... | [
"skorm-xci@live.be"
] | skorm-xci@live.be |
f1bc25245bccf902285d159f4e80e3893b9d802e | 916ef1b31f0b683de4f043626d9df59f37edbbc4 | /atcoder/05_AtCoder-Beginner-Contest/abc176/C/main.cpp | 3d881693fbb6e466e100a9ef6c37c7774e62346b | [] | no_license | solareenlo/cpp | 56cc33673d30dd4a4031e4b81cec16b08b3490e0 | f78f8a098849938153e6e3a282737e067dbe2c58 | refs/heads/master | 2021-03-31T04:31:39.420394 | 2020-11-29T22:22:25 | 2020-11-29T22:22:25 | 248,076,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
cin.tie(0)->sync_with_stdio(false);
int n; cin >> n;
vector<ll> a(n);
REP(i, n) cin >> a[i];
ll sum = 0;
REP(i, n - 1) {
if (a[i+1] < a[i]) {
sum += a[i] - a[i+1];
a[i+1] ... | [
"solareenlo@gmail.com"
] | solareenlo@gmail.com |
59e8005dcf26e85ab5abeebef2eb3812bf2636a7 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/regex/v4/regex_match.hpp | e56ac2f53685046b685993f81e45a2b14341f456 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66 | hpp | #include "thirdparty/boost_1_55_0/boost/regex/v4/regex_match.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
f906c073b90be9f9eb0c7eb3b54e4d251c2468ae | 5913ce5afbdff2fe8e7cf7bc65e1172b94b6dd0d | /File.cpp | 2cc73d8591a11f8d086adf94b2ff549f2c1172fe | [] | no_license | Anonymous-solver/codingWithCpp | 1271dba1ffd60201fe1d8c6a30aeeaa9dd88e6f6 | 755eb2bb0c902b5f1314857263cad2e4c927f714 | refs/heads/main | 2023-05-14T07:16:19.573320 | 2021-06-03T20:35:38 | 2021-06-03T20:35:38 | 373,632,860 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include <stdio.h>
#include <stdlib.h>
int main()
{
//freopen("Abc.txt","w",stdout);
freopen("Output.text","r",stdin);
long int i=0;
long long arr[100001];
for(i=0;i<=100;i++)
{
int tm;
scanf("%lld ",&arr[i]);
// printf("%d ",rand());
}
long int src=101;
for(i=... | [
"anik.uits29@gmail.com"
] | anik.uits29@gmail.com |
47a428f15579aa47e50100090958a9bb20e05f1b | 16137a5967061c2f1d7d1ac5465949d9a343c3dc | /cpp_code/strings/03a-ccstrs.cc | c456988fecbb3a54d0dfe6848bd25f9e872437f5 | [] | no_license | MIPT-ILab/cpp-lects-rus | 330f977b93f67771b118ad03ee7b38c3615deef3 | ba8412dbf4c8f3bee7c6344a89e0780ee1dd38f2 | refs/heads/master | 2022-07-28T07:36:59.831016 | 2022-07-20T08:34:26 | 2022-07-20T08:34:26 | 104,261,623 | 27 | 4 | null | 2021-02-04T21:39:23 | 2017-09-20T19:56:44 | TeX | UTF-8 | C++ | false | false | 292 | cc | #include <cassert>
#include <string>
using std::string;
int
main ()
{
string astr = "hello";
string bstr;
bstr.reserve(15);
int alen = astr.length();
assert(alen == 5);
bstr = astr;
bstr += ", world!";
int res = astr.compare(bstr);
assert(res < 0);
}
| [
"konstantin.vladimirov@gmail.com"
] | konstantin.vladimirov@gmail.com |
5c9fc7f8c1a1c6e75a6506324ae57baba09aa320 | a851b11e8cb7549f51853e9d325ef0f88d0d619a | /arduino-basic/AlternateLeds/AlternateLeds.ino | 4ad8255feccb0f4e46d1728237f2a47c84e63342 | [] | no_license | pksingh99/IoT-Samples | 75e73dcc407a2fd9128b18eb25353b1c8fd41bd8 | 51b4bf351756b599df5d2ef1800c9772bd2dd676 | refs/heads/master | 2021-05-30T05:54:06.201854 | 2016-01-10T19:27:59 | 2016-01-10T19:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | ino | #define greenLed 6
#define redLed 7
void setup(){
Serial.begin(9600);
pinMode(greenLed, OUTPUT);
pinMode(redLed, OUTPUT);
}
void loop(){
lightRed();
delay(1000);
lightGreen();
delay(1000);
}
void lightRed(){
digitalWrite(greenLed, LOW);
digitalWrite(redLed, HIGH);
}
void lightGreen(){
digitalWri... | [
"root@Sowmies-MacBook-Pro.local"
] | root@Sowmies-MacBook-Pro.local |
80b9d575a719553de4b2b82c7d40a34010c18310 | a71582e89e84a4fae2595f034d06af6d8ad2d43a | /tensorflow/compiler/xla/client/xla_builder.cc | cc0e02d8f51314043fcfa8d42b05249ae938f8fa | [
"Apache-2.0"
] | permissive | tfboyd/tensorflow | 5328b1cabb3e24cb9534480fe6a8d18c4beeffb8 | 865004e8aa9ba630864ecab18381354827efe217 | refs/heads/master | 2021-07-06T09:41:36.700837 | 2019-04-01T20:21:03 | 2019-04-01T20:26:09 | 91,494,603 | 3 | 0 | Apache-2.0 | 2018-07-17T22:45:10 | 2017-05-16T19:06:01 | C++ | UTF-8 | C++ | false | false | 145,822 | cc | /* Copyright 2018 The TensorFlow 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 a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
544cea5d8b889b702b3321d621d274225e1c0c91 | 5950a96a3fdbca4ede33be78cb409c6cbde747fd | /dependencies/build/SFGUI-0.1.0-source/src/SFGUI/GLCanvas.cpp | a5f2acc3f35f81d37a8d0b03c4b772766215e8e6 | [
"Bitstream-Vera",
"LicenseRef-scancode-public-domain",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Soth1985/Survive | d2a34cbd08f008cdb04cfde3277a0e9af96d9802 | 535e32717e1bb2d60c8a2477a98c9c559ce34304 | refs/heads/master | 2021-03-13T00:01:33.925164 | 2013-07-25T11:49:47 | 2013-07-25T11:49:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,068 | cpp | #include <SFGUI/GLCanvas.hpp>
#include <SFGUI/Renderer.hpp>
#include <SFGUI/Container.hpp>
#include <cmath>
namespace sfg {
GLCanvas::GLCanvas() :
Widget(),
m_custom_draw_callback( new Signal ),
m_last_update( 0.f ),
m_desired_refresh_rate( 0.f )
{
m_custom_viewport = Renderer::Get().CreateViewport();
SetViewpo... | [
"soth1985@yahoo.com"
] | soth1985@yahoo.com |
0fdef8dba9ed7e5f78a37cacef10f0d2d40cfa3c | e007067b50d6753c32f941a29e9ebffedc3e738c | /LDisk.cpp | ba2b7a8cfb84a12e85097d6d71d1759b91667e86 | [] | no_license | JamesSpaniak/File-System | 30280fa44d51c611ab70a848f93219a30130e86a | c852b4d9897c03cf1a793c9b6ed71b91a4f99e04 | refs/heads/master | 2020-05-20T01:36:50.962059 | 2019-05-07T03:42:57 | 2019-05-07T03:42:57 | 185,314,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,184 | cpp | #include "Tree.hpp"
/*
Author(s): James Spaniak
*/
LDisk::LDisk(int blocks, const int blockSize_) {
totalBlocks = blocks;
blockSize = blockSize_;
DNode *newHead = new DNode(0, totalBlocks-1, 0);
head = newHead;
}
/*
insert new data into the LDisk LL if it will fit
size: size of file in ... | [
"jspaniak@stevens.edu"
] | jspaniak@stevens.edu |
8182542483597ea6878034b4f06f722493e6a43c | 5e117c7f994525ed76be9cab04a633fd99ef1d15 | /AdvancedLevel/second time/1043.Is it a Binary Search Tree(25)/main.cpp | 466e9886c152351fa5254896c8538c9610c59be6 | [] | no_license | Weijun-H/PAT | 05151dd355bb87e1b18d7a2139a9acd1b57b5d2e | 923260408375f9d06f426f05c7d6654baf8a039c | refs/heads/master | 2022-02-16T04:07:25.194752 | 2019-09-07T16:27:45 | 2019-09-07T16:27:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <iostream>
#include <vector>
using namespace std;
struct node{
int data;
node*lchild=NULL,*rchild=NULL;
node(int d):data(d){}
};
void insert(node*& root,int data){
if(root==NULL){
root = new node(data);
return;
}
if(root->data>data)insert(root->lchild,data);
else ins... | [
"huangweijun1001@gmail.com"
] | huangweijun1001@gmail.com |
920292e6723bd0bf6de5278ff9a16c5236c67b61 | 5c3b212599b36a72224162b0578cc60ee0d9fdf7 | /1-10/8. 跳台阶.cpp | e418669a459600434592c97a7d292a475566dbe0 | [] | no_license | XiaoliSong/Aim-at-offer-C | 9ad02fc1ac9f6137674627dd3b35139b68d356ae | e4ac1d4e095ff08f05661550b04a31676e5ef586 | refs/heads/master | 2020-03-07T05:14:33.116600 | 2018-04-04T03:04:28 | 2018-04-04T03:04:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | /*
GitHub:https://github.com/XiaoliSong/Aim-at-offer
链接:https://www.nowcoder.com/questionTerminal/8c82a5b80378478f9484d87d1c5f12a4
题目:一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。
分析:
如果采用递归,则需要很多的重复计算,可以采用备忘录方法进行存储避免不必要的重复计算
当然可以注意到类似于斐波那契数列,跳n次台阶的方法数目=跳n-1次台阶的方法数目+跳n-2次台阶的方法数目
所以可以采用循环方法解决
*/
//递归
/*
class Solution ... | [
"321219693@qq.com"
] | 321219693@qq.com |
a36dad8bb2bdd4dfff15909d3634a8971b866b8a | 485e6d219bb9da627eb76f9d95f19b74a605324a | /samples/snippets/cpp/VS_Snippets_CLR_System/system.Random.Sample/cpp/sampleex.cpp | 252967f4f1fd9b497bb81dce491c47b04376b5fe | [
"MIT",
"CC-BY-4.0"
] | permissive | malaterre/dotnet-api-docs | 1bdfa431f0be125eb5fde1414d0c6b7d9409712a | f8f2ff2a648373c67656e1dc496541afcdc8e881 | refs/heads/main | 2023-08-14T23:17:45.892657 | 2021-10-05T03:47:30 | 2021-10-05T03:47:30 | 413,752,612 | 1 | 0 | NOASSERTION | 2021-10-05T09:27:38 | 2021-10-05T09:27:38 | null | UTF-8 | C++ | false | false | 5,841 | cpp | // SampleEx.cpp : main project file.
// <Snippet1>
using namespace System;
// This derived class converts the uniformly distributed random
// numbers generated by base.Sample() to another distribution.
public ref class RandomProportional : Random
{
// The Sample method generates a distribution proportio... | [
"noreply@github.com"
] | noreply@github.com |
299447624ecf22fad0a1ebef22f342205cdc66fb | 2ba2b07343d8d72c1b1f426e77a65f9eda153aed | /srcs/AComponent.cpp | 1947acfb07578c31da8483aaa16969aa768946f7 | [] | no_license | jloro/GameEngine | 0e894977c618ca63258473b7de1643f536367d4f | 2a1498d1ee7f91052e96e7dbca8b05bddad28aac | refs/heads/master | 2020-08-08T20:14:32.932173 | 2019-12-12T11:31:15 | 2019-12-12T11:31:15 | 213,907,306 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | #include "AComponent.hpp"
AComponent::AComponent() : _gameObj(nullptr), _transform(nullptr)
{
}
AComponent::AComponent(GameObject *obj) : _gameObj(obj)
{
if (_gameObj != nullptr)
{
_transform = _gameObj->GetTransform();
}
}
AComponent::AComponent(std::shared_ptr<GameObject> obj) : _gameObj(obj.get(... | [
"jloro@student.42.fr"
] | jloro@student.42.fr |
1479327d46c3e208d86dde828b24c441d2d9c31c | cb56f8fe6b0fb074c4b52b834bb67866e1f9d280 | /sources/Application/Persistency/Persistent.h | 687b8a1070476e29533c6fe69b5fc38e00839894 | [
"BSD-3-Clause"
] | permissive | djdiskmachine/LittleGPTracker | 64f45a650e8211aa78fd77bc891d4316ce9a41e9 | ec13c06cd07ac9dd93f7390d6464fc02010b100b | refs/heads/master | 2023-07-25T22:31:15.699304 | 2023-02-16T21:23:18 | 2023-02-16T21:23:18 | 520,839,751 | 17 | 5 | BSD-3-Clause | 2023-09-12T13:59:00 | 2022-08-03T10:43:10 | C++ | UTF-8 | C++ | false | false | 434 | h | #ifndef _PERSISTENT_H_
#define _PERSISTENT_H_
#include "Foundation/Services/SubService.h"
#include "Externals/TinyXML/tinyxml.h"
class Persistent:SubService {
public:
Persistent(const char *nodeName) ;
void Save(TiXmlNode *node) ;
bool Restore(TiXmlElement *element) ;
protected:
virtual void SaveContent(TiXmlNode... | [
"marc.nostromo@gmail.com"
] | marc.nostromo@gmail.com |
68bf0582acd7708c36c4fdaf63a46dc55acf061d | 0656064629e6ccc853c9075b013d7a797aa0218b | /Source/FIT2097_A2/KeyItem.cpp | ff7bdde9a91fc48f91156db0ea6c664949df40d6 | [] | no_license | DarryKrusher/FIT2097_A2_dlin38 | d434188e6bd961d491c759e674f02f120c364c47 | 1dfb34a832b8b17f42b399a27c6e6fcecc3ed9a3 | refs/heads/master | 2020-04-04T14:30:13.777662 | 2018-11-03T16:35:34 | 2018-11-03T16:35:34 | 156,000,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "KeyItem.h"
#include "FIT2097_A2.h"
#include "Net/UnrealNetwork.h"
AKeyItem::AKeyItem()
{
bReplicateMovement = true;
GetStaticMeshComponent()->SetSimulatePhysics(true);
GetStaticMeshComponent()->SetMobility(ECompo... | [
"noreply@github.com"
] | noreply@github.com |
03961089b19e3c34e087e87ac2b3fea1a9ef98b3 | 69e4539f98f70ba635e3e4d1623813961ea22a61 | /numericStringSort/numericStringSort.cpp | 2ad4a6a8b8d97053e7f05399a4254bcc5126a770 | [] | no_license | hoangngv/spoj_problems | 5738822443bf18f0b415cf40b8cff6248641a0aa | 60a34bd10539aa80b38da33683013f655f09dce7 | refs/heads/master | 2021-10-27T21:05:58.618404 | 2019-04-19T18:47:30 | 2019-04-19T18:47:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include<iostream>
#include<string>
#include<algorithm>
#include<vector>
using namespace std;
bool NumericSort(string a, string b)
{
while (a[0] == '0')
{
a.erase(a.begin());
}
while (b[0] == '0')
{
b.erase(b.begin());
}
int n = a.length();
int m = b.length();
if (n == m)
return a < b;
return n < m;
}
... | [
"nvhoang191@gmail.com"
] | nvhoang191@gmail.com |
513e786581028319ca18646acf0eb022bd73a7f7 | 980697ff277a1c3ee9ffcb73cfcc08bcdf35a4fa | /src/schoolmips/marsohod.cpp | 9b52285ee946e01e3b0dee7455e50be53f0036c3 | [
"Zlib"
] | permissive | berezhko/Atanua | 517d41f18aafe12ed930369a678ecaa1214ead64 | 8c2cf22c8bc77934105c20a44a169bd024be58a9 | refs/heads/master | 2021-01-10T14:13:12.974919 | 2020-02-24T05:56:55 | 2020-02-24T05:56:55 | 52,298,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,754 | cpp | #include "atanua.h"
#include "marsohod.h"
#include "Vmarsohod.h"
#include <verilated.h>
#include <vector>
ChipMarsohod::ChipMarsohod()
{
set(0,0,4.54,2.25,"Marsohod Schoolmips process");
float xpos = 0.15 + 0.54;
float ypos = 0.;
for (int i = 0; i < 14; i++) {
if (i == 7) {
xpos =... | [
"ivan@berezhko.ru"
] | ivan@berezhko.ru |
80b578995676c5d96cef3ac529051dd259c43894 | e486e3665ae0f2ca28499c63419452039cc1ee7d | /Lesson03/Source/Lesson03/CollisionPawn.h | 5fba6abc4c2c8ac0501f9a73d6f86e9065137188 | [] | no_license | XiaoYuanRen/UE4_CPPStudy_Lesson03 | 4ab7f474634838730165650ed60ba93d23a807b4 | 0f04e541359ed4a585b2458016c4bdce23e9895a | refs/heads/master | 2020-03-27T21:55:33.244959 | 2018-09-05T05:04:08 | 2018-09-05T05:04:08 | 147,187,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "RunTime/Engine/Classes/Particles/ParticleSystemComponent.h"
#include "CollisionPawnMovementComponent.h"
#include "CollisionPawn.generated.h"
UCLASS()
class LE... | [
"skjcul@163.com"
] | skjcul@163.com |
0c24a44a36f675a5c130c23ff59a4706d2437dcd | 0430e85ce07c949486c69034ab68cf8882670e87 | /SimplePT2.cpp | 3f84c9b359a84436eb714f735d84899c687166b2 | [] | no_license | jeremyparnell95/Monte-Carlo-Integration-and-Path-Tracing | 9288e2dee93ae90a3474590b428482a114c0b936 | 72b1ab4f88abf757b8d34763fd1450dbd734b9b3 | refs/heads/master | 2020-04-12T16:56:31.022762 | 2018-12-20T20:40:40 | 2018-12-20T20:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,471 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <random>
#include <vector>
#include <omp.h>
#define PI 3.1415926535897932384626433832795
//Hoang Nguyen - 86865361
//Jeremy Parnell -
/*
* Thread-safe random number generator
*/
struct RNG {
RNG() : distrb(0.0, 1.0), engines() {}
void init(... | [
"jeremyparnell95@gmail.com"
] | jeremyparnell95@gmail.com |
a5b52e9d958cfe8c929c0618d57d9a57139cdff2 | 0a0979e48e32134daecd22937a45b53095f94392 | /utils/constant.h | b58450fafcbc90ce218234d0e47c9aac2fe2b201 | [] | no_license | ituncle/MyServer | 0533d3d76c4f30820e5308301245b4e27d76a759 | 8500ed06d7dea9b51f8d72c72e27a581408b24d8 | refs/heads/master | 2020-04-02T23:17:37.498081 | 2016-06-06T03:38:14 | 2016-06-06T03:38:14 | 60,492,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | /*
* Constant.h
*
* Created on: Mar 28, 2016
* Author: kingTang
*/
#ifndef UTILS_CONSTANT_H_
#define UTILS_CONSTANT_H_
namespace ft {
namespace utils {
class MAX_BITS {
public:
/**
* 整形/短整形以字符串出现时其字符数
* 注:不同进制,其字符数不一样
*/
enum {
INT_HEX = 8, //十六进制
INT_DECIMAL = 11, //... | [
"wucqf@foxmail.com"
] | wucqf@foxmail.com |
4d8934609870f683995c36bd8be4b2ff3669b068 | faedf096135c178c72c2741fc08855bfee97b778 | /Weekly_Contest/235/5722. Truncate Sentence.cpp | 4a95abbddb0590555947026b876c780110c5357e | [] | no_license | dk-17/LeetCode-Contest | c87b66299b66da0e118042040c5df471f28b8b2c | ee1a77d08bd641612e36788cba5dec182c32e61d | refs/heads/main | 2023-07-08T18:29:22.305823 | 2021-08-17T12:08:46 | 2021-08-17T12:08:46 | 342,332,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | class Solution {
public:
string truncateSentence(string s, int k) {
int count = 0;
string ans = "";
for(int i = 0; i< s.length(); i++){
if(isspace(s[i])) count++;
if(count == k) break;
ans+=s[i];
}
return ans;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
e43d0a5cb98418498b3da76adb6ba8012f74a0fb | 2f6d60ccba1e5b62de9f828ebcd77bc7997cee66 | /include.cpp | 64f579efac5598d7dbe2729cd88a44588f4aafc2 | [
"MIT"
] | permissive | triztian/mobilecpp | 6dd67c0e83015142f875caa07d1c33ace0075731 | 0b4d31de8724f43488768c9f12453afac8b35216 | refs/heads/master | 2020-06-18T11:12:36.490249 | 2019-07-11T02:06:29 | 2019-07-11T02:06:29 | 196,284,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22 | cpp |
#include <exception>
| [
"tristiana@4thdown.co"
] | tristiana@4thdown.co |
004cd75b2138eb969fd06b299f6aa4c47c6cc2c9 | bf032a886be90735d5d57797c1f43cfa0615407d | /src/Log.h | 3402db4fcd9b753cce55d43d88b65e350b8101f4 | [] | no_license | rucoder/modbusd | ef56d4dc5d4a3f8494df78052f46a8ff944b9b93 | 9b1371dc7afe574945fa75a91967803d2af4481b | refs/heads/master | 2021-01-10T19:10:08.085045 | 2013-11-14T13:28:33 | 2013-11-14T13:28:33 | 10,158,479 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 365 | h | /*
* Log.h
*
* Created on: May 16, 2013
* Author: ruinmmal
*/
#ifndef LOG_H_
#define LOG_H_
#include "DaemonProcess.h"
void LogInit(std::string filename);
int GetLogFd();
void Log(std::string format, ...);
extern void LogFatal(std::string format, ...);
void SetLogContext(EExecutionContext context);
void L... | [
"Miha.Malyshev@yandex.ru"
] | Miha.Malyshev@yandex.ru |
fa8ce3141b218547efd2a4216a24b078ee92d1b0 | fb5f2c8927d773c4fdda06aefd1021923950b6d4 | /Lesson8_Arrays/Lesson8_Arrays/stdafx.cpp | 94ef5f4d8eb90abcc6a8a0dce0991b2f26c73c33 | [] | no_license | pocketform/ProgramStudy | 19007cba9589ed6514b3bf2e00307f9e3f88a2d4 | 44f2dcebba575bc7d53ac2e839e4eefd192ac158 | refs/heads/master | 2020-07-20T09:46:30.362825 | 2016-11-14T21:15:21 | 2016-11-14T21:15:21 | 73,747,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Lesson8_Arrays.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"pocketform@gmail.com"
] | pocketform@gmail.com |
c6c446cbb1b6a74d1ea20808f5a5f854ddfd57a0 | b24f625afaade9bb74aae263226ff600d7c3e818 | /L5_Application/gps.hpp | 530c6aaee85335a94a92e3e7c16d3b0d94528092 | [] | no_license | ankit4970/project_wifitrack | e6d9f037d3b21156a6c426943a5f7f0526061899 | 9623c4f80a98182da6b21f186936be08c8d3fc6d | refs/heads/master | 2016-09-13T05:29:35.535509 | 2016-05-23T17:30:15 | 2016-05-23T17:30:15 | 57,782,673 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,509 | hpp | /*
* gps.hpp
*
* Created on: Apr 19, 2016
* Author: ankit
*/
#ifndef L5_APPLICATION_GPS_HPP_
#define L5_APPLICATION_GPS_HPP_
/**
* Acceleration Sensor class used to get acceleration data reading from the on-board sensor.
* Acceleration data reading can provide absolute tilt of the board (if... | [
"ankit4970@gmail.com"
] | ankit4970@gmail.com |
eb2cee925dd05e2ce0e475fd2505e1eafeada67f | f7d38c41804931f27a2d128163fec27460343467 | /ext/libexecstream/exec-stream.cpp | 211d8b7437a5fac1a3ab0e1641a8a6c9eb4fe2b2 | [
"BSD-3-Clause",
"DOC"
] | permissive | CSM-Offenburg/cantera | 779993eefae349db678fb1f229419da535e3b959 | 7d87534bb7ef0a55bca2ab3dc4282a2ae7ddd8d5 | refs/heads/master | 2021-05-23T03:57:16.376671 | 2020-04-19T08:43:29 | 2020-05-02T23:50:31 | 60,643,860 | 2 | 2 | NOASSERTION | 2018-11-12T18:45:56 | 2016-06-07T20:22:51 | C++ | UTF-8 | C++ | false | false | 11,298 | cpp | /*
Copyright (C) 2004 Artem Khodush
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 of conditions and the following disclaimer.
2. Redist... | [
"speth@mit.edu"
] | speth@mit.edu |
5b01518f28909e8b1fc4caecba07e7508ac22903 | d088041add785e8a7a652cb94e75ccc60348e7aa | /generic-pc/video_priv.h | 067d9b5f888687cfbb516d71772891808fa063f4 | [] | no_license | neutrino-mp/libstb-hal | d768623b9de719a24b92ba5fe48eafee12085102 | b1f5e8046267d1f5463211cc2151487b6aa9cbef | refs/heads/master | 2020-04-10T21:26:24.352882 | 2017-12-25T12:39:05 | 2017-12-25T12:39:05 | 31,829,411 | 1 | 6 | null | 2017-11-03T10:31:52 | 2015-03-07T22:12:16 | C++ | UTF-8 | C++ | false | false | 2,928 | h | /*
Copyright 2013 Stefan Seyfried <seife@tuxboxcvs.slipkontur.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This p... | [
"seife@tuxbox-git.slipkontur.de"
] | seife@tuxbox-git.slipkontur.de |
b119cf4a3cc726b07df90aebdbd67a14629461dd | 6e0b25bf4106b09a103ad7bfeb2fe174e46c9176 | /pr9/re10/7.6/phi | 757893e08826443ee5749ad4e172f7a586168f46 | [] | no_license | franterminator/OpenFoamCaminos | 3bc1d207bed77408f31ef1846a35794fab8cd3d5 | 5556bc3ddf9cf8aa5a661cd3af74a2b2d76d3471 | refs/heads/master | 2020-04-16T04:28:19.657010 | 2019-01-11T15:58:00 | 2019-01-11T15:58:00 | 165,268,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,936 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"franterminator@hotmail.com"
] | franterminator@hotmail.com | |
658a532514e759b3c80b74d419c4bd65e97189f7 | 352b4ded0fc31eb363165ab3ad15143a61f152ef | /KFPlugin/KFRecruit/KFRecruitModule.hpp | 85f8acaeecab1ae9b9dbdbfc3981f99bb1e3e950 | [] | no_license | lori227/Dark | c9c2409d0888916f4a52fb8d0e5081ecb56ff4ba | 86ec8fff527f488f1be058e1e40350d5a0b11b41 | refs/heads/master | 2022-10-12T06:31:06.129090 | 2020-06-12T05:52:45 | 2020-06-12T05:52:45 | 181,450,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,949 | hpp | #ifndef __KF_RECRUIT_MOUDLE_H__
#define __KF_RECRUIT_MOUDLE_H__
/************************************************************************
// @Moudle : 英雄招募系统
// @Author : __凌_痕__
// @QQ : 7969936
// @Mail : lori227@qq.com
// @Date : 2019-7-15
************... | [
"lori227@qq.com"
] | lori227@qq.com |
41d1b84dbca4351d21ab9128682e313c124287cf | fd763525912dbd03646fa1c4a896ba5b19739665 | /POproject1symulacja/Roslina.h | 31977f920b8d86106845babb57b12feac0b246fd | [] | no_license | Vihajster/POproject2017_symulation | 0048fcbe91a61f8e8c55b86daf20e6f91aa8dc81 | c3b0d9c58c4d73220d5a6371468efed30d1f5a85 | refs/heads/master | 2020-09-14T18:48:12.369534 | 2019-11-21T16:37:58 | 2019-11-21T16:37:58 | 223,219,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include "Organizm.h"
class Roslina
:public Organizm {
public:
Roslina(Swiat & Swiat, position p);
void akcja();
};
| [
"marcingrabowskiv@gmail.com"
] | marcingrabowskiv@gmail.com |
53d419afe3a89b6267e979ffd26dd232fcc82115 | 21f597731b48faa1b4839f1482b62d6bb1abea23 | /libtsuba/src/ParquetWriter.cpp | 7795513f992770a50b77074af0168c77fb2e8f0f | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | katana-ryan-vazquez/katana | 78a6df4c631450e9ee7b9e0590d8fdac7db64663 | 917b9eef173c0091b9eca3df219ad18412ae1be7 | refs/heads/master | 2023-06-01T22:16:23.559637 | 2021-06-23T00:13:29 | 2021-06-23T00:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,008 | cpp | #include "tsuba/ParquetWriter.h"
#include "katana/ArrowInterchange.h"
#include "katana/Result.h"
#include "tsuba/Errors.h"
#include "tsuba/FaultTest.h"
template <typename T>
using Result = katana::Result<T>;
namespace {
// constant taken directly from the arrow docs
constexpr uint64_t kMaxStringChunkSize = 0x7FFFFF... | [
"tylerscotthunt@gmail.com"
] | tylerscotthunt@gmail.com |
a9b16fde2796d669c8c7016b2a08541579032372 | 415832b7faab4ec97970ae5aa00de62ec24c9c31 | /Tutorials/Solution/TI_01_graphene/M_10.0/siesta.TBT.CC | ccc105ae094015d022a8b39d118d537880d2247c | [] | no_license | lwk205/TopoToolsSiesta | f82e95c1e4eaa4df03961989b1214bb0732685c9 | a40e11a5cd22e6f7854c8d241e0ae68bfa192df2 | refs/heads/master | 2023-04-24T09:20:57.502184 | 2021-05-15T07:52:46 | 2021-05-15T07:52:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78,116 | cc | # Contour path for the transport part
# Re(c) [eV] Im(c) [eV] w [eV]
0.50000000000000001E-03 0.00000000000000000E+00 0.10000000000000000E-02
0.15000000000000000E-02 0.00000000000000000E+00 0.10000000000000000E-02
0.25000000000000001E-02 0.00000000000000000E... | [
"nils.wittemeier@gmail.com"
] | nils.wittemeier@gmail.com |
88553ce3a8fb898354e2fd543014801dd976f2c3 | 767b01aeace632036a0d33c66b940c7381864b09 | /GamePlayObserver.cpp | b0340c24965421f1b0b83d74335b5078428d098b | [] | no_license | ChrisOgal/KONYa4 | 40a3a03ec006a3a8acbbf38ae6fe5c62d6de7d96 | e0d6b531a7d58edee46c3e6f95f0bd094794fdec | refs/heads/master | 2020-04-09T08:10:46.499090 | 2018-12-03T22:00:50 | 2018-12-03T22:00:50 | 160,185,003 | 0 | 0 | null | 2018-12-03T12:07:44 | 2018-12-03T12:07:44 | null | UTF-8 | C++ | false | false | 625 | cpp | //
// Created by client on 2018-11-21.
//
#include "GamePlayObserver.h"
void GamePlayObserver::Update() {
}
void GamePlayObserver::Update(std::string message){
display(message);
}
void GamePlayObserver::display(std::string message) {
cout << " =====> " << _subject->getCurrentPlayer()->getMonster() << ": ... | [
"dina.sadirmekova@gmail.com"
] | dina.sadirmekova@gmail.com |
545a6362c45de12ae2dda54332fc4366a0f9ed9e | b33fe9efadb22204bc1fed1f8773246c028f64b9 | /include/Event/TapLandEvent.h | 05552d9a7c0b44c2942a74152d37143744e59e07 | [] | no_license | Wmaxlees/mtgai | e4ff15bdd6eefc2268f50084f45585f467ef28c4 | ea07a03795f4de5bf35559f243a8869fc480d650 | refs/heads/master | 2020-04-12T05:12:05.577164 | 2019-01-12T01:04:49 | 2019-01-12T01:04:49 | 162,318,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #pragma once
#ifndef _H_EVENT_TAPLANDEVENT
#define _H_EVENT_TAPLANDEVENT
#include "Card/CardInstance.h"
#include "Event/EventBase.h"
namespace mtg {
namespace event {
class TapLandEvent : public EventBase {
public:
TapLandEvent(unsigned char playerIdx, std::shared_ptr<card::CardInstance> card);
std::st... | [
"max.lees@gmail.com"
] | max.lees@gmail.com |
6201c89b12063f3b936dc421ae771af2998e7f86 | 820b4dfdeacf99c65e20358d4970922a77be1c10 | /Reader/EpubBook.h | d8f4f7f94678d081f576959105e2cbb6521c129d | [] | no_license | songjinxi/Reader | 17d2f79c5931102e5d1007079c1c355663647976 | fc1c63172358f65c82fab036d02a7d1340d29e44 | refs/heads/master | 2020-12-12T04:00:44.698220 | 2020-12-10T16:40:26 | 2020-12-10T16:40:26 | 234,037,859 | 0 | 0 | null | 2020-01-15T08:47:59 | 2020-01-15T08:47:58 | null | UTF-8 | C++ | false | false | 1,465 | h | #ifndef __EPUB_BOOK_H__
#define __EPUB_BOOK_H__
#include "Book.h"
#include <string>
#include <map>
#include <vector>
typedef struct file_data_t
{
void *data;
size_t size;
} file_data_t;
typedef std::map<std::string, file_data_t> filelist_t;
typedef struct mainfest_item_t
{
std::string id;
std::string... | [
"binbin.yu@montage-lz.com"
] | binbin.yu@montage-lz.com |
fd87a9e4c27df9243b3d2a8d2c94051adb0ae04c | f21ef44c3265e683bd0baf9e2a5cabfdd21f754a | /Dynamic Programming/131. Palindrome Partitioning.cpp | b0a09641a3dc6da47da8083936117b685bdf40db | [] | no_license | Moomyd/LeetCode | c2bd2b4b9dfc0468cce7454ff672e73d3d3c77d4 | 324d60311c658c67a998fcba1e84f76695650b5e | refs/heads/master | 2023-02-26T22:07:43.030873 | 2021-02-10T16:19:24 | 2021-02-10T16:19:24 | 281,713,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | class Solution {
public:
vector<vector<string>> partition(string s) {
vector<vector<string>> res;
vector<string> path;
finder(s,0,path,res);
return res;
}
void finder(string s,int p,vector<string> &path,vector<vector<string>>&res){
if(p==s.size()){
... | [
"1345449751@qq.com"
] | 1345449751@qq.com |
d3e8634c84222d2561bdcf1b81273636c5968139 | 80e17f421b3b1e11baa8c6860532b0803657789f | /demo/Chapter-12/FriendList.cpp | 1871f05f0c70317b659d91293c8dac2f9d5c9aff | [] | no_license | TakeOver5/My-C-Notes | be26f2243cd6f5eb31c3e85e4e70f5ee1643405e | 8f5a8545288157ce4e5495d91738bbde1c306c94 | refs/heads/master | 2023-02-23T18:59:47.733031 | 2018-11-12T20:11:45 | 2018-11-12T20:11:45 | 126,676,278 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,956 | cpp | /*
* 時間:2018/10/12
* 功能:
* 添加好友名單與輸出好友名單。
* 目的:
* 使用 fprint() 與 fscanf() 串流輸出入函式。
*/
#include <stdio.h>
#include <stdlib.h>
typedef struct friends{
char name[10];
char phone[15];
char birth[15];
} FRIENDS;
void show(char *);
void enter(char *);
int main(void){
char ch;
char ... | [
"tapirusindicus5@gmail.com"
] | tapirusindicus5@gmail.com |
f111ef46ca420f836759cec28da6c3f92c39549a | 002b8a23926c577b69603998d7db15a1c2c7813c | /src/chap-05/OperOverAssignComplex/main.cpp | 0592c5fdb1742610738f3610895869f240ec014a | [] | no_license | jin519/ThisIsCPlusPlus | 5d86114fd2bdbd1a35bbb3990eaab550d265260a | 0c8dd4e42f7d6637a72e39533ebedd71fa3049e3 | refs/heads/master | 2021-05-23T11:37:49.304003 | 2020-05-31T15:17:23 | 2020-05-31T15:17:23 | 253,268,472 | 4 | 1 | null | null | null | null | UHC | C++ | false | false | 687 | cpp | // 248p += 연산자 함수 추가
#include <iostream>
using namespace std;
class MyData
{
public:
MyData(const int data)
{
__pData = new int(data);
}
~MyData()
{
delete __pData;
}
operator int()
{
return *__pData;
}
MyData& operator=(const MyData& rhs)
{
if (this == &rhs)
return *this;
delete __pData;... | [
"godjin519@gmail.com"
] | godjin519@gmail.com |
7fd1a1fd438fd8d5fc53255adc2d483a398c2e65 | 7527a2a652a545244560ef623c50ebd708baaf64 | /morphac/mechanics/models/include/diffdrive_model.h | baf87b174f7cb4fe2792862b91a4c9c990e1336b | [
"MIT"
] | permissive | shrenikm/Morphac | 976d305aa7e42ad466edc8a68a9350b2acc200c4 | 5a5623e641b5bf4f4a5226233d3ac5c321656932 | refs/heads/master | 2023-01-11T05:57:58.140218 | 2020-10-09T07:59:51 | 2020-10-09T07:59:51 | 211,552,686 | 1 | 0 | MIT | 2022-12-27T15:44:00 | 2019-09-28T19:38:20 | C++ | UTF-8 | C++ | false | false | 925 | h | #ifndef DIFFDRIVE_MODEL_H
#define DIFFDRIVE_MODEL_H
#include "Eigen/Dense"
#include "common/error_handling/include/error_macros.h"
#include "mechanics/models/include/kinematic_model.h"
#include "utils/include/angle_utils.h"
namespace morphac {
namespace mechanics {
namespace models {
class DiffdriveModel : public mo... | [
"shrenik95@gmail.com"
] | shrenik95@gmail.com |
67c5a3b8ddfd7267ba9f8c40984a6f795e52f91d | 5dd6758fec7818c74c59ba03f8834e645454b4f9 | /examples/asciiIO/pzxRobot/pzxRobot.ino | 569ec2f1bde1b8e9d8b91a3510391956b9abd221 | [
"BSD-3-Clause"
] | permissive | ethanjli/liquid-handling-robotics | 9ef0dc5fb15ac7aa84d996935801b1c6062f90b0 | fc7043558072e77981206ae123dfd3a24ef89029 | refs/heads/master | 2022-05-09T19:19:47.142416 | 2022-04-11T23:51:42 | 2022-04-11T23:51:42 | 116,604,013 | 0 | 1 | BSD-3-Clause | 2021-05-29T22:37:03 | 2018-01-07T22:26:54 | HTML | UTF-8 | C++ | false | false | 1,043 | ino | #define DISABLE_LOGGING
#define LHR_Messaging_ASCIIIO
#define LHR_Protocol_Core
#define LHR_Protocol_Board
#define LHR_Protocol_AbsoluteLinearActuatorAxis
#define LHR_Protocol_CumulativeLinearActuatorAxis
#include <LiquidHandlingRobotics.h>
#define LHR_Standard_pipettorAxis
#define LHR_Standard_zAxis
//#define LHR_St... | [
"lietk12@gmail.com"
] | lietk12@gmail.com |
0383adfab0b5c876f1093d53aa515976fce5f577 | 05fbc783910e2b851455b8f130315e45ca4dc963 | /Graph/Level of Nodes.cpp | 339e906bf56ce9abdeadbff0523920615b794d4c | [] | no_license | SandeepMaithani/Amazon_DSA_Series | c92d0e28d1a367c67109bf4eecac51edd4c9bb0e | 031d89c25a2be4632488078ae1a2a92e44e61500 | refs/heads/master | 2023-02-21T19:50:42.018132 | 2021-01-18T15:14:48 | 2021-01-18T15:14:48 | 308,928,222 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | /*
Complexity Analysis :-
Time Complexity: O(N). In BFS traversal every node is visited only once, so Time Complexity is O(N).
Space Complexity: O(N). The space is required to store the nodes in a queue.
*/
/*
Intution :-
Key idea here is to use BFS(Breadth-First Search) traversal, it is a graph traversal techn... | [
"sandeep1137@gmail.com"
] | sandeep1137@gmail.com |
b9d9a382389d8b14162b268550def8a963ccccbb | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/5a/13b9cae19de234/main.cpp | 130d331b49fa31b8b3fd3e0962ea71bc51c315d0 | [] | 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 | 384 | cpp | #include <iostream>
enum class PaintColor{
BLACK=0,
PINK=1,
ORANGE=2
};
enum class Vehicle : char{ //Vehicle is 1 byte size
CAR=0,
JET=1,
BOAT=2
};
int main() {
PaintColor p;
p = PaintColor::PINK;
Vehicle v;
v = Vehicle::BOAT;
std::cout << (int)p << std::endl;
std::cout << (i... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
ef20cfd61aa9e833ba6b76915251e0bffda20275 | fc1fc1fb369153c2cd19cd1940150a87ccb6094e | /tiny_obj_loader.cc | b73e76628cfecaedee549adf5b0c6e9766d017bc | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | lighttransport/obj2eson | e55f0d56c06568d04637d1f15628c24daf60866a | bc5ebfe3559446d9d8077c7cb8150039b749322b | refs/heads/master | 2016-09-06T19:42:20.598135 | 2014-12-25T07:19:30 | 2014-12-25T07:19:30 | 20,096,447 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,375 | cc | //
// Copyright 2012-2013, Syoyo Fujita.
//
// Licensed under 2-clause BSD liecense.
//
//
// version 0.9.7: Support multi-materials(per-face material ID) per object/group.
// version 0.9.6: Support Ni(index of refraction) mtl parameter.
// Parse transmittance material parameter correctly.
// version 0... | [
"syoyo@lighttransport.com"
] | syoyo@lighttransport.com |
afe4808413da2678bbff9d2efb2322cf783a92ab | 817cc371e2eb56f37c400b7f96d658d0683476b1 | /202005_practice/atcoder_train/agc043_d.cpp | 2a987fcaecc015b9b3b859bb669e0af05ea03dfe | [] | no_license | KanadeSiina/PracticeCode | c696495bd71395648ac62a41d0a41869f50c5eb4 | 146c8d5889eee7917a355feb8b03d1415a29ae9d | refs/heads/master | 2020-09-05T00:49:29.165600 | 2020-06-30T12:48:15 | 2020-06-30T12:48:15 | 219,937,221 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,751 | cpp | /* Aa^~ kokoro ga pyonpyon suru n jaa^~
// ZZZXXkXkkkZ!``` ``` ``` ``` ``` ``` ``` ``` ``` ``` ``` ```?Wfpppbpbbpbbpbbbkbkk
// ppbbbpbbpVr`` `` ` ` ` ` ```` `` ` ` `` ` ` ` ` ` ` ` ` ` dppbbkkkkkkkkkkqkqkk
// HkqqqqqkkWr`` ` ` ``` ``` `?G, ` ` ``.JC!```` ` ` `` `` ````(Wpbkkkkkkkkqkkkkkqk
// mmmmmqqqqpr` `` `` ``... | [
"lluozheyan@gmail.com"
] | lluozheyan@gmail.com |
ce4bfd66150df7745581ddd7fcce791a2ab0b512 | a0e71eef6163725c53f11ed6b43e89ddaf9993c3 | /main.cpp | ec2438bd1647c72a290810661401ee0f2df790d4 | [] | no_license | viktand/vap2 | 316c26d6074d012a7137a57db5336ae300d40afe | 888b2798a32fc3d13bc319d0a6862d44dfbc82da | refs/heads/master | 2016-08-04T10:24:58.103210 | 2013-09-11T12:48:29 | 2013-09-11T12:48:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <iostream> // временно !!!
using namespace std; // временно !!!
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.cou_prm=argc;
if (argc>1)
for (int i = 0; i < argc; i++) {
// Выводим список аргумент... | [
"viktand@bk.ru"
] | viktand@bk.ru |
4963f79d91efc3f236a4c94882e2501bcf1607c8 | c30d4130c348a2bcf9ab6f847a03fd1d0fed78b4 | /ProProg/sum.cpp | 53b162b09c0fb831d495918a5a8ff44ebb5c9634 | [] | no_license | boyplus/competitive-programming | 6278c5f9c93ce830b62aa16ed4877dc82f5dd538 | 88ead4fddb09ac2ca658ad291c0fc6e8679eedda | refs/heads/master | 2022-11-07T05:31:34.004320 | 2020-06-28T16:09:58 | 2020-06-28T16:09:58 | 67,353,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include <cstdio>
#include <limits.h>
#include <algorithm>
#include <cstring>
using namespace std;
bool chk[10000000];
int arr[20000];
int main(){
int n;
while(scanf("%d",&n) != EOF){
int Min = INT_MAX,want,ans1=0,ans2=0;
for(int i=0;i<n;i++){
scanf("%d",&arr[i]);
chk[arr[i]] = true;
}
scanf("%d",&want)... | [
"ict224bj@gmail.com"
] | ict224bj@gmail.com |
6998733e9a311217c576e6b2cf42220354403e58 | 5fe6563b77647d2dcaa69f0d9ed6cf3ae388b737 | /badgy_1.ino | 6a31b7c879ef793a997c14d0aad758c0cd3b3de7 | [] | no_license | yurikoex/badgy_game | 55f55aafccfe01fb78249c9e16297e643179d43d | eb5df219208d81d511e07943db980d8dbf1b0d5a | refs/heads/master | 2020-03-26T11:32:22.089255 | 2018-08-15T12:02:41 | 2018-08-15T12:02:41 | 144,847,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,558 | ino | /* e-paper display lib */
#include <GxEPD.h>
#include <GxGDEH029A1/GxGDEH029A1.cpp>
#include <GxIO/GxIO_SPI/GxIO_SPI.cpp>
#include <GxIO/GxIO.cpp>
/* include any other fonts you want to use https://github.com/adafruit/Adafruit-GFX-Library */
#include <Fonts/Picopixel.h>
/* WiFi libs*/
#include <ESP8266WiFi.h>
#include... | [
"josh_lunsford@homedepot.com"
] | josh_lunsford@homedepot.com |
f4c82e9a8c64f90fbf63d4d5577fa3f803523b40 | ff3b513ffe0925bba25cf0af4c62ea846388339b | /VereEngine/BodyMesh.cpp | f4c34f319b9d57ac94577a36ddd8cf9634fc60e9 | [
"Zlib",
"MIT"
] | permissive | VereWolf/VereEngine | 9b311796fbd2c4919040c8ce93a1272a42713e80 | 6b5453554cef1ef5d5dbf58206806198a3beec35 | refs/heads/master | 2021-07-18T13:32:31.815101 | 2017-12-24T21:15:08 | 2017-12-24T21:15:08 | 94,897,016 | 4 | 1 | null | 2017-11-22T13:09:45 | 2017-06-20T13:55:34 | C++ | UTF-8 | C++ | false | false | 7,395 | cpp | #include "pch.h"
#include "Vertex.h"
#include "Effects.h"
#include "GenerateMesh.h"
#include "Camera.h"
#include "LoadVMB.h"
#include "BodyMesh.h"
BodyMesh::BodyMesh()
{
XMMATRIX I = XMMatrixIdentity();
XMStoreFloat4x4(&mMesh, I);
mTS.x = 0.0f;
mTS.y = 0.01f;
//mBodyBase = new BodyBase;
}
... | [
"noreply@github.com"
] | noreply@github.com |
e65da660b8487471ba196961cc3edd3432931261 | 67c7802255237bc9f9c785b8c6c6b2347518fbe3 | /MinimumBias/Minbias.cxx | 2b6771eb7191b58aa683267a18c7a99c8486ee8c | [] | no_license | Erdbeergeist/HadronicRecoil | 78eab5093b6f79d098c883dbcfb2f64db85454c8 | 3ba449e71bfedce57f3ff1bbdfd3c6c78eac8829 | refs/heads/master | 2021-01-23T02:29:01.537907 | 2015-07-22T15:22:51 | 2015-07-22T15:22:51 | 33,138,344 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,527 | cxx | /// Lukas Mittnacht March 2015
#include <stdlib.h>
#include "./EWCommonIncludes.h"
#include <cmath>
using namespace std;
using std::vector;
#include "./setbranches.h"
#include "./minhists.h"
#include "./Minbias_functions.h"
int main(int argc, char *argv[]) {
if (argc < 3){ ///Check Parameters
cout<<"Please spec... | [
"luxmitges@web.de"
] | luxmitges@web.de |
f60499e2aec4f5cb3a9d8d83c85a9d57d36831f5 | fa236f75a0096a75f155672b6bc0dea149b22ba0 | /Number.h | f20ae136a92d25ad2ad78ac69b5e3bd9d2da4798 | [] | no_license | rahulpau-l/sorting-visualizer | dfd1b8d0ae3cc8a8263158edfef019dffa7f7675 | 7a351df705e6a299c56e99b08613712d79b7fd76 | refs/heads/main | 2023-05-31T17:09:44.675747 | 2021-05-30T01:35:09 | 2021-05-30T01:35:09 | 369,656,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | //
// Created by Rahul on 2021-05-20.
//
#ifndef NUMBER_H
#define NUMBER_H
#include <SFML/Graphics.hpp>
class Number {
public:
int num{};
sf::RectangleShape rect;
Number();
Number(const Number &n);
void setNum(int c);
void setSize(sf::Vector2<float> &&dimension);
};
#endif //NUMBER_H
| [
"70454548+rahulpau-l@users.noreply.github.com"
] | 70454548+rahulpau-l@users.noreply.github.com |
505520258d926fe283dec37b256b97d7aa8a560e | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/electron/2017/4/common_web_contents_delegate.h | 27209411c72b1b7bdd5c75c1feebb2c727197c59 | [
"MIT"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 6,949 | h | // Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_BROWSER_COMMON_WEB_CONTENTS_DELEGATE_H_
#define ATOM_BROWSER_COMMON_WEB_CONTENTS_DELEGATE_H_
#include <map>
#include <string>
#include <vector>
#include "brightray/brows... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
e78193889958517ffca3d44f01c850d2767df79a | 773e31eeaa8711e82915f0038684005eb22471a6 | /Marlin_pantalla_12864_23042015/vector_3.cpp | a96602a5ee581491fa1ef02795949f68140726e1 | [] | no_license | Shiul93/3D-Configuration | a6315b45777c1072082bea65e1c041132057fe83 | cddecca40ef98ea245d57f8a8a75a43620395be2 | refs/heads/master | 2021-04-09T17:52:38.428558 | 2018-07-20T10:26:08 | 2018-07-20T10:26:08 | 125,875,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,723 | cpp | /*
vector_3.cpp - Vector library for bed leveling
Copyright (c) 2012 Lars Brubaker. All right reserved.
This library 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 Foundation; either
version 2.1 of the L... | [
"lfllamas93@gmail.com"
] | lfllamas93@gmail.com |
a42fcaa62f9ed822b3a5516aa0a6e862c264f281 | cd0448d3790f0a36b1c70d7ca349aae8b1d9da3a | /skeleton_tracking/src/pose.cpp | e8840047c251af7fecdc760605c43f84a4a7f041 | [] | no_license | chjXu/multi-human-robot-interaction | ac40e6c9d4191cd8c361bfd5c4697136353ecc19 | 2ba7758678ec926eb470e163ee1703fbc808e51e | refs/heads/main | 2023-06-18T21:55:33.225992 | 2021-07-27T09:42:30 | 2021-07-27T09:42:30 | 382,189,134 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include <human_pose/pose.h>
using namespace HumanPose;
void Pose_Info::setPose(human_pose_msgs::HumanList human_list, int id){
// topic中的数据都是cm为单位的, in 1920*1080
for(int i=0; i<15; ++i){
pose_3d[i].x = human_list.human_list[id].body_key_points_prob[i].x;
pose_3d[i].y = human_list.human_list[i... | [
"noreply@github.com"
] | noreply@github.com |
5f917db2673ca2512ff2a0618ddf9c27f9e2b0fd | a8283ea32c5736dc2cf495acbb1a4809a28e8422 | /login.cpp | 2fa264f0322b2291befc109b2b88ef37ff14936b | [] | no_license | ereslibre/spokify | 5a0c406f99bd8e8c610c9fa039283d7cd7aac8bd | 673e3f23f8361561cf72ad4c26a526f514a33e47 | refs/heads/master | 2020-04-09T12:46:43.751886 | 2010-11-07T08:00:22 | 2010-11-07T08:00:22 | 2,510,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | /*
* This file is part of Spokify.
* Copyright (C) 2010 Rafael Fernández López <ereslibre@kde.org>
*
* Spokify is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | [
"ereslibre@ereslibre.es"
] | ereslibre@ereslibre.es |
870899199ab1cb49369c9d2cc795bc37700b8c5a | 33aeb7cfb53ea3d33d9417a7a557406129e96a79 | /BasicPureFunctionAnalysis/BasicPureFunctionAnalysis.cpp | 0281c6b31ec94b78853e5572824323c1d3c48631 | [] | no_license | someoneb100/KK-seminarski-opt-prolazi | 86eae53b2d2f4eb696cf0a0bf477d038e5d58aeb | 19432905057fb1c1e3c1bd8cfe1f80b5031cd0d8 | refs/heads/master | 2022-10-24T16:57:58.935288 | 2020-06-14T18:08:28 | 2020-06-14T18:08:28 | 257,669,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,146 | cpp | #include "llvm/IR/LegacyPassManager.h"
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "../includes/PureCallGraph.hpp"
#include "../includes/BasicPureFunctionAnalysis.hpp"
#include "../includes/PureFunctionInfo.hpp"
#include <map>
using namespace std;
PureCallGraph graf;
map<Function*, PureFunctionInfo*>... | [
"lawamulet@gmail.com"
] | lawamulet@gmail.com |
97a52b7ee58a525bcc56e5ba53e5ec0bc1ee4306 | 645dad5fd3a586bd659476fb6baaf33afcd3d4c3 | /samples/extensions/fragment_shading_rate/fragment_shading_rate.h | cbbc2dfce88f2cb9742b171899e58904f67e805d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | 1div0/Vulkan-Samples | 56b5df8b9ff133766d740bf7065f3aa5b478882a | 0d98a3b4b89b63211ccb4b7a7f536b813b0910c9 | refs/heads/master | 2022-02-03T12:19:28.902986 | 2022-01-17T17:32:09 | 2022-01-17T17:32:09 | 223,759,979 | 0 | 0 | Apache-2.0 | 2019-11-24T14:46:25 | 2019-11-24T14:46:25 | null | UTF-8 | C++ | false | false | 3,145 | h | /* Copyright (c) 2020-2021, Sascha Willems
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
... | [
"noreply@github.com"
] | noreply@github.com |
5e89b8279d5477753886c67f82bb2e870fd774cc | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/security/cryptoapi/crypstub/keysvr.cpp | d1fcb001ece35d8162e38a8763ff9fde167899ec | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,098 | cpp | #include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <ntsecapi.h>
#include <wincrypt.h>
#include <userenv.h>
#include <lmcons.h>
#include <certca.h>
#include "keysvc.h"
#include "cryptui.h"
#include "lenroll.h"
#include "keysvcc.h"
DWORD BindLocalKeyService(handle_t *hProxy);
// key ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
03f5035078775ebbb371734bfdb562c9d31bc3da | 5be058c0f3ecf00be2b889741dc135dc32ef51fe | /CtrlTree_fw/main.cpp | 15da633dc4c798ab66ec6822e0538fcaebcbf7f9 | [] | no_license | Kreyl/BmstuCtrlTree | 6633b3127bcf817e1437437fad7777cda5d3a398 | 5073dee2d3ba02904cfbc3f6a6d85ed136fc13a8 | refs/heads/master | 2020-09-11T18:39:34.812137 | 2020-08-28T09:22:59 | 2020-08-28T09:22:59 | 222,155,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,852 | cpp | #include "kl_crc.h"
#include "TControl.h"
#include "ch.h"
#include "hal.h"
#include "MsgQ.h"
#include "uart2.h"
#include "shell.h"
#include "usb_cdc.h"
#include "SimpleSensors.h"
#include "led.h"
#include "Sequences.h"
#include "kl_i2c.h"
#include "Device.h"
#include <string>
#include "UpdateFw.h"
#include "Adf5356.h"
... | [
"laystoll@yandex.ru"
] | laystoll@yandex.ru |
13bb9c1f1634dfe150810d3d9c18417ba4832218 | 6813b2690adb4015282c22108184b4e2229d9da3 | /Tetris.cpp | d458b29cad2c518ef90b6cd6d198f3da44f57d95 | [] | no_license | Toumash/2d-tetris-game | da722032bf777f1c1c58860c6339e6c1871d5070 | e4b7cb28776561125f8078198b8fa85ef1513878 | refs/heads/master | 2022-12-08T04:22:49.183840 | 2020-08-29T11:22:31 | 2020-08-29T11:22:31 | 109,607,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,818 | cpp | #include <cstdlib>
#include "main.h"
#include <cstdio>
#ifndef __TETRIS__
#define __TETRIS__
struct Tetris
{
private:
int PlayerX;
int PlayerY;
public:
// standard tetris dimensions
static const int WIDTH = 10;
static const int HEIGHT = 22;
char** Matrix;
char** Player;
int Width;
int Height;
bool canRotat... | [
"mr.toumash@gmail.com"
] | mr.toumash@gmail.com |
6c7d3976c88fa24a30538ee4fa957928f711ac99 | 5c2a066016f9e9ee56a24251709bcd6fc777c153 | /GLTestsApp/GLTestsApp/Classes/AppTestCArm/AppTestCArm.cpp | 31eb2290b6bc42df5828e4b143b83ea023db6eb0 | [] | no_license | cleonro/ObjLoader | 33f9969c4f7fd0a954f7fec10c447c191e215e51 | d7483cd89376ed53684e5415d8a09be0df691228 | refs/heads/master | 2016-09-15T19:15:28.497983 | 2014-01-23T21:46:50 | 2014-01-23T21:46:50 | 25,855,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include "AppTestCArm.h"
OAppTestCArm::OAppTestCArm()
{
c_arm_ = new OTestCArm(50.0f);
data_for_input_.camera = &camera_;
data_for_input_.c_arm = c_arm_;
}
OAppTestCArm::~OAppTestCArm()
{
delete c_arm_;
}
OAppTestCArm& OAppTestCArm::GetInstance()
{
static OAppTestCArm instance... | [
"cleon_ro@yahoo.com"
] | cleon_ro@yahoo.com |
e1cab3c46ba46231868b383d2a9ce8a12566ae5a | 9fb82f793f8dabc2625a6784c19ae6cdbfa5a40f | /CreditCardValidation/Validator.h | 4a575bf3e51cd633ca6c092ea2542642706f6800 | [] | no_license | DominicLightbody/CreditCardValidation-Project | c715121c7be079f8da64c5da368f15c9e3635da5 | aabbf345302de153c7ceba9bbbb7c73ac1b16d3a | refs/heads/master | 2021-07-20T00:21:22.131333 | 2017-10-29T03:38:07 | 2017-10-29T03:38:07 | 108,702,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #pragma once
#include <iostream>
#include <string>
using namespace std;
const string testCard[] = { "4686006570307405",
"4686006570307407",
"4093650457937474",
"4340423439668810",
"1234567812345670",
"5509415774265347",
"X234567812345670",
"4539281167952835",
"4532528637398511",
"4653549906803760" };
class CreditCa... | [
"dlightbody02@qub.ac.uk"
] | dlightbody02@qub.ac.uk |
fb7ffe69689513ae8dd451f6b56201833d78393b | b4fa3d1e6354087762cc17ac652e7fc39c7dce82 | /src/Graph.h | 76d25b50e949980d8a635fc457461ab2496dbed4 | [] | no_license | jbagot/search-best-hotel-place | b0cce5db3965967910fb9bd3f81195a5df2f4ae4 | d29f2dd0a9e193aba658a7c14d4a193f1bc3cd50 | refs/heads/master | 2021-01-25T00:46:32.083630 | 2017-06-18T13:41:23 | 2017-06-18T13:41:23 | 94,687,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | h | //
// Created by jordi on 15/05/16.
//
#ifndef REPO_CPP_GRAPH_H
#define REPO_CPP_GRAPH_H
#include <iostream>
#include <stdio.h>
#include <time.h>
#include <list>
#include <queue>
#include <map>
#include <GL/glut.h>
#include "Node.h"
using namespace std;
class Graph
{
public:
static Graph* Instance();
~Graph... | [
"jbagotsoler@gmail.com"
] | jbagotsoler@gmail.com |
6389e582d14a33e3e31d0c59fe808e6b6b8f8b10 | 3d424a8d682d4e056668b5903206ccc603f6e997 | /NeoLoader/Common/Caffeine/Caffeine_win.cpp | e2d1967bbad4d150bbe95f8e4069fd0578ef5ba3 | [] | no_license | markus851/NeoLoader | 515e238b385354b83bbc4f7399a85524d5b03d12 | 67c9b642054ead500832406a9c301a7b4cbfffd3 | refs/heads/master | 2022-04-22T07:51:15.418184 | 2015-05-08T11:37:53 | 2015-05-08T11:37:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | #include "Caffeine.h"
#include <windows.h>
#include <winbase.h>
class CCaffeinePrivate
{
public:
CCaffeinePrivate()
{
bRunning = false;
}
bool bRunning;
};
CCaffeine::CCaffeine(QObject* parent)
: QObject(parent) , d(new CCaffeinePrivate())
{
}
CCaffeine::~CCaffeine()
{
if(IsRunning())
Stop(... | [
"David@X.com"
] | David@X.com |
1d8e3d72e0a96db106492f7f5ba5cf63335c8d16 | 1e2eb6e815b1b966ec4c56b5e01bdf4809ddf77e | /include/Util/Callback.hpp | 6967e25bda173996091f7833cf56796cef1d6469 | [] | no_license | d-kowalik/pathfinding-visualizer | ec5fa35aaabdadbe5dafd3bdf94fa1de8f64f6d4 | 732d4fd351d06ace1db87080cf9f3bbf714ecece | refs/heads/master | 2020-12-20T14:30:11.655226 | 2020-02-14T01:35:09 | 2020-02-14T01:35:09 | 236,107,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | hpp | #pragma once
#include <functional>
namespace sge::Util {
template<typename ...Args>
class Callback {
public:
using Event = std::function<void(Args...)>;
private:
std::vector<Event> _events;
public:
static size_t GetAddress(Event f) {
typedef void(fnType)(Args...);
fnType** fnPointe... | [
"dev.damian.kowalik@gmail.com"
] | dev.damian.kowalik@gmail.com |
33120c79be190dd90bd10f98815ac20f92aabb8e | bf2775c10af37ed30e6797aaea4fb319bd868161 | /src/middleffwatermarker.cpp | 8940bf774b65778db0179a7af78fea633120dd64 | [] | no_license | ppva/Image_watermarking | a67073f9cf91a37617d1008c242f085ac2a512ed | ce01b1816a2f59b1ff5d10900d9f4724369acbeb | refs/heads/master | 2021-09-24T01:38:27.603273 | 2018-10-01T07:45:38 | 2018-10-01T07:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,272 | cpp | /***
Parallel version of the program using FastFlow (see @ https://github.com/fastflow/fastflow).
Loading and saving are not parallelized and put in a pipeline, but rather preloaded in memory.
Parallelization is done on the marking stage only (the emitter simply sends out the pre-loaded images).
***/
#include <ff/f... | [
"v.pandelea@studenti.unipi.it"
] | v.pandelea@studenti.unipi.it |
c586e539f29260edca44a1ba3c4fd51ff01792f9 | f1dfa37d76f2cde5523b47668914ceb10116af53 | /AtCoder Contest/C - Tsundoku.cpp | 4af659f46e80e7ca7cbb9d7db875a1b289fc74d3 | [] | no_license | Muzahid037/Online-Judge-Problems | d7fffd8daad60d9c5801882be1678cd851d54c29 | 5f14253f70c178c373f9b926a825bd82354ff10c | refs/heads/master | 2022-03-15T00:45:38.384365 | 2022-02-24T13:56:40 | 2022-02-24T13:56:40 | 236,151,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,761 | cpp | ///-----Bismillahir Rahmanir Rahim-----///
#include<bits/stdc++.h>
using namespace std;
///---FAST I/O---///
#define Boost() ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
///---DATA TYPE---///
typedef long long ll;
typedef long long int lli;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vv... | [
"48602232+Muzahid037@users.noreply.github.com"
] | 48602232+Muzahid037@users.noreply.github.com |
e4fb9bdbec365931615e483b27f4fda57ee5afba | f1ae49086a9de49f84b9e828e9cd54b6f964c0d3 | /ver201604template.sdk/test_sd/src/markstat/Frame/x0Vector.h | cfbaf8d83afe1ee3875c7d12bc223666f869425b | [] | no_license | vivozhang/zynq_zturn_template_prj | ccb43d69a782062a2e54146c31043567ba9d7876 | f370466cce75f814223d0c3a0c225a7e4baf6117 | refs/heads/master | 2021-01-20T07:20:46.081080 | 2017-08-26T17:09:45 | 2017-08-26T17:09:45 | 89,991,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,058 | h | ///////////////////////////////////////////////////////////////////////////////
//
// TITLE:
//
// DESCRIPTION:
// Elemental vector transformations between the three-phase stator
// coordinate system (A-B-C) and the rotating reference frame (X-Y)
//
// COPYRIGHT: Copyright (c) 2004
// by GENERA... | [
"zjxx79009387"
] | zjxx79009387 |
cfc9ab77756e827d9af4d5f450456f3993898e8b | 4f159bcb108a9f85852e4abb8fc52e1e6e275c2c | /src/converters.cpp | 7913434aeb0af5c3d42d0c80cbf6dea189196ff9 | [] | no_license | marekkijo/CanonControl | 5dad3fa01de1a0cb83fb3463d213f9157132495d | 45da4577bfec93f7a0d1a16673b6dd291e059b0e | refs/heads/master | 2021-08-30T08:10:18.133925 | 2017-12-16T23:42:54 | 2017-12-16T23:42:54 | 114,497,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | cpp | #include "converters.hpp"
#include <array>
#include "eos/enums.hpp"
namespace Converters {
namespace ISO {
const static int kMinValue{0};
const static int kMaxValue{29};
const static std::array<std::string, 30> kValueToString{
"A", "L", "100", "125", "160", "200", "250", "320",
"400", "500"... | [
"marekkijo@gmail.com"
] | marekkijo@gmail.com |
977d9e50ce7f2efb96d838ebec5b7f07af3520af | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-8787.cpp | 4eafe3998aa0098ac19e23621dfbded7b6e39fca | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,999 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
06bdcd260ae421eedbf89cd07cbfbfdeb5ac1d0d | 3f4fa79e7c05b649180c141d1f2d036d546199cc | /sensors/dsps/libhalsensors/src/Gravity.cpp | 1b3676479ea54e84e1cdbde42f05de684614cc8c | [] | no_license | rx78gp01/sc20_vendor_qcom_proprietary | 6f0a2a51d5d31dec39651d7061809231d5fb26ee | d1a681b6e76bbd1e46ca33fbf218cf8cca207cdd | refs/heads/master | 2023-05-28T22:50:41.548547 | 2019-10-16T07:22:46 | 2019-10-16T07:22:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,172 | cpp | /*============================================================================
@file Gravity.cpp
@brief
Gravity class implementation.
Copyright (c) 2014-2015 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
========================================... | [
"richucjalpy@gmail.com"
] | richucjalpy@gmail.com |
5b912f3df73d304488a365a0dcca46ad11afcb00 | 37fbda86bdce49f6db52b9a238e5830dcd636ca3 | /零錢.cpp | db84a7bded91adf64e50301330de572c19c325cc | [] | no_license | nanshan-high-school/cs50-problem-set-1-cash-A6M5-Zero | 7d480f1ba254f34db86e840c283a2a81579916de | fd05d0f4c6513af837223865060b5dd08e639b33 | refs/heads/master | 2020-04-04T02:54:18.665870 | 2018-11-01T11:00:47 | 2018-11-01T11:00:47 | 155,700,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
using namespace std;
int main() {
int money = 0;
int fifty = 0;
int twenty = 0;
int ten = 0;
int five = 0;
int one = 0;
cout << "How much money do U have?";
cin >> money;
while (money >= 50) {
money = money - 50;
fifty++;
}
while (money >= 20) {
money =... | [
"noreply@github.com"
] | noreply@github.com |
4a1971bd4be6a195eafe6bdd0357b82185292dc5 | c27104231043fdc86de2886e88fcbd44d29579d8 | /HUAWEI/run.h | 1becab91a34a4b332d3aeee7cbade9aa790daa61 | [] | no_license | 07216/huawei | 1b6c376d2623320dfcfe5b4fa37058cfcaf81edc | d6f36a82c3b4cbe8b5771a4f555e62d99e97e18f | refs/heads/master | 2021-01-10T18:26:08.076875 | 2016-11-11T03:05:34 | 2016-11-11T03:05:34 | 73,437,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | h | #pragma once
#include"data.h"
#include"way.h"
class run
{
public:
run();
data data_;
way *way_best;
int best;
const int waysum=6;
std::vector<way *> way_list;
bool optimize(int i);
std::vector<bool >way_flag;
bool main_loop();
void the_world(int argc, char** argv);
~run();
};
| [
"linzhan@mail.ustc.edu.cn"
] | linzhan@mail.ustc.edu.cn |
3ecd570d0779133811afa5479c9c33afc408b5cf | bb7d0ba5c784a8565e9a026e6fb03d0685e9cd42 | /PixImgLib/pix_ImageDualSet.cpp | 842a007470dcb85ea35a1c59abf15eebb3c9227d | [] | no_license | ryocchin/pixRectify | eda86a6e9a426fe04a239fa9eda1ab1f40f7f187 | 81f07767bdaccc6f2b5ee73e5a0bf648c607eb89 | refs/heads/master | 2020-03-08T12:54:08.363347 | 2018-04-10T03:31:18 | 2018-04-10T03:31:18 | 128,142,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,471 | cpp | #include <pixqt_common.h>
#include <piximg_common.h>
#include <pixqtlib.h>
using namespace _pix_plot_qt_framework;
#include <piximglib.h>
using namespace _pix_plot_img_framework;
#include "pix_ImageDualSet.h"
pixq_ImageDualSet::pixq_ImageDualSet(void)
{
Clear( );
return;
}
bool pixq_ImageDualSet::Valid( voi... | [
"pixtopo@gmail.com"
] | pixtopo@gmail.com |
14bda41dfa3444beae692f7442cfc784739301bf | 7c518db51e67a8fb1129db9abf61403f7765a682 | /src/wasm/module-decoder.cc | 7028a463ed1ac2f22b84d756a07f863dfad9d9bb | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | astocko/v8 | eefe76ef65d3ba0ac7a1b77a1b22a18c46a63b48 | 87332fdf677f1b53f71be7c05d025a285e5a5c73 | refs/heads/master | 2020-12-24T06:03:52.854073 | 2016-11-08T18:19:01 | 2016-11-08T18:19:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,684 | cc | // Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/wasm/module-decoder.h"
#include "src/base/functional.h"
#include "src/base/platform/platform.h"
#include "src/flags.h"
#include "src/macr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c810ba33cecca96de5d960c0098830cee9e5d25e | a4a686015b5efbf04f03c20333282a014a8dc58d | /Temp/StagingArea/Data/Managed/UnityICallRegistration.cpp | e75afdafaaade477c6b93e4c31e1576e5d447711 | [] | no_license | Maninder786/soldier | 427e3006df6ab0495150791b343e025dbc5813c4 | bd45d90a7861d0600598ccc52aaf001f37524d17 | refs/heads/master | 2021-04-26T22:48:58.422978 | 2018-03-07T00:55:22 | 2018-03-07T00:55:22 | 124,150,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120,540 | cpp | void RegisterAllStrippedInternalCalls()
{
//Start Registrations for type : UnityEngine.Analytics.CustomEventData
//System.Boolean UnityEngine.Analytics.CustomEventData::AddBool(System.String,System.Boolean)
void Register_UnityEngine_Analytics_CustomEventData_AddBool();
Register_UnityEngine_Analytics_CustomEvent... | [
"Maninder786@users.noreply.github.com"
] | Maninder786@users.noreply.github.com |
df20a6b673aa871d0b13e121e1be6b7e1ca52dec | 2c4897b8b977e066a3cc546d36d2dd1c52a72462 | /src/hashstring.h | 9f67c70f92fb68119557dc875ed445b5cfcf29d6 | [
"Apache-2.0"
] | permissive | Vethanis/image_decompiler | fa7ead61e139f200207f63e27a3c19928a58867f | 0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133 | refs/heads/master | 2023-07-20T13:55:57.038723 | 2018-08-27T08:31:48 | 2018-08-27T08:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | h | #pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <cassert>
#include <cstring>
struct HashString{
unsigned m_hash;
const char* str() const;
bool valid()const{ return m_hash != 0; }
HashString(){m_hash = 0;}
HashString(unsigned hash){m_hash = hash;}
HashString(const char*... | [
"lh0xfb@gmail.com"
] | lh0xfb@gmail.com |
dba0e763aaaa079a37c39dc32599e7a7b14229f1 | de96cb2f51ba7e2fb8ff1a86fff42b1ee6dd813f | /ebbFlood/ebbFlood.ino | f0051770251e2cf536a99259b8d490caa6f9c50a | [] | no_license | mauricebasement/sketchbook | cd222497845dd7f671d8de47306310968328eecf | 8fc72a48ec566460788277436b1b9a1eb06f5e19 | refs/heads/master | 2021-01-10T07:25:47.405121 | 2018-08-24T11:43:06 | 2018-08-24T11:43:06 | 54,292,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | ino | #define RELAY_PIN 2
#define SENSOR_PIN A0
#define COUNT 21600
#define DELAY 1000
int counter = 0;
void setup() {
Serial.begin(115200); //debugging
pinMode(RELAY_PIN,OUTPUT);
pinMode(SENSOR_PIN,INPUT);
digitalWrite(RELAY_PIN,HIGH);
}
void loop() {
if (counter==COUNT) {
counter = 0;
flooding();
} e... | [
"makers@posteo.ch"
] | makers@posteo.ch |
2ab81787e685e40a7b7da71d4e552a2513de7db3 | e2fc091e990a0647ad9bd066c8cb879b9572102b | /nhd2-exp/src/gui/channellist.cpp | cfa1b62b6befe7805c2ef37818a625eadedcee18 | [] | no_license | crayzy13/neutrinohd2 | 65c69d46df28df61d1617457f25d25ae00dfa5a8 | ca2a9998d69b81b61893d697f3b8c054c83f6aa7 | refs/heads/master | 2021-06-21T13:51:31.119937 | 2017-08-27T10:34:28 | 2017-08-27T10:34:28 | 110,340,174 | 0 | 1 | null | 2017-11-11T11:29:38 | 2017-11-11T11:29:38 | null | UTF-8 | C++ | false | false | 55,907 | cpp | /*
Neutrino-GUI - DBoxII-Project
$Id: channellist.cpp 2013/10/12 mohousch Exp $
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Kommentar:
Diese GUI wurde von Grund auf neu programmiert und sollte nun vom
Aufbau und auch den Ausbaumoeglichkeiten gut aussehen. Neutrino bas... | [
"mohousch@gmail.com"
] | mohousch@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.