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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a9a2f0915276b04d663e5a3795d74fc4568447c | f052a43e591c1fb6b7984bc9ac1dae9ec2b9f139 | /native/cocos/core/geometry/Obb.h | d0d8660dd5638ba5c2c0c65b2d3c5d21b4252589 | [
"MIT"
] | permissive | BrokenTooth1989/engine | e430b258cdfb6ae6dcd10882aabaf0c714dd46f4 | 457f695e5c4c8b76f3e5970501c1d0224b0628d7 | refs/heads/develop | 2022-09-10T15:07:06.748314 | 2022-08-22T13:07:06 | 2022-08-22T13:07:06 | 194,266,719 | 1 | 0 | null | 2019-06-28T12:01:13 | 2019-06-28T12:01:13 | null | UTF-8 | C++ | false | false | 5,024 | h | #pragma once
#include "cocos/core/geometry/Enums.h"
#include "cocos/math/Mat3.h"
#include "cocos/math/Quaternion.h"
#include "cocos/math/Vec3.h"
namespace cc {
namespace geometry {
class OBB final : public ShapeBase {
public:
/**
* @en
* create a new obb
* @zh
* 创建一个新的 obb 实例。
* @param cx... | [
"noreply@github.com"
] | noreply@github.com |
dc8f2729174f4788e022a766684a436690879ddc | 93ecc078956d4bd6c888c6e7710315ddc2504d74 | /build/src_gen/GEN_CSV_WRITER_gen.cpp | cacaa8366c9ebf3a12713827edd4ae20f3d50516 | [] | no_license | TuojianLYU/Forte_Dev_RevPi | bf0b4eee577c34ee9fb9dac9e8e89162e7a4148d | 2b12cbebaebd574019b87ea3017f9b340168aefc | refs/heads/main | 2023-07-09T16:30:48.393031 | 2021-08-19T07:52:49 | 2021-08-19T07:52:49 | 397,851,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | /*******************************************************************************
* Copyright (c) 2012 Profactor GmbH
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-I... | [
"tuojianlyu@gmail.com"
] | tuojianlyu@gmail.com |
a96fe6bdab52fcfa4230ba8127c81ae330548010 | 2694a23a6b19eb203cb5afacc2f17317cc0cad78 | /sfmlHonors/Game.cpp | 30ce3a11ee7109da9902bc69c84c228cbefa5d9c | [] | no_license | huntingforirish/AuthenticSpit | 1f716a9f32f69ea8413a6250b8ff15ca49ddbd46 | be42d9ed3f93302a8f840b22d0e58024f1f5c8c2 | refs/heads/master | 2020-03-28T23:36:25.717399 | 2018-09-18T14:20:52 | 2018-09-18T14:20:52 | 149,299,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,847 | cpp | #include "stdafx.h"
#include "Game.h"
//THIS CLASS IS OBSOLETE
//NO LONGER USED
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Game::Game(Player p1, Player p2) {
this->player1 = p1;
this->player2 = p2;
}
Game::~Game()
{
}
//sets the game up in preparation
void Game::setup() {
//creates and prints the initial dec... | [
"stephen_esson@btinternet.com"
] | stephen_esson@btinternet.com |
eaebe73d1fbe379a81218807babce293e984c4e7 | 7fb8348e0b4b2ba110cff377b704674495687fe4 | /far/locale.cpp | 987841ab65d6e3fb2be236a7078cfa0b13ea8e89 | [
"BSD-3-Clause"
] | permissive | ziceptor/FarManager | b31df7ba91d389c7dbc8449a178f5e9722063d98 | ae71819113b4ccdb619b60bdbeb2092f31299246 | refs/heads/master | 2021-05-09T11:28:56.660214 | 2018-01-25T22:15:17 | 2018-01-25T22:15:17 | 118,988,582 | 1 | 0 | null | 2018-01-26T01:23:01 | 2018-01-26T01:23:01 | null | UTF-8 | C++ | false | false | 3,286 | cpp | /*
locale.cpp
*/
/*
Copyright © 2014 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and t... | [
"alabuzhev@gmail.com"
] | alabuzhev@gmail.com |
85dd73f13101b579deac3d2f105b087c8a2cd2e9 | fa0eb130ba70c58f01e6a0cb24e6b8116d575f08 | /Drei/drei/camera/Camera.h | 21d38884ff9731e52f9fcb5df26fc4f8e1d5994d | [] | no_license | gue-ni/Drei | 422468c4fa66e3242b1d2f57f1b20fd766b3daec | 13fad507bad648fd27e75d9b76353bcbeb97e485 | refs/heads/master | 2023-06-08T12:03:58.535143 | 2021-07-04T12:23:18 | 2021-07-04T12:23:18 | 382,815,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | #pragma once
#include "../core/Object3D.h"
#include <glm/glm.hpp>
namespace DREI {
class Camera : public DREI::Object3D {
public:
float fov;
float width;
float height;
float near;
float far;
glm::mat4 view;
glm::mat4 projection;
Camera(float width, float height, float fov, float near, float far);
... | [
"jakob.g.maier@gmail.com"
] | jakob.g.maier@gmail.com |
b3a8b88d345126679fd344cd5bd3425acf2b94d1 | 40b244391bffe9c935c21b269a47da5ae02ad4e8 | /src/Window.h | 7232b9c66c8cca18800be2561f416a0561e089ea | [] | no_license | SebastianDang/OpenGL | a15794edc73cb14bdab4a1317f00071c01b2b768 | b0b564dac4b1c5cd39f930192959ffc0dc5174e4 | refs/heads/master | 2022-02-17T19:11:02.117509 | 2019-08-16T05:18:41 | 2019-08-16T05:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | h | #pragma once
enum E_MOUSE
{
IDLE = 0,
LEFT_HOLD = 1,
RIGHT_HOLD = 2
};
class Window
{
private:
// Perspective properties.
static float FieldOfView;
static float NearPlane;
static float FarPlane;
// Window size properties
static int Width;
static int Height;
// Mouse properties
static int Mouse_S... | [
"s1dang@ucsd.edu"
] | s1dang@ucsd.edu |
ff4a17f6f5fd53ca14c7af4f6d57de56b5401556 | 7f597f759afc110477cf4779a9d3f0b1e6e4c096 | /DuggooEngine/src/utils/file_io.h | 45a4c661eeab53ca32c2bb50b3b5f6b1855bb981 | [] | no_license | Zn0w/DuggooEngine | 52454fa08b10f5abd085e6b0774c85ef19a41c92 | 64fe037176f52d7c7f0ba872927271e00254b3ec | refs/heads/master | 2020-04-03T03:38:24.670435 | 2019-10-23T06:33:13 | 2019-10-23T06:33:13 | 154,991,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | h | #pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string>
namespace dg {
std::string readFile(const char* filepath);
} | [
"blagiy.daniil@gmail.com"
] | blagiy.daniil@gmail.com |
acba7608a87f976e07dc8040f2cf60403048993b | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/update_client/component.h | cc263f45af441347e5e74f67154ed8e043c997c9 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 16,213 | h | // Copyright 2017 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 COMPONENTS_UPDATE_CLIENT_COMPONENT_H_
#define COMPONENTS_UPDATE_CLIENT_COMPONENT_H_
#include <map>
#include <memory>
#include <string>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0d496e3ae2bf543973ac2cc4c52c676cb1187507 | 68cd659b44f57adf266dd37789bd1da31f61670d | /C/0926/자가 복제 문자열/자가 복제 문자열/소스.cpp | c74fb2e89f210748ca294b75ba2f1b4e4b3d271b | [] | no_license | 01090841589/solved_problem | c0c6f5a46e4d48860dccb3b0288aa5b56868fbca | bbea2f31e5fe36cad100bc514eacd83545fb25b1 | refs/heads/master | 2023-07-02T23:55:51.631478 | 2021-08-04T13:57:00 | 2021-08-04T13:57:00 | 197,157,830 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 514 | cpp | #include <stdio.h>
int T;
long long K;
int result;
int main() {
freopen("자가복제문자열.txt", "r", stdin);
scanf("%d", &T);
for (int tc = 0; tc < T; tc++) {
scanf("%lld", &K);
while (true) {
if (K % 4 == 3) {
result = 1;
break;
}
if (K % 4 == 1) {
result = 0;
break;
}
if (K % 8 == 6) {
... | [
"chanchanhwan@naver.com"
] | chanchanhwan@naver.com |
b63e0c17cd262fda9249806fb8abfba3e10707d1 | 9214dcc856f50248f10cc6c73f75588888f2b108 | /RoadStyle/main.cpp | b83a8b8f2b1fa5507cfb8720a387b022a7a8dbcf | [] | no_license | gnishida/RoadStyle | f50b08ea9894332fe589afa0320308ecb864733e | faeffc3e9ae436d687a9bcda6f13ccb4f01d109c | refs/heads/master | 2016-09-05T12:02:36.246386 | 2013-12-16T03:25:12 | 2013-12-16T03:25:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include "RoadStyle.h"
#include "Util.h"
#include <QtGui/QApplication>
#include <assert.h>
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
RoadStyle w;
w.show();
return a.exec();
}
| [
"gnishida@purdue.edu"
] | gnishida@purdue.edu |
be70d8f837205812d6cae824ceb1bc08836b48ba | e3e012664e3b4c016b7ed240cd9b81af1289149e | /thirdparty/linux/ntl/src/WordVector.c | 4cd71ca48f2ba191b382ff9c97e0cbe0b75d8a8a | [
"GPL-1.0-or-later",
"Unlicense"
] | permissive | osu-crypto/MultipartyPSI | b48ce23163fed8eb458a05e3af6e4432963f08c7 | 44e965607b0d27416420d32cd09e6fcc34782c3a | refs/heads/implement | 2023-07-20T10:16:55.866284 | 2021-05-12T22:01:12 | 2021-05-12T22:01:12 | 100,207,769 | 73 | 29 | Unlicense | 2023-07-11T04:42:04 | 2017-08-13T22:15:27 | C++ | UTF-8 | C++ | false | false | 7,560 | c |
#include <NTL/WordVector.h>
#include <NTL/new.h>
#include <cstdio>
NTL_START_IMPL
void WordVector::DoSetLength(long n)
{
long m;
if (n < 0) {
LogicError("negative length in vector::SetLength");
}
if (NTL_OVERFLOW(n, NTL_BITS_PER_LONG, 0))
ResourceError("length too big in... | [
"nikopro102@gmail.com"
] | nikopro102@gmail.com |
3d1511fd6480fb1f3d9e165d074b90aef91290e6 | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/function/function_fwd.hpp | ecf542f49e0b33c97cb3047169c26f4de7877348 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 2,760 | hpp | // Boost.Function library
// Copyright (C) Douglas Gregor 2008
//
// Use, modification and distribution is subject to the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.lslboost.... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
de38770f62e78857243ad12d9c505f1f62dcab82 | 0ff28e62a0df150d58b4b782254e84c78238dc0e | /jump-game-ii.cpp | 8b64ae4ba9d574531962ed2db8c8220c4749d254 | [] | no_license | spacelan/leetcode | 3066331117c2ce1c7345d75b5dfb5eab7ff039f1 | c495d8bca0ae9d75b5e1f1b97136e47b0c9343db | refs/heads/master | 2020-04-14T13:07:14.846634 | 2015-07-03T14:10:26 | 2015-07-03T14:10:26 | 31,496,845 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | cpp | /** \link https://leetcode.com/problems/jump-game-ii/
* \comments 这是别人的答案,写得非常简洁,用的贪心算法。一开始看到这个题我就想着用动态规划,实现也非常简单,结果超时。确实,用动规的搜索范围也很大,最坏情况下O(n^2)。所以我又想了各种办法剪枝,也不行。没办法,去讨论看到了这个答案,贪心算法,时间O(n)。其思路是迭代当前节点与当前节点所能跳到的最远节点之间的所有节点,找出再跳一次能到达的最远节点,跳到该节点,更新状态,继续迭代。最后,这次我深刻地认识到,千万不要不相信Tag标签给的提示,,说是贪心,那么,,还真的是用贪心。。。
*/
class Solut... | [
"spacelan1993@gmail.com"
] | spacelan1993@gmail.com |
3263dbb34944ea77a71533839df67587ced210bd | df3562b194ad2728a9aeebbdfd6b5d3117b37456 | /Src/Lib/STLRelated/STLLib/Includes/Always.h | 53ec00dd189f6285ab13557cfd2970f990892ccb | [
"MIT"
] | permissive | ericyao2013/UAV-Drona | f96a749ea9cfadb946c3691e0d93ee77e9fd52a2 | 1877b3d658401b9d65d4b5cf52b96e7efa479d6a | refs/heads/master | 2020-03-18T17:18:12.162654 | 2018-04-10T18:35:09 | 2018-04-10T18:35:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | #ifndef ALWAYS_H
#define ALWAYS_H
#include "STL.h"
#include <sstream>
using namespace std;
class Always : public STL
{
private:
STL *subFormula;
double t_start, t_end; // interval times
public:
Always(STL* subFormula, double t_start, double t_end);
string ToString();
};
#endif // ALWAYS_H
| [
"tommasodreossi@gmail.com"
] | tommasodreossi@gmail.com |
b8d297a874ead942505a9576a643df41dc0533fd | 1757a77fcc570703a12e16fc94146f36e766424c | /include/fcl/math/vec_3f.h | 840ba8de3a915781b78df126104c81ca486e7eb3 | [] | no_license | panjia1983/fcl_with_pd | 8ef66219c720229f514e22e1a997389fef2366cb | 17ce8bbe95403b610475528a7028fb48791dc7a6 | refs/heads/master | 2021-01-01T06:54:44.379076 | 2014-05-15T19:01:12 | 2014-05-15T19:01:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,475 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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:
*
* * Redistributions of source code mu... | [
"jia@rll6.(none)"
] | jia@rll6.(none) |
985d67b2ce07aa8291f214fbc030ef87827a4930 | 9f62aedc13da30a94caea232ce3f5511619d2de9 | /OpenGL_Client/source/AgentBlack/SceneSkiingBonusStage.cpp | 9481571363a8419274e89f4f4e2ede701f555b07 | [] | no_license | OtterBub/2014-2-Virtual_Reality | c9e8cee01aeecc952bfc2865ab91a6d9fa96389c | 957029f1087bfb3e42301dd536edb39f42280465 | refs/heads/master | 2021-01-01T18:17:26.660573 | 2015-03-27T03:16:50 | 2015-03-27T03:16:50 | 32,965,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,792 | cpp | #include "SceneSkiingBonusStage.h"
#include <iterator>
#include <fstream>
SceneSkiingBonusStage::SceneSkiingBonusStage()
{
mSceneName = "Bonus Skiing";
for( unsigned int i = 0; i < UCHAR_MAX; ++i )
mKey[i] = false;
mLeftButtonDown = false;
mCurveUpdate = false;
mStartSkier = false;
mHeight = 300;
mAngleY = -3... | [
"gamepsk@hanmail.net"
] | gamepsk@hanmail.net |
b3a2695075b443a3fd4ea508e16ac45cd5cf1abf | fb66a5cc43d27f33c85320a6dba8b9a8ff4765a9 | /gapputils/gapphost/interfaces/String_parameter.cpp | 6309dc9e8f9ac15497c72d73d7ef145e254b638f | [] | no_license | e-thereal/gapputils | 7a211c7d92fd2891703cb16bf94e6e05f0fb3b8a | a9eca31373c820c12f4f5f308c0e2005e4672fd0 | refs/heads/master | 2021-04-26T16:42:58.303603 | 2015-09-02T21:32:45 | 2015-09-02T21:32:45 | 38,838,767 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | #include <gapputils/DefaultWorkflowElement.h>
#include <gapputils/CollectionElement.h>
#include <capputils/attributes/InputAttribute.h>
#include <capputils/attributes/OutputAttribute.h>
#include <gapputils/attributes/InterfaceAttribute.h>
using namespace capputils::attributes;
using namespace gapputils::attributes;
... | [
"brosch.tom@gmail.com"
] | brosch.tom@gmail.com |
d3972a4768ee77895a73953e54dc5d551979f368 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /Codeforces/Gym101981G.cpp | 2cf7dac4cc2cd1082114a71e3f28c3eeb384ceb0 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <bits/stdc++.h>
using namespace std;
const long long M=1e9+7;
const long long inv24=41666667LL;
int T;
long long n,ans;
int main()
{
scanf("%d",&T);
while (T--)
{
scanf("%lld",&n);
ans=n;
(ans*=(n+1))%=M;
(ans*=(n+2))%=M;
(ans*=(n+3))%=M;
(ans*=inv24)%=M;
printf("%lld\n",ans);
}
return 0;... | [
"heran55@126.com"
] | heran55@126.com |
d0c8e68d8d980b04863a62a01d5fd0350c70fd08 | 4dd444ad1403aae077b363da828e2ab658d3543d | /Hmwk/Assignment1/Savitch_7thEd_Chap1_ProgProj8/main.cpp | d9a0608de0d8a845e499b9772adfdf647a191cf7 | [] | no_license | td2447437/DeJacoTatiana_CSC5_40717 | bb23e5dc5670a72595e974845f1d900040533b37 | 0b34baf0e4154c97447cc3cbe9ab414f5de624e3 | refs/heads/master | 2020-12-24T14:54:01.380689 | 2015-02-12T08:22:04 | 2015-02-12T08:22:04 | 28,928,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | cpp | /*
* File: main.cpp
* Author: Tati
* Created on January 6, 2015, 6:43 PM
*
* Homework:
* Write a program that allows the user to enter a number of quarters, dimes,
* and nickels and then outputs the monetary value of the coins in cents. For
* example, if the user enters 2 for the number of quarters, 3 for... | [
"tjdejaco@gmail.com"
] | tjdejaco@gmail.com |
6b07d853a78d93b130371ca8f9cf886e2df4610d | da3c59e9e54b5974648828ec76f0333728fa4f0c | /email/imum/Utils/Inc/ImumInMailboxUtilities.h | ad84e04ecf2eb414132b2d38104b4218a6adf909 | [] | no_license | finding-out/oss.FCL.sf.app.messaging | 552a95b08cbff735d7f347a1e6af69fc427f91e8 | 7ecf4269c53f5b2c6a47f3596e77e2bb75c1700c | refs/heads/master | 2022-01-29T12:14:56.118254 | 2010-11-03T20:32:03 | 2010-11-03T20:32:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,366 | h | /*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"none@none"
] | none@none |
9201bee3f1fa08385ba243e55ed2dc3921a8d421 | ec598fa8e931114a258d666c28f0700f7966588d | /include/Card.h | b7f14e850bf6be574587176892a2712c9e395b4f | [] | no_license | codarth/3720-ReviewAndCheat | a495e51f007fb0823b5d96e1c196bb780572d251 | 3880e42ec1659d9a342fcd9a953f5811257dfe44 | refs/heads/master | 2020-03-24T01:31:00.982101 | 2018-07-25T18:45:47 | 2018-07-25T18:45:47 | 142,339,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | h | /******************************************************************************************************
Author: Zachary Nelson
Date February 1st 2018
This is the Card class, which defines a Card as a value and a suit.
**********************************************************************************
Contributor: Cody ... | [
"zimquo@gmail.com"
] | zimquo@gmail.com |
05944e0003add05e7d7a6691d14657fcf43316c5 | f104ee8dd58671d704d02d5a15e8ef24e3e22a8d | /Sandbox/src/Overlays/MenuLayer.h | 30991dadc34d3300d61bfba991196690e30f1844 | [
"MIT"
] | permissive | almic/Surface-Engine | 3a7f35414c9be35c45fceb65b75c2f2594287238 | be859f86f224042817b855199afd7e4f80596042 | refs/heads/master | 2020-04-09T03:07:03.882231 | 2019-06-14T17:14:47 | 2019-06-14T17:14:47 | 159,969,947 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,743 | h | #pragma once
#include <Surface.h>
#include <Surface/GUI/ImGuiOverlay.h>
// Main Menu Bar
#include "Gui/MainMenuBar.h"
// Popups
#include "Gui/ClosePopup.h"
// Floating windows
#include "Gui/GlmWindow.h"
#include "Gui/UserSettingsWindow.h"
// Main/ docked/ layout windows
#include "Gui/ConsoleWindow.h"
#include "Gui... | [
"mick.ashton@flare-esports.net"
] | mick.ashton@flare-esports.net |
22d4a2e9108803fe54a6d5801b171b5ef1f046f5 | dc25b23f8132469fd95cee14189672cebc06aa56 | /vendor/mediatek/proprietary/hardware/mtkcam/legacy/platform/mt6795/core/featureio/pipe/aaa/state_mgr_n3d/aaa_state_af_n3d.cpp | 53bee1bbbdb74a96d967bc887ae93ce130668d91 | [] | no_license | nofearnohappy/alps_mm | b407d3ab2ea9fa0a36d09333a2af480b42cfe65c | 9907611f8c2298fe4a45767df91276ec3118dd27 | refs/heads/master | 2020-04-23T08:46:58.421689 | 2019-03-28T21:19:33 | 2019-03-28T21:19:33 | 171,048,255 | 1 | 5 | null | 2020-03-08T03:49:37 | 2019-02-16T20:25:00 | Java | UTF-8 | C++ | false | false | 21,616 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"fetpoh@mail.ru"
] | fetpoh@mail.ru |
271add736a498738bd933a8f6003eb5d23074b7f | f0e2e649c56f69d806fd7ca1635952e5d32d5ff5 | /csci111-prog7/csci111-matrices/csci111-matrices/matrices.cpp | 911dd089c39906fa98b5cc9e430fac072ad95089 | [] | no_license | jtcressy/csci111 | 3345d5ee9feda508f46c1e8842d964f667ed79b4 | 397bb33578eb62688e5c5ffc50fe45e5da8311a4 | refs/heads/master | 2021-01-13T16:48:38.092388 | 2017-06-20T21:26:07 | 2017-06-20T21:26:07 | 94,928,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,960 | cpp | //Joel Cressy
/*
Also, I'm trying some new stuff since it's extra credit.
I'll experiment and go beyond some of the requirements of the
assignment.
*/
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
using namespace std;
//setup shortcut for defining 2-D ... | [
"jtcressy@heimdall.jtcressy.net"
] | jtcressy@heimdall.jtcressy.net |
de82dd4e9cb92ab7395fd1c837f8b8e521945c74 | 980ee5cac688b327bae129b8b4a428bd6e26bf87 | /Devices/USBizi/Device.cpp | c1978f452addf061a219f6dab1f207eaa0bf558b | [
"Apache-2.0"
] | permissive | valoni/TinyCLR_Port | d86cc2c8aae0cad9afa6a407396b8d4bad0b654f | bdd29571561cda7aec4548478d93062fb4dd4bf2 | refs/heads/master | 2020-03-28T11:26:40.295204 | 2018-08-23T15:27:26 | 2018-08-23T15:27:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,926 | cpp | // Copyright GHI Electronics, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"dome@ledonet.it"
] | dome@ledonet.it |
32f81464216eb1dc111ed314b52b9d8964e11145 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_hair_col_black_03_Desc_classes.h | 345b0aebdba0d52554d48ee7b4b0b2b2932c847d | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
cc1227cafa67c51a562ce8e65cb0eb5b2acc5f8f | 40696c2ad68772aeb72938d0d367df9080eed0b9 | /cdn/GA.h | b681b26bc740eaa3d94f8ec53efb8c81246214b9 | [] | no_license | hubery94/CDN_HUAWEI | 4631a1457e9aec388570a4302b15b5dc432f123b | 1f6e3d2484c475f0f49d18ac2acab6641c805e47 | refs/heads/master | 2021-01-01T18:39:25.118801 | 2017-07-26T07:51:06 | 2017-07-26T07:51:20 | 98,393,961 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | h | /**
* Copyright (C) 2017 All right reserved.
* @ File: GA.h
* @ VERSION: 1.0
* @ Author: HWJ(2011huang@whu.edu.cn)
* @ Brief: Genetic Algorithm;
* Detail:
* TODO
* History: 2017/3/20 created by HWJ
*
* Note:
*/
#ifndef __GENETIC_H__
#define __GENETIC_H__
#pragma once
#include "Location.h"
#include... | [
"1215291696@qq.com"
] | 1215291696@qq.com |
6f1ef2bb700469de98d9dfe5813a5adc51b17d4c | 8fbac239c9ca8e0281ac2024d77a2d9ac14e65a3 | /enemy.cpp | ddcad65817324a7a99293c49c772b184d59a2fd3 | [] | no_license | FrancoisUgeux/SFML-clicker | 81811986acd86a99bfbe0add06289e40776cdc55 | b16dc3ab8c2aeab1ddd6757f1b8866f3ba80f772 | refs/heads/master | 2023-08-21T11:47:44.652123 | 2021-09-26T13:43:10 | 2021-09-26T13:43:10 | 410,562,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | #include "enemy.h"
#include <iostream>
Enemy::Enemy(int e) {
energy = e;
}
bool Enemy::performSetup() {
if (!enemyTexture.loadFromFile("assets/enemy.png")) {
std::cout << "Could not load enemy image" << std::endl;
return false;
}
enemySprite.setTexture(enemyTexture);
enemySprite.se... | [
"43335@etu.he2b.be"
] | 43335@etu.he2b.be |
65dcda051a51aa49ec3bd34c7c48eda5c97eb990 | 2e5a59fedf90c75eb8e73baf270486ccb623274a | /ZemiNo3 ver1.6/ZemiNo3/SceneGame.h | 422358957915f2ae81de79233055837b36da6365 | [] | no_license | Honey-old-Fashion/Honer-old-Fashion | 03d7355d3328d2a9bbd56ccebdb747f3fe890a44 | 7917b7b5067095b513ebbc3b6b6ed99db20a16c2 | refs/heads/master | 2021-01-24T07:46:05.968459 | 2017-09-05T10:59:43 | 2017-09-05T10:59:43 | 93,356,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #pragma once
#include "SceneTask.h"
#include "ISceneChanger.h"
#include "StageManager.h"
class SceneGame : public SceneTask {
public:
SceneGame(ISceneChanger* _changer);
~SceneGame();
virtual void mInit() override;
virtual void mUpdate() override;
virtual void mRender() override;
virtual void mFinal() ov... | [
"sugisugirr@gmail.com"
] | sugisugirr@gmail.com |
947ea8ffa8fa483706079d2502422ccfa75af9f7 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /cc/quads/draw_polygon.cc | 59ecbef0edbacff11765138e2edf126695cfdfd6 | [
"BSD-3-Clause"
] | 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 | 13,107 | cc | // 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.
#include "cc/quads/draw_polygon.h"
#include <stddef.h>
#include <vector>
#include "base/memory/ptr_util.h"
#include "cc/output/bsp_compare_result.h"
#i... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
75487ae224023110c75729276bcb871a6d0f61b9 | 957696146d105bcd13790abcd237a60a1d8b36db | /Tae/ClientBoard.h | c2e3d5562540d477ea6d70e35e216eae81b842c7 | [] | no_license | hyunjinYi/Bingo_Game | 4f1a3afa1223eb1602d89ef1bfd29df32949ed5b | 447e1b3f8b5fbca3c6700d092c143c81ee92be9a | refs/heads/master | 2021-01-10T10:13:46.854795 | 2016-03-16T07:58:10 | 2016-03-16T07:58:10 | 54,010,710 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include"value.h"
class CClientBoard
{
public:
CClientBoard(int size, int number);
~CClientBoard(void);
public:
void shuffleNumber();
void printInfo();
void distributeNumber();
void setCurNumber(int number);
bool checkRepetition(int number);
bool checkBingo();
private:
int** b... | [
"loon@ajou.ac.kr"
] | loon@ajou.ac.kr |
24c2b925b456d75242dde211bd8d20090d70354b | bf6632634a16c91c7ee319ba9a4c95195ddf176d | /Tools/MapCreator/sources/SpriteBackground.cpp | 1dc54c977f7fce9bf2575fd9d6db26c0b29c390f | [] | no_license | peauc/RType | b3c2d27b5c9204188ee98be0f868c9a49cd3efd8 | 8e04d99b82c36f77f600b9c41eff5c1781c058d6 | refs/heads/master | 2021-05-12T10:06:47.728866 | 2018-01-23T22:34:28 | 2018-01-23T22:34:28 | 117,344,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | /*
** EPITECH PROJECT , 2020
** MapCreator
** File description :
** No description
*/
#include "SpriteBackground.hpp"
SpriteBackground::SpriteBackground(AItem *parent) : ASpriteBackground(parent) {
this->associateEvents();
}
void SpriteBackground::displayOnWindow(sf::RenderWindow &window) {
window.draw(this->icon)... | [
"paul.wery@epitech.eu"
] | paul.wery@epitech.eu |
b5da5147f7edf61c3d4ac38aab32f1ea6dadc62a | 6514d2069aaf14ae2c5d4b63a9667bc419b831f5 | /score.h | b64c6a0a71d89fc654895caaa60b44c4dfe24507 | [] | no_license | eecheng87/Qt-shootGame | 933ccaff685bc91c20626a165f3e028ba89c6b03 | 9afdee6aaebf43e0eda8972956c38906afa8ba1a | refs/heads/master | 2020-03-22T01:41:01.486843 | 2018-07-01T11:18:50 | 2018-07-01T11:18:50 | 139,322,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | h | #ifndef SCORE_H
#define SCORE_H
#include <QLabel>
#include <QLineEdit>
#include<QGraphicsScene>
#include<QGraphicsPixmapItem>
#include <QGraphicsTextItem>
#include <QFont>
class MainWindow;
class score:public QGraphicsTextItem
{
Q_OBJECT
public:
score();
score(MainWindow*);
static void add_score();
... | [
"f74062183@mail.ncku.edu.tw"
] | f74062183@mail.ncku.edu.tw |
6df18c8fa67812233a7e8773b9b024be46738e59 | e3aaf8087265cf28ccf41c5e494df12e3b4d9f77 | /selectionSort.cpp | 986dd77cc4fbe5c9f00b1cc8c8453efdc3ccd25d | [] | no_license | Scott-Canning/algorithms | 20c4d0ccd6afb8e0512e550366910ed5a92b402f | a43ec1a7774850a0da8da59839ce24aaa2149149 | refs/heads/main | 2023-03-20T12:00:17.418887 | 2021-03-08T04:14:48 | 2021-03-08T04:14:48 | 325,856,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | #include <iostream>
#include <vector>
using namespace std;
template <class T>
void selectionSort(vector<T>& v, int size);
template <class T>
int findMinInd(vector<T> v, int low, int high);
template <class T>
void printVector(vector<T> v);
int main(){
srand(time(0));
vector<double> testV;
// create rando... | [
"noreply@github.com"
] | noreply@github.com |
3a07c95716189cfca7bd9edbba563527ed6f8f29 | d558707243eeec902a2e26600acf0370451f0638 | /060rewrite_literal_string.cc | 9eeeefaab09b177395c0a893f48bbbebd8c2db51 | [] | no_license | hu19891110/mu | 7d9d5d563bd0509741ea4f517ec34caca8fe08dc | a9a2f7db59c1efdeaf0a4db41778c35f97054d61 | refs/heads/master | 2021-01-17T22:54:20.932765 | 2016-07-11T04:47:24 | 2016-07-11T04:47:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,022 | cc | //: allow using literal strings anywhere that will accept immutable strings
:(scenario passing_literals_to_recipes)
def main [
1:number/raw <- foo [abc]
]
def foo x:address:array:character -> n:number [
local-scope
load-ingredients
n <- length *x
]
+mem: storing 3 in location 1
:(before "End Instruction Inser... | [
"vc@akkartik.com"
] | vc@akkartik.com |
5798e826d597c5df57600080efb88b7f842cac41 | 5bcd9425cc94182986ae02a1564e8eb06c224eb8 | /SystemC_zadacic/common.hpp | 5ba13ab63735ec2b4ead7dc4922ea2d9c7bd2cc6 | [] | no_license | boris-98/edsr_systemc | 2e8a640058bde7b98f79a62f9520c568ebbf860a | 9b0693ac79a51986c2c9928dd146391080e7fd85 | refs/heads/main | 2023-05-29T02:28:15.139470 | 2021-05-26T21:22:05 | 2021-05-26T21:22:05 | 370,503,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | hpp | #ifndef COMMON_HPP_INCLUDED
#define COMMON_HPP_INCLUDED
#define CACHE_SIZE 16
#define DATA_HEIGHT 10
#define DATA_WIDTH 12
#define DATA_DEPTH 4
#define Y_LIMIT1 11
#define Y_LIMIT2 495
#define W_kn 4
#define W_kh 3
#define W_kw 3
#define W_kd 4
typedef float type;
#endif // COMMON_HPP_INCLUDED
| [
"radov.boris@gmail.com"
] | radov.boris@gmail.com |
dc9d928223dcfdfb58697a803edd97baae03bca3 | 90047daeb462598a924d76ddf4288e832e86417c | /components/prefs/overlay_user_pref_store.cc | ddc47c8f351d58320c3dc836c3208271a38b510e | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 6,899 | 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 "components/prefs/overlay_user_pref_store.h"
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/values.h... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
1557a9bec4f39d45366cc08ea9c550f63786fac7 | 1739bba59ee114e0c3254e19ddd8b0c99b636e27 | /src/main.cpp | c1fefbf15973bd7614e04e42ff5646f0b86e3be1 | [] | no_license | alexdafoe/CodeTimer | 8245987da96db460623e32368b52a8fa78fa22cf | 74b9622c6cd2bcb71e2b75494e694d2a5c20fad8 | refs/heads/master | 2021-06-27T02:32:00.638967 | 2019-08-11T09:57:22 | 2019-08-11T09:57:22 | 190,724,256 | 0 | 0 | null | 2020-11-23T21:34:16 | 2019-06-07T10:13:47 | C++ | UTF-8 | C++ | false | false | 1,467 | cpp | #include "include/log.h"
#include "include/controller.h"
#include "include/trayiconwidget.h"
#include "include/symbolssettings.h"
#include "include/timer.h"
#include "include/timerdata.h"
#include "include/database/databasecontroller.h"
#include "include/database/databasemodel.h"
#include "include/database/database.h"
... | [
"alexkryvopust@gmail.com"
] | alexkryvopust@gmail.com |
215674195f526ab2308d41c56077c65c3b3dd679 | 0f05c7c6011360f1ef347d8e91b798a42a111bb5 | /SimpleLines/MyForm.cpp | d39cace9a7d71ff44918042969cfd8c852b17feb | [] | no_license | mannaward/SimpleLines | 76d567fe90de338ba352b0695c19dcf713c201f5 | fdfeb719737d74b0c18c0a1206496c3f5dfdbc80 | refs/heads/master | 2021-01-10T22:28:36.426752 | 2014-05-20T17:01:57 | 2014-05-20T17:01:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void Main(array<String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
SimpleLines::MyForm form;
Application::Run(%form);
} | [
"alnikolaevich0@gmail.com"
] | alnikolaevich0@gmail.com |
6269fbbbd1c0c686b772d28d6a3f00f405d68a36 | 4930e3d42790a674bebe62762e6f4ce1c34f8cca | /gpucast_math/test/testnurbsvolume.cpp | 76ede6fc4e65fe985f26bab1a29668c65e7378f3 | [
"MIT",
"BSD-3-Clause"
] | permissive | scholli/gpucast | b776c042641501c031b27bf5334eef4a32d81734 | 165ae5d29a9483189af2c5ceace3dd111c446444 | refs/heads/master | 2020-04-05T18:57:44.398649 | 2018-03-12T09:14:18 | 2018-03-12T09:14:18 | 15,339,846 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,493 | cpp | /********************************************************************************
*
* Copyright (C) 2010 Bauhaus University Weimar
*
*********************************************************************************
*
* module : test/testnurbsvolume.cpp
* project : tml
* description:
*
**************... | [
"mail@ansm.de"
] | mail@ansm.de |
e14df5b19d497a3e0c17de2702b0bf0194f3c598 | 327cb9c6448805d69eb1de0c46a9dd5d83ec932b | /Code/led_game_encoders_class/led_game_encoders_class.ino | 2e83670e7bcc2cadc030eee8110448a6d107d834 | [
"MIT"
] | permissive | Jaknil/LED_games | 79667fd34186b297d6234a2d2cd102f06ea44272 | d55dce86a7d4207342a8984b21e3724c30f30af4 | refs/heads/master | 2023-01-11T18:24:02.502409 | 2023-01-06T06:48:26 | 2023-01-06T06:48:26 | 277,350,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | ino | /*
Test program for the encoders for the LED games project
Reads and logs the status of the encoders and prints them to the serial line after a set interval
My first attempt at using classes for Arduino
Documentation at
https://github.com/Jaknil/LED_games/blob/master/README.md
*/
class Encoder
{
private:
int state... | [
"jakob.a.nilsson@gmail.com"
] | jakob.a.nilsson@gmail.com |
d368ebe6a1f30eb6b4a51dc3f7273f939cc25fd1 | f3c8d78b4f8af9a5a0d047fbae32a5c2fca0edab | /Qt/my_old_programm/Games/_Game/qt-sprite-animation-example/animationpool.h | 7217af514b858244c200a960802ae8ddd3ddfa01 | [] | no_license | RinatB2017/mega_GIT | 7ddaa3ff258afee1a89503e42b6719fb57a3cc32 | f322e460a1a5029385843646ead7d6874479861e | refs/heads/master | 2023-09-02T03:44:33.869767 | 2023-08-21T08:20:14 | 2023-08-21T08:20:14 | 97,226,298 | 5 | 2 | null | 2022-12-09T10:31:43 | 2017-07-14T11:17:39 | C++ | UTF-8 | C++ | false | false | 1,356 | h | #ifndef ANIMATIONPOOL_H
#define ANIMATIONPOOL_H
#include <QMap>
#include <QPixmap>
#include "singleton.h"
template <typename AnimationEnum>
class AnimationPool {
public:
struct LoadException : public std::exception {
virtual const char* what() const noexcept {
return "Animation not loaded\n";
}
};
... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
55402200ea7949b5cbc253b17a2a352f1747dfad | 1f66821be09fbb1b7fc60774d4487bcad3ee191a | /src/FilaEncadeadaDeInteiros.h | 578b29c72c5134dc8daf5e9be52a7a73515adf41 | [] | no_license | leosimoes/UERJ-Estruturas-de-dados-I | f8302a92ab65d50e9d3fc291d9ce5f89e6103b80 | f795a25df4163a74745c08286836274bc59a5416 | refs/heads/master | 2022-11-30T01:55:35.290019 | 2020-08-07T16:29:43 | 2020-08-07T16:29:43 | 285,864,463 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,318 | h | #ifndef FILAENCADEADADEINTEIROS_H_INCLUDED
#define FILAENCADEADADEINTEIROS_H_INCLUDED
#include <iostream>
#include <iomanip>
#include "NoDeInteiro.h"
#include "Extremidade.h"
using namespace std;
class FilaEncadeadaDeInteiros {
private:
NoDeInteiro * inicioPtr;
Extremidade extremidade;
public:
FilaEncadeadaDeInt... | [
"leosimoes.engcomp@gmail.com"
] | leosimoes.engcomp@gmail.com |
849db33b75c2b442b8ce4eb8dca03a51744068cc | c4f925d09767fb5e33669c3d79847aeab603f0aa | /Src/Classes/Buttons.cpp | c863bae7b4b70926988851ffe1e559816b129796 | [] | no_license | rvbc1/Carolo_2020 | d6e32332e966eb73408b290ac69dd7119c396227 | bc866d0348ad3de650cb0dc91d7451603eab0a6e | refs/heads/master | 2020-11-26T00:25:51.951430 | 2019-12-18T19:59:02 | 2019-12-18T19:59:02 | 228,904,910 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cpp | /*
* Buttons.cpp
*
* Created on: 29.01.2019
* Author: Igor
*/
#include "Buttons.h"
#include "stm32f7xx_hal.h"
Buttons buttons;
uint8_t start_parking_USB = 0;
uint8_t start_obstacle_USB = 0;
uint8_t start_parking_sent = 0;
uint8_t start_obstacle_sent = 0;
void Buttons::Init(){
start1_state_of_pressing =... | [
"marek_knosala@vp.pl"
] | marek_knosala@vp.pl |
1a69860c4e186286ea0206f5a1f426dcee9c3f01 | 1de25b8d7f8adce4edae438178c1de2a8227d92c | /src/World.cpp | 22a0e5fdb3a595d64f9ff7ea7f5aa3c331ff8695 | [
"MIT"
] | permissive | TurkeyMcMac/intergrid | d72fc1a9621dd83d027eba4dedda21b7247f3ae0 | 31ba0b3a1f7a96d3e3c2d6b9aa79662811917870 | refs/heads/master | 2020-12-08T09:09:50.726480 | 2020-03-07T13:25:21 | 2020-03-07T13:25:21 | 232,942,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,374 | cpp | #include "World.hpp"
using namespace intergrid;
World::World(size_t width, size_t height)
: temperature(width, height)
, plants(width, height)
, water(width, height)
, clouds(width, height)
, herbivores_food(width, height)
, herbivores_moved(width, height)
{
}
size_t World::get_width() { retu... | [
"jwmhjwmh@gmail.com"
] | jwmhjwmh@gmail.com |
d373ea040af654d21c136cac00c19afda0866590 | 0641d87fac176bab11c613e64050330246569e5c | /tags/release-3-0-d03/source/i18n/gregocal.cpp | 97c4fe3bb38744d817061c8d5fb55ebc67033873 | [
"ICU"
] | permissive | svn2github/libicu_full | ecf883cedfe024efa5aeda4c8527f227a9dbf100 | f1246dcb7fec5a23ebd6d36ff3515ff0395aeb29 | refs/heads/master | 2021-01-01T17:00:58.555108 | 2015-01-27T16:59:40 | 2015-01-27T16:59:40 | 9,308,333 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 48,974 | cpp | /*
*******************************************************************************
* Copyright (C) 1997-2004, International Business Machines Corporation and *
* others. All Rights Reserved. *
*****************************************************************************... | [
"(no author)@251d0590-4201-4cf1-90de-194747b24ca1"
] | (no author)@251d0590-4201-4cf1-90de-194747b24ca1 |
24d654981ac97b37a0d5a38e8c0254c09484511b | 092c77a5e7c2f766f79b1b176dc9629ab3a5060e | /src/Keyboard.cpp | 8d230dbfd9d33853aa30bd8f92b334f112e181ee | [] | no_license | MatillaMartin/Arcanoid | 6cb83c1b61a8ddd1cc91e4916842e57219d8a988 | 48ffe7cdee9cce48e49c9a41b27fcc369e23a2de | refs/heads/master | 2021-01-17T15:51:15.814563 | 2017-03-08T08:39:18 | 2017-03-08T08:39:18 | 84,114,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include "Keyboard.h"
#include "ofEvent.h"
Keyboard::Keyboard()
{
ofAddListener(ofEvents().keyPressed, this, &Keyboard::onKeyPress);
ofAddListener(ofEvents().keyReleased, this, &Keyboard::onKeyRelease);
}
void Keyboard::onKeyPress(ofKeyEventArgs & key)
{
m_keys[(char)key.key] = true;
}
void Keyboard::onKeyRelease... | [
"matilla.martin@gmail.com"
] | matilla.martin@gmail.com |
c1e63864d738005259092d541beebe8797950691 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiASDB/TRiASDB/DatabaseFeatureMap.cpp | 686ccc182cb5b88f9371005b282632aa92fc4480 | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,533 | cpp | // $Header: $
// Copyright© 1998 TRiAS GmbH Potsdam, All rights reserved
// Created: 08/26/1998 11:46:12 PM
//
// @doc
// @module DatabaseFeatureMap.cpp | Implementation of the <c CDatabaseFeatureMap> class
#include "stdafx.h"
#include "Strings.h"
#include "Wrapper.h"
#include "GlobalVars.h"
#include <C... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
702eb22e68ff7866d841916c9cf04d77ab4102e4 | 81028f0cf4e470303c95f94be1189c59e416f95f | /URI/1023.cpp | 839559a9f503fc3ba8192ae8d024f10661a73293 | [] | no_license | vandersonmr/ProgrammingContest | d82a1a429abd58773eebc83bc238430c649004f2 | 10936bd030c16efdc7cb59b3eb961287f6102cc0 | refs/heads/master | 2021-01-18T07:51:50.419599 | 2015-08-03T01:34:55 | 2015-08-03T01:34:55 | 12,670,094 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <cstdio>
#include <utility>
#include <iostream>
#include <map>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>
using namespace std;
class Cidade {
public:
int n;
int totalPessoas;
int soma;
map<int, int> v;
};
int main() {
int p = 0;
while(true) {
Cid... | [
"vandersonmr2@gmail.com"
] | vandersonmr2@gmail.com |
bfee2b99dac7080502220b7acbfad98afdfce169 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_new_log_542.cpp | ee9ce4abbb607bfd5f94e5e7814a8e6a0961ddf2 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | cpp | storeAppendPrintf(sentry, "syscalls.sock.binds = %f/sec\n", stats.syscalls_sock_binds); | [
"993273596@qq.com"
] | 993273596@qq.com |
569b745487cb4231f4e1b7ffce3394b8274c2142 | 797f08fe318cb9b483133693b850ffeff9d9fa20 | /hull3D.h | b5ec8af94e763a4a27ceceb571d27a7cf5f64072 | [] | no_license | SpexGuy/MinkowskiHull3D | 27c084aa7ac22e0863647ac0ae5a66fff03246ca | c0e56ae91e7de255fc3cd96de8081f7e43e7572c | refs/heads/master | 2021-01-19T20:11:43.534575 | 2017-03-07T06:02:51 | 2017-03-07T06:02:51 | 83,741,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,344 | h | //
// Created by Martin Wickham on 3/2/17.
//
#ifndef MINKOWSKIHULL3D_HULL3D_H
#define MINKOWSKIHULL3D_HULL3D_H
#include <glm/glm.hpp>
#include <vector>
#include <cstdint>
struct Collider3D {
virtual glm::vec3 findSupport(glm::vec3 direction) = 0;
};
struct AddCollider3D : public Collider3D {
Collider3D *a;... | [
"spexguy070@gmail.com"
] | spexguy070@gmail.com |
f9f2ed01b5b617faa9806c769055779dab6c2c72 | ded3a8f1ae2ff59a0c28fc23dd22daeaa064609f | /2.3_Digital_Inputs/2.3_Digital_Inputs.ino | 4859d126ec6c18141f6b715e2a9778780f5c5672 | [] | no_license | acbarker19/Arduino-ELEGOO-Tutorials | c70f46c4668d2376cc6c1521f623bdeae1b416b0 | 4834b5964c8f1b6853230bdfdb90fbfdeae299b0 | refs/heads/main | 2023-05-12T00:42:02.385057 | 2021-06-02T01:35:52 | 2021-06-02T01:35:52 | 361,579,961 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 384 | ino | //www.elegoo.com
//2016.12.08
int ledPin = 5;
int buttonApin = 9;
int buttonBpin = 8;
void setup()
{
pinMode(ledPin, OUTPUT);
pinMode(buttonApin, INPUT_PULLUP);
pinMode(buttonBpin, INPUT_PULLUP);
}
void loop()
{
if (digitalRead(buttonApin) == LOW)
{
digitalWrite(ledPin, HIGH);
}
if (digitalRe... | [
"acbarker19@gmail.com"
] | acbarker19@gmail.com |
51ed7f66c138b87d0768ccad79c1159fe55699cf | 57ae15e1079e3b6cf85d6a5cfb21689665021866 | /coupled/event/eventCallback.cpp | 501529638fca000296d7c542a856bc967c987f70 | [] | no_license | Wonshtrum/TeraGen | 65fa878b8afad14bdb8f7221d9ab5fddcbf532c1 | 8416379f3f06435bac84bfc3e3e19ca9872092ff | refs/heads/master | 2022-11-10T05:29:07.963070 | 2020-07-02T11:42:46 | 2020-07-02T11:42:46 | 273,426,017 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "event.h"
#include "graphics/view.h"
#define GET_HOOK GLFWHook& hook = *(GLFWHook*)glfwGetWindowUserPointer(window)
void setWindowEventsCallback(GLFWwindow* window) {
glfwSetWindowCloseCallback(window, [](GLFWwindow* window) {
GET_HOOK;
WindowCloseEvent event... | [
"pygmee64@gmail.com"
] | pygmee64@gmail.com |
511445f066d30ec0deba5e82f1790f244c87116d | 2ca63305557cb780e7258cf03844a420d885a0af | /EpServerEngine2.0/EpServerEngine/Sources/epBaseServerObject.cpp | 19cbdfac93772aafb74564c7ac3290d46d6f89a7 | [
"MIT"
] | permissive | wangscript007/EpServerEngine | e0181d493ad9f46209536ad77a52d86bdadce7f1 | 2a79ddbfc118d3d653f5b0a4110eae2fc287b965 | refs/heads/master | 2021-09-13T02:37:20.025331 | 2018-04-24T01:51:04 | 2018-04-24T01:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,782 | cpp | /*!
BaseServerObject for the EpServerEngine
The MIT License (MIT)
Copyright (c) 2012-2013 Woong Gyu La <juhgiyo@gmail.com>
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, i... | [
"juhgiyo@gmail.com"
] | juhgiyo@gmail.com |
cdc978b0c341cc77de9f93f73fabaa688a4a5937 | a04701966913695a1cbc003bf4b609754b62ed1c | /src/utest/utestXMLTables.cpp | 3abcd913f4721d3e8a6b376149e2c567daaf9c3b | [
"BSD-2-Clause"
] | permissive | anto35/tsduck | b80c7bed9138f78d402534fbf94f1635fd9d0c4a | 6aa32ce5a59865d8d5509fd22a0c7cd110f79dc0 | refs/heads/master | 2021-08-30T22:45:45.542104 | 2017-12-18T22:26:32 | 2017-12-18T22:26:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,849 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2017, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
70b138b53aca2d65013cb65b582c4e97e8397443 | 8887b5be57228aa0b1ab7cbc834266c346c63055 | /src/logger.h | 0542b38c836acb7b9250cd56fea178b465fe2cb9 | [
"MIT"
] | permissive | tobykurien/fishfeeder | a8a589f5312a061c60e25c75df721ea039fd5248 | 285ba347fb81d872d45fbede1cfed6ef42b620df | refs/heads/master | 2018-11-22T08:45:27.059374 | 2018-09-30T09:15:18 | 2018-09-30T09:15:18 | 114,918,925 | 0 | 0 | MIT | 2018-09-30T09:15:19 | 2017-12-20T18:34:25 | C++ | UTF-8 | C++ | false | false | 1,691 | h | #include <Arduino.h>
#include <EEPROM.h>
#include <RTClib.h>
#include "config.h"
#ifndef __LOGGER__
#define __LOGGER__
#define CHECK_BYTE 0xA3 // update this if data structures change
// Number of logs to keep for feedings and temperature
// NOTE: current code relies on byte wrap-around to implement
// a circula... | [
"toby@tobykurien.com"
] | toby@tobykurien.com |
71023473824f8d799e1f0e692054fb19c1974dd4 | 875d602b2417deddf0f0d6a8345603750fe58bce | /src/net.cpp | d5c378f1e8c836816aa915023c4d2dbea9842a82 | [
"MIT"
] | permissive | richardyc/rcoin | 39de1cc33499f90ae7a0ede2c301e271db912938 | 7f3504c7f1aad21995bd3fcdfc3024b6b3d5563c | refs/heads/master | 2021-08-29T18:12:19.723852 | 2017-12-14T14:59:31 | 2017-12-14T14:59:31 | 106,858,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,032 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "net.h"
#include "init.h"
#include "addrman.h"
#include "... | [
"richard@heyucheng.com"
] | richard@heyucheng.com |
f515323a9cfc8317cf3a6eb7a7f13c41371ba82f | 07e88c109af86db6aa3194cbb71c41d449f1a805 | /Code/m3alps/optimizer.h | 585eb6b3c53b97762bb7cde9cf12d0878f3e1b0b | [] | no_license | jbongard/ISCS | 2a7fe528140aa24631022807c5af34d7442a122d | a7f7196a2a729564bd033abc13cdf4acb172edfb | refs/heads/master | 2016-09-05T08:44:10.630025 | 2011-08-17T15:31:58 | 2011-08-17T15:31:58 | 2,222,304 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | h | /*
The algorithm that optimizes the robots. This can be replaced with whatever optimization algorithm the user prefers. This one instantiates a hill climber.
The genomes are encoded as two-dimensional matrices with each element
in the range [0,1].
*/
#ifndef _OPTIMIZER_H
#define _OPTIMIZER_H
#include "matrix.... | [
"josh.bongard@uvm.edu"
] | josh.bongard@uvm.edu |
09d4583ac6ed5dd984ef5e3b933a82839692ad39 | ae3e9b36f901570026cbc2be553ee1e5db818d66 | /Compressor/Compressors/Beta/ArithmeticCoder.h | fc60e647b64dbe9676151f809232d8bd66b2055d | [] | no_license | OmarBazaraa/Bitifier | 34210bdbb272502307f7f1a429007e355b3fca6c | 35669c292c11fd07a8df6ee489046b010af29ac7 | refs/heads/master | 2021-03-19T14:29:48.611043 | 2018-12-06T15:45:05 | 2018-12-06T15:45:05 | 89,235,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include "../BitConcatenator.h"
using namespace std;
typedef unsigned char uchar;
class ArithmeticCoder
{
private:
const int ALPHA_SIZE = 256;
int dataIdx;
string binaryStr;
vector<int> symbolsFr... | [
"omar_bazaraa@hotmail.com"
] | omar_bazaraa@hotmail.com |
af9c59be139400a606b4b8b32d5a06106275ce83 | 2108fc8a2be2d2bc79efc5aca5c9e89a9676e333 | /logger.h | 97a01f431cc560d1099ee03828d6816f9fab968f | [
"Apache-2.0"
] | permissive | frank0098/distributedsystem | 7060de13aa33af41933c35a5ae913f273bf9a15c | 72373208d0ba00af443c43a68350bb62ded7a0b5 | refs/heads/master | 2021-03-27T09:31:04.143325 | 2018-08-06T04:53:44 | 2018-08-06T04:53:44 | 90,808,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | h | #ifndef LOGGER_H
#define LOGGER_H
#include <string>
#include <iostream>
#include <fstream>
#include <utility>
#include <stdio.h>
#include <vector>
#include <mutex>
#include <sys/stat.h>
using std::vector;
using std::string;
using std::cout;
using std::endl;
class Logger{
public:
Logger(){};
Logger(int peer_id);
vo... | [
"ysong71@illinois.edu"
] | ysong71@illinois.edu |
59048728c78beb786b0887330f12fad6d34dfa91 | f6f973a71896ccb5990812d77449248e5e8db247 | /Notes/Book.h | d826cc089e6bf8fa75e54f03df5769e7a1319f92 | [] | no_license | browningspencer/cs235 | 6ee8b2f2e81c5161c20e4b26e501297b5c7a1da5 | 10c18291a95e32a17370df352b514fd847848ca0 | refs/heads/master | 2021-06-08T01:23:54.415586 | 2016-12-02T19:15:23 | 2016-12-02T19:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | h | //Standard practice is to avoid using "using namespace std;", you have to call them
//everytime (ex. std::vector) (ex. std::cout)
#pragma once //allows any file that includes Book.h to share #includes
#include <iostream>
#include <string>
class Book {
private: //Only includes variables
string title;
string aut... | [
"frankbrowning@Spencers-MacBook-Pro-4.local"
] | frankbrowning@Spencers-MacBook-Pro-4.local |
f5610764dc3ec9b59abfcc57d9ae1d87f2190bd9 | 031d401559cfbe8e9a2516823e84b3e95acbd171 | /codeforces/670_Div2/B.cpp | f365578a13f26211203732f86e4cfaef971e3fa8 | [] | no_license | rajat2004/programming | e05d95d7523481ddaf81c44ab275f834f2731d44 | 62e15615dab311edfe68e694a4f97adab23b6725 | refs/heads/master | 2023-04-18T07:51:22.979076 | 2021-05-03T06:03:44 | 2021-05-03T06:03:44 | 234,147,423 | 0 | 0 | null | 2020-12-03T06:23:47 | 2020-01-15T18:38:09 | C++ | UTF-8 | C++ | false | false | 1,867 | cpp | #pragma GCC optimize ("-O3")
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long long unsigned lluu;
typedef long double ld;
typedef pair<int,int> p32;
typedef pair<ll,ll> p64;
typedef pair<double,double> pdd;
typedef vector<ll> v64;
typedef vector<int> v32;
typedef vector<vector<int> >... | [
"rajatsinghal564@gmail.com"
] | rajatsinghal564@gmail.com |
c6e5d8923e1eb29f4df2cc63d22c6082f36ed88c | 8d9b75e974f72d79d04972a758fb31a52c0d6ab0 | /codejam21/Inconsistent ordering.cpp | b708883322f58fec70574b2b4b8adc96264f6c1b | [] | no_license | Nidita/Competitive-Programming | b321d9adfe734818b1d7b8db2d7aa2a92a8e4270 | 42638e45a4456dd523ca51685ae8357137a29c46 | refs/heads/main | 2023-06-30T13:33:22.153217 | 2021-08-10T10:51:36 | 2021-08-10T10:51:36 | 394,616,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t,j=1;
cin>>t;
for(int k=0;k<t;k++)
{
string s;
s+='A';
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
for(int i=0;i<n;i++)
{
... | [
"64700758+Nidita@users.noreply.github.com"
] | 64700758+Nidita@users.noreply.github.com |
ae343b0a9846ebae662010dba19dc2c03e5f07c6 | 72dd80965026d8797f75c8d79a619cf1d2f02b89 | /Binary Trees/Sum_Of_BinaryTree.cpp | 856747757a4ba3769353183450a8d9bdf6277016 | [] | no_license | hanzohasashi33/DSA | 99be005041a68f3b1239d496e6e568f409696103 | 733316ba7192d6e493389182e5da2a3edc1224f2 | refs/heads/master | 2022-12-20T10:14:46.897461 | 2020-07-07T16:37:32 | 2020-07-07T16:37:32 | 236,500,936 | 11 | 11 | null | 2020-10-06T21:02:03 | 2020-01-27T13:51:20 | C++ | UTF-8 | C++ | false | false | 1,390 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Node
{
int key;
struct Node *left;
struct Node *right;
Node(int x){
key = x;
left = NULL;
right = NULL;
}
};
Node* make_tree()
{
int n;
cin>>n;
Node* head=NULL;
queue <Node*> q;
for( ; n>0 ; n-=2 )
{
int a,b;
char c;
cin>> a ... | [
"noreply@github.com"
] | noreply@github.com |
3ea1ec1ccbd455a594ac8c589a09ea3f76c600dd | 651e464d18db5d0cab098ab6ffec59bf8f910a33 | /libraries/I2CDev_ms5611/I2Cdev.cpp | 54b008f35a54cf8221031f0f6d25286e20732b2e | [] | no_license | van-hurlu/arduino-variometer | 6020e1b7c9c7421f7eabcc89ff781500a3807e29 | 3296d8704b71bdf4c1ae9fcd7a30c29a497f2b59 | refs/heads/master | 2021-07-04T16:20:19.397457 | 2017-09-25T13:42:33 | 2017-09-25T13:42:33 | 104,784,258 | 2 | 0 | null | 2017-09-25T18:04:01 | 2017-09-25T18:04:00 | null | UTF-8 | C++ | false | false | 57,161 | cpp | // I2Cdev library collection - Main I2C device class
// Abstracts bit and byte I2C R/W functions into a convenient class
// 6/9/2012 by Jeff Rowberg <jeff@rowberg.net>
//
// Changelog:
// 2013-05-06 - add Francesco Ferrara's Fastwire v0.24 implementation with small modifications
// 2013-05-05 - fix issue with... | [
"prunkdump@gmail.com"
] | prunkdump@gmail.com |
f5d9b53f8c0a6a9d65dc2346eff555a1c9d94d33 | c67b629c170cbaa451f671e3924ad2b281518eef | /src/Utils/Tools.hpp | 8286cc981be655aa106ce5f52a1d1901043900d5 | [] | no_license | LuhJunior/ody-unplugged-framework | 491d37574a625324457647945cf63dccf2571f95 | 7e06955e73e04b87bd6b32c38c3730dfe7f3358b | refs/heads/master | 2020-08-03T12:59:08.709495 | 2019-09-30T03:02:13 | 2019-09-30T03:02:26 | 211,760,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | hpp | #ifndef TOOLS_H
#define TOOLS_H
#include <string>
#include <algorithm>
#include <bitset>
#define find_val(v, val) find(v.begin(), v.end(), val);
#define find_val_if(v, fn) find_if(v.begin(), v.end(), fn);
using namespace std;
class Tools {
public:
static string toBinary(int);
};
#endif | [
"c.junyor88@gmail.com"
] | c.junyor88@gmail.com |
c9273f0903f4ea9c8d6ccc606a1ae26832f8f478 | 44effb0a52482700ba06c067125d40fb8bea4b1e | /problems/Sith/main.cpp | f00f9f5c005cf8ba08e0bb9acf83db5c4f5b02f9 | [] | no_license | elwin/algolab | 1a1b91f0a0933d47494de5f8a87bbd073a6c7d4a | 2030c2a97fae896666a408005122edee7ff8c666 | refs/heads/master | 2023-03-02T21:02:47.345039 | 2021-02-04T13:49:15 | 2021-02-04T13:49:15 | 297,578,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,779 | cpp | // After a given amount of time has passed, the largest possible score
// that can be achieved corresponds to the either the time itself
// or the largest connected subcomponent in the remaining graph,
// whichever is smaller.
// The largest connected subcomponent can be retrieved using
// BFS after we've constructed a... | [
"elwin.stephan@gmail.com"
] | elwin.stephan@gmail.com |
7fe72026f85310a7248b8ff61644eef96285cbc8 | 0835f475d673ecd1bed49a55e8f1abc8e39b8324 | /drawingApp/src/ofApp.h | d04897b1c07c25ad9880edb0391e8a3b35714654 | [] | no_license | terrybu/OpenFrameworksPracticeProjects | a486dd1beea4df5108e25a9c37c151da61573bcf | cd810b53f27c39f293f3a0fa10bfa9b0d773e892 | refs/heads/master | 2021-01-20T03:30:48.730172 | 2015-03-27T19:23:16 | 2015-03-27T19:23:16 | 33,005,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | #pragma once
#include "ofMain.h"
#include "ofxiOS.h"
#include "ofxiOSExtras.h"
class ofApp : public ofxiOSApp {
public:
void setup();
void update();
void draw();
void exit();
void touchDown(ofTouchEventArgs & touch);
void touchMoved(ofTouchEventArgs & touch);
... | [
"burea1124@gmail.com"
] | burea1124@gmail.com |
2dd07db27276d81e05afc137e1cf855d3de0b3fa | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_384_squid-3.4.14.cpp | c02ea882b1414769eaf4cef51e43d5df0467f33d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | int
Check_ifuserallowed(char *ConnectingUser)
{
return Check_userlist(&AllowUsers, ConnectingUser);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
8abb7f2c146d53de62309825a1e0c90cd8d98d77 | 4eb06b3b1808484da7dbd84d63a975a610459899 | /src/ia32/lithium-ia32.h | 1c490bb57160d52a82ef4722e170a9cce1eab3f2 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | playbar/v8-3.17.16.2 | 158ebaa7cc5f16fabf9f75ecc5310af59a9c944f | abd07495f67da323a5998d039b7b4326836ad1fb | refs/heads/master | 2023-01-06T23:15:28.397273 | 2015-06-26T07:09:18 | 2015-06-26T07:09:18 | 37,173,453 | 0 | 1 | NOASSERTION | 2022-12-19T19:16:17 | 2015-06-10T03:34:20 | C++ | UTF-8 | C++ | false | false | 80,395 | h | // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"hgl868@126.com"
] | hgl868@126.com |
b20fab30eb27f06bf8ac38bd4345a2eb658a6ad8 | ebde8cc28fc579626bf36c418e648fbc046b3308 | /lib_acl_cpp/src/hsocket/hspool.cpp | 93d4589377f0a1f2af1b83a321258fe6ed02b6aa | [] | no_license | rabbitqyh/acl | 7b34e1255f7d656aa5731974551ef8000cf84636 | 541a2ab401de70bff61d12a53f50a34ec5dc0275 | refs/heads/master | 2021-01-13T08:44:40.819460 | 2013-06-23T12:56:58 | 2013-06-23T12:56:58 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,580 | cpp | #include "acl_stdafx.hpp"
#include "acl_cpp/stdlib/locker.hpp"
#include "acl_cpp/hsocket/hsclient.hpp"
#include "acl_cpp/hsocket/hspool.hpp"
namespace acl
{
hspool::hspool(const char* addr_rw, const char* addr_rd,
bool cache_enable /* = true */, bool retry_enable /* = true */)
: cache_enable_(cache_enable... | [
"mjsc1023@gmail.com"
] | mjsc1023@gmail.com |
a53101359b5122a2645678b659f96842ba909287 | efed5d60bf0e4b9cca6a64dc4d5da460848eac46 | /jp2_pc/Source/GUIApp/GUIAppDlg.cpp | e72e50f088990d86f54569b133a29c7b00c939d2 | [] | no_license | Rikoshet-234/JurassicParkTrespasser | 515b2e0d967384a312d972e9e3278954a7440f63 | 42f886d99ece2054ff234c017c07e336720534d5 | refs/heads/master | 2022-04-24T01:16:37.700865 | 2020-03-28T01:21:14 | 2020-03-28T01:21:14 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 191,948 | cpp | /*********************************************************************************************
*
* Copyright © DreamWorks Interactive, 1996
*
* Contents: Implementation of 'GUIAppDlg.h.'
*
**********************************************************************************************
*
* $Log: /JP2_PC/Source/GUI... | [
"crackedcomputerstudios@gmail.com"
] | crackedcomputerstudios@gmail.com |
87bc5657384eef2299d8aebd0d8c0a891725f5c1 | 9e4b20e6ba7805df9b377ca5650b249f6d59df24 | /week-2/diet/diet.cc | 0824979f850412d328549252e1037329d0fc0943 | [] | no_license | aakarsh/linear_programming | 2e4f99911799eef781d63ac665be0fdc065a61c2 | b28b8c15072b392d8f4ac53af83b92ae127d06f9 | refs/heads/master | 2020-05-22T20:04:28.945409 | 2017-07-09T08:47:32 | 2017-07-09T08:47:32 | 84,720,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cc | #include <algorithm>
#include <iostream>
#include <vector>
#include <cstdio>
using namespace std;
typedef vector<vector<double>> matrix;
pair<int, vector<double>> solve_diet_problem(int n, int m, matrix A,vector<double> b,vector<double> c) {
// Write your code here
// something goes here but idk w
return {0... | [
"aakarsh.nair@gmail.com"
] | aakarsh.nair@gmail.com |
a1c42bd4af64531f493290baad4aa01e205fa48b | f3f100d7997a4739bc883dca02e3abbe86e18a33 | /AAI/SjoerdOpenGL/Assignment/Steering/Steering.cpp | 4d8d43e4d1274b3b8b5db5840dd71d7ed1a9b9cc | [
"MIT"
] | permissive | jjkramok/ICTGP | 4ed51d3409ca2163ba28d32b4bd1174d5b8cdeb1 | fbe45cc5ebbc5095353512cbe0f0db61e2c95042 | refs/heads/master | 2021-05-05T01:05:47.894526 | 2018-06-18T12:48:57 | 2018-06-18T12:48:57 | 119,531,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include "Steering.h"
Steering::Steering()
{
}
Steering::~Steering()
{
}
SteeringForce Steering::flee(Entity * entity)
{
entity->location;
SteeringForce a = {3.0f};
return a;
}
SteeringForce Steering::flee(int entityType)
{
return SteeringForce();
}
SteeringForce Steering::seek(Entity * entity)
{
return Ste... | [
"sjoerdherxen@outlook.com"
] | sjoerdherxen@outlook.com |
e972a7ae6dacfe11c4653423e583a471f4095bc7 | 51f6e63555b4fda6a620fb42952c5c1fa6eac706 | /content/browser/indexed_db/leveldb/fake_leveldb_factory.cc | bd42a3113218f96ebae602c2e4a1620cfd7aa474 | [
"BSD-3-Clause"
] | permissive | heanglightman/chromium | 6f74026b428317a28cbb1226d20d1116ed54dd2b | f561f3e0174135fcc555aad31f4adb845977b8bd | refs/heads/master | 2023-02-25T08:18:13.731198 | 2019-03-25T16:19:12 | 2019-03-25T16:19:12 | 177,623,917 | 1 | 0 | NOASSERTION | 2019-03-25T16:27:22 | 2019-03-25T16:27:22 | null | UTF-8 | C++ | false | false | 9,042 | cc | // Copyright 2018 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 "content/browser/indexed_db/leveldb/fake_leveldb_factory.h"
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include "b... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
65eafdcd9234e2c4b1bf0710412e5e0c8661af56 | f959849552c83bcccdfdb3ec7f200348fda2309b | /nRF_First_Success/Transmitter/Transmitter/Transmitter.ino | 755319b1911468af4561d872da2bee70065892f4 | [] | no_license | sujeet-banerjee/radio | a907b93c50f0929e1e3dd7161d4f1939515fee1b | b63e5ed37c5581c3aab23d8bf8c41f37cc1765a0 | refs/heads/master | 2020-06-28T11:46:46.297312 | 2017-01-06T09:00:30 | 2017-01-06T09:00:30 | 67,323,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,780 | ino |
#include <nRF24L01.h>
#include <RF24.h>
#include <RF24_config.h>
/* YourDuinoStarter Example: nRF24L01 Transmit Joystick values
- WHAT IT DOES: Reads Analog values on A0, A1 and transmits
them over a nRF24L01 Radio Link to another transceiver.
- SEE the comments after "//" on each line below
- CONNECTIONS: n... | [
"sujeet.banerjee@gmail.com"
] | sujeet.banerjee@gmail.com |
7ac5f1f6857667a8552fc892e4670798c0249e95 | c85fd542bd7c23aed09e044b947c4a8e6074bc25 | /src/core/risa/packages/risa/sound/ALSource.h | ad0ced638501f4364c7346601399646c03afde10 | [] | no_license | w-dee/kirikiri3-legacy | 35742a56cb1e5b5f0252a48c41d1c594ee3a79a6 | 9a918425c41fc3f64468ded61cdce6c464d2247a | refs/heads/master | 2020-06-23T22:18:34.794911 | 2010-01-04T06:33:50 | 2010-01-04T06:33:50 | 198,763,501 | 19 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,414 | h | //---------------------------------------------------------------------------
/*
Risa [りさ] alias 吉里吉里3 [kirikiri-3]
stands for "Risa Is a Stagecraft Architecture"
Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
//-----------------------------------------... | [
"w.dee@9e463c26-7fdd-0310-8662-bb9cb7c2284e"
] | w.dee@9e463c26-7fdd-0310-8662-bb9cb7c2284e |
499c670929ecbe46b4a4910561bd289425ddf714 | 5cc69797640c8aa3697eb7aba8820dd98055c25a | /SFMLTemplate/Player.hpp | 7b2daa30f33e552e18eec60c532c9568b0432399 | [] | no_license | Painpillow/SFML-Templaatti | 103dd2a18df67cfc3dcd00ae43b6ee432b7499d0 | 29a2e4be718e354cfffaef1132634b3949597129 | refs/heads/master | 2021-01-14T14:07:05.169666 | 2015-10-26T13:54:42 | 2015-10-26T13:54:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | hpp | #pragma once
#include <SFML\System.hpp>
#include <SFML\Graphics.hpp>
class Player {
private:
sf::Vector2f position;
int health;
public:
Player();
void update(const sf::Time& time);
void draw(sf::RenderWindow& renderWindow);
~Player();
}; | [
"niko.halikka@gmail.com"
] | niko.halikka@gmail.com |
7753c2c62284e221a795ab0a2e0d6ddd7ce0aaf1 | 4e131c7fa40381a378488c96fa47a44744b26cc5 | /GUI/dialog.h | 06cf388541d664ed30d4164c307302e6365697fb | [] | no_license | voidrealms/Qt-24 | 700c06d5d2c27dae45218e904cd2b045a31e1ff3 | 7bd0a12387c4738acf481dbc7a72f9774e064c6e | refs/heads/master | 2021-07-23T04:20:11.879410 | 2017-11-02T19:34:56 | 2017-11-02T19:34:56 | 109,310,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QtCore>
#include <QtGui>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
private:
Ui::Dialog *ui;
};
#endif // DIALOG_H
| [
"bcairns@voidrealms.com"
] | bcairns@voidrealms.com |
00de4d42e06cea80dc6dfc13611e33100ac11a70 | 0e3ab186e07482b3c7d8b6bdddcb13e765a3f208 | /Sorting/InsertionSort.cpp | 26670708e3e92cbba96d57ee2e330982ecec75f2 | [] | no_license | 201710757/DataS | 7fda8a6e68b775530d2903dbd338cac8d40523f1 | 5d61166dc37f5ab3a037d32f2c254404465a9704 | refs/heads/master | 2023-02-05T06:48:35.123531 | 2020-12-28T14:29:52 | 2020-12-28T14:29:52 | 293,270,327 | 1 | 0 | null | 2020-12-28T14:29:53 | 2020-09-06T12:16:49 | C++ | UTF-8 | C++ | false | false | 611 | cpp | #include<iostream>
using namespace std;
void InsertionSort(int arr[], int n)
{
int nowData = 0;
int j;
for(int i = 1;i<n;i++)
{
nowData = arr[i];
for(j=i-1;j>=0;j--)
{
if(arr[j] > nowData)
{
arr[j+1] = arr[j];
}
els... | [
"neti69@naver.com"
] | neti69@naver.com |
e73c122552f61c9b3bef68c8435a6c8f05681c0a | fdcab8dbdfa88fb93b17e6e731283e83da5bd123 | /src/Bitshifing.cpp | 97b1cd480ae6ed0a74567f76c9cebbff5aa837a9 | [] | no_license | bako2010/NucleoGitHub | 7d38b46adb785e7676b43d8171dee8c064accded | 5611fc68d434859fc3c5b90d96267dd470233325 | refs/heads/master | 2023-03-23T03:02:15.117359 | 2021-03-11T16:11:48 | 2021-03-11T16:11:48 | 346,743,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include <mbed.h>
void wait(int x);
int main()
{
while (1)
{
}
}
void wait(int x)
{
wait_us(x * 1000);
} | [
"bako@outlook.at"
] | bako@outlook.at |
f2d90eda51685626976124aaaef330814612e751 | 5f77516a28c03021bca3886cb193136ccce870ff | /math/verify_prime.cpp | 32b3abaef92c8eaa11228b691b3adf984aca6256 | [] | no_license | thelastsupreme/interviewbit | 75fc488e3d0a3cdf4471bc35ef2e6c06ba595e0f | c39162e6f6e51d718b9f9b6832bbbd52adf61b9d | refs/heads/master | 2022-12-01T02:17:51.147924 | 2020-08-13T03:59:16 | 2020-08-13T03:59:16 | 264,120,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | int Solution::isPrime(int A) {
if(A==1||A==2)
return 0;
for(int i=2;i<=sqrt(A);i++)
{
if(A%i==0)
{
return 0;
}
}
return 1;
}
| [
"39990949+thelastsupreme@users.noreply.github.com"
] | 39990949+thelastsupreme@users.noreply.github.com |
d5c45a3c92b522f0456031e35cfad5f96020d111 | 0b111b10f185e0148f9ad137a1f6590e79d2cdeb | /kraUtilities/include/kraPlatformTypes.h | 6d36ed84e3ab75c03152b9d02e0fcb2128948c63 | [] | no_license | GalahadP92/Kraken-Engine | c409497592e3e2c8645484d94b17df7a63d03af9 | fe8f27a378c9e85c36d4c0b3a042a549782988e7 | refs/heads/master | 2023-08-07T14:17:06.601235 | 2020-07-09T16:44:43 | 2020-07-09T16:44:43 | 278,412,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,158 | h | #pragma once
#include <cstdint>
#include <cstddef>
#include "kraPlatformDefines.h"
#if KRA_PLATFORM == KRA_PLATFORM_PS4
#include <scebase.h>
#endif
namespace kraEngineSDK {
using std::uint8_t;
using std::uint16_t;
using std::uint32_t;
using std::uint64_t;
using std::int8_t;
using std::int16_t;
using s... | [
"evey92@gmail.com"
] | evey92@gmail.com |
21b31b881360eb5afd2e512c8a3d9a7829453554 | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/dom_distiller/core/page_features_unittest.cc | 8e259e4382bb39a998cfe82e692d03233792c1c6 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 3,984 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/dom_distiller/core/page_features.h"
#include <string>
#include <vector>
#include "base/files/file_util.h"
#include "base/json/json_... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
e2f82924566940aabd923a93bf45273db3a12206 | b3832793e06ca23210720a992b9be960800295fd | /6. Debugging/Overloading Ostream Operator.cpp | 696bfb7f257f1307a1c07ba7a9d0d5f3e48519c4 | [] | no_license | laziestcoder/CPP_HackerRank | aa5ed0ff6b869cc741c7a49ed9140215b58ff947 | 6f4866ab926a3bf99f1f066ccb44d14e9d2abfdd | refs/heads/master | 2020-06-19T19:39:52.361095 | 2019-08-06T17:46:59 | 2019-08-06T17:46:59 | 196,845,645 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp |
#include <iostream>
using namespace std;
class Person {
public:
Person(const string& first_name, const string& last_name) : first_name_(first_name), last_name_(last_name) {}
const string& get_first_name() const {
return first_name_;
}
const string& get_last_name() const {
return last_name... | [
"towfiq.106@gmail.com"
] | towfiq.106@gmail.com |
55ebddfda239c7a7d1a866a2edde3d03cf72170e | b49c20d320b20182efb6106a65a4c9c73ade7578 | /bzoj3038.cpp | 854f21f76efd9eb7bc21b024829c96d5b4531d40 | [] | no_license | thhyj/bzoj-ACcode | 65a674e42d70e00c2f5ee48ce84d650956ddf67f | 2072f81fb841bafc0c5f804da3cd35fa595fcd3e | refs/heads/master | 2022-11-22T23:15:05.135037 | 2020-07-17T03:09:16 | 2020-07-17T03:09:16 | 280,313,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp |
#include <bits/stdc++.h>
using namespace std;
inline void R(int &v) {
static char ch;
v = 0;
bool p = 0;
do {
ch = getchar();
if (ch == '-') p = 1;
} while (!isdigit(ch));
while (isdigit(ch)) {
v = (v + (v << 2) << 1) + (ch^'0');
ch = getchar();
}
if (p) v = -v;
}
inline void R(long long &v) {
static ... | [
"276897571@qq.com"
] | 276897571@qq.com |
e7f90b668dfa3556358fbff0ddf54d7894adf6d3 | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /header/Media/GDIEngine.h | 62c405a419b151ab120292c8d064b5d1f16e67c2 | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 9,198 | h | #ifndef _SM_MEDIA_GDIENGINE
#define _SM_MEDIA_GDIENGINE
#include "Media/DrawEngine.h"
#include "Media/ABlend/AlphaBlend8_C8.h"
#include "Sync/Mutex.h"
namespace Media
{
class GDIImage;
class GDIEngine : public Media::DrawEngine
{
public:
Media::ABlend::AlphaBlend8_C8 iab;
private:
void *hdc;
... | [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
4d433cf64e4ab9ad118e6c4c2e8597361c113617 | c289c3aca633d851f7c4d5604aad9d053de17530 | /common/geometryIO.h | bffb00090a4ddffe8d63fd5855d2e8986a7dfe77 | [
"MIT"
] | permissive | wangyiqiu/closest-pair | f436aaabb6ecc0cbed2b281f1634e269678d6be7 | 57b777575fa5ea59c445e9b812cbde0e7a85edb3 | refs/heads/main | 2023-05-26T12:40:35.434054 | 2021-06-10T04:24:18 | 2021-06-10T04:24:18 | 340,196,260 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,825 | h | // This code is part of the Problem Based Benchmark Suite (PBBS)
// Copyright (c) 2011 Guy Blelloch and the PBBS team
//
// 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... | [
"yiqiuw@mit.edu"
] | yiqiuw@mit.edu |
b10bed3d6a3a8364f203d3e801f0407ffe40fc95 | 74cf880326c5a606541742a7c6af2873278b90bc | /Core/plugins/TranslateModule/TranslateModule.cpp | cbd2ad13139cf464666861749300c10a626c317e | [] | no_license | CBowlen/CASP | 341cfeab8cd2b7ef9c26e715ffd2be8b47c24d58 | 47ed90eaad05bd36bfcf951692f2f4ca5d1266d3 | refs/heads/master | 2021-01-19T00:18:55.608145 | 2017-04-04T02:56:52 | 2017-04-04T02:56:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include "TranslateModule.h"
static string _TranslateModule = RegisterPlugin("Translate", new TranslateModule());
TranslateModule::TranslateModule() {}
void TranslateModule::Execute(Markup* markup, string* fnArgs, int fnArgCount) {
/*
This module hasn't implemented any Function Args yet!
Use Hel... | [
"ryanat13@gmail.com"
] | ryanat13@gmail.com |
11a4ce0c31824de8bc3c91642c81d8de3adfc23b | bbfd9580432f897a8c1139450c818da1645077c5 | /src/test/test_bitcoin_main.cpp | 3d06d26cde06f8fe9f45a098a366a1f41d1fdfb7 | [
"MIT"
] | permissive | gripen89/c0ban | a2d4dd8fc05e00c20a3c393fb7f1135e08c0a495 | bf77fff2361fc7672f75fc6a25b61ab8bddc292c | refs/heads/master | 2020-08-23T18:17:12.549054 | 2019-01-11T04:12:45 | 2019-01-11T04:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2017-2018 The c0ban Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#define BOOST_TEST_MODULE c0ban Test Suite
#include "net.h"
#include <... | [
"shohu33@gmail.com"
] | shohu33@gmail.com |
f4757bb83842583f4ef760f1ffb545b60afec34f | ee5375c57898cc4a86d0384058fa243ba40a1070 | /prog3.6.cpp | a6ee5938e65bd5e358b25633ddebbdc3f286b615 | [] | no_license | jiegec/parallel-programming-hw3 | 079646f6271422e50f6d36f3056b27659eecf97b | 69c24dd585234d29089f1833159d4ee51f6f1c9f | refs/heads/master | 2020-05-09T20:17:50.812284 | 2019-04-15T08:08:47 | 2019-04-15T08:08:47 | 181,402,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,948 | cpp | #include <cmath>
#include <ctime>
#include <iostream>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
/*
* Modify the "multiply, run" to implement your parallel algorihtm.
* Compile:
* this is a c++ style code
*/
using namespace std;
void serial(int n, double **matrix, double *vector, dou... | [
"noc@jiegec.ac.cn"
] | noc@jiegec.ac.cn |
c9637a69f31f7b71dcd3bf5cfa0b51b6f76b48fd | dc182283f6eed3b5aaa45c7da61bdc07b41ee161 | /chrome/browser/ash/power/auto_screen_brightness/light_provider_mojo_unittest.cc | 3ff3a503e92f5a5ccac9fecf4713cbd48e1be0be | [
"BSD-3-Clause"
] | permissive | KHJcode/chromium | c2bf1c71363e81aaa9e14de582cd139e46877e0a | 61f837c7b6768f2e74501dd614624f44e396f363 | refs/heads/master | 2023-06-19T07:25:15.090544 | 2021-07-08T12:38:31 | 2021-07-08T12:38:31 | 299,554,207 | 1 | 0 | BSD-3-Clause | 2020-09-29T08:33:13 | 2020-09-29T08:33:12 | null | UTF-8 | C++ | false | false | 8,718 | cc | // Copyright 2020 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/ash/power/auto_screen_brightness/light_provider_mojo.h"
#include <map>
#include <memory>
#include <utility>
#include "base/run_... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c34d74667cc52a2da6ec590137606b18ee501f8c | 43fe4d201f86a83f87589b8f519cd066a94fe7a5 | /srcs/model/commonlib/MessageSender.cpp | 5b1a4a5c9bb01f008bb6b7171c606f1eeb48a034 | [] | no_license | Aharobot/SIGServer | b7ddcfe5627efe5b975a2f30a310b2bf5547b21b | 7b7657afe21573e4f08baa24ff8e2fac6a60b7e0 | refs/heads/master | 2021-01-22T00:13:10.628330 | 2014-10-31T20:22:31 | 2014-10-31T20:22:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33 | cpp | ../../commonlib/MessageSender.cpp | [
"inamura@nii.ac.jp"
] | inamura@nii.ac.jp |
5f11c4135ad1e3259e5be3ece0a281e0a6810cd4 | 575ccc5e1269b843c7c4759871c90e1f75b3ffd8 | /OpenGLPlat/OpenGLPlat.cpp | ae7049bc49ef7cb62dd5b51ef423351adeba0d4c | [] | no_license | kennycaiguo/Computer-Aided-Geometric-Modeling | 50523b9cfdec3de67f238d16eca260bf205b58e7 | 0ee41539ba53804a96be07eb6d4a65a1472a4953 | refs/heads/master | 2022-02-25T18:52:55.518440 | 2019-11-02T06:20:51 | 2019-11-02T06:20:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,762 | cpp |
// OpenGLPlat.cpp: 定义应用程序的类行为。
//
#include "pch.h"
#include "framework.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "OpenGLPlat.h"
#include "MainFrm.h"
#include "ChildFrm.h"
#include "OpenGLPlatDoc.h"
#include "OpenGLPlatView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// COpenGLPlatApp
BEGIN... | [
"wch960426@126.com"
] | wch960426@126.com |
8139d6ef450b64b7123c1339980e524728982f6f | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/type_traits/is_same.hpp | cb7f882a08f27b640aed0548595bac75a68bdc26 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | hpp | ////////////////////////////////////////////////////////////////////////////////
// is_same.hpp
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes,
// Howard Hinnant and John Maddock 2000.
// (C) Copyright Mat Marcus, Jesse Jones and Adobe Systems Inc 2001
// Use, modification and distribution are su... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
6ac8b6e730f9e7829dcc150bf1dc764cc55889df | b122925a68dd997c9a9bc208fd0f53e4baa113de | /build/iOS/Preview1/include/Uno.Platform.ClosingEventArgs.h | ddb2fde8612ae60ba2fe5f29e8eadbfe8ae5af8a | [] | no_license | samscislowicz/Lensy | e2ca1e5838176687299236bff23ef1f692a6504e | 69270bad64ee7e8884e322f8e9e481e314293d30 | refs/heads/master | 2021-01-25T01:03:05.456091 | 2017-06-23T23:29:30 | 2017-06-23T23:29:30 | 94,716,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | h | // This file was generated based on '/Users/Sam/Library/Application Support/Fusetools/Packages/UnoCore/1.0.11/source/uno/platform/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.EventArgs.h>
namespace g{namespace Uno{namespace Platform{struct ClosingEventArgs;}}}
n... | [
"samantha.scislowicz@gmail.com"
] | samantha.scislowicz@gmail.com |
f8567b1ba072c0b23aa5eef3970d8858fb334b87 | 46b1de0d14505e69d3c106526fea1c7271c0b828 | /assignment4/main.cpp | ea120704982ee64516560c74cde63129088663c0 | [] | no_license | AStadum/C-C-Unix | 990a739d3673a65963115954c97f2ae7ed4ff98e | 608220423b64066a2067009cd124b2ef3140f0b0 | refs/heads/master | 2021-01-19T03:22:43.897482 | 2014-11-11T06:26:34 | 2014-11-11T06:26:34 | 26,472,953 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,024 | cpp | /*
* main.cpp
*
* Created on: Jan 27, 2014
* Author: norris
*/
#include <iostream> // needed
#include <fstream> // needed to read from a file
#include "mymaze.hpp"
#include "utils.hpp"
int main(int argc, const char *argv[]) {
if( argc != 2 ) //checks for the input file name
{
std::cerr << "Error: no... | [
"stadum@uoregon.edu"
] | stadum@uoregon.edu |
1758dcd135de76b2fff20206fe5f731591cf894b | 574249e7c5864b36b4cf6c26d7f23151f5f766d8 | /Iniciante/UOJ_1042 - (1006477) Accepted.cpp | 89237de959a9c86a9784c9dfeec3f56c8516a111 | [] | no_license | filipeherculano/Quest-esURI | f0de20cf361b7fc172a6c99ec84c5ca9e23b5302 | 059006838b43a2cd35cdea33ef66f3e95b31c9a8 | refs/heads/master | 2021-01-23T20:21:43.309839 | 2015-07-01T04:29:34 | 2015-07-01T04:29:34 | 37,881,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include <stdio.h>
int main(){
int i, x[3], y[3], aux, j;
scanf("%d %d %d", &x[0], &x[1], &x[2]);
for (i = 0; i < 3; i++){
y[i] = x[i];
}
for (i = 0; i < 3; i++){
for (j = 0; j < 3; j++){
if(x[i] < x[j]){
... | [
"alunos@Labcomp.(none)"
] | alunos@Labcomp.(none) |
e54cbd9167de4992348d91a6d91f72a9c4c84c91 | 43f9c0d3058f1f8b52231b2d8d06befbe4cfc873 | /ServeurWorms/Gestion.cpp | 5b15b28ec2f5ae464961af5d4311338836d45114 | [] | no_license | Predatorium/Worms | 33275d6b742a17f6da1029bbbd0e041999f3793e | c00146ffe94ba24b66e826a90e95b62d54c7fca9 | refs/heads/main | 2023-04-12T05:31:19.184868 | 2021-05-06T18:40:12 | 2021-05-06T18:40:12 | 364,231,303 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,595 | cpp | #include "Gestion.h"
int Gestion::Init(int _port)
{
// Vérification que le port soit libre si il est libre
// on commence à écouter les nouvelles connexions
if (listener.listen(_port) == sf::Socket::Done)
{
std::cout << "Serveur en ligne" << std::endl;
}
else
{
// Si le port n'est pas libre on quitte
ret... | [
"laurent.preda@gmail.com"
] | laurent.preda@gmail.com |
e29f28952eb88e7ca4ecbec32d9214ca743a8dc0 | eea06aa79c774cdb4b91cb9eae48c8be67289a82 | /walk-time.cpp | e9afd1e0c38e48160431552d0c702f7a412e4e31 | [] | no_license | JamesMCurrier/time-for-a-walk | a8939321285bcdc4dec2c5518094180e0f3c262c | 148fc3385789a7085f2c1f3aaa38ae8cd098f71d | refs/heads/master | 2022-11-14T21:16:20.890436 | 2020-07-02T01:35:23 | 2020-07-02T01:35:23 | 273,578,217 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include <iostream>
using namespace std;
int main() {
srand(time(NULL));
int mins = rand() % 60;
cout << rand() % 3 + 1 << ":";
if (mins <= 10) {
cout << "0";
}
cout << mins << "PM\n";
}
| [
"jcurrier@live.ca"
] | jcurrier@live.ca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.