blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ff7de41d7b6e47d94803f087d3b0eee85a4dfc2 | 2a74108e7b36b32bca8a1fd84ed4c177a5b50913 | /src/light_block.h | eb33a3cff2f89c19add46c22e24098d9ddb2aa7d | [] | no_license | DanTheMan1/light | 2daa866b342a38599f39d7759431d7bfe120e694 | aa25a08a7ea2a44f407283ed95cd223a0d8ae1d6 | refs/heads/master | 2021-01-18T08:57:52.881496 | 2015-12-10T05:16:11 | 2015-12-10T05:34:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | h | #pragma once
#include <stdint.h>
#include <stdlib.h>
#include <utility>
namespace light {
struct block {
block() {}
explicit block(size_t size) { resize(size); }
block(const block &other) { *this = other; }
block(block &&other) { *this = std::move(other); }
~block();
block &operator =(const... | [
"evan.exe@gmail.com"
] | evan.exe@gmail.com |
46e4252001f55acffac6c4fc63e6da4b14306469 | b4efa2b16ee0db5c945b8a0334ca0be3cc4e7c8e | /src/Ontology/OntTxBuilder.cpp | a5116153a34cdfaa5855738b97b0ff7f5a9d2721 | [
"MIT"
] | permissive | dakarcoin/wallet | 94b1f7a48ff396a184fd00da252e82a57c963bbf | 5d961e9e322ee769322124cb711cdebc5206aa0d | refs/heads/master | 2023-05-28T23:37:07.650035 | 2021-06-08T12:13:05 | 2021-06-08T12:13:05 | 374,943,848 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | cpp | // Copyright © 2020-2021 Dakar Wallet.
//
// This file is part of Dakar. The full Dakar copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "OntTxBuilder.h"
using namespace TW;
using namesp... | [
"18662682937@163.com"
] | 18662682937@163.com |
76e42796586cca265860b73ff77c13fe836738c7 | 45014139581f1211a43b6415a6ee32d442c29fc0 | /src/net/third_party/quiche/src/quic/core/quic_crypto_client_handshaker_test.cc | 660663a9acd98168f0a88470cab9b03e87a75683 | [
"BSD-3-Clause"
] | permissive | webosose/chromium91 | a31b847e64391c3de98ca5b6dac3ac247d393e78 | b28e2ae83ee2e4907a36a49a4c0f054aa386dbfa | refs/heads/master | 2022-12-12T09:32:30.580155 | 2022-09-01T09:02:15 | 2022-09-18T23:58:11 | 460,692,960 | 1 | 5 | null | 2022-10-05T07:19:39 | 2022-02-18T03:16:04 | null | UTF-8 | C++ | false | false | 8,381 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quic/core/quic_crypto_client_handshaker.h"
#include <utility>
#include "absl/strings/string_view.h"
#include "quic/core/proto/crypto_serve... | [
"youngsoo.choi@lge.com"
] | youngsoo.choi@lge.com |
5653f7619b5a0dec3d55e74ca1d4cf28d0628861 | 5272052bfc0c83f8bed0189e5506c876efa0feba | /NK_Instance/generate.cpp | 17c486523f087ea3de5f7813f596e152a8923849 | [] | no_license | tianliyu/DSMGA-II-TwoEdge | f7d845a336a96ed8faeef50467fdf876bd7e3af1 | f56820dada0a11ab7bdac42bc134cccc6273a7e5 | refs/heads/master | 2021-01-19T16:43:50.292003 | 2017-08-22T06:08:06 | 2017-08-22T06:08:06 | 101,024,278 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include <iostream>
#include <iomanip>
using namespace std;
int main(int argc, char* argv[]){
int ell = atoi(argv[1]);
double max_f,tmp,optima;
int max_index[160];
int base;
srand(time(NULL));
char filename[50];
for(int n=0;n<100;n++){
... | [
"andychen662000@gmail.com"
] | andychen662000@gmail.com |
816fde42b4372a51b72a951bee2949afff248bfe | a6e0dac05610177331c0413112ea92d0b1d5866b | /ProjectFR/FREditor/CamWaiting.h | d4f09db2b582cc6508715efd4289020ef657150b | [] | no_license | wwr1977/SJ-Studio | 11c64f4bed95d53eefc2fe2198c17a419dcb0cf4 | 9da71a796fa6636f260b77694b51be828ce1a891 | refs/heads/master | 2020-05-18T03:46:24.014589 | 2019-04-29T22:35:19 | 2019-04-29T22:35:19 | 184,147,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | h | #pragma once
#include "EditCamState.h"
class CCamWaiting : public CEditCamState
{
public:
void StateReset();
void Update();
public:
CCamWaiting();
~CCamWaiting();
};
| [
"wws1977@naver.com"
] | wws1977@naver.com |
6813edfc7c2b81841dcb2e806bb149782730e971 | f9726d2483d3c5ac38c8867a9cf962dc1bcaf5b4 | /CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab5/sortedtype(5).cpp | 19d551c3d18780f936bc063c677c5bafcaa21ee7 | [
"MIT"
] | permissive | diptu/Teaching | e03c82feefe6cda52ebd05cd644063abb3cf8cd5 | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | refs/heads/main | 2023-06-27T15:27:32.113183 | 2021-07-31T05:53:47 | 2021-07-31T05:53:47 | 341,259,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | #include "sortedtype.h"
template <class ItemType>
SortedType<ItemType>::SortedType()
{
length=0;
currentPos=-1;
}
template <class ItemType>
void SortedType<ItemType>::MakeEmpty()
{
length=0;
}
template <class ItemType>
bool SortedType<ItemType>::IsFull()
{
if(length==MAX_ITEMS)
return true;
... | [
"diptunazmulalam@gmail.com"
] | diptunazmulalam@gmail.com |
9e8d42193f20462ec9c08a23d1ee1cca6152aa6b | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-codeguruprofiler/include/aws/codeguruprofiler/model/AgentConfiguration.h | e9eb656c70f858f873e3f1b50ae99de2a039ac83 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 2,477 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8aa2ab33374c1b185fa941c1bcfa0cda7445cc23 | 21a8cae66b5f0b9365b63037ed5d5eecfb4741c8 | /teensy/test_notes/test_notes.ino | a2af72d5aa408ea0765e15780be2b14e2d86c611 | [] | no_license | LukeMoll/teensy-midi | b0231650a9af105da70857e9547e6f26eba6d456 | 3b6162a45452ad207a900a4f37b007899d1a005c | refs/heads/master | 2020-04-22T10:12:41.504463 | 2019-02-15T16:02:49 | 2019-02-15T16:02:49 | 170,297,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | ino | #include <Bounce.h>
#define MIDI_CHAN 1 // desu
#define DEBOUNCE_MS 5
int led = 13;
int buttonPin0 = 30;
int buttonPin1 = 31;
uint8_t notes = 0;
Bounce button0 = Bounce(buttonPin0, DEBOUNCE_MS);
Bounce button1 = Bounce(buttonPin1, DEBOUNCE_MS);
void setup() {
pinMode(led, OUTPUT);
pinMode(buttonPin0, INPUT_PULLU... | [
"luke.moll99@gmail.com"
] | luke.moll99@gmail.com |
39c9f09e0930ab6aab854bd9707866f14cc2b3a9 | f6b33088e82fd2043f709b25515260ae3e31f00b | /1_9_FindComMaxStr.cpp | 1b0e7d52f71ac121350e71835e309a4cc47a70f3 | [
"MIT"
] | permissive | Yazooliu/Algorthm_Interviews | 94906f2fe025bd6a5c80507932fdadcffd5389ee | 0c49f4fbdab9776761f2d0a3acc0f63d92eeacd6 | refs/heads/master | 2020-06-02T23:08:03.708608 | 2019-08-28T09:10:47 | 2019-08-28T09:10:47 | 191,338,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | // 面试题目One. 刷刷看 - 推荐算法工程师
// 9.编程题: 怎样找到两个字符串中最长公共子子串
// 具体编程思想:https://blog.csdn.net/qq_25800311/article/details/81607168
#include<iostream>
#include<string>
#include<vector>
using namespace std;
void FindComMaxStr(string str1,string str2)
{
if(str1.size()>str2.size())
swap(str1,str2); // 希望这里str1的长度最小作为横坐... | [
"yzliu_1314@126.com"
] | yzliu_1314@126.com |
420b013f297de44bd04cf0076920b34fa6b02c6e | 35d7bd647e9be78c053a66081ba4f4fa7825a96b | /lib/Stepper/Stepper.cpp | 215ccc5d0f3503ebf35f894468d26437365db933 | [] | no_license | orange-beans/lpc1786-mbed | d58e331c4bf56415c3b8b1e1148af983583dd5b5 | ca7661a0e20a58e9b127bf8627bf1de92b965c3c | refs/heads/master | 2021-01-13T09:22:45.195005 | 2017-06-28T08:31:52 | 2017-06-28T08:31:52 | 69,566,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | /* mbed Stepper Library
* Copyright (c) 2010 fachatz
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... | [
"cczhang@simtech.a-star.edu.sg"
] | cczhang@simtech.a-star.edu.sg |
23fc85a03065f7d3a868ec3d5fea77ae45394f48 | 5705705b182ae3ee383f394a6f5c5c5039c47449 | /lib/common/ArduinoJson/src/ArduinoJson/Strings/SizedFlashStringAdapter.hpp | 54da915dd62ae8ed7aa10de3fe412c7f4353dd05 | [
"MIT"
] | permissive | shihaocao/lodestar | 2849c1ed6d05027755b08fd69eeaa682a47eba38 | 1f07c8ed14dec76d10bdff615b77183bbdb5848e | refs/heads/master | 2023-02-20T00:43:25.173943 | 2021-09-18T02:05:22 | 2021-09-18T02:05:22 | 229,489,562 | 2 | 1 | MIT | 2023-02-15T23:13:56 | 2019-12-21T22:17:53 | C++ | UTF-8 | C++ | false | false | 1,315 | hpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// MIT License
#pragma once
#include <ArduinoJson/Namespace.hpp>
namespace ARDUINOJSON_NAMESPACE {
class SizedFlashStringAdapter {
public:
SizedFlashStringAdapter(const __FlashStringHelper* str, size_t sz)
: _str(str), _si... | [
"noreply@github.com"
] | noreply@github.com |
f63015cacc3f59d815e0c5c1882e427ef1d56566 | 9147ea14bbf89d66dab3d461d3743d63f561d15e | /85.cc | ea426df77fa34e6ebe718c2273f53fe8b834ca32 | [] | no_license | wujingyue/leetcode | 6824d7fabe5d7076aa99a5a0892bb3007003f640 | 53a4d31cc2e81395ad88ee5933c5ff7cfcf19ea4 | refs/heads/master | 2022-06-01T02:10:46.279612 | 2022-05-22T18:30:05 | 2022-05-22T18:30:05 | 121,978,997 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cc | #include <iostream>
#include <vector>
using namespace std;
struct Rectangle {
int left;
int height;
};
class Solution {
public:
int maximalRectangle(const vector<vector<char>>& matrix) {
int m = matrix.size();
if (m == 0) {
return 0;
}
int n = matrix[0].size();
int max_area = 0;
... | [
"wujingyue@gmail.com"
] | wujingyue@gmail.com |
6f072ef3383e184c713229262eda41b9becb8ab1 | eb2b04a0eb683ef576b4e26c4cd5d01ca74e0d12 | /project/video/video/main.cpp | 4d92fd9cbdf1d8dbdc37eb823d2accebe79c7e84 | [] | no_license | snail5201/Qt_example | 6ba3d181c7015ed1955c445ec41000bf697012b1 | 9cf123148c28cdeb6a9ea20b61149e90b141d162 | refs/heads/master | 2020-08-04T09:06:48.316615 | 2019-10-01T12:01:08 | 2019-10-01T12:01:08 | 212,083,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.setWindowTitle("video");
w.show();
return a.exec();
}
| [
"1051994633@qq.com"
] | 1051994633@qq.com |
bd77a631ff1ab5a8f8c301a14ea9fe528a457a4d | 67a5c1f346c8467afbdf64b16e81153c12714741 | /lhe/var_ttbar.h | 8c6e360119ba87386b1f5ae9f9b7e4c3acdcb7f8 | [] | no_license | milosdjordjevic/tHFCNC | d676806e2cdd1753300270ab0f7336dfb9c655ca | 31bb7a30433c9ce6cb4d1ef4d89a294bd9c7e139 | refs/heads/master | 2021-01-18T02:00:19.755925 | 2015-10-29T13:01:43 | 2015-10-29T13:01:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | h | const int nh = 82;
std::string hname[nh] =
{
"h_pt_t",
"h_pt_tb",
"h_pt_tWl",
"h_pt_tWnu",
"h_pt_W",
"h_pt_H",
"h_pt_Hb",
"h_pt_j",
"h_eta_t",
"h_eta_tb",
"h_eta_tWl",
"h_eta_tWnu",
"h_eta_W",
"h_eta_H",
"h_eta_Hb",
"h_eta_j",
"h_phi_t",
"h_phi_tb",
"h_phi_tWl"... | [
"Kirill.Skovpen@cern.ch"
] | Kirill.Skovpen@cern.ch |
c2f614d833564b1ec97639327f904c423ff5d236 | e7e1b7ef69ccfefba7f3a13d7c23413ec335be56 | /data_struct_algorithm/array_list/array_list.h | 881567ade114d30822b940777fdfeb2bb79d4030 | [
"MIT"
] | permissive | zhangqiang880/optimized_cplusplus | 008ba55b65c07d19e81d5e36988d4340b0ed006e | a91c2ed842e270a9de0c3188f376bc6391dba47c | refs/heads/main | 2023-08-14T08:39:07.748500 | 2021-09-26T00:14:50 | 2021-09-26T00:14:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | h | //
// Created by andrew on 2021/9/25.
//
#ifndef OPTIMIZED_CPLUSPLUS_ARRAY_LIST_H
#define OPTIMIZED_CPLUSPLUS_ARRAY_LIST_H
#include "linear_list.h"
#include <iostream>
/*
* // 需要实现的内容,先粘贴到这里
*
// return element whose index is theIndex
virtual int indexOf(const T &theElement) const = 0;
// return inde... | [
"564631192@qq.com"
] | 564631192@qq.com |
fc55ffc1e87111fee865f12a1a79d8d039cff094 | f1e27c1dd9ab142acc643689f7768db8b59c148d | /efm32/1.0.1/libraries/EmusDevices/CPUInfoDevice.h | 997ed64bdab98f78dfa8d944529fc38727a926a9 | [] | no_license | poojajune/engimusing-firmware | f15dbceb853b68b0b6714975e5ab287310261dd4 | b6fbd990f016e26cb950a589bb54006efc8d615c | refs/heads/master | 2021-01-23T16:13:26.348003 | 2017-06-04T04:01:05 | 2017-06-04T04:08:52 | 93,287,461 | 0 | 0 | null | 2017-06-04T03:21:52 | 2017-06-04T03:21:52 | null | UTF-8 | C++ | false | false | 1,175 | h | /*
Copyright (c) 2016 Engimusing LLC. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
... | [
"github@tdgeorge.com"
] | github@tdgeorge.com |
55f453f82c29341e7915be2ec42fc344478edb32 | c466c487e1d1e743d4e3bfbe7168358c0787d5f3 | /src/game/server/Bullet.cpp | ef7704dc24cb9d89e8c636cc59eb248d1a816546 | [] | no_license | jucham/rouage | 686a0905cf198cf735dcec7dc28577756e3e321f | 33160fb4c44fb1320a33d893d36397075beeb223 | refs/heads/master | 2022-11-18T09:16:25.104931 | 2020-07-10T10:18:53 | 2020-07-10T10:18:53 | 278,144,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | #include "Bullet.h"
#include <game/server/GameServer.h>
#include "EntityEnumerations.h"
float Bullet::m_fWIDTH;
float Bullet::m_fHEIGHT;
Bullet::Bullet(Character* pShooter, const Vector2D& facing, float magnitude, int damage) :
Projectile(pShooter, facing)
{
assert(pShooter != 0);
m_HitBox.se... | [
"julien.champalbert@gmail.com"
] | julien.champalbert@gmail.com |
17c02f44f2677af3435da3e5ceea465cb8ad01c9 | 8df198126a11543066c64a98a9d5ee24c7fa7618 | /(((... All online judge practice and contest ...)))/Light Oj/Ad-Hoc/AC/1354 - IP Checking.cpp | 7764661dbe27b1a2a2f8ec08071bbb0230ca720d | [] | no_license | mehadi-trackrep/ACM_Programming_related | eef0933febf44e3b024bc45afb3195b854eba719 | 7303931aa9f2ab68d76bbe04b06157b00ac9f6a6 | refs/heads/master | 2021-10-09T03:15:09.188172 | 2018-12-20T09:35:22 | 2018-12-20T09:35:22 | 117,265,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,840 | cpp | #include <bits/stdc++.h>
using namespace std;
char str[15];
void dec_to_bi(int n)
{
int i=0;
while(n > 0)
{
str[i++] = (n%2)+'0'; ///AC
n /= 2;
}
if(i < 8)
{
for(int j=i; j<8; j++)
{
str[j] = '0';
}
}
for(int j=0; j<4; j++)
{
... | [
"mehadi541@gmail.com"
] | mehadi541@gmail.com |
9339f0341a1759be16241aaec92866edcf84e7c4 | f5cc952686cf4b07c6f91f902474bd7cf3089042 | /Programmers(C++)/Programmers(C++)/Programmers(C++)/_0418_LV1_이상한문자 만들기.h | e9a831251a5a3d838bd2273e7af27b66433ebe19 | [] | no_license | ParkHD/programmers | 0d21803b8dda3cc32fac6bacd117a7bd42d4fd09 | cfedec08855e826e873a68db37b347f16949a652 | refs/heads/main | 2023-06-11T21:47:19.362522 | 2021-07-10T11:16:25 | 2021-07-10T11:16:25 | 355,236,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | h | #pragma once
#include <string>
#include <vector>
#include <cctype>
using namespace std;
string solution(string s) {
int count = 0;
for (int i = 0; i < s.size(); i++)
{
if ('a' <= s[i] && s[i] <= 'z')
{
if (count % 2 == 0)
{
s[i] = touppe... | [
"noreply@github.com"
] | noreply@github.com |
03531ec96920f514b55e5563728b98ecffd3e121 | a4344b32439a01e4ef67c521f97dc13e3600c642 | /before/10951.cpp | 1634d7c5d1055f39ce8706c40e2e59c0ab620a08 | [] | no_license | jjunCoder/ProblemSolving | 419ed6ded9ac46fcc52ec14fcfe626055462cfcc | ed150d186d2b02e514239f5d585bc068d426f4dd | refs/heads/master | 2022-09-03T14:10:32.086545 | 2020-05-30T04:15:59 | 2020-05-30T04:15:59 | 66,230,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include <iostream>
using namespace std;
int main(){
int a,b;
cin.sync_with_stdio(false);
cin>>a>>b;
while(!cin.eof()){
printf("%d\n",a+b);
cin>>a>>b;
}
return 0;
} | [
"jjune21@naver.com"
] | jjune21@naver.com |
3091ec8ed33175efa0d255ce79645e132b5eb091 | 507ca05e8357bf6ce6c821d28dce1faca6d39b73 | /rttr/include/detail/metadata/metadata.h | 6e5dcb316f601ab138c9cd1bd5ae5b621832b554 | [] | no_license | ahdaemon/rttr-test | eb200859970c37edc936d2a1d49c33fe2cb802e0 | 8224f935150e05175516b15e3b5643f2d158fa87 | refs/heads/master | 2023-06-05T12:55:45.824226 | 2021-06-19T12:53:05 | 2021-06-19T12:53:05 | 378,407,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,727 | h | /************************************************************************************
* *
* Copyright (c) 2014 - 2018 Axel Menzel <info@rttr.org> *
* ... | [
"854638781@qq.com"
] | 854638781@qq.com |
6b2295a53050a118e437e89a891363bd2d4fcb97 | 52680e9f94cd9c5ba9a22a57b32d12e7f2d4e80b | /src/screen/GameOver.cpp | 02cb05116f76c22866a529bbb8d45cb75b75e423 | [] | no_license | VitorVRS/mind-blocs | 6cc66c5642f2cdffbb61fbc4d66552b463d0cc43 | 2e592f83a2fe83ff5367733497b528e9f74fef69 | refs/heads/master | 2020-06-27T20:03:26.338376 | 2016-12-06T01:34:15 | 2016-12-06T01:34:15 | 74,520,846 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include "GameOver.h"
Screen::GameOver::GameOver() {
this->message = new Render::Text("GAME OVER", 350, 310);
}
Screen::GameOver::~GameOver() {
delete this->message;
}
void Screen::GameOver::show(double time) {
this->message->render();
}
void Screen::GameOver::keypress(int key, int scancode, int mods) ... | [
"vitor.vrs@gmail.com"
] | vitor.vrs@gmail.com |
3b7c1d8d1b107e21813a7cf20ba9318e7eb02781 | 5b7b4d3883233e21e7545478664a04d0eaebd423 | /tests/world/test_instance_pool.cpp | 65204df2bd310d9e29eb0f1d3670655c97afce30 | [
"MIT"
] | permissive | stefannesic/world | c8dca13c6d46c91c4d2a6e027f5cf413f51ccab0 | 44c01623ab1777c3224f83f53b74d50b58372fb1 | refs/heads/master | 2021-03-02T01:02:15.200828 | 2020-03-07T09:10:26 | 2020-03-07T09:10:26 | 245,825,486 | 0 | 0 | MIT | 2020-03-08T14:04:50 | 2020-03-08T14:04:49 | null | UTF-8 | C++ | false | false | 1,834 | cpp | #include <catch/catch.hpp>
#include <world/core.h>
#include <world/terrain.h>
using namespace world;
TEST_CASE("Templates", "[instance pool]") {
Template tmplate;
CHECK(tmplate.getAt(0) == nullptr);
CHECK(tmplate.getAt(12) == nullptr);
SECTION("Add node without resolution") {
tmplate.insert... | [
"ljean@etud.insa-toulouse.fr"
] | ljean@etud.insa-toulouse.fr |
33614ec3c2a68c0eac4f790c4effb7ffe56cd9c5 | 314983bf9b412ef0bf0ad86327f081946a9b82c4 | /tracer2/src/triangle.cpp | aaae4e91e01ed5e743882b2341538d440e9e27de | [] | no_license | DarwinSenior/cs419 | ca8b3722c43dcb960089908bd8e0f7820f9fa21c | 81d6932a1dfa642de504891cec7486e8770e3606 | refs/heads/master | 2016-08-13T01:07:52.853231 | 2016-03-22T19:27:42 | 2016-03-22T19:27:42 | 50,739,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | #include "triangle.h"
#include <limits>
using namespace cv;
Triangle::Triangle(Vec3f p1, Vec3f p2, Vec3f p3){
m_p1 = p1;
m_p2 = p2;
m_p3 = p3;
m_norm = normalize((m_p1-m_p2).cross(m_p1-m_p3));
}
bool Triangle::intersect(const Ray& ray, Intersect& intersect) const{
auto d = m_norm.dot(m_p1);
f... | [
"darwinsenior@gmail.com"
] | darwinsenior@gmail.com |
5146075b5f56913171a93a4a1877ed9edccc6f88 | 798e8d56678b4adaf640856c67c707044a51ba97 | /ACM ICPC Team.cpp | 917e691d148dc3eaa1fe2ee2cacb27b01b61b814 | [] | no_license | Wajeeha-Fatima/HackerRank | 5f01fb83b77da7197cf14ceba7023e5e0ddd1947 | 784b21bc4b11fe10b72ca514afc1b0b6765e9b06 | refs/heads/main | 2023-07-29T11:42:50.052354 | 2021-09-10T16:29:23 | 2021-09-10T16:29:23 | 338,267,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,189 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the acmTeam function below.
vector<int> acmTeam(vector<string> topic) {
vector <int> team;
int count = 0, max = 0, teams= 0;
for(int i = 0; i < topic.size()-1; i++)
{
for(int j = i+1; j < ... | [
"noreply@github.com"
] | noreply@github.com |
047b15a3ab4b539398ae1de59b657fea442e8718 | 2e231d20c2079a19ad2e8616669f33a64fd3b038 | /src/seq.h | 37f24eb6901677922c1e449c260eac77d2a411d6 | [] | no_license | pcppcp/disciple | 396e0e636d83c86bd78464bcb12669ff46b7ff18 | 98e19794885d35dd7f7d35fd723db195d5843885 | refs/heads/master | 2021-01-23T07:38:04.422431 | 2017-06-02T13:24:21 | 2017-06-02T13:24:21 | 93,036,790 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | h | #ifndef _SEQ_H_
#define _SEQ_H_
/* system includes */
/* local includes */
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#define SEQ_STEPS 16
#define INSTRUMENTS_MAX 4
namespace Seq {
typedef struct {
uint8_t trigger:1;
uint8_t param1;
uint8_t param2;
} seq_step_t;
typedef... | [
"xoza@linux-g5z8.suse"
] | xoza@linux-g5z8.suse |
9a63e25dc87dc236635465aa169aeff391ad7192 | baf3c6dbd6f6ce65c6f597e2f6920f228bccb341 | /CPP/nSteps/nSteps.cpp | 4f69035a8514b88fb919bec0b8eab4d7e63d72f1 | [] | no_license | abhikmr778/cpp | ced86bb8fa7136e9b86dcf0b47a18819f3145390 | 0ceb41f6f5ba7bc3a79542443311cbbf86fb1014 | refs/heads/master | 2020-03-18T16:01:07.276659 | 2018-05-26T08:15:51 | 2018-05-26T08:15:51 | 134,942,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include "iostream"
using namespace std;
int sum=0;
int steps(int n){
if(n==0){
return 1;
}
else if(n<0){
return 0;
}
// for(int x=1;x<=3;x++){
// return steps(n-x);
// }
return steps(n-1)+steps(n-2)+steps(n-3);
}
int main(){
int n;
cin>>n;
cout<<steps(n)... | [
"noreply@github.com"
] | noreply@github.com |
1a3b07ecaeb0061cf3ad86adcad8bafba9630834 | dee9e7a5b9b0ecf3b9a8ddf7f30f972045217a45 | /gdem_terrainengine/CTriangleSelector.cpp | 60199807828631609fefc056583c6c7f026a7d39 | [] | no_license | shengzhe8688/QGlobe | 3e2d5c86ad6a2bff89f3773385fa8fd84d4ddf57 | 8e13b894fc1d89a18869c979740fefe47a161eeb | refs/heads/master | 2022-11-12T12:19:06.046336 | 2020-07-05T14:04:59 | 2020-07-05T14:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | cpp | // Copyright (C) 2002-2008 Nikolaus Gebhardt
// This file is part of the "Geo Engine".
// For conditions of distribution and use, see copyright notice in geoEngine.h
#include "CTriangleSelector.h"
#include "ISceneNode.h"
#include "IMeshBuffer.h"
namespace geo
{
namespace scene
{
//! constructor
CTriang... | [
"wugis3@yahoo.com"
] | wugis3@yahoo.com |
a1a33a16ee78570a2847d926bd11907f8cb19e97 | e9ade5ea33cf3382f8ab3ad980e7f6d8cb76faf8 | /solved/abc188/e.cpp | b7d352887296019e1303ba9bdf08cae1a4219b66 | [] | no_license | Creamy1137689/kyopro | 75bc3f92edb7bff2cbf27dc79d384b422a0a4702 | dcacbf27defe840ea7998e06a5f3fb78718e7d53 | refs/heads/master | 2023-05-10T19:28:56.447493 | 2021-06-03T12:54:11 | 2021-06-03T12:54:11 | 266,143,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | cpp | #include <iostream>
#include <iomanip>
#include <utility>
#include <cmath>
#include <random>
#include <vector>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <algorithm>
using namespace std;
#define rep(i,n) for(int i = 0; i<n; ++i)
#define REP(i,n) for(int ... | [
"exception031noexist@gmail.com"
] | exception031noexist@gmail.com |
cc97072eaf792e8cce9bdf30789d96d77b5da61d | ac48af1d42007f57ab21754ae135ec4a22fb533f | /kernel/archs/x86_32/Paging.cpp | 80765a90124dcaa5107752f2cfbbc157103f5f81 | [
"MIT",
"BSD-2-Clause"
] | permissive | raxracks/chadOS | 47e4e09dd61f61e1e2415dccc560783bb5e76827 | 0469528f5d4f390ff45d680b91783da445e66dcc | refs/heads/main | 2023-06-19T04:52:01.601917 | 2021-07-13T04:29:41 | 2021-07-13T04:29:41 | 379,407,996 | 3 | 0 | NOASSERTION | 2021-06-25T21:27:39 | 2021-06-22T21:43:36 | C++ | UTF-8 | C++ | false | false | 7,974 | cpp | #include <string.h>
#include "system/Streams.h"
#include <libutils/ResultOr.h>
#include "archs/Arch.h"
#include "archs/x86_32/Paging.h"
#include "system/interrupts/Interupts.h"
#include "system/memory/Memory.h"
#include "system/memory/Physical.h"
#include "system/system/System.h"
namespace Arch::x86_32
{
PageDirec... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
90f44af99dea88998a1aa5f63e64fca9b1a1bdc9 | 68a8b2e583bb941e74fac797771cc9d99b816505 | /singleton/main.cpp | 36a0566efb9f324a379d6a13a033ea2a7a4afb1a | [] | no_license | mowiru/My-thingy | 79dd802228699e5578d856561ffab8d5e8215779 | fd818096ff0f9004ab266540b524f18e41291f08 | refs/heads/master | 2020-04-04T20:08:26.916072 | 2018-12-03T15:02:17 | 2018-12-03T15:02:17 | 150,397,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <iostream>
#include <string.h>
#include <iomanip>
#include "log.hpp"
#define APP "singleton_test"
using namespace std;
/**
* Project: singleton_test
* Creator: ruedel
* Creation Date: Fr 30. Nov 14:19:43 CET 2018
*/
int main(int argc, char* argv[]) {
/*
ifstream inputFileBla("./MeineDatenDatei.jso... | [
"ruedel@atplan.de"
] | ruedel@atplan.de |
237d4aa988f74ea7365f96c8b94ea34da0a1d2eb | 64fb05a37eea449e271a7255ee5dd0d382d18a11 | /formula.cpp | 0ce34567b3a2b5e903d6c69b94d23ee408cd8b3f | [] | no_license | JonathanNielson/CS-1410 | c52d93db0a5b2f4fa88593d480ed90dc9f4373b3 | f3cd10ad46a674c67ebe75c6f3e827864db9a281 | refs/heads/master | 2021-01-11T19:53:09.144949 | 2017-02-26T05:54:05 | 2017-02-26T05:54:05 | 79,416,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | /*
*
* Solution to Programming Test #1
* Written by Jonathan Nielson on 1/25/2017
*
*/
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double P;
double i;
double g;
double n;
double F;
cout << "First off, please enter a value for P:" << endl;
cin >> P;
cout << ... | [
"noreply@github.com"
] | noreply@github.com |
56f3943126b6c3f47fea49cc7a708348839f51dd | d822ffd937fae821fdc1f96369c26b8b31c0cda6 | /luogu/p6198.cpp | c439ec2d3cac849808d08ae87376fbed3236e7c5 | [
"MIT"
] | permissive | freedomDR/coding | f8bb5b43951f49cc1018132cc5c53e756a782740 | 408f0fd8d7e5dd986842746d27d4d26a8dc9896c | refs/heads/master | 2023-03-30T03:01:01.837043 | 2023-03-28T12:36:53 | 2023-03-28T12:36:53 | 183,414,292 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | #include<bits/stdc++.h>
using namespace std;
int n;
int val = 1;
vector<int> arr(1e6+5), ans(1e6+5);
vector<vector<int>> pos(1e6+5, vector<int>());
void slove(int l, int r, int splitNum)
{
/* cout << l << " " << r << endl; */
if(l>r) return;
vector<int> splitPos; //记录分割点
// 二分查端点
int st = lower_bo... | [
"1640145602@qq.com"
] | 1640145602@qq.com |
e76be0d70a2103c70fb2093481e8205eac92b883 | 4c93ca76318969f1624a0e77749bcdea3e7809d3 | /~9999/1978_소수찾기.cpp | 9fc081c57dc3d7acc386f2937c7886b3f5b17c77 | [] | no_license | root-jeong/BOJ | 080925f6cfbb5dcbdf13c4c3a3c7e0a444908e6e | ec1ef5ad322597883b74d276078da8a508f164a8 | refs/heads/master | 2022-04-03T22:33:44.866564 | 2020-01-08T12:21:19 | 2020-01-08T12:21:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int arr[1001];
int N;
int data, count = 0;
vector<int> vec;
cin >> N;
bool can;
for (int i = 0; i < N; i++) {
cin >> data;
can = true;
if (data != 1) {
for (int i = 2; i < data; i++) {
if (data % i == 0) {
can = false;
... | [
"gjek136@naver.com"
] | gjek136@naver.com |
e426c365df95c8d9df647fd9e8612ce9a2dad9a7 | db1467d280a821f2ef944f36003f2c049fc2c478 | /12周C++作业/6.20 Multiple/main.cpp | 73e89d424f82547a7a35b8f6ff7830b75ed7bfb1 | [] | no_license | Xinxrong/xin_xiangrong | 77a182f481a22b3a702fcbfd1356468d07fdff47 | eb215da6ae26bdd39c680f9a9d3a8bbb271a0754 | refs/heads/master | 2020-04-02T09:09:42.715874 | 2019-04-21T13:01:17 | 2019-04-21T13:01:17 | 154,277,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <iostream>
using namespace std;
bool multiple(int a,int b);
int main()
{
int a,b;
int c=1;
while(c>0)
{
cout<<"Please input two number :";
cin>>a>>b;
cout<<multiple(a,b)<<endl;
}
return 0;
}
bool multiple(int a,int b)
{
if(b%a==0)
{
return true;
... | [
"1036809143@qq.com"
] | 1036809143@qq.com |
590c77fc282723c367c4b44e51d19ee38dccf3e9 | 95f7c923592bafc734f8970fa743faafd5226253 | /spoj/PARADOX.cpp | a47f5480e45aa651766e7eccb61545f3df4c9b9b | [] | no_license | vishnujayvel/practicecodes | 33132a1afc97e619df9950cd8782951ab183833d | 3849ac44596f56dda95b83d00a38b79a3921c496 | refs/heads/master | 2021-01-06T20:37:49.840924 | 2014-09-09T13:25:36 | 2014-09-09T13:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cpp |
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cs... | [
"vishnuj81093@gmail.com"
] | vishnuj81093@gmail.com |
d684f07ea503433c7be1caf90e3ec8509f7423e9 | 89ed66520d8646b0d7182a667c3846c1da6cada1 | /join.cpp | e6fe983baeb8f60bf90b9ae4eb564f042e10e4be | [] | no_license | mukul13/DBMS-Join-using-external-hashing | 509a6a62bdc9371f51c2ab79b5bfe4681e846e51 | fcd422a55fe7e69fa68109e4fc9e58aacef32d62 | refs/heads/master | 2016-09-14T00:58:31.868987 | 2016-04-13T16:34:09 | 2016-04-13T16:34:09 | 56,168,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,374 | cpp | #include <iostream>
#include <stdio.h>
#include <string>
#include <math.h>
#include <vector>
#include <sstream>
#include <stdlib.h>
#include <fstream>
using namespace std;
namespace patch
{
template < typename T > std::string to_string( const T& n )
{
std::ostringstream stm ;
stm << n ;
... | [
"mukul.chaware13@gmail.com"
] | mukul.chaware13@gmail.com |
b56eef226bc6d178bfb5a664a0215622c903e8fa | 4153e7912b6cd79ab31fdc18df529b50f1582b67 | /seminars/task_3/task_3_3.cpp | 56c9f0d1260bce8a4c3ef7e37d33bbc5e47c513a | [
"BSD-3-Clause"
] | permissive | shevkunov/sgtl-and-others | be7c9e4509575fd3bac4dc3ae518425ea58c7eb8 | 573e8d57c8d0272c025d8509485bec0a26de3153 | refs/heads/master | 2021-01-19T08:36:04.822435 | 2017-04-08T18:04:13 | 2017-04-08T18:04:13 | 87,650,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include <iostream>
#include "barrier.h"
int main() {
barrier br(3);
auto lambda = [&br](size_t id) {
while(true) {
br.enter();
std::cout << "Broken : " << id << std::endl;
}
};
std::thread t[3];
for (int i = 0; i < 3; ++i) {
t[i] = std::thread(lamb... | [
"howtodo@ya.ru"
] | howtodo@ya.ru |
96fc853607179a8b6e5bd1c212a101e1fdf66c93 | 90e2d052ee6185678b01106ba2e9a180360ac18c | /gameupdate.cpp | 522e6ca2a574f9506920ff99e6209bea9fd1efd9 | [
"BSD-3-Clause",
"IJG"
] | permissive | imoimo2009/tetris | 7fe8cf16252195b4db6bf124b96e75bbdf6ba582 | 69f7f03cdc1b5535bbe94c052de1b5d6136a32c5 | refs/heads/master | 2020-03-19T08:01:01.140364 | 2019-02-18T04:10:19 | 2019-02-18T04:10:19 | 136,168,497 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 22,515 | cpp | // gameupdate.cpp
#include "tetris.h"
void GameMainUpdate(GameStatus *gs){
if(gs->AnimeTimer == 0){
UserControl(gs);
MoveTetriDrop(gs);
}else{
gs->AnimeTimer--;
if(gs->EraseLineNum > 0){
if(gs->AnimeTimer == L_ERASE_TIME){
EraseBlockLine(gs->Stage,gs->EraseLines);
}else if(gs->AnimeTimer == L_DROP... | [
"今西弘治"
] | 今西弘治 |
5db9e9a0255f8b5f096e11e57d638d921f699e25 | 402d447604a9443f9085786753e36edc89f25890 | /Longest_Substring_Without_Repeating_Characters.cpp | f9743cac7e6dc659b272d0b0d6dc7a624a8937b2 | [] | no_license | whodewho/leetcode | 4f8c1b8064985482d495ec0b3ecf7f1f524cd039 | 10b9b106c7ae0c0bff383bf79dbe079b8d240b50 | refs/heads/master | 2021-01-21T21:39:37.151922 | 2016-04-06T11:21:43 | 2016-04-06T11:21:43 | 28,042,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | //O(N*N)
class Solution {
public:
int lengthOfLongestSubstring(string s) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if(s.empty())return 0;
int result=1,last=1;
for(int i=1;i!=s.size();i++)
... | [
"chenkainp@gmail.com"
] | chenkainp@gmail.com |
1ec1051b171758fb87a0bab29cc9c446ad1a97df | 07a4c96f62a92fab367e4909d3c92ac877a4fd46 | /LF/LF/lfinterpolate.h | c73824aa41854da63928ea0e2843d61aee18394e | [] | no_license | sushantojal/Multi-Perspective-Stereoscopy-from-Light-Fields | 78bb150595ae9e7fc7abf19e7077009bb6609f97 | 21ba394e574d14bf7d9d5ed3ba7f171f0b8f1971 | refs/heads/master | 2021-04-29T08:11:42.999570 | 2016-12-30T02:26:19 | 2016-12-30T02:26:19 | 77,652,718 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | h | #pragma once
#include <cstdio>
#include <fstream>
#include <string>
#include <cstring>
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/imgproc/imgproc.hpp"
#include <math.h>
using namespace std;
using namespace cv;
//for interpolating and synthesising more... | [
"sojal@cs.stonybrook.edu"
] | sojal@cs.stonybrook.edu |
f2bc62757fd8eeb9c068d467a1726ab8651310bf | 521685507e5b26ec9be38b39a249bdc1ee638138 | /Servers/Filters/vtkMultiViewManager.cxx | 4dd1c3d694e23b2b3f40c08e07ff94e373731e1d | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | matthb2/ParaView-beforekitwareswtichedtogit | 6ad4662a1ad8c3d35d2c41df209fc4d78b7ba298 | 392519e17af37f66f6465722930b3705c1c5ca6c | refs/heads/master | 2020-04-05T05:11:15.181579 | 2009-05-26T20:50:10 | 2009-05-26T20:50:10 | 211,087 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,329 | cxx | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without... | [
"utkarsh.ayachit@kitware.com"
] | utkarsh.ayachit@kitware.com |
1f25405460f4106e739b604e971d7a547059ed4a | bba62e6e48e60e4e41469061594cf1d6a96eb2fb | /tools/qcheck/main.cpp | 28ab74e36e9bb771f13f7d437760fc9bc489e3d4 | [
"MIT"
] | permissive | antonovvk/geonames | 0f2ad5127be118899073d7657d5a69d9c149a491 | aedf20574636eb6618337f7fa63d81f4c8c81e56 | refs/heads/master | 2020-12-24T07:35:21.414486 | 2016-10-21T09:44:27 | 2016-10-21T09:44:27 | 58,719,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,748 | cpp | #include <vector>
#include <fstream>
#include <codecvt>
#include <tclap/CmdLine.h>
#include "src/json.hpp"
#include "geonames/geonames.h"
using namespace std;
void JsonResult(nlohmann::json& res, const string& name, const geonames::ParsedObject& obj, bool printTokens) {
if (!obj) {
return;
}
wstr... | [
"vlad@trueskills.com"
] | vlad@trueskills.com |
c89bccfa51b6809847632fedd2fbcaf6efeab690 | 8e324e84f525262719c4a9642be37b05136e1641 | /src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp | 44076d4d959614c26cb57e70d5c3baf5d5ce869e | [] | no_license | ProjectStarGate/StarGateEmu-Projekt | 837d1551fda58c1c91b6a31f0994a0993a043d53 | 4eabe8f08cf2802a31969a9a1503922116743833 | refs/heads/master | 2016-09-06T12:02:34.697192 | 2012-01-14T18:49:56 | 2012-01-14T18:49:56 | 3,037,279 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 34,113 | cpp | /*
* Copyright (C) 2010-2012 Project StarGate
*/
#include "gamePCH.h"
#include "Battleground.h"
#include "BattlegroundTP.h"
#include "Creature.h"
#include "GameObject.h"
#include "Language.h"
#include "Object.h"
#include "ObjectMgr.h"
#include "BattlegroundMgr.h"
#include "Player.h"
#include "World.h"
#include "Worl... | [
"sharkipaust@web.de"
] | sharkipaust@web.de |
186d4384f9893d35e93aef0f86fc5151a474a0e2 | 7619f1f54f8a1f7b11dc1dbb840fd15677a10855 | /ExampleCode/Bullet.cpp | 8a62f2ec6faf19849da788f3813a5411a3c54875 | [] | no_license | kbyun03/4122FinalProject | b52ffd6f3f09161c2523f48dd6e061e130ea2554 | 83a414c3ebe49d03b0e90a8b515c81fa1666891c | refs/heads/master | 2020-03-10T15:13:30.964122 | 2018-05-03T18:22:36 | 2018-05-03T18:22:36 | 129,444,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | #include "Bullet.h"
#include <QTimer>
#include <QDebug>
#include <QGraphicsScene>
#include <typeinfo>
#include "Enemy.h"
#include <QList>
#include "Game.h"
extern Game *game; //there is an external global object called game of type Game
Bullet::Bullet()
{
//draw rect
setRect(0,0,10,50);
//connect
QTi... | [
"kbyun03@gmail.com"
] | kbyun03@gmail.com |
5fc975097c1d8909e2ebc1777a4613b3d4b63dd9 | 1c52a71a1d6851842a13ff193771aed24e46318c | /codeforces/670-B/670-B-23023757.cpp | f462a9ac29708b4fe3e181b83b0fd8b262a39fb7 | [] | no_license | nimxor/competitive_progeamming | d19654b94478aa59ff2103b4433e613f1fdf5ff6 | 7caf1353a2e8fc3d423cc9711228fbb4fd1e9a97 | refs/heads/master | 2021-01-19T03:28:52.056161 | 2017-04-05T14:02:33 | 2017-04-05T14:02:33 | 87,314,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | // https://www.hackerearth.com/practice/algorithms/graphs/depth-first-search/practice-problems/algorithm/explorers-birthday/description/
#include<bits/stdc++.h>
#include<time.h>
using namespace std;
#define ll long long
#define mset(m,v) memset(m,v,sizeof(m))
#define pb push_back
#define mp make_pair
#define ... | [
"shubhamgupta190496@gmail.com"
] | shubhamgupta190496@gmail.com |
5cbd6e0f03e31fd8ae77f65d1e10be7bf08f7675 | 6457f1ee6c51b895c598e77b2e69454aabb8a411 | /include/UBLOX/serial_interface.h | f57bf98be5f3febbec6bf89cf9be7ebce20bdcfd | [] | no_license | superjax/UBLOX_read | c9c0f9c25ccd661e7c542a8131b534f0ffe22477 | 7f91e796c571389c71ac0b846c30f8e8093e43bc | refs/heads/master | 2021-06-02T01:41:28.760795 | 2020-10-16T16:13:05 | 2020-10-16T16:13:05 | 134,342,772 | 12 | 8 | null | 2019-11-15T20:55:51 | 2018-05-22T01:15:39 | C++ | UTF-8 | C++ | false | false | 548 | h | #pragma once
#include <cstdint>
#include <cstdlib>
#include <functional>
class SerialListener
{
public:
virtual void read_cb(const uint8_t* buf, const size_t size) = 0;
};
class SerialInterface
{
public:
typedef std::function<void(const uint8_t* buf, const size_t size)> serial_cb;
virtual void write(con... | [
"superjax08@gmail.com"
] | superjax08@gmail.com |
13e6ca86c77dea0b796d6b8974e9a63b1b884dbb | 4f37d83eff2baed92fffb0a567ea6bbed1dda0ff | /arduino/configuracion_BT/configuracion_BT.ino | 575d2332863b2fb4eb715a75850740df3eb2dd55 | [] | no_license | georgesaavedra1612/desarrollo-ekg-ads1298R-arduino | 82166fe7a606e97087368470b62e46cb92b405eb | 25ef3344d7ca067059a9d6db6ddfb897cc2bf7ee | refs/heads/master | 2020-04-18T10:54:28.548323 | 2019-04-11T18:22:43 | 2019-04-11T18:22:43 | 167,482,155 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | ino | /*
Software serial multple serial test
Receives from the hardware serial, sends to software serial.
Receives from software serial, sends to hardware serial.
The circuit:
* RX is digital pin 10 (connect to TX of other device)
* TX is digital pin 11 (connect to RX of other device)
Note:
Not all pins on the Me... | [
"george.saavedra@alumnos.uv.cl"
] | george.saavedra@alumnos.uv.cl |
1d59944e15f0598d191f3baf96f2c7de934d5847 | f6fca6c43ad746c45c8321541178eb02e2cb555e | /openconf_src/ITextDoc.h | 54325fb17144ad3b9a82a1a92ff5e060727c7742 | [] | no_license | Asakra/alterplast | da271c590b32767953f09266fed1569831aa78cb | 682e1c2d2f4246183e9b8284d8cf2dbc14f6e228 | refs/heads/master | 2023-06-22T04:16:34.924155 | 2021-07-16T06:20:20 | 2021-07-16T06:20:20 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,634 | h | // ITextDoc.h: interface for the CITextDoc class.
#if !defined(AFX_ITEXTDOC_H__99E6A405_0802_4BF4_BCC2_8CD5AFBC9392__INCLUDED_)
#define AFX_ITEXTDOC_H__99E6A405_0802_4BF4_BCC2_8CD5AFBC9392__INCLUDED_
#include "icfgdoc.h"
class CITextDoc : public CCfgDocDerived<ITextDoc, TextDoc>
{
public:
// Пустышки макрос... | [
"trdmval@gmail.com"
] | trdmval@gmail.com |
b47f493c53488a07aa1e8176c5e187758abf49a3 | 82112ca0a021b66c6c645b101ce5976a52f15a6a | /src/libgeo2tag/src/session.cpp | 8641fa6d3c788a9449d4e051f4225b1e679f2017 | [] | no_license | OSLL/geo2tag | 3d68eab2ed0eac4fd1d512eb2416eae9523ec44a | d8fa52aa72e64b98daf640c737c667926fd49a8c | refs/heads/master | 2021-01-23T07:21:28.296042 | 2012-12-10T04:16:02 | 2012-12-10T04:16:02 | 1,591,152 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | /*
* Copyright 2010 - 2012 Kirill Krinkin kirill.krinkin@gmail.com
*
* Geo2tag LBS Platform (geo2tag.org)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain th... | [
"kirill.krinkin@gmail.com"
] | kirill.krinkin@gmail.com |
a8c603abcbb36e6918aa96a06d3ba1f8ce7e8a86 | 3fcb04025ed75c0f41076c437259f1d090bb0950 | /Algo solução - modificado Ruan/KociembaRubikSolver/SOLVER.CPP | 6bdc11f17b52e1ce15b8d0351c30d9302adff2ca | [] | no_license | petcomputacaoufrgs/robo-rubik | 3ba209e5359a4abf7eb1bc10c1a85fef630241d9 | 4865d99bf2c0cb059e92f5ac92ad4bc716e6b9c4 | refs/heads/master | 2023-01-24T22:56:07.489225 | 2014-05-14T20:11:01 | 2014-05-14T20:11:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,282 | cpp | // solver.cpp - Cube Solver class implementation
#include "stdafx.h"
#include "solver.h" // Solver
#include <iostream>
#include <iomanip>
Solver::Solver(void)
// Phase 1 move mapping tables
: twistMoveTable(cube),
flipMoveTable(cube),
choiceMoveTable(cube),
// Phase 2 move mapping tables
cor... | [
"lir-pet2@LRI-PET2.(none)"
] | lir-pet2@LRI-PET2.(none) |
6829c56c9217959ebeab88a1c3dc08b2da8f9c43 | 238165028f560e39a5fa795a0d3b1d9e6d34ba11 | /MyTimeIntegration/ExplicitNystroemNoVelocity.h | b53b11ab356b617607f621ad578428331a5377e5 | [] | no_license | pmueller2/NuToApps | 3b1d41b34cc3267f270fd20311543ec0751e96e2 | b09cb916ed510d79df99c85666a0b0b9a1bf6608 | refs/heads/master | 2018-12-18T08:58:14.402501 | 2018-09-14T12:28:47 | 2018-09-14T12:28:47 | 125,864,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | h | #pragma once
#include <vector>
namespace NuTo
{
namespace TimeIntegration
{
template <typename Tstate>
class ExplicitNystroemNoVelocity
{
public:
//! @brief Initialization with method specific parameters (butcher tableau)
ExplicitNystroemNoVelocity(std::vector<std::vector<double>> aa2, std::vector<double> bb... | [
"philipp.mueller2@bam.de"
] | philipp.mueller2@bam.de |
1ccdd3b554bbe4ecee8d1274ab765f3195034915 | daf2dfb1dee546bbac8462bafb4026aaf622bc47 | /tf2_bot_detector/UI/ImGui_TF2BotDetector.cpp | d69fa766dd25aa607d32f85a41caa9fa69ddaabe | [
"MIT"
] | permissive | kittenchilly/tf2_bot_detector | 67770462e0b3d118f87ea23c924093c4c2395f98 | f904eb5ac4622fe9c0ae1e7919adfc0ed92ad0a5 | refs/heads/master | 2023-06-23T04:48:22.024866 | 2021-07-20T03:57:03 | 2021-07-20T03:57:03 | 272,867,208 | 0 | 0 | MIT | 2020-06-17T03:16:51 | 2020-06-17T03:16:51 | null | UTF-8 | C++ | false | false | 16,466 | cpp | #include "ImGui_TF2BotDetector.h"
#include "Util/PathUtils.h"
#include "Clock.h"
#include "Networking/NetworkHelpers.h"
#include "Config/Settings.h"
#include "Util/RegexUtils.h"
#include "SteamID.h"
#include "Platform/Platform.h"
#include "Version.h"
#include "ReleaseChannel.h"
#include <imgui_internal.h>
#include <im... | [
"mrhaynie@live.com"
] | mrhaynie@live.com |
274a91e6f0f4b65d66eff54caec2624ab5bcb343 | d64306c77907757fff2d90198c3f63af0c2f88e5 | /project/Engine/Game.h | 4cfb3654b28c2f6a82a75e424428ab3d0b545149 | [] | no_license | kenbo736/TDP005 | 0f69a60f59673dd9d7daff30038b5cb9a6a0a6fd | 71cb30741ae2064fa2b217e98b078dd000dd0a07 | refs/heads/master | 2021-01-10T08:52:04.510906 | 2016-04-09T13:15:31 | 2016-04-09T13:15:31 | 51,699,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | /* Game.h */
#pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include "./Graphics/Graphics.h"
#include "./System/Logic.h"
#include "./System/Input.h"
#include "../World/World.h"
class Game
{
public:
Game();
~Game();
void run();
private:
SDL_Window* window;
Graphics* graphics;
Logic* logic;
... | [
"kenbo736@student.liu.se"
] | kenbo736@student.liu.se |
8c8bdb0cfb9a9af3834d12fe14b351475ae55a93 | 7e753f9cadc4bb542ce751b29ceabd2cb83848c6 | /controls-home-devices-in-relay-control-mode-via-wifi.ino | 7fd18f46cf5ead6e37fb96d3f8e73470664ef5ae | [
"MIT"
] | permissive | ithieund/ArduinoRemoteLITE | 9e875f7a49bdac0778753cdb751de008d3efd6ed | f3562829456dcbf3e690d8f1432df33ba78ec14c | refs/heads/master | 2020-03-24T13:26:32.626722 | 2018-09-16T02:23:26 | 2018-09-16T02:23:26 | 142,744,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,315 | ino | /*
* Controls home devices with Arduino Remote LITE in Relay Control Mode via Wifi
* Author: Top Hot Apps
* Website: https://hotapps.top
* Email: support@hotapps.top
* This sketch runs with Arduino Remote LITE. Download: https://play.google.com/store/apps/details?id=it.hieund.arduino_remote_lite
*/
#include <WiFi.h>
... | [
"noreply@github.com"
] | noreply@github.com |
041cf641dffa8ba1f9bd72a9613ce71d3f2253c4 | 28bbc168051237c97e810697c589b51c3d4b6836 | /ValentinaHernandez/Semestre1-2017/comentados/UVA-11385.cpp | f7477e6e113537fffab795d871af307b7a4a863f | [] | no_license | fernandezeric/acmudec | 1ac14d916445a8c31d5914f2a99c33c7bb8af9b0 | 1042c759b1636b47fcf3c20fd8daeaa39338bbd1 | refs/heads/master | 2020-07-31T05:09:51.501552 | 2018-09-13T01:55:49 | 2018-09-13T01:55:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,501 | cpp | /*COMENTADO
https://github.com/ackoroa/UVa-Solutions/blob/master/UVa%2011385%20-%20Da%20Vinci%20Code/src/UVa%2011385%20-%20Da%20Vinci%20Code.cpp
*/
#include <cstdio>
#include <cmath>
#include <map>
#include <cctype>
#include <cstring>
using namespace std;
map<int, int> fibIdx, revFibIdx;
/*Obtiene el termino n de la ... | [
"dcaripan@udec.cl"
] | dcaripan@udec.cl |
102fe4f68c101780b33579b58985c555c4fccc55 | 180159ae833c2ecfdafb3bbbba7c412b7b98bfb2 | /Demo4_1/main.cpp | a658c5ba7a61e6f391cccaf11356b0fd65ad8140 | [] | no_license | z2058550226/QtCode | f4a09808435b031c7a984fe6daa3d4ec2c58adb8 | 5d93ce50dcca968b11127851983f159859bfbda7 | refs/heads/master | 2020-03-25T20:32:45.795662 | 2018-08-09T10:06:08 | 2018-08-09T10:06:08 | 144,135,401 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.setTitle("OpenGL Hello World!");
w.resize(640,480);
w.show();
return a.exec();
}
| [
"2058550226@qq.com"
] | 2058550226@qq.com |
2467210150230b5d03711c2278e3ab4d40e5e824 | d13c1ce1555622663ebd6b21a70fb718b2a034e3 | /src/Van_Hove_all.cpp | 7a1a38b06576f92e28a63f3544f3f990d43d9bd3 | [] | no_license | mformlos/ReversibleSim | 207b56e94c8b85d0426975ac52b437eecb82d392 | e342d770e916c55b49e3108ab96102f20ac7921d | refs/heads/master | 2020-03-16T22:00:20.962087 | 2018-11-23T09:47:36 | 2018-11-23T09:47:36 | 133,023,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,773 | cpp | #include <vector>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <math.h>
#include <sys/stat.h>
#include <sys/time.h>
#include "Molecule.h"
#include "HelperFunctions.h"
#include "BoundaryConditions.h"
int main(int argc, char* argv[]) {
std::string Directory{}, ... | [
"maud_formanek001@ehu.eus"
] | maud_formanek001@ehu.eus |
47f4a044808ee75977486eeb31c758bcaf584302 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /uva/random/188.cpp | d8c392d76085be4547f9bf279faa330d85b0fa82 | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,397 | cpp | #include<bits/stdc++.h>
#define ABS(a) ((a < 0) ? ((-1)*(a)) : (a))
#define F(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define RF(i,a,b) for(long long i = (long long)(a); i >= (long long)(b); i--)
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define MAX(a,b) (a)>(b)?(a):(b)
#... | [
"saurav007tiwary@gmail.com"
] | saurav007tiwary@gmail.com |
e29519558fd19ff7077082847a220dd17be857bd | 9c04607c6a658060a16c269cb673e5818a7074cf | /src/include/fst/script/convert.h | 1649bd90ad30c0904aab63aeea5a19202f83e7b0 | [
"Apache-2.0"
] | permissive | demitasse/openfst | 5e0029065f85126c7853bc3c5ba762cdbc66d01b | 6e4a66f7747e921dd2c220ee49927d0a2b69febf | refs/heads/master | 2020-06-11T08:39:08.108955 | 2017-11-18T13:54:53 | 2017-11-18T13:54:53 | 75,707,831 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | // See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
#ifndef FST_SCRIPT_CONVERT_H_
#define FST_SCRIPT_CONVERT_H_
#include <memory>
#include <string>
#include <fst/script/arg-packs.h>
#include <fst/script/fst-class.h>
namespace fst {
namespace script {
typedef args... | [
"dvn.demitasse@gmail.com"
] | dvn.demitasse@gmail.com |
6632e9e3890fa6f7fa3a6b4ecf119bf076f4b50b | 359c8f346dc634010905080cfa3c8754403d8432 | /covidm_for_fitting/model_v2/parameters.cpp | b00a403c03073adc19494a8435a036d6c8a7f6ad | [
"MIT"
] | permissive | rosannaclairebarnard/covidm-mtd-Omi | b954e10895c7286ee9c8233305714a77760bc837 | 5458524d213b6590156ef0b5cc5e89cd7e22ea7b | refs/heads/main | 2023-04-15T04:18:54.867356 | 2022-08-31T11:57:09 | 2022-08-31T11:57:09 | 511,480,146 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 28,771 | cpp | // parameters.cpp
#include "parameters.h"
// Helpers to set parameters
#define _CheckSet(variable) else if (name == #variable) { ParamSet(variable, value); }
#define _CheckSetParent(P, variable) else if (P != 0 && name == #variable) { ParamSet(P->variable, value); return false; }
void ParamSet(double& variable, Rcpp... | [
"rosannabarnardresearch@gmail.com"
] | rosannabarnardresearch@gmail.com |
88aa5f12964f4ff490c9a87692217f0e96b96fd5 | bf8b47c7726a07beef697de4c7ccd97d9df1cd8a | /testes/vectors.cpp | 39a767787a45cf4306869980a2e80e70851b3010 | [] | no_license | Vitor-labs/Trabalhos_ufc | 2b5ee23aeb9366646ce1ea5cbb32d2d125de4de1 | 59c579aa45eecb20304448dfd0de121f17ae3263 | refs/heads/main | 2023-08-25T20:24:41.648233 | 2021-09-24T20:42:50 | 2021-09-24T20:42:50 | 404,305,634 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,223 | cpp | #include <iostream>
#include <vector>
// vector são recomendados para dados que
// irão mudar pouco ao longo do tempo, já
// que retirar um certo dado é custoso.
// vectors pré-alocam espaço para elementos
// futuros, mas sem espaço adicional além do
// tipo do vector.
// armazena elementos em locais de m... | [
"noreply@github.com"
] | noreply@github.com |
797846ba820f9ee9b44242f9daacb5da5b551cff | 47923a324bf9b694d341072ee0d649f2af5d7fe3 | /src/Multiplicator.h | d4e57da1e9de45b93b98cfd1864d972b666673f2 | [] | no_license | SKYMAN44/research-ads2020 | da002ba6054c61dec1c5a1f3799751100d1c20d4 | 7fef93704a5a262e13497009ad42ac4cff84ee8e | refs/heads/master | 2023-03-20T00:10:46.553204 | 2021-03-11T19:47:37 | 2021-03-11T19:47:37 | 258,759,694 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | h | //
// Created by Дмитрий Соколов on 26.04.2020.
//
#ifndef UNTITLED2_MULTIPLICATOR_H
#define UNTITLED2_MULTIPLICATOR_H
#endif //UNTITLED2_MULTIPLICATOR_H
#include <random>
#include <ctime>
#include "Number.h"
class Multiplicator
{
public:
virtual Number multiply(Number& a, Number& b) = 0;
static Number gen... | [
"noreply@github.com"
] | noreply@github.com |
98e88682b307da1f7b1661979f2f474d9f3389c0 | 3208e9d63e390f2d84fb442c22c7dafc255e9795 | /Arrays/Easy/positionsoflargegroups.cpp | 43f5631140b3fe3916c5f6caa4a63edc8850530f | [] | no_license | preethichandra20/LeetCode | 892214522d164d8a616c5bb3906bfa10626e8b13 | 5ff4f7064089c3775eaef973ac33d52d3380d269 | refs/heads/master | 2023-05-28T21:48:44.559310 | 2021-06-14T17:23:34 | 2021-06-14T17:23:34 | 376,902,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s="abbxxxxzzy";
s=s+'0';
int n=s.length();
int count=1;
char key=s[0];
int j=0;
vector<vector<int>> result;
for(int i=1;i<n;i++)
{
if(s[i]==key)
{
count++;
}
... | [
"preethichandra30@gmail.com"
] | preethichandra30@gmail.com |
c35ad47da074087c5f53e7450f5f831115b9f09b | 77315d0f84ec16354b490e705722df39be47b7b6 | /Source/NoesisGuiEditor/Private/NoesisBlueprintFactory.cpp | b66e0b9a5ba4922660562bdcbf469c4d0db55477 | [] | no_license | miaohongbiao/UE4Plugin | d259f57fadf77a5b152249fe303f5947ae4f28b7 | 8ae40958c823e6a5a29f8ff3fef1ba4c4c449623 | refs/heads/master | 2021-06-21T14:26:42.443016 | 2017-02-27T19:48:27 | 2017-02-27T19:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////
// Noesis Engine - http://www.noesisengine.com
// Copyright (c) 2009-2010 Noesis Technologies S.L. All Rights Reserved.
///////////////////////////////////////////////////////////////////////////////////////////////////... | [
"hcpizzi@hotmail.com"
] | hcpizzi@hotmail.com |
85346a95d70c18b0994bf7cf0acd893c6eb51d79 | b4e91238f886f5c79fd0563e53f5eefeca1e3875 | /graph_theory/Edmonds_Karp.cpp | c4265754a5c25865889f9797a8dd361d82587e8c | [] | no_license | dushujun/ACM_SDNU | 89e8191f1572b113840695550af6d217abddda4a | e3b38762f91c623a4ed7eca4c33f9e722d0fe7f2 | refs/heads/master | 2021-01-17T12:37:21.553730 | 2014-09-13T16:44:08 | 2014-09-13T16:44:08 | 23,982,232 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | cpp | /***********************************************************
最大流 Edmonds_Karp算法
Edmonds-Karp是一种求网络最大流的算法,与Ford-Fulkerson算法不同的是Edmonds-Karp
要求每次找长度最短的增广路径。可以使用BFS。
Ford-Fulkerson和Edmonds-Karp的执行效率不可相提并论——Edmonds-Karp可以过100,
而Ford-Fulkerson过50时时间就不可忍受了。
***********************************************************/
#inclu... | [
"dushujun9@gmail.com"
] | dushujun9@gmail.com |
c56b9c758a82e59b5cdcf3b4669a39bdff43cb6e | 0ccba45cf6212c42daca792b764eec3051e103e7 | /LeetCode/Sort/maximum-gap.cpp | 715fecbc1a2a21e2c1cbb6dc69452486bb429f2d | [] | no_license | novostary/codes | a92d260484fb9b02d4e52de05bc30861b2b16376 | 2483f2b60b92b6e7b9c8d8e8cc38aeda6c2281c7 | refs/heads/master | 2021-01-22T03:39:34.870844 | 2016-03-28T15:35:38 | 2016-03-28T15:35:38 | 25,671,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | #include <vector>
#include <algorithm>
using std::vector;
using std::max;
using std::min;
// Runtime: 8 ms
// bucket sort
// https://leetcode.com/discuss/18499/bucket-sort-java-solution-with-explanation-o-time-and-space
// https://leetcode.com/discuss/27754/my-c-code-12-ms-bucket-sort-o-n-time-and-space
class Solution ... | [
"novostary@163.com"
] | novostary@163.com |
914f9011c5ebd44dc062105c19d34430782c56f9 | 7a589d807fdce6d11a7e6d3bcc1289cf7e138137 | /2016-IAP-Arduino/group_large_projects/Jimmy-two shoes/src/AnimationController.h | 653e304c3e6d373acd897151f4e7cb5798ab6316 | [] | no_license | mens-et-manus/archive | d24b35019a28029da62ac40c17c2da4331ecaadb | 80959af9322cda6bc7bf843c3faf4d9aba31c0b4 | refs/heads/master | 2020-06-03T14:02:26.737837 | 2017-09-18T23:31:41 | 2017-09-18T23:31:41 | 94,132,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | h | /*
AnimationController.h - Library to control the different weather conditions.
*/
#ifndef AnimationController_h
#define AnimationController_h
#include "Arduino.h"
enum WeatherCondition{
NONE,
RAINY,
CLOUDY,
SUNNY,
RAINY_LIGHTNING,
CLOUD_LIGHTNING,
STORM
}
class AnimationController
{
public:
Animation... | [
"andrew@andrewringler.com"
] | andrew@andrewringler.com |
15d373c34ba710b6ea7cbc959e6515a8efe602a5 | 5f46f7b94395f6586889d6a1062d74745694fa27 | /Project/Bin/CHighScores.h | 9d83ec7e96e0117ab9bef1d1f3d4540a00a79e9f | [] | no_license | phautamaki/Space-Invaders | 360d7ce58a708e02b02325be127fcef2a70e5408 | d6f06e604246d1b7d8e58f8326889e615372928f | refs/heads/master | 2020-12-30T14:56:33.907381 | 2012-11-30T15:15:04 | 2012-11-30T15:15:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | #ifndef _CHIGHSCORES_H_
#define _CHIGHSCORES_H_
#include "CSurface.h"
#include <vector>
#include <string>
//=============================================================================
class CHighScores {
public:
CHighScores();
bool OnInit();
void OnRender(SDL_Surface* Surf_Display) const;
bool CheckPoints(in... | [
"niko.laasanen@tut.fi"
] | niko.laasanen@tut.fi |
42d26aab00f9b0083c998cb1269dc72c10eb9ee1 | b34ee8a23cbdf8210566d1557b02d65bd5d5f23b | /tmp.cpp | bdbb8a2c812760bc89e7c0737f0d0c7641343a58 | [] | no_license | abramkinyura/Billiards | dfc7f53ecc252895d652f29555b4959b75d6bc29 | 62e9b118d21fbd816e46b2b035d2e6c63ae29963 | refs/heads/master | 2021-08-08T18:19:47.214257 | 2017-11-10T21:46:48 | 2017-11-10T21:46:48 | 110,293,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,809 | cpp | //
// A simple example of OpenGL usage over X11:
// draw a tetraedron with a spere on top of it.
//
// The 3D model can be rotated by the mouse movement
// with the left mouse button pressed.
//
// The program is based on the class GLWindow, that presents a
// convenient C++ interface to OpenGL and X11 functions.
//
//... | [
"noreply@github.com"
] | noreply@github.com |
c35cff7b00e29806267ec1aa29443fc2c5b28843 | 7129fecf95c3c27f19ccb63d2a6529647e766c6c | /TestClient/TCPsend.cpp | a11252d1b39a48b60e471a39bec2c0f78433ae2a | [
"MIT"
] | permissive | labbloe/Oracle | d103b5d60386c4d70306463256754d5c9d143ebe | 9acb42d68c04291da87bac7b92cabbae0c32a50d | refs/heads/master | 2023-04-14T11:00:34.558345 | 2021-04-24T21:01:30 | 2021-04-24T21:01:30 | 271,418,115 | 0 | 0 | MIT | 2021-04-24T21:01:30 | 2020-06-11T00:57:41 | C++ | UTF-8 | C++ | false | false | 7,090 | cpp | // Client program example
#define WIN32_LEAN_AND_MEAN
#include <iostream>
#include <winsock2.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
using std::getline;
using std::cin;
using std::cout;
using std::endl;
using std::string;
#define DEFAULT_PORT 2007
// TCP socket type
#define DEFAULT_PROTO SO... | [
"jla7ym@mst.edu"
] | jla7ym@mst.edu |
828014ee7851ccd8ad697edd357e6e27d39e6470 | 629ae5d7d939996dccbf4505cb74d1509ecf294d | /livox_ros_driver/livox_ros_driver/lds_lidar.cpp | e76117b0a0731ec980f6e7f946983497c65d7ab4 | [
"BSD-3-Clause",
"Zlib",
"BSD-4-Clause-UC",
"LicenseRef-scancode-rsa-md4",
"BSD-4-Clause",
"LicenseRef-scancode-other-permissive",
"MIT",
"Beerware",
"RSA-MD",
"ISC",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-rsa-1990"
] | permissive | kmiya/livox_ros_driver | 643b9dfb80e181a51dd99cdf7b09bd23cb3bbb09 | 5b37ab7795eba597df2d10e17be4f5b29d79983d | refs/heads/master | 2022-12-29T18:26:41.301610 | 2020-08-13T01:26:59 | 2020-08-13T01:26:59 | 287,151,001 | 0 | 0 | NOASSERTION | 2020-08-13T01:22:09 | 2020-08-13T01:22:08 | null | UTF-8 | C++ | false | false | 30,520 | cpp | //
// The MIT License (MIT)
//
// Copyright (c) 2019 Livox. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation... | [
"dev@livoxtech.com"
] | dev@livoxtech.com |
6a6b4e99bcdd7169d8db5997359d5024aab4f8b9 | eecf0603c8336a49d35ca87f12ad7b2769115422 | /QOSS-V1.0/Calculation/Gaussian_Beam_Circular.cpp | 38769f8741435cb276b1fd4b3f5aed16411506c1 | [] | no_license | Devil-ly/QOSS-V1.0 | e90fab43f9a69fdd16f5cbfc5f95db83fa09e656 | 73e15f398be7567e187cb2814415a2dd23caaf63 | refs/heads/master | 2021-05-06T19:12:02.890104 | 2018-05-26T07:49:56 | 2018-05-26T07:49:56 | 112,161,447 | 2 | 4 | null | 2018-04-12T06:13:32 | 2017-11-27T07:15:17 | C++ | GB18030 | C++ | false | false | 1,768 | cpp | #include "Gaussian_Beam_Circular.h"
//返回传播z长度后的高斯波束W值
double Gauss_Omega_Circular(double frequency0, double w0, double z0)
{
double lamda = C_Speed / frequency0;
double w = w0*pow(1.0 + pow((lamda*z0 / Pi / w0 / w0), 2), 0.5);
return w;
}
//返回圆高斯波束在P(x,y,z)的复数主极化值
complex<double> Gauss_E_Circular(double frequency... | [
"liyun05@baidu.com"
] | liyun05@baidu.com |
cdb0ddcd1e67cc22b4f2fb2024fdc04e54c3603e | 0ad0cb2fcadd104f8bd7ad2e10324904335f107c | /Sample_GL3_2D (copy).cpp | a14408ba9bf5ce8fb8cce6f182d6d80c9a65a17b | [] | no_license | onkarverma975/Blox-Puzzle | c34418d4454b042f034f051adf37bc64d35a0600 | 592869c5a0b1cf278d8943cc3c50275a9efc460d | refs/heads/master | 2021-01-21T10:25:58.174906 | 2018-03-23T20:03:38 | 2018-03-23T20:03:38 | 83,428,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,229 | cpp | #include <iostream>
#include <cmath>
#include <fstream>
#include <vector>
#include <map>
#include <cstdlib>
#include <GL/glew.h>
#include <GL/gl.h>
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/matrix_transform.hpp>
// #include <glad/glad.... | [
"onkarverma975@gmail.com"
] | onkarverma975@gmail.com |
90acf5818442bbc1cf5c32b2f8f95b6db86debf7 | a081002197d091f1c387576894a160ececb69497 | /activemq-cpp/src/main/activemq/wireformat/openwire/marshal/generated/WireFormatInfoMarshaller.cpp | 48245e56460ab2fae7003508cda06b462ee1e1e9 | [
"Apache-2.0"
] | permissive | greatyang/activemq-cpp | 357fe087c839ed0d535ad7e3d987db2dc0badf1e | 4f5d0847552d6a5e206cc54c4354ebd8b0bb8fe3 | refs/heads/master | 2021-03-03T09:53:20.887464 | 2020-03-09T05:34:59 | 2020-03-09T05:34:59 | 245,951,764 | 0 | 0 | Apache-2.0 | 2020-03-09T05:31:25 | 2020-03-09T05:31:25 | null | UTF-8 | C++ | false | false | 6,890 | cpp | /*
* 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 License, Version 2.0
* (the "License"); you may ... | [
"tabish@apache.org"
] | tabish@apache.org |
7d121a6b6e0576db8c6f877bdea565fc4fe0077c | cf3ef2cb7cbce88fb28b184d05f1286a17c6a09a | /ns-3.19/src/buildings/model/buildings-propagation-loss-model.cc | bc1639fe939cb4c94a322b453b4e640460d5e83d | [] | no_license | G8XSU/ns3-pmipv6 | 4d318e39a799e2cfa8f8b8948972494d0d4ad559 | cde2da6d2476eaa5ed49580494e2788f62ddb71e | refs/heads/master | 2016-09-05T18:13:23.367968 | 2014-05-06T12:56:14 | 2014-05-06T12:56:14 | 19,178,140 | 6 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 7,230 | cc | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | [
"g8x000@gmail.com"
] | g8x000@gmail.com |
b683a1acd9224f7bda74870720308cd999ebda1e | db4bf625fd9098ec1d54be8a65abefda9d21b74b | /INET_EC/applications/packetdrill/PacketDrillInfo_m.h | 24d31d2cf556aeca6675f2193512c071962f1893 | [
"Apache-2.0"
] | permissive | LarryNguyen/ECSimpp | 1e648e3006b6908e342bea442c90b56d5a7026d0 | 0d3f848642e49845ed7e4c7b97dd16bd3d65ede5 | refs/heads/master | 2021-07-02T19:38:40.266460 | 2017-09-21T02:59:35 | 2017-09-21T02:59:35 | 104,284,993 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,744 | h | //
// Generated file, do not edit! Created by nedtool 5.1 from inet/applications/packetdrill/PacketDrillInfo.msg.
//
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __PACKETDRILLINFO_M_H
#define __PACKETDRILLINFO_M_H
#include <omnetpp.h>
// nedtool version check
#define... | [
"ntiendung@khu.ac.kr"
] | ntiendung@khu.ac.kr |
4a7d330140c071ef1e27646ee1a0ae91917123fa | 71c2107d2e98fee6399d0ecbb88c63fa529e7cfa | /parentpixmapgraph.cpp | e1c6fe2936d0cd73a3877a318c5528aea85ffdaa | [] | no_license | AiK312/DPLM | f3fc26701fab1462d3dc65076e15d697d12f0039 | 5a75d09f51c618c040ea1e7be147aac5392a7ab4 | refs/heads/master | 2021-01-17T07:15:14.884080 | 2016-05-24T10:00:21 | 2016-05-24T10:00:21 | 51,583,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | #include "parentpixmapgraph.h"
parentPixmapGraph::parentPixmapGraph() : startX(0), startY(0)
{
}
QRectF parentPixmapGraph::boundingRect() const
{
return QRectF(pos(), QSizeF(10000.0, 10000.0));
}
void parentPixmapGraph::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget... | [
"zheka824@gmail.com"
] | zheka824@gmail.com |
b1146cc5106f478fa1793affa964833fa29796b6 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.h | 9cb8670c0c976d9ffc6579a3997bf62be6420ce6 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 4,431 | h | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
* Copyright (C) 2010 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the ... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
705204ce62358bb9473a06c179290f9d566f0ba9 | 5387aefed0e5cd0a55f10fae7784f03190f2fdf0 | /catkin_ws/devel/include/ki_robotics/AIServiceRequest.h | 8d2b7e2f7f5cb7def7e299b010167777cecdcf4a | [] | no_license | Horenhof/ROSproject | 45f2979be9422f2f345746ed4f1d6c3e11198c60 | d6b479bb963b30c960f870dcf067db982256fb25 | refs/heads/main | 2023-02-23T06:03:37.376547 | 2021-01-21T20:01:19 | 2021-01-21T20:01:19 | 330,743,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,320 | h | // Generated by gencpp from file ki_robotics/AIServiceRequest.msg
// DO NOT EDIT!
#ifndef KI_ROBOTICS_MESSAGE_AISERVICEREQUEST_H
#define KI_ROBOTICS_MESSAGE_AISERVICEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"horenhof@gmail.com"
] | horenhof@gmail.com |
fc4f44521018133a31eb980344c86e92276243c2 | ec66f1b78f80a00b4405f7a227cfb8bbbe6b1efb | /HackerRank/Cipher.cpp | 73dc7caa58952d0072187342cfd567151bdf4b86 | [] | no_license | bagaria1207/CODE-Practice | bc0531934d50bd4c965765fc29cc94741ac2cdcd | 69f7cd12922e8ad52f91c3ad66199eb0974513d5 | refs/heads/master | 2022-11-26T02:55:06.492045 | 2020-08-04T11:51:51 | 2020-08-04T11:51:51 | 268,247,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | #include<bits/stdc++.h>
using namespace std;
/*
Done with the help of editorial
Ascii of 0->48 1->48
%48 -> to get the value in int as
directly we get as ascii value
from string
*/
int main(){
int n,k;
cin>>n>>k;
string s;
cin>>s;
string b="";
b+=s[0];
if(n<=k){
for... | [
"bagaria.apurva@gmail.com"
] | bagaria.apurva@gmail.com |
aee832a9e4d8a13ea0a1208e97b2a5d99b8f7e21 | 6de5de01e4fc9ac387e2f41e0776be562ba0860a | /sapphire/dllmain.cpp | f0cf1362912a7432d014d1fc37a2a621247ae083 | [] | no_license | MatrixKung/sapphire | f1e07dce1d0616fdadccc2609cad2b6164711d86 | 34908a2ffb61543e5b5ba9befcabb845f52953c9 | refs/heads/main | 2023-08-28T03:33:23.887109 | 2021-10-26T02:11:10 | 2021-10-26T02:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | #include "sapphire_crt.hpp"
#include "sapphire_hook.hpp"
#include "sapphire_importer.hpp"
#include "hooks.hpp"
auto DllMain( void*, std::uint32_t call_reason, void* ) -> bool {
if ( call_reason != 1 )
return false;
il2cpp_lib::init( );
{
impl::hooks::ddraw_ongui.setup( "UnityEngine::DDraw.OnGUI()", &impl::hook... | [
"flipflops@riseup.net"
] | flipflops@riseup.net |
3df51b453c96bbb084c9600e17283ba4c1b40e4e | f3fa6c321305992c5b962a60f52c706a157e2c2e | /Audio/wave_vc_con/src/main_.cpp | 72e55b578ddd664cc82969383631326fb07e50f8 | [] | no_license | 0xFF1E071F/asm | a09a825b0b9fd50086410d4638174cf069ebe16e | 459a1b3b1a361717e5caf1e53f0ce87479d872c6 | refs/heads/master | 2022-11-23T02:15:32.968568 | 2020-07-24T08:40:41 | 2020-07-24T08:40:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | #include <windows.h>
#include <mmsystem.h>
#define IDD_MAIN 101
#define IDC_LST1 103
BOOL CALLBACK DlgProc(HWND,UINT,WPARAM,LPARAM);
void ShowWaveDevices (HWND hList);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
//HWND hWnd = GetDesktopWindow();
//... | [
"ulanov.ktn@gmail.com"
] | ulanov.ktn@gmail.com |
e9517eff4e50e1df1e98b9d2a0603e4e83db4b81 | 65b02eae4e6ea39beadb67c5efd62e0b429bb43b | /Algorithm/graph/spfa/k-short.cpp | 2653787696215eacce089a4ee7f51f6c244b2875 | [] | no_license | ctuu/acm-icpc | c0a96a347feba414fce28455e9b71546ac1cb08d | 7fde619dce94dd2e722465cdcad32c76d30afa16 | refs/heads/master | 2021-07-08T06:14:57.837572 | 2018-12-29T04:09:40 | 2018-12-29T04:09:40 | 81,524,853 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | cpp | #include <algorithm>
#include <array>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
const int N = 1e4 + 7;
const int M = 1e5 + 7;
const int INF = 0x3f3f3f3f;
using G = vector<vector<int>>; //save index
array<int, N> vis, d;
array<int, M> pth;
struct Node
{
int d, u;
Node(int d, int... | [
"ct.liuu@gmail.com"
] | ct.liuu@gmail.com |
2ea70f694de61292fa4de7b67fe30dec68bb1e3c | 3378a6f06cf3d6fed65ba6f9b4908f92646822dd | /bacalaureat/teste_antrenament/testul4/p3/main.cpp | 8e983170a3a2cc4a3aa93084c403c33cf91d4a73 | [] | no_license | zaBogdan/problemeInfo | 6bac9cd7f9ccb5cb81c5388752e3c3a37ff8af97 | 4046619186e6d57c2620ce4c6725fe4ebf931fdb | refs/heads/master | 2021-07-11T18:23:09.095312 | 2020-09-05T17:02:58 | 2020-09-05T17:02:58 | 192,736,624 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <iostream>
#include <fstream>
using namespace std;
ifstream f("bac.txt");
int main(){
int x,y,ap=0;
f >> x;
while(f >> y){
if(x==y)
ap++;
else{
if(!ap)
cout << x << ' ';
ap=0;
}
x=y;
}
if(!ap)
cout ... | [
"bogdanzavadovschi17@gmail.com"
] | bogdanzavadovschi17@gmail.com |
2210ac585809e99460c7248332a2357473f106ba | b258e2449fd26ab92c4be56a368e45c514efe60a | /moc_bypasspage.cpp | ea229767020a06a5bdd8a0147b8eec8f48980c76 | [] | no_license | MinnieJewel/DJY | f6c3e6b99104f334fa41f98d6c5256352ff6fad8 | 74a3b6b34871a7fbd38b9fc0d8158b679d54014a | refs/heads/master | 2022-09-16T19:30:46.147808 | 2020-06-02T06:29:42 | 2020-06-02T06:29:42 | 268,722,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'bypasspage.h'
**
** Created: Tue Jun 2 11:36:01 2020
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3)
**
** WARNING! All changes made in this file will be lost!
*************************... | [
"jewelminnie@163.com"
] | jewelminnie@163.com |
3bd7ea4dd2463bd5354a027ce54c90d1d5cb9cbd | d34b4df56264f411470bb0e99385f575a34eae8d | /p4c-bm/p4c_bm/templates/src/pd.cpp | 44415d94ddc6f4521bb3362e8bb712207a623d20 | [
"Apache-2.0"
] | permissive | evelinad/ops-p4c | 17dfb0d2ad3bf583dc40deee68cdbc61fb3e881b | efd7f7b01ae9af2b92d821abc271aed183015b5c | refs/heads/master | 2020-06-12T17:16:47.613630 | 2016-02-12T01:23:23 | 2016-02-12T01:23:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | /* Copyright 2013-present Barefoot Networks, Inc.
*
* 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 la... | [
"parag.bhide@barefootnetworks.com"
] | parag.bhide@barefootnetworks.com |
b419f4ccbc6a8eb5dc8877eb5369dbe82667dd74 | 9a12150c1672fa7b304a728d86e5434aafeb5120 | /888A.cpp | d07c57f6cea7fb65e6ce4c885a655fc1e9565cb7 | [] | no_license | apurvparekh30/codeforces | 93b53f99d5d9e16f3d833f89418c8f7edfb63549 | c18384a62ddfc514e4d087007a9717276d02a350 | refs/heads/master | 2021-07-24T20:04:29.526385 | 2020-08-01T05:10:25 | 2020-08-01T05:10:25 | 204,581,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include <bits/stdc++.h>
using namespace std;
int n;
int arr[1001];
int main() {
cin >> n;
for(int i=0;i<n;i++) {
cin >> arr[i];
}
int ex_count = 0;
for(int i=1;i<n-1;i++) {
if(arr[i] < arr[i-1] && arr[i] < arr[i+1]) ex_count++;
if(arr[i] > arr[i-1] && arr[i] > arr[i+1]) ex_count++;
}
co... | [
"apurvparekh30@gmail.com"
] | apurvparekh30@gmail.com |
80285bf206df0734e362cd34e8ade7b658dc085b | 1b6e1561cbe910195ee9c26b122663b94719a971 | /комбинаторика/task4.cpp | 346c9fe1a698976705bdd1197ebf39ac37144baa | [] | no_license | FADelto/ASD | e3b5df5b835ea3b616f2dd506b95e0cce91b3acf | cd85e79efcb119117d434a8d17d5f88cd49ce2d4 | refs/heads/master | 2022-03-05T19:46:02.595275 | 2019-10-09T08:25:08 | 2019-10-09T08:25:08 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,425 | cpp | /*
Задание 4. Переборный алгоритм
Сколько существует четных чисел, принадлежащих диапазону [10^10;10^11), для которых выполняется
правило: в записи числа не встречается подряд две цифры, являющихся простыми числами (2, 3, 5, 7)?
*/
#include <iostream>
#include <ctime>
using namespace std;
// Проверка правила: в за... | [
"lusparon99@bk.ru"
] | lusparon99@bk.ru |
1e1e6739eced6723f1459d1dc7cf29dd5ae30b2f | dfec8731e6297a27121fd66859548ec25c406860 | /OpenGL_Project/OpenGL_dependency/gem/src/projects/lit_particles/lit_particles_system.hh | 04c51fb77c545dae3daa454ea1debe99f20ad800 | [
"MIT"
] | permissive | felixyf0124/COMP477_F19_A2 | 6a8d6de71912c6116ab7e7cc0be166358bdbbe8a | 80f96e130ef2715c3f10de25d1b973a60cc440e5 | refs/heads/master | 2020-08-26T20:17:28.525490 | 2020-02-07T21:44:30 | 2020-02-07T21:44:30 | 217,133,945 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | hh | /*************************************************************************
* Copyright (c) 2016 François Trudel
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, inc... | [
"simon.roy5219@gmail.com"
] | simon.roy5219@gmail.com |
548513704b708ae0640f51a6283855e0d72b9655 | 91eb400364e3d4157b719526e0c12ab089a43e31 | /src/Client/ClientBaseHelpers.h | 64fb0616647a6eeea8d6f62c5876b9e6b3a5266f | [
"Apache-2.0"
] | permissive | GaryXiangK/ClickHouse | aa96651b1b74226fcca7f1ddd8850830c69572bc | ec966b7df587bcaea5357cebfba6177c3ef75c3d | refs/heads/master | 2023-07-31T10:38:52.673178 | 2021-10-01T13:18:52 | 2021-10-01T13:18:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #pragma once
#include <Core/Types.h>
#if USE_REPLXX
# include <common/ReplxxLineReader.h>
#endif
namespace DB
{
/// Should we celebrate a bit?
bool isNewYearMode();
bool isChineseNewYearMode(const String & local_tz);
#if USE_REPLXX
void highlight(const String & query, std::vector<replxx::Replxx::Color> & color... | [
"sumarokovakseniia@mail.ru"
] | sumarokovakseniia@mail.ru |
3b5e15243f8fe5cdf92c000088ba8de94592494f | 98cc7d0c00a6580885eb9f4278bfcad2b8b7186f | /src/BalanceServer/error.h | 7b83d89f5efaf1c264d7952e4f70d2c07302467c | [] | no_license | liuhangyang/TSHH | 800216ceffde27280b666932fdd239f5c58e3167 | 890dc070db118812824b3becc5121d9da7e2e2fb | refs/heads/master | 2021-05-02T16:24:02.866599 | 2017-02-27T01:16:32 | 2017-02-27T01:16:32 | 65,291,519 | 3 | 1 | null | 2017-02-27T00:57:09 | 2016-08-09T12:01:10 | C++ | UTF-8 | C++ | false | false | 611 | h | //
// Created by kiosk on 8/9/16.
//
#ifndef TSHH_BALANCE_ERROR_H
#define TSHH_BALANCE_ERROR_H
#include <errno.h>
#include <string>
#include <iostream>
class error {
public:
error() = default;
error(const std::string errmsg,int errline) {
msg = errmsg;
line = errline;
}
void show()... | [
"yanglongfei22@gmail.com"
] | yanglongfei22@gmail.com |
a545f065fc397a158353eae200665c86a109c85a | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/chrome/browser/ui/webui/favicon_source.cc | 45522732b755fe411cb35e45929c56361a6d8aee | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,148 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/favicon_source.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/strings/string_number_conver... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
9cee6dfab1d1433ed692ae1cdfcb361f7d5cefac | c0d291eed180ef5c03cf818dd501faa2c435c8b2 | /DynamicLibrary/UnixDynaLib.cpp | e03343507f89b5614b1275bc4ece29cf843e6f67 | [] | no_license | alex-min/rtype-2014-minetta | 61e27ce2813fd499f1eb95a2b1fa53673c563cc5 | 442c6a472b9c50e3d586a6dcea40317356417a9e | refs/heads/master | 2016-08-12T06:34:30.565350 | 2012-01-31T10:36:11 | 2012-01-31T10:36:11 | 46,982,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include "UnixDynaLib.hpp"
UnixDynaLib::UnixDynaLib()
{
}
void UnixDynaLib::dynaLoad(std::string libName)
{
libName += ".so";
_handle = dlopen(libName.c_str(), RTLD_LAZY);
if (_handle == NULL)
throw Exception(dlerror());
dlerror();
}
void *UnixDynaLib::funcLoad(std::string funcName)
{
... | [
"joris.profili@gmail.com"
] | joris.profili@gmail.com |
75387416f9fe9828cd3407b39aac6b681fd6f711 | a3b8cf0df20ccfbed4ed73ebe67dc2e7cfcf0d7b | /Task4_Tim/Source.cpp | 7d5137e855719b2fb390504a130bc5784a8a883b | [] | no_license | anon20016/Modelirovanie | b6c86a173f0d77024e34622719c21ae4f92cc07f | d248711bf1cb40c991007c542f40043b436f557c | refs/heads/master | 2022-12-26T13:10:48.533346 | 2020-10-14T10:05:10 | 2020-10-14T10:05:10 | 262,797,207 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,892 | cpp | #include <iostream>
#include <set>
#include <map>
#include <algorithm>
#include <time.h>
#include <vector>
#include <random>
using namespace std;
//
// 0 0 5
// 0 7 6
//
bool ispointincircle(double x, double y, double xc, double yc, double r) {
// Функция проверяет принадлежит ли точка окружности
return (x - x... | [
"anon20016@gmail.com"
] | anon20016@gmail.com |
b4d88027ba0f0769e92a9a77a3005d8bf783832f | 07427bde05816a58facb0c3573bbb753f9b312c9 | /Weekly Assessments and Exercises/Week 7/Exercise 2/pinChangeInterrupt.ino | cf222f30c6813182898b42b5df262830dcad8e8f | [] | no_license | AimanCheong/MCTE_4342_Embedded_System_Design | cc634043f72fd4d69644555073869358b683bfe7 | 0c6d0168bb902f49231dd966bbd7d30b5d8bff06 | refs/heads/main | 2023-02-21T11:44:23.902456 | 2021-01-21T09:31:00 | 2021-01-21T09:31:00 | 309,981,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | ino | volatile bool changed;
unsigned char* sreg = (unsigned char*) 0x5F;
unsigned char* pcicr = (unsigned char*) 0x68;
unsigned char* pcmsk0 = (unsigned char*) 0x6B;
void setup()
{
*sreg |= (1 << 7); //Enable interrupts in general
*pcicr = 1; //Enable pin change interrupt 0 *pcmsk0 = 255; //Enable pin change in... | [
"noreply@github.com"
] | noreply@github.com |
114267fc57fd8b2b19eb2d0fae262850aff1049e | 21e8ed6d923068e56c988a77b29bd7fc19da958a | /src/test/script_P2PKH_tests.cpp | 13512ad16d832be72e1b82e0fd2165a0625fd147 | [
"MIT"
] | permissive | BTC-Tech/Blockcoin | 2f98130672ab3c30c8553cda65b84fa3724f2ced | 9a1ff83c267107112246b7ce3443b67889ab76b6 | refs/heads/master | 2020-05-19T03:01:25.657939 | 2019-05-06T09:43:55 | 2019-05-06T09:43:55 | 184,791,344 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cpp | // Copyright (c) 2012-2015 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 "script/script.h"
#include "test/test_blockcoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(sc... | [
"service@btctech.co.uk"
] | service@btctech.co.uk |
754b4539e44fc215dd18ebac6928b24a76d9a40a | 7689de51f8641eb43493685e8cbf962d1b79c9fb | /newbasic/date_filter_msg_buffer.h | 1cf40980660561a10b97fe6c337b1839685b48d8 | [] | no_license | sPHENIX-Collaboration/online_distribution | f229323fc848092d873524ab16458eb5bfc0ea5e | f87aeaacc79f8b7babad8804e648b0f87a6e01db | refs/heads/master | 2023-09-01T09:35:33.711931 | 2023-08-24T15:56:35 | 2023-08-24T15:56:35 | 84,598,252 | 4 | 18 | null | 2023-06-28T23:13:03 | 2017-03-10T20:29:17 | C++ | UTF-8 | C++ | false | false | 1,015 | h | #ifndef __DATE_FILTER_MSG_BUFFER_CC__
#define __DATE_FILTER_MSG_BUFFER_CC__
#include "filter_msg_buffer.h"
#define ON 1
#define OFF 0
/** This is the "date\_filter" msg\_buffer class which allows you to
filter messages based on their profile. Itacts much like the
filter\_msg\_buffer, but it also prepends a date ta... | [
"phnxbld@rcas2100.rcf.bnl.gov"
] | phnxbld@rcas2100.rcf.bnl.gov |
5656860e2b4ad976e288c2ecb744c9b58e799990 | 95e95426db170526b269e60b162ff9f0c36ab3b0 | /thermostat_client/include/TemperatureSensor.hpp | b1b3708e18b8eccce824045021721b133db2e90a | [] | no_license | AcumenDev/climate_datalogger_client | 2cd69e35c34664cdfc7779eaf92e4e2223524c45 | 6ca862b3742729ea776ccc18acc8c0f1acbddb20 | refs/heads/master | 2018-12-20T16:49:33.654959 | 2018-12-09T22:58:35 | 2018-12-09T22:58:35 | 115,912,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | //
// Created by vst on 5/22/18.
//
#ifndef ESP_TEMPERATURESENSOR_HPP
#define ESP_TEMPERATURESENSOR_HPP
#include <OneWire.h>
#include <DallasTemperature.h>
class TemperatureSensor {
OneWire *oneWire;
DallasTemperature *ds;
uint8_t sensorAdr[8];
const uint8_t *searchSensors();
public:
Temperat... | [
"akummail@gmail.com"
] | akummail@gmail.com |
7ca6cee12f7c113cabf75ee27ea7419feecd244f | 349f0ae175c2ae449fdcc17b10f49ef2ec3d2dde | /World.cpp | 51e5a23af8d23c4a8dd2d7665ad38bd962151d5b | [] | no_license | scottrick/mcparse | 088425a9ee6d6d827e91fa41ffb29ae33b99448f | 01cb3a0e7c172be22325ffa86839dd92f9fc2533 | refs/heads/master | 2021-01-18T15:22:19.183663 | 2013-10-05T15:14:09 | 2013-10-05T15:14:09 | 2,075,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | #include "World.h"
#include "Chunk.h"
#include <iostream>
using namespace std;
World::World(void)
{
}
World::~World(void)
{
deleteChunks();
}
void World::addRegion(Region *pRegion)
{
const list<Chunk *> chunks = pRegion->getChunks();
list<Chunk *>::const_iterator iter;
unsigned int MAX = 50000;
for (iter ... | [
"scottrick49@gmail.com"
] | scottrick49@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.