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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c001f7815b3d424f7a042d30def1883204e2a914 | e14dcfc986eacc33b08920bd12766f7aa39aabae | /Classes/FindAttackTargetBehavior.hpp | 6e31cc4291efec8ffb82718cb4faf08bb68b550e | [] | no_license | tempdban/ClashRoyale | c186083562da9fe99e8ca58c95b75072ac134054 | 79db9ba39bd7306c7501109fc4ee89846f72edf3 | refs/heads/master | 2021-01-18T10:52:08.194621 | 2016-04-23T07:07:08 | 2016-04-23T07:07:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | hpp | FindAttackTargetBehavior.hpp | //
// FindAttackTargetBehavior.hpp
// ClashRoyale
//
// Created by 贾佳菊 on 16/4/7.
//
//
#ifndef FindAttackTargetBehavior_hpp
#define FindAttackTargetBehavior_hpp
#include <stdio.h>
#include "ToolFunction.hpp"
class Character;
class BattleLayer;
class FindAttackTargetBehavior: public cocos2d::Node{
public:
... |
e665d95387e4db99a68ac75efb489afbd23a1ab3 | 35c7e16c69e2f0372691807a8cc72287a574f69f | /include/f1tenth_sensor_fusion/trackers.h | 6df25dc7e8a0256e102d881b467e0ae883062e32 | [
"Apache-2.0"
] | permissive | g-kovacs/f1tenth_sensor_fusion | 4d15a21ca18c81dbb8f36c56b73ff2e34dcbeb7b | 09a91f984a686fcdfd05d8c49954d115b3eeac73 | refs/heads/main | 2023-08-21T20:18:51.353713 | 2021-08-19T11:33:11 | 2021-08-19T11:33:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | trackers.h | /* Copyright 2021 Kovács Gergely Attila
*
* 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 ag... |
fcad7a56819179452eb661f18861deace5674418 | e645ebf3b5177eb0ebedb7f239bd6e1b40bf1b07 | /packages/bputils/include/bpdox/Parser.h | 103d2548649f251fce2b150698d5e68b2879cc70 | [] | no_license | lsst-dm/bp | e095cdb7412124fef39bdd8428fce70bbf0f462a | 31c0b65866d06a09575a53d0dd558320e6994a06 | refs/heads/main | 2023-07-22T11:32:48.479329 | 2023-07-10T00:30:32 | 2023-07-10T00:30:32 | 37,212,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | h | Parser.h | // -*- c++ -*-
#ifndef BPDOX_Parser_h_INCLUDED
#define BPDOX_Parser_h_INCLUDED
#include "bpdox/Processor.h"
namespace bpdox {
class Parser {
public:
static char const MARKER = '@';
Parser(char const * current, char const * end, Processor const & processor, bp::list data) :
_current(current), _end(e... |
a4a2573635789c369cd9fd90fe61ea0b5fe376e0 | db15406151a22275ceae46221ab1ffea934bb07a | /src/RcppExports.cpp | 7a3cea06181e364ab97564c577441a5106056377 | [] | no_license | jimb3/readbinarydosage | 3756508016500a801ff3acc3897b87f57c5aaa52 | c0eafc2c828c55e85abb8f409b3fcfac81398467 | refs/heads/master | 2021-05-25T19:48:30.416341 | 2020-05-12T15:45:25 | 2020-05-12T15:45:25 | 253,896,092 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,136 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// readsnpsc
Rcpp::List readsnpsc(Rcpp::StringVector& filename, arma::uvec& subjects, arma::uvec& snps, int nsub, arma::ve... |
7e6b737a8164fb7afd659d4732b528f01e334546 | 747a4c8cc6cbccb0ae7a519edc1f27b7295ff59d | /DLLog/dllog.cpp | 1853f3526a86ab384bb1458805c641fbb9eac03d | [] | no_license | 591342534/DLLog | f37f0b84a95e4f00ab94331faedd27e5488d79d8 | b6ccd5346e07915459d7ebc145445e5a3c489e90 | refs/heads/master | 2021-10-19T13:01:59.259309 | 2019-02-21T04:23:39 | 2019-02-21T04:23:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,931 | cpp | dllog.cpp | /////////////////////////////////////
// File name : dllog.c
// Describe : not set
////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <stdarg.h>
#include <dirent.h>
#include <sys/stat.h>
#include <string.h>
#include "dllog.h"
//DLlog default confi... |
eae06645492359d76a900435826b0465f83daea3 | 5b1a10605778c692a4133a0733a309c05f0c4bad | /Bundle1/Fraction.h | 7ce02ed124041917b1449ef0e81bfd83933cad87 | [] | no_license | nc-uw/Cplusplus | 04dcdbb9c3e1baa69ca54b49347625195e02198f | dacb3e6ebb59bc7d324952bca0d0c67e6d05b936 | refs/heads/master | 2020-06-07T08:41:04.404579 | 2019-06-23T00:42:40 | 2019-06-23T00:42:40 | 192,974,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | h | Fraction.h | /* The following code example is taken from the book
* "Object-Oriented Programming in C++"
* by Nicolai M. Josuttis, Wiley, 2002
*
* (C) Copyright Nicolai M. Josuttis 2002.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyright notice appears in all copies.
* This sof... |
3edee6d27c1dfd066de6745dcae260990ababa5a | 28fef6171d93fdf6d93dd358e60d13ab0363cf4e | /rts2015jamm/release/Game/Game_Events/Orders_Follow.h | 94096259ed168e6ad1829a5e5d2ded6199eb6512 | [] | no_license | antoinechene/RTS-SDL | 6ae15210332bae583f08f2dd304e04a5b30a0451 | bd53ff795a031c62dbd1ddaa322ef8a73f04469e | refs/heads/master | 2016-09-06T09:34:26.214903 | 2012-09-06T14:15:06 | 2012-09-06T14:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | Orders_Follow.h | #ifndef __ORDERS_FOLLOW_H__
#define __ORDERS_FOLLOW_H__
#include "GameEvent.hpp"
#include <vector>
class cmd_Orders_Follow;
class Orders_Follow : public GameEvent
{
public:
Orders_Follow(std::vector<cmd_Orders_Follow>*, uint32_t t);
virtual ~Orders_Follow();
virtual void Apply();
private:
std::vector<cmd_... |
93c7980dc157963784546157c6d1aab121101e97 | 64d5e3790f97b636da6242e607ac1fa2eff9be7a | /InsertionSort/main.cpp | d766346222384ad81b86ae4d440fcf2de83a4c00 | [
"MIT"
] | permissive | Kapil706/GeeksForGeeks.Cpp- | 57328ed1f72a0be498af5f09381b543dc8e4a3b5 | 3251fe2caf29e485656626d758058bd968e50ae1 | refs/heads/master | 2020-06-13T14:22:39.707718 | 2019-11-19T09:49:02 | 2019-11-19T09:49:02 | 194,684,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | main.cpp | #include <iostream>
using namespace std;
int InsertionSort(int arr[], int n){
int key;
for(int i=1;i<n;i++){
int j=i-1;
key =arr[i];
while(j>=0 && arr[j]>key){
arr[j+1]=arr[j];
j--;
}
arr[j+1]=key;
}
for(int i=0;i<n;i++){
... |
fc3ea1733d6f65b8d218c8155a050827267209ea | 95739ca059f070daec134c7c477fd1ccccc5577a | /ConsoleApplication1/Aula 1110 calculadora simples/Aula 1110 calculadora simples.cpp | 30e6878138d6b276b5cf39c7fdd6f89543ecf8e2 | [] | no_license | kenjifujita1919/Alg2 | 871f2430e2ecb3cf556ebbbb67d9dc580da61f1e | 518246fb63f2959ac5aa9f151b14495454ee314e | refs/heads/master | 2020-03-31T15:15:42.534192 | 2018-10-12T01:26:41 | 2018-10-12T01:26:41 | 152,331,171 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,022 | cpp | Aula 1110 calculadora simples.cpp | // Aula 1110 calculadora simples.cpp : Define o ponto de entrada para a aplicação de console.
//
#include "stdafx.h"
#include <iostream>
int soma2valores(int x,int y)
{
int c;
c = x + y;
return c;
}
int subtracao2valores(int x, int y)
{
int c;
c = x - y;
return c;
}
int multiplicacao2valores(int x, int y)
{
... |
083cf45206f25d44b0dcca145c74285fa88a218c | ce6b921a812d1bad1d8ca3e0521fc4829fc7b73d | /algorithm/tree/BinSearchTree.hpp | ffdf1b913c9e7af63bbe78326aab0a885f72f9a8 | [] | no_license | waterylife/SFC | 67165d639b913659effcf465f24b1d9c876c4079 | 8a9eb3afdf016d7b532c367c40f51d6721da9e14 | refs/heads/master | 2020-04-02T02:21:56.132983 | 2014-12-24T03:58:21 | 2014-12-24T03:58:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,640 | hpp | BinSearchTree.hpp | /*
* 二叉排序树实现
*/
#ifndef __BIN_SEARCH_TREE_H__
#define __BIN_SEARCH_TREE_H__
#include <stack>
using namespace std;
template<class T>
class BinSearchTreeNode
{
public:
T key;
bool flag; //用于后序非递归遍历
BinSearchTreeNode<T>* parent;
BinSearchTreeNode<T>* lchild;
BinSearchTreeNode<T>* rchild;
};
... |
a9d6ad160e105bf186d7876f4cf4235bacb2c009 | a01da6d6a1cd146f20698bf23ee53c3be178523e | /BNode.cpp | cfe79317a31d63336c5cf256f14d78c3ba5dcdcf | [] | no_license | YoungProducer/b-tree | a0c3e0c19e3f9318608b366da57d575475f7c7a4 | 436e46a5132c7d92c8670cede0f17bdeb18bcca5 | refs/heads/master | 2023-07-26T23:31:31.377114 | 2021-09-09T21:05:56 | 2021-09-09T21:05:56 | 404,670,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,363 | cpp | BNode.cpp | #include "BNode.h"
BNode::BNode(std::vector<float> data, size_t maxSize)
: _data(data), _maxSize(maxSize)
{
_childNodes.resize(maxSize + 1, NULL);
if (data.size() == maxSize)
{
_full = true;
}
}
BNode::BNode(size_t maxSize)
: _maxSize(maxSize)
{
_childNodes.resize(maxSize + 1, NULL);
}
BNode::BNode(std::v... |
49d32d3e6e96af062a02632c1c0090e0b1dc36ba | f794fe7b0074b842e77607d7746623fc8d18fc2c | /source/process/log-server/LogServerRequest.cpp | 22305d1cdc534f92ef06c225bb0e7b627a96c6df | [
"BSD-3-Clause"
] | permissive | pombredanne/sf1r-logserver | 387e1f453132dde12f8adbebec56d04922575821 | d46fb3484792dac5c2e722878232ed42ccea1050 | refs/heads/master | 2021-01-15T12:28:14.151722 | 2014-09-12T10:22:28 | 2014-09-12T10:22:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | LogServerRequest.cpp | #include "LogServerRequest.h"
namespace sf1r
{
const LogServerRequest::method_t LogServerRequest::method_names[] =
{
"test",
"insert",
"insert_with_values",
"get_current_topk",
"get_topk",
"get_current_dvc",
"get_... |
c0c483b9391a6293548cd8f7d19c3d9f4dd49d86 | 6f224b734744e38062a100c42d737b433292fb47 | /flang/runtime/extrema.cpp | 70b2c4d3d735a176450127882162b5aa47062c91 | [
"LLVM-exception",
"Apache-2.0",
"NCSA"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 34,065 | cpp | extrema.cpp | //===-- runtime/extrema.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
4c0d02f8216a04fb1a4a5c8db2677eb080b007f6 | d41f6edf1dd5a794894c686bed6a97dcdf622eff | /src/editor/modes/visual.cpp | 7c71110ddd44dfbf35439551b7bfd7efef239f27 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | GiovanyH/GioEngine | d4b5774368816c1865fbabc9b6bde4544ca54f14 | cda5c26ab95646eef415e752994ce5efd4d9939e | refs/heads/main | 2023-02-06T01:29:17.914334 | 2022-08-16T22:16:26 | 2022-08-16T22:16:26 | 511,667,429 | 2 | 0 | NOASSERTION | 2022-08-16T22:16:26 | 2022-07-07T20:36:16 | Makefile | UTF-8 | C++ | false | false | 612 | cpp | visual.cpp | #include "include.h"
TextEditor::Modes TextEditor::handleVisual() {
current_mode = Visual;
if(ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_H))) MoveLeft(1, true);
else if(ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_L))) MoveRight(1, true);
else if(ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_J))) MoveDow... |
5dac504d90c4c451b3dbff29281937da24a6658c | e0b8edcb46e4b05483cb391c58854e4731c3f30a | /src/public/slpool.h | 2677ee4fbdce5ed556205c7fceda8ff6d096b122 | [] | no_license | DuanDechao/shyloo | fcf147dd993f921ed3e6a6833af1ce9d0ac6e726 | 775231d3bbfbe3094fcd7393ad810d43c91784a4 | refs/heads/master | 2022-12-24T18:31:02.701260 | 2019-01-22T09:19:04 | 2019-01-22T09:19:04 | 47,161,086 | 9 | 3 | null | 2022-12-18T00:08:55 | 2015-12-01T02:47:06 | Python | UTF-8 | C++ | false | false | 4,214 | h | slpool.h | #ifndef __SL_PUBLIC_POOL_H__
#define __SL_PUBLIC_POOL_H__
#include "slmulti_sys.h"
#include "sltools.h"
namespace sl{
template<typename T, int32 chunkCount = 1, int32 chunkSize = 64>
class SLPool{
enum{
IN_FREE = 0,
IN_USE,
};
struct ChunkList;
struct Chunk{
char _buffer[sizeof(T)];
ChunkList* _parent;
... |
9ebd606dd83ba974ecde884d0c37f73a7580ecb1 | 319b1e8d67a475ca3822464d044ae4af09cb0f12 | /BEEP/Node.h | ae44b8ae664fca844f97c7e89e520a601eca865e | [] | no_license | BEEP-algorithm/BEEP-algorithm | 56b87229485529f9c6395d9846cf84ba53cf6108 | 3082f050af62d2442f77badb7b4e22f6c70c0dc3 | refs/heads/main | 2023-03-04T02:32:01.264574 | 2021-02-15T15:50:48 | 2021-02-15T15:50:48 | 335,218,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,365 | h | Node.h | #ifndef NODE_H
#define NODE_H
#include "Common.h"
#include "Attribute.h"
#include "Pattern.h"
class Node {
public:
Node(int alphabet_size, int *alphabet_sizes, int timestep) : alphabet_size(alphabet_size),
alphabet_sizes(alphabet_sizes), t... |
4a8befaad381e85b032cd420e0006d22a9405af4 | c1ced4916270d7dec7ccbb8486290433fb189ca4 | /nullsource.h | dd4cc4a4ed4e955f44c594a67524d3cc5d9fd92e | [] | no_license | lltcggie/qaac | 041b7c8d2d2579251181e96073de15684fe28659 | 1abcf4c3bc3306566fff367d8065d0b09f5de95b | refs/heads/master | 2020-12-31T03:41:00.494826 | 2014-08-15T13:02:41 | 2014-08-15T13:02:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | nullsource.h | #ifndef _NULLSOURCE_H
#define _NULLSOURCE_H
#include "iointer.h"
class NullSource: public PartialSource<NullSource> {
SampleFormat m_format;
public:
NullSource(const SampleFormat &format):
m_format(format)
{}
uint64_t length() const { return getDuration(); }
const SampleFormat &getSam... |
1e83d657a9a18f23124bd9d7b17e2ce0e04fd3b5 | c47c254ca476c1f9969f8f3e89acb4d0618c14b6 | /datasets/github_cpp_10/7/5.cpp | a4e60da138db2768eee5e19e9fb9d8a7e301eeab | [
"BSD-2-Clause"
] | permissive | yijunyu/demo | 5cf4e83f585254a28b31c4a050630b8f661a90c8 | 11c0c84081a3181494b9c469bda42a313c457ad2 | refs/heads/master | 2023-02-22T09:00:12.023083 | 2021-01-25T16:51:40 | 2021-01-25T16:51:40 | 175,939,000 | 3 | 6 | BSD-2-Clause | 2021-01-09T23:00:12 | 2019-03-16T07:13:00 | C | UTF-8 | C++ | false | false | 1,816 | cpp | 5.cpp | #include <iostream>
#include <vector>
#include <ctime>
#include <cstdlib>
using namespace std;
template <typename T>
void Merge_Sort(T &A, unsigned p, unsigned r)
{
cout << "merge sort " << p << " " << r << endl;
if (p < r) {
unsigned q = (p+r)/2;
cout << "begin left" << endl;
... |
43020dd5e5fc8ffe90f852fb1f1b8d6fb8b41bd5 | 2878085060affd8375c9a2cdf7319b0a2280f8be | /src/ui/Screen.cpp | b72e9ba3b9df266bb2d9a57afa88b4356a57be99 | [] | no_license | silascodes/sgame | d2829b322b6971fa566d4884725e842dbbfaa98a | b563fc2d84208b4922cc7e7595bc470fdbed3eab | refs/heads/master | 2021-01-23T19:25:53.218607 | 2017-09-08T05:36:44 | 2017-09-08T05:36:44 | 102,821,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,698 | cpp | Screen.cpp | #include "ui/Screen.h"
#include "ui/widgets/Container.h"
#include "Log.h"
namespace ui {
void Screen::Init(lua_State *scriptState) {
Log_Info("");
this->root = new widgets::Container();
this->mouseFocus = NULL;
this->keyboardFocus = NULL;
this->scriptState = scriptState;... |
fd6e47818dbac67a3e3ca989f169c3f55a4e50ee | a4ad4b6eeb12fcb44125b51e07738b0355eddfff | /Number1/Material.cpp | a57c9f8807b1cfcf2ace2b401ce51faee306183e | [] | no_license | HongYD/OpenGLCourse | ef1828f2af9d9b5ed0eed89a49f9380d251916da | 9cdf1b4f8833e6d3f7d322bf11804d55d1d01737 | refs/heads/master | 2022-08-03T02:05:25.907899 | 2020-05-25T12:57:01 | 2020-05-25T12:57:01 | 259,295,157 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | Material.cpp | #include "Material.h"
Material::Material(Shader * _shader, glm::vec3 _ambient, glm::vec3 _diffuse, glm::vec3 _specular, float _shininess):
shader(_shader),ambient(_ambient),diffuse(_diffuse),specular(_specular),shininess(_shininess)
{
}
Material::Material(Shader * _shader, unsigned int _emission, glm::vec3 _ambien... |
1fc88def658f48bba232a3d173887aada9d3ab53 | 1998fb705b242b24d15f58929cc8692388d8f766 | /Data Structure/LinkedList/InsertionSortLinkedListHavingTail.cpp | 20a1d11673b77b1033eabbd1e3225c6339464bac | [] | no_license | phongvanngo/Practice-Data-Structure | 1c0120c584d457d938b45bc64452afc3e4e66776 | 58dbcd685ae0d971ec05e7c9606e25dd8a920ef5 | refs/heads/master | 2022-11-30T11:40:35.746835 | 2020-07-28T08:20:14 | 2020-07-28T08:20:14 | 270,015,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | InsertionSortLinkedListHavingTail.cpp | #include <iostream>
using namespace std;
class Node
{
private:
int info;
Node *next;
friend class SinglyLinkedList;
};
class SinglyLinkedList
{
private:
Node *head, *tail;
public:
SinglyLinkedList();
void Append(int info);
void PrintList();
void InsertionSort();
};
SinglyLinkedList:... |
49de460e2751aea2006e74982f95256080024b31 | 3448a43cf0635866b25e5d513dd60fb003f47e29 | /src/xrGame/Script_SchemeXRHit.cpp | 60f42fe7405ea2143b6bac06c563748847eda383 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | xrLil-Batya/cordisproject | 49632acc5e68bea9847d001d82fb049703d223c2 | 24275a382fec62a4e58d11579bf497b894f220ba | refs/heads/master | 2023-03-19T01:17:25.170059 | 2020-11-17T14:22:06 | 2020-11-17T14:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | Script_SchemeXRHit.cpp | #include "stdafx.h"
#include "Script_SchemeXRHit.h"
namespace Cordis
{
namespace Scripts
{
Script_SchemeXRHit::Script_SchemeXRHit(CScriptGameObject* const p_client_object, DataBase::Script_ComponentScheme_XRHit* storage)
: inherited_scheme(p_client_object, storage)
{
this->m_scheme_name = "hit";
}
Script_Sche... |
a635c761b96501a1c62f20668ee43424c0611a34 | eb6cb73d84ac40746053ea6822a776f7ef0d04cf | /minerva/minerva/classifiers/interface/LearnerEngine.h | a838064be682cf75d167905c35e4e27517d9d517 | [] | no_license | lukeandshuo/video-classifier | d60c0062d558208a790f28127de6f77b65dca763 | 8ae279b82231612193ee1794191181bfda4b5fab | refs/heads/master | 2021-01-23T22:05:06.022764 | 2014-11-10T02:41:04 | 2014-11-10T02:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | LearnerEngine.h | /* \file LearnerEngine.h
\date Sunday August 11, 2013
\author Gregory Diamos <solusstultus@gmail.com>
\brief The header file for the LearnerEngine class.
*/
#pragma once
// Minerva Includes
#include <minerva/classifiers/interface/Engine.h>
// Forward Declarations
namespace minerva { namespace classifiers { c... |
9fd18d12c84b9d5d302dee8cb1b1ac13cb9c12dd | 79e13c2a952ba68b7fcee5ef5b34d9a8c41030f1 | /Uva-OJ/Perfection.cpp | 89da6d69831964768d3ef1cf4efddf0d460f1ece | [] | no_license | Shahin15-1573/mycode-arena | 924a571a58eba07bc6455e9aeb02f7186e5b527d | 05b615b80e90d76d05e761f6517ce3053458a44c | refs/heads/master | 2020-02-26T13:18:13.304157 | 2015-11-27T20:08:19 | 2015-11-27T20:08:19 | 47,061,299 | 1 | 0 | null | 2015-11-29T11:43:12 | 2015-11-29T11:43:12 | null | UTF-8 | C++ | false | false | 1,554 | cpp | Perfection.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include <algorithm>
using namespace std;
#define l long int
#define ll long long int
#define MAX 60000 + 10
int main(){
ll i, j, n, cs=1, sum, tmp, cnt, arr[MAX];
printf ("PERFECTION OUTPUT\n");
while (scan... |
4e98715ff47df2f3d0b053cee2e52177e56c6ec4 | c09ffb7701d38365123beea17150a056d7e6090c | /UVA/UVA11613 Acme Corporation.cpp | 913db1f45eebcd055865807830b7219324f55927 | [] | no_license | Reno-Jarrison/Code-Repository-for-Problem-Solving | f100aa1190c3a7d23955d4756a9afa8353c8edbe | b2715b696cdb4b0416e334a5bd231beea66cfca0 | refs/heads/main | 2023-04-12T08:08:16.151731 | 2021-05-11T01:29:07 | 2021-05-11T01:29:07 | 315,653,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | cpp | UVA11613 Acme Corporation.cpp | #include<cstdio>
#include<cstring>
#include<vector>
#include<queue>
#define ll long long
using namespace std;
const int maxn=205,inf=0x3f3f3f3f;
struct edge
{
int u,v,w,c;
edge(int u,int v,int w,int c):
u(u),v(v),w(w),c(c){}
};
vector<edge>e;
vector<int>g[maxn];
int ecnt,dis[maxn],pre[maxn],mnf[maxn];
bool inq[maxn... |
0113624e81839e1c61c61ec15a63131623c2bc0f | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/directx/dxvb/dx7vb/dxglob7obj.cpp | d30cec0c77385684b70b78684bcb804a84ca8a7d | [] | 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 | 37,075 | cpp | dxglob7obj.cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: dxglob7obj.cpp
//
//--------------------------------------------------------------------------
#define DIRECTINPUT_VERSION 0x0500
... |
e55aba78d7058503090f1b3c44736cb1fd0ffa9d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_1799_git-2.13.2.cpp | ff24055e74826f297251f04cd0ba4a00925d9149 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | git_repos_function_1799_git-2.13.2.cpp | void set_shared_repository(int value)
{
the_shared_repository = value;
need_shared_repository_from_config = 0;
} |
c634e6382d453498253ca0beee73ced29c022e54 | 1a5903534ba7d1f4742a9508e715ad4013b698cd | /topic/DynamicProgramming/minimumTotal/main.cpp | c11182173a3993a9c217ed6505baa5be08079b84 | [] | no_license | jonniepolkinghorn482/LeetCode | 39b313ebe6ae63eab99661c049f8ebd5d8f2c852 | 4d408a3c48169ddc219094dd3ab64c5e4f543864 | refs/heads/master | 2023-03-25T10:15:38.268875 | 2020-10-13T03:27:10 | 2020-10-13T03:27:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | main.cpp | /*
# Copyright (c) 2020 Xinyan Han. All rights reserved.
*/
#include <iostream>
#include <vector>
#include <queue>
#include <string>
#include <algorithm>
using namespace std;
class Solution{
public:
int minimumTotal(vector<vector<int>>& triangle) {
int n = triangle.size();
vector<vector<int>> dp(... |
67531dde25480b8a78b9ae6e1c4f9e398a9a0f3f | 88a6e97fac8fa69f238dc4ce5c42947b781ec21a | /dependencies/amplapi/include/ampl/ep/variant_ep.h | 3322d2b5fe8f279a1e617d27a4cb2e7c2da9cb3e | [] | no_license | gi-ux/EON_Project | a675ba07fbf1bb92deaf410e592cf86d874bd6d0 | 4e4dc1414c7c9c841a06618834e5950e30b9caf4 | refs/heads/main | 2023-05-09T01:56:41.089297 | 2021-05-25T18:59:03 | 2021-05-25T18:59:03 | 352,982,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | variant_ep.h | #ifndef AMPL_VARIANT_EP_H
#define AMPL_VARIANT_EP_H
#include "ampl/ep/error_information.h"
namespace ampl {
namespace internal {
struct Variant; // Forward dec
extern "C" {
AMPLAPI void AMPL_Variant_DeleteArray(const Variant* toDelete);
AMPLAPI Variant* AMPL_Variant_CreateArray(std::size_t size, ErrorInfo... |
2893d911fac46fd38ad58e72053758d546a24526 | f6ef05957b8e84df6854e5da3fff1d62c37d3ce4 | /Blue-Flame-Engine/Core/BF/Application/Layers/PhysicsLayer.cpp | d4cc1b32b88afda5bbc239a9d5af473bc2aab0d3 | [
"MIT"
] | permissive | mustafa-sibai/Blue-Flame-Engine | 8a69d0b83b07382b7a0d993d7e679f35e6824fd4 | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | refs/heads/master | 2022-11-07T06:21:06.464308 | 2019-08-09T07:43:03 | 2019-08-09T07:43:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | PhysicsLayer.cpp | #include "PhysicsLayer.h"
namespace BF
{
namespace Application
{
namespace Layers
{
PhysicsLayer::PhysicsLayer()
{
}
PhysicsLayer::~PhysicsLayer()
{
}
void PhysicsLayer::Add(/*const PhysicsObject& physicsObject*/)
{
//physicsObjects.emplace_back(physicsObject);
}
void Physics... |
7e593d4befaa5ed7f90fba57ac2c49643d79e13f | 895bde2fbc53ec4a770349aab0c633e8cbf42ff6 | /Paul_Saber_2/component_testing/voltage_sensor_stuff/voltage_sensor_stuff.ino | b063617e3346751fc676bec4fc905f71d7f1b1db | [] | no_license | paulsimonson/Lightsaber | 96f7b51b597db1394876cf1a53c2bc4d7341e000 | 8eb2409365eb4cbe84821c65ad9cfa33341cb8b1 | refs/heads/master | 2021-06-09T20:36:44.158152 | 2021-03-27T04:00:02 | 2021-03-27T04:00:02 | 146,828,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | ino | voltage_sensor_stuff.ino | //Voltage sensor:
//+ goes through 100 k ohm resistor
//ground goes through 51 k ohm resistor
//The two combine and go through the VOLT_PIN
//Connect the Arduino to the common ground.
#define VOLT_PIN A6
// ---------------------------- SETTINGS -------------------------------
#define NUM_LEDS 60 // number of ... |
b0523c220fc38ed09b22b851146d5877625533b6 | 2e939da6db6f24404c223f13ccf5c1d8e1be4956 | /PAT-乙级/1014.cpp | c60d4d871b74b98421d58a142f7d20f13226351b | [] | no_license | whitebluepants/OJ-Practice | ffc793950491b76b3b703c826fce95e9a07b1ddf | f32e7afe3e2c347eca5620ff4e241614805c4555 | refs/heads/master | 2021-07-18T13:42:27.971732 | 2019-01-11T02:45:38 | 2019-01-11T02:45:38 | 121,104,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | 1014.cpp | #include <stdio.h>
#include <string.h>
using namespace std;
int read()
{
char ch = getchar();
int f = 1;
int x = 0;
while(ch < '0' || ch > '9'){if(ch == '-')f = 0;ch = getchar();}
while(ch >= '0' && ch <= '9'){x = x * 10 + ch - '0';ch = getchar();}
return f?x:x*-1;
}
int l[26];
int u[26];
int ma... |
07807d0d7f606b2f8f1b5a031ccfd6d0fafedf5e | d0fb03545780a82bb57ca3bbe4daa810777ff367 | /include/wayfire/util/stringify.hpp | e9c12c869a64e222b0fb6e39939c72e7db03d4fc | [
"MIT"
] | permissive | WayfireWM/wf-config | 830ffcd6c01c2e9f64af27423b634d9710ff7ba1 | 8d96a30a4def766ddb45c5620234ebf76788ccd4 | refs/heads/master | 2023-09-01T16:03:32.911509 | 2023-08-08T15:16:59 | 2023-08-08T15:16:59 | 135,981,057 | 15 | 22 | MIT | 2023-08-08T15:17:01 | 2018-06-04T06:34:43 | C++ | UTF-8 | C++ | false | false | 978 | hpp | stringify.hpp | #pragma once
#include <string>
#include <sstream>
namespace wf
{
namespace log
{
/**
* Convert the given parameter to a string which can be logged.
* This function can be specialized for custom types.
*/
template<class T>
std::string to_string(T arg)
{
std::ostringstream out;
out << arg;
return out.str... |
5a9f06004cb7f1e1559b3af016a2c9b37701e38d | 6af67cb05ed54def8b2713af5f0c127fa2ed2bc4 | /src/entities/DynamicEntity.cc | 302a5ecb44b343a9ab164f77e75c2f09805207ec | [] | no_license | Guo-Haowei/TheAviator | 2d608c8c99cc0dd68987b0a30a9d17b11995c78c | 877a14dff86d6f859f0ecb41357c6abf43b2610c | refs/heads/master | 2022-03-04T04:17:29.482358 | 2022-02-18T10:35:44 | 2022-02-19T06:51:53 | 115,889,612 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,424 | cc | DynamicEntity.cc | // DynamicEntity.cc
#include "DynamicEntity.h"
#include <models/Geometry.h>
#include <maths/Maths.h>
#include <entities/gameObjects/ParticleHolder.h>
#include <common.h>
#include <iostream>
using std::cout;
using std::vector;
DynamicEntity::DynamicEntity(
EntityType type,
RawModel* model,
glm::vec3 position,
g... |
26405099bbb5f27fac9c39bc1c3e2cc0c02855f1 | 4dd1a1bfa3cc41fe5f916b95e3ede51c2cf72f80 | /src/help_dialog.cc | 38fe530ddc54e06a18a2c6bc5839618d972469c7 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stetre/moonfltk | 22a6beb19b6ebaf6c2c6f508ec3e51d43349e02e | 8c63723dbbc85e41be97e3a4685ab66e4ea72e7b | refs/heads/master | 2022-02-12T12:59:06.247020 | 2022-02-06T11:34:09 | 2022-02-06T11:34:09 | 54,705,769 | 47 | 11 | NOASSERTION | 2022-02-05T10:46:49 | 2016-03-25T08:30:49 | C++ | UTF-8 | C++ | false | false | 4,091 | cc | help_dialog.cc | /* The MIT License (MIT)
*
* Copyright (c) 2016 Stefano Trettel
*
* Software repository: MoonFLTK, https://github.com/stetre/moonfltk
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software... |
28bee8f2da5e575395b9ff48b7b95a73c82137d5 | 32a87cda74dacf8289b21aefd63fbcb31d20c535 | /Kassiopeia/Bindings/Trajectories/Source/KSTrajControlTimeBuilder.cxx | 0596046a00831bea3172254d988c5dbcb9446547 | [] | no_license | Blawker/Kassiopeia | 16c9ed4e203073409cc58e009207950b0f7dde80 | 4f7145bde9972cfa088a1994f98a491646333a8b | refs/heads/master | 2022-12-03T19:28:38.050926 | 2020-08-18T14:16:21 | 2020-08-18T14:16:21 | 279,245,030 | 1 | 0 | null | 2020-07-13T08:38:58 | 2020-07-13T08:38:57 | null | UTF-8 | C++ | false | false | 484 | cxx | KSTrajControlTimeBuilder.cxx | #include "KSTrajControlTimeBuilder.h"
#include "KSRootBuilder.h"
using namespace Kassiopeia;
using namespace std;
namespace katrin
{
template<> KSTrajControlTimeBuilder::~KComplexElement() {}
STATICINT sKSTrajControlTimeStructure =
KSTrajControlTimeBuilder::Attribute<string>("name") + KSTrajControlTimeBuilder:... |
8b8525ac2f241aefbd719828985aa6607a438aaf | 4c89e2c6cc91b5807a490bcd7e5b2ec574f70155 | /source/Script/lua/CzLuaSys.cpp | 3fb60fbc733d9a498dd26f7bffb9587cc530d238 | [] | no_license | sanyaade-iot/AppEasyCoreSDK | 431b02890799e689c0a2855ae5a91efea831c25c | 94a6cc73c1869ff8ad98855a0673fb00ed97fa46 | refs/heads/master | 2020-12-31T03:02:36.038708 | 2014-08-07T09:23:19 | 2014-08-07T09:23:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,007 | cpp | CzLuaSys.cpp | //
//
// AppEasy SDK - Cross Platform Multi-purpose Game and App Engine
//
// Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk
//
// For updates, tutorials and more details check out www.appeasymobile.com
//
// This code is provided free of charge and without any warranty whatsoever. You must ... |
37a13ca03bdef3d7eddf24a095bbb15439f873a7 | a11b50cf2c3c0ab1600ddd144a57c53a0a6d61dd | /UpdateTSS/dbtfileRO.h | 646de932f93627d66537b4e671a2d51d02c81232 | [] | no_license | dlubom/walls | 78f549e5a2e678d101f9e953daa04b5505d4fca7 | e34363945b4c422a327380e20a6414e4298cfa58 | refs/heads/master | 2021-06-01T11:02:38.562704 | 2020-03-22T14:34:29 | 2020-03-22T14:34:56 | 87,931,918 | 1 | 0 | null | 2017-04-11T12:34:06 | 2017-04-11T12:34:06 | null | UTF-8 | C++ | false | false | 1,575 | h | dbtfileRO.h | #ifndef _DBTFILE_H
#define _DBTFILE_H
#define LEN_MEMO_HDR 50
class CDBTData
{
public:
CDBTData() : pData(NULL),lenData(0),nUsers(0) {}
~CDBTData() {
if(lenData) {
ASSERT(0);
free(pData);
lenData=0;
}
}
BOOL AllocMin(UINT len)
{
if(len>lenData) {
LPSTR pNewData=(LPSTR)realloc(pData,len);
if(... |
47c41389a9da7af5173ef92a0b02262bda208d1e | 14eba770e849888849041a37e0fc91c17a964018 | /Editor/sources/Interface/StandardEditorItem.cpp | 310d454df0586c8b2524fa52925a65ce233490c3 | [] | no_license | wangscript007/3dNovac | d31d54fb314581a5f53f97d226cbff0a98b61139 | 1a2d4c7d948b13536488c5ca36a4d4d9bf9c577d | refs/heads/master | 2021-05-31T01:02:35.035837 | 2012-10-11T11:34:14 | 2012-10-11T11:34:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,563 | cpp | StandardEditorItem.cpp |
/*-----------------------------------------------------------------------------
3dNovac Editor
Copyright (C) 2010-2011, The 3dNovac Team
This file is part of 3dNovac.
3dNovac is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as... |
8b955032476cb4271d0e8557df8f1b8c5ed74bda | 42d2456063bd77a23274cd5d1f880ac6cd533c1f | /Project1/Project1/Address.h | a84f51e212a66a7cfc04ef3e77c10e69647d121b | [] | no_license | amills16/COSC1437_Lab4_Test | 5db40713132d2f8b443a51070c4cdd1518476673 | 6449eba998092cfef6a338029ed72a44ff9ad0db | refs/heads/master | 2021-01-20T19:49:42.420788 | 2016-07-08T18:50:44 | 2016-07-08T18:50:44 | 62,909,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | h | Address.h | //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//
// //
// //
// Andrew Mills ... |
4d65e377116db3b3c66455214ac6a0aecb0475ad | 63db2a4036ba87e5da35bca4925464002c3c19d6 | /big_exercise/qt/myclass/main.cpp | 8fc6e68f666afe299d807a1c281228173db99336 | [] | no_license | gicsfree/exercise_aka | 6c6ae3ef737e1a3da23001871a3b8c4dea9e7713 | d831bc14d719fcd90a06e29d1832c5ea20abb988 | refs/heads/master | 2022-05-09T11:29:33.265928 | 2011-09-23T11:48:10 | 2011-09-23T11:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | main.cpp | #include <QApplication>
#include <QPushButton>
#include <QWidget>
#include "myclass.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWidget myform;
myform.show();
QPushButton hello("Hello world!", &myform);
hello.resize(200, 100);
hello.show();
myclass a;
// a.do_p... |
8e60d87af34b7944843602d63377648550df015e | 0f0a5387051c80813737c2c89d9756ac50eff6c6 | /prediction_goals.cc | 5c649ebfd224ecea7885a9a60171412e6a7c0adf | [] | no_license | maxrosan/HelpMyTeam | 45eae0b84db7b2c9514ff5b68c1094f8d56c2c71 | 77b48ce747c6765ae6a347259589fa9b19bc83d3 | refs/heads/master | 2021-01-17T07:12:54.618007 | 2017-07-20T23:45:10 | 2017-07-20T23:45:10 | 2,839,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,158 | cc | prediction_goals.cc |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <memory.h>
#include <string>
#include <map>
#include <iostream>
#include <vector>
#include <sstream>
#include <algorithm>
#include <random>
#include <cassert>
#include <cmath>
int numberOfTeams, numberOfMatches;
std::vector<int> goalsForHome, goalsAg... |
d30d36b87e798e46fb0035e4bfdd2c535c63ed19 | 3134840cf195132650124d37ef1e84fd8d0afc1c | /147.cc | 32a8c6d6c26d095c30e6584c56ba3dd876bd0a43 | [] | no_license | DyungWang/leetcode | bc60f058c43fca9f55984f1ef4c0e0dbb204dde2 | a0c68e2368b69432630e7996eff503775d10bdea | refs/heads/master | 2021-04-14T00:27:58.540718 | 2020-07-08T12:51:06 | 2020-07-08T12:51:06 | 63,585,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cc | 147.cc | // @author wangyangyang<wangyanyang@gmail.com>
// @created 2020/04/27
// @link https://leetcode.com/problems/insertion-sort-list/
#include "leetcode.h"
using namespace std;
class Solution {
public:
ListNode* insertionSortList(ListNode* head) {
if (head == nullptr) return nullptr;
ListNode* rhead = nullpt... |
3f1eee04b2f204fd0e72c1ef1ff7d3cd4be4085e | 90879dc9d39cfe49179657be448ba49d7e95de99 | /Milestone6/Car.cpp | 0aa975e88b1b49e99f39eec1b75fac815b424e25 | [] | no_license | ulianarozz/OOP244 | 6ab9af21f4760cff4c1b6ae25908b649ea53c94c | 4cd9fe58c8081bfff75816bc53d3be996140cca0 | refs/heads/master | 2023-02-05T07:44:14.162513 | 2020-12-22T06:36:47 | 2020-12-22T06:36:47 | 323,530,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,926 | cpp | Car.cpp | /* Citation and Sources...
Final Project Milestone 6
Module: Car
Filename: Car.cpp
Version 1.0
Author Uliana Rozzhyvaikina
-----------------------------------------------------------
Date Reason
2020/08/06 Implentation file of Car.h
-----------------------------------------------------------
I have done all the coding... |
9d6ac14377abba8cff2f99a8c27ff115e44131f1 | cf95dd4509488daefa10defabdb4d8665237ff67 | /src/model/include/iDynTree/Model/SolidShapes.h | 82e6963f6ee3edf8e1e2817ce33d17eb5a2c627d | [
"BSD-3-Clause"
] | permissive | robotology/idyntree | c5c71172a0411ae56084074462edc401ce658610 | eab099dd9d457ce33e476ab73a8fe7b26a0627c6 | refs/heads/master | 2023-08-27T21:00:36.746627 | 2023-08-18T08:41:19 | 2023-08-18T08:41:19 | 17,824,536 | 130 | 72 | BSD-3-Clause | 2023-09-12T13:58:57 | 2014-03-17T10:35:53 | C++ | UTF-8 | C++ | false | false | 7,450 | h | SolidShapes.h | // SPDX-FileCopyrightText: Fondazione Istituto Italiano di Tecnologia (IIT)
// SPDX-License-Identifier: BSD-3-Clause
#ifndef IDYNTREE_SOLID_SHAPES_H
#define IDYNTREE_SOLID_SHAPES_H
#include <cstdlib>
#include <string>
#include <vector>
#include <iDynTree/Core/Transform.h>
#include <iDynTree/Model/Indices.h>
namespac... |
e2ef1136faf5e24f9d3c7746579cb65fdd157fcd | 55d4ae08e6a455b24ad6b87e0ce9e3d840aced17 | /include/vision/FACE_DETECTOR/Face_Detector_Cascade.h | 44ee6972da69ccfbc4bf5d557cf973daa22bdced | [
"MIT"
] | permissive | lanfis/Walker | 1008fbd5e09e0c561511b8fc3c0b5e82b7cbd712 | db174fcc0e672da7c3113571a8ce772ad2e1fac5 | refs/heads/master | 2020-04-12T04:54:58.842588 | 2018-12-21T11:32:28 | 2018-12-21T11:32:28 | 162,282,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,519 | h | Face_Detector_Cascade.h | #pragma once
#ifndef _FACE_DETECTOR_CASCADE_H_
#define _FACE_DETECTOR_CASCADE_H_
#include <iostream>
#include <string>
#include <cstring>
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <boost/foreach.hpp>
#include <boost/fi... |
91163ab426ec55b76f36a6c22894cda0a0498153 | 2b1bd4c1a43463c6e1be7968b8d9f63d070aa2c7 | /patterns/builder.cpp | 0ac44ef0465272ae6f5d5e77f226b48e994994fe | [] | no_license | jeremimucha/small_projects | 02db0a0e7709a518b4c7e9dc0291329b0aee856c | 1cf4304469b21a8eb85aaaf94e8ca9f3d942ef95 | refs/heads/master | 2021-01-23T17:42:59.682127 | 2018-06-18T20:17:48 | 2018-06-18T20:17:48 | 102,774,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | builder.cpp | #include <iostream>
#include <stdio.h>
#include <string>
// enum class PersistenceType {File, Queue, Pathway};
// struct PersistenceAttribute
// {
// PersistenceType type;
// std::string value;
// };
// class DistrWorkPackage
// {
// public:
// DistrWorkPackage( const char* type )
// ... |
4295e6e85fa60062e0fb8180fa98012efe712cac | a7fd9d15c10cc9ef69033364f6e7db5a1b64dab2 | /UseDonation.cpp | 7bfc0de9cf74fd6d779ac26d5304f3c9f28f5552 | [] | no_license | centosia/FreedMan | 463b0119c1d22051071cc3311ed33cc71c68e542 | 26434d0faf918a2cfc76110b3b405224ce348f49 | refs/heads/master | 2020-04-03T00:54:26.630146 | 2018-10-27T01:57:54 | 2018-10-27T01:57:54 | 154,912,765 | 0 | 0 | null | 2018-10-27T01:57:55 | 2018-10-27T01:44:01 | Java | UTF-8 | C++ | false | false | 147 | cpp | UseDonation.cpp | #include<iostream>
using namespace std;
int main() {
int don;
cin>>don;
if(don > 0) {
cout<<"thnak";
} else {
cout<<"bad";
}
}
|
f2bd89db68b9fd56e11c450114d6d7c45ac0560a | e76fd71cd1d8ba85ec65d1f5aca615144de4908c | /src/arrowcube.h | 63611543cd0064f423b52875c98b5d4ddebfd24c | [
"MIT"
] | permissive | hdc-arizona/pothos | 9b448bc651e18f1f65b08d3724427b21d6f074b9 | 5b75dd71ee2babd2860245bb4ffb1d489d5531be | refs/heads/master | 2021-06-23T18:24:02.867727 | 2021-03-09T19:42:24 | 2021-03-09T19:42:24 | 206,234,184 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | h | arrowcube.h | #pragma once
namespace nc2 {
// This is a "naivecube" backed by an arrow table.
// There should be n total columns: n-1 of those columns have type UInt64 and correspond to addresses,
// and the nth column corresponds to the summary to be aggregated
//
// row-by-row insertion will be exceedingly slow;
// consider usin... |
17828f2fc6b506af1354e0936c048c821811fe43 | aa17ac0218f91596ceb6ebfa3b04d83974961221 | /interpreter/singleton_value_expr.cc | 33d6fa5714744f21659aca4d9d3a080c1c037fe7 | [
"Apache-2.0"
] | permissive | Netflix-Skunkworks/atlas-native-client | 15fdd7298b9e43eb5e092947260d8e1d2fea9a1e | 498ea991fb631a0ce64b178c195369f81b323ae3 | refs/heads/main | 2023-09-04T21:05:30.736847 | 2022-03-31T22:03:29 | 2022-03-31T22:03:29 | 102,539,821 | 3 | 8 | Apache-2.0 | 2022-03-31T22:18:46 | 2017-09-05T23:34:04 | C++ | UTF-8 | C++ | false | false | 629 | cc | singleton_value_expr.cc | #include "singleton_value_expr.h"
namespace atlas {
namespace interpreter {
SingletonValueExpr::SingletonValueExpr(std::shared_ptr<ValueExpression> expr)
: expr_(std::move(expr)) {}
TagsValuePairs SingletonValueExpr::Apply(const TagsValuePairs& measurements) {
auto expr_result = expr_->Apply(measurements);
a... |
f9274a0be7b2d9388185d8b88aae9b8737232683 | 8ca9d1f00bcb2a7c41eb2c92971f9f709f22a802 | /CS201 Homeworks/akillioglu_akıllıoğlu_kerem_hw3/akillioglu_akıllıoğlu_kerem_hw3.cpp | 21e12e36810d6e28db0fdbf1369cbe930f6e5184 | [] | no_license | keremakillioglu/SabanciCS | 7cb460aa5973a975bcdc28ba75e245ab31697566 | b8b6706acb80fa6a5da41e46f401486684ff0e81 | refs/heads/master | 2021-04-12T10:59:31.015205 | 2020-10-30T10:43:52 | 2020-10-30T10:43:52 | 126,732,539 | 0 | 0 | null | null | null | null | ISO-8859-13 | C++ | false | false | 4,544 | cpp | akillioglu_akıllıoğlu_kerem_hw3.cpp | #include "robots.h" //KEREM AKILLIOŠLU 24179
using namespace std; //Necessary libraries added
bool isfirstsmallest(int x, int y, int z) //finds the smallest number, at my main function; it will help me to calculate shortest distance
{
if (x<=y && (x<=z)) //if the first written variable is the smallest number bool ret... |
395eefa343ac6c441fd02b5e96d922a01ead32f8 | 07327b5e8b2831b12352bf7c6426bfda60129da7 | /Include/10.0.14393.0/winrt/windows.devices.midi.h | 6bd148688552175896e007acd34a89fd7d8c6103 | [] | no_license | tpn/winsdk-10 | ca279df0fce03f92036e90fb04196d6282a264b7 | 9b69fd26ac0c7d0b83d378dba01080e93349c2ed | refs/heads/master | 2021-01-10T01:56:18.586459 | 2018-02-19T21:26:31 | 2018-02-19T21:29:50 | 44,352,845 | 218 | 432 | null | null | null | null | UTF-8 | C++ | false | false | 276,717 | h | windows.devices.midi.h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0618 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR... |
e863c3c0d1887de5089cd9c2371e6a357c3bc2c0 | 7c86bbd724492bf81d09f9b01311ac27b34703b6 | /TAS\TTAS\TICKET/tas/tas.hpp | 67cc7efca6f583b715aae8bc8c0fd3b4525df581 | [] | no_license | kulbitsky99/Multithreads_programming_acronis_2020 | df231a5bb226a409953de65627010f78abc124df | 797d3cdca2310a8b03a34f8dff42aed07040a23e | refs/heads/master | 2021-03-13T11:38:29.402158 | 2020-05-22T13:02:08 | 2020-05-22T13:02:08 | 246,676,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | hpp | tas.hpp | #include <iostream>
#include <atomic>
#include <cassert>
#include <thread>
class spin_lock_TAS
{
private:
std::atomic<unsigned int> m_spin;
public:
spin_lock_TAS(): m_spin(0) {}
~spin_lock_TAS() { assert(m_spin.load() == 0);}
void lock();
void yield_lock();
void unlock();
};
|
ebef81b14b3d7673bf4f36e1dfcd56152f0a81ed | e90671c6b1cb69eaf57bd0ab4bbd1bd92ba9aea9 | /android/vendored/unversioned/react-native-reanimated/android/src/main/cpp/LayoutAnimations.h | ad02ce1409548073bc60ee674befaaccce1f3490 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | expo/expo | 72fc802e3b6806789225bdd856031a8d150dd6f5 | 40f087fc0c0ab22270cfef2673bced44af170c34 | refs/heads/main | 2023-08-17T01:38:28.442098 | 2023-08-16T21:43:11 | 2023-08-16T21:43:11 | 65,750,241 | 23,742 | 5,421 | MIT | 2023-09-14T21:37:37 | 2016-08-15T17:14:25 | TypeScript | UTF-8 | C++ | false | false | 2,471 | h | LayoutAnimations.h | #pragma once
#include <fbjni/fbjni.h>
#include <jsi/jsi.h>
#include <memory>
#include <string>
#include "JNIHelper.h"
namespace reanimated {
using namespace facebook::jni;
using namespace facebook;
class LayoutAnimations : public jni::HybridClass<LayoutAnimations> {
using AnimationStartingBlock =
std::funct... |
fc28c0b9a830b43e215bb89461d832fc8ffee94e | 723c87bfb1cf7aba01307c04bb1ea81a28bac5bb | /2020/Apr/0429idealSpot.cpp | bc876049fe6df851a8bde22e2c54b2438ce2fdbf | [] | no_license | qlqnf16/algorithms | 3174b9503e2fa320bbb2aee09a93cea4c6f9818e | 21f530d1e0f4a0ce3c2f51460e42ab0c03b9854e | refs/heads/master | 2021-06-13T00:37:21.932439 | 2021-05-06T14:30:05 | 2021-05-06T14:30:05 | 188,745,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | 0429idealSpot.cpp | #include <stdio.h>
#define MAX 1000
int N;
int land[MAX+10][MAX+10];
int startPos[MAX];
int endPos[MAX];
void checkLand(int c, int r) {
for (int i = c; i < c + 100; i++) {
if (r < startPos[i]) startPos[i] = r;
if (r + 100 > endPos[i]) endPos[i] = r;
for (int j = r; j < r + 100; j++) {
... |
9df3d3f7c2e53e68ee85855205f7aacbf61aa546 | 715442d2668c0526c022926e20b5f79f3f50cc18 | /try_1.ino | 8e1f87d1caaf43f7507206baf0fa9e6453ad6a5e | [] | no_license | kushpandey1811/project_arduino | 69766e0d27c789f1e2c95028fb477e6d190b8239 | b3e0e130d8f65205bdcc99ffd70b8ed1d91fe859 | refs/heads/master | 2021-01-10T08:01:03.614410 | 2016-01-09T12:48:34 | 2016-01-09T12:48:34 | 49,324,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | ino | try_1.ino | #include <TimerOne.h>
const int pin[]={14,14,2,3,4,5,6,7,8,9};
const int sensor = A5;
const int sensor1 =A4;
const int myLed = 6;
bool ledOn = false;
volatile byte digital_val;
// byte digital_value;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
int i=2;
while(i<=9)
{
pinMo... |
5cf87dd17c63a7a5db7a70381dccbbc404d75e78 | 9a9ec65b09bce75a9fdb3f9fb34b27ff77e56ef0 | /Snake.h | 8757838f065528d4cb41dc8b035188c642be008f | [
"MIT"
] | permissive | kesada7/Snake-1vs1-C- | 858ce5e0a5a3b7ae2b24c3362b653fa2a1f4faec | 0f65355fe32b50e2575d74dce7d5e6b67a9debea | refs/heads/master | 2021-05-11T02:41:38.489036 | 2018-01-23T21:03:35 | 2018-01-23T21:03:35 | 118,369,427 | 0 | 0 | MIT | 2018-01-21T20:24:36 | 2018-01-21T20:05:48 | null | UTF-8 | C++ | false | false | 606 | h | Snake.h | #ifndef SNAKE_H_INCLUDED
#define SNAKE_H_INCLUDED
#include "Game.h"
class Snake : public Game
{
private:
int score = 2;
public:
struct SnakeBody
{
int x =4,
y=4;
}s[100];
enum class EDirection
{
eUp,
eRight,
eDown,
eLeft
};
EDirecti... |
c0cbf1a66904429f49ec6ce62971abef0f6b9f86 | 36b7cd88038df94aa2a1465e450b70c5277a332f | /src/ofApp.cpp | 431755e13da49742ba24b9c2346970d6282dc4b4 | [] | no_license | USCcorpuscallosum/airbending | eb97d2ba825a4942a86fb6d68a8ba92ad739968d | fb8efe86b4169b10746ef5062355b254e3888903 | refs/heads/master | 2021-01-12T12:27:27.992856 | 2017-01-18T04:13:52 | 2017-01-18T04:13:52 | 74,927,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,730 | cpp | ofApp.cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetVerticalSync(true);
ofEnableAlphaBlending();
ofBackground(backgroundColor);
ofSetFrameRate(30);
for (int i = 0; i < 7000; i++){
boids.push_back(boid(ofVec2f(ofRandom(0,ofGetWidth()),o... |
18576d8841ad6c949718b158de5d535f81e4878f | b0b63ae082dc084c5869ab2c6f65a067aa72aff1 | /vImporter/Core/Database.cpp | 81299976be6ff087eaa6d019f1e5a768a7a8783b | [] | no_license | bachns/vImporter | b2e73ab3f1d8eb77dc19bcafb82873c56c4f5475 | 461769c26b744a55b6ea6698154c4491a6b77526 | refs/heads/master | 2023-03-22T11:43:10.087666 | 2021-03-18T06:50:26 | 2021-03-18T06:50:26 | 322,203,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | Database.cpp | #include <memory>
#include <spdlog/spdlog.h>
#include <odb/database.hxx>
#include <odb/transaction.hxx>
#include <odb/oracle/database.hxx>
#include "Database.h"
#include "Vietnamese.h"
#include "ConnectionParams.h"
std::shared_ptr<odb::database> Database::m_database = {};
Database::Database(QObject* parent)
: QObje... |
369a38d475a1578e62c9b713145476381829f9c4 | 5f9d6d256dd3181e81b1ddd4a4691eb55fcf9d76 | /src/common.hpp | 93496e805ab5d399c0b1a68ef7bf58eb0af27c78 | [
"MIT"
] | permissive | blackalkane/attackalantus | 2dec6ecfe10063307da79c5112bc8b85e59060eb | b80280a42c120c61c3277d10c5e02656aea21de7 | refs/heads/master | 2020-12-06T10:32:46.381946 | 2020-01-07T23:57:46 | 2020-01-07T23:57:46 | 232,439,262 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,427 | hpp | common.hpp | #pragma once
// stlib
#include <fstream> // stdout, stderr..
// glfw
#define NOMINMAX
#include <gl3w.h>
#include <GLFW/glfw3.h>
#include <list>
#include <vector>
#include <entities/abilityType.hpp>
#include <entities/enemyType.hpp>
// Simple utility macros to avoid mistyping directory name, name has to... |
3af76130bc8ebfd8e569df0a6fb1332c2d21c4d9 | 88ae8695987ada722184307301e221e1ba3cc2fa | /v8/src/codegen/riscv/extension-riscv-d.h | e7a707a793cf6fde74d360f9a292159d8c7f623b | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 3,495 | h | extension-riscv-d.h | // Copyright 2022 the V8 project 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 "src/codegen/assembler.h"
#include "src/codegen/riscv/base-assembler-riscv.h"
#include "src/codegen/riscv/constant-riscv-d.h"
#include "src/code... |
ab0cc4803f2cb53ec9b8285cd61238ede1659285 | 6373c610f3ff1679d146f80186016843005825f5 | /1078.cpp | f48128291edb41b9d820160f09ddb5bbd5510d23 | [] | no_license | yongwhan/timus | d941ad557d9e5568e592da52f728dd5b48201420 | be41fcb267395dd431d97d11f53a92640e3fdb62 | refs/heads/master | 2020-11-28T02:10:39.487441 | 2019-12-23T04:36:43 | 2019-12-23T04:36:43 | 229,676,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | 1078.cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
int n; cin>>n;
vector<int> l(n), r(n);
for (int i=0; i<n; i++)
cin>>l[i]>>r[i];
vector<vector<int>> child(n);
vector<int> indeg(n,0), dist(n,INT_MIN), par(n,-1);
for (int i=0; i<n; i++)
for (int ... |
3e91dd2eb44784721e0aa51535b65273b3d4fd8c | dddf681d54655429d03e834e9a7ac058a3bf9c14 | /lista 1/distanciaponto.cpp | 5d3f69e8071dfab0d7d28ef7a35a0b8b9f94172a | [] | no_license | Delvani/intro-de-algoritimos | 2647c43739ed890b4f4213055c62b0252f18117d | 7c6132c3e729297585f898db2da1b3f65a95b7ac | refs/heads/master | 2022-11-08T09:47:56.124677 | 2020-06-18T15:05:22 | 2020-06-18T15:05:22 | 273,265,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | distanciaponto.cpp | #include <iostream>
#include <cmath>
using namespace std;
int main(){
float x1,y1,x2,y2,d;
cin >> x1 >> y1 >> x2 >> y2;
d = sqrt((pow(x2-x1,2))+pow(y2-y1,2));
cout << d << endl;
return 0;
}
|
613b390c4abdb3da75cc8d919d87db81c171754d | 4c6574534cc8dd7f582ee98603116b46ab608160 | /PhaseJump/PhaseJump/Classes/Layout/LinePathLayout.h | 6e832271efe2c872c2758099978ca95bb02c85e5 | [
"MIT"
] | permissive | coinbump/PhaseJumpPro | 01b1805aac4a8dd0a17feb3ae9a06d76fbf63926 | 52f806cc7db9ef134a5e1786347c350cb8e2e4c3 | refs/heads/main | 2023-06-27T13:30:37.192977 | 2023-06-18T03:25:38 | 2023-06-18T03:25:38 | 127,684,651 | 50 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | LinePathLayout.h | #ifndef PJLINEPATHLAYOUT_H
#define PJLINEPATHLAYOUT_H
#include "Vector3.h"
#include "SomePathLayout.h"
#include "LinePath.h"
namespace PJ
{
/// <summary>
/// Distribute objects along a circle path
/// </summary>
class LinePathLayout : public SomePathLayout
{
public:
Vector3 start;
... |
1ae7debbc2e541e0ec6c74f6746f8f7052232a2b | 04a4a7723b627e0c78b1e9c9dc59058f5f9a2842 | /Exercicios/88.cpp | fb9d5cb2bb4b7795ee1cfed6bd24b96346f70afd | [
"MIT"
] | permissive | thiago1591/Exercicios_LinguagemC_1periodo | 56e861cf5e946099577d9cd9fa6b73279e72c370 | a7affcbb121493ef8abb556a6bdb7c28926144df | refs/heads/master | 2022-10-17T01:13:46.396203 | 2020-06-12T05:51:08 | 2020-06-12T05:51:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | 88.cpp | #include <stdio.h>
#include <string.h>
int main()
{
float num;
char resp;
FILE *file;
file = fopen("result.txt", "r");
if(file==NULL)
{
printf("Arquivo nao pode ser aberto\n");
return 0;
}
do
{
printf("digite S para continuar ou N para encerrar");
printf("Digite um numero de telefone para para ser armazenado")... |
c7b512df546eef842ba34f5e3c77eb9e1aac3504 | 85a3266fbcb131cb9032324ab19b727013be6fd8 | /src/lib/abstract/file/file_plugins/attachment/attachment.hpp | 7ce8d3a50db53e945d877109d00eb26d90cdd481 | [] | no_license | TobiasLino/Corretora | 38683bb0193cd19951eb729e4e6dca713183a805 | c05f44ed161643bebf4a08e5c7db91919e04282f | refs/heads/master | 2020-09-01T20:48:26.273176 | 2020-02-12T02:15:00 | 2020-02-12T02:15:00 | 219,052,767 | 0 | 0 | null | 2020-02-12T02:08:45 | 2019-11-01T19:50:25 | C++ | UTF-8 | C++ | false | false | 201 | hpp | attachment.hpp | #ifndef SRC_LIB_FILE_FILE_PLUGINS_ATTACHMENT_ATTACHMENT_HPP
#define SRC_LIB_FILE_FILE_PLUGINS_ATTACHMENT_ATTACHMENT_HPP
class Anexo {};
#endif // SRC_LIB_FILE_FILE_PLUGINS_ATTACHMENT_ATTACHMENT_HPP
|
b60beb36d612a1e0ee9a268ebcf53a49be3812e1 | 4506e6ceb97714292c3250023b634c3a07b73d5b | /KutoEngine/kuto/kuto_bmp_loader.h | f815bb8cc246f0e752ed3c424a579005a4fb8085 | [] | no_license | take-cheeze/rpgtukuru-iphone | 76f23ddfe015018c9ae44b5e887cf837eb061bdf | 3447dbfab84ed1f17e46e9d6936c28b766dadd36 | refs/heads/master | 2016-09-05T10:47:30.461471 | 2011-11-01T09:45:19 | 2011-11-01T09:45:19 | 1,151,984 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | h | kuto_bmp_loader.h | /**
* @file
* @brief PNG Image Loader
* @author project.kuto
*/
#pragma once
#include "kuto_types.h"
#include "kuto_math.h"
namespace kuto {
class LoadTextureCore;
class BmpLoader
{
public:
bool createTexture(char* bytes, LoadTextureCore& core, bool useAlphaPalette, int hue);
protected:
virtual const char* ... |
4bc9482069e54ffae610328e1d6b208ff529ff09 | 1203aa93ab059dd5fad1eabfe2143a22d1bcfdb3 | /Dustin_SMS_Project/Dustin_SMS_Project.ino | a5c3b51f23ed837076f7a73a537dca2f3a828437 | [] | no_license | iamtheream/brothersSmsDevice | 15f4e8c90031ff8a8db98b18e285ae7c64d8464f | 32116daa210e29b4a39760b6bec67253c38a7645 | refs/heads/master | 2021-01-01T18:12:24.432488 | 2013-11-08T00:57:35 | 2013-11-08T00:57:35 | 14,220,392 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,952 | ino | Dustin_SMS_Project.ino |
#include <Bridge.h>
#include <Temboo.h>
#include "TembooAccount.h" // contains Temboo account information
// as described in the footer comment below
#define TEMBOO_ACCOUNT "accountNumber" // your Temboo account name
#define TEMBOO_APP_KEY_NAME "accontName" // your Temboo app key name
#d... |
4a02a73f194d8655374c7aa27b3abf85907bd6a4 | 4aa3ff56e35d2d4cdeba40f45795f62f276859b3 | /Engine/Contents/Login/UICharacterCreateNew.cpp | f959626dbd3060585dc7149a90e123b702deabd1 | [
"Apache-2.0"
] | permissive | SixShoot/lastchaos-source-client | fde6a750afc4d7c5df3e9e0c542b056573c1b42d | 3d88594dba7347b1bb45378136605e31f73a8555 | refs/heads/master | 2023-06-28T17:20:35.951648 | 2021-07-31T21:51:49 | 2021-07-31T21:51:49 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 38,344 | cpp | UICharacterCreateNew.cpp | #include "StdH.h"
#include <Engine/Interface/UIInternalClasses.h>
#include <Engine/GlobalDefinition.h>
#include "UICharacterCreateNew.h"
#include <Engine/Entities/InternalClasses.h>
#include <Engine/GameState.h>
#include <Engine/Sound/SoundLibrary.h> // 서정원 로긴 관련 사운드 처리
#include <Engine/GameDataManager/GameDataManager... |
5cd767102e2c7fe8d068c4f58fae8abe98d6b9e9 | 508efd553572f28ebeb93bac77d913b514094256 | /uva/10260.cpp | 50a821acf526603d520ab8b6d3a6300c7d622912 | [] | no_license | pimukthee/competitive-prog | 4eaa917c27ddd02c8e4ff56502fa53eb7f884011 | 0a40e9fe8b229ce3534ad6e6e316e0b94c028847 | refs/heads/master | 2021-05-23T05:59:02.243040 | 2018-06-08T08:54:03 | 2018-06-08T08:54:03 | 94,750,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | 10260.cpp | #include <iostream>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <utility>
#include <algorithm>
#define pb push_back
#define mp make_pair
#define sqr(x) x*x
#define LL long long
#define F first
#define S second
#define vi vector<int>
#define pi pair<int,int>
using namespace std;
int ... |
a76893935817675653cce67aca31b623641242a0 | ad615721e4b1fdbb1d28691b7bd3948421267b88 | /GAME3015_GameEngine_Project/GAME3015_GameEngine/MenuState.cpp | 4cf61ddf7fc638d33391444ae58e5bc9ca5c8f4c | [] | no_license | Shankk/GAME3015_GameEngine | 59871b1fbe275662889dab4167c64d4e5403aac2 | 5fcfb0ce5383ae06ce3bfa73eeea759280f56859 | refs/heads/main | 2023-04-04T12:41:40.773706 | 2021-03-30T03:51:09 | 2021-03-30T03:51:09 | 352,515,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,452 | cpp | MenuState.cpp | #include "MenuState.hpp"
#include "Game.hpp"
MenuState::MenuState(StateStack& stack, Context context, Game* game)
: State(stack, context, game)
, mOptionIndex(0)
, m_SceneGraph(new SceneNode(game))
, m_MenuScreenBackground(nullptr)
, m_PlayButton(nullptr)
, m_SettingButton(nullptr)
, m_QuitButton(nullptr)
, m_Selector... |
9cd4e02942c232f2629d3e822aba25db58c1e18c | 5517b91a4be684d822d35a6c2bd8d21f1098aebc | /dragon/operators/math/elementwise_ops.h | f4898d1311c100d174b79164f6e89db050051e45 | [
"BSD-2-Clause"
] | permissive | zhengruiguo/dragon | 785f52a2eaba0899b2e598a4365adf1b43e07b38 | 3dfb6ea55d90d2fb2da9b1b471f5e1e7d7667810 | refs/heads/master | 2023-05-31T22:48:42.157381 | 2021-06-29T01:59:24 | 2021-06-29T01:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,374 | h | elementwise_ops.h | /*!
* Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
*
* Licensed under the BSD 2-Clause License.
* You should have received a copy of the BSD 2-Clause License
* along with the software. If not, See,
*
* <https://opensource.org/licenses/BSD-2-Clause>
*
* ---------------------------------------------------... |
63560a935656e6a4ca997b1540a92f87aeda85e6 | 79b674bd3a5036a68af1d5c4962b5f1126c5ac69 | /sift/sift_04/sift_04/sift_04/temp.cpp | 8dcb742c6cef33c56be9422670f70d08dac879df | [] | no_license | UI-Mario/cv | b03befa9f8a4137e0b2f52b5dd3f84319afd49be | 8e5ba043869f6aaf63398f6e787e094ae3b39c62 | refs/heads/master | 2020-05-09T10:35:57.544666 | 2019-05-13T11:12:10 | 2019-05-13T11:12:10 | 181,049,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | temp.cpp | #include "stdio.h"
#include <opencv2/opencv.hpp>
#include"pre.h"
#include"ach.h"
#include"step.h"
using namespace cv;
sift *sift1 = new sift();
sift *sift2 = new sift();
Res r1, r2;
int main()
{
r1.img = imread(img_path1);
r2.img = imread(img_path2);
resize(r1.img, r1.img, Size(r1.img.rows / 2, ... |
79deff390597bd0f915f740662af7a2d22a70964 | a2cff87a7053aa837241e5a968686c9d45c92b67 | /FinalProject/QwintoScoreSheet.h | 700505a734c1320e629a19e11f2c5720cc763dca | [] | no_license | tyleraustin005/Project-DataBase | dda9aaaea23a4618c855fc892fdab89e48db5ad1 | b09d338548bf66f6562ef766e93b330b90023de5 | refs/heads/master | 2021-02-11T00:01:36.073631 | 2020-06-24T20:54:11 | 2020-06-24T20:54:11 | 244,431,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | h | QwintoScoreSheet.h | #pragma once
#ifndef Qwinto_ScoreSheet
#define Qwinto_ScoreSheet
#include "ScoreSheet.h"
#include "Colour.h"
#include "QwintoRow.h"
class QwintoScoreSheet : public ScoreSheet {
const int totalCharLength = 37;
QwintoRow<Colour::RED> redRow;
QwintoRow<Colour::YELLOW> yellowRow;
QwintoRow<Colour::BLUE>... |
e3328e100e9c28f2a620459045bbce117fbdabbc | 19e031954aa694a7475eeb4c200d62deff87118c | /tests/arr_real_test.cpp | 9442e407a953b9dec61ddc86af48c59bcd2014a4 | [
"MIT"
] | permissive | vitalsong/dsplib | e866c7a53b60820277bd53554e3305d36ac2517e | 140c70168dd1cecad779a4b2bd3e0cf43a07759b | refs/heads/master | 2023-08-30T20:59:34.310497 | 2023-08-24T21:37:12 | 2023-08-24T21:37:12 | 228,922,291 | 15 | 2 | MIT | 2023-08-24T21:37:13 | 2019-12-18T21:11:19 | C++ | UTF-8 | C++ | false | false | 4,316 | cpp | arr_real_test.cpp | #include "tests_common.h"
using namespace dsplib;
//-------------------------------------------------------------------------------------------------
TEST(ArrRealTest, Init) {
arr_real a1;
arr_real a3(a1);
arr_real a4(10);
arr_real a5 = a4;
arr_real a6 = a5 + a4;
arr_real a7(a6 + a4... |
f102fe134363cb88c5b10eaa449d58e719b9a9dd | d5a585e518cd4ee7ea74004b60459da4b4ef346e | /Ex3_LongestSubstringWithoutRepeatingCharacters/main.cpp | 3df697b82f8ec572e519458262a29a4dda1da056 | [] | no_license | QiweiXue/LeetCode | 7e5599b66c3d4ce965e7508c9790eae9e858f1ea | 9cd3e32c08d7e86b948aeeff3e5f1950f88df865 | refs/heads/master | 2021-01-21T20:43:02.409638 | 2018-07-25T06:30:34 | 2018-07-25T06:30:34 | 94,674,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | main.cpp | # include "Solution.h"
#include <vector>
#include <iostream>
int main (int argc, char** argv)
{
std::vector<std::string> strings{"cvv","dvdf","hhhh","abcabcb","pwwkew"};
for(auto& a: strings)
{
std::cout << a << ": " << Solution().lengthOfLongestSubstring(a) << std::endl;
}
system("pause");
} |
6400b8f5d27050bc58434c0d2f352131ddf70e03 | fbd6afa22568045d8806ecdda93144d1a6e44af2 | /Src/Libs/Debugging/DebugDrawings.cpp | 68dbb124b4f787f1ad333d6fd3da7c10fbf84d51 | [
"BSD-2-Clause"
] | permissive | bhuman/BHumanCodeRelease | 5ccbcc60b968c12f29983992d603ab464a51051b | 645031c46ff88efcf32129301d21e109857cde3d | refs/heads/master | 2023-05-22T09:49:04.827692 | 2023-03-29T15:27:24 | 2023-03-29T15:27:24 | 15,512,849 | 212 | 151 | null | 2018-04-12T12:36:26 | 2013-12-29T18:24:40 | C++ | UTF-8 | C++ | false | false | 2,645 | cpp | DebugDrawings.cpp | /**
* @file DebugDrawings.cpp
*
* Functions for Debugging
*
* @author Michael Spranger
*/
#include "DebugDrawings.h"
#include "Platform/BHAssert.h"
void DrawingManager::addDrawingId(const char* name, const char* typeName)
{
if(drawings.find(name) == drawings.end())
{
char id = static_cast<char>(drawings... |
1e0f536f8eee56d82eb47dc85906412fbc1993a6 | 24fcc7a9446871f5affbc82d3ae1ed20d6a7c8aa | /src/RcppExports.cpp | f5c226fd7fd99e628833d5392e229a2a770f354b | [
"MIT"
] | permissive | mrc-ide/malariasimulation | 3188657f6ff9da4ea35646189d0bd75d6e35aa52 | 397a7b7efe90958dd01f97110a1d16c71d041f33 | refs/heads/master | 2023-08-23T11:29:10.050424 | 2023-07-03T15:58:32 | 2023-07-03T15:58:32 | 233,609,741 | 10 | 10 | NOASSERTION | 2023-08-17T15:48:41 | 2020-01-13T14:06:17 | R | UTF-8 | C++ | false | false | 16,037 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "malariasimulation_types.h"
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false... |
d59c95c1d6a3cf910718012ab5c07c0c08f9bde8 | 20e7990890414b27083c10b46b8dbdd91de87094 | /data_structures/FLE-MEN2.CPP | e8748f7fa4246b5678fe83f8f9f89d24f8126fab | [] | no_license | agudeloandres/C_Struct_Files | eb3aa9a62c596939a79f1e13c2f5cc04543592ec | cafe017f5dad4cec5d1ea2fabf4d6c646c99a23b | refs/heads/master | 2021-01-10T14:04:32.468058 | 2015-10-22T04:12:02 | 2015-10-22T04:12:02 | 44,718,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,943 | cpp | FLE-MEN2.CPP | //menu para manejo de archivos
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<stdlib.h>
#include<string.h>
#include<dos.h>
#include<fstream.h>
void inside_inde(float,int);
typedef struct alumno{
float codigo;
char nombre[35];
float telefono;
};
void main()
{
clrscr();
fstream estudiantes... |
a0e721184a3fe7c877b7fca5ff2e7b81d40628db | 1f1a038080425ef8ec0bca08064dff2af646b875 | /teste/robo_hardware/examples/LerDadosCalibracaoEEPROM/LerDadosCalibracaoEEPROM.ino | bd953ba13efbe60e26e10831968fdce1c425379d | [] | no_license | IFRN-SC/The_Zeta_Project | 7d231dee9ffba6ca530a2b4bd80898030b97c42d | 570669ca5f713818d7a8ddcda89c3007b7822440 | refs/heads/master2 | 2021-01-23T17:38:45.592950 | 2019-04-18T01:39:16 | 2019-04-18T01:39:16 | 102,772,593 | 2 | 0 | null | 2019-08-08T12:34:22 | 2017-09-07T18:35:46 | C++ | UTF-8 | C++ | false | false | 955 | ino | LerDadosCalibracaoEEPROM.ino | //exemplo para ler valores de calibracao que estao salvos na memoria persistente do arduino a eeprom
#include <robo_hardware2.h>
#include <Servo.h>
calibracao_dados val; //dados de calibracao para sensores de cor e sensores de refletancia
/***** Dados existentes na Struct calibracao_dados *******************
HSV ... |
fa0032ffbd510369f24524af94e661489a4fb95c | 2c37c298a494ed37bff11b0b240371eaba6575b7 | /0354/main.cpp | 4c8c02bcc7e9407352d7343939e7b6b6ca2e0771 | [] | no_license | chichuyun/LeetCode | 04ec78bf5b05d4febfd8daff5e0e0145cfcfacf4 | 44752f2b58cd7a850b8e02cd3735f93bb82bcb85 | refs/heads/master | 2021-06-04T11:03:04.297131 | 2020-11-19T14:48:32 | 2020-11-19T14:48:32 | 148,440,792 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | main.cpp | class Solution {
private:
static bool _func(vector<int>& p, vector<int>& q) {
if(p[0] != q[0]) return p[0] < q[0];
return p[1] > q[1];
}
public:
int maxEnvelopes(vector<vector<int>>& envelopes) {
if(envelopes.empty() || envelopes[0].empty()) return 0;
sort(envelopes.begin(),... |
482e2fe2651eb640bcf3c83728c8657e5c65eff2 | 2ed30f25c4a80afd02279f56e2e6c526ce8a6ecd | /sudoku/sudoku/solve.h | c5c3479b20d1368baabef480f616c38dcec01e06 | [] | no_license | zack-guo/Sudoku | 518eeb84d60b8645173ba84f7d16230464cdbab2 | 7f5fb1c4101a17d75af8257a085a0f1c84126a32 | refs/heads/master | 2020-11-28T16:12:03.162023 | 2020-01-23T02:20:54 | 2020-01-23T02:20:54 | 229,864,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | h | solve.h | //
// backtrack.h
// sudoku
//
// Created by 郭子奇 on 2020/1/10.
// Copyright © 2020 郭子奇. All rights reserved.
//
#ifndef solve_h
#define solve_h
using namespace std;
class solve
{
private:
int map[9][9]; //数独盘
bool check_list[9][10]; //每个宫数字的出现情况
int current_box;//当前的宫
int current_num;//当前搜索的数字
in... |
2bfe40307b2cefac9fd6ddf80471c749e3d1edb7 | b38eb24e92deda234b0d4636435ba1f878a03667 | /MiniProjeto/Mini Projeto.cpp | 1f2439d5e136532884dcc54e0ec79643260711bc | [
"MIT"
] | permissive | HemensonDavid/Estudando-C | e4ddf6002bd69ec519bba5402029a7fdbd9477e5 | fb5a33b399b369dce789bf77c06834da71fe0a4d | refs/heads/master | 2020-06-26T20:35:22.908293 | 2019-07-31T03:59:07 | 2019-07-31T03:59:07 | 199,750,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,235 | cpp | Mini Projeto.cpp | #include <iostream>
using namespace std;
int main(){
int voto;
string nome;
double alg=0;
double mat=0;
double fis=0;
double nulo=0;
double branco=0;
//variaveis de desempate
int id_alg=44;
int id_mat=43;
int id_fis=39;
double h_alg=1.83;
double h_mat=1.80;
double h_fis=1.73;
//finais de variaveis de ... |
258d7a04a59f00c33d622d7e9cee6bb4bb1c8979 | 377d69a058a0b5a1c66352fe7d5f27c9ef99a987 | /10_elementary_data_structures/easy/01_stack_using_two_queues.h | ab73e1ee5824f3bf03c8a39bae43d82ac2a87b5e | [
"Apache-2.0"
] | permissive | frozenca/CLRS | 45782d67343eb285f2d95d8c25184b9973079e65 | 408a86c4c0ec7d106bdaa6f5526b186df9f65c2e | refs/heads/main | 2022-09-24T14:55:38.542993 | 2022-09-12T02:59:10 | 2022-09-12T02:59:10 | 337,278,655 | 55 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | 01_stack_using_two_queues.h | #ifndef __CLRS4_STACK_TWO_QUEUES_H__
#define __CLRS4_STACK_TWO_QUEUES_H__
#include <common.h>
#include <queue>
namespace frozenca {
using namespace std;
template <typename T> class StackTwoQueues {
queue<T> A;
queue<T> B;
public:
void push(const T &x) { A.push(x); }
T pop() {
while (... |
d2f5f36f653b9ca5ef389ce0cf07c1664395fa19 | 693c8cdee5b2b9bf4cef0d9272a1ae6c2dcb98a0 | /利润问题switch语句实现.cpp | b310dbacdcdcc823c59fd0739348aee834266f1b | [] | no_license | livelq/oo | 7f720ca9b61e0c90c0d70aebbd0abfc224b31a99 | 6377def327081eb3a5a14acdf1a00520617cd7a5 | refs/heads/master | 2021-05-09T07:02:53.272297 | 2018-01-29T07:42:43 | 2018-01-29T07:42:43 | 119,348,897 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 608 | cpp | 利润问题switch语句实现.cpp | #include<stdio.h>
int main()
{
float i,bonus,b1,b2,b3,b4,b5;
int branch;
b1=100000*0.1;
b2=b1+100000*0.075;
b3=b2+200000*0.005;
b4=b3+200000*0.003;
b5=b4+400000*0.015;
printf("ÇëÊäÈëÀûÈó£º");
scanf("%f",&i);
branch=i/100000;
if (branch>10)
branch=10;
switch(branch)
{
case 0:bonus=i*0.1;break;
case 1:bo... |
165a3949b628e784a06c23c2abd4d6d6134cd708 | 922d614fdbc0dd63980ce436117a55fc79926e09 | /include/tpolynomial.h | b1078612d3777c338b65e4bfc45f956f465808f5 | [] | no_license | DimaNubo/Laba7_8_9 | 1cee56f87b7ac9c4618b0ad72cbffe6e2db6089a | b75c666eebca7b4aaca2a61d395a4a8fc083cf3a | refs/heads/main | 2023-02-02T05:40:01.321374 | 2020-12-17T20:36:34 | 2020-12-17T20:36:34 | 321,992,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,401 | h | tpolynomial.h | #pragma once
#include <iostream>
#include "exception.h"
#include "tmonomial.h"
using namespace std;
class TPolynomial
{
protected:
TMonomial *start;
int n; //поле размерности монома
int k; //количество элементов
public:
TPolynomial();
TPolynomial(int _n);
TPolynomial(const TPolynomial &A);... |
f50f7364ffb654c29c892d2c465ad81078ba5c6b | 5243037b081eafc39deec9484191159e73c2406c | /common_stripped/Libraries/SharedCommon/Timer.h | 3eb796dc407a5e4c136b7dbb47927fcb9d321cdd | [] | no_license | disorn-inc/old_igvc | d7b7b67a4a6beab336bd9254d5c6bf95298a187a | 7ea402ee5d931fd27d5a195d14bd76f4b07ec5de | refs/heads/master | 2021-05-27T09:41:57.463714 | 2013-03-28T02:09:53 | 2013-03-28T02:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | h | Timer.h | #pragma once
namespace Pave_Libraries_Common
{
struct TimerHandlerData
{
bool withData;
void (*timerHandlerNoData)();
void (*timerHandlerWithData)(void *data);
void *data;
};
class Timer
{
public:
static bool addTimer(void (*timerHandler)(), unsigned long ms);
static bool addTimer( v... |
7ad50e58f32f32bfffc451f7d64f51f159241850 | bbe6faa8c616ccf5e7c9733ff3f9e20494b4c066 | /cmake-3.12.20181002-g18d20/Tests/QtAutogen/RerunMocPlugin/MocPlugin/StyleB.hpp | b801eb19775215cc9301b2eb9f3bbe1345688aba | [
"BSD-3-Clause"
] | permissive | helinyu/source_view | 7d685f11dbd192b654188edf8ca132d7d5ad519c | 6799043f6df66e6f491756c7b28c05f3e31064b6 | refs/heads/master | 2020-04-24T23:19:16.431516 | 2019-02-25T14:11:36 | 2019-02-25T14:11:36 | 172,340,220 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | hpp | StyleB.hpp | #ifndef STYLEB_HPP
#define STYLEB_HPP
#include "UtilityMacros.hpp"
#include <QStylePlugin>
class StyleB : public QStylePlugin
{
Q_OBJECT
// Json file in source local subdirectory
Q_PLUGIN_METADATA(IID "org.styles.B" FILE "jsonIn/StyleB.json")
A_CUSTOM_MACRO(SomeArg, "jsonIn/StyleB_Custom.json", Ano... |
61149b82d6507a3ed9bccff3eef51535d7fb67a2 | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /JavaQt/javaqt.cpp | 4d89d14e5ea9ac005f49d90bd793c03dec535118 | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | javaqt.cpp | #include "javaqt.h"
JavaQt::JavaQt()
{
}
|
3006f0fa65b99140ee23c18ec05da89ade161a39 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/environment/Environment.cpp | a5c6263505effce9f48967ee50ef45e21ac78a94 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,306 | cpp | Environment.cpp | // Generated from /pastry-2.1/src/rice/environment/Environment.java
#include <rice/environment/Environment.hpp>
#include <java/io/IOException.hpp>
#include <java/io/Serializable.hpp>
#include <java/lang/ArrayStoreException.hpp>
#include <java/lang/CharSequence.hpp>
#include <java/lang/Class.hpp>
#include <java/lang/Cl... |
8b3ec4dd199116f39e41f96c40f23f2e1450b32d | d65d9c305e227b5dbe9553f9fc0150e56ebcc9a2 | /src/benchmarks/hashjoin/tbbmap.hpp | d285ac7973c803f622a17100050f6fb7e5094a81 | [] | no_license | dminikm/HashmapBenchmark | 71a59969312b133b891119f41e4fbfa5bc2b513b | 00eec4ab608195cacfbd2ebe7ce0a699e827c190 | refs/heads/master | 2023-04-07T02:44:25.956383 | 2021-03-14T20:42:10 | 2021-03-14T20:42:10 | 304,665,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | hpp | tbbmap.hpp | #pragma once
#include "hashjoin.hpp"
#include <tbb/concurrent_hash_map.h>
#include <tbb/concurrent_unordered_map.h>
namespace HashJoinBenchmark {
class TBBHashMap {
public:
auto insert(uint32_t key, const DatasetAValue& value) -> void {
this->map.insert({key, value});
... |
70812b24bc13d3921f925aeba897155d3b63326d | cafc8bf6cabf11969399e876792908fe9c319bea | /pongping_resource_check.cpp | 4f7240587ee97278f18a6cf056b0dc66143d887d | [] | no_license | wildrabbitt100/pongping | cbd8e1d4de8d08a8705755bbe9428265166e095b | 64e5e5d84d40c0fc8992fb9d595753cb09bc5c5e | refs/heads/master | 2020-04-13T22:35:14.963482 | 2019-04-12T19:57:34 | 2019-04-12T19:57:34 | 12,612,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | pongping_resource_check.cpp | /*
*
*
* __________ __________ ____ ___ ____________ __________ __ ___ ___ ____________
* / __ /\ / ______ /\ / \ / /\ / ________/\ / __ /\ / /\ / \ / /\ / ________/\
* / /_/ / / / /\_... |
67ae9ca3f218f861c59bcd415ed03abfd65b64ed | 0a85f0bedd7c03a5dcb7206962bed39d89b92ff6 | /Libraries/Linkedlist.cpp | 0da6964fe8805bf60090bb1aa44fcbd81326c2de | [] | no_license | JeromeYChen/Data-Structure | 4eb5bce0439d71f239c64d07307de402e6f51b85 | 39e493c98995ca303da7125712c1b81191061110 | refs/heads/main | 2023-02-23T21:07:50.764928 | 2021-01-20T06:55:24 | 2021-01-20T06:55:24 | 323,063,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,239 | cpp | Linkedlist.cpp | #include <iostream>
#include <cstdio>
using namespace std;
//定义一个叫做LinkedList的结构布局
typedef struct Node
{
int data;
struct Node *next;
}LinkedList;
/*
接下来都是具有头结点的单链表操作
单链表:list,list既是单链表的名字,也是其头结点
注意这里是头结点,并非头指针形式
*/
//初始化单链表,即建立一个新的空表
//调用函数,无需参数,返回头结点
LinkedList *Initiate ()
{
//内... |
576f90391afd09e17d21c5d98ed941abe85c1eb0 | e2cfe482573024b138528fd4a4f5f1c73b7bca75 | /Classes/SunflowerManger.h | 366664e0030fed5bc43ee73bdfa79f1c9fa1dbee | [
"MIT"
] | permissive | RabbitLee/PlantsVsRabbits | 99e3d440c4b371f76df3602e9ed02140f8930ba8 | 26f04a2bff25e29a5e10bf7c62196cfae63e86b0 | refs/heads/master | 2021-01-12T12:29:31.087388 | 2016-12-05T11:48:31 | 2016-12-05T11:48:31 | 72,515,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | h | SunflowerManger.h | #ifndef _SUNFLOWERMANGER_H_
#define _SUNFLOWERMANGER_H_
#include "Sunflower.h"
#include "PlantManger.h"
#include "GameSettings.h"
class SunflowerManger :public PlantManger{
public:
CREATE_FUNC(SunflowerManger);
virtual bool init();
void planting(int row, int column,int myMapOfPlant[WIDTH + 1][HEIGHT + 1... |
81ba14bcbb9cb1238886601e047bea1c8aba4a4f | 5b2eb60e5fbb5220453510687462a4cee6c78148 | /src/net/session.hpp | 673f8119ea6e62f8c304e30a74ddcbe9c760a226 | [] | no_license | jediserg/ws-server | f1ba46332c7ba421841516fe6afa0732b6a8dfe1 | f7ab643dde9907a5474777d7abf6dd916e018ad0 | refs/heads/master | 2021-01-20T21:15:59.514153 | 2016-07-24T18:24:17 | 2016-07-24T18:24:17 | 64,076,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | hpp | session.hpp | #pragma once
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <memory>
#include "user.h"
namespace ws
{
class Session
{
public:
using Ptr = std::shared_ptr<Session>;
Session()
: is_authorized(false),
is_auth_request_sent(false)
{
... |
d1274334a35f03fc2ba7c29805fdea7552e16776 | e2c0591e6cb6d43e6f123bc2bb60e933c92ce6ff | /B177026 유병훈 1차과제/YBH_MTOS/YBH_MTOS/Thread.cpp | a727e9c0c97dec054757e7f5e24a15072b5da5f4 | [] | no_license | gunsct/server | 4f304357d12c5bd6a4675800a9390548bdef5cb1 | 83fc8fcadc269121d9032913a32e585ad4b91bef | refs/heads/master | 2016-12-13T15:03:20.095530 | 2016-06-06T10:31:22 | 2016-06-06T10:31:22 | 46,278,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | Thread.cpp | #include "Thread.h"
Thread* Thread::GetInstance()
{
static Thread* Instance;
if( NULL == Instance )
Instance = new Thread;
return Instance;
}
int Thread::CreateThreads(LPTHREAD_START_ROUTINE _workerthread, HANDLE _hcp){
for(int i=0; i<(int)si.dwNumberOfProcessors*2; i++){
hThread = CreateThread(NULL, 0, _wo... |
a0fa2f835a7b92a9fe1984390125f106130c2734 | c678385c4f34d2b76fd3e8156946d4bfeb5f34c9 | /src/flow.h | d45b60c63d1c3e53917a60fe01ffee4c9d82f027 | [] | no_license | dlecocq/openglot3d | e4d9ca0cfa6254df4309f6fcae20ba95c1307384 | e523af2a93b1d6143530a8856edaabe2c25a8572 | refs/heads/master | 2021-01-19T18:35:49.023722 | 2017-04-15T18:18:02 | 2017-04-15T18:18:02 | 88,366,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | h | flow.h | #ifndef FLOW_H
#define FLOW_H
#include <GL/glew.h>
#include <string>
#include "shader_primitive.h"
#include "color.h"
using namespace std;
namespace glot {
/** \brief flow: a vector-valued function as a flow field
*
* This class represents a vector-valued function of x,
* y and t as a flow field using str... |
cbe938a81b8490f5eb16eb22c9b396c6f1014173 | 1a2aa18ada548e1728387729869b3707eb3b37c6 | /datastructures/AVLTreeNode.hpp | 9e7301652d04ec8f52b6be38c68ebdafcebe7c3a | [
"Apache-2.0"
] | permissive | arupa-loka/lrep | b775174821db2aa0de139b72ced67d5d17e05618 | 7ef6ce39e7527693f8fb7d62b80a69fa29adc295 | refs/heads/master | 2021-01-20T15:10:24.502501 | 2015-02-22T17:56:56 | 2015-02-22T17:56:56 | 12,906,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,787 | hpp | AVLTreeNode.hpp | #ifndef _AVL_TREE_NODE_HPP
#define _AVL_TREE_NODE_HPP
#include <iostream>
template<class T>
class AVLTreeNode
{
public:
AVLTreeNode();
AVLTreeNode(T iObj);
AVLTreeNode(T iObj, char iBalancing);
inline T getObj() const;
inline void setObj(T iObj);
inline AVLTreeNode<T>* getLeft();
inline void setLeft(AVLTreeN... |
bc7b3322b039274ecc260558a770081bea0b1c53 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /content/common/android/gin_java_bridge_value_unittest.cc | 1be8d652e075df9dd9bf094c90abfa0a65916fa0 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,185 | cc | gin_java_bridge_value_unittest.cc | // Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/android/gin_java_bridge_value.h"
#include <stdint.h>
#include <cmath>
#include <memory>
#include "base/containers/span.h"
#include "testing/gtest/in... |
99c9b9976d86aece693a703bb9a475ded669f8e8 | 74de2479d5a8932c810a0cc37e48685fcd936fa5 | /ftnoir_tracker_udp/ftnoir_tracker_udp.h | c4c85372f1500cdcfa86a95be8f815eba21da43d | [] | no_license | hfeeki/opentrack | 290593d9347b603cac91e005f490e9152c1e038f | 6fea9e0befc3f1d63bbdccaabaec767863972c46 | refs/heads/master | 2023-08-21T23:48:31.659691 | 2013-08-24T20:33:52 | 2013-08-24T20:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,561 | h | ftnoir_tracker_udp.h | #include "ftnoir_tracker_base/ftnoir_tracker_base.h"
#include "ui_ftnoir_ftnclientcontrols.h"
#include <QThread>
#include <QUdpSocket>
#include <QMessageBox>
#include <QSettings>
#include <QMutex>
#include <QWaitCondition>
#include <math.h>
#include "facetracknoir/global-settings.h"
class FTNoIR_Tracker : p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.