blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
046fe3a10da5fd7e0b5fa67d99c9a3c52e12f446 | c4074e42d9120b42c5aa60f64f6cf0c7ade68f94 | /Buckland_Chapter7 to 10_Raven/Goal_SeekToPosition_Z.h | 09e3684a1c962e3e3734d1ac34e91552b3ff37ab | [] | no_license | azero18/RavenIAGv2 | 2466cde2796a184d9d3fe4e45199075a4c742057 | dfda8c3fe4038c2b68ecddfb56042441c8aa50f8 | refs/heads/master | 2021-01-01T15:59:01.140864 | 2015-03-18T18:32:12 | 2015-03-18T18:35:05 | 32,476,189 | 0 | 0 | null | 2015-03-20T15:13:31 | 2015-03-18T18:15:37 | C++ | UTF-8 | C++ | false | false | 776 | h | Goal_SeekToPosition_Z.h | #ifndef GOAL_SEEK_TO_POSITIONZ_H
#define GOAL_SEEK_TO_POSITIONZ_H
#pragma warning (disable:4786)
#include "Goal_Z.h"
#include "2d/Vector2D.h"
#include "Raven_Goal_Types_Z.h"
#include "Raven_Bot_Z.h"
class Goal_SeekToPosition_Z : public Goal_Z<Raven_Bot_Z>
{
private:
//the position the bot is moving to
Vector2D ... |
5a83efab961f82fe5cc7faefe0264a6a39166fac | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/CEF3/pristine/cef_source/libcef/browser/context.cc | e419d04012d1cca3b2870cd486c08012bdf815d1 | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 16,939 | cc | context.cc | // Copyright (c) 2012 The Chromium Embedded Framework 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 "libcef/browser/context.h"
#include "libcef/browser/browser_host_impl.h"
#include "libcef/browser/browser_info.h"
#include... |
6afb2cf600aa8ec505ba9fd2dd9fdb49525daad7 | cf51ef762288c9033085783d2cad0389a452ff45 | /cursesWindow.cpp | 832dc867e0401279b6ff6fc183c0b2931077b133 | [] | no_license | AdRiley/AquaAntelope | 506137becc89d3c1bb307a4697a142118fd97c4f | e4b56a976e2234598cc5a1de2e295ee122e7dfd4 | refs/heads/master | 2020-04-17T21:55:08.243519 | 2014-09-29T16:54:23 | 2014-09-29T16:54:23 | 23,805,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | cpp | cursesWindow.cpp | #include "cursesWindow.h"
cursesWindow::cursesWindow() :
m_win(initscr())
{
if (!m_win)
throw "Error initialising ncurses.";
noecho(); // Turn off key echoing
keypad(m_win, TRUE); // Enable the keypad for non-char keys
curs_set(0); // Hide the cursor
}
cursesWindow::... |
d718532b5859b55691303e9ca4fdb6d02e025f38 | 4058a231a1087fe458092d071cf9dacba608c4a1 | /Source/_Common/AI/BTTask_BP.h | 03b1c078eaa10292712fff9d8ff450296d59fd5b | [] | no_license | piandpower/UEModule | 99f54d8789e6e50bce686684753ce4db86567573 | 8c061f1d2a2476ab177bd154e4341123394f2e90 | refs/heads/master | 2021-05-15T00:36:22.786464 | 2017-09-12T15:56:40 | 2017-09-12T15:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | h | BTTask_BP.h | #pragma once
#include "BehaviorTree/BTTaskNode.h"
#include "BTTask_BP.generated.h"
// this is for Blueprint's parent
UCLASS(Abstract,Blueprintable)
class _COMMON_API UBTTask_BP : public UBTTaskNode
{
GENERATED_BODY()
public :
UPROPERTY(editinstanceonly, Category=Description)
bool IsShowPropertyDetai... |
35af7b354422dbe51cc5a50220875d49655a94f4 | 3322c2fcce9a7791e649533054540a0ceb23ad8e | /Include/QTSDataFieldDefine.h | 6e54c7c236f47f6a2f3b79d94d1956ba59daae00 | [] | no_license | jeffreymu/GTA-QTS-API | 052a8e4c3185c23b46b0a447ac3c5bf404ee02e1 | 0e6c22edd1f8f655a5b2eecf11674cbfa37a8fae | refs/heads/master | 2022-12-09T19:21:30.739658 | 2020-09-15T04:23:45 | 2020-09-15T04:23:45 | 295,612,351 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,897 | h | QTSDataFieldDefine.h | //////////////////////////////////////////////////////////////////////////////
/// @file QTSDataFieldDefine.h
/// @brief 数据类定义文件,包括数据缓存模板类,按字段访问类,字段数据类定义
/// @copyright Copyright (C), 2008-2014, GTA Information Tech. Co., Ltd.
/// @version 2.0
/// @date 2014.7.18
////////////////////////////... |
077c5ad080851ad237fdc5c70cd30beda95da2b6 | aa2ac425a8bb957a26763ae17e50d50f1cce8956 | /src/Addons/GeoWay/gwXML_StandardMetaData/type_gmd.CMD_TopologyLevelCode_PropertyType.h | d8a5fcf74e08ae79525ef01929178a0dcda0f229 | [] | no_license | radtek/CGISS | c7289ed19d912c432aae81d0cdbb6b080b4f5458 | 3f7cfa19d8024a67a5350d51e3f2f40a5e203576 | refs/heads/master | 2023-03-16T21:23:56.948744 | 2017-06-17T14:14:09 | 2017-06-17T14:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | h | type_gmd.CMD_TopologyLevelCode_PropertyType.h | #ifndef _ALTOVA_INCLUDED_gie_ALTOVA_gmd_ALTOVA_CMD_TopologyLevelCode_PropertyType
#define _ALTOVA_INCLUDED_gie_ALTOVA_gmd_ALTOVA_CMD_TopologyLevelCode_PropertyType
namespace gie
{
namespace gmd
{
class CMD_TopologyLevelCode_PropertyType : public TypeBase
{
public:
gie_EXPORT CMD_TopologyLevelCode_PropertyType(xe... |
67ae21c95b3218616e6a90f961f4851c7f00822f | de1ab6916371c27873097ba2d7f888b4d29b1c53 | /hanoi/mainwindow.hh | ef5f07f3102ed75b562b05211cb6743995f6d9b9 | [] | no_license | byl484/Tower_of_Hanoi_game | a2ba4d2fbdf0fc0b38196f4faa380d840ebda84e | d39d10cb5117fd51b665e3a90a582cfcaf27db48 | refs/heads/master | 2021-03-21T16:07:38.997091 | 2021-01-17T22:36:38 | 2021-01-17T22:36:38 | 247,310,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,816 | hh | mainwindow.hh | /* Mainwindow
* ------------
*
* This class' contructor setups the mainwindow and game board
* The game functionality is also defined in this class
* the gui engine is also defined in this class
* This class takes care of storing and deleting game
* disks from vectors they are saved in
* */
#ifndef MAI... |
f67103be297160477696437f095ef4e26fc25af0 | 75fbbbc16015d62f7db76d9f20d14d71dc26b70b | /Labs/Lab14/Camera/Camera/Camera.h | 4b15c93feafb2f3bc722f4a1c51668699b389181 | [
"MIT"
] | permissive | TabacowPSOL/CG | c6a23da559e5cae60ad9f96b75618f41d25c7437 | a082efef92149786a35b8bdd491f4effe1730c50 | refs/heads/master | 2023-08-19T13:05:14.553358 | 2021-10-24T16:22:18 | 2021-10-24T16:22:18 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,815 | h | Camera.h | /**********************************************************************************
// Camera (Arquivo de Cabeçalho)
//
// Criação: 27 Abr 2016
// Atualização: 26 Set 2021
// Compilador: Visual C++ 2019
//
// Descrição: Controla a câmera em uma cena 3D
//
***************************************************************... |
ccf1969e13f9f17e67a58dcb0f028f9908fec71b | 8f2e8a3320f8ab79a106ff7cf9c88eaa59f59257 | /使用C++和Qt完成读文件,写MySQL/include/dao/smgdao/sysinfodaolib.h | c98794c073d817d6c40293f5d7156b698f56f80e | [] | no_license | KqSMea8/My_C_Project | 1aa9b4793d3ecce6d7ea233b98786b1207a8e1f0 | cb7555737b91707a4785d7392b26e600c4ae742d | refs/heads/master | 2020-05-31T14:46:34.104077 | 2019-06-05T06:10:57 | 2019-06-05T06:10:57 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 518 | h | sysinfodaolib.h | // sysinfodaolib.h: implement for the CSysInfoDao class.
#ifndef _SYSINFODAOLIB_20130311_ZHANGPENG_H_
#define _SYSINFODAOLIB_20130311_ZHANGPENG_H_
#include "../../commgr/intfobjptrb.h" // for CIntfObjPtrB
#include "../../../interface/dao/smgdao/isysinfodao.h"// for ISysInfoDao
//DLL输出的接口对象引用
class ... |
269b5055f48eb7f8996f5edc6e678c25155618ef | f12a6e334acb1c81741528df5928725f0a33bb69 | /UbiGame_Blank/Source/Game/GameEntities/TimerEntity.h | deb9bdfb7742166c26ca0d81feb070defc260bf1 | [
"MIT"
] | permissive | jlanson/Hungry-Frogge-HTN | e1de806c350cb893ec0d5973a227ea09f9dce160 | f234bd1e46bd83f5c2a8af5535d3e795e0b8d985 | refs/heads/main | 2023-08-28T11:07:40.730247 | 2021-09-19T12:09:49 | 2021-09-19T12:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | TimerEntity.h | #pragma once
#include "GameEngine/EntitySystem/Entity.h"
#include "GameEngine/EntitySystem/Components/TextRenderComponent.h"
namespace Game
{
class TimerEntity : public GameEngine::Entity
{
public:
TimerEntity();
~TimerEntity();
virtual void OnAddToWorld() override;
virtua... |
04480d96a272b07798cc03b3aadd7f990910b852 | 5c7024568da3071eb8f555661e53f38933fe20df | /Pixelater/MainWindow.cpp | 2ce65f7c13f7371957ab5a6b8c22ea088d3cb2b9 | [] | no_license | ohyonghao/CompVisCUDAKernels | 86721edab73d8179710ebb1bc60fab3a2a89b52c | f14851284eab7ad8a94e5a171d4a2f238c99cb80 | refs/heads/main | 2023-02-20T18:55:43.772796 | 2021-01-27T17:19:55 | 2021-01-27T18:03:31 | 310,142,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,110 | cpp | MainWindow.cpp | #include "MainWindow.h"
#include <QSpacerItem>
#include <string>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent),
image{nullptr}
{
ui = new QWidget;
setCentralWidget(ui);
createMenu();
lQueued = new QLabel();
updateProcessLabel(0);
createDisplayGroup();
createFilterG... |
cba6188aff81e5c68df67b270dd90779733f8db8 | 0105cddfff93a37d26eda502754cefa0d04bab64 | /EDPonteiros/src/include/EstruturaDeDados.h | a77a509ce3f7bce785e69264c661732b0646cfb3 | [] | no_license | deciomoritz/EstruturaDeDados | 088664e0cc7ee79a664e74ef21c8a62de9ba4391 | fc7a84c0dbe956c925c7a6392e041179a40f14e7 | refs/heads/master | 2021-01-19T09:44:04.882781 | 2013-10-12T00:08:24 | 2013-10-12T00:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | EstruturaDeDados.h | template<typename Tipo>
class EstruturaDeDados {
public:
/** @brief Adiciona elemento na estrutura de dados
*
* @param t é o elemento que será adicionado à estrutura
*
* @return void
*
* @remarks Essa função não pode ser chamada com a estrutura cheia
*/
virtual void adicionar(Tipo t) = 0;
/** @brief ... |
a9045cce16bc79e44a87983ee8fff15c8e324c31 | 5e78487a917dbaaeeb8051e1287c0146fdc3de86 | /Hw5Camera.cpp | 0bd951983a91e574a802dc91a3d584adebfcd9ec | [] | no_license | ElrickChen/3D-Game-Programming | ca5b319da83dad71aa8957d83bf085f95330d60e | f7f99d65c98a4513ec87590e2422ad67d3c9677c | refs/heads/master | 2020-12-03T01:46:18.377727 | 2017-06-30T07:44:27 | 2017-06-30T07:44:27 | 95,862,869 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 7,017 | cpp | Hw5Camera.cpp | #include <math.h>
#ifdef _WIN64
#include <GL/freeglut.h>
#else
#include <GL/glut.h>
#endif
#include "Hw5Camera.h"
#define PI 3.14159265358979323846f
/*----------Culling----------*/
float plane[6 * 4]; // 上下左右近遠 Ax + By + Cz + D = 0
void mouseMove(int x, int y) {
windowMove[0] += (x - XY[0]) / 3.f;
float temp = (y... |
e303551f025f1f32b5d89ca725289ae446a74f8c | 1078476a28c14a0c9a528ba5c151ca9e020f9e97 | /dynamics.hh | 71feeb734b4eef993e8c4efb76d8ce2dbde31f56 | [] | no_license | cjatkinson422/GNClib | a84d08a84e199c509645703b51ad33610b3c3e43 | 3a3c55104f7b34b7e1db642280eb740424a26e39 | refs/heads/master | 2022-12-14T07:58:10.271679 | 2020-09-18T05:31:29 | 2020-09-18T05:31:29 | 191,268,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | hh | dynamics.hh | #pragma once
#include "linalg.hh"
namespace GNC{
mat4 cross_matrix(vec3);
} |
059a5d369865ef2c572a3733572f869d09b9b292 | 282ca0ddcea81678dcdc08029b636b0ee4fd36cd | /API-Samples/15-draw_cube/15-draw_cube.cpp | 65950dba54ff0d31813a2fadd8970f598bb661b3 | [
"BSD-3-Clause",
"LicenseRef-scancode-kevlin-henney",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | ViveStudiosCN/vulkan-openvr-sample | 50145fec90419f771c01ef62386638b97581857c | 5ad8a610ceb1c4592994fd2ebebd5e99c885dccc | refs/heads/master | 2021-01-23T06:15:29.611118 | 2017-06-01T08:19:18 | 2017-06-01T08:19:18 | 93,013,772 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,141 | cpp | 15-draw_cube.cpp | /*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, 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.or... |
9f366d33f9dcf872a21164cfe8ea8f8d25b6ce64 | 421a36394694042a4a99d75b1f9e5c0372177444 | /include/xynet/socket/detail/async_operation.h | b2879091048f07ba25e72a5fbefff4cd1f68aaac | [
"MIT"
] | permissive | Le0ric/xynet | f1b1bfac096dcb26fcffa99eec0d4f3799b1f967 | e3e7e457398aca230dba4c930b42a5d3054ffa0d | refs/heads/master | 2022-07-01T11:18:11.529985 | 2020-05-06T03:41:02 | 2020-05-06T03:41:02 | 261,649,991 | 1 | 0 | MIT | 2020-05-06T04:16:54 | 2020-05-06T04:16:53 | null | UTF-8 | C++ | false | false | 2,185 | h | async_operation.h | //
// Created by xuanyi on 4/28/20.
//
#ifndef XYNET_SOCKET_ASYNC_OPERATION_H
#define XYNET_SOCKET_ASYNC_OPERATION_H
#include <chrono>
#include "xynet/detail/timeout_storage.h"
#include "xynet/async_operation_base.h"
#include "xynet/io_service.h"
namespace xynet
{
template<
detail::FileDescriptorPolicy P,
typena... |
7117964193472da3fbf9f267567ad0951dae32df | e51246b0e81039c1aa35e24ff2420db00ac64ad5 | /include/asioext/error.hpp | 502d83ddfb38556f46617807b9d3a8d2923eb235 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zweistein-frm2/asio-extensions | 0bfa987face655bbb5ff0f6dc444d2f213cf0559 | bafea77c48d674930405cb7f93bdfe65539abc39 | refs/heads/master | 2022-06-20T18:15:51.593969 | 2020-05-05T09:01:47 | 2020-05-05T09:01:47 | 261,406,864 | 0 | 0 | BSL-1.0 | 2020-05-05T08:58:59 | 2020-05-05T08:58:58 | null | UTF-8 | C++ | false | false | 1,850 | hpp | error.hpp | /// @file
/// Defines general error codes.
///
/// @copyright Copyright (c) 2018 Tim Niederhausen (tim@rnc-ag.de)
/// Distributed under the Boost Software License, Version 1.0.
/// (See accompanying file LICENSE_1_0.txt or copy at
/// http://www.boost.org/LICENSE_1_0.txt)
#ifndef ASIOEXT_ERROR_HPP
#define ASIOEXT_ERRO... |
7ee676429646aa8751ed700ba3adb49bd8a20ce5 | 1826cd13e527cbd312d000681728467730ff9aa4 | /55.cpp | a766e4cfa5834a1f6599105f524d98dfbe18ed07 | [] | no_license | gcc-tan/leetcode | 3a9b21612e3c58f54ff20d72c254ca97c4039099 | e70e60ccbc86a7cb52eaedd9ba4a4fb61bfade65 | refs/heads/master | 2021-01-23T16:25:56.020498 | 2018-08-23T09:14:04 | 2018-08-23T09:14:04 | 102,742,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | 55.cpp | //Jump Game
/*
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine if you are able to reach the last index.
For example:
A = [2,3,1,1,4], return true.
A = [3,2,1,0,4], return... |
c6fb26ee15a60666e500adbd505393c45e3499b6 | e30d8e1c98a40273392efbe9a9eee6daf02df107 | /码库/CF553E Kyoya and Train.cpp | 8e23479c1e58c7ea6499a5c450544cd04dedc549 | [] | no_license | zzctommy/public-source-code | c11099de0e1bac21a9db26ab6d83d8e15ffdf460 | bf2cf1ea607f097952ccd059fb8fbbcce7b08466 | refs/heads/master | 2023-03-21T06:24:19.206752 | 2021-03-05T01:18:35 | 2021-03-05T01:18:35 | 277,446,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | cpp | CF553E Kyoya and Train.cpp | #include<bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define mkp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define sz(v) (int)v.size()
typedef long long LL;
typedef double db;
template<class T>bool ckmax(T&x,T y){return x<y?x=y,1:0;}
template<class T>bool ckmin(T&x,T y){return x>y?x=y,1:... |
04d7bea478005a689f1b669eef37d2fbb2c4ddf3 | a42333839fe2aa38c28d0fd39cc4e72743e18967 | /Engine/CubeMapGenerator.h | 40b38a5fd6e3eb8b074ca80aff098f69a0050795 | [] | no_license | ebithril/ModelViewer | d3f4bfe5eea998e96d6f2ce123f8934e92ae80d1 | 1f4414bd7d86e11b3a846a5107e513030d7053d7 | refs/heads/master | 2021-01-10T12:29:55.010567 | 2016-02-19T18:42:23 | 2016-02-19T18:42:23 | 52,108,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | CubeMapGenerator.h | #pragma once
#include "Texture.h"
namespace GraphicsEngine
{
struct SceneRenderData;
class CubeMapGenerator
{
public:
CubeMapGenerator();
~CubeMapGenerator();
static Texture GenerateCubeMap(const Vector3<float>& aPosition);
};
}
namespace GE = GraphicsEngine;
|
40c023097d2ca382f8f5fe8d8e61ff3af91beffc | a84b143f40d9e945b3ee81a2e4522706a381ca85 | /PGR2project/src/main.cpp | 8ea5490655b68adbbcf9486d62d692de6ae23e66 | [] | no_license | kucerad/natureal | ed076b87001104d2817ade8f64a34e1571f53fc8 | afa143975c54d406334dc1ee7af3f8ee26008334 | refs/heads/master | 2021-01-01T05:38:08.139120 | 2011-09-06T07:00:36 | 2011-09-06T07:00:36 | 35,802,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,324 | cpp | main.cpp | //-----------------------------------------------------------------------------
// [PGR2] PGR2-Model Viewer
// 14/02/2011
//-----------------------------------------------------------------------------
// Controls:
// [mouse-left] ... scene rotation
// [l] ... (re)load model
// [v] ... |
46bd1f1c751c11c596408b2da33603ea448244c3 | d1913394590c65d5f3858d124d49ba39bbf6a3a2 | /vc-magic/src/Cheats.h | 672653ee7c5ec312d3b0aaad2b343fbeeb01f0a4 | [] | no_license | Serabass/vc-magic | e690abddc462b1e18e6a2eba8763926504853be8 | 227d20e56d1bab60ae1b35e0e8a48aadfbe0b6ee | refs/heads/master | 2020-04-15T15:22:16.786270 | 2017-12-08T05:22:07 | 2017-12-08T05:22:07 | 52,162,160 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | Cheats.h | #pragma once
#ifndef CHEATS_H
#define CHEATS_H
OPCODE(0445, "", are_car_cheats_used);
class ViceCheats {
private:
static DWORD __stdcall Watcher(LPVOID lpThreadParameter);
public:
static char * strNUTTERTOOLS;
static char * strPROFESSIONALTOOLS;
static char(__cdecl* check)(char lastPressedChar, char * cheatStrin... |
2004cf551cd8f14fd3e46ae0611693d0b1df4236 | 9ca61a780f84f0a16df2ae1f98833888f9833dbe | /dropped/SerialLog.h | 3ec6abe788c903c92036183d77f6e82d5c9715c8 | [] | no_license | sabbiolino80/WaterinoESP | 133976b02638e314320786eb5a0fb88aeaea90a1 | 3aaaaf73f423dd52139c1168165af890abb407a8 | refs/heads/master | 2020-03-30T07:52:42.832132 | 2018-11-04T20:42:00 | 2018-11-04T20:42:00 | 150,972,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | SerialLog.h | #ifndef SerialLog_h
#define SerialLog_h
#include "Arduino.h"
class SerialLog
{
public:
SerialLog();
//~SerialLog();
void setup();
void logString();
private:
};
#endif
|
6387deab3b9da3c8d399cee65ebe84520f10b98a | e6aab19a83b758070494d982202026f2797d3008 | /Empirical/tests/test_systematics.cc | a710534c556349357cd1e488c6fad3e96e03343d | [] | no_license | zhaoyuanqi/Symbulation_outerprotein | 228a8657a4fb32babd43b922043d6f52bbd3700d | 0df296edff5845fb9c51827520a0f27709c58535 | refs/heads/master | 2021-10-08T11:39:50.462568 | 2018-12-11T21:14:38 | 2018-12-11T21:14:38 | 155,332,352 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,534 | cc | test_systematics.cc | #define CATCH_CONFIG_MAIN
#ifndef EMP_TRACK_MEM
#define EMP_TRACK_MEM
#endif
#include "../third-party/Catch/single_include/catch.hpp"
#include "Evolve/Systematics.h"
#include "Evolve/SystematicsAnalysis.h"
#include "Evolve/World.h"
#include "base/vector.h"
#include <iostream>
#include "hardware/AvidaGP.h"
#include "... |
532cb839ce19ae081e449804c556e4bc72a29610 | 338499dfb0b1635079ff796064905e7a8b3af6fc | /Chapter 1/Kattis/judgingmoose.cpp | ea6c917d4dc9d2340d47e9ed6c8b1d4a1ab85d2e | [] | no_license | Likey00/CP4 | a50a1209d66f02a305866896c7d91fddd4d9d8aa | 6106538784065e13f6682e88d826bb8832cc9df5 | refs/heads/master | 2022-11-26T02:55:05.662759 | 2020-08-02T18:38:02 | 2020-08-02T18:38:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | judgingmoose.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
//Initialize and take in l and r
int l, r;
cin >> l >> r;
//If both zero, output not a moose and exit program
if (l+r == 0)
{
cout << "Not a moose";
return 0;
}
//Depending on if they are equal, output even or... |
ca68554fae7b0047f4f466b244ad5f83f9c7cae5 | 7888f2f75d277c64bfc71009ec0eb32bc45a1681 | /Arquivos_Curso_Arduino/arduino_aula_37/Aula-37.ino | ccac041af762c5bd70bb195586991d46de89cf2c | [
"MIT"
] | permissive | maledicente/cursos | bba06a0d09037fd8cae69927c996805d513ddb25 | 00ace48da7e48b04485e4ca97b3ca9ba5f33a283 | refs/heads/master | 2023-08-12T03:01:02.799974 | 2021-10-11T14:29:35 | 2021-10-11T14:29:35 | 273,795,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | ino | Aula-37.ino | #include <LiquidCrystal.h>
#define btcima 8
#define btbaixo 9
#define bttiro 10
LiquidCrystal lcd(7,6,5,4,3,2);
int vel=100;
int pxnave,pynave,pxaste,pyaste,pxenergia,pyenergia,pxtiro,pytiro;
bool game,vtiro,vpilha;
int pontos;
double venergia;
int vtela;
byte nave[8]={B11000,B01100,B01110,B01111,B01111,B01110,B011... |
eba50e989ace9829fe4114a3b7ccecfb66a3e2c9 | e0da8214ab9bb27c1a524ce35b9f742381593c9f | /stockportfolio_priya.h | 25161d8acd855ef5e76e39cb4310adb375e64baf | [] | no_license | gksdooz/- | 72d41fbdd51dc06acba4e671336064ab489d863b | 1e375556630a88a5f36c4dd14f5423adba0f010e | refs/heads/master | 2020-06-02T20:07:14.048896 | 2019-06-11T04:24:48 | 2019-06-11T04:24:48 | 191,293,249 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,614 | h | stockportfolio_priya.h | //Shanmukha Priya Loke
//December 13th, 2015
#ifndef STOCKPORTFOLIO_PRIYA_H
#define STOCKPORTFOLIO_PRIYA_H
#include "account_priya.h"
#include<string>
using namespace std;
class ListNode //리스트 노드들의 구현
{
friend class stockaccount; //stockaccount를 프렌드클래스로 선언
public: //퍼블릭 멤버 함수
ListNode(s... |
65b343271dee9264350c865e03f2905f29d54f68 | 25249978ae1c0da9f4665f2a0d520437c6817c61 | /GritEngine/test.cpp | 637e4dc91a21638121f77e1900487087756e38e5 | [] | no_license | pranav-bt/MonsterChase | 9c519515d11c9b16d070babf7ed8a20b8eb3ae3a | cff3780c14c0515790e0b6c7140aec69e584b544 | refs/heads/master | 2023-08-16T04:56:02.647845 | 2021-09-15T07:49:04 | 2021-09-15T07:49:04 | 406,661,898 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | test.cpp | #include <assert.h>
#include"Point2D.h"
namespace GritEngine{
void Point2DUnitTest()
{
Point2D A(0, 1);
Point2D B(2, 3);
// equality
bool bEqual = A == B;
assert(bEqual == false);
bEqual = B == Point2D(2, 3);
assert(bEqual == true);
// Inequality
bool bNotEqual = A != B;
asser... |
6ee148b0ad1fd22d42f96d2823c267a1ad09a17a | 271e9b0643ad823b5bd9118f7c478988cb461526 | /kakula_prototype2/menukakula.h | ad68d51921b1db04a944922942c110a6a72c8560 | [] | no_license | sofyan48/e-kakula_Qt5 | 7b2a9b30d9e106ff2bafce78c870d2bf928e3ff5 | 953a37f1b94465f6ea64e525cc5867ae6f6d47f4 | refs/heads/master | 2021-05-28T01:01:54.641193 | 2014-07-21T14:28:05 | 2014-07-21T14:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | h | menukakula.h | #ifndef MENUKAKULA_H
#define MENUKAKULA_H
#include <QWidget>
#include <QMessageBox>
#include "nastyfft.h"
#include "settingsdialog.h"
#include "mediamusic.h"
#include "menudialog.h"
#include <QKeyEvent>
namespace Ui {
class MenuKakula;
}
class MenuKakula : public QWidget
{
Q_OBJECT
public:
explicit MenuKaku... |
21d22e3f5424be0e84192128504691998d39387a | 85ebf4abe0e6e544898d37ba59d5e70aff70039d | /oldGameEngine/Gamee/Archaeopteryx.cpp | 189cbf01cf7c688e04545ef39e922f9f7f5aca55 | [] | no_license | leonardo98/simplescripthge | ffd27b8c4eba98d3a456777a28f39c71614c05ae | a6b4a9f40e3243490b9f1671eb469043c266f74a | refs/heads/master | 2021-01-01T17:47:23.465871 | 2014-11-25T07:35:42 | 2014-11-25T07:35:42 | 33,180,859 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 12,790 | cpp | Archaeopteryx.cpp | #include "Archaeopteryx.h"
#include "../Core/Core.h"
#include "BirdsManager.h"
#include "ProductManager.h"
#include "GameField.h"
#include "../Core/Math.h"
const float Archaeopteryx::SPEED = 80.f;
Archaeopteryx::Archaeopteryx(const std::string &birdId)
: _mirror(rand() % 2 == 1)
{
_waterPos = FPoint2D(771, 628);... |
2c1cfdc57559b5b39cd45c07b9ae8a0a70e4f4e7 | 6cd65944e2e098edde991eb59110b672e537606b | /src/PMMR/Common/MMRHashUtil.cpp | f433d1a47d43b2d9bcc6c7d58a0caa18b031c41d | [
"MIT"
] | permissive | lokialice/GrinPlusPlus | af7286c0031ea5eb0ed016eba7af4b6840b11294 | af6f794601cfd6107196a03a543abbce34cb8dc1 | refs/heads/master | 2020-07-27T10:44:35.543002 | 2019-09-14T08:58:52 | 2019-09-14T08:58:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,613 | cpp | MMRHashUtil.cpp | #include "MMRHashUtil.h"
#include "MMRUtil.h"
#include <Crypto/Crypto.h>
#include <Core/Serialization/Serializer.h>
void MMRHashUtil::AddHashes(HashFile& hashFile, const std::vector<unsigned char>& serializedLeaf, const PruneList* pPruneList)
{
// Calculate next position
uint64_t position = hashFile.GetSize();
if ... |
8dbe87db8aafeae34c1dbff9c3857d0006a470ed | 1dae9a0fb62f77cb2256877991323fbb42efc6a6 | /Greedy/2217_rope.cpp | 24e4504e35a341d07813ff2e3ca9bac5e1468912 | [] | no_license | zittoooo/Algorithm | 629f43e4a7a5dcc6e6979a405cb24b8240efeb27 | cde05a5c53e17eada4e7aaed108e10baea35d8a0 | refs/heads/master | 2023-02-21T08:03:13.917685 | 2023-02-11T12:08:45 | 2023-02-11T12:08:45 | 242,290,448 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | 2217_rope.cpp | #include <iostream>
#include <algorithm>
using namespace std;
int n, rope[100005], res[100005];
bool desc(int a, int b)
{
return a < b;
}
int main()
{
cin >> n;
for (int i = 0; i < n ; i++)
cin >> rope[i];
sort(rope, rope+n, greater<int>());
// for (int i = 0; i < n ; i++)
// co... |
1af172a63a228d99f24df6c22a7cb540a4ac871b | 0f2b08b31fab269c77d4b14240b8746a3ba17d5e | /onnxruntime/core/providers/cuda/tensor/nonzero_impl.h | baa988831aba0d8546465ea02712fd8d0fd0290d | [
"MIT"
] | permissive | microsoft/onnxruntime | f75aa499496f4d0a07ab68ffa589d06f83b7db1d | 5e747071be882efd6b54d7a7421042e68dcd6aff | refs/heads/main | 2023-09-04T03:14:50.888927 | 2023-09-02T07:16:28 | 2023-09-02T07:16:28 | 156,939,672 | 9,912 | 2,451 | MIT | 2023-09-14T21:22:46 | 2018-11-10T02:22:53 | C++ | UTF-8 | C++ | false | false | 1,180 | h | nonzero_impl.h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <stdint.h>
#include "core/providers/cuda/shared_inc/cuda_utils.h"
namespace onnxruntime {
namespace cuda {
int NonZeroCalcBlockCount(int64_t x_size);
cudaError_t NonZeroCalcPrefixSumTempStorageBytes... |
95c87ab1caaa8a32e4adcd56c326c870ad4f141c | ffcd4f1e5738e7b1d4afffb0a8813c49ad3b4fc3 | /Hect/Source/IO/DataReader.h | 0661e00f8d63634e9aa05c293b6e5a932865e670 | [
"MIT"
] | permissive | colinhect/hect-old | eb6a83af5bc19b641c5882147522b8d05f3e4b50 | 5ee7429294f6ab8f40c7ff0eccba52fafa3086b3 | refs/heads/master | 2015-08-09T11:21:18.621812 | 2014-01-16T04:39:17 | 2014-01-16T04:39:17 | 14,322,838 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,349 | h | DataReader.h | ///////////////////////////////////////////////////////////////////////////////
// This source file is part of Hect.
//
// Copyright (c) 2014 Colin Hill
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal ... |
36860b717e7280799f90d8f7a3f646f4a456202e | bafb6ce3df578a2964d4f53e8a271c826267f7d8 | /src/ray/raylet/raylet.h | 5080e07301754fd8a06fecaf88852b5cdd7becb3 | [
"MIT",
"Apache-2.0"
] | permissive | adgirish/ray | b5c4aacce0aae92301036530be4345b9e13121e0 | ea172f025bddfc47f2fcaed3c014432ca4f8f21b | refs/heads/master | 2021-04-09T13:21:10.778833 | 2018-03-13T07:04:13 | 2018-03-13T07:04:13 | 124,731,449 | 0 | 0 | Apache-2.0 | 2018-04-06T06:24:20 | 2018-03-11T06:54:15 | Python | UTF-8 | C++ | false | false | 2,458 | h | raylet.h | #ifndef RAY_RAYLET_RAYLET_H
#define RAY_RAYLET_RAYLET_H
#include <list>
#include <boost/asio.hpp>
#include <boost/asio/error.hpp>
// clang-format off
#include "ray/raylet/node_manager.h"
#include "ray/object_manager/object_manager.h"
#include "ray/raylet/scheduling_resources.h"
// clang-format on
namespace ray {
c... |
ac918b2c92222d7b5a5596afb9b98e04765ec7cb | ebc5e13e1a88de8479649734c7244d3fa62c5bd0 | /evaluator/ajobs/10/sources/9_Gabor_Alex_02.cpp | 4c554ae36abbad99d71769cb580264a3592315d0 | [] | no_license | msorins/IronCoders | 9a1c84e20bca78a5f00ca02785f3617100749964 | 910713d6cfebeab2d88c19120a21238f17f3ff7f | refs/heads/master | 2021-01-23T08:29:12.189949 | 2019-02-24T09:35:37 | 2019-02-24T09:35:37 | 102,522,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | 9_Gabor_Alex_02.cpp | #include <iostream>
#include <fstream>
using namespace std;
int main()
{int MAX,save,k=0,N,v[1000],i=1,j=1;
ofstream in("trenuri.in");
ofstream out("trenuri.out");
ofstream ex("Explicatii");
cout<<"Introduceti numarul de vagoane(mai mare decat 2) disponibile:";
cin>>N;
in<<N;
MAX=N;
save=N;
while(N>=i){
cout<<"Int... |
f6eddd46ce208fa4bed5b16e1c3cb6d4c76adc15 | cee6866afc2f9a87a58826897d396ae8fde2c24b | /Skynet/Skynet_v1/Skynet_v1/Source.cpp | f0537782698a302f462ca2f79d12ebc39673056c | [] | no_license | Armando0102/Skynet_v1 | 77eb2e38d5613507f8b9d427e012c049f635d865 | 3267638ed5884b7bdb6490c9bab398c80344f427 | refs/heads/master | 2020-04-20T14:58:06.002830 | 2019-02-03T06:24:11 | 2019-02-03T06:24:11 | 168,915,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | cpp | Source.cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
void main()
{
srand(static_cast<unsigned int>(time(0)));
int randomNumber = rand();
int enemyLocation = ((randomNumber % 8) + 1) * 8;
int ping = 1;
int searchHighNum = 64;
int searchLowNum = 0;
int targetPrediction = ((sea... |
e40f8bbaa9f501fc9bfb391e3a12d3d7106df45a | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/VTK/Wrapping/Python/vtkSMParaViewPipelineControllerWithRenderingPython.cxx | 35838fa2114255d40003d6641f636fbb4908acad | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,847 | cxx | vtkSMParaViewPipelineControllerWithRenderingPython.cxx | // python wrapper for vtkSMParaViewPipelineControllerWithRendering
//
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include "vtkPythonArgs.h"
#include "vtkPythonOverload.h"
#include "vtkConfigure.h"
#include <vtksys/ios/sstream>
#include "vtkIndent.h"
#include "vtkSMParaViewPipelineControllerWithRendering.h"
... |
8e60105a85dd6fc92be1c25dd16850c613c7851e | 385cb811d346a4d7a285fc087a50aaced1482851 | /ICPC/2020/day0/main.cpp | 40533705fd2156b98f9f3593d3ae47efcbb991a5 | [] | no_license | NoureldinYosri/competitive-programming | aa19f0479420d8d1b10605536e916f0f568acaec | 7739344404bdf4709c69a97f61dc3c0b9deb603c | refs/heads/master | 2022-11-22T23:38:12.853482 | 2022-11-10T20:32:28 | 2022-11-10T20:32:28 | 40,174,513 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,969 | cpp | main.cpp | #pragma GCC optimize ("O3")
#include <bits/stdc++.h>
#define loop(i,n) for(int i = 0;i < (n);i++)
#define all(A) A.begin(),A.end()
#define pb push_back
#define mp make_pair
#define sz(A) ((int)A.size())
typedef std::vector<int> vi;
typedef std::pair<int,int> pi;
typedef std::vector<pi> vp;
typedef long long ll;
#define... |
2d85b2c8f985619b0e5912adf2db71b859f6551a | 6b005890858ce419a324e27fdd3f17460942a1ff | /Problems(UVA_CF)/Codeforces/699B.cpp | d771709b3b77cc1124545c3f115e87de4590e6f9 | [] | no_license | ragrag/Competitive-Programming-Library | 3c4f164fa50a7f0e10f4bbd5566aa4afb1bf1ad1 | 46e419ca2489402e4947dcb4b2963d2f0c7b31ee | refs/heads/master | 2021-05-01T18:50:28.684891 | 2019-10-01T17:52:23 | 2019-10-01T17:52:23 | 121,009,891 | 2 | 1 | null | 2019-10-04T15:08:34 | 2018-02-10T11:32:46 | C++ | UTF-8 | C++ | false | false | 974 | cpp | 699B.cpp | #include <iostream>
#include <math.h>
#include <algorithm>
#include <vector>
#include <iomanip>
#include <set>
using namespace std;
typedef long long ll;
typedef vector <int> vi;
vi dfs_num;
vector <vector<int>> adj;
void dfs(int u) {
dfs_num[u] = 1;
for (int j = 0; j < (int)adj[u].size(); j++) {
int v = adj[u][j];... |
71e8cab808a0d458aae9b5cd5dd279f1cddbbbc4 | f57902173fc586e5fb895134ea50dea735e49e0f | /IR/IR/IHasher.h | 128a93976c60832e545255faa3a6683783e13de4 | [] | no_license | BelfodilAimene/PDC-1---Indexation | ff26d98fd19f1e53f8263cabbb21271d790dc4bc | 2995224170369ac05716886006717433d2020d07 | refs/heads/master | 2016-09-01T07:31:34.409957 | 2015-11-03T10:36:01 | 2015-11-03T10:36:01 | 45,533,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | h | IHasher.h | #pragma once
#include <string>
using namespace std;
class IHasher {
public:
virtual unsigned int hash(string token) = 0;
}; |
3389e3f76bc2eb8f87d9c55093ea8476c3137dc8 | cd4e3f96ce07d94b09a2434c727260fc3ab9cb14 | /src/base.h | 548c4157a83ae984038a9a85119b38fa7a0eb940 | [
"MIT"
] | permissive | hmkum/HMK-OpenGL-Demo | afa276bc75b9db8675eb61705e1c80d0bb81ff1e | 254f5814ed1c552dd0ab348cd3ab9332c9d1ef70 | refs/heads/master | 2021-01-20T11:21:44.257512 | 2021-01-07T11:57:22 | 2021-01-07T11:57:22 | 25,045,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | h | base.h | #pragma once
#include <cstdint>
typedef std::int8_t int8;
typedef std::uint8_t uint8;
typedef std::int16_t int16;
typedef std::uint16_t uint16;
typedef std::int32_t int32;
typedef std::uint32_t uint32;
typedef std::int64_t int64;
typedef std::uint64_t uint64;
|
5ffb975396c70658eaeea37c9cd16a80e8265b94 | 6230de1dbb9da1c9c15ea3ea32d43832ddcb3ca7 | /srcs/Iterator/ForwardIterator.hpp | 37921c7d74e8cb1c980588c044f9ede7a9e41605 | [] | no_license | CberT-code/ft_containers | 341a2dd8127185dc0aaca796d2c6369bcf9ce678 | c8c87c66baac14166f2b49e2e45b940ab0e1cba4 | refs/heads/master | 2023-02-04T14:25:31.646502 | 2020-11-12T13:46:16 | 2020-11-12T13:46:16 | 306,025,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | hpp | ForwardIterator.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ForwardIterator.hpp :+: :+: :+: ... |
5050862564a5d64b2367da6fada5d2759d9510dd | 7388b64516208c6a7b03bba6700eac5515dfe048 | /SeedStoreScene/SeedStoreScene.hpp | 1bc8d629afac5f0102b883e11c5b4a9ad4983f5b | [] | no_license | Wenjin186/Classes | a055d81a8fa97d5d9c8a9927d64947e7fcaa1180 | 493ef06e63f4d47fbad404d6fb510cfbab70529d | refs/heads/master | 2020-12-03T04:16:21.757616 | 2017-08-04T04:26:04 | 2017-08-04T04:26:04 | 95,841,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | hpp | SeedStoreScene.hpp | //
// SeedStoreScene.hpp
// cocos3.10-mxzy
//
// Created by Wenjin Zhang on 2017/7/27.
//
//
#ifndef SeedStoreScene_hpp
#define SeedStoreScene_hpp
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "cocostudio/CocoStudio.h"
#include "cocostudio/WidgetCallBackHandlerProtocol.h"
#include "Protagonist.hpp"
#inclu... |
471415d90ff2c18065b01e481de42cef7f695c49 | 8c26d1b3ab61507ae65f0f6d090664b946e19e87 | /IMT2016024_A2/source/Vertex.cpp | b02efd9360606bbeebe7338db630fa68f3aa3b77 | [] | no_license | ShobhitBehl/Computer-Graphics | 503c021d192eca4bcf1643fede8b9eb1cbe13448 | f7d1585938da9b221049129ec0c86bc2bbc5e6d3 | refs/heads/master | 2022-04-03T10:05:36.315893 | 2020-02-13T16:51:22 | 2020-02-13T16:51:22 | 176,261,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | Vertex.cpp | #include "../include/Vertex.h"
using namespace std;
Vertex::Vertex(){};
Vertex::Vertex( glm::vec3 pos ){
position = pos;
normal = glm::vec3(0.0f, 0.0f, 0.0f);
}
Vertex::Vertex(const Vertex &v){
position = v.position;
normal = v.normal;
color = v.color;
}
glm::vec3 Vertex::getPosition(){
ret... |
d6da452f5629e97b73947423b6f19397e4088d2f | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/components/arc/compat_mode/resize_toggle_menu_unittest.cc | 11367114eca23fe509221018884889991cadccee | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 10,917 | cc | resize_toggle_menu_unittest.cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/components/arc/compat_mode/resize_toggle_menu.h"
#include <memory>
#include "ash/components/arc/compat_mode/arc_resize_lock_pref_delegate.h"
#include "ash/compo... |
c4ce8cc48d3246c12d782dc880d2639cd743e5fd | f4dc1073def4c95a19d4183475405c439cfc0aff | /Include/Physics/IntrBox3Sphere3.h | a60b2287a5a9e64ba5e587f28431ab3f82c23ea7 | [] | no_license | timi-liuliang/aresengine | 9cf74e7137bb11cd8475852b8e4c9d51eda62505 | efd39c6ef482b8d50a8eeaa5009cac5d5b9f41ee | refs/heads/master | 2020-04-15T15:06:41.726469 | 2019-01-09T05:09:35 | 2019-01-09T05:09:35 | 164,779,995 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 450 | h | IntrBox3Sphere3.h | #pragma once
#include "Physics/Shapes.h"
namespace Ares
{
//----------------------------------------
// IntrBox3Sphere3 2012-9-7 帝林
//----------------------------------------
struct IntrBox3Sphere3
{
Vector3 m_intrPoint; // 相交点
const Box3& m_box3; // 盒子
const Sphere3& m_sphere3; // 球
// construct... |
6ac9f44b303e11131b39b7688deaa6619a06d3ab | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/ptr_container/serialize_ptr_circular_buffer.hpp | 26b3d3aa0479c54a91aedfcc1893b0c331de43bd | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | serialize_ptr_circular_buffer.hpp | version https://git-lfs.github.com/spec/v1
oid sha256:a27d466f929ebc4c4f0ebc70d3c6a123e69dc205a121afc5b4613d65dce28b20
size 1408
|
7bfa9d446d4d8c2b6755249c343913ab0f5c88fa | 957a5a88598b0a8b042bfbfeac6794889ade0a18 | /9-找出字符串中第一个只出现一次的字符.cpp | 63af33cd9511dd95c174bf3036dc04c1e53f34e1 | [] | no_license | zhoutengteng/huawei | 65bd52ef409c80b28de606a1aa2cf1db068e0203 | a70090b0e3b15b108430d911c8310fcd7d6a54f2 | refs/heads/master | 2020-12-02T23:00:24.164626 | 2017-07-06T03:09:40 | 2017-07-06T03:09:40 | 96,215,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | 9-找出字符串中第一个只出现一次的字符.cpp | #include <iostream>
#include <list>
#include <string>
#include <cstring>
using namespace std;
int main() {
string str;
while (getline(cin , str)) {
char map[128];
list<char> li;
memset(map, 2, sizeof(char)*128);
for (int i = 0; i < str.length(); i++) {
if (map[str[i]] == 2) {
map[str[i]] -= 1;
li... |
c46d5c2a36a448c649e4655d36aaf8e01951d719 | 5f6a570fb02ed73c03bf2e426205d0fcef22fd18 | /tests/TestRunnersTests.cpp | 2bee95c5f49ce436c66c798fb8ac3bcff4f6a313 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | ea1111/mull | f16c11c5bd78cd423674b73c296415f0a6ce8e06 | 9025bfbe87ee8a4606348a7f427db5572164a64f | refs/heads/master | 2022-12-20T11:27:10.106552 | 2020-09-22T19:44:18 | 2020-09-22T19:44:18 | 298,547,485 | 0 | 0 | Apache-2.0 | 2020-09-25T11:37:00 | 2020-09-25T10:58:58 | null | UTF-8 | C++ | false | false | 4,520 | cpp | TestRunnersTests.cpp | #include "FixturePaths.h"
#include "TestModuleFactory.h"
#include "mull/BitcodeLoader.h"
#include "mull/Config/Configuration.h"
#include "mull/MutationsFinder.h"
#include "mull/Program/Program.h"
#include "mull/ReachableFunction.h"
#include "mull/TestFrameworks/NativeTestRunner.h"
#include "mull/TestFrameworks/SimpleTe... |
f706189a44651f1644046a763f6e2ecae063ba4f | e0bf5836e4f0d75b28b1f787446e655cdeeb8b03 | /files/AMR12D.cpp | 10fda1cf7cd63dd501cc31c8f45afc0dfa0c3b04 | [] | no_license | arunnsit/allcodes | 3f0b73facdee06e802455c6c3fb5de7baae702c2 | 5e6a8bf3883d0c5f67dfa7cc3dc026dbb4c63a71 | refs/heads/master | 2021-01-10T13:58:24.900593 | 2017-10-03T18:11:34 | 2017-10-03T18:11:34 | 50,598,937 | 0 | 2 | null | 2019-09-30T20:16:32 | 2016-01-28T17:06:03 | C++ | UTF-8 | C++ | false | false | 289 | cpp | AMR12D.cpp | #include<stdio.h>
#include<string.h>
int main(){
int t,i;
char a[20];
scanf("%d",&t);
while(t--){
scanf("%s",&a);
int n=strlen(a);
for(i=0;i<=(n-1)/2;i++){
if(a[i]!=a[n-1-i])break;
}
if(i==(n-1)/2+1)printf("YES\n");
else printf("NO\n");
}
}
|
9f33dc0cdb75e9b792885f4dee0419e2dbbc1142 | 9424cfe19b1db4e60ab9ff483fd67d3ad4ec81bd | /src/Shared/DynamicEntity.cpp | 0f60635cb8679d81b276bee15ab7cc944c84aa44 | [] | no_license | kiwon0905/PT | 64c51d4a93c50cb1bf810750fc1696a1a951b87e | facab17f518e22bd36fd91f0cf83a73c2fc491b6 | refs/heads/master | 2021-01-18T14:09:54.148016 | 2016-10-15T22:13:26 | 2016-10-15T22:13:26 | 16,738,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | DynamicEntity.cpp | #include "Shared/DynamicEntity.h"
#include <Thor/Graphics.hpp>
#include <Thor/Vectors.hpp>
#include <iostream>
DynamicEntity::DynamicEntity(Entity::ID id) :
Entity(id), mGoalVelocity(), mCurrentVelocity(), mAcceleration(), mRotation()
{
}
float DynamicEntity::accelerate(float current, float goal, float dt)
{
float d... |
546201fa6f39092bdd30aa5fcc3a1f3593e4c5ea | 3852cd1bd5e282dd23b8f7c64309cc2f598e3b75 | /personal/c++/MapEditor/src/gl/Map_Window.h | 31d064930736c403cc568228c48b1d984f696e58 | [] | no_license | chandl34/public | 4e6ca43afa410cd50f54f93d589a1784f51b55dc | e288ac323166f5170aaac7cd97d37dabffa70090 | refs/heads/master | 2021-08-18T05:42:00.234407 | 2021-07-29T02:43:03 | 2021-07-29T02:43:03 | 2,938,300 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 616 | h | Map_Window.h | #ifndef GL_WINDOW_H_
#define GL_WINDOW_H_
#include <FL/Fl.H>
#include <FL/Gl.H>
#include <FL/Glu.H>
#include <FL/Fl_Gl_Window.H>
#include "Camera.h"
#include "SelectBox.h"
#include "../map/LevelMap.h"
class Map_Window : public Fl_Gl_Window{
public:
Map_Window(int, int, int, int);
virtual ~Map_Window()... |
e70f2a25de2dab483a72642fe3746bf1e3ba7027 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/96/f678e6690c53f8/main.cpp | 07946db4222fbfe821ba8f051b71009a7b6231d9 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | main.cpp | #include <boost/variant.hpp>
#include <map>
#include <vector>
#include <string>
using Val = boost::variant<std::vector<int>, std::vector<std::string>>;
using Ref = boost::variant<std::vector<int>&, std::vector<std::string>& >;
std::map<std::string, Val> map {
{ "first", std::vector<int> { 1,2,3,4 } },
{ "2nd... |
733ca34ae19e8b17970f8efd30c4d871a9e4887c | aa4a3ccd4e5572396ec737c527c3b4da71a7ec30 | /src/material_library.cpp | 8fbd7c88413688725a0c29da50812e59d068047d | [
"MIT",
"BSD-2-Clause"
] | permissive | pyne/pyne | 6c4d178eedfdeb464966e99a3d27d794a04d1add | 8a9ef7291ca5a23ec4da8794cd19cbac93f849ef | refs/heads/develop | 2023-08-31T16:00:04.363507 | 2023-08-26T14:25:38 | 2023-08-26T14:25:38 | 1,684,953 | 218 | 168 | NOASSERTION | 2023-09-12T08:21:55 | 2011-04-30T15:04:07 | C++ | UTF-8 | C++ | false | false | 11,925 | cpp | material_library.cpp | #ifndef _WIN32
#include <unistd.h>
#endif
#include <fstream>
#include <iostream>
#ifndef PYNE_IS_AMALGAMATED
#include "material_library.h"
#endif
// Empty Constructor
pyne::MaterialLibrary::MaterialLibrary(){};
// Default constructor when loading from HDF5 file
pyne::MaterialLibrary::MaterialLibrary(const std::strin... |
c21a5cd1fa47e212b1d52ecb3bf09bb04baac475 | a69aeef1e65ac4e7ed828a0510981dc541e8f8dd | /22A/Hw5/Hw_5B.cpp | ff4a2a9d55f1754f46aa070857f469a5183f0190 | [
"MIT"
] | permissive | codewitty/De-Anza | fa9a7564605763c50e5168b2230037a7f58e65bf | 0e54993058f0f4e81ed263f9f2229a26dd990e9b | refs/heads/master | 2021-07-11T09:45:37.902630 | 2020-06-15T02:54:37 | 2020-06-15T02:54:37 | 153,695,631 | 1 | 0 | null | 2020-03-23T02:32:31 | 2018-10-18T22:34:06 | C++ | UTF-8 | C++ | false | false | 2,041 | cpp | Hw_5B.cpp | /**~*~*~*
PART B - Intro to files
This program writes 10 random numbers to a file.
Then reads the numbers from the file, displays them to the screen,
and calculates their average.
Finish the program following the specifications listed below as comments.
Run the program and save the output as a comment... |
80a95dfc356415096b190c199b207574b2548990 | b08fc650ada54f1165d6c9c3594c25c105e25a65 | /src/main.cpp | 8267c4078a37c27f73e5ab7d1e56db2ef38bfb5c | [] | no_license | nbogie/winamp_vis | f00cf2f6d746e64603ed5395e13d3832715d8d64 | 94aa2dc5bf65a00738380f321d484d6f3e3a0cfc | refs/heads/master | 2020-08-19T14:53:58.140976 | 2019-10-18T02:52:31 | 2019-10-18T02:52:31 | 215,929,074 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,223 | cpp | main.cpp | #include "vis.h"
#include "Spinner.h"
#include "TextBoy.h"
// initial window size
//DO NOT DELETE THIS. if you want you can change it
int width = 512 , height = 300 ;
Spinner* spinner;
TextBoy* textboy;
int* spectrumDataPeaks = new int[512];
int* spectrumDataPeakAge = new int[512];
int maxPeak = 0;
... |
76dcdc536c54fd5d955d6a7b7342dd3a6829e948 | 74272d8e473da29e57f01598e061103b7557484b | /src/dbengine/datamodels/DataPage.cpp | 2dd9901f036a9638f6edf24d1b00de6491828f9e | [] | no_license | lkshminarayanan/OurSQL | 513f94f65b4fbd5afa783ec6b3bfe4dea1b7fddb | b2eb5cbae465b6895cd015b7f48eb84a994d5540 | refs/heads/master | 2021-06-17T03:27:08.957559 | 2021-04-13T10:46:50 | 2021-04-13T10:46:50 | 9,874,255 | 2 | 0 | null | 2021-04-13T10:49:02 | 2013-05-05T20:40:06 | C++ | UTF-8 | C++ | false | false | 13,925 | cpp | DataPage.cpp | /*
* DataPage.cpp
*
* Created on: Dec 13, 2012
* Author: latchu
*/
#include "DataPage.h"
namespace datamodels {
DataPage::DataPage(){
//TODO: New Page. initialize dp obj and write it to page.
totalRecords = totalSlots = 0;//no. of slots in the page
totalFreeSize = pageSize - sizeof(DataPage);//total si... |
8868e0b4ff61c79c3629b3b383ff9860f9ee977d | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/7.0.0/vtkGeoMathWrap.h | 1ca74ab8f4a5db46920f76f93f726215122e39a6 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 1,478 | h | vtkGeoMathWrap.h | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKGEOMATHWRAP_H
#define NATIVE_EXTENSION_VTK_VTKGEOMATHWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkGeoMath.h>
#include "vtkObjectWrap.h"
#include "../../plus/plus.h"
cla... |
dee65b45f54d4cdd496965e18868ac22fad7c8d8 | 437a65e090f201e75e9b8962d064d52c4bbd53d1 | /Source_Code/Test Case/Sod Shock Tube/idealgas.h | a1f8da434b4b5b937ce13a2be6d7c78456180224 | [] | no_license | SulemanMahmood/PlasmaCombustion | 8033d33cafa5634a024227ffed041ca0a3b6c734 | 8e5fd1ef5f61f18a5800bf087768c163a231d713 | refs/heads/master | 2021-05-01T21:38:19.356499 | 2016-12-18T23:18:41 | 2016-12-18T23:18:41 | 70,857,633 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | idealgas.h | #ifndef IDEALGAS_H_
#define IDEALGAS_H_
#include "structdef.h"
#include "vecdef.h"
class IDEALGAS{
public:
void gaslaw(double3D p, flow3D a, int ndiv){
for (int x = 0; x < ndiv; x++){
for (int y = 0; y < ndiv; y++){
for (int z = 0; z < ndiv; z++){
p[x][y][z] = (gam-1)*a[x][y... |
9c60bbd7ed4fcfd5041b5d165d3bb28e86340d84 | 2b178aada541780df0559e899877240666cf1fc0 | /src/drawing/Gameplay.h | a318f5ccec9115953f57c36c9f210638601fdf8e | [
"MIT"
] | permissive | andystanton/lana-snake | 7529fa2c962abad0370d67207ad8506f52c9590a | 3778a4fa552a2471a64623edbf1a52e1011cda68 | refs/heads/master | 2021-07-01T20:04:34.848084 | 2017-01-09T09:16:18 | 2017-01-09T09:16:18 | 16,258,713 | 1 | 0 | null | 2014-03-04T09:25:19 | 2014-01-26T18:28:57 | C++ | UTF-8 | C++ | false | false | 481 | h | Gameplay.h | //
// Gameplay.h
// lanaSnake
//
// Created by Andy Stanton on 19/06/2013.
// Copyright (c) 2013 Andy Stanton. All rights reserved.
//
#ifndef __lanaSnake__Gameplay__
#define __lanaSnake__Gameplay__
#include "GLFW/glfw3.h"
#include "Primitive.h"
#include "../model/entity/Drawable.h"
class Gameplay {
public:
... |
cf06619349064e128a1f11201e0a76d4868a01be | 9b0aa02cc2f865e6cfa1d2b197bb20128ce8302c | /rtc_millis.cpp | 9fba2b6ea25bd138d6aa4fcf2d7284b90c7e4054 | [] | no_license | ampolez/CarPCBoard | 327ce177b8dc77d60becdaeeba49af84464171af | 5bde637cb216036e761bebcf1c1a8e2e9975ea90 | refs/heads/master | 2021-01-01T18:56:42.485623 | 2017-07-26T21:02:58 | 2017-07-26T21:02:58 | 98,465,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | rtc_millis.cpp | /*
* TestTimer_AVRCpp.cpp
* Author: ampolez
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/atomic.h>
#include "rtc_millis.h"
extern "C"
{
#include "rtc.h"
#include "twi.h"
}
static volatile rtc_millis_t msCount = 0;
/*
* Настройка портов и прерываний.
* Подготовка перефирийного оборудо... |
2c00c3d18326f9dd7f0cb362c9f9f483556e9cb6 | a32fd8cdadc6e2e6cc42beba8ef7c98b80d46ac0 | /eul+/euler0002.cpp | b8f1e8ca84e9eb250719458cb7b8981d66256694 | [] | no_license | DavieV/hacker-rank | 0b4aef7248f8ab9a18d8556c5804d3ce040d6cc1 | 05da18dffeda3be73780edcbb26e6a0bdb760151 | refs/heads/master | 2021-07-20T22:52:33.585411 | 2016-10-04T21:49:18 | 2016-10-04T21:49:18 | 37,431,398 | 0 | 1 | null | 2016-10-04T21:49:19 | 2015-06-14T22:06:41 | C++ | UTF-8 | C++ | false | false | 511 | cpp | euler0002.cpp | #include <iostream>
long long sum(long long n);
int main() {
int t;
long long n;
std::cin >> t;
for (int i = 0; i < t; ++i) {
std::cin >> n;
std::cout << sum(n) << std::endl;
}
}
long long sum(long long n) {
if (n < 2)
return 0;
long long p1 = 1, p2 = 2;
long l... |
f209bc5736a14f033dcad611b84ff78095158b42 | 6691bd2a31b68a2edd899ab74f130b85680efd6c | /input.h | 5fb1d5d3d039554eedbda7b1d4538017879329c4 | [] | no_license | Suzuki01/RhythmGame | 301f82defc736ee6249dfaa126771a45354177db | abe1c6c04008a6b99656e0a9ff3164caecf930ae | refs/heads/master | 2020-06-18T15:08:18.154305 | 2019-09-08T04:42:00 | 2019-09-08T04:42:00 | 196,341,507 | 1 | 0 | null | 2019-09-08T04:42:00 | 2019-07-11T07:21:47 | C++ | UTF-8 | C++ | false | false | 360 | h | input.h | #pragma once
#include "model.h"
#include "camera.h"
#define NUM_KEY_MAX (256)
class Input {
public:
static BYTE key[256];
static BYTE releaseKey[256];
static BYTE triggerKey[256];
static bool Keyboard_IsPress(int nKey);
static bool Keyboard_IsTrigger(int nKey);
static bool Keyboard_IsRelease(int nKey);
static... |
9c0e80f4611ce996346c1f849e43688fe8283384 | 4ffdc4341ce50d462dc9ed0198691b9aa5f2d0ba | /week-06/day-4/12.cpp | eeabe14fff74f8850fd913ec17f62bd8428a8423 | [] | no_license | greenfox-zerda-sparta/Akatakata | b1289cc176a88f5e51133e4e723e97ad9a71e402 | a4a7f464c66582568c238eea7b98ecc949f87c05 | refs/heads/master | 2021-01-12T18:14:53.086793 | 2017-02-14T14:32:17 | 2017-02-14T14:32:17 | 71,350,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | 12.cpp | #include <iostream>
#include <vector>
using namespace std;
void increase_inner_element(vector<vector<int>>& vect, int selector, int elem_selector) {
vect[selector - 1][elem_selector - 1] += 1;
}
void print_outer_vector(const vector < vector<int>>& vect) {
for (unsigned int i = 0; i < vect.size(); i++) {
for ... |
307638df2b2f0120cdbaa5f2153d1b5f3da8b733 | 163dbd5d3461de2fa3623384a38ed19b8effba50 | /Practicas C++/Programa De los Boletos.cpp | cfd00d7b4b007fbf295bb516b03c90333f8ee415 | [] | no_license | Alane-Tc/Practicas_Universidad | 4da566dddf0a5931d9f860018ae8ce59afa114ac | a26224d2ce99cb1f2b2c4d7484da16bea2406ba0 | refs/heads/master | 2023-04-30T23:38:49.302160 | 2021-05-24T03:42:38 | 2021-05-24T03:42:38 | 298,710,686 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 880 | cpp | Programa De los Boletos.cpp | #include <iostream>
using namespace std;
int main ()
{
char tipoBoletoSeleccionado;
char resultado;
do
{
cout<<"Selecciona El boleto Que Desea"<<endl;
cout<<endl;
cout<<"Seleciona El Boleto Que Desea"<<endl;
cout<<"A=Adulto N=Niños I=Adultos Con Credencial"<<endl;
cin>>tipoBoletoSeleccionado;
if (tipoBoletoSeleccionad... |
96e3d8971b1df0b97ef2de2186b23b66b566c667 | 3df170eeee0432d9594c6d12e1f60b587ec931f5 | /P11_7/P11_7/main.cpp | 22f0fd84edd06831c412f32e72f4930f4c45ffe2 | [] | no_license | Rakatashii/cpp_ch11 | 21847b27631d1ba21201b10c0c08f37c82f1d434 | 0d83b6815b1c17b95e57b7d91139e23cf6b7cdc5 | refs/heads/master | 2020-04-07T10:19:35.198902 | 2018-11-25T06:53:27 | 2018-11-25T06:53:27 | 158,282,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,784 | cpp | main.cpp | /*
Exercise P11.7.
Use the modification of the binary search function from Exercise P11.6 to sort a vector.
Make a second vector of the same size as the vector to be sorted.
For each element in the first vector, call binary search on the second vector to find out where the new element should be inserted.
Then mo... |
0cfab671bf0d65ad0628f43657e75fb2ef8e0bf1 | 89b35d45e04df288bca5681242da4a1bda3f34ee | /factor_SVD.h | 63e78c2e56ceb3b5f5e34e690a91badb5e767c57 | [] | no_license | JCatwood/SKP_CGKT | 7ae8e0e8ed0b9702321b39e09453589cadd055eb | 2b6ca8ac4f74fe923fed0700e308c8ca86980dd5 | refs/heads/master | 2023-01-31T09:58:13.495333 | 2020-12-14T13:24:35 | 2020-12-14T13:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,100 | h | factor_SVD.h | #ifndef FACTOR_SVD_H
#define FACTOR_SVD_H
#include <vector>
#include "Dense"
/*
The new class stores the number of factors as
well as the factors' number of rows/columns
Each column of the Matrix stores one factor
*/
class TreeNode {
public:
unsigned int num_term;
int U_num_row;
int U_num_col;
int V_num_row;
i... |
c0b018b801f4e9103ea5ea6bc1c605f651256022 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/netfx/src/framework/xsp/inc/names.h | c7791f46dec92e4d1182f969551b99746adae991 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 15,403 | h | names.h | /**
* names.h
*
* Names of files, registry keys, etc.
*
* Copyright (c) 1998-1999, Microsoft Corporation
*
*/
#ifdef __cplusplus
#pragma once
#endif
#include "fxver.h"
#define PRODUCT_TOKEN_3(x, y) x ## y
#define PRODUCT_TOKEN_2(x, y) PRODUCT_TOKEN_3(x, y)
#define PRODUCT_T... |
d225ecad273bb4acf62ca7be0feb7c4c26d30b3c | e267a066b7ee39f6d3fe2cb983725fd55196c63b | /360VR_refactor/arduino/arduino testing scripts/timerTest/timerTest.ino | e74053552cd6daa06697af22262dc969bdae8064 | [] | no_license | AndreasHogstrand/VR_pyControl | 147e70aeda54eaaf797ab23c503a66d27c26ab03 | 91d720cfdc5bce43fd021af7a55d7a0a7ae7374a | refs/heads/master | 2021-01-02T07:42:45.004912 | 2020-09-29T08:57:08 | 2020-09-29T08:57:08 | 239,552,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | ino | timerTest.ino | #include <elapsedMillis.h>
const int REWARD_AVAILABLE_MILLIS = 1500;
void setup() {
Serial.begin(9600);
}
void loop() {
elapsedMillis timeout = 0;
while (timeout < REWARD_AVAILABLE_MILLIS) {
char ch = Serial.read();
if(ch == 'a'){
timeout = 0;
Serial.print('o');
}
}
Serial... |
fa03559fb675bb42fc8c652a7247b4941482a595 | d1ac016ce8e7376ffb3e33401962cd7cc8c94b93 | /langford-sequence.cpp | 0a5d6efaf4197b063fd5fe43e52ab75ee6244ee3 | [] | no_license | GabrielInTheWorld/tbb-exercise | a3c8a571ee448a14d3293645c14724499192038a | 27dbfac5dcfcb21a34b071e900a669bf6683fa0d | refs/heads/master | 2020-09-14T16:28:12.765863 | 2020-03-11T21:52:39 | 2020-03-11T21:52:39 | 223,184,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | cpp | langford-sequence.cpp | #include "langford-sequence.h"
LangfordSequence::LangfordSequence(int numberOfColors, int* solutions) : langford(numberOfColors), count(numberOfColors), solutions(solutions) {
//initialize();
}
LangfordSequence::LangfordSequence(Field& field, int count, int* solutions) : langford(field), count(count), solutions(s... |
ec08b6162db13fa7abbef00cc2636b2d3725720b | 4610baf9a7e81cad6e52fe49289a5f234861732b | /driving/dgccompat/include/velodyne_interface.h | ad138ac3d60893c894b35a9d260c0d633640ab27 | [] | no_license | kuasha/stanley | 07f924f6ff61413f5baabd5b6605d4289e93c68d | b6b6d3a9efd4611258b2a6337ef25007f406bd80 | refs/heads/master | 2021-01-19T00:57:09.752337 | 2016-08-15T02:36:18 | 2016-08-15T02:36:18 | 65,698,509 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,416 | h | velodyne_interface.h | /********************************************************
Stanford Driving Software
Copyright (c) 2011 Stanford University
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... |
9720c9d0e058b064fb328ee0109bc38b48d50dbf | 2f7bddfb175372334a5acc39f49f284a558eb732 | /geant/SFERA/src/B3DetectorConstruction.cc | bb5214bbd23679c6f3764b7300b0d26cbbb77ef6 | [] | no_license | AndreaAllegrucci/Sfera | 838b2150f8d680ab30c543672d1686d45a2a7e88 | 66f00e39372b1c5b81b0e384e7e40863f5718a7f | refs/heads/master | 2020-04-10T12:06:45.995672 | 2018-09-10T17:21:55 | 2018-09-10T17:21:55 | 124,273,269 | 0 | 4 | null | 2018-09-09T09:32:47 | 2018-03-07T17:51:46 | C++ | UTF-8 | C++ | false | false | 12,707 | cc | B3DetectorConstruction.cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... |
5160f2432e816589cb41c82a0318fcaeccb87703 | 9ce87344ebbbfbaaab31684c3de43b685135c177 | /Framework/Utility/FileModifyMonitor.h | f985ad7e3f9de30f5aa81f8535b353520e63000a | [] | no_license | zqrtalent/MercuryUI | 1582d0468034d8c0550e3a4e6cf8988f7d0bc44c | 1b6e9659c0b5ffb92eba2a2ba351dc83564f8a4d | refs/heads/master | 2020-05-22T01:43:57.422948 | 2016-11-19T18:46:52 | 2016-11-19T18:46:52 | 65,150,951 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | FileModifyMonitor.h | #pragma once
#include <afxmt.h>
#include "..\Array\List.h"
#include "..\Array\AutoSortedArrayInt64.h"
#include "ThisCallHelper.h"
class FileModifyMonitor
{
public:
FileModifyMonitor();
~FileModifyMonitor();
bool StartMonitor(CString sFile, FileModifiedMethod callback, void* lpClassObject);
bool ... |
8b2cea43ae9a307336816e882e93e1ef5f2f9f24 | 717571eb490eefaec0cd52dc1b49b1e59da31361 | /src/Render/Scenes/SceneRenderContext.cpp | 96a67be5bf692d59e9d423b6ed9660caa0d14634 | [] | no_license | benreid24/BLIB | d726c48ceab133071e6bf81a638f3217ce4dfe5a | a5e4cf2eba649089940c2414e3dce57b654e0d59 | refs/heads/master | 2023-08-31T23:02:12.963457 | 2023-07-25T19:25:43 | 2023-07-25T19:25:43 | 234,001,128 | 1 | 0 | null | 2023-09-10T23:09:36 | 2020-01-15T04:54:14 | C++ | UTF-8 | C++ | false | false | 2,504 | cpp | SceneRenderContext.cpp | #include <BLIB/Render/Scenes/SceneRenderContext.hpp>
#include <BLIB/Render/Buffers/IndexBuffer.hpp>
namespace bl
{
namespace rc
{
namespace scene
{
SceneRenderContext::SceneRenderContext(VkCommandBuffer commandBuffer, std::uint32_t observerIndex,
const VkViewport& vp, std::uint3... |
11c4f9547efec89284cd9bd47300a666f8dadf05 | 904172fd219088647b3f80ea7fd80efca8f99930 | /PbfVsLib/include/utils.h | 3e4f07311b2a549f45b99dbe4141f48ef055ce1b | [] | no_license | penguin1214/PbfVs | 5a74a5606b880468dc437d4bf75357bf8dedf766 | dcdf6a6b1050e38fa199598490b871f510b66d0f | refs/heads/master | 2021-01-01T06:56:57.048995 | 2017-06-08T05:37:22 | 2017-06-08T05:37:22 | 97,558,011 | 1 | 0 | null | 2017-07-18T05:53:24 | 2017-07-18T05:53:24 | null | UTF-8 | C++ | false | false | 316 | h | utils.h | //
// utils.h
// PBF
//
// Created by Ye Kuang on 10/14/16.
// Copyright © 2016 Ye Kuang. All rights reserved.
//
#ifndef utils_h
#define utils_h
#include <iostream>
#include <fstream>
#include <string>
namespace pbf
{
std::string ReadFile(const char *filepath);
} // namespace pbf
#endif /* utils_h */
|
13e0c99771caf669dbe810d6999b6ff87ae33715 | 4273135a9c8fd46c47a6871506c02b98a37c5503 | /algocoding/leetcode/search_in_rotated_sorted_array_II.cpp | e30fffdd41b383b3cbcd3b28e14c3d6fb0d2884b | [] | no_license | xuyuanxin/notes | f31cd6c8bce0357f0ac4114da7330901fce49b41 | d8fed981a2096843a62bb4a40aa677168e11f88e | refs/heads/master | 2022-05-06T22:54:42.621373 | 2022-04-23T07:26:00 | 2022-04-23T07:26:00 | 25,041,042 | 2 | 2 | null | 2022-04-22T23:36:23 | 2014-10-10T15:18:08 | C | UTF-8 | C++ | false | false | 1,669 | cpp | search_in_rotated_sorted_array_II.cpp | /*******************************************************************************
Remove Duplicates from Sorted Array(Medium)
*******************************************************************************
Follow up for "Remove Duplicates":
What if duplicates are allowed at most twice?
For example... |
b5f0caafac132cf2aeafa6978c9f5aa84c096b7f | 48886bc607aa50412dad58a59ce5289f1da6df4d | /src/audio/age_audio.cpp | 0f3fb18c1dfb4af4ce5e69a5e61bae826ab494d8 | [] | no_license | tangziwen/AGE2D | a3bdebfb47fed7a2ba35905a7a053d6e4092040a | 61d754c535e24a5380565886bf3fbb5af019882b | refs/heads/master | 2021-01-18T18:12:58.384466 | 2014-02-11T06:17:04 | 2014-02-11T06:17:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | age_audio.cpp | #include "../include/age_audio.h"
namespace AGE2D
{
AAudio::AAudio(QString audName)
{
Init();
this->audName = audName;
audio();
}
AAudio::AAudio(QString audName,int mods)
{
Init();
this->mods = mods;
this->audName = audName;
audio();
}
void AAudio::audio()
{
if(mods == 0)
{
QFile ... |
5ae03caf386f59b93fc8397b02c3fc9cde4a5367 | b2f07a88a366d2a380b5e4a62e65ed45c41b2fe4 | /tests/test/scheduler/test_function_client_server.cpp | 2caf47e449b754db8777c1b538c6933049f2a898 | [
"Apache-2.0"
] | permissive | csegarragonz/faabric | c33b66df2deb53e8819d6aa6ed108d3a726f0b22 | 45c97c35958e6e811b43841ab7281df9b584b43c | refs/heads/master | 2023-03-23T12:34:18.537194 | 2021-03-01T16:27:43 | 2021-03-01T16:27:43 | 305,748,783 | 0 | 0 | Apache-2.0 | 2021-01-21T16:53:04 | 2020-10-20T15:15:43 | C++ | UTF-8 | C++ | false | false | 5,720 | cpp | test_function_client_server.cpp | #include <catch.hpp>
#include "faabric_utils.h"
#include <faabric/redis/Redis.h>
#include <faabric/scheduler/FunctionCallClient.h>
#include <faabric/scheduler/FunctionCallServer.h>
#include <faabric/scheduler/MpiWorld.h>
#include <faabric/scheduler/MpiWorldRegistry.h>
#include <faabric/scheduler/Scheduler.h>
#include... |
51990a8556e840fb5cfc0d1af3543569b3b84c39 | 2c04f42d3a3e1e5184cc03af495d2286fc392581 | /src/Terminal.h | 435fceeadf8b38dff82cc002e123871f2a297fb8 | [] | no_license | Zakuta/dijkstra-steiner-algo | 5b6ddb4757b8fa5533c2509db853030cc7a365d7 | f58251533a7787bb90805739c2195c48f4847650 | refs/heads/master | 2020-04-27T13:09:10.077980 | 2019-03-07T14:20:15 | 2019-03-07T14:20:15 | 174,358,301 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | Terminal.h | #ifndef CHIP_DESIGN_TERMINAL_H
#define CHIP_DESIGN_TERMINAL_H
#include <vector>
#include "Position.h"
class Terminal
{
public:
using Vector = std::vector<Terminal>;
using Index = size_t;
Terminal(Position const &position, Terminal::Index const index);
bool operator==(Terminal const &rhs) const;
bool operator!... |
489d07cabf2851f03335c6fd53947af3e2a042f1 | ada447d1a7d63c67ee1f5bf682fe1e0044ff061a | /Protocol_protobuf/Protocol_protobuf/Proto/Progress.pb.cc | edcd7948f43f84ef52ff68d0c3b88cddb1c9fe5d | [] | no_license | learner737/work_files | 7187c24212594deef27c458f25dc51a18936c95c | 60378f2b03ef1d954abf03d27b016098d43c6e1f | refs/heads/master | 2023-08-19T04:23:24.817408 | 2021-09-27T03:48:48 | 2021-09-27T03:48:48 | 402,344,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 49,857 | cc | Progress.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "Progress.pb.h"
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#inclu... |
84f4f0dd815ef058242e474f6a54de5aeb84902f | 0f0e9dc1b06211e9b7cbe542b2d89f5f2c4e98ef | /analysis/h5analysis/include/Jet.hpp | d6835bc036cf17177771bdaeb1714a2bd881cd17 | [] | no_license | dgeissbue/autoencodeSVJ | 07a7708cb9a04ed0faf19ff2370d1d8a4d1a8059 | 57ce01eb19688155267e69a126437c5b787f6e34 | refs/heads/master | 2023-06-05T16:19:40.444189 | 2021-06-28T12:16:00 | 2021-06-28T12:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | hpp | Jet.hpp | //
// Jet.hpp
// h5parser
//
// Created by Jeremi Niedziela on 17/07/2020.
// Copyright © 2020 Jeremi Niedziela. All rights reserved.
//
#ifndef Jet_hpp
#define Jet_hpp
#include "Helpers.hpp"
#include "Constituent.hpp"
class Jet
{
public:
Jet(){}
double eta, phi, pt, mass, chargedFraction, PTD, axis2, ... |
8788e31fa0126c38a41eeace09c2cf8ef3668878 | 815ae13bcfb110873a1581df60b9ac845f2dc409 | /Scene/SceneBase.h | 9fe97758c1d2318ff6843d5d2016a6269ca6b8dc | [] | no_license | idham9206/SlimeDungeonCrawl | f743ce73aecb7dc06f95ffb8ba7e91ce5f59a0f8 | 68269578bdc3b0b885ac7c31ab4be5b541f00c28 | refs/heads/master | 2020-04-08T10:27:42.428554 | 2019-07-09T03:04:37 | 2019-07-09T03:04:37 | 159,269,884 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,904 | h | SceneBase.h | ////====================================================////
//// ベースシーン クラス ////
//// ////
//// 作者:ムハマドイダム ////
////====================================================////
#pragma once
#include "../DeviceResources.h"
#include <CommonStates.h>
class SceneBase
{
public:
SceneBase();
~SceneBa... |
2b718e8bfd03f3662e835eec0a6d77cb5de72b9f | 485faf9d4ec7def9a505149c6a491d6133e68750 | /src/apps/gateway/GatewayPrefsGUI.H | 4fb5a5f28b262b343450192518bda56bf909722d | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | ohlincha/ECCE | af02101d161bae7e9b05dc7fe6b10ca07f479c6b | 7461559888d829338f29ce5fcdaf9e1816042bfe | refs/heads/master | 2020-06-25T20:59:27.882036 | 2017-06-16T10:45:21 | 2017-06-16T10:45:21 | 94,240,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,985 | h | GatewayPrefsGUI.H | /////////////////////////////////////////////////////////////////////////////
// Name: GatewayPrefsGUI.H
// Purpose:
// Author: Lisong Sun
// Modified by:
// RCS-ID:
// Licence:
/////////////////////////////////////////////////////////////////////////////
#ifndef _GATEWAYPREFSGUI_H_
#defin... |
01d5bb050deed146213f7bfd73e63a0f7c808cfa | 14b0436b62bad927e467fb62f70f5b492109da7b | /kmc_events_ircal.cpp | 233f74fffd4cfbb3766642e3a3d16bed39d89d03 | [] | no_license | muskyhuang/kMC_simulator | fb14402700c704f3d3b48d3b314bf149d5572f34 | e146c39362dab0ead0b96f2192e87390c7ad61ba | refs/heads/master | 2021-01-10T06:51:13.480380 | 2015-12-31T23:42:26 | 2015-12-31T23:42:26 | 51,041,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,674 | cpp | kmc_events_ircal.cpp | #include <iostream>
#include <cmath>
#include <vector>
#include "kmc_global.h"
#include "kmc_events.h"
using namespace std;
double class_events::cal_ratesI(vector <int> &etype, vector <double> &rates, vector <int> &ilist, vector <int> &nltcp, vector <int> &jatom){
double sum_rate= 0;
if(nAA + nAB + nBB != list_itl.... |
83b085b9aedc88d96000fc5ccbac2c50efd15cee | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir8254/dir8444/dir8720/dir10555/dir10556/file10568.cpp | e8117a2a3c8df79c9ab6831a37da3036ab6229a4 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | file10568.cpp | #ifndef file10568
#error "macro file10568 must be defined"
#endif
static const char* file10568String = "file10568"; |
bd79c442d419cb49feb4788d53b6dcf8850adf92 | 12860ce51995e0a893f5b8f109a99faa53590aa4 | /designpattern/3-builder/ASetMealBuilder.cpp | 51171a760716eb3b2164d4ca5aab061f4cd4df0b | [] | no_license | owenl19880929/study | a6f9ae85f606621c378e7d477959a1ee8e32d583 | ae6ec95ca73de49231d988226a2dd3eab36e5dbe | refs/heads/master | 2023-04-30T18:49:07.384279 | 2023-04-14T07:09:41 | 2023-04-14T07:09:41 | 120,842,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | ASetMealBuilder.cpp | #include "SetMeal.h"
#include "ASetMealBuilder.h"
ASetMealBuilder::ASetMealBuilder(){
meal = new Meal();
}
ASetMealBuilder::~ASetMealBuilder(){
delete meal;
meal = NULL;
}
void ASetMealBuilder::buildMainFood(){
cout<<"A setmeal: buildMainFood...\n"<<endl;
meal->setMainFood(SETMEAL... |
58f0fb0c61131eb536e498ca042edfe4121abae3 | 9f11125cf6a4129c6108c18269bcaaf74e8a9b77 | /SourceCode/QEvent/Backend/QSelect.cpp | 3066819bbb4de022f983202f15431a6b8f4b5826 | [] | no_license | ButlerZhang/Zero | 22cc74cfb835d5dea915f9f6c6aa406893fc8c43 | 2fb1adbe97a1b5a1fa2c385eef9e11136e6ec34e | refs/heads/master | 2021-05-18T07:47:42.518583 | 2020-04-28T06:57:21 | 2020-04-28T06:57:21 | 251,185,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,949 | cpp | QSelect.cpp | #include "QSelect.h"
#include "../QEventLoop.h"
#include "../QTimer.h"
#include "../QLog.h"
#include <cstring> //strerror
QSelect::QSelect(QEventLoop &EventLoop) : QBackend(EventLoop)
{
m_HighestEventFD = 0;
m_BackendName = "select";
FD_ZERO(&m_ReadSetIn);
FD_ZERO(&m_WriteSetIn)... |
ac397d15a3b49f0f4b89e9099f7b3238b2eaac45 | 30e232395ac52f440c413f2e60a0b34a41806233 | /Code/MBED_CAN.cpp | 797f707a000b482645fc1534b5809310bd615596 | [] | no_license | alex7709/ECE4180F19_CAN_Project | 7aa92167fec0fdeef23095b8389f45161061f13c | fe22bf67c69f9c17e78a1134a568778de56f7777 | refs/heads/master | 2020-09-23T05:35:32.536252 | 2019-12-10T15:53:01 | 2019-12-10T15:53:01 | 225,417,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | cpp | MBED_CAN.cpp | #include "mbed.h"
#include "CAN.h"
#include "PinDetect.h"
DigitalOut led1(LED1);
DigitalOut led2(LED2);
DigitalOut led4(LED4);
PinDetect filter_in(p8);
CAN can2(p30, p29);
Serial pc(USBTX, USBRX); // tx, rx
int volatile handle=0x00;
unsigned int volatile id=0xAA;//message id for address 0. Default and initial
unsign... |
93fde21be9325010c3d6397f80e87e703dc0f707 | b22e123423f4fef4247851336a947a6903c3c90f | /Projet Identifiant micro/src/main.cpp | 803e800e4f7688af677531d1f8962f627831c774 | [] | no_license | torresgerson/Test-Touch | 63b102f160f0caa935dd171fa54ba1b0d4868536 | 031fc731f938f72582a790988e4607e4d32f74d2 | refs/heads/main | 2023-08-29T15:18:42.312006 | 2021-11-08T08:50:29 | 2021-11-08T08:50:29 | 425,744,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | main.cpp | #include <Arduino.h>
#include "WiFi.h"
void setup(){
Serial.begin(115200);
WiFi.mode(WIFI_MODE_STA);
Serial.print("ESP32 Chip ID = ");
Serial.println(WiFi.macAddress());
}
void loop(){
}
|
31e539d3008f96cca3f8ae3347d386f96c4bacf8 | 42678eabf8362d6773b0e7ea2b2c7b1d3fa8a473 | /queue/queue.cpp | c088d7b8ed4f98ba441960c0f2b37aaa51fc4a72 | [] | no_license | dynamite-bud/CCPract | 5d5406b842b11feea41f9df57bff38473d1e69a8 | 587203a4dbcd1f2b693f5220b7892ae772807715 | refs/heads/master | 2020-12-26T21:25:51.614349 | 2020-02-02T13:44:28 | 2020-02-02T13:44:28 | 237,649,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | queue.cpp | #include<bits/stdc++.h>
using namespace std;
class Node{
private:
int value;
public:
Node(int);
Node();
};
Node::Node(int val):value(val){}
Node::Node():value(-1){}
class Queue{
private:
int size;
public:
Queue();
Queue(int);
};
int main(){
return 0;
}
|
6bc1bc33dfbb05330996b347dfa9ab9b4ac770e5 | 3ded09995a802d1435703a351efae767b55a81b2 | /examples/adapt.cpp | f90c5170817bc6d402ebd34974a37fd2fe4796cb | [
"Apache-2.0"
] | permissive | hobywan/trinity | 83f13ad4be628fc3bcc8c6d84caf1753c3e8f43c | e8350057f9a0511ba910fe92b0e626d358952d27 | refs/heads/master | 2021-03-13T04:11:16.874125 | 2019-04-16T12:30:17 | 2019-04-16T12:30:17 | 31,732,163 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cpp | adapt.cpp | /*
* 'examples/adapt.cpp'
* This file is part of the "trinity" project.
* (https://github.com/hobywan/trinity)
* Copyright (c) 2016 Hoby Rakotoarivelo.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the... |
91fab23b5412a6c0e0867a01093ddd00b6da788f | e353fbd7dcd629184330f9ab0bed3030f3519e55 | /src/HystFilter.h | 54074ac41cce9d6e5711f435a3d005dea68478e4 | [] | no_license | floridan95/arduino_eth_organ | fa0dfa7835876e2ea3adf072e7b0abc973fe05dc | 2ec9d8d4cef3c158ff2c7c50814de3ec807d9aae | refs/heads/master | 2023-01-31T00:30:39.563731 | 2020-12-15T18:12:18 | 2020-12-15T18:12:18 | 319,755,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | h | HystFilter.h |
/*
* Class: HystFilter [Hysteresis filter].
* Apply hysteresis to an input value and deliver a lower resolution, stabilised output value.
*
*/
#pragma once
#include <Arduino.h>
class HystFilter
{
public:
HystFilter(uint16_t inputValues, uint16_t outputValues, uint16_t margin);
// constructor
// inputVal... |
151543f002886d5c06e29f18b8bce597295c06e9 | f1a2325795dcd90f940e45a3535ac3a0cb765616 | /development/TL1Services/TL1Core/src/TL1_NotifDbchg.cpp | b9632520e5344e70bca759c2e949fd1c26363d69 | [] | no_license | MoonStart/Frame | 45c15d1e6febd7eb390b74b891bc5c40646db5de | e3a3574e5c243d9282778382509858514585ae03 | refs/heads/master | 2021-01-01T19:09:58.670794 | 2015-12-02T07:52:55 | 2015-12-02T07:52:55 | 31,520,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | TL1_NotifDbchg.cpp | /*-----------------------------------------------------------------------------
Copyright(c) Tellabs Transport Group Inc. All rights reserved.
SUBSYSTEM: Software Services
TARGET:
AUTHOR: March 28, 2003- Jean-Francois Tremblay
DESCRIPTION: Header file for TL1 Notification Base implementati... |
48196b703937c1238058b473f9a159b2326a86f7 | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/physics/src/ThetaEAdvect/ThetaEAdvect.cc | 22c2270f241088ca988e4cb70ad6d7a63674f63b | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 39,521 | cc | ThetaEAdvect.cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... |
063c4e35ed67a7186d3f0410e497078e3441eee8 | aeb49fe4cef963fcff288f35b5da82c000feba09 | /NEG2.cpp | 8b60dc5ee4763ade710d1b27865c9c92bc167745 | [] | no_license | kanha95/SPOJ-solutions | b5febec31c08a8f0b229ca2578253da81ecfd687 | 6a6038236eab4e40773fafae142d01678f62d611 | refs/heads/master | 2020-09-07T07:29:06.760163 | 2016-03-04T09:16:08 | 2016-03-04T09:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | NEG2.cpp | #include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
int main()
{
long long t,n;
//cin>>t;
//while(t--)
{
string s="";
cin>>n;
if(n==0)
{
printf("0\n");
}
else
{
long long div=-2;
while(n)
{
if(n%div<0)
{
//cout<<n%div<<" "<<n/div<<endl;
s=char((n%div... |
fb6208220f445e4052543c74a81fd69897c07632 | 3e8677f4e90ef823a9ec3ea9ce7a9ec33552156e | /src/oled.cpp | 6d0729b3f0848315b2b98679771db2a93a2a26c7 | [
"Unlicense"
] | permissive | applecargo/smp_v1p0 | 479dd06c430e6f5f6ecf56dbce6741824fbd9c42 | fa3a2db71634218a93825143f27a5bd32289be33 | refs/heads/master | 2020-04-07T05:40:49.307565 | 2019-02-13T06:53:28 | 2019-02-13T06:53:28 | 158,105,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,491 | cpp | oled.cpp | #include "global.h"
//oled
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
#define OLED_DC 5
#define OLED_CS 6
Adafruit_SSD1306 * __display;
// --> to use alternative pins for SPI + using H/W spi for comm. to display.
// --> setup pins first and create obj.
// ... |
cb58073f6c4c0276e7badb2fdc02f592aa35e5e5 | f7d782691f59db64e3701cdd67fab3253f33e7bb | /old/src/Utility.h | 97b920d082696713ca3c19cab60ebd55b8a2607a | [] | no_license | concatto/sfml-experiments | da6c05a2942374c6df97ae24a661c3dabbaa4eeb | 1fca94fc2777ee3b14383ef45388c7bb5d79ae4d | refs/heads/master | 2021-03-22T02:10:11.724755 | 2017-11-15T02:43:25 | 2017-11-15T02:43:25 | 62,419,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | Utility.h | /*
* Utility.h
*
* Created on: 4 Jul 2016
* Author: Fernando
*/
#ifndef UTILITY_H_
#define UTILITY_H_
class Utility {
public:
static double random(double min = 0, double max = 1);
};
#endif /* UTILITY_H_ */
|
0bf402c718854ffe6baa86f1372e702272bee770 | 1ea746d4f131b3e4ebb66c06676f386610d7d063 | /Engine/Engine/Engine/AICore/Trigger.cpp | dfa7a101673adbba70646c7499ac2c8bf6ae6445 | [] | no_license | ShadowDOg100/2D-Engine | c180baca221588907b2f346449e075c529a48be3 | 4b4b32aca7ae5d3d7d9169c9508e39a8433e77b8 | refs/heads/master | 2021-03-12T22:52:27.145063 | 2013-11-13T19:16:03 | 2013-11-13T19:16:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | cpp | Trigger.cpp | #pragma once
#include "Trigger.h"
#include "Messages.h"
#include "../GraphicsCore/GraphicsCore.h"
namespace AICore {
int TriggerManager::CreateTrigger (float x, float y, float width, float height, int spriteID, float delay, int gameSpecific)
{
return trigger.Add(new Trigger(x, y, width, height, spriteID, delay, gameS... |
a82106f44105ca38fcc22bbf7eaecbbeaacdbc00 | 98b1e51f55fe389379b0db00365402359309186a | /homework_6/problem_2/10x10/0.911/T | 25a557e013b514f034524e0b3496441bc40168d1 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | T | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.