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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c847a4374dec5232ecf6e422f6a3fa374d3fcdcd | 0fceffd86e5eebcca6c9de8c6e15ffa355b34cc2 | /HavokOpenGL/HavokOpenGL/HvkOGLObj.cpp | 2ee09c3c098248f989b645cea90bc7cacbfbbfdb | [] | no_license | lxq2537664558/BallDropper | b40d9a3f731d7b0ddc18ebd6fd016f365072c738 | 424f871540b2282c62b4f00ad2506a8fd40cf9cc | refs/heads/master | 2021-01-22T20:00:20.860109 | 2014-05-02T17:22:04 | 2014-05-02T17:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | #include "HvkOGLObj.h"
HvkOGLObj::HvkOGLObj(HavokObj* havokObj){
hObj = havokObj;
angle = 0;
r = g = b = 0.5f;
}
HvkOGLObj::HvkOGLObj(HavokObj* havokObj, char* img){
hObj = havokObj;
angle = 0;
r = g = b = 0.5f;
LoadTextures *lt = new LoadTextures(img); //for texture
texture = lt->getTexture();
delete lt;
... | [
"rseymour8@gmail.com"
] | rseymour8@gmail.com |
c6303206455e0c0390cbb348f183b71b81582e38 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/include/octave-4.2.1/octave/lo-array-gripes.h | a934fa28d420492cf46ff03251c790bed103aeae | [
"MIT",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,752 | h | /*
Copyright (C) 2000-2017 John W. Eaton
This file is part of Octave.
Octave 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.
Octave is di... | [
"rvohra91@gmail.com"
] | rvohra91@gmail.com |
7305c4bfd048c32cc8babae08b531c81df6dcb8d | d61b37777151cae274b071f6af1a89356273cb61 | /CDAC/DS/DoubleEndedQueue.cpp | db9362f14b5ebd191f0a6db0682958fe00ddc591 | [] | no_license | Arun-A-Patil/CDAC | bb63cb308d5ba02011a9aa13ca962bbba8ee2e8a | fd1775ba4dc22931a3ca6fe9243182fb47fdf794 | refs/heads/master | 2023-02-25T09:17:29.000689 | 2021-02-02T17:42:59 | 2021-02-02T17:42:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,885 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
class Queue{
private:
int size;
int *arr;
int front;
int rear;
public:
Queue(){
size=0;
front=-1;
rear=-1;
}
Queue(int size){
this->size=size;
... | [
"nipun_madaan@yahoo.com"
] | nipun_madaan@yahoo.com |
cb0e7e99d3af9f27c262008c880d91b5bbdcbac8 | 0ed3ff478ea539c975438027f91737b2f0995736 | /garli/tags/0.952b2/src/utility.h | 1d7bc2c16fcbc54318e7c2c4c30b9994c51d19f9 | [] | no_license | zwickl/garli | a275d6fad15c0d3e5d12fe6821efbfff1e1c7520 | 65fb3e7e967109d1c0a3a9b3fa5eeb0df89285ff | refs/heads/master | 2022-09-24T16:39:32.643748 | 2022-09-15T23:11:54 | 2022-09-15T23:11:54 | 39,407,170 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,705 | h | #ifndef GAML_UTIL_HPP
#define GAML_UTIL_HPP
// code from MTH for allocating flattened matrices
#include "memchk.h"
#include <stdlib.h>
#include <cassert>
#define DBL_ALIGN 32
template<typename T> T ***New3DArray(unsigned f , unsigned s , unsigned t);
template<typename T> T **New2DArray(unsigned f , unsigned s);
temp... | [
"zwickl@f68b6e6a-deb8-11de-9f73-7335da764322"
] | zwickl@f68b6e6a-deb8-11de-9f73-7335da764322 |
44a558aac6fd6019698897640c03d082068f6695 | 11ffb89cf392367646a88844982d0dc06453eb7c | /Homework06/Dragon.h | 3dfdf5399012e7a91655a56afb8a87beb0640eda | [] | no_license | prog1261-2020/homework-atoledanoh | 0114bad2f773fab9191d678e3c1a9feba7e18453 | f600099876e01daede6f39a3bac3a9d68acb4f3c | refs/heads/master | 2020-12-09T22:09:01.933624 | 2020-03-22T23:52:55 | 2020-03-22T23:52:55 | 233,429,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #pragma once
#include "Animal.h"
class Dragon : public Animal {
public:
Dragon(std::string n);
int pet();
void speak() const override;
void move() override;
private:
int petted = 0;
};
| [
"55004603+atoledanoh@users.noreply.github.com"
] | 55004603+atoledanoh@users.noreply.github.com |
b2126d4f68cf9679ace3cd57fca87fb0d5f398e3 | 6c71067a78989f1d287368a5537609fd3f4200f3 | /qgis/include/ui/ui_qgsidentifyresultsbase.h | 8bd4dff2a1b0a401e6a7db53b9ce175b654d0372 | [] | no_license | 3DGISKing/MarineAlarmSystem | c12569d4f300dd8cc783fea4b66de69d8ea17139 | 0151edbe0fbb422d95a8675f3bbbfc1d215dfb27 | refs/heads/master | 2021-06-15T20:53:23.547139 | 2017-03-30T20:16:28 | 2017-03-30T20:16:28 | 86,743,988 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,556 | h | /********************************************************************************
** Form generated from reading UI file 'qgsidentifyresultsbase.ui'
**
** Created: Sat Jan 17 20:06:26 2015
** by: Qt User Interface Compiler version 4.8.0
**
** WARNING! All changes made in this file will be lost when recompili... | [
"wugis3@yahoo.com"
] | wugis3@yahoo.com |
2f75e2add20d9b66f0fe3b600aef1c82580cbde6 | c91e272cfd99013ef9d56acfa95f5aed39d5c943 | /codes-20180817T022617Z-001/ARM_codes/LEDS/led2/led2.cp | 2927ab07c5d6713a2130907580671b4a7f7c74a6 | [] | no_license | KhaledAbdelgalil/ITI-internship | 334a4d26e686f107abaaf7a002bfaf3a757f445a | 8393d2584948647914fa958d483e59f1ef41cdba | refs/heads/master | 2021-10-23T00:55:19.068152 | 2019-03-14T01:22:05 | 2019-03-14T01:22:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cp | #line 1 "C:/Users/pc2/Desktop/embded/microCforArm/led2/led2.c"
void main() {
GPIO_Digital_Output(&GPIOA_ODR,_GPIO_PINMASK_ALL);
GPIO_Digital_Output(&GPIOB_ODR,_GPIO_PINMASK_ALL);
GPIO_Digital_Output(&GPIOC_ODR,_GPIO_PINMASK_ALL);
GPIO_Digital_Output(&GPIOD_ODR,_GPIO_PINMASK_ALL);
GPIO_Digital_Output(&GPIOE_ODR,_GPIO_PI... | [
"khaled.abdelgalil96@gmail.com"
] | khaled.abdelgalil96@gmail.com |
a38a4a156ff1a5f78bfd385dd1174b05c6205593 | a4a018a69e15e2edd43d1c4331b611c46f7a9277 | /CodeChef/FCTRL.cpp | 9657dce29ac9565a8daf5a5f1229e02ad7cb84ee | [] | no_license | sanchitkum/algorithmic-solutions | 207765580d02869cd59ec577db8662a6752a40e2 | b1eebee2ca3a012caf5f3cb6aa5cd799113218e8 | refs/heads/master | 2016-09-05T17:17:55.031903 | 2016-03-01T02:10:18 | 2016-03-01T02:10:18 | 40,711,722 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include<stdio.h>
int main()
{
int n,i,cnt;
long unsigned no,div;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
cnt=0;
scanf("%lu",&no);
for(div=5;div<=no;div*=5)
cnt=cnt+(int)(no/div);
printf("%lu\n",cnt);
}
return 0;
} | [
"sanchitkum@gmail.com"
] | sanchitkum@gmail.com |
0ce03a6d485539a1e5ffef4639e74d0506dd03bd | 8e6d8ffb5f6ff074a00dcbef20f26684355fe1d1 | /Source/C3PhysicalImpl.h | 62164394d98eb7ecab6f9c22981113e42be2e94c | [
"MIT"
] | permissive | keelanstuart/Celerity | 53f2c02531fef8c2cd5005fedaacfce8494f3740 | e611d7abd663bcd6fac13533c4b3ebe055b6044f | refs/heads/master | 2023-08-03T05:15:46.873982 | 2023-08-01T15:43:13 | 2023-08-01T15:43:30 | 231,425,821 | 3 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,084 | h | // **************************************************************
// Celerity v3 Game / Visualization Engine Source File
//
// Copyright © 2001-2023, Keelan Stuart
#pragma once
#include <C3.h>
#include <C3Physical.h>
namespace c3
{
class PhysicalImpl : public Physical, props::IPropertyChangeListener... | [
"keelanstuart@gmail.com"
] | keelanstuart@gmail.com |
d56a62d3c018b034023c6d986d2aebf0ce791abd | 30e1dc84fe8c54d26ef4a1aff000a83af6f612be | /src/external/boost/boost_1_68_0/tools/bcp/copy_path.cpp | c65c1b3b5e72ed56916436a23ac4020c84b3099b | [
"BSL-1.0",
"LicenseRef-scancode-other-permissive",
"Zlib",
"Spencer-86",
"LicenseRef-scancode-mit-old-style",
"Jam",
"GPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-bison-exception-2.0",
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-public-domain",
... | permissive | Sitispeaks/turicreate | 0bda7c21ee97f5ae7dc09502f6a72abcb729536d | d42280b16cb466a608e7e723d8edfbe5977253b6 | refs/heads/main | 2023-05-19T17:55:21.938724 | 2021-06-14T17:53:17 | 2021-06-14T17:53:17 | 385,034,849 | 1 | 0 | BSD-3-Clause | 2021-07-11T19:23:21 | 2021-07-11T19:23:20 | null | UTF-8 | C++ | false | false | 7,871 | cpp | /*
*
* Copyright (c) 2003 Dr John Maddock
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
* This file implements the following:
* void bcp_implementation::copy_path(const ... | [
"znation@apple.com"
] | znation@apple.com |
63b26bbaee1633aa57fc358047709d4daf3f37b1 | d25f34c7c2feedc72bcc6c7af2b624e1c1605eee | /modules/common/vehicle_state/vehicle_state_provider.h | 59c1a10d414d23b567fa9e9f1160927733661acb | [
"Apache-2.0"
] | permissive | wangzhongchuan1973/2020-w1 | aefecada26376f49cc88b652378920647ae3af78 | f9fb019d6b5ebbba4b4e9cf5e98544fa9bc3c7a6 | refs/heads/master | 2022-12-11T14:06:04.564465 | 2020-03-08T07:11:25 | 2020-03-08T07:11:25 | 245,765,118 | 0 | 0 | Apache-2.0 | 2022-12-07T02:18:33 | 2020-03-08T06:37:00 | C++ | UTF-8 | C++ | false | false | 5,447 | h | /******************************************************************************
* Copyright 2017 The Apollo 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
... | [
"wzc1973@163.com"
] | wzc1973@163.com |
643f7ae71c761d9173ed5494783e46541626109a | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/TDataStd/TDataStd_TreeNode.hxx | f9459a4fa828f4abfdf116479a5225844642d901 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,500 | hxx | // Created on: 1999-06-10
// Created by: Vladislav ROMASHKO
// Copyright (c) 1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU ... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
5643a447e254d4fecdd84417c2204a63d79677c1 | 33cb74df7b3fa922a18453a01cf1040e9b0f40bb | /include/stxmodel/GstmtInvokeSub.h | 0d6ff19441867a425a8d43d3251393451cafda38 | [] | no_license | OPRoS/TaskEngine | 8f9f7a65ac38127a796f0f258aa7f95644937d5f | cfc703a23f31865220a9f66e82188fc05d14d9a9 | refs/heads/master | 2021-01-21T23:33:51.611221 | 2013-08-27T05:39:16 | 2013-08-27T05:39:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,163 | h | /*************************************************************************************************
** Project: OPRoS
** Package: OPRoS Task Executor
** Date: 2010.10.30
** Author: Rockwon Kim (rwkim@etri.re.kr)
** Copyright: Copyright (C) 2010 ETRI
** License: OPRoS Source Codes License (www.o... | [
"yudonguk@naver.com"
] | yudonguk@naver.com |
e5e440387ee130a7e555c23d79630738ea39db0b | e99c20155e9b08c7e7598a3f85ccaedbd127f632 | / sjtu-project-pipe/thirdparties/VTK.Net/src/Imaging/vtkImageMathematics.h | 993201e88baa9b5961bdc4fe154e46220835c162 | [
"BSD-3-Clause"
] | permissive | unidevop/sjtu-project-pipe | 38f00462d501d9b1134ce736bdfbfe4f9d075e4a | 5a09f098db834d5276a2921d861ef549961decbe | refs/heads/master | 2020-05-16T21:32:47.772410 | 2012-03-19T01:24:14 | 2012-03-19T01:24:14 | 38,281,086 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,030 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkImageMathematics.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for detail... | [
"useminmin@gmail.com"
] | useminmin@gmail.com |
8b446392a59acb8c613c41e9954a93199fd9de60 | 534e163a6b106e4466c6661199bb7bfcdc7ccd3d | /序列/75.*(双指针)颜色分类.cpp | 0b9bbbdb71e51cc059c58866d15dab148177388c | [] | no_license | skJack/Leetcode | 9f39818aa1cfb058e76d0c5ca84c2ad57b5a4626 | 8d1b37b0e9df97e48d18879aaf310aecbe5616fe | refs/heads/master | 2020-11-30T15:33:24.400176 | 2020-09-02T13:35:00 | 2020-09-02T13:35:00 | 230,431,404 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | /*
Category Difficulty Likes Dislikes
algorithms Medium (54.29%) 435 -
Tags
Companies
给定一个包含红色、白色和蓝色,一共 n 个元素的数组,原地对它们进行排序,使得相同颜色的元素相邻,并按照红色、白色、蓝色顺序排列。
此题中,我们使用整数 0、 1 和 2 分别表示红色、白色和蓝色。
注意:
不能使用代码库中的排序函数来解决这道题。
示例:
输入: [2,0,2,1,1,0]
输出: [0,0,1,1,2,2]
进阶:
一个直观的解决方案是使用计数排序的两趟扫描算法。
首先,迭代计算出0、1 和 2 元素的个数,然后按照0、1、2的排序... | [
"noreply@github.com"
] | skJack.noreply@github.com |
45cfd7784c06345055942f91af91aa16cea6e46b | f40b6f8755c776d617fd1abe2aa8d8f9f748fde6 | /src/GameBoard/Card.cpp | 69330efe944b00df108314f1b121f3401c116052 | [] | no_license | Harian-Elyoth/Smoke | 4c8668a011c0b34e2f0c0951dd27f3b90994581b | 4a67ef39eace21b92a25287d32e636fbd68bcb7e | refs/heads/master | 2020-09-11T15:51:45.982786 | 2019-12-13T13:13:49 | 2019-12-13T13:13:49 | 222,116,545 | 0 | 0 | null | 2019-11-20T15:54:17 | 2019-11-16T15:10:04 | C++ | UTF-8 | C++ | false | false | 961 | cpp | #include "Card.h"
Card::Card () {
initAttributes();
}
Card::Card (int c, std::string n, int id, std::string tr, std::string ty):
cost(c), name(n), owner(id), tribe(tr), type(ty){}
Card::~Card () { }
std::ostream& operator<<(std::ostream& os, const Card& c){
os << c.cost << " | " << c.name << std::endl;
... | [
"axel@arctique.fr"
] | axel@arctique.fr |
81c75580fd54a9c32e73c5a36f51a38f3e0860a5 | 25b218c6fa6f3b0d232140b429106ae8d27e1cfd | /hw_impl_2/ad_grid_update.hpp | b9961e48cca657ab7ed3d2ee48ff7cdf11bed0c0 | [] | no_license | djmmoss/SAD | 108bf9816bbe83cf083fe6ad297a24ce5cd086e8 | 3c0b974e5bff788091389d40ac07934be23a8188 | refs/heads/master | 2021-05-16T04:20:27.478159 | 2016-01-15T02:53:38 | 2016-01-15T02:53:38 | 25,385,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | hpp | #ifndef AD_GRID_UPDATE_H_
#define AD_GRID_UPDATE_H_
void ad_grid_update(stream<axiIndex> &inData, stream<axiRawValues> &outData);
#endif
| [
"djm.moss@gmail.com"
] | djm.moss@gmail.com |
726757763bf4ef065e82a8d8b9536cebd788e2f7 | 84b2888af824cdfaf14d1f03ce592d924889d90f | /myFramework/material.cpp | 880c36366d43202eaa150ed0498635f8bbe9d0b8 | [] | no_license | GermanScientist/Framework | 26d8a5a3b2f2647765ab9c67f46bf5587faa7743 | 48f925bc4f4058b93bfac989e80921b5ab367c5c | refs/heads/master | 2023-08-16T23:42:58.946416 | 2023-08-09T14:56:41 | 2023-08-09T14:56:41 | 313,586,894 | 0 | 1 | null | 2021-03-16T19:31:07 | 2020-11-17T10:41:12 | C++ | UTF-8 | C++ | false | false | 338 | cpp | #include <myFramework/material.h>
//Constructor
Material::Material()
{
texture = -1;
//Load shaders
shader = new Shader();
// Load the texture using the texture loader
textureloader = new Textureloader();
}
//Destructor
Material::~Material()
{
//Deletes texture loader
delete textureloader;
//Deletes shader... | [
"jack_hulspas@hotmail.com"
] | jack_hulspas@hotmail.com |
57c5e0bb12cb93b29c0179bf2ab7b940d346a03c | 7f461f4a8be5e42a20b150ac170b040e6a068e1f | /library/sequence/lcslen-string.cpp | 74cc8a7302f4f5998aa1dbb0c54e0bef73fc089e | [] | no_license | idaten459/competitive-programming | abf46a811bef848173899fac2d66cd253f523832 | c46813bc8f77d600cd585f5fefb5a48cc60ce95f | refs/heads/master | 2023-05-04T11:34:03.732318 | 2021-05-29T10:28:49 | 2021-05-29T10:28:49 | 185,630,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | /*
LCS(最長共通部分列)のlcs長
vectorを引数にとる
stringではlcs-stringを参照
計算量はO(st)
*/
template<typename T>
int lcslen(string& s,string& t){
ll ls = s.size();
ll lt = t.size();
vector<vector<int>> lcs(ls+1,vector<int>(lt+1,0));
REP(i,ls+1){
REP(j,lt+1){
if(i==0||j==0){
lcs[i][j]=0;
... | [
"shukai2013@gmail.com"
] | shukai2013@gmail.com |
42ff1a6a87e991900bb6cda519acee229450dc84 | fe47c9f5c6e79fdf8994a9262520d33e29e0f9b2 | /buttons/buttons.ino | c277a5eddfff943a0356e16e941d4da22b87fd6f | [] | no_license | pedrorv/arduino-courses | 7ae65b76bcdd3cf0e90004e3682870743a44b91f | 81374e3cb9721a57113d71d3eff6cc064d257dec | refs/heads/master | 2020-05-21T02:37:22.990353 | 2017-07-13T20:26:20 | 2017-07-13T20:26:20 | 84,561,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | ino | const int ledPin = 13;
const int inputPin = 2;
void setup() {
// put your setup code here, to run once:
pinMode(ledPin, OUTPUT);
pinMode(inputPin, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ledPin, digitalRead(inputPin));
}
| [
"pedroreisv@gmail.com"
] | pedroreisv@gmail.com |
05ac3c583023dbb0d765c501b12a9a1021d1cdfb | 4b648bd3a6f59e3cd0bda329bb1eb5c97380015a | /1474.cpp | b32c980c64395fce8d15606476861d5c9cbdbf07 | [] | no_license | CLDP/UVa | 1ff3cd61319ce80e7e70cb13436d30ee9af67411 | 27965c523be1524344e3fa8ac969c0d2b2377117 | refs/heads/master | 2021-01-23T03:44:12.513831 | 2017-09-01T17:49:48 | 2017-09-01T17:49:48 | 86,119,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | cpp | #include <iostream>
#include <vector>
#include <cstring>
#include <algorithm>
using namespace std;
const int MAXN = 4010;
const long long INF = 1LL * 1000000000 * 1000000000;
pair<int, int> X[MAXN], Y[MAXN];
long long f[MAXN][MAXN];
int g[MAXN];
int main() {
ios_base::sync_with_stdio(false);
int N, M;
wh... | [
"noreply@github.com"
] | CLDP.noreply@github.com |
d522adb8e3921863ee872208cc1177dbded78987 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/TAO_IDL/be_include/be_visitor_interface_fwd/interface_fwd_ch.h | f40ecff308d8ba96415093612384b44e20ba6cfd | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 951 | h | /* -*- c++ -*- */
//=============================================================================
/**
* @file interface_fwd_ch.h
*
* Concrete visitor for the Interface Forward node.
* This one provides code generation for interface forward node.
*
* @author Aniruddha Gokhale
*/
//=========================... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
5bc23f7119e94f001780f044911d776db2633250 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /RecoMTD/DetLayers/src/MTDDiskSectorBuilderFromDet.cc | da8bc0caadb5fbf31fc1d8f3922017c7ae73107f | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 3,824 | cc | //#define EDM_ML_DEBUG
#include "MTDDiskSectorBuilderFromDet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/GeometryVector/interface/VectorUtil.h"
#include "DataFormats/GeometrySurface/interface/BoundingBox.h"
#include <iomanip>
using namespace std;
namespace {
pair<DiskSecto... | [
"fabio.cossutti@ts.infn.it"
] | fabio.cossutti@ts.infn.it |
363764ed50a60230a0cacc2743500f112a9e29bf | 0a3940d6f8c083900db072876f3afd769bbfdb71 | /2019 July 28/soldiers.cpp | cb5cc76fe924850866eafcc62181000837b34eb6 | [] | no_license | HelioStrike/Arjuna-Code | 174a104d4c8687535ae06ca28d71188eeb95784e | 1679ba15990116e6abba80979f228b0860ce8dc4 | refs/heads/master | 2020-04-21T23:38:11.147929 | 2019-09-08T05:05:36 | 2019-09-08T05:05:36 | 169,952,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | #include <bits/stdc++.h>
#define FOR(i,a,b) for(int i = (a); i < (b); i++)
using namespace std;
string s,t,p,q;
int x,dp[10010];
int stoin(string k)
{
int ret=0;
FOR(i,0,k.length()) ret*=10,ret+=k[i]-'0';
return ret;
}
string to_str(int k)
{
string ret="";
while(k) ret=(char)('0'+(k%10))+ret,k/=1... | [
"rageofepicfury@gmail.com"
] | rageofepicfury@gmail.com |
aeed529d373d38b1067ac18d73ec77e35a7f575b | 326ba98eabaa3a05ceb5e314dd1cc8de301fa19a | /ffscript/StaticContext.h | 860d9f91fed9ee0021adf635df4cade970142aad | [
"MIT"
] | permissive | heruix/ffscript | 4823e9afd3ce8eba104ec65d6e0ff2fbba74d8d5 | 1ee86fdaae8e188e4c99ab4cb0c878be919d7d47 | refs/heads/master | 2020-08-01T12:23:26.006286 | 2019-09-24T10:15:27 | 2019-09-24T10:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | /******************************************************************
* File: StaticContext.h
* Description: declare StaticContext class. A type of context, but
* the memory of its is global shared memory and can be
* accessed any where, any time in the program.
* Author: Vincent Pha... | [
"minhpta@outlook.com"
] | minhpta@outlook.com |
3ec0931a3983e352576a86997932857a7faa6624 | b21d7b3a901f751aa9f500dc5b310fc273f869f3 | /Nexus/Source/Nexus/Graphics/GLMessage.cpp | b7d0f2ecfff7c25209158c93e8b84bcd634fc550 | [] | no_license | jkstpierre/Nexus | 0fc8d5af7c622e6ee7e7a526ad917bfbe290245f | 9fc38141ebfb2a284fb9168d4acda2115539454d | refs/heads/master | 2021-05-18T06:05:35.225543 | 2020-04-23T21:50:04 | 2020-04-23T21:50:04 | 251,149,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | /// File: Source\Nexus\Graphics\GLMessage.cpp.
///
/// Summary: Implements the gl message class.
#include <cstring>
#include <Nexus\Graphics\GLMessage.hpp>
namespace Nexus::Graphics
{
GLMessage::GLMessage(const GLMessageSource& source, const GLMessageType& type, const GLMessageSeverity& severity,
... | [
"jkstpierre@wpi.edu"
] | jkstpierre@wpi.edu |
b2a8bb4f65a4f2704675a663d066c6df02b5c491 | 8356182f1c38a2602598b5a530f8c86fb37c141b | /200506_WiFi8266_OTA_GarageLEDs/LEDPIR_Unit.h | f6cf06329e860e797f56dafaf0c7cb5a3638aa27 | [] | no_license | robertbrianhemingway/200506_WiFi8266_OTA_Blynk_GarageLEDs | 77ca161aa7b40ffcfee7a4b482d1828359cad3d1 | d658df453184d35315f57665982d6041ae831e97 | refs/heads/master | 2022-06-28T15:46:54.569966 | 2020-05-06T01:04:44 | 2020-05-06T01:04:44 | 261,618,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,214 | h | /**
* 200424 rewrite of a class used in
* C:\Users\Robert\Documents\PlatformIO\Projects\200424-134832-esp32doit-devkit-v1
* usage
* LEDUnit frontLED(22,26);
* LEDUnit ;backLED(23,27);
*
*/
#include <arduino.h>
#define setTimeOn 10000 // 10000 milliseconds
class LEDUnit { // ===============... | [
"noreply@github.com"
] | robertbrianhemingway.noreply@github.com |
6ecf889d4170b7c45b6d50f00fca255ba4d72612 | 9028516ff0b2d95b8000b9fc4c44c29aa73c926c | /src/wallet/walletdb.cpp | a2ec603929ba00bd0ff8a54f747d13360e0a915a | [
"MIT"
] | permissive | lycion/TripOne | a9e546eac9ad6179c0b6bd4f868162f70930b6ac | c6ae7d9163ef4095fe0e143d26f3311182551147 | refs/heads/master | 2020-03-28T22:29:06.119551 | 2018-09-18T06:07:06 | 2018-09-18T06:07:06 | 149,236,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,000 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2015-2018 The Bitcoin Unlimited developers
// Copyright (c) 2017 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/lic... | [
"lycion@gmail.com"
] | lycion@gmail.com |
c418f39f1f85bc15613ae1d74bb3cad62469daed | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_1320/other2.cpp | 32fa01f5ddb28379091e56f9e90b9bdc47caf69e | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | cpp | /*
In our dynamic programming, dp[a] means that,
if our left finger ends at character a,
the maximum we can save is dp[a].
Now our right finger tapped all letters, and left finger did nothing.
We iterate through the whole string one by one
and select some letter to tap with the left finger.
By doing this, we want to f... | [
"drlongle@gmail.com"
] | drlongle@gmail.com |
3904dfbe0f23a0af81734bd1b6576b83ab71f46e | 5700dac204805d113492a1147ac07fde952a4952 | /T3000/DialogT3.cpp | 5af365fd0cef76048119e500162c79fa31c355fe | [
"MIT"
] | permissive | Doanlmit/T3000_Building_Automation_System | 2e1cfe7154cb4fea8e7311765e3dbe29f1a2c264 | f7824c1772a04624f1de29e6e92cf20e5597aa36 | refs/heads/master | 2021-01-20T16:22:12.710466 | 2017-05-09T08:56:21 | 2017-05-09T08:56:21 | 90,835,334 | 1 | 0 | null | 2017-05-10T07:43:06 | 2017-05-10T07:43:06 | null | GB18030 | C++ | false | false | 8,091 | cpp | // DialogT3.cpp : implementation file
//
#include "stdafx.h"
#include "T3000.h"
#include "DialogT3.h"
// CDialogT3
IMPLEMENT_DYNCREATE(CDialogT3, CFormView)
CDialogT3::CDialogT3()
: CFormView(CDialogT3::IDD)
, m_address(0)
, m_firmware(0)
, m_serial(0)
, m_hardware(0)
, m_model(_T(""))
, m_picVersion(0)
{
... | [
"register@temcocontrols.com"
] | register@temcocontrols.com |
1a8ac8fbc73fedae45580ea982ba0df272ed944a | 9ec8f808b70b30e6dea8c2a98b4a269b7a4021a6 | /meshshaderclass.h | 1f7a41a10db728d7401e176d06a4313e150969b3 | [] | no_license | adomalewski/DirectXGame | 5daaeb78ca308aff8a7ce24dc7bd5cc253d779ab | 6d706c7450eba9a69bba670a33d9da414cded83c | refs/heads/master | 2021-01-13T12:35:37.839306 | 2017-01-22T20:11:24 | 2017-01-22T20:11:24 | 72,575,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | h | #ifndef MESHSHADERCLASS_H
#define MESHSHADERCLASS_H
#include <d3d11.h>
#include <d3dx10math.h>
#include <d3dx11async.h>
#include <fstream>
using namespace std;
class MeshShaderClass
{
private:
struct MatrixBufferType
{
D3DXMATRIX world;
D3DXMATRIX view;
D3DXMATRIX projection;
};
struct MeshBufferType
{
... | [
"adomalewski@adomalewski-wro.pgs-soft.com"
] | adomalewski@adomalewski-wro.pgs-soft.com |
fb3489c6263909cf91ccb78abc9a8e927d6a1ca5 | eec2eb8d09c05ae3ef92ff1ff7c43d8e0ee67784 | /rfc/threads/KThread.h | f4167f898b63e0e1fa583328672a0c43e6ef5d30 | [
"MIT"
] | permissive | camark/RFC-Framework | 6dc9c6668f2d01c6648f99c1b86913c2b257ad51 | e82b51be20750f47ab73bb2176bd0344d3f32b57 | refs/heads/master | 2020-03-24T16:48:20.644669 | 2018-07-19T03:05:26 | 2018-07-19T03:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | h |
/*
RFC - KThread.h
Copyright (C) 2013-2018 CrownSoft
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... | [
"ruchira66@gmail.com"
] | ruchira66@gmail.com |
ed5e039effcb86da8179069736626b794ce028c5 | a9b03f4730534da6e25e8a52ea0cd870db7c28b4 | /modules/perception/lib/test/lib_registerer_test.cc | 717da1f30cff1152f2b4d2bd28dfec849b2e77ac | [
"Apache-2.0"
] | permissive | zhuangli1987/apollo | 6bcf2ddebb23377e701ec9bf2b56c1ea4632bab9 | 2210bef1ef5aadfeccb48949c07b31de4e581b25 | refs/heads/master | 2020-03-28T00:31:50.529228 | 2018-09-25T01:29:51 | 2018-09-25T01:31:39 | 147,425,981 | 0 | 0 | null | 2018-09-04T22:11:18 | 2018-09-04T22:11:18 | null | UTF-8 | C++ | false | false | 2,491 | cc | /******************************************************************************
* Copyright 2018 The Apollo 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
... | [
"ycool@users.noreply.github.com"
] | ycool@users.noreply.github.com |
29da4a8169419f219f25a7fa0811d9b800fe958c | 3ccd0ebe02db743f78b9d9e73a1746f98d797718 | /VLP16/VLP16_Test/Singleton.h | 45cc9298efa52f3cb2db7b32dfae0c134754d7e6 | [] | no_license | sxy2996534527/3DCameraDataAcquisition | 93543df80085291c492d0b57ff3cb7acb9256605 | 908608413e745192d824e5bb58dd792c64cdcee0 | refs/heads/main | 2023-06-18T02:46:45.144648 | 2021-07-19T09:19:54 | 2021-07-19T09:19:54 | 386,486,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | //
// Singleton.h
// PhDanceMasterApp
//
// Created by YOHEI KAJIWARA on 2014/12/24.
//
//
#ifndef __Ainz_FaceMoverTest__Singleton__
#define __Ainz_FaceMoverTest__Singleton__
#include <stdio.h>
template <typename T>
class Singleton{
public:
// 唯一のアクセス経路
static inline T& GetInstance()
{
static ... | [
"noreply@github.com"
] | sxy2996534527.noreply@github.com |
5fb7eecdea4c86ecaf93e503fd22ffacb30f94c5 | c301c81f7560125e130a9eb67f5231b3d08a9d67 | /lc/lc/2021_target/companies/amazon/lc_347_top_k_frequent_elements.cpp | 8038df016945bf7d029bb55ad5925f83014fff73 | [] | no_license | vikashkumarjha/missionpeace | f55f593b52754c9681e6c32d46337e5e4b2d5f8b | 7d5db52486c55b48fe761e0616d550439584f199 | refs/heads/master | 2021-07-11T07:34:08.789819 | 2021-07-06T04:25:18 | 2021-07-06T04:25:18 | 241,745,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,823 | cpp | /*
Given a non-empty array of integers, return the k most frequent elements.
Example 1:
Input: nums = [1,1,1,2,2,3], k = 2
Output: [1,2]
Example 2:
Input: nums = [1], k = 1
Output: [1]
*/
#include "header.hpp"
class Solution {
public:
vector<int> topKFrequent(vector<int>& nums, int k) {
std::unordered_ma... | [
"vjha2100@gmail.com"
] | vjha2100@gmail.com |
d63a0db323c182c1ec1a577d059ea377ddfa283d | a437bc72452f07c66b14ca7d01a530742b8d46f3 | /d03/ex02/ClapTrap.cpp | 90ebf08c090141141b9a9163a83ede3483e49816 | [] | no_license | armou/piscine_cpp | b73086a1411d3c7fab713ea442b3ac14bf7e1309 | 69e315ffdce8ae2ff0d9bb24dc3bc92b22d16ed0 | refs/heads/master | 2022-11-22T08:55:37.813096 | 2020-07-27T14:07:16 | 2020-07-27T14:07:16 | 282,916,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,471 | cpp | #include "ClapTrap.hpp"
ClapTrap::ClapTrap ( void ) {
this->_init();
this->_name = "Rick the Default ClapTrap";
std::cout << this->_name << "(ClapTrap) : Introduction." << std::endl;
return;
}
ClapTrap::ClapTrap ( std::string name ) {
this->_init();
this->_name = name;
std::cout << this->... | [
"aoudin@e2r6p18.42.fr"
] | aoudin@e2r6p18.42.fr |
dc7c28353660e12f28d792e09d754839a3a6f30b | 62e1b92bdca09eb6e61bf5463ec4952c76b46f35 | /src/rpcmining.cpp | 5c3b0b9ef178f1f623d5dac51479eb62d7754b30 | [
"MIT"
] | permissive | zealdeal/zeal | 9406e63b73cb0460581bd07c168bfca8d83ea23a | 9e2049dc506d97d9d184826c8364206b0360f960 | refs/heads/master | 2020-04-02T15:17:25.854093 | 2018-10-29T22:44:27 | 2018-10-29T22:44:27 | 154,561,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,341 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "chainparams.h"
#include "main.h"
#include "db.h"
#incl... | [
"root@Razvoj-Rasa.localdomain"
] | root@Razvoj-Rasa.localdomain |
8d1e847d5ce2fa845d6a3c65d5ebe4f93e0d7c78 | 814fd0bea5bc063a4e34ebdd0a5597c9ff67532b | /components/password_manager/core/browser/password_manager_url_collection_experiment.h | 3ba8f4171e55264f8f3f75a722a133a0e39a6ef1 | [
"BSD-3-Clause"
] | permissive | rzr/chromium-crosswalk | 1b22208ff556d69c009ad292bc17dca3fe15c493 | d391344809adf7b4f39764ac0e15c378169b805f | refs/heads/master | 2021-01-21T09:11:07.316526 | 2015-02-16T11:52:21 | 2015-02-16T11:52:21 | 38,887,985 | 0 | 0 | NOASSERTION | 2019-08-07T21:59:20 | 2015-07-10T15:35:50 | C++ | UTF-8 | C++ | false | false | 2,293 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_MANAGER_URL_COLLECTION_EXPERIMENT_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_M... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
da18895ca675ce4517c85436f3ca7a98e20de1d2 | c181f915220d2f182e237cebddceffc20052930c | /Classes/MapSprite/MapSprite10.h | a306b51e55da4d027519315a1cd570c01ae6222f | [] | no_license | sharezer/HC | cf46003b19f497c259198002fe319aca0101728c | bb03a5c8458eed03c82942a9ec7a1d2dfc4a3dc8 | refs/heads/master | 2021-01-21T01:49:32.989854 | 2019-10-23T08:07:29 | 2019-10-23T08:07:29 | 15,626,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | h | #pragma once
#include "MapSprite.h"
class CMapSprite10 : public CMapSprite
{
public:
void firstAction();
public:
virtual bool initSprite();
}; | [
"liangshaoze@sina.cn"
] | liangshaoze@sina.cn |
e41caa7f92cb18e9c4c002f838bc8ebf6e24e10d | 3edc478db837a27dbf8df7eded45df909dfe3cf9 | /CodeForces/455a.cpp | 93ea09ddcf467464c856ca79758f508c8c1caeca | [] | no_license | ronistone/Maratonas | b60ebeb9e7e9298399652df88faa83389bd94542 | 8bd0bedd476645081a09b19152a007ca1497fe20 | refs/heads/master | 2021-01-12T10:06:04.016208 | 2018-10-19T02:40:54 | 2018-10-19T02:40:54 | 76,360,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int n;
ll dp[100010];
ll A[100010];
ll solve(int current){
if(current < 0) return 0;
if(dp[current]!=-1) return dp[current];
return dp[current] = max(solve(current-1),solve(current-2)+A[current]);
}
main(){
ios_base::sync_with_stdio(0);
ci... | [
"ronistonejunior@gmail.com"
] | ronistonejunior@gmail.com |
b4de7ff718a6b765d7eaad0c35c99b6e8ca2200f | a6b46ceba9753a519a5db131df26ca41b5f31ac3 | /No3/No3/main.cpp | ca6f9d855d511e74f23ebc3e25cd18f544f653ab | [] | no_license | YugoTakagi/yukicoder | 697d1414a6b2a26aebedabcdfa6846720e1e0232 | a8563806b4d22747d0caf8f34220f70b6a748e70 | refs/heads/master | 2020-06-08T06:27:44.214856 | 2019-06-22T01:29:03 | 2019-06-22T01:29:03 | 193,177,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | //
// main.cpp
// No3
//
// Created by 高城友豪 on 2019/06/21.
// Copyright © 2019 高城友豪. All rights reserved.
//
#include <iostream>
#include <bitset>
#include <queue>
int main(int argc, const char * argv[]) {
// insert code here...
int N;
std::cin >> N ;
std::queue<int> q;
std::vector<int> direct... | [
"a217048@ns.kogakuin.ac.jp"
] | a217048@ns.kogakuin.ac.jp |
e25fab947e04640a6b01d3891156423f5b01ba5a | c3ad6263554e6b5c8b7c4ff969d9296f708778fa | /HW_Project_9/homework_1572887168/Lesson9_1/Lesson9_1/Lesson9_1.cpp | 9aa83491a0da5b83b5e0f1244a961e82177de1e4 | [] | no_license | Cybr0/C_Cpp__Part-3 | 47b5f4bd1b069e678a08848cdf5e95c4c05b86c5 | 5015c285b6735e7de7b4f84300e585b8f80e2b6c | refs/heads/master | 2022-10-19T05:09:30.976833 | 2020-06-12T12:20:16 | 2020-06-12T12:20:16 | 271,791,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include <iostream>
#include <sstream>
#include "Array.h"
void check_true(bool v) {
if (v) {
std::cout << "OK" << std::endl;
}
else {
std::cout << "FAIL" << std::endl;
}
}
bool compare(double a, double b) {
return (fabs(a - b) < DBL_EPSILON);
}
int main() {
Array arr;
arr.push_back(1);
arr.push_back(2)... | [
"44771809+Cybr0@users.noreply.github.com"
] | 44771809+Cybr0@users.noreply.github.com |
a90b5158640e4114f5a4609c34cb44363f503cf0 | 3a164e9ef0d99d006fd5ff6d67d4a11e3e7b2856 | /race_to_expiry_chtc/eh-sim/libtorch/include/ATen/core/TensorMethods.h | 6b25d5ad90e74c92ad7cae90f12ae7fd57151f13 | [
"MIT"
] | permissive | abhijiths94/r2e_results | bb320ac388a0bbd1eeae23218b97024991c9bc69 | 96def5313b7f46122e6c814c91971521fd6d858f | refs/heads/master | 2021-05-17T22:43:10.798201 | 2020-03-29T19:39:47 | 2020-03-29T19:39:47 | 250,985,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280,198 | h | #pragma once
#include <c10/core/Scalar.h>
#include <c10/core/MemoryFormat.h>
#include <c10/core/QScheme.h>
#include <c10/macros/Macros.h>
#include <c10/core/TensorOptions.h>
#include <c10/util/intrusive_ptr.h>
#include <ATen/core/DeprecatedTypeProperties.h>
#include <ATen/core/dispatch/Dispatcher.h>
#include <ATen/cor... | [
"somashekhar@submit2.chtc.wisc.edu"
] | somashekhar@submit2.chtc.wisc.edu |
3c5b11582811bd14f8a18d04ccb21db42e6cb779 | f2eeceec70af215dfc9a0181aa2696b710cad7ac | /mod03/ex03/ClapTrap.cpp | f06626b08da1d04e469a8fcb900d6c92448ad333 | [] | no_license | a-cha/cpp_beginning | 034ca58a2f3029c651405e9515a1eb0faa2e3506 | 15860bf225793c94e86dfc86702b81856682c44b | refs/heads/master | 2023-03-13T13:14:20.750910 | 2021-03-26T09:00:55 | 2021-03-26T09:00:55 | 339,658,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | //
// Created by Skipjack Adolph on 2/20/21.
//
#include "ClapTrap.hpp"
#include "print.hpp"
ClapTrap::ClapTrap() :
hitPoints(),
maxHitPoints(),
energyPoints(),
maxEnergyPoints(),
level(),
meleeAttackDamage(),
rangedAttackDamage(),
armorDamageReduction()
{
std::cout << BLUE "Parent ClapTrap" STD << " has constructed... | [
"chaparin.anton@gmail.com"
] | chaparin.anton@gmail.com |
58970eff345c450ea0f0fca5bbec7fb5a1fb68f6 | 2591ae43a809173d223b78207c7638d80d839962 | /GFG/searching/1_linear.cpp | 9eec098dd26b44436e3b2e4bcebd7068e3e745a7 | [] | no_license | DeveshDutt2710/Competitive_Programming | 82fc97efcae65b23738d7f4e4ecc880e43bf975c | 78a6251e74c8b261c94ebf79408e7c36f9331838 | refs/heads/master | 2023-07-30T16:05:54.659186 | 2021-09-22T17:44:08 | 2021-09-22T17:44:08 | 300,497,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int search(int arr[], int n, int x)
{
int i;
for(i=0;i<n;i++)
{
if(arr[i]==x)
{
return i;
}
}
return -1;
}
int searchOptimised(vector<int> arr, int search_Element)
{
int left = 0;
int len... | [
"dd123.ues2017@gmail.com"
] | dd123.ues2017@gmail.com |
9543a0b91d1e8d4113d8cea4119dc6ab3edc2b52 | 1038d0511ab29f6bc2e50c5328823730e49bc4c5 | /datacombobox.hxx | 249fe1ab3472d2ee95c8d8feb2a24d91addca682 | [] | no_license | johanneslochmann/datacollector | 9a23f8186ac247d13af50af4a365946259dd228c | 77b7d675ef8a15fda0bd6b512026a8f1afffc616 | refs/heads/master | 2021-01-10T09:52:08.135378 | 2016-02-19T20:07:38 | 2016-02-19T20:07:38 | 45,186,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | hxx | #pragma once
#include <QComboBox>
#include "storable.hxx"
class DataComboBox : public QComboBox
{
Q_OBJECT
public:
explicit DataComboBox(QWidget* p);
signals:
void datasetActivated(const StorableSPtr s);
public slots:
void onItemActivated(const QString& txt);
void reload() { implReload(); }
pr... | [
"johannes.lochmann@gmail.com"
] | johannes.lochmann@gmail.com |
ad54c973fe477e9c01d2c20f550dd95517d04913 | 78db2b7e7c0575bc39e2cbc4c679d13c48fe4aa1 | /Source/NZGame/Item/NZDroppedPickup.cpp | a50fa0b7d0833b3b2e22187381680fc38ee104f0 | [] | no_license | cloudjiang/NZGame | 77641257405dbf4adb564ee5965f3e47c88eadb2 | 0e637494c49187937683b9ffd063c5db9e97efe7 | refs/heads/master | 2020-12-01T11:47:01.445948 | 2016-08-21T08:02:59 | 2016-08-21T08:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,610 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "NZGame.h"
#include "NZDroppedPickup.h"
#include "NZInventory.h"
#include "NZGameMode.h"
#include "NZProjectileMovementComponent.h"
#include "UnrealNetwork.h"
#include "NZRecastNavMesh.h"
#include "NZWorldSettings.h"
#include "NZPi... | [
"terryzhong@tencent.com"
] | terryzhong@tencent.com |
8a3c39af6374a8fc32b985e7aa94969ff2d2ed18 | 013545d017d2e9d2ff1109385810413366959bf4 | /main.cpp | f01dc70d58b87a0c0eeec76425785edd8d1a2d6f | [] | no_license | ahorovit/Chess_AI | 9a296fbef7a5dc208dcd6958a12512ea79f4ef3a | d6ea8e37aa68806596622b85ae590450d52933a7 | refs/heads/master | 2020-12-25T15:19:22.695835 | 2016-06-14T05:54:14 | 2016-06-14T05:54:14 | 61,095,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,048 | cpp | /*
* File: main.cpp
* Author: arit
*
* Created on March 18, 2015, 6:24 PM
*/
#include <cstdlib>
#include <iostream>
#include "chessBoard.h"
#include "chessPlayer.h"
#include "myPlayer.h"
using namespace std;
/*
* Usage: chess with no arguments makes the player white.
* chess with any arguments make... | [
"ahorovit@gmail.com"
] | ahorovit@gmail.com |
c7738e67597c88d33a6e68a153141cb1678bf987 | 7dedb11bd6620b14004d2fead3d0d47daf2b98bf | /CodeForces/cf-653b.cpp | 8a77a3eeead9e34ec899ea5485645f3fcd059de7 | [] | no_license | nickzuck/Competitive-Programming | 2899d6601e2cfeac919276e437a77697ac9be922 | 5abb02a527dd4cc379bb48061f60501fc22da476 | refs/heads/master | 2021-01-15T09:19:34.607887 | 2016-06-01T20:38:45 | 2016-06-01T20:38:45 | 65,146,214 | 1 | 0 | null | 2016-08-07T17:44:47 | 2016-08-07T17:44:44 | null | UTF-8 | C++ | false | false | 969 | cpp | #include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <bitset>
#include <numeric>
#include <iterator>
#include <algorithm>
#include <cmath>
#include <chrono>
#include <cassert>
using namespa... | [
"timonknigge@live.nl"
] | timonknigge@live.nl |
f1f03fd068acb396217f8c97e4a00a623b35e7cc | 79810323367c80f327e639eccbe420680cb9c4c0 | /VideoCutting/FfmpegMixer.cpp | c0916324b45526a7c2a04c1caa5b10ae37a7cad8 | [] | no_license | 4ortyk/Mix | 5ee1d88b60b42eb0f3ece17aeeb291cf45acbd85 | 4ef3cf0b6b5502603db5f0f3b97f7a352d46cdf2 | refs/heads/master | 2021-01-19T03:16:32.136829 | 2012-09-07T09:11:14 | 2012-09-07T09:11:14 | 5,672,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | #include "stdafx.h"
#include "FfmpegMixer.h"
#ifdef __cplusplus
extern "C"
#endif
{
#include <libavformat\avformat.h>
#include <libavutil\avutil.h>
#include <libswscale\swscale.h>
}
CFfmpegMixer::CFfmpegMixer(const CLayout& layout) : CConsumer(layout)
{
}
CFfmpegMixer::CFfmpegMixer(const CFfmpegMixer& obj) : CCo... | [
"antonina_pelts@bigmir.net"
] | antonina_pelts@bigmir.net |
4338c536ffdc6ee00f19a12cd2d8cb61b5938ce5 | c6df5d16f8d0d81f8eb10a0d6934567af755aa38 | /Sigma/Stations/MachineControl/MachineControl/Class/SigCLib/CTimeLib.cpp | 48d16a8e2094b1ddd848baf792f942717ddb5cfe | [] | no_license | Strosel/T4Exjobb | 9b6b380ec3b3a9222981b202f9013b52bc7f2335 | 7257ef722639881660877671b8d87eaefe3512ae | refs/heads/master | 2020-05-02T04:27:37.618992 | 2019-04-23T08:09:26 | 2019-04-23T08:09:26 | 177,750,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,998 | cpp | //{{LSL_ENCRYPTION 16#800
151A52AEF342212FF2412A957A14F9951AA6DF12D5310040D0233BAA85AFE3D6402A9029FE51EAC05C3321FA075FA164C4C51EA98B4E340364329B110105DCDDC73BF48BD995F7DF7FAD87BB00832C2D002C7AC0D56326E4D39A33562F89A9400367E185
BA374CAD0061F886595D6A64BC74CAB63F012E7529FC3F04CDC0CEC4D00D8F7B1E71669A6B7A579E28F3AAE3B02A3... | [
"axel.paulander@gmail.com"
] | axel.paulander@gmail.com |
93d3814d967a5a3e9c1dbd8cfa6662e97b32fd5a | 534cd3948c3bc665363e04826e1a42200e81cb1b | /code/baseDiscrete.h | 98e72db5781a90b9db05ffe41f7191b2d254c04e | [] | no_license | yunpeng5/UpdateRandom | 191a27e7e5619133e9c2d86da93dbc2855e212f7 | d7a6f6260ab908bb4767617beebfc0e7e8eddcd0 | refs/heads/master | 2020-09-25T06:28:43.712826 | 2019-12-05T04:48:28 | 2019-12-05T04:48:28 | 225,938,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | #ifndef MbaseDiscrete
#define MbaseDiscrete
class baseDiscrete
{
public:
//using for starting generating method
virtual ~baseDiscrete()=0;
//using for giving the generating result
virtual int ransample()=0;
//using for change the distribution
virtual void change(int index,double weight)=0;
};
... | [
"yunpeng5@ualberta.ca"
] | yunpeng5@ualberta.ca |
ee5f6605484155c42e0eb941a5b761a83beee623 | 217807dd255fa7a2df1535dc6844b39317573f60 | /src/Eclipse.cpp | a519eaaa8f128fad5211ba41bf29c064aaa771ea | [] | no_license | jkleiber/EclipseR | e287a98d49fc0e896960ba241062492761c1d5c9 | a2e7ff1cdf601dc008a4ceec9c6f387880496609 | refs/heads/master | 2021-08-24T02:47:00.523675 | 2017-12-07T18:25:07 | 2017-12-07T18:25:07 | 106,234,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,762 | cpp | /*
* Eclipse.cpp
*
* Created on: Sep 17, 2017
* Author: justin
*/
#include "Eclipse.h"
#include <iostream>
Eclipse::Eclipse()
{
this->catalogNum = "0";
this->eclipseType = " ";
this->numCells = 24;
this->numColumns = 0;
this->rawInput = "";
this->numErrors = 0;
this->row = 0;
for(int i = 0; i < 24... | [
"jkleiber8@gmail.com"
] | jkleiber8@gmail.com |
830684dcde0d6ab8ce421350975e178b5fe291d6 | ef97d8c9d304180803fac6c90695a0df240cbbab | /Hough_Transform_on_FPGAs_Using_oneAPI/01_FPGA_Emulation_Using_Intel_oneAPI_Base_Toolkit/src/split/hough_transform_kernel.hpp | c398f9347fee88c6b6cb8240b0fa072ede2d2e81 | [
"MIT"
] | permissive | deepikagoel1/intel-ai | ec3b6e528b72866c948240ba06a807af6bd079d3 | 96504dcd7b3e73708eeefbcd5e8bace08dcfece5 | refs/heads/main | 2023-06-02T19:56:00.093291 | 2021-06-24T19:06:48 | 2021-06-24T19:06:48 | 380,021,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | hpp | //==============================================================
// Copyright © 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <vector>
#include <CL/sycl.hpp>
#include <CL/sycl/INTEL/fpga_extensions.hpp>
#include "../../util/sin_cos_v... | [
"u78986@s001-n001.aidevcloud"
] | u78986@s001-n001.aidevcloud |
870dfda88ec680676877b445cd001002f333e8b7 | 0aa76b60b43fcef208c372fd72900936b39266ea | /mainwindow.cpp | 9b46a9afca7045ec0b1f8448de77d3fdc39404c8 | [] | no_license | jac132/custom-tcp-passthrough | 2351114e1d64e31ea9ffa236cf3020b1af07f576 | 71db08f86b8a7e53782ef397cebb41c7259943f8 | refs/heads/master | 2021-01-10T10:27:04.990783 | 2012-11-05T19:46:56 | 2012-11-05T19:46:56 | 51,627,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,669 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
defHost = "109.234.78.19";
defPort = "10001";
reachedServer = false;
loopActEd = false;
connect(ui->textBr_1, SIG... | [
"asisit@hotmail.com"
] | asisit@hotmail.com |
947c15559da3e7539dd1ac740521379275f5d172 | 73d648a072775d64db7a4c4711b9da32c69fbece | /poj/2100.cpp | 4a755b6c54dd3da32834fe7fbf948198afacf275 | [] | no_license | 12Dong/acm | e209605c57e8a2d0247ef5c86f50aec1d43e86b3 | 4f0c98fd4649f730db2ab8300ce45d04dd31e766 | refs/heads/master | 2020-12-30T17:51:18.751827 | 2017-10-21T07:30:56 | 2017-10-21T07:30:56 | 90,933,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include<iostream>
#include<cmath>
typedef long long ll;
using namespace std;
ll Ans[10000005][2];
int main()
{
ll n;
while(cin >> n)
{
ll times;
ll l=1,r=1;
ll el,er;
ll ans=0;
ll sum=0;
while(1)
{
while(r<=sqrt(n)&& sum < n)
{
sum=sum+r*r;
r++;
}
if(sum < n) break;
if(sum==n)
... | [
"289663639@qq.com"
] | 289663639@qq.com |
bd0bd8a4fc8576c6962e696f4a6d945aa928d04f | c03dc1a10fcb3875798308bc5937d4ba10e2386e | /Test_Proc/Procedural.h | f5e58a4de3d2febe45efb1dd1b0ef5efe022552f | [] | no_license | Le2o/TecProg_ProcVersion | ef472c49bdc6952bc06a11e4e874e7cb46a5bfbf | 6596139879bc719ccd1f08abcb3f0d145531e98f | refs/heads/master | 2020-04-21T18:33:00.862138 | 2019-03-26T12:08:26 | 2019-03-26T12:08:26 | 169,773,817 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef PROCEDURAL_H
#define PROCEDURAL_H
#include <fstream>
using namespace std;
namespace Filippov
{
struct Procedural
{
enum lang
{
PROCEDURAL,
OOP,
FUNCTIONAL
} key;
unsigned short int year_of_development;
int reference;
bool abstract_type;
};
void Procedural_Input(Procedural &obj, ifst... | [
"le2o1995@gmail.com"
] | le2o1995@gmail.com |
f6ecdf4d44213482d1085671421e1fff46e78d77 | abca9e32e4fb97c9433ce50720049e0a8f18d9d4 | /src/support/cleanse.cpp | bece96ae3d3c0de3119e6c388970ac67928636dc | [
"MIT"
] | permissive | nikolake/minerium | b0829475f24033b81b184781308dbaef1db182d1 | aa014119a70ba4997df1ab4ab05570a0b01f1590 | refs/heads/master | 2022-07-18T13:33:04.536700 | 2020-05-17T19:03:20 | 2020-05-17T19:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2020 The Minerium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "cleanse.h"
#in... | [
"46746362+bunbunbunbunbunny@users.noreply.github.com"
] | 46746362+bunbunbunbunbunny@users.noreply.github.com |
120c5ccae2bafb5d304c4952ceac8e56506cd961 | b3960efcf7b3d22b1f175e642e0a672166d88eb1 | /MiniOpocio.cpp | e1c9d75f8e6188f342727351af9f542458478ced | [] | no_license | LucaPizzagalli/chemotaxis-pathfinding | 170c03e67276f4a116310e4c12cedc13c11a8630 | 462bed4192f22eb2f1fe1a4330d7b8aed64f0557 | refs/heads/master | 2020-05-03T04:27:42.872482 | 2019-03-29T16:32:05 | 2019-03-29T16:32:05 | 178,422,128 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,900 | cpp | #include <math.h>
#include <algorithm>
#include <stdio.h>
#include "functions.h"
#include "Mappa.h"
#include "Opocio.h"
#include "MiniOpocio.h"
#define VITA_INIZIALE 1
#define INFANZIA 2000
#define SMELL 0.4
MiniOpocio::MiniOpocio(Mappa *in_mappa, float in_posx, float in_posy)
{
dim = 0.4;
speed = 0.2;
vi... | [
"lucapizzagalli@gmail.com"
] | lucapizzagalli@gmail.com |
c5f45768652650881b3845208185c56412da3c17 | d20b517c520a441cd4c2dbbbbcd7c204dc654f61 | /Base Station/src/LilyGO-SIM7000-Cayenne.ino | c54b35f6ec43b45a666f45f46e37269bdc89119d | [] | no_license | izzet-kalinsazlioglu/Monitoring-System | f27f9741b51679c3c62b5de44cd3ec8e496fbb81 | 925ab7a248d04d66095f1eb9e0f745e293d64c5e | refs/heads/main | 2022-12-25T19:59:21.621800 | 2020-10-05T14:50:08 | 2020-10-05T14:50:08 | 301,428,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,426 | ino |
#define TINY_GSM_DEBUG Serial
#define CAYENNE_PRINT Serial
#define TINY_GSM_MODEM_SIM7000
#define USE_GSM //! Uncomment will use SIM7000 for GSM communication
#ifdef USE_GSM
#include <CayenneMQTTGSM.h>
#else
#include <CayenneMQTTESP32.h>
#endif
#include <Arduino.h>
#include <Wire.h>
#include <Adafruit_... | [
"izzet@idealyazilim.net"
] | izzet@idealyazilim.net |
19f15076a6f5789ae2f271998739b32ea526b37b | 9948574a4fac74809488b37d7cd1ea12ca77833b | /PRO1.CPP | 080b2edb260a8e517095d8488acd2c42ce22c8ad | [] | no_license | vishprivenkat/food_ordering_app | 6e51b33c843fad4b58f339bd4488971bb73c3f6f | a2042653838df0fd9a6535fde5cba8be3a74c98b | refs/heads/master | 2021-01-04T18:57:42.795506 | 2020-02-15T13:44:53 | 2020-02-15T13:44:53 | 240,719,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,452 | cpp | #include<fstream.h>
#include<conio.h>
#include<iomanip.h>
#include<stdio.h>
#include<graphics.h>
#include<string.h>
int i,d;
int choice,n,p,gr,exitvar=0;char ch1,ch2,ch3,ch4;
struct administrator
{ int aid,aip;}OBJ;
struct menu
{char item[10][70];float price[10];};
struct hotel
{char name[20],address[50];c... | [
"noreply@github.com"
] | vishprivenkat.noreply@github.com |
dfd0a650c29e821b4d2be6b11554789074d5adda | f81749de4aad3955433ef183dba9813cd54af57f | /instance/problem/continuous/large_scale/CEC2013/N7S1_SR_Ackley_F6.h | c46b168ae5d6137228eb9dec185658e8e752ae45 | [] | no_license | Strawberry9583/OFEC_Alpha | bc27208143647e91f5acd7cfc86b666c8a59aac4 | f251f02d8d63544f49d832efa8acb06da5cd028a | refs/heads/master | 2021-08-22T11:00:32.068132 | 2017-11-28T02:04:36 | 2017-11-28T02:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | /*************************************************************************
* Project:Open Frameworks for Evolutionary Computation (OFEC)
*************************************************************************
* Author: Li Zhou
* Email: 441837060@qq.com
* Language: C++
*************************************************... | [
"changhe.lw@gmail.com"
] | changhe.lw@gmail.com |
4fc896c815a72d4a064218c74869bf318fdf72e6 | 9ef30b4ab3a440aec544936370e12fc5362ef455 | /9_timBoiSo.cpp | 09d094fe2c107d285b02986c45fd2b283d54f493 | [] | no_license | kimchicaithao/kimchi | cd3ae8e5fa2d09500d07a54c14875c2431082455 | 678ffb5e01b01d21ba8d89e451c7d72bcaeea84a | refs/heads/master | 2020-06-04T18:32:59.458366 | 2019-06-16T03:37:12 | 2019-06-16T03:37:12 | 192,145,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | /*
NEWPTIT
*/
#include<bits/stdc++.h>
using namespace std;
int res[505];
bool visited[505];
void Init(){
int dem=0;
queue<int> q;
q.push(9);
while(dem<500){
int t=q.front();q.pop();
for(int i=1;i<=500 && i<=t;i++)
if(t%i==0 && !visited[i]){
visited[i]=true;
res[i]=t;
dem++;
... | [
"noreply@github.com"
] | kimchicaithao.noreply@github.com |
32e571fabfb8fb3e32576a977ae3538399daee17 | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /Program/FIBPlus/DBServ20/DocReal/UDMDocReal.h | 0177ef4c4e4ab4d7486f8d6e4fd7626338b50fe9 | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | WINDOWS-1251 | C++ | false | false | 5,074 | h | //---------------------------------------------------------------------------
#ifndef UDMDocRealH
#define UDMDocRealH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <IBC... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
630e33a2d541108ab08bb6b8a85b0c005ed8fa7d | d6cf7e3a1a58fd3185e2619419f6aa66e8e9a9da | /3.6.7 Cyclic process. Working with numbers in number/4/main.cpp | 0d09dcdca2ebf818a13208e9bae77ec1f2d9ddf9 | [] | no_license | Nkeyka/Qt-Creator-Cpp-Book | 6ba92cdb0eda0b844c83815266756c7e18d285e1 | dcbfaf86bd0ece7c0e5642e03ab5796e2a68c916 | refs/heads/main | 2023-02-23T08:52:16.902547 | 2021-02-02T05:21:36 | 2021-02-02T05:21:36 | 319,847,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include <iostream>
using namespace std;
int main()
{
int N, even = 0, odd = 0;
cout << "N = ";
cin >> N;
do {
if (N % 10 % 2 == 0) even++;
else odd++;
N /= 10;
} while (N > 0);
cout << "even " << even << " odd " << odd;
return 0;
}
| [
"nkeyka@gmail.com"
] | nkeyka@gmail.com |
b2e1cbcebd1d92f848008e00f66085c11a7f2d3e | ff64500dbd41735f267ab5d1f0124425edc8f2ce | /ESP32-drone/src/Drone.h | 06f03698b025b6e3d4f31c8210cd9bbfe85c097b | [] | no_license | MarziehJ/IDS_ESP32_Drone_1 | 0ee9c2e9037fa10c03e79b9e0dfcad4944d60315 | 5a1a6ee1585dbeb3421e001cf0d51b5c3ad94284 | refs/heads/main | 2022-12-29T23:34:30.879103 | 2020-10-14T11:31:17 | 2020-10-14T11:31:17 | 303,991,929 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | h | #ifndef Drone_h
#define Drone_h
#include "Arduino.h"
#include "Joystick.h"
#include "Button.h"
#include "Lcd.h"
#include "led.h"
#include "AsyncUDP.h"
class Drone
{
public:
Drone(int xJoyPin, int yJoyPin, int buttonPin, int ledPin, uint8_t lcd_addr)
{
this->joystick = new Joystick(xJoyPin, xJoyPin);
this... | [
"MarziJoukar@gmail.com"
] | MarziJoukar@gmail.com |
72d526ce13be34b75079281542f8adae940e7f53 | b2628ff5e11120549620d31d0f03b82452e6dacb | /Demo.cpp | 945226437f3d0fd46d120055e6f3324f23b6cd0f | [] | no_license | ZviMints/BullAndPgia | 999aa7a95878389f23b2ea146aa1136a1f3bba7d | 1189c97cfd929e028cf90bbd20ca0dd97d7b2501 | refs/heads/master | 2020-05-19T00:59:35.124068 | 2019-05-06T11:14:09 | 2019-05-06T11:14:09 | 184,747,250 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | /**
* A demo program for bull-pgia.
*
* @author Erel Segal-Halevi
* @since 2019-04
*/
#include <iostream>
using namespace std;
#include "play.hpp"
#include "DummyChoosers.hpp"
#include "DummyGuessers.hpp"
#include "SmartGuesser.hpp"
#include <chrono>
#include <thread> // For Sleep
using namespace bullpgia;... | [
"ZviMints@gmail.com"
] | ZviMints@gmail.com |
450892e7c366246b82e26c1a57515ef8c56c1b78 | aaa31215193aeae549a553c58f278891e9b67e1c | /source/CompilerGlsl/GlslExprConfigFiller.hpp | 3dcde36eec9b20ba29a9a2e7cd5c51cc9a1df5f2 | [
"MIT"
] | permissive | lethep/ShaderWriter | b14d5308bf9ab64e24afeceaf6a9d79b91223a5a | 4cbf830435e33a70bf8dc77386f00a3c910be274 | refs/heads/master | 2023-03-10T06:09:58.842691 | 2021-02-18T19:37:07 | 2021-02-18T19:37:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | hpp | /*
See LICENSE file in root folder
*/
#ifndef ___SDW_GlslExprConfigFiller_H___
#define ___SDW_GlslExprConfigFiller_H___
#pragma once
#include "GlslHelpers.hpp"
#include <ShaderAST/Expr/ExprVisitor.hpp>
namespace glsl
{
class ExprConfigFiller
: public ast::expr::SimpleVisitor
{
public:
static void submit( ast:... | [
"dragonjoker59@hotmail.com"
] | dragonjoker59@hotmail.com |
0e4eaf1e492c47d724cb6d4ba251036380a7ade8 | da1b99cb8f45186085339ea8043ffb335bcd733c | /UvaOnlineJudge/11661.cpp | 982cd4ac0831126111c73c7252e82d605fa88c6d | [] | no_license | Intiser/ProblemSolvingAndContest | 2dff8470fe109701d2e3e407d757f8859691dbd1 | de5431261ac675f323e1d8c19008b0523ba6455e | refs/heads/master | 2020-03-28T04:33:15.934870 | 2019-02-12T09:43:54 | 2019-02-12T09:43:54 | 147,721,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main(){
char c;
int n,fr,fd,r,d,mn,tmp;
while(cin>>n){
cin.ignore();
if(n==0) break;
mn=2000001; fr=0; fd=0;
for(int i=0;i<n;i++){
c=getchar();
if(c=='Z'){
mn=0;
... | [
"Intiser@users.noreply.github.com"
] | Intiser@users.noreply.github.com |
7430f700bbc63dca6e6fb017bbdb3d19c040c296 | 61804cb6c5a947bd89a5d3bedb45fae7dd09480f | /vecteur.cpp | 86ba73ab5d9a01dfb690411fb9fffc5b2f803d1f | [] | no_license | Nageat/VecteurMatrice | 213eedfc9152c1ee229668c99f19dd51eff61c43 | 022263e583f9d06c0aac6aa9ebc345f978ad639c | refs/heads/master | 2020-12-07T23:06:00.147687 | 2020-01-09T14:14:31 | 2020-01-09T14:14:31 | 232,822,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | #include "vecteur.h"
vecteur::vecteur()
{
for (int i = 0; i < 3; i++)
nTab[i] = 0;
}
void vecteur::display(int nTab[])
{
cout << "(" << nTab[0] << "," << nTab[1] << "," << nTab[2] << ")" << endl;
}
vecteur::~vecteur()
{
}
vecteur rodeMembre(Matrice, vecteur)
{
vecteur vect;
for (int i = 0; i < 3; i++)
{
ve... | [
"skyfulle68@gmail.com"
] | skyfulle68@gmail.com |
74ab5b6078f772974de3f4da851af9d7ff12066c | b84e96b6645bd444b27d727af396a46ec387cff3 | /LearnOpenGLPart3/LearnOpenGLPart3/test2.cpp | 92d4d81141a43aa40dbf261dc6a9ca4a2eb537aa | [] | no_license | AverJing/LearnOpenGL | 485f4fa7efb3d4c94d890e4b5d5f3ffdc09c02d9 | 54211ebaf5f04919d7b87231fb3dac0aadb61798 | refs/heads/master | 2020-03-09T10:09:44.739149 | 2019-07-14T15:12:13 | 2019-07-14T15:12:13 | 128,730,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,472 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <Shader.h>
#include <iostream>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow *window... | [
"panda12396@163.com"
] | panda12396@163.com |
25062c0e94da53e6a6bc8c79be5107afbf405006 | d4c720f93631097ee048940d669e0859e85eabcf | /chrome/browser/web_applications/web_app_logging.h | 2a4c6af6391e111cc9095f6a94ffc899c88cc2bf | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,385 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_LOGGING_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_LOGGING_H_
#include <memory>
#include <string>
#include "base/value... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
b18a4505f447fb39f38d64dda1c8059d8673ec04 | 06c0b8471fd49970752e9e77f58e454194ec5b10 | /DirectX_3D_v9_Framework_JCS/DirectX SDK/utilities/Source/Sas/Effect10.h | 5a5b45999540ae0f2c02f74b174c60752901ac53 | [
"MIT"
] | permissive | jcs090218/JCSCC_Engine | fd93b630b70c9fb8ead719bb474eef0b69a915d1 | eac6c55203bd804acb439305ff977cfca9365e1e | refs/heads/master | 2021-06-04T01:01:46.893887 | 2020-06-14T05:37:38 | 2020-06-14T05:37:38 | 102,942,649 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | h | #pragma once
#include "stdafx.h"
#include "D3D10_1.h"
#include "d3d10.h"
#include "d3dx10.h"
#include "Parameter.h"
#include "Effect.h"
namespace Sas
{
class Effect10 : public Effect
{
public:
virtual ~Effect10();
static HRESULT FromD3DEffect( ID3D10Effect* pD3DEffect, const SourceInfo& sf, Effect10** ppE... | [
"lkk440456@gmail.com"
] | lkk440456@gmail.com |
8518cf93aad2e98a2025578d31d87cbed6349673 | 5abed44fbdb0532980b2c850a8e7fad20ef96078 | /libredex/IRTypeChecker.cpp | 56926ba0825fbcc02bf6ea1d4a577ecab2aee174 | [
"MIT"
] | permissive | chmodawk/redex | 8b42f33c71cffb58db49aa9613e3060d88de2116 | c1d2fdd2fdb14c2c3e7adafe827c458c4a1a56ec | refs/heads/master | 2023-03-18T21:45:10.287719 | 2021-03-08T17:45:47 | 2021-03-08T17:48:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,922 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "IRTypeChecker.h"
#include <boost/optional/optional.hpp>
#include "DexUtil.h"
#include "Match.h"
#include "Resolver.h"
#... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7375005514b407d40d56dd71cef2d46c0fdb3bc9 | d4d9779e1f476921fbec4b43b115d24bf394f513 | /MyProject/Private/BTPatrolPointSelect.cpp | 00c172e224ba02e4bffee7da7431431cdcb11b05 | [] | no_license | RastBerryHI/UnrealEngineMed- | 2a1c604a9ba50f5ce595c0d02aef6247757d38e8 | 8e092d687606ef402bcd02583aae52f813045784 | refs/heads/main | 2023-03-03T07:20:09.234775 | 2021-02-16T19:27:11 | 2021-02-16T19:27:11 | 339,506,147 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PatrolPoint.h"
#include "AIPatrolController.h"
#include "BehaviorTree/BlackboardComponent.h"
#include "BTPatrolPointSelect.h"
EBTNodeResult::Type UBTPatrolPointSelect::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMem... | [
"musaev.pasha@gmail.com"
] | musaev.pasha@gmail.com |
0c2100c10f4494c9a931f302981aeb94a72e6e70 | 977f76a33d3d7391373178ebdde59a5e4452e523 | /Framework/PVRCore/IndexedArray.h | 254641f5c5ce1d2d1754b268c305dc1b0de438bf | [
"MIT"
] | permissive | rcdailey/Native_SDK | 7562f44d3254f5099c8e466759bae91fe531d50f | dfb214db150f67c59ae24123e46a0f5e5149eaea | refs/heads/master | 2020-04-14T21:19:01.847213 | 2019-05-24T13:55:37 | 2019-05-24T13:55:37 | 164,124,382 | 0 | 0 | null | 2019-01-04T15:34:46 | 2019-01-04T15:34:46 | null | UTF-8 | C++ | false | false | 25,896 | h | /*!*********************************************************************************************************************
\file PVRCore\IndexedArray.h
\author PowerVR by Imagination, Developer Technology Team.
\copyright Copyright (c) Imagination Technologies Limited.
\brief Implementation of a special... | [
"rcdailey@gmail.com"
] | rcdailey@gmail.com |
f23fe929ab9afd2445c5be61c572093dcc4cd6f2 | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/plugins/ZPhysX/src/PhysicsJoint.cpp | 2ff3e009f79047de8ac25ff78fcc328352501291 | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,548 | cpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// IndieZen Game Engine Framework
//
// Copyright (C) 2001 - 2007 Tony Richards
// Copyright (C) 2008 Walt Collins
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the a... | [
"mgray@wintermute"
] | mgray@wintermute |
6e4db4db9ed7a6d11a6a78c20538e226ca22af35 | 9b553bbfc8b0807d7f860964d6044d6ccf6d1342 | /rel/d/a/obj/d_a_obj_tornado2/d_a_obj_tornado2.cpp | e98217a9ef441491e249f7cef91f778e5df53fa6 | [] | no_license | DedoGamingONE/tp | 5e2e668f7120b154cf6ef6b002c2b4b51ae07ee5 | 5020395dfd34d4dc846e3ea228f6271bfca1c72a | refs/heads/master | 2023-09-03T06:55:25.773029 | 2021-10-24T21:35:00 | 2021-10-24T21:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,273 | cpp | //
// Generated By: dol2asm
// Translation Unit: d_a_obj_tornado2
//
#include "rel/d/a/obj/d_a_obj_tornado2/d_a_obj_tornado2.h"
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Types:
//
struct csXyz {};
struct cXyz {
/* 80266EF4 */ void normalize();
/* 802670AC */ void isZero() const;
static f32 ... | [
""
] | |
bb031d21dc9208ae30b921b636039a30ff3937fe | 88c0e520e2389e676fea559f944109e1ee7e157b | /include/Windows.Graphics.Display.1_4bc8ceb3.h | d904161cf29b02455127dc360dba71b8437cdbd2 | [] | no_license | jchoi2022/NtFuzz-HeaderData | fb4ecbd5399f4fac6a4982a0fb516dd7f9368118 | 6adc3d339e6cac072cde6cfef07eccafbc6b204c | refs/heads/main | 2023-08-03T02:26:10.666986 | 2021-09-17T13:35:26 | 2021-09-17T13:35:26 | 407,547,359 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | h |
#include "winrt/impl/Windows.Storage.Streams.0.h"
#include "winrt/impl/Windows.Graphics.Display.0.h"
WINRT_EXPORT namespace winrt::Windows::Graphics::Display {
struct WINRT_EBO IAdvancedColorInfo :
Windows::Foundation::IInspectable,
impl::consume_t<IAdvancedColorInfo>
{
IAdvancedColorInfo(std::nullp... | [
"jschoi.2022@gmail.com"
] | jschoi.2022@gmail.com |
805e8a909b218318e739125f88945a86dd0f509b | 428a92cfce93ab163180586b3cce7dd126034141 | /src/modul_3/Actions/BadContent.h | 892cc7146efced2f56ceebf9408f769e0caf2b95 | [] | no_license | FilosGabriel/Conti_Project | 26750771eb1f21709d710a71de081b20f7ee2b9a | 2d5f682779d5a42951d15c2aab3f25c66ff6bfa6 | refs/heads/master | 2020-07-23T10:06:18.616275 | 2019-09-10T09:54:24 | 2019-09-10T09:54:24 | 207,523,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | //
// Created by root on 8/5/19.
//
#ifndef IDPS_NEW_BLOCKIP_H
#define IDPS_NEW_BLOCKIP_H
#include <search.h>
#include "Actions.h"
namespace idps{
class BadContent: public Action {
public:
void launch(std::string &details) override ;
explicit BadContent(const Notify *notify1);
};
}
... | [
"noreply@github.com"
] | FilosGabriel.noreply@github.com |
476a45e1d395f41d9e2910c042a0b5694c452777 | 382efc4bb390811b3317652097f80b5def9a963d | /src/rpc/blockchain.cpp | d8d6783b484b5c933dd81c00e71f234cc0df7ec9 | [
"MIT"
] | permissive | maniacoin/maniacoin | dcfc3ea77afdcaa73bcf82e5eefc1b92f81f0de8 | cfc0ee57ddff4e05d363298725c91727c6d27ddf | refs/heads/master | 2023-02-28T11:16:05.730596 | 2021-02-04T20:20:51 | 2021-02-04T20:20:51 | 335,065,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,175 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/blockchain.h"
#include "amount.h"
#include "chain.h"
#include "chainpar... | [
"support@maniacraft.net"
] | support@maniacraft.net |
b073baf3aa5bec369f14baca71eee0d81cd279fe | 934996b31ada702a7f2d327de1e0c14d9cef9e7a | /ChoudhryBilal00326_Assignment3/main.cpp | bd48a312f2159ab1f401f8233940133a19426f4f | [] | no_license | choudhrybilal/OOP-CS224 | 0a537951f5a1ddca1cc8d649e7b2a691cdc1c116 | 48d5f5d6dd66f52f4be10bf3a71218bc83acf02f | refs/heads/master | 2020-03-19T09:45:59.852195 | 2018-07-23T07:56:57 | 2018-07-23T07:56:57 | 136,315,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,602 | cpp | /*
Habib University, Summer Semester 2018,
Object Oriented Programming & Design Methodologies(CS224),
Assignment # 03; Package Delivery System.
Instructor: Dr. Umair Azfar Khan
TA: Ahmed Ali(aa02190)
Choudhry Bilal Mazhar (cm00326)
*/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#incl... | [
"39990031+choudhrybilal@users.noreply.github.com"
] | 39990031+choudhrybilal@users.noreply.github.com |
abf17135bd73832ddf1d3235e491b5a5e67c360e | 3fca51025651363b205171c963d0c21e3a8450bf | /int2Str_test/main.cpp | 7b92c466e065e518e7cf88a8291a58744285beff | [] | no_license | yujianjun1025/cplusplus_exercise | 65191673eeb746d7a986fc8ac2ad4c42d10bb192 | d2e1c74b0b0de6c59097d0127c7138a0836c022e | refs/heads/master | 2021-01-21T12:11:06.897566 | 2016-03-30T03:21:26 | 2016-03-30T03:21:26 | 39,677,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include<stdio.h>
#include <iostream>
#include <map>
using namespace std;
int main()
{
int n = 65535;
char t[256];
std::string s;
sprintf(t, "%d", n);
s = t;
cout <<"sprintf 转化结果:" << s << endl;
map<string, string> map;
map["a"] = n;
cout<< "直接赋值转化结果:" << map["a"] << endl;
... | [
"yujianjun@hbdata-search-test01.lf.sankuai.com"
] | yujianjun@hbdata-search-test01.lf.sankuai.com |
17438b24412681977b21f6760fcc7ea8fc763745 | 8c2051a172d86f232d97455a43b387973277f4fc | /src/xmpp/biboumi_component.hpp | d5b87e91ccb706b4834148494e2de71eabeeaf36 | [
"Zlib"
] | permissive | lep/biboumi | 5fefdc3891cb38de5fad3d0285e7a36ed6dd387b | ba4fcbb68efdf34d173b0bc475d30e6dcbdb9553 | refs/heads/master | 2021-01-12T11:12:39.284514 | 2016-11-04T17:10:38 | 2016-11-04T17:10:38 | 72,871,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,307 | hpp | #pragma once
#include <xmpp/xmpp_component.hpp>
#include <bridge/bridge.hpp>
#include <memory>
#include <string>
#include <map>
namespace db
{
class MucLogLine;
}
struct ListElement;
/**
* A callback called when the waited iq result is received (it is matched
* against the iq id)
*/
using iq_responder_callback... | [
"louiz@louiz.org"
] | louiz@louiz.org |
089451c97cf15878d531947872c49bbfb8c096f0 | 0368436dc981ab44975d4b28935ae89a37065030 | /src/core_memusage.h | d06eadfd6cbdb24b8153d045e0dce785c2d619a2 | [
"MIT"
] | permissive | mirzaei-ce/core-koobit | b1d350c28f87764a14ed7e92e9918c7af90a93a0 | 7d24e9c554fec6f3631691f456e9873bc4536fbd | refs/heads/master | 2021-08-14T19:04:05.775343 | 2017-11-16T14:35:05 | 2017-11-16T14:35:05 | 110,982,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,219 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef KOOBIT_CORE_MEMUSAGE_H
#define KOOBIT_CORE_MEMUSAGE_H
#include "primitives/transaction.h"
#include "primitives/block.h"
#... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
77d6548ca557650e1dcf394ae917e97e44fca1fe | f34dd88f36ad1a05d49a48920d4fea2dd4cd6462 | /hackerrank/Project-Euler/pe037.cpp | 00ed7b962b24fd5b0a1e6bab59e3720d01b68acf | [] | no_license | ccd97/cp_solutions | e1a9f66eb9ae15c5aa80679f3695f32de0f55ded | 702fd1c6a8c3bdc8e255a51abf66c5d71a31ff9e | refs/heads/master | 2021-07-20T06:58:42.496450 | 2018-11-27T14:38:39 | 2018-11-27T14:41:36 | 130,831,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 1000006
bool prime[1000007];
void SieveOfEratosthenes() {
memset(prime, true, sizeof(prime));
for (int p=2; p*p<=MAX; p++){
if (prime[p] == true){
for (int i=p*2; i<=MAX; i += p)
prime[i] = false;
}
}
... | [
"dcunha.cyprien@gmail.com"
] | dcunha.cyprien@gmail.com |
b1512380633b74483aa424968642285136ba34d1 | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_CORE4.0/VBF_Interface/VBF_Plot/Massive/IVBF_MarkModelPointSprite.h | fa98e6ce14682014c280c962880c6c3805ccf346 | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,306 | h | //************************************************************************
// FileName:IVBF_MarkModelPointSprite.h
// Function:军标实体模型接口:点精灵(适用于绘制大量相同的点)
// 该集合中所有点的纹理相同,尺寸相同,且始终朝向视点
// Author: 杜莹
// Date: 2015-11-23
//************************************************************************
#ifndef __IV... | [
"robertsam@126.com"
] | robertsam@126.com |
63e9ba6894cc10a02ba9c66869db761018d20e1d | 5c2c7f71ae8adb724f1dc99935fd4fd37ee6523e | /art.cpp | b06fae2b7b4569481c82fbfb2445da688c14eae5 | [] | no_license | Twisol/mushclient | d1b9de077b6fcc0c854e9ff459b3491b0fe16eb7 | 430896bb7abdd025e7a09ddbae40ebfef7e735f0 | refs/heads/master | 2021-01-18T19:14:24.835242 | 2010-09-19T07:53:50 | 2010-09-19T07:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,692 | cpp | /*
ASCII-art generator.
Based on figlet.
FIGlet Copyright 1991, 1993, 1994 Glenn Chappell and Ian Chai
FIGlet Copyright 1996, 1997 John Cowan
Portions written by Paul Burton
Internet: <ianchai@usa.net>
FIGlet, along with the various FIGlet fonts and documentation, is
copyrighted under the provision... | [
"nick@gammon.com.au"
] | nick@gammon.com.au |
09bd8d81b20cdafb518ae4d207a018936fa51a46 | 28c83c7cf21ae5363a0de614d13fac32bca764e2 | /Engine/include/openface/FaceWorker.h | 112d1058f03b93f2b7b95d29b8f58d33969c23f4 | [] | no_license | sumit33k/Emotinal-behaviour-analytics | 477eea2cf39ab460aab9e021cda694190d690191 | f53562e8b46fd1fc4b219ca37c2fc656a189b82c | refs/heads/master | 2021-08-30T16:31:50.783313 | 2017-12-18T16:44:11 | 2017-12-18T16:44:11 | 114,663,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,255 | h | #pragma once
#ifndef __FACE_WORKER_H
#define __FACE_WORKER_H
#include <thread>
#include <atomic>
#include <chrono>
#include <FaceQueue.h>
#define WORKER_DEFAULT_QUEUESIZE 2
namespace OpenFace
{
/// <summary>
/// Base class wrapping an async worker-thread.
/// </summary>
template <typename T, typename U, typename W... | [
"sumit3.k@gmail.com"
] | sumit3.k@gmail.com |
863666a272d5a0cdc3130ed4b42b09096bfaf865 | 9846a863830457aba89f2f1b595d8e35f2e45faa | /Caja.cpp | bb8d8b210576286f99c4b61de2403e16636a3c1a | [] | no_license | lismunozfortea/Pang | c900f53e5c17db5889fc66f4215214cacbfbe597 | 22211a1d685343fe8851adb13ddb41198ad13b8e | refs/heads/main | 2023-04-10T11:03:55.211523 | 2021-04-18T18:46:27 | 2021-04-18T18:46:27 | 359,226,153 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "freeglut.h"
#include "Caja.h"
Caja::Caja()
{
suelo.setColor(30, 89, 69);
techo.setColor(30, 89, 69);
pared_dcha.setColor(32, 96, 61);
pared_izq.setColor(32, 96, 61);
pared_izq.setLimits(-10.0f, -10.0f, 0.0f, 15.0f);
techo.setLimits(-10.0f, 10.0f, 15.0f, 15.0f);
pared_dcha.setLimits(10.0f,... | [
"noreply@github.com"
] | lismunozfortea.noreply@github.com |
7c401d629b761ed66bd633b2c5f6348fd19e4191 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/AnimationCore/NodeChain.generated.h | 04475bb3592a3d097f440dc3dd816a1e46b40724 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 1,026 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
6653fbfbe95ce2cfb182301540389c894c4a6862 | 0c55a1486d32b05165400bfe3b724a0c02c3b338 | /src/gui/app/Widgets/Button.h | b7eba7031c629ecf76a59869b3e5c4e6b82b984c | [] | no_license | hubert-kniola/szt-OS | 4ad39a6fc9180779e9a78ea4c5d2b3c82bce5ff9 | 28fe68f10b76e201762cc50f4d14b2b347edb6bc | refs/heads/master | 2022-04-04T13:47:57.049904 | 2020-01-15T20:55:23 | 2020-01-15T20:55:23 | 256,813,954 | 1 | 0 | null | 2020-04-18T17:33:39 | 2020-04-18T17:33:38 | null | UTF-8 | C++ | false | false | 802 | h | #pragma once
#include <SFML/Graphics.hpp>
#include "../CommandButton.h"
class Button
{
public:
Button(float x, float y, const sf::Vector2f& size, const sf::String& title);
virtual ~Button() = default;
bool draw{ false };
bool clicked{ false };
bool areCommandsDrawn{ false };
virtual sf::FloatRect getGlobalBoun... | [
"bartoshmen@gmail.com"
] | bartoshmen@gmail.com |
abda941e3ae111cc2b5e1613e65052d4ab6ff2b5 | fc49c32c386e7b92f07848563aad0cf5d2a7acbc | /src/cthreadmgr.cpp | 763e970f5e56c580d1a99dd67f7274ce5e5c42fb | [
"Apache-2.0"
] | permissive | joropito/argus | 2e498ad3cac99473aca32656f04efe08cc7de603 | 22262a8edd0b6e3761c17092a4b0a05030e6e4e5 | refs/heads/master | 2021-01-19T06:39:49.146345 | 2019-01-04T13:53:42 | 2019-01-04T13:53:42 | 63,802,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,783 | cpp | #include "cthreadmgr.h"
#include <iostream>
#include <pthread.h>
#include <unistd.h>
using namespace std;
void *Thread_Run(void *p)
{
CThreadMgr::ThreadPool_t* Thread = (CThreadMgr::ThreadPool_t*)p;
CThreadMgr *mgr = Thread->m_pThreadMgr;
mgr->m_pFunc(p);
sleep(rand()%10);
Thread->m_bActive = false;
pthread_e... | [
"noreply@github.com"
] | joropito.noreply@github.com |
8bc8c0dcfbf0978ba15f9b6de9ac1f5fb138f682 | 0800620ddb9aacb0eb5fe1550ce2fd20825029d3 | /Día 4/E/E_no.cpp | 182b35db7ac05880eba614e931e0d989bfb381eb | [] | no_license | IgnacioYanjari/Campamento | c95435f754c87045a85fd7dca6798dc6decbc84c | 27ffd2a08093a4eab30c6d54d6e41628c855128e | refs/heads/master | 2021-06-20T17:32:54.315661 | 2017-07-25T04:38:29 | 2017-07-25T04:38:29 | 97,542,924 | 0 | 0 | null | 2020-04-30T19:58:29 | 2017-07-18T02:24:13 | C++ | UTF-8 | C++ | false | false | 2,650 | cpp | // Utilities library
#include <cstdlib>
#include <bitset>
#include <functional>
#include <utility>
#include <tuple>
#include <limits>
#include <cinttypes>
#include <cassert>
// Strings library
#include <cctype>
#include <cstring>
#include <string>
//Containers library
#include <array>
#include <vector>
#include <deque>... | [
"nach116@hotmail.com"
] | nach116@hotmail.com |
b3e3ade9a327ac8b311807f8d41e05b6d116fc1d | cf7e0b065f3edbb38b4d8bdf4d63d51fc3b0106f | /src/alembic/lib/Alembic/AbcGeom/XformOp.cpp | fb03753b49e407b9176b8216a38941e53c236504 | [] | no_license | appleseedhq/windows-deps | 06478bc8ec8f4a9ec40399b763a038e5a76dfbf7 | 7955c4fa1c9e39080862deb84f5e4ddf0cf71f62 | refs/heads/master | 2022-11-21T07:16:35.646878 | 2019-12-11T19:46:46 | 2020-07-19T08:57:23 | 16,730,675 | 5 | 8 | null | 2020-07-19T08:57:25 | 2014-02-11T12:54:46 | C++ | UTF-8 | C++ | false | false | 15,454 | cpp | //-*****************************************************************************
//
// Copyright (c) 2009-2011,
// Sony Pictures Imageworks, Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
104040b3d3b7b542b7eb4a58a645168b0ffe7a16 | d2fcf9142c2a35065271848d0bf0b2ef38c7643b | /cf/dp_problems/580A.cpp | 3b65b89e58945470a5b3206e0dcfbe59192dfe5e | [] | no_license | yashrsharma44/cp-archive | ede0e3cb67a388f760ef18907ad64b46e6223b9a | 1baea4d1614fa637d9e4acf9dbaa261aec9f906e | refs/heads/master | 2020-11-24T04:53:07.055089 | 2019-12-14T05:53:22 | 2019-12-14T05:53:22 | 227,973,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
vector<int> res;
for(int i=0;i<n;i++){
int a;
cin>>a;
res.push_back(a);
}
int len_max=1;
int mx = -1;
for(int i=1;i<res.size();i++){
if(res[i-1] <= res[i]){
len_max+=1;
} else {
mx = max(mx, len_max);
len_max = ... | [
"yashrsharma44@gmail.com"
] | yashrsharma44@gmail.com |
454f360ae9b84e006acb8d94c6fad62e0dca0c2b | 4fdac6b6c7034fe087847497847727fb7bee5f9f | /Adapter.h | 76526d9d4af85d17f849ed6f6890a3459165867f | [] | no_license | DennisAL54/Design-patterns | 2b08825c2836c9ea2a3dbc78e17a135fd15064ee | f5aa87634f1f968dfffcb941ca87c4e7748fc6ee | refs/heads/master | 2022-12-09T14:36:39.045352 | 2020-09-24T03:01:49 | 2020-09-24T03:01:49 | 298,143,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | //
// Created by dennis on 9/23/20.
//
#ifndef DESIGN_PATTERNS_ADAPTER_H
#define DESIGN_PATTERNS_ADAPTER_H
class Adapter {
};
#endif //DESIGN_PATTERNS_ADAPTER_H
| [
"alejimenezc@hotmail.com"
] | alejimenezc@hotmail.com |
baddc9a7467858657209e743d474621fc5efc051 | 1d2247650a919b96c8ca82bf03f71ce7bacbfb94 | /client/client.h | 577960f9c45e23e32b746fdfc309ca9c3b789774 | [
"BSD-3-Clause"
] | permissive | alisheikh/Replicant | e6d217bee9615478af3625c58c046591279630fe | 2091e4f1c55d8bd9c710739bc48ac8eb74004cf4 | refs/heads/master | 2020-12-11T05:53:42.202763 | 2015-05-28T17:41:07 | 2015-05-28T17:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,312 | h | // Copyright (c) 2015, Robert Escriva
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of c... | [
"robert@rescrv.net"
] | robert@rescrv.net |
e81d60a6fd658dbda3df44adda6c1001824ea391 | d988f3302c7c4f49583fec21c07658ddb09b81e0 | /src/Cpl/TShell/Context_.h | ce28b9bce0f2a94c1b1a7e328de85c0d5aebb6b6 | [] | no_license | johnttaylor/colony.apps | 2b10141d8cb30067a5e387e6c53af9955549b17b | 839f3d62b660111ab122a96f550c8ae9de63faa0 | refs/heads/develop | 2023-05-10T17:24:58.286447 | 2021-12-05T20:54:43 | 2021-12-05T20:54:43 | 41,272,799 | 0 | 0 | null | 2021-12-05T20:54:45 | 2015-08-24T00:10:30 | C | UTF-8 | C++ | false | false | 2,319 | h | #ifndef Cpl_TShell_ContextApi_x_h_
#define Cpl_TShell_ContextApi_x_h_
/*-----------------------------------------------------------------------------
* This file is part of the Colony.Core Project. The Colony.Core Project is an
* open source project with a BSD type of licensing agreement. See the license
* agreement ... | [
"john.t.taylor@gmail.com"
] | john.t.taylor@gmail.com |
3c605b30d053912315674f94980c4c5ed214b647 | c40c60471d9d6ceeb55cabe1845418f8056c98f3 | /Sorting Algos/quick_sort.cpp | 0df28a4f7e40987c6c282f2bc0b8fa5d99cdefbe | [] | no_license | bansalmohitwss/Contributed-code-in-Hackoctober | 290ab3bab3f8971d850bc07a2ecec7b77eb4cf23 | e53f5d8abc08bcfcf8cb7842f7c00478a8102f48 | refs/heads/main | 2022-12-21T08:03:23.009756 | 2020-10-03T16:01:46 | 2020-10-03T16:01:46 | 300,914,386 | 0 | 0 | null | 2020-10-03T15:35:59 | 2020-10-03T15:35:58 | null | UTF-8 | C++ | false | false | 720 | cpp | #include<stdio.h>
int partition(int arr[],int l,int u)
{
int i=l,j=u+1,temp;
do{
do{
i++;
}while(i<=u && arr[i]<arr[l]);
do{
j--;
}while(arr[j]>arr[l]);
if(j>i)
{
temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}while(j>i);
temp = arr[l];
arr[l] = arr[j];
... | [
"bansalmohit9414@gmail.com"
] | bansalmohit9414@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.