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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5385b37dfb13dcd354f8b239e755062727bbc0a3 | f84451e430bb3b1816a4baac3125b80fab9ccaf0 | /sources/EventManager.cpp | c9ce319338988cb404b73de69b4376c9ece25472 | [] | no_license | Ignust/EventQueue.v2 | 387d486a76ed6a3feb714995d7029c40047e52bc | ccd0f399be42fd5c73ebb2c2ad7be5cddb0e979d | refs/heads/master | 2022-12-01T21:03:43.044350 | 2020-07-29T10:55:35 | 2020-07-29T10:55:35 | 272,453,536 | 0 | 0 | null | 2020-07-29T10:55:36 | 2020-06-15T13:59:41 | C++ | UTF-8 | C++ | false | false | 3,804 | cpp | #include "EventManager.hpp"
#include "ThreadCout.hpp"
#include <thread>
//#include <iostream>
//using namespace std;
//------------------------------------------------------------------------------------------
EventManager::EventManager()
: mHandlerThreadRunning(false)
//------------------------------------------... | [
"andrey.las90@gmail.com"
] | andrey.las90@gmail.com |
4c3359aef878b25961c0315170646b3d11e1e8b6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ui/browser_element_identifiers.cc | 469a4b148972786129d4c885d67b16b9bff1f382 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,736 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_tracker.h"
// Please keep... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
5c6f33d08f4bda45c566d07265fac311b395fca5 | dd4dd96a601c3d0cc5472764a1ce2b7ec7d2a51a | /algorithm_study/2019.07.22_easy/2851_superMario.cpp | de1e5a40372224244df2a962fcf5834646cf40aa | [] | no_license | Bambia/Algorithm | 23c56beba9c763ba3fc40b62d14d8773915f47a3 | 52b0ec5f00647fc39c4cd8a60419d011828cacc2 | refs/heads/master | 2022-02-26T19:36:39.377541 | 2019-11-16T12:59:42 | 2019-11-16T12:59:42 | 178,593,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | #include <iostream>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int totalScore =0,score[10]={0,},ans=0;
for(int i=0; i<10; i++){
cin >> score[i];
}
for(int i=0; i<10; i++){
totalScore += score[i];
if(totalScore > 10... | [
"hoyean250@gmail.com"
] | hoyean250@gmail.com |
f40e9ea554fc74f23cbe27c409cef3b044046217 | f92bbd5524cf8c110836f7df04bace27e21617b1 | /src/uint256.h | 5b9574a6df9b15077e8b73535f1a20b27450cfd8 | [
"MIT"
] | permissive | Palem1988/beacon | da0a03672996eeeb2f68470cb0f2f2e5667e005d | c93b771b5b217180819a04cd10596857751fa8bb | refs/heads/master | 2020-08-05T08:12:16.519794 | 2019-08-21T00:03:59 | 2019-08-21T00:03:59 | 212,460,108 | 0 | 1 | MIT | 2019-10-02T23:22:29 | 2019-10-02T23:22:21 | null | UTF-8 | C++ | false | false | 11,445 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 LightPayCoin developers
// Copyright (c) 2018 The Beacon developers
// Distributed under the MIT software lice... | [
"41976657+beaconcrypto@users.noreply.github.com"
] | 41976657+beaconcrypto@users.noreply.github.com |
71788b02f1b52bae539655c039c91d9ebafd51da | 5b97626e70689ce1c7e47133cfbf0245c0801065 | /sensors/src/OneWireSensor.h | fbcdf5f098544a7726f9759c882ed1a8079bad7d | [
"Apache-2.0"
] | permissive | ieb/signalk-esp32-bridge | 5f0d606bcd7a90535536646a134af419c40503d4 | 77838e2f40b3edf316a712dfbafdd7910d440967 | refs/heads/master | 2021-12-23T09:58:56.858265 | 2020-01-24T18:36:39 | 2020-01-24T18:36:39 | 236,060,319 | 1 | 0 | null | 2021-09-02T05:39:50 | 2020-01-24T18:33:56 | JavaScript | UTF-8 | C++ | false | false | 5,033 | h | #ifndef __ONEWIRESENSOR_H__
#define __ONEWIRESENSOR_H__
#include "common.h"
#ifndef TEST
#define REQUIRESALARMS false
#include <OneWire.h>
#include <DallasTemperature.h>
#define log(x) Serial.println(x)
#define logHex(x) Serial.print(x, HEX)
#else
#define logHex(x) std::cout << x
#endif
#define MAX_SENSORS 5
... | [
"ieb@tfd.co.uk"
] | ieb@tfd.co.uk |
f444d2f75352105b9a3a55ff269b655854fe63a7 | eb827d7993b146cf507b57a45e420fffdf641eef | /itmo/20201123/d_cube.cpp | c4ed5d6f965d45c7b2840b3c87e7d8ec4eceecad | [] | no_license | khbminus/code2020 | dfdbcae71d61d03d4457aad47ff7d4136e6fcc1e | a0d2230b0905df79ba78cb98353f4ba03f16e8b0 | refs/heads/master | 2023-07-16T16:08:20.629283 | 2021-08-29T20:35:14 | 2021-08-29T20:35:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | cpp | #include <bits/stdc++.h>
#include <ostream>
using namespace std;
using ll = long long;
#define SZ(x) (int)((x).size())
#define ALL(x) (x).begin(), (x).end()
#define RALL(x) (x).rbegin(), (x).rend()
#define TMAX(type) numeric_limits<type>::max()
#define TMIN(type) numeric_limits<type>::min()
#ifdef LOCAL
#define a... | [
"serega.haritontsev@gmail.com"
] | serega.haritontsev@gmail.com |
8a923f918cfeeecfadf426b77083ffcdfe0c4383 | c6769a12358e53c52fddfdcacb78344d446b1771 | /CastorTree/src/GetEvtId.cc | 2a43eae76f905a8567cdc4a9dd1a722d4d459a07 | [] | no_license | xueweiphy/UACastor | d8717970b9843adc79513b51ea4c8294d89e40f3 | 91893bfb195ecd980b2afaf28e3fa045bca35745 | refs/heads/master | 2020-12-25T21:13:41.178545 | 2012-11-06T09:57:22 | 2012-11-06T09:57:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,858 | cc | //-- Description: Function to retrieve Evt Id information (original author: Xavier Janssen)
//-- system include files
#include <iostream>
//-- user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#i... | [
""
] | |
9a06629d3d8c5d6f66c86c6f8ac7a498c56780aa | 2cf5dadd5fe8f18d6b7a107f3566913698f3f3e1 | /系统模块/游戏组件/36.港式五张/游戏服务器/GameServerManager.cpp | afdba177fac22d86cca389fba8f635d869f9f4db | [] | no_license | xiaokaixuan/qipai-game | 319a5af77a490daf4c825ca7f54bc0b0bbf5c1a0 | fce39d8192c1ea037ff34abec3d6074d56071934 | refs/heads/master | 2021-01-13T16:23:13.757533 | 2012-06-11T10:53:16 | 2012-06-11T10:53:16 | 54,963,680 | 1 | 0 | null | 2016-03-29T09:35:54 | 2016-03-29T09:35:53 | null | GB18030 | C++ | false | false | 3,914 | cpp | #include "StdAfx.h"
#include "Tableframesink.h"
#include "GameServerManager.h"
//#include "AndroidUserItemSink.h"
//////////////////////////////////////////////////////////////////////////
//全局变量
static CGameServiceManager g_GameServiceManager; //管理变量
//////////////////////////////////////////////////... | [
"pybmfc@gmail.com"
] | pybmfc@gmail.com |
4af5d5dafdb54d8679fe9147c4a3eae93eeb57fe | c9cf0e050090d8a7ed43e88cbdbc7f1959e1223f | /src/share/core_configuration/profile/simple_modifications.hpp | 43e9e7bdacb421f8801fca93e4c30684189cda35 | [
"Unlicense"
] | permissive | chrismetcalf/Karabiner-Elements | 47380a0f1d6abe6a88e3613007087ada313b59ca | 0b0ecd4bc3bc26840a1d5bf625a6def0949277a6 | refs/heads/master | 2020-12-30T22:33:20.605540 | 2017-03-28T22:34:48 | 2017-03-28T22:34:48 | 86,512,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | hpp | #pragma once
class simple_modifications final {
public:
simple_modifications(const nlohmann::json& json) {
if (json.is_object()) {
for (auto it = json.begin(); it != json.end(); ++it) {
// it.key() is always std::string.
if (it.value().is_string()) {
std::string value = it.value()... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
f49e6169dff2d1e935ad68bc5a7f55cdf8edcf96 | 7656fc93da6ca8399f684fa884f21cfa5943a5d9 | /simulation/src/DataVisualisation.cc | 03bdff3737c8e03e21ac2c790f3ac03b42801803 | [] | no_license | cdreisbach/PRM_SimpleG4 | b980fc8160815c380889c783fd38afb4947cc096 | 656c79b964ba798ca7f0f742ae1de6386739bd16 | refs/heads/main | 2023-03-02T15:41:27.347382 | 2021-02-12T16:27:10 | 2021-02-12T16:27:10 | 338,288,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,922 | cc | #include "DataVisualisation.hh"
#include "DataManager.hh"
#include <TFile.h>
#include <TH1D.h>
#include <TGraph.h>
#include <TCanvas.h>
DataVisualisation* DataVisualisation::_instance = nullptr;
DataVisualisation::DataVisualisation() {}
DataVisualisation::~DataVisualisation() {}
DataVisualisation* DataVisualisati... | [
"christian.dreisbach@cern.ch"
] | christian.dreisbach@cern.ch |
627448401ac205c8d633b27ffffeca227edc47d3 | 03f3739257988cda7542f20686104206b7a459c9 | /PAT-B-1032.cpp | 1f3318df8463b33b5d9fa21eb9af1737561fd2d8 | [
"MIT"
] | permissive | tentonlien/personal-algorithm-practice | 3bf038226c0a13e5046d51423c1cf71f22895e81 | 7303dcddff8d7e80f8451ddd738dedd2e7debe81 | refs/heads/master | 2020-03-22T00:00:58.917291 | 2018-06-30T04:38:42 | 2018-06-30T04:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
using namespace std;
int main() {
static int sch[100000],stu[100000],scr[100000],n,max;
cin>>n;
for(int i=0;i<n;i++) {
cin>>sch[i]>>stu[i];
scr[sch[i]-1]+=stu[i];
if(max<sch[i]-1) {
max=sch[i]-1;
}
}
int maxx=0;
for(int i=0;i<max;i++) {
if(scr[i]>scr[maxx]) {
max... | [
"noreply@github.com"
] | tentonlien.noreply@github.com |
78a5ad2c6ea370d842fdcde92d9696f09ebe9678 | 7e0b1bb05f7f482239579bf0dc60dead4fac63df | /Single_Number_v3.cpp | 8e715ce0cb9d8043f19c017af0807dd70ab9b343 | [
"MIT"
] | permissive | xiekch/leetcode | 0bc8b4cd05d93e64218a4dd4ed0894996b403010 | eb5b6814e8ba0847f0b36aec9ab63bcf1bbbc134 | refs/heads/master | 2023-05-25T06:55:32.835498 | 2023-05-02T09:17:25 | 2023-05-02T09:17:25 | 166,329,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include <iostream>
#include <set>
#include <vector>
using namespace std;
// Given a non-empty array of integers, every element appears twice except for
// one.
// Find that single one.
// Your algorithm should have a linear runtime complexity.
// Could you implement it without using extra memory?
// https://leetcode... | [
"xiekch@qq.com"
] | xiekch@qq.com |
6cb3e858200903698feb56c0cba34e1f8238c8dd | db9065ac82fd6684121656b4e89b4172db428ef9 | /Системное программирование в среде Windows, Дж. Харт/Гл 4. Исключения/Гл 4. Исключения/main.cpp | 734ea220c0ff5e151f6e81afa89a2674f49f25d6 | [] | no_license | Northell/WinAPI-in-Cpp | 254ed292bbdc8e32857c4f8762019d4ba1df9c40 | c87d4fecad12364db514c00030ea68366989bffe | refs/heads/master | 2021-12-23T02:51:09.081426 | 2021-10-31T19:39:06 | 2021-10-31T19:39:06 | 236,188,626 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,493 | cpp | #include <windows.h>
#include <iostream>
/*
* стр 129, гл4.1 Обычная обработка исключений
*/
//bool createTempFile()
//{
// std::string TempFile; //Путь к файлу
// HANDLE hFile;
// GetTempFileName(TempFile, ...);
// while (...) __try {
// hFile = CreateFile(TempFile, ..., OPEN_ALWAYS, ...);
// SetFilePointer(hFile, ... | [
"northells@yandex.ru"
] | northells@yandex.ru |
367f61c412bc810b3f669dce54443a35136f1a0c | 365d06f77730399b85e78af4e59a55093eaef488 | /src/Game.cpp | 10e04e7dbec265ddc2114d260345cde788373a05 | [] | no_license | MikeAndTheWorld/Rocket-Wars | bd4c3ece290f6a7fdbff73f6969a86c08760cba0 | 1707feb9c1c843efc03d461c56c713f4d69169aa | refs/heads/master | 2021-03-24T12:18:19.251500 | 2017-04-02T05:44:43 | 2017-04-02T05:44:43 | 78,676,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | #include "Game.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <math.h>
#include <string>
#include <glm.hpp>
#include <gtx/transform.hpp>
#include <time.h>
void Game::GameLoop(Window *window,Scene & scene)
{
//time
const float TickPS = 1.0f / 60.0f;
double NewTimer = ... | [
"noreply@github.com"
] | MikeAndTheWorld.noreply@github.com |
0f53fbfc729016452a313a0466aa2dbefd2619ba | ee3ca02cd75391d7f52b778b495a0661a235ac8f | /src/Sonar.h | 66d3d51e6f30cd12e370ec7d0c52253377c30ebc | [] | no_license | GMIG/Instruments-Arduino | 3e85731e6191fa819268ea5089fbb05f5c91c362 | c5a4ce6e15886f1adcd67e4472c0839253da7d94 | refs/heads/master | 2020-06-20T05:27:40.137648 | 2019-11-06T09:25:02 | 2019-11-06T09:25:02 | 197,006,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | #ifndef SONAR_H
#define SONAR_H
#include "Commandable.h"
class Sonar :public Sense{
private:
int pinTrig;
int pinEcho;
int lastDuration;
int curDuration;
int thr = 80;
int getDataString(char * result){
sprintf(result, "%d", curDuration - lastDuration);
lastDuration = curDuration;
... | [
"ivan.bichenko@gmail.com"
] | ivan.bichenko@gmail.com |
1b63436c741b46f626f998f0dac85c0cc9512332 | 8567438779e6af0754620a25d379c348e4cd5a5d | /third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h | 4bc47b12d3e873d48b453d12c87ddb4e2b4e6a3a | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 6,415 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PropertyTreeState_h
#define PropertyTreeState_h
#include "platform/graphics/paint/ClipPaintPropertyNode.h"
#include "platform/graphics/paint/Effe... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
1c17d35dc3e854ee53e4c7c615795146f8a4161c | 0df3aac8e0affbbd00171efe78d838c357cd854c | /code/Lecture12Final/build-Lecture12-Desktop_Qt_5_9_9_MinGW_32bit-Debug/debug/moc_gchooser.cpp | 86cff2549164738ce19f9de689a60991bfdd3188 | [] | no_license | takohack/cs106B-2020summer | 2c14ff57c6c23227073363e8099f372e19b5b405 | d5a22c27d327f00b140d1f4063df84c460fb8817 | refs/heads/master | 2022-12-22T08:19:38.417893 | 2020-09-23T16:50:09 | 2020-09-23T16:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,639 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'gchooser.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.9)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | [
"unclejyj@gmail.com"
] | unclejyj@gmail.com |
47468b58e14cfe1c796f62c41cc4e41f69ebce35 | 6e80245fe676033b8b0fb7e07963ad1b10ce4541 | /chromium/extensions/components/native_app_window/native_app_window_views.h | b63535cbb5a88c8a9b98bc7da985a6518614ace5 | [
"BSD-3-Clause"
] | permissive | Sporif/darker-vivaldi | 81cfefe1209af0d07c45ea47a67a21f1639e8c18 | b74ea1f30f0a3f1eb867a968027b9d11c150e4d6 | refs/heads/master | 2021-01-19T00:23:24.530407 | 2017-04-03T21:11:38 | 2017-04-03T21:11:38 | 87,162,323 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,591 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
#define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
#in... | [
"ricardo.amendoeira@ist.utl.pt"
] | ricardo.amendoeira@ist.utl.pt |
46f2d7801621be52595f4a65e7bb91506a212d94 | 346870024d3943cdaba16472b8502f0955a184f2 | /AST/AST.cpp | c6a2cc40a44e13990961cc8dec5999e6fe81e2d2 | [] | no_license | cybex-dev/Robot-Compiler | 3a2add8de9c248877d0b00b1f72a25ba280fe95f | e0ed32e0fc913f702c18db18f4be5b4e66a30177 | refs/heads/master | 2020-05-30T03:49:01.714515 | 2019-06-23T19:05:54 | 2019-06-23T19:05:54 | 189,522,548 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | //
// Created by cybex on 2019/05/03.
//
#include "AST.h"
std::string AST::describe() {
return "";
}
| [
"k4gcybex@gmail.com"
] | k4gcybex@gmail.com |
2244b2634421f76178495b492ece70f314b988b9 | 99a4d1d6b8bdb83007faaf7bf14687719a084887 | /zetasql/base/statusor.h | 773a17497d45ddb336a3c65705f3b6f2eac018bb | [
"Apache-2.0"
] | permissive | MartinSahlen/zetasql | e3a2c39ee1c5c0deb19b0f3843ca858be9220653 | 5ad34de91ba535716ef41e72c4f6c0f5dac2ab5b | refs/heads/master | 2020-06-17T11:01:47.986213 | 2019-09-18T09:57:36 | 2019-09-18T09:57:36 | 194,493,534 | 0 | 0 | Apache-2.0 | 2019-06-30T08:35:33 | 2019-06-30T08:35:33 | null | UTF-8 | C++ | false | false | 15,925 | h | //
// Copyright 2018 ZetaSQL Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"matthewbr@google.com"
] | matthewbr@google.com |
471a69e83540b16248160b509fff250561bb3cf6 | bef56ea19df6f3e540c101b8517a2114675b804a | /APIGame_base/PlayerScript.cpp | cb65205b6e2ee8fbe8907d201a286e447973b285 | [] | no_license | kwt1326/2DProject | 2b0b829dd7331ca4ad3aa87e5c529fe157e23fb3 | 940f0721ac5e4e216ef9b763ac888260aad34fb0 | refs/heads/master | 2022-01-27T23:41:33.703150 | 2022-01-17T00:31:28 | 2022-01-17T00:31:28 | 149,836,434 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 8,680 | cpp | #include "PlayerScript.h"
#include "Transform.h"
#include "input.h"
#include "Animation.h"
#include "AnimationClip.h"
#include "image.h"
#include "Renderer.h"
#include "Ray2D.h"
#include "Component.h"
#include "LOG_MGR.h"
#include "Gamemanager.h"
#include "ObjectManager.h"
#include "ColliderManager.h"
#include "Camera2... | [
"u1326@hotmail.com"
] | u1326@hotmail.com |
6333cdfc5f0bff401866101aa84e7ceac0ddf70f | aa593434b039f15f3927aff624862a802152eedc | /Code/Sources/XPLProcessors/XPLCompilerTool.cpp | f824aed97e043631de2bee818c28c3e2d013e02b | [
"MIT"
] | permissive | vmlemon/Software | 5915e25e7ec1ee4983532d92997256c89c4370b7 | a237bf2a6698bf7bc6c8282227fc22b627e512cc | refs/heads/master | 2023-03-17T20:57:40.124235 | 2018-07-21T19:25:14 | 2018-07-21T19:25:14 | 529,062,513 | 1 | 0 | null | 2022-08-26T00:36:38 | 2022-08-26T00:36:38 | null | UTF-8 | C++ | false | false | 915 | cpp | /* XPL Compiler Tool.c */
/* Driver to allow running XPL as an MPW tool */
#include "XPLCompiler.h"
extern int compiler_main (int argc, char * const argv[]);
short locate_include_file (void*, const char*, char **, void **, FSSpec *) {return (0);}
void release_include_file(void*, void *) {}
void... | [
"cjones@synclavier.com"
] | cjones@synclavier.com |
e3718a0b824a6259b3c78235714d661da3bc34d9 | 3523da0c44c11d931319a82e639cfa5f77c30031 | /source/d3d12/d3d12_command_list.hpp | 69b77eae3c7a14db4c5f856a4c12e7db0899e63a | [
"BSD-3-Clause",
"MIT"
] | permissive | samkatakouzinos/reshade | be6d2f958b1306a96937b25f312cf235c145a065 | b47fe90544a4c5d23cdddadaf9d1d9da07c54aa0 | refs/heads/main | 2023-04-07T04:13:29.402348 | 2023-03-29T19:29:36 | 2023-03-29T19:29:36 | 131,559,764 | 0 | 0 | BSD-3-Clause | 2018-05-25T01:18:25 | 2018-04-30T05:38:08 | C++ | UTF-8 | C++ | false | false | 12,581 | hpp | /*
* Copyright (C) 2014 Patrick Mours
* SPDX-License-Identifier: BSD-3-Clause OR MIT
*/
#pragma once
#include "d3d12_impl_command_list.hpp"
struct D3D12Device;
struct DECLSPEC_UUID("479B29E3-9A2C-11D0-B696-00A0C903487A") D3D12GraphicsCommandList final : ID3D12GraphicsCommandList8, public reshade::d3d12::command_... | [
"crosiredev@gmail.com"
] | crosiredev@gmail.com |
eba0077839bd717b95e2887e66bfc687acca4456 | 50fd4227fb802d65ae6620a3859dd992cb650717 | /src/dpso/ocr/remote_files_lang_manager.cpp | 1f5cb8c483efe180cf8298ae7d0d1cfcdaaa261d | [
"Zlib"
] | permissive | danpla/dpscreenocr | 626c8004a388289589fa254b8b8916b8a3ada50a | 00ef775dae03e6de74bc07cfd04a0918febc8e30 | refs/heads/master | 2023-08-16T07:01:34.946170 | 2023-08-15T19:13:28 | 2023-08-15T19:13:28 | 173,785,193 | 193 | 19 | Zlib | 2020-05-29T19:56:53 | 2019-03-04T16:55:10 | C++ | UTF-8 | C++ | false | false | 10,461 | cpp |
#include "ocr/remote_files_lang_manager.h"
#include <cassert>
#include <jansson.h>
#include "dpso_net/download_file.h"
#include "dpso_net/error.h"
#include "dpso_net/get_data.h"
#include "dpso_utils/os.h"
#include "dpso_utils/sha256_file.h"
#include "dpso_utils/str.h"
#include "ocr/lang_code_validator.h"
#include... | [
"daniel.plakhotich@gmail.com"
] | daniel.plakhotich@gmail.com |
4225f51f19f43fd5c89c88467660886e9f6be168 | 1647bd8dddd75064d1dda276b8bcdc3dcce6c925 | /DAY04/ex01/PowerFist.cpp | 38479318a832ed9b0e507f837fc09ec48d4fe9b6 | [] | no_license | angieshu/CPP-Piscine | fd69f2c9e3e9a10a80f37ee2e3e39763f1aca97d | ab8bc2d45207559f6fd924faaeda593947a6b69b | refs/heads/master | 2021-01-01T06:46:04.053983 | 2017-07-18T18:00:06 | 2017-07-18T18:00:06 | 97,503,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PowerFist.cpp :+: :+: :+: ... | [
"ashulha@e1z2r8p7.42.us.org"
] | ashulha@e1z2r8p7.42.us.org |
5d0c203c667fb08e659232a45f586235fd55cf79 | 4d048737e5f4c64ad0219518253cae18ed5b83b1 | /test/fun.cpp | 0b9efcffcf0ebb783538c6f5736d406f69eb3853 | [] | no_license | oli-obk/julius_tutorial | 9e994d8ae7b1843964162c188262f23530f19625 | e08d139c09378587986d464506eab7a9e9b6e237 | refs/heads/master | 2021-01-22T11:41:56.575360 | 2014-09-07T15:26:06 | 2014-09-07T15:26:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp |
int zufall(int max)
{
return 40; // ich hab nen würfel geworfen, die zahl ist also zufällig
}
| [
"julius@julius-obk.de"
] | julius@julius-obk.de |
5e3bc7bb55ce402f738e8a8f54924d543767db25 | b4f16267d2e19062ec962681c927ef143823a69f | /projekt/problemi/3-sat.cpp | f2b2a5f6d60d10f7d2351d9054e72b87a1df4f09 | [] | no_license | astajd/meta-projekt | e8189aedd299d34cb4056e4f8f7ad9e10cc5ac09 | 84250a9751bf73e50f1f7bc97b69c9c37791ba8f | refs/heads/master | 2020-12-25T06:05:24.794628 | 2012-11-18T11:43:38 | 2012-11-18T11:43:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include "3-sat.h"
// Grnerator speudoslucajnih brojeva
unsigned long init[4] = {0x123, 0x234, 0x345, 0x456}, length = 4;
MTRand_int32 irand(init, length);
MTRand drand(time(0));
//Konstruktor klase Jedinka
Jedinka::Jedinka()
{
for(int i = 0; i < VEL_JEDINKE; ++i)
{
if((int)(irand()*drand()*10) % 10 < 5)
... | [
"anto@cabraja.(none)"
] | anto@cabraja.(none) |
7b55a97744a7652be6b8f14e04b86d4afbd7f829 | 6e31752dab1b418fc288f6205cd8d050d62aa019 | /imu.cpp | 2667b5671db5e22545603e5726655e74f18299a8 | [] | no_license | timwu/ostrich | 39fc939d4075e2aec294f5ed5fdbfd44ced7e106 | 26b41de953d293627871fcc92955fbafc777e071 | refs/heads/master | 2016-09-06T10:35:20.320922 | 2014-10-23T09:33:46 | 2014-10-23T09:33:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | cpp | /*
* gyro.c
*
* Created on: Apr 5, 2014
* Author: tim
*/
#include <ch.h>
#include <hal.h>
#include <MPU6050.h>
#include <math.h>
#include "util.h"
#define ALMOST_ZERO 0.25
#define ROUND(x) ((x) < ALMOST_ZERO && (x) > -ALMOST_ZERO ? 0 : (x));
#define CALIBRATION_SAMPLES 128
#define TO_DEGREES(x) ((180 / M_PI... | [
"tim.wu.0@gmail.com"
] | tim.wu.0@gmail.com |
d462482b0c146c6b8d806a0d6f708f34bbe27120 | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/Fuse.Properties.h | 81b86f45875f544b1d0d312f6d992f0e2a7977c3 | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,734 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/Fuse.Common/1.6.0/Properties.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{struct Properties;}}
namespace g{namespace Fuse{struct PropertyHandle;}... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
81f8385fc5c0adce53cf3ae10429eacb197b7d4d | 39f5ed1178375c65876323589a03ef5daf6e4739 | /remoting/protocol/webrtc_video_frame_adapter.cc | d6101980df9d94f2b3295ead677c488aed3ad5fa | [
"BSD-3-Clause"
] | permissive | berber1016/chromium | 2718166c02fcb3aad24cc3bd326a4f8d2d7c0cae | 9dc373d511536c916dec337b4ccc53106967d28d | refs/heads/main | 2023-03-21T21:53:55.686443 | 2021-05-14T10:13:20 | 2021-05-14T10:13:20 | 367,332,075 | 1 | 0 | BSD-3-Clause | 2021-05-14T10:46:30 | 2021-05-14T10:46:29 | null | UTF-8 | C++ | false | false | 1,756 | cc | // Copyright 2021 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 "remoting/protocol/webrtc_video_frame_adapter.h"
#include <utility>
#include "base/notreached.h"
#include "third_party/webrtc/rtc_base/ref_coun... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
3bee0eb5896dc53630e67e43645be01ce695f9dc | 266f0d4982fd884390f8b561b6a0b6f181b456a0 | /cpp/stack.cpp | 597a1f4832a42dcab30901e60850b379246e43df | [
"Apache-2.0"
] | permissive | liangyouchen/htql | ea013bcfaa67b6328614f06e8eac45ef83bad8c6 | 885ac1d05ffbb15ea8e85af54d8654cca0764115 | refs/heads/main | 2023-07-02T00:33:35.781843 | 2021-08-15T14:43:34 | 2021-08-15T14:43:34 | 323,594,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,447 | cpp | // LASTMODIFY CLY20000430
#include "log.h"
#include "stack.h"
#if defined(_DEBUG) && defined(DEBUG_NEW)
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
tStack::tStack(){
Key=NULL;
Value=NULL;
Next=NULL;
PreSearch=NULL;
Type=0;
Data=0;
}
tStack::tStack(char... | [
"lchen@vps.server.local"
] | lchen@vps.server.local |
de0ff8d81fb18611102e6095a6ede47181f2b481 | 7d11198a7c7be87fad7f64695059a3e4e71c4bee | /src/ui/space_browser.h | 59bd28864fd9f740f9c50508a1091a1f579ab630 | [] | no_license | mdecicco/rosen | 18d06d3321d84bfca6f07799ad27eb0ead5f5b26 | d74e799ca45b83b7f9a76c647e060264f128d970 | refs/heads/master | 2021-05-27T08:16:17.161048 | 2020-05-14T02:13:14 | 2020-05-14T02:13:14 | 254,244,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #pragma once
#include <r2/config.h>
#include <managers/space_man.h>
namespace rosen {
class ui_man;
class space_browser {
public:
space_browser(space_man* smgr, ui_man* umgr);
~space_browser();
void update(r2::f32 frameDt, r2::f32 updateDt);
void render(bool* isOpen);
void element_ui(space_elemen... | [
"mdecicco8@gmail.com"
] | mdecicco8@gmail.com |
364f2c23a514704b9d4ebb56c1acf99bff610c87 | c666425a87aa2ee1d777c5187104fa5ddcdaa399 | /Packages/bag2scans/src/record.cc | 1eebbb3e581ba6373783a0eac9df797c1125ebd7 | [] | no_license | SiChiTong/3D-Scan-acquisition-using-Teach-in-with-ROS | b348552519b434359e360cba195b6e6063c7de61 | c58d80015019ef27c604c967d5ea2a014dae7898 | refs/heads/master | 2021-08-23T23:04:29.686962 | 2017-12-07T00:53:55 | 2017-12-07T00:53:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | cc | #include "rosbag2/recorder.h"
#include "rosbag/exceptions.h"
#include <rclock/logDir.h>
#include <string>
using std::string;
int main(int argc, char** argv) {
ros::init(argc, argv, "record", ros::init_options::AnonymousName);
ros::NodeHandle n;
string filename;
n.param<std::string>("/log/bagfile", filename... | [
"oliver.struckmeier@onlinehome.de"
] | oliver.struckmeier@onlinehome.de |
c589310bd2e33ec30c14ffdb36651061bf42c450 | 61b1d35d29bc40bcb378f94fa62a7051bd0bd581 | /solution/common/src/common.cpp | 4cced2525e7dd44428aa3c1b6e3f3442225dd1c8 | [] | no_license | silverfield/ttbl-final | 8fe81b87d4fb561d0b356f513dbbd24202f3952d | 86fe7f564de2654115c4fbaf1408724b27f203ff | refs/heads/master | 2021-01-22T14:39:15.080455 | 2013-05-04T16:51:54 | 2013-05-04T16:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,074 | cpp | /*****************************************************************/
/* Includes
/*****************************************************************/
#include "string.h"
#include <sstream>
#include <iostream>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <time.h>
#include "common.h"
using namespac... | [
"ferohajnovic@gmail.com"
] | ferohajnovic@gmail.com |
ee68bdfc6d7c83d1c7f9bc9a06d85477db2f30d6 | 6250cf5f3bc3f2e748a1ddf8bb2de3dbe5652ba0 | /2019/qualification/C/pangram.cpp | 404b4a781087fe9e6ca0e71f577e2c1279e9c774 | [
"MIT"
] | permissive | qkniep/google-code-jam | ecab75a6edec6f9c2a1b230973fcf36ec9f56d70 | b6b6b1f2e4927a2059848df4c8e955a7d20b1a62 | refs/heads/master | 2021-05-01T18:05:34.655020 | 2021-01-26T09:00:41 | 2021-01-26T09:00:41 | 121,002,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | cpp | #include <array>
#include <iostream>
#include <set>
#include <vector>
std::set<int> panPrimes;
std::vector<std::array<int, 2>> factors;
int gcd(int a, int b) {
while (b != 0) {
int t = a % b;
a = b;
b = t;
}
return a;
}
char charForPrime(int prime) {
int c = 0;
for (int p : panPrimes) {
if (p < prime)... | [
"hello@quentinkniep.com"
] | hello@quentinkniep.com |
1fb061af5a898016f4e40b94210c8a4bab2bc912 | 37ffd116535acab191da2b4c62dfd58868f8287b | /palindrome_linked_list/solution.cpp | a772dd2e12f828676c2282699674e8915ea70552 | [] | no_license | huwenboshi/leetcode_exercises | c1a494dd4452d2644d21d7bb337f8b268508df17 | 73bb1741070b50b7729afe7e2edb79d224b2a6d4 | refs/heads/master | 2019-06-24T14:20:27.149089 | 2016-08-30T06:43:08 | 2016-08-30T06:43:08 | 66,914,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | #include <stdio.h>
#include <stdlib.h>
struct ListNode {
int val;
struct ListNode *next;
};
void print_list(struct ListNode* head) {
while(head != NULL) {
printf("%d ", head->val);
head = head->next;
}
printf("\n");
}
struct ListNode* reverseList(struct ListNode* head) {
if(he... | [
"shihuwenbo@ucla.edu"
] | shihuwenbo@ucla.edu |
0994f4383ca3a78a64f87bfe5fdf26ccfcbccdfa | 552e8f8a14209c214789894f91ecdaf0dd00e98b | /StaticHttpServer/Response.h | 25672f7968ffa0b3545515e715d2b25d1e1f9ae7 | [
"MIT"
] | permissive | ZiJiaW/StaticHttpServer | 2f9200362f920d3c5e5ad3a652230fa70ff778b9 | 92f9eedfd91d7549a87f9a4d50a6f05ee547fcc8 | refs/heads/master | 2020-08-28T11:29:18.230252 | 2019-12-01T04:58:17 | 2019-12-01T04:58:17 | 217,685,389 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,153 | h | #pragma once
#include "basic.h"
namespace http {
class Response
{
public:
Response() = default;
~Response() = default;
// 因为单次http应答发送完就会销毁,这里禁止copy,以减少不必要的开销
// 也可以用智能指针,但是这样比较cool~~
Response(const Response &rsp) = delete;
Response &operator=(const Response &rsp) = delete;
Response(Resp... | [
"964513305@qq.com"
] | 964513305@qq.com |
f34e9e1747a52b0f03747f9b0ab91fbb07b1fab7 | 47abd462bf24f3b19000d88b7f9d63622a1a3fe6 | /JB/Week1/3015_Patrick/compare.cpp | 49a2b53ec83f07ec62cdd0e10da20eacf09267a8 | [
"Apache-2.0"
] | permissive | alps-jbnu/ALPS_2020_Summer_Study | 1f5b9e59ca2e8dcd10fdeced043f19e3a3b5aeeb | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | refs/heads/master | 2022-12-16T04:28:25.099163 | 2020-08-27T07:20:31 | 2020-08-27T07:20:31 | 277,059,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,052 | cpp | // code by KiWan
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include <queue>
#include <set>
#include <cmath>
#include <algorithm>
#include <stack>
using namespace std;
#define INF 987654321
#define INF2 1e9;
#define MOD 998244353
#define pii pair<int, int>
#define pll pair... | [
"danieltiger60@gmail.com"
] | danieltiger60@gmail.com |
5de08395e91e1ed0bc6422520efcdccc1127b9dc | 0fc1c12ee854d3d5cc6d8f07a279e4bdc0d792fb | /Client/ProgressDlg.cpp | fedca9e2c0289e7bd53088dbb07352f990d971ad | [] | no_license | webs3c/remote_control | c5c58ba3b15096e936314cc4995afbcab59e0f0a | a5b1cb28c176323fbcd69a242cf14b29366bd52b | refs/heads/master | 2021-01-02T08:50:40.929835 | 2014-05-03T15:53:33 | 2014-05-03T15:53:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,907 | cpp | // ProgressDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "Client.h"
#include "ProgressDlg.h"
#include "SystemManager.h"
// CProgressDlg 对话框
typedef struct
{
TCHAR *title;
int nWidth;
}COLUMN_PRO; //进程List列表信息
COLUMN_PRO g_Column[] =
{
{_T("进程名称"), 102 },
{_T("进程ID"), 82 },
{_T("线程总数"), 82 },
{... | [
"hswjzhang@gmail.com"
] | hswjzhang@gmail.com |
0cfe40867c73d9433d85f535dfc88cf0e3614b44 | d03f3469179a0884d387ccd49ce00eb9e75354c5 | /src/solvers/ABT/solver/search/steppers/default_rollout.hpp | 66f0d72e0585034252d00fdcd558dc912ce83a7c | [] | no_license | Ningg17/oppt | b9063d30acee090b16b97c7857660afdc2ebb122 | 750c265d059ff43f27aaf8f407639e062a1d7da8 | refs/heads/master | 2023-07-22T15:54:16.969457 | 2021-07-19T16:03:05 | 2021-07-19T16:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | hpp | /** @file default_rollout.hpp
*
* Defines a simple rollout strategy that queries the model for a history-based rollout action.
* This is done via the StepGenerator and StepGeneratory factory classes in search_interface.hpp.
*/
#ifndef SOLVER_DEFAULTROLLOUTSTRATEGY_HPP_
#define SOLVER_DEFAULTROLLOUTSTRATEGY_HPP_
#i... | [
"hoergems@gmail.com"
] | hoergems@gmail.com |
62003dfa78b264643c3a74e7fe8be7ad2f1843e0 | c26d325bca488b2f071f15e7dd09a54a7bba2cf2 | /Task 2/tsepov_artyom.cpp | aee2d118cea63e6b4dbb14ce24ac660db052d597 | [] | no_license | devmentality/cpp-ft201-2019 | ef8388b77dbfb5dee0fab7e4ec64b22b56d11ee8 | 6529edf9ee2dfa121ab76a9e2727d1f4df71cacc | refs/heads/master | 2020-05-06T13:34:32.272691 | 2019-05-26T10:01:42 | 2019-05-26T10:01:42 | 180,143,869 | 0 | 1 | null | 2019-04-09T17:02:19 | 2019-04-08T12:25:49 | C++ | UTF-8 | C++ | false | false | 7,743 | cpp | #pragma comment(linker, "/STACK:16777216")
#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
#include <string>
#include <queue>
#include <unordered_map>
#include <cmath>
#include <iterator>
#include <stack>
#include <unordered_set>
#include <bitset>... | [
"noreply@github.com"
] | devmentality.noreply@github.com |
edab6035371f367c4fb96b931d598b68f4d4b4a0 | c0b2abf06ea0daebf3cd29c58b0f999255dc200a | /algorithm_toolbox/wk2/2/fractional_knapsack/fractional_knapsack.cpp | 397a34e13e0517627b9faf40112bc53c1a6a4b2a | [] | no_license | moyuanhuang/coursera_algorithm_design_cse202 | 9c599eb3b058c6cf2daf7b402dfa0d4596deaf55 | 240b12c0ee21eafb6c9f738a31f81ce1837fc88d | refs/heads/master | 2021-01-20T06:52:29.335001 | 2017-03-19T04:34:43 | 2017-03-19T04:34:43 | 82,598,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
bool cmp(pair<long long, long long> p1, pair<long long, long long> p2){
double vpw1 = (double)p1.first/(double)p1.second;
double vpw2 = (double)p2.first/(double)p2.second;
return vpw1 > vpw2;
}
double get_optimal_value(long long cap... | [
"moyuanhuang@gmail.com"
] | moyuanhuang@gmail.com |
e05ee6489ff6402df8ebc750511456b676fd48d2 | 16b14cf2eb43ed536634fda93d5ff6b98aa759eb | /PA7/Menu_testing/include/graphics.h | 8cf5b7a15383fc4cdde9a0b6cd750cf55bb00f10 | [] | no_license | franklandorian/cs480Haymore | f517c6453430d43758901c8dfcd1d09dfc8f24ee | e781b3f6c838e3b89bc01410243a57a009dd0dc3 | refs/heads/master | 2020-07-14T21:03:20.676344 | 2020-01-03T00:27:17 | 2020-01-03T00:27:17 | 205,401,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | h | #ifndef GRAPHICS_H
#define GRAPHICS_H
#define GLM_ENABLE_EXPERIMENTAL
#include <iostream>
using namespace std;
#include "graphics_headers.h"
#include "camera.h"
#include "shader.h"
#include "object.h"
class Graphics
{
public:
Graphics();
Graphics(string vShader, string fShader);
~Graphics();
bool Ini... | [
"ikuznetsov@nevada.unr.edu"
] | ikuznetsov@nevada.unr.edu |
de18fba727f3c5786a1d5791491c4fc89f1cf866 | af71799a53c07e13f2f4c323391c77364c2b48c7 | /libraries/Ticker/examples/Blinker/Blinker.ino | ffefa76f3c29bebc4fe168fd591527f33d1cc8f4 | [] | no_license | phillipsback/A71 | e200ec8e96d9f7c5861d4f9fbf102f9a27b15372 | b0d6b279f26f7e277b45d3c51aa76b397db455bc | refs/heads/master | 2023-07-28T09:06:44.932093 | 2021-04-30T01:45:18 | 2021-04-30T01:45:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | ino | #include <Arduino.h>
#include <Ticker.h>
// attach a LED to pPIO 13
#define LED_PIN 13
Ticker blinker(TIMER0);
Ticker toggler(TIMER1);
Ticker changer(TIMER2);
float blinkerPace = 0.1; //seconds
const float togglePeriod = 5; //seconds
void change() {
blinkerPace = 0.5;
}
void blink() {
digitalW... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
3842098d4ede340bdc0b03e2102b70c6a3ecc65a | 8a1302c7f69db619ec871375635dc264fd3e3dbb | /src/components/store/hstore/src/hstore_kv_types.h | 5e306eb27ecd9cb072426567d9be8e95b3a748c3 | [
"Apache-2.0"
] | permissive | Bhaskers-Blu-Org1/mcas | 5a1f65178d2e71f8dd90a388ac7fc7f95f6cd0fe | 5abab4d9682f099e55e352ec3e0b78577ee5087f | refs/heads/master | 2022-04-15T21:03:44.594501 | 2020-04-03T22:26:43 | 2020-04-03T22:26:43 | 275,845,938 | 0 | 1 | NOASSERTION | 2020-06-29T14:53:57 | 2020-06-29T14:53:56 | null | UTF-8 | C++ | false | false | 1,337 | h | /*
Copyright [2017-2020] [IBM Corporation]
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 agreed... | [
"daniel.waddington@acm.org"
] | daniel.waddington@acm.org |
33485cf338e363a5aa21cf0684fcf9759e5d5383 | 2110f57f842379f05c0bee73bbca2f6d35b66d78 | /_1026.ino | c6a44f4427dae07062fb4c4605916a2140789880 | [] | no_license | kutmicro2017/2014136019 | 4df6bea7b0df2e11d83c6971451c767cefb5e2a7 | 86287edb9d534f2eac6594249f4f498a966f7cc3 | refs/heads/master | 2021-05-16T09:42:33.441726 | 2017-12-12T06:21:49 | 2017-12-12T06:21:49 | 104,576,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,358 | ino | // 시간 관련 상수
#define GREEN_DELAY 10 // 초록불 지속 시간(s)
#define BLINK_COUNT 3 // 노란불 점멸 횟수
#define GREEN_TO_YELLOW 1 // 버튼을 누르고 노란불이 켜질 때까지의 시간(s)
#define RED_DELAY 5 // 보행자 버튼 지속 시간(s)
// 차량 신호등
// 상하 -> 좌우 방향으로 반복
// 1차 배... | [
"noreply@github.com"
] | kutmicro2017.noreply@github.com |
afed862d544630b793d1be0a96ff59b6d2f36ee8 | c351647722914caa93b18aed09354455c0afee8e | /Swift-Interoperability/CPlusPlusLinkage.cpp | f3ca3cfe8a940f0803d8cab9cb5a0f588fe49137 | [
"MIT"
] | permissive | CoronaCards/sample-ios-ChildView-swift | b425a23d839543d4909de37f85c3d6cbb469f5d5 | e61e07407a46ddee28a9ba10b1dd11810a69bd32 | refs/heads/master | 2020-04-16T15:41:41.836605 | 2017-04-07T20:04:31 | 2017-04-07T20:04:31 | 27,197,236 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | //
// CPlusPlusLinkage.cpp
// ChildView-swift
//
// Copyright (c) 2014 Corona Labs Inc. All rights reserved.
//
// NOTE: Swift projects do not normally have C++ code.
// Compiling this empty stub file ensures that Xcode links in C++ libraries
// which are required by CoronaCards.framework.
| [
"walterlua@coronalabs.com"
] | walterlua@coronalabs.com |
9927e8bcae0731ca1995c86416f88ef357fe137c | 5ef1f4a690f96741c00e2afb0a3aa7327bd5e67e | /Server/Source.cpp | c84a28101f95ee24aa5fd5b264eb468e049ef824 | [] | no_license | darienmiller88/GUI-Chat | 725c8226329aeeeb5714fce90601eea123db1b6f | 8cb9dcbc56e9738796ed26069bf8e67aea7c0c41 | refs/heads/master | 2021-01-01T11:44:20.219650 | 2020-02-09T07:33:43 | 2020-02-09T07:33:43 | 239,264,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <iostream>
#include <SFML/Graphics.hpp>
#include "Server.h"
using namespace sf;
int main() {
constexpr uint16_t PORT = 2000;
Server server(PORT);
server.runServer();
} | [
"noreply@github.com"
] | darienmiller88.noreply@github.com |
b0779209b334c916f6c62df4a89eaf5b6acacbe9 | 2c10a546a1061131a03f6f974119263ff3e79f39 | /FFX_Dodger/FFX_Dodger.ino | 7b39af1d5a3cb6dcf3569902e14e92da4b4e3895 | [] | no_license | Elstinko/FFXLightningDodger | 94695485b05dec3710ce08c1f26798de3a127243 | e315c850ecfd3ac297e97634074e73a3f9d22134 | refs/heads/master | 2020-06-05T09:39:35.230205 | 2019-06-17T20:22:40 | 2019-06-17T20:22:40 | 192,395,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | ino | // PhotoResistor (LDR) on pin A0
// Servo on pin 9
#include <Servo.h>
Servo servo1;
const int lightPin = A0; // LDR Pin
const int servoPin = 9; // Servo Pin
int angle = 0; // Servo Angle
int servoMove = 70; // The amount the servo moves in degrees
int count = 0; ... | [
"noreply@github.com"
] | Elstinko.noreply@github.com |
5264661f7b32c373124dda1acd11499dc55697c2 | c65da772244d12dd64b96a23842ca416915a875f | /components/launch_process_test_server.cpp | 10a3f12c52a60ac7c6d044b172af7d9e0d251908 | [] | no_license | akheir/launch_process | 76934862f2f86a804fc50e07bde505b4e3ba8fd5 | db88e4688768a7bc0da906dafa6176f371a20da5 | refs/heads/master | 2021-08-08T06:50:49.178304 | 2017-11-09T19:34:41 | 2017-11-09T19:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | // Copyright (c) 2016 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <hpx/include/actions.hpp>
#include <hpx/include/components.hpp>
#include <components/launch_process_test_server.h... | [
"kheirkhahan@gmail.com"
] | kheirkhahan@gmail.com |
b8c2974f034ba52e5b5cf96adb4fc4f64cae03a1 | d51d6d76cb481c7e4cfc03c7934c4f34f214544b | /modules/task_2/METHOD_GAUSS_NADIR/main.cpp | 0ed8b0ea80ffdc294aca223ae1240ad3140fef52 | [
"BSD-3-Clause"
] | permissive | drwff/pp_2020_autumn_informatics | 04cc496b9b639e6139d78dfbe7a35877ed0d506c | 6205735ad7b3b65a66e43a6d53c7b4dacd5815c4 | refs/heads/master | 2023-01-24T13:51:18.455724 | 2020-12-05T12:37:38 | 2020-12-05T12:37:38 | 305,469,621 | 1 | 0 | BSD-3-Clause | 2020-12-05T12:37:40 | 2020-10-19T17:56:03 | C++ | UTF-8 | C++ | false | false | 2,459 | cpp | // Copyright 2020 Nadir mohammed
#include <gtest-mpi-listener.hpp>
#include <gtest/gtest.h>
#include<mpi.h>
#include<vector>
#include "./Methodgauss.h"
TEST(GAUSS_PARALLEL_MPI, 2x3) {
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
int row = 2, col = 3;
double* array1{ new double[r... | [
"63372033+davinci17@users.noreply.github.com"
] | 63372033+davinci17@users.noreply.github.com |
2156cdc3ad7ef6a7cff3d10b23df592baac3ea61 | 84897b6a25f876b21246c2c7e1404c9c411be987 | /src/include/common/RCBitlDecoder.inl | 78791e9c906b52306759e0906ed78c500ee55c2d | [] | no_license | drivestudy/HaoZip | 07718a53e38bc5893477575ddf3fccfb3b18c5fd | 9e0564b4a11870224543357004653b798fd625e0 | refs/heads/master | 2021-07-24T06:33:24.651453 | 2017-11-05T01:19:18 | 2017-11-05T01:19:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,717 | inl | /********************************************************************************
* 版权所有(C)2008,2009,2010,好压软件工作室,保留所有权利。 *
********************************************************************************
* 作者 : HaoZip *
* 版本 : 1.... | [
"zhou_jiafeng@aliyun.com"
] | zhou_jiafeng@aliyun.com |
94eb87efa014e8aed47258635e66bb49a7aa41af | 80b7386a59ef9fbb9b5b0ee1d6477ede59340915 | /cf270-140928/源2.cpp | d934266bb38649498456c8184aed11c1bae309fe | [] | no_license | zhangtufei/CodeForces | 86e2b7493137da65847ac9d39c95cd689648ec7e | d15e8a1b9e9a359a62a1ee128aef7dd33297c06d | refs/heads/master | 2021-01-19T07:16:42.344163 | 2015-07-01T09:48:16 | 2015-07-01T09:48:16 | 38,363,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <map>
#include <math.h>
using namespace std;
int main()
{
int n, k;
while (cin >> n)
{
cin >> k;
map<int, int> fl;
int temp;
for (int i = 1; i <= n; ++i)
{
cin >> temp;
++fl[temp];
}
long long sum = 0;
map<int... | [
"412710370@qq.com"
] | 412710370@qq.com |
483962b6d7486368c541b2fc62f4069885f74cbc | 96c2f55e386ce7b5657a6e69938aff7a7fb3e221 | /Plugins/DlgSystem/Source/DlgSystem/Public/IO/IDlgWriter.h | c5b415bd5cc4c5c17c74c23cce609757bb02580d | [
"MIT"
] | permissive | zhyinty/NotYetDlgSystemSample | cdce2c77e0bdeff4a5b95d9d9e615252942e4b76 | affc21070bda2330796df39bccd9692217721e7a | refs/heads/master | 2020-03-31T17:08:23.080205 | 2018-10-10T10:55:26 | 2018-10-10T10:55:26 | 152,408,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | h | // Copyright 2017-2018 Csaba Molnar, Daniel Butum
#pragma once
#include "UnrealType.h"
/**
* The writer will ignore properties by default that are marked DEPRECATED or TRANSIENT, see SkipFlags variable.
*
* Limitations:
* - TSet or TMap with the KeyType as float or structures that have floats, this is very bad yo... | [
"zywgg@icloud.com"
] | zywgg@icloud.com |
b40c500062213fdfdb89507b30cc91881744ea1a | 8318a1144be4872574ac1ceabd854f836e7362c2 | /SFML-2.4.2/include/SFML/Graphics/Glyph.hpp | 6ac213eb5cc5872372a7a3d7a447a3a93b3a184c | [] | no_license | ValeryStatinov/Patterns_project | 239647f8adf62437acd94e6957f58de9c0173125 | be29148e817b8a1fb431174a613ee166fb44f9e1 | refs/heads/master | 2021-01-25T10:06:28.417815 | 2018-05-23T01:15:42 | 2018-05-23T01:15:42 | 123,339,860 | 0 | 0 | null | 2020-02-16T11:09:14 | 2018-02-28T20:40:26 | C++ | UTF-8 | C++ | false | false | 2,751 | hpp | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2017 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | [
"stv1k@stv1k-deb"
] | stv1k@stv1k-deb |
fbb604e41afa7bc4de8e77a4c926743bf9310712 | 34a7f4ea3debd4d501aab16b2d746653317ecf6b | /auto_diff/include/node/Node.h | 26ad91c7095d00f8f91a2d1c9ec069020fc8c7bb | [] | no_license | zakheav/machine_learning | 06416c7ed4ce5273016093cc578a6fd0a13322fb | ba9f78f9aa5e92e9d60e72f0f10e9c430a24b162 | refs/heads/master | 2021-01-11T16:09:56.023090 | 2020-05-17T07:54:48 | 2020-05-17T07:54:48 | 80,023,610 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef NODE_H_
#define NODE_H_
#include <string>
#include <vector>
#include "../Tensor.h"
/*节点的基类*/
class Node {
public:
std::string op_name;// 节点名字(全局唯一)
std::vector<Node*> parents;// 输入节点
Tensor* output;// 输出
Tensor* sum_grad;
int need_update;
int end_node;
... | [
"18810543471@163.com"
] | 18810543471@163.com |
b2ac0417400c40028c6aabfb248bb9976b24889a | 756c34ddf5edfa3b11928160750a3136ba286787 | /include/occa/lang/type/vartype.hpp | 60563b08550a7fc2e82ac557fd43b58a374147f0 | [
"MIT"
] | permissive | myfreebrain/occa | 4a1ed60852e8eba1dcc9383fea918fb6f8ffc996 | ebdb659c804f91f1e0f32fd700f9fe229458033c | refs/heads/master | 2020-05-31T07:42:11.238757 | 2019-05-14T20:44:13 | 2019-05-14T21:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | hpp | #ifndef OCCA_LANG_TYPE_VARTYPE_HEADER
#define OCCA_LANG_TYPE_VARTYPE_HEADER
#include <occa/lang/type/type.hpp>
namespace occa {
namespace lang {
class vartype_t {
public:
qualifiers_t qualifiers;
identifierToken *typeToken;
const type_t *type;
pointerVector pointers;
token_t ... | [
"dmed256@gmail.com"
] | dmed256@gmail.com |
f2bea0389123c937a322a2d966c2cb17fa1394c4 | 68de3cf64bed153c466de0e0abb90e0cddb499da | /RHeroes/shared/configreader.h | 2567ff65d29774173a3ed9b99f3be8bbd7b75d44 | [] | no_license | yuyuyu00/Tesi | d2e5610eae0773220256b7641ac36cb2cb78b778 | 8ecb2f089ec6a6bb9cea79eac679e297ca7d416b | refs/heads/master | 2021-01-19T09:37:33.337054 | 2016-03-09T21:35:18 | 2016-03-09T21:35:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | h | #ifndef CONFIGREADER_H
#define CONFIGREADER_H
#include <QObject>
#include <QFile>
namespace Config{
/**
* the class implements a reader for the configurations
* of the single robots.
*/
class ConfigReader : public QObject
{
Q_OBJECT
public:
/**
* Constructor for the ConfigReader.... | [
"giuseppe.andrea.f@alice.it"
] | giuseppe.andrea.f@alice.it |
5e326c4a08817622c31cfd497b5a0121d5847b78 | c51febc209233a9160f41913d895415704d2391f | /library/ATF/std__exceptionDetail.hpp | 10c2bc0625044926dca8b954a74580343abb879a | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 415 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <std__exceptionInfo.hpp>
START_ATF_NAMESPACE
namespace std
{
namespace Detail
{
extern ::std::array<hook_record, 5> excepti... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
8c5b23c9843fa7728cbc7b3c313dddc90a7dc14a | 33771f76da1cf363ca014c83599d6fcc73414ab2 | /src/wallet/test/coinselector_tests.cpp | 152bc74656d60411efb906757960713860973627 | [
"MIT"
] | permissive | Quang7hong81/Bitcoin-V | 94e215b3c9834f34501d031fdd70990774ccd256 | f31543eeff790c544bcd440d9b1e98d7ab337458 | refs/heads/master | 2023-07-08T16:12:39.032637 | 2019-03-07T06:12:32 | 2019-03-07T06:12:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,787 | cpp | // Copyright (c) 2017-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/wallet.h>
#include <wallet/coinselection.h>
#include <wallet/coincontrol.h>
#include <amount.h>
#include <pr... | [
"nullfunctor@bitcoinv.org"
] | nullfunctor@bitcoinv.org |
efcf532402deabddcb259475392fc5571e454544 | ded926558f8fa5def08a847192b5d3a7ad801a3d | /TicTacToe/TicTacToeTests/TicTacToeTest.cpp | 6a1bfa5b05857133066fc77c966ebdf6583fe7f3 | [] | no_license | 8thlight/cpp-training-custom | 03e745ebb5cc3d2d72f442397166ce7089ba87e3 | 627ce11bbbaa649735a5b498cf847c6c877f4354 | refs/heads/master | 2020-04-18T23:30:42.673535 | 2019-03-12T14:42:44 | 2019-03-12T14:42:44 | 167,823,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | // Copyright 2019 < 8th Light >
#include <gtest/gtest.h>
#include "../TicTacToe/TicTacToe.hpp"
#include "../TicTacToe/RandomPlayer.hpp"
#include "StubUI.hpp"
namespace training {
TEST(TicTacToe, hvhGameP1Wins) {
StubUI stubUI({ "1", "1", "4", "2", "5", "3" });
TicTacToe ttt(stubUI, 3);
tt... | [
"devlin.glasman@gmail.com"
] | devlin.glasman@gmail.com |
0e7a2020a4e5871fe48247224231b683b7274929 | 8c6047251fab46c71030b8fc4fac995c3269639f | /modules/wechat_qrcode/src/zxing/common/unicomblock.hpp | df08d140ebbeb0c6c31899cdc718b359d849b311 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-Warranty",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DevenLu/opencv_contrib | 01210c07b292f2290861df1e51b27cc5fb9295c9 | 273246d8572cf005c7648e60c6cef78240edfb3e | refs/heads/master | 2023-02-12T21:40:03.347386 | 2021-01-15T08:15:00 | 2021-01-15T08:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | hpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Tencent is pleased to support the open source community by making WeChat QRCode available.
// Copyright (C) 2020 THL A29... | [
"zhigangdai@hotmail.com"
] | zhigangdai@hotmail.com |
9c415064fcb4c6b4f29ba2ecb0ab1bcb85735507 | 1dd1f9ec7b329f08be32041ee6ab917336781ad7 | /src/Character.cpp | 367d4b11a6b4c8148ef32098414b2a98ee63ade3 | [] | no_license | FiBe4000/fibengine4000 | 0af651891ce1e4562048d7d11bdfb89891bc8774 | c9a2b00b4373eaf8e4c55dce32f9d125731a5a04 | refs/heads/master | 2021-01-21T11:45:08.332212 | 2015-12-05T22:08:16 | 2015-12-05T22:08:16 | 35,506,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,394 | cpp | #include "Character.h"
#include "GameEngine.h"
Character::Character(std::string charFilename) : animChar(sf::seconds(0.2), true, false)
{
char filename[30];
int i;
for(i=0; i<charFilename.length(); i++)
filename[i] = charFilename.at(i);
filename[i] = '\0';
if(!characterTexture.loadFromFil... | [
"fibeube@gmail.com"
] | fibeube@gmail.com |
ff6abb13ca2d3408de13680c6d9fc1629e87e0ef | 84d89cf12742f556d0201be63777d833c0c0df0a | /Autonomous Snowplow 2019/dead_reckoning.h | 2e46bd01ec82717c13119f0c494ddc3782048932 | [] | no_license | ISURobotics/AutonomousSnowplow2019 | b50db478a451f0e83102abbdaa740c20fcbea7b7 | ac0a70d0524321981c39b52c6c810b8ba629ada5 | refs/heads/master | 2021-07-12T09:57:20.946764 | 2019-01-06T21:23:01 | 2019-01-06T21:23:01 | 140,986,573 | 1 | 3 | null | 2018-09-22T20:57:12 | 2018-07-15T00:16:41 | C++ | UTF-8 | C++ | false | false | 600 | h | #pragma once
#include <ctime>
#include <cmath>
#include "snowplow_type.h"
#define PI ( 3.14159265 )
class dead_reckoning {
public:
dead_reckoning(atomic<double> * x_pos, atomic<double> * y_pos, atomic<double> * orientation,
drive_data_pkt * drive_pkt, atomic<long> * timestamp);
private:
atomic<double> * prv_x_... | [
"AndrewHancock0@Gmail.com"
] | AndrewHancock0@Gmail.com |
65225986873c4e16da9d7fbec08b598054d4974c | cbba4843ce29e263bb6a4b371547cdc7b1cde095 | /DISCONTINUED/includes-aj/assembler/MacroAssemblerCodeRef.h | a02939a3c4abba6725cca006ac2d195212011ffe | [
"Apache-2.0"
] | permissive | openaphid/Runtime | e5c15adbec0c8d64a3cee4f0e707ff4127387b5f | f2d779b45632bba438e2a9a655166f4963274425 | refs/heads/master | 2021-06-20T08:45:50.765804 | 2021-03-10T09:10:26 | 2021-03-10T09:10:26 | 4,126,273 | 56 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 6,288 | h |
/*
Copyright 2012 Aphid Mobile
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 agreed to in writing, software
d... | [
"openaphid@gmail.com"
] | openaphid@gmail.com |
3a633f5688bc4333cb9a3f29137e0be4f166a6bc | 99566774a6ddd652f5520916aa924b6c8ad01461 | /Source/Voxel/Public/VoxelTools/VoxelProjectionTools.h | 161ceb3a585778c8498b3c2e91ff49dec0908beb | [
"MIT"
] | permissive | aurodev/VoxelPlugin | 20c8e6d0069e4da28c95c304bdf0241d4fe11875 | bd1679a3541485a9e2e9555deaba43f9b38607b2 | refs/heads/master | 2021-04-17T13:02:27.660228 | 2020-01-26T10:02:46 | 2020-01-26T10:02:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,933 | h | // Copyright 2020 Phyronnaz
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Kismet/KismetSystemLibrary.h"
#include "CollisionQueryParams.h"
#include "VoxelTools/VoxelSurfaceTools.h"
#include "VoxelProjectionTools.generated.h"
class AVoxelWorld;
USTRUCT(Bluep... | [
"phyronnaz@gmail.com"
] | phyronnaz@gmail.com |
a948d057066f9245a805aca0b92d6c6e5b2111bf | d72a33659c0af3f18fdb29edb8c85e3e261017fa | /filterCommon.h | 559c5b040be8b396a979d6f8e98e9fbf5650a47f | [] | no_license | littlebeanfang/arcfilter | f0f22f9792a5b5e2ba9ad51e30dd2c906b080742 | 6d0e34fccec5fdf5b38d217ac99609d2c07e9f89 | refs/heads/master | 2020-05-20T06:37:23.487459 | 2011-04-16T15:58:46 | 2011-04-16T15:58:46 | 35,925,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,313 | h | /******************************************
*
* filterCommon.h
*
* Shane Bergsma
* June 3, 2010
*
******************************************/
#ifndef FILTERCOMMON_H
#define FILTERCOMMON_H
#include <stdio.h> // For sprintf
#include <stdlib.h> // For all the exit()'s called by the mains
#include <tr1/unordere... | [
"bergsma@cs.ualberta.ca@99770927-89b6-3fda-ff45-25cc84932d1e"
] | bergsma@cs.ualberta.ca@99770927-89b6-3fda-ff45-25cc84932d1e |
5e193b230c92f5a54f399171055f859edb47982d | 6a9b877ca9b18ccf3764a999340aeda1679eb76c | /src/capengine/tiledtileset.cpp | 0b7ef1ef0d2d1252950264b587e831a849d7de56 | [] | no_license | calebpalmer/capengine | f63299ce55bba6621d021daa4d5857efcc12a1b4 | d6851a776372e676afcb17711cec115cdcf2b392 | refs/heads/master | 2023-07-07T09:07:38.862127 | 2023-06-29T23:44:52 | 2023-06-29T23:44:52 | 8,950,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | cpp | #include "tiledtileset.h"
#include "CapEngineException.h"
#include "VideoManager.h"
#include "captypes.h"
#include "locator.h"
#include <boost/throw_exception.hpp>
#include <fstream>
namespace CapEngine {
TiledTileset::TiledTileset(const jsoncons::json &in_data, std::optional<std::filesystem::path> in_path)
: m_t... | [
"palmer.caleb@gmail.com"
] | palmer.caleb@gmail.com |
0657932a3d196e22bc95a8a356ae84ffaace72ee | 9fc919b7e778361bc81137f6a0a1abe6acbc74bc | /onerut_normal_operator/src/domain_custom.cpp | d9a035aaf1df55f7767cdc0a3c0ed567d77d1b23 | [] | no_license | MateuszSnamina/onerut | 315f712d36d2ebc797e0292b9d78b7629d81df2c | a38b3790f995aac1a89f415c47f27f7b63bf8c0d | refs/heads/master | 2020-04-16T10:41:44.417458 | 2019-06-02T21:49:07 | 2019-06-02T21:49:07 | 165,513,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include<cassert>
#include<onerut_normal_operator/domain_custom.hpp>
namespace onerut_normal_operator {
CustomDomain::CustomDomain(std::vector<std::string> state_names) :
_state_names(state_names) {
}
uint32_t CustomDomain::size() const {
return _state_names.size();
}
std::string Cu... | [
"mateusz.snamina@gmail.com"
] | mateusz.snamina@gmail.com |
bc47c87a39c08a404efcf0eeceb105e83f3fd456 | 0d653408de7c08f1bef4dfba5c43431897097a4a | /cmajor/system-x/kernel/Compression.cpp | 264de192b4a91b7bd68a9d0e6b1778caad1c101e | [] | no_license | slaakko/cmajorm | 948268634b8dd3e00f86a5b5415bee894867b17c | 1f123fc367d14d3ef793eefab56ad98849ee0f25 | refs/heads/master | 2023-08-31T14:05:46.897333 | 2023-08-11T11:40:44 | 2023-08-11T11:40:44 | 166,633,055 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,307 | cpp | // =================================
// Copyright (c) 2022 Seppo Laakko
// Distributed under the MIT license
// =================================
#include <system-x/kernel/Compression.hpp>
#include <system-x/kernel/IO.hpp>
#include <system-x/kernel/Process.hpp>
#include <system-x/machine/Processor.hpp>
#include <syste... | [
"slaakko@gmail.com"
] | slaakko@gmail.com |
f06e2f3aad424f2a3f51b052884a7a275e98443c | 043932e98e00d1340b75b6163f4b08d2663449be | /AI.cpp | 86c24d2c3d29c366227802b802429e95bf5e47c4 | [] | no_license | shaammurali/conquest | 2598ed0a05ebc64310daf130ea6153f67e72681e | 5723888b111e42c79f3f3480ece03b1fb6f53f3b | refs/heads/master | 2020-12-29T18:52:34.725029 | 2015-04-13T16:52:55 | 2015-04-13T16:52:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | #include "AI.h"
#include "strategy.h"
#include "aggressive.h"
#include "defensive.h"
#include "random.h"
AI::AI(int id)
{
isComputer = true;
playerID = id;
name = "CPU"+to_string(id);
int num = strat->getStrategy();
switch (num)
{
case 0:
strat = new aggressive();
stratType = "aggressive";
break;
case ... | [
"mrj1m0thy4@gmail.com"
] | mrj1m0thy4@gmail.com |
5f71bb965f106371bd8a433f2e7bd8715367f253 | 2efc948cd67ffd5457da77c785ffee418e14166a | /CPTTRN6.cpp | 4de23e264db695228ed980be3504919e2ad62d48 | [] | no_license | aguilarpgc/SPOJ | 8d469c462a264fcda98007fe16a9b193612d61a0 | 302e910d58ec7f6388a1e9a25eb0bd36d2216868 | refs/heads/master | 2021-06-04T11:53:12.831106 | 2018-03-14T16:42:39 | 2018-03-14T16:42:39 | 30,810,821 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | #include <iostream>
using namespace std;
int main() {
int t;
int l,c,h,w;
cin >> t;
int l1,c1;
while (t--) {
cin >> l >> c >> h >> w;
l1 = h + (l * (h + 1)) ;
c1 = w + (c * (w + 1));
for (int i = 1; i <= l1; i++){
for (int j = 1; j <= c1; j++){
if (i % (h + 1) == 0) {
if (j % (w + 1) == ... | [
"aguilarpgc@gmail.com"
] | aguilarpgc@gmail.com |
640fbbdb2381f2198c0b626bf191f70c3cf843f4 | de3b508a5a5183c74221760344400e89c9f0c5fa | /work_1/work_1/SunArr_1.cpp | f2dd48f476af7262da0978ca9ee7be7fbc074e58 | [] | no_license | eumenide/ALG_18 | bf78dffb9ba872d5a9258388e1f509f1142340c4 | 2f7ee5da44fb6852ea64c59633e8f11a71262954 | refs/heads/master | 2020-04-18T22:09:19.067692 | 2019-01-27T10:57:51 | 2019-01-27T10:57:51 | 162,644,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | #include <iostream>
#include <sstream>
#include <vector>
#include <deque>
#include "function.h"
using namespace std;
void SunArr_1(){
string str;
int left,right,num,counts,a;
vector<int> vec;
deque<int> qmax,qmin;
getline(cin, str);
stringstream input(str);
while(input >> a){
vec... | [
"eumescan@qq.com"
] | eumescan@qq.com |
a6e5c5794aa0bc50068ff561d2b3e5fb50cee538 | 60c87069f3f70964f54b8515886f1a3deb1a4429 | /qp_solver/include/qp_solver/pose_optimization/PoseOptimizationProblem.hpp | 0cab11e3fbdf677c6b20168342c4e2f69aecf7e5 | [] | no_license | HITSZ-LeggedRobotics/quadruped_locomotion | 367ebbb420a8da629e8ce4f49c683e87a33e8621 | 5ec4feb3496348aa8d984c50c1cb9d7f854ac11e | refs/heads/master | 2022-06-14T22:12:38.432967 | 2022-05-18T10:39:05 | 2022-05-18T10:39:05 | 177,237,609 | 6 | 5 | null | 2020-07-17T07:07:33 | 2019-03-23T03:05:33 | C++ | UTF-8 | C++ | false | false | 888 | hpp | /*
* PoseOptimizationProblem.hpp
*
* Created on: Mar 23, 2017
* Author: Péter Fankhauser
* Institute: ETH Zurich
*/
#pragma once
#include "qp_solver/pose_optimization/PoseOptimizationObjectiveFunction.hpp"
#include "qp_solver/pose_optimization/PoseOptimizationFunctionConstraints.hpp"
//#include <numopt... | [
"wshy1995@outlook.com"
] | wshy1995@outlook.com |
a7dfab01c62d251ccbc9518123d96e11a5b58067 | 2dddf7b3f4d6b6f41adb100bb6690d5f93810cde | /gmw/util/typedefs.h | f69c025ea0029d2f619ce43f862490391e8ce9f6 | [
"MIT"
] | permissive | rlaishra/Privacy-Aware-Friends-Recommendation | 234b7cde5300d6f9509299a8a4eba3b9b37ab214 | a5757ef0b409bbcdebdb4e43b510a8d4d9070230 | refs/heads/master | 2020-03-27T19:55:47.354401 | 2018-09-01T18:18:44 | 2018-09-01T18:18:44 | 147,021,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | #ifndef __TYPEDEFS_H__BY_SGCHOI
#define __TYPEDEFS_H__BY_SGCHOI
// Modified by Haoyi Shi
#ifdef WIN32
#include <WinSock2.h>
#include <windows.h>
typedef unsigned short USHORT;
typedef int socklen_t;
typedef long long INT64;
#pragma comment(lib, "wsock32.lib")
#define SleepMiliSec(x) Sleep(x)
typedef long long I... | [
"rlaishra@syr.edu"
] | rlaishra@syr.edu |
75dd791cf6e0f42b676e6043cd62dda3c6cc1380 | a58738a702f389b1f6b5848dfdf92597b45f7f00 | /BinarySearchTree.inl | d6df35d3e0228d5646a434f45a871ac1544ce71d | [] | no_license | janmarkusmilan/Vi-Editor | 5135ae291b58ca8d09440fc89365a3642f9c53ae | 565f84896bb32f7054a81bb0c1e8de13ac83df7d | refs/heads/master | 2020-09-01T21:56:22.149756 | 2019-11-01T22:04:00 | 2019-11-01T22:04:00 | 219,069,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,149 | inl | #include "BinarySearchTree.h"
#include "BinaryNode.h"
#include <iostream>
using namespace std;
template<class ItemType>
shared_ptr<BinaryNode<ItemType>> BinarySearchTree<ItemType>::placeNode(shared_ptr<BinaryNode<ItemType>> subTreePtr,
shared_ptr<BinaryNode<ItemType>> newNodePtr)
{
if (subTreePtr == nul... | [
"noreply@github.com"
] | janmarkusmilan.noreply@github.com |
8c420bb7b575bf78ccc489e6c6f78751b7c35c5a | 3600a432047413f3d571ec84cb93255cfb190212 | /chapter_17/17.18_SmallestSuperSequence.cpp | a6dabe1fa0ecc80071b667085992632fd53101a5 | [] | no_license | abhisehekkumr/ctci | d3e91e075ff8dd5cc1146db665b286b788cea0b5 | cf57494972367dde5f2c761f02ca9cace29ed2de | refs/heads/master | 2022-02-02T09:39:27.875720 | 2019-08-06T08:39:43 | 2019-08-06T08:39:43 | 197,932,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | cpp | /*
given two arrays one smaller and one longer find the smallest super subsequence
in longer array resturn distance
*/
#include<iostream>
#include<unordered_map>
using namespace std;
// elements will be in order
void print(int bigger[], int n, int smaller[], int m, int element,int start = -1, int index = 0)... | [
"abhishekak98148@gmail.com"
] | abhishekak98148@gmail.com |
d1e6ad172e086b4e3727c6ea73ebc9b3d5b5f1f1 | 4dfa6232cf91f1c04d50809915078dc71fb371b4 | /dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp | c4127c766eef76f0afb5b49cdf66b96b97c68728 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | hookex/MegEngine | 81c0539a3247873bdabe0e6f22e265e22249e98a | 47fd33880d2db3cae98c55911bb29328cdd5d7e4 | refs/heads/master | 2022-08-01T02:04:06.431689 | 2020-05-22T11:10:17 | 2020-05-22T11:10:17 | 250,200,281 | 1 | 0 | NOASSERTION | 2020-03-26T08:22:39 | 2020-03-26T08:22:39 | null | UTF-8 | C++ | false | false | 69,836 | cpp | /**
* \file dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License ... | [
"megengine@megvii.com"
] | megengine@megvii.com |
08f9e8190ef470919cc3998cfe86e6ece79f3398 | 9cbc0e36b1ca9875150fd86bda05537798cd0ec0 | /main.cpp | 9fd3f3d6dc3ef2d6731e06cc86935059f05923bc | [] | no_license | MyGitWk/Linear-Searchs | 3e0d7b33adb92a123715440ea54d4e3513fed6a9 | 7d687e4f2e4636aa2bfb0ffcf104624d790f2af5 | refs/heads/master | 2021-01-14T06:02:24.306014 | 2020-02-24T01:32:00 | 2020-02-24T01:32:00 | 242,621,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | // linearsearch
#include <iostream>
using namespace std;
int linearSearchAlgorithm(int arrayElements[], int sizeOfArray, int searchValue)
{
for(int i = 0; i < sizeOfArray; i++)
{
if (searchValue == arrayElements[i])
{
return i;
}
}
return -1;
}
... | [
"noreply@github.com"
] | MyGitWk.noreply@github.com |
de32f786003c06b81de3a8bcc61d974677025598 | f44c08ce003a10a368a84300eaff55911f8c7857 | /Ray Tracing/Optimized/Ray Tracing/hitable.h | f08088373e4ae2d121b7e23fcd24642b1116d832 | [] | no_license | Benves-7/Raytracing | c5dcb0ecbef14fe9a44e58d11a06831bd01c7112 | e16f9375bf8e85b6d9cc6fa7b25e51f68d59c1a2 | refs/heads/master | 2021-03-12T10:18:13.607928 | 2020-09-22T08:27:10 | 2020-09-22T08:27:10 | 246,611,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | //
// Created by benves-7 on 9/10/19.
//
#ifndef HITABLE_H
#define HITABLE_H
#include "ray.h"
class material;
struct hit_record {
hit_record() { mat_ptr = NULL; }
float t = 0.0f;
vec3 p;
vec3 normal;
material *mat_ptr;
};
class hitable {
public:
virtual ~hitable() = default;
virtual bo... | [
"benjamin_gb_w@hotmail.com"
] | benjamin_gb_w@hotmail.com |
f6cf3f49ef04844ffb6a58c27235375f05750477 | a13e24b39fab4f5d9bc57d0bd5eb536c38a5eef1 | /tools/CastorViewer/PrecompiledHeader.cpp | 3fee3a86c36167c4b2ab5410c979907b127485bb | [
"MIT"
] | permissive | DragonJoker/Castor3D | 2bbd0eeba403a37570bfc959d58a6c8a01429c60 | 32a2e4bc5c6ea0d0a27f3c58f8edb74fbc7e59ce | refs/heads/development | 2023-09-04T15:46:36.438955 | 2023-08-30T05:37:14 | 2023-08-30T12:34:39 | 34,847,313 | 424 | 18 | MIT | 2023-09-14T11:10:10 | 2015-04-30T09:53:00 | C++ | UTF-8 | C++ | false | false | 33 | cpp | #include "PrecompiledHeader.hpp"
| [
"dragonjoker59@hotmail.com"
] | dragonjoker59@hotmail.com |
f8739db36d226d92c7b5d1dd0513c693520f4873 | 4c66c96fb4393bf494372b528fde7ff7b65613bc | /main.cpp | 1b9f4f40e42f9dfa31012b0860419b077b3cab55 | [] | no_license | Paxon96/Complex | 93b1d5a06f4cc1fd3a9d32f44b1f404d94ef4cfb | 92c80c12286e9f92e8bf095560f62f56d40a7202 | refs/heads/master | 2020-03-12T02:24:57.372479 | 2018-04-20T19:01:12 | 2018-04-20T19:01:12 | 130,401,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include<iostream>
#include<math.h>
#include <stdlib.h>
#include "complex.h"
using namespace std;
int main()
{
Complex c1(5,2), c2(3,-2);
Complex c3(3.0,5.90), c4(1,1);
Complex c5;
c5 = 2 * c1;
cout << c5<< endl;
//cout<< amplituda(c3) << endl << faza(c3) << endl;
//cout << c4 << endl << czRzecz(c2) << "\t" ... | [
"bwloczyk@gmail.com"
] | bwloczyk@gmail.com |
ba5b268c6ad5465be3cae0843392ce4cdfc25b1f | ed953b899b3196ef2dfd576554c7e18372c05701 | /tools/simulator/src/Object.h | 172cac39d585b0aea6a03b5ba96ba010dce998e4 | [] | no_license | thomaav/slamdunk | 804408c1a0c507b65c88e2b2720e29b24a360942 | 322d61e49b1d637afa1ccf4830b42b2b1923c372 | refs/heads/master | 2020-04-11T12:16:21.235642 | 2018-11-27T14:06:56 | 2018-11-27T14:06:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #pragma once
#include "linmath.h"
#include "Ray.h"
#include "BBox.h"
class Object
{
public:
Object() noexcept;
virtual ~Object();
virtual float GetIntersection(const Ray &ray);
virtual vec3 GetNormalAt(const vec3 &intersectionPosition);
virtual vec3 GetTexCoords(vec3 &normal, const vec3 &hitPoint);
BBox bbox;
... | [
"hallvste@stud.ntnu.no"
] | hallvste@stud.ntnu.no |
f0d2b6d0d9959b0653c8b5e4cb76b884013996ba | 8c976a35a194e40c50fbac564ed3d8e168dfabf9 | /mainwindow.cpp | bf89e20b5333bdbf392c0f6affed8bd643174b15 | [] | no_license | yarinmanjarres/interpretador2 | 8a5fc339cc0af9671d71714c49bb498118e569af | 75c7300a1a9331ca8fbba776914776b2413b81d6 | refs/heads/master | 2021-08-26T06:41:29.339653 | 2017-11-21T23:34:06 | 2017-11-21T23:34:06 | 111,613,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,768 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "QFileDialog"
#include "QMessageBox"
#include "QDebug"
#include "lexer2.h"
#include "parser2.h"
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include "QDir"
using namespace std;
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
... | [
"noreply@github.com"
] | yarinmanjarres.noreply@github.com |
a65f16518e3b1daac5ad8c15d9535420ed0d28ce | 2fc31c059c2339a550382f8f9d2ab42769abbb03 | /Contributions/Aditya_199301262/strings.cpp | 8c998c586c2b610e05565cec6617228feedd6faf | [] | no_license | mujacm/CPP | f7ab86a0dc427734a0047ff72e911b1e726e4b7b | b9f71aff4ef5ecc7703cf0d49e8517c040b0417c | refs/heads/main | 2023-02-23T12:35:10.092364 | 2020-10-31T16:30:20 | 2020-10-31T16:30:20 | 307,752,203 | 2 | 39 | null | 2023-07-02T08:18:36 | 2020-10-27T15:54:24 | C++ | UTF-8 | C++ | false | false | 768 | cpp | /* Problem: Given a string, S , of length that is indexed from 0 to N-1 , print its even-indexed and odd-indexed characters as space-separated strings on a single line (see the Sample below for more detail).
Note: 0 is considered to be an even index.
Sample Input: MANIPAL
Sample Output: MNPL AIA
*/
#include <vector>... | [
"adityavinod333@gmail.com"
] | adityavinod333@gmail.com |
c0bff10d52022e30ccd1f59fa48e0db0a30ab655 | 2d7575b7ed33465d4bfa2466efe09a49f96b1cd3 | /modules/gpuarithm/test/test_precomp.hpp | faa0f5adbdbc2a17009ff3c20fa908da618b9ada | [] | no_license | Bustedblah/opencv | 4c75724b4075cd5b784896da23e8ebe972318dc5 | c0c575d68e0cd63329c311b101be4d24e9d89e0c | refs/heads/master | 2021-01-18T06:41:23.920093 | 2013-09-20T07:08:09 | 2013-09-20T07:08:09 | 12,998,026 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"vlad.vinogradov@itseez.com"
] | vlad.vinogradov@itseez.com |
58e9f05cca0cd85e67f7a822a676394807bf245d | 9d621e7ad2960608d475b44a1a6426c95e7e8955 | /Codeforces/236-A/236-A-34243096.cpp | 7d6bdff3d5a920d157e5dc6d53498d21175fc544 | [] | no_license | vijayphoenix/Competitive-programming | 0c80a69135205c12f18e29292da77f073993590b | 5332c6ac016a9dc1753a5e6737ef93f688b8a4f6 | refs/heads/master | 2020-04-22T17:52:12.882748 | 2019-02-13T18:16:25 | 2019-02-13T18:16:25 | 170,556,782 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int a[26]={0};
int sum=0;
char c; c=getchar();
while(c!='\n')
{
a[c%'a']=1;
c=getchar();
}
for(int i=0;i<26;i++) sum+=a[i];
(sum%2==0)?cout<<"CHAT WITH HER!":cout<<"IGNORE HIM!";
} | [
"cs17btech11040@iith.ac.in"
] | cs17btech11040@iith.ac.in |
5f3ecff526c61239f7344177f26e12fa9f2d9ee3 | 2a30edf598cda428a10a344b37a2eb295c9e85db | /leetcode9_math.cpp | 20ee9fd262a583253ea6cc386e00b7cec3de5979 | [] | no_license | Jushelf/leetcode | 75cacc91c79f3d8136bb7c8b1333a9b5926be6a5 | a946b448d461df62bc354cae51ce3e4a6da111e0 | refs/heads/main | 2023-07-27T22:04:22.580770 | 2021-09-10T05:52:04 | 2021-09-10T05:52:04 | 404,959,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | class Solution {
public:
bool isPalindrome(int x)
{
if(x < 0 || (x != 0 && x % 10 == 0))
{
return false;
}
int s = 0;
int r;
while(s < x)
{
r = x % 10;
x /= 10;
s = s * 10 + r;
}
co... | [
"noreply@github.com"
] | Jushelf.noreply@github.com |
1845bd067686456457a1be30ffbdac8b5074f112 | 791faf5e1bb8db6ad1765b356304ccb1e04454fb | /TLX/Old Toki/Bab 2/2D - Soal Tambahan/1.cpp | bbede5ab9e70c5a9e3c164eaf8230960ad34466b | [] | no_license | ecojuntak/competitive-programming | 77d5977b59c2ea19d0f3e366ce2b080332d6ac53 | 2d5522d75cf3d2652cf34a040752c64047319022 | refs/heads/master | 2021-01-25T09:45:11.388531 | 2018-02-28T17:57:44 | 2018-02-28T17:57:44 | 123,317,766 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long long int a,b,count;
scanf("%lld",&a);
for(int i=0;i<a;i++)
{
count = 0;
scanf("%lld",&b);
for(int j=1;j<=sqrt(b)+1;j++)
{
if(b%j==0) count++;
if(count > 4)
{
printf("TIDAK\n");
break;
}
}
if(co... | [
"if415009@students.del.ac.id"
] | if415009@students.del.ac.id |
8b6e9e6edcabf25f059a19ec878f51e35b258470 | 225b4c43e9ef623f2631e0372ed4aadcf3306331 | /Core/Logger.h | e7f07fefac85eb10394f4979d6552913da348216 | [] | no_license | mbaptist34/physics-engine | 7999b1b165724625400fbd83b81e924eb29e5530 | 9df80da783be1a8fbb1dc2b528bdc72ed2afca35 | refs/heads/master | 2021-01-19T02:23:26.383357 | 2017-11-15T03:58:42 | 2017-11-15T03:58:42 | 59,861,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | h |
#ifndef ____Logger__
#define ____Logger__
#include <fstream>
#include <string>
#include "ProjectBuildSettings.h"
//These are const ints so that we can binary and them
const int LOG_APP = 1;
const int LOG_CLIENT = 2;
const int LOG_SERVER = 4;
const int LOG_USER = 8;
#define LOG_STRINGS 256
class Logger {
priv... | [
"mbaptist34@gmail.com"
] | mbaptist34@gmail.com |
0ee7d5b7f5b1dc5437f287d631bf21a787f39ec1 | 1dc65fd957e4943d9acd7c78cfe769e236ff36df | /lesson07/app/src/main/jni/GLES2Lesson.h | 9eee6e1a2ac6aa3b043341e4d9708c5b5603594e | [
"BSD-2-Clause"
] | permissive | JobsSteve/nehe-ndk-gles20 | 32d0579ceb16905acf1cd3043749dfe2779d0213 | 2e9bc30854a46465fa2cc23ec3d9e5f1b2cc1acf | refs/heads/master | 2021-01-19T22:22:21.934339 | 2016-06-22T04:02:29 | 2016-06-22T04:02:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | h | //
// Created by monty on 23/11/15.
//
#ifndef LESSON02_GLES2LESSON_H
#define LESSON02_GLES2LESSON_H
namespace odb {
class GLES2Lesson {
void fetchShaderLocations();
void setPerspective();
void prepareShaderProgram();
void clearBuffers();
void resetTransformMatrices()... | [
"danielmonteiro@id.uff.br"
] | danielmonteiro@id.uff.br |
cd4f0ffb070c58cf3c9a1a9c8b058ff13eb34791 | 29731c445e5bce0f7f894ca622c480aa059b7b5e | /Very_Final_Conquest/GameEngine/Main.cpp | fe7ca5844a38783a366a24e936589a1c58f9e0ee | [] | no_license | MrJangoBox/JugaadProjectC345 | 89a4ec69379e8fcdcadd1d0e73af73f4387925aa | 5619af8302bf80848e653b605f7c12f3fa304e49 | refs/heads/master | 2021-01-13T02:06:19.385530 | 2015-04-15T10:56:00 | 2015-04-15T10:56:00 | 30,091,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp |
#include<iostream>
#include <time.h>
#include "MainPlayPhase.h"
#include "StartupPhase.h"
#include "LoadData.h"
using namespace std;
int main() {
srand((unsigned int)time(0));
cout << "\t\tRISK- GameEngine!" << endl;
cout << "NOTE: This is a game for 2- 6 players only!\n" << endl;
cout << "Choose the number of ... | [
"D3t0ur@hotmail.com"
] | D3t0ur@hotmail.com |
f60b9c0e024c50e3e50a4257f9b35522e5ee4c53 | a6f6620f77874d8e5b461520d590d7bd40579e6b | /Documents/2_dev/of_v0.9.8_osx_release/apps/myApps/yaritoriOTS_rebooted/src/visual/MotionManager.cpp | 87b4479472e77a1ef1d9c1beb5b009d94bf69212 | [] | no_license | sonir/1504_weaverStorm | d4d764863415a94b282ba0da61ee635f1b9ee63b | 0c49be280e767f0bbdcc991da0c6a6bf78c70158 | refs/heads/master | 2021-01-22T11:58:50.235473 | 2019-01-13T10:34:46 | 2019-01-13T10:34:46 | 33,766,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,751 | cpp | //
// MotionManager.cpp
// yaritori
//
// Created by Hana on 2018/01/05.
//
//
#include "MotionManager.hpp"
#include <cassert>
MotionManager::MotionManager() {
//Reset solo
soloCount = 0;
for(int i = 0; i < AG_MAX; i++) {
isSolo[i] = false;
soloTimers[i].ready();
}
... | [
"isana@sonir.jp"
] | isana@sonir.jp |
a4e4d24189cbaf65645c8cc11a039364ea1a662b | 57774e3ee8b1cd6b96aac2169f8c8945f6e67fa6 | /ex03/ZombieHorde.cpp | 2371d27c1a8b2f91739b66c76e2072f74978bd34 | [] | no_license | HyoungHoKim/cpp_module_01 | 390013e57d28d50c5ddbd0d71c1336da6386d78a | 5fb75cb82790162509cfc8002e78fdfd69e977d4 | refs/heads/master | 2023-05-27T13:53:49.274489 | 2021-06-10T03:40:55 | 2021-06-10T03:40:55 | 373,777,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | cpp | #include "ZombieHorde.hpp"
ZombieHorde::ZombieHorde(int _n)
{
std::string name_pool[8] = {
"red",
"blue",
"green",
"yellow",
"pink",
"black",
"white",
"rainbow"
};
this->n = _n;
this->zombie = new Zombie[n];
int num;
srand((unsigned int)time(NULL));
for (int i = 0; i < this->n; i++)
{
num ... | [
"dkdemfp2@naver.com"
] | dkdemfp2@naver.com |
7f0752926ff184aef9b145c375903c5d1ae6249b | cb24f64c0eee77f80ef07538e845a6278b224214 | /ui/ofxSITextInput.h | da00a4cb726e9d1295242e926f1768a6ae201431 | [] | no_license | martial/ofxSuperInterface | 34c076ec2a522543da159010ff925c121337354a | c1f8e638a9a7d3374d580195cc2d12ae9fc5415d | refs/heads/master | 2021-01-01T20:48:54.464267 | 2012-04-04T13:47:54 | 2012-04-04T13:47:54 | 2,333,060 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | //
// ofxSITextInput.h
// superInterface
//
// Ported from code by by Elliot Woods on 12/09/2011.
// Copyright 2011 Kimchi and Chips.
// MIT license
#ifndef SUPINTSTXTINPUT
#define SUPINTSTXTINPUT
#include "ofMain.h"
#include "ofxSIComponent.h"
#include "ofxSISwitch.h"
class ofxSITextInput : public ofxSISwitch {... | [
"martialou@gmail.com"
] | martialou@gmail.com |
b509c21e88351b33696e4fe8a236eebc7e7569a8 | 4fcc010579218a20d2ff59bcb9f2c688a354c05b | /MeKaSlug/One_BS_Cover.h | b3e3b40e053e0df294290f45c0deca773c138cd2 | [] | no_license | hki2345/MetalSlug | ef6bdc646800d2f14e242cd7370e44cb6d18145c | ecf3c220e78452288abab5e5b4eee86d93b27343 | refs/heads/master | 2020-03-30T03:30:22.479081 | 2019-04-01T10:40:11 | 2019-04-01T10:40:11 | 150,691,841 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 474 | h | #pragma once
#include "TheOne.h"
class Alpha_Renderer;
class One_BS_Cover : public TheOne
{
private:
Alpha_Renderer* BSC;
float AlphaTime;
float AlphaSpeed;
int Alpha;
bool Fade;
bool FadeCheck;
public:
// false ¸é ¾Æ¿ô - true ¸é ÀÎ
bool& fade() { return Fade; }
bool& fade_check() { return FadeCheck; }
... | [
"hki2345@users.noreply.github.com"
] | hki2345@users.noreply.github.com |
92949815a367dbe76215d7dfa06dec395c35cdbb | f9034f7517c8ed650b2ae921cc1d6a5f6ee9851c | /DragonFly VOS/TXP-VOS/Old/System/Applications/text editor/textedit/StdAfx.cpp | ba3da7fb4eff97d66410990ba976dd4760b1b852 | [] | no_license | tophatyouaredoomed/The-Toppest-of-Hats | e532ea6eb9810cbed92a3cc491fe3a5cae8ed48b | 83c7237cff1ee8271090fdf018fd966e78a0db7b | refs/heads/master | 2020-03-19T10:49:14.037308 | 2018-06-07T01:23:19 | 2018-06-07T01:23:19 | 136,403,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | // stdafx.cpp : source file that includes just the standard includes
// TextEdit.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"kevin51jiang@email.com"
] | kevin51jiang@email.com |
97e35ed2e93b88af1e91e6f7344f533dc723fe2b | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/modules/desktop_capture/win/dxgi_output_duplicator.h | 20ef3fc865ccf7691fbb11f9681ef93fd4ce7d13 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 2,795 | h |
#ifndef MODULES_DESKTOP_CAPTURE_WIN_DXGI_OUTPUT_DUPLICATOR_H_
#define MODULES_DESKTOP_CAPTURE_WIN_DXGI_OUTPUT_DUPLICATOR_H_
#include <comdef.h>
#include <dxgi.h>
#include <dxgi1_2.h>
#include <wrl/client.h>
#include <memory>
#include <string>
#include <vector>
#include "modules/desktop_capture/desktop_fram... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
49b39137442e6040d4a424d00ed54605cf22def9 | a82dfb61b17fa66b9c75fe871401cff77aa77f56 | /libmcell/api/rng_state.cpp | 1c5b6da8c9e5869ca21e8ab6a09388ae360a85ad | [
"MIT"
] | permissive | mcellteam/mcell | 49ca84048a091de8933adccc083d31b7bcb1529e | 3920aec22c55013b78f7d6483b81f70a0d564d22 | refs/heads/master | 2022-12-23T15:01:51.931150 | 2021-09-29T16:49:14 | 2021-09-29T16:49:14 | 10,253,341 | 29 | 12 | NOASSERTION | 2021-07-08T01:56:40 | 2013-05-23T20:59:54 | C++ | UTF-8 | C++ | false | false | 935 | cpp | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | [
"ahusar@salk.edu"
] | ahusar@salk.edu |
6bf26a8a01904870d6b747ee934eac6b077d2074 | 1aa084b739cdbd9fd8b17ba73db3336550bb5a21 | /loadgraph/mnist_keras.cc | 44d1fd592bc9b9a7ed5bfaf4a25ad45181a09cb0 | [
"MIT"
] | permissive | yukiB/tf-keras-speed-test | 162f4907741bb85350ab861d360096d4fbc032c3 | 5069b03c2e980c78c0c708466387dbcd1c39ba93 | refs/heads/master | 2020-05-27T21:16:12.891031 | 2017-03-04T07:36:32 | 2017-03-04T07:36:32 | 83,648,178 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,015 | cc | // **************************************************************************
// MIT License
//
// Copyright (c) [2016-2018] [Jacky-Tung]
// (2017 convert to keras conv example by YukiB)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation f... | [
"yuki@xcoo.jp"
] | yuki@xcoo.jp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.