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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
071f0b12843670181c1e5f56df232fe4102a4654 | c6050f92deb9cae64d800591703ec789e39d6727 | /garnituraMarfa.cpp | 0b521a626cabcf56e6da2507a8e39794ed700bbf | [] | no_license | LauraDiosan-CS/lab8-11-polimorfism-feherbeatrix05 | e95b25f0c9b8913f81d379543fcd6625cf900b35 | 33e4e0d26f7c06c46b045cb8a1c221cfdbbcfd1d | refs/heads/master | 2022-06-17T02:56:36.878879 | 2020-05-04T14:57:44 | 2020-05-04T14:57:44 | 255,271,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | #include "garnituraMarfa.h"
GarnituraMarfa::GarnituraMarfa() : Garnitura()
{
}
GarnituraMarfa::GarnituraMarfa(string numeModel, string producator, double nrVagoane, double nrGarnitDisp, double nrGarnitRez, string incarcatura) : Garnitura(numeModel, producator,nrVagoane,nrGarnitDisp,nrGarnitRez)
{
this->incarcatura =... | [
"btrxfeher@gmail.com"
] | btrxfeher@gmail.com |
cd05803b55c42393a76b24ccff442a795d7f6f20 | 6814e6556e620bbcbcf16f0dce7a15134b7830f1 | /Projects/Editor/Source/GUI/Controls/CScrollControl.h | ed3d48daab9eafaf62566706fb51a12290380014 | [
"MIT"
] | permissive | blizmax/skylicht-engine | 1bfc506635a1e33b59ad0ce7b04183bcf87c7fc1 | af99999f0a428ca8f3f144e662c1b23fd03b9ceb | refs/heads/master | 2023-08-07T11:50:02.370130 | 2021-10-09T16:10:20 | 2021-10-09T16:10:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | h | /*
!@
MIT License
Copyright (c) 2020 Skylicht Technology CO., LTD
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | [
"hongduc.pr@gmail.com"
] | hongduc.pr@gmail.com |
008c82e0da87ac4b5bcde8d4776c30b28fc49b8e | f05155d1c9c41fcc6e31686505f856fd2fbc06de | /2019/octobor 2019/anisul c++/codeforce/1237B.cpp | c74eddf7ae00f22af93dfcb0783863d2f9e0d838 | [] | no_license | T-tasir/Competetive-Programming | 22308db58c827a8dfa9d2f879f7a1c135f3ab96a | b56ab712fd2147a69b90b7300e281b9b6ed85852 | refs/heads/main | 2023-08-18T07:35:22.656508 | 2021-10-14T13:20:33 | 2021-10-14T13:20:33 | 368,572,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define vvi vector<vector<int>>
#define vi vector<int>
#define vpii vector<pair<int,int>>
#define ff first
#define ss second
#define all(x) x.begin(),x.end()
#define ffor(i,n) for(int i = 0; i < n; ++i)
signed main()
{
ios_base::sync_with_stdio(fals... | [
"allmoontasir256@gmail.com"
] | allmoontasir256@gmail.com |
dd29a7d4a47d031456750a5824bd478c9f174259 | 53fc674a9c64871e2dcc592345ba0392a6962294 | /Server/main.cpp | 0aba7f8df4d95be043c0b1b21e5e5f214ba1f0d7 | [] | no_license | tfox12/RoboticsLab | 707728fe4221222ebf4beb60b44a89bdc88f7e6b | 7d287570be5290aa8bbd6ccc304a75457d311c93 | refs/heads/master | 2021-01-13T02:30:12.572280 | 2013-01-14T10:21:04 | 2013-01-14T10:21:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "network.h"
#include <iostream>
#include <string>
int main()
{
std::cout << "Waiting for a connection from the Pi" << std::endl;
Server::Socket * client = Server::NetworkInterface::instance()->accept_new_connection();
std::string command;
std::cout << "send the robot commands: forward, b... | [
"tim@ubuntu.(none)"
] | tim@ubuntu.(none) |
e945b7dc1b5a36c1684dd1fb73fd9cd0e8e09f8a | fdcd817e68318040439249076335049070dc9b32 | /lab1-evinjaff/lab1/lab1/lab1.cpp | 0c39084f95c556c4ad04e118f0d9e2ba9fbe644d | [] | no_license | bengross234/CSE332S-FL2020 | 9a4053adba2778883f785c7c812ac7eaaa24fe99 | b81ded7c30e5a1fa20d6b2b36bac6ee88db32d22 | refs/heads/master | 2023-04-02T00:33:38.435495 | 2021-03-15T01:40:41 | 2021-03-15T01:40:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,412 | cpp | /* lab1.cpp : This file contains the 'main' 'readfile' and 'errmessage' function. Program execution begins and ends here.
* Written by Evin Jaff
* email: evin@wustl.edu
*/
#include "Header.h"
int main(int argc, char** argv)
{
vector <string> A;
vector<int> nums;
//Program sho... | [
"evin@wustl.edu"
] | evin@wustl.edu |
9df21937b54ff9816d193bb7461da60c6e7b51a3 | bf5b3d41672ebfe80cfa5b21e5f73ab746dd6f18 | /subphonic/g_comp/g_crossfade.cpp | a388748279caaed07259fbbfc8adb9f8af7c62c1 | [] | no_license | tenso/subphonic | b20a6c78a7412d1f3ba4d151277b4e899bfd847a | 406109bbc04b25927c16a88c54facc274fe72981 | refs/heads/master | 2021-01-15T21:50:17.373008 | 2012-01-01T22:52:33 | 2012-01-01T22:52:33 | 3,084,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cpp | #include "g_crossfade.h"
GCrossfade::GCrossfade(BitmapFont* f, GroundMixer& g) : SoundComp(g)
{
cross = new Crossfade();
//add eveything
Pixmap* back_pix = new Pixmap(pix["128x124"]);
add(back_pix);
add(new MoveBorder(this,back_pix->pos.w,20),0,0);
Label* l = new Label(fnt["l... | [
"anton.olofsson@gmail.com"
] | anton.olofsson@gmail.com |
86babf2a2b0c345ec901fb6265301f636464bea2 | 229116ff4296a824f50c40f222d953c4148c8024 | /PCViewer/Elaboration/Calibration/calibration_adafruit.h | c43b91f69852a2fdc90b14b10874798e3f978549 | [] | no_license | xijunke/VisualInertialKinectFusion | 51e22f234963b7343bdd8cfb98fe88ed3c39599b | 610910dca00e9ffe6b0844411f9479d2a15a4b1b | refs/heads/master | 2021-10-09T10:35:13.905499 | 2018-12-26T11:10:30 | 2018-12-26T11:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,290 | h | #ifndef CALIBRATION_ADAFRUIT_H
#define CALIBRATION_ADAFRUIT_H
#include <QWidget>
#include <define.h>
#include <pcl/visualization/pcl_plotter.h>
//ICP
#include <pcl/correspondence.h>
#include <pcl/registration/correspondence_estimation.h>
#include <pcl/registration/correspondence_estimation_backprojection.h>
#include ... | [
"silvio.giancola@gmail.com"
] | silvio.giancola@gmail.com |
67a61d76f93ce6e89dcc845d533c3423f906b686 | e37f0ef98552770d6d60f82c589911d85dcc19e9 | /Codeforces/762.A.cpp | 8d13c133aa563f76174885e5055b67c034236b77 | [] | no_license | anand873/CP_Codes | 00c9948810a84d8c9085684f31b75246b1f4ea2c | ec7cd07141512646d96cd247c190924ae9a7e263 | refs/heads/master | 2021-09-09T20:58:51.713079 | 2021-08-30T08:15:13 | 2021-08-30T08:15:13 | 204,478,713 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | //Author: AnandRaj uux
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vpii;
typedef pair<ll,ll> pll;
typedef vector<ll> vl;
typedef vector<vl> vvl;
typedef vector<pll... | [
"noreply@github.com"
] | anand873.noreply@github.com |
75fdd6bf435cc599e95299671ef1da67158ddc04 | ceb7431363e36a4698a93540cdeafcd9d9b315ad | /include/latino/StaticAnalyzer/Core/PathSensitive/CallEvent.h | 370e043254279b07daf1365b07a2a3d081b4f34f | [
"MIT"
] | permissive | primitivorm/latino-llvm | 8b5d8759271eb6c328cb4c81a2523bbecce10222 | 33c820aeef006b7190e347e0839cf4f268b70639 | refs/heads/master | 2023-08-02T06:15:42.365363 | 2023-05-05T13:28:32 | 2023-05-05T13:28:32 | 133,191,211 | 4 | 2 | MIT | 2022-03-31T01:39:29 | 2018-05-12T23:39:50 | C++ | UTF-8 | C++ | false | false | 53,284 | h | //===- CallEvent.h - Wrapper for all function and method calls --*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"cibercafe_montero@hotmail.com"
] | cibercafe_montero@hotmail.com |
21515d83613bcd270b7cd361362b1ffb02114552 | d4014d7b7555afb29806827c8bc036e3b20ea876 | /tests/test/wasm/test_openmp.cpp | 4261aa618f21897a11e034b86f5d839bd460cff0 | [
"Apache-2.0"
] | permissive | renzhengeek/Faasm | ff89865208e927ad5ab8cda6403c171334a69b95 | 7c3f081e21064d8dbd4664212916170ea87f76fd | refs/heads/master | 2022-04-26T18:52:39.940370 | 2020-04-24T15:47:14 | 2020-04-24T15:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,315 | cpp | #include <catch/catch.hpp>
#include "utils.h"
#include <util/func.h>
namespace tests {
// -------------------------------------------
// TODO - WASI - get commented-out functions working
// -------------------------------------------
TEST_CASE("Test static for scheduling", "[wasm]") {
cleanS... | [
"noreply@github.com"
] | renzhengeek.noreply@github.com |
1800d6ae6f3c134d5c60bbcb981e99d5e501e0f0 | 519351b04bd4f29794851511c8857cc6a3a93d3f | /include/consts.h | 36cd6890b59a95625cacbbc6a4424b2ba0c15c52 | [
"Apache-2.0"
] | permissive | jwlawson/qv | 803ce081b8a24e428d17c003e8c28c844d0b6f2b | 25f1aa8d47f9d657ff074359c057f8c16e5f728c | refs/heads/master | 2021-06-22T22:48:56.830435 | 2017-05-17T13:14:48 | 2017-05-17T13:14:48 | 18,249,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | /**
* consts.h
* Copyright 2014-2015 John Lawson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"john@jwlawson.co.uk"
] | john@jwlawson.co.uk |
eb323eb0a40c562724f593d03222fd89d6e3bc13 | 619fc1a0dc8b042b5daf12cbeed7cff3ea4491bc | /src/vcl/core/drawable/drawable_uniform/drawable_uniform.hpp | daaebd9b2a2c7ef080032c5e31347059058d8672 | [] | no_license | Denisoidd/football_keepie_uppie | 3046c99308c5a078062b698fc1dba6503492686a | 5eddac502536d78fbb10b1e85368101edd4e729b | refs/heads/master | 2020-08-15T15:54:56.619485 | 2019-10-15T18:37:23 | 2019-10-15T18:37:23 | 215,366,977 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | #pragma once
#include "vcl/core/math/vec/vec3/vec3.hpp"
#include "vcl/core/math/mat/mat3/mat3.hpp"
namespace vcl
{
struct drawable_uniform
{
drawable_uniform();
mat3 rotation;
vec3 translation;
float scaling;
vec3 scaling_axis;
vec3 color;
struct
{
float ambiant;
fl... | [
"denis.chaynikov@phystech.edu"
] | denis.chaynikov@phystech.edu |
bf11f35c1ca5de529203dcd981fda3d63d61870c | df54ed8fce088f9c97c45d6a4af7c366f6e0ccea | /rush00/LEnemy.hpp | c041b00c6afee34fb293a63fcb88ae887a7ead49 | [] | no_license | conanwu777/CPP_piscine | 1de64cc10f07d32ce265aa8ab646bc384a4fcaa0 | 5fceeafd076716ec4688f2687f813cc7dfc37265 | refs/heads/master | 2020-05-04T19:08:45.600506 | 2019-04-03T23:07:26 | 2019-04-03T23:07:26 | 179,380,574 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | hpp | #ifndef LENEMY_HPP
# define LENEMY_HPP
# include "Enemy.hpp"
class LEnemy : public Enemy
{
public:
LEnemy();
virtual ~LEnemy();
LEnemy(Win &w, int y, int x);
LEnemy(Enemy const &src);
void display();
void move();
void die();
};
#endif | [
"cwu@e1z2r4p34.42.us.org"
] | cwu@e1z2r4p34.42.us.org |
b9a7f20d0d47b0d6f23d1b0af2cfd20f0174ca78 | 29e9e2b1af455a5488b980933e05e554ce4c8440 | /3055_탈출.cpp | a9ca5e3ad7d2b87d14f79cfe49cca47ae13d84bc | [] | no_license | koogk7/Algorithm | acb45673dd863fc4f8591c03993336793e0bb17d | 41878d14602e4bf86ddb107f75b7e5330a9b6c1a | refs/heads/master | 2021-06-24T10:58:46.650563 | 2021-02-26T14:56:33 | 2021-02-26T14:56:33 | 190,718,958 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <cstring>
#include <stack>
#include <map>
#include <set>
#include <math.h>
typedef long long ll;
using namespace std;
/*
* 3055 탈출 20.03.21 20:48
* 난이도 중
* S ==> D , 고슴도치는 네칸 중 하나로 이동, 물은 비어있는 칸으로 확장
* . ==> 비어있음
* * ==> 물
* x... | [
"koogk7@gmail.com"
] | koogk7@gmail.com |
ec426370757ae38309b36ec8226c753160bf2f72 | 544153f4e68644a259ed2cbc5502214e12f9a465 | /153_Find_Minimum_in_Rotated_Sorted_Array.cpp | d711ca3c75ce8ca34a8c461df1a385afba5756c4 | [] | no_license | qwe5350819/LeetCode | 386d6df701e2591921457c679827c82640b81b72 | 98772ba1b148b16147e9518f0e580614153758f8 | refs/heads/master | 2021-01-10T18:31:46.318456 | 2015-04-06T11:48:17 | 2015-04-06T11:48:17 | 33,469,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | class Solution {
public:
int findMin(vector<int> &num) {
int siz = num.size();
if(siz>1)
return returnMin(num.begin(), --num.end());
if(siz==0)
return -1;
return *(num.begin());
}
int returnMin(vector<int>::iterator ibegin,vector<int>::iterator iend){
//... | [
"sherryh94@yahoo.com.tw"
] | sherryh94@yahoo.com.tw |
a7e0d711585f3293c3245f8414577117b1348dd0 | c4a008fb986d90874a23cfe2b186dfb66b761207 | /Chapter 7 Drawing in Direct3D/LearnDirectX/Public/GameTimer.h | 45d619e0dcc8493719bb40cdc24ea70933e29719 | [] | no_license | chaoschan1989/LearnDirectX | d9cec6228a2a4c82c5c89a38e907b49f17c766ed | 3774f316b8dccb5424d8d7ca507ceb241b257ac1 | refs/heads/master | 2023-07-14T18:30:26.774654 | 2020-06-17T01:51:03 | 2020-06-17T01:51:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #ifndef GAMETIMER_H
#define GAMETIMER_H
class GameTimer
{
public:
GameTimer();
float TotalTime() const; // 单位s
float DeltaTime() const; // 单位s
void Reset(); // 消息循环开始前执行
void Start();
void Stop();
void Tick();
private:
double mSecondsPerCount; // s/1次计数
double mDeltaTime;
__int64 mBaseTime; // 调用Reset()... | [
"1029509407@qq.com"
] | 1029509407@qq.com |
dd9ff51c113d4b7b4a8dd5a7567b8ee42197e55b | 6b18e4dab3b2899dbdd8f547f5d4051493cec2b3 | /MainSoftware/header/ANN/kd_fix_rad_search.cpp | cae82d7b6fcfbca21cba45f533f8f2c7eab1af29 | [] | no_license | hpp340/3DScannerSoftware | 4aafc66bd092e6fec8cd500bc5ab8d99f96c0307 | 06d47a48a991689aa0a7e4a4a83cc29561cbdfb5 | refs/heads/multiThread | 2021-01-22T05:47:28.477209 | 2016-06-04T19:23:20 | 2016-06-04T19:23:20 | 92,496,666 | 3 | 0 | null | 2017-05-26T09:48:08 | 2017-05-26T09:48:08 | null | UTF-8 | C++ | false | false | 7,361 | cpp | //----------------------------------------------------------------------
// File: kd_fix_rad_search.cpp
// Programmer: Sunil Arya and David Mount
// Description: Standard kd-tree fixed-radius kNN search
// Last modified: 05/03/05 (Version 1.1)
//----------------------------------------------------------------------... | [
"jjlzyz000@gmail.com"
] | jjlzyz000@gmail.com |
22d34d38430cf57e4c1200a7c265106b19843265 | f3688fb61495f6b1ceae45f0f4d9b70c3339493d | /Term2/Task1/Header1.h | 3e5ad511444bd191d2ab651a3a070aee8b0aae95 | [] | no_license | Catsarelove/DomashkaBushmakova151 | 8699a0eb44e29ec7bebec7f77888b1689ca3be65 | 34138a2b23c64323fa0fd34e732ccaadb42019e6 | refs/heads/master | 2021-05-16T08:49:03.156304 | 2019-06-21T14:27:11 | 2019-06-21T14:27:11 | 104,221,001 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | #include <iostream>
using namespace std;
struct node {
int data;
node* next;
};
struct dequeue {
node* tail;
node* head;
void pushback(int new_data) {
node * temp = new node;
temp->data = new_data;
node * paste = tail;
if (tail != NULL) {
tail = temp;
paste->next = tail;
}
else {
tail = temp;
... | [
"noreply@github.com"
] | Catsarelove.noreply@github.com |
8f8ecb2c49f6009a80071b296d7a68c87a3e3785 | 6cfe7c65380924bfd6fe46a7b6cd5b006b333e96 | /source/digits_hits/include/GateThresholderMessenger.hh | d28aaf8579b61723dcdb8735fca5d6b1b579075b | [] | no_license | copernicus231/gatempi | 800eb61dd5de373d591e9cb49630172e1c4809b2 | b97c38418458dfd21e8d25887419f7967871782e | refs/heads/master | 2020-12-24T12:01:56.966710 | 2012-08-13T05:12:22 | 2012-08-13T05:12:22 | 5,534,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | hh | /*----------------------
GATE version name: gate_v6
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See GATE/LICENSE.txt for further details
----------------------*/
#ifndef GateThresholderMessenger_h
#define GateThresholderMe... | [
"copernicus231@gmail.com"
] | copernicus231@gmail.com |
b6c8452288f9855ee9ed8e1cc3135d9990c1cb5c | 4afc36bf8b1dd599608c2dffeb363fb075eeb916 | /Projects/New folder/CPP_Firmware/HAL/inc/HwStopWatch.hpp | ad60e78cfe86ba028e3e5f04c5a317cae28933a1 | [] | no_license | amitandgithub/STM32_Keil | 72cfb4acac9c4c7578da42aca15b1663af310dc0 | 3b14dab37562a0ab3fbbc25fb362d4b6f6641283 | refs/heads/master | 2020-03-24T21:12:59.648394 | 2018-07-31T13:35:00 | 2018-07-31T13:35:00 | 143,019,077 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | hpp | //******************
// CLASS: HwStopWatch
//
// DESCRIPTION:
// This class implements the HwStopWatch witn Milliseconds support
//
// CREATED: 21-01-2018, by Amit Chaudhary
//
// FILE: $FILE_FNAME$
//
#ifndef HWSTOPWATCH_HPP_
#define HWSTOPWATCH_HPP_
#include "SysTickTimer.hpp"
#include "DS3231.h"
namespace Utility... | [
"34563851+amitandgithub@users.noreply.github.com"
] | 34563851+amitandgithub@users.noreply.github.com |
1b7d6843a98ecb8c81dc951133456277bc5f3f8f | 9423a2cdf7bb75f8c7f672f9961a1ba6fa311b0a | /baekjoon 1021.cpp | 88b65572664636ee562eee988b59eafa1155c5de | [] | no_license | OkiHeo/BOJ-sol | 318f6897d5a8038be91e8a72de9bf78fc0b55d62 | dc691b0b5f45c6457ae6c673a9a731d9383b8aa7 | refs/heads/master | 2020-09-12T01:14:09.305739 | 2020-02-25T14:34:34 | 2020-02-25T14:34:34 | 222,252,212 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,378 | cpp | #include <iostream>
#include <deque>
using namespace std;
int n, m;
deque<int> dq;
int count=0;
void pop(){
dq.pop_front();
}
void right(){
// 우측 순환 회전 <<-
dq.push_back(dq.front());
dq.pop_front();
count++;
}
void left(){
// 좌측 순환 회전 ->>
dq.push_front(dq.back());
dq.pop_back();
count++;
}
int main(){
cin>>... | [
"37202612+OkiHeo@users.noreply.github.com"
] | 37202612+OkiHeo@users.noreply.github.com |
9e8aaf5c6b221bd3b0b9cda5f25d8a9c2a163d73 | acabebade93c8b60359db60087ae865d48a49465 | /src/control_pad.h | 3ea1f6fc92b1f4a9c1c41bd73d02f17ba5883cf5 | [] | no_license | metamatt/dreamcoat | 853edb6944c1e338a4497889f496d54bea09da30 | c1191b2423674e1046d58678f146938be981a33f | refs/heads/master | 2021-01-19T08:42:53.518428 | 2013-10-09T06:29:30 | 2013-10-09T06:29:30 | 13,434,267 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #pragma once
class InputButton {
public:
void begin(int pin, bool needPullup, Scene::Action action, int param);
int pin;
Scene::Action action;
int param;
bool wasPressed;
bool isPressed();
bool getChange(bool *pressed);
};
class ControlPad {
public:
void begin(int pinModePrev, int pinModeNe... | [
"matt@ginzton.net"
] | matt@ginzton.net |
ff75ceb525144590042c826c5e30b40834f41a06 | 93011e62838965bbbd96d7f1e6aef966aab95db2 | /gravitron/PhysUtVector.h | 170208e87e7668f244ab70667f20cfbf15b99431 | [] | no_license | djia/gravitron | 03f1c3915bee740e4650a95d874561c34bcf0ed6 | 04411645c1f98cd426ca49969a8e459e454977ab | refs/heads/master | 2016-09-06T18:19:45.078565 | 2012-03-21T11:26:45 | 2012-03-21T11:26:45 | 3,599,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,101 | h |
#ifndef DXUTVECTOR_H
#define DXUTVECTOR_H
#include <d3dx10.h>
#include "DxUtError.h"
namespace PhysUt {
#define DotXY(a, b) ((a.x*b.x + a.y*b.y))
#define DotXYZ(a, b) ((a.x*b.x + a.y*b.y + a.z*b.z))
#define CrossXY(a, b) ((a.x*b.y - b.x*a.y))
#define CrossXYZ(a, b) (Vector3F(a.y*b.z - a.z*b.y, a.z*b.x - a.x*b... | [
"l.canceled@gmail.com"
] | l.canceled@gmail.com |
0b239f781d89805e9a049c129bfc31630d550cde | 4f0047e19a68f1a99b2a303ff27ed2b99ede2345 | /Algor/leetcode/924.cpp | e43df463f5a5f38b0556f21c28b0c4dfb4aadb3e | [] | no_license | zbh24/TechBlog | 368ad9d5b5bf42213a384f0f6a9a55b0f987754e | 309e803fa3d70ebdc05f074599e7826aa99b3f42 | refs/heads/master | 2021-10-23T20:46:48.921650 | 2021-10-23T09:23:05 | 2021-10-23T09:23:05 | 43,661,431 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | class Solution {
public:
struct T {
int color;
int colorSize;
int loc;
T(int a, int b, int c) : color(a), colorSize(b), loc(c) {}
bool operator < (const T &t) {
if (colorSize > t.colorSize) {
return true;
} else if (colorSize == t.colorSize && loc < t.loc) {
... | [
"zhangbichao@zhangbihaodeAir.lan"
] | zhangbichao@zhangbihaodeAir.lan |
2bc6c7e3bb33fe9dcb08b5b914c212c4e52d1cde | 0e9a0849e7c3bf56e4c9fdfcf523f0a2ad3b5a7c | /factory/libpainter/IShape.h | 8488f3c3012d27617502202e0d12d9366dffb807 | [] | no_license | panic-torra/ood | a015504dd452946f634a601154df37869829f871 | 4097274ba907af358270fa2e8691d418800d169a | refs/heads/master | 2018-09-19T04:31:22.247901 | 2018-06-16T17:32:05 | 2018-06-16T17:32:05 | 120,812,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #pragma once
#include "stdafx.h"
#include "ICanvas.h"
#include "Color.h"
class IShape
{
public:
virtual void SetColor(Color color) = 0;
virtual Color GetColor() const = 0;
virtual void Draw(ICanvas & canvas) const = 0;
virtual ~IShape() = default;
}; | [
"vika15pro@yandex.ru"
] | vika15pro@yandex.ru |
d90e2eb43421524f6fb09a9b1ee1cacd3eddefbc | 4530046f22b6fa7cd13b13a17844162d6b2f02b6 | /Adobe_finalSDK/xmp_sdk/XMPFiles/source/FormatSupport/XDCAM_Support.cpp | b9704b98d268a5ad05058f3206b69cb22b51a2a2 | [
"BSD-3-Clause"
] | permissive | karaimer/camera-pipeline-dng-sdk | 783f5e13738d67d318e36b449ff9b09d84f85171 | 6fc4e8fa892da17b289583f5cd33f9ee7d4d72b4 | refs/heads/master | 2023-07-12T00:07:40.369307 | 2023-07-01T00:33:53 | 2023-07-01T00:33:53 | 64,812,785 | 29 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 17,053 | cpp | // =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2008 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe lic... | [
"cankaraimer@gmail.com"
] | cankaraimer@gmail.com |
ca14307993af4d577383704ad01595d9ffff66a4 | 9efe1e8560f8510f97d354d8c222845572d6b4d0 | /arduino/timer/NexaCtrl.h | 1629777308ab1bf8fe7d758b44b30f6fe40e4a82 | [] | no_license | erdtman/tempsensortest | 4b0203f419e25a94d1e865524067be7717a02150 | 98b5cbd587cc07b42a68aeacb630b0a80d33b975 | refs/heads/master | 2023-02-20T02:40:41.102271 | 2023-01-15T17:02:07 | 2023-01-15T17:02:07 | 62,450,008 | 1 | 0 | null | 2023-02-12T14:53:04 | 2016-07-02T12:34:39 | JavaScript | UTF-8 | C++ | false | false | 1,655 | h | #ifndef NexaCtrl_h
#define NexaCtrl_h
#include "Arduino.h"
class NexaCtrl
{
public:
NexaCtrl(unsigned int tx_pin, unsigned int rx_pin, unsigned int led_pin);
NexaCtrl(unsigned int tx_pin, unsigned int rx_pin);
void DeviceOn(unsigned long controller_id, unsigned int device_id);
voi... | [
"erdtman@spotify.com"
] | erdtman@spotify.com |
47b2eaaf020116db5b6915bfeed17e01f9a568da | 5670e2b2a340143c0e31a1ab43d3752dbf7308b1 | /src/SettingsProvider.h | e5986083afc99b179b3db06cd6a13fb506cc0d8f | [] | no_license | lnzero1dev/meta | 402b97883748db2a8a6ba59abd591d722ed182cc | 69703377d6adf9bf16f3eb635f015feea3cf737c | refs/heads/master | 2021-01-14T04:14:08.543251 | 2020-04-18T16:23:28 | 2020-04-18T16:23:28 | 242,595,663 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | #pragma once
#include "Settings.h"
#include <AK/HashMap.h>
#include <AK/JsonObject.h>
#include <AK/Types.h>
#include <LibCore/Object.h>
enum class SettingsPriority : u8 {
Undefined = 0,
User, // highes priority
Project // lowest priority
};
namespace AK {
template<>
struct Traits<SettingsPriority> : pu... | [
"emanuel.sprung@gmail.com"
] | emanuel.sprung@gmail.com |
21a1e9af84eccf438ba37f4df3255b342d91b520 | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /dbswdbe/WdbeAMMachineMakefile.cpp | d92184640139d5bd8c7934a58caf903bf21567a5 | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,420 | cpp | /**
* \file WdbeAMMachineMakefile.cpp
* database access for table TblWdbeAMMachineMakefile (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#include "WdbeAMMachineMakefile.h"
using namespa... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
e6392461315217f7f28b033a358aa4ed58a08c69 | 7f03ed8636a646d4d835fc5030df61f68681153e | /dbank.cpp | 8c3a1c2ce93237fb758768f778096d7782dddbce | [] | no_license | Dhr11/Bankers-Algo-Implementation | 1c12a1ad65d56a32615824a413cb74c38af2387f | 1bb6bd87ffdf9741788e8dd3f5ed8116b6e5e626 | refs/heads/master | 2021-08-20T07:02:48.751078 | 2017-11-28T13:11:08 | 2017-11-28T13:11:08 | 110,517,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,858 | cpp | #include<iostream>
#include<string.h>
#include<stdlib.h>
#include<string>
#include<fstream>
#include<algorithm>
#include<vector>
#include<cstdlib>
#include<sstream>
#include<ctype.h>
#include<functional>
#include<map>
using namespace std;
struct process{
int pid;
int arrivaltime;
vector<int> max;
vector<int> ... | [
"noreply@github.com"
] | Dhr11.noreply@github.com |
7e60e9f8894b05db1d6279125c6269973c9a75d6 | 169e75df163bb311198562d286d37aad14677101 | /tensorflow/tensorflow/core/common_runtime/eager/context.cc | 70208fb6d15766b59138d9cf617abebc2fcd199e | [
"Apache-2.0"
] | permissive | zylo117/tensorflow-gpu-macosx | e553d17b769c67dfda0440df8ac1314405e4a10a | 181bc2b37aa8a3eeb11a942d8f330b04abc804b3 | refs/heads/master | 2022-10-19T21:35:18.148271 | 2020-10-15T02:33:20 | 2020-10-15T02:33:20 | 134,240,831 | 116 | 26 | Apache-2.0 | 2022-10-04T23:36:22 | 2018-05-21T08:29:12 | C++ | UTF-8 | C++ | false | false | 10,102 | cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"thomas.warfel@pnnl.gov"
] | thomas.warfel@pnnl.gov |
8d9f4a1fabd33636fcefbe1fbc4fc69e4917942c | 7b7522b14df2de2ca62311ea154a839add9d8abe | /File Structure/secondaryindex.cpp | 2557ae849008abd43c63ef2f342e3df6f78503af | [] | no_license | karnika-ag/btech_codes | 143bc1a4411a6f23590a930e0ef513e8f0af6a8d | c0dfa5fbbe8cc816eb05d336b3e5c848024d77b7 | refs/heads/master | 2020-04-08T05:03:54.923910 | 2018-11-25T16:49:02 | 2018-11-25T16:49:02 | 159,044,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
class buffer
{
void pack();
void unpack();
void
}
struct student
{
char name[20];
int rollno;
int cour;
};
struct course
{
int cou;
int marks;
};
| [
"agarwal.karnika@gmail.com"
] | agarwal.karnika@gmail.com |
0b193f2da13b49b65dd254ef785f28c78f23e05f | 9ef238f3d5d657cdb855aafa3e4c18bd7ddf1849 | /include/bmx/avid_mxf/AvidD10Track.h | 0e8506b08429b76f79853dfa902cf7e86837f419 | [] | no_license | ebu/ebu-bmx | 274d3f98aec27b65dfd5833db61c638e0d81395f | aa60821db0545b8b7c971302ae322e9ba19ff535 | refs/heads/master | 2021-01-01T06:34:06.067871 | 2013-07-29T13:21:37 | 2013-07-29T13:21:37 | 11,446,282 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,380 | h | /*
* Copyright (C) 2011, British Broadcasting Corporation
* All Rights Reserved.
*
* Author: Philip de Nier
*
* 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 t... | [
"philipn@users.sourceforge.net"
] | philipn@users.sourceforge.net |
03608d63d7c19820170e77e57a63e779610fbc38 | bbe58a02ddf71e002d227b0ff3cdd4358f24e938 | /18120468_week09/baitap3/processing.cpp | e4caa4b45ec2c53130fbd139b628b2e69dc7e303 | [] | no_license | kimnamlhn/NMLT-HCMUS | d7a363ebc42ad7a43f03e0f9a59f471cba8977ac | fef34eae67543287946a377703b7f46565659e27 | refs/heads/main | 2023-01-02T16:49:14.011638 | 2020-10-26T14:23:50 | 2020-10-26T14:23:50 | 307,392,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | #include "manghaichieu.h"
#include <stdio.h>
void Nhap(int a[][100], int &row, int &col)
{
do
{
printf("Nhap so hang: ");
scanf_s("%d", &row);
} while (row <= 0 || row > 100);
do
{
printf("Nhap so cot: ");
scanf_s("%d", &col);
} while (col <= 0 || col > 100);
for (int i = 0;i < row;i++)
{
for (int... | [
"kimnam.cpc@gmail.com"
] | kimnam.cpc@gmail.com |
2e4b3378afd16c21b25be94220ed875638d904ee | 9a5e5536ecacbce585617ac991361484e086105e | /ps/codeforces/500to1000/1030A.cpp | fba4b7ea87f81b78e9f9c7ed4f7ae8369e2762e3 | [] | no_license | kingssafy/til | 8bc938f9fc2525e2efb6025a587ec03536f8bf2a | 50ecf62465dfa7db57711b1a6130cbaaed90af30 | refs/heads/master | 2020-04-16T10:03:50.568961 | 2019-04-23T11:55:34 | 2019-04-23T11:55:34 | 165,488,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
bool ans = 0;
for (int i = 0; i < n; i++) {
bool temp;
cin >> temp;
ans |= temp;
}
if (ans) {
cout << "HARD" << endl;
} else {
... | [
"onlyforfile@gmail.com"
] | onlyforfile@gmail.com |
d4bfc914dc3788a0dc32a8fc215aa479bedbbad1 | 88ae8695987ada722184307301e221e1ba3cc2fa | /ash/quick_pair/ui/ui_broker_impl_unittest.cc | 366d05d7921b1cf0cbc621365314b7d221bd9fa0 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 10,904 | cc | // 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.
#include "ash/quick_pair/ui/ui_broker_impl.h"
#include "ash/quick_pair/common/constants.h"
#include "ash/quick_pair/common/device.h"
#include "ash/quick_pair/ui/fast_pair/fast... | [
"jengelh@inai.de"
] | jengelh@inai.de |
456dc56114b790686d1325f0fb22cd1758653bbd | ddf15f4397af1bcff397bb2e3f52d68e3465459e | /StartupGameQt/moc_guiplayer.cpp | 65d50145137630789ce6a3df60692a204ae63f91 | [] | no_license | sydneyliu/StartupMonopoly | 4674bbe456b52eecb82b9c8dda0da633bd6e63eb | 01cce3f2afc232dcd8cf006ca6ef897d304675ec | refs/heads/master | 2020-12-30T10:36:29.683789 | 2014-05-24T21:36:52 | 2014-05-24T21:36:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,342 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'guiplayer.h'
**
** Created: Sun May 4 19:58:41 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
**************************... | [
"sydney.liu.sl@gmail.com"
] | sydney.liu.sl@gmail.com |
87efc92a5e1168ed18a436d467125c8a1a4096af | 033608ba3df28f337a736c39159fab9f4d95233c | /选择排序SelectSort/选择排序SelectSort.cpp | f168ada683337226c47e5206b5b31f3e77fd3790 | [] | no_license | SparkLena/Cpp_Study | 2c3479e51127b5fc9988e2d405a108a7ce88e504 | 5a1ff26ea67401c0dbbebee12eacb96890ad1458 | refs/heads/master | 2021-04-29T04:58:33.226720 | 2016-05-23T13:24:42 | 2016-05-23T13:24:42 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 545 | cpp | // Đíď˝┼┼đ˛SelectSort.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
void main()
{
int a[]={61,5,55,22,51,26,32,15};
#define COUNT sizeof(a)/sizeof(a[0])
int i=0,j=0,nMin=0;
while(i < COUNT)
{
j=i+1;
nMin=i;
while(j < COUNT)
{
... | [
"pilot_lei@foxmail.com"
] | pilot_lei@foxmail.com |
f8322c3ef26c1c4130a9568426a6086e4bf47cdf | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/winrt/impl/Windows.Data.Xml.Dom.0.h | 88b43c4f77203916e579db0b821a56f4b3cff3c6 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,967 | h | // C++/WinRT v1.0.170717.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
namespace winrt {
namespace Windows::Foundation {
struct Uri;
}
namespace Windows::Storage {
struct IStorageFile;
}
namespace Windows::Storage::Streams {
struct IBuffer;
}
namespace Windows::Data::Xml::Dom {
e... | [
"torre_charles@hotmail.com"
] | torre_charles@hotmail.com |
edccd8dbc9971d5df433d91945492c35911d67f7 | 29dec11a2447cc9e8e301bbfa9db28491eb76f1e | /src/core/cmodel/Object.hxx | 500ea4d81637bb164fa6d570ed22288a38e52885 | [] | no_license | kvr000/drt | 897a706523132b2a92273144da993a300947b555 | 28d859693046ecf96cdc70052bb4e2629833c740 | refs/heads/master | 2022-05-01T10:42:10.695069 | 2022-03-27T02:34:05 | 2022-03-27T02:34:05 | 222,618,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,401 | hxx | /**
* drt library
*
* drt multiplatform development toolkit
*
* ----------------------------------------------------------------------------------
*
* Copyright (C) 2004-2008 Zbyněk Vyškovský
*
* ----------------------------------------------------------------------------------
*
* LICENSE:
*
* This file i... | [
"kvr000@gmail.com"
] | kvr000@gmail.com |
f92311a6d5f2338b4b2e9a7dbde68b0d962ece1b | 31315e3a4d29eda95db818b32a78ddeff452ee04 | /Codeforces/686D.cpp | 3a7d1b12dce95a50b44a35a5dd1c84a9a63eca39 | [] | no_license | trunghai95/MyCPCodes | c3cb002308e522ab859fb8753f3b7c63cef29a6f | 4f7a339dd3841dfc54d18ec446effa8641d9bd37 | refs/heads/master | 2022-12-12T22:52:26.120067 | 2022-12-03T04:36:13 | 2022-12-03T04:36:13 | 47,124,575 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
int n, q, x, cent[300001], maxx[300001], sum[300001], par[300001][19];
vector<int> child[300001];
void dfs(int &u)
{
sum[u] = 1;
for (int i = 1; i < 19; ++i)
if (par[u][i-1] != -1)
{
par[u][i] = par[par[u][i-1]][i-1];
}
for (int i = 0;... | [
"bthai.1995@gmail.com"
] | bthai.1995@gmail.com |
e2d1942df633e66726c4767ceb4bc728a69907ca | 9419e2ac1be927b6caf96509d18b97f6571afe3d | /stack/stack_ll.cpp | 9c430006d8a81194634b9e2d12e89ad76cb17f60 | [] | no_license | Bhoomikapanwar/DS-Algo | ebc0b21595a5240c227163b3ca85896793df24fb | 96b5e5b1b11b734e5c3292324edd51bbb7e198cd | refs/heads/master | 2020-03-20T13:57:10.574762 | 2018-11-03T18:15:21 | 2018-11-03T18:15:21 | 137,471,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | #include<iostream>
using namespace std;
struct node
{
int data;
node* next;
};
class Stack
{
node *top;
int size;
public:
Stack(){
top=NULL;
size=0;
}
void push(int ele);
int pop();
int peek();
int stackSize();
bool isEmpty();
};
bool Stack::isEmpty()
{
if(top==NULL)
return true;
else
return fa... | [
"bhoomika.mcs17.du@gmail.com"
] | bhoomika.mcs17.du@gmail.com |
4ef0ce3d0aa71e3b1779a7d3371ea60dcf20bf90 | f4694d382edb3805d7d67858ac39401f246d52a4 | /cocos2d/cocos/3d/C3DResourcePool.cpp | f86da41ba19309015fd7b4271fb037343969576a | [
"BSD-2-Clause"
] | permissive | cn00/MJ | 829f88c68164817ee0fdc5a43c6eb86a9e83e897 | dc0a77e9b82deae66e14e0a4ac5b8e2b3bef936f | refs/heads/master | 2021-01-18T13:29:48.142197 | 2014-05-14T13:53:06 | 2014-05-14T13:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | cpp | #include "C3DResourcePool.h"
#include "C3DResource.h"
#include "C3DResourceManager.h"
#include "Base.h"
namespace cocos2d
{
C3DResourcePool::C3DResourcePool(C3DResourceManager* manager)
{
_manager = manager;
}
C3DResourcePool::~C3DResourcePool()
{
clear();
_manager = NULL;
}
void C3DResourcePool::clear()... | [
"cool_navy@126.com"
] | cool_navy@126.com |
22e798a5d3c4125f8cb949a6ad15601bf446e97e | e6a8f35b12f64bd1cd0431596ee03cbad8ed423d | /cpp/source/endpoint/device/actions/FlightInitializationAction.cpp | d026bba175b66c348965dba561b2cd58813f25ca | [
"MIT"
] | permissive | skydiveuas/skydive | 3e6e32bf170eb60913214a1089f74497fc2d2565 | 6a3ddb20210c7feec93c2124c99a764e91f13701 | refs/heads/master | 2021-06-10T04:40:24.023092 | 2019-09-02T18:20:14 | 2019-09-02T18:20:14 | 113,697,904 | 2 | 1 | MIT | 2018-04-09T14:09:12 | 2017-12-09T20:08:31 | C++ | UTF-8 | C++ | false | false | 3,634 | cpp | #include "endpoint/device/actions/FlightInitializationAction.hpp"
#include "endpoint/device/actions/AppAction.hpp"
#include "endpoint/device/actions/FlightAction.hpp"
FlightInitializationAction::FlightInitializationAction(Listener* const _listener):
ISkyDeviceAction(_listener)
{
state = IDLE;
}
void FlightIn... | [
"nawbar23@gmail.com"
] | nawbar23@gmail.com |
530c6c64bcc094e3b6f2b394e766ed0c5592a94e | 001949354c41baaa93fdaaf008b0d841f7783d67 | /Marks.cpp | ec47eceb926f39ffa97244edc39052a8793e4f99 | [] | no_license | pereiradaniel/WS01_P2 | 831e77193cd2a90fd99e2023fdd1835a2a7f864b | e81a1568d68c21cfa05a6e4669099e657174cf47 | refs/heads/master | 2022-09-15T08:56:18.259463 | 2020-05-31T02:50:02 | 2020-05-31T02:50:02 | 268,163,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,090 | cpp | #define _CRT_SECURE_NO_WARNINGS
// Should hold mark related functions.
#include <iostream>
#include <iomanip>
#include "Marks.h"
using namespace std;
void clear(void);
void markstat() {
// VARS:
char assessmentName[40]; // Name of assessment.
int* marks = nullptr; // Create pointer for marks.
int numMarks = 0;... | [
"13129650+pereiradaniel@users.noreply.github.com"
] | 13129650+pereiradaniel@users.noreply.github.com |
76bda4f4ce88b926f7e7fa6425fb1597640f27da | c993b955f1d0e77952c53a2abfe8f582a32a802c | /ref-impl/src/OM/OMObjectReferenceType.cpp | 92da44dff54b680bfd53bf92215ec20f59b72d91 | [] | no_license | christianscheuer/aaf | 6d67e767f439d6f43c3b7fba64336876bcbc0b8d | 0b76dd5bf4f70b0e7b3c33fd6d923ce6f67c71aa | refs/heads/master | 2020-05-01T03:08:19.586353 | 2019-05-01T09:34:40 | 2019-05-01T09:34:40 | 177,238,098 | 0 | 0 | null | 2019-03-23T03:12:02 | 2019-03-23T03:12:02 | null | UTF-8 | C++ | false | false | 1,785 | cpp | //=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// License Agreement Version 2.0 (the "License"); You may not use this
// file except in compliance with the License. The License is available
// in AAFSD... | [
""
] | |
7fa62ebe7a39137cfca8afc71ed299be3edfa508 | 0058191411b36ef4f5fbac7d4028e375d58e2dfa | /rapidjson/internal/pow10.h | 4393c886cf7d999ad4bf401dcd83693db56eca07 | [] | no_license | radtek/QMDB81 | bad9c46a0268bc38ba5206975d956e62fa1f572e | 00794330516fa59a42f8e8d882332aff1f78da75 | refs/heads/master | 2021-06-06T16:54:10.801528 | 2016-10-25T07:32:59 | 2016-10-25T07:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,937 | h | #ifndef RAPIDJSON_POW10_
#define RAPIDJSON_POW10_
namespace rapidjson {
namespace internal {
//! Computes integer powers of 10 in double (10.0^n).
/*! This function uses lookup table for fast and accurate results.
\param n positive/negative exponent. Must <= 307.
\return 10.0^n
*/
inline double Pow10(int n) {
stat... | [
"974533812@qq.com"
] | 974533812@qq.com |
b44cbe8a90d64b19eba6de5ec7196fc568284c38 | c8a38e65e71de888fc5b22fbd027bbaa0f3f6ef1 | /Cpp/78.cpp | 9e4130eaa9cf7f1baa24e7984619c5736eef9773 | [] | no_license | skywhat/leetcode | e451a10cdab0026d884b8ed2b03e305b92a3ff0f | 6aaf58b1e1170a994affd6330d90b89aaaf582d9 | refs/heads/master | 2023-03-30T15:54:27.062372 | 2023-03-30T06:51:20 | 2023-03-30T06:51:20 | 90,644,891 | 82 | 27 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | #include <iostream>
#include <vector>
using namespace std;
// recursive
class Solution {
public:
vector<vector<int>> subsets(vector<int>& nums) {
vector<vector<int>> res;
subsets(res, nums, 0, vector<int>());
return res;
}
void subsets(vector<vector<int>>& res,
vec... | [
"i@skywhat.com"
] | i@skywhat.com |
2df2f07b000dd72dc0a5e4734d17ff1b88928966 | b2d00d17c53c54e4c5ac9a919aaa001381204826 | /op-ui/clearprivatedata.h | 96ecd71bf1209cc358e5d07dfefba8eba0033d64 | [
"NCSA"
] | permissive | wenqingchu/revised-browser | 2f8c326cdec1759d4241db4efdfec7164aafb0d0 | 22aff9d5f7aa2e6628a65802e06228c759f15c8d | refs/heads/master | 2021-01-17T06:34:31.021189 | 2013-08-15T03:29:53 | 2013-08-15T03:29:53 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,287 | h | /*========================================================
**University of Illinois/NCSA
**Open Source License
**
**Copyright (C) 2007-2008,The Board of Trustees of the University of
**Illinois. All rights reserved.
**
**Developed by:
**
** Research Group of Professor Sam King in the Department of Computer
**... | [
"571869993@qq.com"
] | 571869993@qq.com |
14c841cb2914b6a5821faf9cf6c2abe3216853bc | 44ffe14c37baf3b16932c00677d8b35575f32755 | /src/xtopcom/xdata/xtable_id_mapping.h | d4bf868b531281ab786c44259d28a7f01c09d78c | [] | no_license | telosprotocol/TOP-chain | 199fca0a71c439a8c18ba31f16641c639575ea29 | 1f168664d1eb4175df8f1596e81acd127112414a | refs/heads/master | 2023-07-25T01:24:34.437043 | 2023-06-05T01:28:24 | 2023-06-05T01:28:24 | 312,178,439 | 13 | 46 | null | 2023-07-18T01:09:29 | 2020-11-12T05:38:44 | C++ | UTF-8 | C++ | false | false | 810 | h | // Copyright (c) 2017-present Telos Foundation & contributors
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include "xcommon/xaddress.h"
#include <cstdint>
#include <vector>
NS_BEG2(top, data)
std::vector<uin... | [
"payton.wu@outlook.com"
] | payton.wu@outlook.com |
248344cd7dbd8d15092d4155b0f7a27a391fc394 | 9494db91b77281f82ba1045c1d6ac98d011fb531 | /gol.cc | b1fc33ea73b587c278fedaea2d19651d4639f148 | [
"MIT"
] | permissive | fizzoo/fizzosGOL | eea51885e09f980e843d8330f02ad4c1a95937a1 | ee3dda78c7d9b202a63e6d4d02ecc69f222af833 | refs/heads/master | 2021-01-17T12:59:00.676929 | 2018-08-28T10:00:40 | 2018-08-28T10:00:40 | 58,558,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,934 | cc | #include "Board.h"
#include "DoubleXY.h"
#include "GLstate.h"
#include "Waiter.h"
#include <fstream>
#include <iostream>
int SIZEX = 1920;
int SIZEY = 1080;
static unsigned int FPSMAX = 60;
static std::mutex fliplock;
std::vector<DoubleXY> line(int x0, int y0, int x1, int y1, int winsizex,
... | [
"vixirfizz@gmail.se"
] | vixirfizz@gmail.se |
d889a8b25baab163b1c458cc37f20343e187df61 | 390eb1e2bf89abcfd1fdda2b94ae2b8059616f74 | /inc/parallel_context.hpp | 848796bc5e8ec601409072a7f91e868bd92261b3 | [] | no_license | nullcast/fm_sound_source | 92cb33c7671bbf3909f7ce16ab3c3329d3a86cc5 | b9ed73e77d536e1323a18491c38f354a322e1620 | refs/heads/master | 2021-10-26T15:17:17.909782 | 2019-04-13T12:49:43 | 2019-04-13T12:49:43 | 176,075,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | hpp | #pragma once
#include "context.hpp"
template<typename T>
class ParallelContext : public Context<T> {
public:
ParallelContext(vector<shared_ptr<Box<T>>>& boxes);
void calc();
};
| [
"yonama.dev@gmail.com"
] | yonama.dev@gmail.com |
1add2bec624ea79b28aaba7d2a170f5e8cc14fe2 | f64129691831d71424eb0fbf8585f7deab7a9e79 | /Aula09/FilaEncad.h | 3ee9f5bc6e80760121d96f0b10c2cf92fa514ceb | [] | no_license | viniciusjf10/Estrutura-de-Dados1 | 2db081e48737ed0ca5e9bb74020e5e6b0a097765 | 47372e29c0b67fc56d3f83e6de0b9546a08c4582 | refs/heads/master | 2023-01-07T12:41:59.499770 | 2020-11-10T04:10:29 | 2020-11-10T04:10:29 | 281,549,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | #ifndef FILAENCAD_H_INCLUDED
#define FILAENCAD_H_INCLUDED
#include "No.h"
using namespace std;
class FilaEncad
{
private:
No *inicio;
No *fim; /// ponteiros para os No's extremos
public:
FilaEncad();
~FilaEncad();
int getInicio(); /// retorna valor do primeiro No
void enfileira(... | [
"viniciusouzajf@gmail.com"
] | viniciusouzajf@gmail.com |
261916e7bd70399279e9e17c7adcee369fcc5900 | bf6cecf89265c4cd61ff490004ec9cfc85dccc56 | /PAG-Practica4/PagRevolutionObject.cpp | 584ede3c595d9898ef8102b5da9e42e8f4225500 | [] | no_license | ManuJGQ/PAG-Practica4 | 3e5d9f6a3b2d835ab70a73818f21e51251c60a08 | 22a7e2f3d6198c24604b7f55a357d2d35554204e | refs/heads/master | 2020-06-19T18:50:54.007885 | 2016-12-17T14:40:33 | 2016-12-17T14:40:33 | 74,839,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,325 | cpp | #include "PagRevolutionObject.h"
#include "PagAssistantClass.h"
#include <math.h>
#include <string>
#include "PagRenderer.h"
#define PI 3.14159265358979323846
/**
* Constructor por defecto de PagRevolutionObject
*/
PagRevolutionObject::PagRevolutionObject() : flagBottomTape(false), flagTopTape(false),
geometria(... | [
"manueljgq@gmail.com"
] | manueljgq@gmail.com |
74b50ee8b44ab2aa47a3be4792d10401f84f1270 | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /sms/include/tencentcloud/sms/v20210111/model/SendSmsResponse.h | 2757c8796657c3c31641a44156699d3acca7bae0 | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
186d4153800cd44c250d3e0d79a3fa9e645f367f | fb7817c071c37fed603e1b46df1327175ee031b1 | /App/Lib/Bal/Include/graphics/d3d12/balConstantBufferD3D12.h | d936ab31ec7f94e5d543328146a25a8038c7a29d | [
"MIT"
] | permissive | belmayze/bal | af22ecf42ae1491843c4e84f74af75be92b64ed3 | 710a96d011855fdab4e4b6962a2ba5b6b6b35aae | refs/heads/master | 2021-08-18T04:04:42.151990 | 2021-07-03T22:29:42 | 2021-07-03T22:29:42 | 240,271,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | /*!
* @file balConstantBufferD3D12.h
* @brief
* @author belmayze
*
* Copyright (c) 2020 belmayze. All rights reserved.
*/
#pragma once
// bal
#include <graphics/balIConstantBuffer.h>
// ----------------------------------------------------------------------------
namespace bal::d3d12 {
class ConstantBuffer ... | [
"belmayze@hotmail.co.jp"
] | belmayze@hotmail.co.jp |
13db6e887d825c008e5be9eb1e6a27faec92867c | 451acae1065f5e203b1c53c6a4fbcb446ae51813 | /src/map_editor/src/main.cpp | ca1c244ce896d0b9edae2c96e54652f6f612724d | [] | no_license | Nusia/AIBattle | 04cd001321828c539652a850edd6ae82f31b1109 | 80ab4dc73e69ff61bb69c17c409294ad034e828c | refs/heads/master | 2021-01-01T20:34:21.715901 | 2012-01-13T10:34:20 | 2012-01-13T10:34:20 | 1,783,675 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | #pragma once
#include "AIBattleMapedit.h"
int main( int argc, char* args[] )
{
AIBattleMapedit AIBattleMapedit;
return 0;
} | [
"jimro729@gmail.com"
] | jimro729@gmail.com |
80b4470520daf9c7b4f5076477f1fe429e493abc | b8fb506c8e6abf763c84a19d28b74cce2a0f4ffa | /src/effects/SkArithmeticImageFilter.cpp | 5076ecc1173aa31e254d77adfde2585d922d01ae | [
"BSD-3-Clause"
] | permissive | anil235476/skia | c55e566c865daa96200e1d6ac96d4b7dc1723c0a | 5e34167d53c06c3c4512592bd1477fcf2df97172 | refs/heads/master | 2021-07-13T04:22:43.817399 | 2017-10-18T14:23:18 | 2017-10-18T15:24:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,516 | cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkArithmeticImageFilter.h"
#include "SkCanvas.h"
#include "SkColorSpaceXformer.h"
#include "SkNx.h"
#include "SkReadBuffer.h"
#include "SkSpecialImage.h"
#include "S... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
c807d452e941ec3e7da8f2ea05c2fd7a1637ba66 | b99eec146f34035fd40ccc16e39ab6c7dcbfe9ff | /zengine/zengine/script/register_helper/zengine_register_helper.cc | 8e84b9086a1b1d885113464d141d7ad265d4f0ec | [
"Apache-2.0"
] | permissive | cctvbtx/GameServceEngine-zengine | 635024102f0ece28c9d3436e2f2cd74e2de5d834 | 2c6f942c4b79a42c8b19c850579f25bb7e78e0d7 | refs/heads/master | 2023-03-19T13:21:59.265315 | 2015-03-12T02:39:33 | 2015-03-12T02:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,274 | cc | // Copyright (C) 2012 by wubenqi
// Distributable under the terms of either the Apache License (Version 2.0) or
// the GNU Lesser General Public License, as specified in the COPYING file.
//
// By: wubenqi<wubenqi@gmail.com>
//
#include "zengine/script/register_helper/zengine_register_helper.h"
// #include "luabind/... | [
"wubenqi@gmail.com"
] | wubenqi@gmail.com |
9df73f7740d32dc4c6cd36a0fb8c3df6cd1bbea7 | 5e2c213a3d8489c1ae00c095591ce521d074d9e1 | /T47NY/SNOWMAN.h | c950548cc238bdeaf7de23c98cae469ea8b8bd71 | [] | no_license | StrangeGoofy/Some-projects | 1286d93917347a4167d7918cbb94f2ca6bea12a0 | eb99152b3894bc67b27ac65d6eae9a50486062f2 | refs/heads/master | 2022-11-04T12:08:03.340809 | 2020-06-12T15:10:04 | 2020-06-12T15:10:04 | 271,826,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | #ifndef _SNOWMAN_H_
#define _SNOWMAN_H_
#include "ANIM.h"
namespace segl
{
class snowman : public object
{
public:
double r1( void )
{
return 9.0 * (2.0 * rand() / RAND_MAX-1);
}
double X, Z;
snowman( void )
{
X = r1();
Z = r1();
}
void Rend... | [
"noreply@github.com"
] | StrangeGoofy.noreply@github.com |
9c5116d81ddd737c4b48cbc9dbce7d9cdd0b6a37 | 5fb40740c24d4f301422da450b953de040dadb8d | /P3398.cpp | ffa485ccf95ad7a1c696dcabda2d9eae83731ef8 | [] | no_license | Hibari233/OI-Codes | 33110db22bfb9ce56c06a26512dbfe704852db75 | 6b026f98d007afeff480ab6b0d022b75572c19b9 | refs/heads/master | 2023-08-20T13:40:53.368218 | 2021-10-31T12:28:09 | 2021-10-31T12:28:09 | 263,259,957 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<string>
using namespace std;
int n,q.u,v;
int main(){
scanf("%d%d",&n,&q);
for(int i=1;i<=n;i++){
scanf("%d")
}
} | [
"59260343@qq.com"
] | 59260343@qq.com |
26d1747a1b5aab9044f9fa7fcd3af43d2c456070 | 002eda1f0be5e975b2395dbdd321da787a288266 | /Arduino/code + bluetooth/code + bluetooth.ino | 1077ec7ba32476c451b332c73cad90b41b80b435 | [] | no_license | YousefAboElFoul/COEN-390-SSS | f01f8e212d6ffd42ea9122256a6ec16491833b42 | a9d662989c8dafce21eec6e0a5884da9cb56ad68 | refs/heads/master | 2021-09-11T16:47:48.086245 | 2018-04-09T22:36:52 | 2018-04-09T22:36:52 | 105,186,874 | 1 | 3 | null | 2017-11-29T11:21:21 | 2017-09-28T18:47:57 | Java | UTF-8 | C++ | false | false | 9,289 | ino |
// These constants won't change:
const int sensorPinTHUMB = A0; // pin that the THUMB flex sensor is attached to
const int sensorPinINDEX = A1; // pin that the INDEX flex sensor is attached to
const int sensorPinMIDDLE = A2; // pin that the MIDDLE flex sensor is attached to
const int sensorPinRING = A3; /... | [
"yazanodeh7@hotmail.com"
] | yazanodeh7@hotmail.com |
d4f08cf7bc552e4b672deecf5773be48554b0ed2 | d3b229aca550621915d291b9bbc4262bb69cf7f3 | /GameUE4/Intermediate/Build/Win64/UE4Editor/Inc/GameUE4/GameUE4.init.gen.cpp | 3a334eb143dd389457c2a2f7d5824bebd720b640 | [] | no_license | lauragro/Game | 7ac7c4a801e39f6b2c9c6443a27e2eb577a7736b | 235230b5a1432137554b1ca06876e711f2890251 | refs/heads/master | 2020-03-11T18:01:57.070065 | 2018-04-19T05:45:20 | 2018-04-19T05:45:20 | 130,164,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"emailgrondahl@gmail.com"
] | emailgrondahl@gmail.com |
cf6c4eb7d6549b3a383156348134af3295b1df8c | abeaaa1344e1e0a756e02eee570e86e3697c4868 | /ds algos/insertion and deletion in linked list.cpp | 25ca4793fa528854d14f2304e257372e87194e12 | [] | no_license | Dishebh/Data-Strucuture-Algos | 9720f987046aeac70d4787ce63c36cc175334890 | 9c168241a5cc4026c45531d570648d20f348ada9 | refs/heads/master | 2020-09-30T01:46:48.926659 | 2019-12-10T16:48:53 | 2019-12-10T16:48:53 | 227,170,346 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include <iostream>
using namespace std;
//Declare Node
struct Node{
int num;
Node *next;
};
//Declare starting (Head) node
struct Node *head=NULL;
//Insert node at start
void insertNode(int n){
struct Node *newNode=new Node;
newNode->num=n;
newNode->next=head;
head=newNode;
}
void ins... | [
"noreply@github.com"
] | Dishebh.noreply@github.com |
8b7f43982d9c3c260a3e01845f95865c89a46055 | 2f4e617c34f18aa1cc89d3a6bd077e81e6d799d0 | /DOOM/render_stuff.cpp | 3470cd25e73486ee60a83184d8eb68f830ea2f7a | [] | no_license | alex2835/DOOM | ee5bdb8b1e25f63893b2fcadf52939395626c4cc | 123c96ad85c85a3acbce8701a55e4cf9b53d2d0f | refs/heads/master | 2022-11-11T18:53:34.529873 | 2020-06-30T20:07:53 | 2020-06-30T20:07:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp |
struct Color
{
union
{
struct { uint8_t g, b, r, a; };
uint8_t raw[4];
uint32_t whole;
};
Color() = default;
Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a = 255) : r(r), g(g), b(b), a(a) {}
bool operator == (const Color& other) const { return (r == other.r && g == other.g && b == other.b && a == other.... | [
"sa00709@mail.ru"
] | sa00709@mail.ru |
3e68c845b37cfe16a2a6e38b10a591c8b75f3daa | 454f48e0e94f34e55c11ae85c8da1324b6193235 | /C++/8.FirstMissingPositive/FirstMissingPositive.cpp | ac66c5749022548b35364b17ee2bbfdf6d51677d | [] | no_license | FlyingMammuthus/AlgorithmProblem | 5201847412167c7ccab88743a1a4e44b3e4c46e9 | 681b084abd6c6514ba6daf81b3aad9630c303c16 | refs/heads/master | 2020-04-23T23:46:44.902253 | 2019-04-12T18:05:06 | 2019-04-12T18:05:06 | 171,545,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include <vector>
using namespace std;
class Solution8 {
public:
int firstMissingPositive(vector<int>& nums) {
int vlen = nums.size();
vector<bool> rec(vlen, false);
int i;
for (i = 0; i < vlen; ++i) {
if (nums[i] > 0 && nums[i] <= vlen) {
rec[nums[i] - 1] = true;
}
}
for (i = 0; i < vlen; ++i)... | [
"noreply@github.com"
] | FlyingMammuthus.noreply@github.com |
2a6ea2c4a4dcbc245847bcc7560231d645c92b43 | f6adf24661d08badb3d624f0a361c20438c61484 | /stlSlicer/Timer.cpp | 08a6637228ea49552e2a57e4cee72c821161eb74 | [] | no_license | gregori/stlSlicer | eff8bf4af3773f672fcbe4e6d1bb94dbf865349b | 7567423147addfa3afd264a451ac1d0cee5a9d67 | refs/heads/master | 2021-01-10T10:56:42.579886 | 2016-03-30T23:54:01 | 2016-03-30T23:54:01 | 55,106,019 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | //
// Timer.cpp
// stlSlicer
//
// Created by Rodrigo Habib Gregori on 04/05/14.
// Copyright (c) 2014 Rodrigo Habib Gregori. All rights reserved.
//
#include "Timer.h"
Timer::Timer()
{
}
Timer::~Timer()
{
}
int Timer::getTimeMs()
{
#ifdef WIN32
/* Windows */
FILETIME ft;
LARGE_INTEGER li;
... | [
"rodrigo.gregori@gmail.com"
] | rodrigo.gregori@gmail.com |
4f551bd25732f5e8ed0ae9497aa897dd73a0284b | cf8906c630f8063e0ffd19618efe278e94eb1157 | /mica_memreusedist.cpp | 1eb703e2dfbd3f2086c49135532cce5f75676f52 | [
"BSD-3-Clause"
] | permissive | itkovian/MICA | 4e2a0115cf60e07c6bde38c6baafa9aad3aa1965 | 52a93f034a9b51879285993ae2b0f2acc6f372c8 | refs/heads/master | 2021-01-17T08:56:32.331311 | 2011-03-01T07:28:54 | 2011-03-01T07:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,765 | cpp | /*
* This file is part of MICA, a Pin tool to collect
* microarchitecture-independent program characteristics using the Pin
* instrumentation framework.
*
* Please see the README.txt file distributed with the MICA release for more
* information.
*/
#include "pin.H"
/* MICA includes */
#include "mica_memreuse... | [
"kehoste@807cdcb1-511e-4608-a72a-c2ff732aa92f"
] | kehoste@807cdcb1-511e-4608-a72a-c2ff732aa92f |
a95058d1693fc92be505daa71c77e456079a6010 | 9c713425498c8366c47c3a4ce1a50c791c24572f | /src/messaging/ErrorCategory.cpp | d213cf734a3d1426e3f9f99571e407b71f08b7bb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | krzysztofziobro/connectedhomeip | d17a754c88bf9a4703baf1bef222e34327042139 | f07ff95183d33af17bc833c92c64e7409c6fd2eb | refs/heads/master | 2023-07-17T22:46:22.035503 | 2021-08-28T16:08:30 | 2021-08-28T16:08:30 | 385,177,354 | 0 | 0 | Apache-2.0 | 2021-07-12T11:39:14 | 2021-07-12T08:28:33 | null | UTF-8 | C++ | false | false | 2,637 | cpp | /*
* Copyright (c) 2020 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | [
"noreply@github.com"
] | krzysztofziobro.noreply@github.com |
663e07632876a1b2cfc2a360f004418bd38f929f | 32273230d9af2e252a9c86396ac96b8f5dc9dacd | /Source/BattleTank/Private/Projectile.cpp | 2ae7d0a8c57329ce888663b475ced1ada9009608 | [] | no_license | JCJordan/BattleTank | bc04fad2843e3601cca7ee4cc3f15ad57716ee15 | 72fd6027edc3759d735b6d7fd6ad4283db050f82 | refs/heads/master | 2020-03-27T05:14:31.033055 | 2018-09-07T19:51:23 | 2018-09-07T19:51:23 | 146,003,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | cpp | // Copyright FairgroundPandaStudio
#include "Projectile.h"
#include "GameFramework/ProjectileMovementComponent.h"
#include "Particles/ParticleSystemComponent.h"
#include "PhysicsEngine/RadialForceComponent.h"
#include "Engine/World.h"
#include "TimerManager.h"
#include "Kismet/GameplayStatics.h"
#include "Components/S... | [
"jordan.craig2@hotmail.co.uk"
] | jordan.craig2@hotmail.co.uk |
31d3cb6219a2f76cb2ead9f07621d01456038934 | d7c31b665e267e3a9b176821e7f84b4ec2a5a4be | /base/sslcertificate.h | 0bd51648c6b117883a5acc7d2e0378db1effd128 | [] | no_license | sparrowli/agc_spec | 26f66cd490a3b6791902ee86d47e9ca52b309b7f | c526571ee417e279d5285733c3776033ad181d17 | refs/heads/master | 2020-03-28T13:57:26.488348 | 2018-10-25T10:33:52 | 2018-10-25T10:33:52 | 148,445,267 | 0 | 0 | null | 2018-10-25T10:35:27 | 2018-09-12T08:12:03 | C++ | UTF-8 | C++ | false | false | 5,738 | h | /*
* Copyright 2018 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"sparrow@sparrowlis-MacBook-Pro.local"
] | sparrow@sparrowlis-MacBook-Pro.local |
73a66804881b9912a6a43462d55ada9a29917ff8 | 8ddd2ca4b49c138980fc4220e0ca907bda5952ee | /library/rangeQuery/prefixMinSum.cpp | b47921f35d43225423a387dcf5bfc145a4b79254 | [
"Unlicense"
] | permissive | bluedawnstar/algorithm_study | b7b08e2fca31ecfc87bafa3a9734627245f16ad5 | d5aec7035e65d8f5386a0791c26d59340fd09ef5 | refs/heads/master | 2023-06-24T19:47:57.640559 | 2023-06-14T14:43:01 | 2023-06-14T14:43:01 | 76,085,991 | 45 | 8 | Unlicense | 2023-06-14T14:43:03 | 2016-12-10T02:41:35 | C++ | UTF-8 | C++ | false | false | 1,571 | cpp | #include <stack>
#include <vector>
#include <algorithm>
using namespace std;
#include "prefixMinSum.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <cassert>
#include <string>
#include <iostream>
#include "../common/iostreamhelper.h"
#include "../common/profile.h"
#includ... | [
"youngman.ro@gmail.com"
] | youngman.ro@gmail.com |
6bac531834ddf1ec6d7cfe55c388ba5d12ef3a5d | 3477d8bd2da78215182044164ee9c3b801870818 | /ココ(1号機)/nano_main_coco/nano_main_Coco_PS4ver_v2.3/timer.h | 4be6d18740f11413e471fb9ed9a6446cdca310a4 | [] | no_license | ioComk/Robocon2017_Cerberus | b0429dc3bbdd302552af68c6e4ab032c12a42bfe | 62917593850163e9068f66fdb39c5c369a63a81d | refs/heads/master | 2021-09-02T04:43:08.435120 | 2017-12-30T12:37:11 | 2017-12-30T12:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | h | #pragma once
class timer {
private:
public:
unsigned long int GetElapsedTime();
bool isAvailableInterval(int target_time);
void PrintActualCycle();
};
unsigned long int timer::GetElapsedTime() {
static int current_time = millis();
return (millis() - current_time);
}
bool timer::isAvailableIn... | [
"rw110407@gmail.com"
] | rw110407@gmail.com |
c19c0e080c68fd84650ea5b23a203ce0216b8388 | 3e049ac72a94cca272e907a1840d0aed1f37644e | /C++ Tutorials/Tutorial19.cpp | 180f4deaad08fc1b1d60fb177c176c4e0309e4f8 | [] | no_license | Brotin003/Programming | 1fa13c71e10bb378e3d6551cf486c51b0a511581 | 70e36a29d43bae9ef7cacf2859330529216323e8 | refs/heads/master | 2022-12-18T11:10:00.369121 | 2020-10-01T09:33:14 | 2020-10-01T09:33:14 | 300,222,675 | 0 | 0 | null | 2020-10-01T09:30:44 | 2020-10-01T09:30:43 | null | UTF-8 | C++ | false | false | 513 | cpp | // Selection control structure : Switch case
#include <iostream>
using namespace std;
int main()
{
int age;
cout << "Enter your age" << endl;
cin >> age;
switch (age)
{
case 18:
cout << "You are 18" << endl;
break;
case 22:
cout << "You are 22" << endl;
break... | [
"amangwari29sep@gmail.com"
] | amangwari29sep@gmail.com |
4dc0696c60a375966698c70cc3238ebdb81e111a | 0878dde5e6ba7a93a4c338f7b7c2b70b89e0658f | /src/Main/main.cpp | 86214f51e706e1fdf6e0157f57af62a32829282e | [] | no_license | ImanolGo/MurmurContourTracking | 1dff50eaad650f1366fc95336c63def3957f48c5 | 00cd42525c892b0b3f85795d32487812d63366ea | refs/heads/master | 2021-01-17T17:37:50.729788 | 2016-10-25T21:18:53 | 2016-10-25T21:18:53 | 63,714,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include "ofMain.h"
#include "ofAppGlutWindow.h"
#include "MurmurContourTrackingApp.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window,1280, 1024, OF_WINDOW);
ofRunApp( new MurmurContourTrackingApp());
}
| [
"imanolgo@imanolgo.fritz.box"
] | imanolgo@imanolgo.fritz.box |
f19d1f51e05af7daefc83c98ca0dbf20481a7f60 | a2ffd6fcfb36e7faf1dbf57ee0923e2d8102315e | /a1.cpp | 3f234239ebb6fcf9ed588161a05bfc2f13c27c84 | [] | no_license | tousifeshan/MusicalNoteDetection | e2aecf5effbd4bd70ba9b2e109023d27a008a9ef | 96bae69c9351e2f4327c270838eda8116b3efadf | refs/heads/master | 2021-01-22T10:32:21.092758 | 2017-02-15T02:12:35 | 2017-02-15T02:12:35 | 82,009,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,641 | cpp | #include <SImage.h>
#include <SImageIO.h>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <vector>
#include <DrawText.h>
#include <sstream>
#include <time.h>
#include "convolution.cpp"
#define TWO_PI 6.2831853071795864769252866
#define canny_threshold 1
usi... | [
"touahmed@indiana.edu"
] | touahmed@indiana.edu |
1e25c7c3325618e29579b6dcddec22c5476d3e33 | f781a93069a1de619603070ab566dc71fd74945a | /coreClasses/scene/Screen.cpp | fd710a26058628d5a5c59225f80a8ecb25b73e42 | [] | no_license | zephyrol/JumperBall | 2e30e2ce73a0b4c4038592e60b2e0729f6cc5db9 | 9b8ff747645b99e68394267d48b6a6eb985c59ec | refs/heads/master | 2023-09-01T09:04:04.073625 | 2023-08-27T09:03:43 | 2023-08-27T09:03:43 | 212,174,717 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | /*
* File: Screen.cpp
* Author: Morgenthaler S
*
* Created on 5 juillet 2020, 8:41
*/
#include "Screen.h"
Screen::Screen() = default;
| [
"morgenthaler.sebastien@gmail.com"
] | morgenthaler.sebastien@gmail.com |
5b6f7f088c206d3d83c0ced79ac5591d059a77fb | 4b8d16e18284bcf037093e950dc775cc3b401475 | /uiaccelerator_plat/alf_core_toolkit_api/tsrc/src/testuiaifctkitblockshuirealpoint.cpp | 33489b6c57fed9f2e7f25f20eaac49f3d27a4a86 | [] | no_license | SymbianSource/oss.FCL.sf.mw.uiaccelerator | 167bc231bd46fbd414c64b78f735025ebeb2cb53 | 773fc5e215e04584c3e00a1b1fa05c5a8c50440a | refs/heads/master | 2021-01-11T11:20:51.047896 | 2010-11-03T17:29:22 | 2010-11-03T17:29:22 | 72,679,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,199 | cpp | /*
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/ep... | [
"none@none"
] | none@none |
8b2a74092c632f5e5198e99a95e66eeb45ef5c94 | 23a076bb8db0cadf9c8ed7e50feec3422cdfe1c9 | /src/gui/widgets/metasprite/metaspriteapplication.h | f4c895e66ac3d54fff387a508c1d238afcad4d22 | [
"MIT"
] | permissive | Aliandrana/untech-editor | c1349840ecccc5d0cffedd32537f5f7a13546262 | 6805b29aa1a96c38fa154c83746d73c17c1934db | refs/heads/master | 2021-01-19T07:11:08.101474 | 2016-05-06T10:09:13 | 2016-05-06T10:09:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | h | #ifndef _UNTECH_GUI_WIDGETS_METASPRITE_METASPRITEAPPLICATION_H_
#define _UNTECH_GUI_WIDGETS_METASPRITE_METASPRITEAPPLICATION_H_
#include "document.h"
#include <memory>
#include <gtkmm.h>
#include <glibmm/i18n.h>
namespace UnTech {
namespace Widgets {
namespace MetaSprite {
namespace MS = UnTech::MetaSprite;
class ... | [
"undisbeliever@gmail.com"
] | undisbeliever@gmail.com |
0a5ee60d151c82cb545ba2ff0ef891b4b48fa34e | 2ad6511686c39a0681cbb9909b1042ceab08d0f9 | /JianzhiOffer/merge.cpp | fbd5bf4ac211ac93ce276838acf84a333fcfae25 | [] | no_license | XXXzp/AlgPractice | 40042f259c2f283f1006d868e34942aa4a9ba1fc | a30649d5986314ad6c9c90ced8a5dc3c64d1fa55 | refs/heads/master | 2021-09-14T11:59:20.664061 | 2018-05-13T06:36:22 | 2018-05-13T06:36:22 | 104,568,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #include<iostream>
using namespace std;
struct ListNode {
int val;
struct ListNode *next;
ListNode(int x) :
val(x), next(NULL) {
}
};
ListNode* Merge(ListNode* pHead1, ListNode* pHead2)
{
ListNode *newList = NULL ;
ListNode *newListBase = NULL;
while(pHead1!=NULL && pHea... | [
"821030921@qq.com"
] | 821030921@qq.com |
db8a1a8671956d91be5a7238e63bc24cd53e7b9c | 1ffd3984e676e92da485482fc5a5f8028174da21 | /include/pan/net/rpc/oldimpl/v2/server_handler.hpp | c6531f42ab3d79a7a70153d96a4fba3eb715c6cf | [] | no_license | pangold/panet | aa52ea172d60dcb60e697055c0dda6d24ff9e4ba | 9acdfa72e5084aeaf410322647fcf593553beb9e | refs/heads/master | 2020-05-16T09:23:42.229569 | 2019-07-16T03:43:38 | 2019-07-16T03:43:38 | 182,946,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,002 | hpp | #ifndef __PAN_NET_RPC_SERVER_HANDLER_V2_HPP__
#define __PAN_NET_RPC_SERVER_HANDLER_V2_HPP__
#include <pan/base.hpp>
#include <pan/net/handler_base.hpp>
#include <pan/net/protobuf.hpp>
#include "rpc.pb.h"
namespace pan { namespace net { namespace rpc { namespace v2 {
template <typename Session>
class server_handler :... | [
"panjin.grape@hotmail.com"
] | panjin.grape@hotmail.com |
5069d7887251ff9b961ba90ef9073b0935ee7934 | 883bba35d3074b1836efe5f96e2682e2ae2d8cae | /UniversalWindowsPlatformSamples/CSharpProjectExample/bin/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.AndroidJNIModule.cpp | 241e4b186f94ff116e6765774f283a9904281250 | [
"MIT"
] | permissive | Unity-Technologies/DesktopSamples | 3dabe5cbafae64479d87c3ed993630f6a755e3a2 | 835e350c2517ddd65302159053447f35ad50666e | refs/heads/master | 2023-07-18T19:45:01.327055 | 2022-03-04T00:42:41 | 2022-03-04T00:42:41 | 218,365,346 | 200 | 84 | MIT | 2020-02-12T01:05:53 | 2019-10-29T19:17:52 | C++ | UTF-8 | C++ | false | false | 590,079 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, ... | [
"tautvydas.zilys@gmail.com"
] | tautvydas.zilys@gmail.com |
17f8b6cf818e23f1559ecb8e3d7ab1bd0032cf67 | 02330147d8c954354cdef643006ab1c4d7ec3344 | /Ternary search.cpp | 59d4050dcef3e1813bd151e11325027996c73d12 | [] | no_license | sapphirelpu/Hackertoberfest2020 | a280465eda8d0584a0f553575f7e4ebd9043f164 | 8d011cd1cf22c2d06705107cbcbc3140f056b7a5 | refs/heads/master | 2023-01-03T01:27:37.729019 | 2020-10-25T05:57:01 | 2020-10-25T05:57:01 | 300,266,809 | 3 | 42 | null | 2020-10-28T04:35:00 | 2020-10-01T12:12:24 | Python | UTF-8 | C++ | false | false | 656 | cpp | #include<iostream>
using namespace std;
int main()
{
int i,n,mid1,mid2,first,last,search;
cin>>n;
int a[n];
for (i=0;i<n;i++)
{
cin>>a[i];
}
cin>>search;
first=0;
last=n-1;
while (first<=last)
{
mid1=first+(last-first)/3;
mid2=last-(la... | [
"noreply@github.com"
] | sapphirelpu.noreply@github.com |
afea8433c31aa4b5dd717f7dc378f5db1ffd2cdd | 644ade2af173ac318aedaabee1e7a8b1c720b0b9 | /Source/Renderer/drawPackage.cpp | 8c63c3ebe1d21ac36d09e7687fb438fb1c513f9c | [] | no_license | Met-CH4-An/FUNEngine | 0fc488407cabab713da98aeab289f78e62a05741 | 0c8eeda18e2992934e4f6ae2d7642b1aa0bb8eb9 | refs/heads/master | 2020-05-07T10:05:39.604956 | 2019-04-20T06:21:44 | 2019-04-20T06:21:44 | 179,972,181 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,375 | cpp | ////////////////////////////////////////////////////////////////
// секция PCH
////////////////////////////////////////////////////////////////
#include "pch.renderer.h"
////////////////////////////////////////////////////////////////
// секция заголовочного файла
///////////////////////////////////////////////////////... | [
"taciturn2f@yandex.ru"
] | taciturn2f@yandex.ru |
58558fd0f3401da76e167642406849c54aae5b73 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/core/v8/v8_font_face_set_load_event_init.cc | 50bd88e40d597a3b85e7a6362b812b28e1d2e638 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,413 | 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_v8.cc.tmpl
// by the script code... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
fe4c92a728ad859f2277cb3262b3d66cf3440255 | a60190acc6d718e8fec9e5b854c773401895e9fd | /test/concurrent/test_stack_lockfree_split_reference_hp.cpp | 61f69825a0650da3fc97d47832e5bb29a4489a60 | [
"MIT"
] | permissive | exbibyte/concurrent | a1dca7d76dee22c3d09772284eb9437773c9ad26 | 243246f3244cfaf7ffcbfc042c69980d96f988e4 | refs/heads/master | 2022-12-29T06:00:19.371848 | 2020-10-19T06:46:11 | 2020-10-19T06:46:11 | 190,367,454 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,217 | cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <thread>
#include <vector>
#include <iostream>
#include <mutex>
#include <set>
#include <chrono>
#include "catch.hpp"
#include "stack_lockfree_split_reference.hpp"
#include "threadwrap.hpp"
#include "reclam_haza... | [
"yuan6liu@gmail.com"
] | yuan6liu@gmail.com |
bbe7f96350b2c799bcd8f8e5033225de1aee4b8a | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/svg/SVGAElement.h | 793a163e4a0aa0d3d3b03a82753d89180f3d2bb9 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 2,511 | h | /*
* Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2007 Eric Seidel <eric@webkit.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Licen... | [
"22249030@qq.com"
] | 22249030@qq.com |
137be90256042b925c3f632af441466ac688885b | 3bb2b6eeca9990de89adb9cc4443f50fe29a5369 | /src/core/util/Data/DataFile.cpp | 7d05a5cfd0a0c694905182f87270c125cda379ce | [] | no_license | am11/ffcore | 2ae7c14a1d75f5b7af0df87c897a4a0bee2381e0 | 4855bfd3c3d0c30c887dd6546c86f7542612e148 | refs/heads/master | 2021-01-17T02:03:26.356471 | 2015-08-12T17:56:23 | 2015-08-12T17:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | #include "pch.h"
#include "COM/ComAlloc.h"
#include "COM/ComObject.h"
#include "Data/DataFile.h"
#include "Windows/FileUtil.h"
class __declspec(uuid("30bbbdcc-3ff1-4b2c-ab87-10a7f52f2156"))
CDataFile : public ff::ComBase, public ff::IDataFile
{
public:
DECLARE_HEADER(CDataFile);
bool Init(ff::StringRef path, bool ... | [
"spadapet@hotmail.com"
] | spadapet@hotmail.com |
92963a14908e8ca69681e3d3788c9ceecc781ae5 | b3de27bcde44f1bd73168fb496b1c6ca6140e29c | /src/CommonFunctions.cpp | 77f31974c6f61f862d602ecab4a751d1afd5ef75 | [
"Apache-2.0"
] | permissive | stormshield/HiveSwarming | f7c031fc86935318e3bee946846a9189b65973cf | 50e1e747c3dcc15a96ec6f1d63ce3d1654b515b4 | refs/heads/master | 2023-06-27T14:29:16.014392 | 2023-06-15T12:59:56 | 2023-06-15T13:08:48 | 239,482,977 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | cpp | // (C) Stormshield 2023
// Licensed under the Apache license, version 2.0
// See LICENSE.txt for details
#include <windows.h>
#include "Constants.h"
#include "CommonFunctions.h"
#include <vector>
#include <iostream>
#include <iomanip>
void DeleteHiveLogFiles
(
_In_ const std::wstring &HiveFilePath
)... | [
"benoit.mortgat@stormshield.eu"
] | benoit.mortgat@stormshield.eu |
d5149a21920465d7b3142b0f9f0bf3ebe0c44556 | 2865eebb3061f7d62b432267ae89f13c8d7634db | /剑指offer/面试题10-I斐波那契数列.cpp | efac61b01dfd5fb0de61dd8ee82f114e4d7c8920 | [] | no_license | ahojcn/my-leetcode | f3de28086b747d37d791c0854ef0fc37c4909f1a | 00c2bc8637f5c981893073109f43654334266a27 | refs/heads/master | 2021-06-13T02:21:27.162747 | 2020-06-29T12:12:38 | 2020-06-29T12:12:38 | 254,411,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | // https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof/
//
class Solution {
public:
int fib(int n) {
int a = 0, b = 1, sum;
for(int i = 0; i < n; i++){
sum = (a + b) % 1000000007;
a = b;
b = sum;
}
return a;
}
}; | [
"ahojcn@gmail.com"
] | ahojcn@gmail.com |
2a2c0bb6e57e3b8d5c187eb4c60c09534dd48bd1 | abe8fd193fec7d0a805c8b0063105a18e44438fe | /Adruino/PetTutorTilt/PetTutorTilt.ino | 827665e4aeb21eaf0bd65f8f589c29f3de7a2585 | [
"MIT"
] | permissive | PetTutor/PetTutor-SDK-Demos | 131be025d1e2f5659e76699db8b399dbc002898b | 2745b7106d44a8d59142b57d4fbf4d547e8417b9 | refs/heads/master | 2021-09-06T22:11:18.708876 | 2021-08-04T22:05:19 | 2021-08-04T22:05:19 | 39,911,928 | 3 | 2 | MIT | 2021-08-04T23:40:05 | 2015-07-29T19:22:36 | Objective-C | UTF-8 | C++ | false | false | 4,489 | ino | /*
Smart Animal Training Systems, LLC
Pet Tutor Arduino SDK Demo
Coder: David Nelson
Contact: tech@smartanimaltraining.com
Modified Date: 7/1/2015
Description:
This app uses the acceleration data to trigger a feed command on a Pet Tutor device.
After feed is called the device must wait a set period of time before it c... | [
"david@duffekmobile.com"
] | david@duffekmobile.com |
da6594f2333b76b09d906ac8b81ac2aab67c6b6b | c5442296d14207627ac4d7516debb931dc04611c | /bin/coordinate/test_coordinate.cpp | cbc4bdcb8d89f295d6bd3e4862188a0bc937399a | [] | no_license | agawande/RobotCode2016 | db51cdb59688f219bc18391cde2ece7f1b78c19e | 71bce20af7aff39e8d8b68c608556eb6c7d3a47e | refs/heads/master | 2021-01-10T14:55:09.505661 | 2016-03-30T02:57:04 | 2016-03-30T02:57:04 | 37,889,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | #include "coordinate.hpp"
int main()
{
Coordinate a(0, 100, 200, 0);
a.print();
}
| [
"agawande@memphis.edu"
] | agawande@memphis.edu |
98ab12cc81eea25150c046c6c00b44c4d181a4e4 | 7132d4b04bdc5e8f4a617d0540bb85eb03a443e9 | /src/policy/policy.h | 28be45c9f122714fe696b2d4c4eea7d2b5f53eb2 | [
"MIT"
] | permissive | PhoenixSIV/Main | 02b2334dd620a562b8b1a9559c326538c3de4e27 | 09c421991a964e495af0740772f4e661ee5e3a69 | refs/heads/master | 2023-06-16T11:07:30.367962 | 2021-07-13T23:38:27 | 2021-07-13T23:38:27 | 385,640,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,436 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2021 The PHOENIXSIV Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_POLICY_POLIC... | [
"brandonpapo001@gmail.com"
] | brandonpapo001@gmail.com |
a10a82fbb268c26c85f675fcc2caa28e416ce31e | 5dfa996630af52dd17ccf3b15f383b6710284ac7 | /1-trabalho/detectaMoeda.cxx | 5edfbb66b9a4f0f93363443c14d278dfaa5fc927 | [] | no_license | ClarissaDP/ImgProc_CoinSegmentation | cc7afb9640d932da79812cf54663960b1cafe5f6 | d307598fd441b1b0305ac52157f7e3345bbcd85d | refs/heads/master | 2021-04-06T10:39:59.386370 | 2018-03-13T16:20:59 | 2018-03-13T16:20:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,677 | cxx | #include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkImageRegionIterator.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageFileWriter.h"
#include "itkBinaryMorphologicalClosingImageFilter.h"
#include "itkBinaryBallStructuringElement.h"
int main(int... | [
"clarissa.d.pereira@gmail.com"
] | clarissa.d.pereira@gmail.com |
16b46a2fb42020e6dc869c3bafb116c36a3931d4 | d973b3a5ca390ecceceb630a09873d9f4cee29f1 | /BOJ/USACO/17022_Sleepy Cow Sorting.cpp | 027c96df6270aff994e4483b4551d8f2f0139dde | [] | no_license | hschoi1104/Algorithm | f06a111f44e674b38f1e0d65193b4b98ab8ac7d5 | 8317a843354c2530590c871d8a10850a0303f18a | refs/heads/master | 2023-08-09T13:01:22.646030 | 2023-08-02T08:02:43 | 2023-08-02T08:02:43 | 201,705,544 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
vector<int>a, b;
int main() {
ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
int k = 0, n; cin >> n;
vector<int>in(n);
for (int i = 0; i < n; i++) cin >> in[i];
for (int i = in.size() - 1; i > 0; i--) {
if (in[i - 1... | [
"43382559+hschoi1104@users.noreply.github.com"
] | 43382559+hschoi1104@users.noreply.github.com |
c30722d08019aab2a31b12fa0705396e008be960 | c14e75a4bc8fbe4d7f1a1af5e9c2718ac69eecb0 | /EMUCore.cpp | 9d734c12a1821d7eda34d873185990da4d4bfe43 | [] | no_license | marukun318/DummyPlug | 729e8e0d08bc6618c67966f1ba514a6e674bfe99 | 6035c2065d4fbdf3c641f14b4f0333ad5775712e | refs/heads/master | 2022-11-30T08:17:06.988160 | 2020-08-16T16:58:59 | 2020-08-16T16:58:59 | 287,937,990 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,846 | cpp | #include "EMUCore.h"
void EmuCore::StartEmulation()
{
// メインループ
// メインスレッド
m_thread = std::thread([this] {
bool bFirst = true;
m_isRunning = true;
while (m_isRunning) {
auto start = std::chrono::system_clock::now(); // 計測スタート時刻を保存
{
std::lock_guard<std::mutex> lock(m_mutex);
if (bFirst) {
... | [
"maru@marukun.jp"
] | maru@marukun.jp |
84013b431bde1e9025994308a63b4db6e0bf918a | 3488515b33bdafbdb4ba2dd652e309b311255891 | /components/download/internal/common/download_worker.h | 28e5b05f6fe5b225867ef050260c5a0d41a8cb3c | [
"BSD-3-Clause"
] | permissive | Jishun/chromium | bbacceb5d7b29a5cb0b17612c109e2b6560f9735 | 309b078c964e2b61edfe87c29581dab4410eaa25 | refs/heads/master | 2022-11-30T00:36:27.261439 | 2019-10-09T03:59:15 | 2019-10-09T03:59:15 | 212,290,313 | 0 | 0 | BSD-3-Clause | 2019-10-10T03:05:03 | 2019-10-02T08:30:28 | null | UTF-8 | C++ | false | false | 3,064 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_DOWNLOAD_INTERNAL_COMMON_DOWNLOAD_WORKER_H_
#define COMPONENTS_DOWNLOAD_INTERNAL_COMMON_DOWNLOAD_WORKER_H_
#include <memory>
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0bcdc5f3c7e3ac28058816434d9d5207be7d8ce2 | a0cfed51805d688aef2d70fbfe94d945a84b9ed0 | /llvm-project/llvm/tools/llvm-readobj/llvm-readobj.h | 7672da5c0aae6fc17b5a709777a83d7df70b15e6 | [
"Apache-2.0",
"NCSA",
"LLVM-exception"
] | permissive | KhronosGroup/libclcxx | 89a1c61579a6fce7e2ebb3dab4c91869ba198d25 | 27f6d72e76ffc458efb1d14b48ca268a85425c85 | refs/heads/main | 2023-09-05T06:26:13.075647 | 2022-02-17T11:14:00 | 2022-02-17T11:14:00 | 56,150,434 | 125 | 46 | null | 2023-03-06T07:23:00 | 2016-04-13T12:38:00 | null | UTF-8 | C++ | false | false | 1,492 | h | //===-- llvm-readobj.h ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"noreply@github.com"
] | KhronosGroup.noreply@github.com |
9633a890f93d7627eea979d9d9d957889859f84b | 816480b413071d53e88b25ebca247395b911e695 | /client/DLGEDIT.cpp | 9af1cdf971f8d7e71533c19cbb7fdcd9b3b3a68a | [] | no_license | kabofang/ExamOnline | 300ff7970b1ffb3dc87404a1297c263322c5957e | 85ffe4bbf152c56047099800be58f5cd100566d7 | refs/heads/master | 2023-04-25T16:04:47.472366 | 2021-05-10T19:04:12 | 2021-05-10T19:04:12 | 365,757,882 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,465 | cpp | // DLGEDIT.cpp : implementation file
//
#include "stdafx.h"
#include "client.h"
#include "DLGEDIT.h"
#include ".\dlgedit.h"
#include "./netlib/message.h"
#include "./xml/XmlNodeWrapper.h"
// CDLGEDIT dialog
IMPLEMENT_DYNAMIC(CDLGEDIT, CDialog)
CDLGEDIT::CDLGEDIT(CWnd* pParent /*=NULL*/)
: CDialog(CDLGEDIT::IDD, pP... | [
"447155821@qq.com"
] | 447155821@qq.com |
9d8c7abe8a3dec2ce33bdf41e70651a6c8527575 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dvecsvecmult/V4aVCb.cpp | 9a35d35acecedae3fafbdd9663e5944ab13cd330 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecsvecmult/V4aVCb.cpp
// \brief Source file for the V4aVCb dense vector/sparse vector multiplication math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.