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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aaf673177758d7eb81b36d0e34fa2d226da4f669 | d831d62f02b615e8e034443409de6c014086c446 | /libs/strategy/stratController.h | 294ef3abaa4713ddfbecaad5082d1ed2cb6e296f | [
"MIT"
] | permissive | ss2311/src | e2913d3d760df9f542a699ad5812d2db79bf4ac7 | adcf8f4f8236386b736cd518f99014e22e44d74b | refs/heads/master | 2020-06-11T13:17:45.099375 | 2017-03-01T03:18:04 | 2017-03-01T03:18:04 | 75,664,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | h | #pragma once
#include <vector>
#include <set> // set
#include <utility> // unique_ptr
#include <chrono>
#include <strategy/strategy.h>
namespace kalki {
struct Timer {
Strategy& strategy;
std::chrono::steady_clock::time_point tp; // expiration time
std::chrono::milliseconds ms; // durati... | [
"saurabh_srivastava@yahoo.com"
] | saurabh_srivastava@yahoo.com |
ef032d50a1e659e25125a261796803502ff0bfd9 | 1a220abd21c56728aa3368534506bfc9ced8ad46 | /3.beakjoon/삼성/백준_1194_달이 차오른다, 가자.cpp | 673f60a8c21dc3f88c1c32b3a4b2c7bc94d9e553 | [] | no_license | JeonJe/Algorithm | 0ff0cbf47900e7877be077e1ffeee0c1cd50639a | 6f8da6dbeef350f71b7c297502a37f87eb7d0823 | refs/heads/main | 2023-08-23T11:08:17.781953 | 2023-08-23T08:31:41 | 2023-08-23T08:31:41 | 197,085,186 | 0 | 0 | null | 2023-02-21T03:26:41 | 2019-07-15T23:22:55 | Python | UTF-8 | C++ | false | false | 4,389 | cpp | //https://www.acmicpc.net/problem/1194
//빈 곳 : 언제나 이동할 수 있다. ('.‘로 표시됨)
//벽 : 절대 이동할 수 없다. (‘#’)
//열쇠 : 언제나 이동할 수 있다.이 곳에 처음 들어가면 열쇠를 집는다. (a - f)
//문 : 대응하는 열쇠가 있을 때만 이동할 수 있다. (A - F)
//민식이의 현재 위치 : 빈 곳이고, 민식이가 현재 서 있는 곳이다. (숫자 0)
//출구 : 달이 차오르기 때문에, 민식이가 가야하는 곳이다.이 곳에 오면 미로를 탈출한다. (숫자 1)
//달이 차오르는 기회를 놓치지 않기 위해서, 미... | [
"whssodi@gmail.com"
] | whssodi@gmail.com |
36a18c8ca75a2dbae099b08f658d4688fe1a5843 | 451e9725ac7eee4cd12d17cdb823b5822970a995 | /Max_Amarillion-Happy_Usagi_no_Yuki_Fortress/src/timer.cpp | 7456e247bbd1fec7d1b85188b04ee749af5068bd | [] | no_license | amarillion/TINS-is-not-speedhack-2016 | 736a5c2e95d9c1a5b36f60a094050541322d9573 | feeb403de327d2bcbe31ce1081f55e5d9f451e26 | refs/heads/master | 2021-01-17T17:42:45.199505 | 2016-05-28T10:40:41 | 2016-05-28T10:40:41 | 61,667,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | cpp | #include "timer.h"
#include <stdio.h>
void Timer::update()
{
IComponent::update();
if (getCounter() == maxCounter)
{
kill(); // timer kills itself
pushMsg(msg);
}
}
Timer::~Timer() {}
| [
"mvaniersel@gmail.com"
] | mvaniersel@gmail.com |
594b68f2d85cf7d443ca1cc6840a6f1276e77d5a | b7b614ece7c847b1586fc16f4f2ac1df29cf8c87 | /src/VideoInput.h | 0308ccb5e67bc8b2035f1d852472ab032dc70be8 | [
"MIT"
] | permissive | dflyingfish/mindvision-cam-wrapper | 5da2af96a138db349293ca5f172f7dc792089be9 | c7bca576be76bca76af35b42c1b17f6d0b2b4605 | refs/heads/main | 2023-07-31T22:10:14.832024 | 2021-09-26T14:43:48 | 2021-09-26T14:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #ifndef VIDEO_INPUT_H
#define VIDEO_INPUT_H
#include "ImageInput.h"
#include <iostream>
#include <string>
class VideoInput : public ImageInput {
private:
cv::Mat tmp;
cv::VideoCapture origin;
bool initUSBCamera();
public:
VideoInput();
VideoInput(const std::string & fileName);
~VideoInput();... | [
"henry.maoht@outlook.com"
] | henry.maoht@outlook.com |
5bedb7e1f5808fb72b8c653f0c9f141b931494fc | e5dad8e72f6c89011ae030f8076ac25c365f0b5f | /caret_command_operations/CommandSurfaceFociProjection.cxx | 643f603af6afa78097c3e4a04f7f106c0e30c14d | [] | no_license | djsperka/caret | f9a99dc5b88c4ab25edf8b1aa557fe51588c2652 | 153f8e334e0cbe37d14f78c52c935c074b796370 | refs/heads/master | 2023-07-15T19:34:16.565767 | 2020-03-07T00:29:29 | 2020-03-07T00:29:29 | 122,994,146 | 0 | 1 | null | 2018-02-26T16:06:03 | 2018-02-26T16:06:03 | null | UTF-8 | C++ | false | false | 1,274 | cxx |
/*LICENSE_START*/
/*
* Copyright 1995-2002 Washington University School of Medicine
*
* http://brainmap.wustl.edu
*
* This file is part of CARET.
*
* CARET 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 F... | [
"michael.hanke@gmail.com"
] | michael.hanke@gmail.com |
e9c63a26c4a654a0d938f7f7916cb6f73b942d9d | 81d4ec6cfa439a84f34822b6826a0ac0e694829d | /MCGen/Intermediate/Build/Win64/UE4Editor/Inc/MCGen/MCGenProjectile.generated.h | 93b29ec02cf1589e0a409de3f179e6348a0df2f3 | [] | no_license | Youngman86/SP_MCGen | 2815f9499217a373bfb00f090cf8aaed53ea2ea3 | db0d04268e22e3bf45472413e2b53b596a3b69d6 | refs/heads/master | 2020-03-19T04:44:51.363227 | 2018-06-03T04:28:43 | 2018-06-03T04:28:43 | 135,861,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,059 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"byoungman7@gmail.com"
] | byoungman7@gmail.com |
60696bfc88f8c9ccd22cf172e9903b631082d62e | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /media/capture/video/video_frame_receiver.h | df2dabc8e905eae6e79899f9669d84056c39463b | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 803 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/capture/capture_export.h"
#include "media/capture/video/video_capture_device.h"
namespace media {
// Callback interface for VideoCapture... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
47fa1047f1688bb648b58232e79ea425fa1e1c41 | 5b885600120e8ea9ccf945f6465ce5928d7fa55f | /src/base/apps/maplab/maplab.cpp | dcaeb001c0341a7c2a97a105ce3aa3a48ab539bc | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | hassanjallow/isis3 | b2f2156a104ded38f7b3867f18b35a759d8987db | 712187cfbcdc6093b7b45b4ef0b4eb87dc09a7de | refs/heads/master | 2021-05-27T16:44:07.006539 | 2010-03-19T16:47:37 | 2010-03-19T16:47:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,453 | cpp | #include "Isis.h"
#include <iostream>
#include <sstream>
#include <string>
#include "Pvl.h"
#include "Cube.h"
#include "History.h"
#include "ProjectionFactory.h"
using namespace Isis;
using namespace std;
void IsisMain(){
// Access input parameters (user interface)
UserInterface &ui = Application::GetUserInterfac... | [
"mike@fluffypenguin.org"
] | mike@fluffypenguin.org |
9f9be350edaf6b68089de9f075939e20598aa8f6 | b8594bdf7db6bbd22472aea28575a8607d26001a | /src/cubr_ascii.h | 1b6da08c5e9527e88227a304336e0ced87eec1a9 | [] | no_license | chronologicaldot/CupricBridge | 8a104ddf70128207549914e3fa3203772af3bd83 | 9ccbd15af37d2a79de5b112a51d455279f9aab73 | refs/heads/master | 2023-04-13T04:36:06.784325 | 2023-04-06T01:11:05 | 2023-04-06T01:11:05 | 195,588,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | h | // Copyright 2018 Nicolaus Anderson
#ifndef _CUBR_ASCII_H_
#define _CUBR_ASCII_H_
#include <Strings.h> // Copper
namespace cubr {
inline bool
isAscii(char c) {
return c >= 0;
}
// Filter to Low-end ASCII (e.g. from UTF-8)
// Ignores all characters greater than 127 (standard ANSI range)
inline
util::String
filterT... | [
"anderocketech@gmail.com"
] | anderocketech@gmail.com |
a0c049e14d936efb899104ccba3366572474c6d2 | 0938bc4861ceb6c93a3bea2ce4a3f641b42da6af | /Arduino/3_Blink_button/Blink_button/Blink_button.ino | b214d939e1a707f8ccab8c8c67d008a4c8465409 | [] | no_license | Zikt/robolab_bmo | 8e4d1f6c85f1019cdbd0eef8435f9e77e664fd4c | 7adc858275d66a832fbf1f3674fe709285798c98 | refs/heads/master | 2023-01-31T20:21:48.134038 | 2020-12-18T14:58:35 | 2020-12-18T14:58:35 | 313,338,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | ino | /*
О вреде использования delay...
https://alexgyver.ru/lessons/interrupts/
Вопрос встал после того, как была написана собственная функция для формирования ШИМ-сигнала.
Если в программе используется функция delay, то следует иметь в виду, что во время спячки,
процессор не будет обрабатывать сигналы на других пинах, нап... | [
"farscince@gmail.com"
] | farscince@gmail.com |
a503c4256fdd3c3a5242707c99c50ef36bff5b49 | a82dfb61b17fa66b9c75fe871401cff77aa77f56 | /libmcell/api/complex.h | 7eab4ab04e8998f46ec3dc3c9155fd942d8c6df1 | [
"MIT"
] | permissive | mcellteam/mcell | 49ca84048a091de8933adccc083d31b7bcb1529e | 3920aec22c55013b78f7d6483b81f70a0d564d22 | refs/heads/master | 2022-12-23T15:01:51.931150 | 2021-09-29T16:49:14 | 2021-09-29T16:49:14 | 10,253,341 | 29 | 12 | NOASSERTION | 2021-07-08T01:56:40 | 2013-05-23T20:59:54 | C++ | UTF-8 | C++ | false | false | 4,242 | h | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | [
"ahusar@salk.edu"
] | ahusar@salk.edu |
851392bc5f0b65df41a3cd78f92d44d5b85a2f32 | e13160517d41c0489badb598cb58f2ace603b589 | /libsrc/dal/TMultiMysqlDAL.cpp | f9ae1492e773ec9c0637203e5c8f0adb6dea67be | [] | no_license | radtek/cpp-1 | 1024dcc816b4781f7efe884349ca124f79ea32a1 | 3d94ef9962666404ff7f176a13adb946f8835ac3 | refs/heads/master | 2020-07-07T21:32:55.857887 | 2019-05-02T06:20:42 | 2019-05-02T06:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,536 | cpp | #include "TMultiMysqlDAL.h"
#include "log/Logger.h"
string TMultiMysqlDAL::mMysqlAddr = "127.0.0.1";
string TMultiMysqlDAL::mMysqlUser = "root";
string TMultiMysqlDAL::mMysqlPwd = "tym123456";
void TMultiMysqlDAL::SetMysqlParam(const string & psAddr){
mMysqlAddr = psAddr;
mMysqlUser = "mechat";
mMy... | [
"suypcjiajia@163.com"
] | suypcjiajia@163.com |
5c8b6539c86bd71c206cfb8eee0e754f09ca6ed8 | 741b36f4ddf392c4459d777930bc55b966c2111a | /incubator/deeppurple/lwplugins/lwwrapper/XPanel/XControlButton.h | 597bf98f06bad3096ad79b6f0a56b45bf9c4cd7c | [] | no_license | BackupTheBerlios/lwpp-svn | d2e905641f60a7c9ca296d29169c70762f5a9281 | fd6f80cbba14209d4ca639f291b1a28a0ed5404d | refs/heads/master | 2021-01-17T17:01:31.802187 | 2005-10-16T22:12:52 | 2005-10-16T22:12:52 | 40,805,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | // Copyright (C) 1999 - 2002 David Forstenlechner
#if defined (_MSC_VER) && (_MSC_VER >= 1000)
#pragma once
#endif
#ifndef _INC_XCONTROLBUTTON_3E1AA79B02D8_INCLUDED
#define _INC_XCONTROLBUTTON_3E1AA79B02D8_INCLUDED
#include "XControl.h"
class XPanel;
class XControlButton :
public XControl
{
pu... | [
"deeppurple@dac1304f-7ce9-0310-a59f-f2d444f72a61"
] | deeppurple@dac1304f-7ce9-0310-a59f-f2d444f72a61 |
c49cf11bf192ae731332f6df6b3fb7af563827ed | 1df652c1b04488d1900eac52380f23dd24ab9b52 | /DemoSetup/1 Quick start/AlphaBot2-Demo/Arduino/arduino/demo/Ultrasionc-Obstacle-Avoidance/Ultrasionc-Obstacle-Avoidance.ino | d0255827d431eb8e00af28a7b506109df211b704 | [] | no_license | telescopeuser/UAT-AlphaBot2RPI | 4fca45b166c7add6df79868d86e11ee43a35649a | 3414a048f2848f21b7978b9fa8115f7355d6b3d4 | refs/heads/master | 2020-03-09T00:30:15.198035 | 2018-11-20T03:13:01 | 2018-11-20T03:13:01 | 128,489,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,008 | ino | /* WaveShare ARPICAR Run Forward/Backward/Left/Right Test
ARPICAR run forward,backward,left right and so on..
Created 25th June 2016
by Xinwu Lin
CN: http://www.waveshare.net/
EN: http://www.waveshare.com/
*/
#define PWMA 6 //Left Motor Speed pin (ENA)
#define AIN... | [
"issgz@nus.edu.sg"
] | issgz@nus.edu.sg |
9e18935f96047e31334b659527ef2e5eab090a77 | 1784ed30761e2f272a3fc2f1e5e3fa0be0d77b6a | /tests/base/message_loop.cc | ceb6416cc303361a1586c9b34fc1c949a76a02d8 | [] | no_license | localghost/base | 0ed5b5e341521a1337e852880a900edc5d6b6919 | 83713166bf0fdcfab0742b7b0d2c129b9a99c3e5 | refs/heads/master | 2021-01-10T08:15:21.300735 | 2015-12-20T22:41:19 | 2015-12-20T22:41:19 | 44,132,828 | 0 | 1 | null | 2015-10-22T13:25:21 | 2015-10-12T20:37:03 | C++ | UTF-8 | C++ | false | false | 1,220 | cc | #include <boost/test/unit_test.hpp>
#include <thread>
#include <functional>
#include <vector>
#include <base/chrono.h>
#include <base/message_loop.h>
namespace {
void publish(base::message_loop& loop, std::vector<int>& values)
{
loop.post_task([&]{ values.push_back(1); }, 1000_ms);
loop.post_task([&]{ values.push... | [
"zkostrzewa@gmail.com"
] | zkostrzewa@gmail.com |
20db8a8076465f5c885e16f183dd05f3bd56a755 | 2aa9fdabf76583eb0e39c00685a361683f55cc23 | /Big Project/include/member2ll.hpp | c969ea97076f4dc6e41897246749af2e551495b5 | [] | no_license | ahmedshaaban97/master-ahmed | 029b47955ecb9a1f32ff7de710d58f844d2c2e45 | 1174febcdb5a6a84e0a13ed91be6301e0881ee78 | refs/heads/master | 2020-03-14T17:34:16.267963 | 2018-04-28T20:18:40 | 2018-04-28T20:18:40 | 131,723,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | hpp | #ifndef MEMBER2_HPP
#define MEMBER2_HPP
#include "member1.hpp"
#include <iostream>
using namespace std;
{
int stackfront (intstack &stack )
{
int front = stack.entry[stack.top];
front = stack.top;
return stack.top->entry;
}
int stackfront (charstack &stack)
{
char front =stack.entry[stack.top];
ret... | [
"ahmedshaaban97@github.com"
] | ahmedshaaban97@github.com |
9a681115e853a23c2a2e3423224a99bcc917ad84 | 97684cfe21f68963735c53e1db5cbbe76cb82f92 | /palette_basic_setup2.ino | 7fab512262de2997d70c46d513ff6d24644bc6f0 | [
"MIT"
] | permissive | marmilicious/FastLED_examples | d0a0f8fc6556d1b59877bd92f2bb5fed7f2dd37f | 5e46e331f3fc11d7e5c234479605f208adc11ca4 | refs/heads/master | 2023-04-15T07:02:41.298956 | 2023-03-31T19:04:47 | 2023-03-31T19:04:47 | 31,407,346 | 200 | 51 | MIT | 2020-01-04T20:14:52 | 2015-02-27T06:54:15 | C++ | UTF-8 | C++ | false | false | 3,122 | ino | //***************************************************************
// Basic palette example using FastLED palettes and two custom
// palettes.
//
// FastLED includes these pre-defined palettes:
// RainbowColors_p, RainbowStripeColors_p, OceanColors_p,
// CloudColors_p, LavaColors_p, ForestColors_p, and PartyColors_p... | [
"noreply@github.com"
] | marmilicious.noreply@github.com |
e6dc05a5a6b820468bcc2e7a6ef621cc28f70657 | aad6b08ee56c2760b207d562f16be0a5bb8e3e2a | /tags/Galekid1.0/BAL/Internationalization/WebCore/SDL/BCLocalizedStringsSDL.cpp | c868db144b7c5bca228ef4f5a4e8ebbb90831849 | [] | no_license | Chengjian-Tang/owb-mirror | 5ffd127685d06f2c8e00832c63cd235bec63f753 | b48392a07a2f760bfc273d8d8b80e8d3f43b6b55 | refs/heads/master | 2021-05-27T02:09:03.654458 | 2010-06-23T11:10:12 | 2010-06-23T11:10:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,607 | cpp | /*
* Copyright (C) 2008 Pleyo. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... | [
"mbensi@a3cd4a6d-042f-0410-9b26-d8d12826d3fb"
] | mbensi@a3cd4a6d-042f-0410-9b26-d8d12826d3fb |
82bfe39ab9b1af56e3ff7b1f147cd8fd34487a8a | 0e6291343d4d53a47406a365b8f4125f7d988e8e | /window_page/inquire/fault/qform_inquire_fault.h | 66916d6171aa2430c6e953ba999beccbcf11c785 | [] | no_license | Tang-Tang-Gy/fire-system-qt | 66877e3481d5b8a916466904334b4460db598983 | 4f4e2d986008121f1bab9805b02e9009774380fb | refs/heads/master | 2022-12-04T16:22:53.769243 | 2020-08-19T10:04:40 | 2020-08-19T10:04:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | h | #ifndef QFORM_INQUIRE_FAULT_H
#define QFORM_INQUIRE_FAULT_H
#include <QWidget>
#include <QLabel>
#include <QStandardItemModel>
#include <QItemSelectionModel>
namespace Ui {
class QForm_Inquire_Fault;
}
class QForm_Inquire_Fault : public QWidget
{
Q_OBJECT
public:
explicit QForm_Inquire_Fault(QWidge... | [
"lijinzhao@isafetyworld.com"
] | lijinzhao@isafetyworld.com |
9113b327b050ec6dbbdbfd4bb32c6f8730164e26 | 77f323f33bf615467ea6829dd63db902e9b3afaa | /src/haplotypecaller/utils/read_clipper.hpp | 913d0342eddaac217e4238f2faad399c61ce319e | [] | no_license | shenjia1/gatk-haplotypecaller-cpp17 | f4b12b0a62c6b513908a3c42839fe59b5bd5aadc | 37921cc5069a17ea7dfc6e365596eca8369a6327 | refs/heads/master | 2023-07-25T21:46:46.697369 | 2019-11-18T03:07:31 | 2019-11-18T03:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | hpp | #pragma once
#include "../sam/sam.hpp"
#include "../utils/interval.hpp"
namespace hc
{
struct ReadClipper
{
static void hard_clip_soft_clipped_bases(SAMRecord& read)
{
auto& seq = read.SEQ;
auto& qual = read.QUAL;
const auto& cigar = read.CIGAR;
auto [front_length, front_op]... | [
"avis9ditiu@yahoo.com.tw"
] | avis9ditiu@yahoo.com.tw |
1cd7d7bc6bb4b06d08292f968389d011b28e304a | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/directx/d3d/frame/locussrv/basetex.cpp | 8c4ed6758d59d243469c7971c44e58c54962987d | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | #include <windows.h>
#include <stdlib.h>
#include <tchar.h>
#include <winsock.h>
#include <d3dx8.h>
#include "transprt.h"
#include "util.h"
#include "typetran.h"
#include "server.h"
//***********************************************************************************
extern "C" void __cdecl M_BTX8_GetLevelC... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
e35f2c7cf6abf7c3b9a5b925416485b06790a14d | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta/30.8/uniform/time | 636150cbe9546d8ee8b9cf408489d4997804d7f9 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
dadb1f106d10bd7a46c4acfef2dd764d76a1504d | d3f466b7d0bf81a41e5dcc8af53abe8e4ed1fd71 | /learn/src/GeometricObjects/GeometricObject.h | bd33832fc0c89b7892c25a139c3c6d59c013838a | [] | no_license | heffernanpaul/raytracer | e1e4ddfeff57f840fc9d6e48bd3925412096fcf4 | f91c644de88443051f26161d15ce29648d35c652 | refs/heads/master | 2021-01-13T14:20:07.787607 | 2015-03-02T12:16:24 | 2015-03-02T12:16:24 | 30,530,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | #pragma once
#include "Material.h"
#include "Ray.h"
#include "ShadeRec.h"
#include "Sampler.h"
#include "Point3D.h"
class GeometricObject {
const Material& material;
protected:
GeometricObject(const Material& materialIn) : material(materialIn) {
}
GeometricObject& operator= (const GeometricObject& rhs);
Sa... | [
"heffernanpaul@hotmail.com"
] | heffernanpaul@hotmail.com |
4f057cd8fbc52dac39dc2c3bf78d67ce021b3604 | db9fea5835c152de9ddc68f58f2ef1872a7709b8 | /inc/inl/condition_inl.tcc | 1c0ce3ffd1801beeeae84cbcb9afda5820dc6c7d | [] | no_license | shirkom/smart_hub | 67aa6d66556f894127218338f6a479ce36ed863d | af75d92c6b7de7c5781cf60c94abed8d67188df9 | refs/heads/master | 2023-04-02T02:24:20.200385 | 2021-04-07T22:31:11 | 2021-04-07T22:31:11 | 355,698,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | tcc | #ifndef CONDITION_INL_H__
#define CONDITION_INL_H__
#include "../condition.hpp"
#include "../mutex.hpp"
namespace experis {
template<typename Predicate>
void Condition::WaitWhile(Mutex& a_mutex, Predicate a_predicate) {
while (a_predicate()) {
wait(a_mutex);
}
}
}//experis
#endif // CONDITION_INL_H_... | [
"shirkom46@gmail.com"
] | shirkom46@gmail.com |
ed86b6a33cdfeef03f1eafb58578610a090f153d | 09211195742a2f096f4c15b001e26d346ad9f0b8 | /paths (recursion).cpp | 2f7bc73965c9307d83e038677e3d5b9e1dd7b2b6 | [] | no_license | vkg001/DSA-important-question-solutions | 1d30392562d4f779863b285a810d08d0f527c641 | 5ec2bca1b2d2654ef814914d15c7df01b8f309fe | refs/heads/main | 2023-07-17T18:28:59.645876 | 2021-08-18T13:35:56 | 2021-08-18T13:35:56 | 397,609,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include<iostream>
using namespace std;
int paths(int start, int end)
{
if(start==end) return 1;
if(start>end) return 0;
int i,count=0;
for(i=1;i<7;i++)
count+=paths(start+i,end);
return count;
}
int main()
{
int start,end;
cout<<"Enter start point: ";
cin>>sta... | [
"noreply@github.com"
] | vkg001.noreply@github.com |
465194d7e3cd403504cb901d3fa05e104cdbf77c | eafc5ac599f2e96c3ca61612abb109eba2abe655 | /conjugateHeat/k0.00003noRadNoB/9800/topAir/phi | 734ed92c369aef3baf4bd9ec05a6e1fbe3a23f81 | [] | no_license | kohyun/OpenFOAM_MSc_Thesis_Project | b651eb129611d41dbb4d3b08a2dec0d4db7663b3 | 11f6b69c23082b3b47b04963c5fc87b8ab4dd08d | refs/heads/master | 2023-03-17T22:34:57.127580 | 2019-01-12T07:41:07 | 2019-01-12T07:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,887 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"ali@ali-Inspiron-1525.(none)"
] | ali@ali-Inspiron-1525.(none) | |
08ff40b0fcc627c3fe2f9401041a823f7d7a5550 | 382526ecd04100d25d013307815d9511d4722061 | /WarriorEnemyShip.h | 45968fc9db00dba472fdc873ebce70798426b3aa | [] | no_license | Gamer1092/MinionsvsGalaxy | 05c03b92173370b018e0a1784f4eb55d7e3863c6 | 826a94380e78a77dc312b68ea50b909e49446caa | refs/heads/master | 2020-06-26T18:16:32.980596 | 2019-07-30T19:21:22 | 2019-07-30T19:21:22 | 199,710,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | #include "Shapes\Torus.h"
#include "Shapes\CubeObject.h"
#include "Laser.h"
#include "Enemy.h"
#include <vector>
using namespace std;
const float WARRIOR_SHIP_MOVEMENT = 0.25f;
class WarriorEnemyShip : public Enemy
{
private:
Torus* body;
Torus* body2;
CubeObject* cannon1;
CubeObject* cannon2;
... | [
"noreply@github.com"
] | Gamer1092.noreply@github.com |
dd4873fd1f59ee417e9ad44bd91089be3592bb78 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/core/simple_metrics/test_classes.hh | 4c7584a457ec9623d54cff277954feb7f1699b73 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,765 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
90b3ff46711d433509310c78a190aa83d8b87e78 | b419f6a00c9b5ced3fe74be37b5e6bfce4ab057a | /PersonFactory/PersonFactory/Person.h | 5176cba660db541b4530bf8e28f9e5301c56b0d9 | [] | no_license | jobtolmop/PersonFactoryC- | 9e81fd2d9c5167fcf03f624c8daf34890be3f4bd | a03724494a0175dc55ea8051756729894c6098b0 | refs/heads/master | 2022-05-25T15:41:40.369368 | 2020-04-21T10:30:45 | 2020-04-21T10:30:45 | 257,505,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | #pragma once
class Person
{
public:
Person(int someMoney);
~Person();
void SetMoney(int someMoney);
int GetMoney();
private:
int money;
}; | [
"noreply@github.com"
] | jobtolmop.noreply@github.com |
a41a42dc12bf3daafccf434eeb54ba8289558252 | fd70e5db62c404a0e49ad03b60235f88b9ba00c5 | /receive.ino | 60eea3449418e14bf19ba0323d73e6eeb7516c4c | [] | no_license | yasikhul/IoT-Smart-Aquarium | b3538cffafc82ccf310b29c192765f79960b32ad | 27f36d1fa74d04b0800ed5ab84bf05134cf76fd9 | refs/heads/master | 2022-12-01T19:25:55.814177 | 2020-08-08T02:32:17 | 2020-08-08T02:32:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,070 | ino | #include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <ArduinoJson.h>
#include <LiquidCrystal_I2C.h>
#include <Servo.h>
#define relaylampu 12 //d6
#define relaykipas 13 //d7
#define servo 14 //d5
#define buzzer 15
Servo servoku;
const char* ssid = "KianSantang";
const char* password = "m... | [
"noreply@github.com"
] | yasikhul.noreply@github.com |
f873399a7f7a7ca5b3ca37e1e7f085a039939bdd | ca2893d7943d4597e0855c096897dae06f8489a4 | /TextBaseGame/Events/EventConditions.h | b6200984377b12b7b71e98899c484e97ccb85a46 | [] | no_license | PieterDesender/ResidentText | 86298afebac95e6c3c56b699fe2cf5ac8b69af77 | c4b35676f5f51d379c0fff54bf3c4708a89ef2cf | refs/heads/master | 2021-05-06T12:16:32.246476 | 2017-12-04T19:50:46 | 2017-12-04T19:50:46 | 113,086,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,676 | h | #pragma once
#include "../Managers/GameManager.h"
#include "../World/Node.h"
namespace EventConditons {
inline bool ExaminedWindowFrontPorch() {
Player* pPlayer = GameManager::GetInstance()->GetPlayer();
WorldObject* obj = pPlayer->GetLastExaminedWorldObject();
if (obj == nullptr)
return false;
if (obj->... | [
"Pieter_Desender@hotmail.com"
] | Pieter_Desender@hotmail.com |
aaaa3bc7bbd233df560c98bb3951764a9dcfd022 | 6ab9a3229719f457e4883f8b9c5f1d4c7b349362 | /uva/Volume CXIV/11428.cpp | 1d8dfc4a8f82b9f5ce7691766fdd4c92109fd2b5 | [] | no_license | ajmarin/coding | 77c91ee760b3af34db7c45c64f90b23f6f5def16 | 8af901372ade9d3d913f69b1532df36fc9461603 | refs/heads/master | 2022-01-26T09:54:38.068385 | 2022-01-09T11:26:30 | 2022-01-09T11:26:30 | 2,166,262 | 33 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | /////////////////////////////////
// 11428 - Cubes
/////////////////////////////////
#include<cstdio>
#define MAX 10001
int x,y,cx,cy,aux;
int smaller[MAX];
int bigger[MAX];
int cube(int k){
return k*k*k;
}
int main(void){
for(y = 0; y < MAX; smaller[y] = bigger[y] = 0, y++);
for(y = 1; y < 58; y++){
cy = cube(y);... | [
"mistermarin@gmail.com"
] | mistermarin@gmail.com |
89594ffcbb57bde8dff6b386f90afe7779bf0bf6 | 3f0dca9925c2ea1ac3f1b0090ab5b0eba3f034c2 | /CS559Project3/Functions.cpp | 3fc92dd5171eaf263e609f06e95021316f500d36 | [] | no_license | SpexGuy/CS559Project3 | 55f7bdaf2312e1a0c0c9cba65cc93f21b64c4d2f | a805a770a03f9fe78458254be5a2e18e8ccf2570 | refs/heads/master | 2021-01-23T14:46:22.671706 | 2013-12-14T02:40:45 | 2013-12-14T02:40:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | /* See Function.h for documentation */
#include "Function.h"
using namespace glm;
float LinearTimeFunction::evaluate(int time) {
return m*time + b;
}
vec3 Vec3TimeFunction::evaluate(int time) {
return vec3(f1->evaluate(time),
f2->evaluate(time),
f3->evaluate(time));
}
Vec3TimeFunction::~Vec3TimeFunction(... | [
"spexguy070@gmail.com"
] | spexguy070@gmail.com |
978fa43b4c69cded5fa174f1de04767f3fd005d5 | 8f02939917edda1e714ffc26f305ac6778986e2d | /BOJ/18373/main.cc | 9d2d1b35c5f60fe620a1bc44491b22e4c573c6d7 | [] | no_license | queuedq/ps | fd6ee880d67484d666970e7ef85459683fa5b106 | d45bd3037a389495d9937afa47cf0f74cd3f09cf | refs/heads/master | 2023-08-18T16:45:18.970261 | 2023-08-17T17:04:19 | 2023-08-17T17:04:19 | 134,966,734 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,331 | cc | #include <bits/stdc++.h>
#define endl "\n"
using namespace std;
using lld = long long;
using pii = pair<int, int>;
using pll = pair<lld, lld>;
////////////////////////////////////////////////////////////////
lld N, K, P;
lld fact(lld a, bool mod) {
lld res = 1;
for (int i = 1; i <= a; i++) {
res = res * i;
... | [
"queued37@gmail.com"
] | queued37@gmail.com |
9dcab88f845f877ca0cbc29ebd69f272cd0d4831 | 07133eca7dbe71af8b31a8a6b0e4299684c08cc3 | /src/photoshop/WebP.cpp | 89461aaaef9b07408d288ac501ed45a4560887f1 | [
"BSD-3-Clause"
] | permissive | doublek420/AdobeWebM | 16fe175b75a3d8206e52c274d8b66dc15ebb5347 | f50fb9aa76ff91f3f24cd0849e827b0f903a6528 | refs/heads/master | 2020-06-13T16:27:36.432190 | 2016-12-05T16:59:35 | 2016-12-05T16:59:35 | 75,710,808 | 1 | 0 | null | 2016-12-06T08:28:17 | 2016-12-06T08:28:17 | null | UTF-8 | C++ | false | false | 31,782 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013, Brendan Bolles
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// * Redistribut... | [
"brendan@fnordware.com"
] | brendan@fnordware.com |
ad5de0f079de63221e4257a6ab0a0960e8678bf0 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Reconstruction/Jet/JetAnalysisTools/JetAnalysisEDM/Root/AttributeMap.cxx | 110e2817be932700c33006b3ad4fbc5e46b2a2d9 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,167 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "JetAnalysisEDM/Particle.h"
#include "JetAnalysisEDM/AttributeMap.h"
#include "JetAnalysisEDM/VarHandleMap.h"
#include "JetAnalysisEDM/Particle.icc"
#include "JetAnalysisEDM/VarHandleMap.icc"
inline void _donothing(){} // jus... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
ce811e5f2a4a8ef0aa87d3177d29a5bc2bbaaef2 | 593e4167abc045e4bd0e071397ae688b8cb3a9a8 | /tests/multiphase_flow/LSLocateGasInterface.h | c105af154a1edb855f1770034d3f82a53a4ef1d3 | [] | no_license | staminazhu/IBAMR | 63ba456ca36364716e7daaefcfac0485d14b06a1 | 90f5d151c94c871d91be78755a068e44520a8499 | refs/heads/master | 2020-05-22T22:24:38.303904 | 2019-05-10T21:41:11 | 2019-05-10T21:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,208 | h | // Filename: LSLocateGasInterface.h
//
// Copyright (c) 2002-2017, Amneet Bhalla and Nishant Nangia
// 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 mu... | [
"drwells@email.unc.edu"
] | drwells@email.unc.edu |
7fbc275cb71fa477009b9981b3222098ba06b8b9 | 43ac13e814c1984ea2cb06cfef7c96bd1479d6ff | /CSE167-Spring-2015-Starter-Code-master/OBJObject.cpp | 21863cc3e1ae0fc9e4286a95fd182ffa2b8a9df4 | [] | no_license | khcao/CSE-167-Final-Project | 09143f4671c4f369ba9da2104c8c233bca7d9066 | 7746ff080ecb5b4778c2b1b14427f25684acef28 | refs/heads/master | 2016-08-10T11:01:59.840115 | 2015-12-10T13:24:47 | 2015-12-10T13:24:47 | 47,042,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,540 | cpp | #include "OBJObject.h"
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "Window.h"
#include "math.h"
#include <sstream>
#include <fstream>
#define deleteVector(__type__, __vect__) do {\
std::vector<__type__>::iterator iter; \
... | [
"aeriello@gmail.com"
] | aeriello@gmail.com |
ef1ad12b730829faa517c15ddb87b7ac90ce32c0 | 8e469ac21fa413ea22877949f608bee13b5f7670 | /lab_work/lab_3_function/2_built_in_function/1_program_using_strcmp.cpp | 12a73113e9e07617520695794d4429b58327c09e | [] | no_license | AnupDumre/cpp_projects | 615733d36ec91fb102fc0c727efa2a1a3b21c381 | 4046c1503d6f4da98f39c4b7214370ee835f1f78 | refs/heads/main | 2023-07-09T01:53:57.692553 | 2021-08-12T01:50:50 | 2021-08-12T01:50:50 | 367,256,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int main()
{
char string_1[50], string_2[50];
cout<<"\t Enter your first string"<<endl;
cin>>string_1;
cout<<"\t Enter your second string"<<endl;
cin>>string_2;
if(strcmp(string_1,string_2)==0)
cout<<"\t You have entered s... | [
"anupabde17@gmail.com"
] | anupabde17@gmail.com |
1237d5aab4d3a1348b673e25870a60603fce6ab4 | c1939b1c65cbb83bb133f375cf543d0594f8ef87 | /Client/Code/HPUIManager.cpp | ae77d6b7039c81f3776aa477a419f4ca36699835 | [] | no_license | kots666/D3DProject | 58477681e3e904e2fba57e4da4f587239fdf5e0b | 80901995cc495d176923e1b9ad04e12407e71225 | refs/heads/master | 2023-03-03T23:08:47.007042 | 2021-02-19T05:18:08 | 2021-02-19T05:18:08 | 313,847,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include "stdafx.h"
#include "HPUIManager.h"
#include "HPUI.h"
USING(Client)
IMPLEMENT_SINGLETON(CHPUIManager)
CHPUIManager::CHPUIManager()
{
}
CHPUIManager::~CHPUIManager()
{
for (auto& elem : m_nameList)
{
delete[] elem;
elem = nullptr;
}
m_nameList.clear();
}
void CHPUIManager::Create(LPDIRECT3DDEVICE9 d... | [
"37895295+kots666@users.noreply.github.com"
] | 37895295+kots666@users.noreply.github.com |
2837be010d089f9eff90955dea20ec13318a4dfc | 983ced63c9eadbfb6e6e7089dbc15f43485c59c4 | /cipher_test/EncryptStrategy.h | f9f812c3149b3b6c5cc80409abb8e35c13188975 | [
"WTFPL"
] | permissive | CalaW/Hitokoto | 810a3baf746f77f44ec3870e1e47fbe56079f4bd | 33f456a7f1105ce7dfbfad8cd0bbf4c86c0c25c6 | refs/heads/main | 2023-07-02T08:39:20.344068 | 2021-08-11T15:04:13 | 2021-08-11T15:04:13 | 394,963,148 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #ifndef ENCRYPTSTRATEGY_H
#define ENCRYPTSTRATEGY_H
#include <string>
using std::string;
class EncryptStrategy {
public:
// virtual string&& encrypt(const string& src) = 0;
virtual string encrypt(const string& src) = 0;
};
class Md5Strategy : public EncryptStrategy {
public:
// string&& encrypt(const st... | [
"maker_cc@foxmail.com"
] | maker_cc@foxmail.com |
c26802bf7ed643d776d69c239ef1116eaa5d0409 | 66b4eb2c460cac5d9f40f99f725538c0a3e2feda | /Udemy/Qt 5 C++ GUI Development For Beginners : The Fundamentals/43_QDialogButtonBox/widget.cpp | 23de9f82230be6cdd0ea8ece9c873b9f40346de9 | [] | no_license | Mavrikant/Qt-Course | 0fe4e766af4f9e91b7727273c37ab7b5fd499a1d | de702b0121fa85c33cc5ec02819d2fb84cc74191 | refs/heads/master | 2022-12-15T23:01:36.868043 | 2020-09-10T17:41:34 | 2020-09-10T17:41:34 | 255,144,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include "widget.h"
#include "ui_widget.h"
#include "infodialog.h"
#include <QDebug>
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
}
Widget::~Widget()
{
delete ui;
}
void Widget::on_showInfoButton_clicked()
{
InfoDialog * dialog = ne... | [
"serdar@karaman.dev"
] | serdar@karaman.dev |
71df968d10c935e6dd4cc808e0f693cdec44f71a | f0f688f683188d72a182f7b980d759fea662ee1d | /[14]LongestCommonPrefix.cpp | db5b485d1be6aa78d944512607d7b0110e431565 | [] | no_license | emoy-kim/LeetCode | 2c49b93edd6b64e2a9f300f47e40f82cbd23b15d | 037d1c30a24025104b9bf59abaff700e08767aa7 | refs/heads/master | 2020-05-03T14:59:07.063694 | 2019-07-22T03:03:12 | 2019-07-22T03:03:12 | 178,692,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | /*
* [14] Longest Common Prefix
*
* https://leetcode.com/problems/longest-common-prefix/description/
*
* algorithms
* Easy (31.93%)
* Total Accepted: 324.4K
* Total Submissions: 1M
* Testcase Example: '["flower","flow","flight"]'
*
* Write a function to find the longest common prefix string amongst an ar... | [
"emoy.kim@gmail.com"
] | emoy.kim@gmail.com |
6bc5a2d89679f57585cfe37ac0f8c0d434bf81b0 | 5dc0f3de8977f608efc3ee4a40d31b6d8e4dd3f8 | /src/projects/ATgae/engine/ATgaeEngine.cpp | 7c83d0b40ecf7da0f52ce824672957fc5d53ba10 | [] | no_license | Slowhand0309/AKATSUKI | 408c6aa73c3b7e6ee3b22a97c0088a938b0b57d5 | 249d655005d8eb26282c3ded18763bc2b0a8d354 | refs/heads/master | 2021-01-17T07:01:25.607071 | 2016-12-10T03:30:46 | 2016-12-10T03:30:46 | 38,694,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cpp |
#include "ATgae/engine/ATgaeEngine.h"
#include "ATgae/engine/core/ATgaeCoreGL.h"
#include "ATgae/engine/window/ATgaeWindowInfo.h"
/**
* Constructor.
*/
ATEngine::ATEngine(const EngineType type)
{
ml_nType = type;
// Create core instance.
switch (ml_nType) {
case EngineType_OpenGL: // use opengl
LOG... | [
"slowhand0309@gmail.com"
] | slowhand0309@gmail.com |
de8077e40cce2d04a8d64c98a67ab3960357b3fa | bcf0abdf7f77209af0031bfbb3ec9f0f43e9075f | /MotionPlannner/modules/common/units.cpp | e5ffaad90a55f169a4c538f6f74d09f45fd1bb68 | [] | no_license | debbinshi/motionplanner | 11d957f4300ccc7c310ee383dfeb9ee26007da0f | f6057ea9a2e1be0d0bfd9d24b2de83e508b83058 | refs/heads/master | 2021-10-25T20:30:18.328135 | 2019-04-07T02:53:45 | 2019-04-07T02:53:45 | 179,911,073 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include "units.h"
double kph2mps(double kph) {
return kph * 0.277778;
}
double mps2kph(double mps) {
return mps * 3.599997;
}
double rad2deg(double rad) {
return rad * 180.0 / M_PI;
}
double deg2rad(double deg) {
return deg * M_PI / 180.0;
}
| [
"shibingqing@momenta.ai"
] | shibingqing@momenta.ai |
8312b083c26934b43aafeb8b5ff278902a1e3beb | 987084195af62f2bd88a2a7990a4b660e35a9a0f | /BehaviorTree/CommYARP_BT/smartsoft/src-gen/CommYARP_BT/CommTickCommandCore.cc | bef4266c4e51075d206901dd84acccca8fec1d0e | [
"BSD-3-Clause"
] | permissive | CARVE-ROBMOSYS/Yarp-SmartSoft-Integration | e1b1584d17c8a10efddbd3fddd0fd54a8d1f63d2 | 4023602f5540d1e66804b3d0db80f63aac536f8b | refs/heads/master | 2021-06-26T16:35:35.098019 | 2019-04-23T09:33:18 | 2019-04-23T09:33:53 | 129,261,900 | 2 | 0 | null | 2019-04-09T20:41:46 | 2018-04-12T14:12:59 | C++ | UTF-8 | C++ | false | false | 5,451 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"alberto.cardellino@iit.it"
] | alberto.cardellino@iit.it |
067878d290ce2c73b12b75d76e8b3b71813cabae | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /iecp/src/v20210914/model/DescribeEdgeNodePodContainersRequest.cpp | e0786e7c8dc540b2ffa83a7d7edb45bdbeebb496 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 3,939 | 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@tencent.com"
] | tencentcloudapi@tencent.com |
dfb1270ddc0744df75439063aadacc5b05c22ea6 | 3cb635004677c95db974b79b7c2f736d74eeaf17 | /packages/mixedTeamProtocol/mtp/src/PlayerId.cpp | 65d49eba2fe4a24250944eb1e1146888833f600c | [
"Apache-2.0"
] | permissive | Falcons-Robocup/code | 46ca709cf8680edc45494a40dc2db54e579dffe6 | dca3ffdfd7020a9913e6af6b555eac107b38a4ca | refs/heads/master | 2023-02-07T10:47:58.550403 | 2023-01-21T16:29:47 | 2023-01-21T16:29:47 | 102,643,355 | 6 | 7 | NOASSERTION | 2019-09-24T21:05:13 | 2017-09-06T18:22:44 | C++ | UTF-8 | C++ | false | false | 1,681 | cpp | // Copyright 2021 Jan Feitsma (Falcons)
// SPDX-License-Identifier: Apache-2.0
// header implemented in this file
#include "ext/PlayerId.hpp"
// standard/system headers
#include <stdexcept>
#include <string>
using namespace mtp;
PlayerId::PlayerId(int v, int s, char t)
:
vendorId(v),
shirtId(s),
teamId(... | [
"jeffrey.pernis@asml.com"
] | jeffrey.pernis@asml.com |
be35246f625a129c71149561d0694b29fb94f70c | 45874c847c5a2fc4e89e05a7fc8ad9b63d8c4860 | /sycl/test-e2e/ESIMD/api/functional/ctors/ctor_default.hpp | c8399cb3786f9b4d2051c70809488ff2ab5df403 | [
"NCSA",
"LLVM-exception",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | intel/llvm | 2f023cefec793a248d8a237267410f5e288116c5 | a3d10cf63ddbdcc23712c45afd1b6b0a2ff5b190 | refs/heads/sycl | 2023-08-24T18:53:49.800759 | 2023-08-24T17:38:35 | 2023-08-24T17:38:35 | 166,008,577 | 1,050 | 735 | NOASSERTION | 2023-09-14T20:35:07 | 2019-01-16T09:05:33 | null | UTF-8 | C++ | false | false | 4,110 | hpp | //===-- ctor_copy.hpp - Functions for tests on simd copy constructor definition.
// -------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-Licen... | [
"noreply@github.com"
] | intel.noreply@github.com |
04689def9ba314624edc1cff6624dbc8b3e5e894 | f0a13e5560ba9fc856b6aeaeb5b8ec22ec42e8d0 | /res/__zz_cib_Module-smart-ptr-input.h | 978469691ed467e2207f1748144fe92f202da64c | [
"MIT"
] | permissive | presscad/cib | 073c1102fb55515a9ee314cb9609aae71baac1d5 | d0a75dbe9badc9be8f52b3c0c212c841f6aadbe1 | refs/heads/master | 2021-04-07T03:40:33.555851 | 2020-03-14T09:54:09 | 2020-03-14T09:54:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | h | /*
This file is for helping cib handle smart pointers.
Please provide definitions of __zz_cib_get(), __zz_cib_release(), and __zz_cib_attach().
*/
#pragma once
#include <memory>
namespace __zz_cib_ {
template <typename _T>
auto* __zz_cib_get(const std::unique_ptr<_T>& p)
{
return p.get();
}
template <ty... | [
"SatyaRanjan.Das@tomtom.com"
] | SatyaRanjan.Das@tomtom.com |
28532ae7a9bad1316ce2206cb6f36ae32357f82d | c0f98cf92fca122bd901c229757ea6d680a39443 | /proj/samples/template.cpp | ab96e5ed56b2f0ed015f601a5860ee1131dadced | [] | no_license | unix1986/tiger | f1b95a94a29b07c93b40f67f93724e6a0a2b3b84 | c7defbf72fa3121a9e6fdee9999872627487a7fd | refs/heads/master | 2020-12-24T14:09:27.315686 | 2016-04-08T10:19:50 | 2016-04-08T10:19:50 | 41,027,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "common/include/tiger.h"
DEFINE_string(test_str, "hello tiger!", "gflags test");
int tiger_main(int argc, char *argv[]) {
dzlog_warn("%s", FLAGS_test_str.c_str());
return 0;
}
| [
"unix1986@qq.com"
] | unix1986@qq.com |
c8fac5529f8100e0e8e9c887665d51fe09b75e79 | c921c73f69e0d833081c89c71db6a98d1f55c216 | /STL/vectorDemo.cpp | f7e2a32dcc7546814255d4b310f3fae31e3fe2e8 | [] | no_license | MinhazRahman/CPPBasics | 66a13c78d14634411643e56da7d885f8ad019f67 | 466eb3de960448ceba4b7cdc2ad4db94fdcee252 | refs/heads/master | 2023-05-25T17:37:03.175770 | 2023-05-16T14:20:24 | 2023-05-16T14:20:24 | 270,468,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include <iostream>
#include <vector>
#include <iterator>
using namespace std;
/*
Vectors are sequence containers representing arrays that can change in size.
*/
void display()
{
//declare and initialize a vector
vector<int> v{4, 5, 6};
int n = v.size();
cout << "Size of the vector is :" << n << endl;
//i... | [
"minhaz357@gmail.com"
] | minhaz357@gmail.com |
364e41726299f40b48f2aec84c7036f32d54611b | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14768/function14768_schedule_19/function14768_schedule_19.cpp | 9bd27e84809ec0764c131202db73e63ba51097de | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14768_schedule_19");
constant c0("c0", 128), c1("c1", 2048), c2("c2", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"),... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
ca8c583ef79e16306eaf80058d70ad6bd6ccd1c6 | 3c95e19d889c47dc480e9c9e730c2bd2f519c748 | /dpdemo/b.cpp | 8f16b18c91e904c5bc99bfc5299cb569b979540e | [
"MIT"
] | permissive | warjiang/leetcode | 5717b18205078bff338678c620446e3e7a27e3be | 2c00b1406fc3680a7a0ecf1842b3544a0ca28185 | refs/heads/master | 2020-05-27T06:29:22.300038 | 2018-03-11T13:23:12 | 2018-03-11T13:23:12 | 82,531,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,867 | cpp | #include <iostream>
#include <string>
using namespace std;
/*
class LongestSubstring {
public:
int findLongest(string A, int n, string B, int m) {
// write code here
int v[n][m];
//memset(v, 0, n * m);
//for(int i = 0;i<n;i++){
// for(int j = 0;j<m;j++){
// ... | [
"1096409085@qq.com"
] | 1096409085@qq.com |
968945173bb07cd2b775b395bfa9e320f5e6bac0 | 49912f208ac9af1866366cd0156ab86703f55f97 | /Aplikacja/Solver/tests/mocks/ISymbolicOperatorMock.hpp | 7b4dcb20fa663726c0ae4ad998aa1326381451a5 | [] | no_license | MacAndKaj/Theory_and_Methods_of_Optimization | 4d2ce3b1751f94a67d0fd12a7df97231ca2e518d | 383ebc445f8865293869eea5f1e292aa870299f2 | refs/heads/master | 2022-01-06T14:15:32.501882 | 2019-05-27T20:36:10 | 2019-05-27T20:36:10 | 172,745,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | hpp | //
// Created by maciek on 01.04.19.
//
| [
"mkajdak@gmail.com"
] | mkajdak@gmail.com |
937580be30af0b51c535f549a21bb1ceeb6fe5fd | 4d3ebb823ced1403545ceaf14b8e618736d601f1 | /zip/code/include/ZipCompress.h | 68cff612387502f7d1ea8be60f4ebd3723e8c114 | [] | no_license | yekong55/tools | 2745a917078d16ffecb8c07eb1af4e54acb2b28b | 0e94b9dcf86dfb5cbca515041f643653ca1a1344 | refs/heads/master | 2023-01-28T17:02:47.889141 | 2020-12-13T11:07:04 | 2020-12-13T11:07:04 | 284,365,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | #ifndef __ZIPCOMPRESS__H__
#define __ZIPCOMPRESS__H__
#include <iostream>
#include "Compress.h"
using namespace std;
class ZipCompress : ICompress
{
public:
ZipCompress();
~ZipCompress();
//压缩接口
virtual int compress(string& srcFilename, string& dstFilename);
const int HEADERSIZE = 4;
private:
... | [
"dqq60328@163.com"
] | dqq60328@163.com |
a9b8adcefabc483db5d454883f95dbdc883d6703 | ca1303a5de37d1a1a2be1ff063362b926479ec46 | /RayTracer/Trimesh.h | e7754d5eebec13097cd3f4c5dc198ee9b9c755af | [] | no_license | AndreaCampagner/RayTracer | 556d798d08d634f683b5f298ba3b0fba363d44ba | c0add95b9be946d20dcdaa9b7e61292678aa7b92 | refs/heads/master | 2021-07-17T06:37:26.600335 | 2017-10-20T20:40:51 | 2017-10-20T20:40:51 | 105,381,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | h | #pragma once
#include "Shape.h"
#include <vector>
#include "Triangle.h"
class Trimesh : public Shape {
private:
std::vector<Triangle*> shapes;
std::random_device rd;
std::mt19937 gen;
std::uniform_int_distribution<> xs;
public:
Trimesh(std::vector<glm::dvec3> points, Material* m) : Shape(m), shapes(), gen(rd()),... | [
"a.campagner@campus.unimib.it"
] | a.campagner@campus.unimib.it |
70070093d8ac6f6144be3e84a32dd1bc427257b0 | 2ce3f0400853a809635a5028e1566b5a12509489 | /wireBuffer.cpp | bc8ddc9b239ccf81af64a2bb3b4ea088767241f3 | [] | no_license | FRC-IronLions-967/I2C-Sensor-Interface | 5fc66f958d6bc864618d3db706931594d8f63b54 | 1c1bf6af0c5a1cf78e8f17de44729a556eb04f71 | refs/heads/master | 2020-07-24T09:19:16.973727 | 2019-12-21T04:09:40 | 2019-12-21T04:09:40 | 207,880,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include "wireBuffer.h"
WireBuffer::WireBuffer(ArduinoType a_type, ComType c_type) {
this.at = a_type;
this.ct = c_type;
}
unsigned char[] WireBuffer::readBufferRaw() {
return WireBuffer::buffer;
}
unsigned char[] WireBuffer::readUntilDelim(char delim) {
for(int i = 0; i < sizeof(buffer)/sizeof(char)... | [
"46936668+nstark03@users.noreply.github.com"
] | 46936668+nstark03@users.noreply.github.com |
4fb5d7ff0eb5527593aec1e0ede9669f9bf7f6da | 38b6baf011eb888c60e756404b54b07d467cfdb8 | /sources/Renderer/BufferUtils.h | 5fbffc5ec8eb8a0ea8fb545d8cb3a3a4944cdb1d | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | underdoeg/LLGL | 6d2957a499d7d043cb5fc1ef97ff2df4e8d005e5 | d1dc3fcb1ea3c49744649552bbe198f05ccde085 | refs/heads/master | 2020-12-12T10:34:32.167431 | 2020-01-12T19:43:38 | 2020-01-12T19:43:38 | 234,108,894 | 0 | 0 | NOASSERTION | 2020-01-15T15:26:08 | 2020-01-15T15:20:00 | null | UTF-8 | C++ | false | false | 681 | h | /*
* BufferUtils.h
*
* This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef LLGL_BUFFER_UTILS_H
#define LLGL_BUFFER_UTILS_H
#include <LLGL/BufferFlags.h>
namespace LLGL
{
/* ----- Functions ----- */
/*
Returns the final... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
5c3d9b925dcec314c0b0d06884b89cf208cc83c9 | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h | e59a327405ae39f1ea73137bbe907d0fbf4c46b8 | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 1,285 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX_H_
#define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_LINUX... | [
"csineneo@gmail.com"
] | csineneo@gmail.com |
bbe926f96532ac9957202e4870a6f90e3f23f93b | 41fd466de64117894a4b362425390633f44b172e | /MacierzIncydencji.h | 81bb666a4b9f755bc79341ac3a2f17a660d87daa | [] | no_license | shackyshell/SDIZOproject2-graphs | 736a1a8c02b4e9abf521dae118d2a2f4bb893766 | 14b352f24f90caef7c9a008623eb45f5e1d89517 | refs/heads/master | 2023-01-29T23:08:20.980903 | 2017-05-28T18:04:51 | 2017-05-28T18:04:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | //
// Created by julia on 22.04.2017.
//
#ifndef PROJEKT2_MACIERZINCYDENCJI_H
#define PROJEKT2_MACIERZINCYDENCJI_H
#include <iostream>
#include <iomanip>
using namespace std;
class MacierzIncydencji {
int lwierzcholkow,lkrawedzi;
signed int ** tablica;
public:
MacierzIncydencji();
~MacierzIncydencji... | [
"julia.zajusz@poczta.fm"
] | julia.zajusz@poczta.fm |
f997cc7fbf072cccdd1ce658f7a6f7d364fcc9aa | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/Aspect/Aspect_MarkerStyle.cxx | 95d890f2c22969708d10f679e4685e54411f6d7b | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,955 | cxx |
// File Aspect_MarkerStyle.cxx
// Created Janvier 1995
// Author GG
// Modified 23/02/98 : FMN ; Remplacement PI par Standard_PI
// JR 02.01.100 : Implicit conversions
//-Copyright MatraDatavision 1991,1992
//-Version
//-Design Declaration des variables specifiques aux Type de markers
//-Warning Un ... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
e4f4320db76a2a7399774dbcbac90616e015e2c5 | 5626349a40a2a0a73cee8d88264ad791fc25791a | /src/act/actp/actp_condition.cpp | 429146f56b794d14f1e0a15af2ddd6d21342c61c | [] | no_license | lyell/aegis | ae8600c2b334ad1db3c4005a74a43b4099966701 | 61952676c1d6eb0823e5ff8a7097cc29bb6308f7 | refs/heads/master | 2020-12-24T08:55:11.755560 | 2018-01-06T13:09:01 | 2018-01-06T13:09:01 | 26,701,231 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,658 | cpp | #include <actp_condition.h>
#include <aftu_exception.h>
#include <afts_assert.h>
#include <afts_errorutil.h>
namespace actp {
#if defined(ACTS_PLATFORM_PTHREADS)
Condition::Condition()
{
int result = pthread_cond_init(&m_condition, NULL);
if (result != 0)
{
throw aftu::Exception("pthread_cond_ini... | [
"lyell@sophicstudios.com"
] | lyell@sophicstudios.com |
ca64923f6f7cdb2023f5a40e9fad3758d70eca4d | 2e939b5b1a9b50b0b123f64528629e1161565fc0 | /src/barrier.cpp | 6182a148bc43be311c3a7de55e4929b42230f2a1 | [
"BSD-3-Clause-LBNL",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | snake0/upcxx-2020.10.0 | 253422f3d8a888690a6f617c8df7e136b693bd3c | dcd313a65587efcdefdb4fdfb197389a0e390ccd | refs/heads/master | 2023-02-20T06:20:36.347939 | 2021-01-21T08:52:36 | 2021-01-21T08:52:36 | 331,569,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,640 | cpp | #include <upcxx/barrier.hpp>
#include <upcxx/backend/gasnet/runtime_internal.hpp>
#include <atomic>
using namespace upcxx;
using namespace std;
#if 0 // None of this hand-rolled barrier stuff is in use
namespace {
constexpr int radix_log2 = 4;
constexpr int radix = 1<<radix_log2;
struct barrier_state {
... | [
"1260865816@qq.com"
] | 1260865816@qq.com |
ad81a1b1de1f4ca190cffee049c5890667a0b21d | aa38b9be892174a71d98b853d21309a34648915c | /Source/SquaredOff/Public/SQKnockable.h | 2f22a49411d732bba63336110061ae96c132221d | [] | no_license | University-Portfolio/SquaredOff-Demo | c83d68d322ad8b19bab809288a18fa7e244fc8b7 | 31e5fc0d84055cb0465ea750d021b7ffbe08a468 | refs/heads/master | 2021-06-11T08:22:34.826635 | 2016-12-15T22:04:13 | 2016-12-15T22:04:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | h | // SquaredOff - TODO: Write notice
#pragma once
#include "SQKnockable.generated.h"
UINTERFACE(MinimalAPI)
class USQKnockable : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
class SQUAREDOFF_API ISQKnockable
{
GENERATED_IINTERFACE_BODY()
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category =... | [
"sam_pot_97@hotmail.com"
] | sam_pot_97@hotmail.com |
5884f6c48072c3beb8dc29e6f7b6b468aa9cd669 | d23338754f328b3eea87562133624962a714dff6 | /transaction.h | 0f9895edb33674be41b178e9a301dfdaea29cde0 | [] | no_license | ajxiong/CSS343-Movie-Business-Simulator | 6fbf9c2951a4bdf91514d20897b13e6a6439046e | 98a9d960beb3f38239c7bbe160b60328f56348a4 | refs/heads/main | 2023-07-01T03:01:32.922776 | 2021-08-13T18:06:20 | 2021-08-13T18:06:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | h | // ------------------------------------------------ transaction.h -------------------------------------------------------
// Programmer Name Course Section Number
// Alex Xiong CSS343 section B
// Creation Date
// 6/4/21
// Date of Last Modification
// 6/9/21
// ------------------------------------------------------... | [
"noreply@github.com"
] | ajxiong.noreply@github.com |
d0578c7e09d9b3632e6adb14f01dad6df04f310b | 1d9657b1b2b79b25b5ead387b5cdd70bc2470b38 | /cppyellow/week3-4/phone_number/src/phone_number.h | c087bc532a93633f41703aa5f56c8fd7acd22075 | [] | no_license | vgtutf081/CourseraCppCourseYellow | 60fed8e36c3e893ee947c7c2fdf10ac74f5268b9 | b7a9ba767a0c108b012a2f33a113b3dc5c93eb08 | refs/heads/main | 2023-07-03T06:50:13.365518 | 2021-07-29T18:57:20 | 2021-07-29T18:57:20 | 390,822,775 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,445 | h | #pragma once
#include <string>
using namespace std;
class PhoneNumber {
public:
/* Принимает строку в формате +XXX-YYY-ZZZZZZ
Часть от '+' до первого '-' - это код страны.
Часть между первым и вторым символами '-' - код города
Всё, что идёт после второго символа '-' - местный номер.
... | [
"noreply@github.com"
] | vgtutf081.noreply@github.com |
6f7b53e5e736fce87912cfb627e977092cbe0412 | 254ed88cbbe5616af024b2e6abb567433f16892c | /Assn3CS1D/main.cpp | aff02226fa64ae5c3c9b9d4adc03e16cd69a592a | [] | no_license | TheRizz/CS1D | afab853f96485573295c6eca55887e7f7c8e4902 | 6223f5bcf88020071bb224a8c3d89a9a534d62aa | refs/heads/master | 2020-06-21T14:47:36.443385 | 2019-07-18T01:00:30 | 2019-07-18T01:00:30 | 197,484,217 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,781 | cpp | /*************************************************************************
* AUTHOR : Ryan Martinez, Tyler Hua
* STUDENT ID : 389657, 1004108
* LAB : 2
* CLASS : CS1D
* SECTION : MW: 3:30 PM
* DUE DATE : 8/24/2016
************************************************************************/
#include "header.h... | [
"TheRizz@users.noreply.github.com"
] | TheRizz@users.noreply.github.com |
837bd730a34508c046a72d054285887cb950a37f | 13a6c77d8573f61c995ba810d2abe881a977ce36 | /lc/227_BasicCalculatorII.cpp | b534e4486a3c2266bdea43b4cb7243322d0cab62 | [] | no_license | kakachen4129/Cracking_the_code_interview | 91242d4b786ef25dfcfaa10edd97173757564a7a | 6da3348f41dbc951719a1d24f0ab60979d700aa2 | refs/heads/master | 2021-01-10T09:37:43.530674 | 2016-03-04T18:42:18 | 2016-03-04T18:42:18 | 48,786,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | cpp | class Solution {
public:
int calculate(string s) {
vector<int> operand, op;
string str = removeSpace(s);
int i = 0;
int n = str.size();
while (i < n){
if (isNumber(str[i])){
int t = getNumber(str, i);
operand.push_back(t);
... | [
"weichen@weideMacBook-Pro.local"
] | weichen@weideMacBook-Pro.local |
16f0ded578d2a84b42c1f8193262b6f299a1fc0e | 8be981f0e66a6d50d367986bb0fe788b17165a58 | /Week_6/problems/Practice/number_04.cpp | 2de4198c66b5a5eb45cc155fa55cd5237daa5f75 | [] | no_license | JeongJiAn/Hacker_Study_OOP | 16cd7c4c66b42697201fc0b7c7bf1206850388ee | ef545c50ec8ade1392d1f1c1ecd62ed44947478f | refs/heads/master | 2023-07-17T01:51:26.046305 | 2021-08-22T07:04:24 | 2021-08-22T07:04:24 | 379,502,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include "number_04.h"
void solution_04() {
ColorPoint zeroPoint;
zeroPoint.show();
ColorPoint cp(5, 5);
cp.setPoint(10, 20);
cp.setColor("BLUE");
cp.show();
} | [
"devjian0219@gmail.com"
] | devjian0219@gmail.com |
1ee15e911f9ec550c2641d869d6af4977fa65ee1 | e016b0b04a6db80b0218a4f095e6aa4ea6fcd01c | /Classes/Native/System_System_Net_WebConnectionGroup3242458773.h | 95f9caadf84258c66711f4d54a6e875f32fcd1a6 | [
"MIT"
] | permissive | rockarts/MountainTopo3D | 5a39905c66da87db42f1d94afa0ec20576ea68de | 2994b28dabb4e4f61189274a030b0710075306ea | refs/heads/master | 2021-01-13T06:03:01.054404 | 2017-06-22T01:12:52 | 2017-06-22T01:12:52 | 95,056,244 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,369 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Net.ServicePoint
struct ServicePoint_t2765344313;
// System.String
struct String_t;
// System.Collections.ArrayList
struct Arr... | [
"stevenrockarts@gmail.com"
] | stevenrockarts@gmail.com |
6b67c04753110c7a97ebc89e70cf09bbc980d02d | fa4a53826c501e5b6f318a0f6bd91b0e6bb25af3 | /lib/src/ui/UILabel.cpp | 92bb1e00d0f7121b2ff2a095343a3c75d922eecf | [
"Apache-2.0"
] | permissive | hahahuahai/Viry3D | b365d69842dd15dc26ccec166b87ca6823037a30 | f4788dc335ee0a5cb5125c2da5183eb6df58d0f4 | refs/heads/master | 2020-03-24T00:00:58.444849 | 2018-07-25T06:35:25 | 2018-07-25T06:35:25 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 18,464 | cpp | /*
* Viry3D
* Copyright 2014-2018 by Stack - stackos@qq.com
*
* 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 applicabl... | [
"stackos@qq.com"
] | stackos@qq.com |
5733c58a86f3e8b1a7a164b7cf421a41bdf61fc6 | fe4351e990e47c242277babe74f145566a4a8ab3 | /mp2/testscene.cpp | 5f9fd12237092aeda0e80dc445f2c49b988b333e | [] | no_license | yogabbagabb/CS225 | a39f73489fae34304cf7f6ccccd163decc4e9a9b | 712099ca5e2bdbb195de3e5719aa76a648bf8763 | refs/heads/master | 2021-01-09T06:30:43.792586 | 2017-02-05T14:23:43 | 2017-02-05T14:23:43 | 80,998,122 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,659 | cpp | /**********************************************************
* testscene.cpp -- part of CS225 MP2
*
* This file performs some basic tests of the Scene class.
* It is not intended to catch every possible error.You may
* modifty this or write your own testscene.cpp to perform
* additional tests.
*
* Author: Jona... | [
"aahanagrawal123@gmail.com"
] | aahanagrawal123@gmail.com |
ed5a2b10b3b2605e528a3609de1f15e15a8e68a9 | f60f62d0b915df9dbea9564ae696372d47874667 | /code forces/B-After-Training.cpp | aef42b653c5cd9a0064743cea1a16da13bb4ed8d | [] | no_license | AbdelrahmanRadwan/Competitive-Programming-Staff | 1256d8615f7b445a17c9f2c53ba1461dbc385d2a | f2010a11aba7c524099a7066bebee16b29c6cd41 | refs/heads/master | 2021-01-02T09:06:48.755299 | 2017-12-15T18:50:08 | 2017-12-15T18:50:08 | 99,144,416 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include<iostream>
using namespace std;
int main ()
{
int n,m,i;
while(cin>>n>>m)
{
while(n)
{
if(m%2==1)
{
i=m/2+1;
}
else
{
i=m/2;
}
for(int j=0;j<m && n>0;j++)
{
if(m%2==1)
{
... | [
"abdelrahman_hamdy_radwan@yahoo.com"
] | abdelrahman_hamdy_radwan@yahoo.com |
fae6877ecd6f89deff95dc734459e8cd515f6ab9 | 8667a63fab24f91fb0f3525a653f7505907705ca | /src/E/DIVLIBS/IMS/TIMER.CPP | faa315c33d4eaf8f32c6fe14799bc5c5f30d2b09 | [] | no_license | the-lost-souls/III | 1831229065be9e7ce1346bf521548d752b1d520e | 92645375abfc9abd16f5c6ad365563c42738b679 | refs/heads/master | 2020-05-31T00:06:58.364314 | 2019-06-18T03:54:15 | 2019-06-18T03:54:15 | 190,027,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | cpp | #include <string.h>
#include <conio.h>
#include <i86.h>
#include "imsrtns.h"
static void (__far __interrupt *tmOldTimer)();
static void (*tmTimerRoutine)();
static unsigned long tmTimerRate;
static unsigned long tmTicker;
static unsigned long tmIntCount;
static char __far *stack;
static unsigned long stacks... | [
"torbjornvik@Torbjorns-MacBook-Air.local"
] | torbjornvik@Torbjorns-MacBook-Air.local |
9975ced4aab5680cc637bad365d7f43fad0e5759 | 48f0476a238e35251a62298bc91be027ec99acc8 | /week-03/day-3/C++ Basics/W3_Day3_Ex1.cpp | bfe5ba8b157007df6059afd8c3debded795ceaba | [] | no_license | greenfox-zerda-sparta/kblanka | 0b2315e2aae357d25e1e1a71e02a458574c49c38 | 153324fcd3b7dd27c76063d9b757a33cb3e9e76c | refs/heads/master | 2021-01-12T18:15:05.351483 | 2017-02-13T16:31:25 | 2017-02-13T16:31:25 | 71,351,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | #include <iostream>
using namespace std;
struct Stack {
double* array;
int length;
};
Stack* stack_construct(double input[], int size) {
Stack* new_stack_ptr = new Stack;
new_stack_ptr->array = new double[size];
for (int i = 0; i < size; i++)
new_stack_ptr->array[i] = input[i];
new_stack_ptr->length =... | [
"kovacsblanka06@gmail.com"
] | kovacsblanka06@gmail.com |
9dc61959af40d5d0a6eb109e6e571e58730bb365 | 999e0975d00bb6ae749fa68a27bbe2ea338422f8 | /src/diffpy/srreal/SFTNeutron.cpp | 9e17f2782e9e6a544fd13bd4a5f84ad319ef85b9 | [] | no_license | cfarrow/libdiffpy | 09c6d4f719368eeecec353b2001d460c4091903d | 05f0bd9a8f362fbe2fb456c9e588cae282bdf35e | refs/heads/master | 2021-01-12T22:33:34.046371 | 2013-11-21T20:24:56 | 2013-11-21T20:24:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,958 | cpp | /*****************************************************************************
*
* diffpy.srreal by DANSE Diffraction group
* Simon J. L. Billinge
* (c) 2009 Trustees of the Columbia University
* in the City of New York. All rights reserved.
*
* File coded by: ... | [
"pavol.juhas@gmail.com"
] | pavol.juhas@gmail.com |
7ee0523d16c3c00f886974bbe53127ead5c4ad55 | 6b5cd466b6ebb7d52e3016bd998660d46ca185bd | /LightOj/1082 - Array Queries.cpp | 07eb83f10750c24526843b915c6c28cf2c0f7d6d | [] | no_license | SaqlainAveiro/Competitive-Programming-Solves | 5e3154be7b6beaf36b165e10698e4b018bf46d63 | f8e5b0a9ed7ee7be3216ff2438d3053a9c9892af | refs/heads/main | 2023-05-10T06:12:22.524375 | 2021-06-06T09:36:01 | 2021-06-06T09:36:01 | 373,970,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,548 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int lli ;
#define mx 999999
lli ar[mx+1]={0};
lli tree[3*mx+1]={0};
lli i,j,k,l,m,n,t,a,b,c,d=1,x,y,sum=0,total=0,q;
void build(lli node , lli first , lli last)
{
if(first==last)
{
tree[node]=ar[first];
ret... | [
"noreply@github.com"
] | SaqlainAveiro.noreply@github.com |
ecafe22448887ba92e1bb30c9dfa52781323dda4 | c38ec9b612cb38371c9a120a631c3f00d22e0af3 | /Google Code Jam/2019/Qualification Round/D.cpp | b998c609118d40fc5995fc9d598f3cb7cf014ca3 | [] | no_license | KatsuyaKikuchi/AtCoder | 9a076e9d779b3d7b5e2b2d91b3b4ec2942b8c9fd | d7e1a4bbc24a3a51566d74bdfd24b2bb946df84e | refs/heads/master | 2020-04-12T22:22:54.503127 | 2019-11-23T15:37:21 | 2019-11-23T15:37:21 | 162,788,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
#define FOR(i, n, m) for (ll(i) = (m); (i) < (n); ++(i))
#define REP(i, n) FOR(i, n, 0)
#define OF64 std::setprecision(10)
const ll MOD = 1000000007;
const ll INF = (ll)1e15;
int main()
{
int T;
cin >> T;
R... | [
"k.kikuchi.ah@gmail.com"
] | k.kikuchi.ah@gmail.com |
d9febe7e3960f01a37b06a22112740d461b3682c | fd7552a7fa55d2cc0d9b50f63e31ee03a11c07e2 | /lintcode/median.cpp | 220c53605853d8961d9fbfc00e1e2d18f124dcc7 | [] | 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,277 | cpp | #include <vector>
#include <iostream>
using namespace std;
class Solution {
public:
/**
* @param nums: A list of integers
* @return: An integer denotes the middle number of the array
*/
int median(vector<int> &nums) {
// write your code here
int median = nums.size() / 2;
... | [
"zhuangliu1992@mail.dlut.edu.cn"
] | zhuangliu1992@mail.dlut.edu.cn |
0b4f19f62b5058567eecafb16ef8c1535170f4a5 | 83da30dc786e34cfd63d2c03d3e47df4d20155ef | /src/metadata/irrlicht/meta_irrlicht_IParticleAttractionAffector.cpp | 39f1d83fbb8bba4dbd5cabf8fea33f6db7e032f0 | [
"Apache-2.0"
] | permissive | mvidelgauz/cpgf | bd6aa06454fb1ebfc7a45398b7ed6f2a13e02ce1 | 7e7a424b3e61c6a6957ec6d262feb31471345315 | refs/heads/develop | 2022-05-28T19:02:58.258675 | 2017-05-11T05:38:06 | 2017-05-11T05:38:06 | 116,567,011 | 0 | 0 | NOASSERTION | 2022-05-22T15:27:25 | 2018-01-07T13:19:23 | C++ | UTF-8 | C++ | false | false | 847 | cpp | // Auto generated file, don't modify.
#include "irrlicht.h"
#include "IParticleAttractionAffector.h"
#include "cpgf/metadata/irrlicht/meta_irrlicht_IParticleAttractionAffector.h"
using namespace cpgf;
namespace meta_irrlicht {
GDefineMetaInfo createMetaClass_IParticleAttractionAffector()
{
GDefineMetaGlobalD... | [
"wqking@outlook.com"
] | wqking@outlook.com |
b7bb42b26cb9efbd014bb9f127f1d6d296710c17 | f19ab726505f3594733c754a8f955dc3cc1a8f18 | /pureplaytestwindow.cpp | 7fd18e0fd1d3e254df666f6c83940af18964eca6 | [] | no_license | jzi040941/pureplaytestwindow | 598f1e75072af8b9fcb887919cffc5912d3e5328 | b96422112ecb408a8ea723c221426163c480d93c | refs/heads/master | 2022-01-11T13:03:41.146586 | 2019-06-12T09:07:52 | 2019-06-12T09:07:52 | 191,536,260 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | // AudioPlayWindowTest.cpp : Defines the entry point for the application.
//
#include "RT_Output.h"
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
RT_Output* sp;
sp = new RT_Output(0, 2, 48000, 512, 2048);
FILE* fp = fopen("LRMonoPhase4.wav", "rb");
if (!fp) {
std::cout << "Unable to... | [
"jzi040941@naver.com"
] | jzi040941@naver.com |
23d77144d040946d555c7092b1db4d3ed59d47b6 | 1542705483ccc67df4acdb393d41fd911b6f4dc3 | /sumit_work.cpp | 893bbacd1f2ac8784821803e23e0231e272d946c | [] | no_license | jaiskid/Hackerearth | ceb48a04add753871eaa95e829e236ce72aa767d | 009c58430dd1ebd3a7ae41c4251a3eccfb27aecf | refs/heads/master | 2021-01-09T02:46:55.504679 | 2020-07-20T18:24:21 | 2020-07-20T18:24:21 | 242,220,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main(){
char s[1000000];
cin>>s;
int l=strlen(s);
long long c1=0,c2=0,sp=0,lp=l-1;
for(int i=0,j=l-1;i<l,j>=0;i++,j--)
{
if(s[i]=='o'){
c1+=(i-sp);
sp++;
}
if(s[j]=='o'){
c2+=(lp-j);
lp--;
}
}
if(c1>=c2){
cout<<c2<<endl;
}
else{
cout<<c1<... | [
"neeraj001jaiswal@gmail.com"
] | neeraj001jaiswal@gmail.com |
7a24eb9d9a9fd7659ff7a34f9ea83e9ef3fc7d44 | 6f6e0627ddaf30294e96defa3056b28be1a3aaf6 | /计算几何/判断射线与多边形相交.cpp | 5fb45a3998f00af8df23f2b60a3777fc05c60fc8 | [] | no_license | wangjia1435/Data-structure-and-algorithm | 3f3259af2f91601604441976bd01d78558800a0f | 1791e5c58b373046a34a649c9841da67b2c7a9de | refs/heads/master | 2021-01-10T22:34:35.917764 | 2017-10-10T13:51:27 | 2017-10-10T13:51:27 | 70,391,954 | 0 | 0 | null | 2016-10-09T09:18:01 | 2016-10-09T09:18:01 | null | GB18030 | C++ | false | false | 2,997 | cpp |
// 判断射线与多边形相交
// 输入多个多边形, 输入一条射线, 判断相交的多边形
// 判断射线与线段相交:
// 叉积判断线段横跨射线两端
// 点积判断线段两点在射线的起点"前面"
#include <stdio.h>
#include <malloc.h>
typedef struct // 点
{
double x, y;
}point;
typedef struct // 多边形
{
point *base;
int n;
}duo;
// 判断射线 p1->p2, 与线段 q1-q2 是否相交, 相交返回 1
// 首先线段 q1-q2 的两点要横跨射... | [
"caokun@MacBook-Pro-2.local"
] | caokun@MacBook-Pro-2.local |
b459feb49651e9678ecf9d34d408af9deb6c286f | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/ace/Log_Msg.cpp | 09b43632575a80042a5feba5689bada272e72f0f | [
"Apache-2.0"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 115,437 | cpp | // We need this to get the status of ACE_NTRACE...
#include "ace/config-all.h"
// Turn off tracing for the duration of this file.
#if defined (ACE_NTRACE)
# undef ACE_NTRACE
#endif /* ACE_NTRACE */
#define ACE_NTRACE 1
#include "ace/ACE.h"
#include "ace/Thread_Manager.h"
#include "ace/Guard_T.h"
#include "ace/OS_NS_s... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
280c2c9fe74aad2b7ef23479142f0746897e9ecb | 6bd8361a48483349696013979dcff4f857c6f9c4 | /cSquid.h | 3db7b35854d42c21c955bad954c4c22cb743bce4 | [] | no_license | seodaun/DX9_2D_ShootingGame | c0edb26d0abd888198c1c6fb10c05a905b1e251c | f5b30b9ca29758321ee4107cce470dbc6a21bc99 | refs/heads/master | 2020-12-19T17:01:03.993647 | 2020-01-23T12:56:36 | 2020-01-23T12:56:36 | 235,789,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include "cEnemy.h"
class cBullet;
class cSquid :
public cEnemy
{
private:
D3DXVECTOR2 m_playerpos;
vector<cBullet*>& m_PlayerBullet;
RECT m_rEnemy;
RECT m_rColl;
float m_speed;
public:
cSquid(const D3DXVECTOR2& pos, const D3DXVECTOR2& playerPos, const float speed);
~cSquid();
public:
virtual void... | [
"daun4799@naver.com"
] | daun4799@naver.com |
32de7f563e2e99a46d1a2bfa3f4600be18bc5ed9 | 07db578e0df3933589f20b1b0c4a4f1f8f99f2c9 | /CGBV/Praktikum 2/Versuch1a.cpp | 9b9ab217c7bb05b3c640b3891c2312ce172b25f9 | [] | no_license | Kjani01/s06_praktika | d1e0b1591d606fed12ade9f174d9a094ccad5abc | de8d85e824f12805f89a83d55123d68da4716311 | refs/heads/master | 2022-01-14T17:33:21.061814 | 2019-06-23T15:02:44 | 2019-06-23T15:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,958 | cpp | // Versuch1a.cpp
// Ausgangssoftware des 1. Praktikumsversuchs
// zur Vorlesung Echtzeit-3D-Computergrahpik
// von Prof. Dr. Alfred Nischwitz
// Programm umgesetzt mit der GLTools Library
#include <iostream>
#ifdef WIN32
#include <windows.h>
#endif
#include <GLTools.h>
#include <GLMatrixStack.h>
#include <GLGeometryT... | [
"lisa_obermaier@gmx.de"
] | lisa_obermaier@gmx.de |
807b01bcb734c18e451fcd64774dde7736548b4f | 368f5185bc6391d5f3f91fd62ec15c875faa1661 | /src/loadAST.cpp | cb3bafca7e57c616c20f3150db8c838bf00510ef | [] | no_license | Christian-Prather/CZAR | 381490f798c22cf282220dcea3f15eee5fa5ead4 | db5d45232199ebfa41cc12ffed05d4a27cb4a6e4 | refs/heads/master | 2023-04-29T22:16:48.731793 | 2021-05-12T15:58:28 | 2021-05-12T15:58:28 | 366,771,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,611 | cpp | #include "../include/loadAST.h"
vector<vector<string>> inputRows;
vector<vector<string>> secondPartRows;
vector<Node> nodes;
vector<Node> *getNodes()
{
return &nodes;
}
void readInput(string filePath)
{
string line;
ifstream inputFile(filePath);
bool secondPart = false;
if (!inputFile)
{
... | [
"clemsbach@gmail.com"
] | clemsbach@gmail.com |
40f1abcc35f3ee51bc002feeb179935d28afca35 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_4176_git-2.13.1.cpp | 1b05f28df68e132216236287810d64c996ddd149 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | static void compile_pcre_regexp(struct grep_pat *p, const struct grep_opt *opt)
{
const char *error;
int erroffset;
int options = PCRE_MULTILINE;
if (opt->ignore_case) {
if (has_non_ascii(p->pattern))
p->pcre_tables = pcre_maketables();
options |= PCRE_CASELESS;
}
if (is_utf8_locale() && has_non_ascii(p->... | [
"993273596@qq.com"
] | 993273596@qq.com |
122ca2d289d0a1a2f70b034158c0062802d7dff7 | 60df6661d841191c633f6a4dfc4d1b36b6012a6f | /ARKit Playground/ARTfulRpg/Classes/Native/Generics.cpp | c507c5a7173a262af2278255343eb920f4519c85 | [] | no_license | SamColville/P400 | b48e4e4b684bf511e8d71acb23793e7511d57bc5 | bb69d294297a200e00a6c73cc1790baaffe57ab3 | refs/heads/main | 2023-04-16T18:19:54.278346 | 2021-04-26T14:04:01 | 2021-04-26T14:04:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,715,934 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"s00182360@mail.itsligo.ie"
] | s00182360@mail.itsligo.ie |
d8ae1671727c3557bf5d84018869f06f2c6721f1 | da6fbea2c4d9b96d525bd278aa65c993586fce0a | /2020011148张文硕 3 单链表插入结点.cpp | c699c4dc6d8973f595f5843d5c674b4076ee8ecb | [] | no_license | Asa7557/The-growing-path-of-Asa | 1e01eea123d7c25517df809d772d814c249c6567 | fe612bca9b3818e3aa8f86df6dd6e49448c2bb89 | refs/heads/main | 2023-07-01T05:10:19.538167 | 2021-07-31T13:57:03 | 2021-07-31T13:57:03 | 310,582,471 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,216 | cpp | #include<stdio.h>
#include<stdlib.h>
typedef struct LNode{
int data;
struct LNode *next;
}*plist;//定义plist这个符号代表定义一个指向结构体的指针
int main()
{
plist L,jie,temp;
L=(plist)malloc(sizeof(LNode));
L->next=NULL;
temp=L;
int n,m,k;
scanf("%d",&n);
for(int i=0;i<n;i++)//尾插法建表
{
jie=(plist)malloc(sizeo... | [
"noreply@github.com"
] | Asa7557.noreply@github.com |
0e8949336d5ee8170f25ad7feb93dde8bbdc0f6f | e25fafa3b68c5a509a5a411e12259c9eaa7288f8 | /CS 1410 - Intermediate Computer Science/Postfix/Main.cpp | 0cc2c5c3497259c2434900d2601cae7a1a79dbc2 | [] | no_license | Candlemancer/Freshman-Year | cab237adfabd3bb5fc1b0d6d29111c3c3978bf2c | ce1882601ef10be011ea963b2388941f04266c1a | refs/heads/master | 2016-09-02T04:55:00.790034 | 2014-10-08T07:08:32 | 2014-10-08T07:08:32 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,097 | cpp | // Jonathan Petersen
// A01236750
// Postfix Conversion
// Main Class
#include <iostream>
#include "Postfix.h"
using namespace std;
stringstream toPostfix(stringstream&);
int main (void)
{
int example = 1;
string equation;
Postfix output;
/*
//Get user input
cout << "Please input an equatio... | [
"Candlemancer@gmail.com"
] | Candlemancer@gmail.com |
fff125adba1a17dae922574053e4f5e83b31ddf4 | eddc84bbf831f58c5b70d9fad0c53b7c2b12af43 | /practice/SHIFTPAL.cpp | 9c52cd43fb7a9226f916e61d832e99e88d4b227f | [] | no_license | amitray1608/PCcodes | 79a91a85203b488eeca695ec8048e607269882e0 | e0d49c0b0c05d80d4d813e4a706a8b900de55a91 | refs/heads/master | 2023-06-20T02:01:05.875982 | 2021-07-23T02:25:54 | 2021-07-23T02:25:54 | 305,299,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp |
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1.0e9 + 7;
const ll maxn = 2e6 + 1;
const ll base = 31;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int t = 1;
cin >> t;
vector<ll> power(maxn, 1);
for (int i = 1; i < maxn; i++) {
power[i] = (power[i - 1] * ... | [
"amitray1608@gmail.com"
] | amitray1608@gmail.com |
bed8b29c579bc83f624007c5a97b3d044c0a52cd | fb81d60eaea26c8feed34cdf8bcb302e6246caad | /BRAGG EXAMPLE/braggPlot_v6t/AnalysisUtilities/HistoSynchro.h | 48701550b657714a359209cf86f3c7368f6c1996 | [] | no_license | auroraleso/Cpp-course | e03ff719c7b6dc8ee56f1dde9b5a0521231edc94 | dce1cd39da03c22e595f513379aa0b7e14228c1e | refs/heads/main | 2023-03-27T07:14:24.730861 | 2021-03-25T17:41:00 | 2021-03-25T17:41:00 | 345,602,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | h | #ifndef HistoSynchro_h
#define HistoSynchro_h
#include "TH1F.h"
//#include "TH2F.h"
#include <mutex>
template <class T>
class HistoSynchro: public T {
public:
template <class... S>
HistoSynchro( S... x ): T( x... ) {}
virtual ~HistoSynchro() {}
template <class... S>
int Fill( S... x ) {
m.lock();
... | [
"lesoaurora@gmail.com"
] | lesoaurora@gmail.com |
87308641456c0b8cae91df2d5994bb58594dc25d | 6d68b93411d501185310c2c4708bf1ae55ae7fef | /ports/vex/source/VexFilter.cpp | 5412498dcce3b880794b985a7b442a1d7ef424c2 | [] | no_license | dennyabrain/DISTRHO | bfb54e26749bbddfbac8e330e3faa59141a1f0da | c6e4366379131af74b49859488454cee74725e71 | refs/heads/master | 2021-01-18T01:52:22.613071 | 2013-10-30T04:02:25 | 2013-10-30T04:02:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,378 | cpp | /*
==============================================================================
This file is part of the JUCETICE project - Copyright 2008 by Lucio Asnaghi.
JUCETICE is based around the JUCE library - "Jules' Utility Class Extensions"
Copyright 2008 by Julian Storer.
----------------------------------... | [
"falktx@gmail.com"
] | falktx@gmail.com |
b237b16742ed73039be30696123e2e6aa79c3b63 | 6856a769e725ee24b9aee57c87bde802d716e2fb | /Code/Core/EventManager.cpp | ed702982c29ec68e79c51dcfcc3110b40c8abd8d | [
"MIT"
] | permissive | ttangeman/TangeChess | 6f4aa0ea0fcd0fe0941be1784879a618f3d3491c | 3950bef11c511083b4436e128384e3f88d803b7a | refs/heads/main | 2023-03-31T19:59:08.283524 | 2021-04-10T17:43:43 | 2021-04-10T17:43:43 | 331,004,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | cpp | #include "Core/EventManager.h"
namespace Tange
{
EventManager EventManager::s_instance;
bool EventManager::IsRegisteredEvent(int32 index)
{
// The index should never be greater than the number of handlers.
ASSERT(index <= s_instance.m_eventHandlers.size());
if (index == s_instance... | [
"ttangeman97@gmail.com"
] | ttangeman97@gmail.com |
70be3a67804cd472058db7fbf9b8575ffe5f0787 | ec37ee79c6b57758119c5ebea120da8712f53dc5 | /Basic Keywords/Template.cpp | a95f80e7d9f25973d0e4bdf39f1994f6461c2abd | [] | no_license | rakhi2207/C-Learning | 76a063560270efbb68de95ab911aeabe22d58462 | f576121685b1503c9ab4276c4ec480297f93a1fc | refs/heads/master | 2023-06-25T08:07:41.130542 | 2021-07-25T11:11:35 | 2021-07-25T11:11:35 | 374,215,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include<iostream>
using namespace std;
template<class X,class Y>
X comp(X a,Y b)
{
if(a>b)
{
return a;
}
return b;
};
int main()
{
cout<<comp(4,5.2)<<"\n";
return 0;
} | [
"jharakhi1211@gmail.com"
] | jharakhi1211@gmail.com |
7968f1351079623e5cb4c83d6a20bfde74caff03 | f1c50db4786ac945c7da4f44e728a3bee0e84378 | /Hanoi/pointer.h | f453f36010ce1962928d8f2ffaf699586ca00e25 | [] | no_license | ddodds399/Tower-of-Hanoi | d87bcc7286b7e7396404fd90d8ebf45954d809e1 | b6470cc4f6b48b92ba5f278b1c1934156f7793da | refs/heads/master | 2021-01-20T19:56:38.475244 | 2016-06-19T19:11:23 | 2016-06-19T19:11:23 | 61,495,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | h | #ifndef POINTER_H
#define POINTER_H
#include "transform.h"
#include "mesh.h"
#include <GL\glew.h>
//Pointer Object
class Pointer
{
public:
//Constructor sets mesh to the pointer.obj in resources and initialises it position variable.
Pointer() {
point.setMesh("./res/models/pointer.obj");
currPos = 1;
}
//Calls... | [
"dddodds@hotmail.co.uk"
] | dddodds@hotmail.co.uk |
c0b8a4df396465f8b718f5470a6abb2614af2739 | c03794bd06579abe2d21381ccf3e4be96ac75724 | /181130_0_begin/begin/begin/inputManager.cpp | 17338f4d330a43cf34250e5c23d54872077dc570 | [] | no_license | newkid004/class_directx9_3d | ac0bc265f8cd9ec5564206f3840e680402070b61 | f13f558b925a15076576509a7abd5223572de21a | refs/heads/master | 2020-04-17T14:10:48.848434 | 2019-01-28T08:45:57 | 2019-01-28T08:45:57 | 166,646,735 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,303 | cpp | #include "inputManager.h"
#include "windowManager.h"
inputManager::inputManager(void)
{
ZeroMemory(_keyStates, sizeof(_keyStates));
ZeroMemory(_keyPrevStates, sizeof(_keyPrevStates));
ZeroMemory(&_mouseState, sizeof(_mouseState));
ZeroMemory(&_mousePrevState, sizeof(_mousePrevState));
}
inputManager::~inputManage... | [
"newkid004@gmail.com"
] | newkid004@gmail.com |
ec367623736173bda77334dc3b6614d6f5089e42 | 4ea8be18ebc6fca6c4f5286526810d6d9a454c8a | /romanToInt.cpp | 571a8abbbea9d9a25b85d0a9469c4e721362d1dd | [] | no_license | PullStackPigDev/source | ec109eb0d8838fe83e0507c00824c3c264afe6b8 | b932842bea55f25bcae7ef87c2baf87fa70074d2 | refs/heads/main | 2023-08-27T01:27:48.359945 | 2021-10-21T17:22:00 | 2021-10-21T17:22:00 | 410,942,292 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | class Solution{
public:
int romanToInt(string s){
int I=0, V=0, X=0, L=0, C=0, D=0, M=0, IV=0, IX=0, XL=0, XC=0, CD=0, CM=0;
int ans;
for(int i=0; i<s.size(); i++){
switch(s[i]) {
case 'I':
if (s[i+1]=='V') {
... | [
"noreply@github.com"
] | PullStackPigDev.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.