blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c44798aec674643548f978bab674534cfde98036 | 7956e58b06832c449e6af7baafe45334fecc7737 | /include/alu.hpp | a506a795f3ffb95c0d7a7ea79ae8e52ff13516c5 | [] | no_license | Miliox/gg | 61ac570a07fb7c46491645b35ae8cb4edf734a57 | 690b0b847f2a7575cd05641d45d8491f98afd406 | refs/heads/master | 2020-03-19T00:35:23.938071 | 2018-06-11T18:08:32 | 2018-06-11T18:08:32 | 135,491,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | hpp | /*
* apu.h
* Copyright (C) 2018 Emiliano Firmino <emiliano.firmino@gmail.com>
*
* Distributed under terms of the MIT license.
*/
#ifndef ALU_H
#define ALU_H
#include "common.h"
namespace alu {
// flags
extern const u8 kFZ; // Flag Zero
extern const u8 kFN; // Flag Negative
extern const u8 kFH; // Flag Half Car... | [
"emiliano.firmino@gmail.com"
] | emiliano.firmino@gmail.com |
b19e93faabaaa785b6423c1c4ace570919d609f8 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /v8/src/inspector/search-util.cc | a6fba06c115b724f3c74cb00a2df80ac2a4d7d3f | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | 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 | 5,539 | cc | // Copyright 2016 the V8 project 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 "src/inspector/search-util.h"
#include "src/inspector/protocol/Protocol.h"
#include "src/inspector/v8-inspector-impl.h"
#include "src/inspecto... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
5c7d239972dbff29dbbca87b82909a12ab8b9895 | fd0763a79bb0b473290fabca8c81ac9b1e489edc | /clover-master/神舟/神舟战神Z7DP1+i7+HD530/CLOVER/kexts/Other/Lilu.kext/Contents/Resources/Headers/kern_patcher.hpp | 684981bc0ac58af588a021b9e19e4ae8d4b02121 | [
"CC-BY-4.0"
] | permissive | leoheng/win_to_mac | 05b2d6ead1e8fb6c9916e5efdc161c788877e68c | a9f841636d55d006a0280b507a6524f4fe5381e1 | refs/heads/master | 2020-04-09T05:23:22.237000 | 2018-12-25T15:30:56 | 2018-12-25T15:30:56 | 160,062,384 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,724 | hpp | //
// kern_patcher.hpp
// Lilu
//
// Copyright © 2016-2017 vit9696. All rights reserved.
//
#ifndef kern_patcher_hpp
#define kern_patcher_hpp
#include <Headers/kern_config.hpp>
#include <Headers/kern_util.hpp>
#include <Headers/kern_mach.hpp>
#include <Headers/kern_disasm.hpp>
#include <mach/mach_types.h>
namesp... | [
"739493367@qq.com"
] | 739493367@qq.com |
1b0bd2b3748dfc5780cfe3842ec4d2acf152f3b2 | aff83fe12ab65a91f15949d22b604eb6a061e82f | /Graph Theory/Telephone Lines/main.cpp | 0972bc9f2e8dfad75cb1acc2a540ae5b1653df61 | [] | no_license | RayLee234/Competitive-Programming-Stuff | e08f0c4f5fe5ecc8b1fb526dac786103cea1875d | 716a9b43095acc979f9e8c9507ee72d3dc19c01f | refs/heads/main | 2023-01-30T00:16:25.458041 | 2020-12-12T20:03:30 | 2020-12-12T20:03:30 | 320,911,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,624 | cpp | //
// main.cpp
// Telephone Lines POJ3662
//
// Created by Ruining Li on 2020/8/8.
// Copyright © 2020 Ruining Li. All rights reserved.
//
#include <iostream>
#include <vector>
#include <cstring>
#include <cstdio>
#include <queue>
using namespace std;
int n, p, k, u[10010], v[10010], len[10010], f[10010], ans = 1e... | [
"noreply@github.com"
] | noreply@github.com |
9da193da74e57158eb89787cd0a632d3abf6de38 | fe3d7da03dad0238c90274283b39d0a72fa6d7f6 | /DirectShowFilters/MPAudioRenderer/AE_mixer/AERemap.cpp | 9a82e2b0d210da70a14e4a62ec4b2393adf824a7 | [] | no_license | morpheusxx/MediaPortal-1 | d39f55ea833f2e236d409698f46c1e2c7f8c8b54 | 91418996e35b76f08b5885246a84f131fff0c731 | refs/heads/EXP-TVE3.5-MP1-MP2 | 2023-08-03T12:07:08.853789 | 2014-07-20T08:48:57 | 2014-07-20T08:48:57 | 11,057,754 | 1 | 4 | null | 2023-06-04T11:10:11 | 2013-06-29T19:00:10 | C# | UTF-8 | C++ | false | false | 12,809 | cpp | /*
* Copyright (C) 2010-2012 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... | [
"tourettes@team-mediaportal.com"
] | tourettes@team-mediaportal.com |
5bfe0a663e0c33f1045290fc8aec9530cad4b5cb | 486a97774ceb820c640ab3cf97b157087c4f2fbf | /Practica 5/nodered.ino | feb438745d716e3782cca51111e6f4bc9a1cd292 | [] | no_license | jdelrio810/Internet-of-Things | 8789151141f64e35d69bc13f620f47c0a051530f | 9e4ec1a7658ed7ac9a210cdebbcd1a9c6810442b | refs/heads/master | 2022-04-16T03:36:00.080792 | 2019-11-18T01:22:50 | 2019-11-18T01:22:50 | 170,059,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,966 | ino |
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include "DHT.h"
// Uncomment one of the lines bellow for whatever DHT sensor type you're using!
#define DHTTYPE DHT22 // DHT 11
const char* ssid = "**********";
const char* password = "***********";
// Change the variable to your Raspberry Pi IP address, so it c... | [
"noreply@github.com"
] | noreply@github.com |
08269f53f7518446207ce0db320179b7306e007e | 1d60f9d6edc4e5c97896738f106f93f5d71ab872 | /Space shooter/Enemy.h | 8dee92a0abf1cf01e42eb08f43497afa6910da47 | [] | no_license | JoanaFAMendes/Space-Shooter | 3815bfc1697d6817a2a6d4c8b69fedc5d6a2da76 | 4d0b7e3bce5ea7be3ab628fae4106d4313e2cd9a | refs/heads/main | 2022-12-28T11:12:06.714256 | 2020-10-02T22:28:18 | 2020-10-02T22:28:18 | 300,714,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | #ifndef SPACE_SHOOTER_ENEMY
#define SPACE_SHOOTER_ENEMY
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <iostream>
class Enemy
{
private:
sf::Sprite shape;
float speed;
int hp;
int hpMax;
int damage;
int points;
//Private functions
void initVariables();
public:
//Constructors and destruct... | [
"1190104@isep.ipp.pt"
] | 1190104@isep.ipp.pt |
1b919eb37e43c556a4fbc4568e053f9dfa876f5c | 77ff0d5fe2ec8057f465a3dd874d36c31e20b889 | /problems/JOI/Icicles.cpp | 3a7e769f08a2bbcf58676bc73c20fd6849e6a57c | [] | no_license | kei1107/algorithm | cc4ff5fe6bc52ccb037966fae5af00c789b217cc | ddf5911d6678d8b110d42957f15852bcd8fef30c | refs/heads/master | 2021-11-23T08:34:48.672024 | 2021-11-06T13:33:29 | 2021-11-06T13:33:29 | 105,986,370 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | cpp | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define INF 1<<30
#define LINF 1LL<<60
/*
<url:https://www.ioi-jp.org/joi/2009/2010-ho-prob_and_sol/2010-ho.pdf>
問題文============================================================
あるN(2<=N<=10^5)個の... | [
"clavis1107@gmail.com"
] | clavis1107@gmail.com |
218f5b663bbe8a76eff436d9cdcaf8678003e023 | d425cf21f2066a0cce2d6e804bf3efbf6dd00c00 | /Tactical/XML_EnemyItemChoice.cpp | ef2331f40fceb091d4ba797af11a1af0c38fc3f7 | [] | no_license | infernuslord/ja2 | d5ac783931044e9b9311fc61629eb671f376d064 | 91f88d470e48e60ebfdb584c23cc9814f620ccee | refs/heads/master | 2021-01-02T23:07:58.941216 | 2011-10-18T09:22:53 | 2011-10-18T09:22:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,653 | cpp | #ifdef PRECOMPILEDHEADERS
#include "Tactical All.h"
#else
#include "sgp.h"
#include "overhead.h"
#include "weapons.h"
#include "Debug Control.h"
#include "expat.h"
#include "XML.h"
#include "Inventory Choosing.h"
#endif
struct
{
PARSE_STAGE curElement;
CHAR8 szCharData[MAX_CHAR_DATA_LENGTH+... | [
"jazz_ja@b41f55df-6250-4c49-8e33-4aa727ad62a1"
] | jazz_ja@b41f55df-6250-4c49-8e33-4aa727ad62a1 |
ab01bc0e712fab70e24c05a2cbca7f8deaef5163 | ff0fd0571c5273bfd7980aafc85563824d5df820 | /outside_tools/atpack/Atmel.ATmega_DFP.1.5.362/avrasm/inc/m3209def.inc | beddc048cd502c6c843e58d200d6f896373c315f | [] | no_license | micahsoftdotexe/AITA | 33ad1682b9b3e7baaa38dbc2ca7f07f1b5c45bf3 | 366fc9815335d6fa986a1d55b2790ccf104e52a8 | refs/heads/main | 2023-04-26T00:12:48.938084 | 2021-06-01T00:31:49 | 2021-06-01T00:31:49 | 318,018,190 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234,927 | inc | ;***** THIS IS A MACHINE GENERATED FILE - DO NOT EDIT ********************
;*************************************************************************
;* A P P L I C A T I O N N O T E F O R T H E A V R F A M I L Y
;*
;* Number : AVR000
;* File Name : m3209def.inc
;* Title : Regi... | [
"58262074+micahsoftdotexe@users.noreply.github.com"
] | 58262074+micahsoftdotexe@users.noreply.github.com |
36c7101749d9141114b58c711f85d90892ad2d09 | 82f3274ac81f9a804e87af05b8d08bbad9ec022d | /materials/bilateralfilter.cpp | 57bb5e64ce4ec3eb34e6da417179e03cef8326c8 | [] | no_license | purvigoel/final224UIfinal | 2318b49035f9a58f8e9e4886c3d6176d0b949416 | a26b484597bd3015aac14fdffb89d59d63037edb | refs/heads/master | 2020-05-24T10:32:09.680746 | 2019-05-17T14:20:26 | 2019-05-17T14:20:26 | 187,229,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,054 | cpp | #include "bilateralfilter.h"
#include "imagereader.h"
#include <QColor>
#include <math.h>
#include <iostream>
BilateralFilter::BilateralFilter()
{
m_kernelRows = 5;
m_kernelCols = 5;
m_kernelRadius = int(floor(float(m_kernelRows) / 2));
std::cout << m_kernelRadius << std::endl;
// sigmac = 100.0f;
... | [
"purvi_goel@brown.edu"
] | purvi_goel@brown.edu |
c2ecf3ef4f877e1c11e175a1d2490905456e50b0 | 7e59fd6933090b3c02dd7fb815ca6b255f8625de | /codes/codeforces/codeforces_249/1.cpp | 6ca356d05cf0eef20ea30a32d4035cafea1efbc9 | [] | no_license | jitengoyal/coding | 83cc9b5ac1d1d3daad38aac85ad4a1dcd193fbb6 | 7d68654cdfa7e6c1712610dfe43afeffb5cd47a1 | refs/heads/master | 2020-07-05T08:23:29.441196 | 2014-09-03T23:02:30 | 2014-09-03T23:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include<stdio.h>
#include<iostream>
#include<stack>
#include<queue>
#include<vector>
#include<set>
#include<math.h>
#include<algorithm>
#include<string.h>
#include<map>
#include<list>
using namespace std;
#define S(n) scanf("%d",&n)
#define SS(s) scanf("%s",s)
#define PS(s) printf("%s\n",s)
#define P(n) printf("%d\n... | [
"jitengoyaljiten@gmail.com"
] | jitengoyaljiten@gmail.com |
a46a1af300504254558f0da7f0c25cbc53f0a47c | e34ee045bb718a08858b5e2fac080cf2707480eb | /QtOpenGL/src/moc_mainwindow.cpp | c4f952dc7330b919d5fa943226358c762ade71e8 | [] | no_license | imac2018/project | f70ac37fb8be92420f9e975cd6d6507fe77c418b | c5cf41e662a4f1f169a6452411f509d6ec84fa43 | refs/heads/master | 2021-01-11T01:04:48.479860 | 2017-03-19T14:38:23 | 2017-03-19T14:38:23 | 70,843,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,621 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"steeve.v91@gmail.com"
] | steeve.v91@gmail.com |
0c87a56191755195dcdfb5e7b0397c6357a2763b | 239a100f16caf3da8b9bc9ddd9f9da39d55a8583 | /Tropical/BTP_Thread.h | c3d75cac5efc4d47e1ff0afec0a4154cd7b7b7a5 | [
"MIT"
] | permissive | aleaugustoplus/Tropical | 2f22a0ad68cd2c5d36b867cba6590cf6c09e1345 | 328be8f74a4adff401c481b0b2b4efbc088204b6 | refs/heads/master | 2020-05-30T12:03:03.240394 | 2020-04-26T22:01:25 | 2020-04-26T22:01:25 | 23,448,157 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,606 | h | /*##################################################################
# Objeto Thread #
# Copyright©: #
# Tropical® Corp. #
#-----------------------------------------... | [
"aleugustoplus@gmail.com"
] | aleugustoplus@gmail.com |
f902446d696eeac3e833b5c8b1030576013b0d59 | 9114b9e17206300ecdf89a1f38d652940a8b2cc6 | /cpp/KalkCpp/Shape/Shape2D/Polygon/polygon.h | 49df956fecf5dfb367f1adcfba4b184b35f7844d | [
"MIT"
] | permissive | Diego30090/Kalk | 598a900e8d761a5e59bafc3b71ef8389fee6d9ee | e0d29a0f393913ca3334f2a4eca5eb0b439a92a9 | refs/heads/master | 2021-09-06T23:13:00.636261 | 2018-02-13T09:46:52 | 2018-02-13T09:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | h | #ifndef POLYGON_H
#define POLYGON_H
#include <vector>
#include <string.h>
#include "../../../Color/colorrgb.h"
#include "../shape2d.h"
class Polygon : public Shape2D
{
public:
/**
Constructor for Polygon with 3 params: points, Polygon's name and color
@param vp2d The vector of points for the Poly... | [
"frdefilippis@gmail.com"
] | frdefilippis@gmail.com |
e6ef8cf2657bd042eb60ec84c6a6b13e152ea882 | 1cfea07739622816c28b93e8bf65642952a18375 | /paddle/fluid/operators/lookup_table_v2_op.cc | 511f50a83d58292fa08fb603dc616dc7f7e5a626 | [
"Apache-2.0"
] | permissive | JepsonWong/Paddle | f069a71c51d78885d202e4fbd8369a648f4d5076 | 48a774c713b2d5bd6dc4cb71dd79a4006538367f | refs/heads/develop | 2020-06-18T07:11:27.241596 | 2019-10-18T16:54:24 | 2019-10-18T16:54:24 | 196,207,433 | 0 | 2 | Apache-2.0 | 2019-12-13T09:38:42 | 2019-07-10T13:09:20 | C++ | UTF-8 | C++ | false | false | 7,461 | cc | /* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | [
"noreply@github.com"
] | noreply@github.com |
7ecc7eec77e34f109192c658abedda53013d8b72 | b88d0ff291bd8ceb76a23505e3add5cae714d464 | /UIThreadDemo/UIThreadDemo.h | 6861fdb291ab2408810f35b7d6627b26117df3ef | [] | no_license | SharkBSJ/MFC_9.0_Study | fc7efbbc6244cc9aa125eff6426255c9d1c8d7cf | f3a0502876378051cc9d7e40fc72c3db4731aec7 | refs/heads/master | 2020-08-11T21:24:26.111458 | 2019-10-12T12:36:29 | 2019-10-12T12:36:29 | 214,628,517 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 659 | h |
// UIThreadDemo.h : UIThreadDemo 응용 프로그램에 대한 주 헤더 파일
//
#pragma once
#ifndef __AFXWIN_H__
#error "PCH에 대해 이 파일을 포함하기 전에 'stdafx.h'를 포함합니다."
#endif
#include "resource.h" // 주 기호입니다.
// CUIThreadDemoApp:
// 이 클래스의 구현에 대해서는 UIThreadDemo.cpp을 참조하십시오.
//
class CUIThreadDemoApp : public CWinApp
{
public:
CUIThr... | [
"baesungjin1996@gmail.com"
] | baesungjin1996@gmail.com |
ab7968b18a62dc50ae6f1f709f03ec6f461bb2a6 | 844190630c4b674abd8e4d82952d5093bb2574fa | /libDirectshowAbstracts/AbstractTransformInputPin.h | 1e2670187db561c45cf03e3db04bdda8b3f8525b | [] | no_license | bshock/Shouter-DirectShow-Filters | 32981bc99745c5553ac047eab5e97fd65388538f | 2432c21afa7c42ac5a65ea15160f7c0a7329e5c7 | refs/heads/master | 2021-01-23T08:38:30.093942 | 2016-01-28T04:50:50 | 2016-01-28T04:50:50 | 33,791,064 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,265 | h | //===========================================================================
//Copyright (C) 2003, 2004 Zentaro Kavanagh
//
//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 m... | [
"brianshock1@gmail.com"
] | brianshock1@gmail.com |
e3d2300d970450e6cee99eb0d6945feb43adf6d4 | e746ecb4123f9b13010246b8e20c32653a1c6d68 | /src/bvh.h | f8e8b8ceab50a5b771ab4ed543befcf8a6c24148 | [] | no_license | chenyxuan/mRTE | f0195b1b2fe99267e28a5700686bd72fdb7e2c80 | c8ff5f77adc6fff33188c8df3c7183203e4a7a5e | refs/heads/master | 2022-05-23T16:24:14.213629 | 2020-04-26T12:46:30 | 2020-04-26T12:46:30 | 258,800,550 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | h | #ifndef BVH_H
#define BVH_H
#include <cstdio>
#include <algorithm>
#include <cassert>
#include "aabb.h"
#include "ray.h"
#include "hitablelist.h"
class bvh_node : public hitable {
public:
hitable_list list;
bool is_leaf;
bvh_node *left;
bvh_node *right;
aabb box;
bvh_node() {}
bvh_node(hitable_list ... | [
"chenyxuan@sjtu.edu.cn"
] | chenyxuan@sjtu.edu.cn |
e51c7c6bb47d869d06a4c5471d693ae378ca6f12 | fc363ae5bd493763e0870f7005154d93e6f04b42 | /src/chrono_models/vehicle/man/MAN_10t.h | f444687f3500e6759b42011545d21600b5190ec8 | [
"BSD-3-Clause"
] | permissive | aluaces/chrono | 8a148c56c4421a2413fae910fbfa3ab99611286b | 675ff6c1105814973dd7f844bd19385d9760f90c | refs/heads/develop | 2021-12-04T08:15:38.891002 | 2021-11-20T16:43:59 | 2021-11-20T16:43:59 | 46,860,998 | 0 | 0 | null | 2015-11-25T12:43:23 | 2015-11-25T12:43:23 | null | UTF-8 | C++ | false | false | 4,815 | h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | [
"serban@wisc.edu"
] | serban@wisc.edu |
882d6228454055fe0bc3e534c037372802f0bfb8 | 27046ecc4b9a8e8d15890691f552440957d25fb6 | /Classes/objs/Towers.cpp | b39939485e8c3c0d457dfe80a0fd80c2609afa7a | [] | no_license | pototao/DefenseTest | def94db1960f2618b5bc2439df5b67148c91180b | 289406d1e9e63fc47ca71593751ce213cb56de78 | refs/heads/master | 2021-01-18T14:10:26.311985 | 2013-05-15T02:09:47 | 2013-05-15T02:09:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | cpp | #include "Towers.h"
#include "Creeps.h"
#include "objs/Bullet.h"
#include "cgw/DataModel.h"
#include "data/Consts.h"
#include "data/Info.h"
#include "data/GameData.h"
USING_NS_CC;
Towers::Towers(){}
Towers::~Towers(){}
void Towers::checkTarget() {
// if(_target){
double curDistance = ccpDistance(getPosition(), _ta... | [
"classic2008olympic@163.com"
] | classic2008olympic@163.com |
1b4bb5a4f7236d3fda917f10759bc5122f98f7eb | 6923f79f1eaaba0ab28b25337ba6cb56be97d32d | /NumericalRecipes3/fred_singular.h | bbaafcf746d3fcbdc016ab1e8840662a25b88617 | [] | no_license | burakbayramli/books | 9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0 | 5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95 | refs/heads/master | 2023-08-17T05:31:08.885134 | 2023-08-14T10:05:37 | 2023-08-14T10:05:37 | 72,460,321 | 223 | 174 | null | 2022-10-24T12:15:06 | 2016-10-31T17:24:00 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,935 | h | template <class Q>
struct Wwghts {
Doub h;
Int n;
Q &quad;
VecDoub wghts;
Wwghts(Doub hh, Int nn, Q &q) : h(hh), n(nn), quad(q), wghts(n) {}
VecDoub weights()
{
Int k;
Doub fac;
Doub hi=1.0/h;
for (Int j=0;j<n;j++)
wghts[j]=0.0;
if (n >= 4) {
VecDoub wold(4),wnew(4),w(4);
wold=... | [
"bb@b.om"
] | bb@b.om |
f7b869a3fc4f5d1b7246c6657583168d27897ec7 | ac45b07ce1f5564e1ee5adef3fa2caefdbd34ebe | /testCode/Sensors/DeadReckoning/NavX.h | 2dd7a1cf11dadf85abcff63bb5aa0cc1e9cb084a | [
"MIT"
] | permissive | GOFIRST-Robotics/NASA-RMC-2018 | 2f8efd5f4a0f518fbb9bbe24c09b06b5aa69a4fc | b86b1a2f30b18c5ff87910d96f1cd3e83ddef0ee | refs/heads/master | 2021-09-27T04:22:50.748424 | 2018-05-16T20:35:37 | 2018-05-16T20:35:37 | 124,420,312 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,307 | h | #ifndef NAVX_H
#define NAVX_H
//NavX.h
//VERSION 1.0.0
/*
NavX is used to bring together the useful aspects of the AHRS library for NASA
RMC.
NOTE: NO functions use magnetometer functionality
*/
#include "AHRS.h"
// Define either MADGWICK or MAHONY as IMU filters
#define MADGWICK
class NavX {
public:
... | [
"andrewyantos@gmail.com"
] | andrewyantos@gmail.com |
f77b742acceedfd314493429f2bad4d92bd2acad | 1612ffcfac28627f66bccb13039a691ad0837442 | /src/conc/ObjPool.h | 81b14d3e68fe811678d1e443c8b52cf9a4ef72ef | [
"WTFPL"
] | permissive | EleonoreMizo/fmtconv | ec3d41aa2749efa6d74af21bccaab0c4536ad1ab | 3eec42f8aaf86f3327b9190c6b25a0c9eca22028 | refs/heads/master | 2023-02-12T00:50:43.187065 | 2023-01-28T20:01:00 | 2023-01-28T20:01:00 | 35,774,516 | 73 | 28 | WTFPL | 2023-01-28T19:56:30 | 2015-05-17T16:59:00 | C++ | UTF-8 | C++ | false | false | 3,023 | h | /*****************************************************************************
ObjPool.h
Author: Laurent de Soras, 2012
Thread-safe pool of recyclable objects.
The pool is constructed empty, new objects are created on request.
Don't forget to provide and link the pool to your object factory (so you ... | [
"fuck@fuck.fuck"
] | fuck@fuck.fuck |
c67083b838c640f0234d1270e8636464e7bb2469 | 7b4a0a266f8488f2b2596d95e6f5c985c8f232b9 | /18/11.18/03.11.18/1015E1.cpp | 7a55f562bf9c08d8d48910025c25412baa288cbc | [] | no_license | shishirkumar1996/cp | 811d8607d5f460fcec445db9af4853c550aee685 | e89cb840e5b3fd91be4b9402a6fdcb20bb3466c6 | refs/heads/master | 2020-03-10T11:06:17.696405 | 2019-01-04T07:12:45 | 2019-01-04T07:12:45 | 129,348,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,391 | cpp | #include<bits/stdc++.h>
#define lld long long int
#define faster ios_base::sync_with_stdio(false);cin.tie(0);
#define vs vector< string >
#define pr pair< int,int >
#define ppr pair< pr, int >
#define vp vector< ppr >
#define trace(x) cerr<<#x<<": "<<x<<'\n';
#define trace2(a,n) cerr<<#a<<": ";for(int i=0;i<n;i++)cerr<... | [
"shishirsharad@yahoo.com"
] | shishirsharad@yahoo.com |
d273272426303814246b1bf8fc5372adddb4e023 | 5705f6a02239ffb7aa53e138c479eb92292f7b11 | /src/coreclr/debug/createdump/threadinfo.cpp | 7304fc506c51e378f50c06e99611712d9e6a8da5 | [
"MIT"
] | permissive | YohDeadfall/runtime | efe7bbb2a3b1fc74ac7d398693bad2ef086d7c45 | a07188777ffa92adc8a00ca974bd1c63156d19f1 | refs/heads/main | 2022-11-06T01:23:50.134417 | 2022-10-14T19:48:13 | 2022-10-14T19:48:13 | 226,664,572 | 0 | 1 | MIT | 2023-09-10T00:14:20 | 2019-12-08T12:32:27 | C# | UTF-8 | C++ | false | false | 14,757 | cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "createdump.h"
#ifndef THUMB_CODE
#define THUMB_CODE 1
#endif
#ifndef __GLIBC__
typedef int __ptrace_request;
#endif
extern CrashInfo* g_crashInfo;
// Helper for UnwindN... | [
"noreply@github.com"
] | noreply@github.com |
d7714eeadd8ceb2ae01542c60907895668dc72b2 | e86aef11a649aef6c0ffe57281ba8b523696e239 | /licencjat/tango_brut.cpp | f8b92e9e5276f0881334f52667d92da9d55cb236 | [] | no_license | julia-majkowska/Rzeczy-na-uczelnie | 2269061d3464399a64da732189d6395248b3f5ec | 52cd14f4f36fd54c5ffa97c22fdfa96993b06595 | refs/heads/master | 2021-06-16T10:59:08.127734 | 2021-02-09T10:51:20 | 2021-02-09T10:51:20 | 152,290,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
set<long long> drzewo;
int n;
scanf("%d\n", &n);
while(n--){
long long a;
scanf("%lld", &a);
drzewo.insert(a);
}
int q;
scanf("%d\n", &q);
while(q--){
long long val;
scanf... | [
"julka1411@gmail.com"
] | julka1411@gmail.com |
57f42a0c3bbb177d389098d55b77f18bbe437a5d | d6acb6a6d811495a5d6283f81948aa722d243d55 | /APP_REPO/VERSION_C/21_reclock/main.cpp | 50cf14e87764f243a7b31f3763ddbda5b7035a90 | [] | no_license | song-peng/SDAccel | a6bea6672a100b23e70d85b071a4e1942b14da34 | b4c2c91d00083accbad0f8edac2e63259169adae | refs/heads/master | 2020-12-12T20:14:04.116468 | 2020-01-09T00:07:44 | 2020-01-09T00:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,987 | cpp | // Copyright (C) 2015-2016 Xilinx Inc.
// All rights reserved.
// Author: sonals
#include <getopt.h>
#include <iostream>
#include <stdexcept>
#include <time.h>
#include "xclUtils.h"
#include "xclHALProxy.h"
#if defined(DSA64)
#include "xmigbw_hw_64.h"
#else
#include "xmigbw_hw.h"
#endif
#define BLOCK_SIZE 0x800
#de... | [
"sakinder@live.com"
] | sakinder@live.com |
5ef1661b899825c1a69a571d61e9d99b6b8d8743 | f9a8447e848f2664d3f7efce70c6c9ea347d69f9 | /url_search/url_searchApp.h | c02aba9b5cd77e2c5d7e9b04245c9196f6cf0db7 | [] | no_license | mmirabent/EmbeddedGui | b27f03ee4f5a92da02f9512bcf496a383adb5121 | 26a385c3e4f056c5b5c5a1e2d3bff5e446a87a85 | refs/heads/master | 2020-04-16T01:24:11.232234 | 2016-04-28T17:12:17 | 2016-04-28T17:12:17 | 50,114,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | /***************************************************************
* Name: url_searchApp.h
* Purpose: Defines Application Class
* Author: Marcos Mirabent (mmira031@fiu.edu)
* Created: 2016-04-03
* Copyright: Marcos Mirabent ()
* License:
**************************************************************/
... | [
"marcos@mirabent.net"
] | marcos@mirabent.net |
49911efe31079d8896d85a217fa6fb8b8da69e52 | a15950e54e6775e6f7f7004bb90a5585405eade7 | /chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc | fa36234aa7bd5e796ec0f4cb0339be4162dfc72c | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 50,398 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/page_load_metrics/metrics_web_contents_observer.h"
#include <memory>
#include <vector>
#include "base/macros.h"
#include "base/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
efc3363ed4805278571065c2c297e7195fbaf2e0 | 48d5dbf4475448f5df6955f418d7c42468d2a165 | /SDK/SoT_BP_fod_Plentifin_05_AmberRaw_00_a_ItemDesc_parameters.hpp | 22e00d30cc4e3dbebdf99defe3196c5687fad87c | [] | no_license | Outshynd/SoT-SDK-1 | 80140ba84fe9f2cdfd9a402b868099df4e8b8619 | 8c827fd86a5a51f3d4b8ee34d1608aef5ac4bcc4 | refs/heads/master | 2022-11-21T04:35:29.362290 | 2020-07-10T14:50:55 | 2020-07-10T14:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | hpp | #pragma once
// Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_fod_Plentifin_05_AmberRaw_00_a_ItemDesc_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
3d1437c180b50b2e6ca4392c55ab7a918671bcdd | 96cf84a8024aaeb054504ff1e984d762ccfe719e | /10000-/13458.cpp | 65493d2cea9bbb8655ddabf7403e076a32449eb1 | [] | no_license | JuHyeon-Lee/BOJ | a2038a0afaa70fee399cb573d3a9eb198a7e59c2 | 045d01592df910af60354434d05ccf8cb19d5d38 | refs/heads/master | 2023-08-18T12:14:01.897810 | 2021-10-14T14:23:11 | 2021-10-14T14:23:11 | 278,236,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include <iostream>
using namespace std;
int N, B, C;
int cnt[1000000];
int main(){
scanf("%d", &N);
for(int i=0; i<N; i++){
scanf("%d", &cnt[i]);
}
scanf("%d%d", &B, &C);
long long sum = N;
for(int i=0; i<N; i++){
cnt[i] -= B;
if(cnt[i]>0){
sum += cnt[i]/C;
if(cnt[i]%C) sum += 1;
}
}
p... | [
"leon6095@gmail.com"
] | leon6095@gmail.com |
4081ebcd1e9c1bb394fe0d88a7d159a30d808dda | a7b670687a192cffcc9355691549478ff22d1fa3 | /frc-cpp-sim/crio/fpga/src/tSystemInterface.cpp | b8957d294fa6d9b7a3f869554e31457eecabee92 | [] | no_license | anidev/frc-simulator | f226d9af0bcb4fc25f33ad3a28dceb0fbadac109 | 3c60daa84acbabdcde5aa9de6935e1950b48e4c3 | refs/heads/master | 2020-12-24T17:35:21.255684 | 2014-02-04T04:45:21 | 2014-02-04T04:45:21 | 7,597,042 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) Anirudh B. (anidev) 2012. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in this directory. ... | [
"anidev.aelico@gmail.com"
] | anidev.aelico@gmail.com |
ae5d84bfdc3edd232c54957d7fa77b10b45c51ca | d7ca97a7458de339b94f7bed7a07433116562e0c | /Smart Greenhouse GUI & Code/Back Ups/Back Up (03062019)/Smart Habitat/Smart Habitat v1.0 Alpha/Smart Habitat v1.0 Alpha/Header.ino | b610d473d4e026913ca649afccd46e51de0f36c7 | [] | no_license | FJBarranco/Smart_Habitat | 8fbb336147dba0fd5c794569b5803faa44269735 | 6819dec222d7551cc31f2b1f421988c35838343a | refs/heads/master | 2022-03-26T07:26:11.358343 | 2019-12-28T00:44:24 | 2019-12-28T00:44:24 | 230,538,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,451 | ino | //================================================= Header ============================================================================================================
#include <SimpleDHT.h> // Air Temp & Humid
#include <OneWire.h> // Soil Temp
#include <DallasTemperature.h> // Soil Temp
//=====================Se... | [
"33739266+ferni305@users.noreply.github.com"
] | 33739266+ferni305@users.noreply.github.com |
d61344beb4c6e6cebead0d179781f8cb22796f57 | e69392ba8ee7ad42517f81711499f6c99c51691f | /WiFiWebServer/WiFiWebServer.ino | 153957a332ca332480d56d8916afad49133d2d51 | [] | no_license | sendy452/Arduino | 123f32ae220cf1bfdf078cb163d5b5d351891785 | 436cca468aeeb9327f3981b2c4d1c752d6df4627 | refs/heads/master | 2023-08-31T07:07:12.552307 | 2023-08-26T16:36:00 | 2023-08-26T16:36:00 | 359,463,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | ino | /*
* This sketch demonstrates how to set up a simple HTTP-like server.
* The server will set a GPIO pin depending on the request
* http://server_ip/gpio/0 will set the GPIO2 low,
* http://server_ip/gpio/1 will set the GPIO2 high
* server_ip is the IP address of the ESP8266 module, will be
* printed to ... | [
"sendyivenyulian452@gmail.com"
] | sendyivenyulian452@gmail.com |
4a06873f7545a652f06629ba4b14017a33b8a0f9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/activec/conui/webctrl.h | 9b05832c1a0e172e9dee8bd5af304ee5603797f9 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 2,330 | h | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 1999
//
// File: webctrl.h
//
//--------------------------------------------------------------------------
// WebCtrl.h : header file
//
#ifndef ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
4d93c13bf8edb252bc41b8718fb3e20c094fbe2e | 31409d5f37f50e41b20ecab1f9d1c5355e8b43f5 | /ComputerGraphics-COMP175/Camera/Camera.cpp | 1ba333cf774e7c32f3731ffae439e5524500a659 | [] | no_license | HoltSpalding/OpenGL-WebGL | 8b7283e1a59422a6158a43ecaefb5eac928431e5 | d4df6f796c0b51a57667f03a1e1eabe42fa68a6c | refs/heads/master | 2021-06-16T18:53:49.304026 | 2021-02-08T16:30:06 | 2021-02-08T16:30:06 | 159,705,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,450 | cpp | #include "Camera.h"
#include <GL/glui.h>
Camera::Camera() {
}
Camera::~Camera() {
}
void Camera::Orient(Point& eye, Point& focus, Vector& up) {
eyePt = eye;
lookVec = focus - eye; //vector from eyepoint to focus point
upVec = up;
}
void Camera::Orient(Point& eye, Vector& look, Vector& up) {
ey... | [
"holt.spalding@tufts.edu"
] | holt.spalding@tufts.edu |
7dd52134f927aebbf78092a29fba95a9bc97a6b4 | 257de719a2108497d6a81126a3efea7c329f5f52 | /SMTrader/VtMarketManager.h | ff690e508e63438f8f77706baf84d50969496289 | [] | no_license | pieangel/SMTrader | 4cb54f5c255a12dd5461f70de47900ef4aaccb41 | 979185eca71575c722d04d66113e51e5dfd21c1c | refs/heads/master | 2020-04-20T04:34:43.009971 | 2020-02-06T01:29:44 | 2020-02-06T01:29:44 | 168,631,995 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include "Global/TemplateSingleton.h"
#include <string>
#include <map>
#include <vector>
#include <set>
#include "SmRunInfo.h"
#include "Xml/pugixml.hpp"
class SmMarket;
class SmProduct;
class VtSymbol;
class VtMarketManager : public TemplateSingleton<VtMarketManager>
{
public:
VtMarketManager();
~VtMar... | [
"pieangel@naver.com"
] | pieangel@naver.com |
9da39edd3a07c9e1b4a83445306a2b009509c301 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/ABP_MiniGame_SupportNPC_functions.cpp | de1aefb37eb09511be9718ae5d26620bf08e435d | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,340 | cpp |
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function ABP_MiniGame_... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
4dcfce2727e745d7c286c97939842cbbca1d7c5b | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Editor/UnrealEd/Private/Factories/CSVImportFactory.cpp | 6be58ee845f846104aed016843284f34c221d64c | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,821 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "UnrealEd.h"
#include "Mainframe.h"
#include "ModuleManager.h"
#include "DirectoryWatcherModule.h"
#include "../../../DataTableEditor/Public/IDataTableEditor.h"
DEFINE_LOG_CATEGORY(LogCSVImportFactory);
#define LOCTEXT_NAMESPACE "CSVImportFactory"... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
985a654c79c9b7c2a6f0973a2a85e4e83ce8eb6f | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/chrome/browser/safe_browsing/safe_browsing_test.cc | cad82627a22671b0288330a633cc8130d67fa330 | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 19,320 | 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.
//
// This test uses the safebrowsing test server published at
// http://code.google.com/p/google-safe-browsing/ to test the safebrowsing
// protocol i... | [
"rjogrady@google.com"
] | rjogrady@google.com |
dd9590696bcbbe32541bb5aad98246b33c48e3db | b2b9e4d616a6d1909f845e15b6eaa878faa9605a | /POJ/poj3619.cpp | 4706c27e63ac33f1798b5a83b939c7611dc4c549 | [] | no_license | JinbaoWeb/ACM | db2a852816d2f4e395086b2b7f2fdebbb4b56837 | 021b0c8d9c96c1bc6e10374ea98d0706d7b509e1 | refs/heads/master | 2021-01-18T22:32:50.894840 | 2016-06-14T07:07:51 | 2016-06-14T07:07:51 | 55,882,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include <iostream>
using namespace std;
int main(){
int n,k,s,t,r;
cin>>n>>k;
for (int i=0;i<k;i++){
cin>>s>>t>>r;
int page=n;
int time=0;
while (page>s*t){
time=time+t+r;
page-=s*t;
}
time+=page/s;
if (page%s)
time++;
cout<<time<<endl;
}
return 0;
} | [
"jinbaosite@yeah.net"
] | jinbaosite@yeah.net |
deedbdfa157cda28663d5ecd24b3bc4a3c9ff81e | 983557eb9e806e16d193a0f50a9cd9f80bdfb964 | /sprout/functional/hash/hash.hpp | 28b8117751f899c87c9813a087ccf9cb2294049c | [
"BSL-1.0"
] | permissive | filthy-faith/Sprout | 0675e10ed784dfb9aa430e0837f7d13fbd932eea | 9b9956f81098d0c6296710452c7812af26fd48e6 | refs/heads/master | 2020-04-09T01:55:04.608298 | 2012-10-13T13:11:32 | 2012-10-13T13:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,953 | hpp | #ifndef SPROUT_FUNCTIONAL_HASH_HASH_HPP
#define SPROUT_FUNCTIONAL_HASH_HASH_HPP
#include <cstddef>
#include <limits>
#include <type_traits>
#include <sprout/config.hpp>
#include <sprout/iterator/operation.hpp>
#include <sprout/functional/hash/hash_fwd.hpp>
#include <sprout/type_traits/enabler_if.hpp>
names... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
f1c48aa5a38efd0fc664e8f1a17853cecf94c743 | 1b5dec0bd2eb8c7b5f1bbc6cc898a3f994e1360f | /ImageProcessor-QT-master-Desktop-version/main.cpp | e65142c0803ca464ad768a338135e41183faf14c | [] | no_license | yahia-elshahawy/Image-Processor | d937c692f9c045cd781beb24732aea642142c62c | 45ad6537003d618bc9f91ab2a1cd462c2d017931 | refs/heads/master | 2021-08-24T00:44:38.010115 | 2017-12-07T09:28:09 | 2017-12-07T09:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QGuiApplication::setApplicationDisplayName(MainWindow::tr("Photouston"));
MainWindow w;
w.show();
return a.exec();
}
| [
"noreply@github.com"
] | noreply@github.com |
a611114afa43ee324dc44129a3ec0f816d3a77e1 | f9deabc25c57196fb355ee18e708ff597e035ac8 | /oscsender.h | 0ee8bc4ac13294941b387bd5af8ac8f9b52881a3 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | mapmapteam/proto-qtoscpack | 7f464bee6c198e48dfa4da639ba5709a0abdafd6 | b3d8b075453b1884d5ca19622c82995b514c9b4b | refs/heads/master | 2021-01-20T04:36:55.944761 | 2020-02-12T03:35:59 | 2020-02-12T03:35:59 | 89,705,422 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | #ifndef OSCSENDER_H
#define OSCSENDER_H
#include <QObject>
#include <QVariant>
#include <QtNetwork>
#include <QHostAddress>
/**
* @brief Sends OSC messages to a given host and port.
*
* Currently only supports unicast UDP.
*/
class OscSender : public QObject
{
Q_OBJECT
// TODO: Add portNumber property (a... | [
"alexandre@quessy.net"
] | alexandre@quessy.net |
bbe60ae8d3c04153289d4b0832d38a05facd7d1d | 7eb3c9c9be98c9bb39e0edbc96c80dff194d0e46 | /src/jumpgame.cpp | 35b2aa19d92a1cb771ce176493afb10462dd009a | [] | no_license | zhounan354/wechat_jump | f6fe689d5ab5feffb0e03b66b2c3aeab2d384a5c | 6fa3c97ee0071b2c45a462284486782e584eaea5 | refs/heads/master | 2022-11-04T23:43:59.742856 | 2020-06-17T11:16:04 | 2020-06-17T11:16:04 | 116,106,905 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,680 | cpp | #include "jumpgame.h"
jumpgame::jumpgame(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
resize(QSize(300, 200));
QSize szMin(20, 20);
QSize szMid(60, 25);
ui.mainToolBar->setVisible(false);
setWindowIcon(QIcon(":/jumpgame/jump"));
setWindowTitle("jump");
m_layoutOption = new QVBoxLayout();
m_lay... | [
"zhounan18754@hs.handsome.com.cn"
] | zhounan18754@hs.handsome.com.cn |
b43284b71b3418809662f898ade57c361a4d857c | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/noesy_assign/PeakFileFormat_Sparky.hh | 3886fb59f8383c0aaa96ced6b00c6c58cbc8e53e | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,076 | 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... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
de3f53e9dc333caf6013a9e8534aaf78b909b75d | db1cce8ec15edfc4fe44022f7a51ce904616889b | /ElementAction.h | 9801ab3d6506f056e20a60e981d9536d9dbb12ad | [] | no_license | Virtual-Art/CustomGUI | 1cdc413d2b79408dab6698233bfda395297f28cc | ff55f3cdfd95eb608f1f8a243bfb1d4900e9a9b3 | refs/heads/main | 2023-05-05T00:14:07.407972 | 2021-06-01T02:25:26 | 2021-06-01T02:25:26 | 328,483,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #ifndef ElementACTION
#define ElementACTION
#define POSITION 1
#define SIZE 2
#define ROTATION 3
#define COLOR 4
#include <iostream>
#include "Action.h"
#include "Oscillation.h"
#include "Linear.h"
#include "Exponential.h"
#include "Logarithmic.h"
using namespace std;
// Input =< [4][4]
class Elem... | [
"noreply@github.com"
] | noreply@github.com |
7bc85ec0fe06b2ed5b717220996678f7f49bedfc | 117b4a10422aa664d0e781922e45e6ebc78b18e0 | /cpp/11279.cpp | 13ac039a24b1e99df7c23f7f24264d278b0a2728 | [] | no_license | shinjeongmin/Baekzoon-Online-judge | ba0284a6b78aeac7a32ce73e5895c22785574440 | cb5720bb317b7ea562abe2a9a9c699baf667b56b | refs/heads/master | 2023-02-23T13:54:36.514698 | 2023-02-08T10:36:00 | 2023-02-08T10:36:00 | 245,940,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include<iostream>
#include<vector>
#include<deque>
#include<queue>
#include <algorithm>
using namespace std;
int main() {
ios_base::sync_with_stdio;
cin.tie(0);
cout.tie(0);
priority_queue<int, vector<int>, less<int>> Max_heap;
int N;
cin >> N;
for (int i = 0; i < N; i++)
{
int x;
cin >> x;
if (x == 0... | [
"sin37minduke@naver.com"
] | sin37minduke@naver.com |
2db9416deb98576904cada845fd4d37fff5db5da | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/tools/gn/ninja_build_writer_unittest.cc | 955eb1c110ea0df331d40a789fee1b0eafe7d21c | [
"LGPL-2.0-or-later",
"MIT",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 5,024 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <sstream>
#include "testing/gtest/include/gtest/gtest.h"
#include "tools/gn/ninja_build_writer.h"
#include "tools/gn/pool.h"
#include "tools/gn/... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
7dc3757c7991a873d4b62fc7edf9c3803c922bbf | 03211386b21ce1abbb2b1d3369df344cdd2a8d14 | /Graph Algorithms/DFS/Connected Components and Flood Fill/003 UVA - 352 The Seasonal War.cpp | e0a3010839c2172f80583b9b4ef1a7f1609720ea | [] | no_license | bony2023/Competitive-Programming | a9e616957986ea09e6694ce3635eefd3e843a0d0 | d33d919658327048bfdef702efd7cb5eab013c33 | refs/heads/master | 2021-03-12T19:21:18.758167 | 2015-04-19T19:26:29 | 2015-04-19T19:26:29 | 22,675,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,192 | cpp | // Author : Bony Roopchandani
// 352 - The Seasonal War
// Connected Components/Flood Fill
#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<map>
#include<list>
#include<set>
#include<vector>
#include<queue>
#include<stack>
#include<string>
#include<algorithm>
using names... | [
"bonyroopchandani@gmail.com"
] | bonyroopchandani@gmail.com |
9438e70b4c193f5674f64daf4fd23ee5b83cd082 | 746704e3dc962a727b5d7f3a533c72f8121f6cdb | /src/example/00_verysimple.cc | 576473403c64aeab2a072a865a23b060ab9f53c0 | [] | no_license | neiser/APLCON | 2feb0258f17ed5fc0ed53f1e164c10f76c6742f0 | 2654fe6e9eb973eb6873ba6a00e834c2584e2ed2 | refs/heads/master | 2020-12-24T03:30:15.481898 | 2017-03-15T08:35:50 | 2017-03-15T08:35:50 | 32,865,701 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cc | #include <iostream>
#include <APLCON.hpp>
using namespace std;
int main() {
// this example shows how to do standard Gaussian error propagation
// with two measured variables A and B
// APLCON will calculate their sum C=A+B and the propagated error
APLCON a("Error propagation");
a.AddMeasuredVariable("A"... | [
"neiser@kph.uni-mainz.de"
] | neiser@kph.uni-mainz.de |
0976fd542aff5b496b5e4becddbc5af67bcc8c0d | bd5378b1a2e565fe8ff1a4bab841d3104ddb9780 | /include/maddy/strongparser.h | cda6d21ad21feaaeaad1e3a404a73a77aff42e7d | [
"MIT"
] | permissive | patrickelectric/maddy | 134366bb270aac34e63dfb2f55ec756be1f048a4 | 04342d813c0355bb98931e65284f324152751cdc | refs/heads/master | 2020-04-02T00:15:49.863328 | 2018-01-18T18:23:29 | 2018-01-18T18:23:29 | 153,796,522 | 0 | 0 | MIT | 2018-10-19T14:33:40 | 2018-10-19T14:33:39 | null | UTF-8 | C++ | false | false | 1,207 | h | /*
* This project is licensed under the MIT license. For more information see the
* LICENSE file.
*/
#pragma once
// -----------------------------------------------------------------------------
#include <string>
#include <regex>
#include "maddy/lineparser.h"
// --------------------------------------------------... | [
"info@progsource.de"
] | info@progsource.de |
a91fbf86558d15d8d707101b90ff9128ff6ab42a | 8e49173f50b662c9959454401e608a8b56617d0e | /_src_/Tools/MuRummySlot_bmd/Main.cpp | 7c5a1bfd09eeee1780cf1fddbfbbe79703a1f224 | [
"MIT"
] | permissive | SanneA/MuClientTools | 5bb9a275340fd02eae9b7bdaf4f4cfe18382d4fa | 6e4445a095ac39e935466ba79d3cc87a84a235a1 | refs/heads/main | 2023-03-17T13:21:53.029220 | 2021-03-11T00:54:48 | 2021-03-11T00:54:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | // This file contains the 'main' function. Program execution begins and ends there.
// Requirement: C++17
#include "Core.h"
#include "MuRummyBmd.h"
int main(int argc, char** argv)
{
MuRummySlotBmd opener;
const char* szInputPath = "murummyslot.bmd";
const char* szOutputPath = nullptr;
if (argc >= 2)
szInputPath... | [
"vudao1988@gmail.com"
] | vudao1988@gmail.com |
aa6611925f9b30dd458db648b1db216b1b15b176 | 83a42c32bbf5464f2928876c40983bc082e6dba5 | /W7/Exercise10_1/Exercise10_1/Exercise10_1View.h | 4699608bbe56ef66df2f17bee485787e103e11d7 | [] | no_license | miny2627/MFC | f721dfd0517be93c6e6a3bac44636f15e65e10e6 | 62e9a0cf9b85cb58b0e78bd267c9d675d9023816 | refs/heads/master | 2022-12-15T07:54:45.720837 | 2020-09-15T09:22:12 | 2020-09-15T09:22:12 | 295,334,218 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,226 | h |
// Exercise10_1View.h : CExercise10_1View 클래스의 인터페이스
//
#pragma once
class CExercise10_1View : public CTreeView
{
protected: // serialization에서만 만들어집니다.
CExercise10_1View();
DECLARE_DYNCREATE(CExercise10_1View)
// 특성입니다.
public:
CExercise10_1Doc* GetDocument() const;
// 작업입니다.
public:
// 재정의입니다.
public:
virt... | [
"miny2627@naver.com"
] | miny2627@naver.com |
5890e549c3e8119a45693c5a55cf7e6ca97b536c | 26ab914dcb23420593acd25ee01f9ec67a0e8205 | /src/qt/intro.cpp | aea63c60819903e03e8275cc88d4226be33b3bf5 | [
"MIT"
] | permissive | dwikrisdiyanto08/gentlemencoin | fdf83cfdcfd3a0b3052ea4281097cab6597e41be | 8bbe8c432e6d7aaf203ab8eb9844ed52bf00bfb6 | refs/heads/master | 2020-03-21T13:43:37.726905 | 2018-06-14T09:41:08 | 2018-06-14T09:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,931 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "intro.h"
#include "ui_... | [
"gentlemencoin@gmail.com"
] | gentlemencoin@gmail.com |
b36ff99ecbaf10ceea7997863d912c172dfb3132 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /CondCore/CTPPSPlugins/test/testPPSTimingCalibration.cpp | 9db167a2852d277cdad112b29ef6dd062cc29f6e | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,727 | cpp | #include <iostream>
#include <sstream>
#include "CondCore/Utilities/interface/PayloadInspector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/PluginManager/interface/PluginManager.h"
#include "FWCore/PluginManager/interface/standard.h"
#include "FWCore/PluginManager/interface/SharedLibrar... | [
"olakrzemka@gmail.com"
] | olakrzemka@gmail.com |
f27616e21155126f3c1a1ce13ed863917785a1fd | 40759a3d38a71023670f6510a0b03c1c84c471f7 | /merge.cpp | ae423596f1ee2c266227712129f42edb14148bbb | [
"Apache-2.0"
] | permissive | phaistos-networks/Trinity | f78cb880fe6d24dc331659b034f97c4e19be3836 | a745a0c13719ca9d041e1dfcfeb81e6bf85a996f | refs/heads/master | 2021-01-19T04:34:31.721194 | 2019-11-08T18:12:31 | 2019-11-08T18:12:31 | 84,192,219 | 250 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 24,694 | cpp | #include "merge.h"
#include "docwordspace.h"
#include <unordered_set>
#include <text.h>
void Trinity::MergeCandidatesCollection::commit() {
std::sort(candidates.begin(), candidates.end(), [](const auto &a, const auto &b) noexcept {
return b.gen < a.gen;
});
map.clear();
... | [
"mpapadakis@phaistosnetworks.gr"
] | mpapadakis@phaistosnetworks.gr |
f42142459ca650923952241732769d9fe45b5137 | d2d31c7ed32c47612c79aa7a098d379d8a6bd732 | /Class project 0 printf/1.cpp | b73bc7dfed63b3f0de99fbb5646b08d4dedcf229 | [] | no_license | allen901010/YZUEE10901C-Program | ced594b33df58f5bfbf09c0e7d9fab38cca646ef | 881f0ccc5c07260ab3d41295537dde1ed7f81bc5 | refs/heads/main | 2023-03-25T00:54:29.199198 | 2021-03-15T14:41:55 | 2021-03-15T14:41:55 | 315,353,113 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 968 | cpp | /*
日期:2020/09/14
學號:1090604
姓名:李岱倫
*/
#include <stdio.h>
#include <stdlib.h>
void main(void)
{
printf("*\n");
printf("**\n");
printf("***\n");
printf("****\n");
printf("*****\n");
printf("******\n");
printf("*******\n");
printf("********\n");
printf("*********\n");
printf("**********\n");
system("pause");... | [
"allenlee901010@gmail.com"
] | allenlee901010@gmail.com |
d3e704dcd0564242296898befa9dabf5f8c44270 | 36d6eb724d441be96d600a0b13bb9c3b4bb8a30e | /forces_402_a.cpp | f6f954d5a6d19933e98440227fdde88a08208903 | [] | no_license | ysumit99/codeforces_sumit23 | e253fedd97eb2f3ceec6a81419c7b9dd9701ecb0 | 8115a9b5c6a00af6afd131deba261acffb8f21f0 | refs/heads/master | 2021-01-22T20:45:08.170480 | 2017-03-17T21:34:50 | 2017-03-17T21:34:50 | 85,356,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
int n,ele;
cin>>n;
int arr[100001]={0};
int count=0;
int max_count=0;
for (int i = 0; i < 2*n; ++i)
{
/* code */
cin>>ele;
if(arr[ele]==0)
{
count++;
arr[ele]=1;
if(count > max_count)
max_count = count;
... | [
"noreply@github.com"
] | noreply@github.com |
bc42759e42756d9a9a741c2a4ddc561613319d28 | 45a07f3c1ecf21d493f7ecb261751f9cf15a312b | /ScorcherControl/ScorcherControl.ino | 849cbafe65bb955c936f309538be65e8589c8a2f | [] | no_license | aherrero/ArduinoProjects | d18ffdbf15315fc74ade12f1739f6a363592a708 | a0954c25b896848a9fb698e2a1c30bb194f9898b | refs/heads/master | 2016-09-11T03:17:31.785582 | 2013-12-07T18:43:44 | 2013-12-07T18:43:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | ino | //Arduino PWM Speed Control:
int pinsentidomotor1=4;
int pinvelmotor1=5;
int pinsentidomotor2=9;
int pinvelmotor2=10;
void setup()
{
pinMode(pinsentidomotor1, OUTPUT);
pinMode(pinsentidomotor2, OUTPUT);
}
void loop()
{
int velavance=100;
int MAXVEL=150;
digitalWrite(pinsentidomotor1,LOW)... | [
"alexhc89@gmail.com"
] | alexhc89@gmail.com |
dbbab8637a671275fc92557d4a1108620f73559d | 80e6c4de3d118f278ae7e3562c74a5bf8eaf2e1e | /Sources/Test/Events.cpp | 4d054c44816df477e72b717e73c878cc435647f7 | [] | no_license | mutexre/Starfield | 4b6f95ad93f779a8a76635ff5173ffedfb1af43c | 663d42e524ee2c645ebe8997dc424782825a1f59 | refs/heads/master | 2020-04-05T23:27:07.055436 | 2014-05-12T19:40:57 | 2014-05-12T19:40:57 | 23,846,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | cpp | #include <stdafx.h>
#include <Test/Starfield.h>
void Starfield::Main::updateStarScale(float w, float h) {
static float testScreenHypotSize = hypot(1680.0f, 1050.0f);
vars.starfield.scale->set(hypot(w, h) / testScreenHypotSize);
vars.starfield.scale->commit();
}
void Starfield::Main::reshape(float w, float... | [
"alexander.obuschenko@gmail.com"
] | alexander.obuschenko@gmail.com |
3bfd113baac0a9c878f87d197983dc2df09c26e4 | 525e8581d7f35d63277563649708f69cd8a0c3b8 | /naudio/src/NodeAudio.cc | 6715f6578c267c3664804e29e05618afaf21cb94 | [] | no_license | eliot-akira/audiom | 55f8d218b3922c76ef0216324f2245e3929d764c | 23397abaecb789fb8b6fd449f3a627383640bc47 | refs/heads/master | 2021-04-05T23:55:17.742839 | 2018-03-29T05:41:55 | 2018-03-29T05:41:55 | 125,117,718 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cc | #include <string>
#include <iostream>
#include "LabSound/extended/LabSound.h"
#include "nbind/nbind.h"
using namespace lab;
namespace NodeAudio {
class NodeAudio {
public:
static std::shared_ptr<lab::AudioContext> MakeAudioContext() {
return lab::MakeAudioContext();
}
static std::shared_ptr<la... | [
"me@eliotakira.com"
] | me@eliotakira.com |
4d6681900031b59eb8d407475b320238f027c1a7 | 4ed7dd878a2b34bace1fd91a49106eebe570a360 | /POJ/POJ_3295.cpp | f7f03adc6e1c1c6276c2a17e090906cc5ed4dd65 | [] | no_license | mayukuner/AC | fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9 | c21b2970b7288d7b36cbed468101446c615e79ff | refs/heads/master | 2020-12-15T02:38:51.758676 | 2017-10-11T13:01:11 | 2017-10-11T13:01:11 | 46,971,415 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include <stdio.h>
char opt[200];
int num[5];
int stage(char t)
{
if(t=='p'||t=='q'||t=='r'||t=='s'||t=='t')return 0;
else if(t=='N')return 1;
else return 2;
}
int val(char t)
{
if(t=='p')return num[0];
else if(t=='q')return num[1];
else if(t=='r')return num[2];
else if(t=='s')return num[3];
else return num[4];... | [
"gmayukun@gmail.com"
] | gmayukun@gmail.com |
290f78cd0c818685c3e0276aa93d2a998470892f | 5a02eac79d5b8590a88209dcc6cd5741323bb5de | /PAT/第二轮/甲级/1045/最长公共子序列/main.cpp | 0664a426470db61f532de4c482dae8bac9f6b913 | [] | 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 | 579 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int t,N;
scanf("%d%d ",&t,&N);
vector<int> A(N+1);
for(int i=1;i<=N;i++)
scanf("%d",&A[i]);
scanf("%d",&N);
vector<int> B(N+1);
for(int i=1;i<=N;i++)
scanf("%d",&B[i]);
vector<vector<int>> dp(A.size(),vector<int>(B.size(),0));
for(int i=1;i<A.size... | [
"997018583@qq.com"
] | 997018583@qq.com |
0a28992d08fa5da5beba63abc27236c68d4a10fc | 9fa57374ea7502254610b5864aa0d9acc0178e6e | /CDO_pricing/MCPROJ_Tools.h | 6e9ecc8ef9fa0e3b026b3d38e7c654737120f0f3 | [] | no_license | Abhi54743/MCPROJ_CDO | d4b8d05e4989a4aad4ee318212721fd93c48a64e | d4fb1b119015bda9efe14945a08f07f885291e3f | refs/heads/master | 2021-01-21T11:07:36.617646 | 2017-08-04T21:20:04 | 2017-08-04T21:20:04 | 91,724,787 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | /*!
Tools used in porject: CDO Tranche Pricing, Monte Carlo Project
Author: Abhishek MUKHOPADHYAY/ Carlo Pulcini
Date: 11/03/2017
Version 1.0
*/
#include<cstdio>
#include<cmath>
#include<sstream>
#include<iostream>
#include<iomanip>
#include<cstdint>
#include<vector>
#pragma once
#ifndef _MCPROJ_TOOLS_H
#define _MC... | [
"abhishek.mukhopadhyay@polytechnique.edu"
] | abhishek.mukhopadhyay@polytechnique.edu |
59d7c99daa2b3ebcd9423a58f389cac5abacdca6 | 3514081d4ea65a000c5a7c2e94c1fb3bd57f7dcf | /GAME1007_SDLTemplate/Collectible.cpp | 226fddc1fc2f06aef519abbbb4d3a2bd2371059e | [] | no_license | ThuningStars/gameProduction | 1f6243a519a6bda97746e4baab4fd8d3ba96cd4a | 79c1f9729a4afc3efbe3769e0687d4b1a6a4a0e8 | refs/heads/main | 2023-04-05T16:00:26.720070 | 2021-04-18T19:58:16 | 2021-04-18T19:58:16 | 346,183,382 | 0 | 1 | null | 2021-04-18T19:53:00 | 2021-03-10T00:27:32 | C | UTF-8 | C++ | false | false | 677 | cpp | #include "Collectible.h"
Collectible::Collectible(SDL_Renderer* r, SDL_Texture* t, SDL_Rect src, SDL_Rect dest) :m_renderer(r),
m_texture(t), m_dest(dest), m_src(src), m_isCollected(false),m_blend(245),m_blendSpeed(5)
{
}
Collectible::~Collectible()
{
}
void Collectible::Render()
{
SDL_SetTextureA... | [
"snnklp@gmail.com"
] | snnklp@gmail.com |
c5858850f3a46e66967b7cca89fcfbc7a5428ed6 | 4051dc0d87d36c889aefb2864ebe32cd21e9d949 | /Algos Practice/CodeForces/r1.cpp | da2973f4317bd9b89709144b093950f2dde58ac8 | [] | no_license | adityax10/ProgrammingCodes | e239971db7f3c4de9f2b060434a073932925ba4d | 8c9bb45e1a2a82f76b66f375607c65037343dcd9 | refs/heads/master | 2021-01-22T22:53:01.382230 | 2014-11-07T10:35:00 | 2014-11-07T10:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include<iostream>
#include<vector>
#include<utility>
#include<limits.h>
#include<set>
#include<map>
#include<algorithm>
using namespace std;
int main()
{
int k,c,d,n,m;
//freopen("in.txt","r",stdin);
cin>>c>>d;
cin>>n>>m;
cin>>k;
int x = 0;
x+=k;
bool flag =0;
int probs = 0;
while(x<n*m)
{
if(flag==0)
... | [
"androidaditya@gmail.com"
] | androidaditya@gmail.com |
c8a376b2ae6dcb449d13f8c00e70658f5409b5a9 | 8ab3e882303250ef5b279418d7916c7036b0a1d9 | /exercises/exercise05/solutions/BoundedBuffer.h | 46acbd4ada46c6c7577565156fe66d30f8eb902f | [] | no_license | PeterSommerlad/CPPCourseExpert | eaac3a0562ef390b259031629d943f82e384b8cd | 84b365c4508c7906f638199115fc2f9597319b4d | refs/heads/main | 2023-06-12T00:31:38.864261 | 2023-05-26T15:51:29 | 2023-05-26T15:51:45 | 470,980,622 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,023 | h | #ifndef BOUNDEDBUFFER_H_
#define BOUNDEDBUFFER_H_
#include <array>
#include <cstddef>
#include <memory>
#include <stdexcept>
#include <utility>
namespace heap_non_default {
template<typename T>
struct BoundedBuffer {
using size_type = size_t;
explicit
BoundedBuffer(size_type max)
:maxsz{checkForZero(... | [
"peter.cpp@sommerlad.ch"
] | peter.cpp@sommerlad.ch |
15d8b5583342330d2d8421eae47b0c9b00f14e68 | e682c542cb4a5f117293d82efb511ddfa42517fc | /solutions/Robots.cpp | 26e04931459a6e9a04dc2fe6d4a0e6bf164e423d | [] | no_license | jssosa10/maratones | d7d6b45712444d256d9c9e68d5cccca741f54fa9 | 44b6aca9e727e557f0224ff314c9ba2369217721 | refs/heads/master | 2021-01-20T02:48:02.723147 | 2018-03-21T16:34:58 | 2018-03-21T16:34:58 | 101,334,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 1000;
vector<int> v[2][N];
int vis[N][N];
void bfs(int a, int b){
queue<pair<int,int> >q;
q.push(make_pair(a,b));
vis[a][b]=vis[b][a]=1;
while(!q.empty()){
pair<int,int> e = q.front();q.pop();
a = e.first;
b = e.second;
for(int i=0; i<2;i++){
for... | [
"js.sosa10@uniandes.edu.co"
] | js.sosa10@uniandes.edu.co |
057b11da88edc18f4845b21d589245ad84ca16e8 | 1e436cba112a48e7f0988a5c6b7cf1cfb0d2cdcb | /Event/AEMode.h | 1467df612736f7685ecedbd0b7c50f862b61a197 | [] | no_license | arnozeng/Development-of-Canoncamera | 33c87a4f175d5a5de49fe337e600791f9e6319ca | 92481ac859a798bafc563244f077505e752fcb90 | refs/heads/master | 2023-05-31T10:16:17.524277 | 2021-06-28T04:15:31 | 2021-06-28T04:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | h | #pragma once
#include "Observer.h"
#include "ActionSource.h"
#include "CameraEvent.h"
#include "CameraController.h"
typedef void(CALLBACK *AECALLBACK)(EdsPropertyDesc AEDesc,EdsUInt32 Tv,LPARAM lParam);
class CAEMode : public ActionSource , public Observer
{
public:
CAEMode()
{
_AEDesc.access=0;
_AEDesc.form=... | [
"39042253+Mrsandman327@users.noreply.github.com"
] | 39042253+Mrsandman327@users.noreply.github.com |
4b89229c91719ee5d011fd24d1db535c9fa249fe | c07f78e0e3375e2b18c788b8c3123b61de9b4ab6 | /solutions/patriotKahan.cpp | 2ff22c7d1f9d4e53f4d28ba019dc836272791e94 | [] | no_license | VinInn/FPOptimization | 6d2349fd8a4784d2672328562094828f024d419b | 7605d070046d0f1645b515b94e44c318828c12d6 | refs/heads/master | 2021-01-02T09:27:24.433850 | 2014-10-22T14:44:01 | 2014-10-22T14:44:01 | 13,464,762 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | // c++ -std=c++1y -O2 patriotKahan.cpp
#ifdef ESC_SERVER
#include "api.h"
#endif
#include<cstdio>
float kernel(int maxl) {
float tenth=0.1f;
float t=0;
long long n=0;
float eps=0;
while(n<maxl) {
float a = tenth -eps;
float s = t + a;
eps = (s -t) -a;
t = s;
++n;
if (n<21 ... | [
"vincenzo.innocente@cern.ch"
] | vincenzo.innocente@cern.ch |
eb15b55bde848f9eb24d03fba5b68f5888f192d2 | d1acf00faf5592933959784549137de0e0178453 | /src/test_bdviewblock/mainwindow.cpp | 1d0631f8bf590b6deac30dcb006ae1cb6de85982 | [
"MIT"
] | permissive | changxm11/blockdia | de0c44f9bd22b9cba2a21020e8f04e5ecf31c7b7 | b3fb69e4229d02ec98068606174cc0e29777c789 | refs/heads/master | 2020-04-10T13:09:41.693728 | 2017-08-29T19:58:28 | 2017-08-31T16:07:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <libblockdia.h>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
libblockdia::ViewBlock *view = new libblockdia::ViewBlock();
this->setCentralWidget(view);
}
MainWindow::~MainWin... | [
"Thomas.Weinhold@stratoinos.de"
] | Thomas.Weinhold@stratoinos.de |
b312fb8d7c205aada3cc369f080f5eb613003da5 | 90801f3b268270b21b5de8065cdbdbf4c0147e39 | /Source/Common/Constants/Menu/MenuConstants.cpp | 0d28ca32e53e2533e75ca66e2253d061642b381c | [] | no_license | gord0185/FINAL_ASSIGNMENT | 9d6f69da57807971c83ff5f31697fbc3e678f6f7 | d9b6f99be353e266cc26eee4ddcf7bc9618d1d48 | refs/heads/master | 2020-05-17T12:32:32.929169 | 2013-12-12T20:46:41 | 2013-12-12T20:46:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | //
// MenuConstants.cpp
// GAM-1514 OSX Game
//
// Created by Bradley Flood on 2013-10-08.
// Copyright (c) 2013 Algonquin College. All rights reserved.
//
#include "MenuConstants.h"
const float UI_SIDE_MENU_SPEED = 750.0f;
const float MENU_TITLE_Y_PERCENTAGE = 0.078125f;
const float MENU_ITEMS_STARTING_Y_PERCE... | [
"gord0185@algonquinlive.com"
] | gord0185@algonquinlive.com |
c20fdab34ac49308f0f30d96696a690bcce054ef | 16d51e1f2a2b220cc6233c9d3860ca863d06b21d | /Source/VoxelGraph/Public/VoxelNodes/VoxelWorldGeneratorSamplerNodes.h | 4dcc441ddb039cf4042e6ee4d79eeb436ee851c4 | [
"MIT"
] | permissive | caseymcc/VoxelPlugin | aa354eff8085645a798c80188ad0a3ae393dfc5d | fd9795dc5980cc72563b991739a19b5294803e79 | refs/heads/master | 2022-12-04T18:27:01.165088 | 2020-08-27T06:29:26 | 2020-08-27T06:29:26 | 290,852,142 | 1 | 0 | MIT | 2020-08-27T18:29:08 | 2020-08-27T18:29:07 | null | UTF-8 | C++ | false | false | 3,781 | h | // Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "VoxelNodeHelper.h"
#include "VoxelNodeHelperMacros.h"
#include "VoxelExposedNodes.h"
#include "VoxelWorldGenerators/VoxelWorldGeneratorPicker.h"
#include "VoxelGraphErrorReporter.h"
#include "VoxelWorldGeneratorSamplerNodes.generate... | [
"phyronnaz@gmail.com"
] | phyronnaz@gmail.com |
c78d8bf22e5fe74e6fb7b419cda795717c175d71 | a21382c77bd4e52d93df4be2b86e28219e06fb9a | /square.h | 807063fba3c5aafd53c4551487d0decb0509f8a9 | [] | no_license | hn1111/Battleship | 1e009605ba7610f7f46563c22543e5e9e37a8606 | ba7adf0cba40050a46974b796f8c2a4f0cf043e1 | refs/heads/main | 2023-05-10T09:53:18.163037 | 2021-06-01T07:11:19 | 2021-06-01T07:11:19 | 372,486,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #ifndef SQUARE_H
#define SQUARE_H
class Square
{
public:
enum Status {
miss,
hit,
empty,
occupied,
dead
};
int col;
int row;
int width;
int height;
Status status;
bool operator==(const Square& a) const {
return (a.col == col and a.row ==... | [
"you@example.com"
] | you@example.com |
1046eb9d822df66f4547571ec3c0d19e5085730f | ce4da92244a03f24d6a75462e3fc18e3c4d487c7 | /src/etherlab/ecat_master.h | f0e9444fa50b3eceed17d37d71b2b31e4f2dbc07 | [] | no_license | capitaneanu/ecat_master | 857e684d4a9a22c7d8f6cc99af1a76b588ff0b74 | 2026cc9f7164419c4f57def461a2db1a60cd68cf | refs/heads/master | 2022-02-21T07:03:50.322627 | 2018-05-17T02:36:17 | 2018-05-17T02:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | #ifndef ECAT_MASTER_H
#define ECAT_MASTER_H
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <string>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/mman.h>
#include <rtdm/rtdm.h>
#include <native/task.h>
#include <native/sem.h>
#include <nati... | [
"576961736@qq.com"
] | 576961736@qq.com |
62d6a21129a782a7fbf05090bdc4ff3f87069f70 | b1aa27b66c3c4136ad09470f1bbe065674475ac5 | /Engine/Scene/include/SceneManager.h | 3f8407609719cf7821465c29557ded326ea8edff | [
"BSD-2-Clause"
] | permissive | LiangYue1981816/AresEngine | 489ab0ed977c36327343797dd1499f56f434e06f | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | refs/heads/master | 2021-06-27T06:18:17.253841 | 2020-05-15T04:37:02 | 2020-05-15T04:37:02 | 148,959,938 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | h | #pragma once
#include "PreHeader.h"
#include "ComponentManager.h"
#include "Component.h"
#include "ComponentMesh.h"
#include "ComponentSkin.h"
#include "ComponentParticle.h"
#include "ComponentPointLight.h"
#include "Scene.h"
#include "SceneNode.h"
class CALL_API CSceneManager
{
friend class CEngine;
private:
C... | [
"LiangYue1981816@Hotmail.com"
] | LiangYue1981816@Hotmail.com |
deaf5bbe10fb49b122485574e0b7b06307a75499 | c2125d3680761883bf216be8c0e2d7da9a18bd43 | /main.cpp | 390ebcb92bfc00b8e35fd6aab5f864511389314a | [] | no_license | mmmovania/BabyRayTracer | d26d30b1c48dfd0fe601cf85604026044abecbe1 | 7088414b00933f95af7310494c9fed4d817cfc0b | refs/heads/master | 2021-01-18T01:48:58.959302 | 2016-03-02T21:50:36 | 2016-03-02T21:50:36 | 53,151,754 | 3 | 0 | null | 2016-03-04T17:09:02 | 2016-03-04T17:09:02 | null | UTF-8 | C++ | false | false | 523 | cpp | #include <iostream>
#include <stdio.h>
#include "Image.hpp"
#include "Vec3.hpp"
#include "Ray.hpp"
#include "Hitablelist.hpp"
#include "Sphere.hpp"
#include "SimpleRand.hpp"
#include "Lambertian.hpp"
#include <random>
int main(int argc, char ** argv){
int width = 400, height = 200;
Image<float> im(width, height);... | [
"netolcc06@gmail.com"
] | netolcc06@gmail.com |
acc58631497b666e50187bd47e4beafe3e6cb055 | 0de2865a4b0a66518d5d02da7ee98681e65ff67d | /homework_5/main.cpp | 5d6cc27a2c17cd4e9f36d09351a95548ee0062b7 | [] | no_license | krishnachaitanya7/OpenGL_Assignments | e80654c4da723f7f972a9acfe18a860d29fa8ff9 | f10455ba540aac8668e45d09ec55fc135954cf2b | refs/heads/master | 2022-03-23T19:09:13.575073 | 2019-12-15T07:29:36 | 2019-12-15T07:29:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | #define GL_GLEXT_PROTOTYPES
#include <GL/glut.h>
#include "util.h"
// Initializing Variables
int utils::axes=0;
int utils::mode=1;
int utils::move=1;
int utils::th=50;
int utils::ph=0;
int utils::fov=27;
int utils::light=1;
double utils::asp=1;
double utils::dim=3.0;
// Light values
int utils::one = 1;
int u... | [
"chaitanyaradon89@gmail.com"
] | chaitanyaradon89@gmail.com |
96adbd1753ab3419986b10d0b9211c95859b94c2 | 6d10fe5390cd86afa363df24bb160176fc5b946e | /src/qt/askpassphrasedialog.h | 7d191a6562e52f913646c0a408d030630965660e | [
"MIT"
] | permissive | LongRail/grvs | 7196df10f65b31c24508b9d9546cf0cf170bdcb6 | 4e3e13cfc1f74a65e6c1e9c2c6341f1ab90ef376 | refs/heads/master | 2020-04-11T23:41:38.331326 | 2018-11-14T16:24:34 | 2018-11-14T16:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The GRVS developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_ASKPASSPHRASEDIALO... | [
"email@example.com"
] | email@example.com |
39ec5767ba6fab31f63d95025824cd8ad61404cd | 53764943bdb754f4351d2ff08beca7c68cff9601 | /include/record.h | 04253498ba35a099417c53d180d78d678b79b6c3 | [] | no_license | orcchg/MoneyWatcherAlpha | b8cd7bf736c176faecda144c0f9da63f7b98ba80 | 0c47f61e608939faddf61881d770bcee16c3bf70 | refs/heads/master | 2021-01-20T03:59:17.166438 | 2016-01-06T08:54:18 | 2016-01-06T08:54:18 | 41,607,625 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | h | /*
* Record.h
*
* Description: Record class declaration.
*
* Created on: 08.09.2013
* Author: Maxim Alov <m.alov@samsung.com>
*/
#ifndef RECORD_H_
#define RECORD_H_
#include <string>
#include "common.h"
#include "datetime.h"
#include "status.h"
#include "types.h"
#include "unistring.h"
namespace mw {
... | [
"alovmax@yandex.ru"
] | alovmax@yandex.ru |
636bc118384e12365792933adbf7da9069a4c1f0 | 7a2631e3af71af5f4c5b958481e671d974719db1 | /Embedded Systems Programming/Atmel/WinAVR/lib/gcc/avr32/4.3.2/include/c++/bits/stl_algobase.h | c61bd2f65a5710c518af92f7015c00202997ffad | [] | no_license | xufeiwaei/HHcourses | 32f2d15a52b984a58d67d1385a26dc6e1984140d | 8e3642425d00a13442751577ac69b876c099cd97 | refs/heads/master | 2020-05-18T20:30:14.192308 | 2014-01-12T13:22:47 | 2014-01-12T13:22:47 | 14,732,022 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 40,819 | h | // Core algorithmic facilities -*- C++ -*-
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Publi... | [
"xufeiwaei@gmail.com"
] | xufeiwaei@gmail.com |
6cafbd278d55d03a65ec13ad93c89d69bdba1db5 | adbf3ae9a2c8db8c60dd12efe3612e360f833da3 | /Algorithm in Cpp/Merge Sort.cpp | 318feb51bc8a5d162f32ca0be5d326ad815514ca | [
"MIT"
] | permissive | mdabdullahibnaharun/Algorithms | 74369bf071361b536c3469d7e3036cbc9eca95e8 | a64763d1609af5f1a1b6b1ac0ee52910f23952e1 | refs/heads/main | 2023-04-09T18:09:30.472063 | 2021-04-26T03:02:09 | 2021-04-26T03:02:09 | 327,311,867 | 5 | 1 | MIT | 2021-03-23T10:56:14 | 2021-01-06T12:57:02 | C++ | UTF-8 | C++ | false | false | 2,732 | cpp | #include<iostream>
#include<algorithm>
#include<stdio.h>
#include<conio.h>
#include<string.h>
using namespace std;
#define MAX_ELEMENTS 50
#define TRUE 1
#define FALSE 0
void mergeSort(int array[],int minElement,int maxElement);
void sortUtil(int array[],int size,int topElement,int botElement);
int main()
{
int... | [
"60839928+abdullah100998@users.noreply.github.com"
] | 60839928+abdullah100998@users.noreply.github.com |
c9a0ebe427660ba58ea19fdab791235d8c248204 | 3083387dab447dded915a5df17a9c1db2af37986 | /il2cpp-v21/MapFileParser/Statistics/HighLevelBreakdown.cpp | 8b95a03f3cefc893d0362887771a25e2249f6219 | [] | no_license | WuFengXue/il2cpp-Mirror | 5defc24ac6fe537ddaa518d062d9291f2aaf2dad | 48790bd85e868fc01f55decef1717488ebb10f1e | refs/heads/master | 2022-09-30T11:41:05.218173 | 2020-06-03T03:17:07 | 2020-06-03T03:17:07 | 263,846,048 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,186 | cpp | #include "HighLevelBreakDown.h"
#include <sstream>
namespace mapfileparser
{
static bool Contains(const std::string& haystack, const std::string& needle)
{
return haystack.find(needle) != std::string::npos;
}
static bool EndsWith(const std::string& haystack, const std::string& needle)
{
if (haystack.length() >= ne... | [
"jianbo.li01@ucarinc.com"
] | jianbo.li01@ucarinc.com |
be508187af76c215538e455162e0e12f83c70967 | 2df5ce3ab049cb46fd99b0750a4f57cf5397a940 | /src/godotmation_state.hpp | 88248c606e62ab7f95c6aecf038af4046d59cc72 | [
"MIT"
] | permissive | arastoul/GodotMationCpp | 68cf84f7803256762b11d2d919dd7eb98c980a43 | d05b157b420688e1ffae9a49de80b26da21ab41f | refs/heads/master | 2022-02-01T19:13:06.407005 | 2018-06-22T07:18:56 | 2018-06-22T07:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | hpp | #ifndef GODOTMATION_STATE_H
#define GODOTMATION_STATE_H
#include "godotmation_base_node.hpp"
class GodotMation_State : public GodotMation_Node{
public:
GodotMation_State();
~GodotMation_State();
float state_number = 0.0f;
int other_number = 0;
int used = false;
int state_type = 0;
God... | [
"noreply@github.com"
] | noreply@github.com |
c7a9266d4361405a1d575bb1fdb9031d81424e57 | 2025a00fd5c69cafd70e5e81f527b81e29fed203 | /Model.cpp | 8d5c546735315d84bd0e9271bb7de64cd36b0832 | [] | no_license | MorielTurjeman/mazeProject | 1564ff7e40c440ed1e4fdcbbe3523b48561520d8 | 80160f85ee0f89bf94e19869747cb66d798818e4 | refs/heads/master | 2022-12-26T17:07:55.950380 | 2020-10-13T09:51:11 | 2020-10-13T09:51:11 | 286,579,664 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 66 | cpp | //
// Created by Sapir Ezra on 23/08/2020.
//
#include "Model.h"
| [
"sapir8886@gmail.com"
] | sapir8886@gmail.com |
19d42d384753aad72055f6f71afddb5fbde49186 | 6df307b049156f719a3aefaa11197fa8ebddbf33 | /for_test/test_template_more_args.cpp | ba633e0215b8e72c8ea9abdc151945eaff0eb83c | [] | no_license | feifa168/libtins_parser | b1eeac2e81eeea25804d157010d2e77241bdd0f8 | a2850ea89e23472dbe8c658a47446f9f488eb1b7 | refs/heads/master | 2020-03-28T20:30:13.008938 | 2018-09-19T07:34:26 | 2018-09-19T07:34:26 | 149,076,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | #include<iostream>
#include<string.h>
#include<bitset>
#include<boost/any.hpp>
#include<boost/utility.hpp>
#include<typeinfo>
using namespace std;
class InParam
{
public:
template<typename... Arg>
InParam(Arg... args)
{
PutArg(args...);
// m_veParamValue.push_back( head );
// cout << typeid( head ).name() ... | [
"2900093533@qq.com"
] | 2900093533@qq.com |
872333dee8b4c05c8fd9a5a6a4f84370da4d7b44 | 9242687d387adf911fbc5f959c88250f32aeb55a | /Catan/CatanEvents/CardIsEvent.cpp | 6f8fdc663bd48212090bcd8ee576820dc7d4c647 | [] | no_license | Kammann123/Catan | 39bd521f0bb5129310d18728ae1fa7cbb6e3a913 | 9e22e78f75455e1741c0b91c6dbcb8580de8d802 | refs/heads/master | 2022-03-10T06:54:45.814408 | 2022-02-09T19:32:28 | 2022-02-09T19:32:28 | 158,240,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | #include "CardIsEvent.h"
CardIsEvent::
CardIsEvent(ResourceId resource, PlayerId player) : CatanEvent(Events::CARD_IS, Sources::GUI, player), CardIsData(resource) {}
CardIsEvent::
CardIsEvent(CardIsPacket* packet) : CatanEvent(Events::CARD_IS, Sources::NETWORKING, PlayerId::PLAYER_TWO), CardIsData(packet->getResource... | [
"lucaskammann@hotmail.com"
] | lucaskammann@hotmail.com |
3ead357eb1ea9359f4e58b4a34b27b4bcbc6c687 | 58984ee394c34eca219d0690b79a7d40f2b71543 | /cinn/backends/cuda_util.cc | 45a42d047762bd23274037efde092c0943866bb9 | [
"Apache-2.0"
] | permissive | Joejiong/CINN | 889d95b99e796b6c59a3a2ea5cc129c7094583c1 | a6beb59f729e515dfe60b2264b0bed670acaff88 | refs/heads/develop | 2023-04-27T16:39:35.116998 | 2020-10-27T09:25:40 | 2020-10-27T09:25:40 | 304,844,917 | 0 | 0 | Apache-2.0 | 2020-10-17T09:56:56 | 2020-10-17T09:42:38 | null | UTF-8 | C++ | false | false | 721 | cc | #include "cinn/backends/cuda_util.h"
#include <glog/logging.h>
#include "cinn/backends/extern_func_jit_register.h"
#include "cinn/common/target.h"
namespace cinn {
namespace backends {
std::string cuda_thread_axis_name(int level) {
switch (level) {
case 0:
return "threadIdx.x";
break;
case 1:
... | [
"yanchunwei@outlook.com"
] | yanchunwei@outlook.com |
b11cb521f0cb44c61107f6821ba422001b5d6141 | 4f10522b616baf895e2f0d483f207553eb403e4f | /C++/prob5/prob5-2/object.cpp | 76a4ab62386b163b8b89f4f0aed8ae0807b5eeb2 | [] | no_license | shalad2/1-week-programming | c70333980a0dec399136d1336613045858851ad2 | b494c95b0f1409b3b07cc524d883900b9f227444 | refs/heads/main | 2023-04-09T03:43:53.541402 | 2021-04-20T09:10:04 | 2021-04-20T09:10:04 | 359,729,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include "object.h"
int Object::m_objectNum = 0;
Object::Object(){
m_objectNum++;
}
Object::~Object(){
m_objectNum--;
}
int Object::getObjectNum(){
return m_objectNum;
} | [
"harada.shogo@d.mbox.nagoya-u.ac.jp"
] | harada.shogo@d.mbox.nagoya-u.ac.jp |
049d9ac06ce0fdc72eeb868d7e8bae4bde7b81b1 | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Release/include/Fuse.Controls.IProxyHostExtensions.h | 9d89194309dbf8c8cb727f0c3ec0b52e953fc938 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Panels/1.4.2/GraphicsView.ux.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.h>
namespace g{namespace Fuse{namespace Controls{struct IProxyHostExtensions;}}}
namespace g{namespace Fuse{stru... | [
"i@firdaus.my"
] | i@firdaus.my |
9fc4d208d76d1ae497b3432428c8bf50b26679f2 | 19079c088fc306ac773d4a6f7e85715a3fc8cc9d | /challenge/flutter/all_samples/cupertino_pagestorage_1/windows/runner/main.cpp | 9962722a172e94239f2a5f7ea2fc3dfdf3e6e9b6 | [
"Apache-2.0"
] | permissive | davidzou/WonderingWall | 75929193af4852675209b21dd544cb8b60da5fa5 | 1060f6501c432510e164578d4af60a49cd5ed681 | refs/heads/master | 2022-11-03T22:33:12.340125 | 2022-10-14T08:12:14 | 2022-10-14T08:12:14 | 5,868,257 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
// Attach to console w... | [
"wearecisco@gmail.com"
] | wearecisco@gmail.com |
461e28b20e50e893108486ed0f147ff564592e3c | 2874d0db3fe80ec2f33e4f4551d93ed8cde69674 | /rendu/cpp_module_01/ATarget.cpp | 1fdf75590b3b1a9e3011e546eb37d15f221a0cd4 | [] | no_license | ybayart/42-exam-rank-05 | af959e4ee03b97d3a9c9a7b91df385995de83c9b | 2c2dd38151abd623b4ef40411c1f77645027b233 | refs/heads/master | 2023-01-02T22:45:57.583478 | 2020-10-24T12:25:09 | 2020-10-24T12:25:09 | 309,555,521 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include "ATarget.hpp"
ATarget::ATarget() : _type()
{
}
ATarget::ATarget(std::string type) : _type(type)
{
}
ATarget::ATarget(const ATarget& ref)
{
_type = ref._type;
}
ATarget&
ATarget::operator=(const ATarget& ref)
{
_type = ref._type;
return (*this);
}
ATarget::~ATarget()
{
}
const std::string&
ATarget::get... | [
"yanyan@42paris.fr"
] | yanyan@42paris.fr |
eb2c1080885d8b64bd46f1dac7cd20dfd8468971 | 5d70dd1628caffb3af79f454a9821d7219c4572d | /cpps/distance.h | 688c97034887a8f8740f1f77cc559f3933f625f7 | [] | no_license | CV-IP/color_calibration | 0e3f8798060ee06bcabb44902dd475b2bf1f6acf | 4ca105ce522e29807ced1459cc2c540e8711db8d | refs/heads/master | 2023-01-27T23:42:25.501930 | 2020-11-30T04:28:50 | 2020-11-30T04:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,475 | h | #pragma once
//#include <string>
//#include <iostream>
#include <opencv2/opencv.hpp>
#include "utils.h"
//#include <map>
//#include <tuple>
//#include <cmath>
namespace cv {
namespace ccm {
enum DISTANCE_TYPE {
CIE76,
CIE94_GRAPHIC_ARTS,
CIE94_TEXTILES,
CIE2000,
CMC_1TO1,
CMC_2TO1,
RGB,
RGBL
};
//double to_r... | [
"254030462@qq.com"
] | 254030462@qq.com |
e095bd8f1c53811377c326a0538f4085b198f777 | 3fde0e2c26ae7e0a4cd4c57013ba0daeddc43097 | /1 Cruise/Cruise.cydsn/codegentemp/cydevicerv_trm.inc | fecb8c593601fb97430379420dac72913f2beb00 | [] | no_license | jiayuebao/Intelligent-Robot-Design | 155d908db78fd72deee0dc1e0ba1bbfac3386c30 | dac97baaa78867750e3a40774c7490f5cbf77d35 | refs/heads/master | 2020-04-17T21:28:55.783719 | 2019-01-23T16:36:35 | 2019-01-23T16:36:35 | 166,951,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642,915 | inc | ;
; File Name: cydevicerv_trm.inc
;
; PSoC Creator 3.3 CP1
;
; Description:
; This file provides all of the address values for the entire PSoC device.
;
;-------------------------------------------------------------------------------
; Copyright (c) 2007-2015 Cypress Semiconductor. All rights reserved.
; Y... | [
"jiayueb@andrew.cmu.edu"
] | jiayueb@andrew.cmu.edu |
b71b2b6bdeadd3a7840d6bc9d76acfb3e45f5a9f | 0bd7042901b018e30e56e77501b24d5178bbbcd1 | /Heap/Course Code (C++)/06-Heap-Sort/HeapSort.h | da9151c68ee45b590e84811d416a9103b4954fab | [] | no_license | liangruuu/Algorithm-Of-Notes | a983d8f94ff84eff1cf63215359e208ce6e901d7 | 7f6cd2734830d2ad2ee3bb4d06cd373db2090ae9 | refs/heads/master | 2020-05-25T20:37:47.699453 | 2020-04-18T12:20:43 | 2020-04-18T12:20:43 | 187,979,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | h | //
// Created by liuyubobobo on 8/16/16.
//
#ifndef INC_06_HEAP_SORT_HEAPSORT_H
#define INC_06_HEAP_SORT_HEAPSORT_H
#include "Heap.h"
using namespace std;
// heapSort1, 将所有的元素依次添加到堆中, 在将所有元素从堆中依次取出来,
// 即完成了排序 无论是创建堆的过程, 还是从堆中依次取出元素的过程,
// 时间复杂度均为O(nlogn) 整个堆排序的整体时间复杂度为O(nlogn)
template <typename T> void heapSort1(... | [
"1024311844@qq.com"
] | 1024311844@qq.com |
f41c1b6d3da8b82bd5c0b347a64dbe6008014dc3 | 7fb78184cbad4b8e19c5f9770c62cd2c9f9803b3 | /d05/ex01/main.cpp | 6fad5a591e7db9eb0d1713a1dd997008dc022c30 | [] | no_license | JibranKalia/CPP-Piscine | 7269fd7d5178deec0dab11e821709bac10699c27 | b714fcfce81042fdda980c839667bc7af6e893cb | refs/heads/master | 2021-03-27T19:15:47.574626 | 2017-07-14T13:45:52 | 2017-07-14T13:45:52 | 96,112,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,655 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"jkalia@student.42.us.org"
] | jkalia@student.42.us.org |
c8d77585008d637d3c0991b2a30b43a0001aeb2c | ff5439a3960f58588db0743155f4783691a7e684 | /mmmpap2.cpp | 4c2efa50631829262e9b6fecedc6b1afccdcc91c | [] | no_license | rahul2412/C_plus_plus | e693c8b4bd8e9bd489b864c79107f7215e0c2306 | f9c61139f3af0564aa4c05de3eaf469558530197 | refs/heads/master | 2021-04-28T08:13:33.811134 | 2018-02-20T19:36:57 | 2018-02-20T19:36:57 | 122,244,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include<iostream>
#include<map>
using namespace std;
main()
{
multimap<char,int> mp;
mp.insert(pair<char,int>('a',10));
mp.insert(pair<char,int>('b',12));
mp.insert(pair<char,int>('b',13));
mp.insert(pair<char,int>('c',20));
mp.insert(pair<char,int>('d',15));
mp.insert(pair<char,int>('d',19));
mp.insert(pa... | [
"noreply@github.com"
] | noreply@github.com |
566ed6a218c3b950e8ec26e9970e17c269db2428 | 5bc8e108d6205094a6a96a57b6883bcf0d2ecd6e | /src/core/hw/gfxip/gfxImage.h | 0d85d935ded11630e069277f2b704bbd591be593 | [
"MIT"
] | permissive | Flakebi/pal | ccb0ef712d3f34b0d9d745857c315d48266464a0 | be240754b39115b4f1cb9f6b2a297deb429156b5 | refs/heads/master | 2021-06-19T15:34:41.205855 | 2019-08-12T09:49:16 | 2019-08-12T09:49:16 | 182,103,864 | 0 | 0 | MIT | 2019-04-18T14:34:14 | 2019-04-18T14:34:14 | null | UTF-8 | C++ | false | false | 11,270 | h | /*
***********************************************************************************************************************
*
* Copyright (c) 2015-2019 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | [
"jacob.he@amd.com"
] | jacob.he@amd.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.