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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc8dfa67210b2faae895b9ddb8c3ec4b2fec4170 | 39ec0afd8bd382e7a21c6f40c1c94e6d2041dc0e | /lib/attiny85/interrupt/TIM0_COMPA_cb.cpp | 6aedca61ff581440fedc9375c5a4cd602554332e | [
"BSD-3-Clause"
] | permissive | rkojedzinszky/thermo-sensor | 5682cea9b68d5458e4c4260b3bb47c4ebf63e8e2 | f0b5aa6dbf231b566e00a683c5bb1551569d2463 | refs/heads/master | 2021-01-19T02:33:36.041830 | 2019-08-19T08:41:36 | 2019-08-19T08:47:44 | 61,796,782 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | #include <avr/interrupt.h>
#include <interrupt/TIM0_COMPA.hpp>
template <>
callback_t TIM0_COMPAInterrupt::callback_ = nullptr;
| [
"krichy@cflinux.hu"
] | krichy@cflinux.hu |
1a9c79c2197d3e63c06216ad718f94ff56778757 | f21afaedfca61a9866595c368e8ab77e97f6e21c | /build-CompUT-Desktop_Qt_5_15_1_MSVC2015_64bit-Debug/ui_dialog.h | 66e8cebf73030e98b03419ee6699aaf7821f79df | [] | no_license | RevenMyst/LO21_Projet | 6244447a2112de381b6c22cd4eed3b20e006c1f1 | 7dca38e0acf7669b84d8b9a351a169060994a820 | refs/heads/master | 2023-02-11T14:41:16.287501 | 2021-01-05T08:18:25 | 2021-01-05T08:18:25 | 302,360,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,549 | h | /********************************************************************************
** Form generated from reading UI file 'dialog.ui'
**
** Created by: Qt User Interface Compiler version 5.15.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*******************************************... | [
"reven.myst@gmail.com"
] | reven.myst@gmail.com |
e751bba0d13fdd3965018b122bac2e5f72656738 | 1431f25627571d43ea54d008ca9edebb2ac036f0 | /include/Graphics/FontTexture.h | fa2b59fc4b639e84b2998dd2e6d39a10bd2811c4 | [] | no_license | KevinThielen/KTEngine | c83741fcb26c4d6f1d0477fed0b022113f13b00c | 1229dbad2635cbf7c24a680a55cec2e8ad16730a | refs/heads/master | 2016-09-06T02:45:15.802123 | 2015-11-06T11:14:52 | 2015-11-06T11:14:52 | 26,078,790 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | h | #ifndef KTE_FONT_TEXTURE_H
#define KTE_FONT_TEXTURE_H
#include <GL/glew.h>
#include "Resources/Font.h"
#include <fstream>
#include <iostream>
namespace kte
{
class FontTexture
{
public:
bool loadFromFont(Font font)
{
this->font = font;
//create the texture atlas
glActiveTexture(GL_TEXTUR... | [
"kevathiel@gmail.com"
] | kevathiel@gmail.com |
7eac560e4e8f6a9e4f5697477583c6b7081a97fe | f51410ab838116c8c1d5ba907c6c2169a5b6003e | /main.cpp | 31c6206807436d9847a0112fc7d70f2dc60f68eb | [
"Apache-2.0"
] | permissive | baldr-io/apiengine | 88d89c510ff3bcc6900f9175fc061ad18c9eb663 | 06ea13edf7a20a27120b1e1c553fca71360d56c8 | refs/heads/master | 2020-12-11T07:59:17.677489 | 2015-09-29T20:17:44 | 2015-09-29T20:17:44 | 43,316,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,598 | cpp | #include <microhttpd.h>
#include <json/json.h>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cstring>
#include <sys/utsname.h>
#include <sys/statvfs.h>
#include <sys/types.h>
#include <dirent.h>
#include "scriptapi.hpp"
using namespace std;
#define MIMETYPE "application/json"
#d... | [
"aquabug@gmail.com"
] | aquabug@gmail.com |
c010a2b81ecbc2629a3382fe7486064fbd3dc3a0 | c1715595c04a5d06176a95f68d82aa78cc99589c | /Problems/A and B and Team Training/A and B and Team Training.cpp | 4eee20d2c3a3258a44b8afb366411ce7c8ff9924 | [] | no_license | Mahmood-Darwish/CodeForces-Problem-Solutions | 1b24e07160d03de7cd370baeb80c476eb1627eda | ccbf4a24142e5d44fae1799eac3d7f4236340d04 | refs/heads/master | 2022-05-26T21:13:34.910763 | 2020-04-24T16:41:25 | 2020-04-24T16:41:25 | 258,447,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include <iostream>
using namespace std;
long long int NB , XP , sum;
int main()
{
cin>>XP>>NB;
while((NB>=2&&XP>=1)||(XP>=2&&NB>=1)){
if(XP>NB){
XP-=2;
NB--;
sum++;
}
else {
NB-=2;
XP--;
sum++;
}
}
cout<<sum;
return 0;
} | [
"m.darwish@innopolis.university"
] | m.darwish@innopolis.university |
e20c421c14510831295093f157716c5fa132d359 | 4dbfd2b70fa7ea4e4af4b19bbe2ecaa620d70738 | /dae2ma/src/DAE2MAMorphAnimation.cpp | e27194945d7cf2803de06d0ed6afaa5832720479 | [
"MIT"
] | permissive | RemiArnaud/OpenCOLLADA | e347f5ff7cbe886490ba10c7828e5b6038060021 | cdcd7e7131c640842c99b5066c7320d2ac4899a0 | refs/heads/master | 2023-08-21T09:58:01.559798 | 2023-08-06T08:38:52 | 2023-08-06T08:38:52 | 6,890,659 | 15 | 2 | null | 2023-08-06T08:38:53 | 2012-11-27T20:48:34 | C++ | UTF-8 | C++ | false | false | 540 | cpp | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of DAE2MA.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#include "DAE2MAStableHeaders.h"
#include "DAE2MAMorphAnimation.h"
... | [
"ideasman42@gmail.com"
] | ideasman42@gmail.com |
6995495b4514f7ac9b7c3b8578f8c6e2461ffe29 | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/widgets/duration/NewDuration1.cpp | a0b90d801cf47e41e6d7cd46dcfff3a082fbe282 | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 9,201 | cpp | // NewDuration1.cpp : implementation file
//
#include "stdafx.h"
#include "NewDuration1.h"
#include "MyCDateTime.h"
UINT wm_get_tool_tip; // FIXME
#define DURATION_CONTROL_TOOLTIP _T("Weeks:Days:Hours:Minutes:Seconds")
#ifdef _DEBUG
# define new DEBUG_NEW
# undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#en... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
8e8df6b9317ebca87689ff2a3b3377820d93c77d | 740ac39a4cabce0b87b3d27c7064f1b00f666a0f | /DataPool.hpp | fd7450d39a2dcd863d198e8fc82632bb28441681 | [] | no_license | LiuZiQiao/ChatSystem | 2f8ece711fe60e0f34e6b7695277ec9115b4d788 | 56632598153aa2d85fbbfe1ad9defd424e42998d | refs/heads/master | 2020-04-26T03:29:06.513263 | 2019-03-23T08:12:46 | 2019-03-23T08:12:46 | 173,268,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | hpp | #pragma once
#include<iostream>
#include<vector>
#include<string>
#include<semaphore.h>
class DataPool{
private:
std::vector<std::string> pool;
int cap;
sem_t data_sem;
sem_t blank_sem;
int product_step;
int consume_step;
public:
// DataPool(){}
DataPool(int cap_=512):cap(cap_),pool(cap_)
{
s... | [
"1844861420@qq.com"
] | 1844861420@qq.com |
60e37a43fd9afed7540d7f9808712dc63b0274db | fd15c2265494556c9b8aa6b86672cb6b3b274cdd | /Vector and trees/Vector and trees/Vector.cpp | 3f91fd7e893f999cc58668f29c583f255046ce21 | [] | no_license | mahmood0130790/DS2 | 8eb0964c336382fe2c68fae440d36374e9c1da88 | b11e74824aa39c7954ea8631ef23777f467a7d0c | refs/heads/master | 2022-11-17T18:59:34.054054 | 2020-07-14T15:57:33 | 2020-07-14T15:57:33 | 279,630,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | #include "Vector.h"
#include <assert.h>
template<class T>
inline void Vector<T>::push_back(T value)
{
if (vector_size == capacitance) {
doubling();
}
arr[vector_size] =value ;
vector_size++;
}
template<class T>
void Vector<T>::doubling()
{
capacitance = capacitance * 2;
T* temp_arr = new T[capacitance];
for ... | [
"sence79.s7.s9@gmail.com"
] | sence79.s7.s9@gmail.com |
efdb33331f7afd5d60bd715f060cf41242b9873d | 0aed70be9dd2e32b09973ca097181aefb4c0715b | /Source/FPSGame/Private/Challenges/BlackHole.cpp | 90a433c01731da1a1ed32f4c4c6f9590e8d81482 | [] | no_license | mertoyman/StealthGame | a10b90f8c2042bc53196d9f795f6c3236b4581ba | a3840c0226d9794bce9dd4db46c56975f7912136 | refs/heads/main | 2023-04-10T12:51:30.502008 | 2021-04-16T10:05:17 | 2021-04-16T10:05:17 | 350,727,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BlackHole.h"
#include "Components/SphereComponent.h"
#include "Components/StaticMeshComponent.h"
// Sets default values
ABlackHole::ABlackHole()
{
// Set this actor to call Tick() every frame. You can turn this off to improve... | [
"mertoyman@gmail.com"
] | mertoyman@gmail.com |
71bee8230cbf9f5cacdcd5549da0687d35545497 | 77ac35f2d384a7f7e6189d309d46bf5723c819db | /src/rpcmining.cpp | ea51656fd70eea6e9fdd7c1fef0d383c6935707e | [
"MIT"
] | permissive | maniacdevelop/maniac | 61ac1ffba9eeaf298aee0ea33c815a96375ca0db | ffdef113257af4b9a36277c2075c06f42b7a8381 | refs/heads/master | 2020-12-03T03:37:16.927928 | 2017-08-14T07:03:28 | 2017-08-14T07:03:28 | 95,750,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,111 | 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 "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... | [
"maniacdevelop@yandex.ru"
] | maniacdevelop@yandex.ru |
9f97d6bdf66254e2a0d6ed7a60ee9952addb9051 | a064569a273accdd58d24c8c569e54ef2ef6fbf1 | /21天学通C++(第7版)源代码/9780672335679_TYCPP-7E_Code/Chapter 09/9.12 SizeOfClass/9.12 SizeOfClass/9.12 SizeOfClass.cpp | 1bbd5c8bbbc6e1a2bd6795f4cc772f0aa90777ca | [] | no_license | bangiao/C_plus_plus | 52a00b689b62df45079cfb7bfb3e3df464310ffa | 6a6decaeacb10b6de4233cfe9c5f3765743c7054 | refs/heads/master | 2021-01-01T15:42:27.015650 | 2017-07-19T05:41:25 | 2017-07-19T05:41:25 | 97,676,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | cpp | #include <iostream>
using namespace std;
class MyString
{
private:
char* Buffer;
public:
// Constructor
MyString(const char* InitialInput)
{
if(InitialInput != NULL)
{
Buffer = new char [strlen(InitialInput) + 1];
strcpy(Buffer, InitialInput);
}
else
... | [
"2033445917@qq.com"
] | 2033445917@qq.com |
c55b7316a20d561a79d8a086321cf63b860c6e69 | 7e59e2bdd5cdceb8a5fca7dae38b6348becd3547 | /test/test_self_trade_risk.cpp | 71a15819f81f42aea91d51f85c9620e989fb8e1f | [
"MIT"
] | permissive | therealtylerli/ft | 21176bea548d23d0dff7b960786fe41b03265f16 | d19ab11be108aa536f92c1e92782938857e297c4 | refs/heads/master | 2023-09-05T04:23:48.153742 | 2021-11-17T06:25:55 | 2021-11-17T06:25:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,524 | cpp | // Copyright [2020] <Copyright Kevin, kevin.lau.gd@gmail.com>
#include <gtest/gtest.h>
#include "trader/risk/common/self_trade_risk.h"
static uint64_t order_id = 1;
void GenLO(ft::Order* order, ft::Direction direction, ft::Offset offset, double price) {
order->req.direction = direction;
order->req.offset = offs... | [
"kevin.lau.gd@gmail.com"
] | kevin.lau.gd@gmail.com |
008712cb5ad706bfa7f8b464e3d72bdb34ce34a6 | 2efbd55f9c7f39bddc1348f3a9d38a8f05d0644a | /plugins/eeui/WeexSDK/ios/weex_core/Source/include/JavaScriptCore/dfg/DFGNodeAllocator.h | 5c8eb8707a2f4d6efd0f014dc340dc8dff72c7a1 | [
"MIT"
] | permissive | bonniesl/yktapp | 23b05cc53214269bf1d792dcf41993b425bfe470 | 3f96b7aad945e9aa110f0643d9a57e28d0645ab6 | refs/heads/master | 2023-03-27T04:27:14.921221 | 2021-03-25T06:29:16 | 2021-03-25T06:33:12 | 351,330,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | h | /*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condi... | [
"1336429771@qq.com"
] | 1336429771@qq.com |
12b3c9d4fecc02a2b0432c72a508e5a29d3d0e7d | 97bd2bc90481e59da387772cd414f07516e6f2cd | /pastel/gfx/texture/linearimage_texture.h | 6b3ab0f78aee8d431c193242c917402519c7f3f0 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kaba2/pastel | c0371639be222cfa00252420c54057a54a93a4a3 | c7fb78fff3cbd977b884e54e21651f6346165ff5 | refs/heads/master | 2021-11-12T00:12:49.343600 | 2021-10-31T04:18:28 | 2021-10-31T04:18:28 | 231,507,632 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,010 | h | // Description: LinearImage_Texture class
// Detail: Image-based texture with linear reconstruction and no filtering.
#ifndef PASTELGFX_LINEARIMAGE_TEXTURE_H
#define PASTELGFX_LINEARIMAGE_TEXTURE_H
#include "pastel/gfx/texture/texture.h"
#include "pastel/sys/extender/arrayextender.h"
namespace Pastel
{
... | [
"kaba@hilvi.org"
] | kaba@hilvi.org |
5d77b81bb44a06a7bca29ada570ba671289be452 | 086100538ced4358a56b7cc6b1d88b1530dd4578 | /src/FeatureHandling/include/Vocpp_FeatureHandling/HarrisEdgeDetector.h | 6bc232710baf4625048782a19364b86c36250ff0 | [
"BSD-3-Clause"
] | permissive | Smithangshu/Visual-Odometry-Cpp | 0461ed4ef43864c543d8f2542e71d4168855855e | fc1cb8741430f6bf16185d8416eb421422e54ad5 | refs/heads/master | 2023-04-01T18:05:38.760701 | 2021-04-14T19:08:18 | 2021-04-14T19:08:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | h | /* This file is part of the Visual-Odometry-Cpp project.
* It is subject to the license terms in the LICENSE file
* found in the top-level directory of this distribution.
*
* Copyright (C) 2020 Manuel Kraus
*/
#ifndef VOCPP_HARRIS_EDGE_DETECTOR_H
#define VOCPP_HARRIS_EDGE_DETECTOR_H
#include <Vocpp_Interface/Frame.h>... | [
"noreply@github.com"
] | Smithangshu.noreply@github.com |
1e1eb69c9c1563567e324235e8fe52e8c83b24db | 6a56f4e8bfa2da98cfc51a883b7cae01736c3046 | /ovaldi-code-r1804-trunk/src/EscapeRegexFunction.cpp | 2bc9eb6d9702de6ab0c5482d1e32f44446448545 | [] | no_license | tmcclain-taptech/Ovaldi-Win10 | 6b11e495c8d37fd73aae6c0281287cadbc491e59 | 7214d742c66f3df808d70e880ba9dad69cea403d | refs/heads/master | 2021-07-07T09:36:30.776260 | 2019-03-28T19:11:29 | 2019-03-28T19:11:29 | 164,451,763 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,476 | cpp | //
//
//****************************************************************************************//
// Copyright (c) 2002-2014, The MITRE Corporation
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are ... | [
"tmcclain@tapestrytech.com"
] | tmcclain@tapestrytech.com |
73a69658fa81cbf46c91c83e2490d8eed9eb0c80 | 31fc90ec041e117bd828fc7ded5a989824616549 | /lib/Util/tests/LinkedNodeList.cpp | 5b00facf75277b352c91f0d3a17e118112c52e06 | [] | no_license | KonishchevDmitry/flatmon | 504a506b79a98039cffb07b639e5b232dbf6dfcb | ecf2ab5dd971542187919029d897cde94b0a1d66 | refs/heads/master | 2020-04-05T23:40:05.618459 | 2016-09-18T17:09:38 | 2016-09-18T17:09:38 | 56,867,656 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | #define BOOST_TEST_MODULE LinkedNodeList
#include <boost/test/included/unit_test.hpp>
#include <cstddef>
#include <vector>
#include <Util/LinkedNodeList.hpp>
using namespace Util;
struct Node: public LinkedNodeList<Node> {
int value;
Node(int value): value(value) {
}
};
std::vector<int> traverse(Node*... | [
"konishchev@gmail.com"
] | konishchev@gmail.com |
0693e77f1e5185f806a18dc2b0d4d561de6d5eef | d4866aed0c989fffd785a03c035e911d429806c8 | /hdu1062/main.cpp | 16dae1f3a64f3ee3c8325b8a09a0927bdcde2ec0 | [] | no_license | zhaoming0018/onlineJudge | 5d8aa74b3424c96f0abcd3ffc8ef2e278cb11471 | 2cd2a1f758e68bb9c265314edf0090ebff436d63 | refs/heads/master | 2020-05-20T01:14:10.764135 | 2019-06-17T03:50:11 | 2019-06-17T03:50:11 | 185,306,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | #include <stdio.h>
#include <string.h>
char* revstr(char* st)
{
int len = strlen(st);
for(int i=0;i<(len+1)/2;i++)
{
char ch = st[i];
st[i] = st[len-1-i];
st[len-1-i] = ch;
}
return st;
}
int main()
{
freopen("in.txt","r",stdin);
int n;
char st[1001];
scanf(... | [
"1786796646@qq.com"
] | 1786796646@qq.com |
7fa648da94feb3efe3a1b88ab179030f12651cfe | 608c2d4dd76f014919f3f59c10d824d9b24eb88f | /support-lib/jni/NativeJobDispatcher.cpp | e10cd5266d553ea771bb0cdb4ef700917c9e7d0e | [
"Apache-2.0"
] | permissive | trustee-wallet/djinni-react-native | 2808835ebfbaa26971b8d0d07f4ad14dd09235c0 | 2e664f7abd29da224825a9d7db1746c53b3a3626 | refs/heads/master | 2022-11-30T01:27:28.405017 | 2020-08-10T17:10:53 | 2020-08-10T17:10:53 | 285,511,164 | 1 | 1 | Apache-2.0 | 2020-08-06T08:03:35 | 2020-08-06T08:03:34 | null | UTF-8 | C++ | false | false | 1,215 | cpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from react.djinni
#include "NativeJobDispatcher.hpp" // my header
namespace djinni_generated {
NativeJobDispatcher::NativeJobDispatcher() : ::djinni::JniInterface<::JobDispatcher, NativeJobDispatcher>() {}
NativeJobDispatcher::~NativeJobDispat... | [
"szymon.ulewicz@gmail.com"
] | szymon.ulewicz@gmail.com |
6c3ef4cd8ceb5efb81611a07b0d79d3704fa609c | 54889275d8ec0e6e437feeda0f5a37ac5bd30efa | /src/app-settings/main.cpp | 7a22c580b723f119b0e4dc37d5694afff3df5477 | [] | no_license | shift-karya-teknologi/sims-desktop | 36ed45d81f5a325e48b6715fea19a2b6f545e73a | a1a204e9ba91f116c30719e58079243e803f7e45 | refs/heads/master | 2020-12-25T18:32:54.610708 | 2017-06-12T20:36:07 | 2017-06-12T20:36:07 | 93,966,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QSettings>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QSettings settings("ShiftIMS.ini", QSettings::IniFormat);
MainWindow mainWindow(&settings);
mainWindow.show();
return app.exec();
}
| [
"fahmifauzirahman@gmail.com"
] | fahmifauzirahman@gmail.com |
eab68c8a58b52252768434035e59554379b69212 | 9d4ad6d7f3122f8d32a4a713f06b81ecb7a47c6e | /headers/boost/1.29.0/boost/mpl/aux_/range_c/size.hpp | 515afb97f87ddcebd5e798920ecb981747daad1f | [] | no_license | metashell/headers | 226d6d55eb659134a2ae2aa022b56b893bff1b30 | ceb6da74d7ca582791f33906992a5908fcaca617 | refs/heads/master | 2021-01-20T23:26:51.811362 | 2018-08-25T07:06:19 | 2018-08-25T07:06:19 | 13,360,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | hpp | //-----------------------------------------------------------------------------
// boost mpl/aux_/range_c/size.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2000-02
// Alek... | [
"abelsoft@freemail.hu"
] | abelsoft@freemail.hu |
4cf3c65a87e1e37c89aaf52fe63b1f17b78bebf0 | f6c75a83f74c6ce7f4ad83c5c72a05561a8f34d8 | /DX12SampleProgram/UploadBuffer.h | 0bca1da05432194b2befb29442db84b1cb7d55f0 | [] | no_license | GaussFormula/DX12SampleProgram | 94e1a27fb998f8c7a90a4ea7932156cd6a4dc48e | e37ef9d8362d53718a024d019c12c6cd3631db66 | refs/heads/master | 2022-12-05T01:02:07.643889 | 2020-09-02T18:35:43 | 2020-09-02T18:35:43 | 274,199,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | h | #pragma once
#include "stdafx.h"
#include "D3DUtil.h"
template<typename T>
class UploadBuffer
{
public:
UploadBuffer(ID3D12Device* device, UINT elementCount, bool isConstantBuffer)
:m_isConstantBuffer(isConstantBuffer)
{
m_elementByteSize = sizeof(T);
if (isConstantBuffer)
{
... | [
"c594794@hotmail.com"
] | c594794@hotmail.com |
c95a044180536a39eb40f4c9c1c8c2e93bb10afb | 11ee35b4dc8588c21ea9e75619fc9475e04c408d | /tests/lexy/dsl/list.cpp | 5debda7f116f1fdd0c64eef98adeebab2f7c2885 | [
"BSL-1.0"
] | permissive | netcan/lexy | 7b258384756234135e7960e0b5dec1b0fba70d59 | 775e3d6bf1169ce13b08598d774e707c253f0792 | refs/heads/main | 2023-01-28T14:55:09.416540 | 2020-12-06T14:20:10 | 2020-12-06T16:17:25 | 318,488,104 | 0 | 0 | BSL-1.0 | 2020-12-04T10:55:56 | 2020-12-04T10:55:55 | null | UTF-8 | C++ | false | false | 21,473 | cpp | // Copyright (C) 2020 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <lexy/dsl/list.hpp>
#include "verify.hpp"
#include <lexy/dsl/label.hpp>
#include <lexy/dsl/option.hpp>
#include <lex... | [
"git@foonathan.net"
] | git@foonathan.net |
0695d19b0c16f7e33264c8e6bd821106488c5071 | 3cdc78cf880bf2a910b5e0221357e527ac30da03 | /main.cpp | 6b556e113b01238989c6a45b36bb8e9b618f9aaa | [
"MIT"
] | permissive | Videept/Networks-Project-2 | b44b0775c75a16b92e8d64faf4d462e85e9037da | a83b79c92e0f680e8d76340749a85bc343adca0e | refs/heads/master | 2020-04-30T23:04:49.231952 | 2019-04-09T17:21:44 | 2019-04-09T17:21:44 | 177,135,463 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include<iostream>
#include"Source.h"
#include"SourceList.h"
using namespace std;
/*void printSource(Source source)
{
//Source source("A B 10001 4");
cout<<source.getsource_router()<<" ";
cout<<source.getdest_router()<<" ";
cout<<source.getsource_port()<<" ";
cout<<source.getlink_cost()<<" ";
}*/... | [
"noreply@github.com"
] | Videept.noreply@github.com |
cd76503420a970750df2efdc7a9edfb343aef758 | ffd7b92165d52c027bc25882bf2908deb97aa1e6 | /menu.cpp | 96dddc2f02109544ab793d4cea8d3f6b12c5fcb2 | [] | no_license | akh5113/Fantsy-Combat-Game-Tournament | 2fd19610d2b87e565b756a4c71c311c76994c3cb | 686b1f407341821865687a5fbc0726accfb0c2f5 | refs/heads/master | 2020-03-19T17:06:58.196500 | 2018-06-09T17:37:10 | 2018-06-09T17:37:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,586 | cpp | /*********************************************************************
** Program name: menu.cpp
** Author: Anne Harris
** Date: May 19, 2017
** Description:
*********************************************************************/
#include<iostream>
#include"menu.hpp"
/****************************************... | [
"noreply@github.com"
] | akh5113.noreply@github.com |
19a3dfef40f80e61576f97404359b91e61dc4ec4 | a5a0abbff92462155c3f39cdd0707b60b51c68e2 | /sonar.cpp | 087fbea074ce3375868fe4a29d413352ef60ed3a | [] | no_license | Shih-Yu-Huang/Robotics_final_project | b0b0590ff10c120a2b282096d5cf8153d4cbbeee | 5b7838c741ab4a6c07bae08d3d71e2f45ce146cd | refs/heads/main | 2023-02-17T21:13:02.262890 | 2021-01-20T15:49:38 | 2021-01-20T15:49:38 | 331,225,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,761 | cpp | #include <ros/ros.h>
#include <sensor_msgs/PointCloud.h> //for sonar data
#include <geometry_msgs/Twist.h>
#include <math.h>
#include <iostream>
#include <Aria/Aria.h>
#include <geometry_msgs/Pose.h>
#include "geometry_msgs/PoseStamped.h"
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/point_cloud_conversion... | [
"noreply@github.com"
] | Shih-Yu-Huang.noreply@github.com |
24a014859b11c7d558a86b4460df78378cdb3fce | bf341583b7de7ef84ccba3cccaa9350ddee9c680 | /C++/stl.cpp | 571213f83dd41af3bc1c1e8b049f3ad02a091ebb | [] | no_license | proggerkid/Documents | 88405983812d8f9386b0a798b38986d56f0f1256 | cdf97070ec3a579827e540d75a477207ea96185e | refs/heads/master | 2023-04-24T01:14:54.357618 | 2021-05-30T10:31:04 | 2021-05-30T10:31:04 | 189,754,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | /*
-> stl steht für standart template libraries
-> Sind template Klassen
-> Diese Klassen dienen zur Erstellung von Datenstrukturen wie arrays,
lists, stacks... .
-> Ist also eine library aus container-Klassen aber auch functions,
iterators, algorithms.
->
*/
//vector//
/*
vector<T> v; Deklariert v als leeren vect... | [
"proggerkid@yahoo.com"
] | proggerkid@yahoo.com |
5f0d4840081555fbf7e35475386e1ef935efb9f7 | bb6ebff7a7f6140903d37905c350954ff6599091 | /chrome/renderer/extensions/webstore_bindings.h | 6eda8c080862adc605214f264e6cb1e7e422e159 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,947 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_RENDERER_EXTENSIONS_WEBSTORE_BINDINGS_H_
#define CHROME_RENDERER_EXTENSIONS_WEBSTORE_BINDINGS_H_
#include "base/compiler_specific.h"
#... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
dbb72749779408336326791872190a47ff253e80 | fe844dd71565d9fa8e28649506b07175ead89ab8 | /snippets/ResultValue.hpp | 4763e6e88311b48c1f713d098745c437dea7af65 | [
"Apache-2.0"
] | permissive | res2k/Vulkan-Hpp | 22db86c015f9549a05ff9bde4b03e0ae7455f79c | f4b679c7e7f5856d7ab7eecb5826525b5994461e | refs/heads/main | 2023-03-20T01:24:50.270902 | 2023-03-09T09:04:33 | 2023-03-09T09:04:33 | 185,830,116 | 0 | 0 | Apache-2.0 | 2023-03-12T19:27:09 | 2019-05-09T15:57:15 | C++ | UTF-8 | C++ | false | false | 3,057 | hpp | template <typename T> void ignore(T const &) VULKAN_HPP_NOEXCEPT {}
template <typename T>
struct ResultValue
{
#ifdef VULKAN_HPP_HAS_NOEXCEPT
ResultValue( Result r, T & v ) VULKAN_HPP_NOEXCEPT(VULKAN_HPP_NOEXCEPT(T(v)))
#else
ResultValue( Result r, T & v )
#endif
: result( r )
, value( v )
... | [
"asuessenbach@nvidia.com"
] | asuessenbach@nvidia.com |
7071b5c525480ba2c2371d3bdc310f72981c8ebf | e15942415003af06d094871f19dd6f7cdc5f67e0 | /Charts/vtkChart.cxx | 64fd65f9e5e20877ae667b98289571acd4bd5635 | [
"BSD-3-Clause"
] | permissive | SCS-B3C/VTK5.6 | e5b48b6b3c7a09d4d6b5c6c468b1053af0c39d37 | d4afb224f638c1f7e847b0cd3195ea8a977bb602 | refs/heads/master | 2021-01-13T02:37:03.081012 | 2011-04-08T12:06:58 | 2011-04-08T12:06:58 | 1,587,076 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,775 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkChart.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dist... | [
"d.giunchi@scsitaly.com"
] | d.giunchi@scsitaly.com |
8747a0e63a846f9efaedc8397b16e1db0c497e5c | d178e910c0046247db926d846131a2f0723fa30c | /WebServerFunc.ino | dc4627d280f1602772e841441bce30f332627ad5 | [] | no_license | aekiratli/ws2812_lamp | ca95d1766eb0569760d5f67d56f975909aba2107 | c9fc35085981486403fed7ea3cdf84a768057dc8 | refs/heads/master | 2022-04-17T21:02:33.229052 | 2020-04-16T13:26:32 | 2020-04-16T13:26:32 | 233,586,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,353 | ino | void handle_OnConnect() {
touchCounter = 1;
server.send(200, "text/html", SendHTML());
}
void handle_Fire2012()
{
touchCounter = 11;
server.send(200, "text/html", SendHTML());
}
void handle_Pride2015()
{
touchCounter = 13;
server.send(200, "text/html", SendHTML());
}
void handle_Pacifica()
{
touchCounter... | [
"emre719@gmail.com"
] | emre719@gmail.com |
1382e8d9c288aad8d7d76d891b9d20088578ec20 | b152993f856e9598e67d046e6243350dcd622abe | /components/segmentation_platform/internal/selection/segment_selector_unittest.cc | e484cee42f0cc306385be73d5f8f23cc6fa0e505 | [
"BSD-3-Clause"
] | permissive | monad-one/chromium | 10e4a585fbd2b66b55d5afcba72c50a872708238 | 691b5c9cfa2a4fc38643509932e62438dc3a0d54 | refs/heads/main | 2023-05-14T07:36:48.032727 | 2023-05-10T13:47:48 | 2023-05-10T13:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,006 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/strings/string_piece_forward.h"
#include "components/segmentation_platform/internal/execution/model_execution_status.h"
#include "components/segmentation_platfor... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
3f8822ddd227807c60dbf6dc3c18dc827633fda7 | d84ff5a4f385936330af29451a16fb3eb2e1c8df | /other/streambox_saber/streambox_release_March_10_2018/streambox/Mapper/WindowedGrepMapperEvaluator.h | 67ab41aa643f0d3041f0faf5ece03ff5c6840cd3 | [
"Apache-2.0",
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | TU-Berlin-DIMA/analyzing-stream-modern-hardware | 3e84365f62cf1ef8bc72d7b9e26c93edde99d9d3 | c8b9b7e85fa31d248499bf253eb7f71c80eaaf4e | refs/heads/master | 2022-11-20T18:30:22.994497 | 2020-02-17T11:50:47 | 2020-02-17T11:51:59 | 194,823,562 | 4 | 2 | Apache-2.0 | 2022-11-15T23:28:54 | 2019-07-02T08:39:45 | Gnuplot | UTF-8 | C++ | false | false | 1,251 | h | #ifndef WINDOWEDGREPMAPPEREVALUATOR_H
#define WINDOWEDGREPMAPPEREVALUATOR_H
#include "core/SingleInputTransformEvaluator.h"
#include "Mapper/WindowedGrepMapper.h"
template <typename InputT, typename OutputT>
class WindowedGrepMapperEvaluator
: public SingleInputTransformEvaluator<WindowedGrepMapper<InputT,OutputT>,
... | [
"venturadelmonte@gmail.com"
] | venturadelmonte@gmail.com |
b0b29c2bf2904b8dfa1e2cd963b4f762fb3f68ea | d85d62509c9fc276ff153e393a607f2042fe0b6c | /src/utils/CEGUIUtils.cpp | 9267e494e51ecaf33811d2209208b813f273979d | [
"MIT"
] | permissive | dezGusty/serpents | b188110217c235f162c2bf8f668f9784c270ea76 | 2663eb20c45e27ba80319e934c58c932d9311ad8 | refs/heads/master | 2020-12-25T17:56:15.573033 | 2014-09-11T19:22:04 | 2014-09-11T19:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,630 | cpp | // This file is part of Gusty's Serpents, licensed under the terms of the MIT License
// (further described below).
//
// Copyright (C) 2009-2012 Augustin Preda (thegusty999@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated ... | [
"thegusty999@gmail.com"
] | thegusty999@gmail.com |
9a2593f1a3e8eab1bea7c95ef7b962077a671791 | ca0c2bbd9f0a0962b0c801cfb27b631247b33bcd | /Linked List/Count&Sum.cpp | dc1b75c82a4cb7fa4450b8d7fd46db3c63ad79e4 | [] | no_license | PalashHawee/Data-Structures-and-Algorithms-My-Preparation-for-Software-Engineering | 6517c6110ed0808d64707305378605ff610398c0 | fc3b40b8d993966a1c730b6e920a54b3883835f7 | refs/heads/main | 2023-06-25T21:45:34.327738 | 2021-07-31T13:43:54 | 2021-07-31T13:43:54 | 361,150,662 | 0 | 0 | null | null | null | null | WINDOWS-1258 | C++ | false | false | 1,038 | cpp | //Count and Sum Linked List
#include <stdio.h>
#include <stdlib.h>
struct Node
{
int data;
struct Node *next;
}*first=NULL;
void create(int A[],int n)
{
int i;
struct Node *t,*last;
first=(struct Node *)malloc(sizeof(struct Node));
first->data=A[0];
first->next=NULL;
last=first;
for(i=1;i<n... | [
"noreply@github.com"
] | PalashHawee.noreply@github.com |
aec2b99c4dfb92c13ff31b83fde4fd8cdb9a80cc | 48b23a49c093e8303b90ed6335e61d64362e40af | /shazhko-artem/src/shazhko08/IOCollection.cpp | 43150c782f3bfbf85ab10bcd5d6a3d060c168ca8 | [
"MIT"
] | permissive | zeienko-vitalii/se-cpp | e5b7d1d8800e2a5c777e76cc9cfd30d898400282 | 54a5dfb2e98af099fbfaef129a7fe03a7b815d6f | refs/heads/master | 2021-08-15T15:22:30.559011 | 2017-11-17T22:37:45 | 2017-11-17T22:37:45 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,629 | cpp | /**
* @file IOCollection.cpp
* @brief Содержит реализацию абстрактного класса IOCollection
* @author Shazhko Artem
* @version 0
* @date 09.10.17
*/
#include "SimpleStreamHelperFactory.h"
#include "SimpleList.h"
#include <sstream>
#include <fstream>
namespace Stream {
namespace IOCollection {
/**
* ... | [
"31850295+Shazhko-Artem@users.noreply.github.com"
] | 31850295+Shazhko-Artem@users.noreply.github.com |
0aad4568e8de3ff7e3f8107d5b0442c20cabf9fd | 7b4f30c347b46d11e346254de0592734203bd25b | /SOURCE/mbnrg-2b-rb-i-poly.cpp | ba59082d0434b65840ce843c506b965d03e94a72 | [] | no_license | ppegolo/dlpoly2-mbpol-heat | a7fd2088d899a7eb5fcbd8fdf55c50d39e345e8a | 4c50fda2be5748123ca1a8d82be680d9c67f3018 | refs/heads/master | 2020-03-17T09:52:25.378733 | 2018-06-19T11:31:47 | 2018-06-19T11:31:47 | 133,491,403 | 0 | 0 | null | 2018-06-19T11:31:48 | 2018-05-15T09:16:44 | C++ | UTF-8 | C++ | false | false | 6,688 | cpp | #include <cmath>
#include <algorithm>
#include "poly-2b-A1-B1-v1x.h"
////////////////////////////////////////////////////////////////////////////////
namespace {
//----------------------------------------------------------------------------//
struct variable {
double v_exp(const double& r0, const double& k,
... | [
"noreply@github.com"
] | ppegolo.noreply@github.com |
50509743f5dcebd59bf1dfe396fce541013f32c8 | 113f80f6e9a048ab1380ecb7c10423df63286f64 | /Daemon/Cryptography/AES.h | 924015eb0204ab9e1f6a223629c814692b5750fe | [] | no_license | vladogli/Economy | a9e5d6f728ce98b623b84e659605721666a2a921 | 8e541e5019d90f26b7bea9c5144fbc40bf8b8db9 | refs/heads/master | 2020-06-03T01:12:30.855492 | 2019-06-23T19:47:32 | 2019-06-23T19:47:32 | 191,372,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,108 | h | #ifndef _AES_H_
#define _AES_H_
// Code from https://github.com/SergeyBel/AES
#include <cstring>
namespace Cryptography::AES {
void SubBytes(uint8_t **state);
void ShiftRow(uint8_t **state, int i, int n); // shift row i on n positions
void ShiftRows(uint8_t **state);
uint8_t xtime(uint8_t b); // multip... | [
"allekshey@gmail.com"
] | allekshey@gmail.com |
96bc11d67d3d2c48ce2849bc9cfb37a160e1e092 | 23d95efe5242422778a8ff95a34701c88502c1e2 | /deform_simulator/include/custom_scene/table_kinematic_object.h | 0cee394d41c5e3c5262943a215e3f9b5eb4e73f8 | [
"BSD-2-Clause"
] | permissive | UM-ARM-Lab/deform_control | b7a861ce34b17bb06fc284a87aef2131364c23aa | 81875c9e3fbd3f6cdecd1420130ea53e739b2110 | refs/heads/master | 2023-07-05T21:54:54.895415 | 2019-10-02T19:29:20 | 2019-10-02T19:29:20 | 73,219,753 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | h | #ifndef TABLE_KINEMATIC_OBJECT_H
#define TABLE_KINEMATIC_OBJECT_H
#include "simulation/simplescene.h"
class TableKinematicObject : public CompoundObject<BoxObject>
{
public:
typedef boost::shared_ptr<TableKinematicObject> Ptr;
TableKinematicObject(
const std::string& name,
... | [
"dmcconac@umich.edu"
] | dmcconac@umich.edu |
b578f0710af1a04d127517521cd813220795285d | a5651c5032b9de35c78f63b38324fe7392250d14 | /CodeChef/GOFC18/CHEFDI/CHEFDI_GEN.cpp | e8863a333845fc4e05431f8d9add824546c0c235 | [] | no_license | bkhanale/Competitive-Programming | 7012db1c7f6fd0950f14a865c175a569534bfb69 | 074779f8c513405b8c5ddd5f750592083eaf7548 | refs/heads/master | 2021-01-01T15:21:48.213987 | 2019-02-07T08:00:47 | 2019-02-07T08:00:47 | 97,603,092 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
freopen("input.txt", "w", stdout);
ll L = 99999;
cout << L << endl;
while(L--) {
cout << rand() % 999999999 + 1 << " ";
}
cout << endl;
return 0;
} | [
"bkhanale@gmail.com"
] | bkhanale@gmail.com |
b7007d9d86bac651fb75aa87838307159427cbdc | 0063d539d7b5ef02d1665e51eea597ea4394834b | /src/main.cpp | 893d369ec4fba217ccad9084591b7c288fbc5785 | [] | no_license | young43/SnakeGame | 9d92c561669316c79fc0638ef1157869de3623e8 | 740a98a38e12419e1c0ed9251e0af51a726e77cc | refs/heads/master | 2022-11-04T22:28:02.948040 | 2020-06-17T04:57:42 | 2020-06-17T04:57:42 | 265,775,907 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include <queue>
#include <cstdlib>
#include <ncursesw/curses.h>
#include <ctime>
#include <fstream>
#include <iostream>
#include "snake_ncurses.hpp"
#include "snake.hpp"
int main(void) {
setlocale(LC_ALL, "");
int ch;
while(1) {
ch=show_menu();
switch(ch) {
case 1:
classic_game();
//S.addscore(clas... | [
"seo5220@kookmin.ac.kr"
] | seo5220@kookmin.ac.kr |
b3c3ef950db8bd3f28d8b74c4f1822b588e028c6 | 050afef05e38abc2f2d70265f42559442e325452 | /树/LCP 05. 发 LeetCoin.cpp | bb3cfd50e78bcb74ab315b5a9d6c7736d3d96ccc | [] | no_license | zzm99/Algorithm-Training | 3332685a14a02597524f51b6bf0ff7876d8cc5b3 | b1e8df1116dfca9694a06c8b5efafb78ac42724c | refs/heads/master | 2023-02-17T01:28:46.792766 | 2021-01-03T08:14:59 | 2021-01-03T08:14:59 | 271,560,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,155 | cpp | #define maxn 50005
#define lson l, m, rt << 1
#define rson m + 1, r, rt << 1 | 1
#define solve 1, cnt, 1
const int mm = maxn * 4;
class Solution {
public:
static const int mod = 1e9 + 7;
int L[maxn], R[maxn], cnt;
vector<int> G[maxn];
int sum[mm], add[mm];
void dfs(int u) {
++ cnt... | [
"43439842+zzm99@users.noreply.github.com"
] | 43439842+zzm99@users.noreply.github.com |
97d53e523fb08ff8a8594164a4ff7c4219d1cb1b | 6a1075d76b165e3119714e78d0352426424e4b1f | /001.codedFunctionObject/orgCase/0.orig/p | 956f158e1dbabbda4efed9a85f65fb4204d33da2 | [] | no_license | liujiamingustc/getScoreTutorials | b0efa7614095cc32c745878c3496aa07fcafab31 | f8a47728738fad3cfa1dff624c104e0543e3a663 | refs/heads/main | 2023-02-01T02:37:39.774137 | 2020-12-16T14:23:56 | 2020-12-16T14:23:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"inabower@gmail.com"
] | inabower@gmail.com | |
6bca9682f31c38985c292342c72c34a148e2afc9 | 41d772203dee3172340749995bfbb12d7564d348 | /include/inversion/Regularization.h | e4a94eb0701c140f99aa5b5ee5d8d6e698363f74 | [] | no_license | thiesgerken/wavepi | d394ae3b1156e4b50afa7ac6226897b945377a42 | 5af37946dcc1910ad1cccdc76d2e2f546eeafec4 | refs/heads/master | 2023-03-21T06:45:25.333474 | 2021-03-10T21:37:37 | 2021-03-10T21:37:37 | 346,441,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,447 | h | /*
* Regularization.h
*
* Created on: 03.07.2017
* Author: thies
*/
#ifndef INVERSION_REGULARIZATION_H_
#define INVERSION_REGULARIZATION_H_
#include <inversion/InverseProblem.h>
#include <inversion/InversionProgress.h>
#include <inversion/PostProcessor.h>
#include <climits>
#include <list>
#include <memor... | [
"thies@thiesgerken.de"
] | thies@thiesgerken.de |
7992908552dc7d8692bff30fc911f2434fd898c8 | 511d1f09ac44a6e17dfef3995b38a3e22e087f73 | /catkin_ws/src/robomuse/src/talker.cpp | 50f3ce2de4547ab6d7fb68150fbf8b2b98df1e33 | [] | no_license | rishabhagarwal880/RoboMuse-4.0 | 24f5d8ef885da4a07d1d16141594f6250e52b796 | aae179abb78355aad69034924c1d74dc747db25a | refs/heads/master | 2020-04-10T03:03:45.337819 | 2017-05-10T18:17:22 | 2017-05-10T18:17:22 | 73,717,094 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include <sstream>
int main(int argc, char **argv)
{
ros::init(argc, argv, "talker");
ros::NodeHandle n;
ros::Publisher chatter_pub = n.advertise<std_msgs::String>("chatter", 1000);
ros::Rate loop_rate(10);
int count = 0;
while (ros::ok())
... | [
"rishabhagarwal880@gmail.com"
] | rishabhagarwal880@gmail.com |
78453b636e91f506ef5ec1c08f720696ee74c50d | 13c599a48f0b596c314c7c570f47756fd97a2b92 | /chrome/browser/page_load_metrics/metrics_web_contents_observer.cc | 9944dcb7f9b2e951c03243a1de7de3bf78634d3c | [
"BSD-3-Clause"
] | permissive | qichanna/chromium | a5e3d44bda4bd6511e090e25263f5de94dbfe492 | 458d956db161377610486b7c82a95fc485f60b9b | refs/heads/master | 2022-11-13T00:50:48.147260 | 2016-08-01T23:23:16 | 2016-08-01T23:28:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,156 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/page_load_metrics/metrics_web_contents_observer.h"
#include <algorithm>
#include <ostream>
#include <string>
#include <utility>
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
44583c9d1640972f681cf46471a0d2981cf0dede | dc68b616c2b7d08f1eb780fef0e691b7cc98d93a | /strife/s_sound.h | 5e763014f6c6cb04c8dec9d96aae2de2d285029d | [] | no_license | lantus/Strife | 5fe1480afd8c7a9b1df330a5d875df22176e12fa | 3915adabb3053fcaa8f516326a13bf1ec766374e | refs/heads/master | 2021-01-10T08:06:49.966394 | 2016-03-27T15:39:07 | 2016-03-27T15:39:07 | 48,336,871 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | h | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General P... | [
"lantus360@gmail.com"
] | lantus360@gmail.com |
8a68e557009370285d86df8b22a60fd8f503f014 | 490ec0d2c4d0ae5d54095c71e90d99bbc87049b8 | /ECE551-cpp/100_huff_tree/buildTree.cpp | 998d0ee9f7c4104b9e9c789106d907a19a39583a | [
"MIT"
] | permissive | sicongzhao/cht_Duke_courses | b8c1f03c2fda05b5e73552e6bdb7f3c323810620 | d889e85e677f419c67c12e78143f3e8143457944 | refs/heads/master | 2022-01-06T23:18:36.962017 | 2019-06-12T20:33:33 | 2019-06-12T20:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include "node.h"
Node * buildTree(uint64_t * counts) {
//WRITE ME!
priority_queue_t pq;
int i = 0;
while (i < 257) {
if (counts[i] != 0) {
pq.push(new Node(i, counts[i]));
}
i++;
}
if (pq.empty()) {
return NULL;
}
// by definition in node.h, the passed-ins should be pointers
Node* top0 = NULL;
N... | [
"cht@bupt.edu.cn"
] | cht@bupt.edu.cn |
8a14455610467e951224aa4edc191e06dbacf384 | 7b3772eed2d0c792f2fc78e4c03da4dfdc916703 | /src/hud/selectiondisplay.cpp | b63d4e53db859ff4c6267998767959b6530f5f2c | [
"ISC"
] | permissive | HououinKyouma29/impacto | 5ce4729d3f1054b4a0e3ee2c3a7eeac608e3dca9 | 8d4bf2605f54630b1b1cf7dbf3d05e5fd0249c2d | refs/heads/master | 2021-01-03T07:28:43.284593 | 2020-03-17T12:23:37 | 2020-03-17T12:23:37 | 239,981,298 | 0 | 0 | ISC | 2020-02-12T10:08:08 | 2020-02-12T10:08:07 | null | UTF-8 | C++ | false | false | 8,165 | cpp | #include "selectiondisplay.h"
#include "../impacto.h"
#include "../renderer2d.h"
#include "../inputsystem.h"
#include "../profile/hud/selectiondisplay.h"
#include "../profile/dialogue.h"
#include "../profile/game.h"
#include "../vm/interface/input.h"
namespace Impacto {
namespace SelectionDisplay {
using namespace I... | [
"andrew@projectfilmnext.com"
] | andrew@projectfilmnext.com |
a8e8b713dcf2ef702c9b54ddaf966810e75f685a | 6beb41a1843ef3ddd8c5efeccf13fc800c25f529 | /Prelab10/binary_heap.cpp | 2c747e48538855316c32b309cc0d0d40479e719d | [] | no_license | Bartleby2718/CS2150 | cbc22f962ddd2490906ebb031f7d8a2f2b471c94 | b0979df906667932fc6283e44325f4fb0d6dd4cf | refs/heads/master | 2020-05-22T07:20:07.450937 | 2019-08-25T19:04:55 | 2019-08-25T19:04:55 | 186,263,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,194 | cpp | // Code written by Aaron Bloomfield, 2014
// Released under a CC BY-SA license
// This code is part of the https://github.com/aaronbloomfield/pdr repository
#include <iostream>
#include "binary_heap.h"
using namespace std;
// default constructor
binary_heap::binary_heap() : heap_size(0)
{
heap.push_back(0);
}
/... | [
"bartleby2718@gmail.com"
] | bartleby2718@gmail.com |
58998a57d238442c92247ff2888a0d509a6147d9 | e0f5a15ee615a91d32fd54e659ae576f8d1652b5 | /include/StrucMatch.h | 7729b054f733dddf0099df49fb2d3a4e20145bc3 | [
"Apache-2.0"
] | permissive | lftcai/molmatch | 12f6649ab1551e8d8fc0e86f50a4bc7f0a8acc44 | e96dce9af1c2d322441e5c13bf388845184254a7 | refs/heads/main | 2023-06-29T09:08:17.941123 | 2021-07-30T17:04:16 | 2021-07-30T17:04:16 | 391,137,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,807 | h | #ifndef STRUCMATCH
#define STRUCMATCH
#include "fragment.h"
#include "molecule.h"
#include "utility.h"
extern std::string CRLF;
inline void getReadyMatch(molecule &mol)
{
mol.init();
mol.delH();
mol.setAroma();
mol.setSalt();
mol.setProp();
if(mol.salt)
for(int i=0;i<mol.sIonCount;i++)
{
... | [
"luf@wecomput.com"
] | luf@wecomput.com |
eb0e98d47009b65f25e5d48752ff69fe23c2f979 | 425c18e1412176d5550dc8ae9fe1c6662ff65e6e | /Basic Programming/Basics of Implementation/Game of Coins.cpp | eb74ab3598dd783a1965e220752a850e932ad835 | [] | no_license | tanishqbhar/Hackerearth | c533c31c19c9b63ef7b5dd501592f587cf300904 | 6592a416fc2795d7188c300d41523d2e579435e2 | refs/heads/main | 2023-08-15T04:02:40.247975 | 2021-07-03T07:58:00 | 2021-07-03T07:58:00 | 414,600,214 | 0 | 0 | null | 2021-10-07T12:53:28 | 2021-10-07T12:53:27 | null | UTF-8 | C++ | false | false | 275 | cpp | /*========================*\
| ID: tanishqbhargava2509 |
| LANG: C++ |
\*========================*/
//Tanishq Bhargava
#include<bits/stdc++.h>
using namespace std;
int main()
{
int t, n;
cin >> t;
while(t--)
{
cin >> n;
cout << "Alice" << endl;
}
}
| [
"noreply@github.com"
] | tanishqbhar.noreply@github.com |
341321fd4282ecfe34bd715ea2c265bb1b46739a | 6f37f529bae8bbcc99244468477f14e9f96ff95c | /wxWidgets-2.8.12/src/os2/statbmp.cpp | 6770ce6d7ae7bd88161961d3256f84551dc95c63 | [] | no_license | darknebuli/darknebuli-RM-graph | 13326ddbc9a210605926f7ad4b70672a48b1b2f2 | bf169c01f787fdd144e19fae6732a5b58fdbdafd | refs/heads/master | 2020-05-16T23:40:56.853727 | 2012-04-30T22:14:24 | 2012-04-30T22:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,410 | cpp | U2FsdGVkX19fTms3OENxUoetnOKy1AyJ49jWWmkNc76HrZzistQMiePY1lppDXO+
h62c4rLUDInj2NZaaQ1zvoetnOKy1AyJ49jWWmkNc758g4KpHaB8LwCS1iqVEAa/
3WR6GO//whonn01yC3Yog67qunU9TFgOnfjG1MZQpMC2OPRJchZ8SR+y6qTXqciC
PbQ5LRXraMX/U+xpfY1P2DdoJSPZjbcR3/Gu1kUnMAjXPRyYnDq4LVDcKoL9Uvv7
AeiUtSc1CjnrTBAkBZ3xsPw3EqPBJIiVN2hppiNGw0KrNu2iYORr+2LjHxLO... | [
"charles@rhizometric.com"
] | charles@rhizometric.com |
b6c5ee3ca2d170579c2a20df87d107bcbc53b31a | 3ae7eff5347f49cf1c5ea3f0751f37f2ab6e097e | /maximum matching game on a graph work scheduling.cpp | c7080244a6751c4712ded262af1d07d68c97fa4e | [] | no_license | KevalPadsumbiya/Graph-Algorithms | 96b2eb1e241b872db85531eb0f37c66686f38897 | 7e86cd356ef406113fbeeef1f76c2a937297007a | refs/heads/master | 2022-12-18T16:14:30.851710 | 2020-09-22T09:55:42 | 2020-09-22T09:55:42 | 297,593,044 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include<iostream>
#include<vector>
#include<bits/stdc++.h>
#define lli long long int
#define mod 1000000007
#define pb push_back
#define mk make_pair
#define fastio ios_base::sync_with_stdio(false); cout.tie(NULL);
using namespace std;
vector<int> ar[2001];
int vis[2001],matching[2001];
int matched;
bool DFS(int src... | [
"kppadsumbiya@gmail.com"
] | kppadsumbiya@gmail.com |
fb289daa54dcfbccab2b713a68d7be5cac7ae0a0 | 20c54e8ad871e20edc1cde48cae4fe8e24084485 | /Tools/RCONClient/Globals.h | a3a2f284649bfdbe91e3df48a4b996499a7a6fc2 | [
"Apache-2.0"
] | permissive | TigerHix/MCServer | 58b7d2b2b32cd6b62c4d17ee62fdb8200f4c3785 | 01e9d6311a4c27af044e8c9be3c67000124321e9 | refs/heads/master | 2021-01-18T06:05:00.079325 | 2014-08-04T13:24:46 | 2014-08-04T13:24:46 | 22,609,679 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,679 | h |
// Globals.h
// This file gets included from every module in the project, so that global symbols may be introduced easily
// Also used for precompiled header generation in MSVC environments
// Compiler-dependent stuff:
#if defined(_MSC_VER)
// MSVC produces warning C4481 on the override keyword usage, so disabl... | [
"github@xoft.cz"
] | github@xoft.cz |
3507d41b4f91e98f118cdb77ae29898c7740be45 | 4db400fda40e71df68e71a9aa357d3d93103da20 | /Pacman/Dot.h | a8a1deb0c6087a812ee58a234f7a094424f4aa94 | [] | no_license | morgetai/Pacman | 2faf8559afeac5c9dbc16a125df5e2ae99c0a733 | 863e1f1727b9b2e70fe7ab75ca0f093c462ab37f | refs/heads/master | 2020-05-01T05:36:06.528865 | 2019-06-20T18:13:35 | 2019-06-20T18:13:35 | 177,306,467 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,894 | h | /**
*************************************************************************************************************************
* @file Dot.h
* @author Hridin Andrii
* abgridin@gmail.com
* @date 13-March-2019
* @brief Dot class
**************************************************************... | [
"abgridin@gmail.com"
] | abgridin@gmail.com |
5301b6c0729e469c8f36270f6bd1281a0510ab81 | 7587343a7f889598f53011caf3f55f88e1722d69 | /src/create_oesubsearch.cc | 80e1ba18fac2e1ade94d0753e35de2cc815d7a5f | [
"BSD-3-Clause"
] | permissive | giaguaro/TautEnum | f99dcdc075aec875dcd8de32c9c59164978d47d6 | a9e4c4779136071340c3b0eb390b37fa99a2a10e | refs/heads/master | 2023-03-17T15:00:44.569285 | 2017-05-08T13:59:17 | 2017-05-08T13:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,190 | cc | //
// file create_oesubsearch.cc
// David Cosgrove
// AstraZeneca
// 26th November 2007
//
// This function takes a SMARTS string and returns an OESubSearch created on
// the stack from it. Throws a DACLIB::SMARTSDefnError exception if it can't,
// captured from the OpenEye function.
#include <string>
#include <vector... | [
"davidacosgroveaz@gmail.com"
] | davidacosgroveaz@gmail.com |
b4ff3f9a9418bbb8b91af175eaf6f1bbc537c558 | a85294fd6572512fb748202939d1df5daa601a95 | /Unsolved/UVA - 861 - Little Bishops/861.cpp | 4787202ff0bee7a226f45812b7fd142ae3c4d80c | [] | no_license | pentalpha/programming-contest-problems | ea84cbad9ee9cfe2990e722f2cef257a337f7c7d | 9005463dc785ad342091ef2554d34de51d2c3cd3 | refs/heads/master | 2020-04-10T06:48:34.234210 | 2015-11-13T17:36:51 | 2015-11-13T17:36:51 | 41,173,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | cpp | #include <iostream>
#include <set>
#include <algorithm>
#include <deque>
using namespace std;
int positive(int x){
if(x > 0){
return x;
}else{
return -x;
}
}
bool conflictBishops(pair<int, int> a, pair<int, int> b){
pair<int, int> diff(positive(b.first - a.first), positive(b.second - a.second));
re... | [
"alves.pitagoras@gmail.com"
] | alves.pitagoras@gmail.com |
d3712242dea0de46de44de1d223f6705868f7905 | aa299e219814c5f75d644835262739aa415392a8 | /coding_training/bj_1697.cpp | 556fc46ab428c3f794e9f39638ceeb3854752c54 | [] | no_license | ha4219/coding_test_training | ed10cb77dcbfa64b7d4a1533485552fdd02667e6 | 8debc8762b393ecdde482e88721829cb317b78c8 | refs/heads/master | 2020-04-30T06:26:57.308893 | 2019-03-26T14:41:26 | 2019-03-26T14:41:26 | 176,651,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include "bj_1697.h"
#include<queue>
using namespace std;
typedef struct {
int n, length;
} bfs;
int tomato_check[100003] = { 0, };
void bj_1697() {
int result = 0;
queue<bfs> q;
int n, k;
cin >> n >> k;
bfs start = { n, 0 };
q.push(start);
while (!q.empty()) {
int curN = q.front().n;
int curLenght = ... | [
"38957165+ha4219@users.noreply.github.com"
] | 38957165+ha4219@users.noreply.github.com |
b2bbb98ccb4d1bc55124391b77b1553e0b2acb3f | 8c8ea797b0821400c3176add36dd59f866b8ac3d | /atcoder/abc/c_ume/abc030.cpp | ac9f4df581ae0063eeba29bd7bc94474186da159 | [] | no_license | fushime2/competitive | d3d6d8e095842a97d4cad9ca1246ee120d21789f | b2a0f5957d8ae758330f5450306b629006651ad5 | refs/heads/master | 2021-01-21T16:00:57.337828 | 2017-05-20T06:45:46 | 2017-05-20T06:45:46 | 78,257,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
#define FOR(i,a,b) for(int i=(a);i<(int)(b);i++)
#define rep(i,n) FOR(i,0,n)
#define ALL(x) (x).begin(),(x).end()
#define SZ(x) (int)(x).size()
int main() {
int n, m, x, y;
cin >> n >> m >> x >> y;
vi a(n), b(m);
... | [
"okmt52@gmail.com"
] | okmt52@gmail.com |
c0975f65c7d7ee2b8e3b6692e73e154f70d49853 | ef39080dbede96c4a080285bb373395567c86768 | /Interactive_Environment_BETA/include/Ausgang.h | 5969e904f9759a1b380be913c949ecfe8272e33c | [] | no_license | InteractiveEnvironment/Interactive_Environment | f7f6ab9ab772958e537f11ade7696e528232e9c6 | 871fc7c1e0fde1b3911431144c2f28ebe424a4f5 | refs/heads/master | 2021-01-22T05:16:07.844521 | 2013-07-28T22:20:18 | 2013-07-28T22:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | #ifndef AUSGANG_H
#define AUSGANG_H
#include <iostream>
#include "Port.h"
#include "Ausgang_Interface.h"
template <typename T>
class Ausgang : public Port<T>, public Ausgang_Interface
{
public:
Ausgang();
virtual ~Ausgang();
/** Gibt im Ausgang gespeicherten Wert / gespiechteres Wertobjekt... | [
"bachfa45944@ohm-hochschule.de"
] | bachfa45944@ohm-hochschule.de |
9c07fc7966135901be7df187be4022420d734898 | b3992148ddeffcf19c0a6a8c5376c78db45db0e8 | /imagewidget.cpp | 9a06339c55677a64e1b7f4464a80c277bbf9df5a | [] | no_license | 1433365571/advertisingPlayer | 5643a2397608f16fa0e3e0241285b68461b68727 | cab355f31e549ad4e738405097ec220ee893f52b | refs/heads/master | 2020-04-27T10:23:58.906224 | 2019-03-07T02:10:10 | 2019-03-07T02:10:10 | 174,252,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include "imagewidget.h"
#include "ui_imagewidget.h"
imageWidget::imageWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::imageWidget)
{
ui->setupUi(this);
this->setAutoFillBackground(true);
QPalette palette = this->palette();
palette.setBrush(QPalette::Background,QBrush(QPixmap(":/cat.j... | [
"1433365571@qq.com"
] | 1433365571@qq.com |
e4461a964ae46893465d849010b1287541d18d65 | 0fc93dfed4247ce95fa5a316d2b6ad6c90926d65 | /p080-remove-duplicates-from-sorted-array-ii.cpp | 6f754ca75af9b205037e8cd7e98c3e7787444be5 | [] | no_license | fgwu/leetcode-cpp | eeeb3fbbaece4ac7d435adeb148786fb4ff2aab3 | 9c5673d694d5e32426a30a0c9439e3c997053241 | refs/heads/master | 2021-01-21T16:53:05.664119 | 2017-12-14T06:10:10 | 2017-12-14T06:10:10 | 91,912,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | class Solution {
public:
/*20171120 2149*/
/*AC 2211*/
int removeDuplicates(vector<int>& nums) {
int i = 0, j = 0, last = -1;
while (j < nums.size()) {
if (last < 0 || nums[j] != nums[last]) {
last = i;
nums[i++] = nums[j++];
continue;
}
if (i - last >= 2) {
j++;
continue;
... | [
"wfg7530@163.com"
] | wfg7530@163.com |
228985c6c4ede8a2df95a0f39fa898cd0a365537 | 4044fc117cfceaf6b10af6c756515b32232744f6 | /src/drafted/governance-classes.h | e05dc8bd1a36f5e108a0e9603adeb2a0bbb1c486 | [
"MIT"
] | permissive | PsyTeck/astercoin | 075c3c346530de9eb9e003ce49e640d30b6a3f9b | 62bd370211e666259092e4de1db668be474fa954 | refs/heads/master | 2020-03-31T06:22:53.993751 | 2018-10-08T00:27:22 | 2018-10-08T00:27:22 | 145,587,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,560 | h | // Copyright (c) 2014-2017 The Dash Core developers
/*
* FIELDS AND CLASSIFICATION
* --------------------
*
* -- fields can be updated by the network dynamically (adding a company type, etc)
* -- fields can be voted on, leveling them up/down
* -- levels determine pay in DO/DAO company types
*
* FIELD... | [
"35582826+PsyTeck@users.noreply.github.com"
] | 35582826+PsyTeck@users.noreply.github.com |
11ea928e25408cd1cf349ebb5fc78907aa9e596d | 4a1da823d3b17d96f0dbda1ed7f33bac0bfeb8a0 | /SymfoniaCPP/zad_019_szablon_klas/zad_019_szablon_klas/zad_019_szablon_klas.cpp | 6a3752aeddb0c23070b91f91a116db0b38e0ad0e | [] | no_license | kstuglik/cpp | 30329f35ea347047abfcd1a66a8c761f5821c43c | 770baf92fa084b9a5ffd4244ac2f3dbcfa0cf2c9 | refs/heads/master | 2021-02-17T17:46:24.336844 | 2020-03-05T09:29:43 | 2020-03-05T09:29:43 | 245,115,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | // zad_019_szablon_klas.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<iostream>
using namespace std;
template<class typ1,class typ2>
class duza {
typ1 skladnik;
class pomocnicza {
public:
typ1 lewy;
typ2 prawy;
void wypisz() {
cout << "Lewy: " << lewy << ", Pra... | [
"krzy_s12@wp.pl"
] | krzy_s12@wp.pl |
fc6f9e86cefadfd513bbb3b0056acc66894246fc | d9a0b2779c9bb41d8ad467107184fcf2035ae688 | /Dev/Client/Paper/Scene/SystemUI/linux/SystemUI.cpp | 522fb95bb394d0bd721ba49494431c604c7ae1d8 | [] | no_license | alkaidlong/PaperDemo | 7061f6803f2c95b6984fdc3420f73d09ce3c194c | a3c355f2734f368381b8122b4fda5f26dd4197b1 | refs/heads/master | 2021-01-10T14:26:59.883117 | 2016-04-08T07:45:06 | 2016-04-08T07:45:06 | 55,754,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp |
#include "Platform/Platform.h"
#include "Scene/SystemUI/SystemUI.h"
#include "Core/IO/Directory.h"
#include "Core/String/StringParser.h"
#include "Core/IO/File.h"
#include "Core/IO/Path.h"
#include "Core/Log/Log.h"
#ifdef MEDUSA_LINUX
SystemUI::SystemUI( void )
{
mShowAlertViewCallback=NULL;
mActivityIndicatorVie... | [
"alkaidlong@outlook.com"
] | alkaidlong@outlook.com |
80c1ac2b819c91b72fcb383fb4419eba86186dc8 | 27604c4a2f1399ef2d28f41a5696c761b461c103 | /cactusupgrades/boards/mp7/software/mp7/mp7/include/mp7/PPRamNode.hpp | 98b9c50ddfa4e5e551fb93ce2c2a7a08269afa57 | [] | no_license | herbberg/mp7fw_v2_4_1 | f121755eb6bbe7711bed64175a80b61ebe028cee | 672c3c5d89d3898d8611588a8fe7a159442d34f3 | refs/heads/master | 2020-03-31T17:32:08.724311 | 2018-10-10T13:22:12 | 2018-10-10T13:22:12 | 152,426,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | hpp | #ifndef _mp7_PPRamNode_hpp_
#define _mp7_PPRamNode_hpp_
// MP7 Headers
#include "uhal/DerivedNode.hpp"
namespace mp7 {
/*!@class PPRamNode
* @brief Specialised node to control the channel alignment mechanism
*
* To fill
*
* @author Alessandro Thea
* @date 2013
*/
class P... | [
"Herbert.Bergauer@oeaw.ac.at"
] | Herbert.Bergauer@oeaw.ac.at |
58603fda1bea24cf2ac14846fb29954978bbb194 | f31b6551010f57e37ad6c6487b59bf6c4bebffc1 | /src/profiling/memory/queue_messages.h | be3e8456451d7e9572940eb0be23650e73ce9cca | [
"Apache-2.0"
] | permissive | Bhanditz/perfetto | a9396b26bd9f030cf6ecfa3c20c7dc60f20e8a0c | 640200f64d14b57e858d66865abf4c8716ab14f3 | refs/heads/master | 2023-04-06T12:49:31.139103 | 2019-03-01T17:52:06 | 2019-03-01T17:52:06 | 173,369,894 | 0 | 0 | NOASSERTION | 2023-03-24T20:27:28 | 2019-03-01T21:23:41 | C++ | UTF-8 | C++ | false | false | 2,148 | h | /*
* Copyright (C) 2018 The Android Open Source Project
*
* 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 app... | [
"fmayer@google.com"
] | fmayer@google.com |
3e257fa9405d4d1f9aea15222e3f59cc68201b8d | 6bbaf735bd1af2833c5ca54c8ba2c94362c64d37 | /opencv-4.1.1/cmake/checks/cpu_avx512cel.cpp | e372cf9a456a279fee421ea44f8ea08090975726 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Jonsuff/AutoDeliverProject_Turtlebot3 | 93487927c97931457bed53825b47022fd0dbe90e | 7efe84c07f993d3457d5d5897c3f099688f68e75 | refs/heads/master | 2021-07-13T16:29:56.349212 | 2019-11-11T10:56:51 | 2019-11-11T10:56:51 | 212,256,298 | 0 | 1 | Apache-2.0 | 2020-10-13T16:58:32 | 2019-10-02T04:37:51 | C++ | UTF-8 | C++ | false | false | 218 | cpp | #if defined __AVX512__ || defined __AVX512F__
#include <immintrin.h>
void test()
{
__m512i a, b, c;
a = _mm512_dpwssd_epi32(a, b, c);
}
#else
#error "AVX512-CEL is not supported"
#endif
int main() { return 0; } | [
"dbwhdtjq92@gmail.com"
] | dbwhdtjq92@gmail.com |
47dfe131500b2ad792e125844e9bd0e776abc218 | 3c9633c94343e5051acb191fada9c5fa313ee56f | /operator_overloading.cpp | 303314eb983e7cfcb00dabf9828a850628d687f5 | [] | no_license | rahulrksmau/OOPs-in-Cplusplus | 2b2cc0518808c2c45887cb8f26c5a95591dcafbd | 3f5f5fbf94e5f8d2a35955b86d6330f761ba233e | refs/heads/master | 2021-09-19T19:22:56.365380 | 2018-07-31T05:33:39 | 2018-07-31T05:33:39 | 104,258,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include <iostream>
#include <cstring>
#include <malloc.h>
using namespace std;
typedef struct _String {
char *str;
}String;
// operator overloading
// changing the definition of operator
String operator*(const String &s1, const String &s2){
String res;
res.str = (char *)malloc (strlen(s1.str)*... | [
"noreply@github.com"
] | rahulrksmau.noreply@github.com |
8051ff2502fdb59ede0d6d25eeeb18ed1ed043c9 | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/PrinterControlPanel_functions.cpp | d71c4ce204cfe3a4a44b379ae33e79d5a78ae787 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,676 | cpp |
#include "../SDK.h"
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function PrinterCont... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
5cdef303cb3ad5952462690c61a3435b0e616097 | dde7366c4d3dfde911b127d37b8e505e98b8a320 | /Introductory Problems/increasing_array.cpp | f4a8fcabae92897f2c7fb8c78fc09d47cea099a7 | [
"Apache-2.0"
] | permissive | suvidsahay/CSES-Problem-Set | 38f015a7e28156c5cbcfa33289be9dcc59dc65b7 | 6c426ebb6f974f6c6be6e52041ee2df5fe64a9d8 | refs/heads/master | 2022-12-27T09:29:38.515501 | 2020-10-13T08:34:41 | 2020-10-13T08:34:41 | 300,574,931 | 0 | 10 | Apache-2.0 | 2020-10-13T08:34:42 | 2020-10-02T10:09:16 | C++ | UTF-8 | C++ | false | false | 477 | cpp | #include <bits/stdc++.h>
#define int long long
#define MOD 1000000007
using namespace std;
void solve() {
int n;
cin >> n;
int a[n];
int res = 0;
for(int i = 0; i < n; i++) {
cin >> a[i];
if(i != 0) {
res += max((int)0, a[i - 1] - a[i]);
a[i] = max(a[i - ... | [
"sahay.suvid61@gmail.com"
] | sahay.suvid61@gmail.com |
93d9b3fbfaef6a633425aad8e8d0ef92e9e4347e | 6b46549bad3fbf47b68702e932daf86e517627e3 | /esp8266_deauther/MacList.cpp | d4f51ef720c304ec8d4cdd79d1041394e6d33ae5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | vaginessa/Sonic-Deauther | 30fcfe707336a661289eaff3a9b43f6904b66a35 | 5963676a3e28de9ec5c24dc700aa11c329d9ae30 | refs/heads/master | 2021-10-10T22:57:24.256807 | 2017-05-24T12:47:33 | 2017-05-24T12:47:33 | 115,731,420 | 0 | 0 | NOASSERTION | 2019-01-18T14:30:27 | 2017-12-29T15:05:11 | C | UTF-8 | C++ | false | false | 1,091 | cpp | #include "MacList.h"
MacList::MacList() {
}
bool MacList::contains(Mac adr) {
for (int i = 0; i < num; i++) {
if (macAdrs[i].compare(adr)) return true;
}
return false;
}
int MacList::add(Mac adr) {
if(num < len && adr.valid()) {
if (!contains(adr)) {
macAdrs[num].setMac(adr);
num++;
... | [
"noreply@github.com"
] | vaginessa.noreply@github.com |
a285f892a592284773d13f2d1b8015b761905fd1 | 226b6d33f99bb3f31f39b43b71f27727b471acc2 | /program-1-fall19-stephanietavishproject1/program1.cpp | 0d2b78d50e2b0d63ebbed9b5b848f48f877ffc53 | [] | no_license | StephanieGreenberg/Data-Structures | 0face6135466a5c1b948783e3d3fc0030e2d5391 | f393c78babb1bd45993db92c72909c56890cd2ae | refs/heads/master | 2022-11-20T18:14:39.242919 | 2020-07-20T22:26:10 | 2020-07-20T22:26:10 | 281,235,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,696 | cpp | #include "Star.h"
#include "Star.h"
#include "Planet.h"
#include "Planet.h"
#include "Vector.h"
#include "Vector.h"
#include "List.h"
#include "List.h"
#include <cassert>
#include <iostream>
#include <ctime>
#include <sys/time.h>
using namespace std;
bool unique(unsigned long int ids[], unsigned int size){
for (u... | [
"noreply@github.com"
] | StephanieGreenberg.noreply@github.com |
09ae3eccfc68a8b3f9719be49dcee9dd4de6a28c | d01b150a730f4f941c541bb400bbda23edc9d8b1 | /Beginner/armstrong.cpp | c05ac360574a5525602bab2f81fd447b8ad444ae | [] | no_license | limina12/codekata | f763987f15e57a582ee0614597dbee0ce39fe527 | 05636114b7f764afbfef5bac5b92b464f99449d8 | refs/heads/master | 2021-09-10T23:21:02.898060 | 2018-04-04T06:48:01 | 2018-04-04T06:48:01 | 114,728,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <iostream>
using namespace std;
int main() {
int n,num,rem=0,mul=0;
cin>>n;
num=n;
while(n>0)
{
rem=n%10;
mul=mul+(rem*rem*rem);
n=n/10;
}
if(num==mul)
{
cout<<"yes";
}
else
{
cout<<"no";
}
return 0;
}
| [
"noreply@github.com"
] | limina12.noreply@github.com |
423a263421cccbd746a35fd1ef210520d91e9603 | 3f7613123167b4d25b20b276bcdc4b85018af911 | /DoseCalcCore/DualColData.h | 7a00196c6cd09df59130dbe9995ee55e61bed8f4 | [] | no_license | ysp1986/SpaceDoseCalc | 20ee61cb7326dea63483d908e77dbb6b0caedc49 | 8818bd94cf9c87bffd2f67986c7dfe667e2f9995 | refs/heads/master | 2021-07-11T21:53:07.896022 | 2017-10-16T09:11:19 | 2017-10-16T09:11:19 | 107,105,717 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | h | #pragma once
#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
class DualColData
{
public:
DualColData(const char *name) :myName(name) {
}
DualColData(const DualColData &other):myName(other.myName) {
myData.clear();
myData = other.myData;
}
DualColData();
~DualColData();
std::st... | [
"cnfeat@gmail.com"
] | cnfeat@gmail.com |
e06e960cc8aabea92f1defa2c7043bc96a8760a4 | 1caab75b550201935632e17f2f877c6f3f1d3fcf | /Hikouki/src/Scene/TitleScene.cpp | 807cd3e1ca6033d16b4660c606c840fe0188995e | [] | no_license | ekuinox/Hikouki | 53e569d3be17a72a03c6c841c55433116413485f | 82ba55a77a8914452c64895f223ce4f59467618d | refs/heads/master | 2020-03-20T00:10:31.557154 | 2018-08-17T08:12:35 | 2018-08-17T08:12:35 | 137,034,673 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,027 | cpp | #include "TitleScene.h"
#include "../GameObject/Plain2D.h"
#include "../GameObject/TextArea.h"
TitleScene::TitleScene(CDirectXGraphics* _graphics, XFileManager *_xfileManager, Input* _input, trau::Timer* _timer)
: Scene(_graphics, _xfileManager, _input, _timer)
{
LPDIRECT3DTEXTURE9 texture;
if (FAILED(D3DXCreateTex... | [
"depkey@me.com"
] | depkey@me.com |
7cf8ff5e1138679212b9b857dcdff2e53f72aa7d | fde5dcff2967081b2222e61d8357adb5c4d6c6fc | /winupdate.h | 9a99aadac668000afdd4ed79253a7da8ba78463e | [
"MIT"
] | permissive | asdlei99/winupdate | 0e8f6c31ab965ccc76886f2e4cb7d129c4e5b3c7 | cb0fb6aa40f79cfd2ab51680d5d9857bc8b9aa09 | refs/heads/master | 2022-02-23T19:54:07.903108 | 2018-03-17T07:47:43 | 2018-03-17T07:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #pragma once
namespace winupdate {
enum class Action {
ContinueAsUsual,
ExitNow,
};
// Call this at program startup. If the return value is ExitNow, then you must exit immediately.
// archiveURL is your update archive, for example https://example.com/windows/myprogram-update.zip.bz2
Action Update(const wchar_t* ar... | [
"rogojin@gmail.com"
] | rogojin@gmail.com |
233f989a7595aafe7226dcf16c18ee4961aebbd9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5639104758808576_0/C++/Eryx/solution.cpp | 0301ef62e686edf5111456448052f5a6d5b76cbb | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,895 | cpp | #include <algorithm>
#include <string>
#include <vector>
#include <ctype.h>
#include <math.h>
#include <stdio.h>
//#include <iostream>
#include <set>
//#include <map>
//#include <sstream>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<int> vll... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
638642f78f0a4e0edcc75143a2dc7577e6f66116 | d9ab5e38b6414e9a154904fee1a98d7154574819 | /src/qt/splashscreen.cpp | a57e383a7272d6f8388a0f9826efa33ba3a3909d | [
"MIT"
] | permissive | roxinhojp/RoxoCoin-Source | 1a0cf69d7a8de37c98a5b823f93983aa9c500d11 | fd5293d54e95bbe5f542e94838d6e49b71444457 | refs/heads/master | 2021-01-10T04:22:43.614592 | 2016-04-03T04:27:11 | 2016-04-03T04:27:11 | 55,308,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | cpp | #include "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QApplication>
#include <QPainter>
SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
QSplashScreen(pixmap, f)
{
// set reference point, paddings
int paddingRight = 50;
int paddingTop ... | [
"roxinhojporiginal@gmail.com"
] | roxinhojporiginal@gmail.com |
e5dd659e27d4cf5013d4a7bff00f001fa5f4affa | 8a88fbbe75f0ce9aa462674bc82ff41ff8372eb5 | /VCECore/convert_csp_avx2.cpp | 8603cb8f8659f34cc110744d8dd042d87eb912d7 | [
"Zlib",
"MIT"
] | permissive | imSpecialforces/VCEEnc | e6c239b2135767488e6565c3431794a4b7047213 | 23a6edc8f4f106dc1b06b53c5d31baf4164c7e64 | refs/heads/master | 2022-07-08T00:46:11.232388 | 2020-05-14T11:20:12 | 2020-05-14T11:21:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65,516 | cpp | // -----------------------------------------------------------------------------------------
// QSVEnc/NVEnc by rigaya
// -----------------------------------------------------------------------------------------
// The MIT License
//
// Copyright (c) 2011-2016 rigaya
//
// Permission is hereby granted, free of charge,... | [
"rigaya34589@live.jp"
] | rigaya34589@live.jp |
525a32bf5334f289dfc789e96a577dad6003504c | 7a54982a0f8b10340838e5a6a58ae7dd4c891a24 | /chrome/browser/banners/app_banner_settings_helper_unittest.cc | 254758a6a74b03d45b5ede880ebc257c1cd3f6b6 | [
"BSD-3-Clause"
] | permissive | xar369/chromium | ac4e44d4266e93957a7cbf563793fa77c8f38abe | 08736b1c33c4e0b4d166dbc4e7fe508375fa7861 | refs/heads/master | 2022-12-23T20:46:58.309248 | 2015-12-05T18:05:56 | 2015-12-05T18:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,181 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "base/command_line.h"
#include "chrome/browser/banners/app_banner_metrics.h"
#include "chrome/browser/banners/app_banner_setti... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7495505a401dbef828f04a4a5a2ba45acfc889f9 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/components/sync_driver/data_type_manager_mock.cc | c1ce5ca78a1ba15b1e2a7dc1889a0725e70658f5 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 444 | cc | // 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.
#include "base/location.h"
#include "components/sync_driver/data_type_manager_mock.h"
namespace sync_driver {
DataTypeManagerMock::DataTypeManagerMock()... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
e29d8e269a557b261de2f8bfdd871145d1cdd940 | a2353a0d305a00103f36a54d2112d52b712556e1 | /app.cpp | d7cacf09d2c555904b755115b5bf1be740d7efdc | [] | no_license | KolyaChepalov/pol | 9d1cce0f58b45bea4e5e1c1ea63b22b62cfc81a5 | 35a07043f304b5ebf17d23386ccd36de32495c45 | refs/heads/main | 2023-08-07T19:55:28.306584 | 2021-10-06T12:54:57 | 2021-10-06T12:54:57 | 414,205,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | #include <iostream>
using namespace std;
int main (){
int x = 0;
cin >> x;
if(x < 1582 || x > 2200)
cout << "ERROR" << end |;
else if(x % 4 != 0)
cout << "NORMAL" << end |;
else if(x % 100 != 0)
cout << "LEAP" << end |;
else if(x % 400 != 0)
cout << "NORMAL"<< end |;
else
... | [
"90584556+KolyaChepalov@users.noreply.github.com"
] | 90584556+KolyaChepalov@users.noreply.github.com |
6e1993e9f9f5e3368e1d0914ef07ab3e8b183979 | 120b40d40e19841806e2cd177c6f334bd91754cf | /SortArrayByParity2.cpp | 94e31d75eb687952cd321441a1dc8ab5b6107579 | [] | no_license | vaibhavsethia/Leet-Code | e143e675cb6219f71a852229d09a89795a6112fb | 35200f334a931f924a51fbf1c456800323ac830e | refs/heads/master | 2023-01-19T12:15:30.210249 | 2020-11-30T12:30:18 | 2020-11-30T12:30:18 | 286,557,370 | 0 | 0 | null | 2020-10-17T07:57:41 | 2020-08-10T19:04:48 | C++ | UTF-8 | C++ | false | false | 498 | cpp | class Solution {
public:
vector<int> sortArrayByParityII(vector<int>& A) {
vector<int> Odd, Even;
for(int i=0; i<A.size(); i++){
if(A[i]%2==0){
Even.push_back(A[i]);
} else{
Odd.push_back(A[i]);
}
}
... | [
"vaibhavsethia1998@gmail.com"
] | vaibhavsethia1998@gmail.com |
d355218ffa2a3e0ea27943cf711e7dbb4db7174d | 8652a66d3994098ef4cf9186cd36171eb3833ad3 | /WINCE700/platform/common/src/soc/COMMON_TI_V1/COMMON_TI/PM/CONSTRAINTROOT/constraintroot.cpp | 00a7e06cf514cc4c728c571995960d768751cce7 | [] | no_license | KunYi/em-works | 789e038ecaf4d0ec264d16fdd47df00b841de60c | 3b70b2690782acfcba7f4b0e43e05b5b070ed0da | refs/heads/master | 2016-09-06T03:47:56.913454 | 2013-11-05T03:28:15 | 2013-11-05T03:28:15 | 32,260,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,902 | cpp | // All rights reserved ADENEO EMBEDDED 2010
/*
================================================================================
* Texas Instruments OMAP(TM) Platform Software
* (c) Copyright Texas Instruments, Incorporated. All Rights Reserved.
*
* Use of this software is controlled by the terms and c... | [
"lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab"
] | lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab |
1c983c814cace621cae2f4d294f415abe7be54c3 | a4b09665ae7e698652aff7f67a751c031271ee14 | /Deps/CEGUI/cegui/src/falagard/XMLHandler.cpp | afe8fb8e488f269ee0453552512a70dd8587dfe0 | [
"MIT"
] | permissive | ugozapad/deusexmachina | 80ce769c83ed997fa6440402ac4f0123ce907310 | f5ca9f2eb850bc827bcf2c18a7303f3e569fea5c | refs/heads/master | 2020-05-20T04:38:43.234542 | 2019-01-17T11:27:24 | 2019-01-17T11:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101,843 | cpp | /***********************************************************************
created: Fri Jun 17 2005
author: Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/***************************************************************************
* Copyrigh... | [
"vladimir.orlov@playrix.com"
] | vladimir.orlov@playrix.com |
85cf9f31cf458a3a8aed3c479b4f3783d184d6f0 | 43e01eb4aac62cda77bb9f1d05f830aacba33f32 | /Source/Puzzors/ActorTest.cpp | c816a637d307ebd06af0ee81ccc2a5aa3dea5536 | [] | no_license | belkacemlahouel/puzzors | 4e0767c1f33c679441820fc9bf52b5b30cbdf78e | 8bd6c2f74a8716a380dacaec9be9080eef4064c7 | refs/heads/master | 2021-01-10T14:07:57.697757 | 2016-01-18T20:30:32 | 2016-01-18T20:30:32 | 43,087,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Puzzors.h"
#include "ActorTest.h"
// Sets default values
AActorTest::AActorTest()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.... | [
"rabiller.donatien@hotmail.fr"
] | rabiller.donatien@hotmail.fr |
9c8216b04b12fcc21af7ccfdfde973082640a7cb | 092a08e9af75c4a3c885b60d1f69fbc43f1f85a0 | /cpp/include/Customer.h | 069a87752a0122e5f62b604e5ecbcde1fdc933d7 | [] | no_license | zengcheng0118/selftest | 515e5e9ac639c290f734266137340c00b65bd2da | 5609843d768764a9f5d619a5832e074900acceca | refs/heads/master | 2021-10-26T04:36:38.526612 | 2019-04-10T13:42:34 | 2019-04-10T13:42:34 | 113,206,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | h | #ifndef CUSTOMER_H
#define CUSTOMER_H
namespace ZC_CUSTOMER
{
class Customer
{
private :
public :
Customer();
~Customer();
};
}
#endif | [
"954290837@qq.com"
] | 954290837@qq.com |
92fa955b697aa7fae2f840686d3ab6dce881e333 | bd8d279e9c97d5dbc978fa8345235a33c006fc97 | /samples/RibbonSimple/src/SimpleApp.h | 0eb6044be27763569bb268e0d89f0628fc5e3ae4 | [] | no_license | the-reverend/Win32xx | d2b3ec040df4ed594fe0ec648b394f49b2258b2e | 3a6bd55fc7f0f8f0d24133cbeb9ce9226efe554f | refs/heads/master | 2016-09-12T13:49:48.392542 | 2016-04-17T03:22:30 | 2016-04-17T03:22:30 | 56,416,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | /////////////////////////////////////////
// SimpleApp.h
#ifndef SIMPLEAPP_H
#define SIMPLEAPP_H
#include "View.h"
// Declaration of the CSimpleRibbonApp class
class CSimpleRibbonApp : public CWinApp
{
public:
CSimpleRibbonApp();
virtual ~CSimpleRibbonApp();
virtual BOOL InitInstance();
CView& GetView() {... | [
"ronaldpwilson@gmail.com"
] | ronaldpwilson@gmail.com |
16c5f0a5d982a6bee5860dd75666573d0b6d16bb | 97f8be92810bafdbf68b77c8a938411462d5be4b | /3rdParty/boost/1.71.0/libs/config/checks/std/cpp_init_captures_14.cpp | eec7bb31d7643e00fb6293a71094ca66a1c3f972 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"LGPL-2.1-or-later",
"BSD-4-Clause",
"GPL-1.0-or-later",
"Python-2.0",
"OpenSSL",
"Bison-exception-2.2",
"JSON",
"ISC",
"GPL-2.0-only",
"MIT",
"LicenseRef-scancode-public-domain",
"CC0-1.0",
"BSD-2-Clause",
"LicenseRef-scancode-autoco... | permissive | solisoft/arangodb | 022fefd77ca704bfa4ca240e6392e3afebdb474e | efd5a33bb1ad1ae3b63bfe1f9ce09b16116f62a2 | refs/heads/main | 2021-12-24T16:50:38.171240 | 2021-11-30T11:52:58 | 2021-11-30T11:52:58 | 436,619,840 | 2 | 0 | Apache-2.0 | 2021-12-09T13:05:46 | 2021-12-09T13:05:46 | null | UTF-8 | C++ | false | false | 740 | cpp | // This file was automatically generated on Sun Apr 21 09:13:03 2019
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/L... | [
"jsteemann@users.noreply.github.com"
] | jsteemann@users.noreply.github.com |
c370e9f60b69f4f9af6cc29f9192f63087142767 | f96f14b95abe4677b8121f60ab3c01aaef229bc1 | /src/lsm303dlhc_utils.cpp | a439b7fd08105bbb2b49d8f3e4b9a7d0e590d744 | [
"MIT"
] | permissive | Kom46/lsm303dlhc-driver | bdf75f0abaff165ca89cae38598e113709277e43 | e84134478fbf30b311df4e848d660e8b599e8f49 | refs/heads/master | 2023-05-09T06:47:07.870660 | 2020-09-17T20:40:50 | 2020-09-17T20:40:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | cpp | #include "lsm303dlhc_utils.h"
using namespace lsm303dlhc;
I2CDevice::I2CDevice(uint8_t address, I2C *i2c_ptr)
{
this->_address = address;
this->_i2c_ptr = i2c_ptr;
this->_state = 0x00;
}
I2CDevice::I2CDevice(uint8_t address, PinName sda, PinName scl, int frequency)
{
this->_address = address;
thi... | [
"vznncv@gmail.com"
] | vznncv@gmail.com |
02207ee310dfe4539d88b7d43ee115c259af80eb | 743664f3bb8e7eaec098b9cecabbeb888e731378 | /Darcy_Lights_W_ButtonsANDSOUNDPlayMem/AudioSampleBeat4.cpp | a0dec8b0d0f9b131ee3f3ae60b63681009091150 | [
"MIT"
] | permissive | Drc3p0/InteractivePallette | 310711a4c3cd2cabe9897f03ed8ae9b64f5904ba | d7180d43533850803a3f83d1f5f49e20e32509f5 | refs/heads/master | 2020-03-21T14:54:52.953705 | 2018-06-26T04:04:05 | 2018-06-26T04:04:05 | 138,682,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,658 | cpp | // Audio data converted from WAV file by wav2sketch
#include "AudioSampleBeat4.h"
// Converted from 07.wav, using 44100 Hz, u-law encoding
const unsigned int AudioSampleBeat4[7233] = {
0x010070A4,0x97938A03,0x9A979798,0xAAA8A4A0,0xABABABAB,0xB4B3B1AE,0xB4B4B5B5,0xBBB9B7B5,
0xBCBCBDBC,0xC1C0BEBC,0xC2C3C3C3,0xC6C4C3C2,... | [
"noreply@github.com"
] | Drc3p0.noreply@github.com |
7fc4a6989a6c950723b3b89881e04784759af294 | faabdcf04b97ee3a841bf99ac8b6c4064cbc6504 | /CodingBlocks_algo++/Array and Strings/1d/Finding CB Numbers.cpp | 7c7417d5b63e41d43224d473571d939f057ebafb | [] | no_license | hermit-git/C- | a0a0550dc96b41c1c12837e4db83fca9015545bd | a505759328435f6894f181a17bf6ee0ebd59a44c | refs/heads/master | 2023-03-21T21:11:24.465942 | 2021-03-05T19:03:11 | 2021-03-05T19:03:11 | 230,732,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | #include<iostream>
#include<cstring>
using namespace std;
bool Check_CB_number(int num){
int list[] = {2,3,5,7,11,13,17,19,23,29};
if(num==1||num==0){
return false;
}
for(int i=0;i<10;i++){
if(num%list[i]!=0) return true;
else return false;
}
}
int main(){
char num[17];
int string_size;
cin>>string_si... | [
"44200751+888connor888@users.noreply.github.com"
] | 44200751+888connor888@users.noreply.github.com |
e5671568b6d6aa8b2ae09b39620f2df122b9d737 | 400c323f058f38ce71e4d2751282c2ea6ebf62a4 | /example/generated-src/cwrapper/dh__list_enum_my_enum.hpp | 67d71b1fc23390c4b129f0a3082b9d5ae983f8ae | [
"Apache-2.0"
] | permissive | ubook-editora/finn | d2c5c64a604b1cd62b14b6cc3d1e7080b233c161 | 9a2b0e442c94e7311f85d2892dd33b1e3579bb1f | refs/heads/master | 2023-02-17T04:34:39.420345 | 2020-12-28T22:54:09 | 2020-12-28T22:54:09 | 317,634,654 | 0 | 0 | Apache-2.0 | 2020-12-28T22:54:11 | 2020-12-01T18:39:25 | null | UTF-8 | C++ | false | false | 724 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni
#pragma once
#include <atomic>
#include <optional>
#include "my_record.hpp"
#ifdef __cplusplus
extern "C" {
#endif
#include "dh__list_enum_my_enum.h"
#ifdef __cplusplus
}
#endif
struct DjinniListEnumMyEnum {
static djinn... | [
"hien.nguyenle.it@gmail.com"
] | hien.nguyenle.it@gmail.com |
1594a18c22105ecfe5f2749461d6d65f20e1009d | bbd60945bc060827483ec5ac53f653d893617f4c | /test/reverse/core/det_unittest.cpp | 1324fa7f8b52e4477bd3db1e245ad88f6ad572de | [
"MIT"
] | permissive | JamesYang007/FastAD | 118749e3d3064cb2c9ba7bb721b0022e0c79fb75 | 2eaed52f4f2874a6ced554e7cd6488b50025ec6d | refs/heads/master | 2022-12-13T17:04:40.818349 | 2022-12-06T09:41:32 | 2022-12-06T09:41:32 | 181,966,964 | 84 | 6 | MIT | 2022-12-02T03:30:14 | 2019-04-17T20:56:03 | C++ | UTF-8 | C++ | false | false | 3,887 | cpp | #include <testutil/base_fixture.hpp>
#include <fastad_bits/reverse/core/constant.hpp>
#include <fastad_bits/reverse/core/det.hpp>
namespace ad {
namespace core {
struct det_fixture : base_fixture
{
protected:
using det_llt_t = DetNode<DetLLT<value_t>, mat_expr_view_t>;
using det_ldlt_t = DetNode<DetLDLT<value... | [
"jamesyang916@gmail.com"
] | jamesyang916@gmail.com |
a4b4373bcf7d17b9a21eb1ff60694328831e6419 | 4f052287d727d37a56559517267c51555025a7f2 | /mortage_calculation/mortage.cpp | f65a92ec4867ff5af8fe31e558106211bde5740b | [] | no_license | davidjie1949/linux_os_coding | 2c87bce089450151514e24cba13f32db1625b498 | 8ecda327acbb02967b31e99d28fb8ac96de8f3d7 | refs/heads/master | 2023-03-04T07:01:05.065943 | 2021-02-17T05:20:36 | 2021-02-17T05:20:36 | 329,320,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include "mortage.h"
mortage::mortage(int year, double interest_rate, double principle, double down_payment)
: m_year(year), m_interest_rate(interest_rate), m_principle(principle), m_down_payment(down_payment){}
double mortage::loan_amount(){
m_loan_amount = m_principle * (1 - m_down_payment);
return m_... | [
"jieyng@umich.edu"
] | jieyng@umich.edu |
0882b22e043803c638837959301991a2bb403262 | ce5aac42ac3f9e0d3c8e1861d904163cacc5ad95 | /INCLUDE/LOOKUPKE.H | 8b0d758680331ff438d0897f7ae712e97b296bc7 | [] | no_license | d4nie1/TotulDespreCPP | 17912f8766057d4c0c4c621d404a0e6e8b410985 | d6190f42e47cc988857ed981c5d4f0c4ad1a8ce3 | refs/heads/master | 2020-05-17T07:17:31.333584 | 2014-05-02T02:08:13 | 2014-05-02T02:08:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef LOOKUPKEY_H
#define LOOKUPKEY_H
#include "object.h"
extern const Class class_LookupKey;
class LookupKey: public Object {
Object* akey;
public:
LookupKey(const Object& newKey =*nil);
virtual int compare(const Object&) const;
virtual void deepenShallowCopy();
virtual unsigned hash... | [
"konyveim.j@gmail.com"
] | konyveim.j@gmail.com |
858564e6857d19fb6747641e6c30909be10ff252 | e0a63bba57b16abbcf122ca1240b9397cc314ecd | /Tool Scripts/Visual_Check_AND_v2/Visual_Check_AND_v2.ino | a4e4c89c274b5131b65f3c315586a4836bec79f5 | [] | no_license | jamessolonika/IC-Tester | 4714159827ebaa157a38688dce3592bcf0bf8e96 | 3a483478497dfa60ece4b5157dd3d22352c94e8d | refs/heads/master | 2020-05-21T02:15:56.121653 | 2018-07-22T20:51:53 | 2018-07-22T20:51:53 | 34,023,239 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 431 | ino | const int Output_1 = 13;
const int Output_2 = 12;
void setup() {
pinMode(Output_1, OUTPUT);
pinMode(Output_2, OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(Output_1, LOW);
digitalWrite(Output_2, LOW);
delay(2000);
digitalWrite(Output_1, HIGH);
delay(2000);
digitalWrite(Output_... | [
"jamessolonika@gmail.com"
] | jamessolonika@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.