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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd6f4972cebf62b58a53253b3276786c2687aea0 | ab004c11f6cfe81104384e373ced9f21c1420feb | /GeneratedFiles/qrc_LaserScanner.cpp | e22c2ba1122c4305a4c63925aedf5229f5e5bc49 | [] | no_license | eglrp/-Binocular-Laser-Scanner | 7a22b16e981a1205548dcf7f81aaa0501b78748f | c4fcca10bd9d7d7ed5fa912edff3d7b4d677716d | refs/heads/master | 2020-04-01T16:47:23.537489 | 2018-06-03T11:33:52 | 2018-06-03T11:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461,175 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.8.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... | [
"294296108@qq.com"
] | 294296108@qq.com |
ad830688a5d6d58ec2b8efa2bbc5836197cb2660 | 2c98a3f495306b68b27ba608a3f6e3d04c9b17a5 | /include/SpectralEvaluation/Fit/ParameterVector.h | aef0d54ba193c49a18333a645d7c6b9b4480b575 | [] | no_license | dlnorgaard/SpectralEvaluation | fa6a1951ad50fb75d7e84d3fdb658eb9b239a205 | cb4e398f5dc9530eab4dad1b14d08fd4033f0a14 | refs/heads/master | 2022-12-22T08:13:34.203915 | 2020-09-22T16:23:37 | 2020-09-22T16:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,558 | h | /**
* Contains a parameter vector object object.
*
* @author \URL[Stefan Kraus]{http://stefan@00kraus.de} @ \URL[IWR, Image Processing Group]{http://klimt.iwr.uni-heidelberg.de}
* @version 1.0 @ 2002/02/09
*/
#if !defined(PARAMETERVECTOR_H_20020209)
#define PARAMETERVECTOR_H_20020209
#include "Vector.h"
#includ... | [
"mattias42@gmail.com"
] | mattias42@gmail.com |
950a0459f4eea7dd72382902ac64010df4d4ab69 | 987f1cca4e2b69b81a2651ff890773e255a73ae0 | /geometry/CircleCalculate.hpp | 33d8ab3278cf3183196c16cdea877ebf74275b5e | [] | no_license | jellyfish26/competitive-library | ee404f666b8b8c05f24568af2e5e63b6bd4b820a | 114ea48df4244ccd928b6c21d386f95bfc199bbc | refs/heads/master | 2023-03-26T23:11:55.850401 | 2021-01-10T09:01:56 | 2021-01-10T09:01:56 | 150,267,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | hpp | #pragma once
#include <cmath>
// Last Update 2021-02-18
class CircleCalculate {
public:
static double radian_to_degree(double radian);
static double degree_to_radian(double degree);
// warn: theta is radian
static double calc_arc_length(double radius, double theta);
static double calc_chord_length... | [
"jellyfish0162@gmail.com"
] | jellyfish0162@gmail.com |
bfe01a3606afe3b612ad54872672e86f3457302b | 26d3df4594960f2d12d4c674310e87e70c2b3389 | /sprout/operation/realign_to.hpp | 43f5ef5535283e63f90ec80a3d873cb0bcd718fb | [
"BSL-1.0"
] | permissive | VD-15/Sprout | e2ff06c2ec6515ea70dee0d410955db8cd1d9dc9 | f85f3de543353e746f5c1440e909488592b37ae7 | refs/heads/master | 2022-12-22T05:05:15.528416 | 2020-09-28T13:40:42 | 2020-09-28T13:40:42 | 298,625,230 | 0 | 0 | null | 2020-09-25T16:29:32 | 2020-09-25T16:29:32 | null | UTF-8 | C++ | false | false | 670 | hpp | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
07f8e883996903f762d295eaf5746a7ef0fbd76f | 5f975169aeb67c7cd0a08683e6b9eee253f84183 | /algorithms/medium/0817. Linked List Components.h | 8da8616b5d7ba4c1514781ef5fd04f7129aa7ccd | [
"MIT"
] | permissive | MultivacX/leetcode2020 | 6b743ffb0d731eea436d203ccb221be14f2346d3 | 83bfd675052de169ae9612d88378a704c80a50f1 | refs/heads/master | 2023-03-17T23:19:45.996836 | 2023-03-16T07:54:45 | 2023-03-16T07:54:45 | 231,091,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | h | // 817. Linked List Components
// Runtime: 64 ms, faster than 33.43% of C++ online submissions for Linked List Components.
// Memory Usage: 21.6 MB, less than 5.26% of C++ online submissions for Linked List Components.
// Time Complexity: O(length(head)).
// Space Complexity: O(size(G)).
/**
* Definition for singly... | [
"MultivacX@2020.china"
] | MultivacX@2020.china |
be23f68ee66af77c45ff2c3abc1feedf71ee0c26 | 03eab75deb71cb25ba18cfb22c20850bb1bb0305 | /LAHACK/MoveComponent.cpp | d70a12b0e6c61bd98d5955c884820cba5df1aa9d | [] | no_license | lahack/LAHacks | e35a03cac9f8905827adcf259bac4b39fd49950b | 6289d5dabe1ede2adf8504f3fa1345d01c683ac9 | refs/heads/master | 2022-01-08T00:48:39.010365 | 2019-04-01T06:14:04 | 2019-04-01T06:14:04 | 178,540,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include "MoveComponent.h"
#include "Actor.h"
MoveComponent::MoveComponent(class Actor* owner)
:Component(owner, 50)
,mAngularSpeed(0.0f)
,mForwardSpeed(0.0f)
{
}
void MoveComponent::Update(float deltaTime)
{
// TODO: Implement in Part 2
mOwner->SetRotation(mOwner->GetRotation()+mAngularSpeed * deltaTime);
mOwne... | [
"haoqinde@usc.edu"
] | haoqinde@usc.edu |
a1552fa355353de9fad3819b368cf12ef4c2e415 | 84684c50d4367005d1c50ba2a5a781b912d3d8fa | /inc/door.h | 7968ceb476d1131c20294d74fbec1b45ac9a864c | [] | no_license | Akamatsu21/CaveStoryRemake | 151aa7769bfbbd3c3aa9276abedcc8ba70acd81b | 62c375d7a6c16fc8f6611621c241a3a9075b9968 | refs/heads/master | 2020-06-25T11:37:55.900049 | 2018-08-04T18:58:48 | 2018-08-04T18:58:48 | 74,616,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | h | #ifndef DOOR_H
#define DOOR_H
#include <string>
#include "rectangle.h"
// Class representing a door to a different level.
class Door: public Rectangle
{
std::string destination;
public:
// Default constructor.
Door():
Rectangle(), destination("")
{}
// Constructor.
Door(Rectangle r, std::string d):
Rect... | [
"kuba97@gmail.com"
] | kuba97@gmail.com |
01dfa3f3b75df0f850d86307640663636ef83aa5 | 30114f6730aac693971d826f58e46f6d158e6957 | /MFC/ole/TstCon/InsCtlDg.Cpp | 0354846ef9f8cbc86fdf1effd1da567686cd6242 | [] | no_license | oudream/vc_example_official | 67111751a416df93cdc4b9f1048d93f482819992 | 8075deebd4755b2a7531a8f918c19ad2e82e2b23 | refs/heads/master | 2020-06-14T08:00:01.267447 | 2019-07-03T01:03:59 | 2019-07-03T01:03:59 | 194,953,887 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,302 | cpp | // InsertControlDlg.Cpp : implementation file
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed informa... | [
"oudream@126.com"
] | oudream@126.com |
bd6549577c2e02efbd998f9dc9be9af69625a699 | 0e6dac5951729fd63d5ae55ebfc278803b998c72 | /implementation/src/Graph.h | b704ba4d978485b36b06ca8c598b54ac83ba4e60 | [] | no_license | adisarip/DS_Project | eb050091840d82a7610abf325e5f2b2f747b94d9 | 508ad2633207df49266c9a4614b54059355dcbc7 | refs/heads/main | 2023-04-22T11:38:22.037357 | 2021-04-30T17:57:44 | 2021-04-30T17:57:44 | 351,282,607 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,102 | h |
#ifndef GRAPH_H
#define GRAPH_H
// Defining a Graph class
// Features supported:
// 1. Kruskals Algorithm to compute the Minimum Spanning Tree using union-find data structure
// 2. Spanning tree based termination detection
#include <vector>
#include <unordered_set>
#include <string>
using namespace std;
// A subset... | [
"aditya.saripalli@students.iiit.ac.in"
] | aditya.saripalli@students.iiit.ac.in |
e8ad859933ce2c14bde96794f3ba8f25d14aacfa | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/dawn/src/dawn/tests/ToggleParser.cpp | 997a1d43266ca8bdf00c0b8571160dd9ede3acfe | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | 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 | 1,905 | cpp | // Copyright 2021 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"jengelh@inai.de"
] | jengelh@inai.de |
0cfe6b1fd1d1764e9ff6cd7ea1f316dba6cb580a | 2fc15a3faf57178f2923577a24f4fbb6685d399b | /Poker/table.cpp | 35305cc0ece8c48c6cd2a529c10035e771816bb4 | [
"MIT"
] | permissive | AnubisF/Poker_game | 932fbdc71343bb161e96f06120421bed47ba6ae9 | 1c143a263669be03dc89f013a773890ef45dd994 | refs/heads/master | 2023-03-10T17:12:00.401388 | 2021-02-25T06:33:36 | 2021-02-25T06:33:36 | 267,435,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,051 | cpp | #include "stdafx.h"
#include "Table.h"
#include <iostream>
#include "SFML/Audio.hpp"
using namespace std;
Table::Table()
{
Bank = Rate = PlayerRate = OponentRate = 0;
PlayerCash = OpponentCash = 1000;
gameOver.loadFromFile("images/GameOver.png");
pause.loadFromFile("images/Pause.png");
menu.loadFromFile("images... | [
"artem.vinogradov@hotmail.com"
] | artem.vinogradov@hotmail.com |
5f6b9a755f533bf00cf5cce71b4d9da13913d0f0 | 0aaeaded01facf0bebfa3755f989016cc6edf376 | /effect.cpp | 5c56e0a39858971f4eaa882979117f099dada6ea | [] | no_license | mindonghwi/BarrelGame | 1b00fc1049b76ec3c4c91a9d9b7e328de1dadaaa | ce1a864b5574a9f3043176bd94d0c5a7010cc656 | refs/heads/master | 2020-04-15T02:19:56.261599 | 2019-02-09T12:20:29 | 2019-02-09T12:20:29 | 164,310,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | cpp | #include "stdafx.h"
#include "effect.h"
C_EFFECT::C_EFFECT() :
_fPosX(0.0f),
_fPosY(0.0f),
_pImg(nullptr),
_strImageKey(""),
_nCurrentFrameX(0),
_nMaxFrame(0),
_bIsRemove(false),
_nFrameCount(0),
_byteAlphaRander(0xff),
_nWidth(0),
_nHeight(0)
{
}
C_EFFECT::~C_EFFECT()
{
}
void C_EFFECT::init(float fPosX... | [
"mdh92706@gmail.com"
] | mdh92706@gmail.com |
d096cc40fa7efc8011e3dd96306e7a10e547c619 | b6648acd138bd3d7ab767cee3340e1516570fc0f | /src/lc_taskpool.cpp | bc93cee174e79afaf7ed7a07f2922c092615b8a0 | [] | no_license | meihouhao2017/timetask | 39fde0d789b58657f3f9b9292cde824e111b1fde | 1d0f65a04d4ce6054b6e61e3ba6dd27203c77c0b | refs/heads/master | 2020-03-10T01:02:04.394258 | 2018-04-11T15:11:58 | 2018-04-11T15:11:58 | 129,098,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,625 | cpp | #include "lc_taskpool.h"
#include "lc_threadpool.h"
#include <pthread.h>
#include <time.h>
#include <assert.h>
#include <errno.h>
#include <math.h>
void* manage_task_pool_thread(void *arg);
pthread_mutex_t TaskPool::m_mtx = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t TaskPool::m_cond = PTHREAD_COND_INITIALIZE... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
2a02b665b58971dae02957f125ed009a67165689 | 5b5baf77e2847ef1d5de6a01fa9f0dc64189540d | /cpp/imfixerinstaller.cpp | 2bc7d7232812d905a6aa5e7e8145c013b263b392 | [
"Apache-2.0"
] | permissive | fredldotme/qmlcreator | f27300f81e148fcf80fa248291fba9a1f19ca651 | 73097e62e4833c3a2fa4a935b635e2b350faa3ed | refs/heads/master | 2021-06-25T12:19:56.085583 | 2020-12-11T13:05:45 | 2020-12-11T13:05:45 | 168,859,531 | 4 | 1 | Apache-2.0 | 2019-08-10T12:12:50 | 2019-02-02T17:47:16 | QML | UTF-8 | C++ | false | false | 236 | cpp | #include "imfixerinstaller.h"
ImFixerInstaller::ImFixerInstaller(QObject *parent) : QObject(parent)
{
}
void ImFixerInstaller::setupImEventFilter(QQuickItem *item)
{
static ImEventFixer ief;
item->installEventFilter(&ief);
}
| [
"dev.beidl@gmail.com"
] | dev.beidl@gmail.com |
77f347fc758b3180f695cf237d65f87907e1b523 | d1caf0c064786a878a292fe12bf457a1fb50df25 | /DomainPTU/smartsoft/src/DomainPTU/CommPTUGoalEventResult.cc | b4329094165630f3f791395885b7799e22975f78 | [
"BSD-3-Clause"
] | permissive | Servicerobotics-Ulm/DomainModelsRepositories | 8dc395bf62fe386564ba56d8b52f7e5ee90f8d5e | f4d83111d435510a79f69acb78f14a23d2af5539 | refs/heads/master | 2022-05-19T00:55:15.782791 | 2022-05-04T16:14:21 | 2022-05-04T16:14:21 | 122,947,911 | 0 | 8 | BSD-3-Clause | 2021-02-10T11:54:39 | 2018-02-26T09:44:24 | C++ | UTF-8 | C++ | false | false | 1,674 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"lotz@hs-ulm.de"
] | lotz@hs-ulm.de |
b870d1daa98f5b0b6ee576bc8311254ae15de5e3 | 87f0f5291a7de99907e767b035df34c0a383b92b | /src/qt/sendcoinsentry.cpp | 8f577e2b4df16b2541da0322565a642a6603b423 | [
"MIT"
] | permissive | relaycoin/RELAY | bf94e06d93efc4149b6532e4cc85b7ae81ccdb1c | 79e4e31d48afd6e0001d68b57341e37bdeafc389 | refs/heads/master | 2020-03-19T04:18:19.972923 | 2018-06-06T02:37:58 | 2018-06-06T02:37:58 | 135,417,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,457 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The DASH developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The RELAY developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://... | [
"relaycoindev@gmail.com"
] | relaycoindev@gmail.com |
4b93a233ba3cffa52aefab82556f01b21eb8a255 | d89333d3c1a63c9f7caf085d80b33fb3e7543a2f | /app/src/main/synthts_et/lib/etana/kchk30.cpp | 2a299ea83b312079df59fc270bb36446855fc8c9 | [] | no_license | Kaljurand/EKISpeak | b1c3f6f54c8e2318e21fc9ad34544e1c469e1c40 | 9bdb52b49a28311bbeebcd353539bb17f23cca00 | refs/heads/master | 2021-01-23T07:34:27.197992 | 2019-01-19T11:48:09 | 2019-01-19T14:00:39 | 33,014,685 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | cpp |
/*
* kontrollib, kas on pref + tyvi
*/
#include "mrf-mrf.h"
int MORF0::kchk30(
VARIANTIDE_AHEL **variandid,
FSXSTRING *S6na, int S6naPikkus,
VARIANTIDE_AHEL **sobivad_variandid,
char *paha_koht,
const int paha_koha_suurus)
{
register int i, max;
VARIANTIDE_AHEL *sobi... | [
"kaljurand@gmail.com"
] | kaljurand@gmail.com |
e472d7d68142cd7a1bd21629e73f4639cc38f4da | 1286c5b3d37b0785e99073c8234b44df47561f5a | /201510_201609/0320_chokudai001/A2.cpp | adb8bb01f6ba7f8eaed3b9466686c8eec0e16ab6 | [
"MIT"
] | permissive | kazunetakahashi/atcoder | 930cb5a0f4378914cc643de2f0596a5de7e4a417 | 16ce65829ccc180260b19316e276c2fcf6606c53 | refs/heads/master | 2022-02-15T19:12:10.224368 | 2022-01-29T06:38:42 | 2022-01-29T06:38:42 | 26,685,318 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,109 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <random>
using namespace std;
struct point {
int x, y;
point(int tx, int ty) {
x = tx;
y = ty;
}
bool operator==(const point& right) const {
return x == right.x && y == right.y;
}
};
struct pass {
vector<point> V;
int reduce... | [
"kazunetakahashi@gmail.com"
] | kazunetakahashi@gmail.com |
d20700c933da62e37f59e4eb9b7c1ce4fa08bd8e | 8df7ae2da1ef6b4f5b25589f744d60b673cb02bb | /nodemcuscaleTEST/nodemcuscaleTEST.ino | f0b7641c9df5d1763a0fc24af2a7397c7eae1f0b | [] | no_license | lucaslovato/arduinolucas | db3b0b59e618c35bdac8673c6be8794f2c467cac | 43b7df19092a20a846db2f82822282c13144868f | refs/heads/master | 2020-03-28T21:35:09.457791 | 2018-09-17T18:11:39 | 2018-09-17T18:11:39 | 149,167,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | ino | #include "HX711.h"
//avaliando o teste em que o celular moto z play pesa em média 165g
/*
* teste 1 :
* com o valor de 231.15 ele me devolve -98 em média, para o motoz play obs: parafusos continuam não muito presos
*/
#define HX711_DATA 14
#define HX711_CLK 12
HX711 scale(HX711_DATA, HX711_CLK, 128);
ADC... | [
"thiagobrez@gmail.com"
] | thiagobrez@gmail.com |
791d3d712c0ccb630cd10d812c2ee35b9e3f4e3b | 72ca3c783d4946c361c7adc1ee0e728a46337d5b | /configs/RscDisplaySetupServer.cpp | 075765b410bbcbfd44a1246c507a0bd3983788a4 | [] | no_license | pennyworth12345/ContactConfigCompare | bedad3c99a097509aa2fe676a07f6e3850b62aec | e871366e36c80ad339aaab512b87b69bfe323040 | refs/heads/master | 2020-07-03T17:49:12.394661 | 2019-08-12T19:15:33 | 2019-08-12T19:15:33 | 201,992,619 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,440 | cpp | class RscDisplaySetupServer: RscStandardDisplay
{
idd = 132;
onLoad = "[""onLoad"",_this,""RscDisplayHostSettings"",'GUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')";
onUnload = "[""onUnload"",_this,""RscDisplayHostSettings"",'GUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')";
scriptName = "R... | [
"pennyworth12345@gmail.com"
] | pennyworth12345@gmail.com |
8bda739822352f0e0c3f33b1beebfec00064bad3 | e9e8599822914b4ed33ce0ca1bf1b92391a27003 | /h~m~s2.cpp | 4588aaba5abd3890f5fb0eec159f1f7c96d8c6af | [] | no_license | Kinice/PlyThings | d049d9196767ad6db33dba92e2be9efb72536116 | 11343664e95367f9e7144c1a1645d351ce91ee25 | refs/heads/master | 2023-01-24T07:42:38.911824 | 2020-11-09T06:38:27 | 2020-11-09T06:38:27 | 46,183,415 | 3 | 1 | null | 2023-01-12T09:55:28 | 2015-11-14T17:03:19 | HTML | UTF-8 | C++ | false | false | 176 | cpp | #include<iostream>
using namespace std;
int main(){
int h;
int m;
int s;
int n;
cin>>n;
m = n/60;
h = m/60;
s = n%60;
m = m%60;
cout<<h<<":"<<m<<":"<<s;
return 0;
}
| [
"szp93@126.com"
] | szp93@126.com |
24bc29077ab92e8823089a0f66780a729b95e632 | cfdfb8b045feb9efc845dab5f7de6ce815b3246a | /Tank Wars-0.8.6/Classes/EnemyTank.h | 19a83163f9a17d38932c29df4dbe47701292b744 | [] | no_license | joyfish/TowerTD | 814e3063a97bfff1ba9f6d0fa6392886cc787727 | ba793ad00c10adf923dd28a813e44f6ca9956977 | refs/heads/master | 2021-01-14T09:10:29.032591 | 2014-10-17T03:24:11 | 2014-10-17T03:24:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 635 | h | #ifndef __ENEMYTANK_H
#define __ENEMYTANK_H
#include "cocos2d.h"
#include "BaseTank.h"
using namespace cocos2d;
class EnemyTank:public BaseTank{
protected:
Vec2 position;
//敌方坦克移动
virtual void Enemymove(float t);
//敌坦克的智能移动和开火
virtual void update(float t);
virtual void playMoveEffect();
void EnemyTestBounding(fl... | [
"liuthou@163.com"
] | liuthou@163.com |
7329b07edde309b439e6ce69533ce24611d5e2a9 | 1e60b40211af0106674bcef3e01a6d03d5546291 | /FB SDK/MotionController.h | 5d09d1e51ebc71038d2afa1f14451865e9df9035 | [] | no_license | Hattiwatti/BF3MinimapGenerator | f1def4c4568e21024cd8b60ed565e99dde702c46 | 4af8ac773e968486abdf9c14b5394b742e9060f8 | refs/heads/master | 2020-12-30T11:03:04.890244 | 2018-03-10T16:15:36 | 2018-03-10T16:15:36 | 98,843,979 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | h | #ifndef _MotionController_H
#define _MotionController_H
//#include "../Frostbite_classes.h"
namespace fb
{
class MotionControllerState
{
Vec2 axis; // this+0x0
bool digitalButtons[0xD]; // this+0x8
}; // fb::MotionControllerState
class MotionController
{
public... | [
"Hattiwatti@users.noreply.github.com"
] | Hattiwatti@users.noreply.github.com |
2bce87e1a517283637e8e4617689b26dc5df392e | 72e08c020541364f00f2f2e1858a41b1d3e25c56 | /10487.cpp | 31e20e8744a094f380763b910abb987ebfea931b | [] | no_license | shreyan-jaiswal/UVa-solutions | 51e8ab017723ae37c18823e4766b804ac7e2ca35 | 2263a4059045b3a93f7e598c5f18f25a973164ea | refs/heads/master | 2020-06-18T09:16:21.496199 | 2019-07-10T17:31:01 | 2019-07-10T17:31:01 | 196,248,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include <cstdio>
#include <cstdlib>
using namespace std;
int main(){
int n, A[1005], m, q, ans;
while(scanf("%d", &n), n){
for(int i = 0; i < n; i++) scanf("%d", &A[i]);
ans = A[0] + A[1];
scanf("%d", &m);
while(m--){
scanf("%d", &q);
for(int i = 0; i <... | [
"sjaiswa2@andrew.cmu.edu"
] | sjaiswa2@andrew.cmu.edu |
358b27a33f16e1f3b4eba67ff000c7ca8306446e | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/ui/xwin/settingui/src/settinguicallforwarddetaildelegate.h | ab5d69f0c37cdd87d1bcb0d7f539e36e576334e3 | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 1,554 | h | #ifndef __SETTINGUI_CALL_FORWARD_DETAIL_DELEGATE_H__
#define __SETTINGUI_CALL_FORWARD_DETAIL_DELEGATE_H__
#include "settinguiaccountbasedelegate.h"
class CSettingUICallForwardDetailDelegate : public CSettingUIAccountDelegateBase
{
public:
CSettingUICallForwardDetailDelegate();
virtual ~CSettingUICallForwardDe... | [
"rongxx@yealink.com"
] | rongxx@yealink.com |
cc12522ed642ac71600ce0e29972bc2669f197d1 | 48b10d676385abf278a7350d69d8e06b3c947c80 | /AudioApplication- deprecated/Source/MainComponent.h | 33da416c5b204c08bc8833e858626a28df991ce6 | [] | no_license | fjpolo/myNoiseToaster | 8e4bcf1a20581030ea6cebbff688df3f27bf841d | 18c91909db0e89ed601a1d4c5ae3ffab409db421 | refs/heads/main | 2023-09-02T07:00:58.175551 | 2021-10-08T19:01:34 | 2021-10-08T19:01:34 | 405,078,686 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,788 | h | #pragma once
#include <JuceHeader.h>
//==============================================================================
/**
*
*/
class WaveVisualiser : public juce::AudioVisualiserComponent
{
public:
WaveVisualiser() : AudioVisualiserComponent(2)
{
setBufferSize(1 << 7);
setSam... | [
"fjpolo@gmail.com"
] | fjpolo@gmail.com |
c89c77e02a7c022825a0fa97d386629ae7b49d69 | 79527ac7914b37d8cd6faebb0ffae0e700a98bb6 | /SlimDXc_Jun2010(VC++2008)/source/direct3d9/XFileEnumerationObject.h | f02a5df9710c6d75c791722a9f9ddd13ec94dd61 | [
"MIT"
] | permissive | hugetiny/DTXManiaXG-verK | 2f2cb7c5ba405b8252b7eef9365d9ae53b8b1a81 | b19611208d45c40bf3d48d7084e05faea920ee92 | refs/heads/master | 2022-10-11T13:55:45.313428 | 2016-08-18T13:15:50 | 2016-08-18T13:15:50 | 243,325,915 | 1 | 0 | null | 2020-02-27T21:25:02 | 2020-02-26T17:40:04 | C++ | UTF-8 | C++ | false | false | 1,652 | h | /*
* Copyright (c) 2007-2010 SlimDX Group
*
* 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, merge, publis... | [
"gennsou76573@gmail.com"
] | gennsou76573@gmail.com |
aed12fd37493043702ac6b0900b51dc4843030ea | 09403b9998277567edb91e237ef9a29e5265a279 | /src/withrottle/Server.hxx | 22f9bc366418ee770e28c5ca3c78968da7a2ced0 | [
"BSD-2-Clause"
] | permissive | bakerstu/openmrn | 9a07d3a72fad1d0447c1e59acfeeff61c9c76c5a | ca333ec4b35e1ffc1323aa62936db0bd043ef6df | refs/heads/master | 2023-08-31T12:11:46.046315 | 2023-08-31T00:53:31 | 2023-08-31T00:54:05 | 6,500,256 | 45 | 42 | BSD-2-Clause | 2023-09-10T10:39:52 | 2012-11-02T02:20:12 | C++ | UTF-8 | C++ | false | false | 5,924 | hxx | /** \copyright
* Copyright (c) 2016, Stuart W Baker
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
* modification, are strictly prohibited without written consent.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR I... | [
"stuart_w_baker@ymail.com"
] | stuart_w_baker@ymail.com |
a699a0109f1813feafd0e310a662e8c6f8981407 | f0b80d4b8453282dab4dac2187b44284f8295af7 | /acm/pkucampus/2011/A. Daka/a.cpp | 4b64b2095a4348cdf34983a469e4f25ba6c57630 | [] | no_license | caiwaifung/algo | c63a5d2ab4c5de78e791482badfc4873d5cb0018 | 07e5b2ab62d11061d582c76edafdd649861b940b | refs/heads/master | 2021-01-23T11:48:37.805450 | 2018-06-02T20:24:42 | 2018-06-02T20:24:42 | 35,368,287 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include <set>
using namespace std;
struct Record {
int h, m, s;
int Y, M, D;
void clear() {
h = m = s = 0;
Y = -1, M = D = 1;... | [
"gdfqw93@163.com"
] | gdfqw93@163.com |
7056ff34ab0558d1e144661cc42ba333ad779ea7 | a83695d962a73191e103c968efdab84af44af779 | /VisualToolServer/Server/Action/ActionBT.h | 90fd0ad5efaa31be948b30fb4147163da1d72bfd | [] | no_license | chenbk85/SSL | 7750a1844c59ea65a210e03a2da10bd412ceae10 | 50c2b3784d06b1b92a64d1a20434c345d05bf2f9 | refs/heads/master | 2020-04-01T20:05:59.460169 | 2016-04-08T12:26:00 | 2016-04-08T12:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | h | #pragma once
#include <../FrameWork/Core/Action.h>
namespace SSL
{
class ActionBT : public Action
{
public:
static const INT32 ID = EN_ACTION_TYPE::ACTION_BT;
public:
ActionBT(Entity* entity);
~ActionBT();
public:
EN_BEHAVIOR_STATE FindEnemy();
EN_BEHAVIOR_STATE AttackEnemy();
EN_BEHAVIOR_STATE Pat... | [
"musang33@nate.com"
] | musang33@nate.com |
63add9996b52f6421131e8fdfcb4b288dd652ee4 | de8eee85da47af00423c95d72834f9c7bb63aed7 | /source/common/mutex.h | 6dbd5baf86bc40840fbeb583e84f416839a655e1 | [] | no_license | ZooRey/lspf | 1dac0c238934e8ecc37831f8063011be342feeb1 | c644115a32372c12cf994d1d6a6f8c86be149f76 | refs/heads/master | 2021-01-19T15:46:32.173933 | 2018-01-03T02:15:54 | 2018-01-03T02:15:54 | 88,228,338 | 0 | 1 | null | 2017-04-20T13:00:27 | 2017-04-14T03:15:18 | C++ | UTF-8 | C++ | false | false | 2,328 | h | #ifndef __MUTEX_H__
#define __MUTEX_H__
#include <pthread.h>
class TMutex
{
public:
TMutex()
{
pthread_mutex_init(&m_mutex, NULL);
}
~TMutex()
{
pthread_mutex_destroy(&m_mutex);
}
void Lock()
{
pthread_mutex_lock(&m_mutex);
}
void UnLock()
{
... | [
"lizuorui@126.com"
] | lizuorui@126.com |
223c4bb868376f11c5e9f3b638d685f9aa8e0a71 | bd63d4134a77cb5f54f6f86e5ed570a1618111f6 | /code/call_by_value_ref.cpp | bc96a83e7b0218b498f4d9125ac570f7e00a1746 | [
"MIT"
] | permissive | spiritsher/c_practice | 2c36228bb4aff63527c5aed72bed7a05f24cb0a8 | 472acff2b90f685bbf2d7102bfc5a987d9b72b2a | refs/heads/main | 2023-05-14T09:54:59.232527 | 2021-05-18T20:12:32 | 2021-05-18T20:12:32 | 359,743,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include <stdio.h>
void foobar(int &n)
{
n = n + 1;
return;
}
int main()
{
int k = 6;
foobar(k);
// printf("foobar(k) = %d, k = %d\n", foobar(k), k);
printf("k = %d\n", k);
return 0;
}
| [
"jiawei.she@etas.com"
] | jiawei.she@etas.com |
4caeb393dd8c98166c5562644ac9ec9570adcec0 | 3295cbe39c186cea255a5f145b13981bdbbc1e80 | /Distributed_Computing/ps6/include/pagerank.hpp | 811bf3c2bf19b76233dc22cd5458ffd126392daf | [] | no_license | ConnorSch/HighPerformanceComputing | 6d640c0dbe1d00088fffffe1cfeda4fe2f60a1ce | ebe2e6946283b6aea8dd8bb2c17ba513626e77e3 | refs/heads/main | 2023-06-25T05:54:20.762887 | 2021-07-27T22:19:15 | 2021-07-27T22:19:15 | 389,725,656 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | hpp | //
// This file is part of the course materials for AMATH483/583 at the University of Washington,
// Spring 2020
//
// Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
// https://creativecommons.org/licenses/by-nc-sa/4.0/
//
// Author: Andrew Lumsdaine
//
#ifndef AMATH583_... | [
"schlec2@uw.edu"
] | schlec2@uw.edu |
a4ea6d938a28cd22becd6aae3623c257eec3e68a | 98a009c5df6c9e0f12e296859b6b2358b7246d07 | /Lab3-OOP-Teme/problem5.cpp | ec346ae72fff40932bad8b857b6cacc06a457fbb | [] | no_license | Werstef/Lab-OOP | dd21d27cb14656ee55d600de76bb71398781b0d7 | 99ac04725f1bd942f816b873dd78085c0a46d83b | refs/heads/master | 2020-04-05T18:11:29.399679 | 2019-01-12T12:33:06 | 2019-01-12T12:33:06 | 157,091,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | cpp | #include <iostream>
#include <string>
using namespace std;
class Course {
protected:
string name_course;
string name_profesor;
public:
void setNameCourse(string name_course){
this->name_course = name_course;
}
string getNameCourse(){
return this->name_course;
}
void setNameProf(s... | [
"32906385+Werstef@users.noreply.github.com"
] | 32906385+Werstef@users.noreply.github.com |
209a079c3f1147935a968c138a7ede693ca632d3 | c5452d754e234fe6fe39d26b29650c50901f3785 | /BruteUEGen/stdafx.h | b8073c8dcde3ee4ab8de95807e67ef8ee00199ac | [] | no_license | jesterret/BruteUEGen | 679a04e136e34cab1690b7ffe6a25472e87ec661 | c7fddf0cb1a0d1676b96a8fe78dd862998ca4d27 | refs/heads/master | 2022-08-11T23:06:21.448660 | 2017-06-08T18:09:04 | 2017-06-08T18:09:04 | 93,778,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <SDKDDKVer.h>
#include <windows.h>
#include <Pathcch.h>
#include <Psapi.h>
#include <functional>
#include <al... | [
"jesterret@gmail.com"
] | jesterret@gmail.com |
8b426091e18abebe82ef4ebf1b218417c8ea4283 | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MKV11Z7/include/arch/reg/ewm.hpp | d7e43dbeddba16b873359f087d6c083a45b71d70 | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,699 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
c2ede48072a752e6f71bb574ea3238c58dd72a41 | 0e318ac241a71b228ef0a5d20431d8212611dc53 | /serverUserAuthentication.h | db6383f0024d30c706dee0e2ec992ae9142da751 | [] | no_license | jsandez/ftp-honeypot | fb27d79b5abff67c55c58c2c6e9f0af7791a3f79 | df9cce5d3aab5b4cd55d8c4ae20a996af880ecdb | refs/heads/master | 2022-08-23T04:29:08.959727 | 2019-10-15T05:07:31 | 2019-10-15T05:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | #ifndef _USERAUTHENTICATION_H_
#define _USERAUTHENTICATION_H_
#include <string>
/*
* Clase que funciona como autenticador
* del usuario, tambien guarada el user_name
* en caso de ser necesario para realizar
* la autenticacion. Tiene un enum con
* los estados del usuario dependiendo el momento
*/
enum UserState {... | [
"sandez.jorge@gmail.com"
] | sandez.jorge@gmail.com |
bd69530954ee73b84b74e9629d68d1db7e09cd8c | af3772fedc1bfe4605de64b11522cb5c8b2b2351 | /src/example/ServiceD.cpp | e950e8f7777a1eaf7772f1add5ac354de337b791 | [
"Apache-2.0"
] | permissive | jamesjharper/Lok8er | 5343d8216b636a0df2eff887ab10bdf436f30b9b | df3ae81b53cdee7f9796562d99e22ed2f8ba11e8 | refs/heads/master | 2020-07-30T13:14:31.848987 | 2016-11-15T03:05:58 | 2016-11-15T03:05:58 | 73,629,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | #include "stdafx.h"
#include "ServiceD.h"
ServiceD::ServiceD(INJECTED_COMPONENT<ServiceC> serviceC) :
_serviceC(serviceC)
{
}
| [
"James.Harper@voicepoint.ch"
] | James.Harper@voicepoint.ch |
9d1ce6c5a58a6d7e6e21c5ae243f7232fb04472b | 998d6de509eb008a46a591e58e31773a5cf44ee6 | /Lecture-13/ElephantWays.cpp | e75bba42ddd7911b0f3eaa6d759ede9e4b701cc5 | [] | no_license | abhijeetgu/LPMNOIDA11JUNE | 92a514d964ae9cd9efa2b32cfd1576669c947583 | 42ddd9497f12580416d63c6240687946c22c32aa | refs/heads/master | 2020-06-21T08:29:56.582265 | 2019-07-16T05:23:19 | 2019-07-16T05:23:19 | 197,395,220 | 1 | 0 | null | 2019-07-17T13:28:46 | 2019-07-17T13:28:46 | null | UTF-8 | C++ | false | false | 418 | cpp | // ElephantWays
#include <iostream>
using namespace std;
int ElephantWays(int i,int j){
// Base case
if(i==0 && j==0){
return 1;
}
// Recursive case
int ans=0;
// Add all the previous rows and cols
for(int k=0;k<=i-1;k++){
ans += ElephantWays(k,j);
}
for(int k=0;k<=j-1;k++){
ans += ElephantWays(i,k);
}... | [
"kartik.mathur10@gmail.com"
] | kartik.mathur10@gmail.com |
890f5ed19d51a661cee21831ea5272129da4c80a | 8c9568133d07c324a4e464efe362c240d9000388 | /Populating Next Right Pointers in Each Node.cpp | 4c047f4d4612939888e00ddce68826a1a925d94a | [] | no_license | Vikalp19041999/LeetCode-solutions | bc3f443243ca19d389b92331dfc83d5304282bc7 | fc07ea77e929ca35c68312e36c9543705cdad002 | refs/heads/main | 2023-08-15T13:58:18.829183 | 2021-09-20T15:56:51 | 2021-09-20T15:56:51 | 371,249,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | /*
// Definition for a Node.
class Node {
public:
int val;
Node* left;
Node* right;
Node* next;
Node() : val(0), left(NULL), right(NULL), next(NULL) {}
Node(int _val) : val(_val), left(NULL), right(NULL), next(NULL) {}
Node(int _val, Node* _left, Node* _right, Node* _next)
: val(_... | [
"vicks548@gmail.com"
] | vicks548@gmail.com |
f133f8a6601f00632e45f4772d8abae5c03c9c89 | 65231fa1c6bc6d43e3b547109ca0f1fb6c2c62df | /lis.cpp | c7f5c0a8df2025faf140ab5169e3197a5230f42d | [] | no_license | hahavvv/AlgoStudy | 9e30015246bd4db08d75eaa358b6362fcfe708b8 | 8ea59b035ec58420fa1a0e912b869d540f522f9a | refs/heads/master | 2021-05-14T04:14:23.569886 | 2018-01-21T07:39:37 | 2018-01-21T07:39:37 | 116,638,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include <iostream>
#include <string.h>
#include <algorithm>
using namespace std;
int C, n;
int arr[500];
int cache[501];
int lis(int start) {
int& ret = cache[start + 1];
if (ret != -1) return ret;
ret = 1;
for (int i = start + 1; i < n; i++) {
if (start == -1 || arr[start] < arr[i]) {
ret = max(ret, lis(i) +... | [
"dltmddyd922@naver.com"
] | dltmddyd922@naver.com |
b833103de94b489e15d165aab388e0308ce892d5 | 54590b39d4710d32bc129e0e9bf59fd5f56ac32d | /SDK/SoT_EmissarySecuredLootOnShip_AF_PromptAccessKey_parameters.hpp | 3c3dd58fd80564f40af066b5b9509186e72b7fd5 | [] | no_license | DDan1l232/SoT-SDK | bb3bb85fa813963655288d6fa2747d316ce57af8 | cda078f3b8bca304759f05cc71ca55d31878e8e5 | refs/heads/master | 2023-03-17T13:16:11.076040 | 2020-09-09T15:19:09 | 2020-09-09T15:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | hpp | #pragma once
// Sea of Thieves (2.0.17) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_EmissarySecuredLootOnShip_AF_PromptAccessKey_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------------------... | [
"saerko19@gmail.com"
] | saerko19@gmail.com |
f62fee2f5835f127afff1403a18546deae661a34 | a6d5b9bf448ce7710e839a8a69ead594a51a8cc3 | /src/filters/parser/mp4splitter/AP4/Source/Core/Ap4RtpHint.cpp | e5545618cd419d142aa951c1bbd6ea908aa898c1 | [] | no_license | leejiarong/DShowFilters2 | 04d10479c5c29cf1859cedba2745e58af6fada60 | 1643166e6b4cd628539de2cb06a342b9332fc7ba | refs/heads/master | 2021-03-12T20:37:16.437388 | 2015-03-24T09:41:26 | 2015-03-24T09:41:26 | 32,787,487 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,240 | cpp | /*****************************************************************
|
| AP4 - RTP Hint Objects
|
| Copyright 2002-2005 Gilles Boccon-Gibod & Julien Boeuf
|
|
| This file is part of Bento4/AP4 (MP4 Atom Processing Library).
|
| Unless you have obtained Bento4 under a difference license,
| this version of B... | [
"leejiarong@gmail.com"
] | leejiarong@gmail.com |
691ec39e7fd029002f303761510e7c1388f6e202 | 7b6e927d42ad155d8b827c345c2b2dffa7bd003b | /library/view/widget/widget.cpp | 344f2554f62ab6b10a7eb821ad500bb078cb3524 | [] | no_license | wang70937/x-framework | d6b06a2910728bdfc219c9d1d166a71ce2c8233c | ccd772cfc28e724382800a30101e1f8c0e6bcde8 | refs/heads/master | 2021-01-24T09:18:01.883650 | 2016-09-29T01:47:20 | 2016-09-29T01:47:20 | 69,445,984 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 41,138 | cpp |
#include "widget.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/utf_string_conversions.h"
#include "ui_base/compositor/compositor.h"
#include "ui_base/compositor/layer.h"
#include "ui_base/l10n/l10n_font_util.h"
#include "ui_base/resource/resource_bundle.h"
#include "default_theme_provid... | [
"wang70937@163.com"
] | wang70937@163.com |
0a9c6d611c821888726a8e9889775dd752ef8af3 | fbd8c56e8e449f7ac80b5156e80c15c14cb34b12 | /Uva/Uva_AC/725 - Division.cpp | 02f1e3373f57c27f0880e77218e9cd9430633555 | [
"MIT"
] | permissive | Saikat-S/acm-problems-solutions | 558374a534f4f4aa2bf3bea889c1d5c5a536cf59 | 921c0f3e508e1ee8cd14be867587952d5f67bbb9 | refs/heads/master | 2021-08-03T02:27:21.019914 | 2021-07-27T06:18:28 | 2021-07-27T06:18:28 | 132,938,151 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,690 | cpp | /***************************************************
* Problem Name : 725 - Division.cpp
* Problem Link : https://uva.onlinejudge.org/external/7/725.pdf
* OJ : Uva
* Verdict : AC
* Date : 2018-07-16
* Problem Type : AdHoc
* Author Name : Saikat Sharma
* University : CSE, MBSTU
*******... | [
"saikatsharma4@gmail.com"
] | saikatsharma4@gmail.com |
6ac50477b69dd52a480878309be0173eb328de09 | 387549ab27d89668e656771a19c09637612d57ed | /DRGLib UE project/Source/FSD/Public/DownCameraTargetChangedDelegate.h | f809f67d81a29bb25178dc7495353a75d2592b14 | [
"MIT"
] | permissive | SamsDRGMods/DRGLib | 3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a | 76f17bc76dd376f0d0aa09400ac8cb4daad34ade | refs/heads/main | 2023-07-03T10:37:47.196444 | 2023-04-07T23:18:54 | 2023-04-07T23:18:54 | 383,509,787 | 16 | 5 | MIT | 2023-04-07T23:18:55 | 2021-07-06T15:08:14 | C++ | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "CoreMinimal.h"
#include "DownCameraTargetChangedDelegate.generated.h"
class APlayerCharacter;
UDELEGATE(BlueprintCallable) DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FDownCameraTargetChanged, APlayerCharacter*, Target);
| [
"samamstar@gmail.com"
] | samamstar@gmail.com |
df85f83ed1aa71efa12262f0834b385f1bc7d20a | f51bf903c5461085e3a6fc931a8e333df3e10a2d | /services/ui/ws/test_utils.cc | 7248aa8789bc5a0693f63bf9e902f1e2386a71bc | [
"BSD-3-Clause"
] | permissive | honwsn/lgsvl-chromium-src | 2c95c48d647196e14a3e642fd22b9e03c91c5d09 | 9b267445180d7d61b94775d3cb4ca283006ec114 | refs/heads/master | 2023-03-17T11:12:43.545550 | 2017-10-24T01:58:06 | 2017-10-24T01:58:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,434 | cc | // Copyright 2016 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 "services/ui/ws/test_utils.h"
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/strings/string_number_conversions.h"
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d48935d0e86e2631e3e15f1505bbc3892e3d31dd | 961a933921a24c6c51aa68f392cc7e94119a28eb | /FRAMEWURK/Source/ModelHandler.cpp | 1f750f20ebf61399dedb8836a645d56cd41c6457 | [] | no_license | Amat5/Zoomed | d62a5c5195272548da560653e628215c599799c0 | f2904f52b57d10a1be48ea706fb0e673238d6ee0 | refs/heads/master | 2021-01-15T16:37:40.904265 | 2015-08-27T12:05:19 | 2015-08-27T12:05:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,395 | cpp | #include "ModelHandler.h"
#include "MyMath.h"
ModelHandler::ModelHandler()
{
std::cout << "Model Handler Initialized" << std::endl;
}
ModelHandler::~ModelHandler(void)
{
for(unsigned int i = 0; i < m_worldList.size(); ++i)
{
delete m_worldList[i];
}
m_worldList.clear();
for(unsigned int i = 0; i < m_objectLi... | [
"crwengyew@gmail.com"
] | crwengyew@gmail.com |
5f061dbb69a1a268255336513058730b52a9fb19 | abe2c978f240a5508f6ec842c9e7a6ab50d4f205 | /libs/corelib/basefilewizardfactory.cpp | 242a7f4d64d39656eaa2e0a1f455d518d34f94d9 | [] | no_license | kai66673/QWorkNew | 48cdb76edafc36468a9b89a1509db8511f890a42 | de485ae2fff0fa2d0c5274a5c51712896d98c311 | refs/heads/master | 2021-08-26T00:33:25.273835 | 2021-08-25T18:13:13 | 2021-08-25T18:13:13 | 98,813,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,991 | cpp | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may us... | [
"kudryavtsev@teleformis.ru"
] | kudryavtsev@teleformis.ru |
0fb8ef48bb283059be5830fd984c4336d4a33c39 | ac2274b0a9bdddc2e786c0cbede3262b3b45a8ae | /cetsckeepalive.hpp | 537a33a4204913aa2fdcaffeea9e9514fce11557 | [] | no_license | hjgode/ceTSC | f2583f348fab833b44e355d09a206caaffee63fe | 3823921a3b7e03e039ff712b4ecf2c3eede06ca4 | refs/heads/master | 2021-01-18T18:41:50.515797 | 2016-06-27T07:55:24 | 2016-06-27T07:55:24 | 61,810,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | hpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this samp... | [
"hjgode@gmail.com"
] | hjgode@gmail.com |
c36cb8b87f804c030f0acb393d4227129e61f6f9 | ba0036f0dd78a92ac07f2b05fddbd2b352908202 | /Ch02-Linked-Lists/2-4_j-partition1_unstable.cpp | 8b6d47855726d0473eb26937e29b181f464c60b5 | [] | no_license | jerrychen44/cci_algorithm_fundamentals_cpp | 50e9eaeccfa531ac69d50aeb5f0005d831a6a8b3 | 74a98faa2b37e6cf0e5de11a85be6ebb5e67c8aa | refs/heads/master | 2020-03-26T20:12:57.745786 | 2018-11-14T03:19:08 | 2018-11-14T03:19:08 | 145,311,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | /**
* Cracking the coding interview edition 6
* Problem 2.4 Partition:
* Write code to partition linked list around a value x, such that
* nodes less than x come before all the nodes greater than or equal to x.
* If x is in the list, the values of x only need to be after the elements less
* than x.
* Exam... | [
"jerrychen040@gmail.com"
] | jerrychen040@gmail.com |
9477acafcfd8178189d69b5fc5b6cf8d86f89e03 | 8d991e979b3eb1051998ea7dd6195011c506c0fc | /HackerRank/sears-dots-arrows/Sublist_Riddle.cpp | 26db0dd0f756d76cfd104d64cdc66b17b1bb694e | [] | no_license | caogtaa/OJCategory | b33ccdfb6534f6856ab7b5668c9433c144d9f905 | cfedef5c64c48dd2b7245b1ff795af9312e7707e | refs/heads/master | 2020-09-21T13:06:25.028801 | 2020-02-05T09:05:18 | 2020-02-05T09:05:18 | 224,797,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string.h>
using namespace std;
// DP, 先将所有输入统计,放入数组A
// F[pos][ab][bc][ca] 表示从A数组pos位置开始往后摆放,当前3个集合的相交状态分别是ab,bc,ca,所能够得到的不同triple数量
// 初始条件是F[0][false][false][false]
// 题目要求A, B, C 3个集合两两相交,但是要求3个集合没有共同数字
// 所以对于一... | [
"caogtaa@gmail.com"
] | caogtaa@gmail.com |
187ba7484163b86da07e23090d5d5093b303f3ff | 6b07928483db8b9de4b3499af426b5f06228a300 | /Tower/Source.cpp | 4151f2bfcc12dd386ff6a890106d3b8bb59a9868 | [] | no_license | HristoHristov95/Interesting_C-_Projects | 83c9006bdf1755c3fbd29fdb068e626db667711b | 297abecbbf8551721207e2563e82e80e37311631 | refs/heads/master | 2020-12-24T20:24:48.605443 | 2017-03-26T18:51:27 | 2017-03-26T18:51:27 | 86,249,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | #include<iostream>
#include<vector>
#include<string>
using namespace std;
class tower {
public:
std::vector<std::string> towerBuilder(int nFloors)
{
std::vector<char> a;
std::vector<std::string> b;
long long current = 1;
long long begin = 1;
char symbol = '*';
for (long long i = 0; i < nFloors; i++) {
... | [
"hristo_ultimeted@yahoo.com"
] | hristo_ultimeted@yahoo.com |
be214eede51a41aa060476e9a5df906fa15c0d70 | 5bc9095b81b31df526ab74968f0c90aa328517b5 | /05-Array/C-04-Reverse an array.cpp | bfaf5b795a871daf4b7dc10f405b8a72236aa7a6 | [] | no_license | MIRRORPIE/Geeksforgeeks-DSA | a86249916a6b295f9f823f4583945dbf8d87ff10 | fe3178f7a132e3982ad6572e775b11889aebb106 | refs/heads/main | 2023-01-06T07:44:50.941218 | 2020-11-06T19:26:33 | 2020-11-06T19:26:33 | 303,091,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | #include <iostream>
#include <cmath>
using namespace std;
void reverse(int arr[], int n)
{
int low = 0, high = n - 1;
while(low < high)
{
int temp = arr[low];
arr[low] = arr[high];
arr[high] = temp;
low++;
high--;
}
}
int main()
{
int arr[] = {10, 5, 7, 30}, n = 4;
cout<<"Before Reverse"<<endl;
... | [
"raushankumar1047@pec.edu"
] | raushankumar1047@pec.edu |
97dd16366b6d2e07a3fb18f36eef16ebace81604 | f153b04464e0bbe7c2db57f7b6c2d64d87f8953b | /designpattern/ChainOfResponsibility.cpp | fd6e4507c3c7053f9dbc56594e8d5ac18076f114 | [] | no_license | alvas/ms_interview_100 | 82f4f7222db775c68b035dc616d812c63f3127a7 | 8587116a3c4227f71783e7dac42517b6561d17b0 | refs/heads/master | 2022-03-18T10:48:46.834899 | 2022-02-24T04:10:05 | 2022-02-24T04:10:05 | 16,854,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,302 | cpp | #include <iostream>
#include <vector>
using namespace std;
#ifdef COMPONENT
class Component {
int value;
Component* next;
public:
Component(int v, Component* n) {
value = v;
next = n;
}
void setNext(Component* n) {
next = n;
}
virtual void traverse() {
... | [
"qingyun.oracle@gmail.com"
] | qingyun.oracle@gmail.com |
0d8b3dd17f404d102009129a380d1da272f82422 | 5f77516a28c03021bca3886cb193136ccce870ff | /arrays/two_d.cpp | 86408942795790b51ae5965b423421db95a94ceb | [] | no_license | thelastsupreme/interviewbit | 75fc488e3d0a3cdf4471bc35ef2e6c06ba595e0f | c39162e6f6e51d718b9f9b6832bbbd52adf61b9d | refs/heads/master | 2022-12-01T02:17:51.147924 | 2020-08-13T03:59:16 | 2020-08-13T03:59:16 | 264,120,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | #include<iostream>
#include<vector>
using namespace std;
vector<vector<int> > performOps(vector<vector<int> > &A) {
vector<vector<int> > B;
B.resize(A.size());
for (int i = 0; i < A.size(); i++) {
B[i].resize(A[i].size());
for (int j = 0; j < A[i].size(); j++) {
B[i][A[i].size()... | [
"39990949+thelastsupreme@users.noreply.github.com"
] | 39990949+thelastsupreme@users.noreply.github.com |
dfbc548a0672479e192218bd314d884823593c30 | 185b00fc2b448497991418a5214b49445afe18e7 | /SDK/PUBG_KillCountWidget_classes.hpp | 484a504367ac831d406dedda9eb812b3cf61462b | [] | no_license | cpkt9762/PPLAY_SDK | f562e3391df2a46abca33d202884705fdd03a1f8 | 30bf1a7fadab2ed07635e55c9c9749720cd79528 | refs/heads/master | 2021-04-28T10:19:19.392994 | 2018-02-19T07:20:44 | 2018-02-19T07:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,314 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (2.6.23) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGener... | [
"915188949@qq.com"
] | 915188949@qq.com |
889f35d36415091232745152f818173c4e955290 | 130d56db5e4e552922bdd4de887dda1d1d3827a7 | /Exploited Firmware/px4_sitl/src/lib/flight_tasks/FlightTasks_generated.cpp | 0e74f7b63bd00b3392b6369841c27ec8e1c2c9ac | [] | no_license | plushpluto/PX4-Malicious | 2028d6615ea0da2d6ebfd28c41821b3649736778 | 3db4ce3ecbfe6821043bb1dce6f651c4e606deb5 | refs/heads/master | 2023-07-01T10:20:01.551327 | 2021-08-15T13:19:16 | 2021-08-15T13:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,259 | cpp | /****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. 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. Redistri... | [
"korkeep@naver.com"
] | korkeep@naver.com |
f420f2569ef307f5e5786f409dc1c19882cea23a | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /unittests/Target/AMDGPU/DwarfRegMappings.cpp | 802ea83dcbe3421ddca92ce1c6a72f87884fe3fd | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 3,159 | cpp | //===- llvm/unittests/Target/AMDGPU/DwarfRegMappings.cpp ------------------===//
//
// 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
//
//===---------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
8ad55896d04a1bbe771a52d139cc382e8667564f | 6f843d080f73fe167c41702a974434193bfc253d | /Algorithms/Implementation/Circular Array Rotation.cpp | 6aa900944f1d3d8fb5e5494ae1226747c910e3ff | [] | no_license | radiumsharma06/Hackerrank-Solutions | 10991a79c7d2a768678e45a0d5203275baababd2 | 9e1d9c1254c607922db0416911fa8c6a9bc53b08 | refs/heads/master | 2020-04-05T13:01:43.885853 | 2017-07-30T10:44:33 | 2017-07-30T10:44:33 | 95,028,864 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n,k,q;
cin>>n>>k>>q;
int a[n],x[n],b[q];
for(int i=0;i<n;i++)cin>>a[i];
for(int i=0;i<q;i++)cin>>b[i];
k%=n;
for(int i=0;i<n;i++){
if(i+k<=n-1)x[i+k]=... | [
"radium.sharma06@gmail.com"
] | radium.sharma06@gmail.com |
8e6e111d8f5a593608e8f79bee3e1db1cd9b7cdb | b85062eadba845bd0e607f92f3d6f58707c3030c | /src/swish/tcp.cpp | 2a8ca2dc37178bf97835169022268cc6f23016be | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | guenchi/swish-win | a0bc94a0121bc3c69fe2ac79d312b7c953040f68 | bab98dfa757dfd851d8cf5176fb3e88115f311f4 | refs/heads/master | 2020-06-04T17:45:00.654922 | 2018-04-02T18:40:46 | 2018-04-02T18:40:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,072 | cpp | // Copyright 2017 Beckman Coulter, Inc.
//
// 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, merge, p... | [
"rgburger@beckman.com"
] | rgburger@beckman.com |
7b6ac2266d0a4043053cfe50588836fb5a7dcaff | b95456c9e3f0e9d3c2dc9c6e49191ec2b24290d3 | /p2p_punch_client/client.cpp | 50d22d7e9fcdc3ff4edcbcab3a1a5055f038e4ce | [] | no_license | wuli133144/tar_thread_pool_test | 62ee22d29ffb8fa17742e1337bbc48ed35b5e366 | 9196d5759eb314acda09bc18f811b48313abec26 | refs/heads/master | 2020-03-18T05:43:24.329166 | 2018-05-25T08:27:10 | 2018-05-25T08:27:10 | 134,358,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include "tc_shared_ptr.h"
#include "tc_enable_shared_from_this.h"
#include "tc_clientsocket.h"
#include"tc_thread.h"
#include "tc_thread_mutex.h"
#include "tc_thread_cond.h"
#include "tc_thread_pool.h"
#include "tc_http.h... | [
"1683358846@qq.com"
] | 1683358846@qq.com |
120bf881f2e2ccf991626f754d2175b937deb6b6 | bcc38d1da7290908bc2dae3ad772a8b7c014d209 | /Xlet.Wallet/src/UI/MainMenu.cpp | f5b0fad0f79a32719196533acb5cd39194ef1193 | [
"MIT"
] | permissive | dinarpay/xlet | 9bad49180bb8fb41ef7d22493b81b19ac657721a | e0f64f231e627d0cc52f3c032e66f59a63b2942f | refs/heads/master | 2022-11-09T20:46:16.598664 | 2020-06-28T21:08:35 | 2020-06-28T21:08:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | cpp | #include "UI/MainMenu.h"
#include "Constants.h"
#include "Display/IDisplay.h"
#include "UI/Colors.h"
using namespace Xlet::Icons;
MainMenu::MainMenu()
: m_selected(0), m_redraw(true), m_fullRedraw(true), m_showQR(false)
{
m_options = std::list<MenuOption>{
MenuOption{
"Pay", std::make_shared<Mon... | [
"m.j.pearce@gmail.com"
] | m.j.pearce@gmail.com |
9a6c8d094a0971f4b223d0c830346779f5f73085 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/0.63/p_rgh | e1e2fc24d99d1a1ef43ebd5a20ce65e7add4b9aa | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,020 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
90770a2b66e11fee8381a8e2a3889c66882affe7 | 3583d47b68fbb5ce433b1599e64edb2a945d0cfc | /LeetCode/trappingRainWater.cpp | 542e9484670ae40f67479fa6f5942e48a5c406d8 | [] | no_license | himanshu-rawat/Cplusplus | d6605e988637622d092df9b4b77a1cf54884434c | cc286ecc63552bddd0182f68db53e7a5e69f2e6c | refs/heads/master | 2020-05-31T06:02:26.155276 | 2019-10-10T04:54:34 | 2019-10-10T04:54:34 | 190,131,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <iostream>
using namespace std;
int main()
{
int testCase;
cin >> testCase;
while (testCase--)
{
int n;
cin >> n;
int arr[100000];
int left[100000];
int right[100000];
for (int i = 0; i < n; i++)
{
cin >> arr[i];
}
... | [
"himanshurawatrit@gmail.com"
] | himanshurawatrit@gmail.com |
de8ed0b942bd352dedda9e58c5159a896f504c4e | 8eb9c2b4ca07d103c3b09d25445932e7abdf2afd | /Udemy/range_Based_loops/src/range_Based_loops.cpp | 7e3c8460b634a8e2c1f3cab0c3cd25f53c8479ca | [] | no_license | manojk16/Practise | 468622dbe79d681e1bd85ff3d7184b1525a0b7ef | d0f826983d9dc82efb0ca3be6edbbaca6a9858a3 | refs/heads/master | 2020-03-12T02:28:54.895747 | 2018-07-23T09:44:58 | 2018-07-23T09:44:58 | 130,403,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | //============================================================================
// Name : range_Based_loops.cpp
// Author : Manoj
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//=========================================================================... | [
"manoj.kumar@kaiostech.com"
] | manoj.kumar@kaiostech.com |
40524a85cd96fb66c9be9ecd5df1e8ca1af56d1c | 2d67c9ac5ca190fffc573cf20a17c5064e4e4b69 | /GLlib/HCoreOpenGL.cpp | d035d0e7b632ddc96beffca017ef165d415ef09c | [] | no_license | guodongSong/HomeWork_Guodong | 3a98d9f6d19a69644f4228aedd4721a575adf13b | 07973a20317c5e8640c8e5cc41c7e2c83ef7db3c | refs/heads/master | 2016-09-06T05:18:52.241394 | 2014-05-28T12:51:58 | 2014-05-28T12:51:58 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,820 | cpp | #include <windows.h>
#include <stdio.h>
#include "glew.h"
#include "wglew.h"
#include <GL/gl.h>
#include "HCore.h"
#include "HCoreWin32.h"
#include "HCoreOpenGL.h"
#include "HCoreFileUtility.h"
static HDC g_hDC = NULL;
static HGLRC g_hGLRC = NULL;
void APIENTRY _my_glProgramLocalParameters4fvEXT(GLenum target, GLui... | [
"sgdgoodboygm@gmail.com"
] | sgdgoodboygm@gmail.com |
44f5b1976a402bb85102c72185eecf30446e6f16 | 0dde63ce6e836819101adb814ef63c0a493fca26 | /Honours/Source/Shaders/terrain_shader.cpp | 21fa742c4d2a6d4e87d474f27161625173e570b3 | [] | no_license | jcrm/Honours | b95c5261f32284402fab0886c86127abfc9a1955 | debe6000e05a8575def50a40ef328738a1bf9c48 | refs/heads/master | 2020-04-07T07:43:51.632023 | 2014-05-14T21:10:05 | 2014-05-14T21:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,953 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Filename: terrainshaderclass.cpp
////////////////////////////////////////////////////////////////////////////////
#include "terrain_shader.h"
TerrainShaderClass::TerrainShaderClass(): light_buffer_(0)
{
}
TerrainShaderClass::TerrainShad... | [
"ctm5010"
] | ctm5010 |
46c4a50cda8b9534abf57ee4d2aac24e4f74f376 | 97e9da7c0aa95c18b31e2f9ce27243dcec827ba0 | /u1274834-FinalProject/MonsterChase/AwesomeEngine/Math/Vector3.cpp | baaa1c3788766300f6fc02cdf4d4b8f4047ee28d | [] | no_license | Arindampani/GameEngine | 632b799e83049cf00e9e9184b28ad2723624ca9a | a6b00da28e5c269e06e86e9b4732f466126ee506 | refs/heads/master | 2022-12-22T04:44:53.364241 | 2020-09-25T17:44:43 | 2020-09-25T17:44:43 | 298,638,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include "Vector3.h"
namespace Engine {
const Vector3 Vector3::Zero(0.0f, 0.0f, 0.0f);
Vector3 Vector3::Normalized() const
{
float length = static_cast<float>(sqrt((m_x * m_x) + (m_y * m_y) + (m_z * m_z)));
if (IsZero(length))
return Zero;
else
{
float inv_length = 1.0f / length;
return *this * ... | [
"arindampani@gmail.com"
] | arindampani@gmail.com |
d5a2a455323bf9f6c4cb26bdc696fe60419c1e4b | 50b3a207e0c5ec2f29b92a1d67d1a2883d352bb6 | /personal-financial-management-system/GeneratedFiles/Release/moc_SettingDialog.cpp | 22abbb7126a1349e7e65def93938011a34262a58 | [] | no_license | songquanpeng/recoder-example | c13cbca820a52548d9bd19aa5b1c1862173ecd85 | c2431cd33f316e1345d96b573858ed1c56ddef23 | refs/heads/master | 2022-12-25T23:08:44.908365 | 2019-04-14T04:54:05 | 2019-04-14T04:54:05 | 181,256,754 | 0 | 0 | null | 2020-10-02T02:32:08 | 2019-04-14T03:41:03 | C++ | UTF-8 | C++ | false | false | 3,642 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'SettingDialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | [
"quanpengsong@gmail.com"
] | quanpengsong@gmail.com |
86c97e8f0c35be4a8a4108788914b98294fc3b67 | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/md4/md4.cpp | 94ac6adf58b106de8609fbe012f447e79aa1a2ea | [
"LGPL-2.1-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 6,583 | cpp | /*
* MD4 (RFC-1320) message digest.
* Modified from MD5 code by Andrey Panin <pazke@donpac.ru>
*
* Written by Solar Designer <solar@openwall.com> in 2001, and placed in
* the public domain. There's absolutely no warranty.
*
* This differs from Colin Plumb's older public domain implementation in
* that no 32-bi... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
48755ce8352b443304de0443acdba7322924627c | b00d62e5385f1a929712ec43dcc0a12673adde7c | /fast_simple/DistSSE.pb.cc | 231d2b166644e2099aaf8f175f56087edc9cd69b | [] | no_license | iceboy926/VFSSSE | 602ac89e33bcae7aa6cacc5026824dc4342e5dd6 | aed41357213386796630275124c7a7d88859a764 | refs/heads/master | 2022-04-17T10:07:57.279650 | 2020-03-09T07:21:21 | 2020-03-09T07:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 71,272 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DistSSE.proto
#include "DistSSE.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <... | [
"1014830422@qq.com"
] | 1014830422@qq.com |
31ddc1cd82cc8907f9f123d42c2d3d9bcd986b2b | e0c83d000a60fbd867a2ea6d5e3d20967a69a48a | /thrift/compiler/test/fixtures/deprecated-public-fields/gen-cpp2/module_types.tcc | 5842d53624bedcc84c97a3f3882e5f72be042a82 | [
"Apache-2.0"
] | permissive | hstreamdb/fbthrift | 88d602d0fd1a446196631b466941a66c035f9db0 | ae94d87b23b18c5c6f97c5248563c7c49276b192 | refs/heads/master | 2023-09-02T12:52:26.363350 | 2021-07-15T02:47:46 | 2021-07-15T03:03:18 | 325,493,425 | 0 | 0 | Apache-2.0 | 2020-12-30T08:11:59 | 2020-12-30T08:11:59 | null | UTF-8 | C++ | false | false | 4,634 | tcc | /**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include "thrift/compiler/test/fixtures/deprecated-public-fields/gen-cpp2/module_types.h"
#include <thrift/lib/cpp2/gen/module_types_tcc.h>
namespace apache {
n... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
68c505f053cea82a40524996fc07d3501d473724 | 7b7e9918c9a50e9cb65339eda90400095244ae9f | /cartographer-master/cartographer/mapping/probability_values.cc | 8a7da4686ac3537fae244bb4bdb90a0f5dee0c08 | [
"Apache-2.0"
] | permissive | aemingma/OpenSLAM-Notes | 2e094940ab0c1794697341f9a821f07ae7fa292c | fb130c123035b939577544547f48213e1431947b | refs/heads/main | 2023-03-18T07:42:00.030753 | 2021-03-08T06:10:37 | 2021-03-08T06:10:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,592 | cc | /*
* Copyright 2016 The Cartographer Authors
*
* 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... | [
"hust_linyicheng@qq.com"
] | hust_linyicheng@qq.com |
a493921ea2ccbbed70b981179ab8ea19de47d266 | b531a935887f600493c86f11113bcfd82bd55677 | /Node.h | 3d267c7a6758ae1b4772ecefe72b15579b64e1ab | [] | no_license | nbotte/Erdos-Renyi_Random_Graph | ee8cd1ddec3c94837a9b5a9e3fefc6af0a8c908f | 492c300ee279d6a02268097f9a3c7b5b54fd18d7 | refs/heads/master | 2023-05-08T19:43:55.245978 | 2021-05-28T08:44:05 | 2021-05-28T08:44:05 | 296,559,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | h | // Nina Botte -- Master thesis: Opinion dynamics on social networks with stubborn actors
#define _USE_MATH_DEFINES
#include <iomanip>
#include <iostream>
#include <list>
#include <vector>
using namespace std;
#ifndef NODE_H
#define NODE_H
class Node{
int _index; // declare index variable (= name of node)
l... | [
"nina.botte@ugent.be"
] | nina.botte@ugent.be |
ad1a80d105ff4b9d9e65f7479429a9e5c26d6db9 | a125ed6db8bfd4777ef9c1d6e19cd5822b44f7f7 | /66/zadanie66.cpp | 73a1f7989557178552da127643f148e25a569afb | [] | no_license | piotrek-k/MaturaZbiorZadan | 207745deab5771f0921508fc5d3ffd6be7889973 | 589d219d2a4e18d2dbd5c382350c097188a2ab16 | refs/heads/master | 2021-01-12T08:00:37.578996 | 2017-05-09T16:20:36 | 2017-05-09T16:20:36 | 77,089,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | cpp | #include<iostream>
#include<fstream>
#include<vector>
#include<string>
using namespace std;
int sumaCyfr(int x){
int suma = 0;
while(x > 0){
suma += x%10;
x /= 10;
}
return suma;
}
bool liczbaPierwsza(int x){
if(x < 2) {
return false;
}
for(int a=2; a<x; a++){
if(x%a == 0){
return false;
}
}
ret... | [
"piotrekk1@outlook.com"
] | piotrekk1@outlook.com |
0241a3d38af0eea5e05e4839375e2c085b64686e | 65960494b910aa952ab6ee98d80faecddb87c0ac | /RayTracer/Color.h | 205f14262aab36e12bb5653d7dfb5684edcdd80e | [] | no_license | DatTVu/RayTracingDemo | 1dacfbc301c178b2fa9209a0ec4f03cdced9e21b | bef3a3d42a8c249434ac094fcba71d3ab6586596 | refs/heads/master | 2022-11-07T06:11:10.821687 | 2020-06-15T11:02:28 | 2020-06-15T11:02:28 | 272,233,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #ifndef COLOR_H
#define COLOR_H
#include "CVector3.h"
#include <iostream>
template<typename T>
void write_color(std::ostream& out, CVector3<T> pixelColor)
{
out << static_cast<int> (255.999 * pixelColor.x()) << ' '
<< static_cast<int> (255.999 * pixelColor.y()) << ' '
<< static_cast<int> (255.999 * pixelColor.z... | [
"dtvutrong1993@gmail.com"
] | dtvutrong1993@gmail.com |
ac5a5f76ab7729f5c1daf831f94e92cf973bde72 | b1ca290baa255e9939882e3711093a8ca0509687 | /261/Untitled1.cpp | 5fbe18f059cacbf9bd74172d7d6e266cfe564c02 | [] | no_license | ZeeshanAhmadKhalil/DevCpp | 26872a9059d683072c116169b4035ea6ae706c54 | c68c67f2972cbc6bca2691dd773a4bff62aa5889 | refs/heads/master | 2020-07-29T00:00:33.065937 | 2019-09-24T06:13:57 | 2019-09-24T06:13:57 | 209,585,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
main()
{
int a;
cout<<"Enter a number"<<endl;
cin>>a;
if(a>0)
cout<<"Entered number +ive";
else if(a<0)
cout<<"Entered number -ive";
else if(a==0)
cout<<"Entered number zero";
}
| [
"mk1411997@gmail.com"
] | mk1411997@gmail.com |
032476dbe8a8e75c157bfc97dc04a88de30c9b49 | a78cbb3413a46c8b75ed2d313b46fdd76fff091f | /src/mobius.atp/mobius.cvc3/cvc3-20090730/src/sat/cnf_manager.cpp | 8f71a5736612fc2bf404bad43b7b8feb9ddc8097 | [] | no_license | wellitongb/Mobius | 806258d483bd9b893312d7565661dadbf3f92cda | 4b16bae446ef5b91b65fd248a1d22ffd7db94771 | refs/heads/master | 2021-01-16T22:25:14.294886 | 2013-02-18T20:25:24 | 2013-02-18T20:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,486 | cpp | /*****************************************************************************/
/*!
*\file cnf_manager.cpp
*\brief Implementation of CNF_Manager
*
* Author: Clark Barrett
*
* Created: Thu Jan 5 02:30:02 2006
*
* <hr>
*
* License to use, copy, modify, sell and/or distribute this software
* and its documentat... | [
"jcharles@c6399e9c-662f-4285-9817-23cccad57800"
] | jcharles@c6399e9c-662f-4285-9817-23cccad57800 |
2e06762db45aa2b1a5f77c73756e18f5a3b1ef7d | 424312a392a998d3cf9d9f5617cbad88f5e654cf | /Week2/poem.cpp | e0e8264fa880aece2ee9cc57ea193ddfc11026eb | [] | no_license | leviethung2103/C-InPractice | 71a79fc30a83ec48498d4d33832e6845f2dae483 | cb09008329173790cc08f23f65ac42d0c283e677 | refs/heads/main | 2023-05-29T14:08:28.633087 | 2021-06-14T17:38:51 | 2021-06-14T17:38:51 | 376,339,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include<stdio.h>
#include<iostream>
#define PI 3.14159
int main(void)
{
int radius;
printf("Enter radius:");
scanf("%d", &radius);
printf("volume is : %lf \n\n", (4.0/3) *radius*radius*radius);
return 0;
}
| [
"hunglv@greenglobal.vn"
] | hunglv@greenglobal.vn |
8ab666cdc74f61fbd4d50c4cf0d0d0a7420ab897 | 5e2aec2f1a4066738cd962d7b44797eecd37fbbf | /liblonely/src/gamedata/LaylaPalettePatch.cpp | 2b5561d76d9d437fc0953cc31659235bde994ae7 | [] | no_license | suppertails66/lonely | 119dcc030104b5a603b561f49e83ae2c7bb06845 | 10cb7bc2cbad06e8c41fab7ed484d9ea5a938b8f | refs/heads/master | 2021-01-12T06:07:46.773284 | 2017-01-10T05:48:06 | 2017-01-10T05:48:06 | 77,306,625 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include "gamedata/LaylaPalettePatch.h"
#include <iostream>
namespace Lonely {
LaylaPalettePatch::LaylaPalettePatch() {
for (int i = 0; i < NesPaletteQuad::size; i++) {
colorsEnabled_[i] = false;
}
}
bool LaylaPalettePatch::colorEnabled(int pos) const {
return colorsEnabled_[pos];
}
void LaylaPalettePa... | [
"suppertails66@gmail.com"
] | suppertails66@gmail.com |
72d247bb1cc776152bef0711f0625da366ccb5c9 | 98819d62d5b7e901975bb01b34b38dbc3cb2f422 | /src/356_Line_Reflection.cpp | b060b115a5802e85c083f75ab83ed5b44a672511 | [] | no_license | Liuyi-Wang/LeetCode | 78666c34dd6de9fbed611fb7a53fb522fe823b7c | c4f86881cab16b09eafcad0745b59b334dae2ae5 | refs/heads/master | 2022-02-04T03:29:29.606869 | 2022-02-01T00:52:43 | 2022-02-01T00:52:43 | 196,485,970 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | static int __ = []() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
std::cout.tie(nullptr);
return 0;
}();
class Solution {
public:
bool isReflected(vector<vector<int>>& points) {
int xmin = INT_MAX, xmax = INT_MIN;
unordered_map<int, set<int>> hash;
for (int i = 0; i < poin... | [
"wangliuy@umich.edu"
] | wangliuy@umich.edu |
770f2613304e50fa481edd8bd5e414b4ce32d4d1 | 6f05f7d5a67b6bb87956a22b988067ec772ba966 | /data/train/cpp/8e12cd99b6756f2a64d16819ce9f15466b6f6f76PlaceModelState.cpp | f504387ad72057472ba3ce168e65a4039e09155c | [
"MIT"
] | permissive | harshp8l/deep-learning-lang-detection | 93b6d24a38081597c610ecf9b1f3b92c7d669be5 | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | refs/heads/master | 2020-04-07T18:07:00.697994 | 2018-11-29T23:21:23 | 2018-11-29T23:21:23 | 158,597,498 | 0 | 0 | MIT | 2018-11-21T19:36:42 | 2018-11-21T19:36:41 | null | UTF-8 | C++ | false | false | 2,286 | cpp | #include "PlaceModelState.h"
#include "misc/helper.h"
#include "misc/windowsHead.h"
//
#include "render/math.h"
//
#include "model/EntityInstance.h"
//
#include "scene/Terrain.h"
#include "scene/SceneManager.h"
#include "scene/Chunk.h"
#include "scene/QuadNode.h"
//
#include "Global.h"
#include "misc/EventManager.h"
#i... | [
"aliostad+github@gmail.com"
] | aliostad+github@gmail.com |
2da3eb22d206cf1118cd96cb71eeac788dd1fbec | e0c050197d8ef449e976ecc098c280a613048d8c | /lab8izvjestaj/main.cpp | e119a9051b21977f8167bdad0a396472ed36ed03 | [] | no_license | josaban/izvjestaji_WiSe_2019_20 | 4c4b0adcb3cd6229df9d94124c41f824a3ce637f | 5926ffb70824d5b5b3e7e8440c15cda778090f8a | refs/heads/master | 2022-11-10T09:47:31.222544 | 2020-07-01T21:29:48 | 2020-07-01T21:29:48 | 259,847,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include <Arduino.h>
#include <LowPower.h>
#include "main.h"
#include "Sensors.h"
#include "Radio_nRF.h"
SENSORS sensor;
RADIO radioNRF;
SensorData dataToSend;
StateType state = READ_SERIAL;
void setup()
{
Serial.begin(9600);
sensor.DHT_init();
sensor.BH1750_init();
/* ######################*/
RADIO::nRF_i... | [
"jsabic01@fesb.hr"
] | jsabic01@fesb.hr |
b4893d289b215cd9255fe56f77d8d0b0250e4083 | 9584905cea9265068676f2e648f6eee7c016d998 | /MyLib/ipcserver.cpp | 8effe00f07d2af3cd4292dc2a8494704a0614bed | [
"MIT"
] | permissive | NuLL3rr0r/e-pooyasokhan.com | 43b65ae916596b7ab09257643cf250bcb65d1d8f | cf4b8cd0118a10bbecc4a1bb29c443385fa21e12 | refs/heads/master | 2020-12-31T01:11:16.690744 | 2006-07-20T19:30:00 | 2006-07-20T19:30:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,209 | cpp | #include <cassert>
#if defined ( _WIN32 )
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <boost/algorithm/string.hpp>
#include <boost/format.hpp>
#include <boost/lexical_cast.hpp>
#include "ipcserver.hpp"
#include "compression.hpp"
#include "exception.hpp"
#include "ipcprotocol.hpp"
#include "ipcrespo... | [
"info@babaei.net"
] | info@babaei.net |
4e1927e5087e563dfb523f05e7aa6a71e44a1ffc | ae24b5b25f25a300bfa322575a1981efaab2ef0f | /lib/RFManager/RFManager.cpp | 766de7fba7af1da98e878aa304532e0bcb796496 | [] | no_license | ReikoR/mbed_mainboard_basketball_firmware | d17d64449aa8c5361de9089dc651303d7a057a39 | 631442bad8716b931b06c26d96c85b130dc93b84 | refs/heads/master | 2021-07-15T00:36:17.810630 | 2017-10-14T18:13:21 | 2017-10-14T18:13:21 | 106,945,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,716 | cpp | //#include <TARGET_LPC1768/cmsis.h>
#include "RFManager.h"
RFManager::RFManager(PinName txPinName, PinName rxPinName):
serial(txPinName, rxPinName), buf(64) {
messageAvailable = false;
receiveCounter = 0;
shortCommandsEnabled = false;
shortCommandLength = 5;
longCommandLength = 12;
com... | [
"reiko.randoja@gmail.com"
] | reiko.randoja@gmail.com |
3cf17f298d192dbd8687041c4e8b3956ef900179 | ba29e0bd4239c495510bb33245a8dcae48f9ddc2 | /2.add-two-numbers.cpp | 2ba96994271f1164cfc7363c9c36a7c9d1561a4e | [] | no_license | ahlijin/leetcode | e1ece43823b8f9049a976e2b9272dc5ab6ce1b04 | 7cf32ca472aca2be77a6374ac18df83461df5c2d | refs/heads/master | 2020-05-07T14:57:46.086648 | 2019-05-21T15:55:22 | 2019-05-21T15:55:22 | 180,616,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {
ListNode dummy(-1); //头节点
int carry = 0;
ListNode *prev = &dummy;
for(... | [
"ahlijin@163.com"
] | ahlijin@163.com |
94782f024fcca946ea12abdacbe4846babb6e2fc | c732e95f868dfe1b12760a11bab15c15216a27bf | /vendor/bela/src/belawin/pe/searcher.cc | ce51d3cd2558be69396c524eb89373cac38898ea | [
"MIT",
"Apache-2.0"
] | permissive | baulk/baulk | 9fb2414533297cbee62f13a46de5c8a0eb57b200 | a501b7a16f909b39724a8362dba868ca69f66602 | refs/heads/master | 2023-08-03T22:57:14.537212 | 2023-07-30T13:46:50 | 2023-07-30T13:46:50 | 245,962,600 | 354 | 42 | MIT | 2023-07-30T13:46:51 | 2020-03-09T06:44:10 | C | UTF-8 | C++ | false | false | 3,019 | cc | ///
#include <bela/path.hpp>
#include <bela/env.hpp>
#include "internal.hpp"
namespace bela::pe {
#ifdef _WIN64
constexpr bool IsWow64 = false;
#else
// 919, api-ms-win-core-wow64-l1-1-1.IsWow64Process2, IsWow64Process2, 919, 918
typedef BOOL(WINAPI *IsWow64Process2)(HANDLE hProcess, USHORT *pProcessMachine, USHORT *... | [
"charlieio@outlook.com"
] | charlieio@outlook.com |
d4a16db1d546c5e7fa538801b1de90f2afe82972 | fd29422c46d2cdec69ec5c5a960e661ecdcf7692 | /Course Work/CG/rubiksss/RubiksCubeSolution/RubiksCube/Point2f.cpp | 5269a0891ff76bff6f40509af82595832b23f459 | [] | no_license | codechef34/Software-Engineering | 52a8e994e03036345b713f6ce94347e0cbd00251 | 213401d5382461fa3a85bad727a00f3650e208a8 | refs/heads/master | 2016-09-06T08:13:12.703773 | 2015-11-06T15:50:42 | 2015-11-06T15:50:42 | 42,978,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | #include "StdAfx.h"
#include "Point2f.h"
Point2f::Point2f(void)
{
}
Point2f::~Point2f(void)
{
}
| [
"jayaachyuth34@gmail.com"
] | jayaachyuth34@gmail.com |
c54a8c95fe1f6a4752ab8dd439d66298f9fc0c92 | 46aa7ba16b89466538ee3009911a218ab1a349dd | /ciu_practica101.ino | 5f4ab1e8e6c747b07871fb40db89a949d4bcd328 | [] | no_license | doramasma/ciu-practica10 | 0b1092ab313a6de8bcae799816213023117810b3 | bf90b7364a191fc8bdfb9b331b26ca9101006aa5 | refs/heads/master | 2022-05-23T21:30:24.500488 | 2020-04-26T16:35:37 | 2020-04-26T16:35:37 | 259,073,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | ino | double tiempo;
double wave;
double sinMin;
double sinMax;
double freqMin;
double freqMax;
double output;
void setup()
{
//inicializamos el led
bool flag = 0;
pinMode(13, OUTPUT);
wave =0;
sinMin = -1;
sinMax = 1;
freqMin = 1.0/100.0;
freqMax = 1.0/1000.0;
Serial.begin(6900);
}
void loop()
{
... | [
"doramas6@hotmail.com"
] | doramas6@hotmail.com |
165e9dfac475ce00f657411248947c8470cef7db | e34a8e4feb72688dc65ae1fb363421851bd1f798 | /inc/Logger.h | 2a6ba4f66f6ba5586ad82b09ca4a106677646f7c | [] | no_license | chaseweaver/Ultima | 51bf7cceae44613514afd33a49bd5606d2617641 | c401ec2651be2222400e2c7722bade25032fa8c1 | refs/heads/master | 2020-04-25T20:53:27.376564 | 2019-04-25T08:49:37 | 2019-04-25T08:49:37 | 173,063,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | #ifndef LOGGER_H
#define LOGGER_H
#ifdef _MSC_VER
#pragma once
#endif
struct MASTER_CONTROL_BLOCK;
#include "MasterControlBlock.h"
#include "Pad.h"
#include "Queue.h"
#include <chrono>
#include <iostream>
using namespace std::chrono;
class Logger {
private:
struct LOG_DATA {
int task_id;
int task_state... | [
"chase.weaver34@gmail.com"
] | chase.weaver34@gmail.com |
7750e6bab8fc0cb8ad129f299d4cdab8bc808d48 | d194ab7c428e44f0fa7f5706f864238d90dda2a8 | /inheritance_polymorphism_ch_17/fancyText.cpp | 887ead9361e9c290d78c5b43a7390322cb689989 | [] | no_license | Timothy-Kornish/cPlusPlus | 5396502ce2cc7c8268d258581384bf628c3cd870 | 561eed46064132bde1d437084cc621612e04059a | refs/heads/master | 2021-08-28T17:01:27.109436 | 2017-12-12T21:16:22 | 2017-12-12T21:16:22 | 108,751,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | #include <string>
#include <iostream>
class Text {
std::string text;
public:
Text(const std::string& t): text(t) {}
virtual std::string get() const {
return text;
}
virtual void append(const std::string& extra) {
text += extra;
}
};
class FancyText: public Text {
std::string left_bracket;
s... | [
"TimmehK@Timothys-MacBook-Pro.local"
] | TimmehK@Timothys-MacBook-Pro.local |
edecda7f6ad05477a6a1210e5b6b8257b25303b2 | adbc979313cbc1f0d42c79ac4206d42a8adb3234 | /Source Code/李沿橙 2017-10-3/competition/source/赣州市第一中学 林海波/trans.cpp | 1d4488b23b5b2a42a1e22d3a7ea8e6c80221ea52 | [] | no_license | UnnamedOrange/Contests | a7982c21e575d1342d28c57681a3c98f8afda6c0 | d593d56921d2cde0c473b3abedb419bef4cf3ba4 | refs/heads/master | 2018-10-22T02:26:51.952067 | 2018-07-21T09:32:29 | 2018-07-21T09:32:29 | 112,301,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
const int maxn = 1000010;
using namespace std;
int n, k;
char ch;
int flag = 0;
int a[maxn];
inline bool judge(int i);
inline bool change(int i);
int main()
{
freopen("trans.in", "r", stdin);
freopen("trans.out", "w", stdout);
while (cin >> n >> k)
{
f... | [
"lycheng1215@sina.com"
] | lycheng1215@sina.com |
749a0cda87ff8ef320f4529ca7edd46c9028552b | a2cdb99604aa5816a2a91925338b494b32a63958 | /psn_repo/x_simuA.cpp | ff11c025c8124ad5f61ade6a71fd30ab2b15a344 | [] | no_license | toshioeda/psn_git | 59ac4c4c036fe22ae423697e7a97a07d7ec57552 | a289ab342798c592e488623fc4cf2792b848f1f8 | refs/heads/master | 2020-12-13T17:23:05.728427 | 2017-06-29T07:31:49 | 2017-06-29T07:31:49 | 95,521,763 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 25,645 | cpp |
//------------------------------------------------------------------------------
//人を生成したり動かしたりするメイン関数です。
//------------------------------------------------------------------------------
//★ 人格を変えて観察するのに都合の良い変数です。
//● 人格設定項目です。
//
#include <Windows.h>
//
#include "x_functions.h" //個人の標準関数
#include "x_sim... | [
"toshioeda@gmail.com"
] | toshioeda@gmail.com |
2d1eddc0e4c0d82662222f041ccb3f7c776a21c6 | 5fe209e8fb8891f0fa0981be60b724961a8ebf41 | /day14-1.cpp | 508b89136b702934bba253160b295e68d5c75873 | [] | no_license | Jluxcs/CPP_learning | b7d87fe1e1c98ea5f3f203d8db8c706a82d208bb | 9ec057ca6fc5000e3b126bcd49e269043dfcab17 | refs/heads/master | 2020-06-17T02:23:47.588776 | 2019-07-08T08:20:59 | 2019-07-08T08:20:59 | 195,767,170 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <iostream>
using namespace std;
int main(){
int year;
cin>> year;
if (year%4 == 0){
if (year%100 == 0){
if (year%400 == 0)
cout<< "The year "<< year<< "is 闰年。"<< endl;
else
cout<< "The year "<< year<< "is not 闰年。"<< endl;
}
else
cout<< "The year "<< year<< "is 闰年。"<< endl;
}
... | [
"852306873@qq.com"
] | 852306873@qq.com |
f8d587e231939c83e6954c630d73d168344182c2 | 6d9e14a8372269932a48b78b5de56d2e5215083d | /t3sqlview.cpp | 0fca9dc5f642d57c43dd788b277b7727007d3614 | [] | no_license | husi/t3 | 012278360616e18b0bc6bd057a81964f86c1231c | e491776bf2d6645f2de733aac6bee31d95bcf6bd | refs/heads/master | 2021-01-23T03:48:11.178174 | 2010-12-29T12:45:26 | 2010-12-29T12:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #include "t3sqlview.h"
#include <QFrame>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QDebug>
t3SqlView::t3SqlView(QObject *parent_) :
t3DataViewBase(parent_)
{
_frame = new QFrame();
QHBoxLayout *toplayout = new QHBoxLayout;
_edit = new QLineEdit();
_button = new QPushButton("Quer... | [
"krisztian.notaisz@gmail.com"
] | krisztian.notaisz@gmail.com |
47366c52b301210cfb52cf849bfc73a10d3723c6 | 9b0d8bf0a4f598fec592b9ef0670567b5099985a | /Joe-Classes-Ex1/Joe-Classes-Ex1/Main.cpp | fe634d9014fb6953a0a1826fdafb8bb452192ae3 | [] | no_license | jyiouyim/mat-academy-exercises | bfd36b3a0ccc943a7e48ba76487e722318866889 | 206f9a767412de6c7a71f2d7b9798b4174f53714 | refs/heads/master | 2020-03-23T02:12:10.302693 | 2018-09-28T07:43:35 | 2018-09-28T07:43:35 | 140,961,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include "3DVector.h"
#include <iostream>
#include <iomanip>
int main()
{
Vector v1(-2, 5, 4);
Vector v2(3, 7, 3);
Vector add = v1 + v2; //addition
std::cout << add << std::endl;
Vector sub = v1 - v2; //subtraction
std::cout << sub << std::endl;
Vector scalar = v1 * 3; //scale multiplication
std::cout << scala... | [
"kongjoe.yim@gmail.com"
] | kongjoe.yim@gmail.com |
496552fafbd53e4751372e1288b330f54ffea874 | 33c7afff1e1e9a973c9d19f1da0a0158d26fc304 | /B4c/include/B4cEventAction.hh | 28260cbb7ae167caa2ec137ac6e12a8d7ab5876a | [] | no_license | patha325/NewSaRoMaN | e22bbc73ddaca0cf5600d1dc1d487de97c8f0109 | d9d345ae8e7b400b6ee978b83021edcb8acc925f | refs/heads/master | 2020-03-16T15:09:14.935029 | 2018-09-10T09:39:58 | 2018-09-10T09:39:58 | 132,730,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"patrik.hallsjo@gmail.com"
] | patrik.hallsjo@gmail.com |
12b29ebfc71469d2d50444b213c7f9d25ace3d63 | 8b706c85755c7acbec4aed836fdfc4a3ba189187 | /Samples/QQDemo/inc/widget/WidgetWnd.h | d6fa3f1ed5d7c3c7953f577a6393e835dd5c642d | [] | no_license | cnsuhao/DM | 3a669d357c3017e650351d8bb1828eaea8499842 | 766c96a803b769387d11347bb682b15bd614ecd8 | refs/heads/master | 2021-06-11T18:28:56.219566 | 2017-02-09T14:26:25 | 2017-02-09T14:26:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,976 | h | //-------------------------------------------------------
// Copyright (c) DuiMagic
// All rights reserved.
//
// File Name: WidgetWnd.h
// File Des: 测试Widget的主窗口
// File Summary:
// Cur Version: 1.0
// Author:
// Create Data:
// History:
// <Author> <Time> <Version> <Des>
// guoyou 2015-4-20 1.0
//----... | [
"80718901@qq.com"
] | 80718901@qq.com |
3c3739d7eff9f12f5caafc2b10f196f9bb77823b | bd2139703c556050403c10857bde66f688cd9ee6 | /valhalla/144/webrev.00.1/src/hotspot/share/opto/subnode.cpp | 004bf06a5e886cfdb57e8a75fb9bb2732d0df028 | [] | no_license | isabella232/cr-archive | d03427e6fbc708403dd5882d36371e1b660ec1ac | 8a3c9ddcfacb32d1a65d7ca084921478362ec2d1 | refs/heads/master | 2023-02-01T17:33:44.383410 | 2020-12-17T13:47:48 | 2020-12-17T13:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,684 | cpp | /*
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | [
"erik.helin@oracle.com"
] | erik.helin@oracle.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.