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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64d5cb734c78fe7fa9146fa6d11e44141ec0575a | 29cd7f0519fa338920e30f49d6ba3b3ed8c65327 | /saber/core/impl/cuda/cuda_impl.cpp | 4ecb27725698b99329c5aad0971b7fb8040e6e9f | [
"Apache-2.0"
] | permissive | vin-huang/Anakin | ae54716182427e5f9f187ea2ad980e47e344a71a | 8fc4b82ebaf974a6e052fe3690e41d678de4aa03 | refs/heads/AMD-test | 2020-03-28T13:48:02.312206 | 2018-09-12T14:16:51 | 2018-09-12T14:16:51 | 148,429,853 | 0 | 0 | Apache-2.0 | 2019-02-15T14:09:33 | 2018-09-12T06:06:26 | C++ | UTF-8 | C++ | false | false | 10,521 | cpp | #include "core/tensor.h"
#include "core/env.h"
#ifdef USE_CUBLAS
const char* cublas_get_errorstring(cublasStatus_t error) {
switch (error) {
case CUBLAS_STATUS_SUCCESS:
return "CUBLAS_STATUS_SUCCESS";
case CUBLAS_STATUS_NOT_INITIALIZED:
return "CUBLAS_STATUS_NOT_INITIALIZED";... | [
"zhuangyi01@baidu.com"
] | zhuangyi01@baidu.com |
08c13b1f4d0238d5682173fe1ca32aac8e859ca6 | 0f2635f18d7b47323332ab733f34c9308888e851 | /LUOGU/仓鼠找sugar.cpp | f2b8d87bf7c642d33cd9fe4bb7558cc8acfa8e16 | [] | no_license | stevebraveman/Code | 2e48b3638272126653c5a2baabac3438db781157 | 4205dd6c4c2f87a8d8554a21efac39616672004e | refs/heads/master | 2020-06-30T21:55:41.313296 | 2019-11-13T22:57:51 | 2019-11-13T22:57:51 | 178,631,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,918 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#define MAXN 100110
#define il inline
#define ls(x) ((x) << 1)
#define rs(x) ((x) << 1 | 1)
struct Edge {
int v, nx;
}e[MAXN * 4];
int head[MAXN * 4], ecnt, n, m, x, y, p, cnt, wt[MAXN], w[MAXN], op, l, r, k;
int dep[MAXN], fa[MAXN], son[MAX... | [
"zhoujiangfan52D2@163.com"
] | zhoujiangfan52D2@163.com |
c9062d2044a650fa08f3918b6c24f7df6416f2ea | 4b32cbc767e8cc0d61e7771b8a6d5c7c9b324a97 | /C++/2579(계단오르기).cpp | 5b0a6ca8541b707d15cfd9b0b7add44f8aacc055 | [] | no_license | Jongminfire/Baekjoon | 45e554c983fa583ca7a1709e1ac435e1a38e075b | 8dc0ec58ddc43de2dd44b3b1af9346f708c1208e | refs/heads/master | 2023-07-29T10:35:52.648825 | 2021-09-14T15:12:22 | 2021-09-14T15:12:22 | 247,514,920 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 997 | cpp | //#include <iostream>
//#include <vector>
//#include <algorithm>
//
//using namespace std;
//
//int main()
//{
// int N;
// cin >> N;
//
// vector<int> dp(N + 1, -1);
// vector<int> stair(N + 1);
//
// for (int i = 1; i < N + 1; i++)
// {
// cin >> stair[i];
// }
//
// dp[0] = 0;
// dp[1] = stair[1];
// dp[2] = stair[... | [
"jongminfire@gmail.com"
] | jongminfire@gmail.com |
d84d35da7d8855dd1b15356349ce1bd818412a70 | 530f3e7b071c30f4f49b2e31de7b7df5d498a39e | /utils/vecs.h | 3e30f4588494430f9f4c1b47df8d5ac1ae454a50 | [] | no_license | Yuzhen11/tgs-v1 | 23e79d3529417c2a59dc84b2e93e16f13fe4b2c9 | 6488b4ed7d3af7e44beeddcb3195525794b5f554 | refs/heads/master | 2016-08-02T21:30:45.498035 | 2015-06-10T02:50:47 | 2015-06-10T02:50:47 | 36,717,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,458 | h | #ifndef VECS_H_
#define VECS_H_
#include "serialization.h"
#include "Combiner.h"
#include "global.h"
#include <vector>
using namespace std;
template <class KeyT, class MessageT>
struct msgpair {
KeyT key;
MessageT msg;
msgpair()
{
}
msgpair(KeyT v1, MessageT v2)
{
key = v1;
... | [
"master"
] | master |
6c5c5d9bf3bf44e6f3d6b0879acf0e5ad1ad184b | f5e7dcb8221611d8dc09f87ae14bf7236347526c | /src/impl/random.h | b1414102685cff2a1c5dbaef4d4db3150d8de283 | [] | no_license | fkleon/cg2011 | c431d6f2fcd4120c8889ad163c950730d7a613b4 | ee4cb3a9763e0ec62548197187118badf2a5fe66 | refs/heads/master | 2021-01-17T10:23:31.407542 | 2016-03-15T06:37:59 | 2016-03-15T06:37:59 | 6,283,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | #ifndef RANDOM_H
#define RANDOM_H
// this class returns pseudo-random numbers in a given interval
// and needs to be initialized before first use with init(seed)
class Random
{
public:
Random() {
srand((unsigned)42); // init seed
}
static void init(uint seed) {
srand(seed); // i... | [
"frederik.leonhardt@googlemail.com"
] | frederik.leonhardt@googlemail.com |
e6795622f35b16f5b1f6a32ae183941e817cfd86 | 61f2439129978c05b16a7edb97c4bdbc3173b886 | /Medium/staque.cpp | 2d70d8e9c453702721f69406bfb639c0037ee35b | [] | no_license | ashishgopalhattimare/LeetCode | 190e46b145b6dadc57da05a64d8c3fd5c29a0a60 | dc7b4817efb28f29315e942844845b45e11db215 | refs/heads/master | 2021-06-01T11:00:22.095735 | 2021-02-12T09:05:22 | 2021-02-12T09:05:22 | 145,114,170 | 1 | 1 | null | 2021-01-03T19:47:53 | 2018-08-17T11:47:25 | C++ | UTF-8 | C++ | false | false | 845 | cpp | #include<bits/stdc++.h>
using namespace std;
#define LL long long int
LL algorithm(vector<LL>& arr, int n, int k)
{
vector<LL>sufix(n+1);
// Compute Sufix Array
sufix[n-1] = arr[n-1]; sufix[n] = 0;
for(int i = n-2; i >= 0; i--) sufix[i] = arr[i] + sufix[i+1];
LL totalSum = 0, pr... | [
"noreply@github.com"
] | ashishgopalhattimare.noreply@github.com |
c33b46f8f60ab435d2cdcbaf7ae24a0377f735b3 | 65952f493360b464ba863faf29b28deb73cd4186 | /SNCNCLSM_Lights_APA102C/SNCNCLSM_Lights_Protocol-2.0_PLAYGROUND/SNCNCLSM_Lights_Protocol-2.0_PLAYGROUND.ino | 6401f4899a53cbbb4e4046ad38394593da7880b5 | [] | no_license | mfcb/SNCNCLSM_Lights | 9bfca2110aff7c39b692fbbc3ab1a130277177ea | b77b1f6df92746d6a004714ac096c1c68d89addc | refs/heads/master | 2021-05-07T03:16:25.960880 | 2018-12-18T11:14:22 | 2018-12-18T11:14:22 | 110,834,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,016 | ino | #include <FastLED.h>
#define LED_TYPE APA102
#define NUM_LEDS 565 //Number of LEDs in use
#define NUM_LEDS_PORT 113 //Number of LEDs on Port 01
#define NUM_SABERS 5 //Number of Lightsabers connected
#define NUM_SABER_LEDS 113 //Number of LEDs per Lightsaber
#define NUM_SABER_SEGMENTS 5 //Number of Segments per Lights... | [
"mb@markusbuhl.com"
] | mb@markusbuhl.com |
dfa5e50dd0fbdd53b902da343c904c7da8f7598b | b7e97047616d9343be5b9bbe03fc0d79ba5a6143 | /src/protocols/simple_moves/GenericSimulatedAnnealer.fwd.hh | 877246cbad1b0b0fb56d73ff98707b8a113ae83e | [] | no_license | achitturi/ROSETTA-main-source | 2772623a78e33e7883a453f051d53ea6cc53ffa5 | fe11c7e7cb68644f404f4c0629b64da4bb73b8f9 | refs/heads/master | 2021-05-09T15:04:34.006421 | 2018-01-26T17:10:33 | 2018-01-26T17:10:33 | 119,081,547 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | 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... | [
"achitturi17059@gmail.com"
] | achitturi17059@gmail.com |
99e6435543300a7bafa37e89a76b61d3e29cf2a4 | 221f045fd84b62adad5a3dc0938a4880083d38ae | /main/comp_net/include/rdt/rdt_program.h | d1a958eca8ee892f94779d4d90b0400beb773bb0 | [] | no_license | EliasFarhan/NekoEngine | 3caf46921b01674cac5a0ee2b2bfc8b0c8211e11 | 15ff8abbe972dff9766062f9a032e3cdfa1519f5 | refs/heads/develop | 2022-05-19T15:36:05.160572 | 2021-04-23T17:52:09 | 2021-04-23T17:52:09 | 187,269,746 | 13 | 4 | null | 2020-06-04T09:31:06 | 2019-05-17T19:20:00 | C++ | UTF-8 | C++ | false | false | 729 | h | #pragma once
#include "comp_net/sample_program.h"
#include "graphics/camera.h"
#include "rdt/rdt_base.h"
namespace neko::rdt
{
class HelloRdtProgram : public SampleProgram
{
public:
void Init() override;
void Update(seconds dt) override;
void Destroy() override;
void DrawImGui() override;
void Render() override... | [
"elias.farhan@gmail.com"
] | elias.farhan@gmail.com |
8ab93064d47af2393fbfd958647b7da03dae597b | b1a9e400e257f269f8c58dbb103994f5a34b4f5d | /Source/SimpleShooter/ShooterPlayerController.h | dc9dc98a88e6dd629ceb3602778fa99a78802844 | [] | no_license | kleimaj/SimpleShooter | 6bf2d8574075e9233ea85ec90558a319f2edf5f2 | 36478b73b295eb29b0c110fb48af6ed273d314e2 | refs/heads/master | 2023-03-08T18:10:06.760098 | 2021-02-22T09:17:02 | 2021-02-22T09:17:02 | 337,576,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "ShooterPlayerController.generated.h"
/**
*
*/
UCLASS()
class SIMPLESHOOTER_API AShooterPlayerController : public APlayerController
... | [
"jacobakleiman@gmail.com"
] | jacobakleiman@gmail.com |
2df261b2c65bff09cbf4a6620f1529e644b495df | f17a6c53fe10443718e641d44f41a78cfc17138b | /DirectX11Engine/ReflectionShaderClass.h | 49ef39574b413cab6a3a563320ad900b99ebb8b9 | [] | no_license | albinopapa/DirectX11Engine | 3060e63b416d263a7f7a11968c3709201bf7dcfb | da8a1300ab08588d358fd24378a709f0395f812e | refs/heads/master | 2021-09-01T01:21:58.910268 | 2017-12-23T03:24:16 | 2017-12-23T03:24:16 | 115,236,889 | 0 | 0 | null | 2017-12-24T03:18:18 | 2017-12-24T03:18:17 | null | UTF-8 | C++ | false | false | 1,179 | h | #pragma once
#include "ShaderClass.h"
class ReflectionShaderClass : public ShaderClass
{
private:
// cBuffer type that will be used with the vertex shader.
// This typedef must be exactly the same as the one in the vertex shader as the model data needs to match the typedefs in the shader for proper rendering.
struct... | [
"gregory.weiner@gmail.com"
] | gregory.weiner@gmail.com |
59aff9cba32d73eecadd8752dc8d71042626f5ab | dff10f5789feddb2ab80c20bf410fd9fc16e365e | /03/model.cxx | 4eaccc1f614469baba5ba05ff63026fdbebe9655 | [] | no_license | sanblch/casts | 8757a734f0e6585b2ce594e0d53a6fbfd457bbf1 | b273a50b3cdbeaa6f17dde34a12a1505b5e6f25c | refs/heads/master | 2021-07-06T11:57:49.678965 | 2020-12-10T18:50:47 | 2020-12-10T18:50:47 | 214,096,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cxx | #include "qt-core.h"
#include "qt-mainwindow.h"
#pragma push_macro("slots")
#undef slots
#include <pybind11/pybind11.h>
#pragma pop_macro("slots")
#include <iostream>
namespace py = pybind11;
class CorePlugin;
static CorePlugin *m_instance = nullptr;
class CorePlugin {
std::unique_ptr<core::internal::MainWindow... | [
"a.krutikov@innopolis.ru"
] | a.krutikov@innopolis.ru |
48fb7ba264d95a9ce1cf23d6e88adb32cb32c4da | 7ef39106ff091002c3a22781628fe3076a0941b0 | /iree/compiler/Dialect/VM/Conversion/StandardToVM/ConvertStandardToVM.h | 93b6dbd2542b83ccbad99b08f074e712115b7d95 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | YashRajSingh-4799/iree | 798c01b44696f1360014075f4eca275c7a4dc87f | ace19e886efe3702bfe7b17185a5daaa20808e82 | refs/heads/master | 2022-04-20T23:52:58.303107 | 2020-04-23T01:39:08 | 2020-04-23T02:47:41 | 258,150,320 | 2 | 0 | Apache-2.0 | 2020-04-23T09:09:26 | 2020-04-23T09:09:26 | null | UTF-8 | C++ | false | false | 1,218 | h | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"iree-copybara-bot@google.com"
] | iree-copybara-bot@google.com |
b0b4f4f6faec65da322ab8c7780d2fb76ce43582 | 682de97290d8012d0e5c96d65ba32ecf21deaa3e | /cryptopp/lea_simd.cpp | 85ff6a3ace52d58380a2b5707ea2a7d0a5de8135 | [
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sepehrdaddev/cryptopp | 2296a95b9ffab5d989dae2920dd676c947dca65d | 9102e512447126efc0e38f106968c0ffc9661ecf | refs/heads/master | 2020-04-13T05:38:56.932542 | 2019-10-13T18:39:08 | 2019-10-13T18:39:08 | 162,998,037 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 47,122 | cpp | // lea_simd.cpp - written and placed in the public domain by Jeffrey Walton
//
// This source file uses intrinsics and built-ins to gain access to
// SSSE3, ARM NEON and ARMv8a, and Power8 Altivec instructions. A separate
// source file is needed because additional CXXFLAGS are required to enable
// th... | [
"sepehrdad.dev@gmail.com"
] | sepehrdad.dev@gmail.com |
52a61630bd1f3372a58917f501b53ac833a35a52 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /net/socket/ssl_client_socket_impl.cc | b90f479818891b9e3a5f2c08eade6970ca895d53 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,957 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/ssl_client_socket_impl.h"
#include <errno.h>
#include <string.h>
#include <utility>
#include "base/bind.h"
#includ... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
f06667aa30ec137a3899a98217751b590426cd66 | 763b5f65c931daebfe310f1c60f5a88e6cbb3fc3 | /src/PlaybackConfig.cpp | 5a4fae86e0d5caee785a86096508cc9c1fdc77b3 | [] | no_license | BerryTrucks/ModPlayer | 69f0fcb52544c66fecdf61d15d22e6ebdf0a78b2 | 71de77c901526d1551b286d99ee4e216058223a9 | refs/heads/master | 2023-04-22T12:36:23.629743 | 2016-01-24T22:36:42 | 2016-01-24T22:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,584 | cpp | #include "PlaybackConfig.hpp"
#include "modplug.h"
template<>
int InstanceCounter<PlaybackConfig>::s_count;
template<>
int InstanceCounter<PlaybackConfig>::s_maxCount;
PlaybackConfig::PlaybackConfig(QObject *parent)
: QObject(parent),
m_animationEnabled(true),
m_bStereo(true),
m_frequency(44100)... | [
"oleg@kosenkov.ca"
] | oleg@kosenkov.ca |
c42c965447b1d61560dfafceb8fca272a382b29a | 024df854627bd2109094f11876a6b0d868b4254b | /studyAssistant.ino | a0840e2a94ea4ab73acca58788a7f4286e5c175f | [] | no_license | df-club/studyAssistant | 46d9288d408ab0694bbdb1df44d53e5057d36258 | 74b9c9ac37a8d5f387461a139c6b1749fe97483b | refs/heads/main | 2023-02-24T17:09:18.522205 | 2021-02-01T01:18:50 | 2021-02-01T01:18:50 | 334,793,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,064 | ino | #include "HC_SR04.h"
#include "OLED_U8G_SSD1306.h"
#include "Syn6288.h"
// PIN
const int ut_trigPin = 10;
const int ut_echoPin = 9;
const int bottomServoPin = 5; // PWM
const int topServoPin = 6; // PWM
const int ledPin = 4;
const int potentiometerPin = A0;
// Object for HC_SR04
HC_SR04 ut_hc_sr04(ut_trigPin, ... | [
"noreply@github.com"
] | df-club.noreply@github.com |
9a6c421d310ea3bbd912dd7d8c040058e2a59477 | effb297f746ca33f7860128ef2bcdef7fe7ce787 | /src/velodyne/velodyne_pointcloud/src/conversions/cloud_nodelet.cc | a083a40934230bdbe0d03e6d63c9103e18669ce9 | [
"BSD-3-Clause"
] | permissive | qazmichaelgw/sparse_map | baa0ce70dc23dff76546d31b490186b109cb1f4c | 80c956ea0644b5df9234641f9c37d61375671ec5 | refs/heads/main | 2023-06-22T05:23:57.494306 | 2021-07-18T03:47:14 | 2021-07-18T03:47:14 | 381,368,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cc | /*
* Copyright (C) 2012 Austin Robot Technology, Jack O'Quin
* License: Modified BSD Software License Agreement
*
* $Id$
*/
/** @file
This ROS nodelet converts raw Velodyne 3D LIDAR packets to a
PointCloud2.
*/
#include <ros/ros.h>
#include <pluginlib/class_list_macros.h>
#include <nodelet/nodelet.h... | [
"qazmichaelgw@gmail.com"
] | qazmichaelgw@gmail.com |
1d2faa7ab5eae908fa030f770175e7ddfff73829 | d8ed69168d0c200be3f9f7e2199f39b4515bb5bc | /MECHENG706_FireDetectandObstacleAvoid/SharpIR706/SharpIR706.h | 2942f8881699deb74ded60c2c9e75bfecad59090 | [] | no_license | sraje97/MECHENG706-Projects | 9568bc8c7f0273c3573e9b5530d186892c5d9f20 | 56d0feb7e1b6d596efeb29c6ef9c338faf9b1ee9 | refs/heads/master | 2022-11-05T04:28:19.370047 | 2020-06-25T04:41:07 | 2020-06-25T04:41:07 | 264,557,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | /***********************************
* Filename: SharpIR706.h
* Purpose: Take readings from the infrared sensors used for the MECHENG 706 project
* Author: Michael Jessup, MJES247
* Date created: 12/3/18
***********************************/
#include <Arduino.h>
#define IR_TYPE_LONG 0
#define IR_TYPE_SHORT 1
#define I... | [
"52534482+sraje97@users.noreply.github.com"
] | 52534482+sraje97@users.noreply.github.com |
3cd35902b8928502e3b38a462779145e15b1e5e5 | 083e4287a9d6eec5a578e6adfb4a9b48dff94fdf | /WatchFirmware/System/Watch.cpp | 059bddf0b883a883982afd9c4223f7a8b28b08d7 | [] | no_license | electric-monk/IndependentlySmartWatch | 2ba949870cfdc5982d18582b925e7b90ab107bef | a75ab7320a3a08941e312971e40b3e1093ef55eb | refs/heads/master | 2021-01-23T17:59:31.827817 | 2014-03-21T08:49:18 | 2014-03-21T08:49:18 | 4,036,333 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,218 | cpp | #include "Watch.h"
#include "Graphics.h"
#include "MainMenu.h"
WatchFace::WatchFace()
{
m_owner = NULL;
m_visibles = 0;
m_last = NULL;
m_next = NULL;
}
WatchFace::~WatchFace()
{
Remove();
}
void WatchFace::OnPaintAll(Bitmap *destination)
{
int y = SplitHeight();
OnPaintUpper(destination, y);
OnPaintLower(des... | [
"colin@mice-software.com"
] | colin@mice-software.com |
9735ec0af327054d2b7121b6d0f1104151e3ce96 | 4759a1351961bf16e93a9a69c9840bd9083725dd | /src/gpu/ops/GrSimpleMeshDrawOpHelperWithStencil.h | 460877f13e9919e07465d32eb10541a617c381c4 | [
"BSD-3-Clause"
] | permissive | lbnb/skia | 8347e29139499235d71402a518dc3255d2be8f68 | f61ec43f84dd73508a566c36ef085156b40285f0 | refs/heads/main | 2023-06-25T15:31:14.851712 | 2021-08-18T04:01:04 | 2021-08-18T05:32:44 | 397,488,480 | 1 | 0 | BSD-3-Clause | 2021-08-18T05:52:55 | 2021-08-18T05:52:54 | null | UTF-8 | C++ | false | false | 3,815 | h | /*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrSimpleMeshDrawOpHelperWithStencil_DEFINED
#define GrSimpleMeshDrawOpHelperWithStencil_DEFINED
#include "src/gpu/ops/GrSimpleMeshDrawOpHelper.h"
/**
* This class e... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
75a77f171341497991055452e555db8daa46196b | 69305a2992c033fccbfd2eac615da6db9cf4ba3a | /Direct2DGeometrySample/stdafx.cpp | 72282dbd5e11566289dd069db4b9a2c6a0c6c860 | [] | no_license | sharat/Direct2DSamples | 1c6e575bad901fa7774338d3fd4003cf92505977 | 986568925c198c3fcd7bb5f66495328da4b722cc | refs/heads/master | 2020-06-06T14:07:08.939257 | 2010-09-25T10:01:32 | 2010-09-25T10:01:32 | 938,131 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp |
// stdafx.cpp : source file that includes just the standard includes
// Direct2DGeometrySample.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"csarath@gmail.com"
] | csarath@gmail.com |
70e20345ced8fd1a54acadf465c604ea59d0780e | 9aff59f0a07411def77a7a8dfb292d8d19ec9c72 | /Code/qt/net/server/main.cpp | 1a4f0f9e523e5ae7ad894c462f2046617baf57e3 | [] | no_license | mathieukapfer/sandbox | a676e3616c439e9b953227531ba2f10045cd4bb5 | 2c468c454a59ff38f82376cf3e0c83e1bada828d | refs/heads/master | 2021-01-16T19:02:52.471713 | 2019-06-28T09:51:41 | 2019-06-28T09:51:41 | 27,293,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <QCoreApplication>
#include "TcpServer.h"
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
TcpServer tcpServer;
tcpServer.listen();
return app.exec();
}
| [
"mathieu.kapfer@non.schneider-electric.com"
] | mathieu.kapfer@non.schneider-electric.com |
5c005fb583c28827c276985196369953089a0220 | ea3d92874d99cff459b1ee1077778e5bee484dba | /Qt-Temperature-Sensor/build-DS18B20_Qt-Desktop_Qt_5_9_9_MinGW_32bit-Debug/debug/moc_dialog.cpp | e60ad3e86182310233ebabb895454d7052e1305b | [] | no_license | djosma911/projet_cpp_2A | 0d238d0e6b146009a92be7099cb474d5e07c9828 | 3a47c378545ec24abae0bd16805b2d2d0e3a28a4 | refs/heads/master | 2023-02-13T14:24:59.973336 | 2021-01-07T10:25:40 | 2021-01-07T10:25:40 | 327,568,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'dialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.9)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"youssef.jemmali@esprit.tn"
] | youssef.jemmali@esprit.tn |
c8d1986e90f2cadf0e0b2edbc737c31de4d5dbba | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/SelectBasics/SelectBasics_SensitiveEntity.cxx | 02392cc9aad48b6bb0529843ae8c2e36b31f1d57 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,433 | cxx | // Created on: 1995-01-23
// Created by: Mister rmi
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Les... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
48f28b54bdb9a9bfc300d15745d706fd79ed4e4a | 8d1cbc47d576ecd58e74abc288e85afa4261df9e | /POJ/2549/15249038_AC_16ms_160kB.cpp | 1ac0e45f5cae3504e14ec166bc86d82a755aae9c | [] | no_license | KevinMcblack/My_ACM | f7b5b2836f6bc50cf7e3b09c1ac150b85bec2249 | e2e119bf66e16fcaaf6f2e99d27a37fdc43a0b05 | refs/heads/master | 2021-01-16T03:03:38.807814 | 2020-05-27T01:37:54 | 2020-05-27T01:37:54 | 242,954,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | #include <cstdio>
#include <cmath>
#include <algorithm>
#include <iostream>
typedef long long LL;
using namespace std;
const int maxn = 1e3+5;
int a[maxn];
int n;
void sovle()
{
for (int d = n - 1; d >= 0; d--)
{
for (int c = n - 1; c >= 0; c--)
{
if (d == c)
continue;
int temp = a[d] - a[c];
int l =... | [
"970017280@qq.com"
] | 970017280@qq.com |
c7092621b4107ff89726e95da981fbba2745710b | 8232ac568fdeca25a379445f49a3b27d6f9e4fd2 | /src/geometry/structuredHexMesh.cpp | ecdf468f8fa49d888d98491ec9b8f857987a57b6 | [] | no_license | espin-tolosa/vesperia | 8fcd51ce43830fd6015f14acc4d0992b821bd69c | b7982f5847504c0ea480ed370efcc3a35016a5da | refs/heads/master | 2022-04-22T05:30:08.998050 | 2020-04-17T14:48:41 | 2020-04-17T14:48:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,618 | cpp | #include <iostream>
#include <math.h>
#include "../functions/setfun.h"
//#include <iostream>
//#include <cstdio>
//#include <sstream>
//#include <ncurses.h>
//#include <unistd.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "structuredHexMesh.h"
/**
[INTRO] This is an attempt to create a class for struct... | [
"samuel.espintolosa@gmail.com"
] | samuel.espintolosa@gmail.com |
29d0eede5f315e54c66e7cf110e98f9711d13da5 | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/mpl/map/aux_/numbered.hpp | e74ec3d17aa456c18761ecce545f71748be7d58a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 2,696 | hpp |
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
#if !defined(BOOST_PP_IS_ITERATING)
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.lslboost.org/LICENSE_1_0.txt)
... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
0da91936066be4144241b2810edfcae2fd804c8d | 93343c49771b6e6f2952d03df7e62e6a4ea063bb | /HDOJ/3517_autoAC.cpp | 220d072a7da51adfefcd840337c013a0b0cead1f | [] | no_license | Kiritow/OJ-Problems-Source | 5aab2c57ab5df01a520073462f5de48ad7cb5b22 | 1be36799dda7d0e60bd00448f3906b69e7c79b26 | refs/heads/master | 2022-10-21T08:55:45.581935 | 2022-09-24T06:13:47 | 2022-09-24T06:13:47 | 55,874,477 | 36 | 9 | null | 2018-07-07T00:03:15 | 2016-04-10T01:06:42 | C++ | UTF-8 | C++ | false | false | 5,049 | cpp | #include <iostream>
#include <cstring>
#include <string>
#include <algorithm>
#include <vector>
#include <cstdio>
using namespace std;
#define maxn MAXN
const int MAXN = 508;
int G[MAXN][MAXN];
int mx[maxn],my[maxn];
int used[MAXN];
int ansX[maxn],ansY[maxn];
int delX,delY;
struct per
{
... | [
"noreply@github.com"
] | Kiritow.noreply@github.com |
b7c6b0de5dd2c887918d66522f19862c993e67f5 | f87329f3db4e29d630f5b67c931cbb520c7ac65b | /GraphDetectCycleUndirectedgraph/main.cpp | bbf257903b09ecf5c3e6b69f833d599634b0696d | [] | no_license | sparshgoyal2014/gfgcodes | 01a371741dc6fe1b983db6a085f62d980ce00963 | 2d7326218154ea9a2258129e30095330f98f87ae | refs/heads/main | 2023-04-02T21:23:27.313798 | 2021-04-07T16:38:11 | 2021-04-07T16:38:11 | 355,515,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include <iostream>
#include <vector>
using namespace std;
bool detectCycleUtil(vector<int> adj[], int V, int s, int parent, bool visited[]){
visited[s] = true;
for(int u: adj[s]){
if(visited[u] == false){
if(detectCycleUtil(adj, V, u, s, visited)){
return true;
... | [
"sparshgoyal2014@gmail.com"
] | sparshgoyal2014@gmail.com |
f47decddb9171e80f958d1cc923a201343ce3d35 | 41ae6e4252a77d56c8fabbd54ecddcd9b058ad13 | /format_test.cc | b57390f3689df21353b1d27fd15e464bd9e1bf9f | [
"BSD-3-Clause",
"DOC",
"Python-2.0",
"BSD-2-Clause"
] | permissive | orionnoir/format | 7558b1a3583d8087ff0f2d0883c47454e7fc823f | eded10cf31d471d9ccc96d2ecbe74e2e7c211c28 | refs/heads/master | 2021-01-23T23:46:05.610989 | 2013-09-10T16:28:04 | 2013-09-10T16:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,742 | cc | /*
Formatting library tests.
Copyright (c) 2012, Victor Zverovich
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
... | [
"victor.zverovich@gmail.com"
] | victor.zverovich@gmail.com |
7135a7b31eec225aaab4f78adba2d1352319541d | eedd904304046caceb3e982dec1d829c529da653 | /clanlib/ClanLib-2.2.8/Sources/API/GUI/Components/listview.h | e6fbeb027674892e68ec39996eb8df855daa1c4f | [] | no_license | PaulFSherwood/cplusplus | b550a9a573e9bca5b828b10849663e40fd614ff0 | 999c4d18d2dd4d0dd855e1547d2d2ad5eddc6938 | refs/heads/master | 2023-06-07T09:00:20.421362 | 2023-05-21T03:36:50 | 2023-05-21T03:36:50 | 12,607,904 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,989 | h | /*
** ClanLib SDK
** Copyright (c) 1997-2011 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | [
"paulfsherwood@gmail.com"
] | paulfsherwood@gmail.com |
c0add3396bc52e51c0e9effbff71f9d77f72eb9c | 4e8286361acec4481d9d79016c43b6b7301b620e | /prevDate.cpp | f91403f7bba6e759c59a00df972442086a8017b8 | [] | no_license | saurabhshingte/stqa | a37ffd629f22c7330df177f78a51436ae1052899 | 1e55ebb67031b41667b45fbac54a7e569d11f921 | refs/heads/master | 2020-05-15T22:59:45.971423 | 2019-04-21T14:11:21 | 2019-04-21T14:11:21 | 182,540,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <stdio.h>
struct date{
short dd,mm,yy;
};
void getYesterdayDate(struct date *d)
{
if(d->dd==1)
{
if(d->mm==4||d->mm==6||d->mm==9||d->mm==11)
{
d->dd=31;
d->mm--;
}
else if(d->mm==3)
{
if((d->yy%4)==0) d->dd=29;
else d->dd=28;
d->mm--;
... | [
"noreply@github.com"
] | saurabhshingte.noreply@github.com |
8770da444daf005be88e6ea8eec05ef0324d7154 | f14df0cb9b8cb1e4b6b84609f9a031cca782b9bc | /full_v5/full_v5.ino | c2f43f65e28ac6b6da9c21589f0f31725e34ae81 | [] | no_license | JongSook/Chicken-Killer | cc0f0a6b25a5093bc3bc26816a5ea6138bb0659f | 1b89ae3b81e03fc5635f7d4e048e02945fd6d431 | refs/heads/master | 2020-04-18T05:28:56.744613 | 2018-05-02T03:05:00 | 2018-05-02T03:05:00 | 66,662,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,679 | ino | #define remote1 13 // downward
#define remote2 12 // upward
//#define remote3 8
//#define remote4 5
#define RELAY1 6
#define RELAY4 7
#define motor1 10
#define motor2 11
#define motor_en 9
#define rs1 3 // top
//#define rs2 2 // middle
#define rs3 4 // below
int num = 0;
int reedNum = 0;
int H = 1;
int L = 0;
voi... | [
"noreply@github.com"
] | JongSook.noreply@github.com |
682a14106a563bdf09881f65e9543c31a52f403d | 823c46154c83775b255a3535874d1eaaed426b57 | /PaoNiu/Classes/用所选项目新建的文件夹/用所选项目新建的文件夹/MarkController.cpp | ed07cf2cc65b61d09c29f08579c6c55d223e420c | [] | no_license | yesunsong/PaoNiu | 41e17eca6752a367271a37ed58e09f624f8a7005 | abdcc030984411e4a23e7e53389abce4f6bcefb0 | refs/heads/master | 2020-05-19T22:37:39.617252 | 2014-01-13T11:37:34 | 2014-01-13T11:37:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,073 | cpp | //
// GameMark.cpp
// example11-1
//
// Created by shuoquan man on 12-10-20.
// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//
#include "MarkController.h"
MarkController::MarkController(void)
{
}
MarkController::~MarkController(void)
{
}
void MarkController::onExit()
{
CCNode::onExit();
}
void... | [
"1042282500@qq.com"
] | 1042282500@qq.com |
c281f8dbe742b16cddfa8a15a2cb314e753b639f | 7e62f0928681aaaecae7daf360bdd9166299b000 | /external/DirectXShaderCompiler/include/dxc/HLSL/DxilValidation.h | 61b82f939ae0efd50863d7fe943f28d9fca6c14f | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yuri410/rpg | 949b001bd0aec47e2a046421da0ff2a1db62ce34 | 266282ed8cfc7cd82e8c853f6f01706903c24628 | refs/heads/master | 2020-08-03T09:39:42.253100 | 2020-06-16T15:38:03 | 2020-06-16T15:38:03 | 211,698,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,383 | h | ///////////////////////////////////////////////////////////////////////////////
// //
// DxilValidation.h //
// Copyright (C) Microsoft Corporation. All rights reserved. ... | [
"yuri410@users.noreply.github.com"
] | yuri410@users.noreply.github.com |
d7eea0386a6ee978e529f209ed3e9e3865a10ac7 | 72ef1f68693afb164deea4491b5fef85a69a81dd | /samples/plugins/orbbec_skeleton/SkeletonPlugin.cpp | cae8c53fa34643c800ca83d69c7d0b4f7dcd590b | [] | no_license | nocnokneo/astra | 93abc8e4ee9c692564b0e307970d18b2b5e4da40 | 155635b5e7f2cd605da09bbb73adfc3c08ae76a4 | refs/heads/master | 2021-01-18T11:19:20.038255 | 2016-01-06T21:55:18 | 2016-01-06T21:55:18 | 49,164,106 | 0 | 0 | null | 2016-01-06T21:54:25 | 2016-01-06T21:54:24 | null | UTF-8 | C++ | false | false | 1,457 | cpp | #include "SkeletonPlugin.h"
#include <Astra/Astra.h>
EXPORT_PLUGIN(astra::plugins::skeleton::SkeletonPlugin);
namespace astra { namespace plugins { namespace skeleton {
void SkeletonPlugin::on_stream_added(astra_streamset_t setHandle,
astra_stream_t streamHandle,
... | [
"gordonmcshane@gmail.com"
] | gordonmcshane@gmail.com |
92eec77686c6c449ff9e3479aabb7802a93f84eb | e8707620f917c17be8d576b98f85122924c46e22 | /zipper.cpp | 6377969aff6d81d48d776d6c8840c846ebfe58c9 | [] | no_license | ritwikshn/zipper | c23d2085923a0e6170ec00e5145d5512695017b7 | 51d4f33f4df05e49a5a6227f7e833c1394d4636c | refs/heads/master | 2023-07-04T12:15:06.189465 | 2021-08-11T06:44:27 | 2021-08-11T06:44:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,391 | cpp | // Author - Ritwik Sahani
// Roll No. - EE18BTECH11038
#include <iostream>
#include <math.h>
#include <vector>
#include <unordered_map>
#include <string.h>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <bitset>
using namespace std;
bool compfn(pair<char, int> &a, pair<char, int> &b) { return a... | [
"ee18btech11038@iith.ac.in"
] | ee18btech11038@iith.ac.in |
48040829943619c268867d5cfbdbb94207e42bec | b5b7967f401321ae6ef2f70ebf79ce71caf4916f | /src/qt/signverifymessagedialog.cpp | 5c38300d5f6d314eb8b94ff765bd0174c496df0b | [
"MIT"
] | permissive | roppik/d8 | 05a70d158da5b20234ff5819dac87c5c0acbb556 | 11b86b2c1e0f78f0be7522826fdd57b5f4933c45 | refs/heads/master | 2020-04-24T11:54:29.566217 | 2020-01-28T22:14:41 | 2020-01-28T22:14:41 | 171,941,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,979 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"... | [
"roppik88@gmail.com"
] | roppik88@gmail.com |
88b658d4ed3f43b5cbb0b00089e942637a6b08c8 | 84141be7f704a78710ab0d3826326db3f3fbffe0 | /gpu-16ksc2/data-files/trace-venice.pix | bcbe9f59400e39a5e41f3fec690844615c237265 | [] | no_license | fjnoyp/Graphics | c8d003d567644eef44e7cf5a691ecff97d038e42 | 618d7061a89002284e5e3048a760541c61bbb80d | refs/heads/master | 2021-01-09T21:47:20.506338 | 2015-09-30T16:51:28 | 2015-09-30T16:51:28 | 43,405,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,653 | pix | #version 330 // -*- c++ -*-
// https://www.shadertoy.com/view/MdXGW2
// Created by Reinder Nijhoff 2013
//
// My attempt to create a procedural city with a lot of lights. The city is inspired by Venice.
// The shader is a combination of my shaders: https://www.shadertoy.com/view/Mdf3zM and
// https://www.shadertoy.c... | [
"16ksc2@tcl216-16.cs.williams.edu"
] | 16ksc2@tcl216-16.cs.williams.edu |
81b944d802b2af0b36953f8ace182d78b6094c2c | ed00a9a8c8d31b7658928f0ed49d118a583d6d86 | /209/MedalTable.cpp | d9b559c0b829d19971c2a6e716ff4ac6238ebea1 | [] | no_license | sreelakshmib/topcoder_srm | e7fd6f0256e9700f097e31b45a3f8ef96aa2e94d | 8cb0dbbad30aae3765eeb49fc8bfffb4087f1ba7 | refs/heads/master | 2020-05-20T17:04:02.972739 | 2013-04-14T12:36:39 | 2013-04-14T12:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,792 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <c... | [
"shrima@shrima.(none)"
] | shrima@shrima.(none) |
0a459c1bff6f60dd7e8fb1219fbe238fa2781d2c | 4a1b510129f99a73d11f95c7c5681edf565e051d | /src/connect-k-cpp/GameLogic.cpp | d7a4f7d28f8f1b0a85d041b978fa20ddbb87bdb2 | [] | no_license | AlienEdith/MCS271P-Connect-K-Game | 5b51c8341c32f0f1de7eb9d392507a0e688a0c49 | 672346f008bddf9cf92ea6e0f842c043ae46ac68 | refs/heads/master | 2021-05-17T18:34:56.767217 | 2020-03-29T00:15:38 | 2020-03-29T00:15:38 | 250,920,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,139 | cpp | #include "GameLogic.h"
GameLogic::GameLogic(int col, int row, int p, int g, string mode,int order)
{
this->col = col;
this->row = row;
this->p = p;
this->g = g;
this->mode = mode;
this->order = order;
this->aiList = new vector<AI*>();
}
void GameLogic::Manual()
{
int player = 1;
int winPlayer = 0;
bool init... | [
"mamtashah1312@gmail.com"
] | mamtashah1312@gmail.com |
5cd3375d73c547701a69cea65f50cba588262d82 | 012784e8de35581e1929306503439bb355be4c4f | /problems/剑指 Offer 25. 合并两个排序的链表/1.cc | d8f2a2c8df49f11b1acffa1ec436f6a1cd9c79fb | [] | no_license | silenke/my-leetcode | 7502057c9394e41ddeb2e7fd6c1b8261661639e0 | d24ef0970785c547709b1d3c7228e7d8b98b1f06 | refs/heads/master | 2023-06-05T02:05:48.674311 | 2021-07-01T16:18:29 | 2021-07-01T16:18:29 | 331,948,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cc | #include "..\..\leetcode.h"
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
ListNode dummy;
ListNode* tail =... | [
"2595756713@qq.com"
] | 2595756713@qq.com |
82dff1408b795c2682746d75caff5c3f4b28e39d | a0ef3aa1b3118baf54dc186d89c35072b8d96d54 | /codeforces/999/B.cpp | 71c18170c9325a680f0e84882983fa4c6e256f7f | [] | no_license | arjunbangari/Problem-Solving | 110398129698038660e558509c46c385e7848cc3 | 9c9760627a3fbdd97ecee8cbc02245a3ea0f7fda | refs/heads/master | 2023-02-05T17:09:40.631840 | 2019-08-10T12:02:00 | 2020-12-29T11:52:13 | 324,994,511 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define endl "\n"
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
vector<ll> divisors;
void fill(ll n){
for(ll i=1;i<=sqrt(n);i++){
if(n%i==0){
if(n/i==i)
divisors.push_back(i);
... | [
"sarjun99718@gmail.com"
] | sarjun99718@gmail.com |
60ad50489b2063f0dce1d3e4486cdec26c5a8199 | 3d711597d2d8b533f53cc023ad146f16e167e877 | /src/Vehicle.h | 50c1fdd858579b8bb7b56c5742e2a70f93d69656 | [] | no_license | huanglei0809/MRFGS | a8b2d71c2f3679b0a647e71e648e94a9c447a0e2 | b8d754de08b68476515c6d4ef30d045379fa68dd | refs/heads/main | 2023-04-11T13:03:58.300930 | 2021-04-27T14:13:55 | 2021-04-27T14:13:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | h | //
// Vehicle
//
#ifndef FANET_VEHICLE_H
#define FANET_VEHICLE_H
#include <map>
#include <string>
#include "TDequeConcurrent.h"
#include "Track.h"
using namespace std;
namespace fanet {
class Vehicle {
protected:
bool initialized_;
bool dfDbActive_;
std::string dbHost_;
st... | [
"manfred@reinart.de"
] | manfred@reinart.de |
fbd5d83d22b1854e814c1316bc20d2cbe32a76b6 | 4e5dd2757cf753ebce05788a4a1f69c8cb7f16fe | /pi4home-core/src/pi4home/light/light_output_component.cpp | bdc162c58013ca6a02a84a9af031e27440230917 | [
"MIT"
] | permissive | khzd/pi4home | 36e9e71a162a0d5fa2dbde477ab1d5550a2737cc | 937bcdcf77bab111cca10af1fe45c63a55c29aae | refs/heads/master | 2020-05-01T06:28:37.504399 | 2019-03-24T14:39:04 | 2019-03-24T14:39:04 | 177,331,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp | #include "pi4home/defines.h"
#ifdef USE_LIGHT
#include "pi4home/light/light_output_component.h"
#include "pi4home/helpers.h"
#include "pi4home/log.h"
PI4HOME_NAMESPACE_BEGIN
namespace light {
using output::FloatOutput;
LightTraits BinaryLightOutput::get_traits() { return {false, false, false, false}; }
void Bina... | [
"khzd19@gmail.com"
] | khzd19@gmail.com |
b200f03585c9f122d0461f812203adac6950ac14 | b8d3de6ed8814b91d5d8d5221923011068aad0c5 | /lib/mockturtle/lib/kitty/kitty/affine.hpp | 5bdbdd5e76b932baab8e325d3708465e62e9b1fa | [
"MIT"
] | permissive | kuangr5950/ga_fcnpr | 69201de26f08076debc314224c316e0b0411b5ef | e5142bd7ba40bfd31b303d7ad568bd4f9b981769 | refs/heads/master | 2023-03-25T01:10:03.955747 | 2021-03-18T05:19:35 | 2021-03-18T05:19:35 | 325,752,199 | 1 | 1 | null | 2021-01-13T12:08:18 | 2020-12-31T08:22:04 | C++ | UTF-8 | C++ | false | false | 6,356 | hpp | /* kitty: C++ truth table library
* Copyright (C) 2017-2018 EPFL
*
* 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 ... | [
"1395566766@qq.com"
] | 1395566766@qq.com |
aef3bc455c87d54886012ef2c00c1f425fc2c6f4 | cd686045140d7d640dd82c9dcfd3690a2a9493d6 | /libhls/hls/include/hls/m3u8/IParser.h | 5efccb24edfad60fdd0fa4a9a384d91a10b851ea | [] | no_license | chxj1980/hls | 614e48241599f5fd055154c86b83381e705b7305 | ff6c78de26b1446f95c7fb802e4a3c6680d6d13c | refs/heads/master | 2022-11-06T20:33:29.481569 | 2020-04-28T10:58:48 | 2020-05-06T08:19:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | #ifndef HLS_M3U8_IPARSER_H_
#define HLS_M3U8_IPARSER_H_
#include "hls/m3u8/AElement.h"
#include "hls/m3u8/IVariable_repository.h"
#include "hls/m3u8/IVariable_resolver.h"
#include <memory>
#include <string>
namespace hls {
namespace m3u8 {
/**
* @brief Playlist element parser
*/
class IParser {
public:
/**
... | [
"nikola.spiric@rt-rk.com"
] | nikola.spiric@rt-rk.com |
474ae40c5c3bc10c2789d62e5058781f1507afa6 | 2b8649c2baf07d907a68ace6bf607dbcb4b75a56 | /examples/libMiniViewerExample/src/ofxLibMini.h | e1eb150f41b03891a6547668bfd233f61afc7fc8 | [] | no_license | davetowey/ofxLibMini | d5b3210db605eada14b28396dd733245fab271a5 | f3bdd4979268d96d7cae5a7f4897c4b5200ddcf8 | refs/heads/master | 2020-12-25T11:58:13.548398 | 2012-03-30T19:54:58 | 2012-03-30T19:54:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | h | #ifndef OFXLIBMINI_H
#define OFXLIBMINI_H
#include "viewerconst.h"
#include "ofMain.h"
#include <mini/minibrick.h>
#include <mini/miniview.h>
//#include <mini/ministub.h>
#include <mini/mini.h>
#include <mini/minibase.h>
#include <mini/miniv3f.h>
#include <mini/miniv3d.h>
#include <mini/miniOGL.h>
//#include <mini... | [
"info@kalwaltart.it"
] | info@kalwaltart.it |
a593e296a1599abff83f398272b1dcd8e12a9009 | d5a86064cbb9437e06c29c1d423ec7e6915135d2 | /project/quote_dbf/src/load_dbf.cpp | c6724dbe79c0930c48e5c90c6425c44d92cbe722 | [] | no_license | feixuedudu/ericbase | e4c0d844a0c12210c1a9b0116316b8fc6ebe887a | 3cad970bfadf560d8b8da01e31044ec7eb61db7f | refs/heads/master | 2021-06-09T12:12:58.005602 | 2016-12-26T14:37:59 | 2016-12-26T14:37:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | cpp | #include <iostream>
#include <windows.h>
#include <string>
#include "load_dbf.h"
#include "base/util.h"
using namespace std;
load_dbf::load_dbf(dbf_local_info& m_dbf_param)
: fdbf(NULL),
pnew(NULL)
{
m_dbf_info.m_dbf_local_info = m_dbf_param;
}
load_dbf::~load_dbf()
{
release();
}
int ... | [
"kaishansheng@163.com"
] | kaishansheng@163.com |
0fa72a051192efd584cc39c5ef8e1569aa398111 | 4726929e9ddcbaea59df5f0493dd11d1adf222e3 | /tutorials-src/graphics/intro-to-graphics/directional-lighting/main.cpp | 7607a2d660144f8cf7abb2a9c33be7a15a0a9ae2 | [] | no_license | liam-middlebrook/graphics-tutorials | aeb48ce4fdec2accdfb582da65de5bad1a22ca55 | d3cd2c218c760236abaffaf3dc11e794b39300bd | refs/heads/master | 2021-01-10T08:43:34.198902 | 2015-11-24T21:27:57 | 2015-11-24T21:27:57 | 43,909,988 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 23,469 | cpp | /*
Title: Directional Lighting
File Name: Main.cpp
Copyright © 2015
Original authors: Brockton Roth
Written under the supervision of David I. Schwartz, Ph.D., and
supported by a professional development seed grant from the B. Thomas
Golisano College of Computing & Information Sciences
(https://www.rit.edu/gccis... | [
"liammiddlebrook@gmail.com"
] | liammiddlebrook@gmail.com |
2cc5216824440cfbcc7db47be2fa2fc01bb6ed72 | b5bbe0b4d438e8852df1f581234d2101b25f1672 | /source/src/systems/SAnimation.cpp | 993d7a68879216980a52c212f52145c30e233b4a | [] | no_license | Galaco/sokoban3d | 8315cbc8d23fa0d86e1f0b638590a00b99b878b9 | d630fb74238a5e5bae10f2e4c5cd2375cc93945c | refs/heads/master | 2021-01-20T17:23:41.713001 | 2018-11-15T11:14:23 | 2018-11-15T11:14:23 | 25,152,727 | 2 | 0 | null | 2018-11-15T11:14:24 | 2014-10-13T09:46:50 | C++ | UTF-8 | C++ | false | false | 2,795 | cpp | #include "SAnimation.h"
std::map<CAnimation*, CGraphics*> SAnimation::CGraphicsCAnimationCache;
SAnimation::SAnimation(){
}
SAnimation::~SAnimation(){
}
void SAnimation::initialize(){
}
void SAnimation::update(float dt){
if ((m_CurrentState != m_PreviousState) || Scene::ForceRecache)
{
rebuildCache();
}
a... | [
"contact@joshmartin.eu"
] | contact@joshmartin.eu |
0ae92ad9adb002c8249b554b79093485b6dc8b38 | 53af53f1195bd53b2553fd0da08a89251f3ace59 | /牛客/SimpleSorting.cpp | e221acd0a50c99c7135c47626a785e5f39eee945 | [] | no_license | cowarder/Algorithms | 13dc20014598cef2689f326b34050e6f53b91702 | 04e3b7aad05ad1606228b3ebfe6eb90f3fa1346a | refs/heads/master | 2018-10-22T10:18:47.600053 | 2018-07-23T06:27:13 | 2018-07-23T06:27:13 | 111,441,490 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include<iostream>
#include<string>
#include<set>
#include<sstream>
using namespace std;
int main() {
int n;
string s;
while (cin >> n) {
set<int>se;
for (int i = 0; i < n; i++) {
cin >> s;
stringstream ss(s);
int num;
ss >> num;
se.insert(num);
}
bool first = true;
for (int i : se)
if (... | [
"1615482151@qq.com"
] | 1615482151@qq.com |
1283e8473717909ca5a048236f4adfa65aebe070 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_2540.cpp | d056f375397ed34eeb14190bffda328fd24137e3 | [] | 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 | 302 | cpp | strbuf_release(&msg);
ret = merge_abort(o);
free(local_ref_to_free);
return ret;
}
static int merge(int argc, const char **argv, const char *prefix)
{
struct strbuf remote_ref = STRBUF_INIT, msg = STRBUF_INIT;
unsigned char result_sha1[20];
struct notes_tree *t;
struct notes_merge_options o;
| [
"993273596@qq.com"
] | 993273596@qq.com |
2fbb570031a711a71431776674016c6afd24fd51 | 57ecf2f8f28098f95265a84bf7fb1adad3d6fb42 | /Classes/iceman/GameGlobals.cpp | ff274df3d4aae3149331cc601ef49e468850ae5a | [
"MIT"
] | permissive | Crasader/game02-cpp-blueprints | e66fcd8540a124037dbdbb629ed4976cebd38f01 | 781db6935658cdef7e07087a88f9ce1a22aee2d5 | refs/heads/master | 2021-02-19T09:35:29.158807 | 2016-10-27T15:26:05 | 2016-10-27T15:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,557 | cpp | #include "GameGlobals.h"
Size GameGlobals::screen_size_ = Size::ZERO;
int GameGlobals::level_number_ = 0;
int GameGlobals::hero_lives_left_ = 0;
void GameGlobals::Init()
{
screen_size_ = Director::getInstance()->getWinSize();
LoadData();
}
void GameGlobals::LoadData()
{
// add Resources folder to search path. Thi... | [
"dotosoft@gmail.com"
] | dotosoft@gmail.com |
67309d9eff5bcb3196791996fe221946f918d650 | 98b1e51f55fe389379b0db00365402359309186a | /homework_6/problem_2/50x50/0.53/T | 484d5f3ff9188729f4fd327e6dd0a7b33e2d7db1 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,494 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
d349f0eefc7230f96d6fab6b96cc777b1e586a6b | edabb49e83a71ce3a0e509c72a81d50e5324ee69 | /chainWnd.h | e9f55ea750b2b9ec0f77ef1b1f7e91a1b2611b7e | [] | no_license | ralphdov/V-editor | 0fd645a3eec0c120c2d1cc0b209730b14f561c1e | 819def0fba2b329b52ea02a11a41172d558ac003 | refs/heads/master | 2022-09-29T01:42:59.969451 | 2020-06-07T22:46:55 | 2020-06-07T22:46:55 | 270,446,921 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | h | // ChainWnd.h : interface of the CChainWnd class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ChainWnd_H__8592B4BA_42A3_4F67_AA15_481AD7605731__INCLUDED_)
#define AFX_ChainWnd_H__8592B4BA_42A3_4F67_AA15_481AD7605731__INCLUDED_
#if _MSC_VER > 1000
#pragma on... | [
"ralph@imacdearavmora-1.home"
] | ralph@imacdearavmora-1.home |
e29e5b94af0c8bf5a78dd95537e5a8997545599a | 558021220406615c47b2fa9587d19caa2346705c | /windows/runner/main.cpp | 88277fa38761018f179d32e25107ae20fcef2155 | [] | no_license | rexremigius/BYTES | ebb80f51f41cfdfd8de664eee702f8d30806ffba | 6a96260c04d49fc0b8e39204b3916690784cc93a | refs/heads/master | 2023-08-22T11:08:35.883471 | 2021-10-05T06:23:06 | 2021-10-05T06:23:06 | 413,705,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | [
"rexremigius@gmail.com"
] | rexremigius@gmail.com |
9c8890bc065446a6ac5c978813569322781f2698 | 71dda4c95382e5e052c1d6c8bbcbf7e0dc7416e1 | /215-Kth-Largest-Element-in-an-Array/Kth-Largest-Element-in-an-Array-3.cpp | a6947c12394af5180f326bb0224bfb2c4769308f | [
"MIT"
] | permissive | xta0/LeetCode-Solutions | 5bd871b60f0ffc9ffc1ea9cad902c24fcce33861 | ab0de97b35fb54c24bcef0398a9d75bdac9ee8b2 | refs/heads/master | 2021-07-10T11:51:28.944903 | 2019-01-22T04:58:27 | 2019-01-22T04:58:27 | 129,116,912 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <unordered_set>
#include <unordered_map>
using namespace std;
/*
Solution: Partial Bubble Sort
Time: O(N*k)
Space: O(1)
*/
class Solution {
public:
int findKthLargest(vector<int>& nums, ... | [
"jayson.xu@foxmail.com"
] | jayson.xu@foxmail.com |
742da5a433673ef49c0903d07c722f8ef0783bfa | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/third_party/blink/public/mojom/input/input_messages.mojom-blink.cc | 999e62c5c8af03a72ece0bb537b2bf9e80e58ffc | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,417 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#elif defined(_MSC_VER)
#pragma warning(pus... | [
"wasmview@gmail.com"
] | wasmview@gmail.com |
31e92e21a6b317ee155122b8239f9a4c0d04850a | 1ec5577f21f340e7451852a08503a101ac0a8986 | /arrays/key_pair.cpp | 93167114d8c699e22d6ac83d847a6e67a0c8ea75 | [] | no_license | gowthamv441/interview | 01d8bee9b30c0915d1e57e95da441396fa180ee6 | 683b2822246d4b98469326ceabda71efae399a27 | refs/heads/master | 2020-03-22T12:41:17.127722 | 2018-08-08T18:38:45 | 2018-08-08T18:38:45 | 140,055,684 | 1 | 0 | null | 2018-07-11T19:48:15 | 2018-07-07T05:33:35 | C++ | UTF-8 | C++ | false | false | 563 | cpp | #include <bits/stdc++.h>
using namespace std;
bool key_pair(int arr[],int n,int x)
{
int l=0;
int r=n-1;
while(l<r)
{
if(arr[l]+arr[r]==x)
return true;
else if(arr[l]+arr[r]>x)
r--;
else if(arr[l]+arr[r]<x)
l++;
}
return false;
}
main()
{
int test_case;
cin>>test_case;
fo... | [
"31705808+gowthamv441@users.noreply.github.com"
] | 31705808+gowthamv441@users.noreply.github.com |
6d81128ccaf7e925043f87fc805d887ee33d4cb4 | 6ab3e3b9f379c06b3347c28254287ecf0ffe01f0 | /2018-2019_Term2/CSC3002-Programming_Paradigms/Course_Material/Week 3/04 Programs/PrecisionExample/PrecisionExample.cpp | 4c2c037e3fd17d82087624c3248bb445a0b16095 | [
"MIT"
] | permissive | Fantendo2001/FORKED---CourseMaterials | 2e7a4cb4ee8e71997b78791d9ddc4090799ece89 | f2799f004f4353b5f35226158c8fd9f71818810e | refs/heads/master | 2022-01-11T10:02:14.547606 | 2019-06-19T09:00:11 | 2019-06-19T09:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | /*
* File: PrecisionExample.cpp
* --------------------------
* This program demonstrates various options for floating-point output
* by displaying three different constants (pi, the speed of light in
* meters/second, and the fine-structure constant). These constants
* are chosen because they illustrate a range o... | [
"117010285@Link.cuhk.edu.cn"
] | 117010285@Link.cuhk.edu.cn |
9d197a278dc9e1489242282143ac8829af5c65ee | 1eddfc58034e70dbf32c93c5ecdfc47e377eca84 | /jeffAndPeriods.cpp | 7be600f4c38264b9a719fd53bf0681a4cf628f94 | [] | no_license | Rodagui/CodeForces-Solutions | ec90ad3806ca6025c9f588eb298b33a47f097bd4 | fbcce297deb645ea8f6d7a30297071a12e447489 | refs/heads/master | 2022-07-27T21:36:20.656936 | 2022-07-15T00:54:17 | 2022-07-15T00:54:17 | 178,289,421 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | /*B. Jeff and Periods*/
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int main(){
int numeros, num;
cin>>numeros;
map <int, vector <int> > freq;
for (int i = 0; i < numeros; ++i)
{
cin>> num;
freq[num].push_back(i);
}
map <int, vector <int> > :: i... | [
"noreply@github.com"
] | Rodagui.noreply@github.com |
35309fa95df7d3e10e734ce4f92eb614eb6dd5b0 | a0927229c099cadbde7e98b33a883a2709f3da0d | /DSA Labs 2.0 (Student Version)/DSA_Labs/DSA_Labs/DSA_TestSuite_Lab3.cpp | 401056d359ae1c40addeef6524483cf7fa185c0e | [] | no_license | cesardarinel/cpp_array | c7286febbda375d1a84f3312ff1e3be6d49687fa | ab895f113ebbb0970cd107c0914cae9db0541123 | refs/heads/main | 2023-04-08T17:02:03.395522 | 2021-04-13T01:54:34 | 2021-04-13T01:54:34 | 354,409,967 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,147 | cpp | /*
File: DSA_TestSuite_Lab3.cpp
Author(s):
Base: Justin Tackett
jtackett@fullsail.com
Created: 12.27.2020
Last Modified: 02.26.2021
Purpose: Definitions of Lab3 Unit Tests for DList
Notes: Property of Full Sail University
*/
/************/
/* Includes */
/************/
#include <iostream>
#include "DList.h... | [
"SCardenas1@student.fullsail.edu"
] | SCardenas1@student.fullsail.edu |
572ede95a784701f875987611a4987f367816b10 | 716c18661909bfa447c60429798ec078ea745356 | /zj/d277.cpp | c679efa9a1f44ff5291dd256a7916d114ef1c94d | [] | no_license | zjohnx3/zjohnx3 | aaff16aeea83b6f6c72e1b8b8f774a3d8f8ea874 | c02f45a59f9767f5b2ad437f08856a65a064a6cd | refs/heads/master | 2022-12-30T10:04:50.520218 | 2020-10-16T13:46:35 | 2020-10-16T13:46:35 | 280,985,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
while (cin>>n){
if (n%2==0){
cout<<n<<endl;
}
else if (n==1){
cout<<0<<endl;
}
else {
cout<<n-1<<endl;
}
}
return 0;
}
| [
"yijohnjohn@gmail.com"
] | yijohnjohn@gmail.com |
40566a16d28ca66b04a85c3646789c9a5be26d8b | 61bc4b2d4268b7a50ac1cfb09dfe26a4a45624d5 | /src/main.cpp | b3a32b376db819d1858bb597a231ae3ef49fce93 | [] | no_license | murraymeehan/LHDemo | a3fb1072e3fe8a8dce7b55f99da6c83f0f2f891c | bb8f2240bfd4b539ac645ab3317ed329e6055abd | refs/heads/master | 2016-08-03T11:54:14.881649 | 2012-02-27T02:15:43 | 2012-02-27T02:15:43 | 3,542,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp |
#include "LHDemoApp.h"
#include "ofMain.h"
#include "ofAppGlutWindow.h"
//========================================================================
int main( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window, 960,768, OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// ca... | [
"murray.meehan@gmail.com"
] | murray.meehan@gmail.com |
a3194d412a13aa05fcc360350119b879ba903891 | c162909bdd7a45ef7549c35451f859cdb73f736d | /tcu_main/tcu_main.h | f152343a6e45f704087a02d75b99a11eb5632c1b | [
"MIT"
] | permissive | MthandazoJoeJunior/tcu_app | 52a5f4ff5723fc6a27fe00d1d41791bd70fd54e2 | 559a9952a3a45f278f5a3dc1482221258cdcd82f | refs/heads/master | 2023-04-24T10:59:40.845120 | 2021-05-04T09:36:12 | 2021-05-04T09:36:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | h | /*
** Top Class Uniforms Dashboard Interface (tcu_main.h)
**
*************************************************************************
** MIT License
**
** Copyright (c) 2019 Mthandazo J.J. Ncube, Ropafadzo Siziba, Bruce Chimoyo, Kennedy J.J. Maturure, Alec Musasa, Wallis T. Makurumidze
**
** Permission is hereby gran... | [
"alecmus@live.com"
] | alecmus@live.com |
ffd36b26779510be67ac6e5bcc2891c2b15e3c70 | 2fac476b3bb583bb03401df549a50ac769041af5 | /kratos/includes/gid_mesh_container.h | d7c4cdd706ddd04db824d06d8327603b7a106b58 | [
"BSD-3-Clause"
] | permissive | jiaqiwang969/Kratos-test | f35d7970f4528593a31cb7274f7956664ded82a8 | ed082abc163e7b627f110a1ae1da465f52f48348 | refs/heads/master | 2023-06-29T22:00:19.039607 | 2021-08-05T05:51:41 | 2021-08-05T05:51:41 | 390,590,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,775 | h | /*
==============================================================================
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi
pooyan@cimne.upc.edu
rrossi@cimne.upc.edu
CIMNE (International Center for... | [
"jiaqiwang969@gmail.com"
] | jiaqiwang969@gmail.com |
3c8ba95ea387ea9f7023dc1c6a7c185da6015cc8 | a208dbe12a88871042338d79c8f98955684682b6 | /Source/Bomber/Public/SingletonLibrary.h | dd966d713cbc6d75d1b9d4256e38cecb41ca9e60 | [] | no_license | risooonho/Bomber | 392eb098e5dbc2d71496f0ced8573b2972f06749 | 20d61fbf702e253ed29b19fcab6cd19ee6716739 | refs/heads/master | 2022-11-07T21:40:03.620733 | 2019-10-18T19:46:59 | 2019-10-18T19:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,543 | h | // Copyright 2019 Yevhenii Selivanov.
#pragma once
#include "Bomber.h"
#include "Cell.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "SingletonLibrary.generated.h"
/**
* The static functions library
*/
UCLASS(Blueprintable, BlueprintType)
class BOMBER_API USingletonLibrary final : public UBlueprintF... | [
"janseliw@gmail.com"
] | janseliw@gmail.com |
27d74325292f576892f3ac04b37aec1e9f9c75c1 | 6df45f4a51458cf480f3f05f1f326000b7d00a8f | /DialPad_FORM.h | 5a20bd98720cc60856c8803b8a10a6320f05564f | [] | no_license | pangeo-capital/phone-soft | 4e96f2e7f463835cac19626f7bc12ad3b9efae71 | 38e9f7f741b73eddbf2801b5d44561457be855fb | refs/heads/master | 2020-04-23T21:26:32.927520 | 2019-02-19T12:49:48 | 2019-02-19T12:49:48 | 171,470,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,647 | h | //---------------------------------------------------------------------------
#ifndef DialPad_FORMH
#define DialPad_FORMH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls... | [
"aermilov@granit.io"
] | aermilov@granit.io |
d2141de3d3a08fc7f217dbdfb30564d5053d5b6e | daffb5f31e4f2e1690f4725fad5df9f2382416e3 | /CF/1023/1023E/1023E.cpp | 7d0644b71e8c328f331fafb0c8759f14bbebe659 | [] | no_license | cuom1999/CP | 1ad159819fedf21a94c102d7089d12d22bb6bfa2 | 4e37e0d35c91545b3d916bfa1de5076a18f29a75 | refs/heads/master | 2023-06-02T01:57:00.252932 | 2021-06-21T03:41:34 | 2021-06-21T03:41:34 | 242,620,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include <bits/stdc++.h>
#define ld long double
#define sf scanf
#define pf printf
#define pb push_back
#define mp make_pair
#define PI ( acos(-1.0) )
#define IN freopen("input.txt","r",stdin)
#define OUT freopen("output.txt","w",stdout)
#define FOR(i,a,b) for(int i=a ; i<=b ; i++)
#define FORD(i,a,b) for(int i=a ; i>... | [
"lephuocdinh99@gmail.com"
] | lephuocdinh99@gmail.com |
cbf5fac8936398e0624b0d8529b2dde987f66176 | e8ef1d1cd1f3ea076ec0ed7eb6a27f1b08285652 | /src/problem.cpp | fbff287bc471a18752351228e1acd94856e6e075 | [] | no_license | jawline/CoreConstraint | 8b4ddc3ab3a49760a2b64eb482c554ceaa4552a4 | d1cbb4e0f65abfeda467cafb1008f2308d323d46 | refs/heads/master | 2021-01-15T16:00:11.907579 | 2016-04-12T09:41:08 | 2016-04-12T09:41:08 | 37,863,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,734 | cpp | #include "problem.h"
#include "problem_constants.h"
#include "solver.h"
using namespace Constraints;
using namespace Simplex;
Problem::Problem() {
_lastVariableId = 0;
}
Problem::~Problem() {}
Variable Problem::createVariable(std::string const& name) {
_variables.push_back(Variable(name, true, _lastVariableId));
... | [
"blake_l@parsed.uk"
] | blake_l@parsed.uk |
d529f9ec8291205d250fbf1a85b0b37d1a1c204b | e8307413bff4b74a4949597d130738b85ad61e0e | /WineTest/qresponseevent.cpp | 4edde0a18ef9781b05399e45181f193dcd0f1df5 | [] | no_license | isliulin/SCPark | 3ec0b5ddf1ef31b434965b86d70b4ba69851ba40 | e9e83072fa35eff672585fcf3dae94eaee953413 | refs/heads/master | 2021-05-30T04:59:37.253340 | 2016-01-08T02:56:14 | 2016-01-08T02:56:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include "qresponseevent.h"
QResponseEvent::QResponseEvent( Type event ) : QEvent( event )
{
}
void QResponseEvent::SetReponseData( const QByteArray &byData )
{
byReponseData.append( byData );
}
QByteArray& QResponseEvent::GetReponseData( )
{
return byReponseData;
}
| [
"Anne081031@hotmail.com"
] | Anne081031@hotmail.com |
78fd2122c93ec632e84ecaf41d4e397c6897e0c4 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/36/4e728aa09880d5/main.cpp | ccc52d7f36166109ba963b52e6bbb9ff16040552 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include <type_traits>
#include <iostream>
struct A {
using type = int;
void operator[](int);
};
class B { };
namespace details {
template<class...>struct voider{using type=void;};
template<class...Ts>using void_t=typename voider<Ts...>::type;
template<template<class...>class Z, class, class...Ts>
struc... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
052cd8cddcfadb741a45e2d04de2fe53be4fe9e3 | c203cfe8761b08bc66771d88f4916cc3813817a1 | /Kalibracja/main.cpp | 4e7476f08b22ff743d218680c284dd46b1e5352f | [] | no_license | MichalNowicki/PUTGroundTruth | 2f6bd45efc635b971f45bffa94584ed9eca29521 | 8c08cb01026b3656dd3e997c975cda6fe54e598d | refs/heads/master | 2021-01-13T01:54:06.076679 | 2014-01-28T10:39:58 | 2014-01-28T10:39:58 | 16,306,149 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,230 | cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <winsock2.h>
#include <Windows.h>
#include <ws2tcpip.h>
//#include <boost/thread.hpp>
#include <iostream>
using namespace cv;
using namespace std;
//using namespace boost;
#define DEFAULT_BUFLEN 512
double PCFreq = 0.0;
__int64 Co... | [
"michalsminowicki@gmail.com"
] | michalsminowicki@gmail.com |
d2721ab7662bb62e5fb54bbcfd653a90c91ed98a | bfdfcb02edd4d792ab9888bcf0809036d919fc4e | /src/UI/UIChat.cc | c9c1657f2273b738c38e4ff05b4b5f62b7a34a30 | [] | no_license | Krosser22/MultiplayerClient | 67c6f3f4b76c803d393e993e2f8f8203c2336955 | da12c323abf27efbe98c0ecdfe39b71662e0f477 | refs/heads/master | 2021-01-09T05:25:40.708269 | 2017-01-12T23:56:42 | 2017-01-12T23:56:42 | 80,764,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | cc | /**
*** ////////////////////////////////////////////
*** /////Autor: Juan Daniel Laserna Condado/////
*** /////Email: S6106112@live.tees.ac.uk /////
*** ///// 2016-2017 /////
*** ////////////////////////////////////////////
**/
#include <imgui-sfml.h>
#include "UI/UIChat.h"
#include "managers/... | [
"condadodaniel@hotmail.com"
] | condadodaniel@hotmail.com |
89972abeaf626dc38392817976a4bf4c78d49c8e | dadde419ac722bb2dcfd0fd9fb96dc5349807543 | /mCoAplus_v02_2011_with_Statistics/src/networklayer/xmipv6/BindingUpdateList.cc | 8ab2ec396be6b80a1c6ebdfab807d56774f38e0f | [] | no_license | florianjomrich/ProxyUnloading7 | 4d91d0bbbb58a565fdba5dad9b4c68cad1402895 | 12f519655badec0e5e16fb2b06c33f22de9100ba | refs/heads/master | 2020-04-09T10:05:40.704477 | 2015-04-25T09:51:34 | 2015-04-25T09:51:34 | 34,476,185 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,122 | cc | /**
* Copyright (C) 2007
* Faqir Zarrar Yousaf
* Communication Networks Institute, Technical University Dortmund (TU Dortmund), Germany.
* Christian Bauer
* Institute of Communications and Navigation, German Aerospace Center (DLR)
* This program is free software; you can redistribute it and/or
* modify it under... | [
"florian.jomrich@gmail.com"
] | florian.jomrich@gmail.com |
b2c3fa4aa2ed6e44caeba6c819a732f192d3df78 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2692487_0/C++/dpetek/A.cpp | 4b77f40e141dbc2cb8183e51c967bc64d92219ca | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include<iostream>
#include<cstdio>
#include<vector>
#include <algorithm>
using namespace std;
int solve(int a, vector<int> &v, int index, int cnt) {
if (index == v.size()) return cnt;
if ( a <= v[index]) {
int tmp = solve(a, v, index + 1, cnt + 1);
if ( a - 1 > 0){
int tmpCnt = c... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
613d5d12ad4bf329a1bdc4c481c23888d86e527c | 19999e0f98e2077e8207e54350fb701a5a04c22e | /Placement/BTW/PlacementTest11.cxx | 909fca506c11a089f6787b1bc416dbe02f60b572 | [
"MIT"
] | permissive | wangjiaqingll/UMICH-Physical-Design-Tools | e9e26977554e585e181be6394f6b2428ac9105d1 | fa0d990fc9def762e3a2843707a7d8a4784d2f8b | refs/heads/master | 2022-11-13T11:05:36.106620 | 2020-07-13T06:35:26 | 2020-07-13T06:35:26 | 277,409,848 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,044 | cxx | /**************************************************************************
***
*** Copyright (c) 1995-1997 by ABKGroup, UCLA VLSI CAD Laboratory,
*** UCLA Computer Science Department, Los Angeles, CA 90095-1596 USA,
*** and by the Regents of the University of California.
*** All rights reserved.
***
*** ... | [
"wangjiaqing.ll@qq.com"
] | wangjiaqing.ll@qq.com |
933a7219d608e6dbdc6bf0768f86a0cb48950cf6 | dbcae57ecc5f8d1f7ad2552465834da2784edd3f | /HDU/hdu_3524.cpp | a7433e3a39c5b8fdd94db5b98edce72f31d0e30d | [] | no_license | AmazingCaddy/acm-codelab | 13ccb2daa249f8df695fac5b7890e3f17bb40bf5 | e22d732d468b748ff12885aed623ea3538058c68 | refs/heads/master | 2021-01-23T02:53:50.313479 | 2014-09-29T14:11:12 | 2014-09-29T14:11:12 | 14,780,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | #include <stdio.h>
#include <iostream>
#include <map>
#include <queue>
#include <complex>
#include <algorithm>
#include <cmath>
#include <set>
using namespace std;
const int mod = 10007;
const int maxn = 3;
void matrix_mul( int a[][maxn], int b[][maxn] )
{
int c[maxn][maxn];
memset( c, 0, sizeof( c ) ... | [
"ecnuwbwang@gmail.com"
] | ecnuwbwang@gmail.com |
bef5ef69287785f1dd29e248602330e4a5cac0f1 | 5a02eac79d5b8590a88209dcc6cd5741323bb5de | /PAT/第一轮/第九章_树/二叉查找树/A1064/用sort/main.cpp | 747879a761485da0f7edd0e6dfeb62d82ddb994f | [] | no_license | qiatongxueshaonianC/CaiZebin-Code_warehouse | ddac8252afb207d9580856cfbb7e14f868432716 | 25e1f32c7d86d81327a0d9f08cd7462209e9fec2 | refs/heads/master | 2023-03-20T03:36:49.088871 | 2021-03-16T15:40:11 | 2021-03-16T15:40:11 | 348,395,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn=1010;
int n,x,v;
vector<int> in;
void create(int s,vector<int>& Tree){
if(s>n) return;
create(2*s,Tree);
Tree[s]=in[x++];
create(2*s+1,Tree);
}
int main() {
scanf("%d",&n);
vector<int> Tree(n+1);
for(int i=0;i<n;i++){
cin>>v;
in.push_back(v);
}
... | [
"997018583@qq.com"
] | 997018583@qq.com |
c2ee409ffe16aabfd9541d43678b7eecc674a02e | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/Engine/Rendering/I_SceneServiceFactory.hpp | 7d32479e4058046b7cf4b52c1501336ed3a74c68 | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | hpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Zen Game Engine Framework
//
// Copyright (C) 2001 - 2009 Tony Richards
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arisi... | [
"mgray@wintermute"
] | mgray@wintermute |
27ba45cc13b1ccce63df563814965adc515560f2 | 6de292ca2364e7edae55797171a1d01381015124 | /Code/server/GameServer/Stdafx.cpp | d517da13bedb9e43260fa0b94a6d762b91bdcdd8 | [] | no_license | lixufeng2014/Work2016 | 840ed88cc18eb7fda4e45debccdd4ec2548bec36 | 7753e19b60f47813a6c5d3f8ea4e6925a534b568 | refs/heads/master | 2020-05-30T01:36:04.318674 | 2016-11-24T09:51:22 | 2016-11-24T09:51:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 161 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// GameServer.pch 将是预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"sxd616616@163.com"
] | sxd616616@163.com |
cbe5681b00b12ce7477e2ffba73da6bad2990009 | a06d2f37314a37b6038d46f8deda98b2af2530a2 | /OpenGL/Gráficas/clase13_020318/math3d.cpp | d8add29f51713862cc7f89f59524c176ed915476 | [] | no_license | CarlosAlberto1x9/code | 40bea88605b543b98c8b58bdaafca008159c9ccd | c5161356d2bc868f0b22f5ba0e7f330fc5a6e2d7 | refs/heads/master | 2023-02-01T05:13:57.878134 | 2020-12-17T03:54:28 | 2020-12-17T03:54:28 | 171,583,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,425 | cpp | // ver 1.3
#include <cstdio>
#include <cmath>
#include <GL/glew.h>
#include <limits.h>
#include "math3d.h"
Vector3 operator+(const Vector3& left, const Vector3& right)
{
return { left.x + right.x, left.y + right.y, left.z + right.z };
}
Vector3 operator-(const Vector3& left, const Vector3& right)... | [
"starlightone@outlook.com"
] | starlightone@outlook.com |
8bca79dac68bd219ce18db56ccf2afc1d8d3c769 | c5069250de5e4c6872fe2b3337e8a2f57bd003c2 | /smartPlant/smartPlant.ino | 8e5b29f02e1df9cfb19903bf6d0e813c341fe8b5 | [] | no_license | fbsouto/smartplant_arduino | a905e5e20705034a8c50f40ed3f6994d3949b6ee | 491f11952eb11116a85e444c124583377f09ebe1 | refs/heads/master | 2022-04-22T16:20:42.451047 | 2020-04-24T13:45:18 | 2020-04-24T13:45:18 | 258,523,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,226 | ino | #include <ESP8266WebServer.h>
#include <ESP8266HTTPClient.h>
#include <ESP8266WiFi.h>
#include <ArduinoJson.h>
#include "DHT.h"
#define DHTPIN D5 // pino que estamos conectado
#define DHTTYPE DHT11 // DHT 11
const char* wifiName = "NOME DA SUA REDE";
const char* wifiPass = "SENHA DA SUA REDE";
DHT dht(DHTPIN, DHTT... | [
"lipeweb@gmail.com"
] | lipeweb@gmail.com |
81698f5e393404ece43d8da68afa61adb31a72ce | 216571a4b9b38186caa999e998bc2aa2af9fc87e | /Chapter6/SmallWindows/Controls/TextField.cpp | f6fa67a493e3ef3c6bcb24bbdc6f4203d1edbcee | [
"MIT"
] | permissive | PacktPublishing/Cpp-Windows-Programming | aef095a49befbdef4413eedf42e9e64f829048ba | b2b6e045c14f013f0a4e4c125576bddc0dd534f9 | refs/heads/master | 2023-02-07T09:05:48.707176 | 2023-01-30T09:44:48 | 2023-01-30T09:44:48 | 67,117,460 | 49 | 37 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cpp | #include "..\\SmallWindows.h" | [
"pratishs@packtpub.com"
] | pratishs@packtpub.com |
db1bf2a44b435d5458e5a95dcb05274502e2c822 | 7cae1c305526388f255281f432b371a0405b544a | /Source/PluginSandbox/PluginSandboxGameMode.cpp | 2389b59432f197bc3d362c46e2043fdd69f0716d | [
"MIT"
] | permissive | piandpower/UE4-DynamicValuePlugin | 51a0aa81cb5653f74e81c729abcdb25df5e202e2 | 087c08227ef93ecd5494ad2189165749f977411b | refs/heads/master | 2020-11-30T01:45:00.463881 | 2016-03-06T06:50:48 | 2016-03-06T06:50:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PluginSandbox.h"
#include "PluginSandboxGameMode.h"
| [
"l.luo-pi@outlook.com"
] | l.luo-pi@outlook.com |
9c15312ca982bf3fcbdd69b94bebb00af675d380 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/skia/src/gpu/GrXferProcessor.cpp | 359dfb0c4a89be9a1bfb84f1c264960df8582329 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 6,803 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrXferProcessor.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrPipeline.h"
GrXferProcessor::GrXferProcessor(ClassID classID)
: INHERITED(classI... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
189e5681146c2625ae57c221be1fcc5a00d1a21d | 056e018ed98a151276cb7464c098d2a0d89bd418 | /contestants/winterfell/Winterfell2/Source/SearchIterator.cpp | 7026ce3de83534300221973f5f5b40f0b333ae9f | [] | no_license | lyysdy/challenge1 | 5c7d5a829dc94aa200e5d311fcbabd73606db5ec | deea5c606cbc7188e3e665a78033a3b553e6f4e8 | refs/heads/master | 2021-01-24T01:51:53.490192 | 2015-02-16T17:23:47 | 2015-02-16T17:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | cpp | #include "SearchIterator.h"
#include "IteratorContext.h"
SearchIterator::SearchIterator(KdTree<Axis_X>* inTree)
: mXTree(inTree)
, mAxis(Axis_X)
, mSelectedValue(-1)
, mIndex(0)
, mState(EStart)
{
}
SearchIterator::SearchIterator(KdTree<Axis_Y>* inTree)
: mYTree(inTree)
, mAxis(Axis_Y)
, mS... | [
"andras@churchillnavigation.com"
] | andras@churchillnavigation.com |
ac7c64e64f99ad6e5bda42bc1ff438b1670dbe61 | dd356bf8f2cd1a683c2b00a0669022a744d36224 | /MyProject/Source/MyProject/BishopActor.h | b865721a260f2f842d38fb5e2931e6cc9feb2798 | [
"MIT"
] | permissive | chrisdcao/4P_Network_Chess_Unreal_Engine | a1a661e28b0509c86a616d635b76603f3c92802f | c9fa92726aab652270b497f85db3ff4b7ae712f6 | refs/heads/master | 2023-07-29T18:39:11.505489 | 2021-09-11T08:19:59 | 2021-09-11T08:19:59 | 398,538,499 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "ParentActor.h"
#include "GameFramework/Actor.h"
#include "BishopActor.generated.h"
UCLASS()
class MYPROJECT_API ABishopActor : public AParentActor
{
GENERATED_BODY()
public:
// Sets de... | [
"khanhcao96@gmail.com"
] | khanhcao96@gmail.com |
d4073b9613990b144aa1ff52b29e450623732386 | 694784027301bbb09a7df6efa9a2ca2c246257f7 | /queue/unsafe_double_queue.hpp | f12e16ee04ab2a2d3c9ba6427831001279a6a236 | [] | no_license | tyagi-iiitv/meld | 9043df2ee7b7b7bdbb586dd9b706689c3c7366f2 | 839f92e61dfc75f858ce0a1bc2012e93eea76ccd | refs/heads/dev | 2021-05-30T05:23:30.954050 | 2015-11-20T18:32:16 | 2015-11-20T18:32:16 | 108,871,387 | 1 | 0 | null | 2017-10-30T15:37:00 | 2017-10-30T15:36:58 | null | UTF-8 | C++ | false | false | 1,158 | hpp |
#ifndef QUEUE_UNSAFE_DOUBLE_QUEUE_HPP
#define QUEUE_UNSAFE_DOUBLE_QUEUE_HPP
#include "queue/intrusive_implementation.hpp"
namespace queue
{
template <class T>
class intrusive_unsafe_double_queue
{
private:
QUEUE_DEFINE_INTRUSIVE_DOUBLE_DATA();
QUEUE_DEFINE_INTRUSIVE_DOUBLE_OPS();
public:
QUEUE_DEFINE_IN... | [
"flaviocruz@gmail.com"
] | flaviocruz@gmail.com |
c1cc788dc07c0b0227bc88c68f7522fb068e69e9 | 2110da55b8d3cc18021133bedf6c0d7401785d97 | /C++/Chess/blackPlayer.h | 0543650491cb4528d854eb0c2cea3065a39bf5c0 | [] | no_license | itanev/UniversityHW | 009cb22148122e63d3545b0e89dde2396f149bf5 | 6497240a7d4cfe6fff82eb7961b290e58f4df135 | refs/heads/master | 2021-01-20T11:13:22.423833 | 2014-01-18T14:49:22 | 2014-01-18T14:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | #ifndef BLACK_PLAYER
#define BLACK_PLAYER
class BlackPlayer : public virtual Player, public virtual WhitePlayer
{
void getPosibleMovesPawn(int currRow, int currCol, Field& gameField)
{
if(currRow == 1 &&
!gameField.getFigure(currRow, currCol).moved)
{
field[currRow + 1][c... | [
"iliyan.tanev@gmail.com"
] | iliyan.tanev@gmail.com |
7a63f61cd29765dcebcf815b499723d447dd1591 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_ITM_BarGlass_Item_MacteraBrew_classes.hpp | c1ef1198354c34c17865f2e1d5af3973592dcdb1 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_ITM_BarGlass_Item_MacteraBrew_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
ef36349c8db17bd2cdeadf4b0ba7807d81e9c4ec | 58dd141ec87ab9db82024b05297e90575c342de9 | /ch7_DeepBlueX/飛機大戰/deepbule/deepbule/Classes/MyGame.h | 654589a47e3302c8c8db9a905bdedf3c21910ee8 | [] | no_license | yehnan/cocos2d-x_mobile_games | 7a3fa7bf6b912c27cadd21280bd80eecb725f88e | ce631310cceb606cc65e576e104ee8671c811f82 | refs/heads/master | 2016-09-06T00:42:21.016013 | 2014-06-06T11:22:12 | 2014-06-06T11:22:12 | 20,561,048 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | h | //
// MyGame.h
// deepblue
//
// Created by 沈 shen on 13-10-28.
//
//
#ifndef __deepblue__MyGame__
#define __deepblue__MyGame__
#include <iostream>
#include "cocos2d.h"
#include "JH_GameBase.h"
class JH_GameBase;
//遊戲狀態
enum Gstate{
JH_GAMESTATE_MENU = 1,//遊戲選單
JH_GAMESTATE_PLAY = 2,//遊戲狀態
JH_GAMESTA... | [
"yehnan174@gmail.com"
] | yehnan174@gmail.com |
16a53902e75935c4513b482255d0644101b78a63 | 69fe376f63cf4347bbda41d69c2d2964e53188d5 | /FlooringManagerGUI/SetSubContractor.h | 07679352363778036d0d5e2daf9080b8703cfd87 | [
"Apache-2.0"
] | permissive | radtek/IMClassic | d71875ecb7fcff65383fe56c8512d060ca09c099 | 419721dacda467f796842c1a43a3bb90467f82fc | refs/heads/master | 2020-05-29T14:05:56.423961 | 2018-01-06T14:43:17 | 2018-01-06T14:43:17 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,247 | h | /*----------------------------------------------------------------------
Copyright © 2001-2010 JRS Technology, Inc.
-----------------------------------------------------------------------*/
#if !defined(AFX_SETSUBCONTRACTOR_H__45288DBD_2F07_4FED_ABE5_43EF32FF31CA__INCLUDED_)
#define AFX_SETSUBCONTRACTOR_H__45288... | [
"robert.raboud@outlook.com"
] | robert.raboud@outlook.com |
2c2207bf202e40e33410075a81f82e7e7d79e7ad | 61ab9095ebebe7378f351b02c51ce5b2a72827b6 | /Examples/Source/ROSBridgeTest/ROSAddTwoIntsClient.h | 88ebfe756ac80becc81762ed4444d78c69ed1d83 | [
"BSD-3-Clause"
] | permissive | gnoliyil/UROSBridge | f7aaed93c5990bcdd9eeaeafa2f24eaea842e7d3 | 2355f09acf2d361a7a3e882ba86db1e8c6499fa0 | refs/heads/master | 2021-01-15T16:41:41.325383 | 2017-08-25T21:54:25 | 2017-08-25T21:54:25 | 99,717,402 | 0 | 1 | null | 2017-08-15T15:47:18 | 2017-08-08T17:10:31 | C++ | UTF-8 | C++ | false | false | 890 | h | #pragma once
#include "ROSBridgeSrvClient.h"
#include "tutorial_srvs/AddTwoInts.h"
class FROSAddTwoIntsClient final : public FROSBridgeSrvClient
{
public:
FROSAddTwoIntsClient(FString Name):
FROSBridgeSrvClient(Name, TEXT("beginner_tutorials/AddTwoInts"))
{
}
void CallBack(TSharedPtr<FROSBri... | [
"gnoliyil@pku.edu.cn"
] | gnoliyil@pku.edu.cn |
24d5c0450b24209c3442469040accd0c25bfae4c | 1766a5640e34c1073e943f7a223cd0c3a994c4db | /widget/framelesswidget/framelesscore/framelessmainwindow.h | a069705ef3af5d85243b38658ce2af687f4eb16e | [
"LicenseRef-scancode-mulanpsl-1.0-en",
"MulanPSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | feiyangqingyun/QWidgetDemo | 0c6ca8ee5b048dab50795270e91676f526c4bd74 | 9af16093a20ed140c772d20fb7c5691848534e4e | refs/heads/master | 2023-09-01T22:17:05.797092 | 2023-08-17T02:28:48 | 2023-08-17T02:28:48 | 212,790,745 | 4,856 | 1,440 | NOASSERTION | 2023-07-09T08:50:30 | 2019-10-04T10:34:00 | C++ | UTF-8 | C++ | false | false | 2,888 | h | #ifndef FRAMELESSMAINWINDOW_H
#define FRAMELESSMAINWINDOW_H
/**
* 无边框窗体类 作者:feiyangqingyun(QQ:517216493) 2021-07-27
* 1. 同时支持Qt4-Qt6,亲测Qt4.7到Qt6.2。
* 2. 同时支持mingw、msvc、gcc等。
* 3. 同时支持windows、linux、mac。
* 4. 同时支持QMainWindow、QWidget、QDialog。
* 5. 使用方法极其简单,只需要将继承类修改即可。
* 6. 自动识别双击标题栏响应。
* 7. 无边框拉伸在windows下不抖动。
... | [
"feiyangqingyun@163.com"
] | feiyangqingyun@163.com |
b90e2b320610a34e67bc03564f9d94d47d85107e | 92e1ef963cf1540850ec29f4ba306a77e3869fa1 | /BackEnd/include/LexException.h | 2ccb395b0967e25921a9a7d27da5f5993b2dfa0e | [] | no_license | Asg1162/online-matlab | ef2da54b9cd85c00c7df6647bcc320d8102672d4 | 49ee1c040bceba61d597e8a2faafff8361251953 | refs/heads/master | 2016-09-13T12:05:55.057077 | 2010-05-05T17:46:53 | 2010-05-05T17:46:53 | 56,761,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #pragma once
#include "ParseException.h"
namespace ONLINE_MATLAB{
using namespace std;
class LexException : public ParseException{
public:
explicit LexException(const string &r)
:ParseException(r)
{}
private:
};
} // namespace
| [
"zhang.yongpeng@43d2037e-e363-11de-8ee0-a52971d33838"
] | zhang.yongpeng@43d2037e-e363-11de-8ee0-a52971d33838 |
85b9cacf4d498a3a53e1c96f2e1a7e1a74689253 | 8a46c8b1ed8b14789e66fe862b2210da2478f7a5 | /190311baekjoon/14888.cpp | 030f61f78d3ac014fa325dfb7175a5b2c8209e80 | [] | no_license | peter9378/algorithm_study | 627b4c817f9a0c70b94920708548844c6dbcff92 | ff4eedf8a693d00d62414fb41dc8c4d2cd7e42af | refs/heads/master | 2021-12-23T13:03:20.295990 | 2021-10-13T14:44:55 | 2021-10-13T14:44:55 | 125,086,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | /**
* baekjoon online judge
* No. 14888 연산자 끼워넣기
* @author peter9378
* @date 2019.03.11
*/
#include <iostream>
#include <algorithm>
using namespace std;
int arr[15];
int N, max_answer = -1000000000, min_answer = 1000000000;
// dfs
void dfs(int pl, int mi, int mu, int di, int count, int sum)
{
if (count == N)
{
... | [
"peter9378@naver.com"
] | peter9378@naver.com |
3bf7c64f6d4eed2b684f241a01d5405f97724a41 | 51e6db6d73d47640f416d4540fd940a6fd22b1e9 | /hdu/CCF选拔/B/B.cpp | 7372cb1ac94c2be94e257167572c38e960cab0b8 | [] | no_license | FallingPetals/HDU | 293163324801efd3e1ad7f305d78c7190eb9ae4c | c7f14417900777db0ff184529d042828b6bc1e80 | refs/heads/master | 2020-07-23T07:35:24.303902 | 2019-11-01T03:40:04 | 2019-11-01T03:40:04 | 207,487,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | using namespace std;
#include<iostream>
#include<algorithm>
int main()
{
int n;
while(cin>>n)
{
//int *a=new int[n];
int a[1000];
int i;
for(i=0;i<n;i++)
{
cin>>a[i];
}
sort(a,a+n);
if(n==1)
{
cout<<a[0]<<endl;
continue;
}
else if(n==2)
{
if(a[0]==a[1])
{
cout<<a[0]<<en... | [
"2404612773@qq.com"
] | 2404612773@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.