blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1a6dfd2d8d0239c9cc85b8fc66a4f0e9e6272a5 | d49297025f2e04d52588194aba26fa671e1bd321 | /test/core/util/reconnect_server.cc | 4775b074eb54edae89f465ca390edbd4ffbb976c | [
"Apache-2.0"
] | permissive | travellingdotgo/grpcin1 | 56cb7f507a8e6dfe5e9b49347515bd5d4e0e1dc5 | 4c65a40f368c4c7315dadca6b9557cc1663180b1 | refs/heads/master | 2022-12-06T22:03:44.184229 | 2017-11-23T13:07:28 | 2017-11-23T13:07:28 | 111,808,991 | 0 | 1 | Apache-2.0 | 2022-11-18T08:45:11 | 2017-11-23T12:50:44 | C++ | UTF-8 | C++ | false | false | 4,328 | cc | /*
*
* Copyright 2015 gRPC 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 agree... | [
"c@g.hk"
] | c@g.hk |
9e9efbb895811f75fd73854b0bac6f0995103524 | b826ddd667b301a32df7c39b20946321b4f79de8 | /ui/browsers/search/searchbutton.h | ed2b980348c0b791a2a04a68f3b39e6808e919b9 | [] | no_license | pzirnik/kueue | 426acabf2faaaae0a02a2cad82f54e4812e82de6 | b2221d34ece52e358daaf31fb6e44e070e0ce34a | refs/heads/master | 2020-05-29T11:36:34.903370 | 2019-01-22T15:44:33 | 2019-01-22T15:44:33 | 48,108,993 | 4 | 1 | null | 2019-01-22T18:57:43 | 2015-12-16T12:27:56 | C++ | UTF-8 | C++ | false | false | 1,604 | h | /*
kueue - keep track of your SR queue
(C) 2011 - 2012 Stefan Bogner <sbogner@suse.com>
This file has been copied and modified from arora
http://code.google.com/p/arora/
(C) 2008-2009 Benjamin C. Meyer <ben@meyerhome.net>
... | [
"sbogner@gmail.com"
] | sbogner@gmail.com |
c7af7c129d8b5af509cf658fd21647f9d87c6130 | 89d7497e38b98ffd5c1bb89580a0a89668bdbee1 | /AtCoder/185/C.cc | 756b61156eb5047e2ed4ea306c2089ab353ca447 | [] | no_license | gnosis23/algorithm-problems | 772c22f3dd904627c974162c046b65181692ccce | 7d3053c5799fbd72b6fe32d5448fca0e5a4690ea | refs/heads/master | 2023-02-07T19:50:01.262808 | 2021-01-01T04:28:22 | 2021-01-01T04:28:22 | 316,687,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cc | /**
* author: BohaoWang (bj050323@gmail.com)
* id:
* tag:
**/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <string>
#include <vector>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <queue>
#include ... | [
"bj050323@gmail.com"
] | bj050323@gmail.com |
8f8079311f0e1d2d432e57d715b12ce9963e3589 | 8ae7a23f05805fd71d4be13686cf35d8994762ed | /mame150/src/emu/cpu/tms9900/tms9980a.h | 01cafae5826969b0ad4e019b2b2069917e0338d6 | [] | no_license | cyberkni/276in1JAMMA | fb06ccc6656fb4346808a24beed8977996da91b2 | d1a68172d4f3490cf7f6e7db25d5dfd4cde3bb22 | refs/heads/master | 2021-01-18T09:38:36.974037 | 2013-10-07T18:30:02 | 2013-10-07T18:30:02 | 13,152,960 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | h | /*
TMS9980A.
See tms9980a.c and tms9900.c for documentation
*/
#ifndef __TMS9980A_H__
#define __TMS9980A_H__
#include "emu.h"
#include "debugger.h"
#include "tms9900.h"
#define MCFG_TMS9980A_ADD(_tag, _device, _clock, _prgmap, _iomap, _config) \
MCFG_DEVICE_ADD(_tag, _device, _clock ) ... | [
"dan@van.derveer.com"
] | dan@van.derveer.com |
5f217e0c34f99519156fc6e2d68a5814101a9bf6 | 7f8945ef612c790e247d9c66044f90c1e553ebd9 | /ProjetYasmine/statistique_etat.h | 1b77ef9c9087b10081fce81ea10dad4cb5f4b0c4 | [] | no_license | wajihmej/PoliceStationQTProject | 26cd3c69cb3a97ac68f5139788a35a131e891640 | 1adcd1cbef9eb74c9e01f73b515c5586107727c6 | refs/heads/master | 2023-07-31T08:35:53.879246 | 2021-10-07T09:32:27 | 2021-10-07T09:32:27 | 414,539,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | #ifndef STATISTIQUE_ETAT_H
#define STATISTIQUE_ETAT_H
#include <QMainWindow>
namespace Ui {
class statistique_etat;
}
class statistique_etat : public QMainWindow
{
Q_OBJECT
public:
explicit statistique_etat(QWidget *personne = nullptr);
~statistique_etat();
private:
Ui::statistique_etat *ui;
};
#e... | [
"wajih.mejri@esprit.tn"
] | wajih.mejri@esprit.tn |
88603b608b0bf0b965aae480ff712f22edeb1dbf | eee7dd34017ffb15609474daa10faea38441872a | /GameServer/Source/System/MGR/NPCMgr.h | 98599c85762d33248db1429f9bf60faf45f4e027 | [] | no_license | OtterBub/GameServer2016 | c7850a496c4fd2e724b3cf5d8efe8688e4d7bfa1 | a1c3339a53358d7a37b36b30b26eaa1a245326f7 | refs/heads/master | 2021-01-21T04:31:03.734592 | 2016-06-21T06:32:38 | 2016-06-21T06:32:38 | 53,106,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #pragma once
#ifndef __NPC_MGR_H__
#define __NPC_MGR_H__
#include "MTObjectMgr.h"
class NPC
{
public:
bool is_active;
};
#define NPCMGR MTObjectMGR<unsigned int, NPC>::GetInstance()
#define NPCMGRGETINDEX(x) MTObjectMGR<unsigned int, NPC>::GetInstance()
#define NPC(x) MTObjectMGR<unsigned int, NPC>::GetInstance().... | [
"gamepsk@hanmail.net"
] | gamepsk@hanmail.net |
ed64e1ae0461d12cabbf4cdb6fa604be9b452576 | b03a357d38cf417227463138c6a492d58db623c7 | /Dev_class5_handout/Motor2D/j1Scene.cpp | c79626624c035de8be7d708c40d12c57f27bbfe1 | [] | no_license | polferrando98/Visual-Studio | dc5a24673c5e528a11dec841b23fe7a7155d55c9 | ebf3e47899ee41c1e684c191741f46cb7e7f5dc6 | refs/heads/master | 2021-08-22T17:29:29.772194 | 2017-11-30T20:45:02 | 2017-11-30T20:45:02 | 104,037,140 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | cpp | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Input.h"
#include "j1Textures.h"
#include "j1Audio.h"
#include "j1Render.h"
#include "j1Window.h"
#include "j1Map.h"
#include "j1Scene.h"
j1Scene::j1Scene() : j1Module()
{
name.create("scene");
}
// Destructor
j1Scene::~j1Scene()
{}
// Called bef... | [
"pol.ferrando.98@gmail.com"
] | pol.ferrando.98@gmail.com |
d87821726eb5a102784bf526ae3c8f3966901c0a | 46fe6148b7aafb7671a4e711584a5c52289ef585 | /libraries/ArduinoBLE/src/BLEService.cpp | ed54f9fff2c39bb8f2c683b6e4e16228f81bd769 | [
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"MIT"
] | permissive | matteobaccan/PassiveCooker | 845d93c69b689b51cfd066f6cfe0878bbd33b9e6 | a84a909311806af5048e5903781ecd37c5001e51 | refs/heads/main | 2023-05-31T05:00:21.428527 | 2022-11-20T20:39:38 | 2022-11-20T20:39:38 | 555,814,343 | 1 | 0 | MIT | 2023-09-04T15:45:50 | 2022-10-22T11:50:17 | C++ | UTF-8 | C++ | false | false | 3,679 | cpp | /*
This file is part of the ArduinoBLE library.
Copyright (c) 2018 Arduino SA. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the Licens... | [
"matteo.baccan@gmail.com"
] | matteo.baccan@gmail.com |
a10be62113e5b8ee46d359917f9898e85bae47e0 | 38c10c01007624cd2056884f25e0d6ab85442194 | /chromecast/renderer/cast_content_renderer_client.h | 2285370ae46048416bd47714394137b04b31062c | [
"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 | 2,226 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
#define CHROMECAST_RENDERER_CAST_CONTENT_RENDERER_CLIENT_H_
#include <vector>
#include "base... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
329839e08b6fc922c5c9a00e0ff66595f898b6b4 | f16af0daae3d88df06fe45b57d762fe0ed0da6d6 | /EXLib/physx/Physics/include/NxD6JointDesc.h | 0e3c99aff4af3589792564bff0ea86dce92accc1 | [] | no_license | lop-dev/lop-lib | 1f15d48beca11dd7e4842b96780adecab186bea5 | ae22a29c82e31cbca53155fb0a1155569dfe2681 | refs/heads/master | 2023-06-23T09:45:43.317656 | 2021-07-25T02:11:19 | 2021-07-25T02:11:19 | 131,691,063 | 16 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 11,400 | h | #ifndef NX_PHYSICS_NXD6JOINTDESC
#define NX_PHYSICS_NXD6JOINTDESC
/*----------------------------------------------------------------------------*\
|
| Public Interface to NVIDIA PhysX Technology
|
| www.nvidia.com
|
\*----------------------------------------------------------------------------*/
... | [
"38876514+lop-dev@users.noreply.github.com"
] | 38876514+lop-dev@users.noreply.github.com |
109d6b78b241fcb45b1dc98f0f841073ea078de2 | 480f5e1d5da1dc1415795eedae27b9b95ce78a23 | /src/pipeline/pipeline_v3_g.cpp | 901742b63a8ab606861323fc3ed808f61251f981 | [] | no_license | wujinghe/cpp17-instruction-pipeline | bae49f8227017e9c90a3abdb674cbce0b284786d | f74e7c1c2d99a3b5855b717f82023c1769fb819d | refs/heads/master | 2022-12-19T08:23:33.353841 | 2020-09-30T04:49:48 | 2020-09-30T04:49:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,320 | cpp | #include <iostream>
#include <functional>
#include <thread>
#include <atomic>
#include <mutex>
#include <unistd.h>
#include <queue>
#include <condition_variable>
#include <chrono>
using namespace std::chrono_literals;
namespace std {
template< class Rep, class Period, class Predicate >
bool timeout(const std::... | [
"smallville7123@gmail.com"
] | smallville7123@gmail.com |
92152f83bfd11fddf3f118b236bddeab6d12fd44 | 06768918be84821b83744afb0d8fbb6fb3f91cb1 | /source/1076-30-4.cpp | 6873defdbe9fc6c56a2e55d7a25fd64306930155 | [] | no_license | Line233/pat-practice | f4e648adbfd3b1ac3ba54e9a12605668a0311087 | c83d43baa796ff5487328793797999d90741dda2 | refs/heads/master | 2020-12-27T04:08:26.925161 | 2020-06-05T06:06:05 | 2020-06-05T06:06:05 | 237,759,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | // website
//https://pintia.cn/problem-sets/994805342720868352/problems/994805392092020736
//SUMMARY 优先广度搜索
#include <iostream>
#include <algorithm>
#include <stdio.h>
#include <vector>
#include <queue>
using namespace std;
typedef struct node
{
vector<int> to;
bool read = false;
} node;
vector<node> Graph;
i... | [
"j@gmail.com"
] | j@gmail.com |
85fe8d8925d22a868c4e5257b83ed2784210f401 | 0d44fa4771b190ed0cf4acae5f4b98fe4ed6b8f0 | /modules/common/util/perf_util.cc | fed6d55114d26a6453e1f77a63f17d8e3a9fd89d | [
"Apache-2.0"
] | permissive | aaaaliyun/apollo | 4e74aedc07dafbeb4cbdc1e3401ab4e1b6c8995c | 5d4bb57a253327434c829ab5b6936916f5b229da | refs/heads/master | 2020-09-25T21:48:38.955574 | 2020-08-08T14:31:20 | 2020-08-08T14:31:20 | 226,092,955 | 0 | 0 | Apache-2.0 | 2019-12-05T12:04:01 | 2019-12-05T12:04:00 | null | UTF-8 | C++ | false | false | 1,684 | cc | /******************************************************************************
* Copyright 2020 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"storypku@gmail.com"
] | storypku@gmail.com |
4a82d30c6e8b66076a85a3d6fe53b57be2955afb | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /schedulerx2/include/alibabacloud/schedulerx2/model/ExecuteWorkflowRequest.h | 25ed2d16f85bfd1ecfa31223a11f65e56067843b | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,021 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
43317ff66cb5707d7056cb0db44cd84c00a7115e | 84ea182b7fc5f5bfc46e116d6e2218101391061b | /minesweeper/counter.cpp | 5d3a73e144fa400491f412f566cac0169eeac37c | [] | no_license | zhanyli46/qt-minesweeper | 33b0fd34333b7f115c8123e72d69efd454063d01 | abbc52ee972da22733c64c9052a5d30edd7d9fee | refs/heads/master | 2021-07-14T19:25:13.316778 | 2017-10-19T07:38:05 | 2017-10-19T07:38:05 | 105,410,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include "counter.h"
MineCounter::MineCounter(QWidget *parent, int n)
: QLCDNumber(parent),
val(n)
{
display(val);
}
MineCounter::~MineCounter()
{
}
void MineCounter::setValue(int val)
{
this->val = val;
display(val);
}
void MineCounter::plusOne()
{
val += 1;
display(val);
}
void Mine... | [
"zhanyli46@gmail.com"
] | zhanyli46@gmail.com |
193dc3b59f83381221aa2385463a3cc2fc1527f8 | 7599301731d0c6a6e9da4c4d656616125d6f52ac | /ATP_CLient/ATP_Client/tcpdataclient.cpp | bd48a2c78d2c281912b367b5f6c0e40c3793bf18 | [] | no_license | zhang433/ATP | ddc43175370e3732647554ab12e688ed5db91a50 | 67d4eefcd491d0be1ac1e3c65d53c3b2cb90881a | refs/heads/master | 2020-09-26T08:32:04.917444 | 2020-02-27T02:25:58 | 2020-02-27T02:25:58 | 226,217,361 | 0 | 0 | null | 2019-12-06T01:01:28 | 2019-12-06T01:01:27 | null | UTF-8 | C++ | false | false | 1,976 | cpp | #include "tcpdataclient.h"
TcpDataClient::TcpDataClient():
TcpAbstract (QHostAddress(ARM_IP),12300)
{
//?????????????????
connect(this, &TcpDataClient::init, this, &TcpDataClient::startConnect,Qt::QueuedConnection);
connect(this, &TcpDataClient::stateChanged, this, &TcpDataClient::changeStatus_SLOT,Qt::Q... | [
"546976189@qq.com"
] | 546976189@qq.com |
ab6722f7b418023aa65cdc8fa7fc5c19536dabd7 | ee924e1303ffcdb8e206b014bfe344209876feb3 | /C++/zad2/funct.cpp | 463b851c53b6a0cb1a21be2f87c05f4ed6339dd2 | [] | no_license | Stachnikov/Studia-II-UWR | 82ad018634037c295e0d7a61e51bf06c4723e6eb | 7b2f798e1836c20963affa664ba8ea05e1fb167e | refs/heads/master | 2020-05-16T07:10:18.068542 | 2020-04-08T14:29:47 | 2020-04-08T14:29:47 | 182,866,963 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,590 | cpp | #include "definitions.hpp"
//wektor::wektor() = default;
wektor::wektor(const double x, const double y) : dx(x) , dy(y) {};
wektor::wektor(const wektor &v) : dx(v.dx) , dy(v.dy) {};
//wektor::wektor &operator = (const wektor&)=delete;
//punkt::punkt() = default;
punkt::punkt(const double xp, const double yp) :... | [
"mikolajstachnik@onet.pl"
] | mikolajstachnik@onet.pl |
4e20704693b8bd73e5fa84aeed4a6c0abd575ee7 | e589fb440835151e7b9913ccad0bc1b1fc844ebe | /Commands/RampHalt.cpp | fbaecca0ecce9f72a0a6d530af2a0a1fcc3c80e0 | [] | no_license | lsthiros/NOROBOT2013 | 15a5ccce52ed831d8ecb3f4baa91d2d151535235 | 5bdd53cd44f49e52ffc780db0543edcd5b234c45 | refs/heads/master | 2016-09-15T23:43:50.638703 | 2013-03-01T00:52:52 | 2013-03-01T00:52:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include "RampHalt.h"
RampHalt::RampHalt() {
Requires(intake);
}
void RampHalt::Initialize() {
//do nothign
}
void RampHalt::Execute() {
//test values until the right one is found
//
intake->runMotor(0);
}
bool RampHalt::IsFinished() {
return false;
}
void RampHalt::End() {
//no ending behavior
}
void Ramp... | [
"lsthiros@gmail.com"
] | lsthiros@gmail.com |
119ddf924433f607d8964219a0dfc1a8b323cdeb | 9155c584ca6b80e2024345b15260c1caec242e5a | /game/tailSquare.h | 011fad284f450f87e55f2f449f97c387e831004d | [] | no_license | MichaelLenghel/GameDev-team | a2975fcd9e820be86a191bdd412f0b6eefb06e98 | 1618c1e0561ffbb67766675b52a8ee60f8bf3469 | refs/heads/master | 2020-06-21T18:23:57.299825 | 2016-12-20T17:45:11 | 2016-12-20T17:45:11 | 74,777,474 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "tailSquare.generated.h"
UCLASS()
class INFINITERUNNER_API AtailSquare : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
... | [
"noreply@github.com"
] | MichaelLenghel.noreply@github.com |
4312364bf01e70b5dc4afdc5b2256747a9cd4992 | de54793b113794bf1b5adeaf5b2677d5996fe042 | /src/net/SocketImpl_win.cpp | 5e03e487bb4e7fb2f3ca262eb00de24e2dae4c07 | [] | no_license | chenbk85/cupcake | eda3c7496ffd50d2719c0fcc5ee8539ff205d95c | 1ad263cd71b86df96be60ab0710400a798323807 | refs/heads/master | 2020-12-03T05:33:31.977684 | 2016-09-18T07:45:51 | 2016-09-18T07:45:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,069 | cpp | // socket_win.cpp
#ifndef _WIN32
#error "This file should only be included in a Windows build"
#endif
#include "cupcake/net/Socket.h"
#include "cupcake_priv/Cupcake_priv_win.h"
#include "cupcake_priv/net/SocketImpl_win.h"
#include <Ws2tcpip.h>
#include <Mstcpip.h>
#include <experimental/resumable>
using namespace... | [
"scott.conger@gmail.com"
] | scott.conger@gmail.com |
18feaeac39f4503e2dc88ab6c2888cea990728dc | cd60cdb2f4c4a106529c66fbc2ff40d384a3f7d1 | /Persides/Zn_v1.h | 68dfe2f42c241e48548ddfe2d243ddce16829ef8 | [] | no_license | astrophysicist87/HawkingHBT | 88577cf7265565cc8071a4ed42620d0416b954c6 | 51669a4a11eec7161023eba12496509aa861140e | refs/heads/master | 2020-03-14T00:04:22.675139 | 2018-07-03T02:27:53 | 2018-07-03T02:27:53 | 131,347,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #ifndef ZN_H
#define ZN_H
#include <stdio.h>
#include <iostream>
#include <complex>
#include <vector>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_chebyshev.h>
#include <gsl/gsl_sf_bessel.h>
#include "chebyshev_library.h"
#include "gauss_quadrature.h"
//some parameters
const double xmax = 1000.0;
const int nmax = 2... | [
"astrophysicist87@gmail.com"
] | astrophysicist87@gmail.com |
f6bd43e20a598849d749dbcf009ad3349425d6b9 | 8e491dbf6f46ab0ece8789d199e86bbf7c83f7b8 | /src/rotate.cc | b4334181450450ce14bbcdef6482336d959a9696 | [] | no_license | hushicai/cpp | 7f9823be8a003cf0dfd11283cf7aedb50c6205f1 | 0f32a509347e8967f4f779655764833011410ebd | refs/heads/master | 2021-01-10T19:25:01.954333 | 2014-12-01T09:36:42 | 2014-12-01T09:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cc | // copyright@July、颜沙
// 最终代码,July,updated again,2011.04.17。
#include <iostream>
#include <string>
using namespace std;
void rotate(string &str, int m)
{
if (str.length() == 0 || m <= 0)
return;
int n = str.length();
if (m % n <= 0)
... | [
"bluthcy@gmail.com"
] | bluthcy@gmail.com |
5417bc5cde7ff0b1a0e17117c79f109fa61bb5a0 | 657f18068cf6eb108d9ff630a0397bc3e3e87a37 | /source/kinect_daemon/Framework/Observable.cpp | 45d7897d34c056a06f4758bb216a68135687b3d4 | [
"MIT"
] | permissive | aosterthun/rgbd-calib-old | 1b17fd80f78a06e1820c70be74f962535c273100 | 002429080809d0d083507fb17c722d18d81a0624 | refs/heads/master | 2021-09-14T20:32:08.381374 | 2018-02-28T12:02:04 | 2018-02-28T12:02:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | //
// Observable.cpp
// ZMQ
//
// Created by Arne Osterthun on 21.08.17.
// Copyright © 2017 Arne Osterthun. All rights reserved.
//
#include "Observable.hpp"
Observable::Observable()
{
std::cout << "Init Observable" << std::endl;
}
void Observable::attach(std::shared_ptr<AbstractObserver> observer)
{
ob... | [
"arne.osterthun@uni-weimar.de"
] | arne.osterthun@uni-weimar.de |
c88112e1ea1c9d32cbfaf737e29df04bfae8b262 | 37645b0102bad4125ed22e4cae6e1cca9218edc0 | /da3f_coop_mission_template.Altis/DA3F/dialog/DA3F_Gui_VehSp.hpp | d9dc737efe1cf73c814a5a85ac68bc26453859c4 | [] | no_license | code34/DA3F_Mission_Coop_R-lePlay | 0d05b24bab4de103fb96afd8b46039d565f50089 | 6f8a79c626f2c1b935d46054d29fdb6ebaeb41f6 | refs/heads/master | 2021-09-06T04:51:37.672716 | 2017-12-26T12:29:10 | 2017-12-26T12:29:10 | 115,457,574 | 0 | 0 | null | 2017-12-26T21:56:09 | 2017-12-26T21:56:09 | null | UTF-8 | C++ | false | false | 6,986 | hpp | class DA3F_SpawnVeh {
idd = 1811173;
name= "DA3F_SpawnVeh";
movingEnable = true;
enableSimulation = true;
class controlsBackground {
class DA3F_img_backG: MCF_RscPicture
{
idc = 1200;
text = "#(argb,8,8,3)color(0.1,0.1,0.4,0.8)";
x = 0.335 * safezoneW + safezoneX;
y = 0.247 * safezoneH + saf... | [
"mc.family3531@gmail.com"
] | mc.family3531@gmail.com |
7011976b578853b4f69a8bd0bb4887cc94685173 | f6408fa4d36915390024275dc69cb8a4427074f9 | /sprout/type/algorithm/find_index.hpp | 4099bcde967a5245f7af1fb88b0ffd67a398311c | [
"BSL-1.0"
] | permissive | nekko1119/Sprout | 72dcc643536e595832be7d05151a1444e072980c | 3e33de25ebbf4043f86a56f58459e3e45fcbe746 | refs/heads/master | 2021-01-15T18:04:36.229085 | 2013-09-20T07:38:27 | 2013-09-20T07:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,781 | hpp | /*=============================================================================
Copyright (c) 2011-2013 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 |
7dde8ece642bfc42b6e07ab8dc28036cbd72c342 | c7f307e9d3b95a6b8875940b89e225ac3a4e34a5 | /strands_sweep_registration/src/PixelFunction.cpp | 83f4c09af9b2d6adff1aa3db73991da750b88249 | [] | no_license | strands-project/strands_3d_mapping | e540c6ab1da3ce047df4b739b357c36ad992981f | 28ee7a6b6ab6f591de201bd0a6e8a37c5a57a9ea | refs/heads/hydro-devel | 2021-01-23T21:27:31.872040 | 2017-05-05T07:13:55 | 2017-05-05T07:13:55 | 11,306,586 | 23 | 28 | null | 2022-08-30T10:53:40 | 2013-07-10T08:32:49 | C++ | UTF-8 | C++ | false | false | 1,392 | cpp | #include "strands_sweep_registration/PixelFunction.h"
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
PixelFunction::PixelFunction(){
r_mul = 1;
g_mul = 1;
b_mul = 1;
d_mul = 1;
};
PixelFunction::~PixelFunction(){};
void PixelFunction::getValues(float * pixel){//Go t... | [
"raambrus@kth.se"
] | raambrus@kth.se |
5b5326ed6febbcb1f7b96e5bf3906e4559f32c1f | c962ca756cabc0e50571a7f391eabfb0b1e2667f | /src/population.cpp | 8e67ce52822e74cc0b8d8175e2a2a97eb8f7624f | [] | no_license | Christini-Lab/Genetic_Algorithm | e4e6c18e88952379b6acc0f02fa82281653b5527 | 44087d73c7af2efe89a517e6596b6ae9a2ecc6f0 | refs/heads/master | 2020-03-07T12:21:08.774604 | 2018-04-02T18:54:42 | 2018-04-02T18:54:42 | 127,476,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,614 | cpp | /*
Christini lab genetic algorithm
Modified from IlliGAL GA, reference below
Added openMP implementation to parallelize evaluations of each individual.
*/
/*
Single & Multi-Objective Real-Coded Genetic Algorithms Code
Author: Kumara Sastry
Illinois Genetic Algorithms Laboratory (IlliGAL)
Deparment of Ge... | [
"fortega11@gmail.com"
] | fortega11@gmail.com |
c11659dc275140aeeb4f7dc603f400e469846dcd | f175bcab3c2f0aad7378c94ac220256982ab2027 | /ios_v1/Classes/Native/AssemblyU2DCSharp_UnityEngine_UI_Extensions_BoxSli1768348986.h | 075f67b47134ec7d08ec7c52ae244bc7c931b476 | [] | no_license | al2css/erpkunity | 6618387e9a5b44378e70ccb859d3b33a7837268c | c618dc989963bcd7b7ec9fa9b17c39fff88bb89b | refs/heads/master | 2020-07-22T04:59:49.139202 | 2017-06-23T16:33:13 | 2017-06-23T16:33:13 | 94,344,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "UnityEngine_UnityEngine_Events_UnityEvent_2_gen2016657100.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma c... | [
"alecsdulgheru@gmail.com"
] | alecsdulgheru@gmail.com |
852092ae45aea645e295db331822be8918ec8f7b | d65f35433ab7e98b9aa25e561dd212b46414aff6 | /src/assert_windows.cpp | b4939210c7323f6fecfde04509473f21c6cbf955 | [
"Zlib"
] | permissive | Groogy/derelict | 0de19d937035fdfb35d9dc19efac7f514c340d11 | 5ca82ae5a5a553e292e388706a27b53840cf3afa | refs/heads/master | 2022-04-21T04:35:43.598680 | 2020-04-20T21:10:14 | 2020-04-20T21:10:14 | 257,400,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,239 | cpp | #ifdef WIN32
#include "assert.hpp"
#include <windows.h>
#include <sstream>
namespace
{
HHOOK msgBoxHook;
int button = 0;
void CALLBACK AbortCallback(LPHELPINFO)
{
UnhookWindowsHookEx(msgBoxHook);
FatalExit(0);
}
LRESULT CALLBACK CBTProc(int code, WPARAM wParam, LPARAM lParam)
{
char className[64];
char buffer[... | [
"groogy@groogy.se"
] | groogy@groogy.se |
2e07431539a4fccf10daaf0c4626d03a9a8daa98 | f1cac72a50308d4be45b806c2d7fcc29424d404b | /lib/LightSensor/lightSensor.h | e7c1d444938a85d7e59d2bb01469d0d7ae74ba9e | [] | no_license | BunningsSnags/Centre_Point-2019 | a2bf2e40264ae54aa98a613875d3c397d73ecca7 | 7cf4fde8378d0d4af080b47362c77fc7c6128871 | refs/heads/master | 2022-03-15T01:26:24.068123 | 2019-11-19T04:44:21 | 2019-11-19T04:44:21 | 198,618,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | h | #include <Common.h>
class LightSensor {
public:
void init();
void update();
int light[LIGHTSENSOR_NUM] = {0};
bool spotBlack(int darkness);
Tile spotSilver(int brightness, Tile tile);
private:
bool isBlack = false;
}; | [
"36836011+BunningsSnags@users.noreply.github.com"
] | 36836011+BunningsSnags@users.noreply.github.com |
24a3f37530cd06fc7f2ecd658a159356b72ce89c | c1a2482703ad2e2f94d85e362fb8c469ce326368 | /ioprof/ioprof/ntdllapi.cpp | c4161c9c40d473375d027de1abb25836ecefde15 | [] | no_license | MrKREB/ioprof | 831d23ee74442d91c22b2e3a654f613181ad791c | 966ba5df42e64d71f6d9fe7e58a83c536ccc506a | refs/heads/master | 2020-04-18T02:44:27.557830 | 2019-09-12T09:32:49 | 2019-09-12T09:32:49 | 167,174,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include "ntdllapi.h"
// Load NTDLL Library and get entry addresses
HMODULE NTDLLAPI::loadNTDLLFunctions()
{
HMODULE hNtDll = LoadLibrary(_T("ntdll.dll"));
if (hNtDll == NULL) return NULL;
gNtQuerySystemInformation = (pfnNtQuerySystemInformation)GetProcAddress(hNtDll,
"NtQuerySystemInformation");
gNtQueryInfor... | [
"34164486+MrKREB@users.noreply.github.com"
] | 34164486+MrKREB@users.noreply.github.com |
d8fd0a90ae60e6564b35577141877075aa173778 | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /ThirdParty/MyGui/src/MyGUI_XmlDocument.cpp | 82fefb788f8e29bd5ea4779b17830f84d260ee80 | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,092 | cpp | /*!
@file
@author Albert Semenov
@date 11/2007
*/
/*
This file is part of MyGUI.
MyGUI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your opti... | [
"Myway3D@gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0"
] | Myway3D@gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0 |
606405421d2bb9082f8380d470c0c52b55aff704 | 045b27be9963ea34d3806b6106d17c5341eb62c0 | /train7_2.cpp | 547e048ff7306aedfafe092a1cb53765fa1e1ef8 | [] | no_license | miyamur/cpp | 1f316244a88e7a99edf51904c0626b1d9fe73d6d | bbc5f914cfa7b7f4ef5e4139f1f2ad00d47141ca | refs/heads/master | 2020-05-21T05:57:05.883517 | 2019-07-28T15:30:50 | 2019-07-28T15:30:50 | 185,931,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | #include <iostream>
#include <string>
#include "NewString.h"
using namespace std;
int main(){
NewString s1("HelloWorld"),s2;
cout << s1.getValue() << endl;
s2 = s1; // 値を代入
cout << s2.getValue() << endl;
NewString s3(s2); // NewStringを引数としてコンストラクタ呼び出し
cout << s3.getValue() << endl;
... | [
"miyamura@cyber.t.u-tokyo.ac.jp"
] | miyamura@cyber.t.u-tokyo.ac.jp |
44cc3effc1b0bafbb887d17411097530eafd15a3 | cb0201ded1bbbe05d9f98f6d9393c8d17e3c872b | /CppSprtPkg/Include/ext/pb_ds/detail/ov_tree_map_/traits.hpp | 2d6922a89497f8b6a0f242f897140efc91e51cf1 | [
"BSD-2-Clause",
"OpenSSL"
] | permissive | mikeniu/uefi-longson | 43999ccae33372f5875680eb43578fa103518cce | d6fba2f83e00125ff0362b4583461958d459fb4b | refs/heads/main | 2023-03-16T23:04:00.293750 | 2021-03-04T03:09:38 | 2021-03-04T03:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,283 | hpp | // -*- C++ -*-
// Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Foundation; either ve... | [
"lvjianmin@loongson.cn"
] | lvjianmin@loongson.cn |
f187ee9f6db7a1e61775c7af5365868401fc4c08 | 43a54d76227b48d851a11cc30bbe4212f59e1154 | /ams/src/v20200608/model/CancelTaskResponse.cpp | 8d4ab7380ef8c925971b9b51beb463ff6d05f36d | [
"Apache-2.0"
] | permissive | make1122/tencentcloud-sdk-cpp | 175ce4d143c90d7ea06f2034dabdb348697a6c1c | 2af6954b2ee6c9c9f61489472b800c8ce00fb949 | refs/heads/master | 2023-06-04T03:18:47.169750 | 2021-06-18T03:00:01 | 2021-06-18T03:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
7e6dd5c04f2cb8584dd8ae0543133afafbb4242a | 90c8e33d17c6cafe9bebd439974585182b01466b | /19s_12/B/20818436_kuangshouren_B.cpp | 2c6c453e7503ae9169fbeb30a1c4cf7c792327f9 | [] | no_license | neverac/codes | fa89f6bb2aeef868b07e3bacefa1b7051e5c9af6 | 816d5039b48a44d5e940fba85dab0649d5427983 | refs/heads/master | 2020-06-20T10:57:31.191587 | 2019-07-28T08:46:20 | 2019-07-28T08:46:20 | 197,100,521 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
char s[500007];int n;
bool c[500007][4];
struct node
{int lazy[4];int l,r;};
node tree[2000007];
void build(int lef,int righ,int x)
{
tree[x].l=lef;tree[x].r=righ;
if(lef==righ)
{for(int i=1;i<=3;++i)
tree[x].lazy[i]=c[lef][i];}
else
{int ... | [
"no-email"
] | no-email |
0db1d6ad8fb0c66d389df2bc02a780347344255a | abe5263d949054b9fb9566c6e8912e49470578e4 | /plugins/geotag/map.h | e92f78999b27df2643bfa226d158f464056f4f61 | [] | no_license | FalseCAM/reihenaufnahme | ce5a80a4f4177fc5c4960565e3dfe08814f3c389 | 577f1bae58d09d8cf37a7ffb57cd756b941e94d2 | refs/heads/master | 2021-01-10T20:59:16.204673 | 2012-12-25T19:09:18 | 2012-12-25T19:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | h | #ifndef MAP_H
#define MAP_H
// Some code from http://qt-project.org/doc/qt-4.8/demos-embedded-lightmaps.html
// slippymap.h
#include <QtWidgets/QWidget>
#include <QtNetwork/QNetworkAccessManager>
#include <QtGui/QPixmap>
#include <QtCore/QUrl>
class QNetworkReply;
class QPainter;
class Map : public QWidget
{
Q_... | [
"FalseCAM@googlemail.com"
] | FalseCAM@googlemail.com |
4b24d66fc11c08cd990a966219d094ef24deb31a | b5892e684ed3d05f53488ee0c1c6576c427587b3 | /NodeMCU_Master_/NodeMCU_Master_.ino | 348d4014ae5c7cf020f1b31406de84e9da59ecc3 | [
"MIT"
] | permissive | vkmanojk/Arduino | 1822f5d65a4d757225392b554005cb7ed43624b3 | 0ec0d067e7e638d60daae7c05fd4a4b2ddabf4f8 | refs/heads/master | 2021-07-14T02:30:43.368091 | 2020-07-16T07:14:18 | 2020-07-16T07:14:18 | 184,013,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | ino | #include <Wire.h>
void setup() {
Serial.begin(9600); /* begin serial for debug */
Wire.begin(D1, D2); /* join i2c bus with SDA=D1 and SCL=D2 of NodeMCU */
}
void loop() {
//Wire.beginTransmission(8); /* begin with device address 8 */
//Wire.write("Hello Arduino"); /* sends hello string */
//Wire.endTrans... | [
"noreply@github.com"
] | vkmanojk.noreply@github.com |
5fcccfefc1f150eb7409a57a1fc907652be37a38 | 78285a55498d91ce1cf309c2e20cf731d036430a | /main.cpp | 593aa082add139dc55fef4985b122f970e24e76e | [] | no_license | asialit/optimization-of-expressions | e6c5a7a45750b4d8dd3d682ad372d0cb86bb3f11 | 82fc015a5b25cc558210d0808d4767e80a689888 | refs/heads/master | 2020-05-03T23:25:48.871352 | 2019-04-01T13:14:49 | 2019-04-01T13:14:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,282 | cpp | #include <string.h>
#include "Stack.h"
int getPriority(char C)
{
if (C == '-' || C == '+')
return 1;
else if (C == '*' || C == '/')
return 2;
return 0;
}
//send operators with equal or higher priority to the output
void pushOperator(Stack &stack, Stack &output, char* currentLineInput) {
Node *... | [
"noreply@github.com"
] | asialit.noreply@github.com |
16b230e4a98e32eaf7d37cf9bb646794a7b1d1d9 | 6fb9d14510c2be8483e538e34c82298e80dec4df | /Leetcode 10 Regular Expression Matching.cpp | e28f321f5777cadfe8f48763b50ab0e57e6ea819 | [] | no_license | kuonanhong/Exercise | bc5f8607d4728d327294fead8a97e288b6355caf | 88c949c36ad65f4ea068e077a03dc46cb15d9ecb | refs/heads/master | 2020-03-07T13:12:09.004437 | 2017-10-09T09:10:53 | 2017-10-09T09:10:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | /*
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input string (not partial).
The function prototype should be:
bool isMatch(const char *s, const char *p)
Some examples:
is... | [
"noreply@github.com"
] | kuonanhong.noreply@github.com |
6d7e6aacca147e1dec62458b2f73695dcaf8a956 | 7151e4dfc3b4d27f12dea4fe3320c11e199c54e9 | /samples/strategy/SimUDuck/lib/Duck/DecoyDuck.h | 90a052715e666b458239322c5de08145978bdb71 | [] | no_license | alexey-malov/ood | e70961efe4c15d315278f9d8d4adb8ce4b4e8413 | 2ca61e2f2036e6f1474dcbd5a89cdcbc7e7d02a2 | refs/heads/master | 2022-12-22T05:16:17.048569 | 2022-12-21T18:27:49 | 2022-12-21T18:27:49 | 53,052,391 | 24 | 25 | null | 2023-09-07T22:14:46 | 2016-03-03T13:30:05 | null | UTF-8 | C++ | false | false | 420 | h | #ifndef DECOYDUCK_H
#define DECOYDUCK_H
#include "Duck.h"
#include "Fly/FlyNoWay.h"
#include "Quack/MuteQuackBehavior.h"
#include <iostream>
#include <memory>
class DecoyDuck : public Duck
{
public:
DecoyDuck()
: Duck(std::make_unique<FlyNoWay>(), std::make_unique<MuteQuackBehavior>())
{
}
void Display() const... | [
"24671528+KernelMrex@users.noreply.github.com"
] | 24671528+KernelMrex@users.noreply.github.com |
c400331a3790e7e1d7b441869e672207a2b96e14 | 028a5be11bcfad33e82a851ecb5639bb2423795e | /DesktopAppWalkthrough/HelloWindowsApp.cpp | 6461f3a2249855f7c732bd5c50bb31ca1cb6dc67 | [] | no_license | lisedspencer/Windows-Desktop-App-Demo | c0c14df89cfefef800bef3bee89c5fbf7e716c98 | f017482e9aa77ca3987bbf54f25c0299968b69b6 | refs/heads/main | 2023-07-17T03:17:27.812608 | 2021-09-01T01:29:08 | 2021-09-01T01:29:08 | 401,888,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,774 | cpp | /*
* Name: Kacy Spencer
* Course: COP 3003 Programming II, CRN 80601
* Date: 8/30/21
* Filename: HellowWindowsApp.cpp
* Description: Follows Windows desktop app walkthrough found @
* https://docs.microsoft.com/en-us/cpp/windows/walkthrough-creating-windows-desktop-applications-cpp?view=msvc-160
*/
#include <... | [
"noreply@github.com"
] | lisedspencer.noreply@github.com |
a5795b371d0a2012883a53f2a2b5ea84580deb86 | 1142b4ba9a75ec86d1b1d986d526a39544c000f5 | /DFS/DFS Implementation recursive way.cpp | 5821b56048c998ffc78477d96921575e9914baa5 | [] | no_license | MehrajShakil/Graph-Algorithm | 662748a1bddee72677ceb532b4cd72978d56640f | 20130d168d7d5efecc5bd4e8ef1a8f473c778aeb | refs/heads/master | 2022-05-16T09:02:24.300174 | 2022-04-04T04:53:36 | 2022-04-04T04:53:36 | 242,720,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,776 | cpp |
/// BISMILLAHIR RAHMANIR RAHEEM
/// ALLAH IS WATCHING ME
/// ALLAH save us from COVID-19.Amin.
/// Every soul shall taste death.
/// Tag ::
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/detail/standard_policies.hpp>
/// order_of... | [
"noreply@github.com"
] | MehrajShakil.noreply@github.com |
584165d683bd81b86a7465fc2eb2622f3c55bd8d | 3fe051ebe2b44f50aadcda1f4e66774596d78313 | /Baekjoon/for loop/11022.cpp | 5d0de15acb5d9be22bb7c5f06b13d21f42d5e549 | [
"Apache-2.0"
] | permissive | YEAjiJUNG/AlgorithmPractice | 487f1cf7296424730b07f524c4419fea303cd332 | 720abd9bb3bf1eeadf57402379fdf30921f7c333 | refs/heads/master | 2023-03-02T01:44:45.925449 | 2021-02-13T03:50:50 | 2021-02-13T03:50:50 | 293,505,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <iostream>
using namespace std;
int main()
{
cin.tie(NULL);
ios_base::sync_with_stdio(false);
int A,i;
cin >> A;
for(i=1; i<=A; i++)
{
int a,b;
cin >> a >> b;
cout << "Case #" << i << ": " << a << " + " << b << " = " << a+b << "\n";
}
return 0;
} | [
"happyhan96@naver.com"
] | happyhan96@naver.com |
9524d9b257f41d9dbe9962ca791c55f7a28b6355 | 83195bb76eb33ed93ab36c3782295e4a2df6f005 | /Source/ToolCore/Platform/PlatformWeb.cpp | b200ce94f0180306d358f4e169e932e7751d1684 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NTP"
] | permissive | MrRefactoring/AtomicGameEngine | ff227c054d3758bc1fbd5e502c382d7de81b0d47 | 9cd1bf1d4ae7503794cc3b84b980e4da17ad30bb | refs/heads/master | 2020-12-09T07:24:48.735251 | 2020-01-11T14:03:29 | 2020-01-11T14:03:29 | 233,235,105 | 0 | 0 | NOASSERTION | 2020-01-11T13:21:19 | 2020-01-11T13:21:18 | null | UTF-8 | C++ | false | false | 1,417 | cpp | //
// Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC
//
// 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... | [
"josh@galaxyfarfaraway.com"
] | josh@galaxyfarfaraway.com |
4bad2083b630d0c60620ef08b4c26c7d750555a4 | 3134840cf195132650124d37ef1e84fd8d0afc1c | /264.cc | b9e6c2c73828643920647241328fdd63462c1c35 | [] | no_license | DyungWang/leetcode | bc60f058c43fca9f55984f1ef4c0e0dbb204dde2 | a0c68e2368b69432630e7996eff503775d10bdea | refs/heads/master | 2021-04-14T00:27:58.540718 | 2020-07-08T12:51:06 | 2020-07-08T12:51:06 | 63,585,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cc | // @author wangyangyang<wangyanyang@gmail.com>
// @created 2020/05/14
// @link https://leetcode.com/problems/ugly-number-ii/
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
class Solution {
#define tmin(x, y, z) min(x, min(y, z))
public:
int nthUglyNumber(int n) {
if (n <= 0) re... | [
"dyungwang@gmail.com"
] | dyungwang@gmail.com |
d372ca67372175f544d7e5ea13baf7f78bc78c06 | 6d9c67637ffc0876311953250e2de397beaddccf | /Licence_agreement/I_accept/PCModel1350/PCModel/3.00/Models/PCLake+/6.13.16/PCShell/work_cases/PCLake_plus_default/source_cpp_adjusted/arrays.cpp | 39875d5f45b1c7c6746a80b4898bec49fcdc3fac | [] | no_license | RedTent/PCModel | 7ed7aa95503bdd2b531929d05c44ec082d8b2562 | f98f62e15f1975f80c835fb616b36223b33c5d00 | refs/heads/master | 2023-04-18T10:14:26.302989 | 2020-08-28T09:52:50 | 2021-05-06T08:20:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | static double auxil[2477];
static double initAuxil[186];
static double param[601];
static double state[134];
| [
"pcmodel@nioo.knaw.nl"
] | pcmodel@nioo.knaw.nl |
e0d8cd11520854ce4a896b6a20bb56e1a17c5e7e | 5cd602fae9231fecda68ea690e1e4c0f04b7d9b2 | /GameLogic.h | 5c0a12c33480ae2063c19712757b7d569337aa4f | [] | no_license | RyanSwann1/Connect4 | debd24fcb322d6e387667ba434b52faae93029e0 | ebcace02e36c336c3c7cdafd90fb555b79b7ca49 | refs/heads/master | 2021-01-10T15:31:59.363188 | 2016-02-15T11:23:33 | 2016-02-15T11:23:33 | 50,837,874 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | h | #pragma once
#include <string>
class Board;
class humanPlayer;
class computerPlayer;
class GameLogic
{
private:
bool m_IsComputerInPlay = false;
bool m_FoundWinner = false;
char m_Turn = 'X'; //Starts as 'X' - it being the first turn
void askFirstTurn(humanPlayer& player1, humanPlayer& player2, computerPlayer&... | [
"RyanSwann1992@gmail.com"
] | RyanSwann1992@gmail.com |
dacad5ff1cc272c8ac3cfcef38103208ab02ac23 | 0dcc1d5d0e4472ee93725ddfb7f3bff7714f604d | /test/include/Member.h | d9ca5cedb9497f7fb00676c55eea2f7c53305a8a | [] | no_license | Paraschiv-Alexandru/Laborator | bbce03b75a1d404b1bbb001e831689add31f7b71 | 75218fd815e9c8d67b4b46b831f8ee64a12b689d | refs/heads/main | 2023-01-15T09:29:14.415262 | 2020-11-06T09:59:19 | 2020-11-06T09:59:19 | 308,599,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | h | #ifndef MEMBER_H
#define MEMBER_H
class Member
{
public:
Member();
virtual ~Member();
protected:
private:
};
#endif // MEMBER_H
| [
"noreply@github.com"
] | Paraschiv-Alexandru.noreply@github.com |
7014c67763ab1fec9b2516660d5eff4f3548ad73 | 3fc1ee94ebece7022c99d69cad39c3710487a74a | /services/network/cross_origin_read_blocking.h | b2fc7eafe15c6a8a863c0e03425ebde4c53a4664 | [
"BSD-3-Clause"
] | permissive | vseal001/chromium | b78653699caa6d54f45401ad0d9e3e90c160b8fb | 474eca05898d2524072c2e3d962a866ddcfe37fc | refs/heads/master | 2023-01-15T05:05:41.728378 | 2018-08-07T12:38:42 | 2018-08-07T12:38:42 | 143,872,860 | 0 | 1 | null | 2018-08-07T12:52:25 | 2018-08-07T12:52:25 | null | UTF-8 | C++ | false | false | 9,915 | h | // Copyright 2018 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 SERVICES_NETWORK_CROSS_ORIGIN_READ_BLOCKING_H_
#define SERVICES_NETWORK_CROSS_ORIGIN_READ_BLOCKING_H_
#include <memory>
#include <string>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aa07cfd8765ed0faece338465e4f50dc6f035887 | 20bd5707d96d02e8076080d2aa4a2645d8bf7078 | /src/test/DoS_tests.cpp | 5cd88455f521ab0de912fd9449520686d87353e1 | [
"MIT"
] | permissive | asaun/asacoin | 0a8001fcf4bca6ac4cb127e143dc1907bd8eb7dd | d9efcbf6c46c95f832c48f88155a0b665b779bf1 | refs/heads/master | 2020-03-24T21:20:42.717461 | 2018-07-31T14:42:38 | 2018-07-31T14:42:38 | 143,026,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,013 | cpp | // Copyright (c) 2011-2014 The Asacoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Unit tests for denial-of-service detection/prevention code
//
#include "keystore.h"
#include "main.h"
#include "... | [
"719591157@qq.com"
] | 719591157@qq.com |
092114100e45975680aa2a00b09720d496a42b7f | fafce52a38479e8391173f58d76896afcba07847 | /bazaar/IPNServerTest/IPNServerTest.cpp | 56ae278e28e6bce4cc0adac755781c743395d420 | [] | no_license | Sly14/upp-mirror | 253acac2ec86ad3a3f825679a871391810631e61 | ed9bc6028a6eed422b7daa21139a5e7cbb5f1fb7 | refs/heads/master | 2020-05-17T08:25:56.142366 | 2015-08-24T18:08:09 | 2015-08-24T18:08:09 | 41,750,819 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,109 | cpp | #include <IPNServer/IPNServer.h>
using namespace Upp;
// comment following one to have the server running as a daemon (UNIX ONLY BY NOW...
#define DEBUGME
#ifdef PLATFORM_POSIX
#ifndef DEBUGME
static bool Daemonize(void)
{
pid_t pid, sid;
// already a daemon
if ( getppid() == 1 )
return true;
// Fork off the... | [
"micio@05275033-79c2-2956-22f4-0a99e774df92"
] | micio@05275033-79c2-2956-22f4-0a99e774df92 |
fbe5931dc1cc409d247869cf29d948c996a52741 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /chrome/browser/ui/webui/signin/dice_web_signin_intercept_ui.h | 03f0fd0b4a3883bbed535501795c24c4e77aaf11 | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 1,256 | h | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_DICE_WEB_SIGNIN_INTERCEPT_UI_H_
#define CHROME_BROWSER_UI_WEBUI_SIGNIN_DICE_WEB_SIGNIN_INTERCEPT_UI_H_
#include "content/public/browser/... | [
"roger@nwjs.io"
] | roger@nwjs.io |
ebf9db01dee35216f78177812d51dc0917bcdebb | 6459e3386256947b49dff76bb24a8f701777fa6a | /lab1/task3/main.cpp | 2bf89d493482edc753b33251ed839cefaee5ae87 | [] | no_license | mzr/modern_cpp_course | a1a21d400cf119d748689061bd7c97b26dd31338 | 28028b5774c81a2837f943e713eefc985cbe948d | refs/heads/master | 2020-08-05T19:09:05.360040 | 2020-01-17T08:00:11 | 2020-01-17T08:00:11 | 212,670,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | #include <iostream>
#include <set>
using stringset = std::set<std::string>;
int main(){
stringset ss{"a", "be", "ce", "de"};
for (const auto &s : ss)
std::cout << s << "\n";
return 0;
}
| [
"mzr4141@gmail.com"
] | mzr4141@gmail.com |
381a8474d08fa918aa2104362196223050255617 | 29b7d6c7eaa1f73e8f57ac0557d74bae2d6cb8d3 | /AudioKit/Core/AudioKitCore/Synth/AKSynth.cpp | 78453604e37d6066c5ea64ff6c7c3c71b3644992 | [
"MIT"
] | permissive | niklassaers/AudioKit | f791582c203889a0a7df61717c7b914b720cf907 | 26c559128751ef95f56366cfabd0ac9edf16cbb8 | refs/heads/master | 2021-06-09T12:07:45.246696 | 2018-10-06T19:04:22 | 2018-10-06T19:04:22 | 151,872,924 | 0 | 0 | MIT | 2018-10-06T19:07:51 | 2018-10-06T19:07:50 | null | UTF-8 | C++ | false | false | 11,988 | cpp | //
// Synth.cpp
// AudioKit Core
//
// Created by Shane Dunne, revision history on Github.
// Copyright © 2018 AudioKit. All rights reserved.
//
#include "AKSynth.hpp"
#include "FunctionTable.hpp"
#include "SynthVoice.hpp"
#include "WaveStack.hpp"
#include "SustainPedalLogic.hpp"
#include <math.h>
#include <list>... | [
"megastep@megastep.org"
] | megastep@megastep.org |
4cfff28ae2c66b35dab97d607e889fae5438ba4f | 587e191159ab12e577940251d14558939e602614 | /verwrite/stockIT/app/src/main/include/Fuse.Animations.FastMatrixTransform.h | b31bc25b0475c89da7eb2960ed088514799abf49 | [] | no_license | hazimayesh/stockIT | cefcaa402e61108294f8db178ee807faf6b14d61 | 809381e7e32df270f0b007a6afc7b394453d1668 | refs/heads/master | 2021-04-09T16:10:23.318883 | 2017-07-31T21:28:05 | 2017-07-31T21:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | h | // This file was generated based on 'C:\Users\Emenike pc\AppData\Local\Fusetools\Packages\Fuse.Animations\0.43.11\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Binding.h>
#include <Fuse.Scripting.IScriptObject.h>
#include <Fuse.Transform.h>
#include <Uno.Collecti... | [
"egaleme@gmail.com"
] | egaleme@gmail.com |
ab33b57e6ef5062c618edfe81c6b7f3740c83b51 | 0ae6a2d4e0102a63d80a6993f38b6d0f568d135c | /src/qt/macdockiconhandler.h | 6e120580efdff5fa8b7574ad669268f4b7e58df4 | [
"MIT"
] | permissive | BullCoin-Project/BullCoin | d1d324ed6d0efcc7c6107418a0feaa6a5ffc707b | e01c79c13d27312a64ca5943a5cbd93cfbc18482 | refs/heads/master | 2020-03-09T21:47:56.002169 | 2018-04-26T12:38:48 | 2018-04-26T12:38:48 | 129,018,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2017 The Bull Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BULL_QT_MACDOCKICONHANDLER_H
#define BULL_QT_MACDOCKICONHANDLER_H
#in... | [
"bullcoinproject@gmail.com"
] | bullcoinproject@gmail.com |
357e5bd6f85887f27cbe4af1f62c43d85fe523bc | cf06ffcaf727cfc4cfa1716f394dd8ab8313d4be | /UbiGame/Source/GameEngine/GameEngineMain.h | c549273ac44ebb2c12362bf2a45c2e61b7e77374 | [] | no_license | XxAdi101xX/Callof2D-Portaltron | 39d592c9590297e599ea85e42a55d74742d100b3 | 554f6316e1defef1f4ec19012e0d5f1a96be50a7 | refs/heads/master | 2020-03-28T18:47:03.442822 | 2019-02-18T15:22:47 | 2019-02-18T15:22:47 | 148,910,956 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | h | #pragma once
#include <vector>
#include <SFML/Graphics.hpp>
#include <SFML/System/Clock.hpp>
#include "Game\GameBoard.h"
#include "GameEngine\EntitySystem\Entity.h"
#include "GameEngine\EntitySystem\Components\RenderComponent.h"
namespace GameEngine
{
class GameEngineMain
{
public:
~GameEngineM... | [
"adi_101@live.com"
] | adi_101@live.com |
7613b855ccf9867f59151aaec8d76d05304e7208 | 990daf03c8d8537cf24adc25cda4682e87fa912a | /designPatterns/principle/cRP.cc | 74edf00096625a00d8e0643e7a8e1dc9c83d11d4 | [] | no_license | lxb11/cpp | b7f366b9ed92f4f8992154d9055e30f6d52b4834 | 3e500146f4a0fe81c375088b08fb435fca066bc7 | refs/heads/master | 2021-06-19T22:58:38.655233 | 2019-07-31T10:52:11 | 2019-07-31T10:52:11 | 108,734,203 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cc | #include <iostream>
using namespace std;
/*
*合成复用原则
如果继承和组合都能完成功能的添加,那么优先使用组合(依赖)。
*
*
*
* */
class Cat
{
public:
void sleep()
{
cout << "小猫睡觉了" << endl;
}
};
//想给猫添加一个功能,创建一个新的猫,既能睡觉,也能吃东西
class AdvCat:public Cat
{
public:
void eatAndSleep()
{
cout << "吃东西" << endl;
... | [
"623417725@qq.com"
] | 623417725@qq.com |
c2292d6afeb4e98b48493d2ac67e1df9f4a45fab | 280a60d635b576efa082db48f37d8721a72ed11f | /mrClasses/mrStream.h | d74d204a042a7b99228358e1448bb7a29895fe95 | [
"BSD-3-Clause"
] | permissive | rurban/mrClasses | 3b370525369d03d800234b8a4b0e5df259c4d721 | b308c3bd18404c37a3d277031b0b72040050568d | refs/heads/master | 2023-06-24T16:22:59.708181 | 2020-03-30T07:58:14 | 2020-03-30T07:58:14 | 251,237,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,974 | h | //
// Copyright (c) 2004, Gonzalo Garramuno
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// * Redistributions of source code must retain the above copyright
// notice, th... | [
"rurban@cpan.org"
] | rurban@cpan.org |
fc05ae2fd814cc2733844734e7af58bdbae1ac8b | d52d5fdbcd848334c6b7799cad7b3dfd2f1f33e4 | /third_party/folly/folly/gen/ParallelMap.h | 01ba4caaf983068a800a0080662a1edb72ef14ec | [
"Apache-2.0"
] | permissive | zhiliaoniu/toolhub | 4109c2a488b3679e291ae83cdac92b52c72bc592 | 39a3810ac67604e8fa621c69f7ca6df1b35576de | refs/heads/master | 2022-12-10T23:17:26.541731 | 2020-07-18T03:33:48 | 2020-07-18T03:33:48 | 125,298,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | h | /*
* Copyright 2014-present Facebook, Inc.
*
* 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... | [
"yangshengzhi1@bigo.sg"
] | yangshengzhi1@bigo.sg |
da673c67dc93f9208b0880ad34a627fc9deca5a6 | bea0c710e3a173489e4fda27aec8e1f1df7e712b | /338_Counting Bits.cpp | 738dee25e06a2f5f697a2640be5eee1d198a7e39 | [] | no_license | BigRabbit71/LeetCode | 1fd2fd39d697d1c98ad7160a446bc1366b3cd355 | 8fa9c9b51da932d6f1348fa288fce2d5800b1e89 | refs/heads/master | 2020-12-02T22:51:58.557622 | 2018-04-24T08:52:48 | 2018-04-24T08:52:48 | 96,193,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | class Solution {
public:
vector<int> countBits(int num) {
vector<int> f(num+1, 0);
for(int i=1; i<=num; ++i){
f[i] = f[i>>1] + (i%2);
}
return f;
}
}; | [
"xiayiqian71@163.com"
] | xiayiqian71@163.com |
9789bed1ca3bce3e2e972701c946e1cde5eedbdd | ad10052619b7bc79d311940bd2419772c4bc8a53 | /topcoder-master-7/TheTower.cpp | 38f16cf098833aa208e71234df4439ac6bc09879 | [] | no_license | bluepine/topcoder | 3af066a5b1ac6c448c50942f98deb2aa382ba040 | d300c8a349a8346dba4a5fe3b4f43b17207627a1 | refs/heads/master | 2021-01-19T08:15:06.539102 | 2014-04-02T21:10:58 | 2014-04-02T21:10:58 | 18,381,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,538 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... | [
"1983.song.wei@gmail.com"
] | 1983.song.wei@gmail.com |
06bcac270b550867390348a4adb3a7aaec49496a | a6e8b356488f2b79f5ac3717b45d979c0fcc48f4 | /zombie_escape/components/cmp_physics.cpp | 98978b3d1e74c90401e4340e6ab1674538d7f3ce | [
"Apache-2.0"
] | permissive | ChefSemiColon/Set091221 | bb34cc4660b1763947b9eef79bf2acd9436502c2 | 99df026ebccb0ed4289119aee67ed1b82589fac0 | refs/heads/main | 2023-04-18T03:05:49.105363 | 2021-05-03T16:59:52 | 2021-05-03T16:59:52 | 338,377,023 | 0 | 0 | Apache-2.0 | 2021-05-02T19:44:54 | 2021-02-12T16:49:03 | C++ | UTF-8 | C++ | false | false | 4,418 | cpp | #include "cmp_physics.h"
#include "system_physics.h"
using namespace std;
using namespace sf;
using namespace Physics;
void PhysicsComponent::update(double dt) {
_parent->setPosition(invert_height(bv2_to_sv2(_body->GetPosition())));
_parent->setRotation((180 / b2_pi) * _body->GetAngle());
}
PhysicsComponent::Ph... | [
"53663699+ChefSemiColon@users.noreply.github.com"
] | 53663699+ChefSemiColon@users.noreply.github.com |
13880e5fa674c9cd80b829d72cacb5518a9bab6f | 0ad5354bb2ca26b1d71aaa02d84a1be1737ec8f7 | /D3DX9PRACTICE/UI.cpp | f0c578ce30c91cc8467e0d08e6c21a2f636a918a | [] | no_license | LeeYonggi/D3DX9Practice | 915789e892de758523bb643946d13f2d10dd2e9a | 6f141867045a0e77292e01b289b70798fa3804a7 | refs/heads/master | 2022-01-09T15:35:13.426512 | 2019-05-12T13:26:23 | 2019-05-12T13:26:23 | 162,016,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include "DXUT.h"
#include "UI.h"
UI::UI(std::function<void()> _function, Texture *_tex, Color _color)
{
function = _function;
texture = _tex;
color = _color;
}
UI::UI()
{
}
UI::~UI()
{
}
void UI::Init()
{
}
void UI::Update()
{
if (function)
{
function();
}
}
void UI::Render()
{
TEXMANAGER->RenderSprite... | [
"35089435+LeeYonggi@users.noreply.github.com"
] | 35089435+LeeYonggi@users.noreply.github.com |
2ab582b0dd7176ea2e32ebf196caec2282962a8b | 4b334342702b2607201aa1c081f0590dd8bc9ba8 | /examples/RPN_NRPN/utility.h | e1d874c167a289061afa921734573d7fbf72c659 | [
"MIT"
] | permissive | FortySevenEffects/arduino_midi_library | 5771077d06f48e33b36cac5c27df68d2e487dd93 | 2d64cc3c2ff85bbee654a7054e36c59694d8d8e4 | refs/heads/master | 2023-07-21T11:12:13.144522 | 2022-01-11T07:00:48 | 2022-01-11T07:00:48 | 4,409,634 | 1,408 | 271 | MIT | 2023-05-29T16:46:41 | 2012-05-22T16:43:25 | C++ | UTF-8 | C++ | false | false | 4,237 | h | /*!
* \file utility.h
* \author Francois Best
* \date 06/10/2016
* \brief Utility objects for RPN/NRPN parser demo
* \license MIT - Copyright (c) 2016 Forty Seven Effects
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | [
"francoisbest@gmail.com"
] | francoisbest@gmail.com |
232245a14d7de2e5859e17e87c28f2ebc30d8b7d | bb930d3188219e91c48deee00cb7c4cd237057f0 | /ParticleStorm/SingleTimeCommand.h | 2906b0932ede9b7107a839fe3580a43dfad78733 | [] | no_license | Muff1nz/ParticleStorm | 985449001bcdf0781f40dea228427575e74a23d4 | 95faa7bbf56ad809821858b04edceb6f3021ae44 | refs/heads/master | 2023-01-30T05:45:58.384289 | 2020-12-10T20:29:12 | 2020-12-10T20:29:12 | 156,608,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #pragma once
#include "VulkanContext.h"
class SingleTimeCommand {
public:
SingleTimeCommand(VulkanContext* vulkanContext);
~SingleTimeCommand();
VkCommandBuffer GetCommandBuffer() const;
void Begin();
void End() const;
private:
VkCommandBuffer commandBuffer;
VulkanContext* vulkanContext;
};
| [
"muffinz314@gmail.com"
] | muffinz314@gmail.com |
6b0e8abbd2e0e231532f8185c19ed7c1b4a66c43 | 7dd17807102a0fc9d263f48d70e806d1f8f25283 | /Learning/DP/Longest_Common_Substring.cpp | ff72e3106c41419df709118ff6de21dde494caaa | [] | no_license | ashok2811/CP_OLD | e59aabd3191727f0f0fcb1f53a01471de9789a3d | 09da781d5dfafba1dc879127dd828f04b3f489fe | refs/heads/master | 2023-01-07T21:59:16.267809 | 2020-11-10T17:07:59 | 2020-11-10T17:07:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | #include <bits/stdc++.h>
using namespace std;
int dp[100][100];
int lcstr(string X , string Y, int n , int m, int count){
if(n == 0 || m == 0) return count;
if(dp[n][m]!= -1) return dp[n][m];
if(X[n-1] == Y[m-1]){
count = lcstr(X,Y,n-1,m-1, count+1);
}
count ... | [
"ashok281196@gmail.com"
] | ashok281196@gmail.com |
0f30f04acea1877b83de9d4cb778e433f954382f | e0f42167a28d5edb9cd238f69bd8af7ccfee282e | /data-server/test/fast_net_client.cpp | 9a804d896f7cce626be43b96739a7e66d0dc2cdc | [
"Apache-2.0"
] | permissive | apaqi/sharkstore | d516af141dff3e71274be2847c25c4501bcbd189 | 88e0e0f29c8c170b6021dd0743560a94b9fc8b6a | refs/heads/master | 2020-04-18T06:26:08.514125 | 2019-01-24T07:10:03 | 2019-01-24T07:10:03 | 167,320,629 | 0 | 0 | Apache-2.0 | 2019-01-24T07:09:19 | 2019-01-24T07:09:03 | JavaScript | UTF-8 | C++ | false | false | 5,612 | cpp | #include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <condition_variable>
#include <map>
#inclu... | [
"dingjun@jd.com"
] | dingjun@jd.com |
15848d6aaea2bdc1d02cdc24b28720c67232b3bb | b24334b898c8427d9996aef291fedc0e3c0babff | /src/timeseries.h | 0b200a2bf914de44f64e7dea08c4f9e127f504a5 | [] | no_license | shlomi1993/AnomalyDetectionServer | 7bfdb097116af440bcf36404d974e998bb6c168a | ded9b347b44fd071d84ef83013546dbe9451f3ba | refs/heads/main | 2023-05-15T07:08:58.242395 | 2021-06-12T17:10:09 | 2021-06-12T17:10:09 | 353,019,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | h | /*
* TimeSeries.h
*
* Author: Shlomi Ben-Shushan
*/
#ifndef TIMESERIES_H_
#define TIMESERIES_H_
#include <iostream>
#include <string.h>
#include <fstream>
#include <map>
#include <vector>
#include <bits/stdc++.h>
#include <algorithm>
using namespace std;
// TimeSeries class.
class TimeSeries{
private:
// ... | [
"shlomiggl@gmail.com"
] | shlomiggl@gmail.com |
349a5f49f4941e2b57df5f4391011724dcd5394f | 1193369b10ca2a89cef8dfd37a2c46993d7a339f | /CW_EnhancedList/EnhancedList.h | 8c82281a984c3824ac51bad5109c95caff1109aa | [] | no_license | AlimbekovaS/Lab_EnhancedList | b874956b2e4a9690f61739a9a89f9121e238f747 | 7768ce6c36ac7cb258d06321057d97aacbe39d89 | refs/heads/master | 2020-03-19T05:56:42.857554 | 2018-06-04T05:55:53 | 2018-06-04T05:55:53 | 135,977,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include"List.h"
#include"Library.h"
template<typename T>
class EnhancedList :public List<T>
{
public:
T& operator[](int index)
{
int counter = 0;
curPtr = firstPtr;
for (int i = 0;i < size();i++)
{
if (index == counter)
return curPtr->date;
else
{
counter++;
curPtr = curPtr... | [
"АлимбековаС@227_6"
] | АлимбековаС@227_6 |
ce5e4ef17ab4e82cdb0c7abd02ce93301ffbbb83 | 74281899c3d09b199f5059d439df4df83a37e782 | /GeneratedFiles/Debug/moc_triangletransform.cpp | f1df9d22f07d70a324111985a8bc96446e39a570 | [] | no_license | cloudending/TriangleTranform | c4067f8489404071e0e7e58acea35efa2bbf48f1 | 5f58f199f5e5bfb73760b3387d4022f2fe69b83f | refs/heads/master | 2020-06-29T01:01:50.211433 | 2014-10-27T14:33:09 | 2014-10-27T14:33:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,525 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'triangletransform.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.1.0)
**
** WARNING! All changes made in this file will be lost!
***************************************************... | [
"cloudending@qq.com"
] | cloudending@qq.com |
a96735b4fa78f5cbf63bcb9a85624edc0e0fd442 | 64ffcb4b8aee48fe20ed690089d8433c0e953c78 | /src/structures/GlobalConfig.hpp | d8db40c559203161fc53a00f200a0af0624af6ee | [] | no_license | roscale/Smarthome-ESP32 | d2fc59a7d11ca7edc7190c78ac13f38957fd29cb | 34d151b04ced2c2fae09dbbb67acc9d6814b4615 | refs/heads/master | 2022-01-26T15:38:19.261002 | 2021-09-22T12:03:46 | 2021-09-22T12:03:46 | 159,524,203 | 0 | 1 | null | 2018-11-29T10:51:24 | 2018-11-28T15:33:43 | C++ | UTF-8 | C++ | false | false | 276 | hpp | //
// Created by roscale on 2/1/19.
//
#pragma once
#include <EEPROM.h>
struct GlobalConfig {
std::string name;
std::string ssid;
std::string psk;
bool power;
void load();
void save();
static GlobalConfig& instance();
private:
static GlobalConfig* singleton;
};
| [
"roscaalex19@gmail.com"
] | roscaalex19@gmail.com |
511e60071852a1fa015b661da4a125338d2b8b75 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/blink/renderer/modules/webgpu/gpu_render_pipeline.cc | d855a8085fbd926efedb0168407ad9456d136786 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | 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 | 15,538 | cc | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/webgpu/gpu_render_pipeline.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_pa... | [
"jengelh@inai.de"
] | jengelh@inai.de |
ffb94d0f692d5025a2a26400d991e85e928d2939 | b75a64026dfce1f146d88742ade71c37a35f79c9 | /Flood Fill/source/Title.cpp | 32b3ec177ac64ff9b15891a7f4302c68cfaa193d | [] | no_license | sednihp/FloodFill | e9e4f52b4dff0695abaa43ba9b31e5076e85aaa2 | 7756bd3b54ac3c4d8e457c08ecb9fafb85ced91b | refs/heads/master | 2020-03-23T23:58:40.151219 | 2018-07-25T08:12:20 | 2018-07-25T08:12:20 | 142,266,700 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cpp | #include "Title.h"
#include "Level.h"
#include "Engine.h"
#include "HighScore.h"
#include "CollisionEngine.h"
#include "Difficulty.h"
Title::Title(MediaCache& mc) : State(mc),
font(mediaCache.getFont(200)),
menuFont(mediaCache.getFont(100))
{
title = mediaCache.getText("Flood Fill", font, mediaCache.... | [
"p.hindes@gmail.com"
] | p.hindes@gmail.com |
f9dfcec1111040004b1977d4506f9f80267ae1fa | 3de5a328c9372fc996d265cf005a33f70a76f9de | /playstate/playstate/gui/canvas_group.h | 319b25b67dcd5956d13efc2ed5ee330c9989929f | [] | no_license | perandersson/playstate | 6c22942f295ee85482332776e6b94041e765247d | 7e6a426e834e43663846c3c1a5ae4f3a9fa94619 | refs/heads/master | 2020-04-28T00:49:30.853108 | 2013-10-14T17:24:35 | 2013-10-14T17:24:35 | 10,280,928 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,517 | h | #pragma once
#include "../linked_list.h"
#include "../processor/update_processor.h"
#include "../math/rect.h"
#include "../math/point.h"
#include "gui_geometry_builder.h"
#include "../script/scriptable.h"
#include "gui_style.h"
#include "control/slider_control.h"
#include "control/label_control.h"
#include "control/ch... | [
"dim.raven@gmail.com"
] | dim.raven@gmail.com |
eb539ea4ebd5bed85d0c7f6d4d19345bf4c52dbe | 25abd807ca135a5c268255515f6d493c229903be | /cppwinrt/Windows.UI.Input.Inking.Analysis.h | 822f0891f4fb1e40cfc656de760415fd3427658b | [
"Apache-2.0"
] | permissive | RakeshShrestha/C-Calendar-Library | 670924ae3204d8737d8f43c47e54fe113d202265 | 6525707089891b0710e34769f7aeaea0c79271a1 | refs/heads/master | 2022-05-16T15:26:37.102822 | 2022-04-28T08:45:58 | 2022-04-28T08:45:58 | 33,488,761 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,290 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200117.5
#ifndef WINRT_Windows_UI_Input_Inking_Analysis_H
#define WINRT_Windows_UI_Input_Inking_Analysis_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.200117.5"), "Mismatched C++/WinRT headers.");
#include... | [
"rakesh.shrestha@gmail.com"
] | rakesh.shrestha@gmail.com |
8f6d841f8005511ff65676a851e282bedd6781e8 | f035d3fc528910cab9a4569abe57869fb5d466da | /tests/src/CachedWots_test.cpp | 48559bb63c4c5ea5a8490d025e0b7ffa7e4131e0 | [
"MIT"
] | permissive | lucasperin/WOTS | 6d7f6ded37aabfe5b5e3b9681dc8dfb5e9d3b2ee | 88f09cf070839595190a3a495c4af8b0b8358172 | refs/heads/master | 2022-03-07T01:39:19.794464 | 2019-10-18T19:23:13 | 2019-10-18T19:23:13 | 113,357,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,690 | cpp | #include "gtest/gtest.h"
#include "wots/CachedWots.h"
#include "primitives/OpenSSLSha256.h"
#include "primitives/OpenSSLSha512.h"
#include <iostream>
using CWOTS_256_4 = CachedWots<OpenSSLSha256,4>;
using CWOTS_512_4 = CachedWots<OpenSSLSha512,4>;
using CWOTS_256_16 =CachedWots<OpenSSLSha256,16>;
using CWOTS_512_16 =C... | [
"lucasperin@gmail.com"
] | lucasperin@gmail.com |
ebff40b916d289fa049694c02c1c5427d1bd648b | 9f9c2da56fd5146a7cf1a9c928e52acefaba4c54 | /RequestAndUpdate/RequestUpdate.h | 309c46cada20ffb69dd2c6297c9221fddc536272 | [] | no_license | nilfs/cpp_toybox_old | b3516437a2524cd9a3b7e42aca79fe10f72f821b | cd9b6518cf0ca25e49d075f683088a03ce9dfa16 | refs/heads/master | 2021-01-20T06:42:37.487944 | 2014-09-01T14:52:43 | 2014-09-01T14:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | //
// RequestUpdate.h
// RequestAndUpdate
//
// Created by nilfs on 2014/09/01.
// Copyright (c) 2014年 nilfs. All rights reserved.
//
#ifndef __RequestAndUpdate__RequestUpdate__
#define __RequestAndUpdate__RequestUpdate__
#include <iostream>
#endif /* defined(__RequestAndUpdate__RequestUpdate__) */
| [
"nilfs55_dev@gmail.com"
] | nilfs55_dev@gmail.com |
4da1ee7d821b83db7f3732eb5e6bcc59eec8d096 | 2a856abdd214cf37bf5ebfaeac5e9464b4ff1713 | /week7/qp-lp-tutorial/qp-tutorial.cpp | 739915acca0e7b4110aae20121e8a37f5f08cf75 | [] | no_license | jandono/algolab-ETH | f1622f37af637980634a94b829143643b38a9858 | 3a599e6b574b00f03f6862c7d83577d75665841e | refs/heads/master | 2020-08-30T22:25:05.176748 | 2019-10-30T11:14:13 | 2019-10-30T11:14:13 | 218,505,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include <iostream>
#include <cassert>
#include <CGAL/basic.h>
#include <CGAL/QP_models.h>
#include <CGAL/QP_functions.h>
#include <CGAL/Gmpz.h>
// x^2 + 4(y-4)^2 (= x^2 + 4y^2 - 32y + 64)
// x + y ≤ 7
// -x + 2y ≤ 4
// x ≥ 0
// y ≥ 0
// y ≤ 4
// choose exact integral type
typedef CGAL::Gmpz ET;
// program and solut... | [
"ac1d@ac1ds-MacBook-Pro.local"
] | ac1d@ac1ds-MacBook-Pro.local |
6e0dd0a7ec3bf8172ef5fa26c0a63584c2ab3bdc | c44fb0847f55d5a9a187e6e9518c1fa28957c480 | /FoundationLib/MonitorSystemLib/v1/Framework/MonitedObjectCreator.cpp | b7cc56ac778850eff31f257306b914b8600ab3a5 | [] | no_license | Spritutu/hiquotion_cpp | 54567d5d0e62c36415d94f851ef9631932480e33 | 39e35053f979f7b613075c6a582fe58333c95dff | refs/heads/master | 2022-03-29T13:08:54.752069 | 2020-01-21T05:00:19 | 2020-01-21T05:00:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 683 | cpp | #include "StdAfx.h"
#include "MonitedObjectCreator.h"
#include "../FileMonitor/MonitedFileSize.h"
CMonitedObjectCreator::CMonitedObjectCreator(void)
{
}
CMonitedObjectCreator::~CMonitedObjectCreator(void)
{
}
IMonitedObject *CMonitedObjectCreator::create(string type, string status)
{
CString stype=type.c_str();
st... | [
"yxsylyh@163.com"
] | yxsylyh@163.com |
b9261bf7f7795af5742656cfe3cc33dcec171c2a | 0a303e70a89d69b2c635cd41edf6c24eaf923608 | /graphic/DrawPoly/DrawPoly.cpp | e5cb41792b0a3c433d21c5ca02b080254dd3d62e | [] | no_license | lucetewoo/2016_Hackathon_5 | 75c38304822b6c81c275c76806a7de181c6a1a07 | 29d9a781391346d602acd9dd1a954f712cf4faab | refs/heads/master | 2021-01-21T22:10:49.609820 | 2016-11-13T03:52:30 | 2016-11-13T03:52:30 | 73,593,253 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,769 | cpp | #include <windows.h>
LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass=TEXT("DrawPoly");
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
,LPSTR lpszCmdParam,int nCmdShow)
{
HWND hWnd;
MSG Message;
WNDCLASS WndClass;
g_hInst=hInstance;
WndC... | [
"zxdv2002@gmail.com"
] | zxdv2002@gmail.com |
9570141f75ac889492f5b4f0bd7e4edb0bfa7d5b | de5a211bbaaf52087b5ed4a7e845a0dbd22597a8 | /在有序数列中插入一个数,使之有序2.cpp | 3dc75783eae3645d033ea86fe5aee7f466d718d9 | [] | no_license | zhangyangru/zyr | bba7d5d295bf652298010f712c090ae2cfba490f | e14fe0b6b18a88650bbbdace2225b4e49e7fda5f | refs/heads/master | 2020-03-19T05:10:08.282700 | 2018-06-03T13:22:35 | 2018-06-03T13:22:35 | 135,905,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include<stdio.h>
int main()
{
int i,j,n=5,p,q=0;
char x[5];
int a[10]={1,2,5,7,8};
for(j=0;j<5;j++)
{
scanf("%c",&x[j]);
if(x[j]!='\n')
q++;
else
break;
}
for(j=0;j<q;j++)
{
for(i=0;i<n;i++)
{
if(x[j]>=a[i]&&x[j]<a[i+1])
{
for(... | [
"18220473065@163.com"
] | 18220473065@163.com |
8200bb25768c2fa0e2151eea4cdd74da94c989b8 | bb3b44361659cc500c9b9fb51331a3bdf662e0bc | /spatial-reasoning-AR-app/user-testing-1/Classes/Native/GenericMethods4.cpp | fbde86d082ea2ff084a030bc5bbf01c7992bdb82 | [] | no_license | selenaqian/spatial-reasoning-AR | 77920b35dca21213e85b6afb8ebf382e6587b067 | cf900ae5c4814d4bd59d361cb0602def05a8c454 | refs/heads/master | 2023-01-10T16:53:18.357077 | 2020-11-11T06:42:11 | 2020-11-11T06:42:11 | 293,871,296 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271,701 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"sq22@duke.edu"
] | sq22@duke.edu |
16c2f06425089b48b77df5bdb9c485fdbc29b2d9 | 80a5735ba2abdee190144c6fe6cb8c88609c402e | /meshlab/MeshLabSrc_AllInc_v132/meshlab/src/meshlabplugins/filter_isoparametrization/diamond_sampler.h | a4eb744d66004eb4cb2af7c6459a0fb5ae8f905a | [] | no_license | quxiaofeng/python-stl | 8947bbd4645417fd76ef45c864e7e3f54d213a4c | 0929ada14c96511056b88e4f97474c1cee7ade79 | refs/heads/master | 2021-05-16T02:17:10.530607 | 2013-12-16T19:18:26 | 2013-12-16T19:18:26 | 12,635,141 | 10 | 4 | null | 2018-09-14T13:18:57 | 2013-09-06T03:38:26 | C | UTF-8 | C++ | false | false | 6,134 | h | #ifndef _DIAMSAMPLER
#define _DIAMSAMPLER
#include <stat_remeshing.h>
#include <vcg/complex/algorithms/clean.h>
class DiamSampler{
typedef IsoParametrization::CoordType CoordType;
typedef IsoParametrization::ScalarType ScalarType;
std::vector<std::vector<std::vector<CoordType> > > SampledPos;
IsoParametrization *... | [
"quxiaofeng@outlook.com"
] | quxiaofeng@outlook.com |
28d43d12975d795fe9a203967af82d5e84eb440e | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /iai/src/v20200303/model/FaceQualityCompleteness.cpp | cbe18acb1c58ac6d5deeabe59d80f11f3f1943c7 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 6,350 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
8e51716acc84333feed6260b93187846407340e8 | c61386abf1555218411d705a9f2d9753807f1870 | /mines/gamemine.cpp | e76eca69b8d6c27625073107670cdf54f641498c | [
"Apache-2.0"
] | permissive | isabella232/ez3pda | eb85322f9a1ff4c047b7716b04dcfd7e363fff9e | 1d16559caf7a94dff6d8fdcf94f572bc09b36ae4 | refs/heads/master | 2022-03-19T19:06:30.595525 | 2018-04-10T04:28:14 | 2018-04-10T04:28:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 17,474 | cpp | /******************************************************************
* Mines for the GameBoy Advance
*
* By Ivan Mackintosh (ivan@rcp.co.uk)
* Art by Roger Bacon (http://www.btinternet.com/~rog666/)
*
* This program requires GCC to be compiled. Download it from
* http://www.devrs.com/gba
*
* Version 1... | [
"noreply@github.com"
] | isabella232.noreply@github.com |
aac807c48356bd734292abe191c89274f7a55781 | 483ab92579df2e77ee8210d1344d390f2f561f97 | /Assignment1.08/dungeon.cpp | 0d45ce5c566b4ba63bed1d0bee5afdff7b006363 | [
"MIT"
] | permissive | TylerJaacks/COMS327 | 35f42cf7d8ce8a97d0204a4d85a1f403ac58c7d0 | e91591ffa01d83f99ceeeda686a9beed6906bbed | refs/heads/master | 2021-09-13T00:12:00.161864 | 2018-04-23T00:38:11 | 2018-04-23T00:38:11 | 116,852,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,371 | cpp | #include <stdio.h>
#include <stdint.h>
#include <endian.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <limits.h>
#include <errno.h>
#include "dungeon.h"
#include "utils.h"
#include "heap.h"
#include "event.h"
#include "pc.h"
#include "npc.h"
#include "io.h"
#define DUMP_HARDNESS_IMAGES 0
typedef struct cor... | [
"tylerjaacks@gmail.com"
] | tylerjaacks@gmail.com |
b88a846cbfc087457debb8d123fffb02814bb257 | 9a786acad04bde2afcfba9e48e91270cdfd57d39 | /code/misc/fast_mod.cpp | 905a0cabd829b68eeb146171b5340bdbea550d4f | [
"MIT"
] | permissive | nathaliaop/icpc-notebook | feef23e4a66af4558d2774fd23f8b47f605b0de1 | 18b9a6c8acbe485dfa19b1e5199d0e3a148097c6 | refs/heads/master | 2023-08-06T01:18:59.843420 | 2020-08-16T11:59:34 | 2020-08-16T11:59:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | // source: https://github.com/koosaga/DeobureoMinkyuParty
inline void fasterLLDivMod(unsigned long long x, unsigned y, unsigned &out_d, unsigned &out_m) {
unsigned xh = (unsigned)(x >> 32), xl = (unsigned)x, d, m;
#ifdef __GNUC__
asm(
"divl %4 \n\t"
: "=a" (d), "=d" (m)
: "d" (xh), "... | [
"noreply@github.com"
] | nathaliaop.noreply@github.com |
b0118a62dc7aa54ebfd11b4ac0045e63eef4fcb0 | 50d750382ccfbc6e0ecd39fd89e716906d9f2b2a | /complex_communication/src/player_2.cpp | 795af1ee1f6047b73caa284846f108fef23c2ba8 | [] | no_license | thanosmanolis/r4a_tutorials | 82e5124d2497440232cb5f5d93c571d4f74b1a3d | 1ec5e7f58ccf5e4a336daffff5a567723334de03 | refs/heads/master | 2020-04-05T12:17:02.666156 | 2019-03-27T12:14:03 | 2019-03-27T12:14:03 | 156,863,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | #include "ros/ros.h"
#include "complex_communication/Move.h"
#include <cstdlib>
#include <ctime>
#include <iostream>
bool play(complex_communication::Move::Request &req,
complex_communication::Move::Response &res)
{
res.new_board = req.old_board;
srand(time(NULL));
int i = rand()%9;
while(req.old_board[i] !=... | [
"noreply@github.com"
] | thanosmanolis.noreply@github.com |
e24aaf4c5b8cd98ad9fee635d123645412bf5bf0 | f1932e45c959fed949596c643ba6f2218c081223 | /Proyecto_nf/Proyecto_QT/WidgetAgregarVenezuela.cpp | 1504bf6958c7b9c5479430c30c73a148c7760c8c | [] | no_license | savacano28/NETFLIX_QT | 675654eec89c34d6fcb65326ef1d7bc81b2086f4 | eacd5de7593dfa23a823dba03c190279d9d579a5 | refs/heads/master | 2021-01-17T06:53:45.364905 | 2016-07-15T19:26:59 | 2016-07-15T19:26:59 | 63,446,028 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 4,705 | cpp | #include "WidgetAgregarVenezuela.h"
#include "WidgetPrincipal.h"
#include <QMessageBox>
#include <QObject>
#include <QApplication>
#include <QDialog>
#include <QFormLayout>
#include <QPushButton>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QTextEdit>
#include <String>
#include <... | [
"savacano_28@live.com"
] | savacano_28@live.com |
caf09f40dde8fbc2ea0586d6cb24850853f724af | 827405b8f9a56632db9f78ea6709efb137738b9d | /CodingWebsites/WHU_OJ/Volume2/P1154.cpp | 6199b45e4022b2df9051014bd087250b98023f19 | [] | no_license | MingzhenY/code-warehouse | 2ae037a671f952201cf9ca13992e58718d11a704 | d87f0baa6529f76e41a448b8056e1f7ca0ab3fe7 | refs/heads/master | 2020-03-17T14:59:30.425939 | 2019-02-10T17:12:36 | 2019-02-10T17:12:36 | 133,694,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main(){
freopen("P1154.txt","r",stdin);
int TC=0;
string str;
while(cin>>str){
if(str[0]=='#') break;
for(int i=1;i<str.length();i+=2)
str[i]=toupper(str[i]);
printf(... | [
"mingzhenyan@yahoo.com"
] | mingzhenyan@yahoo.com |
41082fb953c103ab42401ef51d0f26d9ad2a722a | 223634ace00d1f343819c4cd7075e2536a9b00be | /Container.h | baa2ae7fd3ae8cc9199563ba4a378d17bc56dbcd | [] | no_license | DostavalovID/SetContainer | 7c39ee08fb099c46440bed8775f60b982edf60d2 | 4cf500a390d0a5c510f287e263ed45ee204e6658 | refs/heads/master | 2022-10-07T00:18:29.160702 | 2020-06-08T05:17:38 | 2020-06-08T05:17:38 | 259,548,073 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,467 | h | #pragma once
#include <stdio.h>
#include <string.h>
#include <cstring>
#include <stdlib.h>
#include <iostream>
#include "MemoryManager.h"
#include "Mem.h"
using namespace std;
// Базовый класс для всех абстрактных контейнеров
class Container
{
protected:
MemoryManager& _memory;
public:
// Базовый класс для и... | [
"64457412+DostavalovID@users.noreply.github.com"
] | 64457412+DostavalovID@users.noreply.github.com |
79c9b3fd796edcaee6de9b7b19a115dfcc5743e6 | 38226b0be0b9fcf975ad9803b9c91f8d2c5dd2ba | /Solutions/PP0502B.cpp | c477f36c21fc0dc17fe77b0fd575f625bf9ac7d4 | [] | no_license | kaczorrrro/spoj | 2fa40aba8e33b1c77e416c88656159fc889e097a | ab73d16bd2ed1e7f2e85d8ea6bcce5bdccec9b51 | refs/heads/master | 2022-05-31T22:56:42.639151 | 2022-05-27T12:40:52 | 2022-05-27T12:40:52 | 83,064,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | // PP0502B - Tablice
#include <iostream>
#include <vector>
int main() {
int cases;
std::cin >> cases;
for (int c = 0; c < cases; c++) {
int n;
std::cin >> n;
std::vector<int> vec;
vec.reserve(100);
for (int i = 0; i < n; i++) {
vec.push_back(0);
std::cin >> vec.back();
}
f... | [
"kastianoza@gmail.com"
] | kastianoza@gmail.com |
5e1c462e5c8f2f7d771b39415b1f519176a5b596 | 16f63fa82764cae999dcbcceb2c1355730fa577b | /Day25/Day25.cpp | 86c7b072fd396880ac018ee93ca175bab8ab73ba | [] | no_license | wisemankaitlyn/AOC2020 | 0464e8e7f7ee1341d724264306ee654b25107e3e | fceaba2d74e120d1ec4f2c5b463d3ac35bd13444 | refs/heads/main | 2023-02-08T05:05:00.599167 | 2020-12-25T23:24:48 | 2020-12-25T23:24:48 | 317,727,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | // day 25!!!
// kaitlyn wiseman
// 12/25/2020
#include<iostream>
#include<fstream>
#include<vector>
using namespace std;
int main()
{
long long subject_number = 7;
long long value = 1;
long long card_public_key = 19241437;
long long door_public_key = 17346587;
long long card_loop_size = 0;
long long door_loop_... | [
"68436733+wisemankaitlyn@users.noreply.github.com"
] | 68436733+wisemankaitlyn@users.noreply.github.com |
51f2a45ee3502379d8a8f2d2f71fdda1d56b6b05 | 8a74c49b6ad3ef8a987e171d24ecb9b103c23784 | /Graph/Prim's Algorithm-Efficient Approach(MST).cpp | a10ee8f0c0dc61c592fa69d79aed4b2e04d73541 | [] | no_license | BeWithGanesh/Data-Structures-and-Algorithms | a0d94284e404959c8c42cae8ba5fa764a80f9830 | dc90b84427126a2123f1299e91bd315ce0a64841 | refs/heads/master | 2023-06-24T23:17:26.109581 | 2021-07-29T07:32:37 | 2021-07-29T07:32:37 | 271,491,324 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | // Coded by Ganesh Prasad
#include<bits/stdc++.h>
using namespace std;
void addEdge(vector<pair<int,int>> adj[],int u,int v,int wt){
adj[u].push_back({v,wt});
adj[v].push_back({u,wt});
}
void MST(int V, vector<pair<int,int>> adj[]){
// util
int min_edge[V];
int parent[V];
bool mst[V];
// min-heap
pr... | [
"to.bewithganesh@gmail.com"
] | to.bewithganesh@gmail.com |
6cb3f3d3e26b0196900804a5147d363b1da7d6ef | 39eac74fa6a244d15a01873623d05f480f45e079 | /TemplateExceptionDlg.h | e6b93f9e19005360c802db2097bfbc5e5ec9c217 | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,573 | h | #if !defined(AFX_TEMPLATEEXCEPTIONDLG_H__9EEF3639_B2DB_47E1_BB46_9B61176D7CAA__INCLUDED_)
#define AFX_TEMPLATEEXCEPTIONDLG_H__9EEF3639_B2DB_47E1_BB46_9B61176D7CAA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TemplateExceptionDlg.h : header file
//
// (c.haag 2006-11-13 10:02) - PLID 5993 - ... | [
"h.shah@WALD"
] | h.shah@WALD |
c8dcdb16795def542cc2988418a981f0ef2de8af | 9ebeecfeaf9a5edbbd117dfc88974a4531fa5ddd | /Source/SalwaRTS/MyGameInstance.h | 155cf4ac552386f2b613f8875bb8b6e8efba4a70 | [] | no_license | Ardian2137/RTS | bd305b0d6085648cdc5f5acf00b2d9224f5f7ef5 | 0ee00828e0a245bb73ba5183f00bb173e23792de | refs/heads/master | 2021-09-20T11:07:25.353211 | 2018-08-08T15:40:24 | 2018-08-08T15:40:24 | 137,248,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/GameInstance.h"
#include "MyGameInstance.generated.h"
/**
*
*/
UCLASS()
class SALWARTS_API UMyGameInstance : public UGameInstance
{
GENERATED_BODY()
};
| [
"lachwojciech23@gmail.com"
] | lachwojciech23@gmail.com |
a6ffb6527d22cab1bfe7ce044113abf4becc1d70 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/088/048/CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_malloc_62b.cpp | b8a48db137b4545a71d4eaa76960efdf44f39301 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,606 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE195_Signed_to_Unsigned_Conversion_Error__listen_socket_malloc_62b.cpp
Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 195 Signed to Unsigned Conversion Error
* BadSource: ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
33301d9e9a39c52d5d152520f938a7368b1d75e3 | 3010844d6c3bfed574a25a5d213b1c2b79a7847b | /EULER/connect.h | 573ace70b95df1b14df74ba1347b028caa27e2d0 | [] | no_license | Anteum/EULER1-25 | b7d95ff7a3509f77c9ea0f77cdd84f2187fb652c | 3907f7723d7fada646817187cea57dc05da7dc5a | refs/heads/master | 2021-01-23T04:33:55.810737 | 2017-03-26T21:06:56 | 2017-03-26T21:06:56 | 86,210,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #include <iostream>
#include <stdlib.h>
#include <time.h>
#include <string>
#include <math.h>
#include <fstream>
#include <vector>
using namespace std;
int one();
int two();
int three();
int four();
int five();
int six();
int seven();
int eight();
int nine();
int ten();
int eleven();
int twelve();
int thirtn();
int f... | [
"adamguy17@gmail.com"
] | adamguy17@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.