blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a90cbfdacf006235768f1dd59125c0d525a4d59 | 5ec773b74266c462bcf1a3a9d0925c7fcea19280 | /ServoTask.h | ecd8f3d63ce35a4e3e3fd281a31024a99a96d865 | [] | no_license | beiju/tasklib | 3ba975909a8d4f6c3e95968cb02ce2a944a2de9f | 2f8d2c93edacf1885fb991a1122026c873e1d945 | refs/heads/master | 2020-12-24T13:20:11.121284 | 2014-09-18T02:16:53 | 2014-09-18T02:16:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,731 | h | /*
* Run a servo
*
* This class controls a non-continuous servo using the Servo library. It uses
* DelayTask to give the servo enough time to reach its setpoint (that time
* can be configured in Constants.h). This is the only task that will not
* completely stop when its stop() method is called, because a servo... | [
"beiju@me.com"
] | beiju@me.com |
97e1844ae42a0ba32db68bc740db76e1f0098ae5 | deef531de0c2ae34ee66d8879fef55ba46752da8 | /src/efi.cpp | 945fd8f7f4f7847d2f750e7fe48959c554d43f48 | [] | no_license | reiya-prog/KizunaOS | 1b845f959f808e9c52117f131a0db47aebdd8f5c | 03a2ab8368605506b52aba0b0e774fc45ecfd733 | refs/heads/master | 2022-04-17T22:04:36.950783 | 2020-03-30T13:20:12 | 2020-03-30T13:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include "main.h"
EFI::EFI_GUID SimplePointerProtocol_GUID = {
0x31878c87, 0xb75, 0x11d5, {0x9a, 0x4f, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d}};
EFI::EFI_GUID SimpleFileSystemProtocol_GUID = {
0x0964e5b22, 0x6459, 0x11d2, {0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}};
EFI::EFI_GUID GraphicsOutputProtocol_GU... | [
"t-reiya@suou.waseda.jp"
] | t-reiya@suou.waseda.jp |
7aa7061ebd4f376fda43ef800a2e46db44196d41 | 5273b715eab6a17632ac2d3f369d74e8fdfbcf03 | /cpp/beginner/1000.cpp | 2ea3d2da3f1190f280a41c3e6bfe77ab9f4c9e4e | [] | no_license | falabretti/uri-online-judge | 597a9b93abe973a495806cabec31371db6b3f0a6 | a44afe1ebd149da5b4db14916ca1ab59137a95c2 | refs/heads/master | 2021-11-24T11:46:53.887409 | 2021-10-31T17:48:09 | 2021-10-31T17:48:09 | 201,715,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
printf("Hello World!\n");
return 0;
}
| [
"lucasfalabretti7@gmail.com"
] | lucasfalabretti7@gmail.com |
e9b80234cbc2177c106cffa4070a16d77be6fffb | 3faf0071e879c4e7f1694609e25c5c1837d49b97 | /Applelli/Appelli 16-17/IV Appello/main-20-9-2017 2 + SOLUZIONE.cpp | 1bb93596f5706de82ae5fb6663e4f4d63f97a6f2 | [] | no_license | RedSut/P1 | 4a5b93fb10b023dc721c136ef0bdcc871414402b | cfb3594ea6ebe5c8eec936fcf26a53f9a3e19f85 | refs/heads/master | 2020-06-03T00:12:00.475387 | 2019-12-14T11:35:30 | 2019-12-14T11:35:30 | 191,355,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,217 | cpp | #include<iostream>
using namespace std;
struct nodo{int num, info; nodo* next; nodo(int a=0,int b=0, nodo* c=0){num=a; info=b; next=c;}}; // nodo di lista
struct FIFO{nodo* primo, *ultimo; FIFO(nodo*a=0, nodo*b=0){primo=a; ultimo=b;}};
struct nodoF{FIFO info; nodoF*next; nodoF(FIFO a=FIFO(),nodoF*b=0){info=a; next=b;... | [
"davidesut@gmail.com"
] | davidesut@gmail.com |
d6face291f9da1ee30caac9cf7143cc1d54293e1 | 18f539a078af6fbc72783aa248598d63124f6a8d | /src/WeightConstraint.cc | be82d7dc8d774fff552a1d97c3384c37f3acfe3d | [
"Apache-2.0"
] | permissive | alviano/zuccherino | 29e2f6802d393ee0ceb391a5bb56b267186e7639 | d264ef53cca78382dc08dbe3e236a2670658ba0f | refs/heads/master | 2021-07-11T03:21:16.556459 | 2021-04-06T14:05:19 | 2021-04-06T14:05:19 | 86,710,522 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,172 | cc | /*
* Copyright (C) 2017 Mario Alviano (mario@alviano.net)
*
* 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 ... | [
"mario@alviano.net"
] | mario@alviano.net |
a97be72d2b15c1287973066a203c4e868c6ee48d | b8c3d2d67e983bd996b76825f174bae1ba5741f2 | /RTMP/utils/gil_2/libs/gil/sdl/stdafx.cpp | 24c95fc5ed9c9436d2bc94ec0c556e6bfb0f2c99 | [] | no_license | wangscript007/rtmp-cpp | 02172f7a209790afec4c00b8855d7a66b7834f23 | 3ec35590675560ac4fa9557ca7a5917c617d9999 | refs/heads/master | 2021-05-30T04:43:19.321113 | 2008-12-24T20:16:15 | 2008-12-24T20:16:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // stdafx.cpp : source file that includes just the standard includes
// sdl.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
| [
"fpelliccioni@71ea4c15-5055-0410-b3ce-cda77bae7b57"
] | fpelliccioni@71ea4c15-5055-0410-b3ce-cda77bae7b57 |
e1c5a35608cfbf0462a7f275f7e4603941646aa9 | ae4b640b207b3127bd9382652726b3baf4953089 | /week10/StacksandQs_prob10.cpp | a3d0bf4b6960ba4613892d6e1b04ed1c521942f5 | [] | no_license | 11AbhijithROY/IPMP | 97c2902f638483274f6897130ed51c42b1ed5388 | e34e416a6bf0497b9e5d0dc9cba10b01b8e88661 | refs/heads/main | 2023-05-31T09:55:32.998356 | 2021-06-25T17:27:33 | 2021-06-25T17:27:33 | 352,339,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | class Solution {
public:
vector<int> nextGreaterElement(vector<int>& n1, vector<int>& n2) {
// support variables
int len1 = n1.size(), len2 = n2.size();
vector<int> res(len1, -1);
if (!len2) return res;
int dp[len2];
stack<int> s;
unordered_map<int, i... | [
"noreply@github.com"
] | 11AbhijithROY.noreply@github.com |
66389fc091c28be0a39b2e97492d57ab88f581f6 | 3be605dedafddfdc59f060ea5b71a945519a9a2e | /src/libs/pestpp_common/ModelRunPP.cpp | 284b8e672464b5e758d55320f8f94c02a1a9e2d0 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | smwesten-usgs/pestpp | f81778721d40742f3aaceddf88b640a3d9df0b8d | a3137fe0177821c1ded8c20d9a680ad9ca5408cb | refs/heads/master | 2023-07-19T20:07:33.766870 | 2023-05-22T23:27:17 | 2023-05-22T23:27:17 | 234,112,105 | 1 | 0 | null | 2020-01-15T15:34:26 | 2020-01-15T15:34:25 | null | UTF-8 | C++ | false | false | 4,730 | cpp | /*
This file is part of PEST++.
PEST++ 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 your option) any later version.
PEST++ is distributed in the hope that it wi... | [
"jtwhite1000@gmail.com"
] | jtwhite1000@gmail.com |
3282200f3405181d02fe2c3b65ce1d661d4ed25b | e6feb668c6dca60772c26a7c1f2cd830cc1bc495 | /Session 15 - Random Processes/Lab 6 - Fast Dealer/FastDealer/stdafx.h | b2fa69919e702ccdcfec62f9f1e24c20ec7b3b42 | [] | no_license | isaacv-pl/Advanced-Scientific-Computing | 3516148166560907ae79a1e18d163ba8c1ea083d | 7ba10f66e046db5fbdc21d658f587d41216ddd26 | refs/heads/master | 2022-02-20T23:14:31.349629 | 2019-10-10T01:56:54 | 2019-10-10T01:56:54 | 214,059,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifdef _WIN32
#include "targetver.h"
#endif
#include <stdio.h>
#ifdef _WIN32
#include <tchar.h>
#endif
// TODO: reference add... | [
"iav@princeton.edu"
] | iav@princeton.edu |
3a9dd976369a2a5d174df98c31de43d12a9c1feb | f1b0191e0fe2570911bd57334d1987afa02c3824 | /build-CDFR_2019_QT-Raspberry_Pi-Release/moc_testwindow.cpp | 57fb0dc0e91067aa3af84b03d293545fadd0ac96 | [
"MIT"
] | permissive | guillaumeb49/QT_CDFR_2019 | 11fe36e638564b532d8ef3ae1c35d47d1cf0e553 | a5ca7479e81b65168ffbb90e27f2a7c0bb9049e6 | refs/heads/master | 2020-03-26T03:21:56.679724 | 2019-06-09T12:16:41 | 2019-06-09T12:16:41 | 144,452,440 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,415 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'testwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.10.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"guillaume.bitaud@gmail.com"
] | guillaume.bitaud@gmail.com |
ac39c441941d28ff6beb96e77a08196cfc3c42b8 | 1f4add657e7ddef0420b88e8eb3064cb7b3d5017 | /Arcane/src/Arcane/Platform/OpenGL/OpenGLImGuiLayer.h | 7fa79699ae50d912d869e6a92dceb2fd99f4c86c | [
"MIT"
] | permissive | cai502/Arcane-Engine | 810155ab288c19fbde6516fed22b7861c73c8e35 | 48b0bbad61cc84085f3919866d56847445870550 | refs/heads/master | 2023-06-22T22:35:59.547121 | 2021-07-19T17:05:14 | 2021-07-19T17:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | #pragma once
#include <Arcane/ImGui/ImGuiLayer.h>
namespace Arcane
{
class OpenGLImGuiLayer : public ImGuiLayer
{
public:
OpenGLImGuiLayer(ARC_DEV_ONLY(const std::string &name));
virtual ~OpenGLImGuiLayer();
virtual void Begin() override;
virtual void End() override;
virtual void OnAttach() override;
... | [
"noreply@github.com"
] | cai502.noreply@github.com |
71bb0d469bf37a230792f6f1edfff6b1c14b9078 | b5dbb842d058efd6bb493ea723193aa8da060b0f | /gate/AG/Src/Business/ChangeLogManager.cpp | 49dae3408e97b5b758558dc571238487a74e1af0 | [] | no_license | zngj/OpenTheDoor | 7d737a36011aa812bd9e7a66cf58a304fa8077f7 | ae911f9f6a55e558c18ce0cc388e127413f52028 | refs/heads/master | 2021-01-01T20:14:14.684936 | 2017-09-15T03:54:32 | 2017-09-15T03:54:32 | 98,795,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,474 | cpp | #include "ChangeLogManager.h"
#include "Utils/PathUtil.h"
#include "Network/DataServer.h"
#include <iostream>
#include <unistd.h>
#include <fcntl.h>
mutex ChangeLogManager::mtx;
ChangeLogManager* ChangeLogManager::mng=nullptr;
ChangeLogManager::ChangeLogManager()
{
lastId=-1;
lastIndex=-1;
}
void Ch... | [
"coding4fun@126.com"
] | coding4fun@126.com |
412fe917fc320e06d11853286e265c97b14e847a | fb6e17adc4373d064f5b0ea4da6fd0b890b51244 | /Source/Building_Escape/WorldPosition.cpp | 8a18074918cde1fcb197974e1104bed78d605ff4 | [] | no_license | StewartMckenzie/Escape | c5f69042e49672381bcda79c9a05ecb77e504dbe | a4d8f0aee4ad15182e7e7ef1347dbe755040b881 | refs/heads/master | 2023-03-03T02:06:08.616472 | 2021-01-30T22:40:12 | 2021-01-30T22:40:12 | 329,406,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "WorldPosition.h"
#include "GameFramework/Actor.h"
// Sets default values for this component's properties
UWorldPosition::UWorldPosition()
{
// Set this component to be initialized when the game starts, and to be ticked every fr... | [
"mckenzie.stewart.e@gmail.com"
] | mckenzie.stewart.e@gmail.com |
96366f492e8eb892ce431eb91f5b133a2e324279 | 89870ca1f16af0f2ba65ec0175cd089da852afbc | /atcoder/beginner-contest-146/b_rot.cpp | d1298455e41e59e039d30dd39baffcbd7349e016 | [] | no_license | Merisho/comprog | 3b8ce833f0f16dbcfa252f9c6678c160bf081a11 | fb4829ba93fcb376078a5baccda0c07ce35d6d04 | refs/heads/master | 2023-08-18T00:10:45.535195 | 2023-08-11T07:16:02 | 2023-08-11T07:16:02 | 216,174,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string s;
cin >> s;
for (int i = 0; i < s.length(); ++i) {
cout << char('A' + ((s[i] - 'A' + n) % 26));
}
return 0;
}
| [
"merishot@gmail.com"
] | merishot@gmail.com |
0825acff3fb3294c962ef9750cc7cd4a407c750f | 45691cb672d97571e1e2f1242a1cea1773ed9a51 | /src/AbOA.h | 382fbac395e80fbd5655b2c956f053d244cd899e | [] | no_license | votol/FibersCubicParam | b5ebea326257c6e57288d60461a72d03009e3681 | 8213dee9009e5ebac1144d4d1f42d1129833cdba | refs/heads/master | 2022-11-21T08:31:11.480605 | 2020-07-10T16:12:54 | 2020-07-10T16:12:54 | 278,600,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,956 | h | #pragma once
#include <map>
#include <complex>
#include <iostream>
#include <cstdint>
namespace AbAl
{
using POperator = std::map<int, std::uint8_t>;
using GOperator = std::map<POperator, std::complex<double> >;
GOperator operator*(const POperator&, const POperator&);
GOperator operator*(const std::co... | [
"votolm@gmail.com"
] | votolm@gmail.com |
3c865ba33c6ed1eaa141539280106e89a426ccc7 | 2e3a053b0099a3870c751e51ffd3fdfdb41562e5 | /include/utils/AssetPool.h | 052e1967b94a9599f09a80088e6545d96ceab788 | [] | no_license | ciwik/smartin3d | 5fe6b8e8c9e63ad5cee870065a9d144af8b77930 | 1360230800b2b1dae58137e9c11222998b7f003a | refs/heads/master | 2023-04-20T07:32:38.924656 | 2021-05-11T07:56:39 | 2021-05-11T07:56:39 | 332,397,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | h | #ifndef SMARTIN3D_ASSETPOOL_H
#define SMARTIN3D_ASSETPOOL_H
#include "precompiled.h"
#include "utils/Log.h"
namespace smartin::utils {
template<class T>
class AssetPool final {
public:
explicit AssetPool(bool _autoCollect = false) : autoCollect(_autoCollect) { }
std::shared_ptr<T> Get(co... | [
"lgnv2009@gmail.com"
] | lgnv2009@gmail.com |
896f77544a7c7f975e58f724c6109d10d9957e4d | 3f7e1e4351434d7f908aa9c7e3273e9fa48ac69f | /Engine/Pixel.h | ecf637992c1279b5f80764c3f23241f32583590b | [] | no_license | R2D2lovesCoffee/SnekGame | 1e23807bf1ed761a5a4a1185294fdd87f0ad834f | 5a96e8b0dea1e761526188017d653ad51b12d921 | refs/heads/master | 2020-04-26T00:46:10.318604 | 2019-02-28T20:10:19 | 2019-02-28T20:10:19 | 173,180,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | #pragma once
#include"Colors.h"
class Pixel {
private:
int x;
int y;
Color color;
public:
Pixel() {
this->x = 0;
this->y = 0;
this->color = Color(0, 0, 0);
}
Pixel(int x, int y, Color color) {
if (checkWidth(x) && checkHeight(y)){
this->x = x;
this->y = y;
this->color = color;
}
}
Pixel(int x... | [
"petre.cosminpetrut97@gmail.com"
] | petre.cosminpetrut97@gmail.com |
823cda809134c1035c5ee70014925294f4de8cce | 4fbf26964413dd90d888eda02ad80e66ef83c11d | /otherplatformssignin.h | ec74a57fcb3c1c23a92bd0a2c7a1a50207eca681 | [] | no_license | easyiotmaster/easyapp | 6329f9c4d2102d610c1e851bb32f9933295a63f3 | 7b75826056f649f01297855a3ade116203f72791 | refs/heads/master | 2020-02-26T15:22:59.927292 | 2016-10-05T03:56:32 | 2016-10-05T03:56:32 | 70,242,114 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | h | #ifndef OHTERPLATFORMSSIGNIN_H
#define OHTERPLATFORMSSIGNIN_H
#include <QObject>
#include <QtWebSockets/QWebSocketServer>
#include "webchannel/websocketclientwrapper.h"
#include "webchannel/websockettransport.h"
#include "QWebChannel"
class WebSocketServerHelper :public QObject
{
Q_OBJECT
signals:
void sendTe... | [
"HQQ@HQQ.COM"
] | HQQ@HQQ.COM |
45e39821ab03735be0c03cb7a5ce68a67c151b9c | 2df752d3690f7a6559ad7d16d469ec8998b7ec52 | /STOEdit/core/ViewData.h | 2051443eae48f3b4e68e89e85c1950c2c5dc503d | [] | no_license | matthewbot/SpaceTacticsOnline | b69f55c6ec144f7f28a8fe310a0ff9b9632c9cc4 | a646644624ed98fc36f8f6e6a7b3f67f39b5ed81 | refs/heads/master | 2020-06-04T23:11:24.059458 | 2010-08-16T22:06:31 | 2010-08-16T22:06:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | h | #ifndef STOEDIT_VIEWDATA_H
#define STOEDIT_VIEWDATA_H
namespace stoedit {
class ViewData {
public:
inline virtual ~ViewData() { }
};
}
#endif
| [
"matthewbot@gmail.com"
] | matthewbot@gmail.com |
b295458c7ebf69d359739e012f7a0a9dae631124 | 4a651816d263d4fb93a8c5cc6d625ba6913d74f0 | /updateWithInput.cpp | 836f6716538bf5d2bfc3638018ecc38b894bed38 | [] | no_license | deidei1210/PlantsVSZombies | 75e290848c40d5e22161c9611ece89e699411bd5 | 6439551ac888f741b8d0b62ebb6ebaef4be9140d | refs/heads/master | 2023-03-23T14:45:07.143434 | 2020-08-21T03:34:34 | 2020-08-21T03:34:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,815 | cpp | #include <graphics.h>
#include<stdio.h>
#include "Sun.h"
#include<stdlib.h>
#include<conio.h>
#include<windows.h>
#include <math.h>
#include <time.h>
#include "PeaShooter.h"
#include "SunFlower.h"
#include "WallNut.h"
#include "SnowPea.h"
#include "CherryBomb.h"
#include "GameScene.h"
#include "globalvariables.h"
#incl... | [
"ljyayg@163.com"
] | ljyayg@163.com |
e99f0b8ccf3ba3526dfe8501f582ec3f5fdb71a7 | 76de54381198a872631fbd763dbb2c8c0a15a3e6 | /Atividade A.1.2.ino | 3f1b0fc7494df998ad194b040e3c45121598199d | [] | no_license | MichelAngelo7/Sistemas-Embarcados | 79c59cd14a1349a825b5602160fbc4d432e187ef | b931df16ae2e1e5f0008c0afaa4e153662df7fdb | refs/heads/master | 2021-01-06T23:58:39.739389 | 2020-06-16T01:57:11 | 2020-06-16T01:57:11 | 241,519,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | ino | #include <Servo.h>
Servo servoMotor1;
Servo servoMotor2;
const int botao = 2, pinoServo1=3, pinoServo2=4, acionador=5 ;
int estado = 0, angulo=0, angulo2=0;
void setup()
{
pinMode(acionador, INPUT);
servoMotor1.attach(pinoServo1);
servoMotor2.attach(pinoServo2);
servoMotor1.write(0);
servoMotor2.write(0)... | [
"m_che_l@hotmail.com"
] | m_che_l@hotmail.com |
b2c1fb2e2c133ae12dff98d30b4c9b27885fcd94 | 739c8e734139471bfc5d6fd9eaef28ac7f7b8a75 | /Prim’s Minimum Spanning Tree for Dense Graph.cpp | 594cc2b3105b60cd179e5ada7271cf9b823458e4 | [] | no_license | v9the/DataStructure-Algorithms | 0e9bef8d739ff6b604854764e1a2bea478e9bd43 | 9210a67a223f48af7c5ff0e7b9a0a4bb121d8313 | refs/heads/master | 2023-02-23T10:06:32.600327 | 2021-01-29T18:15:18 | 2021-01-29T18:15:18 | 171,965,560 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 1,426 | cpp | //Primís Minimum Spanning Tree O(n^2) for Dense Graph
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
template <typename T, typename T2>
class Graph {
public:
vector<vector<T2>> adjMatrix;
vector<bool> vis;
vector<T> parent;
vector<T2> key;
T N;
Gra... | [
"noreply@github.com"
] | v9the.noreply@github.com |
1f399d6b79c704f7f10e2337917247e0d306b355 | d245e768fe4f4a9eb1d765e61e8704947e3fc31a | /RenderScript/include/ShaderVariableParser.h | 6b97e8967121bddf3b3a388b88b10ea0daa93023 | [
"Apache-2.0"
] | permissive | ccf19881030/DiligentTools | 241757768bd7b7666398b0cd60dea86f975e64ca | 5b2da8d2da0a71465a5bcbc9ed4780eb8568c891 | refs/heads/master | 2020-04-28T00:55:11.145873 | 2019-03-06T04:06:31 | 2019-03-06T04:06:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,963 | h | /* Copyright 2015-2019 Egor Yusov
*
* 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
*
* THE SOFTWARE IS PROVIDED "AS IS", ... | [
"egor.yusov@gmail.com"
] | egor.yusov@gmail.com |
6db320f9d6477a9f96c506a20c3b40f996594232 | 030743ab20727648accbc993cf29d43edd895228 | /VNOI Training/Hải Dương/2017.10.17/Code/AD1.cpp | 5bed0a6a61965f61a1f1a841a77bb9c3dd72859c | [] | no_license | basketballismylife/code | 5f20f10a2af67e1237ccfe85e46b201b7970a5ad | d1cb1646a273c4ca1a6420cca34af5299c35d59c | refs/heads/master | 2020-03-17T23:50:27.037245 | 2017-11-24T13:28:20 | 2017-11-24T13:28:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 10;
int n;
int a[N], f[2][N], t[N], b[N];
void update(int x, int value) {
for (; x < n; x += x & -x)
t[x] = max(t[x], value);
}
int get(int x) {
int res = 0;
for (; x > 0; x -= x & -x)
res = max(res, t[x]);
return res;... | [
"caothesan@gmail.com"
] | caothesan@gmail.com |
3026d469b18eb06f98d50c9f66139d12e1149963 | 46da229b27969e32c6709412c8e728b5c2abf233 | /leetcode/solutions/_0023_Merge_k_Sorted_Lists.h | 3de687b138cdaa482f2208aee8f404c8a5c0568a | [
"Apache-2.0"
] | permissive | laumgjyu/LeetCode | 6946370ce73654a488dbfe181389e209920658f1 | 2c15ce86649cd36d240206ba767bc9c4c05a6f1c | refs/heads/master | 2020-04-10T22:00:21.770256 | 2016-01-08T07:10:26 | 2016-01-08T07:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | h | //
// Created by 伟平 on 2015/11/24.
//
#ifndef LEETCODE__0023_MERGE_K_SORTED_LISTS_H
#define LEETCODE__0023_MERGE_K_SORTED_LISTS_H
class _0023_Merge_k_Sorted_Lists {
class Solution {
public:
ListNode *mergeKLists(vector<ListNode *> & lists) {
if (lists.size() == 0) return NULL;
... | [
"Nightonke@outlook.com"
] | Nightonke@outlook.com |
7871134ef1297f42208e4d61c781c02684fa7755 | 827405b8f9a56632db9f78ea6709efb137738b9d | /CodingWebsites/CodeForces/Practice/CF 6/550E WA.cpp | 48c5d8bf7c8630cdf187a77d14b102bd57142438 | [] | no_license | MingzhenY/code-warehouse | 2ae037a671f952201cf9ca13992e58718d11a704 | d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7 | refs/heads/master | 2020-03-17T14:59:30.425939 | 2019-02-10T17:12:36 | 2019-02-10T17:12:36 | 133,694,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#define out(i) <<#i<<"="<<(i)<<" "
#define OUT1(a1) cout out(a1) <<endl
#define OUT2(a1,a2) cout out(a1) out(a2) <<endl
#define OUT3(a1,a2,a3) cout out(a1) out(a2) out(a3)<<endl
#define maxn 100007
using namespace std;
int N;
int A[ma... | [
"mingzhenyan@yahoo.com"
] | mingzhenyan@yahoo.com |
c39f8bdf2b3af0ba8a69c741513ef60ea504837d | a80d57a6652fc056493ea1a8fc264f828b3b82aa | /src/GetEmotion.cpp | 5ddeb49a5bc42fc719ae49e3b707e5ecd48ebeb1 | [] | no_license | MasahiroFushida/face_beat | 8be68d525a4f0c308f69e880e7a4743e2b07e84d | 8ce309b208346b3373bf68c4e52de478762fe0b1 | refs/heads/master | 2020-03-23T17:45:22.117635 | 2018-07-22T07:19:46 | 2018-07-22T07:19:46 | 141,873,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | //
// GetEmotion.cpp
// face_beat
//
// Created by LIFE_MAC_02 on 2018/07/18.
//
#include "GetEmotion.hpp"
#include "string.h"
#include <thread>
using namespace std;
#define HOST "127.0.0.1" //送信先ホストのIPを設定
#define SEND_PORT 5000
#define RECIEVE_PORT 6000
std::__1::string test;
//----------------------------... | [
"mfusi7818@iamas.ac.jp"
] | mfusi7818@iamas.ac.jp |
031c812bb6692635cd88cd4b5f48139d451cdfbd | f5a8254ab9f6b68768d4309e48a387a142935162 | /CommTrackingObjects/opcua-backend/src-gen/CommTrackingObjectsOpcUa/CommPersonIdOpcUa.cc | 09ff104d2c84390550a3a215c289c4c091b785aa | [
"BSD-3-Clause"
] | permissive | canonical-robots/DomainModelsRepositories | 9839a3f4a305d3a94d4a284d7ba208cd1e5bf87f | 68b9286d84837e5feb7b200833b158ab9c2922a4 | refs/heads/master | 2022-12-26T16:33:58.843240 | 2020-10-02T08:54:50 | 2020-10-02T08:54:50 | 287,251,257 | 0 | 0 | BSD-3-Clause | 2020-08-13T10:39:30 | 2020-08-13T10:39:29 | null | UTF-8 | C++ | false | false | 937 | cc | #include "CommPersonIdOpcUa.hh"
#define SERONET_NO_DEPRECATED
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ComplexType.hpp>
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ElementPrimitives.hpp>
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/SelfDescriptionArray.hpp>
#incl... | [
"lotz@hs-ulm.de"
] | lotz@hs-ulm.de |
54584fb7802090714c6cb7ac653355479021f66d | 901571e54db419ccd0aa4d7a3dbfcd8dd5b37207 | /BOJ/1000/1562.cpp | 3f4c7c4785ef992d86bb007aff03e56fc19f8f73 | [] | no_license | fbdp1202/AlgorithmParty | 3b7ae486b4a27f49d2d40efd48ed9a45a98c77e8 | 9fe654aa49392cb261e1b53c995dbb33216c6a20 | refs/heads/master | 2021-08-03T22:52:30.182103 | 2021-07-22T06:15:45 | 2021-07-22T06:15:45 | 156,948,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | // baekjoon 1562 yechan
#include <cstdio>
#include <algorithm>
using namespace std;
#define DIV_NUM 1000000000
int N, ans, dp[101][10][1<<10];
int findDP(int num, int p, int state) {
if (dp[num][p][state])
return dp[num][p][state];
if (num == N)
return (state == (1<<10) - 1) ? 1 : 0;
int ret = 0;
if (p + 1... | [
"rbynddd@naver.com"
] | rbynddd@naver.com |
c589e8cc55c4dda358922db129963df439ffe342 | ea2be5a75e82b0d8303843a0a3ff1eba9c2c3723 | /Corruptor/aux_functions.h | 19ae9c869ee3d9ee2af8ef6278fb873cf0176435 | [] | no_license | ez2torta/MemoriaProgramas | d8a848ec76a921ba18aeb0a0276a803004f54b17 | 4d8984647ce362cf97a1bc82fdaeda6cabf76991 | refs/heads/master | 2021-08-23T01:43:44.535516 | 2017-12-02T07:33:44 | 2017-12-02T07:33:44 | 103,442,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,616 | h | #ifndef AUX_FUN_INCLUDE
#define AUX_FUN_INCLUDE
#include <iostream>
#include <fstream>
#include <sstream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/common/common.h>
#include <pcl/common/transforms.h>
/* Your function statement here */
void ToString(st... | [
"ez2torta@gmail.com"
] | ez2torta@gmail.com |
a58a7dc84e69b845b7ac78109acab5ca2601901c | 1603b30378131e441c0587584261a23bba71c278 | /pass/ProfileInfo.cpp | fcac4336f93eb7ae522c39a91abedf0917125532 | [
"NCSA",
"BSD-3-Clause"
] | permissive | jeremysalwen/LLVM_IRProfiling | f2fff0a5e368d63374890aee896b2bb89c559e2e | 78b030118230f984c0a4c0af70e8f2314565f3f9 | refs/heads/master | 2020-12-24T14:37:05.435688 | 2014-08-13T18:15:17 | 2014-08-13T18:15:17 | 20,904,214 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33,214 | cpp | //===- ProfileInfo.cpp - Profile Info Interface ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"jeremysalwen@gmail.com"
] | jeremysalwen@gmail.com |
c28f18cf4fb5ea80dc8c77878dec22d7c732cf1d | 2e1f96b9d60ecaec868e0b7824cab632a51a8b02 | /GenMap/MapDescriptor.cpp | 56607230f5db95ea0d64fbb7b922b94fd3364f3b | [] | no_license | Jose72/taller_tp_final | 61076d0db7b22ba9034967cd48647d13e6aa853e | 1b5e5e76d3e7fbcf919a310c802e0ecd7bb783bd | refs/heads/master | 2021-01-20T17:23:16.086898 | 2017-06-27T19:35:09 | 2017-06-27T19:35:09 | 90,871,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,723 | cpp | #include <iostream>
#include <random>
#include "MapDescriptor.h"
#define MIN 1
#define MAX 8
#define SUBDIM 10
#define CODE_PASTO 0
#define CODE_AGUA 1
#define CODE_LAVA 2
#define CODE_NIEVE 3
#define CODE_ASFALTO 4
#define CODE_PANTANO 5
#define CODE_TIERRA 6
#define CODE_CARRETERA 7
#define CODE_GRUNT 0
#define CODE... | [
"matiasreimondo@gmail.com"
] | matiasreimondo@gmail.com |
84488ca66f0f8f4e59b9acfe51ba4cf6482e8a7c | 1ae1aa87db5d38340d0c7729fa797c229e1eeb97 | /node_s.ino | 35e6376d612934b688f09750ecc5f318a00306e6 | [] | no_license | juwon8891/IoT | 309e1ceb260e8966c2844e530a78f854bab0dd3e | c5f369eb64608e2b926595589a7ddee91ad9619f | refs/heads/master | 2023-04-05T11:49:13.720391 | 2021-04-12T14:49:29 | 2021-04-12T14:49:29 | 315,010,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | ino | #include <SoftwareSerial.h>
SoftwareSerial s(D5,D6) //rx,tx
void setup() {
s.begin(9600);
}
void loop() {
if(s.available())
{ //indexOf, substring(x,y), length
String tds =s.readStringUntil("\n");
String temp =s.readStringUntil("\n");
String hum =s.readStringUntil("\n");
Serial.prin... | [
"noreply@github.com"
] | juwon8891.noreply@github.com |
f453ac3cfe5d42f88aae713807e3548a18810765 | 1337a747db741d24a11cf10d3c4b0c9d173f8a6d | /Libraries/gtkmm/include/gtkmm/gtkmm/notebook.h | 8e010f79eb3d9090589f184a612b557a5936daf7 | [
"MIT"
] | permissive | iCodeIN/Wings | 0a1c17979439fc17e9bd55c43a7cc993973a3032 | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | refs/heads/master | 2021-06-12T22:29:07.009637 | 2017-03-19T07:10:42 | 2017-03-19T07:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,179 | h | // -*- c++ -*-
// Generated by gmmproc 2.44.0 -- DO NOT MODIFY!
#ifndef _GTKMM_NOTEBOOK_H
#define _GTKMM_NOTEBOOK_H
#include <gtkmmconfig.h>
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/*
* Copyright (C) 1998-2002 The gtkmm Development Team
*
* This library is free software; you can redistribute it an... | [
"utilforever@gmail.com"
] | utilforever@gmail.com |
dfa72b108d0db0a7c7d49b9951dcb84bbd286435 | 221c01443908442de88838a76f2bf36597a6b428 | /cf/122A.cpp | 7c413b1f5e58234992c8e7666d79e64ec332553d | [] | no_license | mansurul-hasan-masud/my-all-code | 71335ad0230fbf15db89b111fac8217a77a5acd8 | 9a959b295e11c48003cd934107cfaeec35bb1b14 | refs/heads/master | 2021-05-20T03:32:21.292527 | 2020-06-24T15:43:26 | 2020-06-24T15:43:26 | 252,167,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
if (n % 4 == 0 || n % 7 == 0 || n % 44 == 0 || n % 47 == 0 || n % 74 == 0 || n % 77 == 0 || n % 444 == 0 || n % 447 == 0 || n % 474 == 0 || n % 477 == 0 || n % 744 == 0 || n % 747 == 0 || n % 774 == 0 || n % 777 == 0) {
printf("YES");
} else... | [
"mhmasud006@gmail.com"
] | mhmasud006@gmail.com |
fd7511d44a7e129670bed6ff75b939298d1010b3 | ddd30104f085301572617ae5999cd60bfaf94433 | /include/EngineStartStage.h | c6e4171d7e585bb372cfd37a843001e1364e550c | [] | no_license | AleksSol/Colonizers | 993ba70b376570218fad13e46985d4ad2d2f2769 | e27c10e9016f8a036345029b8f75f5e7b0a44eeb | refs/heads/master | 2021-01-13T00:48:31.404817 | 2016-04-24T16:12:48 | 2016-04-24T16:12:48 | 54,180,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #pragma once
#include "Engine.h"
#include "Game.h"
class EngineStartStage : public Engine
{
public:
EngineStartStage();
virtual ~EngineStartStage();
virtual bool is_start_stage() const noexcept;
virtual bool is_first_stage() const noexcept;
virtual bool is_second_stage() const noexcept;
virtual bool is_third_st... | [
"aleksey.dumbay.97@gmail.com"
] | aleksey.dumbay.97@gmail.com |
46c24d4947a0f291df40a65e3b3dc6380016dea8 | 57ac85ca91d0f218be2a97e41ad7f8967728e7b9 | /blazetest/src/mathtest/dmatsmatschur/L3x3bLCa.cpp | 6e89be6d1bb5b9b7d8fea3e398504d55871ba940 | [
"BSD-3-Clause"
] | permissive | AuroraDysis/blaze | b297baa6c96b77c3d32de789e0e3af27782ced77 | d5cacf64e8059ca924eef4b4e2a74fc9446d71cb | refs/heads/master | 2021-01-01T16:49:28.921446 | 2017-07-22T23:24:26 | 2017-07-22T23:24:26 | 97,930,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,874 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatschur/L3x3bLCa.cpp
// \brief Source file for the L3x3bLCa dense matrix/sparse matrix Schur product math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
ee7a9db010553bc6aa91503868eb15878fdb77fa | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/no_topic/10.11/K.cpp | fb7ed5ef92ba3eef06d18c2d396e89c2ee853b1b | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,m,k;
cin>>n>>m;
int a[n][m];
k=0;
for(int i=0; i<n; i++){
if(i%2!=0){
for(int j=m-1; j>=0; j--){
a[i][j]=k;
k++;
}
}
if(i%2==0){
for(int j=0... | [
"shaihitdin@gmail.com"
] | shaihitdin@gmail.com |
21bdb689431f3c9355af6eefa38fc30e74eb3e08 | 17fdf0e5737ffa7af0186a15f847ce73959f0e17 | /lib/systask.cpp | 9e6acaa3a490436b791f6af57ab4f9bfbbebc522 | [] | no_license | shadw3002/S3OS | 01bb6a15d71abca49a4443a0cdd644e28f0de1b1 | 237dda9ea7410daa863a5120fa661236cb11f86f | refs/heads/master | 2021-03-01T10:05:41.334076 | 2020-03-08T08:10:31 | 2020-03-08T08:10:31 | 245,775,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include "systask.h"
#include "assert.h"
#include "proc.h"
#include "clock.h"
using namespace proc;
void task_sys()
{
proc::ipc::Message msg;
while (1) {
send_recv(proc::ipc::Type::RECEIVE, ANY, &msg);
int src = msg.source;
switch (msg.type) {
case proc::ipc::GET_TICKS:
... | [
"702189255@qq.com"
] | 702189255@qq.com |
68b3c5614cf5a89a984a5a4dd8104e959eb75589 | 6fb0e9cb4fd6dba7f462441acd8ff9f533ab1082 | /cpp-code/list/List.h | 40da74995b104da063692cb96136f66e81d67d15 | [] | no_license | XDanz/zinzhi | 9a820b0e852409dd714d93d1e51318e41bc66f82 | d9353ffa82f643abe73187c0c4d116b1c1ee86e0 | refs/heads/master | 2021-03-27T15:17:04.892447 | 2019-05-10T13:58:36 | 2019-05-10T13:58:36 | 10,524,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,661 | h |
template <typename T>
class List
{
protected:
// inner class Node which holds information
// on prev,next Node and data
class Node
{ public:
Node ( const T& data = T() , Node* prev=0, Node* next=0 )
: _data ( data ) , _prev ( prev ), _next ( next )
{ if (_prev == 0 ) _prev = this;
if (_nex... | [
"daniel.terranova@gmail.com"
] | daniel.terranova@gmail.com |
6eea81c4bb73659e17c90a306c6c777c6c328b12 | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-565-div1-500/lx.cpp | ec8ebddc8299fdff53aa5fa6c88b0415532569f5 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 1,084 | cpp | #include <bits/stdc++.h>
#define rep(i, x, y) for (int i = (x), _ = (y); i <= _; ++i)
#define down(i, x, y) for (int i = (x), _ = (y); i >= _; --i)
#define x first
#define y second
#define LX_JUDGE
using namespace std;
typedef long long LL;
template<typename T> inline void upmax(T & x, T y) { x < y ? x = y : 0; }
te... | [
"noreply@github.com"
] | yzq986.noreply@github.com |
e7fd6f57d9cd945dc64a2a5e95c2013810ec2ffe | 04d64aff19fc80945d8bf7d7cbbf1348a0a6b63a | /headers/states.hpp | 91023ec3b6f2a76d4ca0baa69fcc2e89e93d6ee9 | [] | no_license | sasinha/Micromouse | 5906c70b5626e174ff264e3ace28d9217f135040 | c8b7f13bbd156ac4ab68f0524904af32e68f7aad | refs/heads/master | 2021-09-15T00:56:55.510192 | 2018-05-23T08:29:33 | 2018-05-23T08:29:33 | 124,173,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72 | hpp | # pragma once
enum MMState {
COMPUTE,
STRAIGHT,
TURN,
STOP
}; | [
"sanchits@uci.edu"
] | sanchits@uci.edu |
252615b357d157dff794345f01d190e4b75bcd07 | 6e2f8b62a9977ae6c51c6bcbe41daccc92a87677 | /ParabellumEngine/ParabellumEngine/SystemManager.h | 6d980e7fc32e988d925e4df6a71243951d034360 | [
"MIT"
] | permissive | Qazwar/ParabellumFramework | 8a455ea5e1ac0dab9c466604d2f443317e2a57bd | 7b55003bb04e696a68f436b9ec98a05e026526fd | refs/heads/master | 2022-01-26T06:28:53.040419 | 2019-06-29T11:05:34 | 2019-06-29T11:05:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | h | #ifndef _SYSTEMMANAGER_H_
#define _SYSTEMMANAGER_H_
//
// Predefs
//
#define WIN32_LEAN_AND_MEAN
#define SYSTEM_NAME L"Parabellum Engine v1"
#include "DLLIE.h"
//
// Includes
//
#include <windows.h>
#include <thread>
#include "../ParabellumFramework/TypesC.h"
#include "../ParabellumFramework/SystemCodes.h"
#i... | [
"szuplak@gmail.com"
] | szuplak@gmail.com |
c51073147dc689c30fd8fba885b73d68362d8201 | b60776fe3c35b48485b3e9fd85c38e2954e0186b | /Number and Games/printAllPrimeFactorsOfANumber.cpp | ecc70c40ed59e06c7d89af725d0332387d32a9f3 | [] | no_license | aniket-gore/practice-codes | 88994ef1719f21f1b1ae4c21b6fd7ad80d581e6b | 4b3fbfb73da8cd1f2786717e4e8927bac69eefb2 | refs/heads/master | 2021-01-17T21:24:00.879741 | 2017-08-17T01:37:32 | 2017-08-17T01:37:32 | 36,997,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | #include<iostream>
#include<cmath>
using namespace std;
void printAllPrimeFactorsOfANumber(int number){
//if number is even
while(number % 2 == 0){
cout<<"2,";
number = number/2;
}
//if number is other composite number
for(int i=3; i<=sqrt((double)number); i=i+2){
while(number%i == 0){
cou... | [
"aniketgore05@gmail.com"
] | aniketgore05@gmail.com |
1df90860c6cdd8d3f3bbc532754d0bdf91fa7543 | cc327a4880fa7e4c9f699b634e17ca5242c06bc0 | /doc/snippets/MagnumMath.cpp | 6f234976262416cef7dde9a95d7cb53fc993182c | [
"MIT"
] | permissive | xqms/magnum | 7cd3f2416dfbb6b305956173c5342bca8461a7cc | cef34e32db6f1fd6617870fd0f92492bbdafdf32 | refs/heads/master | 2021-06-19T13:19:18.729043 | 2019-02-07T08:02:51 | 2019-02-07T08:02:51 | 169,609,455 | 0 | 0 | NOASSERTION | 2019-02-07T17:09:32 | 2019-02-07T17:09:32 | null | UTF-8 | C++ | false | false | 28,036 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
3da4141cd2b75e5d67bbee850f14aa2b46c071b8 | a0acca4a26d4432e3d1696cef217d84644e79b5b | /linked_list/ccirList.cpp | 05699d97ea7519100a177211cd100cd7751d05ef | [] | no_license | msaaddev/Cpp-Data-Structures | d2631664d5961bd591f4744421025ae42e977edb | 5c0cbe04aa2d389176ceb91dc7916985f1a23c93 | refs/heads/master | 2020-08-26T15:33:55.534824 | 2019-12-18T16:31:59 | 2019-12-18T16:31:59 | 217,057,179 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | cpp | #include <iostream>
#include "node.cpp"
using namespace std;
class ccirList
{
cNode *headNode;
int count;
public:
ccirList() : headNode(NULL), count(0) {}
ccirList(cNode *ptr) : headNode(ptr), count(1)
{
headNode = headNode->next;
ptr = NULL;
}
cNode *remove()
{
... | [
"mrsaadirfan@gmail.com"
] | mrsaadirfan@gmail.com |
4fbfdc66f5d22a332f8abd07d8808cd34c7108b0 | f6a8c46fed9988802e1d58bce865964c2efd63f7 | /cpp_04/ex00/Citizen.cpp | cfd9154864c44e667550d094ce4c297efa4b3209 | [] | no_license | aquinoa-nba/Cpp_modules | adedf7e955f56e01d3bde5643e3cb0512deee7a8 | dd36891f15b4d7a91dbeef5b850eea4f8257307b | refs/heads/master | 2023-08-19T02:27:54.814411 | 2021-10-08T16:02:55 | 2021-10-08T16:02:55 | 372,608,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include "Citizen.hpp"
Citizen::Citizen(std::string const &name) : Victim(name)
{
std::cout << "BIG DICK IS BACK IN TOWN!" << std::endl;
}
Citizen::Citizen(Citizen const &other) : Victim(other._name)
{
*this = other;
}
Citizen::~Citizen(void)
{
std::cout << "HEY, COOL, I'M DEAD!" << std::endl;
}
void Citizen::ge... | [
"aquinoa@ev-s3.kzn.21-school.ru"
] | aquinoa@ev-s3.kzn.21-school.ru |
5d7852c44c594748efeb6a8b60f73c0a8f7f861c | ea3161f1761b1b8057503b70b861aa3ab1b70736 | /mainwindow.h | cab58b38ec62280efdcbd3dfb87700ee844546cd | [] | no_license | sonichy/HTYDock_KWin | b6d2613cec755a57f12ffcf1d31f4acae669eb51 | 31eb0e0e9bc49cbf8be19694de2ecbce35f22d86 | refs/heads/master | 2021-05-22T15:00:12.625531 | 2021-02-16T09:49:51 | 2021-02-16T09:49:51 | 252,973,034 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "datetimewidget.h"
#include "netspeedwidget.h"
#include "appwidget.h"
#include "trashwidget.h"
#include <QMainWindow>
#include <QHBoxLayout>
#include <QPushButton>
#include <QButtonGroup>
#include <QSettings>
#include <KF5/KWindowSystem/netwm_def.h>
class MainWindow ... | [
"sonichy@163.com"
] | sonichy@163.com |
29e9b1ea7d97b98a86856fa9e6bf765a1274f747 | e232be5c6831bc7d6ab4f1939010f30d5959015a | /suif/lib/dependence/named_lin_ineq.cc | e385165b16037cfeb12a1a06333988b3cfab4b79 | [
"BSD-3-Clause"
] | permissive | lottaquestions/taskgraph-metaprogramming | 9a8f1a3d9e65d56b2d0c426479df5f8c52c87d53 | 54c4e2806a97bec555a90784ab4cf0880660bf89 | refs/heads/master | 2023-08-29T10:56:06.099505 | 2020-04-14T21:09:28 | 2020-04-14T21:09:28 | 681,137,540 | 0 | 0 | BSD-3-Clause | 2023-08-21T10:54:05 | 2023-08-21T10:54:02 | null | UTF-8 | C++ | false | false | 40,683 | cc | /* file "named_lin_ineq.cc" */
/* Copyright (c) 1994 Stanford University
All rights reserved.
This software is provided under the terms described in
the "suif_copyright.h" include file. */
#include <suif_copyright.h>
#define _MODULE_ "libdependence.a"
#pragma implementation "named_lin_ineq.h"
#includ... | [
"p.kelly@imperial.ac.uk"
] | p.kelly@imperial.ac.uk |
8d6bfeabbd23c57d94282a4eeedf58c6c7f684b3 | c78ff27c0c5db8167413056b720c074909e93836 | /carrera-sdk/consumer/cpp/Consumer/thirdparty/thrift/server/TNonblockingServer.h | f3414ad78c9151ad9df96998f001aa6eda669d1b | [
"Apache-2.0"
] | permissive | zks888/DDMQ | a31f12208209d6776059b3285e333205768a9466 | 267679ce8f2df9ec42f809dd4697fc4792f0a738 | refs/heads/master | 2020-07-20T00:35:50.745618 | 2019-09-10T04:08:13 | 2019-09-10T04:08:13 | 206,540,172 | 2 | 0 | Apache-2.0 | 2019-09-05T10:46:43 | 2019-09-05T10:46:43 | null | UTF-8 | C++ | false | false | 30,259 | h | /*
* 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 under the Apache License, Version 2.0 (the
* "License"); you ma... | [
"zanglei@didichuxing.com"
] | zanglei@didichuxing.com |
9a02930a28ba278aaa04281e8cf90b18368b9394 | 8402c4e310d40461b3131743ce4002b30c54a2e4 | /X39_XMR_Core/footer.hpp | 6642a870b6a21d01c524782346f79a1e271a6852 | [] | no_license | X39/XMedRetro | 149c04ae879b67064a8216d3c402338297115bf3 | 696106af15a63938e50d6c7d2fc5f3cb992cd267 | refs/heads/master | 2021-04-29T11:31:56.047490 | 2019-01-06T14:35:04 | 2019-01-06T14:35:04 | 121,825,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | hpp | #ifndef _DEFAULT_HEADER_
throw "header.hpp not included";
#endif
#ifndef _DEFAULT_FOOTER_
#define _DEFAULT_FOOTER_
#else
throw "_DEFAULT_FOOTER_ already defined";
#endif
#ifdef VARIABLENAMESPACE
};
#endif
#ifndef DISABLERETURN
};
_res
#endif
#ifdef DOTRACE
};
___callTrace___ deleteAt (count ___callT... | [
"X39@users.noreply.github.com"
] | X39@users.noreply.github.com |
96f7f87e30f468dc67e4b3583c9fbe388db34b65 | 656243ae84ca3a2280cc9cc3aad95afca8e10565 | /Code/CryEngine/CryAction/Network/GameStatsConfig.cpp | 80cf46f9f26d4d40ec37c67b8e4eecbaadd11fa4 | [] | no_license | NightOwlsEntertainment/PetBox_A_Journey_to_Conquer_Elementary_Algebra | 914ff61bb210862401acb4d3a2eb19d323b00548 | 8383c5c1162d02310f460a1359f04891e5e85bff | refs/heads/master | 2021-01-22T09:48:55.961703 | 2015-11-11T11:26:27 | 2015-11-11T11:26:27 | 45,846,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,081 | cpp | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2006.
-------------------------------------------------------------------------
$Id$
$DateTime$
Description:
----------------------------------------------------------------------... | [
"jonathan.v.mendoza@gmail.com"
] | jonathan.v.mendoza@gmail.com |
28db55f8a2e9e760053fa616b91ce8352d614906 | 275a4fd85a1d85e6cfbfdc22adf6f1cb4bfb9360 | /shared/ClanLib-2.0/Sources/API/Core/Math/hash_functions.h | 9952ef569267a72224560f6d7fb4a2ca3828fd7d | [
"LicenseRef-scancode-unknown-license-reference",
"XFree86-1.1"
] | permissive | fatalfeel/proton_sdk_source | 20656e1df64b29cfe0fc3d15f8b36cf1358704c4 | 15addf2c7f9b137788322d609b7df0506c767f68 | refs/heads/master | 2021-08-03T07:14:18.079209 | 2021-07-23T02:35:54 | 2021-07-23T02:35:54 | 17,131,205 | 20 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,893 | h | /*
** ClanLib SDK
** Copyright (c) 1997-2010 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | [
"fatalfeel@hotmail.com"
] | fatalfeel@hotmail.com |
ea18fa5c2c28ca2dd764f90cb92b9367d45c2586 | c5843992e233b92e90b53bd8a90a9e68bfc1f6d6 | /code/alma/ASDM/Entity.cc | ed65dd749f44acd779f8925687c1d2ab46f8ba04 | [] | no_license | pkgw/casa | 17662807d3f9b5c6b57bf3e36de3b804e202c8d3 | 0f676fa7b080a9815a0b57567fd4e16cfb69782d | refs/heads/master | 2021-09-25T18:06:54.510905 | 2017-08-16T21:53:54 | 2017-08-16T21:53:54 | 100,752,745 | 2 | 1 | null | 2020-02-24T18:50:59 | 2017-08-18T21:51:10 | C++ | UTF-8 | C++ | false | false | 7,560 | cc | /*
* ALMA - Atacama Large Millimeter Array
* (c) European Southern Observatory, 2002
* (c) Associated Universities Inc., 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* Copyright by AUI (in the framework of the ALMA collaboration),
* All rights reserved.
*
* This library is free softwar... | [
"srankin@nrao.edu"
] | srankin@nrao.edu |
42b9726a6abb0a882fa63293bf433672ef8fc411 | b4408b0f5a77250dbda7db6958ae05cc84e4c293 | /CRT_Lalitmatolia_DSA_fundamentals/Day-6/3 PM - 5 PM/P16.cpp | f16b548fc1ae49aedb6b7a493f7b04f2e9d2ed77 | [] | no_license | sakshamtaneja21/JU-notes | 3b61a222c5264cbfe470d06d3158188438c7c2ff | 74eb5f12979b5ffde8b7e85f661217a641acda98 | refs/heads/master | 2022-12-21T16:03:18.780927 | 2020-09-24T06:24:56 | 2020-09-24T06:24:56 | 287,213,254 | 1 | 1 | null | 2020-08-13T08:01:25 | 2020-08-13T07:38:25 | HTML | UTF-8 | C++ | false | false | 113 | cpp | #include<iostream>
using namespace std;
int func(void);
int main()
{
func();
}
int func()
{
printf("Hello");
}
| [
"sakshamtaneja7861@gmail.com"
] | sakshamtaneja7861@gmail.com |
17aaca4417fc1a7a0a3f2b4ca3e85b86b7c06e9d | 427f48b76d1b312cff7af2d9b535ea333e8d154e | /cpp/keyword_not.cpp | 5140d472357e247e42c880549de2cc8e4aa29a80 | [
"MIT"
] | permissive | rpuntaie/c-examples | 8925146dd1a59edb137c6240363e2794eccce004 | 385b3c792e5b39f81a187870100ed6401520a404 | refs/heads/main | 2023-05-31T15:29:38.919736 | 2021-06-28T16:53:07 | 2021-06-28T16:53:07 | 381,098,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | /*
g++ --std=c++20 -pthread -o ../_build/cpp/keyword_not.exe ./cpp/keyword_not.cpp && (cd ../_build/cpp/;./keyword_not.exe)
https://en.cppreference.com/w/cpp/keyword/not
*/
#include <iostream>
void show(bool z, const char* s, int n)
{
const char* r{z ? " true " : " false "};
if (n == 0) std::cout << "┌────────... | [
"roland.puntaier@gmail.com"
] | roland.puntaier@gmail.com |
7b07c8992b836d001b3f61740365b74e729550e4 | d758692be61e07e6cbd8f4b60a3fe57c44896ce9 | /src/VertexRecolor/main.cpp | 016da92f192cec65a1e131871703872ea75304ce | [] | no_license | bartounet/RedCloud | 2609ac66a02fcb8115bee926828feeab51ef289c | ce8c78014a427d0dde053cd3da98f1e72f136c3f | refs/heads/master | 2020-04-04T01:51:43.265455 | 2011-11-28T10:16:32 | 2011-11-28T10:16:32 | 2,449,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp |
#include "../common/mesh_file_helper.h"
#include "vertex_recolor.h"
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <string.h>
// ============================================================================
// ----------------------------------------------------------------------------
// ========... | [
"bart00n2@hotmail.com"
] | bart00n2@hotmail.com |
9b6737d9261e9fb10b90c87d0364871e9a809b5f | 50408982d0f42547695a4979c0b44761dcca0a0a | /src/Engine/Property/Property.cpp | e921392757a286b20887226422519f057d4a208e | [] | no_license | AssemblyJohn/Tritranium | 1c74e07e239d89d8baa8000cb1be967eeefd49ac | 71b60a3f20b7a24df99196342f5260fea23b96a1 | refs/heads/master | 2020-12-02T08:06:15.297670 | 2017-08-03T06:30:30 | 2017-08-03T06:30:30 | 96,768,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | /**
* Copyright (c) 2015 Lazu Ioan-Bogdan
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial... | [
"ioan.bogdann@gmail.com"
] | ioan.bogdann@gmail.com |
e0d28602098cc3b85734586861bac3a09aa09679 | 08a78eb7b0e919f30624553541e1d5cebdae5bb1 | /SecureSocket/Certificate.cpp | 982e5ee5ba5dfe1f7d020e1f8ed797e7874be39c | [] | no_license | fadinglr/WinSocket | 10ee6228b6701d0aade0b17d9f66bee9ac086565 | 35c5a7bd409fa7306b547400131da44efebd4919 | refs/heads/master | 2023-03-17T02:58:32.568777 | 2020-09-22T15:51:43 | 2020-09-22T15:51:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include "Certificate.h"
#include "Log.h"
#pragma comment(lib, "Crypt32.lib")
//TODO: Save a (name, cert_context) pair in a map and find a name in the map first.
PCCERT_CONTEXT My::Certificate::get(const wchar_t * name)
{
//NOTE: For UNICODE, AsCertOpenStore virtually has only an "A" version API while
//CertF... | [
"louirobert@gmail.com"
] | louirobert@gmail.com |
e96fd7119eabc1db00b64ac23fbad7bee7e2f550 | b6b62862387c9bb49b94e3a600b6cf2e6b99cec6 | /hiro_sensor/src/vision_sensor.cpp | ba6d05e16ff88c41f8861c2ea962fd820cea3ab9 | [] | no_license | torrr/hiroken-ros-pkg | b93bf2ca829d193ec5c4d02558f64113bd7e983f | ab47f062a4d293dccf2db8a51f239894cdbf46e1 | refs/heads/master | 2021-01-15T22:34:29.643229 | 2012-12-18T01:03:46 | 2012-12-18T01:03:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,854 | cpp | #include <ros/ros.h>
#include <tf/transform_broadcaster.h>
#include <tf/transform_datatypes.h>
#include <arm_navigation_msgs/CollisionObject.h>
#include <arm_navigation_msgs/Shape.h>
#include <arm_navigation_msgs/SetPlanningSceneDiff.h>
#include <arm_navigation_msgs/PlanningScene.h>
#include "planning_environment/m... | [
"vektor.dewanto@gmail.com"
] | vektor.dewanto@gmail.com |
76f0594a238303dff0cc5dc4b3cd8b838585cb03 | f1eb9f4b34b2bc69bbbdeba3d03f46ac3f908d6d | /Game/GameObject.cpp | c32d1136a5d5168b4f77033895f5927d2981c16f | [] | no_license | RichardMarks/48h2009MiniRPGJamEntry | a89df33901d4d1e63f93a52a56f05a35a8607a94 | 0db759d3fd88682884129cb06e05e3fa51419008 | refs/heads/master | 2016-09-06T11:49:15.281890 | 2009-03-03T00:48:15 | 2009-03-03T00:48:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp |
// CODESTYLE: v2.0
// GameObject.cpp
// Project: 48h Contest LO-Fi Mini-RPG Game Project (GAME)
// Author: Richard Marks
// Purpose: the class that defines a game object
#include "GameLibrary.h"
namespace GAME
{
GameObject::GameObject(const char* frameImagePathName,
int frameWidth, int frameHeight,
int frame... | [
"ccpsceo@gmail.com"
] | ccpsceo@gmail.com |
0b8cd7f22bc7f13afc988ad666bb71ce5cfc39de | 8d17ee641eeca4e0a7c46a4de7ae60bdfc23dd42 | /ThTank_src/shape.cpp | 27eb898353beb2a6ada4bdab894ee37f32573568 | [] | no_license | vaskot1986/ThTank | 14940311c282ca6ac77859992399c4f8238dfd76 | 0842376e2fa08d1da784aa67de9bbf8bf3f6acc7 | refs/heads/master | 2020-05-20T06:04:01.042013 | 2016-09-12T13:48:50 | 2016-09-12T13:48:50 | 68,010,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,033 | cpp | //The class shape is responsible for drawing the cursor and other shapes in the field such as sources or microphones.
//The cursor may appear with different shapes depending on the action which is being performed (adding a wall, moving a source...).
#include "shape.h"
//constructors
Shape::Shape(ShapeType shapeTypeIn... | [
"vazquez.arnau@gmail.com"
] | vazquez.arnau@gmail.com |
1155f2569de4b438985f7d6a5b40858e9752b41b | b9ee3678f7fc09f3678de32a77ca24c0e060640c | /TuneCoach/pitch_detection/PitchDetector.cpp | 08991a88990c49389d63819fba929efe053ee288 | [] | no_license | bhostetler18/TuneCoach | 6fcbe05569c8ae899789c5e9b4a2629bc871d1df | a226f94903adf2894a41588892420a7496872e92 | refs/heads/master | 2022-11-24T00:25:46.912378 | 2020-08-02T03:49:18 | 2020-08-02T03:49:18 | 268,617,502 | 2 | 1 | null | 2020-12-17T23:29:21 | 2020-06-01T19:49:22 | Python | UTF-8 | C++ | false | false | 1,182 | cpp | #include "PitchDetector.h"
#include "processing_utilities.h"
PitchDetector::PitchDetector(int sample_rate, int buffer_size, double lowest_freq)
{
this->sample_rate = sample_rate;
this->buffer_size = buffer_size;
this->nsdf_size = hertz_to_lag(lowest_freq, sample_rate);
this->nsdf = new float[nsdf_size]... | [
"bhostetler@ufl.edu"
] | bhostetler@ufl.edu |
6cd5a3b9879b0a8d5b6b8ab2bb84d2c8b1062e01 | 51af8dc7469ca5b86cc6c3a811abe880e951450a | /Box2DSource/Testbed/Tests/AngryBirds.h | c768354265613d7ea4d15c08934a7778f8d34025 | [
"Zlib"
] | permissive | troist/abai | f21184397f33e8d734347ef02ca2a87823abb7c9 | 53fdd44d4498e6ff1139b8eb0b1668817440c81c | refs/heads/master | 2021-01-01T05:39:59.954675 | 2013-05-12T18:55:56 | 2013-05-12T18:55:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,047 | h |
#include <iostream>
#include <math.h>
#include <stdlib.h>
#include "Level.h"
#include "AI.h"
#include "LevelStaticsClass.h"
#ifndef ANGRYBIRDSTEST_H
#define ANGRYBIRDSTEST_H
#define DEGTORAD 0.0174532925199432957f
#define RADTODEG 57.295779513082320876f
#define BLOCKCOUNT 6
#define SIZESCALE 40
#define XLAUNCHORI... | [
"troist@gmail.com"
] | troist@gmail.com |
bfeb289781aa9b0de33d86137bd6843f4d65137c | 88a6e97fac8fa69f238dc4ce5c42947b781ec21a | /src/Demand.h | 9c47b827b2fd3f075b3c4e6360f958c25a654957 | [] | no_license | gi-ux/EON_Project | a675ba07fbf1bb92deaf410e592cf86d874bd6d0 | 4e4dc1414c7c9c841a06618834e5950e30b9caf4 | refs/heads/main | 2023-05-09T01:56:41.089297 | 2021-05-25T18:59:03 | 2021-05-25T18:59:03 | 352,982,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | h | //
// Created by Thefefo3 on 20/04/2021.
//
#ifndef MAIN_CPP_DEMAND_H
#define MAIN_CPP_DEMAND_H
class Demand {
public:
int id_from;
int id_to;
int dem;
Demand(int idFrom, int idTo, int dem);
};
#endif //MAIN_CPP_DEMAND_H
| [
"federicogiobbi@gmail.com"
] | federicogiobbi@gmail.com |
8f674c2ef1bfdd721f85923442d19badab125ab6 | 7c1dc9907f6b009a87abb5a8a50e771a56b86bf4 | /DataStructure/codeforces/start4_1.cpp | aeeb22620becfe7633d0b087b7bbdd53800da8c8 | [] | no_license | TarunSaini063/Coding | 4b6a022a23488bbf5a4a1a746d865388095707ab | cd0abd63b469ab7f3be52eca0b5305a49c3f25b6 | refs/heads/master | 2021-08-22T17:41:58.152521 | 2021-05-22T08:58:28 | 2021-05-22T08:58:28 | 252,940,387 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ld double
#define ll long long
#define pb emplace_back
#define mk make_pair
#define mod 1000000007
#define ff first
#define ss second
#define FIO ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define all(x) x.begin(),x.end()
ll power(ll a, ll b) {... | [
"tsaini063@outlook.com"
] | tsaini063@outlook.com |
e1a5c9ab1779496bdbc5ed2459136091802f385b | aa1bbad6e9a2c0f359719c31487cbecd35e07b70 | /Csited01/Csited01/Csited01.WindowsPhone/Common/RelayCommand.h | 9b2e9204249713e9d9998a8427761617a09df10d | [] | no_license | antoalmobeni/MetroCsited | cdb8635f86a257a4546d61080236109bb72edb59 | acefd8fea28f266c00f51a621e86263138439893 | refs/heads/master | 2021-01-22T02:07:56.182129 | 2015-03-17T14:35:27 | 2015-03-17T14:35:27 | 32,211,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | h | //
// RelayCommand.h
// Declaration of the RelayCommand and associated classes
//
#pragma once
// <summary>
// A command whose sole purpose is to relay its functionality
// to other objects by invoking delegates.
// The default return value for the CanExecute method is 'true'.
// <see cref="RaiseCanExecuteChanged"... | [
"antoalmobeni@msn.com"
] | antoalmobeni@msn.com |
8cf052343a364322c1ac3d07c513023473d83101 | 745f4ab36df82211cdda98cf3240116f99d72648 | /DoWhileNestedLoop.cpp | 75074fc38ee35f93596d8ba98c2297c62d7df387 | [] | no_license | GhulamMustafaGM/ILoveProgramming | c270ac73c42d0e72384043d2769cc4960681a391 | 516fd9cc113d0edadc6fda0e0d545fa08e34e209 | refs/heads/master | 2023-01-02T01:32:47.158055 | 2020-10-26T14:30:18 | 2020-10-26T14:30:18 | 216,835,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | // Do-While loop program
#include <iostream>
using namespace std;
int main ()
{
int number = 1;
do {
int k = 1;
do {
cout << number << endl;
k++;
} while( k <= 3);
number++;
}while ( number <= 3);
}
| [
"mustafaji@gmail.com"
] | mustafaji@gmail.com |
5ee790f7684cfc41f8f384bf818129adbbd71372 | e0b7366115b0b50f2b012eb47cf71f002da8297c | /Deepanshu/csesCoinPiles.cpp | 0be6a372bffc8367bb1366017d833ee8d36a221a | [] | no_license | dolamanee6122/cses_solution | d8d5cb1cf89cf5b2af7148106b2ba6ba73bba9e2 | b14638278031743a8755ee4be3c26a77a85ead70 | refs/heads/main | 2023-04-19T21:09:52.036059 | 2021-05-08T06:13:34 | 2021-05-08T06:13:34 | 363,063,982 | 3 | 3 | null | 2021-05-08T06:13:35 | 2021-04-30T07:37:29 | C++ | UTF-8 | C++ | false | false | 2,606 | cpp | #include<bits/stdc++.h>
#include <sstream>
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define rep(i,a,b) for(ll i = a; i <= b; ++i)
#define fo(i,a,b) for(int i = a; i<= b; ++i)
#define ull unsigned long long int
#define ll long long
#define all(a) a.begin(),a.end()
using namespace std;
t... | [
"noreply@github.com"
] | dolamanee6122.noreply@github.com |
4412ff202acc50ec19150354134b140d3a74a049 | 1e7b41133479a63b664d673487883a40f2f49c16 | /test/tmp/fastset_test_runner.cpp | 68020be45b232d42b2864d0850485059260fb0bb | [] | no_license | Hansuzu/tlab | a54eebb4e45eaa558de26da0bf27699c8560bfe7 | e2e7845e98fa8a66dc1beef0c55fa7c7db1ba646 | refs/heads/master | 2021-09-08T12:15:26.887431 | 2018-03-09T14:51:01 | 2018-03-09T14:51:01 | 118,141,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | /* Generated file, do not edit */
#ifndef CXXTEST_RUNNING
#define CXXTEST_RUNNING
#endif
#define _CXXTEST_HAVE_STD
#include <cxxtest/TestListener.h>
#include <cxxtest/TestTracker.h>
#include <cxxtest/TestRunner.h>
#include <cxxtest/RealDescriptions.h>
#include <cxxtest/TestMain.h>
#include <cxxtest/ErrorPrinter.h>
i... | [
"hannes.ihalainen@gmail.com"
] | hannes.ihalainen@gmail.com |
bb199e4b8a3afe7cf1b85d63545f8f1e3c5deef6 | 4aea8b563ac509322c48a1a7d99cb4d6753ff1ae | /src/matrix.cpp | 150c5fcca5b24e55c0404a8e6ab64c8bd48aa83b | [] | no_license | MasterTaffer/Coppery | 14fbb7bf6b6dbe4262113531641204de49556ca9 | 6193a25025c928d025ddaac470a9e76a075a178b | refs/heads/master | 2021-07-22T11:08:51.146188 | 2017-10-31T15:42:35 | 2017-10-31T15:42:35 | 109,015,257 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include "matrix.hpp"
Matrix4 Matrix4::calculateOrtho(Vector2f dimensions, float zFar, float zNear)
{
Matrix4 mat4;
mat4.array[0][0]=2.0f/dimensions.x;
mat4.array[1][0]=0;
mat4.array[2][0]=0;
mat4.array[3][0]=-1;
mat4.array[0][1]=0;
mat4.array[1][1]=-2.0f/dimensions.y;
mat4.array[2][... | [
"odestrzo@gmail.com"
] | odestrzo@gmail.com |
6f170e7903eccdd62e96542618f047eb074c1c70 | 943e62c9ce940621865061d10b10121e83bad352 | /hardware/qcom/camera/msm8998/QCamera2/HAL/QCameraChannel.cpp | a126e012f85ebe9f4718ffd14a845f5ecf16468f | [] | no_license | 10moons/10moons_rk3399 | 870c91f588cd06dbaa8de76719315233be658e07 | 00275b54ae53b749206ba755134752e2b14086a1 | refs/heads/master | 2020-03-21T20:13:22.755674 | 2018-07-02T08:47:40 | 2018-07-02T08:47:40 | 138,994,301 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 65,794 | cpp | /* Copyright (c) 2012-2016, 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 o... | [
"zengds@10moons.com"
] | zengds@10moons.com |
0774a93a181a863d3728514998d1e0cdbcc90262 | 8d41d13827c82ab5316ec3ea9f3a9e4e39205505 | /server/simpleClient/Client.hpp | 5b4918a4fc5f799334ac21f64c29f683811bdcea | [] | no_license | Gettor/ClientServerRepo | b539a6a0aad17a5781ed2fe346f3959939efd08f | 9f640081a2679b589f637a496565e324b9015893 | refs/heads/master | 2021-01-13T01:30:13.362926 | 2015-06-04T16:00:19 | 2015-06-04T16:00:19 | 22,870,747 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | hpp | #ifndef CLIENT_HPP_
#define CLIENT_HPP_
#include <memory>
#include <string>
#include <ctime>
#include <chrono>
#include <ratio>
#include "CommunicationService.hpp"
#include "IKeyboardController.hpp"
#include "common/utilities/Console.hpp"
#include "common/messages/MessageUtilities.hpp"
using namespace std::chrono;
... | [
"sdobroc@gmail.com"
] | sdobroc@gmail.com |
fc04b0853ed8e4f60cde77ae7a2c381975e71920 | 129b352f17eb3f6a215a94fa0b654acc5c3ba960 | /experimental/phase0/userspace-driver/test/image-manipulation/open-image.cpp | ef3f011c40166f7cf2afd869a19a0905f4b00d11 | [] | no_license | aldwinhermanudin/BukuBuku | fa2ce07421538cca484ed48ecdd4c57d627003b4 | 661e2c9560224c3c6b1fa151338091137802b969 | refs/heads/master | 2022-11-25T11:19:18.386969 | 2020-07-29T06:09:34 | 2020-07-29T06:09:34 | 273,335,236 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | //Uncomment the following line if you are compiling this code in Visual Studio
//#include "stdafx.h"
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <utility>
using namespace cv;
using namespace std;
int main(int argc, char** argv){
// Read the image file
cv:... | [
"aldwin@hermanudin.com"
] | aldwin@hermanudin.com |
0b3112a93fe35e01a55a4ae58510e8e4b79cfa22 | c6efa1e74918806942f893fbcfb8a73a7dee0bf7 | /src/common/datatypes/test/PathTest.cpp | bc09931be27d2fe7f59818c00cc13d7b7ea821d3 | [
"Apache-2.0"
] | permissive | panda-sheep/nebula-common | 1d9ec1e1591d52b796bc4badcaebc7e45f990ac9 | ca65cbdd7c04fa047f7a3897a3585795a74e27ae | refs/heads/master | 2023-07-11T05:33:41.739690 | 2020-09-15T14:00:20 | 2020-09-15T14:00:20 | 288,140,909 | 0 | 0 | null | 2020-08-17T09:42:06 | 2020-08-17T09:42:06 | null | UTF-8 | C++ | false | false | 3,485 | cpp | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "common/base/Base.h"
#include <gtest/gtest.h>
#include "common/datatypes/Path.h"
namespace nebula {
TEST(Path,... | [
"noreply@github.com"
] | panda-sheep.noreply@github.com |
7d161aa84bc49b98430a8c907cf3e0029619bb87 | 591c8f92bde7d42af34d7c0c4ba4b202a17a842b | /FilterSln/SourceFilter/MyOutputPin.h | e7d41df49ca22e3f889bc2834db12211af4fc472 | [] | no_license | lijiqi/FilterSln | e0b66b6ae87b31e7af71fd7e1a3a241ca984bf69 | 4e21ba9166d2e35b9ecbc456a195d22780dcbfec | refs/heads/master | 2020-05-17T16:39:23.894193 | 2014-10-14T10:43:51 | 2014-10-14T10:43:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,398 | h | #pragma once
#include <streams.h>
#include "Filter.h"
//MyOutputPin.h
class CMyOutputPin
//CSource的派生类都使用CSourceStream的派生类做为pin
:public CSourceStream
{
public:
CMyOutputPin(HRESULT *phr, CSource *pFilter);
~CMyOutputPin(void);
//填充样本函数
//参数pMediaSample就是要传递到下一个Filter输入pin的样本
//把数据填充到pMediaSam... | [
"lijiqi006@163.com"
] | lijiqi006@163.com |
a5d082aacb378cd1ca9734e29bd34457964e3b97 | 6728394d63024d85217726e08e292be78e986cf9 | /kino/dbone/dbclient/Column.h | 74e367a0a933c1cbff570a437844dc121ed9dc6e | [] | no_license | mustafirus/oldprojects | 5632c886d98d0ed38469327c05690d0830a72070 | 51180b540b3a19964ae5a1776a743ca0bb9de204 | refs/heads/master | 2021-07-25T16:18:03.885015 | 2013-03-24T09:52:27 | 2013-03-24T09:52:27 | 109,653,046 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,224 | h | // Column.h: interface for the Column class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COLUMN_H__2E28BAF5_43DC_11D2_A71D_204C4F4F5020__INCLUDED_)
#define AFX_COLUMN_H__2E28BAF5_43DC_11D2_A71D_204C4F4F5020__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // ... | [
"7886143+mustafirus@users.noreply.github.com"
] | 7886143+mustafirus@users.noreply.github.com |
a3d9bbbfd5f13469457a5f52d51774a9f9ef916e | d7a17741621bd8ce691d4b5b18ac77644986d65f | /src/interface/TWNimiqAddress.cpp | 4685e46373cc8aa684dde4509f389e3b2fd7ba17 | [
"MIT"
] | permissive | bspanda98/trust-wallet-core | 5acc3595cb01303a391ed64263c2820d7be00e7f | 5ad008827a16036cbdf2475a1872face225d6a62 | refs/heads/master | 2021-10-26T02:25:16.248123 | 2019-04-01T17:22:09 | 2019-04-01T17:45:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,980 | cpp | // Copyright © 2017-2019 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include <TrustWalletCore/TWNimiqAddress.h>
#include "../N... | [
"167236+alejandro-isaza@users.noreply.github.com"
] | 167236+alejandro-isaza@users.noreply.github.com |
efbc26bd83b45f00beec4c6ffcfc13032990e1ab | c56e001d33665f2b945fcd6a6b37197f9c25d32c | /Fifth Year/Dissertation/Code/pointing_experiment_v2/pointing_experiment/linux/my_application.cc | c69aef83e9ff83743f6b6f8a3bf0631816eea109 | [] | no_license | oisinfarrell00/College | fd50561848893ee1cf171ebda1dbdeb7f4e32695 | 11fd4d4321bc217e26966a5a39f25dd35fb7f704 | refs/heads/master | 2023-05-03T13:37:18.053362 | 2023-04-13T17:15:28 | 2023-04-13T17:15:28 | 241,374,870 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,736 | cc | #include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#endif
#include "flutter/generated_plugin_registrant.h"
struct _MyApplication {
GtkApplication parent_instance;
char** dart_entrypoint_arguments;
};
G_DEFINE_TYPE(MyApplication, my_application, GT... | [
"oisin.farrell2000@gmail.com"
] | oisin.farrell2000@gmail.com |
27c3ccb2a281bfdae3188272d7857a6954ba197e | 54dea80bb8496d5f9c9b1950c771dda15396ce7a | /BST/remove all nodes outside the given range.cpp | 47f1f85dee3738125f193f1aed4a07e1cca75453 | [] | no_license | himanshu14263/DS-CODES- | 97139f1896dc098eab3bca9b664989637084f9b3 | 4d91019918dc4a72672c440b03c570dc9088173d | refs/heads/master | 2021-06-17T10:46:20.468585 | 2017-06-06T18:17:29 | 2017-06-06T18:17:29 | 65,227,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | // PROBLEM :: REMOVE ALL KEYS OUTSIDE THE GIVEN RANGE
#include<bits/stdc++.h>
using namespace std;
struct node
{
int data;
node*left,*right;
};
node*newnode(int data)
{
node*n=new node;
n->data=data;
n->left=n->right=NULL;
return n;
}
// NOTE :: HERE WE USED INSERT FUNCTION THAT RECEIVES REFERENCE OF ROOT NODE
... | [
"lelouch0lampourge@gmail.com"
] | lelouch0lampourge@gmail.com |
acbfd4687f64494760ffe86c1d4925be031d0de7 | 774e1532a0fc264bf745995278212b4fc6ea9083 | /ex_cubemap/cubemap.hpp | 222281e94decbdac6d2b7091ee7696e1aa918c00 | [] | no_license | donghaoren/al_proj | a573f620d5b4d8df6299abd55855ae8f57754431 | e19d49d07aa28bfca79ee4f13edea2bfd9903b69 | refs/heads/master | 2021-01-01T16:47:08.825886 | 2017-07-21T07:38:28 | 2017-07-21T07:38:28 | 97,680,830 | 0 | 0 | null | 2017-07-19T06:28:50 | 2017-07-19T06:28:50 | null | UTF-8 | C++ | false | false | 7,046 | hpp | #ifndef INLCUDE_AL_CUBEMAP_HPP
#define INLCUDE_AL_CUBEMAP_HPP
#include "al/core/math/al_Matrix4.hpp"
#include "al/core/gl/al_Viewpoint.hpp"
#include "al/core/gl/al_FBO.hpp"
#include "al/core/gl/al_Shader.hpp"
#include "al/core/gl/al_Texture.hpp"
#include "al/core/gl/al_VAOMesh.hpp"
#include "al/core/gl/al_Graphics.hpp... | [
"younkeehong@gmail.com"
] | younkeehong@gmail.com |
5845dd5e85113889593d39a00709dda6aa0ed3d5 | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/skill/SimpleCureSkill.cpp | 7d9aea9bd35b12740f1748c581fda18afb95690b | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 12,465 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : SimpleCureSkill.cpp
// Written by : excel96
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "SimpleCureSkill.h"
#include "EffectBloodDrain.h"
#include "EffectAfterm... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
8929a1d660f82c4c48bb94ae12d5be63dfd6d63d | fc1fb34b183981f5285dd166fb3969a36c796e67 | /practical-04/main-1-1.cpp | cd61647b6cdca4e49ed7838235cd14dc91489cdd | [] | no_license | jinshanwang/OOP | 177deb490c2e523d3ebadb42bff38cf12fc13d7d | 424839a8bdda5ccd1ef5563bfa668b0d93376167 | refs/heads/master | 2021-04-06T09:37:58.115761 | 2018-03-13T04:39:13 | 2018-03-13T04:39:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include <iostream>
#include <string>
using namespace std;
extern void copy_2d_strings(string first[][2],string second[][2],int n);
int main(){
const int n=3;
string first[n][2]={
"1","2","3","4","5","6"
};
string second[n][2];
copy_2d_strings(first,second,3);
return 0;
... | [
"noreply@github.com"
] | jinshanwang.noreply@github.com |
76456a13dceed334d38a59d53efd163b8e4f9d33 | ba44a3eb7b9b81ada51e4dd3d5651e6ee7d5b611 | /floyd_warshall.cpp | 140c2a986919100d1439a42861c36a1fa0e1c240 | [] | no_license | SajibTalukder2k16/Graph-Theory | ffd2bef1210c4ea698b911bf2ab4a34956c3801c | 1d1d228e1566fe27667888a76900c0bb27a64b15 | refs/heads/master | 2020-03-28T20:38:58.498790 | 2018-10-07T08:14:59 | 2018-10-07T08:14:59 | 149,090,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,071 | cpp | #include<bits/stdc++.h>
using namespace std;
#define maxx 10000
//int matrix[maxx][maxx];
int Next[maxx][maxx];
vector<pair<int,int>>vec_check;
pair<int,int>pr;
vector<int>rem;
void find_path(int i,int j)
{
if(i!=j)
{
cout<<i<<" ";
int k=i;
i=Next[i][j];
vec_check.... | [
"noreply@github.com"
] | SajibTalukder2k16.noreply@github.com |
70bc267aea028102b7c88ea1dc72648664c6e61c | fb928c49123ad63298a21a171012fff836dddf39 | /cpp/laborator3/laborator3.cpp | 4b56d3480fee4ba25ba6f5168fb00e40c32973b4 | [] | no_license | pikacescu/nica | 10fd55fde05156f22c19701f9c9514914e15bf06 | 66e3a251a2a6448d66bc1cd71f20298dd09b0966 | refs/heads/master | 2023-01-11T15:04:08.114173 | 2020-11-08T18:19:00 | 2020-11-08T18:19:00 | 266,853,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,371 | cpp | #include <iostream>
#include <cmath>
#include <ctime>
using namespace std;
void initrand()
{
time_t tm;
localtime(&tm);
srand (time(&tm));
}
int main()
{
initrand();
//#if 0
cout << "Programarea structurata" << endl;
cout << "Filipski Nicoleta" << endl << endl;
{
unsigned n;
cout << "Int... | [
"nicoleta.filipski@gmail.com"
] | nicoleta.filipski@gmail.com |
94b0176159793c7fd46894dbd84d9d722c9fb462 | bf5a1bd1d1daa9f158a17ea6367de1d90fbc5db9 | /src/random_driver.cpp | 204c153de5b977487e1dcf2dacfc593938040521 | [] | no_license | irl-github/commu_rover | dfaa7d509824e022d8e932e6d88a824c2546ee68 | 95cf45177b2041b86481fff351cf4d78910a25fa | refs/heads/master | 2020-08-04T21:29:58.485750 | 2019-12-13T03:01:53 | 2019-12-13T03:01:53 | 212,284,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,491 | cpp | #include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <stdlib.h>
#include <signal.h>
void mySigintHandler(int sig)
{
// Do some custom action.
// For example, publish a stop message to some other nodes.
// All the default sigint handler does is call shutdown()
//ros::init("turn_off_rand_husky");... | [
"ueda.ayaka@irl.sys.es.osaka-u.ac.jp"
] | ueda.ayaka@irl.sys.es.osaka-u.ac.jp |
a91bdf16bdbcc5f100d67288ad3e063c458c8dad | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_2666_squid-3.3.14.cpp | f3546a2d577672505fa8b0dced8da4de3583c750 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | void
htcpSpecifier::checkHit()
{
char *blk_end;
checkHitRequest = request;
if (NULL == checkHitRequest) {
debugs(31, 3, "htcpCheckHit: NO; failed to parse URL");
checkedHit(NullStoreEntry::getInstance());
return;
}
blk_end = req_hdrs + strlen(req_hdrs);
if (!checkHitRe... | [
"993273596@qq.com"
] | 993273596@qq.com |
4d535691d04c86f2a0b1f39d4e5a6653e885c938 | 77a08ec51aa16191986a739267fd9d4379bbb208 | /Multi-University/Multi-University2016/6/1008-1.cpp | 154bfa1b71366395b85d5ad6d952ce0db0d3163d | [] | no_license | cenariusxz/ACM-Coding | 8f698203db802f79578921b311b38346950ef0ca | dc09ac9adfb4b80d463bdc93f52b479a957154e6 | refs/heads/master | 2023-06-24T13:12:13.279255 | 2021-07-26T01:24:36 | 2021-07-26T01:24:36 | 185,567,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
#include<math.h>
using namespace std;
typedef long long ll;
const int maxn=1e3+5;
const int INF=0x3f3f3f3f;
const int mod=1e9+7;
ll dp[2][maxn][3][3];
int a[maxn];
int main(){
int T;
scanf("%d",&T);
while(T--){
int n,s;
scanf("%d%d",&n,&s);
for(int i=1... | [
"810988849@qq.com"
] | 810988849@qq.com |
9e2938423c2b0cfa36578406e050197fd9b27a83 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/folly/2017/4/Overload.h | de1f5354ee3f80f8f17c01a112aa4680221452e4 | [] | no_license | 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 | 2,014 | h | /*
* Copyright 2017 Facebook, Inc.
*
* 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... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
f730c1413463a6f6c24df17b602065f57ed54507 | 6dac9369d44799e368d866638433fbd17873dcf7 | /src/branches/01032005/vfs/VFSHandle_file.h | 2ec2adff9e78180822501ca5b52f05da4b798c04 | [] | no_license | christhomas/fusionengine | 286b33f2c6a7df785398ffbe7eea1c367e512b8d | 95422685027bb19986ba64c612049faa5899690e | refs/heads/master | 2020-04-05T22:52:07.491706 | 2006-10-24T11:21:28 | 2006-10-24T11:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,178 | h | #ifndef _VFSHANDLE_FILE_H_
#define _VFSHANDLE_FILE_H_
#include <vfs/VFSHandle.h>
#include <fstream>
#include <string>
#pragma warning(disable: 4800) //FIXME: what warning is this again?
class VFSTransport;
/** @ingroup VFSHandle_file_Group
* @brief Allows reading files from the local disk
*/
class ... | [
"chris_a_thomas@1bf15c89-c11e-0410-aefd-b6ca7aeaabe7"
] | chris_a_thomas@1bf15c89-c11e-0410-aefd-b6ca7aeaabe7 |
7d497c80fa18c3c91c23d88f1fdbe4b7be315d61 | 56a77194fc0cd6087b0c2ca1fb6dc0de64b8a58a | /applications/FluidDynamicsApplication/custom_strategies/schemes/velocity_bossak_adjoint_scheme.h | 73dfad8fa8124386f483a2dd0b2dc0e273531f11 | [
"BSD-3-Clause"
] | permissive | KratosMultiphysics/Kratos | 82b902a2266625b25f17239b42da958611a4b9c5 | 366949ec4e3651702edc6ac3061d2988f10dd271 | refs/heads/master | 2023-08-30T20:31:37.818693 | 2023-08-30T18:01:01 | 2023-08-30T18:01:01 | 81,815,495 | 994 | 285 | NOASSERTION | 2023-09-14T13:22:43 | 2017-02-13T10:58:24 | C++ | UTF-8 | C++ | false | false | 15,540 | h | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Suneth Warnakulasuriya
//
#if... | [
"suneth.warna@gmail.com"
] | suneth.warna@gmail.com |
57f9e3607e268516c6b82390f3141c3793812b15 | c2ec5cfee97b0c0ad1e8e937796a902677d80aa1 | /toolslib/Writer.cpp | f14eab5bd2cfcee82fb25384c9baf1d2d54cb3e0 | [] | no_license | Jaxo/yaxx | c737f069e90cf3722c3824fc80da88da44d51162 | 7b9bfc2a4f003c3ce060adf277704c1f10f23249 | refs/heads/master | 2020-04-06T06:43:36.223556 | 2014-09-10T16:48:52 | 2014-09-10T16:48:52 | 3,884,519 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,120 | cpp | /*
* $Id: Writer.cpp,v 1.8 2011-07-29 10:26:37 pgr Exp $
*
* Unicode and Multibyte ostream's
*/
/*---------+
| Includes |
+---------*/
#include <assert.h>
#include <new>
#include "Writer.h"
#ifdef TOOLS_NAMESPACE
namespace TOOLS_NAMESPACE {
#endif
/*-----------------------------------------------------------Writer:... | [
"pgr@jaxo.com"
] | pgr@jaxo.com |
d012709375d7078c4a9362aad3bad8f68088ce7b | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/include/llvm/ADT/GenericCycleImpl.h | 07ac1768ea278dbc8ac6b4832fb404174198c7dd | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 15,490 | h | //===- GenericCycleImpl.h -------------------------------------*- C++ -*---===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
49cee06122b8ca9d9e6abf39fb3babae66eadbec | 61241b54e9d072ce51d5471127f05b70319debd7 | /src/DesignPatterns_L2/RareFactory.h | d98388042a5c05cbcd475de2555761c8581b663f | [] | no_license | QLerin/L2 | 866199a353fed3c3acd2bea7d83351e2f25697f2 | 7a5fd3762b002cd7db3ab355d40f204cab3d3551 | refs/heads/master | 2020-04-10T13:27:46.807695 | 2016-12-20T07:50:26 | 2016-12-20T07:50:26 | 68,112,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #pragma once
#include "UsableFactory.h"
#include "ShiningGem.h"
#include "MediumPotion.h"
#include "FireEnchantment.h"
namespace l2
{
namespace gameobjects
{
class RareFactory : public UsableFactory
{
public:
virtual Gem * CreateGem() { return new ShiningG... | [
"lukastoliusis1@gmail.com"
] | lukastoliusis1@gmail.com |
bb983cbbe8db0f539acc7c8f24b41cbd2a11d561 | 72dce9393f8cb84f102e438eb9c2f67deab743c3 | /FuncFindFinal.h | ce207350d9b022e6246556669e9f8345d3a86f37 | [] | no_license | AnnopKTz/WTF-healty | 5b1e9fb8a5cd04516238cf38fb7e42420e45e4b0 | 0acab8289ff58ba61ae7fbbaf7dae1f2b4bad376 | refs/heads/master | 2020-03-10T06:11:30.563024 | 2018-04-27T07:05:38 | 2018-04-27T07:05:38 | 129,234,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,445 | h | #include <iostream>
#include <cmath>
#include<string>
#include<iomanip>
#include<cstdlib>
#include<fstream>
#include<vector>
#include<Windows.h>
using namespace std;
HANDLE h=GetStdHandle(STD_OUTPUT_HANDLE);
class FindAll{
public :
double return_bmi[2];
vector <int> menufood;
int caseactivity;
... | [
"noreply@github.com"
] | AnnopKTz.noreply@github.com |
aaf9a4c69237cf76a623008b1bcc8a4f13a0e82d | c89e122e553fd5f886febf9233ad920804304154 | /samplecode/class/Polygon_Inheritance.cpp | f6deb5af53942015df1aa86359faaba501a7cb0a | [] | no_license | prabhash1785/Cpp | ef6eaf2b14cdc040940a665b598efba0e0a68310 | 9534df99a53710773a28f601b827734fd4978236 | refs/heads/master | 2021-04-19T00:58:55.876380 | 2021-04-04T00:00:38 | 2021-04-04T00:00:38 | 30,288,796 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | //Simple program to show inheritance of two classes
#include <iostream>
using namespace std;
class Polygon {
protected:
int width, height;
public:
void setValues(int a, int b) {
width = a;
height = b;
}
};
class Triangle : public Polygon {
public:
int area() {
return width * heig... | [
"prabhashrathore@gmail.com"
] | prabhashrathore@gmail.com |
822a1276478f96de4cd49ecab8315fee0439a6ef | 4a7654be4e4c9fbf8f9b83cc141e0c618282004f | /include/Matrix.hpp | 9d17b5220b089160cf092920e307ef33d6251014 | [] | no_license | HO-COOH/CLBench | a0c781271cd3a9aca177a1828f7c0ad4a689d082 | 6c2088848aa9397e2761d6c5eb69275809f866cf | refs/heads/master | 2023-01-31T08:14:21.497129 | 2020-12-15T06:09:50 | 2020-12-15T06:09:50 | 321,569,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,112 | hpp | #pragma once
#include <iostream>
#include <algorithm>
#include <numeric>
namespace test::Benchmark::MatrixMultiplication
{
struct Matrix
{
float* data = nullptr;
size_t rows{};
size_t columns{};
bool noAlloc = false;
public:
struct NoAlloc {};
Matrix() = defa... | [
"szpeter@yeah.net"
] | szpeter@yeah.net |
b515142cd689be57b78a8cf47f8c11e162a50442 | 5cb45be18d88aeb02f35eedb78f57764b56c6d09 | /src/qt/optionsmodel.cpp | 56f0a9745a239428c49dd7555240dbf9fbe165a2 | [
"MIT"
] | permissive | bellaj/Rcoin | 1db7a44d952845a4ebfb989f30ace329c64728d4 | bbcf2f528a668ae9b1642effc8644ef8dca0f1a2 | refs/heads/master | 2021-07-13T02:34:42.143678 | 2017-10-13T23:06:08 | 2017-10-13T23:06:08 | 106,748,183 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 18,040 | cpp | // Copyright (c) 2011-2016 The Readercoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/readercoin-config.h"
#endif
#include "optionsmodel.h"
#include "readercoinun... | [
"bellaj.badr@gmail.com"
] | bellaj.badr@gmail.com |
b3498a5c8b22ca311ad816bdf573e9aa6cd3497f | 70194e2fa0d0ba37cc26e02a4469a53a95ce368e | /cpr/test/server.h | 16e0bbd791db7348d7a7e8914f3891b80fb4210c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | karnival/cpp-opencage-geocoder | 96d5399508cefeb5edfd626ebe9c997eac135daa | 5227359c3292630278fe92702be6ee91e9ca4c38 | refs/heads/master | 2021-05-11T20:52:23.624779 | 2019-05-04T17:46:30 | 2019-05-04T17:46:30 | 117,450,702 | 5 | 1 | MIT | 2018-06-19T13:34:30 | 2018-01-14T17:21:03 | C++ | UTF-8 | C++ | false | false | 312 | h | #ifndef CPR_TEST_SERVER_H
#define CPR_TEST_SERVER_H
#include <string>
#include <gtest/gtest.h>
#include <cpr/cpr.h>
using namespace cpr;
class Server: public ::testing::Environment {
public:
virtual void SetUp();
virtual void TearDown();
Url GetBaseUrl();
Url GetBaseUrlSSL();
};
#endif
| [
"david@calpol.us"
] | david@calpol.us |
1a2002df9c831bedfb0cb4d60ad7aa8992dc24bb | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/dmatreduce/total/DDb.cpp | 6b5ef82a17c885f02fe848cabc875575223e46b9 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,824 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatreduce/total/DDb.cpp
// \brief Source file for the DDb dense matrix total reduction operation math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This fil... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.