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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20dd60e64ed80bce83b45d0feddc70a6fba47885 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_hunk_1353.cpp | e6e16140692461ab900767a965048e43f878793f | [] | 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 | 853 | cpp | "\n"
" Example, send the header \"X-you-and-me: yes\" to the server when getting a\n"
" page:\n"
"\n"
" curl -H \"X-you-and-me: yes\" www.love.com\n"
"\n"
" This can also be useful in case you want curl to send a different text in\n"
" a header than it normally does. The -H header you specify then replaces t... | [
"993273596@qq.com"
] | 993273596@qq.com |
ad1f896e02e67a1b2ec3c1b77f9786a1e9b9bdad | b96993eba240664312debf09edc39ae2c6812401 | /Exercise3/Exercise3.cpp | 185f340305677cfc4436917dd743896d3c60c40f | [] | no_license | Medvital/Exercise | 383c5abf4b7dd8ddd0504e524c79fcaa4d1038b6 | 9a133606e68bf327e20088dbaa8e8b2b6af7ca6a | refs/heads/master | 2023-07-14T13:05:39.755876 | 2021-08-26T14:09:28 | 2021-08-26T14:09:28 | 329,877,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,511 | cpp | #include <iostream>
#include <Windows.h>
#include <string>
#include <typeinfo>
#include <cstdlib>
#include <random>
using std::string; using std::cout; using std::cin; using std::getline; using std::endl;
//Напишите программу - игру типа Hi - Lo:
//Во - первых, ваша программа должна выбрать случайное целое число в д... | [
"MedVital@mail.ru"
] | MedVital@mail.ru |
ccd005d21f6d3e11408d864cbe963c40452cc790 | 09f709909fe009104f63698c906cf47c6bcc1da9 | /ogle/OgleMath.cpp | 12c1a283a1e9f56592d88456c702d9adbaafbbbb | [] | no_license | lja83/Ogle | 385086e5b4b350eb29afc2aaf589c9dd84d0db3e | 13f9581ae72f262478a615ce0dca7676ef895210 | refs/heads/master | 2021-01-02T08:33:24.795135 | 2011-12-15T04:47:22 | 2011-12-15T04:47:22 | 2,879,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | #include "OgleMath.h"
#include <cmath>
#include <iostream>
float magnitude(Vector3f vector)
{
float mag = vector.x*vector.x + vector.y*vector.y + vector.z*vector.z;
return (float)sqrt((double)mag);
}
float dotf(const float *a, const float *b, int order)
{
float total = 0.0f;
while(order--) {
total... | [
"jeff.apczynski@gmail.com"
] | jeff.apczynski@gmail.com |
70f5db29f099934dd14df3d7de2dc5fb69f9fb08 | 4190f4d771fc98114b32e160a73bdce71d4f2388 | /Extractor/Extractor.h | 70c943a06a26b20e9848f9a12e8ab61678198a69 | [
"BSD-2-Clause"
] | permissive | gberaudo/osrm-upstream-debian | da983408e4694870c7229ebdf86062fa5b2e5c6b | 7d2f81636a56f35294677fa083a8c4ce9c32cb3d | refs/heads/master | 2021-01-10T11:16:42.992858 | 2015-01-05T16:47:31 | 2015-01-05T16:47:31 | 36,938,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef EXTRACTOR_H_
#define EXTRACTOR_H_
#include <boost/filesystem.hpp>
#include <string>
class ExtractorCallbacks;
/** \brief Class of 'extract' utility. */
class Extractor
{
protected:
unsigned requested_num_threads;
boost::filesystem::path config_file_path;
boost::filesystem::path input_path;
... | [
"guillaume.beraudo@camptocamp.com"
] | guillaume.beraudo@camptocamp.com |
c3e70caab9b18c3166e09e3945fab14853b64391 | 09f15d277b4f03fa59965e5c3b71bdc230174114 | /app/formatimageprovider.h | 9db515a1aa48070ac36faf6ef86af25655124ea8 | [] | no_license | robby31/DlnaServer | d7c3b4d852211e3a4aed38bca0e73cfe0424173d | bec14433e395fc6092fa775cc3f020995dc51677 | refs/heads/master | 2020-12-14T04:25:19.416217 | 2020-02-02T22:25:02 | 2020-02-02T22:25:02 | 47,883,051 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | #ifndef FORMATIMAGEPROVIDER_H
#define FORMATIMAGEPROVIDER_H
#include <QQuickImageProvider>
#include <QDebug>
#include "mysqldatabase.h"
#include <QSqlQuery>
#include <QSqlError>
#include <QSqlRecord>
class FormatImageProvider : public QQuickImageProvider
{
public:
FormatImageProvider();
QImage requestImage(c... | [
"guillaume.himbert@gmail.com"
] | guillaume.himbert@gmail.com |
b0d3ffa0f9f6748643f85e285a91afb574e18b86 | 9aed7bf16949ecadd768705f323e1f68cd6baa16 | /src/parameter/kv_map.h | 5947563a8d9d093556296f71eb38de65ec6221df | [
"Apache-2.0"
] | permissive | weiweijiuzaizhe/parameter_server | 9bc6efb40abd9fea33312f3ae336050fb2d39772 | ced4d427796d2c4e6a287682950165848a578e36 | refs/heads/master | 2021-01-12T03:12:53.880732 | 2017-04-28T07:53:59 | 2017-04-28T07:53:59 | 78,177,607 | 0 | 0 | null | 2017-01-06T05:42:46 | 2017-01-06T05:42:46 | null | UTF-8 | C++ | false | false | 3,314 | h | #pragma once
#include "ps.h"
#include "parameter/parameter.h"
namespace PS {
/**
* @brief Default entry type for KVMap
*/
template<typename V>
struct KVMapEntry {
void Get(V* data, void* state) { *data = value; }
void Set(const V* data, void* state) { value = *data; }
V value;
};
/**
* @brief... | [
"weiweijiuzaizhe@gmail.com"
] | weiweijiuzaizhe@gmail.com |
e0ca9b97e6f8ee724cfbf05f22a77d013136729c | 19560bc47afac90d2be3f7fe71b13fbd8e1134e1 | /BS_rand/Source.cpp | 07ef213b5b09cbdf1dba1d460d3870967ec930b1 | [] | no_license | rcpauor32/BS_rand | 72551dcf36fce588d3356e2f73e878450cf5c555 | cce8a547648004eb21dbd14b4df80fa355d6fe4d | refs/heads/master | 2021-01-10T05:04:02.924650 | 2016-03-07T08:56:27 | 2016-03-07T08:56:27 | 52,750,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "BS_rand.h"
int main(){
position ppos{ 1, 1 }, apos{ 1, 1 }, bpos{ 1, 1, 0 }, cpos{ 1, 1, 3 }, dpos{ 1, 1, 1 }, map_s;
printf("Choose a map size (x and y coord): ");
scanf_s("%d %d", &map_s.x, &map_s.y);
ppos.x = map_s.x / 2;
ppos.y = map_s.y /... | [
"rcolivepau@gmail.com"
] | rcolivepau@gmail.com |
a5e01f2bcdd9c9bb6d0ccef0ae94d418be3b4168 | 21deed24d8bde9f3b8ec3d5a8962766f7ff1bc2f | /nntrainer/dataset/databuffer_factory.cpp | 1cf80b09f29cb677ef16e63f1a9612aeadf36bd1 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | nnstreamer/nntrainer | 64658cc434b42323a21871c33cdb069751770daf | 08a1da0a2c22fd9495239d370cef8dc1d842a4fc | refs/heads/main | 2023-08-19T09:10:39.796512 | 2023-08-17T08:43:39 | 2023-08-18T10:35:14 | 249,615,315 | 134 | 70 | Apache-2.0 | 2023-09-14T12:58:28 | 2020-03-24T04:47:36 | C++ | UTF-8 | C++ | false | false | 2,468 | cpp | // SPDX-License-Identifier: Apache-2.0
/**
* Copyright (C) 2020 Parichay Kapoor <pk.kapoor@samsung.com>
*
* @file databuffer_factory.cpp
* @date 11 October 2020
* @see https://github.com/nnstreamer/nntrainer
* @author Parichay Kapoor <pk.kapoor@samsung.com>
* @bug No known bugs except for NYI items
* ... | [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
f75a4efe50bb400dc2dd65ff24712ad4b7b8cb63 | fe9508d70ec04e8e4923d31cfab42434c1957429 | /source/backend/cpu/x86_x64/avx512/SparseKernelFunctionEpx8.cpp | 5f7ffa94726f64308641f1d6660abcf53f4af3ca | [
"Apache-2.0"
] | permissive | wangpengcheng/MNN | 6bdd58fee6ed099542d80defb62ee777cd49cf3b | 344629419f710b39559e616f1af7bb7bd29617db | refs/heads/master | 2022-06-04T09:37:04.622676 | 2022-02-18T06:28:21 | 2022-02-18T06:28:21 | 194,116,838 | 0 | 0 | null | 2019-06-27T15:06:45 | 2019-06-27T15:06:44 | null | UTF-8 | C++ | false | false | 41,875 | cpp | //
// SparseKernelFunctionEpx8.cpp
// MNN
//
// Created by MNN on 2021/08/18.
// Copyright © 2018 - 2021, Alibaba Group Holding Limited
//
#include "FunctionSummary.hpp"
#include "core/Macro.h"
#include "SparseKernelFunction.hpp"
void _AVX512_MNNPackedSparseMatMulEpx8(float* C, const float* A, const float* B, siz... | [
"xiaotang.jxt@alibaba-inc.com"
] | xiaotang.jxt@alibaba-inc.com |
fd47f5eb7b746270d2bfbe034255738fa1d00126 | d9a7afdf160f15a2a8bc5f07e07a0422c5d8da8b | /3-work/qt/qt-HMIClient/HMIClient/application.cpp | 22529d44c61abd93046ffcb22e1bcd019e2d94a4 | [] | no_license | programcj/programming_path | 964cd53fdef74041241ebe392eeb0c4566eb1d89 | 04a410492a9ee7173612122e367ac1c5b101d7ce | refs/heads/master | 2021-12-15T10:43:33.066541 | 2021-12-11T10:20:01 | 2021-12-11T10:20:01 | 184,296,551 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,335 | cpp | #include "application.h"
Application *Application::self;
Application::Application(int& argc, char** argv) :
QApplication(argc, argv)
{
self = this;
qDebug()<< "start..";
//数据库初始化,数据库打开
sqlite::SQLiteBaseHelper::getInstance().init(FILE_NAME_DATABASE, 0);
//是否是新版本 //如果不等于数据库中的版本 就... | [
"aa"
] | aa |
93440732ad87e2e07ac970c48f4639af0d87a45f | a0a620497a3c3d2676bdc8fa17ff51f59754f7b4 | /1331A.cpp | 4eba63c55d2312ef055cef4a6f5f42b6766275b3 | [] | no_license | Sahilkalamkar/Codeforces_Solutions | 3da7b79e5acad2189b8e7f662242040700e18f56 | b9045b13003ea80276900a068f120a5bbd8fbbde | refs/heads/master | 2021-10-27T07:18:46.664126 | 2020-10-31T16:38:19 | 2020-10-31T16:38:19 | 216,762,951 | 8 | 17 | null | 2020-10-31T16:38:20 | 2019-10-22T08:31:50 | C++ | UTF-8 | C++ | false | false | 60 | cpp | #include<stdio.h>
int main(){
printf("NO\n");
return 0;
}
| [
"noreply@github.com"
] | Sahilkalamkar.noreply@github.com |
59332cc8acfa919b6a4d4d05077e74ba1b548dd2 | 29e5df6042cc59dee4ddaeb36e427df39abdd579 | /DataStructure/C++/图的基础/prim算法/PrimMST.h | c9c3efdce2357f21907a7c71d3d3693c9823d4d6 | [] | no_license | JoyTsing/SeeleNote | 843625266d80968e0b02401d6b9cb6a6245c578f | 22b9e2ba3a3e702820e4f47ccb140d8c463188c1 | refs/heads/master | 2022-12-16T06:02:22.093847 | 2020-10-28T17:05:53 | 2020-10-28T17:05:53 | 248,935,052 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,806 | h | #ifndef PRIMMST_H
#define PRIMMST_H
#include <iostream>
#include <vector>
#include <cassert>
#include "Edge.h"
#include "IndexMinHeap.h"
using namespace std;
template<typename Graph, typename Weight>
class PrimMST{
private:
Graph &G;
IndexMinHeap<Edge<Weight>> ipq; // 最小索引堆, 算法辅助数据结构
vector<Edge<Weight>*> edgeT... | [
"49611853+JoyTsing@users.noreply.github.com"
] | 49611853+JoyTsing@users.noreply.github.com |
4f1a40d666f8d72ccbb3d4fd90164dc652b5fc27 | e73580b1e9abc605df0811296fb82268e0b65fc7 | /xa_nnlib/test/android_nn/android_deps/android/system/libhidl/base/include/hidl/Status.h | 0d836420b588f128d68f103d7f96ddee0659e75d | [
"LicenseRef-scancode-other-permissive"
] | permissive | hongshui3000/nnlib-hifi4 | d09a7fe02f29792869a5b9ff7c64f86a09d1ed2b | 2e21151e574e8c86fe76b6d6dde3596ef95facf9 | refs/heads/master | 2022-11-25T19:14:21.516763 | 2020-08-05T13:05:24 | 2020-08-05T13:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,156 | h | /*******************************************************************************
* Copyright (c) 2018-2020 Cadence Design Systems, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to use this Software with Ca... | [
"nyadla@cadence.com"
] | nyadla@cadence.com |
4e6a81933ebb8e159a4512c1ea12e18317568771 | 8754c41fcc44656f1b0e8a6b61bd4b9842d0a598 | /Source/SynthVoice.h | 0a532f64e68a17b60d5b54240209d4c6cc39ea23 | [] | no_license | GAllen425/SynthFramework | b0b5dab4be6f0f378b1f4c845e0695741d7fc227 | dc3c67e5e9cca5571b5f699e5a42962e2d683771 | refs/heads/master | 2020-09-02T07:11:52.177106 | 2019-11-02T14:21:30 | 2019-11-02T14:21:30 | 219,163,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,090 | h | /*
==============================================================================
SynthVoice.h
Created: 25 Sep 2019 10:45:24pm
Author: Gareth
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "SynthSound... | [
"gallen.coding@gmail.com"
] | gallen.coding@gmail.com |
b9c3720c4480e66cd654b4797bf70a5dd7deece3 | 194bb104e61f0785c4e56ff926dd56cfeaca9f41 | /Pinball 3D Smack Attack/Test/Il2CppOutputProject/Source/il2cppOutput/System.cpp | b910a5b0fc1c81a4d227e2b9dd1c6db0f80f6f33 | [] | no_license | Kera-Kera/AINT-254 | 132578337452416f5e35e6af55ffd90811190b41 | a03726a327bfef00429f2653a0139ab145527763 | refs/heads/master | 2021-06-23T01:28:52.060138 | 2021-04-19T08:46:02 | 2021-04-19T08:46:02 | 212,973,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,104,350 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/Mono.Unity/UnityTls.h... | [
"56071574+Kera-Kera@users.noreply.github.com"
] | 56071574+Kera-Kera@users.noreply.github.com |
23899b52b79c25320e38c18d89684cd1d99fbd4d | 7c279114a2b91f5027d4eec7a96805cd2f9fe02e | /ltcode/palindrom-partitioning.cc | 6aa4dc8936551da42cb0d1d5979bc657afe11b0e | [] | no_license | pmemma112/tomb | be4fbc570dfb03be03926b430da6c18469199ce5 | 63125a123d1f470ded5538c913ce18e9b45ade14 | refs/heads/master | 2020-12-28T21:39:10.802156 | 2015-04-04T14:16:39 | 2015-04-04T14:16:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,625 | cc | #include <cstdio>
#include <cstdlib>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
vector< vector<string> > partition(string s) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
const int size = s.size();... | [
"dirtysalt1987@gmail.com"
] | dirtysalt1987@gmail.com |
009be65d88f737134dc4c24d241cfc59210c9675 | 6b53d6ad238c4accd27cf584284b4d6846e56554 | /Sources/Editor/Editor.cpp | 2038b3c75eee1ba6378d4cecca0d189796294def | [
"Apache-2.0"
] | permissive | IvanPleshkov/RedLiliumEngine | 1dc5f25cabe2c703a648141122cf3482e24b9898 | 5e7c14d9c750db8054bde53b772e30e3682c2f1d | refs/heads/master | 2021-12-31T20:23:17.584013 | 2019-04-07T14:29:05 | 2019-04-07T14:29:05 | 140,816,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | cpp | #include "pch.h"
#include "Editor.h"
using namespace RED_LILIUM_NAMESPACE;
Editor::Editor(ptr<TypesManager> typesManager)
: m_isModified(false)
, m_currentAction(nullptr)
, m_typesManager(typesManager)
, m_undoStack()
, m_undoStackPosition(m_undoStack.end())
{
}
void Editor::HandleEvent(ptr<Event> event)
{
RED... | [
"pleshkov.ivan@gmail.com"
] | pleshkov.ivan@gmail.com |
67db32b6058158cdf2ed8eae7216701fb3b2825d | 4a08c48c3caea67baf9710f29dfadd7af6f00d0b | /sort/shellsort.cpp | 6ba15bcea2504bc503a1bc9a413b778032e3d933 | [] | no_license | Accagain2014/al-ds | f091af59d61777c91d498fcf4c4ad174ba7c8eb7 | 336b000ff25fe34bd19d8ed4db7b50e32625d694 | refs/heads/master | 2016-08-07T17:08:29.534958 | 2015-04-03T07:49:05 | 2015-04-03T07:49:05 | 32,131,478 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 928 | cpp | /*
shell排序
算法描述:每次按相同步长分组,同组往前插入排序,小于前面交换,
再继续往前,直到前面大于,减小步长,再排
平均时间复杂度:O(n^1.3)
不稳定
*/
#include<iostream>
#include<cstdlib>
#include<cstdio>
using namespace std;
void shellsort(int v[],int n) //1~n
{
int gap=n-1;
do
{
gap=gap/3+1;
for(int i=1+gap;i<=n;i++)
... | [
"chenmaosen0@gmail.com"
] | chenmaosen0@gmail.com |
4938341602d75bcb3c10f365c662f96afb6e91d6 | b1ec0f87e6e77f4e7c50fe582dc0a89f17a4613f | /plugins/MacVST/IronOxide5/source/IronOxide5.cpp | 2d7c84f05c6a29db0dd461d16abd9cbd74c33d7d | [
"MIT"
] | permissive | rockyplum/airwindows | 36664277b8e6a2e6377edfaaa9cef2626a31e889 | c27e202a05f5ff3bd1d0f060215e5024e5c7d099 | refs/heads/master | 2020-04-16T05:03:41.369230 | 2019-01-06T22:29:55 | 2019-01-06T22:29:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,793 | cpp | /* ========================================
* IronOxide5 - IronOxide5.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __IronOxide5_H
#include "IronOxide5.h"
#endif
AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new IronOxide... | [
"jinx6568@sover.net"
] | jinx6568@sover.net |
4e20e350f508f6e37a6cdacc18073487a2feff47 | fd3c21cd620334a93a5c0768aad93db6595515e3 | /shibari/shibari_import_linker.cpp | 0aa59544b7c9768492194a73ce3ef27e9b886783 | [
"BSD-3-Clause"
] | permissive | Waterman178/shibari | d4b1f4bf0970ee68242b3d2885a434cd923398b6 | 5b0bc7b7b886fe0c9b19f5e4d97c7e969edacb56 | refs/heads/master | 2020-09-23T13:03:36.713209 | 2019-06-07T21:04:20 | 2019-06-07T21:04:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,828 | cpp | #include "stdafx.h"
#include "shibari_import_linker.h"
shibari_import_linker::shibari_import_linker(std::vector<shibari_module*>* extended_modules, shibari_module* main_module)
: extended_modules(extended_modules), main_module(main_module) {}
shibari_import_linker::~shibari_import_linker(){}
shibari_linker_err... | [
"jnastarot@yandex.ru"
] | jnastarot@yandex.ru |
c7c74c1923cc1eaebc5e873371c95c6c3628622f | 48ff6b5c22b0e81f7b381d9d3f10a134257f1635 | /http_server/http_server_multithread.h | d49879c5f4fa8f91ad7f7ada2eb47a56e43d2ebc | [
"MIT",
"CC-BY-3.0"
] | permissive | dxcheng25/ece459w15-tut02 | 5f99bb6b4f0e27014f587d4989bab22fd0f44005 | 68c776b65d25ab80a5b34937f7934d933e606e4f | refs/heads/master | 2020-04-13T09:38:55.939629 | 2016-11-15T04:58:43 | 2016-11-15T04:58:43 | 73,776,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | /* ECE 459 Tutorial 2
* A simple HTTP Server implementation to
* demostrate the usage/performance of asynchronous multiplexing.
*
* A simply working version that does NOT care about request headers
* Send "Hello World" back WHENEVER a request is received
* Does NOT support HTTP 1.1 pipelining
* Use with httperf ... | [
"David Cheng"
] | David Cheng |
a4431eb450935a62a68146d5aac727b06aea91c0 | 47503dd5bf45a2136caa7f0d7bbe22b51a6915ce | /C++_Solutions/Codeforces/Raif/1/d-bouncing-boomerangs.cpp | d69c66623bc1ea0504b6921d448f798e18dfa58a | [] | no_license | TheKillerAboy/programming-olympiad | 7657f67da0ec6c24d61a58bc9f1cd985fbc7185d | 78980db0cf35b324d47e8eab1f8ae4e441f5ab7d | refs/heads/master | 2021-12-28T22:17:59.131008 | 2021-10-25T08:06:01 | 2021-10-25T08:06:01 | 182,806,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i_,a_) for(int i_=0;i_<a_;++i_)
#define FORS(s_,i_,a_) for(int i_=s_;i_<a_;++i_)
#define FORR(i_,a_) for(int i_=a_-1;i_>=0;--i_)
#define FORI(i_,a_) for(int i_=1;i_<=a_;++i_)
#define FORA(i_,a_) for(auto i_:a_)
#define FOR1(i_,a_) for(int i_=1;i_<a_;++i_)
#def... | [
"annekin001@gmail.com"
] | annekin001@gmail.com |
c13ff65252c582667d384da7527042c29978ada9 | 57ec6def4e88141f002fd6c90944b444321d8f96 | /base/VulkanDebug.cpp | 30842bbe3a2ba117617e49ce94b5dcdd9d5aa26c | [
"MIT"
] | permissive | willbetheone/VulkanSample | 2be302052750e8ab224de5c83e4f59b68901d052 | 5f327f8d66b17fdaf9d38328b71f40382cb87b50 | refs/heads/master | 2022-03-31T06:21:08.447750 | 2018-05-15T19:53:16 | 2018-05-15T20:01:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,850 | cpp | /*
* Vulkan examples debug wrapper
*
* Appendix for VK_EXT_Debug_Report can be found at
* https://github.com/KhronosGroup/Vulkan-Docs/blob/1.0-VK_EXT_debug_report/doc/specs/vulkan/appendices/debug_report.txt
*
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license ... | [
"jaebaek@google.com"
] | jaebaek@google.com |
6a81c398bef731bd2f585380b7a9827a2942201d | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosUtilsUA/include/GmKillAtSteppingActionRandomUA.hh | 8ac28a8f6b30d047b8e1baf8aa9d5720938cfd78 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | hh | #ifndef __GmKillAtSteppingActionRandomUA__
#define __GmKillAtSteppingActionRandomUA__
#include "GamosCore/GamosUserActionMgr/include/GmUserSteppingAction.hh"
#include "GamosCore/GamosUserActionMgr/include/GmUserRunAction.hh"
class GmKillAtSteppingActionRandomUA : public GmUserSteppingAction, public GmUserRunAction
... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
4696f25da609e6d1d501587034f461a03745ee17 | d6f346eaaa024320a677830c024cfc08d7221b2b | /Ueb3/Übungszettel/acvproject.cpp | 031488a1a90ecbf562347031b3ecc011ef1d11e4 | [] | no_license | Cirromulus/ElektronischeBenisVerlaengerung | ff6fcd7c601d6aa9932aa1d293f961cdcb65d2e3 | 15e5d16790855027275c9a0e4f62c18afa8d0f02 | refs/heads/master | 2021-01-19T11:31:40.623719 | 2017-07-04T21:28:39 | 2017-07-04T21:28:39 | 87,971,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,402 | cpp | #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <algorithm>
#include <iostream>
using namespace std;
using namespace cv;
// The images are very large, hence for displaying they are scaled down to
// the size below.
int windowWidth = 1200, windowHeight = 600;
string windowname... | [
"lukas@bertram-bremen.de"
] | lukas@bertram-bremen.de |
23244eeb29cf19fc29ba6a7114c50580bbe99992 | 4c4553a098ec363e3b2ec4005770d65a96acd457 | /src/includes/TempPtr.h | 03e58fe6448a321ce00b03fb582e8a1695eb0aac | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-philippe-de-muyter",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dsamersoff/spamprobe | 33fac63edd5c745a652a085acdd60c1e0777f807 | b957379a659f6d8195f9248baf0e44b22334b306 | refs/heads/master | 2023-03-14T21:41:37.435296 | 2013-08-23T23:17:17 | 2013-08-23T23:17:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | h | ///###////////////////////////////////////////////////////////////////////////
//
// Burton Computer Corporation
// http://www.burton-computer.com
// http://www.cooldevtools.com
// $Id$
//
// Copyright (C) 2007 Burton Computer Corporation
// ALL RIGHTS RESERVED
//
// This program is open source software; you can redist... | [
"gennad@dreamindustries.co"
] | gennad@dreamindustries.co |
8b164586f80d13754d9c54357f29bc0dffb50c5d | 9f6a016ee1303e2f2bdab38210200a0d3606bc45 | /src/clinput.cpp | ccffe421b7d2fb28e1ed0595111791e30748f97c | [] | no_license | MechMania-27/Visualizer | 4c812c0fd6019a5aba36d61f83189af19156c2c5 | 38cb3474de3cd2d1e9fb17c5404c9d524f714bef | refs/heads/main | 2023-08-23T01:21:42.858041 | 2021-10-02T16:04:49 | 2021-10-02T16:04:49 | 311,720,809 | 0 | 0 | null | 2021-10-02T15:57:25 | 2020-11-10T16:34:29 | GDScript | UTF-8 | C++ | false | false | 443 | cpp | #include "clinput.h"
#include <iostream>
#include <string>
using namespace godot;
void CLInput::_register_methods() {
register_method("read_line", &CLInput::read_line);
}
CLInput::CLInput() {
}
CLInput::~CLInput() {
// add your cleanup here
}
void CLInput::_init() {
// initialize any variables here
}
... | [
"sahilshahpatel@gmail.com"
] | sahilshahpatel@gmail.com |
2957b7c663b567536fe1a0d796105b8e2b143e36 | 581bfcd350fbcc562272feb5615e54b055fbc098 | /AntiMatterTestUE4/Source/AntiMatterTest/Public/AbilitySystem/AMBaseGameplayAbility.h | 7b7d6f1902de646782379c9d9032e86676c53740 | [] | no_license | NitinParmar7/AntiMatterTest | c59137877a40fdd3f0f905c78faea335f889d86e | 7b2347ce8c8e293adbb60dd34857e4d9ae826e4d | refs/heads/main | 2023-07-26T03:37:06.910463 | 2021-08-31T20:41:44 | 2021-08-31T20:41:44 | 401,834,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | h |
#pragma once
#include "CoreMinimal.h"
#include "Abilities/GameplayAbilityTypes.h"
#include "GameplayAbilitySpec.h"
#include "AMTypes.h"
#include "Abilities/GameplayAbility.h"
#include "AMBaseGameplayAbility.generated.h"
/**
*Base Gameplay Ability
* All ability should inherit this
* Holds input id and activate on ... | [
"nitinprmr75@gmail.com"
] | nitinprmr75@gmail.com |
3ab8f7bb6f2068cdb48d889d5cf3f0bbccbb93bf | bdadbceab2bb2ccbe7b2651fc5fd2c1a3cb99d0d | /1_入门/6_坐标系统/2立方体/main.cpp | d7c1e701bb2f3fd14a00e2242004239203a6d9d6 | [] | no_license | lxbhahaha/OpenGL_Learning | 03a543a5bf42624c16ac642216dd1c4d5b75b83a | 298475e5b0000709af2b5f0c0f7e00be6bea4f9b | refs/heads/master | 2020-12-05T05:45:10.349493 | 2020-03-01T15:23:36 | 2020-03-01T15:23:36 | 232,025,011 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,304 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include "shader.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
using namespace std;
void framebuffer_size_callback(GLFWwindow* window, int wid... | [
"1580622474@qq.com"
] | 1580622474@qq.com |
de808a6ca2ae853acfe14004c7b02e6222099eb2 | ed4f2e52f955d5d0a70cf7b11f932171c0f9b446 | /source/QueryProcessor/HandlePT.h | 3ff25a8c34ee66e9857bf4464a09087bc7be7548 | [] | no_license | AnHaNguyen/SPA | 641f54e2f4f429d84e655492ff9f98a0db258457 | bf408e93ef42fffff350aa807df1b9acae55f0d1 | refs/heads/master | 2021-03-22T01:36:56.559084 | 2015-11-13T16:38:38 | 2015-11-13T16:38:38 | 41,237,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #ifndef HandlePT_H
#define HandlePT_H
#include "../PKB.h"
#include "../QueryProcessor/HUtility.h"
#include "../QueryProcessor/HandlerStruct.h"
#include <string>
#include <vector>
using namespace std;
class HandlePT {
public:
HandlePT();
~HandlePT();
void handleAssign(string ptFirst, string ptSecond,
vector<stri... | [
"bihuutue@gmail.com"
] | bihuutue@gmail.com |
688c668c3390bba576b35ef522dfdf385c0e2e5b | 785df77400157c058a934069298568e47950e40b | /TnbPtdModel/TnbLib/PtdModel/Form/ThreePars/PtdModel_ThreeParsForm.hxx | 42c2ac1f04cab708bfa3bb0bb5db0c74ee3b73f1 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 1,977 | hxx | #pragma once
#ifndef _PtdModel_ThreeParsForm_Header
#define _PtdModel_ThreeParsForm_Header
#include <PtdModel_Form.hxx>
namespace tnbLib
{
class PtdModel_ThreeParsForm
: public PtdModel_Form
{
/*Private Data*/
std::shared_ptr<PtdModel_Par> theX0_;
std::shared_ptr<PtdModel_Par> theX1_;
std::shared_ptr<P... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
2f1dffc17c53952198a4f62626a00b15b108ea64 | d727bcd4b84493a4731bdab8ec82f6cb64b576f4 | /Zombie_Game/src/ECS/PlayerKeyComponent.cpp | dc56e2f13f61ee475903f27170b3c66a6ab31097 | [] | no_license | HSingh18/C_C--Files | e68b480e3a3f52cea0b11880fe091c6ab7eb9bc0 | e6b7f0e3ca60864fe836465eeb32889203496e24 | refs/heads/master | 2020-08-13T04:48:06.048529 | 2019-10-13T23:33:52 | 2019-10-13T23:33:52 | 214,909,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include "PlayerKeyComponent.h"
//#include "../leaker.h"
void PlayerKeyComponent::ShotBullets()
{
entity->getComponent<MagazineComponent>().Shots();
}
void PlayerKeyComponent::Flip(SDL_RendererFlip asd)
{
entity->getComponent<SpriteComponent>().flipType=asd;
}
| [
"38409333+HSingh18@users.noreply.github.com"
] | 38409333+HSingh18@users.noreply.github.com |
cd5fb3e4fb26caa255b375997adc37535256708c | 8de9a657998ccdbe5e52f5a9766aae81abe04902 | /src/jsoncons/json_serializer.hpp | c936c371a38504529e381621a6e63e51edcada5a | [] | no_license | Aeroglyphic/OpenMx | cacdef2a3743bb3981ebd0545adfa8b81d2e17bc | 0055eb0299eae2c985cd6f6859b9e6f7ec236d23 | refs/heads/master | 2020-03-28T06:57:44.389053 | 2018-09-07T18:43:38 | 2018-09-07T19:54:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,031 | hpp | // Copyright 2013 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See https://github.com/danielaparker/jsoncons for latest version
#ifndef JSONCONS_JSON_SERIALIZER_HPP
#define JSONCONS_JSON_SERIALIZER_HPP
... | [
"jpritikin@pobox.com"
] | jpritikin@pobox.com |
4794ce29aef3bb97d9172313025604c8fc9be0dc | bfcede495bef6f559273d87827de41ca1afec11f | /codeforces/101072A.cpp | 1ccd0a263908696db3283ea5f108c96a5618b6ad | [] | no_license | gabrieltaets/Competitive-Programming | b2c5a5b2d1d2bead8dfc9c7b699bcb12b0752d2a | 4e54a0dbf869ff2e10f10c2cbc03edcf3daa75d0 | refs/heads/master | 2021-01-02T15:39:00.448915 | 2017-11-01T04:32:55 | 2017-11-01T04:32:55 | 99,305,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include <bits/stdc++.h>
#define F first
#define S second
#define mp make_pair
#define pb push_back
#define INF 0x3f3f3f3f
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
bool isPower2(int x){
int cnt = 0;
for(int i = 0; i < 32; i++){
if(x&(1... | [
"gabrieltaets@gmail.com"
] | gabrieltaets@gmail.com |
6f97a05ee052c7be8cd96b373532ee84a9d349a1 | c60e4f97890cc7329123d18fd5bc55734815caa5 | /3rd/xulrunner-sdk/include/imgIContainer.h | 1b2de18f0572a8b3a4ab1fa3ad0df859486708d6 | [
"Apache-2.0"
] | permissive | ShoufuLuo/csaw | cbdcd8d51bb7fc4943e66b82ee7bc9c25ccbc385 | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | refs/heads/master | 2021-01-19T10:02:51.209070 | 2014-04-30T19:53:32 | 2014-04-30T19:53:32 | 16,976,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,887 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/modules/libpr0n/public/imgIContainer.idl
*/
#ifndef __gen_imgIContainer_h__
#define __gen_imgIContainer_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL f... | [
"luoshoufu@gmail.com"
] | luoshoufu@gmail.com |
8465a5cc1e7250db60c43c1096b0348959a9432e | e4cbf450405d80e8fbbf8d904c6fbb6cf77e5225 | /BalancingRobotGui/screendata.cpp | 8170915352371a3fbec8c5ac417459c690639d8d | [] | no_license | peder2key/Balancing-Robot | a8313e1b4dda1006ccbf685b088d20da9dccd623 | 4d65c13e3bb4832aa47e3859be76e46b31648097 | refs/heads/master | 2020-06-04T05:23:35.500119 | 2015-09-01T20:00:33 | 2015-09-01T20:00:33 | 40,203,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | cpp | #include "screendata.h"
ScreenData::ScreenData(QObject *parent) : QObject(parent)
{
getScreenResolution();
CalculateRatio();
QScreen *mScreen = QApplication::screens().at(0);
connect(mScreen, SIGNAL(orientationChanged(Qt::ScreenOrientation)), this, SLOT(Orientation(Qt::ScreenOrientation)));
}... | [
"emir_10589@hotmail.com"
] | emir_10589@hotmail.com |
0c11941cdd7685fe3aabbbb83d1ca7fb8d278613 | 92e7a96c196e563b70f78db321680d830af80a53 | /FastTrader/gui-common/TopException.cpp | a48beb2eac67bd8c81a59e96918776f50ab4cd18 | [] | no_license | alexfordc/zq | 513723341132dd2b01f5ca3debb567b2fd31c033 | a0b05b7416fe68784e072da477e8c869097584e2 | refs/heads/master | 2021-05-25T14:19:37.317957 | 2018-02-24T05:57:23 | 2018-02-24T05:57:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,928 | cpp | #include "StdAfx.h"
#include "../inc/Module-Misc2/GlobalConfigMgr.h"
#include "FileOpr.h"
#include "TopException.h"
#include <list>
#include <string>
using std::list;
using std::string;
//此文件只工作在Release模式
#include <dbghelp.h>
#pragma comment( lib, "dbghelp.lib" )
const int MAX_DebugBuffer = 4096; // 应用程序和调试器之间传递数据是... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
f5c6ef3e9914766f253c3bc4698c8ad84986139b | c07ae0ce4d0dafb5ceacbde9e9d54b8f8a848f99 | /Arduino/ROBOT/slave_indev/LCD.ino | ac62abc74d98b932105a7c17b564449c8a8e1965 | [] | no_license | rezasaputrayusuf/univ_pancasila_ftup_project | 745dc0d324e1c9126455360a350f5f57763a7b1d | 249f6c4b78bb2959bebe81c481e78edc60fcdfa9 | refs/heads/master | 2021-01-13T02:11:21.897708 | 2015-04-14T23:40:19 | 2015-04-14T23:40:19 | 33,922,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | ino | #include <LiquidCrystal.h>
LiquidCrystal lcd(1, 2, 23, 22, 21, 20);
void setupLCD() {
lcd.begin(16, 2);
}
void printLCD(String x) {
lcd.print(x);
}
void clear() {
lcd.clear();
}
| [
"reza22.saputra@gmail.com"
] | reza22.saputra@gmail.com |
f76cfc2b6a6cce6b17b0dd593c1e213ddc44e186 | 43517a83f83de60e9ee8255a7c737bee190d5697 | /ONP.cpp | 05c1df018911e810437a53e8ac35949fb50cb887 | [] | no_license | Firoda/Data-Structures-and-Algorithms- | 09e7794757438cf8ef44e575ad6b134ef4414afc | 71039566bed9476250f4057d635d496ca22d06ef | refs/heads/master | 2021-03-06T19:17:54.074309 | 2020-03-10T05:57:27 | 2020-03-10T05:57:27 | 246,218,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | #include<iostream>
using namespace std;
int main()
{
int test;
cin >> test;
while(test--)
{
}
return 0;
}
| [
"adityafiroda@gmail.com"
] | adityafiroda@gmail.com |
adf78749c275e67a615fb8ba7fe1e499d11524d7 | 50c2a39b3794e6eb6b6c81b509c16c2161b6cd73 | /gears-engine/Mouse.h | 207f423c1333103389b6e89c12dfc38a7615e62b | [] | no_license | complexmuhm/gears-engine | 549345a6796dfcc11136e65ae237da6a05ea8aa1 | ea6a5e6db1d756fed5463cdd9722585e1cd7dc37 | refs/heads/master | 2020-09-26T08:42:00.220792 | 2019-12-09T01:40:56 | 2019-12-09T01:40:56 | 226,219,554 | 2 | 0 | null | 2019-12-07T16:21:50 | 2019-12-06T01:19:29 | C++ | UTF-8 | C++ | false | false | 1,400 | h | #pragma once
#include <queue>
#include "Vector.h"
class Mouse
{
friend class Window;
public:
struct Event
{
enum class Type
{
LMouseButtonPressed,
LMouseButtonReleased,
RMouseButtonPressed,
RMouseButtonReleased,
WheelUp,
WheelDown,
Move,
Enter,
Leave,
Invalid
};
Event(Type typ... | [
"muhammed.ceyhan@outlook.de"
] | muhammed.ceyhan@outlook.de |
5337fce7ef13d49208284dad4b44482c29df87c5 | bc425c951fee457ce66ec2e857439c0da575bbf1 | /stl quickstarts/queue.cpp | 6d6f31b7eaf00cc2ef2b4f8e1b9472ef238c5d70 | [] | no_license | prasannabisen/my-code- | 10efb22df462c5998d2f846270fe37d7960cc98c | f97d232359bfb541dc24840cd5a05e6ac2fbb429 | refs/heads/master | 2023-03-26T21:18:24.285908 | 2020-10-19T21:49:52 | 2020-10-19T21:49:52 | 274,439,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include<iostream>
#include<queue>
using namespace std;
int main()
{
queue<int>l;
for(int i=0;i<=5;i++)
{
l.push(i);
}
while(!l.empty())
{
cout<<l.front();
l.pop();
}
} | [
"prasannabisen@gmail.com"
] | prasannabisen@gmail.com |
597bcf9277f40ad1eaf9e3e3cc58fedd9b62f0ef | bd35373d773ef17ea3c4f07398b98237e00a0a6d | /programstool/linked list all programs/linkedlist2/findNodeinLLrecursive.cpp | 6a06603915d6cf4381cd264d4eb1991b08c33437 | [] | no_license | NilanshBansal/DataStructures | e5868a0a38dcc12b4bb0f383dbe65c03548f87c0 | 8ec784a212bca2218cdda754553e68bd522be533 | refs/heads/master | 2020-03-21T16:38:18.016299 | 2019-02-22T07:05:57 | 2019-02-22T07:05:57 | 138,782,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | Find a node in LL (recursive)
Send Feedback
Given a linked list and an integer n you need to find and return index where n is present in the LL. Do this recursively.
Return -1 if n is not present in the LL.
Indexing of nodes starts from 0.
Input format :
Line 1 : Linked list elements (separated by space and terminated ... | [
"bansalnilansh@gmail.com"
] | bansalnilansh@gmail.com |
5fccc26a22df1b8f461a10163fd50ce88524e74d | 7260addd8b02a79f60d8831a946c77ecb49497f3 | /enemigos.h | 3abc7fc7eb87eb59461b40a59d17cfb214cf02f5 | [] | no_license | juangquevedo/juego_proyecto_final | 3c8e31db893824bfc61a1ccf89c5813a12b899b8 | af293f855aaf7c9dde777d49e50c66f1d30371b6 | refs/heads/master | 2022-11-27T10:19:44.039132 | 2020-08-04T19:51:24 | 2020-08-04T19:51:24 | 281,412,614 | 0 | 0 | null | 2020-08-04T19:29:33 | 2020-07-21T13:58:00 | C++ | UTF-8 | C++ | false | false | 531 | h | #ifndef ENEMIGOS_H
#define ENEMIGOS_H
#include <QGraphicsPixmapItem>
#include <QPixmap>
#include <math.h>
#include <QtDebug>
//manjeo de los enemigos
class enemigos: public QGraphicsPixmapItem
{
public:
//constructor
enemigos();
//metodos de la clase
void mover(int px, int py);
b... | [
"noreply@github.com"
] | juangquevedo.noreply@github.com |
965e6042188ae66b556df1b90775741725df3884 | c3b2925c156e28f3e5e2a7392b3c78fb18bf7b6e | /scr/CPPFiles/auxiliar.cpp | 0967944ea392037a118e4ecdafb4e9b7a5c0ce7c | [] | no_license | Rloret/Render_Engine | 403df01aa0a2ae80b42e5efc1fbb0ce5c20170ca | d59ca950bfb1a45071f7b696e426c5758fe6d87c | refs/heads/master | 2020-03-26T20:33:31.742064 | 2018-08-19T19:41:33 | 2018-08-19T19:41:33 | 145,327,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | cpp |
#include <windows.h>
#include <fstream>
//Carga de texturas
#include <FreeImage.h>
#define _CRT_SECURE_DEPRECATE_MEMORY
#include <memory.h>
#include "..\HeaderFiles\auxiliar.h"
//////////////////////////////////////////
// Funciones auxiliares ya implementadas
//Funciones para la carga de los shaders
char *loadStr... | [
"Ricardo@DESKTOP-GEQVLDE"
] | Ricardo@DESKTOP-GEQVLDE |
c997f18b38804911d5fc3025cb31a70ee175b588 | e07149287079e60df84242a8a1b7edd36f8c92f1 | /concept/sorting/quick.cpp | 68fb9a00e487b373de3da6d6d59304b78a939e98 | [] | no_license | hypernova1/algorithm | f34a529d4be55e5604051bfe6fbbeedfc6e2ce8c | c04a89f2b21cb2268ea8f23c19015d2b1baa2afe | refs/heads/master | 2023-03-21T08:41:02.957055 | 2021-03-12T14:45:48 | 2021-03-12T14:45:48 | 270,286,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,074 | cpp | #include <iostream>
/*
* 퀵 정렬 (분할정복 알고리즘)
* 1. 첫 번째 요소를 기준 값(Pivot)으로 설정한다.
* 2. 피봇을 기준으로 오르쪽으로 탐색하면서 피봇보다 큰 요소를 선택한다.
* 3. 피봇을 기준으로 왼족으로 탐색하면서 피봇보다 작은 요소를 선택한다.
* 4. 선택된 두 요소의 자리를 바꾸고 다시 2로 돌아가서 반복한다.
* 5. 작은 값 요소의 인덱스가 큰 값 요소의 인덱스보다 작다면 (엇갈렸다면) 더 작은 값 요소와 피봇 요소의 위치를 바꾼다.
* 6. 피봇 보다 왼쪽에 있는 요소의 집합과 ... | [
"hypemova@gmail.com"
] | hypemova@gmail.com |
7001a09cee91b781848373a85c58dfc7c0abdede | cda2aec639203f9cf05eee6614b449c350ff1452 | /CaptainAmericaAndTheAvengers/rapidjson-master/test/unittest/readertest.cpp | e5308019d41731beb4f2e5b2878655795683cf67 | [
"JSON",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"MIT"
] | permissive | nguyenlamlll/CaptainAmericaAndTheAvengers | e18b449e7a463d776321ecdd8b9279eefbd43896 | 73494d11d59d8f3a08326e22fca0db4cf0b108eb | refs/heads/master | 2022-12-18T09:48:35.939923 | 2019-09-21T10:23:19 | 2019-09-21T10:23:19 | 196,942,989 | 0 | 0 | MIT | 2022-12-08T05:53:39 | 2019-07-15T07:01:54 | C++ | UTF-8 | C++ | false | false | 73,257 | cpp | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obta... | [
"lam.le@2clicksolutions.com"
] | lam.le@2clicksolutions.com |
25afb37bff706bba4501c4c079485825eb9b003c | 8194c153de598eaca637559443f71d13b729d4d2 | /ogsr_engine/Layers/xrRenderPC_R1/LightPPA.h | bd9f7fdae81f951dd4b3759e11afe2192302493b | [
"Apache-2.0"
] | permissive | NikitaNikson/X-Ray_Renewal_Engine | 8bb464b3e15eeabdae53ba69bd3c4c37b814e33e | 38cfb4a047de85bb0ea6097439287c29718202d2 | refs/heads/dev | 2023-07-01T13:43:36.317546 | 2021-08-01T15:03:31 | 2021-08-01T15:03:31 | 391,685,134 | 4 | 4 | Apache-2.0 | 2021-08-01T16:52:09 | 2021-08-01T16:52:09 | null | UTF-8 | C++ | false | false | 1,253 | h | // LightPPA.h: interface for the CLightPPA class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LIGHTPPA_H__E5B97AC9_84A6_4773_9FEF_3BC5D1CEF8B6__INCLUDED_)
#define AFX_LIGHTPPA_H__E5B97AC9_84A6_4773_9FEF_3BC5D1CEF8B6__INCLUDED_
#pragma once
#include "../xrRender/light.h"
... | [
"stalker.moderator@gmail.com"
] | stalker.moderator@gmail.com |
25dfec6b9487158b9e662242478c0da5b666d48b | f9a5fca4e1e1c2efd131716bb1c73616b912f677 | /lesson5/main.cpp | bc7f3c50735af100f6e76e0a23a8892d90b1a46a | [] | no_license | lizardlove/networkPorject | 0ca60cd0a4eb105de3612971722c38c8aed8fdc3 | 61034ff5e7bdb5fb8f906585ff54f1c64022b013 | refs/heads/master | 2022-10-29T20:56:41.199855 | 2020-06-19T05:10:30 | 2020-06-19T05:10:30 | 273,405,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp | #include <iostream>
#include <thread>
#include "TimerInterface.h"
#include "TimeDriver.h"
#include "AdvanceTimeWheel.h"
using namespace std;
class AdvanceTimer : public TimerInterface
{
public:
AdvanceTimer(int interval, bool needRepeat) : TimerInterface(interval, needRepeat) {
};
void ca... | [
"1026123335@qq.com"
] | 1026123335@qq.com |
3324e9cfa1e2ae6eb3549c8cef3b1b39e0490dfa | 084a264ee1c2f1d36db03988970cdedc1846799a | /rtc_base/filerotatingstream_unittest.cc | 3507ba526090437de3bda719e1779b6a2c1d8c5b | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",... | permissive | nareix/webrtc | 199410db65e18c1b277d50484673b9ffab54b124 | 123749a69270b2c0bf232887c3cf1cf6d03d016a | refs/heads/main | 2023-04-20T09:39:56.531907 | 2023-03-10T11:01:52 | 2023-03-10T11:01:52 | 214,553,776 | 0 | 1 | MIT | 2019-10-12T01:08:20 | 2019-10-12T01:08:19 | null | UTF-8 | C++ | false | false | 13,261 | cc | /*
* Copyright 2015 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b8cef29accba34e09cdb463a90226238f7a452cb | ec6557e07dc999782fccc44f78726fc5bc3bb0d8 | /ur_move_group_interface/include/ur_move_group_interface.h | e392dc6740e77460480dcb77d8febbfd264b0c87 | [] | no_license | tienhoangvan/ur5-pick-and-place | 56cae8267f34bef1523889002abc75f92d6c9369 | 76e1f4806a1d78092dc73e2058e03ef000ed41db | refs/heads/master | 2022-01-06T22:36:10.586681 | 2019-05-28T02:40:28 | 2019-05-28T02:40:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,483 | h | #ifndef UR_MOVE_GROUP_INTERFACE_H_
#define UR_MOVE_GROUP_INTERFACE_H_
// ROS
#include <ros/ros.h>
// MoveIt!
#include <moveit/move_group_interface/move_group_interface.h>
#include <moveit/planning_scene_interface/planning_scene_interface.h>
#include <moveit/planning_scene_monitor/planning_scene_monitor.h>
#include <... | [
"gunhee6392@gmail.com"
] | gunhee6392@gmail.com |
3dd66a7f8404713bb7480e92220d17516deb8bd0 | 70f6639cc5b453e4985d37cacb7521f4736bc873 | /qEngineV2/qEngine/qViewport.cpp | c272e75644dc6458b8ac4aadb4e6bb580682668e | [] | no_license | qdot/np_boneyard | 7621e85af0d8b556c8b811f9ec5b2bb71940fe82 | 64147a92129097c60ebe0115ec54a8dd5a72c803 | refs/heads/master | 2020-05-04T20:13:17.533947 | 2010-08-09T02:02:57 | 2010-08-09T02:02:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,522 | cpp | #include "qviewport.h"
namespace qEngine
{
qViewport::qViewport(void) : m_fScreenWidth(0.0f), m_fScreenHeight(0.0f), m_fOrthoClipNear(0.0f),
m_fOrthoClipFar(0.0f), m_fPOV(0.0f), m_fProjClipNear(0.0f), m_fProjClipFar(0.0f)
{
}
qViewport::~qViewport(void)
{
}
void qViewport::setScreenDimensions(float fWidth... | [
"kyle@nonpolynomial.com"
] | kyle@nonpolynomial.com |
5b8381c688ad9c0729505e56cc0681067168c100 | c992fcd35758d017fcc7d227f61a2fdfd098f0c0 | /githubTest/源.cpp | 905bdcba75ce7bf8e573440448e84b6d76e1d31d | [] | no_license | etwhy/githubTest | 4bca84646cf21da1a74ce910cb3bb7efc8e4bb62 | 344233e2f2f0168e2721fc91a648f56dcdb4d066 | refs/heads/master | 2020-05-29T17:48:13.762604 | 2019-05-29T19:33:47 | 2019-05-29T19:33:47 | 189,283,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | #include <iostream>
#include <Windows.h>
int main(void) {
std::cout << "Hello Github" << std::endl;
system("pause");
return 0;
} | [
"etwhy@qq.com"
] | etwhy@qq.com |
04a3e14d36a656c7bca4706eef572a5ccdaa4efa | d7db098f4b1d1cd7d32952ebde8106e1f297252e | /AOJ/1160.cpp | c81eea47a0d92809672af278d9026c733e3831a0 | [] | no_license | monman53/online_judge | d1d3ce50f5a8a3364a259a78bb89980ce05b9419 | dec972d2b2b3922227d9eecaad607f1d9cc94434 | refs/heads/master | 2021-01-16T18:36:27.455888 | 2019-05-26T14:03:14 | 2019-05-26T14:03:14 | 25,679,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include <iostream>
using namespace std;
int data[50][50];
int h,w;
int di[] = {0,-1,-1,-1,0,1,1,1};
int dj[] = {1,1,0,-1,-1,-1,0,1};
void dfs(int ci,int cj){
if(data[ci][cj] == 1){
data[ci][cj] = 0;
for(int i=0;i<8;i++){
int ni = ci + di[i];
int nj = cj + dj[i];
... | [
"tetsuro53@gmail.com"
] | tetsuro53@gmail.com |
6877e00cd3caf8de3a924a3cda8863d32cc1691a | 845abf347fa5f5715dd3379237e42e88fbca34a9 | /leetcode/673_number_of_longest_increasing_subsequences.cpp | 75814f88ab2add4f24e7b7b7864266d86ffe1b75 | [] | no_license | tariqul87/coding-practice | cf03375a08e8d78d8464960ccb26ee5937a12782 | 209814f8ddef2e9c202b7750f09e964b3fe8d117 | refs/heads/master | 2021-06-22T04:04:45.269606 | 2020-12-16T13:15:32 | 2020-12-16T13:15:32 | 158,011,562 | 0 | 0 | null | 2020-12-16T13:15:33 | 2018-11-17T18:11:38 | C++ | UTF-8 | C++ | false | false | 1,519 | cpp | class Solution {
public:
int findNumberOfLIS(vector<int>& nums) {
if (nums.size() == 0) {
return 0;
}
int n = nums.size();
vector<int> dp(n, 1), res(n+1, 1);
res[1] = 1;
for(int i=1; i<n; i++) {
int currentMaxLen = dp[i];
... | [
"tariqul.isha@gmail.com"
] | tariqul.isha@gmail.com |
928267e86b4335c2d083daaa6fecbf23b37f01f3 | 2c36841c1c3bef06fe4a82bd87cacc64425d08c7 | /Source/rclUE/Private/Msgs/ROS2ChannelFloat32Msg.cpp | 2e739ddfeb0804390cd93687075412113d418360 | [] | no_license | saratrajput/rclUE | 29edba1a9b5b218264880b60844e9da2a1474602 | 4521c29ac66caba6eb5aa91483e75751652f91bf | refs/heads/master | 2023-08-12T07:28:01.881375 | 2021-10-04T22:06:57 | 2021-10-04T22:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | // Copyright 2021 Rapyuta Robotics Co., Ltd.
// This code has been autogenerated from sensor_msgs/ChannelFloat32.msg - do not modify
#include "Msgs/ROS2ChannelFloat32Msg.h"
#include "Kismet/GameplayStatics.h"
void UROS2ChannelFloat32Msg::Init()
{
sensor_msgs__msg__ChannelFloat32__init(&channel_float32_msg);
}
void... | [
"christian.conti@rapyuta-robotics.com"
] | christian.conti@rapyuta-robotics.com |
c23a682292d62da954e36167b47e21823ee516cb | df7736726d5b041e46b490e409a1d4481ef8c7f1 | /clients/cpp/roscpp/src/libros/master.cpp | ed3b58d5c1ce62100ca61f95933e917c7fec8e33 | [] | no_license | strawlab/ros_comm | 62f5d2bc68d6cbe85c071eabb7487164d6c328be | 6f7ea2feeb3c890699518cb6eb3d33faa15c5306 | refs/heads/master | 2020-05-18T02:26:43.463444 | 2012-08-05T07:10:58 | 2012-08-05T07:10:58 | 5,301,610 | 13 | 31 | null | 2019-09-24T22:49:12 | 2012-08-05T07:10:44 | Python | UTF-8 | C++ | false | false | 6,719 | cpp | /*
* Copyright (C) 2009, Willow Garage, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the follo... | [
"strawman@astraw.com"
] | strawman@astraw.com |
d776da75adb68d16211b7da1666f3192dbf80399 | 181f9ffe43a942e95b889e89f7bc011b6f878d57 | /3411_dfs.cpp | d03c6ce0045b85637c8d239e4715b58535cdee2f | [] | no_license | BigDeviltjj/poj | fe2552b66426834320520ac15d8887dcea2f97fa | 925ed3e4104e1ce0c0f3bc1207e831e2a693b317 | refs/heads/master | 2020-04-23T14:18:55.254947 | 2019-08-14T08:42:33 | 2019-08-14T08:42:33 | 171,227,399 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<cstdio>
#include<cstdlib>
#include<algorithm>
#define INF 0x3f3f3f3f
using namespace std;
struct Edge
{
Edge(){}
Edge(int a_, int b_, int c_, int p_, int r_):a(a_),b(b_),c(c_),p(p_),r(r_){}
int a, b, c, p, r;
}e[100];
int N, M, cnt, ans = INF;
int vis[20];
void dfs(int p, int... | [
"18020167692@163.com"
] | 18020167692@163.com |
b5eada0c166d83732e40a971231f93d1731d4528 | ee57390d0b7c7299ab37939a3c9b11e427b470ad | /lib/Transforms/Scalar/EarlyCSE.cpp | 7f320d5f95a3c053834f468cec3fbc08a215457e | [
"NCSA"
] | permissive | Hatelix/NyuziToolchain | 2bf3af1da8f63f131590d9d245ea4003ebe0a4c8 | f7f036b55c1839328ee630a1d81919d1f294e801 | refs/heads/master | 2020-04-04T14:17:08.192165 | 2018-05-12T19:33:08 | 2018-05-12T19:33:08 | 155,993,376 | 0 | 0 | NOASSERTION | 2018-11-03T14:56:39 | 2018-11-03T14:56:39 | null | UTF-8 | C++ | false | false | 49,484 | cpp | //===- EarlyCSE.cpp - Simple and fast CSE pass ----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"jeffbush001@gmail.com"
] | jeffbush001@gmail.com |
3dfc3a74c3154f45ec43abf72b80389e7c20d751 | 350fe17d45d545242682e667c16c1aafb2f2c904 | /Client Extensions/main.cpp | d1d6f27c36588a1ea392834a81c39ea8efb6c741 | [] | no_license | hdelanno/titanmods | cd371984f26432b238087bac61bda395166e06fb | 1712e5bc5f9d192eca2666721475419c7da0adf2 | refs/heads/master | 2021-01-20T16:45:18.250756 | 2014-03-18T16:55:13 | 2014-03-18T16:55:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,997 | cpp | #include "main.h"
#include "Controls.h"
#include <TRose\RoseAPI.h>
#include <ExLIB\Directory.hpp>
#include <iostream>
AchievementList gAchievementList;
AchievementData gAchievementData;
char* gStats[] = {"MaxHP +5","MaxMP +5","Str +1","Dex +1","Int +1","Con +1","Cha +1","Sen +1","MaxHP +10","MaxMP +10","Atk ... | [
"james.benton2@gmail.com"
] | james.benton2@gmail.com |
fdb1421121404183fca681df2eb9f663f5d23376 | 2fe4305f59cbb4a54d652ed85f0a705118a0149b | /engine/include/libgba-sprite-engine/palette/palette_manager.h | dfd6b996d599bff00b3eece5197ea1b5f739c884 | [
"MIT"
] | permissive | wgroeneveld/gba-sprite-engine | 0ebf43d87d831a85932a051029d8e60c8ff84bec | d2023a1c51418bc1d0167ea57162c80727fedaf6 | refs/heads/master | 2022-07-23T19:05:18.668401 | 2022-07-06T09:51:33 | 2022-07-06T09:51:33 | 143,163,738 | 83 | 80 | MIT | 2020-08-13T15:06:48 | 2018-08-01T14:00:42 | C | UTF-8 | C++ | false | false | 2,205 | h | //
// Created by Wouter Groeneveld on 27/07/18.
//
#ifndef GBA_SPRITE_ENGINE_PALETTE_MANAGER_H
#define GBA_SPRITE_ENGINE_PALETTE_MANAGER_H
#include <libgba-sprite-engine/gba/tonc_memmap.h>
#include <libgba-sprite-engine/gba/tonc_types.h>
#include "combined_palette.h"
#define PALETTE_BANK_SIZE 16
#define PALETTE_MAX_... | [
"wouter.groeneveld@gmail.com"
] | wouter.groeneveld@gmail.com |
1cf276a47c3e057f5753c932d37b4f61f213d32c | 4d18be702cddc4499309c554de3e849a3a57e6e3 | /src/ShootsManager.cpp | 4734a2d1ca9f2b6f7534eedaa6cd23def4753a04 | [] | no_license | ssoreide/spaceinvadors | 9a5cca1b8e955194ab5510e6ba305254209f45c6 | 9b48655a0ebf8dc0a52214b8e07fe76c570ec0ac | refs/heads/master | 2020-04-09T05:32:51.618975 | 2018-12-02T11:12:49 | 2018-12-02T11:12:49 | 160,068,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,142 | cpp | /*/////////////////////////////////////////////////////////////////////////////////////
//
// Shoots manager
//
@author Ramon Molla
@version 2011-11
Last modified: 2014-2015 by Miguel Domingo
Previous modified: 2012-2013 by Vicente Perez
*/
#include <GameCharacters.h>
#include <ShootsManager.h>
#include "Quadtre... | [
"steinar.soreide@mediability.com"
] | steinar.soreide@mediability.com |
27db767b7819459dcaddad2fac29000793e5a355 | 6a4a8741ac5903082e294baf037a1f98cf0a1cf2 | /src/leetcode/LetterCombinationsOfAPhoneNumber.cpp | 06f235916324932434aaf45afc220338046e5910 | [
"Apache-2.0"
] | permissive | bin3/challenge | a99526aa4c91e96174b82c7b23ad62057904dd16 | 8886420613a21a9bdd19eefd58126a0e595b4cd7 | refs/heads/master | 2020-06-03T06:14:33.396801 | 2013-03-12T11:57:02 | 2013-03-12T11:57:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | /*
* Copyright (c) 2013 Binson Zhang.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Licens... | [
"bin183cs@gmail.com"
] | bin183cs@gmail.com |
2aac4cb3000d915fb0aa9feb6b5e5aa39061fac2 | 000bfd87dd80a4e7b9d0c0124f28eba5c3dbeb3e | /ToolsAndSources/P5Nitro/data/cachedBin/cpp/bin/include/nme/display/GradientType.h | e1d0e51a43cf3a4025886f6c5220555d695d240c | [] | no_license | Visistema/P5Nitro | 1eaa314f8fb237a3d01173dacdea4f2b1e77d782 | c2e5e0eee50fd2479223f1a905b8649d0fd68a59 | refs/heads/master | 2020-03-27T02:34:25.867178 | 2011-08-18T15:49:22 | 2011-08-18T15:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | #ifndef INCLUDED_nme_display_GradientType
#define INCLUDED_nme_display_GradientType
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(nme,display,GradientType)
namespace nme{
namespace display{
class GradientType_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef GradientType_obj O... | [
"davidedc@gmail.com"
] | davidedc@gmail.com |
b1311e7f5dac10a037089c3509ed506de77a5767 | b0ee16bc987424cdfd91f62a0cec02273ade4506 | /mqtt_esp8266.ino | b87b581e5dace80b9e9a55b6a45ac5297341ac30 | [] | no_license | DanieleCerioni/ESP8266---MQTT---WITH---SENSORS | de6635a5692c5eb86a12afe4eb3afa341e262690 | 219d12e76cf29c0b34bbd6c291705c60bf9164c6 | refs/heads/master | 2021-02-26T06:02:04.989059 | 2020-03-06T19:52:30 | 2020-03-06T19:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,859 | ino | #include <Servo.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
//DHT11 temperatura/umidità
#define DHTTYPE 11
//definisco il pin a cui è collegato
#define DHTPIN 5
#include <DHT.h>
#include <DHT_U.h>
//potenziometro
#define sensorPin A0
//buzzer
#define BUZZERPIN 4
char pot[4];
//potenzio... | [
"noreply@github.com"
] | DanieleCerioni.noreply@github.com |
e7f87059b31b4edcf822bed2d841fa8eb0657cc6 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-7-8测试/14.绘制图形/draw.cpp | cad15dce65f7a8804c91246a08b7b846142436e5 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | cpp | #include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <vector>
#include <cctype>
#define rgi register int
#define il inline
#define ll long long
#define maxn 110
using namespace std;
int n, flag = 0;
int e[maxn][maxn];
il int read()
{
rgi x = 0, f = 0, ch;
while(!isdig... | [
"506503360@qq.com"
] | 506503360@qq.com |
084aa86b85b28352b598e18d46806bfc29a9dedc | cd7787c13c981e65d43761d1da30b59bb70ace12 | /rs/build/RealSceneViewer.h | 970fe2ed0e9c5556b9b86ef63a1cd098de2af052 | [] | no_license | ravishchawla/VirtualReality | 7fbe2c08af3e3c18f9d8ff4d7e536d8484b57a0b | ea83a51c868d16be9c5e9997a54b110c25e2ccef | refs/heads/master | 2021-01-16T22:18:32.599944 | 2016-01-12T02:24:22 | 2016-01-12T02:24:22 | 43,270,622 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,900 | h | /*#include "Mesh.h"
template <typename PointT>
Mesh<PointT>::Mesh(pcl::RealSenseGrabber& _grabber) :
grabber(_grabber),
viewer("Point Cloud viewer"),
window(3),
threshold(6)
{
viewer.setCameraFieldOfView(0.785398); //approximately 45 degrees
viewer.setCameraPosition(0, 0, 0, 0, 0, 1, 0, 1, 0);
viewer... | [
"rchawla@gatech.edu"
] | rchawla@gatech.edu |
5339a9f6f2ceb94310d1aa66f358c5b2170b5f36 | a9405d3c3b3e894b8f2c214a803c756c66cdcc35 | /codigo/estructuras.h | 373a45d1e92402c2dd235d02d1e6c2fea7d98037 | [] | no_license | LightDragooon/Progra_2 | d6e62deedd7824b7f55128eb61976b72fb08d21f | eddef20e0317f6761f51825aaa0561114858bce3 | refs/heads/master | 2021-01-11T02:12:24.708396 | 2016-11-09T20:04:04 | 2016-11-09T20:04:04 | 70,995,128 | 0 | 0 | null | 2016-11-09T20:14:02 | 2016-10-15T15:11:12 | C++ | UTF-8 | C++ | false | false | 36,128 | h | #ifndef ESTRUCTURAS_H
#define ESTRUCTURAS_H
#include <ctime>
#include <cstdlib>//RANDOMS
#include <random> //Mersenne Twister con periodo de 2^32 -1
#include <time.h> //Tiempo
#include <QString>
#include <QFile>//Manejo de archivos
#include <QMessageBox>
#include <QTextStream>
#include <QDebug>
#include "... | [
"noreply@github.com"
] | LightDragooon.noreply@github.com |
e4ef38e8a99e01407c352365c86c51bb6fc8afa8 | 7926b330515aa573a810ed9cb298c3de93b007f9 | /陈磊贡献/计算几何相关基本知识.cpp | 9270a2b8ca01ace88e9e82095d293ae3cb535d95 | [] | no_license | laijirong/NOIP-C-files | 6f1dceae364e41625f3a4ef0e3897ef1c731d0fe | 951af9aa0b287a8c169b6ba03d618ba8ba2e0ae2 | refs/heads/master | 2020-04-20T11:38:00.485181 | 2019-06-16T03:00:55 | 2019-06-16T03:00:55 | 168,822,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,057 | cpp | #include<cstdio>
#include<cmath>
# define pi 3.1415926
using namespace std;
int sea;
double alpha;
struct point
{
double x,y;
} p,o,a1,a2,b1,b2;
int deal(point aa1,point aa2,point bb1,point bb2)
{
double xx,yy,r1,r2;
xx=aa1.x;yy=aa1.y;
r1=(aa2.x-xx)*(bb1.y-yy)-(bb1.x-xx)*(aa2.y-yy);
r2=(aa2.x-xx)*(b... | [
"laijirong@outlook.com"
] | laijirong@outlook.com |
386fb2dc8753f958365818faaa0b222136b6a7e7 | b4443fe6ad9e53e918385fd6e1a77d2450f4b50c | /src/webadmin.h | 313bb15d15766f87f238d44af8769662d0911481 | [] | no_license | guywilson/clksrv | b2b6c941cb3262dd78871cff7357030ea2f70919 | 4d625618cbf1e4b039005b70480e5be7f1a29241 | refs/heads/master | 2021-01-04T17:55:59.819275 | 2020-02-26T22:21:51 | 2020-02-26T22:21:51 | 240,696,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | h | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <curl/curl.h>
#include "mongoose.h"
#include "currenttime.h"
#include "configmgr.h"
#include "clk_error.h"
extern "C" {
#include "version.h"
}
#ifndef _INCL_WEBCONNECT
#define _INCL_WEBCONNECT
class WebAdmin
{
public:
static We... | [
"wilson.guy@gmail.com"
] | wilson.guy@gmail.com |
aaa5282273bb693a5cafa7ea58df994ad6996d19 | 1d31a3bfd35fd1ec63977cf434301f3877f8f3bf | /testApp.h | 10618ac27bd05d164405426dc19fa5eaa28ae06c | [] | no_license | mfox2/ofExpMarkovChain | 919eca46bd85385fe3aac325c94ec5f09a5a014c | c64d7ccdb858b500be6cbef9e6c40ca3bf32c3ef | refs/heads/master | 2021-03-12T19:36:13.751161 | 2013-12-13T05:00:08 | 2013-12-13T05:00:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #pragma once
#include "ofMain.h"
#include <map>
#include <string>
class testApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
string inputTextFile();
void breakItDown(string bbbuffer);
void insertIntoMarkovTabl(string blah);
void textRegEx(string partyTime, string fulltext);
... | [
"mfox2@artic.edu"
] | mfox2@artic.edu |
05c39f371728957bb8b118fc4c1f5747a1875846 | d75e23f686a5f1018b47c1ffefa3a8bb7fe4e2ba | /Tutorials/prev.cc | 1e622b075a6ed0989ccf4d72a919b59392220d85 | [] | no_license | latifkabir/n3HeAnalysisTool | 16f9864038a7692a9115f55cc8df3955c4257a16 | dab3758cadb8ea2f55088214293096d9c6068ddd | refs/heads/master | 2021-01-10T09:14:42.213345 | 2016-03-08T23:34:06 | 2016-03-08T23:34:06 | 43,915,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cc | // $Id: prev.C,v 1.1 2008/09/04 12:19:13 chris2 Exp $ -*-c++-*-
// by Chris Crawford <crawford@pa.uky.edu> 2008-06-21
//
// caches the argument, returning the old value
// used in TTree::Draw() to subtract the previous entry
// prev(), prev0(), prev1(), ... are different functions
// which can be used independ... | [
"siplukabir@gmail.com"
] | siplukabir@gmail.com |
929da42c4f4b2913ce1462c4a9f0f2de8ca6e5a0 | 70968fbd74383849bbcd08d864f26ab49f1a97aa | /arduino/rdt/ReliableDataTransfer.h | 3356e16ab4170433d56c8b5f6e2177de71bf4738 | [] | no_license | MicheleBaldassini/Component-Based-Software-Design | 359932b47caee0e4fca2c4e85be402cd9fc7c5ff | 1a6bc09e7cff56cdc702ebf8a8b2204867907748 | refs/heads/master | 2022-11-25T20:39:03.633868 | 2020-07-23T14:27:31 | 2020-07-23T14:27:31 | 281,973,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | h |
#ifndef RELIABLE_DATA_TRANSFER_H
#define RELIABLE_DATA_TRANSFER_H
#include "Protocol.h"
class ReliableDataTransfer {
private:
bool no_nak; // no nak has been sent yet
bool not_expected;
bool end; // To stop send and receive
unsigned char ack_expected; // lower edge of sender's window
unsign... | [
"baldassini.michele@gmail.com"
] | baldassini.michele@gmail.com |
4f04fce985fb4290f1d5a2e2a42cdf1b9e381c69 | ba370ea4a098ece0abf6de704c42c01db843542b | /exercises/contactWithEsp8266/task1/task1.ino | ee494cd3efa4492be2e44868219bf3378bd945ea | [] | no_license | malta895/iot-uma-project | d1b531472bcb8d59b5bbc9ae5f37d771d998d0fa | aa506fd6f14bc07dfbe732a4beae7fa593c4cf3f | refs/heads/master | 2022-03-30T16:31:39.257484 | 2020-01-21T19:11:14 | 2020-01-21T19:11:14 | 215,366,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | ino | const int ledPin = LED_BUILTIN;
// Variables will change:
int ledState = LOW; // ledState used to set the LED
// Generally, you should use "unsigned long" for variables that hold time
// The value will quickly become too large for an int to store
unsigned long previousMillis = 0; // will store las... | [
"tim.reiprich@t-online.de"
] | tim.reiprich@t-online.de |
050343f35aea70cba83ea046f284ab3443d8839c | f5f6d285b0199b34d370bdee37021618ae6d551e | /sortofsorting/sortofsorting.cpp | 74a13bf5b474cf47a70430d2080017cb2194eca8 | [] | no_license | jonassjoh/kattis-open | 10278fa96f995b22ac8e464b31b14425598811f2 | 2ddeda5bb6f8cae3784e3c81081f51ce05b85cdc | refs/heads/master | 2021-10-02T21:11:21.535321 | 2018-11-30T21:51:10 | 2018-11-30T21:51:10 | 107,147,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int custom_cmp(string a, string b) {
return (a[0] == b[0]) ? a[1] < b[1] : a[0] < b[0];
}
int main() {
int n;
while(true) {
cin >> n;
if (n == 0) break;
vector<string> names;
for (int i=0; i < n; i++) {
string name;
ci... | [
"jonassjoh@gmail.com"
] | jonassjoh@gmail.com |
6c4c8ab75e1b6a0e856f0dac830328109051e1e8 | 61e0c7d6b3a5e5e064de7f9b7ef97abf05cf9b48 | /SQF/dayz_code/Configs/CfgMagazines/Magazines/762x39.hpp | b3a74a3ef17b7f70fc41aab5c7031120b60adbd9 | [] | no_license | mledoux/DayZ-Epoch | 66b1a7aa01c2a08b744e004dc3a2a5dd8e44c627 | 63d6cfa87b02ee5c2247c9564b35161a6695a913 | refs/heads/master | 2021-01-17T21:32:22.905400 | 2016-06-21T02:02:28 | 2016-06-21T02:02:28 | 61,602,448 | 1 | 0 | null | 2016-06-21T04:33:53 | 2016-06-21T04:33:53 | null | UTF-8 | C++ | false | false | 1,199 | hpp | /* AK47 <-> SA58 */
class 30Rnd_762x39_AK47 : CA_Magazine
{
model = "z\addons\dayz_communityweapons\magazines\ak47.p3d";
picture = "\z\addons\dayz_communityweapons\magazines\data\m_ak47_ca.paa";
displayName = $STR_DZ_MAG_30RND_762X39_AK47;
cartridgeName = "762x39";
class ItemActions
{
COMBINE_MAG
clas... | [
"icomrade@live.com"
] | icomrade@live.com |
57d33e21f9b1b536a9c3c05274a261476e9568c9 | 454f47428455179aba0848940da87b64ba3ac2bf | /pascalTriangle/main.cpp | 5b579a5a509aa27f623aba88d8376eb089c48310 | [] | no_license | juniperdiego/LeeetCode | 4dd06383490b4d4aab0e61b4cf68b24e72fb827e | 7ae62cb8c7b8bce1f7f3582a442a8af21c67fc8c | refs/heads/master | 2021-01-01T19:42:30.950497 | 2015-07-13T22:50:49 | 2015-07-13T22:50:49 | 33,706,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <iostream>
#include <vector>
#include <queue>
#include <map>
#include <stack>
#include <algorithm>
using namespace std;
void printArray(int *array, int size)
{
for(int i = 0; i < size; i++)
cout << array[i]<< "\t" ;
cout << endl;
}
... | [
"279588288@163.com"
] | 279588288@163.com |
b4736276738005ff78e53bbb1c662bcffb55e44f | bfa1b42086f0cc4488510a287b0aae1905d98468 | /3D_Personal/Engine/Codes/Frame_Manager.cpp | 6ee5328b14573277255d1f1f6a4c3eecbb3e480c | [] | no_license | wades12385/3Dpersonal_Project | cd1ea27372111fdbab6c8b369cde8bb730d58176 | 52af296d1fc67f47f362cc53e1d771ba4334e1f0 | refs/heads/main | 2023-03-13T17:40:50.964960 | 2021-03-08T11:52:16 | 2021-03-08T11:52:16 | 335,391,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include "Frame_Manager.h"
USING(Engine)
IMPLEMENT_SINGLETON(CFrame_Manager)
CFrame_Manager::CFrame_Manager()
{
}
CFrame_Manager::~CFrame_Manager()
{
}
_bool CFrame_Manager::IsFrameLimit(const _tchar * pFrameTag, const _float & fTimeDelta)
{
CFrame* pInstance = Find_Frame(pFrameTag);
NULL_CHECK_RETURN(pInstance,... | [
"wades"
] | wades |
bb5a16a04559b3450fe293ecef9e2603e7970cf2 | a0230ab4cc8a5746b7d43acbfbc91cb6ed90e166 | /Optimization/Conjugate Gradient Method.cpp | ef433ca991d7cdf0e3ed82da0e2cc397674082b9 | [] | no_license | pushkargodbole/AerospaceAssignments | 0603695e8acfd6df78360ae3555835ed04682128 | 80ddcc02185d70e9e26123a5de9c7462160b1331 | refs/heads/master | 2021-01-17T14:50:56.727139 | 2015-10-22T09:19:08 | 2015-10-22T09:19:08 | 44,734,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,133 | cpp | #include<iostream>
#include<fstream>
#include<Math.h>
using namespace std;
double f (double x1, double x2);
double f (double x1, double x2)
{
double d = (((x1*x1) + (x2) - 11) * ((x1*x1) + (x2) - 11)) + (((x1) + (x2*x2) - 7) * ((x1) + (x2*x2) - 7));
return d;
}
int main()
{
cout<<"... | [
"none@none"
] | none@none |
990b15b855d78a324edc3198353eedac9a5f01eb | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/developer/system_monitor/bin/harvester/gather_processes_and_memory.h | 178cbec60087d9e6471663c1c53ff49581574dda | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 1,487 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_SYSTEM_MONITOR_BIN_HARVESTER_GATHER_PROCESSES_AND_MEMORY_H_
#define SRC_DEVELOPER_SYSTEM_MONITOR_BIN_HARVESTER_GATHER_PROCESSES_AND_M... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
86eaf079cd5c6dc1098ba22e108a362b9e42b2a5 | 667e6b125e49d9ed12ac200f8c0acc291ac8c182 | /test/cctest/test-code-stubs-mips64.cc | ecb23097908ac0ca0a90428bda38745712472bb4 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | lioshi/v8 | a167435e7e7bcf9946347f9f7a660df4834d76d8 | 247b0d38b2977b998bbdf995d42325072317141d | refs/heads/master | 2021-07-05T04:51:42.688258 | 2017-09-12T12:48:23 | 2017-09-12T13:08:41 | 103,269,303 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,068 | cc | // Copyright 2013 the V8 project authors. All rights reserved.
// Rrdistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Rrdistributions of source code must retain the above copyright
// notice, this list of ... | [
"lionel.fenneteau@gmail.com"
] | lionel.fenneteau@gmail.com |
ba591a837d61e4b39324cc65d30b5a0cdfd89829 | bc71c1dbbe6358bf264ffec5c3782f5b4fe99089 | /abstractHash.cpp | 11f05597b8fab781c0af0245b506941c4ae5af95 | [] | no_license | KrIstiRA/hash | 299c01141f6bb57288704ed759722a0f6769c7f1 | ccde81698a7c3bba08542bc8dd47d1433f4da2de | refs/heads/master | 2021-01-10T16:52:19.965941 | 2015-06-04T17:52:24 | 2015-06-04T17:52:24 | 36,792,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,676 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "abstractHash.h"
#include <fstream>
#include <iomanip>
#include <sstream>
#include <string.h>
using namespace std;
// вытаскивает данные из файла и подает на вход функции hexdigest
char* abstractHash::hexdigestFile(const char* fileName)
{
ifstream file(fileName);
if (file.fa... | [
"yumina23@mail.ru"
] | yumina23@mail.ru |
4531c1d912e9fd8e8dc475f4459625953853582c | c98e2422d1a17bfb749c1cf8bed15728399c4038 | /Destruct Asteroids/Utility.h | 6f6ea4550f1e558619a7cf4eea12915ad818d6cf | [
"MIT"
] | permissive | ChoiSeonMun/Destruct-Asteroids | 06d759dc013579ee4612588cea46ee1e46f25903 | 178cbd46a0719abaaac9a394edc27c2328cf6a4d | refs/heads/master | 2020-04-10T05:15:20.420535 | 2018-12-07T12:39:50 | 2018-12-07T12:39:50 | 160,782,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | h | #pragma once
#include <vector>
#include <functional>
#include "Actor.h"
namespace vec_util
{
template <typename T>
inline void Remove(std::vector<T>& vec, const T& value)
{
auto iter = std::find(vec.begin(), vec.end(), value);
if (iter != vec.end())
{
std::iter_swap(iter, vec.end() - 1);
vec.pop_back()... | [
"ch002717@gmail.com"
] | ch002717@gmail.com |
11e71236ba9f964cf05e05cc59641f235caa5c85 | 9878f458f53bce64148f92bd1558c9bbf97fa7f9 | /embed/common/device/lcd_driver.hpp | 435d03b4713729e82f4916f713820328825fea02 | [] | no_license | EttieneG/Rasp_Pi | ee0d02d8887aa56f3a2ef8fd6f15c1ff3ff9d6cf | 20f6018110dd4f2d2806ee6035fdb676254d63fc | refs/heads/master | 2021-05-02T02:02:15.409468 | 2018-02-09T09:06:41 | 2018-02-09T09:06:41 | 120,878,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,194 | hpp |
#ifndef LCD_DRIVER_H
#define LCD_DRIVER_H
/*==========================================================================*
* Include files listing ===================================================*
*==========================================================================*/
#include "cmn_types.h"
/*=====... | [
"ettiene.greeff@gmail.com"
] | ettiene.greeff@gmail.com |
c870e3484c45520c9b538038f81a53d00ce58c5b | 23f6f2dad406ba576d4c97f7dbba1516a04583db | /StructuralPatterns/Flyweight/Flyweight/Flyweight.h | b8dcc81e5ecefa867c08d679c637d4dd65de785a | [] | no_license | sacdar/CPP-Design-Patterns | 7618b50aeb12d04e27f3d5fe75faf9823bd8e30c | 84de7263d31c78a7eeede000d0604e953a4e0961 | refs/heads/master | 2021-01-10T20:10:06.588221 | 2015-02-13T08:23:49 | 2015-02-13T08:23:49 | 30,695,425 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | h | #ifndef _FLYWEIGHT_H_
#define _FLYWEIGHT_H_
class Flyweight
{
public:
virtual void statefulOperation(int state) = 0;
};
#endif /* _FLYWEIGHT_H_ */
| [
"sacdar.hsu@gmail.com"
] | sacdar.hsu@gmail.com |
bf6b25f09aa0ae81c661fe09f364f57eb34bc18a | 56162837a971d971819bd07b77a125f6fca4fa5d | /cmd_executor.cpp | 8038736887360a185459a9b832796bab03222fd7 | [] | no_license | akanashin/riak_tester | dbba119e2015caef3b3d43146c9e2b474f6bf96e | fa2eba9a263d2ecf32e3f810d107ef57a5edfef2 | refs/heads/master | 2020-06-05T18:21:55.060320 | 2015-05-20T18:36:27 | 2015-05-20T18:36:27 | 35,898,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,246 | cpp | #include "cmd_executor.hpp"
#include <pthread.h>
#include <cassert>
#include <atomic>
#include <unistd.h>
#include "exception.hpp"
#include "logger.hpp"
#include "condvar.hpp"
#include "utils.hpp"
#include "riak_iface.hpp"
#define CHECK(CMD) do{ \
int s = CMD; \
if (s != 0) \
throw Exc... | [
"akanashin@intermedia.net"
] | akanashin@intermedia.net |
14a471649b45675047869c0f90d81697b000bf41 | dfa77da1866fbce4f426f795a1a2627cd93cf329 | /Code/calcUtilities.h | 166967b47516289d4c21242e31d3a653ef1f79da | [] | no_license | sliang11/Active-Model-Selection-for-PUTSC | 1389238ead543ad17d2388924202ec26967ab2ba | ca78f74b269b3e34a153e26df0ed84acd57f351b | refs/heads/master | 2023-01-14T21:08:52.524365 | 2020-11-11T05:04:33 | 2020-11-11T05:04:33 | 213,940,209 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,955 | h | #pragma once
#include <float.h>
#include <math.h>
#include <vector>
#include <algorithm>
//ref: https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/
bool doubleIsEqual(double x, double y,
double maxDiff = DBL_EPSILON, double maxRelDiff = DBL_EPSILON)
{
//Comparison us... | [
"noreply@github.com"
] | sliang11.noreply@github.com |
7883f78f117bbde6dffaab50523c64d0298a3ed1 | 41d6b7e3b34b10cc02adb30c6dcf6078c82326a3 | /src/plugins/azoth/plugins/xoox/adhoccommand.h | b47488fd7aa97496d72c6c80c53ecef92b7bf0ae | [
"BSL-1.0"
] | permissive | ForNeVeR/leechcraft | 1c84da3690303e539e70c1323e39d9f24268cb0b | 384d041d23b1cdb7cc3c758612ac8d68d3d3d88c | refs/heads/master | 2020-04-04T19:08:48.065750 | 2016-11-27T02:08:30 | 2016-11-27T02:08:30 | 2,294,915 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
b4cf7a20fb94b462c39ed64695259634c4fa7b0d | a5349d4fe26ff631e9804e05692a466b5db77929 | /hacker_rank/bon_appetit/a.cpp | 53c8c19fba6cc565cc523b09350543439771bde1 | [] | no_license | jef771/competitive_programming_practice | 76c7e553c97c80309a4a279ac4b651f1c70d0500 | 65a0d41350fe535c5d20c51d7c1b452c58483530 | refs/heads/main | 2023-04-20T20:38:52.400418 | 2021-05-06T00:40:45 | 2021-05-06T00:40:45 | 290,401,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
// #ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
// #endif
int n, k;
vector<int> bill;
cin>>n>>k;
for(int i=0; i<n; i++){
int temp;
cin>>temp;
bill.pu... | [
"jefh.neves@gmail.com"
] | jefh.neves@gmail.com |
4e54b67dc642491cf73258da7dc485b8a227b2a6 | df2469171b726e71bb150111cfcc7bbf59b2b94a | /Sorting/pairdiff.cpp | db6830ed82a07a206a604796875e84b598302352 | [] | no_license | shaunakbhanarkar/Practice-Geeks-For-Geeks | 1dd2b05ff4480d9bd61b602c74659c597a95e96e | eb84394722216a866c226b981a2f876ba76dd18a | refs/heads/master | 2020-06-07T06:12:31.390856 | 2019-08-15T17:23:08 | 2019-08-15T17:23:08 | 192,945,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
//code
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int k;
cin>>k;
int ans = -1;
int a[n];
for (int i=0;i<n;i++)
{
cin>>a[i];
}
for (int i=0;i<n;i++)
{
... | [
"noreply@github.com"
] | shaunakbhanarkar.noreply@github.com |
8ff9d76b8c2712b94b0a67d1c7229f3e8705619a | 71927589850a028e1a0c2ec45fab5b097b5ecbbf | /Binary_Search/practice2.cpp | afd69cf94c5e1fc4a6760e0e61e9d9d3b6587b7f | [] | no_license | kmlee78/Cplusplus_Coding | 93c1f6beec6733e48337e8d64881a4c405d93faf | 62bed404b5b2c4171695ca43dc5800d9106ce8ae | refs/heads/main | 2023-03-08T17:07:12.359564 | 2021-02-18T11:53:16 | 2021-02-18T11:53:16 | 303,465,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | #include <iostream>
#include <vector>
using namespace std;
/*고정점 = 원소 중 그 값이 인덱스와 동일한 원소.
이진 탐색을 통해 중간 인덱스가 실제 값 보다 크면
배열의 오른쪽을, 작으면 왼쪽을 탐색한다.*/
int search(vector<int>& array, int start, int end){
while(start <= end){
int mid = (start + end) / 2;
if(array[mid] == mid) return mid;
if(mi... | [
"jaoming787@gmail.com"
] | jaoming787@gmail.com |
23f32d1981c816e6b60a501b3130cdc42d3d9a00 | 8c277a53b168aeef7e7e287ddbce1f19db4d4e2c | /Core/xmltools.h | 2e0620479b12f5a2a782cd8b23e306fbc2ead3c4 | [] | no_license | morice-net/Awale | dc384d2b62a383a13f5ce4b6eb6e20a59e114915 | 5c59ae2be9432976cc372dfeb9fef73f63651768 | refs/heads/master | 2020-12-29T02:35:57.923552 | 2018-04-29T09:55:27 | 2018-04-29T09:55:27 | 44,384,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | h | #ifndef XMLTOOLS_H
#define XMLTOOLS_H
#include <QString>
#include <QVector>
class XmlTools
{
public:
XmlTools();
QString xmlFromValue(const QString &name, const QString &value);
QString xmlFromValue(const QString &name, int value);
QString xmlFromValue(const QString &name, const QVector<int> &values);
QStrin... | [
"jeannicolasartaud@gmail.com"
] | jeannicolasartaud@gmail.com |
b5c79a75bf834da8efdcb5046c3f9462dd74ab76 | 99808a0a81e160604466510fb74c53e3dfb3186b | /Biti/main.cpp | c6bcd62e1ba7ed005f1de27d97b8d2f269e86359 | [] | no_license | crisbodnar/Programare | 84ce3d3b75bcf0714adc27250548767c2a926dd7 | ab6158a72eac60ca318dee2bd458f84aec4c13b3 | refs/heads/master | 2016-08-11T14:58:08.068054 | 2015-11-02T00:49:06 | 2015-11-02T00:49:06 | 45,363,754 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | cpp | #include <iostream>
#include <fstream>
#include <queue>
using namespace std;
ifstream fin("biti.in");
ofstream fout("biti.out");
const int N = (1 << 20) + 100;
int n, nr, x[N], nod, nod1, nod2, lim;
vector <bool> uz(N);
vector <int> a[N];
bool done = 0;
void Back(int k)
{
if(done) return;
... | [
"crisbodnar96@gmail.com"
] | crisbodnar96@gmail.com |
22a700e4fae9d0652d42154a7a58e3d2caeee5c0 | 7e64c0d82a2c3c87705ca1ba7ff6abea7b2bd58e | /103598010/103598010_MindMap/text_ui_state_factory.h | 9427d5b638af86009ce48926f52f7e251b9d95ba | [] | no_license | housemeow/POSD | b8ae5b3a7429fee3c26c113a31a1c4cec158d95e | 168468873aa8b85ba728815f26d4e2bd5760f5ca | refs/heads/master | 2020-03-29T17:06:03.552415 | 2015-01-23T23:51:58 | 2015-01-23T23:51:58 | 26,962,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h | #pragma once
#include "text_ui_state.h"
enum TextUIStateEnum;
class TextUIStateFactory
{
public:
TextUIStateFactory();
~TextUIStateFactory();
static TextUIState* createTextUIState(TextUIStateEnum textUIState, MindMapModel* mindMapModel, Component* component = NULL);
};
enum TextUIStateEnum {... | [
"housemeow@gmail.com"
] | housemeow@gmail.com |
3f7fb1626302e3d2a091b1a797e26ee88c595c10 | 593c7dbfe611c1ff21e23da1a62fd478908e162c | /SerialCom_1126_final/SLIP.h | da251e4285fe0cab7fd4f651ea0a38444dd1f3cf | [] | no_license | chiynglee/CAN-Comm | ed62800264b286e6a1b54970c92883f5f7646537 | 4bf384054bc1b0a69eaadd880925fb93eac2d413 | refs/heads/main | 2023-02-03T18:17:37.664000 | 2020-12-15T15:47:26 | 2020-12-15T15:47:26 | 321,712,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | // SLIP.h: interface for the CSLIP class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SLIP_H__1A4CDC07_96F5_47A6_989F_8ED2BA465491__INCLUDED_)
#define AFX_SLIP_H__1A4CDC07_96F5_47A6_989F_8ED2BA465491__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER... | [
"noreply@github.com"
] | chiynglee.noreply@github.com |
1c5c9b79477e84b4c6130279b35491233f6f6945 | fb4ebb51b46ce0912458fc4e6891a288c1ad20c1 | /function/basic/primemodified.cpp | 78457ae0c60de7a6298eead5165045f786b47ba7 | [] | no_license | pratyush220498/Data_Structure-CPP | 982cfd3d0f689670a2b88d8913cce459d9f6b67d | 92638b99527f3a5e47cdb54d6e03595c89c868c6 | refs/heads/master | 2022-11-04T00:14:27.336093 | 2020-06-17T12:21:09 | 2020-06-17T12:21:09 | 272,966,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include<iostream>
#include<math.h>
#include<stdio.h>
#include<conio.h>
using namespace std;
void primefact(int,int);
int primenum(int);
int main()
{
int i,j;
cout<<"enter a no. :";
cin>>i;
j=primenum(i);
if(j==1)
cout<<"1"<<" "<<i<<endl;
else
primefact(i,2);
return 0;
}
int primenum(int i)
{
for(int k=2;k<... | [
"pratyushpare220498@gmail.com"
] | pratyushpare220498@gmail.com |
0cca1525308c6ebe6d98c48a43dbf26c058be27f | 8351549ffed6fb107f50e1855b42ff50e572212c | /hyperledger_project/framework/Hyperledger_iroha/iroha_source_code/irohad/validation/impl/stateless_validator_impl.cpp | 8c30d92d73d851bbef93b6c27123000127c1ab40 | [
"Apache-2.0"
] | permissive | phillipgibb/blockchain | 2d4bdb8911a7cd13566d2d1417acbc9c62b8c388 | 223cfa80db7a67da2bad85a0a646762c24ba4b08 | refs/heads/master | 2020-03-21T08:51:22.348208 | 2018-04-02T07:12:48 | 2018-04-02T07:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | cpp | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | [
"jaemnkm@gmail.com"
] | jaemnkm@gmail.com |
a5fe0fcec0e04a62b8486c63a06a8a948d6ab96e | 83fa42dc9c60f2d7537b1bbe0894713156bc488f | /c++数据结构与算法/15.CppDS_链表/List.h | ec4e82ac964e9fac0ffb97c482835501a096621a | [] | no_license | 15529343201/C-Plus-Plus | c4782b054ac0c0aac66711312209e13a8acf0a4f | 33d499dd94d720d0131afef4fe071624bc171ede | refs/heads/master | 2020-05-21T03:43:01.145036 | 2017-10-06T15:20:12 | 2017-10-06T15:20:12 | 84,566,994 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,068 | h | #ifndef LIST_H
#define LIST_H
#include<iostream>
template<class Type> class List;//前置声明
template<class Type>
class ListNode
{
friend class List<Type>;//声明友元类
private:
Type data;//节点数据
ListNode *link;//节点指针
ListNode(Type);//只能由友元类调用
};
template<class Type>
class List
{
public:
List(){
first=0;
... | [
"15529343201@139.com"
] | 15529343201@139.com |
91bb6c2b11c8f9a38a3cf24f6dfdc055fa6fb82c | 378e2a63137fe83fe872182872dc0c723809b005 | /UnityFix/Classes/Native/Il2CppCompilerCalculateTypeValuesTable.cpp | 5cfa21d32b23e929d27aff5db8e12a1643dadece | [] | no_license | WenslowZhu/UnityTest | 62c96676723eb2580fd9bf91c77eef03629be608 | 13a62f53124243101bb3ebba2a04cacadc135376 | refs/heads/master | 2020-12-02T07:50:26.328644 | 2019-04-20T07:44:40 | 2019-04-20T07:44:40 | 96,730,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212,642 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const int32_t g_FieldOffse... | [
"wenslow.vip@gmail.com"
] | wenslow.vip@gmail.com |
7e1b69feb14fb33dfc68b89bbe2216dd6b5cabe6 | b2143c270372cf6f85dddced4a85afcc594ff235 | /Lightshafts/StringUtilities.h | 3895f4092165f2ed748948311cd0b2174f67523a | [] | no_license | MulattoKid/Lightshafts | 4814f84fb7fdcfafdeb58807eeeaaab51e2d8012 | 033c9d37fb4d2a588238a78d34fcf89233341e13 | refs/heads/master | 2021-04-05T23:34:22.600185 | 2018-06-02T07:08:20 | 2018-06-02T07:08:20 | 125,017,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | h | #pragma once
#include <fstream>
#include <string>
unsigned int CountNumberOfLinesStartingWith(std::ifstream& reader, const std::string seq);
unsigned short CountSpaces(const std::string& line, const unsigned short start_index);
std::string ExtractNextWord(const std::string& line, const unsigned short start_index);
v... | [
"danielfedailarsen@hotmail.com"
] | danielfedailarsen@hotmail.com |
fb616f38cfae35fb3bc6239743f99b8f6c4e8925 | f4e5fadfcf23c266dda96d3e644e6910b3c9f673 | /src/config.h | 2c927276999bc476f8176a7103a03dbcd32b3472 | [
"LicenseRef-scancode-public-domain"
] | permissive | katahiromz/RadWindowApp | 95f2618b1fab9e6c40ad67f508d9480a549b7d28 | 82ade8e98b6b1f58e47b1e0069975514927d438d | refs/heads/master | 2021-01-23T02:05:19.154858 | 2017-07-30T01:36:12 | 2017-07-30T01:36:12 | 98,714,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,106 | h | // config.h --- configuration file -*- C++ -*-
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// versioning
#define PROGRAM_MAJOR 0
#define PROGRAM_MINOR 1
#define PROG... | [
"katayama.hirofumi.mz@gmail.com"
] | katayama.hirofumi.mz@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.