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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
66cc0db444587b47160062bba0e2d5f0d2ddb05a | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Tools/SceneEditor/KTabFile.h | 6223cedfb409703f8b9ef6c8597288da185762f0 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | GB18030 | C++ | false | false | 2,081 | h | KTabFile.h | //---------------------------------------------------------------------------
// Sword3 Engine (c) 1999-2000 by Kingsoft
//
// File: KTabFile.h
// Date: 2002.02.18
// Code: Spe
// Desc: Header File
//---------------------------------------------------------------------------
#ifndef KTabFile_H
#define KTabFile_H
#incl... |
81cfca936bef2ea8dc50a785b0c1fbf7bc8db3e0 | 7ef39106ff091002c3a22781628fe3076a0941b0 | /iree/base/intrusive_list_ref_ptr_test.cc | cf47c538794f94838f0abb33e05a01347195f2a0 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | YashRajSingh-4799/iree | 798c01b44696f1360014075f4eca275c7a4dc87f | ace19e886efe3702bfe7b17185a5daaa20808e82 | refs/heads/master | 2022-04-20T23:52:58.303107 | 2020-04-23T01:39:08 | 2020-04-23T02:47:41 | 258,150,320 | 2 | 0 | Apache-2.0 | 2020-04-23T09:09:26 | 2020-04-23T09:09:26 | null | UTF-8 | C++ | false | false | 3,026 | cc | intrusive_list_ref_ptr_test.cc | // Copyright 2019 Google 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
532d154a2718a51faf40c7bb6b6ac94982f4c074 | cc02bbe21d9fb8778cb990fff851b37647edf456 | /5/Path in Heap.cpp | b03ef14571823a3565c20c01757b95fbcfcac8ee | [
"Apache-2.0"
] | permissive | benoxo/ds-in-mooc | 1f608e7c4a26fc51e94c971c26aab3766e008162 | 5edd429102ba79013fb1c23c2fb7b0bee5b5948d | refs/heads/master | 2021-08-12T08:15:06.158693 | 2017-11-14T15:22:20 | 2017-11-14T15:22:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | Path in Heap.cpp | #include <cstdio>
#include <cstdlib>
#define MINDATA -100000
typedef int ElemType;
typedef struct HNode {
ElemType *Data;
int Size;
int Capacity;
} HNode, *Heap;
typedef Heap MinHeap;
MinHeap CreateHeap(int maxSize) {
MinHeap h = (MinHeap)malloc(sizeof(HNode));
h->Data = (ElemType*)malloc((maxSize+1)*sizeof(Ele... |
bbafec4f0436affe8a2f26133e55580b0b73717c | f0b4ce0ba6972301435f182a6d4c02987ee17ab3 | /1016_queryString.cc | 371c9897b6b27852a941061fdd1911fa4ff06858 | [] | no_license | gs0622/leetcode | b64bf1ac8d52ea473cac98b057a5edd1c8ff3591 | ef9388f875c375f6f3cd290b04e457b416d860dc | refs/heads/master | 2021-06-02T00:54:32.332803 | 2020-05-19T01:13:51 | 2020-05-19T01:13:51 | 20,798,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cc | 1016_queryString.cc | /* https://leetcode.com/problems/binary-string-with-substrings-representing-1-to-n/description/
Given a binary string S (a string consisting only of '0' and '1's) and a positive integer N,
return true if and only if for every integer X from 1 to N, the binary representation of X is a substring of S.
*/
#include <bits/s... |
5ad2c17a2ee3c201e76653a0aa50f73437454105 | fb8bbd315908aed3a7541b463184be8f539cf59e | /include/liboffsetfinder64/patchfinder64.hpp | eccf8f0afe07e80b74b2bf381b43b71d00c6fa90 | [] | no_license | Ralph0045/liboffsetfinder64 | 420b9553e589257d0d43a631e894ebecadd32fcb | c36c462077cf1f29510d3b4b8caa30f7faa51a54 | refs/heads/master | 2022-08-24T07:04:53.344811 | 2020-05-11T12:55:47 | 2020-05-11T12:55:47 | 255,977,008 | 9 | 2 | null | 2020-04-15T16:36:01 | 2020-04-15T16:36:00 | null | UTF-8 | C++ | false | false | 1,738 | hpp | patchfinder64.hpp | //
// offsetfinder64.hpp
// offsetfinder64
//
// Created by tihmstar on 10.01.18.
// Copyright © 2018 tihmstar. All rights reserved.
//
#ifndef offsetfinder64_hpp
#define offsetfinder64_hpp
#include <string>
#include <stdint.h>
#include <vector>
#include <functional>
#include <stdlib.h>
#include <liboffsetfinder... |
8c0e1c931e6dfee1a172f9d533d7331783d0e11f | 85e5e67b0ddb32701b6aad5c3d2a428c768bb41c | /Engine/TextBlink.cpp | c1bf39e42d3fa9c0fbf74cbecc29e1f803875a8f | [] | no_license | lim-james/Allure | a6ebca6b2ca1c70bc2108f8ae710c2a88117657d | 6d837a49254d181babf546d829fc871e468d66db | refs/heads/master | 2021-07-18T04:31:08.130059 | 2020-08-21T03:30:54 | 2020-08-21T03:30:54 | 205,639,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | TextBlink.cpp | #include "TextBlink.h"
void TextBlink::Awake() {
text = GetComponent<Text>();
Debug::Warn << "Set " << this << "'s text to " << text << '\n';
}
void TextBlink::Start() {
bt = duration;
}
void TextBlink::Update() {
bt -= time->dt;
if (bt <= 0.f) {
text->color.a = text->color.a < 0.5f ? 1.f : 0.f;
bt = durati... |
3893d75f3617985cc6f758456e3db308c4a26aa4 | fac523b39320d7b575a3c7c647b37f252eaa42c3 | /libraries/IoAbstraction/src/SimpleCollections.h | 899a6eceddff70d3f1b7befb8753586210bfb7eb | [
"Apache-2.0"
] | permissive | DevinNorgarb/my_arduino_sketches | 3069bf8a7997e96aa1551c93725112e81617ce81 | a14e4a973f81518d92139dce2de614a8d474ba6d | refs/heads/master | 2023-03-29T19:50:22.523584 | 2021-04-07T04:06:39 | 2021-04-07T04:06:39 | 355,407,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,211 | h | SimpleCollections.h |
/*
* Copyright (c) 2018 https://www.thecoderscorner.com (Nutricherry LTD).
* This product is licensed under an Apache license, see the LICENSE file in the top-level directory.
*/
#ifndef _SIMPLE_COLLECTIONS_H
#define _SIMPLE_COLLECTIONS_H
#include <string.h>
#include <inttypes.h>
#include "IoLogging.h"
/**
* @f... |
22757d422091b033eca7a9405450626a49c9c8a0 | f4adb303459fa4da5e4b6bb55f1d2848e0ddf396 | /dependancies/include/gtkmm/gtkmm/menushell.h | f0ef42bf5b9dd89c5d349640c7e61346e751fe38 | [
"MIT",
"LGPL-2.0-or-later",
"GPL-3.0-only"
] | permissive | Illation/synthesizer | 9d81af54188f88812f4df1018d51b1360a3db3f7 | da77d55c1c69829bbad76d0c14b9c56a5261b642 | refs/heads/master | 2020-05-17T05:30:58.827574 | 2019-06-30T23:04:40 | 2019-06-30T23:04:40 | 183,531,655 | 4 | 0 | MIT | 2019-06-30T23:04:41 | 2019-04-26T01:01:08 | C++ | UTF-8 | C++ | false | false | 15,419 | h | menushell.h | // Generated by gmmproc 2.54.0 -- DO NOT MODIFY!
#ifndef _GTKMM_MENUSHELL_H
#define _GTKMM_MENUSHELL_H
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/* Copyright (C) 1998-2002 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the G... |
75010bb9b04343f104c480724be0682d6b76040b | 20ae4729e04db70c879b2dba631dc5ceb0703147 | /r2dengine/r2dcar.h | 4ccae44ca390e96095b2d5ba66bd5d55f1529e19 | [] | no_license | damir00/burningskids | dbaa4dff37780b01deb4846cf1e9ef2c8acc5d7b | fb9b98dcc004634b9d54b2e045ca7a154716b481 | refs/heads/master | 2020-06-06T07:14:51.269458 | 2014-10-20T09:28:39 | 2014-10-20T09:28:39 | 25,458,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | r2dcar.h | #ifndef _R2DCAR_H_
#define _R2DCAR_H_
#include <vector>
#include "chipmunk.h"
#include "r2dstructs.h"
#include "r2dtyre.h"
#include "r2dengine.h"
#include "r2dutils.h"
#include "r2dobject.h"
using namespace std;
class R2DCar : public R2DObject {
R2DEngine* engine;
// cpBody* body;
public:
R2DCar(R2DObjectType ty... |
e0260a901c4c41741d1a2e2e64188a1c0245f0ef | 820b6af9fd43b270749224bb278e5f714f655ac9 | /Filters/ParallelDIY2/vtkOverlappingCellsDetector.cxx | c7c1dfadf2e9df5ae6095758d5c8eb81598c6a39 | [
"BSD-3-Clause"
] | permissive | Kitware/VTK | 49dee7d4f83401efce8826f1759cd5d9caa281d1 | dd4138e17f1ed5dfe6ef1eab0ff6643fdc07e271 | refs/heads/master | 2023-09-01T10:21:57.496189 | 2023-09-01T08:20:15 | 2023-09-01T08:21:05 | 631,615 | 2,253 | 1,243 | NOASSERTION | 2023-09-14T07:53:03 | 2010-04-27T15:12:58 | C++ | UTF-8 | C++ | false | false | 31,685 | cxx | vtkOverlappingCellsDetector.cxx | // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-License-Identifier: BSD-3-Clause
#include "vtkOverlappingCellsDetector.h"
#include "vtkAbstractPointLocator.h"
#include "vtkBoundingBox.h"
#include "vtkCellData.h"
#include "vtkCompositeDataIterator.h"
#include "vtkCompositeDat... |
5489449607f4f2511a3cb6e138714312b8d3e7f4 | 952b9f64fc669987fae56046c88f93797973b0a2 | /binarytree.h | 4cf3058b5a577365a0ba09552d40587aa4ce5967 | [] | no_license | UTEC-PE/binary-tree-bdiaz22 | 41652d9da58f132b945c89074384055e21779c60 | bd1b686c738d332f5471d786f84a066c3c461c11 | refs/heads/master | 2020-03-29T01:11:25.192854 | 2018-10-05T02:49:56 | 2018-10-05T02:49:56 | 149,375,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | h | binarytree.h | #ifndef BINARYTREE_H
#define BINARYTREE_H
#include "node.h"
#include "iterator.h"
#include <iostream>
using namespace std;
// No hay remove
class binarytree
{
private:
int weight_nodes;
public:
Node* root;
binarytree(){
root = NULL;
weight_nodes = 0;
}
Node* &node()
{
return root;
}
Iterator begin(... |
5f1ab34eaaf35e0779bb6b765a0d3153944395b2 | 788f461bcb54f2787b8baacd0a528cf86c64c426 | /cpp/libevent_http_server/demo/src/http_server.h | 6ed1ae4b782ab6b98934c5247ac22712bc5f3006 | [] | no_license | organization0012/cpp_library | 3460ecf3c0bf1f1ccc8aada0d6315718e8393d8f | 6383957872ab7e536d1c5f5a1432d0c88b662c5a | refs/heads/master | 2023-08-17T00:07:54.552829 | 2021-08-20T15:15:02 | 2021-08-20T15:15:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | h | http_server.h | /***************************************************************************
*
* Copyright (c) 2014 asy, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file http_server.h
* @author asy5178@163.com
* @date 2014/10/22 15:01:18
* @brief
*
... |
b3e7f55ff99dbdcaad64bb60f65ab74b8de06eb4 | c62bb78dc97259c807a958a021f0573e70177568 | /ProceduralCloudscapes/ProceduralCloudscapes/Scenes/ShaderTestScene.cpp | 014ea0011b1473408186542d75d6eb08975aa5d3 | [] | no_license | nick02090/ProceduralCloudscapes | ec395fed4b06f073e3d7fc0bb5d023e0190b8091 | d670bc43611207d984e387eeee3ea5c2d651e81c | refs/heads/main | 2023-06-05T16:14:29.525860 | 2021-06-25T00:39:00 | 2021-06-25T00:39:00 | 305,494,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,304 | cpp | ShaderTestScene.cpp | #include "ShaderTestScene.h"
#include "../Engine/Shader.h"
#include "../Engine/Utilities.h"
#include "../Engine/Environment/ColorEnvironment.h"
ShaderTestScene::ShaderTestScene(Window* _window) : Scene(_window, "Shader Test Scene", EnvironmentType::Color)
{
// build and compile shader programs
shader = new Sh... |
3593eb0d2e03c28c1b7bf124c920c67e8b714ab3 | 3f78a9da3eecc6d8e401f1cce37e054a252930bc | /[Server]Map/SiegeWarMgr.h | 424b204b41ab1aae48eb149a21b8dcb8e7050580 | [] | no_license | apik1997/Mosiang-Online-Titan-DarkStroy-Azuga-Source-Code | 9055aa319c5371afd1ebd504044160234ddbb418 | 74d6441754efb6da87855ee4916994adb7f838d5 | refs/heads/master | 2020-06-14T07:46:03.383719 | 2019-04-09T00:07:28 | 2019-04-09T00:07:28 | 194,951,315 | 0 | 0 | null | 2019-07-03T00:14:59 | 2019-07-03T00:14:59 | null | UHC | C++ | false | false | 6,330 | h | SiegeWarMgr.h | // SiegeWarMgr.h: interface for the CSiegeWarMgr class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SIEGEWARMGR_H__0620B52A_B018_4B66_9EF9_6A9D6703763D__INCLUDED_)
#define AFX_SIEGEWARMGR_H__0620B52A_B018_4B66_9EF9_6A9D6703763D__INCLUDED_
#if _MSC_VER > 1000
#pragma once... |
e9cf64832276ded45f528da66c82231d7554472a | 5ee41ac6e772bb13ea207c50b4d3c0bd5d7ee19c | /lib/bap_llvm/llvm_coff_loader.hpp | 90c658d758c54ae6ad7025dba31019f36866d375 | [
"MIT",
"Apache-2.0"
] | permissive | MilesQLi/bap | 3418ac5f2fa600d2dafbd74a7b1d3bc3077fe2d9 | 8402cbfed81a8d078f3f26b371ac17320807b2c8 | refs/heads/master | 2021-06-28T22:46:00.066602 | 2017-08-27T16:08:30 | 2017-08-27T16:08:30 | 104,582,534 | 0 | 2 | null | 2017-09-23T16:38:52 | 2017-09-23T16:38:52 | null | UTF-8 | C++ | false | false | 15,491 | hpp | llvm_coff_loader.hpp | #ifndef LLVM_COFF_LOADER_HPP
#define LLVM_COFF_LOADER_HPP
#include <tuple>
#include <llvm/Object/COFF.h>
#include "llvm_error_or.hpp"
#include "llvm_loader_utils.hpp"
#include "llvm_primitives.hpp"
namespace loader {
namespace coff_loader {
using namespace llvm;
using namespace llvm::object;
typedef COFFObjectFil... |
74c83140fe1f1e853cadd8506a1ee35c148886a6 | ac48dc874f5550d03648c28b1eda5720202eb55c | /gps/framework/native/lcp/data-items/inc/internal/DataItemDefines.h | 2477d1a20e1a0d23d8e40463b0b931cb0a21630b | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | difr/msm8937-8953_qcom_vendor | 464e478cae4a89de34ac79f4d615e5141c40cbcb | 6cafff53eca7f0c28fa9c470b5211423cf47fd40 | refs/heads/master | 2020-03-20T09:58:48.935110 | 2018-05-27T04:13:22 | 2018-05-27T04:13:22 | 137,355,108 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | DataItemDefines.h | /*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
GENERAL DESCRIPTION
DataItemDefines
Copyright (c) 2015 Qualcomm Technologies, Inc.
All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.
============================================================================... |
b960781dee417497a213ce119f3f479e8dc5a0e4 | df9327bf77426c1f04c81bd78a63f84eec4b0433 | /Assignment 1/a1p3/minheritence1.cpp | b59269f76ec02098379dbfb87d3c87555cfa1f31 | [] | no_license | jasminedayinta/cplusplus2 | aaf79f4ad2c5cbf099b98f8e586634506031c829 | bf3b91d4448845cc7943deda87d6eb54c8d0d3e0 | refs/heads/master | 2020-04-01T14:16:09.098185 | 2018-10-16T13:14:33 | 2018-10-16T13:14:33 | 153,177,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | minheritence1.cpp | //
// main.cpp
// a1p3
//
// Created by Jasmine Juwono on 22.03.18.
// Copyright © 2018 Jasmine Juwono. All rights reserved.
//
/*CH08-320143
a1_p3.cpp
Jasmine Dayinta
j.dayinta@jacobs-university.de*/
#include <iostream>
using namespace std;
class A
{
int x;
public:
void setX(int i) {x = i;}
void... |
e496751cf26d210fc7d4773b5698d34ddf584a68 | 8504986e506552feaa85a4c48eb4ed307aecdd69 | /src/sfml_text_window/poll_text_window.cpp | ad5f5dd3ede55f31a28668516086b8adf112c468 | [] | no_license | wbusacker/gameboyzero | 694868ce02a6b87d54a273e86473229e190505e3 | ce822f6cfb6a870b47c4b4982139274358df4101 | refs/heads/master | 2021-04-23T00:46:38.354375 | 2020-06-01T05:04:30 | 2020-06-01T05:04:30 | 249,884,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | cpp | poll_text_window.cpp | #include <sfml_text_window.h>
void SFML_Text_Window::poll(sf::Event event) {
/* If the button was pressed, lets see if we're now in focus */
if (event.type == sf::Event::MouseButtonPressed) {
/* Check if the cursor is within the box */
if ((event.mouseButton.button == sf::Mouse::Button::Left) &... |
12713ff33b95c4e20db83b4562c887ee30a6770b | bde4f3a047eb03c8b1c0d78dee9c03a4be9a2e0c | /DataStructModel.hh | 5836b4d4160b9a974c6f7e0acf22f1736d5a6056 | [] | no_license | billblakney/tree | b68f906f21061c595c518a627add2a65b4ff136c | 0d6e66c88c8d5c3877ff5c1a791a404813667b7c | refs/heads/master | 2021-01-10T14:13:09.813952 | 2015-11-10T13:59:40 | 2015-11-10T13:59:40 | 43,844,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,628 | hh | DataStructModel.hh | #ifndef DATASTRUCTMODEL_HH_
#define DATASTRUCTMODEL_HH_
#include <QAbstractItemModel>
#include <QFont>
#include <QModelIndex>
#include <QVariant>
#include "FieldItem.hh"
#include "Logger.hh"
#include "Structure.hh"
#include "StructorBuilder.hh"
class DataStructModel : public QAbstractItemModel
{
public:
enum Colum... |
4dccf4b045f7267cea4ca1471c68b1676e0b1628 | 95bee30f44b4e1d3cdf1addc2a3dce5cfabd7b22 | /OpenCLMgr.h | 16cf676562040fe1b6ee243027fd6ff3724de99e | [] | no_license | vaniugata/AIWithOpenCLExercise | 9e89d31c908088ceb8f70b21a658e40e38806e0b | 3f1db4461965ab4fc7b0b036cc5940fe25c3b007 | refs/heads/master | 2020-03-25T02:35:08.657269 | 2018-08-02T13:47:59 | 2018-08-02T13:47:59 | 143,297,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | h | OpenCLMgr.h | #ifndef OPENCL_MGR_H
#define OPENCL_MGR_H
#include <CL/cl.hpp>
#include <vector>
#include <string>
#include "error.hpp"
class OpenCLMgr
{
private:
cl::Platform _platform;
std::vector<cl::Device> _devices;
cl::Context _context;
cl::Program _program;
cl::CommandQueue _cmd_queue;
cl::Kernel _kernel;
cl::Event _... |
d4d31a5a74be0d7a1ff8289ae8ee9290936f9088 | 2abf0c6f3345fabe73e84503854f1e116ef01902 | /src/Spatial/SpatialModelBuilder.h | d805be435ec13702ef452388f3f844dee0d3bd33 | [] | no_license | maciekboni/PSU-CIDD-Malaria-Simulation | 446586731c1a0e39a1d2c7a64722e8fc40423566 | 2313a32bed80b5370f8a5f0f3f93034b7abd4137 | refs/heads/v3.2_Spatial | 2023-05-27T13:25:07.629420 | 2021-03-11T18:12:13 | 2021-03-11T18:12:13 | 136,341,850 | 6 | 6 | null | 2023-05-10T18:56:56 | 2018-06-06T14:37:06 | C++ | UTF-8 | C++ | false | false | 501 | h | SpatialModelBuilder.h | //
// Created by Nguyen Tran on 1/28/2018.
//
#ifndef SPATIAL_SPATIALMODELBUILDER_H
#define SPATIAL_SPATIALMODELBUILDER_H
#include "Core/PropertyMacro.h"
#include "SpatialModel.h"
#include "yaml-cpp/yaml.h"
namespace Spatial {
class SpatialModelBuilder {
DISALLOW_COPY_AND_ASSIGN(SpatialModelBuilder)
public:
Spa... |
88a26c525146c5b706c4b8b820df4f6c0d708968 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/461-480/466/d2.cpp | 45c708f825cc4f2e45f935533612dab268f4922c | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,429 | cpp | d2.cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... |
c64c32c4b1db9890b4a4489fb9bde18221ddf5dd | 2d7974502098a1c6c3b064befee0b68cd966fea1 | /Piscine_CPP/cpp_d07a_2018/ex01/KoalaBot.hpp | 59ff8075b7b3457b3c446db7737c57a755ec31cd | [] | no_license | Tifloz/Tek2 | 85d280aac303a81cecbba7f0254b23a434583efd | e4cf798878c991ca7bc41e3dc075d47da8b854aa | refs/heads/master | 2020-12-10T15:15:16.569214 | 2020-01-13T15:43:33 | 2020-01-13T15:43:33 | 233,628,967 | 0 | 0 | null | 2020-10-13T18:49:49 | 2020-01-13T15:33:25 | C++ | UTF-8 | C++ | false | false | 724 | hpp | KoalaBot.hpp | /*
** EPITECH PROJECT, 2022
** cpp_d07a_2018
** File description:
** Created by Florian Louvet,
*/
#ifndef CPP_D07A_2018_KOALABOT_HPP
#define CPP_D07A_2018_KOALABOT_HPP
#include <iostream>
#include "Parts.hpp"
class KoalaBot {
public:
KoalaBot(std::string serial = "Bob-01");
~KoalaBot();
void setPar... |
1a4c79c34442281f99245275c85ee4320f849253 | a855f5ba4fa818ec50b5346e1125468504993668 | /mediatek/source/hardware/omx/osal/oscl/osclerror/src/oscl_exception.h | 40083038387fd92e18408da8e7b11a6570c29e8a | [] | no_license | likstepan/source | 75d164302a69f7a35b79bfe095e77eea0aba1489 | e7e96ac235c238982250d5e7ce9d0debf6490fcc | refs/heads/master | 2017-06-04T01:59:42.988090 | 2013-04-01T17:00:00 | 2013-04-01T17:00:00 | 15,372,574 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,938 | h | oscl_exception.h | /* 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 ... |
8f3792763b73f1f371990b06edf84f1afaf5b724 | 82be49ddb0caaf36c51e53ac2f1ef0af4988f2b3 | /library/compiletest/headertest/cc/t-list_sort.cc | 6b986d08ff199b4b5674b4e8909e8646e145f2ea | [] | no_license | wsmith1/mytoolbox | ac0df387257be6dfe6678ef368615aa6e2c1bf58 | 901da7b4a3505d3a5f5cb46428b3c4db6125468e | refs/heads/master | 2021-01-01T16:00:17.549897 | 2013-12-02T00:25:51 | 2013-12-02T00:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cc | t-list_sort.cc | #include "mytoolbox/list_sort.h"
int headertest_list_sort_cc(void);
int headertest_list_sort_cc(void)
{
return 42;
}
|
8ccfa146e24673e6befaef848b48181cbc9a8e7c | 9349f3abaf5959ead05129ea9d536edce63a25a2 | /storm/src/jvm/storm/winlab/cps/ImgMatch.h | 098709dc6fd36179c1768f303332b68d49f05133 | [] | no_license | MrHohn/paintingCPS | 61ceb907a3c6942047a9f0dbcfc390f25b22292a | f0ea04cf99b5a728b0593e3a23e672d808d878f4 | refs/heads/master | 2021-01-18T13:15:12.615439 | 2015-09-23T19:12:09 | 2015-09-23T19:12:09 | 37,729,265 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,173 | h | ImgMatch.h | /*
Author: Wuyang Zhang
June 17.2015
ImgMatch.h
*/
// #pragma onc
#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/nonfree/nonfree.hpp>
#include <opencv... |
1fa52aeb7938eb1419e34568139c22b6d5b78440 | 63bdbf5b3fe81a960189546985d441a4557b2105 | /c-src/Fl_Sys_Menu_BarC.h | 3f6b59ab44c96d411fa4d556ba9b3aacd4fd2949 | [
"MIT"
] | permissive | hikky-n/fltkhs | f1d7005327ed55f98f27b5501d661b11b43393e4 | ee5ace0bb4bd1a82cb74a9b1cb1fc61aea0f9d8d | refs/heads/master | 2021-01-21T14:16:43.772513 | 2017-06-23T22:37:15 | 2017-06-23T22:37:15 | 95,261,069 | 0 | 0 | null | 2017-06-23T22:33:22 | 2017-06-23T22:33:22 | null | UTF-8 | C++ | false | false | 16,604 | h | Fl_Sys_Menu_BarC.h | #ifndef __FL_SYS_MENU_BAR_C__
#define __FL_SYS_MENU_BAR_C__
#ifdef __cplusplus
// always include the FL/*.H headers before local headers
// Fl_Widget is included transitively and needed for
// the callback mechanism included below to work.
#include "FL/Fl.H"
#include "FL/Fl_Sys_Menu_Bar.H"
#include "Fl_CallbackC.h"
#in... |
f08a9921736a794436655908de2640bf051f57c0 | 104f0d57d4621db6a946c9cd8671317f9ad8ab28 | /br.spoj/moedas.cpp | 74551889e371c98f4676bfd465d42f9a45ab3bd0 | [] | no_license | lizardoluis/Contests-Problems | d18c70c617cffeee7cf4732f1443fcdc96b046aa | b1a3ba17d32f9974e2a153a40cddc8080c661943 | refs/heads/master | 2021-06-12T04:15:09.345981 | 2017-01-10T15:36:53 | 2017-01-10T15:36:53 | 23,171,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | moedas.cpp | #include <stdio.h>
#include <vector>
#include <algorithm>
#include <limits.h>
using namespace std;
int knapsack_unbounded(vector <int> & weights, int N, int W);
bool cmp(int a, int b);
int main()
{
int m, n, moedas;
scanf("%d %d", &m, &n);
while(m > 0)
{
vector <int> weight(n+1);
f... |
a6e99d0aaf9a5e5272865fd7d2ab5f627b92b256 | fb99cfd47ef2d4007b9f6b3770b3d62e6820dc2b | /refutils.h | 59deccd4437ea488632c620798f82857217412f8 | [] | no_license | sx-aurora-dev/llvm-ve-intrinsic-test | a5875a9b448895c390a70c89d06d6c4a193b4577 | 674d2587c167c0970eb61b45b9fa7d34e9d10252 | refs/heads/master | 2021-06-17T05:08:08.543704 | 2021-04-27T12:50:29 | 2021-04-27T12:50:29 | 194,057,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | refutils.h | #ifndef REFUTILS_H
#define REFUTILS_H
template <typename T>
T compare(T y, T z)
{
#if 0
if (y > z)
return (T)1;
else if (y == z)
return (T)0;
else if (z < y)
return (T)-1;
#endif
return y - z;
}
static long int compare(int y, long int z)
{
return compare((long int)y, z);
}
... |
9e142ef44081ccbd5e03e5119ffa4520c9830372 | 30053404b32fdf9109905238aab2984712a4b100 | /whisperstreamlib/f4v/f4v_tag_splitter.cc | f92e04d191fa3002c67afa85f588a7029ea2d4c4 | [] | no_license | cpopescu/whispercast | 667caef3c44387cd066f9ffaf46787bcaa5861fa | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | refs/heads/master | 2020-04-11T02:36:38.805833 | 2013-05-24T15:32:08 | 2013-05-24T15:32:08 | 2,916,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,431 | cc | f4v_tag_splitter.cc | // Copyright (c) 2009, Whispersoft s.r.l.
// 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 cond... |
2fd3aaa4a0158c24eb1f371952f7ae38b23943ee | 4f8da9543222e5e521f719d5b66ef40700250b32 | /svgview.h | 61e951dd3e8e81755c200b6f27ddc5c31154821b | [] | no_license | osp/osp.tools.literaldraw | 0e1b7df03658e221114273d2d1e4c783b348e836 | 430d41532a4317476c7104a7f897ea5791b4b506 | refs/heads/master | 2021-03-12T22:53:20.765317 | 2015-03-10T21:45:06 | 2015-03-10T21:45:06 | 26,456,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | h | svgview.h | #ifndef SVGVIEW_H
#define SVGVIEW_H
#include <QWidget>
namespace Ui {
class SvgView;
}
class SvgView : public QWidget
{
Q_OBJECT
public:
explicit SvgView(QWidget *parent = 0);
~SvgView();
QString getSVG();
public slots:
void updateSvg(const QString& s);
private:
Ui::SvgView *ui;
};
#... |
4cd2c6969ed26739f0a2246390aa021506cad210 | 6f38eee62d36b9bb493f570e7cee528b3277cad7 | /tests/PackageBuilderTests.cpp | fbf7ba9347f4f52fe087c6a07ec657faa06a9f48 | [
"MIT"
] | permissive | serge-14/gelflib | 0314526d172cfd9d98aec516ad0480ce6a6f82a6 | 3ae18851b2182eb2952fe3f52f3ae3f41b80d2ac | refs/heads/master | 2023-02-18T01:53:06.562625 | 2017-01-29T15:32:44 | 2017-01-29T15:32:44 | 80,352,825 | 10 | 7 | MIT | 2019-10-25T08:20:38 | 2017-01-29T15:11:48 | C++ | UTF-8 | C++ | false | false | 6,867 | cpp | PackageBuilderTests.cpp | #include "gtest/gtest.h"
#include "PackageBuilder.hpp"
namespace tests
{
TEST( PackageBuilderTests, SimplePackage )
{
const char* pData = "";
size_t uSize = 0;
gelf::ChunkedData package = gelf::PackageBuilder( reinterpret_cast< const uint8_t* >( pData ), uSize )
.build();
... |
c3f736297d26adf63912b7150f292678ad9e4f9b | 9ff84b4e787bb2e2e6cee5178422ce00f6c2c2dd | /tests/catalog/constraints_test.cpp | 453b4b87b93038febd66490281f7bd969b9063db | [
"Apache-2.0"
] | permissive | yudun-zz/peloton | 9d47adb86f9745d58ca9e5f73119dcc6e633c903 | 2d15d31b72764116c2e7cb147529d41cc000dc88 | refs/heads/master | 2022-07-24T12:07:46.591525 | 2016-05-06T04:47:31 | 2016-05-06T04:47:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,849 | cpp | constraints_test.cpp | //===----------------------------------------------------------------------===//
//
// PelotonDB
//
// catalog_test.cpp
//
// Identification: tests/catalog/constraints_test.cpp
//
// Copyright (c) 2016, Carnegie Mellon University Database Group
//
//===-------------------------------------------... |
98d871ae92cfe9c025db03726d7d6370bbd159a1 | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/toki-training-gate/5/5A/cek.cpp | ed80ed44510d48043d63e15d3311bb46cfa5ae97 | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | cek.cpp | #include <bits/stdc++.h>
using namespace std;
long long A,B;
long long sqr(long long x){
return ((x%1000000)*(x%1000000));
}
long long pangkat(long long a,long long b){
if (b==0) return 1;
else if (b==1) return (a%1000000);
else if (b%2==0) return (sqr(pangkat(a,(b/2))%1000000)%1000000);
... |
baa31b197b731382322cfa09842f6c5c576c59e7 | 4e293185bf83aec4c79c296672a34e510af12175 | /include/regla.h | f091b7fdada0a166ed5bef010873f25978c6260a | [] | no_license | DarkWayC0de/CyA_PR10 | 100821678d2367d9a648d9ab6907f665ddda23ae | 383e1f251b50c2d3867ed35cb412ae3e345265a4 | refs/heads/master | 2020-05-20T22:28:05.817418 | 2019-05-09T11:11:21 | 2019-05-09T11:11:21 | 185,782,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | h | regla.h | /**
* @file regla.h
* @version 1.0
* @date 16/12/2018
* @author Diego Cruz Rodriguez
* @title Clase regla
* @brief Clase para almacenar reglas de una gramatica
*/
#ifndef PR9_REGLA_H
#define PR9_REGLA_H
#include <vector>
#include <string>
/**
* @brief Uso de namespace CyA
*/
namespace CyA {
/*... |
be8548157c3c2e09616184c2e6407fd29aa16e43 | 6f940dc380b0cbd3342f7f608c83592fee1ff7d4 | /reference_material/aula04/EX07/Relogio.cpp | 0b3bd0d11c15d5034164025c349de089bcb6a71f | [] | no_license | tiagotakeda/object_oriented_prog_cpp | dbc841f50ba98fd40344d9eef9223697fa3323f7 | d669f25bf9d4b627d0cbc4985c6e9c05099f52c8 | refs/heads/master | 2020-12-06T07:06:15.705917 | 2020-02-19T16:24:49 | 2020-02-19T16:24:49 | 232,383,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | Relogio.cpp | #include "Relogio.h"
#include <iostream>
using namespace std;
void Relogio::inicializar (int hora, int minuto) {
if (hora < 0 || hora > 23) this->hora = 0;
else this->hora = hora;
if (minuto < 0 || minuto > 59) this->minuto = 0;
else this->minuto = minuto;
}
int Relogio::getHora() {
return hora;
... |
4d32844df407df20a4885fd2909964ff0b773136 | 796919020a101fc97e7dd59ebea3c991ad00297b | /android/addons/ofxTime/libs/ofxTime/include/ofx/Time/Period.h | ea4c234dbcbed7e9ddbcef6b77ca27bccd43e15a | [] | no_license | antoniohof/android-orbital-tracker | 69c0fe63dbea4ae5b792a4b4d82ec8609dbdb905 | b2ec95520e3e6f0aabcb49201bdef08f26d43e96 | refs/heads/master | 2021-01-01T03:52:28.793293 | 2019-04-17T19:20:40 | 2019-04-17T19:20:40 | 59,589,271 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,521 | h | Period.h | // =============================================================================
//
// Copyright (c) 2013 Christopher Baker <http://christopherbaker.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... |
6600b63ac7ad4d840986adf4d383faa7f2eb2536 | 1b12e6096c47312b67fa6ff223216945d2efb70c | /sandbox/asm/scroll1.cpp | 1f3048a30aaec6c72ca5824e9c1f1059ce4fdd05 | [
"Apache-2.0"
] | permissive | rboman/progs | 6e3535bc40f78d692f1f63b1a43193deb60d8d24 | 03eea35771e37d4b3111502c002e74014ec65dc3 | refs/heads/master | 2023-09-02T17:12:18.272518 | 2023-08-31T15:40:04 | 2023-08-31T15:40:04 | 32,989,349 | 5 | 2 | Apache-2.0 | 2022-06-22T10:58:38 | 2015-03-27T14:04:01 | MATLAB | UTF-8 | C++ | false | false | 11,298 | cpp | scroll1.cpp | /***********************************************************************
* Scrolling 2 (C++ & Asm) *
* *
* . Mémorisation des caractères du DOS *
* . Nouvelles routines d... |
7d17d6b9b12a0f80511b99161aad322a0c490604 | 668bae79bd262daab7c15ef12c32fa74e9c222ce | /offboard/src/offb_node.cpp | 2459451ebd6434b32ee0210ea59007d96de20456 | [] | no_license | EeoBryan/aruco_detection_gazebo | dca242e6729122e32a6759e898f17e1af1db8efd | 2cf7df34f4f4c7581962b44fd7354c6ddfe40d1c | refs/heads/master | 2023-03-18T06:33:58.848594 | 2018-08-27T14:06:56 | 2018-08-27T14:06:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,024 | cpp | offb_node.cpp | /**
* @file offb_node.cpp
* @brief Offboard control example node, written with MAVROS version 0.19.x, PX4 Pro Flight
* Stack and tested in Gazebo SITL
*/
#include <ros/ros.h>
// local position and velocity from FCU
#include <geometry_msgs/PoseStamped.h>
// supports matrix and vector support
#include <Eigen/Core>
/... |
cdd6d9d68c237fade7f55625743731f7c92dbac4 | a6868f7c51b7be653040472c9484de8c8359afa0 | /dkg/networkmessage.cc | acaa0f4892a7e92a950a43b6686af65573e78902 | [] | no_license | ajoyoommen/dkg-for-identity-based-encryption | 38118265f445119888a899624c87d84fc99c8618 | 155db6772f15c5ebc854a580b6167110124a2fb7 | refs/heads/master | 2021-09-09T03:14:31.111884 | 2021-08-29T11:16:29 | 2021-08-29T11:16:29 | 7,142,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,057 | cc | networkmessage.cc | // Distributed Key Generator
// Copyright 2012 Aniket Kate <aniket@mpi-sws.org>, Andy Huang <y226huan@uwaterloo.ca>, Ian Goldberg <iang@uwaterloo.ca>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of version 3 of the GNU General Public License as
// published by th... |
ea43a996df8c02155fd4f819cf80559404c088ef | eea72893d7360d41901705ee4237d7d2af33c492 | /src/calorim/Reco/src/MCConstruction.h | e27af186a8e6242ae973f6d8715f13e7e07b44f0 | [] | no_license | lsilvamiguel/Coral.Efficiencies.r14327 | 5488fca306a55a7688d11b1979be528ac39fc433 | 37be8cc4e3e5869680af35b45f3d9a749f01e50a | refs/heads/master | 2021-01-19T07:22:59.525828 | 2017-04-07T11:56:42 | 2017-04-07T11:56:42 | 87,541,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,925 | h | MCConstruction.h | /*
$Source: /afs/cern.ch/user/g/gobbo/w0/coral/src/calorim/Reco/src/MCConstruction.h,v $
$Date: 2010/03/31 14:50:08 $
$Revision: 1.1 $
*/
#ifndef MCConstruction_Reco________include
#define MCConstruction_Reco________include
#include <vector>
namespace Reco {
class Calorimeter;
class CalorimeterParticle;
cl... |
cc85971f8d068b4175ec2421a2bc204c437351ef | 0d1645e912fc1477eef73245a75af85635a31bd8 | /XControl/html/IHtTableStyle.hpp | 05e955e74e2c948cabf37d64594a82cdbf421c40 | [
"MIT"
] | permissive | qianxj/XExplorer | a2115106560f771bc3edc084b7e986332d0e41f4 | 00e326da03ffcaa21115a2345275452607c6bab5 | refs/heads/master | 2021-09-03T13:37:39.395524 | 2018-01-09T12:06:29 | 2018-01-09T12:06:29 | 114,638,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | hpp | IHtTableStyle.hpp | #pragma once
#include "xbxbase.h"
#include "xuxutil.h"
namespace Hxsoft{ namespace XFrame {namespace XControl
{
class IHtTableStyle : public xbObject
{
public:
virtual const XUtil::Css::TBoxStyle * GetCellCssStyle(INT32 ACol,INT32 ARow)=0;
virtual int SetCellCssStyle(INT32 ACol,INT32 ARow, XUtil::Css::TBoxStyle ... |
a086b0fb27f89f78fc0c2ac8eb729c6d748440bb | aceaf048853cba0c0392ad089bea22f9e3528098 | /_tutorials/code/wakeup-with-no-radio/wakeup-with-no-radio.ino | a60ae7f696a1e36585432d4cc0772145eca67417 | [
"MIT"
] | permissive | hutscape/hutscape.github.io | c5b640bbfda21b9bc7260b5d2f6164c60ff9158a | 27c5d8a79d48025d3270fea704df7a5e5cb43f5d | refs/heads/master | 2023-02-13T04:05:12.235290 | 2023-02-01T05:37:53 | 2023-02-01T05:37:53 | 176,517,102 | 40 | 38 | MIT | 2021-07-15T07:02:01 | 2019-03-19T13:23:46 | C++ | UTF-8 | C++ | false | false | 1,332 | ino | wakeup-with-no-radio.ino | #include <ESP8266WiFi.h>
// Edit "secret" ssid and password below
const char* ssid = "secret";
const char* password = "secret";
int count = 0;
void setup() {
pinMode(2, OUTPUT); // GPIO02 on ESP-12 module is linked to on-board LED
Serial.begin(115200);
delay(10);
Serial.println();
Serial.println();
Seri... |
b5b63de6ae5b6502c3614b5af5a8eff19465f8d8 | c2ebaf489c1932ca852925219c4846377ee23dd0 | /cplusplus/exercise4/q2/q2.cpp | e62df568b0a40678cda81a4a513dfa36a0602ca0 | [] | no_license | edlym96/misc-projects | 0c97be0b0322dd90ea489004a898593b250ee9a7 | e91a79ce91e9ed7a6575e6b8db8227a498c9f131 | refs/heads/master | 2020-06-19T21:33:41.316396 | 2019-08-08T21:37:46 | 2019-08-08T21:37:46 | 196,881,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | q2.cpp | #include <iostream>
#include <fstream>
using namespace std;
int main() {
ifstream in_stream;
ofstream out_stream;
char character;
char next_character;
bool in_comment = false;
/* This is a test. */
cout << "Testing: " << 16/2 << "=" << 4*2 <<".\n\n";
in_stream.open("q2.cpp");
out_stream.open("w... |
e316c401d5fc13c0b6c2cea6c692e7103cd54811 | c6a22981a1583adce7e367b6bcd3eaeae4905767 | /Sorting/Counting Sort/C++/count_sort.cpp | e22f0b341bff3aba9e5916f78720cebf0dd89889 | [] | no_license | yashasvi-goel/Algorithms-Open-Source | f5f68939abf37e2100b4405e615fadc688b294e4 | 1f73502325363636615aa7513c32bb060747415b | refs/heads/master | 2022-10-11T08:32:48.597544 | 2020-10-31T15:25:58 | 2020-10-31T15:25:58 | 253,162,681 | 37 | 43 | null | 2022-09-27T12:36:08 | 2020-04-05T05:30:28 | C++ | UTF-8 | C++ | false | false | 569 | cpp | count_sort.cpp | #include<bits/stdc++.h>
using namespace std;
#define RANGE 1000
void countSort(int arr[], int n)
{
int output[n]={0};
int count[RANGE + 1]={0};
for (int i = 0; i<n ; i++)
{
count[arr[i]]++;
}
for (int i = 1; i <= RANGE; i++)
{
count[i] += count[i - 1];
}
for (int i = 0; i<n ; i++)
{
out... |
362b75bef27a38ac436f23d3afcabeb8e97667b0 | f529d03f30c39c8a82cff5320863094bef74732b | /amazon246/Main.cc | 4f6d0b1fe85f3a4380ccbd32de61e8cc0633fc95 | [] | no_license | ashutosh28/DS_ALGO | c99971414bdd39963f123c8b7a0ee9bff21d98c4 | 370a211dcc5d3ff1921adb571b9c622613a10608 | refs/heads/master | 2021-01-19T00:38:42.982581 | 2017-04-04T14:48:26 | 2017-04-04T14:48:26 | 87,192,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,317 | cc | Main.cc | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
#include <map>
#include <queue>
#include <stack>
#include <list>
#include <climits>
#include <algorithm>
#define VMAX 100001 // max vertices in graph starting from 1 not from 0
using namespace std;
class G... |
4737ce8e9a222fa024b96814290b7ad5e8491470 | 38582d46c7497e617b93e67b382b01c06819152b | /JustinHowellAS4/JustinHowellAS3/inc/EntityMgr.h | 69063694c93aa2c7af78f7e492f4f09bcf83f958 | [] | no_license | jhowell702/2020-Spring-CS326-OgreAssignments | 23be52844ae17a4d35cde78ca05b2afd2618837d | 7ee889c325d810dbf79495e33fc316eb3abd595c | refs/heads/main | 2023-08-20T16:30:51.270073 | 2021-10-18T16:24:11 | 2021-10-18T16:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | h | EntityMgr.h | #include <Mgr.h>
#include <OgreRoot.h>
#include <Engine.h>
#include <GfxMgr.h>
class EntityMgr : Mgr{
public:
EntityMgr(Engine* eng);
~EntityMgr();
void Init();
void LoadLevel();
void Tick(float dt);
void Stop();
void tabSelection();
Ogre::SceneManager* scnMgr;
Engine* engine;
GfxMgr* gfxMgr;
Ogre::Sce... |
2e6a7f9f26746d3b4dc74d34d0b1f7dd4c8069d8 | 15d19b7638ea857961ac674964921ec018d69db2 | /tests/header_units/D1.hpp | 21e7202e6b06ae2470c136bbd4d4e280f7bf38ca | [
"MIT"
] | permissive | stevencpp/cpp_modules | eccf0947a6fcd0520d6540bc1c4d6c553c157235 | a49f8077450eef378d8788ea1e12685cb280ba0e | refs/heads/master | 2020-04-15T19:03:04.556097 | 2019-12-29T19:16:24 | 2019-12-29T19:16:24 | 164,935,808 | 26 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23 | hpp | D1.hpp | inline void foo_d1() {} |
76505a564aa73e3374646c423d14cf8cae6b3613 | 5c176fb35c7f24229657e78014ad151f0bf49880 | /ClearRanks.cpp | 083f9b7966d90029debd785cb8095dd168448b22 | [] | no_license | YangKai-NEU/algorithms | e3caac49d6e30bdcbe3268ad16e797167a03f5eb | 308f0f3434392b294747099626c42b963e0ebfef | refs/heads/master | 2021-01-22T07:42:30.083682 | 2017-09-04T02:55:18 | 2017-09-04T02:55:18 | 102,311,499 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,615 | cpp | ClearRanks.cpp | /*
题目描述
请编写一个算法,若N阶方阵中某个元素为0,则将其所在的行与列清零。
给定一个N阶方阵int[][](C++中为vector<vector><int>>)mat和矩阵的阶数n,请返回完成操作后的int[][]方阵(C++中为vector<vector><int>>),保证n小于等于300,矩阵中的元素为int范围内。</int></vector></int></vector>
测试样例:
[[1,2,3,0,1,2,0,0,1]]
返回:[[0,0,3,0,0,0,0,0,0]]
*/
#include <vector>
#include <math.h>
#include <iostream>... |
2248d6249525997b29e7ae3a167641159dd4b2ad | 7b500ff0f94fd390282eba57cf39b1098b1df913 | /main.cpp | 396e70b83419bf19b29989eb998e4ccf4cfe47fc | [] | no_license | Mando0/CppProjectGUI | 8e03f87f1a8cf18c4594578f6a47dc914aec6c96 | c4c59c12562a920f924cdd4678528cc794cc3fa4 | refs/heads/master | 2021-01-12T10:48:52.242317 | 2016-11-30T21:39:11 | 2016-11-30T21:39:11 | 72,712,465 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | main.cpp | #include "librarys.h"
#include "newWin.h"
#include "shop.h"
int main() {
// Init Windows
newWin mainWin(640,480,"Robbie Robot Shop");
mainWin.newWinProp();
// child 1
mainWin.createLogin();
// child 2
mainWin.createPM();
// child 3
mainWin.createPartMenu();
// child 4
mainWin.partView();
// ... |
7677f0d5474b8cfce8bead3f478c5e9cdb262235 | 80c0f8e238be00dd70e72d8fed2b13f5d0882815 | /phpdev/vc9/x86/deps/include/REPLDIST.H | 6c0142d3d981721afecc7c0338e2db18eee1c093 | [
"BSD-2-Clause"
] | permissive | melissayi-hq/php-5.6.3x4VC9 | 050a56e584c6d908940e8ffca8567dd0e3c7a2fd | 47f9765b797279061c364e004153a0919895b23e | refs/heads/master | 2023-03-16T17:26:26.823087 | 2020-07-21T00:03:22 | 2020-07-21T00:03:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,122 | h | REPLDIST.H | #ifndef _REPLDIST_H_
#define _REPLDIST_H_
// OLEDB header
#include "oledb.h"
#ifndef __IDistributionStore_FWD_DEFINED__
#define __IDistributionStore_FWD_DEFINED__
typedef interface IDistributionStore IDistributionStore;
#endif /* __IDistributionStore_FWD_DEFINED__ */
#ifndef __IDistributionStore_INTERFACE_DEFINED__... |
f8d18c2fe327fe3ef29e57ae8b00fba629c428c4 | 134d09ea69e804b2cf0ff5bea07423699bec7632 | /OS/Sample Programs /Sample Programs/IPC/shm_svr5/message3.h | a725b1bd057ff72bb1d479df96183ce92022748c | [] | no_license | SanskaarPatni/MIT-Manipal-CSE-Labs | c9f5cdd50a12b699e8e7c8eac6a11180d3e39cd9 | da624a5bd52c50781b3918477dcaa9ebb49bf2fc | refs/heads/master | 2023-06-11T09:10:03.755555 | 2021-07-06T09:51:04 | 2021-07-06T09:51:04 | 334,428,650 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,540 | h | message3.h | #ifndef MESSAGE3_H
#define MESSAGE3_H
#include <strstream.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/sem.h>
#include <sys/wait.h>
#include <sys/errno.h>
/* common declaratio... |
b44f1d0c1dc540b2072b1af26e2eeda4fe8b1fc2 | 39add939a92ede97602e9c46cf95adaa6487a247 | /5.cpp | 1f4c90c69dd67cd58afb4d48ba6a80bed8051d71 | [
"Apache-2.0"
] | permissive | GabrielViniciusVieira/questao5 | 47b4cbedf096085e876403b059d1c02edbbe231f | 66e9646a5eea46839342561d9755b9e4fcf5d042 | refs/heads/main | 2023-01-28T16:57:57.066112 | 2020-12-16T02:43:49 | 2020-12-16T02:43:49 | 321,839,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | 5.cpp | void insere(const T& elemento, const int posicao){
Celula<T>* aux1 = NULL
Celula<T>* aux2 = this->inicio;
int i = 0;
while( (aux2 != NULL) && (posicao != i) )
{
aux1 = aux2;
aux2 = aux2->prox;
i++;
}
if(aux1 == NULL && aux2 == NULL) //lista vazia
... |
d4701ee933221e4cf7a09396c259c32aba9563c7 | 24cf1aedb3fa8f73d7cba78d9e45064ea451d694 | /Websites/.aux/Project Euler/Solved/087 - Prime power triples.cpp | 4590fc9e83600ea69d822ae697e796ca1209cb46 | [] | no_license | zayle/Training | 9de9898bed219b8e95963da512d8ec2989c6409c | 8b6fe7b3bcb2a4c1c278bda42c07a410cff37f0c | refs/heads/master | 2021-01-19T01:53:25.744158 | 2016-07-12T16:09:38 | 2016-07-12T16:09:38 | 41,782,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | 087 - Prime power triples.cpp | #include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <vector>
using namespace std;
// fstream fs("in.txt", fstream::in);
const int mx = 50000000;
vector<int> primes;
vector<int> numbers;
void CreatePrimes() {
int i, j, lmt = sqrt(mx);
vector<bool> composites((lmt+1), false);
for (i... |
8593c1f011480784e5d1265a78f6032994c21683 | 89bf40f9f6544db40541fcb5f1b3a6b866c42504 | /sll.cpp | 796adaae33511206bd2b47a85635ed8151fb537e | [] | no_license | srija9/ds_lab | 0e572c2590425b10acbe07c348b6100b4d53272d | 195f2e6a478c767f6ac7b10b64dfb22619c82134 | refs/heads/main | 2023-04-26T01:31:09.633318 | 2021-05-19T02:38:02 | 2021-05-19T02:38:02 | 368,722,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | cpp | sll.cpp | #include<iostream>
using namespace std;
class node
{
public:
int data;
node *next;
};
class sll
{
node *head,*tail;
public:
sll();
void insertAtStart(int);
void insertAtEnd(int);
void insertAtPosition(int,int);
void deleteNode(int);
void deleteList();
void display();
void i... |
312ede567401561ed5c73253a28562dc435a2dcf | 6abb92d99ff4218866eafab64390653addbf0d64 | /AtCoder/othercontests/joi2008/c.cpp | 469ed6a822fd8a68cd8264a94faf94114f4ad622 | [] | no_license | Johannyjm/c-pro | 38a7b81aff872b2246e5c63d6e49ef3dfb0789ae | 770f2ac419b31bb0d47c4ee93c717c0c98c1d97d | refs/heads/main | 2023-08-18T01:02:23.761499 | 2023-08-07T15:13:58 | 2023-08-07T15:13:58 | 217,938,272 | 0 | 0 | null | 2023-06-25T15:11:37 | 2019-10-28T00:51:09 | C++ | UTF-8 | C++ | false | false | 1,395 | cpp | c.cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n, m;
cin >> n >> m;
vector<int> p(n);
rep(i, n) {
cin >... |
909f46f5d2603c7998d3796dee89da3a3628bf9b | 507809cd004f6a4b0fdd86d2f832e10118236155 | /material/parts/BumpMap.h | 457c094bb2d533dc365af12e47b44b45407aef86 | [] | no_license | k-a-z-u/K3De | a52ff5a2da776de3c83b1a8bcb9f3a0df9128745 | 9c1a5395f69014756478b0e4c0cf27df1faf5c38 | refs/heads/master | 2021-06-03T11:45:57.409425 | 2018-05-26T16:34:04 | 2018-05-26T16:34:04 | 45,936,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,258 | h | BumpMap.h | #ifndef BUMPMAP_H
#define BUMPMAP_H
#include "Buildable.h"
#include "../ShaderVariable.h"
namespace MatPart {
class BumpMap : public Buildable {
public:
virtual void build(Material2* material, XMLElem* elem) override {
// vertex shader
//material->getVertexParams().addVariable("normalRotMat", "out mat3... |
62c7d485ac173f45b46c813813a81ed66ac5474e | 307aa1c3fcf7fad1dc5a3aaf4265bac13883c573 | /include/triangle.h | b0e84afcb8bf752f2170e794761b6bb8ef13d918 | [] | no_license | zhousunchun/PluginTest | 92b8e076d16a45505af43f61a4bfbe8b43fb609c | b5c0a0623678ab797dbf77b0d77a4d1d62a49fda | refs/heads/master | 2020-03-30T01:48:48.812277 | 2018-09-27T14:06:10 | 2018-09-27T14:06:10 | 150,596,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | triangle.h | /* triangle.h */
#ifndef __TRIANGLE_H__
#define __TRIANGLE_H__
#include "polygon.h"
#include <iostream>
class CTriangle : public CPolygon
{
public:
virtual double area(void) const;
};
#endif /* __TRIANGLE_H__ */
|
ff0f07d399fd0e15a9bef3afb5058dfd105d972a | 6bee8bb307f1fe71e2308fdee996fc961482a98e | /source/graphics/watch/draw.cpp | 1c4c479253ab3fd7da87eecf2dace0a0376047e8 | [] | no_license | winneymj/BLE_OLWatch | bf29562ee1593f4670d26c17894e9db881b1ab41 | d2c724e33356b96f5f5504511cf4d8c655a36a39 | refs/heads/master | 2020-04-29T13:44:29.044908 | 2020-01-01T21:14:50 | 2020-01-01T21:14:50 | 176,176,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,295 | cpp | draw.cpp | // See zak_oled_watch watch/draw.c
#include <mbed.h>
#include "Adafruit_GFX.h"
// #include "Adafruit_SSD1306.h"
#include "draw.h"
extern uint8_t animation_offsetY();
// void Draw::drawString(char* string, bool invert, int16_t x, int16_t y) {
// _rectX = x;
// _rectY = y;
// _rectW = _width;
// _rectH = _height;
... |
2139b25e4d0c7a1461a1a115d4b0422a38e01b4b | fe04c07a578987d5ffedd350d3477f81db040a8e | /exp/makeTest/inc/global.hpp | de3c346c96b78e843e503e3cefb2eb92be52dca2 | [] | no_license | jgillham/AwesomeRobot | c394a20a0742d4f43df626f2506d118436efde6a | 2be56daa921acb7cac4c5b5048353baaa329e1fd | refs/heads/master | 2021-01-23T03:22:01.044506 | 2013-03-01T21:42:08 | 2013-03-01T21:42:08 | 6,777,899 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 106 | hpp | global.hpp | #ifndef GLOBAL_INCLUDED
#define GLOBAL_INCLUDED
float getVolts( int IRpin );
#endif // GLOBAL_INCLUDED
|
b4b3fd27e8d8942759dc597e7338dc74b434d571 | 6de8c40a5e735713764dae61dc0b2e6ce81e3415 | /Vjezba6/Zadatak/main.cpp | dd76826529f9511281e3015dd8575f52432bcdd1 | [] | no_license | Antonija5654/oop_vjezbe | 647a9aaa84cfbd666636961b1aa408465a8ea988 | a5b0eb20f5312fa63cf7a27f5ee53a56b4e08835 | refs/heads/master | 2022-01-08T02:17:02.668894 | 2019-06-12T09:27:58 | 2019-06-12T09:27:58 | 174,332,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | main.cpp | #include <iostream>
#include "Header.h"
using namespace std;
int main()
{
OOP::Vec3 vektor1;
cin >> vektor1;
OOP::Vec3 vektor2;
cin >> vektor2;
OOP::Vec3 vektor3;
vektor3 = vektor1 + vektor2;
cout << "operator + " << vektor3;
vektor3 = vektor1 - vektor2;
cout << "operator - " << vektor3;
vektor3 = vektor1 * ... |
a498e78f1c0e74a5da7005debe511adaeccfb363 | ee24ef7aaa7d4ab6a66c56e95953414306302df3 | /Cpp/SDK/DataBaseActor_functions.cpp | 896937ea6dc827990e9346289c06fa3b1873f048 | [] | no_license | zH4x-SDK/zAWL-SDK | bfc0573125d3398d892c85eac05a6575592db187 | 3d7001585dab120480e0d16fc24396f61a1d46c6 | refs/heads/main | 2023-07-15T11:05:51.834741 | 2021-08-31T15:10:19 | 2021-08-31T15:10:19 | 401,745,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | cpp | DataBaseActor_functions.cpp | // Name: AWL, Version: 4.24.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-----------------------------------------------------... |
d795ee628353fbc720919fd1cc381cc28887f1c3 | 2bef6f6a1a6e3fe27d4f0158ecad5e13b6c6e205 | /examples/spaceinvaders/ship.cpp | 527eb461df3a5f78c33236e96d4b5db962317033 | [
"MIT"
] | permissive | mancinigabriel/abcg | 8b8456ffe0cf4155a8bfe5b771c3c418ec45a5dc | 33addcb6a937208f8f869482ba90f32f0586fc1e | refs/heads/main | 2023-04-08T05:45:39.141410 | 2021-04-25T22:08:06 | 2021-04-25T22:08:06 | 338,852,997 | 1 | 1 | MIT | 2021-03-20T23:13:34 | 2021-02-14T16:50:52 | C++ | UTF-8 | C++ | false | false | 4,455 | cpp | ship.cpp | #include "ship.hpp"
#include <glm/gtx/fast_trigonometry.hpp>
#include <glm/gtx/rotate_vector.hpp>
void Ship::initializeGL(GLuint program) {
terminateGL();
m_program = program;
m_colorLoc = glGetUniformLocation(m_program, "color");
m_rotationLoc = glGetUniformLocation(m_program, "rotation");
m_scaleLoc = gl... |
4b7b16b657e2ab160cd30e44cd773bcb7dc31d01 | 1a06b7716996414317eea56739a3a8402d8db182 | /dbus-sdr/storagecommands.cpp | 874e5b27689e6d56bbad1a7207ec32e02f9aa3bd | [
"Apache-2.0"
] | permissive | openbmc/phosphor-host-ipmid | 7c3a509ed50bc56a0ab310a9a655f0aefa3b74e7 | 2f0a6d034c1fe9c6ecd844e8cd42449073c91a98 | refs/heads/master | 2023-08-24T22:12:57.039642 | 2023-08-17T17:54:08 | 2023-08-23T23:30:22 | 43,011,325 | 33 | 78 | Apache-2.0 | 2022-06-16T18:41:11 | 2015-09-23T15:57:29 | C++ | UTF-8 | C++ | false | false | 42,375 | cpp | storagecommands.cpp | /*
// Copyright (c) 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
42377c23f476c7ce077e322b0f71f560d9744029 | 33c8f4a71ca4fe71578d8f4bb6f8e4633142d855 | /buildTree/buildTree/test.cpp | de362c1ad4ba5ee864974a9b96635fff407a375a | [] | no_license | siwei1234/cpp | 87252867c02f7c5429b7b241129512e0ac0d5cf1 | 6a8316f4a8dc6c4db681a8ff113db9ea955d14d2 | refs/heads/master | 2021-05-21T15:26:04.706931 | 2021-01-20T08:51:45 | 2021-01-20T08:51:45 | 252,688,553 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | test.cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode* _buildTree(vector<int>& inorder, vector<int>& postor... |
5e9b6264a31a88fcb16aee4d0add40240dbe3552 | 4b8abec8ba41a8e13c76a7239bea6c4edcf4ad6d | /CAnEn/include/AnEnSSE.tpp | e259db9e10f8e517506972a4e92d90ac4ec77fd2 | [
"MIT"
] | permissive | Weiming-Hu/AnalogsEnsemble | c3192699da1351c8a318ee11427c50607e13cca1 | 0706760a45f9d97301721287fd34bafcd16d7b5c | refs/heads/master | 2023-08-09T16:35:29.094417 | 2023-07-24T22:00:32 | 2023-07-24T22:00:32 | 130,093,968 | 19 | 5 | MIT | 2021-08-19T01:37:55 | 2018-04-18T16:47:51 | C++ | UTF-8 | C++ | false | false | 1,714 | tpp | AnEnSSE.tpp | /*
* File: AnEnSSE.tpp
* Author: Guido Cervone <cervone@psu.edu>
* Weiming Hu <weiming@psu.edu>
*
* Created on February 1, 2020, 12:37 PM
*/
template <std::size_t len>
void
AnEnSSE::saveAnalogs_(const SimsVec<len> & sims_arr, const Observations & observations,
std::size_t station_i, std::size_... |
a6669f9feb9bebbc6355fd3e0592583d16ab0fbc | 02e2accd33e8810cb50bd8555cdb92f2a49301e7 | /cegui/src/ScriptModules/Python/bindings/output/CEGUIOpenGLRenderer/OpenGL3Renderer.pypp.hpp | 8140738a2aadc43b2710e48acbe00523690b0867 | [
"MIT"
] | permissive | cegui/cegui | fa6440e848d5aea309006496d2211ddcd41fefdf | 35809470b0530608039ab89fc1ffd041cef39434 | refs/heads/master | 2023-08-25T18:03:36.587944 | 2023-08-12T15:50:41 | 2023-08-12T15:50:41 | 232,757,330 | 426 | 78 | MIT | 2023-08-12T15:40:02 | 2020-01-09T08:15:37 | C++ | UTF-8 | C++ | false | false | 227 | hpp | OpenGL3Renderer.pypp.hpp | // This file has been generated by Py++.
#ifndef OpenGL3Renderer_hpp__pyplusplus_wrapper
#define OpenGL3Renderer_hpp__pyplusplus_wrapper
void register_OpenGL3Renderer_class();
#endif//OpenGL3Renderer_hpp__pyplusplus_wrapper
|
f725086aeb7853126091404dacd30ed88fb5f6ac | aa33d7e10d08a8fd9cf1347a34df8df337a67bc4 | /3B/cs343/A6/browser.h | 2d4915798f9275a3b08b16500109f2fae510df52 | [] | no_license | dmbursty/school | 143f2ad3068d3bd09e8b65181a38068efd42befa | 84aafa36753f9216f405ff02434d864101b30ef4 | refs/heads/master | 2021-03-22T04:36:29.017221 | 2011-01-29T07:26:09 | 2011-01-29T07:26:09 | 137,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | browser.h | #ifndef _BROWSER_H_
#define _BROWSER_H_
#include <uC++.h>
#include <uSemaphore.h>
#include <string>
#include <queue>
#include "keyboard.h"
class Cache;
_Task TopicNameServer;
_Task Courier;
_Task Browser {
public:
struct Job {
const Keyboard::Commands kind;
std::string argument;
unsigned int server;
... |
18fba06e7ee2ef6cea2497c6ba9b64588146abe1 | c2662ccf08c6e02706bef62aa2664acd973aefc6 | /AnthonySturdy_Engine_GEC/AnthonySturdy_Engine_GEC/GameScreen_MainMenu.h | a59b140d62907b39fe2c2c1257c73c1483b71ca6 | [] | no_license | xchsp/SDL-Mario-Bros. | 68997ad7a040d09039dd77742c38894d3f0f67aa | d36c8032923d4cd43b3f4fe22f7a4431db3766f3 | refs/heads/master | 2022-03-02T23:59:27.265872 | 2019-11-09T13:18:55 | 2019-11-09T13:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | h | GameScreen_MainMenu.h | #pragma once
#include "SDL.h"
#include "GameScreen.h"
#include "GameScreenManager.h"
#include "Commons.h"
#include "Constants.h"
#include "Texture2D.h"
#include "UIElement.h"
#include "TextElement.h"
#include <vector>
class GameScreen_MainMenu : public GameScreen {
public:
GameScreen_MainMenu(SDL_Renderer* renderer,... |
a6dd898935cdad1008f3def594c185ca7355353b | 0b15c7a046d703e153b6e6054cb57a0664a2d4df | /RobWorkSim/src/rwsim/control/TrajectoryController.cpp | a8cbdbbffbbf0117182b73deb55e6c30c101d047 | [
"Apache-2.0"
] | permissive | skyellen/robwork-mirror | bf5d97ce19775c2928432854a93fb87ab2f7cd26 | 5a74a49d9ef98eff7c75f48fe48c2e655480e9b3 | refs/heads/master | 2020-04-16T06:10:11.359979 | 2018-09-06T09:26:01 | 2018-09-06T09:26:01 | 165,335,340 | 4 | 0 | null | 2019-01-12T02:01:40 | 2019-01-12T02:01:40 | null | UTF-8 | C++ | false | false | 1,605 | cpp | TrajectoryController.cpp | #include "TrajectoryController.hpp"
#include <rwsim/dynamics/RigidDevice.hpp>
using namespace rwsim::control;
void TrajectoryController::setControlMode(ControlMode mode){
if(mode!=POSITION || mode !=VELOCITY )
RW_THROW("Unsupported control mode!");
_mode = mode;
}
void TrajectoryController::setTarge... |
ecb4cd33893d47046b2066e3ae010c074916245e | 989c31de263a91d93f39b6bfc050259367ee0fbb | /psol/include/net/instaweb/http/public/url_fetcher.h | e0b2098b1d9cefc04d5af7ccd05c8995d6cc91a8 | [
"Apache-2.0"
] | permissive | vinothwindows47/ngx_pagespeed | a00f97935721847bdec7278bac37151a98dff70e | 85a36b8133a1dc8fbb24afecacfb0a2c05616605 | refs/heads/master | 2021-01-24T00:08:44.684277 | 2013-04-26T21:39:24 | 2013-04-26T21:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | h | url_fetcher.h | /*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
5a343786200888c4c9df652174f71f770368354d | e37ab86b402197240f8ea89457fc8f56e9303a1b | /searching/pair_in_sorted_roated_array.cpp | 337a111f5e1e21c7c0242ff2e92fa03ff6ed33a6 | [] | no_license | Rtannu/Code | 8667c3d932191e3b18d612ef04ac78fc0ecd7079 | ada3d6f7aa78e55e8280963aa640553c055a87ff | refs/heads/master | 2022-05-22T12:37:25.076659 | 2020-04-19T10:24:24 | 2020-04-19T10:24:24 | 256,964,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | pair_in_sorted_roated_array.cpp | //Given a sorted and rotated array, find if there is a pair with a given sum
#include<bits/stdc++.h>
using namespace std;
bool PairInSortedRoatedArray(int *array,int no,int key)
{
int i;
for( i=0;i<no-1;i++)
{
if(array[i]>array[i+1])
... |
779d5eb1d8eb4f095b5f9716e6da0d96c1291560 | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Programming AI By Example/Buckland_Chapter7 to 10_Raven/goals/GetWeaponGoal_Evaluator.h | 367a409af4e5ed931ea4ff17f77408d5230735eb | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | GetWeaponGoal_Evaluator.h | #ifndef RAVEN_WEAPON_EVALUATOR
#define RAVEN_WEAPON_EVALUATOR
#pragma warning (disable:4786)
//-----------------------------------------------------------------------------
//
// Name: GetWeaponGoal_Evaluator.h
//
// Author: Mat Buckland (www.ai-junkie.com)
//
// Desc: class to calculate how desirable the goal of... |
923e71a6164a6462899dc1505e485bf3524c5205 | 0229367af1172ca1f686b4f4181345eb325e52a8 | /Design_pattern/SimpleFactory.cc | afb3130b8bd829b0861cec55ca851712ff3cc8c7 | [] | no_license | mamengchen/Ask_Tree | ed79e26f05ab3d16077287159917a1c710c281da | ce947345e53827fcd12bbb715a899c9df4020274 | refs/heads/master | 2020-04-26T12:29:14.482202 | 2019-04-01T14:44:36 | 2019-04-01T14:44:36 | 173,551,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,150 | cc | SimpleFactory.cc | #include <iostream>
#include <string>
#include "DynOBJ.h"
#define REG_CLASS(class_name) \
class class_name##Helper { \
public: \
ImpleTwoHelper() { \
CobJectFactory::registerClass(#class_name, class_name##Helper::createObjFunc); \
} \
static void* createObjFunc() { \
return new class_name;... |
3b6a377f661d29fc7ac714d7c1a4bee6aca35528 | ff8d07e63783780cd2b25e0a58242f592b7aa941 | /数组/867-转置矩阵.cpp | aae820440d68b5eb2466d24d9c332f1baef0641c | [] | no_license | MrChaxs/leetcode_CPP | d9b2877137a436e0c612d37ad297ec79d0ce2c35 | 8a154adfa56bf419afbbc6d6df23f0d6a9de00c4 | refs/heads/master | 2023-07-15T05:07:56.321464 | 2021-08-22T07:38:55 | 2021-08-22T07:38:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | 867-转置矩阵.cpp | /*
给定一个矩阵 A, 返回 A 的转置矩阵。
矩阵的转置是指将矩阵的主对角线翻转,交换矩阵的行索引与列索引。
示例 1:
输入:[[1,2,3],[4,5,6],[7,8,9]]
输出:[[1,4,7],[2,5,8],[3,6,9]]
示例 2:
输入:[[1,2,3],[4,5,6]]
输出:[[1,4],[2,5],[3,6]]
*/
#include<iostream>
using namespace std;
#include<vector>
class Solution
{
public:
vector<vector<int>> transpose(vector<vector<int>>... |
1cd2f1b370e015bd551e57b1f0f9e9b914137ecb | f1fe42ad080a0edb204882319bfca10a174b0daf | /src/spiral_ship.cpp | 53ca9e6f7338ac1a1a0b9714bbce86c192c4bd0c | [
"MIT"
] | permissive | axilleas/pewpew | c8364277d471cba1436d44f36c51767c28164d84 | f30cab013fe17d4ed730311ca8cdc0d444c2a114 | refs/heads/master | 2020-12-25T12:17:21.864592 | 2011-11-17T22:20:49 | 2011-11-17T22:20:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | spiral_ship.cpp | /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : spiral_ship.cpp
* Purpose :
* Creation Date : 05-11-2011
* Last Modified : Sun 06 Nov 2011 07:11:23 PM EET
* Created By : Greg Liras <gregliras@gmail.com>
_._._._._._._._._._._._._._._._._._._._._.*/
#include "spiral_ship.h"
//SpiralShip enemy
spiralShi... |
d778f619f40144e51f6eb8d46e5c1eaf1399f839 | ec52a168a8e88fa51b3f0767935c8106b1644dd7 | /spline_src/kernel.h | 8f60ad04743eeb4f3bea51fff8681575d7284cda | [
"BSD-3-Clause"
] | permissive | CMU-CBML/NeuronTransportIGA | c01224133b13510996bf920f20db0446675146a3 | b735eefcc9c37977311f180b069b6be80703157b | refs/heads/master | 2022-10-22T22:02:39.920812 | 2022-09-28T20:15:23 | 2022-09-28T20:15:23 | 144,590,697 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 970 | h | kernel.h | #ifndef KERNEL_H
#define KERNEL_H
#include <iostream>
#include <fstream>
#include <vector>
#include <array>
#include <algorithm>
#include "BasicDataStructure.h"
#include <sstream>
#include <iomanip>
using namespace std;
class kernel
{
public:
void run(string fn_in);//comparison using B-splines-like
... |
4d14137c964135bf086b77b88c53f0c4823f068a | c432cf3a7db8cd558c7d8b66f9a7be62064ae5a8 | /C++/00_general/999_test/tst02_cadence.cpp | 5f7c0bccce7ef058e81f3867c4336c76708f386f | [] | no_license | babakpst/Learning | 19867acf37145fed8acfd1321ec49b7eba217042 | 945ffb6136b4cb7944810834db1366d8ee5128ad | refs/heads/master | 2023-08-09T06:57:49.476966 | 2023-08-04T13:48:02 | 2023-08-04T13:48:02 | 158,579,987 | 4 | 0 | null | 2020-08-28T21:07:05 | 2018-11-21T16:53:53 | C++ | UTF-8 | C++ | false | false | 146 | cpp | tst02_cadence.cpp |
#include <iostream>
int main(){
int i = 1, j = 1;
while( i-- || j-- ){
printf("i=%d j=%d\n", i, j);
std::cin.get();
}
return 0;
}
|
99f926cb7c0d35c6fd2a0bd5b84bd90a073ad971 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /MuonSpectrometer/MuonCalib/MuonCalibExtraTree/MuonCalibExtraTreeAlg/MuonCalibExtraTreeAlg/MuonCalibHit_EBranch.h | 20c60f1b927b7dd523f64335ffc0bbc33c1e0d00 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | h | MuonCalibHit_EBranch.h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// MuonCalibHit_EBranch.h
// Header file for class MuonCalibHit_EBranch
///////////////////////////////////////////////////////////////////
// (c) ATLAS Detector software
//////////////////////////////////////////////////////////////////... |
6df6f87d7f5f23c35422487ceb5767487fa16ff9 | f76d7388614098f423094b62c6a20066dbb3bfd6 | /SkyDome.cpp | 1f9175bb52855de66fd628f6beafa1d1b9b6a02b | [] | no_license | RenMitsumata/DirectX11 | a134921dfaf51d4b899f24d3aa5d39cb5ef5f793 | e3e65ae5362e73542b662406a439b4c79a17f806 | refs/heads/master | 2020-09-08T13:34:47.215178 | 2019-11-12T06:46:42 | 2019-11-12T06:46:42 | 209,280,353 | 0 | 0 | null | 2019-11-09T12:12:48 | 2019-09-18T10:23:41 | C++ | SHIFT_JIS | C++ | false | false | 4,479 | cpp | SkyDome.cpp |
#include "main.h"
#include "renderer.h"
#include "manager.h"
#include "Scene.h"
#include "texture.h"
#include "GameObject.h"
#include "SkyDome.h"
SkyDome::SkyDome()
{
}
SkyDome::~SkyDome()
{
texture->Unload();
delete texture;
indexBuffer->Release();
vertexBuffer->Release();
}
void SkyDome::Init(float radiu... |
c9ca3da1a5ed33cd33769c563509bfcf5d188aff | 37dd0b4b5e34178a237faf83a4ba038b07c127e0 | /include/nestl/detail/storage.hpp | adfb6d1f928baf75cd73388d751cbb180907f533 | [
"MIT"
] | permissive | dextero/nestl | 8e845db88ff71a8404213b85fbb8e55cc184f450 | f8f183eda0734a73d2af38a77c5f062a2209f76a | refs/heads/master | 2020-04-08T05:43:15.871103 | 2019-05-22T20:31:51 | 2019-05-22T20:31:51 | 159,071,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,055 | hpp | storage.hpp | //
// Copyright (c) Marcin Radomski. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// details.
//
#pragma once
#include <nestl/utility.hpp>
namespace nestl {
namespace detail {
template <typename... Args>
class storage {
public:
alignas(max_alignment<Args...>... |
787d053ace616b69377839e1f501f5ede439e470 | f822e186fba019562569857c8601779a3a468932 | /src/cpp/mains/unit_test_common_trade_lib/priceVolTracker_test.cpp | a5e31a9133b396c743e58b26fdfd76f7ea6b8632 | [] | no_license | ssh352/code_repo | cd418db35d80892c0a56c5292f7c5eba25295641 | 15848a274939696f620696093fbcc42dc3a46b79 | refs/heads/master | 2023-03-19T14:08:31.777110 | 2017-05-10T18:37:26 | 2017-05-10T18:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,375 | cpp | priceVolTracker_test.cpp | #include <tw/common_trade/priceVolTracker.h>
#include "../unit_test_price_lib/instr_helper.h"
#include "tw/generated/instrument.h"
#include "tw/price/quote.h"
#include "tw/price/quote_store.h"
#include <gtest/gtest.h>
#include <vector>
typedef tw::price::Ticks TPrice;
typedef tw::price::Size TSize;
typedef tw::commo... |
975a4fd35068632d469c4fd43438702625795b74 | 1aa0053d2dbdf85e04128450e1aeef096ce0d78d | /homework/src/raytracing/boundingbox.h | 60360398a5957b57dbae9e2ea673338f15c7e13b | [] | no_license | WindyDarian/HomeworkPathTracer | 1f671c7d85839c46d404a20744b74365daef9858 | 1420edf505466d092168e6c1fd116eab92d17092 | refs/heads/master | 2021-01-18T08:44:11.697688 | 2016-08-26T01:42:15 | 2016-08-26T01:42:15 | 42,842,255 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | h | boundingbox.h | #pragma once
#include <la.h>
#include <openGL/drawable.h>
#include <raytracing/ray.h>
// I didn't make BoundingBox itself drawable because
// I was encountering some problem with copy constructor of a drawable
// as it sometimes resets the create() state when a copied instance dies.
// the drawable frame at scene/ge... |
7b98f798d27d13328c01fe83ccc02759aff880e2 | ed88da1786c7f878e9a70ab543b6204d4789161f | /dkswndms4782/two_pointer/2470_두용액.cpp | 1e4c9eac876b7bb0b238ac51b0cd5debaaa8ec3a | [] | no_license | xodud001/coding-test-study | 9236e505a6795f0a6a7ca2465a180910fe51915c | c8823210f7d688e65f9da39edf7d89aefb57f441 | refs/heads/main | 2023-08-02T16:39:45.290697 | 2021-09-08T04:56:32 | 2021-09-08T04:56:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | 2470_두용액.cpp | #include <iostream>
#include <algorithm>
#include <cstdlib>
#include <vector>
using namespace std;
bool cmp(long long int a, long long int b){
if(abs(a) <= abs(b)) return true;
return false;
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int N; cin >> N;
long long int arr[10000... |
7577d3d6cd2e04a1711d406b482a58852dc74789 | 3a909b64f0b2935a09b38e84aa1185b22c169383 | /tests/dvs128.cpp | f6bff31218d99f271dae1a38f243c5d45826c28e | [] | no_license | eberlawrence/openDVS | 62af4bc6407863b548beea4dba2b121f15733ff8 | 1e1b911f9ea762035357f5366bfc0cec654809f2 | refs/heads/master | 2021-06-17T13:59:26.065716 | 2021-04-02T14:59:53 | 2021-04-02T14:59:53 | 191,644,109 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | cpp | dvs128.cpp | #define LIBCAER_FRAMECPP_OPENCV_INSTALLED 0
#include <libcaercpp/devices/dvs128.hpp>
#include <atomic>
#include <csignal>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#define PORT 8000
using namesp... |
80881bbf3f2df1fe6e311d6ba54ae6979713af8d | d97432330bc69e1f382e853b678ec1cec1990990 | /Arma.h | f69d2e0616e5e2fc09da29cbce5ba56b472e919b | [] | no_license | JoelSolano59/POO-Game | 8366b47ac8bea182bdce4a0edaae55133935b91a | 857f44adfbc4fec9a4a603e311a02b6ed5682824 | refs/heads/main | 2023-05-28T14:48:57.985792 | 2021-06-11T22:35:05 | 2021-06-11T22:35:05 | 372,525,504 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | h | Arma.h | #ifndef Arma_h
#define Arma_h
#include "Item.h"
class Arma: public Item{
public:
// Constructores
Arma();
Arma(int, int, std::string, std::string); // int daño, int numUsos, string nombre, string descripción
// Getters y Setters
int getDanio() const;
void setDanio(int);
// Métodos
... |
9c70d494e76ed31a8863cdaa2d791e42bac53ed2 | 07faf13693a4770e4a1a0b951b397c976d4f529c | /Ouroboros/Source/oSurface/libjpgturbo.cpp | ac61b6699a5468a825f0ebbcd62184be18a60144 | [
"MIT"
] | permissive | dismalion/oooii | 5bb3a8b5f9c97c4d280e3380730bd6b170edaaf3 | 0866541aee7bef8fc4a877b8aac8bd7cdebde755 | refs/heads/master | 2021-01-10T13:02:43.269614 | 2014-09-24T05:25:43 | 2014-09-24T05:25:43 | 48,484,964 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,220 | cpp | libjpgturbo.cpp | // Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use.
#include <oSurface/codec.h>
#include <oMemory/allocate.h>
#include <oBase/finally.h>
#include <oBase/throw.h>
#undef JPEG_LIB_VERSION
#define JPEG_LIB_VERSION 80
#include <libjpegTurbo/jpeglib.h>
// this is set at the start of encode and/or... |
cf1c7ad51ab37ba9e7aa5eab54673eeec910e537 | 1c98867697553c67f5bcca1acab147b87d37bb5b | /poker.cpp | 15ce71ffe9b8dea1c21505be29d5420fdf1b806b | [] | no_license | IlTiro/myCasino | 6ae1d72862e1efe7b170e9329028b56c8de0b0bd | 507322559adea1e075e55286851a40fab8f95f53 | refs/heads/main | 2023-01-20T10:20:55.537536 | 2020-11-26T18:03:54 | 2020-11-26T18:03:54 | 316,302,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,294 | cpp | poker.cpp | #include "poker.h"
#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<ctime>
#include<fstream>
using namespace std;
//constructor
poker::poker(char ling){
nplyr=9;
int n=nplyr*2+7,app;
//inizializza mazzo
for(int i=0;i<52;i++)
mazzo[i].cod=i;
for(int i=0;i<13;i++)
mazzo[i].seme="cuori... |
351e16e71b4fdf65e6453597b77283b4bbef2417 | 2a20de46ae2e16e31a5f93b41d97df658343c9ad | /Year-2019/Jun/2019-06-06-24/yuange/yuange24.cpp | 30e9460e3d0155435a592d159c97fde2640f9e3d | [
"ICU"
] | permissive | ygtxr1997/CodingEveryday | 9566c79cf110f333973013c1f5f9af94c93d2569 | 34f6641f14c8ab80d17b6cebf27a2769701c7162 | refs/heads/master | 2021-07-09T00:48:25.351284 | 2020-07-31T05:16:18 | 2020-07-31T05:16:18 | 172,870,889 | 13 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | yuange24.cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
// 0ms,100%
// pp->pn->qq
// | |
// tt res
class Solution {
private:
ListNode* pp;
ListNode* qq;
ListNode* res;
ListNode* tt;
ListNode* p... |
24918881b1852ea2b2e93abaef17df3ee7942a63 | 8a36c5ad785480279e78ab6054a44fdba8d3dc00 | /SchoolFestival2017/TitleScene.hpp | 2a9d94332e4ddeaf3b13a32090897a77adc8a8e1 | [] | no_license | falrnd/WorkerBee | fc00004d23c93029af9d9ba7bbd0c06bb5eb7f18 | 1c586d9e095a4deae13ba4fde4290cfe7d4de986 | refs/heads/master | 2021-01-23T05:46:08.931209 | 2017-09-15T15:05:35 | 2017-09-15T15:08:28 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,373 | hpp | TitleScene.hpp | #pragma once
#include"Global.hpp"
#include<Siv3D/String.hpp>
class TitleScene:public MySceneManager::Scene{
public:
const RoundRect
start{260,400,270,70,40},//start{180,400,270,70,40},
rule {510,400,270,70,40},
rank {430,480,270,70,40};//rank {510,480,270,70,40};
void update() override{
if(start.leftClicked... |
8535e436440dfd418b1ef5f060379fa171b3b9b0 | b20353e26e471ed53a391ee02ea616305a63bbb0 | /trunk/game/gas/GameGas/CObjIDPool.h | a0983f832cea078f08f0a7ee159378b4e88dd0f9 | [] | no_license | trancx/ybtx | 61de88ef4b2f577e486aba09c9b5b014a8399732 | 608db61c1b5e110785639d560351269c1444e4c4 | refs/heads/master | 2022-12-17T05:53:50.650153 | 2020-09-19T12:10:09 | 2020-09-19T12:10:09 | 291,492,104 | 0 | 0 | null | 2020-08-30T15:00:16 | 2020-08-30T15:00:15 | null | UTF-8 | C++ | false | false | 357 | h | CObjIDPool.h | #pragma once
#include "CEntityMallocObject.h"
class IObjIDPool : public CEntityMallocObject
{
public:
virtual ~IObjIDPool() {}
virtual uint32 GenerateID() = 0;
};
class CGameEntityIDPool : public IObjIDPool
{
public:
CGameEntityIDPool();
virtual ~CGameEntityIDPool();
virtual uint32 GenerateID();... |
df4e72fb07c4002cb0e78c9b0e100242b9e14ddd | 23736a4f896deb8ed8e86445725ff1c87c258794 | /handlers/token_collector/tests/test_utils.hpp | e7ab713f65319203467dd3f038335ab0692c41fc | [
"BSD-3-Clause"
] | permissive | jhuber6/qcor | 2cefa20b85169e97747919c65dad907f2e947f90 | 4073bed8acbfedc464d082388bcb43b3d56faa49 | refs/heads/master | 2023-06-07T04:33:31.976563 | 2021-06-24T18:11:07 | 2021-07-01T14:37:00 | 351,512,078 | 0 | 0 | BSD-3-Clause | 2021-03-25T16:56:51 | 2021-03-25T16:56:50 | null | UTF-8 | C++ | false | false | 1,224 | hpp | test_utils.hpp | #pragma once
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Basic/TargetOptions.h"
... |
3a2227c0046ae756c20ee7c44c5a7510d18700a5 | 5950c1da3c975cdf203287d214c039cba9530683 | /hellovr_dx12/Models.cpp | 956a085e1ebb76518ed02bb6c1ab48a2eccf77df | [] | no_license | ousttrue/d3d12_practice | fd4eb640d2762c0947ea88afc5aa24565a9efdf9 | fd7645b908ff4e6de289af1c1b5b260d9c5d8b97 | refs/heads/master | 2023-06-20T02:20:17.998592 | 2020-02-17T19:41:12 | 2020-02-17T19:41:12 | 238,118,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,276 | cpp | Models.cpp | #include "Models.h"
#include "d3dx12.h"
#include "GenMipMapRGBA.h"
#include "CBV.h"
#include "dprintf.h"
#include "Matrices.h"
#include "Hmd.h"
#include <vector>
static void ThreadSleep(unsigned long nMilliseconds)
{
::Sleep(nMilliseconds);
}
class DX12RenderModel
{
Microsoft::WRL::ComPtr<ID3D... |
2ff4859f76254fd9db5700ac1fa122177b1ab631 | 63b7eeb13966847cf499e361a0da4918e7e11b96 | /CAST/source/src/Similarity.cpp | 36c2270697c668e29e8ac2e61bb40f2043cfe4e0 | [] | no_license | siolag161/liege_sp | 139dd23214bd3e6b10a88735ff91523560ce47cc | 6257d22d0db127c10082664b3175a2225bb58a15 | refs/heads/master | 2020-04-06T05:46:42.474101 | 2014-07-16T15:40:19 | 2014-07-16T15:40:19 | 20,776,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | cpp | Similarity.cpp |
#include "Similarity.hpp"
#include "MutInfo.hpp"
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/median.hpp>
namespace fltm {
SimilarityCompute::SimilarityCompute( const Positions& pos ,
c... |
4dfac2e4a940ac932922930f4653d685aea5d3e2 | cd9d5422bfab6f6e7c573af09a16626d0a738916 | /todo/301.RemoveInvalidParentheses.cpp | 56324397773e98b3e0e55df91d436f49c3a8426d | [] | no_license | Lingfei-Li/leetcode | dd4bd8365a25ca279b51fc8cc546f44c02c5d7ef | 36bd3b2a9e679c61962e946901f995142b85efaa | refs/heads/master | 2021-01-19T06:58:57.783787 | 2016-06-21T04:37:58 | 2016-06-21T04:37:58 | 59,934,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | 301.RemoveInvalidParentheses.cpp | #include"mytest.h"
// 0.先trim
// 1.如果到i已经平衡了,则不能从i以前去掉'(',但是可以去掉')'
// 2.不能从第一个去掉(,不能从最后一个去掉)
void solve(string& s, int pos, int cnt, vector<string>& ans){
if(pos == s.length()) {
return;
}
char c = s[pos];
if(c == '(') {
cnt ++;
}
else if(c == ')'){
... |
6eefbcf7e835e3db7068e0d472f50edb1133bc16 | cf0561408771085b8220ce29d27f1b9a09a7b928 | /R-Type/JumpEnemy.h | 0ed78da90af49b6ea8216749f5b08fdab8ba4ff2 | [] | no_license | JHolthausen/R-Type | 9dc83297201fc2ad171ac135dd1ddd427c956611 | 81de9a20b46ef555d87b85139bd02424f04ff4d1 | refs/heads/master | 2020-12-02T08:11:06.120046 | 2017-07-10T14:15:20 | 2017-07-10T14:15:20 | 96,782,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | JumpEnemy.h | #pragma once
#include "EnemyParent.h"
namespace Tmpl8{
class JumpEnemy : public EnemyParent
{
public:
JumpEnemy(Surface* screen);
~JumpEnemy();
void Draw(float x, float y, glm::vec2 camPos);
void Update(glm::vec2 target);
BulletParent* Shoot(glm::vec2 target);
RECT GetAgroRect();
int count = 0;
... |
fce15f1dc36724da0a4b23112990767cc97dc3f5 | 041caa7a5d0690e5d97b48e5149a18aca3dd85fe | /source/oc/ocGame/ocGame.hpp | 3d9d1f91e7c6e14c1c67953c109eaf4180fb72ec | [
"BSD-3-Clause",
"MIT"
] | permissive | mackron/openchernobyl | 584a8ddf89a6799161b2912ff2cc3724e7118c4e | 47c854ce37e1c361b184e29a59e4881a6faa387c | refs/heads/master | 2023-02-21T16:57:09.977327 | 2021-01-18T08:15:27 | 2021-01-18T08:15:27 | 5,089,225 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | hpp | ocGame.hpp | // Copyright (C) 2018 David Reid. See included LICENSE file.
#ifndef OC_GAME_HPP
#define OC_GAME_HPP
#include "../ocEngine/ocEngine.hpp"
struct ocGame
{
ocEngineContext engine;
ocWindow window;
ocTimer timer;
ocWorld world;
ocGraphicsSwapchain* pSwapchain;
ocGraphicsRT* pWindowRT;
ocBool3... |
88e199dca5f55983f2759988947159332aaae157 | 0da851ae945f11d0cca14fd8b177360132e9d27b | /src/Global.cpp | 599d9c714f26c95c4b9fc02bca8edd4e711d6002 | [] | no_license | ALSchwalm/Galactix | 398fd9b202f5dbe6a1d7bfbb7c603cf3bb09932b | 3332ce217fc672604eafb8a052184cf0c836ee77 | refs/heads/master | 2021-01-10T20:07:42.681102 | 2012-10-10T15:10:02 | 2012-10-10T15:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | Global.cpp | #include "Global.h"
Uint32 startclock;
Uint32 currentFPS = 0;
Uint32 deltaclock = 0;
Uint32 waittime = 1000.0f/FPS;
Uint32 framestarttime = 0;
Sint32 delaytime;
bool move_right = false;
bool move_left = false;
bool move_up = false;
bool move_down =false;
int v_offset = 0;
int h_offset = 0;
TTF_Font * font = NULL;
... |
4a5a0251d334007fe5b6cf5d550f1d8906993bce | 4058b0e85610b08824c7496f318422d73ddfbc12 | /wait/Thats serious/Tower/Render/VertexArray.hpp | 3d3f192c253e1f2a450873b407be26eb2ec4c65c | [] | no_license | JLMPL/EvilMonkeys | b2d02516beafa66cf0d3837aa8426234c05757e4 | 3602bbb12dc0c20baebe257582a98518bfd34718 | refs/heads/master | 2021-09-27T17:20:32.115026 | 2021-09-12T12:58:40 | 2021-09-12T12:58:40 | 132,334,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | hpp | VertexArray.hpp | #pragma once
#include "OpenGL.hpp"
class VertexArray
{
public:
VertexArray() = default;
~VertexArray();
void init();
void vertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
void bind() const;
vo... |
322c72175d05a37390dd258ecc4ca90f9fda9a98 | e8363fac1e229ac367d7789cd1bcd6bb9815c8c6 | /db/cuckoodb.h | 7c236567c3f016e9593ac9ab3406f0d8976a6e7c | [
"BSD-3-Clause"
] | permissive | DongyuanPan/CuckooDB | 6861fc018574725ec0a557d985fda96bfc180f8f | 24682f5336269deab6b751b3f7ac0f154e3e45cf | refs/heads/master | 2020-11-26T05:23:56.894400 | 2020-01-15T14:15:00 | 2020-01-15T14:15:00 | 228,975,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | h | cuckoodb.h | /**********************************************************
* Copyright (c) 2019 The CuckooDB Authors. All rights reserved.
* Author : Dongyuan Pan
* Email : dongyuanpan0@gmail.com
* Last modified : 2019-10-22 20:35
* Filename : cdb.h
* Description :
* *************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.