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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff7d0d935e5bb36d26d139f28fee3c4736dd06a0 | fae551eb54ab3a907ba13cf38aba1db288708d92 | /chrome/browser/ash/crostini/crostini_sshfs_unittest.cc | 4e6828d0fcef168468c630e0741f4d2cf2273056 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 12,038 | cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/crostini/crostini_sshfs.h"
#include <memory>
#include "base/base64.h"
#include "base/bind.h"
#include "base/callback_helper... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c744dff47086e2f44722679176931df45708a838 | 051aacf22e5513868afbab842393e5111a0970d6 | /modules/lwjgl/driftfx/src/main/c/src/FrameNativeAPI.cpp | 91d5df7b344698e70986f6d12a774b204e90d80d | [
"LGPL-2.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"EPL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license"
] | permissive | alexandrelombard/lwjgl3 | 59dc0936865fedf1530b9230519dce175b76483b | 1ffb2e773de303b28840a41fd653fdf3ebeccf31 | refs/heads/master | 2022-06-03T13:01:28.241372 | 2020-04-06T08:59:22 | 2020-04-06T10:50:37 | 260,460,948 | 0 | 0 | BSD-3-Clause | 2020-05-01T13:05:17 | 2020-05-01T13:05:16 | null | UTF-8 | C++ | false | false | 1,957 | cpp |
#include <jni.h>
#include <iostream>
#include <iomanip>
#include "utils/Logger.h"
#include "NativeSurfaceRegistry.h"
#include "NativeSurface.h"
#include "FrameManager.h"
#include "jni/JNITiming.h"
using namespace std;
using namespace driftfx::internal;
std::string Convert(JNIEnv* env, jstring in) {
const char* ... | [
"iotsakp@gmail.com"
] | iotsakp@gmail.com |
b73366d220b2af8451cd4c4b9c42227b4e010804 | 7e076d08d082201f162175c920877bb9d2089375 | /Parte3/motor/Escala.cpp | b8e0f4de5a638f2fdb6ade0e29e4723cebdde793 | [] | no_license | 129Camal/CG-18 | 5bdd4c9fdf9d91a68f40f2e2ad189f94a399871d | d550be97111312d48c87b8026cda989e40f378fc | refs/heads/master | 2021-03-19T13:47:30.335403 | 2018-10-07T14:21:36 | 2018-10-07T14:21:36 | 123,262,993 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | //
// Created by 87 Dolly on 28/03/2018.
//
#include "headers/Escala.h"
Escala::Escala(){
x_eixo = 0.0;
y_eixo = 0.0;
z_eixo = 0.0;
}
Escala::Escala(float x, float y, float z) {
x_eixo = x;
y_eixo = y;
z_eixo = z;
}
bool Escala::semEscala(){
return (x_eixo == 0 && y_eixo == 0 && z_eixo =... | [
"saralexx@gmail.com"
] | saralexx@gmail.com |
496bc2b4ff16ca37c0bdeba5181b45578769f101 | ea449cfc2fd81888a4a3641d7038643d5292dc9b | /week-04/161108/161108-03-class3.cpp | be7e78ff28125a73b81be07351217b54e88623b8 | [] | no_license | greenfox-zerda-sparta/medeaeva | 4cfddb2e47d35e11d73030e64dc484682bb8a8be | af505e518607243e7bceee246072942ded1fef8e | refs/heads/master | 2021-01-12T17:18:14.778707 | 2017-01-05T14:22:31 | 2017-01-05T14:22:31 | 71,544,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | // Create a method on the Student class called "greet" that returns a string
// like: "Hello my name is: <student name>"
#include <iostream>
#include <string>
using namespace std;
class Student {
public:
string name;
unsigned int age;
Student(string name, unsigned int age) {
this->age = a... | [
"ferencz.eva.medea@gmail.com"
] | ferencz.eva.medea@gmail.com |
0f37f5f47f90724bb0ea85a9dcacfcc3b2133edb | a27fc4b4f797aa47e6221d4d3e5f7b9a5b52c9fd | /BattleTank/Source/BattleTank/TankAIController.cpp | 1705267216c9e9dc4d3814c001154cec9b4c9b57 | [] | no_license | ketzusaka/BattleTank | 3648303b4bfcffaa8d691964245a6c6cae93cba2 | 672607824fc2ee3d2ab41949db956f07ec481bb6 | refs/heads/master | 2020-04-19T10:47:13.238460 | 2016-09-21T15:32:16 | 2016-09-21T15:32:16 | 66,335,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BattleTank.h"
#include "TankAimingComponent.h"
#include "Tank.h"
#include "TankAIController.h"
void ATankAIController::BeginPlay() {
Super::BeginPlay();
}
void ATankAIController::Tick( float DeltaTime ) {
Super::Tick( D... | [
"ketzu@me.com"
] | ketzu@me.com |
a08a0bb084aeed64c8c57d5932d3d0209e46add2 | 31b974d95eabfbdbced3aade34dcdc4160395696 | /src/EXE/branches.h | e3c274c258977c05a90dba6869b58999fb209350 | [] | no_license | NETRATz/evaluatedecks | 237b69fb872782bb6948bbf12b5d83542cab844e | 2068e74067a5dea91610ae9354bf9afbc722d74c | refs/heads/master | 2021-01-22T14:33:45.477883 | 2012-08-05T22:32:46 | 2012-08-05T22:32:46 | 32,396,732 | 0 | 0 | null | null | null | null | WINDOWS-1258 | C++ | false | false | 64,103 | h | // *****************************************
// EvaluateDecks
// Tyrant card game simulator
//
// My kongregate account:
// http://www.kongregate.com/accounts/NETRAT
//
// Project pages:
// http://code.google.com/p/evaluatedecks
// http://www.kongregate.com/forums/65-tyrant/topics/195043-yet-another-battlesim... | [
"minichv@6bf4c471-38eb-e68a-c41c-03d6165592e0"
] | minichv@6bf4c471-38eb-e68a-c41c-03d6165592e0 |
e1965b08d5d8abe18f079a4b1025b6127db0432b | 17fc7e3526a157e6a455d292113493b989dce3ef | /test/helloworld.cpp | 071ab96ad9cd59dc91bd37579ed7d684d581ab2a | [
"Zlib"
] | permissive | tinygettext/tinygettext | bd3444d9222afd404df4a5b9f6a86fac0dcb71f5 | eb077671ef7849e3d7884cbb1544ce195ab269d9 | refs/heads/master | 2023-06-08T12:21:23.394359 | 2023-05-24T21:05:55 | 2023-05-24T21:05:55 | 22,495,696 | 64 | 18 | NOASSERTION | 2021-10-01T03:53:37 | 2014-08-01T05:02:01 | C++ | UTF-8 | C++ | false | false | 739 | cpp | #include <iostream>
#define _(x) gettext(x)
int main()
{
std::cout << _("Short Hello World") << std::endl;
std::cout << gettext("Hello World") << std::endl;
std::cout << gettext("Hello Worlds") << std::endl;
std::cout << pgettext("", "Hello World") << std::endl;
std::cout << pgettext("console", "Hello Worl... | [
"grumbel@gmail.com"
] | grumbel@gmail.com |
467a8640f75332955bcda69a3a7aedb0125e98f2 | 9aa8cc2136a275da40f8d789c76db060d98e6f73 | /SimulatorView/src/log/Info_Warning_Error_Logger.cpp | bafac5d744bcee51253be71c16ff770eed566701 | [] | no_license | Alkanoor/Telecom-robotics | b23a98c169b822ad85d815a4c8e02eef765c5d73 | 572470a35b4a1eef5b9c6411b707e7a1a1e1d540 | refs/heads/master | 2021-01-13T00:49:57.203927 | 2015-11-11T20:45:56 | 2015-11-11T20:45:56 | 44,433,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include "log/Info_Warning_Error_Logger.hpp"
std::shared_ptr<Info_Warning_Error_Logger> Info_Warning_Error_Logger::static_log = std::shared_ptr<Info_Warning_Error_Logger>(new Info_Warning_Error_Logger());
Info_Warning_Error_Logger::Info_Warning_Error_Logger(bool date) :
endLineAuto(true),
printDateAuto(date)... | [
"hots.alkan@gmail.com"
] | hots.alkan@gmail.com |
271fef3d7baaab75f684366ff4e2c94d3a88aafc | 195a0d01c110706bee8343b3c02349184f0df1a8 | /Source/kbengine_ue4_demo/kbe_scripts/Gate.h | 5871e2fb86de3a5a59bb1734a3d0ac202ece3544 | [] | no_license | liuyuyefz/kbengine_ue4_demo | f1b320f49357b7ae3eac5bbdd90845046e89cff9 | d251a68fbd32211f1e1d6b2449a2430d5b74ab82 | refs/heads/master | 2021-01-12T10:02:05.508077 | 2016-12-13T09:33:39 | 2016-12-13T09:33:39 | 76,339,183 | 0 | 0 | null | 2016-12-13T08:35:02 | 2016-12-13T08:35:02 | null | GB18030 | C++ | false | false | 1,321 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "KBECommon.h"
class GameObject;
class NPCObject;
/*
对应entity_defs/*
要实现一个KBE对应的实体必须经过以下几步
1: 在服务器entity_defs中entities.xml中注册实体并实现实体的def定义
2: 在服务器的相关位置如:assets/scripts目录的cell( 取决于实体拥有该部分)或base( 取决于实体拥有该部分)文件夹下实现实体的服务器部分py脚本模块
3: ... | [
"3603661@qq.com"
] | 3603661@qq.com |
c2b17e91c189b9ae6debf0969fedd84e309334e1 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /extensions/browser/api/idle/idle_api_constants.h | bb748774fef74ecd089c1bafb13a8ddfc1d874c4 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_API_IDLE_IDLE_API_CONSTANTS_H_
#define EXTENSIONS_BROWSER_API_IDLE_IDLE_API_CONSTANTS_H_
namespace extensions {
na... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
e02df9415f444ed8e78994a1331e20a324eb3158 | 49e3b4359ad6e3a7b73e21dedd0294b07a28b2b8 | /src/gui/SimpleWindow.h | dc92d6c5ea574d43952077872cc643d0539ce7a7 | [] | no_license | IliyVas/readers_writers_test | 65f432faf111ea5646954dc67028261b64ce169b | 0e2112b72b4feb11563eeefa594ad7724ec11d93 | refs/heads/master | 2021-02-11T09:06:32.579064 | 2020-03-09T21:16:24 | 2020-03-09T21:16:24 | 244,475,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | h | #ifndef READERS_WRITERS_SIMPLEWINDOW_H
#define READERS_WRITERS_SIMPLEWINDOW_H
#include <memory>
#include <SFML/Graphics.hpp>
#include "../config.h"
#include "../model/ColorSquareMatrix.h"
using namespace model;
using namespace sf;
using namespace util;
namespace gui {
class SimpleWindow {
ColorSquareMa... | [
"vasiliy.kvm@gmail.com"
] | vasiliy.kvm@gmail.com |
4d123a46ab8e7bac8481f5471e2a22e19c766ca1 | 5491903d09555cf17cdea489fa2aa345b00e0aaa | /MFCActiveXControl_test/MFCActiveXControl_test/MFCActiveXControl_test.cpp | 8de898935098d243a1445b1ad22c17b60b92b307 | [] | no_license | erlinwu/ModeCheckTool | 4bbca2d6a23fc2a6c5bac7cf2cc3a86348d5fda2 | 1a57a2241e207a48a6510fbf931dec98dc357fa9 | refs/heads/master | 2020-06-25T02:40:32.398277 | 2017-10-11T05:27:20 | 2017-10-11T05:27:20 | 96,953,020 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,576 | cpp | // MFCActiveXControl_test.cpp : CMFCActiveXControl_testApp 和 DLL 注册的实现。
#include "stdafx.h"
#include "MFCActiveXControl_test.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CMFCActiveXControl_testApp theApp;
const GUID CDECL _tlid = { 0xB850D2C0, 0x7AB5, 0x42CA, { 0x99, 0x71, 0x4C, 0xB2, 0xE2, 0x9C, 0xB7, 0x2A } };
... | [
"erlinwu@sohu.com"
] | erlinwu@sohu.com |
5fdf4b5a6a7d29c87b5ff877b5059439f36dfb3f | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/qhuulr654q26tohr/2013-05-01T12-53-05.530+0200/sandbox/PMSB_group6/include/seqan/cluster/cluster_base.h | 818be70bcd2574e5da1981da62b2e9d7d624446d | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,509 | h | #ifndef SANDBOX_PMSB_GROUP6_INCLUDE_SEQAN_CLUSTER_BASE_H_
#define SANDBOX_PMSB_GROUP6_INCLUDE_SEQAN_CLUSTER_BASE_H_
#include <iostream>
#include <seqan/sequence.h>
#include <seqan/arg_parse.h>
#include <seqan/seq_io.h>
#include <seqan/structs/FastaRecord.h>
#include <seqan/structs/PerformanceSample.h>
#include <seqan... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
392f29b5ab73e1eaa33cedca2c5da52b37d8f577 | 71bbcda157cc485c14f33fa73c6a851ea12ed509 | /1-6-6z.cpp | a9931a90720b29f85ceec2f45caa1693d9b75a25 | [
"Apache-2.0"
] | permissive | Kaermor/stepik-course363-cpp | 3196b7ed5b491a705849dfe7c9b6bb9e56fc7f72 | 7df3381ee5460565754745b6d48ed3f1324e73ef | refs/heads/master | 2020-07-26T17:30:05.182616 | 2020-02-12T13:49:13 | 2020-02-12T13:49:13 | 208,719,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
double n, sum, k;
cin >> n;
while (n != 0){
sum = sum + n;
k++;
cin >> n;
}
cout << setprecision(11) << fixed;
cout << sum/k << endl;
return 0;
}
| [
"kaermor@gmail.com"
] | kaermor@gmail.com |
e980cd25cb7676f4a50fcacaa710e561d93d36b8 | 08d8a9ffeabacbe3fd0d770ab679ff9bd4e63ba0 | /Frames/DataFramesPackets.h | eb7cf844586294ae1b6858510ffce4236e2e4931 | [] | no_license | 99nails/threader | 2bf8ac8dc51ccc2970f3b9586c12e55376239e3b | 45b1d084ddd1167ca6ba9462173b89659f08df78 | refs/heads/master | 2023-03-28T17:17:48.157932 | 2021-04-01T15:35:09 | 2021-04-01T15:35:09 | 353,737,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | h | #pragma once
#include "../threader_global.h"
#include "../Frames/DataFrames.h"
#include "../Threads/PacketFactoryBase.h"
#include <QMap>
#include <QVector>
namespace Threader {
namespace Frames {
using namespace Threader::Threads;
enum class PacketType : uint8_t
{
PacketWithoutTicket ... | [
"maxx0@mail.ru"
] | maxx0@mail.ru |
160b00e1ceb186507a1aacac5300db5b53a924a0 | 070e9bbf95c22846259f15fc6ed1ec61ddc6e41e | /src/commlib/zcelib/zce/string/extend.cpp | 6797aa9283ac1bc3c9dd55f50a5112044b90ea25 | [
"Apache-2.0"
] | permissive | sailzeng/zcelib | 930553c1c6c030ee12d97fee230652e690c380d8 | d7a0c268ef10ffacc16cf2b06eed5b9445e3fe38 | refs/heads/master | 2023-01-23T07:01:57.102092 | 2022-11-13T19:37:52 | 2022-11-13T19:37:52 | 15,555,445 | 86 | 42 | Apache-2.0 | 2022-11-13T19:35:15 | 2013-12-31T19:14:27 | C++ | UTF-8 | C++ | false | false | 1,096 | cpp | #include "zce/predefine.h"
#include "zce/string/extend.h"
namespace zce
{
void _string_format_outlist(std::string& foo_string,
const char*& foo_fmt_spec)
{
foo_string.append(foo_fmt_spec);
}
//如果没有参数的特殊处理
void _sformat_outlist(char*& foo_buffer,
size_t& foo_max_le... | [
"fullsail@163.com"
] | fullsail@163.com |
b4cd36466a7bbeb4647bc9b2301a0a146ed752c3 | 8380b5eb12e24692e97480bfa8939a199d067bce | /Carberp Botnet/source - absource/pro/all source/BJWJ/include/simple/nsISimpleTest.h | d7cc6e2155385c3f6c7a1fdbc1617d3fece75a15 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | RamadhanAmizudin/malware | 788ee745b5bb23b980005c2af08f6cb8763981c2 | 62d0035db6bc9aa279b7c60250d439825ae65e41 | refs/heads/master | 2023-02-05T13:37:18.909646 | 2023-01-26T08:43:18 | 2023-01-26T08:43:18 | 53,407,812 | 873 | 291 | null | 2023-01-26T08:43:19 | 2016-03-08T11:44:21 | C++ | UTF-8 | C++ | false | false | 2,706 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/xulrunner/examples/simple/components/public/nsISimpleTest.idl
*/
#ifndef __gen_nsISimpleTest_h__
#define __gen_nsISimpleTest_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For ... | [
"fdiskyou@users.noreply.github.com"
] | fdiskyou@users.noreply.github.com |
8e0f46599c63e51ef16d525fcce2dfea39a8128a | c5baa4e84ba67f37c16abcc736b7014283e4c632 | /sketch_ttgo_sparkfun_scd30/sketch_ttgo_sparkfun_scd30.ino | 16a235d0daa398eed1302e568843ee281a353c1b | [
"MIT"
] | permissive | yjacolin/arduino-sketches | fbcf45ddcdffc609ca73f031829394554cd36c33 | fb90bf60401e5690bb45a9d4e43778fe0d4d32b6 | refs/heads/main | 2023-02-26T22:55:52.647675 | 2021-02-02T15:39:32 | 2021-02-02T15:39:32 | 335,337,648 | 0 | 0 | MIT | 2021-02-02T15:38:35 | 2021-02-02T15:38:34 | null | UTF-8 | C++ | false | false | 3,016 | ino | #include "Wire.h"
#include "TFT_eSPI.h"
#include "SPI.h"
#include "SparkFun_SCD30_Arduino_Library.h"
#include "TaskScheduler.h"
// splash screen:
#include "bmp.h"
// fonts:
#include "Purisa_48.h"
#include "Purisa_24.h"
#include "Purisa_12.h"
/*
Font files in the .vlw format can be created using Processing out of any fo... | [
"francois.vanderbiest@camptocamp.com"
] | francois.vanderbiest@camptocamp.com |
6834ca52a8c1fa0c251e6f0ec5f5c677d8b44c51 | 922b996bf69d4d4c3c202d68bc6df9a8e072a7f2 | /PiConspiracy/RiseComponent.cpp | 1eb3c86cc25308e34d31f0654ab8332a93c6f17b | [] | no_license | Sujay-Shah/Odyssey | a55fb7c7ea0680ddcbdd7f336b1c108a54d1a4b9 | 5c202b866986c2b2fe39fc28e49c0a8a39fe3768 | refs/heads/master | 2020-05-19T02:48:00.546030 | 2019-05-04T00:02:59 | 2019-05-04T00:02:59 | 184,786,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,071 | cpp | //
// RiseComponent.cpp
// PiEngine
//
// Created by PiConspiracy on 10/25/2018
// Copyright 2018 DigiPen Institute of Technology. All rights reserved.
//
#include "PiEnginePreCompiled.h"
#include "RiseComponent.h"
#include "Renderer.h"
#include "Camera.h"
RiseComponent::RiseComponent(void)
: Component(STRINGIF... | [
"snshah93@gmail.com"
] | snshah93@gmail.com |
266bf84de61532be99f5a9fd4a57b78c0f751d8a | f393e8ea54685ae881e5c71331ffc4625735ac2e | /hikr/build/Android/Preview/app/src/main/include/Fuse.Scripting.V8.Deb-84bda6f7.h | 7e8d52d9b9581ae1ba24a9850f1bb173fedca2d7 | [] | no_license | joseph-shumway/Manna | f4c92f56152d3d206f8c9b1e9392a11d6245f10c | 13354425ee59b10f3c22bbc442fdd85db2aa9d17 | refs/heads/master | 2022-02-17T01:20:42.479275 | 2017-12-21T23:23:47 | 2017-12-21T23:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | h | // This file was generated based on C:/Users/Shumcom/AppData/Local/Fusetools/Packages/Fuse.Scripting.JavaScript/1.4.0/V8/Debugger.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Scripting.V8.Deb-7a245152.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace ... | [
"thegreenjag1@gmail.com"
] | thegreenjag1@gmail.com |
a3686dd59a34a20381605ad34d573345de387662 | 4bd300d451a4dc2f1df37243fcd3047b5564a914 | /04 程序流程结构/09 continue语句.cpp | ec0c399760acbae33a1750880751bb8a126cc8dd | [
"MIT"
] | permissive | AlicePolk/cpp- | 24c865ca70a11a931c42192db4ebdb4924cf72e8 | 5bc3b1ea7fde780d0c45632fad083d583d65fb66 | refs/heads/master | 2022-12-14T16:39:02.316754 | 2020-09-12T01:46:51 | 2020-09-12T01:46:51 | 224,430,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | //#include<iostream>
//using namespace std;
//
//int main() {
//
// for (int i = 0; i < 100; i++)
// {
// if (i % 2 == 0)
// {
// continue;
// }
// cout << i << endl;
// }
//
// system("pause");
//
// return 0;
//} | [
"474788892@qq.com"
] | 474788892@qq.com |
cdbef16d06b85c51070f5e58fdd1e53c94c1a659 | 674b7aa4e384a99889d23d5ebb5760dab8e04f0d | /SimpleEngine/Components/MoveComponent.cpp | 67dfc3bab364217e0e97e3a827d38f02014f02bd | [] | no_license | UserNameIsAlredyTaken/SimpleEngine | 2ad5f7e6fd510457c56dbb8d9a1f8b61464a79cb | bdb8373e73ad2ade810b5a609583d90c9fa4cee8 | refs/heads/main | 2023-04-26T12:09:00.001175 | 2021-05-23T08:32:18 | 2021-05-23T08:32:18 | 331,851,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #pragma once
#include "MoveComponent.h"
#include "../GameObject.h"
MoveComponent::MoveComponent(GameObject* gameObject) : BaseComponent(gameObject)
{
}
void MoveComponent::Update(const GameTimer& gt)
{
// XMFLOAT3 oldPos = gameObject->LocalTransform.GetPosition();
// gameObject->LocalTransform.SetPosition(... | [
"gdaniltatarinof@gmail.com"
] | gdaniltatarinof@gmail.com |
1655ed2c68e15b42dd908141fe9eda9e5859b71d | ed7d811c0ee06c36d49a84b3c0726c4fb667356a | /catkin_ws/src/tools/justina_tools/include/justina_tools/JustinaTools.h | f76836cfaeb85e2669ddcdf457eaf4d66de79bad | [] | no_license | RobotJustina/Festina | 2f2f76a44c20b293e989a69a199de11335a74a6f | 0a4654dffa371ebc25ec4903bd8ec55551257e4d | refs/heads/master | 2021-07-11T09:19:58.899894 | 2020-06-29T16:43:38 | 2020-06-29T16:43:38 | 169,779,760 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,597 | h | #pragma once
#include <iostream>
#include <vector>
#include <cmath>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
//#include <pcl/io/openni_grabber.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/common/transforms.h>
#include "r... | [
"dieg4231@gmail.com"
] | dieg4231@gmail.com |
7f1931dfaefa2d7bc162498ff5e8dd5ab72a559d | 2e21784a19d43d918aa35e60c0b623c4d410cc4d | /include/glpp/texture.hpp | feb523b5e9c6647f842f7c661a1d0771e7373c74 | [
"MIT"
] | permissive | weixu000/glpp | ff066d3379b38857332e660ea9d25dfe258a8686 | 402e506e867a4ea6f3e085d4079ffed811ab48d8 | refs/heads/main | 2021-06-13T22:41:43.145256 | 2020-11-02T22:54:33 | 2020-11-02T22:54:33 | 254,457,039 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,867 | hpp | #pragma once
#include <fstream>
#include <iostream>
#include <string>
#include "details/object.hpp"
#include "gl.h"
namespace glpp {
enum class TextureType : GLenum {
TEXTURE_1D = GL_TEXTURE_1D,
TEXTURE_2D = GL_TEXTURE_2D,
TEXTURE_CUBE_MAP = GL_TEXTURE_CUBE_MAP,
TEXTURE_CUBE_MAP_ARRAY = GL_TEXTURE_CUBE_MAP_A... | [
"18422432+weixu000@users.noreply.github.com"
] | 18422432+weixu000@users.noreply.github.com |
31cb6581a04fd455c37f651e216ff15316be0324 | 8722f2da8bc1a6b3e16ce5759f67ca292c0a7341 | /src/beast/beast/module/sqdb/detail/prepare_temp_type.h | 47f8dcd93fb7ea92008196c6ebfea92a84e98514 | [
"MIT",
"MIT-Wu",
"ISC",
"BSL-1.0"
] | permissive | waynezu/vpal20 | 010fbec860b6c4d8c775b8d637730580e842d597 | 8deef35521417cd4405d7bbadd030b89bd4fb91b | refs/heads/master | 2020-12-25T21:35:01.584301 | 2014-10-27T03:58:56 | 2014-10-27T03:58:56 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,568 | h | //------------------------------------------------------------------------------
/*
Portions of this file are from Vpallab: https://github.com/vpallabs
Copyright (c) 2013 - 2014 - Vpallab.com.
Please visit http://www.vpallab.com/
This file is part of Beast: https://github.com/vinniefalco/Beast
... | [
"meanz1235@gmail.com"
] | meanz1235@gmail.com |
500919b8ec05833958d4082afc03f8dcbfcd0afe | beea1cc7ede7d1908cb95f85885458e6ac90ab75 | /Example02/Example02/main.cpp | d07c7eaaad8b3122d5ee0a35cbaa4660fb31d7c7 | [] | no_license | MYOUTCR/OpenGL | 7b346bbfd72229778f604975a04c41beb4383051 | 439bd407fe113b9e3eb60ef1aa828b6585517732 | refs/heads/master | 2020-03-25T05:07:18.098748 | 2018-08-21T14:22:21 | 2018-08-21T14:22:21 | 143,430,215 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,159 | cpp |
#include "man.h"
#include <math.h>
#include<glut.h>
#include <stdio.h>
#ifdef _MSC_VER//隐藏控制台;
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
#endif
/*
将RGBA模式窗口清除为黑色;
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
glClearDepth(1.0f); //清除深度缓冲区
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER... | [
"cn_yhm@163.com"
] | cn_yhm@163.com |
ad7ccfe7a711d6ba6a371460a8cbb504236fefc7 | 2277375bd4a554d23da334dddd091a36138f5cae | /ThirdParty/Havok/Source/Common/Base/System/Io/Reader/Compressed/hkCompressedStreamReader.cpp | e3ab745c46c81ce7dba634b933f551e666e37ba5 | [] | no_license | kevinmore/Project-Nebula | 9a0553ccf8bdc1b4bb5e2588fc94516d9e3532bc | f6d284d4879ae1ea1bd30c5775ef8733cfafa71d | refs/heads/master | 2022-10-22T03:55:42.596618 | 2020-06-19T09:07:07 | 2020-06-19T09:07:07 | 25,372,691 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,662 | cpp | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"dingfengyu@gmail.com"
] | dingfengyu@gmail.com |
7b7a0033b05131deed07ae0f4223cc829146c861 | a46d23b1c03be1edf8127db532170580ae919b22 | /vm/media_server/VmSession.cxx | f1dc4e0fe79ebfbd4bdff90711c85c25cb95e0af | [
"BSD-2-Clause"
] | permissive | greearb/vocal-ct | 0e2935aa43d6bddf1506ad904d0cf61484724438 | 8c99a61930cc7c4887515ade518ad01022011a4e | refs/heads/master | 2023-08-19T05:26:24.583272 | 2023-08-12T00:08:06 | 2023-08-12T00:08:06 | 87,567,277 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,848 | cxx |
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"greear"
] | greear |
ac37e71e22d86e7fa465ab562fde89e4979af491 | b7c5c76614f31050d0919751182c4fa62415f729 | /src/arm_control_myo.cpp | bcd45a846d7f6520aba48bece807066bb212a23d | [
"MIT"
] | permissive | FProgrammerLIU/arm_control_myo | 4f501e205def8cfa51c5bf3509631a1bec14581c | 53ba9e69f9cc3c515a0a516d740c710deaf7e5c3 | refs/heads/master | 2020-06-28T05:06:28.886839 | 2019-08-02T02:16:28 | 2019-08-02T02:16:28 | 200,148,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,718 | cpp | #include "arm_control_myo.h"
IQR::ArmControlMyo::ArmControlMyo(ros::NodeHandle& nod) {
position_sub_ = nod.subscribe<sensor_msgs::Imu>("/myo_raw/myo_imu", 10, &IQR::ArmControlMyo::myoImuCallback, this);
finger_sub_ = nod.subscribe<ros_myo::MyoPose>("/myo_raw/myo_gest", 10, &IQR::ArmControlMyo::myoGestCallback, th... | [
"995536737@qq.com"
] | 995536737@qq.com |
aea9632d365285376c5a93855473f7d1622da57c | bc39fe77f82affcc39cf2a24ad827c13fd471e5f | /dorothy/event/oListener.h | 86eecc67aa4024c2276f5cdf33f7ab73b1240d4a | [] | no_license | pigpigyyy/Dorothy | c3a11323fe5b0f46f40955074cffbe28d824c0e8 | ac9eeaf84a5abb0b23de741b747e0fb970c78aba | refs/heads/master | 2022-04-29T09:02:48.788574 | 2022-03-03T08:29:04 | 2022-03-03T08:29:04 | 24,334,351 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,277 | h | /* Copyright (c) 2013 Jin Li, http://www.luvfight.me
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, publi... | [
"dragon-fly@qq.com"
] | dragon-fly@qq.com |
4d8305189f345dea6701db242aad7c25b485e4af | b1bd776261d43eea576c019fcd5b16f61d125df2 | /Include/Pxf/Extra/SimpleNet/SimpleServer.h | 2f80b98d3e138489e09888acb599cce7b2d79fab | [] | no_license | andsve/pxf | 2610c3b0c53b6e2b9e4d5d55130d1826e853255b | e9d3e7e3a2bf1f93c97d312b062f4f84703d4884 | refs/heads/master | 2016-09-06T02:44:01.214624 | 2010-07-28T15:45:03 | 2010-07-28T15:45:03 | 442,085 | 18 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | #ifndef __PXF_EXTRA_SIMPLESERVER_H_
#define __PXF_EXTRA_SIMPLESERVER_H_
#include <Pxf/Extra/SimpleNet/SimpleNet.h>
namespace Pxf
{
namespace Extra
{
class SimpleServer : public SimpleNet
{
public:
SimpleServer(char* _host, unsigned int _port, unsigned int _max_clients = 32);
~SimpleServer(... | [
"sweetfish@gmail.com"
] | sweetfish@gmail.com |
0ad78d89eaa42dd48631ce557401d07121c0c142 | 1591ce85de4ce2ea698c00f2a1f6f14ba69a6040 | /CGhw3/HelloTriangle/main.cpp | 1c394bccf994b4bb022494b0fc7d87ffbd9a02e8 | [] | no_license | hanxu1997/CG | 438d0d2b7de5eed8815fcec2f3c1ac86ff83b8ca | 84dba6f4929bd86f701d60f54a5fb17e10d0a03c | refs/heads/master | 2021-09-22T02:44:24.832200 | 2018-05-23T08:42:08 | 2018-05-23T08:42:08 | 125,519,814 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,909 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "imgui.h"
#include "imgui_impl_glfw_gl3.h"
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include "draw.h"
using namespace std;
// 顶点着色器源码
const char *vertexShaderSource = "#version 440 core\n"
"layout (locatio... | [
"807174205@qq.com"
] | 807174205@qq.com |
099de0cb76fd7166e484ccebc8c0e2c4e05efa51 | fd7552a7fa55d2cc0d9b50f63e31ee03a11c07e2 | /cppForLeetcode/733_FloodFill.cpp | e7e1c79dde264da236047e2415eb32ddc935d148 | [] | no_license | hanrick2000/leetCode-5 | 0828ad9655034b5fa90475c17f78d80ebe01d819 | 58ab36bb9b568c25ceafd5e3c2acae8057e3df0c | refs/heads/master | 2020-12-10T16:18:10.213237 | 2019-06-05T09:05:49 | 2019-06-05T09:05:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <vector>
#include <iostream>
using namespace std;
class Solution {
public:
vector<vector<int>> floodFill(vector<vector<int>>& image, int sr, int sc, int newColor) {
dfs(image, sr, sc, newColor, image[sr][sc]);
return image;
}
void dfs(vector<vector<int>> &image, int sr, int sc, int... | [
"zhuangliu1992@mail.dlut.edu.cn"
] | zhuangliu1992@mail.dlut.edu.cn |
ef3a53519b661229e883a166a501ec61b728176d | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/svecdvecadd/VCaVHa.cpp | 9b218499d1f1c2366d5c14860b0dc30629c4f838 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 3,988 | cpp | //=================================================================================================
/*!
// \file src/mathtest/svecdvecadd/VCaVHa.cpp
// \brief Source file for the VCaVHa sparse vector/dense vector addition math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is pa... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
1e77ff70e482673aec1ca4df4050439d18a52ab8 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/EtsEod/EtsEodServer/IvDataLoader.inl | 8b50bf603bae8f8be75bd9a735bbde86de62098e | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,093 | inl | #ifndef __IVDATALOADER_INL__
#define __IVDATALOADER_INL__
namespace EODIV
{
template <class _RequestData, class _ResultData>
void CIvDataLoader<_RequestData,_ResultData>::_Connect(EODSM::CSmSettingsMgrPtr pSettingsMgr)
{
Trace(EODCO::enTrLogDebug,__FUNCTION__,_T("Start"));
EODSM::CSmSettingsMgrPtr spSet... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
5c9a457ea476f330b1b07cd8e7318dfd609adb4a | 2bfddaf9c0ceb7bf46931f80ce84a829672b0343 | /src/xtd.forms/include/xtd/forms/link_label.h | 89b6e24ff1fbb4a4346e8f603d637a7c3f697fd0 | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | gammasoft71/xtd | c6790170d770e3f581b0f1b628c4a09fea913730 | ecd52f0519996b96025b196060280b602b41acac | refs/heads/master | 2023-08-19T09:48:09.581246 | 2023-08-16T20:52:11 | 2023-08-16T20:52:11 | 170,525,609 | 609 | 53 | MIT | 2023-05-06T03:49:33 | 2019-02-13T14:54:22 | C++ | UTF-8 | C++ | false | false | 20,349 | h | /// @file
/// @brief Contains xtd::forms::link_label class.
/// @copyright Copyright (c) 2023 Gammasoft. All rights reserved.
#pragma once
#include <tuple>
#include <xtd/any.h>
#include <xtd/drawing/system_colors.h>
#include "cursors.h"
#include "label.h"
#include "link.h"
#include "link_area.h"
#include "link_behavior... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
f0b4259c938c01f02862d4b43c746ba9dc9d2fbd | 1a6402e72d4b3997721d3bda96483f49c7aee888 | /src/device/OnMove200.h | 96412b1dd076186880e69aa9dac905e5b92ceff9 | [] | no_license | dinbo31/kalenji-gps-watch-reader | 981effc4e78c6cbac817761fa2a044582df700e1 | 666971527352ac7caae417961131896980403e7e | refs/heads/master | 2021-01-24T22:53:42.925248 | 2016-08-22T15:18:17 | 2016-08-22T15:18:17 | 67,545,072 | 0 | 0 | null | 2016-09-06T20:41:00 | 2016-09-06T20:40:59 | null | UTF-8 | C++ | false | false | 1,845 | h | #ifndef _DEVICE_GEONAUTE200_HPP_
#define _DEVICE_GEONAUTE200_HPP_
#include "Device.h"
namespace device
{
/**
The interface for OnMove 200 GPS watch.
*/
class OnMove200 : public Device
{
public:
OnMove200() {};
/**
Dump a message on stdout
*/
virtual void dump(unsigned char *iData, int iLe... | [
"colin.pitrat@gmail.com"
] | colin.pitrat@gmail.com |
ebe6fa0dc08487aeae2d8ab5a74bb53c087a43bb | 6d2c96c8184ea155bb128d72050be87e10a4163d | /Source/sandbox/map sandbox/backup-2/evidyonmaprenderer.cpp | e0a89880f142a16d0d09367917dbee31ba886e84 | [
"MIT"
] | permissive | karlgluck/Evidyon | 8dc144e3a011930ab1eba19b4c0eddf74339ef65 | 8b545de48a5b77a02c91d4bff7b6d6496a48ebb7 | refs/heads/master | 2023-01-04T08:22:47.493595 | 2022-12-31T18:24:55 | 2022-12-31T18:24:55 | 451,806 | 3 | 1 | NOASSERTION | 2022-12-31T18:24:56 | 2009-12-29T04:12:19 | Logos | WINDOWS-1252 | C++ | false | false | 37,887 | cpp | //---------------------------------------------------------------------------//
// This file is part of Evidyon, a 3d multiplayer online role-playing game //
// Copyright © 2008 - 2013 Karl Gluck //
// //
... | [
"karlgluck@gmail.com"
] | karlgluck@gmail.com |
9cbacee1a725f9dfaf29237e014bd5e5a7915d29 | 0c25ebbd28fb94c1331770e633b7c4dee1e75368 | /graphs/kuhn.cpp | 3bcb0e8b9519e3bd90c97ebdb30fb8c86c4fc3fa | [
"MIT"
] | permissive | hsnavarro/icpc-notebook | 80aed9cf76bd5bfc1661adc2f01191258934ce35 | 62adf49c023e9370daf395335078ead6c86c14fd | refs/heads/main | 2023-01-12T05:16:27.966693 | 2023-01-04T15:08:38 | 2023-01-04T15:08:38 | 155,461,220 | 0 | 0 | MIT | 2019-01-07T18:20:03 | 2018-10-30T21:54:32 | C++ | UTF-8 | C++ | false | false | 646 | cpp | // Khun (Maximum Bipartite Matching) - O(VE)
int n, cnt, vis[N], match[N], ans;
vector<int> adj[N];
bool find(int u){
if(vis[u] == cnt) return false;
vis[u] = cnt;
for(auto v : adj[u]) if(!match[v] or find(match[v])) return match[v] = u;
return false;
}
// Maximum Independent Set on bipartite gra... | [
"ricksnavarro@gmail.com"
] | ricksnavarro@gmail.com |
8cd79561b3128104e8b34b4915ca2ce2d0e64d45 | 90d2a91fd4931c6e0c8aca344c11dc43d7c00ebc | /3rd-party/yaml-cpp/src/scantoken.cpp | e2687838ee6ed8db45ffadfdbef22d615cdbde59 | [
"MIT",
"OML"
] | permissive | NavInfoNC/ncserver | 7fc412f967f9ccf15d2b6fc34513e6be57581d75 | 6713e6b78ea21d03d144652b48afe8b46db1e63c | refs/heads/master | 2022-01-02T05:25:40.615189 | 2021-12-29T10:03:41 | 2021-12-29T10:03:41 | 196,983,258 | 15 | 9 | MIT | 2021-12-02T09:42:49 | 2019-07-15T11:12:00 | C++ | UTF-8 | C++ | false | false | 12,512 | cpp | /*
Copyright (c) 2008-2015 Jesse Beder.
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, publish, distribut... | [
"zhangjs@mailbar.com"
] | zhangjs@mailbar.com |
e5eaef30ccff797325ce460fb8132d75c0fca79c | 37eb4fc9cc2d812f83a559a7d8855e949b47961a | /Best Time to Buy and Sell Stock .cpp | 124fe5fc472388120429f27062671ad77d88d4aa | [] | no_license | zeonyu/Leetcode | ef05c465225230c151bbbbcac4967b4427775928 | 9b1d33503842c53af7fbee80a2b7b6dd48aa29e7 | refs/heads/master | 2020-04-12T17:24:49.601288 | 2014-12-13T16:45:56 | 2014-12-13T16:45:56 | 28,000,924 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
int maxProfit(vector<int> &prices) {
if(prices.size() == 0)
return 0;
int minP = prices[0];
int result = 0;
for(int i=1; i < prices.size(); i++){
result = max(result, prices[i] - minP);
minP = min(minP... | [
"jimberxin@gmail.com"
] | jimberxin@gmail.com |
346a504531bf4a5e3c899e17047ec8f804647efa | 267ea693239fa860a5fd990f10cfd9d58a2b9485 | /vibe_ultimate/src/utils.cpp | 35bfee965c62f0312204761dd1f606f984544dca | [] | no_license | wavelet2008/vibe | b1c41704da1eaac22f105433296057044865906d | 437354cc22c7abd63dfe5d0d6123eb0aaa5d0829 | refs/heads/master | 2023-01-03T23:13:43.247778 | 2020-11-01T22:38:20 | 2020-11-01T22:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,371 | cpp | #include <iostream>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "utils.hpp"
// 返回格式化时间:2020/04/26 15:09:25
std::string getLocSTDTime() {
struct tm t; //tm结构指针
time_t now; //声明time_t类型变量
time(&now); //获取系统日期和时间
localtime_s(&t, &now); //... | [
"1218951642@qq.com"
] | 1218951642@qq.com |
aab27d16bea57d9227aa244d96815e3f522a15aa | 1f66c42a9c00e6c95656493abcb27c3d2c465cf5 | / mts-file-joiner --username thesuperstitions/InterprocessQueueTest/MessageQueue/Queue.cpp | 9d6c0dbb054e169f28dc442a483f809cc2723713 | [] | no_license | thesuperstitions/mts-file-joiner | b040dd5049cc0e8f865d49aece3e09e8cd56c7ae | 182b22968b589eeaa8a0553786cfa33f20a019e6 | refs/heads/master | 2020-05-18T18:52:58.630448 | 2009-04-08T11:33:57 | 2009-04-08T11:33:57 | 32,318,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Queue.h"
//#include "boost/bind.hpp"
//#include "boost/function.hpp"
#include "boost/thread.hpp"
//---------------------------------------------------------------------------
//----... | [
"thesuperstitions@a5dd5fbb-a553-0410-a858-5d8807c0469a"
] | thesuperstitions@a5dd5fbb-a553-0410-a858-5d8807c0469a |
e07a0084f61dd68a3e7c072ba8293ef99fee66e7 | 24b057c84c9884aca56cf5a0972cc908eaa016fe | /Pressure.cpp | e3d3e636202d5371c829bd229a0ba0078cb994a6 | [] | no_license | DanielS01ss/Tema-pclp-2 | df0504349cccdc16a34e14e9c1dd551e331fa049 | 9672c528873b4d4659cb34cc6fcedaf96bdc645c | refs/heads/master | 2023-05-07T18:08:53.076591 | 2021-05-18T16:22:52 | 2021-05-18T16:22:52 | 368,643,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | cpp | #include <iostream>
#include <time.h>
#include "Pressure.h"
using namespace std;
///vom genera un numar random in intervalul 300 1100 hPa
double Pressure::generateTemperature()
{
random_device rd;
mt19937 gen(rd());
uniform_int_distribution<> dis(30, 1100);
double random_num = dis(gen);
return random_num;
}
do... | [
"danystanculescu@gmail.com"
] | danystanculescu@gmail.com |
5ef512275c27caa8ed3083a036a770cacaef91ff | f77e59809d7dd872e2af1beebbabdb4e9d5a6ecf | /d01/ex01/ex01.cpp | 1ce3c09f604094460b33171125e4fa1f48222cf7 | [] | no_license | pouet/cpp-pool | 656518315c407f3f2fb27cb37a806d3a4c7ac5a5 | 588d120e9cddb39a9b4dab8723ce5e4370f9e2dd | refs/heads/master | 2021-01-18T22:19:29.693100 | 2017-04-13T08:49:33 | 2017-04-13T08:49:33 | 87,045,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include <string>
#include <iostream>
void memoryLeak()
{
std::string* panthere = new std::string("String panthere");
std::cout << *panthere << std::endl;
delete panthere;
}
int main()
{
memoryLeak();
return 0;
}
| [
"nchrupal@student.42.fr"
] | nchrupal@student.42.fr |
a2eb0ddace5a2872bac79f2dee1fbb0ddf83bbeb | 01a6f47e51251a3dc0988376905d45502c2de68f | /src/Vocabulary/save.cc | b21bb158d26439108eba5b2562559acf09b73261 | [
"Apache-2.0"
] | permissive | EgbertW/word2vec | 2adaa72aa9d9e23dfd21ff8adb09592c49d8b333 | 8cb284e3e4b958c4de1002657913eb15ab60a4b5 | refs/heads/master | 2020-06-25T18:35:42.348361 | 2017-12-14T22:50:30 | 2017-12-14T22:50:30 | 96,982,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cc | #include "vocabulary.ih"
#include <fstream>
#include <iostream>
#include <boost/format.hpp>
using namespace std;
namespace Word2Vec
{
/* Saves vocab & occurences */
void Vocabulary::save(string const &save_vocab_file, bool debug) const
{
ofstream output(save_vocab_file, ios_base::out | ios_base::... | [
"ewal@pointpro.nl"
] | ewal@pointpro.nl |
d832e837d8cddfb24c87188e74031a12a996a3cc | 4dad3b14f12d725f405899e71eb4aa816f6b50b4 | /zertco5/thread/ThreadLocal.h | 6c77ff4f739534de40ffd4be249377aed0a05146 | [] | no_license | ccitllz/zertcore5 | 0cdbcee3b7889e9477d7f461240a42d3212aa2bf | 9f6c9a352ce1526f7fd55cb546d6a5c5c0ebee7c | refs/heads/master | 2023-04-13T22:25:05.558013 | 2015-11-05T12:34:07 | 2015-11-05T12:34:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,518 | h | /*
* ThreadState.h
*
* Created on: 2014��12��22��
* Author: Administrator
*/
#ifndef ZERTCORE_THREADSTATE_H_
#define ZERTCORE_THREADSTATE_H_
#include <pch.h>
#include <utils/types.h>
namespace zertcore { namespace concurrent {
namespace helper {
static inline bool isInThread() {
retur... | [
"warriorguo@gmail.com"
] | warriorguo@gmail.com |
9cebcb10c8969a69d5a51ca83da80431cc1974f0 | 0bb2876a278f069aed3f353fe3e3c09261138801 | /Generic Tree/Size_Of_Generic_Tree.cpp | 2636f0816e711ba646ed761123a63221d98c0c16 | [] | no_license | ranveerraj248/DS-Algo-Basic | 8de95240ff25a7c36852eb690b020009365e40c5 | 2339ce00c2929fc354a57c8d600ea7f0e34964fe | refs/heads/main | 2023-06-25T14:04:56.938052 | 2021-07-29T03:55:11 | 2021-07-29T03:55:11 | 390,592,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | // 1. You are given a partially written GenericTree class.
// 2. You are required to complete the body of size function.
// The function is expected to count the number of nodes in the tree and return it.
#include <iostream>
#include <vector>
#include <stack>
#include <string>
using namespace std;
class Node
{
public:
... | [
"ranveerraj248@gmail.com"
] | ranveerraj248@gmail.com |
760979e637c49cd061438e7eee60cd1485f17498 | 61f81f1d0c79a06ea7acfbfabd8c76bd4a5355e0 | /OpenWAM/Source/Boundaries/TCCExtremoInyeccion.h | c78e3695f86fe8202f41a11d0cf3f3fae653f3e9 | [] | no_license | Greeeder/Program | 8e46d46fea6afd61633215f4e8f6fd327cc0731f | b983df23d18a7d05a7fab693e7a9a3af067d48a5 | refs/heads/master | 2020-05-21T22:15:32.244096 | 2016-12-02T08:38:05 | 2016-12-02T08:38:08 | 63,854,561 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,906 | h | /* --------------------------------------------------------------------------------*\
==========================|
\\ /\ /\ // O pen | OpenWAM: The Open Source 1D Gas-Dynamic Code
\\ | X | // W ave |
\\ \/_\/ // A ction | CMT-Motores Termicos / Universidad Politecnica Valencia
\\/ \// M odel ... | [
"greeeder@gmail.com"
] | greeeder@gmail.com |
37f9ec4a19b3795be4dbc3f46e1cddd31273efae | 2962f164cecb440ecd905ab9f3cc569c03a01ad5 | /RtspPlayer/assemblies/sunell/include/ConverseParam.h | c5e052eab438407000e891fc121eab4a3d4c3b2a | [] | no_license | paxan222/hello-world | 5ef9bd04a5c4337c1403a04973e2c0c11665bb26 | c55c60e0f72a04e1e2560dc19c2a6bbd7e8b430f | refs/heads/master | 2020-12-11T21:09:30.200433 | 2017-05-04T08:39:53 | 2017-05-04T08:39:53 | 55,044,669 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,767 | h | #ifndef _CONVERSE_PARAM_H
#define _CONVERSE_PARAM_H
#include "IntelligeBaseParam.h"
#include "DomainConst.h"
//#include <vector>
#include "ConverseRegionParam.h"
#include <vector>
/**********************************************************************/
//此处用于控制文件编译字节对齐,拷贝时两行注释间内容需一起拷贝,
//结束处的“#ifdef PRAGMA_PACK”部分也要一起... | [
"paxan222@yandex.ru"
] | paxan222@yandex.ru |
12dc090dda314e1e65c8b6b7d267ab9b11e12bd1 | d762fb9442c5d997fad75991b2184fe5b0ea3569 | /catkin/devel/include/roboy_cognition_msgs/TrainSeq2SeqResponse.h | b2fdacb24c9fd86062fe23fa84df7c39ec7265c9 | [] | no_license | Roboy/roboy_hand | b349f5ab9120a1cdd6c703ccaa47a4b7755d6841 | c647113e4e1bde685485d7d0b48bd065be9b8e83 | refs/heads/master | 2020-12-22T14:14:24.973777 | 2020-08-20T15:49:45 | 2020-08-20T15:49:45 | 131,862,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,730 | h | // Generated by gencpp from file roboy_cognition_msgs/TrainSeq2SeqResponse.msg
// DO NOT EDIT!
#ifndef ROBOY_COGNITION_MSGS_MESSAGE_TRAINSEQ2SEQRESPONSE_H
#define ROBOY_COGNITION_MSGS_MESSAGE_TRAINSEQ2SEQRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializatio... | [
"Michael.Sausmikat@gmx.at"
] | Michael.Sausmikat@gmx.at |
b0f334c30348ea4a92f0cab983e634378252a7be | 8a50a32e7d34df7b6430919bcdd7b971d3baac64 | /v0.1.1/WPJSprite.cpp | a9c0653ed4eba4329f97c437cfea36acced7e4ed | [] | no_license | woudX/WPJ | 6f0ea0705f38245c9741e7cbde5846b3b2758519 | ec670b8d1f2d42b2723e1463a50a00b887b4a80e | refs/heads/master | 2016-09-16T02:05:34.377895 | 2014-08-14T05:08:24 | 2014-08-14T05:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,757 | cpp | #include "WPJSprite.h"
#include "WPJGarbageCollection.h"
#include "WPJDirector.h"
#include "WPJTextureManager.h"
USING_NS_WPJ
WPJSprite::WPJSprite()
:m_ucDrawFlag(0)
,m_obBlendFunc(def_blend)
{
}
WPJSprite *WPJSprite::CreateNewObject()
{
WPJSprite *t_pSprite = new WPJSprite();
t_pSprite->AutoRelease();
return... | [
"jccgls001@126.com"
] | jccgls001@126.com |
6c62ca4a40a5264697c25caff987c1de7e053720 | 844969bd953d7300f02172c867725e27b518c08e | /SDK/BP_fod_Wrecker_03_RoseRaw_00_a_ItemDesc_classes.h | a9b9c7fa5a93b62557df2d0baeac16f58d1fa762 | [] | no_license | zanzo420/SoT-Python-Offset-Finder | 70037c37991a2df53fa671e3c8ce12c45fbf75a5 | d881877da08b5c5beaaca140f0ab768223b75d4d | refs/heads/main | 2023-07-18T17:25:01.596284 | 2021-09-09T12:31:51 | 2021-09-09T12:31:51 | 380,604,174 | 0 | 0 | null | 2021-06-26T22:07:04 | 2021-06-26T22:07:03 | null | UTF-8 | C++ | false | false | 877 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"51171051+DougTheDruid@users.noreply.github.com"
] | 51171051+DougTheDruid@users.noreply.github.com |
0087290c9dbe1a9e69ab4357e508c5975026e880 | 5bc1734f001bab6c218380e1bfe47b1296f82c25 | /components/filesystem/file_system_app.cc | 662d2e2a3e328abc9b5dec06a6bc3bbbec705328 | [
"BSD-3-Clause"
] | permissive | littleblank/chromium-1 | 9b0f509101df45d512ccda05c374b92a9ba8e653 | 91272670b07051ea6aa323c14598977c9a82942a | refs/heads/master | 2023-01-10T05:42:31.430896 | 2016-02-06T19:09:57 | 2016-02-06T19:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,944 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/filesystem/file_system_app.h"
#include <utility>
#include "base/bind.h"
#include "base/logging.h"
#include "mojo/shell/public/cpp/a... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0306c243af96914da301d5109da74c4e929a19dd | 3015bd4562c4b8cd2918c0ad1e7a76f4ef724829 | /vt100/vt100/translate/unicode_table.cpp | bb86572bb5f2eee058d0be53d0f3dbf4cb339bb6 | [] | no_license | liaowen9527/vt100 | fb2b3d724b23d7b0794ffc99013856bcfce503ae | 8bc580a9ddbd577aa74edb128529dbc1cf62eb83 | refs/heads/master | 2020-08-14T19:05:56.340982 | 2019-11-04T08:15:00 | 2019-11-04T08:15:00 | 215,219,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,258 | cpp | #include "unicode_table.h"
#include "cp_list.h"
#include <windows.h>
bool is_direct_char(wchar_t ch)
{
return (ch & 0xFFFFFC00) == 0xD800;
}
bool is_direct_font(wchar_t ch)
{
return (ch & 0xFFFFFE00) == 0xF000;
}
unicode_table::unicode_table()
{
memset(m_unitab, 0, sizeof(m_unitab));
}
unico... | [
"liaowen@netbrain.com"
] | liaowen@netbrain.com |
ba73d43c88a391868b80a59d7a8c120470f3dea4 | 27bea471be3aa45d0ab783b1bad3e974935b8ffb | /EXAM/2/Circle.cpp | ea0124e548a67fa2d9d096b6cabefd337dc78b3e | [] | no_license | cryzzer/FMI-Semester-2-OOP-Materials | b2b72a43dde9104641af04834fcdea266cd3b7f9 | fceb3e23e2637a0ca9c1e18400d0c83f8cd6938d | refs/heads/main | 2023-06-05T10:52:28.901725 | 2021-06-16T13:08:39 | 2021-06-16T13:08:39 | 350,471,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | //
// 62518
//
#include "Circle.hpp"
Circle::Circle(double radius, const std::string &color) : Figure(color), radius(radius) {
}
double Circle::getRadius() const {
return radius;
}
double Circle::calculateArea() const {
const double PI = 3.14;
return radius * radius * PI;
}
Figure *Circle::clone() {
... | [
"dpnenkov29@abv.bg"
] | dpnenkov29@abv.bg |
46607ab3c032d1cd8e1bb1b4fd6d46e9574fa98a | aebdeec131ff839c713335791c39c576202b103e | /sneek/ServoLX.h | 35b7db6a868e46eb3bd6c9ac706359541a1c0cbb | [] | no_license | osresearch/sneekbot | 854c450f971a83dc205a825e5ef25b6b80e24fed | 196888662aaae53303cf5a907fa0702e3853a5e1 | refs/heads/master | 2021-08-19T04:20:44.666742 | 2017-11-24T18:49:54 | 2017-11-24T18:49:54 | 111,362,626 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | h | /** \file
* LX-16A bus servo control library.
*
* Uses the hardware serial port on the Arduino.
*/
#pragma once
#include <SoftwareSerial.h>
#define SERVOLX_BROADCAST 0xFE
#define SERVOLX_TIMEOUT 0x8000
typedef struct {
uint8_t hdr0; // 0x55
uint8_t hdr1; // 0x55
uint8_t id;
uint8_t len;
uint8_t cmd;
uint... | [
"hudson@trmm.net"
] | hudson@trmm.net |
1eed5ab755d3ecfd2ec9948130fd4a5e3ee49cd9 | e564e3725e08164276f1bf3deb9bb69ba6888dd8 | /RadixSort/RadixSort.cpp | 4f9c07810ab2e989a74335de42839d1da7ab5be0 | [] | no_license | OZoneSQT/Data-Structures-and-Algorithms | 8cf5e8d25e74ae2a43e2310ea8d3d8d06b057437 | b1ce66f1068db79b4b55992be294c5b6cc23cf08 | refs/heads/master | 2021-01-05T05:02:15.939957 | 2016-11-27T22:46:49 | 2016-11-27T22:46:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,781 | cpp | // RadixSort.cpp : Defines the entry point for the console application.
//
//
// C++ Program To Implement Radix Sort
//
#include<iostream>
#include <cstdlib>
using namespace std;
// A utility function to print an array
void print(int arr[], int n)
{
printf("{ ");
for (int i = 0; i < n; i++)
printf("%03d, ", arr[i... | [
"prince.chrismc@gmail.com"
] | prince.chrismc@gmail.com |
65aa02d63d963e48b3a8628c264b5816fd3cc5b6 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2453486_0/C++/Poldnev/A.cpp | b662992fb8b1358fa5e293f22bcee2a6f45f8e03 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,593 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
#include <utility>
#include <set>
#include <map>
#include <numeric>
#include <cstdio>
#include <cstring>
#include <iomanip>
using namespace std;
#define pb push_back
ifstream in("A-small-attempt0.in");
ofstream out("output.txt");
const i... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
51178d064a69ee19cd977791a14a11d92bd27e2c | 31c6052b8b6311c450b145f4aefbeeba37f14b62 | /cpp-cgdk/Simulator.cpp | 29820d27e242f94c66be85227ad67c61cbcbed4e | [] | no_license | victor-istomin/CodeBall | 6f9db46f99b9b9577365fb002ff4610cb5beb17f | 52f9620675374b45bbc107a391b4e413fd506e8a | refs/heads/master | 2020-04-12T03:01:22.695603 | 2019-11-07T15:48:27 | 2019-11-07T15:51:19 | 162,261,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,230 | cpp | #include "Simulator.h"
Simulator::Dan Simulator::dan_to_plane(const Vec3d& point, const Plane& plane)
{
return Dan{ linalg::dot(point - plane.point, plane.normal), plane.normal };
}
Simulator::Dan Simulator::dan_to_sphere_inner(const Vec3d& point, const Sphere& sphere)
{
return Dan{ sphere.radius - linalg::l... | [
"victor.send.mail.here@gmail.com"
] | victor.send.mail.here@gmail.com |
6612d5f0c37eeb2c5af9cbf974daa5f50164d320 | 4387adc458a01517dc765044548e5cb3c694d632 | /2. doodle/두들낙서/75_/77-2_1.cpp | 5d52634810d415a7ce67887669c28c53b749d7a5 | [] | no_license | seonghyun-code/C-Cpp | 2c064bdd021f1f4f904fa4d7f8b4cdae56ce16de | 319ebdb3cccd6dc9b6c325f70a794010f02f4a8d | refs/heads/main | 2023-07-25T13:35:01.864590 | 2021-09-09T17:17:56 | 2021-09-09T17:17:56 | 367,944,607 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 887 | cpp | /* 정적 바인딩 */
#include <iostream>
using namespace std;
class Base {
public:
void Print() {
cout << "From Base!!!" << endl;
}
};
class Derived : public Base {
public:
void Print() {
cout << "From Derived!!!" << endl;
}
};
/*
int a;
char* p;
p = &a; // 타입 에러!
*/
Derived d;
Base* b ... | [
"za1idom@gmail.com"
] | za1idom@gmail.com |
a77d158b36f4073ee0d30e90ca4febd4abe1e32e | ebacf55bc92743cd6dd84118fee6b2c261adbbb8 | /src/Pixel.cpp | 92f23123fbbb8d54bc861af89b85f73ae8e48d39 | [
"MIT"
] | permissive | Sodacooky/AutoSnake | 516b8535f38935bac9c793e69a1a3861af373dfc | 09229b800ea6cf73779e8b36b8d7dad9a1e38261 | refs/heads/master | 2023-05-09T22:32:45.824441 | 2021-06-03T09:07:43 | 2021-06-03T09:07:43 | 373,446,758 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | #include "Pixel.h"
// sdl
static SDL_Window* sg_pWindow;
static SDL_Renderer* sg_pRenderer;
// window size
static SDL_Rect sg_rectWindow;
// pixel(block) size
static int sg_nPixelSize;
// pixel world size
static int sg_nMapWidth, sg_nMapHeight;
void Pixel::Init(int mapWidth, int mapHeight, int pixelSize)... | [
"523379653@qq.com"
] | 523379653@qq.com |
c8ead734cf1e9bc00c8e93b961b74ee1ee93c8f6 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chromeos/dbus/fake_shill_manager_client.cc | 95486b5d7d141d11722f7e06d99a037a51be55b6 | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 24,274 | cc | // Copyright 2013 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 "chromeos/dbus/fake_shill_manager_client.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#i... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
5f64db6494f2f6ec914237b4d1b4264d48ba2001 | c7271d97a6d602fa042025347fce63098ad8bb39 | /src/node.hh | 6fcb07b0d2369b4fa7860ff23f780630e035721f | [] | no_license | wilhelmtell/libyamlpp | a4dfc9fa44a61e32614723b26d571d324ea3ec21 | 525c1d065af894862be301713b4d62c22d778ae4 | refs/heads/master | 2020-05-18T11:39:03.314753 | 2008-12-27T23:48:18 | 2008-12-27T23:48:18 | 50,357 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 214 | hh | #ifndef SRC_NODE_HH_
#define SRC_NODE_HH_
namespace yaml {
namespace syn {
/// The base of the syntax tree hierarchy for YAML data.
class node {
};
} // namespace syn
} // namespace yaml
#endif // SRC_NODE_HH_
| [
"matan.nassau@gmail.com"
] | matan.nassau@gmail.com |
c5b9b7a4c01243890c85bfea98396fbac6ff9538 | 73935c1814a8fe260167d4aa1b01d39de72f5c0f | /src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo_the_godbreaker.cpp | e6b7f76f97a2bc5b89a824b74e21ede05621254b | [] | no_license | planee/Mop-548 | e794ed978237f355efa813c2be8f8fb14d1907dc | a852cc0be53fcc2951b51452e3ebaa9f1d7d7397 | refs/heads/master | 2022-12-23T01:08:51.566255 | 2020-09-25T03:55:52 | 2020-09-25T03:55:52 | 298,549,776 | 1 | 7 | null | 2020-09-25T11:10:28 | 2020-09-25T11:10:27 | null | UTF-8 | C++ | false | false | 28,672 | cpp | #include "ScriptPCH.h"
#include "zulgurub.h"
enum JindoScriptTexts
{
SAY_AGGRO = 0,
SAY_DEATH = 1,
SAY_KILL_1 = 2,
SAY_KILL_2 = 3,
SAY_PHASE_2 = 5,
SAY_SPAWN = 6,
SOUND_HAKKAR_BREAK_CHAIN... | [
"kevinlopez151004@gmail.com"
] | kevinlopez151004@gmail.com |
fdc909c31e5f0d08e001782765ddd0ee3a5265bb | 87198dd0672148a73a081517c9edfc8bc97fb010 | /index/doc/Document.h | 3d66e52a7f2434834347aa8b60ab5b1ce2280f47 | [
"Apache-2.0"
] | permissive | Da-Huang/Search-Engine | 77f256020722c732f0a58e489a830d326d87685b | 5f1faed6c49adb7f3cc2199c33dbe6bc7094c932 | refs/heads/master | 2020-12-30T09:38:11.760564 | 2015-01-24T04:53:07 | 2015-01-24T04:53:07 | 16,644,415 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | #ifndef _DOCUMENT_H_
#define _DOCUMENT_H_
#include <map>
#include <string>
#include <Field.h>
using namespace std;
class Document {
private:
map<string, Field&> fields;
double staticScore;
public:
Document() : staticScore(0) {}
// Field& getField(const string &fieldName);
virtual string get(const string &fieldNa... | [
"dhuang.cn@gmail.com"
] | dhuang.cn@gmail.com |
1e436c31022e8b0c8f215e469bc0ef5e499eb05a | d0a67e8d43b5e706749adaa4715350e2dfc5784a | /algorithms/syrk/syrk_harness.cpp | b8ec8c5f59eb4f63251bee553f6dc7ce9932c153 | [] | no_license | dose78/FRPA | 193769005cfa62f662582b525b014ec30f4dbde2 | e7e1e170440f4b38746b2a6438d5bf4df57ec6b6 | refs/heads/master | 2020-04-05T23:45:48.187623 | 2014-01-22T02:00:03 | 2014-01-22T02:00:03 | 6,571,743 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | #include "harness.h"
#include "framework.h"
#include "SyrkProblem.h"
void initialize(double *C, double *A, double *C2, double *A2, int n) {
srand48(time(NULL));
for(int i = 0; i < n*n; i++) { A[i] = A2[i] = 2 * drand48() - 1;}
for(int i = 0; i < n*n; i++) { C[i] = C2[i] = 2 * drand48() - 1;}
}
int main(in... | [
"davideliahu@gmail.com"
] | davideliahu@gmail.com |
ca307630eff1591471980d2fd058807ae3d00943 | d6301c557b112bd6aa69ffbf6a0d25f1474f590c | /C/danei/day09/parent.cc | 6936988995564e67475b34b3cefccf0d5c5ba578 | [] | no_license | awubo/C-language | f82d42a8bf300f5032c3983f29d17020ecb9eb3e | 1ce412414b73b5f0c933e4cd796d8295a2911e22 | refs/heads/master | 2021-01-01T05:15:09.179517 | 2016-06-01T01:06:24 | 2016-06-01T01:06:24 | 58,862,274 | 0 | 0 | null | 2016-05-15T13:43:05 | 2016-05-15T13:12:51 | null | UTF-8 | C++ | false | false | 507 | cc | #include<iostream>
using namespace std;
class parent
{
int mp;
public:
parent():mp(0)
{
cout<<"parent() "<<mp<<endl;
}
parent(int d):mp(d)
{
cout<<"parent(int d) " <<mp<<endl;
}
~parent()
{
cout<<"~parent()"<<endl;
}
};
class child:public parent
{
double mc;
public:
child():mc(0.0),parent()
... | [
"7329422@qq.com"
] | 7329422@qq.com |
07625f09b9754820beab80f3e5f90265dbe8637d | 786de89be635eb21295070a6a3452f3a7fe6712c | /XtcInput/tags/V00-01-00/src/XtcStreamMerger.cpp | cf36f7ce682b949994a7c836aa9080cdc4c3b232 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,222 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class XtcStreamMerger...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
//-----------------------
// Thi... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
85bcee703a9dfb29a570cd7fbb6eaa696b9c053c | 10b4db1d4f894897b5ee435780bddfdedd91caf7 | /thrift/compiler/generate/t_mstch_rust_generator.cc | 0ed9af52f4b6f4bf0bfaf01fd294333bc99212d6 | [
"Apache-2.0"
] | permissive | SammyEnigma/fbthrift | 04f4aca77a64c65f3d4537338f7fbf3b8214e06a | 31d7b90e30de5f90891e4a845f6704e4c13748df | refs/heads/master | 2021-11-11T16:59:04.628193 | 2021-10-12T11:19:22 | 2021-10-12T11:20:27 | 211,245,426 | 1 | 0 | Apache-2.0 | 2021-07-15T21:12:07 | 2019-09-27T05:50:42 | C++ | UTF-8 | C++ | false | false | 59,641 | cc | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
a7512992c676307fc4fd23d85d425bd6a65bf1e4 | c8a66d0dea87c183d8ce20efa918278bc711ccdb | /include/locomotion-planner/NumericalIntegrationConstraints.hpp | bade3b7c88e9ed8628b6a6569214e61d97ea9bed | [] | no_license | EricWang1hitsz/locomotion-planner | 3773d1f46b3e64abae86ec38250bc8c3a8c742e6 | 901485b7125c33151ea6c3ea7dfbcb982c2859c0 | refs/heads/master | 2021-09-16T01:46:51.284623 | 2018-06-14T12:59:30 | 2018-06-14T12:59:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | hpp | #ifndef NUMERICAL_INTEGRATION_CONSTRAINTS_H
#define NUMERICAL_INTEGRATION_CONSTRAINTS_H
#include <Eigen/Dense>
class NumericalIntegrationConstraints
{
public:
/** @brief Constructor function */
NumericalIntegrationConstraints();
/** @brief Destructor function */
virtual ~NumericalIntegrationConstra... | [
"romeo.orsolino@iit.it"
] | romeo.orsolino@iit.it |
4f6635b5b5680d882bec349dc95836f663bd6941 | e4dc59dae7503983c9f9b86d4521b0b3f3fee332 | /Game/RocketTrail.h | 43e0d2d51ebffb21e0a21feedd1120d61dd8596b | [] | no_license | bogsen/Hilltop | 9a3e0b8f0c35bfc37765cf6b7312702776340671 | b2273b913ecfa68e76a100d9b60099172fe898ba | refs/heads/master | 2021-06-12T19:44:15.126225 | 2017-01-15T13:40:48 | 2017-01-15T13:40:48 | 76,193,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | #pragma once
#include "Game/Entity.h"
namespace Hilltop {
namespace Game {
class RocketTrail : public Entity {
private:
friend class boost::serialization::access;
template<class Archive>
friend inline void load_construct_data(Archive &ar, RocketTrail *t, const unsigned int);
template<class Archive>
... | [
"me@bogdacutu.me"
] | me@bogdacutu.me |
bde040abddc595b04d31046943cb81e54956d259 | cdff79240be45d4f701248152ea54ffb8f1c3a07 | /sample_code/ipc/v_ipc/semaphore/semaphore.c | dcdead4a3c986073730b2266276a5e74a366b01d | [] | no_license | wanggong/self_code | 693fed815c0ad79cacc0376eed53a1c2db7fd02c | d4f3d1221d521b6bd4f4e52a45622eb54a4217cb | refs/heads/master | 2020-04-06T02:38:50.807665 | 2020-02-22T07:22:30 | 2020-02-22T07:22:30 | 12,781,553 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,439 | c | #include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/sem.h>
union semun
{
int val;
struct semid_ds *buf;
unsigned short *arry;
};
static int sem_id = 0;
static int set_semvalue();
static void del_semvalue();
st... | [
"wanggongzhen@LEADCORETECH.COM"
] | wanggongzhen@LEADCORETECH.COM |
de56f0584729dcb3a5a20dd121090a351f2f4837 | 5f52de367bb087a48b55c3ce4ed94076eb985125 | /numeric/garner.cpp | f3340a8374e70106dda118da1a1c121436fa74a3 | [] | no_license | rajeevranjancom/algo-lib | 778825661825ef5a670c0fcc678453debc8e30b8 | 7dd6db9f799983637f3cb2f807d72a8cc89d0a57 | refs/heads/master | 2023-09-03T15:29:23.922020 | 2021-10-06T03:53:01 | 2021-10-06T03:53:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | /*
* Garner's algorithm: finds the unique v modulo prod(MODS)
* such that v is congruent to n[i] modulo MODS[i] for all i.
* Elements of MODS should be pairwise co-prime.
*/
template<typename V> V crt(const vector<V> MODS, const vector<V> n) {
auto inverse = [](V M, V n) {
V g = M, x = 0, y = 1;
... | [
"saketh.are@gmail.com"
] | saketh.are@gmail.com |
eec4e2dd83d6eeeb33ed60cd868698a661db190f | 0ef9b541ae3e880b8036c069968cb77d78f088fa | /World.cpp | a999be4497a48467dce45b55cccdf2b77695ab5a | [] | no_license | mannsi/Pong | 7e1ba3e450b4dc01ecf183ab8de95d2c1c64d925 | 47a91513d6bb90024a443ce97422ca77f8a4bd9c | refs/heads/master | 2021-03-12T23:15:41.230325 | 2014-11-13T14:49:58 | 2014-11-13T14:49:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #include "World.h"
#include <iostream>
#include "Collision.h"
using namespace std;
void World::run_world_loop()
{
//cout << "Run world loop" << endl;
update_world();
}
void World::key_pressed(char key)
{
if (key == _keyMapping.LeftMoveDownKey)
commands.push_back(LeftMoveDown);
else if (key ==... | [
"mannsi1983@gmail.com"
] | mannsi1983@gmail.com |
1d4229bc7d3fc469693cc847afd83985049f3f75 | a8deaa8ba25d67d87e350453f91e1edbc88609bb | /headers/List19.hpp | ea998ad2b1074fa00bb41bf724dcd9fd99b89230 | [] | no_license | Jethrain/NecroDancerHeaders | bae49de38580dac795bc26b2f7e76a243a0dbb73 | 57d13d95192884b6d18e0503cbad2d491c3a7a64 | refs/heads/master | 2020-04-02T23:18:35.731752 | 2018-10-26T15:39:11 | 2018-10-26T15:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,268 | hpp | // Generated automatically. Do not edit!
#ifndef _List19_
#define _List19_
template<class T> class Array;
class Enumerator36;
class ItemObject;
class Node29;
#include "Object.hpp"
class List19 : public Object {
public:
Node29 * _head;
// Wrappers
List19() {
ptr::CSTR_List19(this);
}
inli... | [
"adam@zambrzycki.net"
] | adam@zambrzycki.net |
92cb7be36e247ebac6b69b5c589022cbbb73756e | d1c046ad796e14730f7e7b725d3ac4cb59a11b68 | /voxel/LibS/Common.h | 55f61ee630620c360811a64d8c9b38d146ab1d3c | [] | no_license | Sopel97/voxel | cfc0881c2eabe51c80768c735681e980d52cda22 | db068c87884a678fe7e3cf5abd7ae87e5a843903 | refs/heads/master | 2020-04-11T05:40:09.847885 | 2018-04-26T22:00:38 | 2018-04-26T22:00:38 | 161,556,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | h | #pragma once
namespace ls
{
template <class T>
constexpr bool almostZero(const T& val, const T& tolerance)
{
using std::abs;
return abs(val) <= tolerance;
}
template <class T>
constexpr bool almostEqual(const T& lhs, const T& rhs, const T& tolerance)
{
using std::ab... | [
"ts.tomeksopel@gmail.com"
] | ts.tomeksopel@gmail.com |
c99f17f9d67b5e2df052b72460c86b57c1e79822 | cc7ba93904292fc403d0afc152be53d12546c07e | /tests/is_nothrow_copyable/overview.cpp | f0f43ef70587db46e9a8c5984ada7bc7861e3f3d | [
"MIT"
] | permissive | SeanTBooker/bsl | d760e0d227a554c1046d1a5ccdda319fc77651fb | 0406b10a6b6dacde00f0649ea37b42a2ba31362b | refs/heads/master | 2023-03-09T04:26:05.079134 | 2021-02-19T20:01:26 | 2021-02-19T20:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,469 | cpp | /// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... | [
"rianquinn@gmail.com"
] | rianquinn@gmail.com |
5f3c0ca9d506875b4fab5ae6455b0b0e76480826 | 38c10c01007624cd2056884f25e0d6ab85442194 | /chrome/renderer/safe_browsing/phishing_term_feature_extractor.h | d85cea9a171ed2aa2cccc4d0e7c51c8adb3f6aba | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 7,194 | h | // Copyright (c) 2011 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.
//
// PhishingTermFeatureExtractor handles computing term features from the text
// of a web page for the client-side phishing detection model. To do ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
74e79bc669cddbddcae2dcb42ee02431fabdea70 | 300f601e3cb51dc85b61347e2350464e6f4def1a | /151a.cpp | f01d50aed787760d2ba63e551a936a9e79aa9336 | [] | no_license | websopon24/19701073_Md_Sopon_Abdullah | dc60d03e2c7a624beddca5e86001ff1de03e2755 | 57a85a3600ad4c8bc08595a34f495f6bcb3f59d6 | refs/heads/main | 2023-08-25T12:25:17.379063 | 2021-10-27T12:45:12 | 2021-10-27T12:45:12 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 258 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios::sync_with_stdio(0);
int n, k, l, c, d, p, nl, np;
cin>> n>> k>> l>> c>> d>> p>> nl>> np;
int sum = min(k*l/nl,min(c*d,p/np));
cout<<sum/n<<endl;
return 0;
}
| [
"websopon24@gmail.com"
] | websopon24@gmail.com |
94f02d6f2743534b6c29b6e0d000eb5e7e5ca7fb | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s04/CWE23_Relative_Path_Traversal__wchar_t_environment_w32CreateFile_62b.cpp | 787f52810c90299f91b798a51ac87aff2406f888 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,734 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__wchar_t_environment_w32CreateFile_62b.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: environment Read i... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
4eab118809fe6446bf9a1b68d8572e3b2a05a266 | e3f910557de345d566a415415b2f06352d92433a | /depends/AngelScript/tests/test_feature/source/test_objhandle2.cpp | 2a987facb75b9276b8137a70bd3f8998fdb36d9a | [] | no_license | arahomex/UModSys | fe5a9d94f9a6176baacddcf4f5ed7f868b160f36 | 7cb49641c67f63225d0d1257017cf7a6d459e785 | refs/heads/master | 2020-12-24T06:32:23.979069 | 2016-11-24T13:27:31 | 2016-11-24T13:27:31 | 73,475,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,810 | cpp | #include "utils.h"
namespace TestObjHandle2
{
static const char * const TESTNAME = "TestObjHandle2";
static const char *script1 =
"void TestObjHandle() \n"
"{ \n"
" refclass@ b = @getRefClass(); \n"
" Assert(b.id == int(0xdeadc0de)); \n"
... | [
"none@none"
] | none@none |
adc01805baaed597dada55fee38ab81376ef075c | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restsdk/generated/model/ComDayCqWcmWorkflowImplWcmWorkflowServiceImplProperties.cpp | 4b549bbe4efd483b269016f802b428ce8007db1d | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 12,498 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
8357abaf3e88fe2b98aceb2f0799fbb0693511c1 | 9f7acf6fa85d779f8eb412f2c43ddca834ced773 | /ds_and_algorithms/src/LinkedList.h | 91c4cd48d1201c7d72f313afe344fcc6c0f610c8 | [] | no_license | Provmawn/ds_and_algorithms_moderncpp | 0c7bcc3645606065a0bff3f2f28fcf734c4f6f40 | 01d1142d54858a16afa6c15881bfa60aac6a95bb | refs/heads/master | 2022-12-07T00:54:03.211138 | 2020-08-22T18:54:33 | 2020-08-22T18:54:33 | 286,497,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,938 | h | #ifndef LINKEDLIST_H
#define LINKEDLIST_H
#include "Node.h"
#include <cassert>
#include <initializer_list>
#include <iostream>
#include <iterator>
template<typename T>
class LinkedList
{
public:
LinkedList();
LinkedList(LinkedList &&linked_list);
LinkedList(std::initializer_list<T> list);
~LinkedList();
bool emp... | [
"provmawn@gmail.com"
] | provmawn@gmail.com |
e6854223ee8407581c6f5571898dfc206b1fe71a | 090243cf699213f32f870baf2902eb4211f825d6 | /cf/622/B.cpp | 7f0e72dc1cfd4f39a80ba7e1d711b59e5c18ffdb | [] | no_license | zhu-he/ACM-Source | 0d4d0ac0668b569846b12297e7ed4abbb1c16571 | 02e3322e50336063d0d2dad37b2761ecb3d4e380 | refs/heads/master | 2021-06-07T18:27:19.702607 | 2016-07-10T09:20:48 | 2016-07-10T09:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | #include <cstdio>
int main()
{
int hh, mm;
scanf("%d:%d", &hh, &mm);
int delta;
scanf("%d", &delta);
int target = (hh * 60 + mm + delta) % (24 * 60);
printf("%02d:%02d\n", target / 60, target % 60);
return 0;
}
| [
"841815229@qq.com"
] | 841815229@qq.com |
0627149b2d0d5ad36db590013dae5d0734c97d50 | 89df1ea7703a7d64ed2549027353b9f98b800e88 | /Game Engine/GameEngine/src/graphics/3D/model_json_loader.cpp | d0fc2848e56f23c8c2a2518d1f39f58392e72904 | [
"MIT"
] | permissive | llGuy/gamedev | 31a3e23f921fbe38af48177710eb7bae661f4cfd | 16aa203934fd767926c58558e021630288556399 | refs/heads/master | 2021-05-04T15:09:33.217825 | 2019-01-17T23:15:36 | 2019-01-17T23:15:36 | 120,221,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include "model_json_loader.h"
auto model_json_loader::init(model_handler & models, skeletal_animation_handler & animations) -> void
{
}
auto model_json_loader::load(std::string const & contents, class scene & dest) -> void
{
}
auto model_json_loader::parse_sub(model_handler & models, nlohmann::json::iterator & it... | [
"luc.rosenzweig@yahoo.com"
] | luc.rosenzweig@yahoo.com |
3d7b6b4231bdca27fa45d03cd50162de68e9485b | afcd40710545ef9a894b900ea21e37b883056a39 | /addwriterui.cpp | 4e9de93aca9fab81a3f286fbf9fba0f82df81ff9 | [] | no_license | mohamadnikan2013/LibraryWithUi | b6ae9b817cbdb2f3b9c3e77f50a614c9cbe1c030 | 32ce35c8faecf6ce64b3ca87a4c356767ca1139b | refs/heads/master | 2021-01-12T03:26:26.313307 | 2017-01-08T03:22:32 | 2017-01-08T03:22:32 | 78,209,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include "addwriterui.h"
#include "ui_addwriterui.h"
#include"librarianui.h"
#include"QMessageBox"
AddWriterUi::AddWriterUi(QWidget *parent) :
QWidget(parent),
ui(new Ui::AddWriterUi)
{
ui->setupUi(this);
}
AddWriterUi::~AddWriterUi()
{
delete ui;
}
void AddWriterUi::on_pushButton_clicked()
{
QStr... | [
"mohamadnikan2013@gmail.com"
] | mohamadnikan2013@gmail.com |
2b11769543a2f4b069db8b3b075697b5ff68ce4d | 7e20fb21d9fd0ca4cf1147f04cd85b1c23c0afc1 | /src/libstreetmap/tests/m3-tests/toronto_driver.cpp | 75b12382cc7a1753fd2c7968bd9350894bb8b833 | [] | no_license | frankgu968/mapper | 51ccb94e3516e7a455562f2bfc264983995ceee2 | 0e8f9057d599310fef7832a94a1a3335f8223776 | refs/heads/master | 2021-01-10T11:45:18.329303 | 2016-03-18T18:46:30 | 2016-03-18T18:46:30 | 54,213,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <iostream>
#include <string>
#include <random>
#include <unittest++/UnitTest++.h>
#include "mapProcessor.h"
#include "m2.h"
std::string map_name = "/cad2/ece297s/public/maps/toronto.streets.bin";
int main(int argc, char** argv) {
bool load_success = load_map(map_name);
if(!load_success) {
s... | [
"frank@debian"
] | frank@debian |
c8fdc90ecb22d77c22ae01778a4047682ac745bf | 057f2783821562579dea238c1073d0ba0839b402 | /OCR/ZaliczenieRO/.localhistory/ZaliczenieRO/1484650487$PreProcessing.h | 2e95139a4e200109ac4fa13a68b3feefe0784a66 | [] | no_license | KrzysztofKozubek/Projects | 6cafb2585796c907e8a818da4b51c97197ccbd11 | 66ef23fbc8a6e6cf3b6ef837b390d7f2113a9847 | refs/heads/master | 2023-02-07T12:24:49.155221 | 2022-10-08T18:39:58 | 2022-10-08T18:39:58 | 163,520,516 | 0 | 0 | null | 2023-02-04T17:46:12 | 2018-12-29T15:18:18 | null | UTF-8 | C++ | false | false | 11,679 | h | #pragma once
/* library OpenCV */
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
/* library VS */
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
/* My Class */
using namespace cv;
using namespace std;
class CPreProcessin... | [
"krzysztof.kozubek135@gmail.com"
] | krzysztof.kozubek135@gmail.com |
064e04ce3397ba932f8374157f77dbd3be4ee498 | 2997dcf27be4bd588ccbe3b8eb8b5cf9dcaa0c11 | /MetaFile/MetaFile/Bitmap.cpp | 7cce7d9c6d4deeff2dba975c8d6c7ac5c54d9416 | [] | no_license | YooHyeonJu/Win32API | 5078412f8fa221fc7e13543a2a223e66a55bebe8 | 115b097f426f783f80694f97232b194e1a542e9b | refs/heads/master | 2021-09-18T14:50:30.519632 | 2018-07-16T06:32:14 | 2018-07-16T06:32:14 | 141,094,804 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 2,454 | cpp | #include <windows.h>
#include <tchar.h>
#include "resource.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
const wchar_t* lpszClass = L"Bitmap(coffee)";
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdParam, int nCmdShow)
{
HWND hWnd;
MSG Message;
WNDCLAS... | [
"yhj8056@naver.com"
] | yhj8056@naver.com |
26830dd33b5fd95ed60921ff57ebbbc39b48de90 | fc5cf6e087df5b7934ceed7d2a1d22b094197ff1 | /processed_old/6-2406-8.cc | e18529da16ebeab97bae5bf51562efe21e57b05b | [
"MIT",
"GPL-2.0-only",
"GPL-1.0-or-later"
] | permissive | giulianobelinassi/LTO-Timing-Analysis | 80767a682960d2f2b1944edaf116466a784ac984 | 12eb7f3444f6c938c0a225f61aec47e419526490 | refs/heads/master | 2023-01-30T09:20:12.705767 | 2020-12-10T00:30:16 | 2020-12-10T00:30:16 | 263,368,860 | 1 | 0 | MIT | 2020-10-27T23:16:33 | 2020-05-12T14:59:34 | C++ | UTF-8 | C++ | false | false | 2,072,647 | cc | # 1 "/home/giulianob/gcc_git_gnu/gcc/gcc/config/i386/i386-c.c"
# 1 "/home/giulianob/gcc_git_gnu/build_temp/gcc//"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "/home/giulianob/gcc_git_gnu/gcc/gcc/config/i386/i386-c.c"
# 22 "/home/giulianob/gcc_git_gnu/gcc/gcc/c... | [
"giuliano.belinassi@usp.br"
] | giuliano.belinassi@usp.br |
f7e19ae1b1207fc892fd43f8fc95a0a5935312fc | ce880f56b45214bee5d89ac0fe9d107dcb05eadd | /Include/OFccmDef.h | f0700aeed01d4b2c89e873623c419ec773c90c75 | [] | no_license | trigrass2/R3 | ed70a444131ae4b77a4b03d583b6ae1714ce313a | 04709b6decc4cedf3cd3287e27f47187a17eb6e5 | refs/heads/master | 2021-09-22T20:26:05.796505 | 2018-09-15T08:27:32 | 2018-09-15T08:27:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,156 | h |
#pragma once
#include "stdafx.h"
#include <vector>
//#include "imagekit.h"
using namespace std;
#define WM_SOCKET_CLOSE WM_USER+1000
#define WM_SOCKET_UPDATE WM_USER+1001
#define WM_SOCKET_OPENCAMERA WM_USER+1002
#define WM_SOCKET_CLOSECAMERA WM_USER+1003
#define WM_SOCKET_STARTTEST WM_USER+1004
#define WM_SOCKET_ST... | [
"a079565176@foxmail.com"
] | a079565176@foxmail.com |
07fc92a5a32d5d540369540271f1ee3244bb92e0 | c30d4130c348a2bcf9ab6f847a03fd1d0fed78b4 | /ProProg/cannon.cpp | fcec39dfa6719e54e65cb0ba723d760ab5a8f6cb | [] | no_license | boyplus/competitive-programming | 6278c5f9c93ce830b62aa16ed4877dc82f5dd538 | 88ead4fddb09ac2ca658ad291c0fc6e8679eedda | refs/heads/master | 2022-11-07T05:31:34.004320 | 2020-06-28T16:09:58 | 2020-06-28T16:09:58 | 67,353,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include <cstdio>
#include <cstring>
using namespace std;
long long pos[1000000],lum[1000000];
int main(){
long long n,m,k,l;
scanf("%lld %lld %lld %lld",&n,&m,&k,&l);
for(int i=0;i<n;i++){
scanf("%lld",&pos[i]);
}
for(int i=0;i<k;++i){
long long count=0,start = 0;
bool chk[1000000] = {false};
for(int j=0;... | [
"ict224bj@gmail.com"
] | ict224bj@gmail.com |
5e27005a15957789bf151ac31616b95c38bd2a89 | cb93a0a905504549d2f20b09397d290b7245051e | /test/cpp/if_set.cpp | 816326dd64c86333d6efa24cf9d3279624e06644 | [] | no_license | niumeng07/code-dev | b061319e098e34dcfebded827465bff996aee289 | b1bece85d5638da51df9dd2132f3caae49c91269 | refs/heads/master | 2022-07-25T19:52:32.431781 | 2022-07-22T14:26:00 | 2022-07-22T14:26:00 | 86,066,701 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include <iostream>
using namespace std;
void test(int x) { cout << x << endl; }
int main(int argc, char *argv[]) {
test(true ? 1 : 0);
test(false ? 1 : 0);
return 0;
}
| [
"myliuda@sina.com"
] | myliuda@sina.com |
d1053a2791a59bc3ec220bdb174799683e0644eb | ebeb1a1527b3f0dab449a351ccc930581abf2777 | /slpk_move/slpk_move.cpp | 5cd11bc8247875bc63a42dbe9f9778ae039d8ce5 | [] | no_license | zhangqinglan/slpk_move | 84d42df9e8e83a411e02b09a567e53ca108f398b | 49f2f692b6699ee9a590cb914041ab76d44a6c97 | refs/heads/master | 2023-02-11T18:00:50.635900 | 2021-01-12T06:24:56 | 2021-01-12T06:24:56 | 327,519,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | cpp | // slpk_move.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//slpk模型平移:x,y,z方向上移动,需要修改slpk文件中的3dScenelayer.json中的extent
//修改nodepages中center值
#include <iostream>
#include "ZipHelper.h"
#include "JsonModify.h"
#include "DeleteProcess.h"
int main()
{
////测试:平移(2021.01.08)
//string inslpk = "D:/work_data/work_code/I3S工具/test/... | [
"861788632@qq.com"
] | 861788632@qq.com |
454451182206df4b3cd6d95fc521d70983975735 | 1adf5a6aca54bd7f7d172a6eb266e8b301e71732 | /Challenge/30Day_LeetCoding_Challenge/Day26_longest_common_substring/Day26_longest_common_substring/Day26_longest_common_subtring.cpp | 80d1bbef299180b6c5e227a01902b918e93446ff | [] | no_license | Strawberry9583/LeetCode | 2251120760257ab420b1fb50880cc7fc76124452 | 2be42fc42615e664f1be343941c46758ad1315c4 | refs/heads/master | 2021-06-07T01:58:07.535947 | 2020-11-08T04:18:41 | 2020-11-08T04:18:41 | 149,228,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include<vector>
#include<algorithm>
#include<string>
#include<iostream>
using namespace std;
class Solution {
public:
int longestCommonSubsequence(string text1, string text2) {
std::vector<std::vector<int>> dp(text1.size()+1, std::vector<int>(text2.size()+1, 0));
for (int i = 0; i < text1.size(); ++i) {
for... | [
"767940087@qq.com"
] | 767940087@qq.com |
255da3767c0b01773f68e8e19aad0752e1b39831 | f21fc5712c50f213add9e4538348f34c582fce45 | /fileReader.cpp | 5a3e7f83ae522bc4462740fb26fd249205942684 | [] | no_license | ringoball/CG_trabalhofinal | 24caacc9c18165e0896643ef97599f51895bd62f | c82cc554cde5dc8d509002969c21fd19578ddac4 | refs/heads/master | 2020-04-07T10:31:54.074405 | 2018-11-22T18:02:31 | 2018-11-22T18:02:31 | 158,290,366 | 0 | 0 | null | 2018-11-22T16:10:47 | 2018-11-19T21:08:13 | C++ | UTF-8 | C++ | false | false | 1,330 | cpp | #include"header.h"
using namespace std;
void fileReader(string fileName) {
ifstream myReadFile;
try {
myReadFile.open(fileName);
} catch (exception e) {
cout << "Arquivo não existe" << endl;
}
string line;
list<list<double>> verices;
if (myReadFile.is_open()) {
while (!myReadFile.eof()) {
... | [
"jvss_brasil@yahoo.com.br"
] | jvss_brasil@yahoo.com.br |
23a1be8dd1cbd13b67f7ff72da17f748b70ae227 | b58baab739524e3204acce7160e3dc526d7f624a | /RemakeCastleVania/Parabol.cpp | 4e175863458e5c8eb1b026dc7c765cc1c951a862 | [] | no_license | loctran0169/RemakeCastleVania | 8505a2600ddbc6a808f2fe54682ba10ccb5602cd | e47827ca7e11c697aa58c5842b775374230a10a9 | refs/heads/master | 2022-11-24T05:05:22.394199 | 2020-07-31T18:00:38 | 2020-07-31T18:00:38 | 252,893,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,604 | cpp | #include "Parabol.h"
CParabol::CParabol(float _x1, float _y1, float _x2, float _y2)
{
x1 = _x1;
x2 = _x2;
y1 = _y1;
y2 = _y2;
isFirstOnI = false;
createParabol(x2, y2, x1, y1);
x1Temp = x1;
y1Temp = y1;
}
void CParabol::createParabol(float _x1, float _y1, float _x2, float _y2)
{
if (y1 < y2) {
a = (_y2 ... | [
"loctran0169@gmail.com"
] | loctran0169@gmail.com |
405c9bd99655e86bb26708070d07f568916ff15f | 983dc0313e789f1fe6aa3844da685931a21da29c | /MainCode/h/body/Tbody_preprocessor.h | 255bb48387ecfc9c77143d20d841acf1e9d461ac | [] | no_license | TorontoXiang/Code-Management | ac1079ff792c1b78a8cc103c4405f30cfe96d4a5 | 6edcf3a2172919979eecff2b8a43dd215fc750d7 | refs/heads/master | 2020-04-01T05:40:28.318133 | 2019-02-01T22:15:18 | 2019-02-01T22:15:18 | 152,914,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | #ifndef TBODY_PREPROCESSOR
#define TBODY_PREPROCESSOR
//Define the Lagrangian body
#include "Tbody_base.h"
#include "Tcell_fluid_base.h"
#include "Tcell_pure_fluid.h"
#include "Tnode_fluid.h"
#include <vector>
#include <iostream>
#include "readin.h"
class Tbody_preprocessor : public Tbody_base
{
public:
Tbody_preproce... | [
"chenxiang_thu@126.com"
] | chenxiang_thu@126.com |
87fd36e204961e2774fd521fbe6a810ca9cafeb0 | 5ef43de6aabc4a8a03c0199bcd22e18102b67444 | /lst_timer.h | dfe8c347e1960ae9780943cd51e92ded134bef56 | [] | no_license | betterpig/WebServer | 49fc8c1e9017e552ea28a08e43703e8f2734339a | 60958c498a514140c8e4b5ac45147ab4a61a2c52 | refs/heads/master | 2022-12-09T11:38:38.115420 | 2020-08-03T15:34:42 | 2020-08-03T15:34:42 | 284,697,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,905 | h | #ifndef LST_TIMER//升序定时器链表
#define LST_TIMER
#include <time.h>
#include <netinet/in.h>
#include "http_conn.h"
#define BUFFER_SIZE 64
class UtilTimer//相当于链表中的节点结构体,它自己既保存了回调函数,又保存了用于回调函数的参数 userdata
{
public:
time_t expire;//任务的超时时间,绝对时间,即在什么时候终止
//回调函数是外部定义的,然后作为节点的成员
HttpConn* user_data;//在类UtilTimer中,又要... | [
"1448148955@qq.com"
] | 1448148955@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.