blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be898524cf75c196219636a55f5f8038a71c31ef | 990c8753761e658e0d863aa1c88c79d8be4e0c94 | /init_devices.hpp | fbeb057a69c774fe490431141e7f7b7ae1a703b2 | [] | no_license | rikitoro/donkey_controller_model | aa52ee0bb9c027ef37c30319707babf8bfcdecaa | 376194e1b8ed1a781de571f660ac0763fa66e983 | refs/heads/master | 2021-01-20T06:59:25.541307 | 2012-10-31T10:58:12 | 2012-10-31T10:58:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | hpp | #ifndef __INIT_DEVICES
#define __INIT_DEVICES
void init_devices();
#endif // __INIT_DEVICES | [
"yoshiaki@sendai-nct.ac.jp"
] | yoshiaki@sendai-nct.ac.jp |
d3332d4dce09cb49cc7aa9f93da914bc93e4f8c5 | f027c3b527644bcb8a6a24a6e26434c4382fe9e2 | /voice/SlideController.cpp | cdac43310c598410261ebdc7f1f4682815037058 | [] | no_license | ArelSmith/SC-SANEX | 67d7ca7bf23f344b3f3b95ed11dd234c49ed8511 | 16ade4f84a95c9e490b11cea8b796ae04cedc333 | refs/heads/main | 2023-08-07T19:59:14.389461 | 2021-10-08T13:32:05 | 2021-10-08T13:32:05 | 414,995,771 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | #include "SlideController.h"
SlideController::SlideController(const uint32_t parameter, const float startValue,
const float endValue, const uint32_t time) noexcept
: Parameter(parameter)
, ratio((endValue - startValue) / static_cast<float>(time))
, endTime(Timer::Get() + ti... | [
"wonderfulofgame@gmail.com"
] | wonderfulofgame@gmail.com |
832aa4ec7a3ebfaca147b92998d6380c1be1a6e9 | c7cf42ef5a09379b359efb172ff9874f3b9e5f31 | /Dev Updates/Server/Common/OVER_EX.h | 564b922d7141ca54adb48fcc85cde73290b8ac0b | [] | no_license | mydreamshine/grad-portfolio | e67f6a292949a0b3c7de8db7354569d7abbb63d7 | a272e4f67e637842a7427479f53cb7040f9322ac | refs/heads/master | 2021-07-13T20:59:21.593657 | 2020-09-13T06:12:33 | 2020-09-13T06:12:33 | 206,263,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | h | #pragma once
#include <WS2tcpip.h>
constexpr auto MAX_BUFFER_SIZE = 256;
/**
@brief EXPENDED class for WSAOVERLAPPED structure for IOCP.
@author Gurnwoo Kim
*/
class OVER_EX
{
private:
WSAOVERLAPPED over; ///< WSAOVERLAPPED structure.
WSABUF wsabuf; ///< WSABUF structure.
int ev_type; ///< Event type fo... | [
"rlarmsdn321@naver.com"
] | rlarmsdn321@naver.com |
140094e13ff2b52b8343960718645cf70c1c3ab9 | 8f5f13f74e63cbe9d8a28d60a649b9fece7b2146 | /OpenGL/src/5_advanced_lighting/3_6_normal_map_TBN.cpp | b54e9ee8cbc0e3e6bafdb167ecd8ad6a00b1821e | [] | no_license | GameDevZone/OpenGL | 0a2c424405cd8f97efefb29bdc884df8fd31a97f | 1670e4d90187536eb0e477416f7d134431d142de | refs/heads/master | 2020-04-11T02:52:35.337836 | 2019-02-21T09:01:09 | 2019-02-21T09:01:09 | 161,459,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,408 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "../std_image.h"
#include "glm.hpp"
#include "gtc/matrix_transform.hpp"
#include "gtc/type_ptr.hpp"
#include "../Shader.h"
#include "../Camera.h"
#include "../Model.h"
#include <iostream>
#define WINDOW_WIDTH 1280
#define WINDOW_HEIGHT 720
const unsigned i... | [
"rain330047@outlook.com"
] | rain330047@outlook.com |
57df89e7b15d629651ad1f1edc82cbaebb2fc402 | 7d383a3c16aa07845c18c9454c8b7df838ac7830 | /SceneAssets/CaelumManager.h | f29fff31fb6bdbeb22ab99a6cf17aa45c0071dda | [
"MIT"
] | permissive | chen0040/cpp-ogre-mllab | 87a145e99e8c90fb07edae0958c8c8ccbbc4d743 | b85305cd7e95559a178664577c8e858a5b9dd05b | refs/heads/master | 2021-01-01T17:24:41.664495 | 2017-07-23T01:25:01 | 2017-07-23T01:25:01 | 98,064,238 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | h | #ifndef _H_MLLAB_CAELUM_MANAGER_H
#define _H_MLLAB_CAELUM_MANAGER_H
#include <Ogre.h>
#include "../Caelum/main/include/Caelum.h"
using namespace Ogre;
class CaelumManager
{
public:
CaelumManager();
virtual ~CaelumManager();
private:
CaelumManager(const CaelumManager& rhs) { }
CaelumManager& operator=(const Cae... | [
"xs0040@gmail.com"
] | xs0040@gmail.com |
dbc3e39732a268b4acac9ec6ff87d64fa7114b06 | cab7b405f80eccf7857419f90c34b554efc19e1a | /BattleTank/Source/BattleTank/Private/TankTurret.cpp | d3a3a1f710e9c7ee3897856b07922bca3e54523e | [] | no_license | MumbleGames/Battle_Tank | a484556e236dc508fae3c350d9b2e8a1fe3d2c14 | f225379aee8aed3214387b5585722a2cb584c0ea | refs/heads/master | 2021-01-15T16:09:53.957484 | 2019-07-18T13:43:41 | 2019-07-18T13:43:41 | 99,705,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TankTurret.h"
#include "Engine/World.h"
void UTankTurret::Turn(float RelativeSpeed)
{
auto RotationChange = FMath::Clamp<float>(RelativeSpeed, -1, 1) * MaxRotatingSpeed * GetWorld()->DeltaTimeSeconds;
auto RawNewRotation = Rela... | [
"tango2999@hotmail.com"
] | tango2999@hotmail.com |
2d417387b724bac12f22594ea22aff83dca4e602 | d82bf080ddd6caadf252f40d204d46e3f7fae42f | /OZP/Lab17/Lab17_1/Lab17_1/stdafx.cpp | 68e00e01e475e63f623ee2f278fdb44073915e9e | [] | no_license | asofter/kpz-university | c190d620317bcbf99d29e085b3da22e177290a6f | 39acf69728c6921e11861e1b487f13baf0c9251d | refs/heads/master | 2020-06-05T22:34:26.199105 | 2014-05-29T08:36:01 | 2014-05-29T08:36:01 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 571 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// Lab17_1.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDAFX.H... | [
"alwex10@gmail.com"
] | alwex10@gmail.com |
3a0ffb9a3ad73b11f543d4e7d2c36c1214c6342e | cc60ae8207f6df987b69c043db8768aae50a84ee | /ipc/pipe/pipe2.cpp | 25ad08a875362bcf36390c3a616c55c03ff328e5 | [] | no_license | huigefly/Linux | fac3734540ac0b1f53b88781f48c1c81feb2cb65 | da34ffa4c9ec8636ff18c34a13021a948e138170 | refs/heads/master | 2021-06-03T17:43:10.270718 | 2020-09-01T15:02:25 | 2020-09-01T15:02:25 | 88,729,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | /*
半双工经典写法:
父进程往子进程写,子进程不能往父进程写?
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/wait.h>
int main()
{
int fd[2];
pipe (fd);
pid_t pid = fork ();
if (0 == pid) {
close (fd[1]);
char szBuf[16];
... | [
"438570993@qq.com"
] | 438570993@qq.com |
92679e8533286bef7f857e7d05e8043ed0dd8d43 | 99a7cace38843ed7d2e032cd55c60e308dc0c798 | /Engine/Rendering/SceneGraph.h | ffdedb30c8a0fbc1827f765ab432b49a4ac48ebb | [] | no_license | ConorLong/GameEngines4 | 217bb495aa2b43b01f7569e70e366fd94550da20 | 5390138017f36f287cb93cb3800825b792868bed | refs/heads/main | 2023-04-13T12:15:49.811445 | 2021-04-30T15:02:52 | 2021-04-30T15:02:52 | 335,067,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | h | #ifndef SCENEGRAPH_H
#define SCENEGRAPH_H
#include <memory>
#include <unordered_map>
#include <map>
#include <vector>
#include "../Math/CollisionHandler.h"
#include "GameObject.h"
class SceneGraph
{
public:
SceneGraph(const SceneGraph&) = delete;
SceneGraph(SceneGraph&&) = delete;
SceneGraph& operator=(const Scen... | [
"conorlong99@gmail.com"
] | conorlong99@gmail.com |
691a4d92625a3dfcc5f6feb2912a270352a6a8cb | 7ec5d6bdb52c2693af01686bc8678d951d06429e | /media_kit/Mix-A-Lot/media_common/MediaNodeWrapper.cpp | 41c573c9b5f2fc4c70e38b84239f54ce444f82ad | [
"BSD-2-Clause"
] | permissive | HaikuArchives/BeSampleCode | c3787cc3a5b8134cc73fb0b5428a6276ed3f7e46 | ca5a319fecf425a69e944f3c928a85011563a932 | refs/heads/haiku | 2021-09-12T14:36:35.392130 | 2018-04-17T16:48:46 | 2018-04-17T16:48:46 | 82,111,290 | 8 | 6 | NOASSERTION | 2023-09-09T16:13:53 | 2017-02-15T22:01:51 | C++ | UTF-8 | C++ | false | false | 3,654 | cpp | /*******************************************************************************
/
/ File: MediaNodeWrapper.cpp
/
/ Description: A application-based object-oriented API for
/ working with media_nodes.
/
*******************************************************************************/
/*
Copyright 1999, Be Incor... | [
"calvin@hakobaito.co.uk"
] | calvin@hakobaito.co.uk |
b3ca30bce575cec7983505ce26978bc68430a645 | c7430a0db2b71a1d4ccb07f85c74c2663e40e3e6 | /BruinNav/MapLoader.h | 57930a3e999da331968ba9457e7a68a9ef02f695 | [] | no_license | Clark-Minor/BruinNav | 2954ff8ffe49a5390c1d60cb7c754fdbdd4bb2f1 | 92ede65ba1d3436d5b293e86d91687c174d6868f | refs/heads/master | 2021-03-27T17:34:16.776369 | 2017-03-14T20:55:32 | 2017-03-14T20:55:32 | 84,682,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | h | //
// MapLoader.h
// BruinNav
//
// Created by Clark Minor on 3/11/17.
// Copyright © 2017 Clark Minor. All rights reserved.
//
#ifndef MapLoader_h
#define MapLoader_h
#include <string>
class MapLoader
{
public:
MapLoader();
~MapLoader();
bool load(std::string mapFile);
size_t getNumSegments() co... | [
"clarkminor@g.ucla.edu"
] | clarkminor@g.ucla.edu |
c5b958202513ade78437d446606700360e7440a4 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/extensions/extension_service_unittest.cc | 46a233611860e492dfaa04973821392ee815682e | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 300,870 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_service.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <map>
#include <memor... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
f802e38e17cbc9a41bb59135b55bbebe7697e395 | 7df86e75754cec1e25e02bdd2aeb637e2037e63b | /Project Nothing/Framework/src/framework/manager/BaseManager.cpp | baa7e6aa61bc263d4fe66d2f41bed70f7bdd3df0 | [] | no_license | eyilee/misc | adca66c739103797de22a1926d6aacb212cc29b9 | b752b2dd32df0ec18e270f6ad1793ecb2350f2a9 | refs/heads/master | 2023-03-07T01:16:59.410994 | 2023-03-02T09:36:22 | 2023-03-02T09:36:22 | 207,741,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | #include "stdafx.h"
#include "framework/manager/BaseManager.h"
IBaseManager::IBaseManager ()
{
}
IBaseManager::~IBaseManager ()
{
}
| [
"eyilee@protonmail.com"
] | eyilee@protonmail.com |
4dafae7fe58b3287b447c408006ae121716dbfd6 | b3a1b5fb3c0afb71a87f7e10d755342032d6c2c3 | /Algorithm/20220324-Find_Pivot_Index.cpp | f34996762b4dc1dc469fd5d7f66f2941d035bab2 | [] | no_license | MozziDog/TIL | d90a02456548e2feec6ec3ff944fbbfb3e20b960 | 425c5ec52530320d94801b75c45752bbfa5f73c1 | refs/heads/master | 2023-04-14T13:17:51.371960 | 2023-04-02T12:58:08 | 2023-04-02T12:58:08 | 177,277,439 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | #include <vector>
class Solution {
public:
int pivotIndex(vector<int>& nums) {
int pivotIndex(vector<int>& nums) {
int leftSum = 0, rightSum = 0;
for (int i = 0; i < nums.size(); i++)
{
rightSum += nums[i];
}
for (int i = 0; i < nums.size(); i++)
... | [
"th2252@gmail.com"
] | th2252@gmail.com |
b316006cffd9529462a1edd3d79d11bd927f0c44 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /hdu/2000.cpp | cbb82c6e37b6fdf6b4a3f677d4d36dc891fa94aa | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include<stdio.h>
int main(){
char t;
char s[3];
int i,j;
while(scanf("%c%c%c",&s[0],&s[1],&s[2])!=EOF){
getchar();
for(i=0;i<3;i++){
for(j=i;j<3;j++){
if(s[i]>s[j]){
t=s[i];
s[i]=s[j];
s[j]=t;
}
}
}
printf("%c %c %c\n",s[0],s[1],s[2]);
}
return 0;
}
| [
"imss5ss@outlook.com"
] | imss5ss@outlook.com |
8890015ef53438533e9ac2162c3f4fd6d5ac60db | 20f360e6a120bc10c55c85cfe5da8cadf40b8dc1 | /Game/cocos2d/external/bullet/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h | 88183163d73ad1e9439a4335da48018aa3fa2b08 | [
"MIT"
] | permissive | Moreonenight/Project2019 | 40fe26d269215faca10250fada12a87b302aaa0c | 83808d6505554a868aa526acd992a6b28aee0373 | refs/heads/master | 2020-05-15T11:32:40.585017 | 2019-08-08T09:33:19 | 2019-08-08T09:33:19 | 182,221,074 | 6 | 2 | MIT | 2019-06-16T06:52:43 | 2019-04-19T07:22:39 | C++ | UTF-8 | C++ | false | false | 3,406 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | [
"892542697@qq.com"
] | 892542697@qq.com |
9e50841376de3f964daffe65634736ef900fa717 | 8451c2f0ab5d92d035a965cbb0a63f3e63331e10 | /jslex.cpp | 08fe14d54a5e51129fcbe0e45d6d2506322a11fe | [
"MIT"
] | permissive | BackupGGCode/js2cpp | b8c077cf233218193b99658c424a438c5400a5ab | 7bdc4c41025353cf58686b90c6a1ce08c1d5893b | refs/heads/master | 2021-01-01T19:34:29.501715 | 2015-04-29T19:46:22 | 2015-04-29T19:46:22 | 34,758,433 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,575 | cpp | // jslex.cpp - Javascript tokenizer
#include "jslex.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
#define LENGTH(a) (sizeof(a)/sizeof((a)[0]))
const char * pzTokName[] = {
"<end-of-file>",
"<identifier>",
"<number>",
"<string>",
"<regex>",
... | [
"spike.mclarty@8697fec2-ca4e-0410-b6ac-13a7e5e4c32c"
] | spike.mclarty@8697fec2-ca4e-0410-b6ac-13a7e5e4c32c |
c5b6dfd23c5c353c279681e03682baea0d56dace | c38a238bbed3a40bd72df7249ff9c336edd73800 | /Labo04/stdafx.cpp | 462e5f4ac59224e9d641b454cdb1ff0e470a62f0 | [
"MIT"
] | permissive | inevolin/AdvancedAlgorithms | fa44d3b83b0079771cc68e19a564221d587bff00 | ea0623d33c6f643db8c3863d3880a5f53fcfddcc | refs/heads/master | 2023-06-28T13:10:50.851414 | 2020-12-30T21:48:11 | 2020-12-30T21:48:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Labo04.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"justdoitzlol@gmail.com"
] | justdoitzlol@gmail.com |
afff8174c7950380a07ece24aa3842192ecf34e5 | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/math/tools/detail/polynomial_horner3_2.hpp | e5b95734993499ea39ba98c76ac75715e129618c | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | hpp | #include "thirdparty/boost_1_55_0/boost/math/tools/detail/polynomial_horner3_2.hpp"
| [
"liuhuahang@xiaomi.com"
] | liuhuahang@xiaomi.com |
a78479dfae00f14ba8e4831681a0763bf9adc001 | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/IO/DebugWriter_Null.cpp | 8f638a24ba0773746802f25a9c5b37b4fccb1e55 | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include "IO/DebugWriter.h"
IO::DebugWriter::DebugWriter()
{
this->clsData = 0;
}
IO::DebugWriter::~DebugWriter()
{
}
void IO::DebugWriter::Flush()
{
}
Bool IO::DebugWriter::WriteStrC(const UTF8Char *str, UOSInt nChar)
{
return true;
}
Bool IO::Debu... | [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
c3430e6bd2972f004b1e03a9e5287f9647512208 | d066c9f5d3719275c92e1fd06a1894942fbf1064 | /gm/makecolorspace.cpp | 2f5acd699e66a300803c35089e7e0144e58ec805 | [
"BSD-3-Clause"
] | permissive | jpolzin/skia | 1d860f876ddaa9945cdd283637dd1ba380a17326 | 33f58abef2b74bc63bcbc6cd95b1c85a10dea01a | refs/heads/master | 2020-04-16T13:03:49.306449 | 2019-01-14T05:46:12 | 2019-01-14T06:13:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | cpp | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "Resources.h"
#include "SkCodec.h"
#include "SkImage.h"
#include "SkImagePriv.h"
sk_sp<SkImage> make_raster_image(const char* path) {
sk_sp<SkDat... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
7e6877ab7ed1213c0046cc8fe4ccc613e02b9ba9 | d1cf34b4d5280e33ebcf1cd788b470372fdd5a26 | /codeforces/154/B.cpp | a026edb5241fd53b79f5bc5ff35e62fc1b57304f | [] | no_license | watashi/AlgoSolution | 985916ac511892b7e87f38c9b364069f6b51a0ea | bbbebda189c7e74edb104615f9c493d279e4d186 | refs/heads/master | 2023-08-17T17:25:10.748003 | 2023-08-06T04:34:19 | 2023-08-06T04:34:19 | 2,525,282 | 97 | 32 | null | 2020-10-09T18:52:29 | 2011-10-06T10:40:07 | C++ | UTF-8 | C++ | false | false | 1,440 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
const int MAXN = 100100;
bool mark[MAXN];
vector<int> p[MAXN];
int s[MAXN];
int main() {
for (int i = 2; i < MAXN; ++i) {
if (mark[i]) {
continue;
}
for (int j = i; j < MAXN; j += i) {
mark[j] = true;
... | [
"zejun.wu@gmail.com"
] | zejun.wu@gmail.com |
eea75096bc8e9a76ad16d88ddd487ffa19040eca | ba30e958dfb2f5075c141b1db3f448643c8b4571 | /addons/ofxGameCamera/src/ofxGameCamera.cpp | 6a355306350b0855f39e45bde393a7297bbbaca1 | [
"MIT"
] | permissive | brandenbbb/uwhd | 6820314681a5d91620b69f8741d5fafb5104ba3f | 2558a7f24ad54a03c83fb41920efea4def499e5e | refs/heads/master | 2020-05-18T08:18:46.919136 | 2015-04-30T17:23:45 | 2015-04-30T17:23:45 | 33,317,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,098 | cpp | /*
* ofxGameCamera.cpp
*
* Created by James George on 1/19/11.
* Copyright 2011 FlightPhase. All rights reserved.
*
*/
#include "ofxGameCamera.h"
static float ClampAngle (float angle, float min, float max) {
if (angle < -360.0f)
angle += 360.f;
if (angle > 360.0f)
angle -= 360.0f;
return ofClamp(angle... | [
"branden.bb@gmail.com"
] | branden.bb@gmail.com |
098bf2bf6f7ffeb118ae60945db0043a0b9a2667 | fae78186cb8e64c3022760d7e4264ef12fe01019 | /Code/AC_HDOJ_arthuryang/17209.cpp | 2af4e1eb4168d90cf81fe11cd454a55d0a6cfded | [] | no_license | arthuryangcs/ACM | 295758c942de72822552a432c08d77f93b705284 | c4cf163995d93d18a7a124ccb2754bfa7290b21c | refs/heads/master | 2021-05-28T11:29:42.678009 | 2015-02-01T06:52:59 | 2015-02-01T06:52:59 | 27,126,740 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: arthuryang
////Nickname: ArthurYang
////Run ID:
////Submit time: 2014-01-15 15:27:45
////Compiler: GUN C++
///////... | [
"980224951@qq.com"
] | 980224951@qq.com |
0d025273a566abc42c04ffcba26dc01949062e12 | 8b957ec62991c367dfc6c9247ada90860077b457 | /src/pow.h | fa4cb92872b56849ad444685b55ad3cd1e7a2157 | [
"MIT"
] | permissive | valuero-org/valuero | 113f29046bd63c8b93160604452a99ed51367942 | c0a8d40d377c39792e5a79d4a67f00bc592aef87 | refs/heads/master | 2020-05-24T17:44:46.409378 | 2019-09-09T10:18:59 | 2019-09-09T10:18:59 | 187,392,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | h | // Copyright (c) 2014-2019 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2018-2019 The Rito Core developers
// Copyright (c) 2019 The Valuero developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/li... | [
"rishabhworking@gmail.com"
] | rishabhworking@gmail.com |
157ef8bb6a42efae2197731165a8eee9d03502ef | b51a16b9dd3d481f20f505ec520eac473db3fe56 | /lanqiao/basic/10.cc | 77c6056ecdfb367d550d4ae053274479efcaea12 | [
"MIT"
] | permissive | xsthunder/acm | 18b0d23c7456b1f57a9c68f94b8b6c0ce5580349 | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | refs/heads/master | 2021-06-03T23:52:27.140081 | 2019-05-25T05:38:49 | 2019-05-25T05:38:49 | 69,569,543 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cc | const bool TEST=1;
#include<iostream>
#include<cctype>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<set>
#include<cctype>
#include<cstring>
#include<utility>
#include<cmath>
const int inf=0x7fffffff;
#define IF if(TEST)
#define FI if(!TEST)
#define gts(s... | [
"xsthunder@outlook.com"
] | xsthunder@outlook.com |
8129626c88f00b4699c59a66552cc14f138c09fd | eb47bf8011f957e95a84ac64aab29598c59081a1 | /src/BodyPlugin/BodyContactPointLogItem.h | ae2f4d50160562bec8f1f0c7e4f11ba72c2cdb93 | [
"Zlib",
"MIT"
] | permissive | choreonoid/choreonoid | fd776aaab99d9ec544e5ceec04fbc283b8a3aee3 | 94b353722d5b9ff10e9c0ca8982e549f85b5f59f | refs/heads/master | 2023-09-01T12:27:17.849641 | 2023-08-04T13:54:12 | 2023-08-04T13:54:12 | 274,977,786 | 117 | 30 | NOASSERTION | 2023-05-23T08:25:33 | 2020-06-25T17:36:56 | C++ | UTF-8 | C++ | false | false | 1,656 | h | #ifndef CNOID_BODY_PLUGIN_BODY_CONTACT_POINT_LOG_ITEM_H
#define CNOID_BODY_PLUGIN_BODY_CONTACT_POINT_LOG_ITEM_H
#include <cnoid/ReferencedObjectSeqItem>
#include <cnoid/Link>
#include <vector>
#include "exportdecl.h"
namespace cnoid {
class CNOID_EXPORT BodyContactPointLogItem : public ReferencedObjectSeqItem
{
publ... | [
"s.nakaoka@gmail.com"
] | s.nakaoka@gmail.com |
b0239ed353cce21d4ea7475f88d9afef491c7b88 | 258e3b68fcd88f30b28142bf8b9d4d7f06114243 | /src/interpreter/types/special/SpecialValue.hpp | 2c11b5597d7e0b9801c06486bfddd56182ce8ab9 | [] | no_license | Kracav4ik/cxx_creed | e3c46925d65ee3ba1085aff90759029c139e227e | a771d52d0c3e9196eb5baa697c82a93e282d1416 | refs/heads/master | 2020-09-23T06:51:39.922549 | 2019-12-15T10:03:13 | 2019-12-15T10:04:41 | 225,431,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | hpp | #pragma once
#include "SpecialValue.h"
#include "interpreter/exceptions/UnknownOpException.h"
template <typename TypeClass>
ValuePtr SpecialValue<TypeClass>::binary_op(const std::string& op, const ValuePtr& right) const {
throw UnknownOpException("Unknown binary op token " + op);
}
template <typename TypeClass>
... | [
"dikama2013@yandex.ru"
] | dikama2013@yandex.ru |
2cc76140977ffe1b16d251ce221cb21f906f788e | b140d6f54e554c37a7147ac99fb13284512ca2e0 | /data.h | eacd69590109df8c6496f404aecd6c71c070ef76 | [] | no_license | bbxytl/ModelView_QT_Demo | eb7d165f2b2ac95f5d64431d2475baf8992e833b | 465e5fffe752f8c2612999068dc0c3d906f6addc | refs/heads/master | 2020-05-14T19:21:02.439494 | 2014-12-03T02:11:11 | 2014-12-03T02:11:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | h | #ifndef DATA_H
#define DATA_H
#include<QString>
#include<QStringList>
#include<QList>
#include<QVariant>
typedef QList<double> Record;
typedef QList<Record> IJRecord;//二维表
typedef struct N7DAtA{
QString I_ij;
double N5_ij;
IJRecord L_Rcd;
}N7Data,*PN7Data;
typedef QList<PN7Data> DataN7;
typedef QList<Rec... | [
"bbxytl@gmail.com"
] | bbxytl@gmail.com |
37c055e71933051b153010ce3427b424a908ec46 | cba674f10550c6a65cf73cc71f7bbdc27d7e5e34 | /Source/ThirdParty/tracy/client/TracyProfiler.cpp | b2f32b6902cf92f0dbab4cbdcff5d8f77429d578 | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"LicenseRef-scancode-khronos",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | elix22/Urho3D-1 | 1641fea4c855b599b2efa36cae9c249e1c507fc8 | 955ea6212defd1f0515c1bffa89a4114b63af3cd | refs/heads/master | 2021-06-25T00:57:28.436933 | 2020-11-25T13:53:52 | 2020-11-25T13:53:52 | 148,736,020 | 0 | 2 | MIT | 2020-11-25T13:53:53 | 2018-09-14T04:32:49 | C++ | UTF-8 | C++ | false | false | 100,210 | cpp | #ifdef TRACY_ENABLE
#ifdef _WIN32
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <winsock2.h>
# include <windows.h>
# include <tlhelp32.h>
# include <inttypes.h>
# include <intrin.h>
#else
# include <sys/time.h>
# include <sys/param.h>
#endif
#ifdef __CYGWIN__
# include <windows.h>
# include <uni... | [
"rokups@zoho.com"
] | rokups@zoho.com |
362e0c4f587a9f4081f654476f6db10e873a1719 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/netsvcs/lib/Token_Handler.cpp | 36d6fa2fcbaa98b64b734c2948cc58da59fb06b6 | [
"Apache-2.0"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 17,037 | cpp | #include "ace/Get_Opt.h"
#include "Token_Handler.h"
#if defined (ACE_HAS_TOKENS_LIBRARY)
#include "ace/Signal.h"
int
ACE_Token_Acceptor::parse_args (int argc, ACE_TCHAR *argv[])
{
ACE_TRACE ("ACE_Token_Acceptor::parse_args");
u_short svc_port = ACE_DEFAULT_SERVER_PORT;
ACE_LOG_MSG->open (ACE_TEXT ("Token Ser... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
798e1bc690a97cd2b5a4e25289b739d00ec9696f | 53751b25f5bb91eb00045b5181b5ed80d253d7b5 | /linked_list/ContactList.h | ef54b3e71d5da7326d9e24842d7883798932939e | [] | no_license | sarthakm1011/c_plus_plus | 80f9ac8ebd28066f35300833ddfbbbf520cc32b3 | db69694043db1a5ea598084d9c90d822651ef274 | refs/heads/master | 2020-04-22T11:12:20.296042 | 2019-02-19T12:53:37 | 2019-02-19T12:53:37 | 170,331,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | /*
*
* Author Sarthak Manchanda
* Date 15th Feb 2019
*
*
*/
#ifndef CONTACTLIST_H_
#define CONTACTLIST_H_
#include "Contact.h"
class ContactList
{
public:
ContactList();
void addToHead(const std::string&);
private:
Contact* head;
int size;
};
#endif
| [
"sarthakmanchanda@dhcp-c10182aa.ucd.ie"
] | sarthakmanchanda@dhcp-c10182aa.ucd.ie |
b76eeb2c3d1089b9ff399e099287d353056504e9 | e57b65795daf82e5f146e3c6e72d02770dae6bb3 | /codec/include/netutil.h | 620330642f7ba4b59ca70a4a5651ac65fcdf3d46 | [] | no_license | ptriller/myowncodec | 146de71c1a0f10afb5fbcac71b0071cbebb2b1d5 | cf1d000fafba0e95e052ffd30ffb41bf06021053 | refs/heads/master | 2021-01-21T14:09:25.599430 | 2016-07-08T17:17:28 | 2016-07-08T17:17:28 | 58,374,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | h | //
// Created by ptriller on 07.06.16.
//
#ifndef MYOWNCODEC_NETUTIL_H
#define MYOWNCODEC_NETUTIL_H
#include <cstdint>
#include <fstream>
template <typename T, typename U>
void write_stream(std::basic_ostream<U> &out, T value) {
for(size_t i = 0; i < sizeof(T); ++i) {
out.put((unsigned char) (value & 0x... | [
"ptriller@soapwars.de"
] | ptriller@soapwars.de |
53a04ff2287da13eaeb30827a96366054fcd5455 | 036dcdcb4ce78bdc3a2a61c97383b18ebb93af38 | /src/Piece.hpp | c8f4f4f0285c1e22f9013a7d878e2b2954059216 | [] | no_license | JulienQC/ChessAI | da90e7c191862ed3cf0b41e6a1f42296bb1f244a | 078cc97e59ba51240438676f92f485df834fe164 | refs/heads/master | 2021-07-17T01:29:41.547277 | 2017-10-24T19:29:19 | 2017-10-24T19:29:19 | 108,164,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | hpp |
class Piece{
private:
public:
Piece();
~Piece();
};
| [
"julien.cusset33@gmail.com"
] | julien.cusset33@gmail.com |
5152604baece0a60caf4b71ba1cf3c35f4d1a908 | d7ede0bd8c18e5f96a5f7eb4f15cd49526551dda | /trunk/libenet/emutex_unix.cpp | 697a354ebdad4e97c6c346e5a7811af1c5535fb1 | [] | no_license | BackupTheBerlios/enet-svn | 393a7af07228b060a6f4b27f695e819461a8bf2c | cf642cc9eb52be88b0c3d6702614e7088d6635a8 | refs/heads/master | 2020-05-31T18:31:51.496291 | 2009-09-27T16:36:06 | 2009-09-27T16:36:06 | 40,664,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #if !defined(__WINDOWS__)
#include "emutex_unix.h"
eMutexImpl::eMutexImpl()
{
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
pthread_mutex_init(&m_mutex, &attr);
}
eMutexImpl::~eMutexImpl()
{
}
void eMutexImpl::lock()
{
pthread_mutex_lock(&m_mutex);
}
bool eMutexImpl::trylock()
{
return pthread_mutex... | [
"eranif@3d9df747-5a54-0410-aaa4-ef901a837724"
] | eranif@3d9df747-5a54-0410-aaa4-ef901a837724 |
4e01f010d192aa492d7a0cac2386908bbcf332cb | 90e7a10f9c5c8e263f753e72d4db7decea084911 | /src/names/main.cpp | ea0a7e9b4d40ebca16d79d1685c8eb3373c04be7 | [
"MIT"
] | permissive | Artea/namecoin-core | 445c7394731b765aad0f36a05b72ad1028c0318e | b0f025483972fcfb49c0091129b21edd8da24004 | refs/heads/master | 2021-01-15T08:16:00.441258 | 2015-10-20T12:07:05 | 2015-10-20T12:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,259 | cpp | // Copyright (c) 2014-2015 Daniel Kraft
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "names/main.h"
#include "chainparams.h"
#include "coins.h"
#include "consensus/validation.h"
#include "hash.h"
#include "leveldbwr... | [
"d@domob.eu"
] | d@domob.eu |
0fcbb5fd23c9894f164d8605f6c9d9f74226ab5a | adb7fdf18ed82a0a4351436f6e8cd2b42e689485 | /src/learnopengl/4_advanced_opengl/11_anti_aliasing_multisampling.cpp | c039812534e8ba6c267fd6cafcf19ba51ac80aa5 | [
"MIT"
] | permissive | ikuokuo/start-opengl | 13767459ef8572d902e2572107464147c9cec509 | a66c75211c70a85e4690647b809b275ad083081a | refs/heads/master | 2021-07-12T09:45:48.029921 | 2021-03-10T02:03:12 | 2021-03-10T02:03:12 | 221,230,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,978 | cpp | #include "base/glfw_base.h"
#include "common/camera.h"
#include "common/shader.h"
// settings
const unsigned int SCR_WIDTH = 800;
const unsigned int SCR_HEIGHT = 600;
class GlfwBaseCallbackImpl : public GlfwBaseCallback {
public:
GlfwBaseCallbackImpl() {
}
bool IsWindowBeforeCreateOverride(GlfwBase *) overri... | [
"ikuokuo@hotmail.com"
] | ikuokuo@hotmail.com |
ee865c6eab24eb63040dadbd0f0d98c78f48484f | 44433b692cf4835c34f86fca406f34320cc46e01 | /files.cpp | 6dd4ee0a3d79e21816687bfaf9dc0c5d1425f737 | [] | no_license | mnaruniec/ELF-Postlinker | b90fa3b5dc84126a6e8b193674243ebe6344702e | f37b6e82fb09de327181590215d03698d20b92e5 | refs/heads/master | 2023-02-05T17:19:14.381193 | 2020-12-22T14:51:31 | 2020-12-22T14:51:31 | 249,033,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | cpp | #include <cerrno>
#include <sys/sendfile.h>
#include <unistd.h>
#include "files.h"
int pread_full(int file, char *buf, size_t bytes, off_t offset) {
int got = 0;
while (bytes > 0) {
got = pread(file, buf, bytes, offset);
if (got < 0) {
if (errno == EINTR) {
contin... | [
"micnar12@gmail.com"
] | micnar12@gmail.com |
f84389548ffce080927007d8d29474d3156f14b3 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/intrusive/intrusive_fwd.hpp | 168df60e30f36ae87164f7a507bc74566ac4d820 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 69 | hpp | #include "thirdparty/boost_1_58_0/boost/intrusive/intrusive_fwd.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
660fc81cd57009eb76466c3b62fab469a0fe6695 | f2847afa4d58d245c6f43a1567b50f865a1b8b22 | /service_provider/network_ra.cpp | d4b52e0f042b5387f207a892065c78d2456dad7d | [] | no_license | daydayup40/TPM-Remote-Attestation-using-Intel-SGX | ecff906c0963a2bcbd779aa93aee42416abb10c1 | fb5bbcf0360fe2a7ec01217ef4b215dfec2f9002 | refs/heads/master | 2020-03-20T13:53:41.322126 | 2017-03-20T00:40:13 | 2017-03-20T00:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,679 | cpp | /*
* Copyright (C) 2011-2016 Intel Corporation. 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 li... | [
"joel.thielmann@mni.thm.de"
] | joel.thielmann@mni.thm.de |
62a8494a40119005850478b3c1ef5adf6a4eea20 | a1242faa44b9a723b9b6a99c016371dfa37ccba9 | /include/mobj/domains/airplane/AirplaneState.h | edf6d598a9a9f67e5c8d68e4d1e52c4a89a5027a | [
"MIT"
] | permissive | mejrpete/mdp-lib | 6a73db290f5a17ab410460f48e3a92e6627e35ab | 8e8e0f1fbbacf9a0ff9e42a2934270676633de29 | refs/heads/master | 2022-11-27T00:14:14.318671 | 2019-07-16T12:48:08 | 2019-07-16T12:48:08 | 266,203,595 | 0 | 0 | MIT | 2020-05-22T20:42:22 | 2020-05-22T20:42:22 | null | UTF-8 | C++ | false | false | 1,166 | h | #ifndef MDPLIB_AIRPLANESTATE_H
#define MDPLIB_AIRPLANESTATE_H
#include <vector>
#include "../State.h"
#include "../../MObjState.h"
namespace mlmobj
{
class AirplaneState : public MOState
{
friend class AirplaneProblem;
friend class AirplaneHeuristic;
private:
int airplaneLocation_;
std::vector<int> per... | [
"luisen.p@gmail.com"
] | luisen.p@gmail.com |
6c15eed78f450570207f959ae82e06572d5274c9 | c893855e46d7506f952bafd5a03b14dd5a1bbd3b | /Algo++/longps.cpp | 20ac19036d233849c39c34702516b80449604262 | [] | no_license | abhidahiya23/CompetitiveProgramming | 9b8465cc53add476f83c6cb71346e91449b2d675 | 347ee56b38677c55886617a6fcb008a17f445bc8 | refs/heads/master | 2020-06-20T03:58:03.996610 | 2020-02-06T18:55:40 | 2020-02-06T18:55:40 | 196,983,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include<iostream>
#include<vector>
using namespace std;
int longestPS(string s){
int row = s.length();
int col = s.length();
vector< vector<int> > dp(row,vector<int> (col,0));
for(int i=0;i<row;i++){
dp[i][i]=1;
}
for(int j=1;j<col;j++){
for(int i=j-1;i>=0;i--){
if(s[i]==s[j]){
dp[i][j] = 2+dp[i+... | [
"abhidahiya23@gmail.com"
] | abhidahiya23@gmail.com |
801b7b862551eb215d68b5e778afb030dcdcb535 | bd0341732b3f10e2da3a4c9823dc9fb49bfba7f2 | /BehaviourTree/BehaviourTree/SelectorTask.h | d8628f4ae8b77130ab3db61c58e823d6e40e9992 | [] | no_license | JorgeAriasLopez/Portfolio | ce5c59f2f9c3a8abcf1cc0c931de070e1af8bbe6 | 549c9d2382a42f46f48a69a4c4e310890e416ee6 | refs/heads/master | 2022-12-21T06:29:57.750429 | 2020-09-28T18:06:54 | 2020-09-28T18:06:54 | 274,774,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | #pragma once
#include "ParentTask.h"
class SelectorTask :
public ParentTask
{
public:
SelectorTask();
SelectorTask(Blackboard* bb);
// Inherited via ParentTask
virtual void ChildSucceded() override;
virtual void ChildFailure() override;
virtual void SelectNext() override;
};
| [
"ariasljorge@gmail.com"
] | ariasljorge@gmail.com |
aaab5cf54f7f52742eda9c84663be729da610151 | 4c663e7fc741dfb15ca2f63e35c346e64c9acd2a | /src/server/game/Loot/LootMgr.cpp | 591c3ea38ab766ba5be010b38321ff7a81b9b0da | [] | no_license | cooler-SAI/WoWCircle-5.4.7 | 0e826a8b4867946bd85b2f66ca9b3a83b745b991 | 028ec26980dd569fa6733fb7f475abe16cfaaac6 | refs/heads/master | 2021-01-22T19:41:10.965295 | 2017-03-16T17:35:45 | 2017-03-16T17:35:45 | 85,225,748 | 0 | 7 | null | 2017-03-16T17:49:32 | 2017-03-16T17:49:32 | null | UTF-8 | C++ | false | false | 92,256 | cpp | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | [
"emiliyan9604bg@gmail.com"
] | emiliyan9604bg@gmail.com |
b9955b82845238d1ab69082d29f6ea8e282f2eb1 | ad6304b713fab3ca8ff018aad2df0d057e194300 | /CodCad/ProgrammingTechniques/LongestIncreasingSubsequence/A2.cpp | 031ac9ade1eb109e1cf54c246bf8a9e7e2652ece | [] | no_license | nicowxd/Competitive-Programming | d3f63b6eac4ccd508d194c8e6244f3d18bdca518 | de92532f753f6eeebe5dff18da8b10f3186bf107 | refs/heads/master | 2022-01-11T20:07:34.149034 | 2019-06-06T23:40:15 | 2019-06-06T23:40:15 | 115,149,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define MAXN 323456
int main()
{
int seq[MAXN], L[MAXN], lis = 0;
char s[MAXN];
scanf("%s", s);
int len = strlen(s);
for (int i = 0; i < len; i++)
seq[i] = (int) s[i];
for (int i = 0; i < len; i++)
{
int pos = upper_bound(L, ... | [
"carlos.serrato@itec.ufpa.br"
] | carlos.serrato@itec.ufpa.br |
8878e67e696e31d66376b02e2fbc35b6f6f44789 | c60e4f97890cc7329123d18fd5bc55734815caa5 | /3rd/xulrunner-sdk/include/nsIStartupCache.h | 6606ad41980f0a5024f8fc37f5e077b398e96d7b | [
"Apache-2.0"
] | permissive | ShoufuLuo/csaw | cbdcd8d51bb7fc4943e66b82ee7bc9c25ccbc385 | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | refs/heads/master | 2021-01-19T10:02:51.209070 | 2014-04-30T19:53:32 | 2014-04-30T19:53:32 | 16,976,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,646 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-m-rel-xr-osx64-bld/build/startupcache/nsIStartupCache.idl
*/
#ifndef __gen_nsIStartupCache_h__
#define __gen_nsIStartupCache_h__
#ifndef __gen_nsIInputStream_h__
#include "nsIInputStream.h"
#endif
#ifndef __gen_nsISupports_h__
#include "nsISupports.... | [
"luoshoufu@gmail.com"
] | luoshoufu@gmail.com |
f79a3bf7d85bc0b7effbcd879ae75febb79ed432 | 4462c1bc573e102180eee554c155d54fd6b4022d | /lite/operators/lookup_table_v2_op.cc | df642e6191cffb748191b38eb5a6578aac163da4 | [
"Apache-2.0"
] | permissive | ysh329/Paddle-Lite-1 | 65f95ee1e18871d5c0c8fb8da12aab7d8e9adb61 | 2f280f536dcf5f4f9e6e841d767082cd929c944e | refs/heads/develop | 2021-06-22T20:43:17.437053 | 2020-03-14T02:10:01 | 2020-03-14T02:10:01 | 205,050,556 | 1 | 0 | Apache-2.0 | 2019-10-13T12:40:09 | 2019-08-29T00:54:40 | C++ | UTF-8 | C++ | false | false | 2,029 | cc | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | ysh329.noreply@github.com |
2eefcd073c7c996429625e68d01ce4139c376dec | ec451eef662fd8750981e656b5cfff3775c48ebb | /Files/cpp/SubMenu_Backup.cpp | a14d1bada4101b6cfad4902e5bfb3a099424beb8 | [] | no_license | sergioriv2/leagueofbuilds | 8a224e4308c21de8901cba0719aed39fba605e49 | 218d61bfc082adb45b3bae2b53722aac4eabe40d | refs/heads/main | 2023-06-20T00:02:36.115495 | 2021-07-20T00:09:29 | 2021-07-20T00:09:29 | 307,536,756 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,749 | cpp | #include "../hpp/SubMenu_Backup.h"
#include "../hpp/Singleton.h"
#include "../hpp/SubMenu_Principal.h"
const char* HEADER_MENUBACKUP = "resources/gui/header_menubackup.jpg";
extern sf::Font* _FUENTE;
void SubMenu_Backup::inicializarBotones()
{
_Botones[0].setbothPos(80.0f, 320.0f);
_Botones[0].setBtnType(btnType::... | [
"sergiorive02@gmail.com"
] | sergiorive02@gmail.com |
1d18210bcff4122e0a756b0ae46c274d8a6cd7c9 | ee219dbfd335c036eae648fb87992c7a55871963 | /gateway/include/MYDHT.h | 91746e391adc944a5148d7745708118606383f26 | [] | no_license | Prorok1015/Arduino | e997037bc9064297b501e227006fee6ebd309a2d | a0f139688ca9ca0fd009da0ed4f2119f55a4ccc5 | refs/heads/master | 2022-07-19T08:58:01.512109 | 2020-05-22T15:59:23 | 2020-05-22T15:59:23 | 266,148,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | h | #pragma once
#ifndef LIB_H
#define LIB_H
#include <dht11.h>
/*
class Packag
{
private:
int MAC;
unsigned char SIZE;
int* data;
public:
enum endsimbol { PACKAGEND, PACKAGENOTEND };
Packag();
byte SendMessage();
Packag(int MAC, int* data, unsigned char SIZE, endsimbol ends);
~Packag();
}... | [
"prorok1015@gmail.com"
] | prorok1015@gmail.com |
d32979a4d2aedde139a3b6185f3a401c513455cf | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /libPr3/sprog/sprogcsmenu.h | 0e5003cc61f2c486ac25182babac68c1f77ffe31 | [] | 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 | 333 | h | #ifndef SPROGCSMENU_H
#define SPROGCSMENU_H
#include "menu.h"
#include "sprogsystemconnectionmemo.h"
namespace Sprog
{
class SPROGCSMenu : public Menu
{
public:
SPROGCSMenu(SprogSystemConnectionMemo* memo, QWidget* frame = 0);
private:
/*private*/ SprogSystemConnectionMemo* _memo;// = null;
};
}
#endif // S... | [
"allenck@windstream.net"
] | allenck@windstream.net |
fd8c30e65515d74fcf88b248afa1550740bc5f3a | 91e0031b55d93eabb36e8a29234b3ce58e97cbe1 | /rules/dcl/54/nc0.cpp | 966086b74ac7e3eae802b8d037c9e861401c4f49 | [] | no_license | yesmar/sei-cert-cppcs-samples | d76c2f13fc21d01a04ae544118f272abce2b57b1 | 88f9bd1d9f4769f518b1348690bfc02e1647d16a | refs/heads/main | 2023-02-16T19:29:53.066649 | 2021-01-17T22:22:53 | 2021-01-17T22:22:53 | 313,092,118 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 338 | cpp | // DCL54-CPP: Noncompliant Code Example
#include <Windows.h>
#include <new>
void *operator new(std::size_t size) noexcept(false) {
static HANDLE h = ::HeapCreate(0, 0, 0); // Private, expandable heap.
if (h) {
return ::HeapAlloc(h, 0, size);
}
throw std::bad_alloc();
}
// No corresponding global delete ... | [
"yesmar@gmail.com"
] | yesmar@gmail.com |
5f2f46858b4feb27be4aefe79a977723d50e16bd | b812db5d69f1ddc38596149460a0cbdf5248e0a7 | /Problems I Set/Hackerrank/mary-little-lambs-and-subarrays.cpp | 52b0e89a91c525fbb6fa42a8dc3a7c7a5e42eb71 | [] | no_license | mnaveenkumar2009/Competitive-Programming | f15536906f8a6015654baf73fec3b94f334c998a | 9bd02ae15d132468e97bc86a95e924910fe5692a | refs/heads/master | 2021-06-06T12:22:59.879873 | 2020-07-12T11:41:44 | 2020-07-12T11:41:44 | 99,432,530 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,071 | cpp | #include <bits/stdc++.h>
using namespace std;
#define f(i,n) for(i=0;i<n;i++)
#define ll long long
ll tree[200004]={0},n;
void build(){
for(ll pos=n-1;pos>0;pos--){
tree[pos]=tree[pos*2]^tree[pos*2+1];
}
}
void modify(ll x, ll y){
x+=n;
tree[x]=y;
while(x/=2){
tree[x]=tree[x*2]^tr... | [
"mnaveenkumar2009@gmail.com"
] | mnaveenkumar2009@gmail.com |
61fed17aad359c050792857085aee9ca66d8b282 | 915b69487e3334d22213057b548bbc13833bd708 | /src/third-party/catch/catch.hpp | b678812de1c777504b46ee235af786c1b218feed | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | igorsiem/qsim | eaeafb5a6359e3c1c10e3a40138b5a591f95468e | 35ad6a7c3a879f05ebed000fdf053129fba56664 | refs/heads/develop | 2020-04-07T19:45:50.938358 | 2019-02-11T07:38:33 | 2019-02-11T07:38:33 | 158,661,622 | 0 | 0 | BSL-1.0 | 2019-02-11T07:38:36 | 2018-11-22T07:50:16 | C++ | UTF-8 | C++ | false | false | 378,224 | hpp | /*
* Catch v1.5.8
* Generated: 2016-10-26 12:07:30.938259
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software License, Ve... | [
"igor@qprise.com"
] | igor@qprise.com |
bb97532119a9fe6d4e09160aa4e06848dfe4f60e | b86d4fe35f7e06a1981748894823b1d051c6b2e5 | /UVa/10101 Bangla Numbers 1.cpp | 1466e63dadcc997589a9059a96e3aedabe0bc40d | [] | no_license | sifat-mbstu/Competitive-Programming | f138fa4f7a9470d979106f1c8106183beb695fd2 | c6c28979edb533db53e9601073b734b6b28fc31e | refs/heads/master | 2021-06-26T20:18:56.607322 | 2021-04-03T04:52:20 | 2021-04-03T04:52:20 | 225,800,602 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long int k,n,i,ara[15],j,t=0;
while(scanf("%lld",&n)==1){
t++;
for(i=0;i<11;i++)
{
ara[i] = 0;
}
i=0;
while(n!=0)
{
if(i==0 || i==2 || i==3 || i==4 || i==6 || i==7){ara[i] = n % 100; n = n/100;}
... | [
"sifat.acc@gmail.com"
] | sifat.acc@gmail.com |
3dd1cff0e8e972974d68a6ede2934a27a974023d | 426cf0a1ebeafa396e3ac1cef96fbce5040fbfe8 | /graphics/include/xs/canvas.h | 721b2eaed2dc8dd849be904b1cd8ef221c024638 | [
"Apache-2.0"
] | permissive | Geloi/xskit | c27e2c760d4d08d9aad6af07571b2caac0f92946 | 9d273840c60493c509c72b281463a376702539fb | refs/heads/master | 2020-05-02T02:28:40.722667 | 2016-05-20T06:28:14 | 2016-05-20T06:28:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | /*
* Copyright (C) 2015 Focalcrest, 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... | [
"lewis@focalcrest.com"
] | lewis@focalcrest.com |
0faa34cb0b3404dcf00171b380f142447cf8f5eb | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests_aflminimized/stolen_15723.cpp | 29aaf51975cb795a4bdcc5b4c9fd691883263e34 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | int f(int i, X x) {
if (i)
return g(std::move(x));
g(x);
return 0;
} | [
"github@pauldreik.se"
] | github@pauldreik.se |
7c880dff343d9a5814ed8d6cf6853c94220bf787 | b0b45fe160e0ac4c7424b3909a5636240aa1bf5d | /qt-profiler/src/profiler/perf/perf-events-view.cpp | 0ee4dd2618f1be30b4f6288e26da3c95ffb1bce1 | [] | no_license | vlmarkov/simple-profiler | 28a150c9c9f545d56e96f69911095dff6c058ad2 | 4fdaf71fd2ea664cda4c6c0a48faa36e4aec62b4 | refs/heads/master | 2021-10-11T00:44:01.190813 | 2019-01-20T07:51:09 | 2019-01-20T07:51:09 | 136,697,842 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | #include <include/profiler/i-model.hpp>
#include <include/profiler/i-controller.hpp>
#include <include/profiler/perf/perf-events-view.hpp>
PerfEventsView::PerfEventsView(IModel& model, IController& controller, BaseProfiler& baseProf):
model_(model), controller_(controller), baseProf_(baseProf)
{
model_.Observ... | [
"randyshughart54@gmail.com"
] | randyshughart54@gmail.com |
cf050d004141e084d48c823a1fc8e984247da51e | c72eb63a323ff6b2f9f2336222128e04573171a7 | /Nesne proje/nesne proje/CarPacketPackeger.cpp | 336c6897d0913c7c9ad21c42ea4f2ecd5ada1b32 | [] | no_license | bhtyrsm/cplusplus-example-oop-project | e46af80e379598752042bf79424ada25f587a0d8 | 54159291214c8abc6c7b783767186359d39caf42 | refs/heads/master | 2021-06-19T09:05:12.944846 | 2017-06-20T17:41:33 | 2017-06-20T17:41:33 | null | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 1,567 | cpp | #include<iostream>
using namespace std;
#include"CarPacketPackager.h"
#include<string>
#include<sstream>
stringstream ss;
CarPacketPackeger::CarPacketPackeger()
{
}
string CarPacketPackeger::getdoorpacket()
{
return "#DOOR:";
}
string CarPacketPackeger::getwindowpacket()
{
return "#WİND:";
}
string... | [
"noreply@github.com"
] | bhtyrsm.noreply@github.com |
b330426c2298a81002bc9b8d51b0738aba07c833 | 2d11a258981bfb5c92d10445ca8a48d1b2f79186 | /include/openreroc_gyrosensor/posture_sensor.h | 40250694ef47218e9bd506498b35ed501576f885 | [
"BSD-3-Clause"
] | permissive | Kumikomi/openreroc_posturesensor | a4d0337c43841d66e9eec3e0f6fb9a11389b4e78 | a2dc1e2735d075b1488773aa6a79a676dc30c508 | refs/heads/master | 2021-01-10T16:48:33.917139 | 2016-03-13T22:32:54 | 2016-03-13T22:32:54 | 49,960,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,454 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain... | [
"hitomin@virgo.is.utsunomiya-u.ac.jp"
] | hitomin@virgo.is.utsunomiya-u.ac.jp |
d0aca477e2c25137f4b7420eaffcfedb082e6985 | cbbd486d6bbc1b7c2ace1249412f5240db6efbe0 | /sw_study/12872.cpp | a47a2dcc4a01f51dcb3d3031c2acc21b6db8c23f | [] | no_license | Cafemug/baekjoon-cpp | f383708e17affbaf3be3ed797c8dac14771e1cc8 | cb5452f8d08d071b2f3535009b545555c6a92190 | refs/heads/master | 2021-10-21T02:18:44.017457 | 2021-10-18T12:10:50 | 2021-10-18T12:10:50 | 116,027,319 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <iostream>
#include <cstring>
using namespace std;
const long long mod =1000000007;
long long d[101][101];
long long n,m,p;
long long go(long s, long x){
long long y = n-x;
if(s==p){
if(y==0) return 1;
else return 0;
}
long long &ans = d[s][x];
if(ans!=-1) return ans;
an... | [
"hyanghope@naver.com"
] | hyanghope@naver.com |
2fb460bb5c8471c059e5a9833ab255d2f8c9a789 | 830cf30124b5138268a04023bd1d9f954ab68320 | /TestData/generate.cpp | 2248a3c4660964a800cdfa94419c5e4db1c1de21 | [] | no_license | ankesh007/Graph-Partitioning | 485f53d4391a71cb22d4fb3ff4e7c6462288880f | 39be158a867a76acbc965ecaba88d2fb8533e22f | refs/heads/master | 2021-04-09T10:46:07.389253 | 2018-05-18T14:16:16 | 2018-05-18T14:16:16 | 125,315,711 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n<<" "<<(n*(n-1))/2<<endl;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=n;j++)
{
if(i==j)
continue;
cout<<j<<" ";
}
cout<<endl;
}
} | [
"ankeshgupta007@gmail.com"
] | ankeshgupta007@gmail.com |
bb8efcda55c54fdc2771895abc0d697344204fca | f1e58637b62fbd4d70863b9cbfc7d171f434e19c | /CTP_Ingestion/future_wrapper/FutureMarketApi.h | 6dabd26e68e3e00bf9f79e66d53ec067275e2360 | [] | no_license | VIPERWorld/ctp-ingestion | b064acaa009871ac99d6483170805f99f1a2776f | f08d9b4d3d45157face894d7c7f2f75aa1c4a8e3 | refs/heads/master | 2021-01-20T03:57:18.804129 | 2015-01-20T00:19:06 | 2015-01-20T00:19:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | #pragma once
#include <vcclr.h>
#include "..\future_library\ThostFtdcMdApi.h"
using namespace System;
public class FutureMarketApi : public CThostFtdcMdApi
{
public:
FutureMarketApi();
virtual ~FutureMarketApi();
void SubscribeAllFutureMarketData(String^ sql_ip, String^ sql_port, String^ sql_userI... | [
"xuchuvsmachao@gmail.com"
] | xuchuvsmachao@gmail.com |
ade66cd7bbcd3f44dd49ef5c0182fc7f7165bc2b | dd30c63bb193d634ccad712f12237235624394d7 | /libpapyro/papyro/annotationprocessor.h | 4bb07f7ea30af06bc6aaf2da2694b223d82c96fe | [] | no_license | ripefig/utopia-documents | 1e326398da4f92a3b3e28905ae5836a4c8a4bbaa | 751dd9a8e88bd24de6416924f85c960cc6714ec3 | refs/heads/master | 2020-12-07T10:36:22.674096 | 2020-01-09T02:57:15 | 2020-01-09T02:57:15 | 232,705,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,228 | h | /*****************************************************************************
*
* This file is part of the Utopia Documents application.
* Copyright (c) 2008-2017 Lost Island Labs
* <info@utopiadocs.com>
*
* Utopia Documents is free software: you can redistribute it and/or modify
* it... | [
"leftcrane@tutanota.com"
] | leftcrane@tutanota.com |
ac2e661ba13bccd85e2696d4d9983a780b08247a | a1dd771e4315ebc4d59c0763cc783c6814ed18e6 | /KanskeKulSpel/src/Game/GameState.h | 7e5e2e1e3358b77657d1ce08749256d3cc5d07f1 | [] | no_license | Maakuz/FunkyGam | ddf353b793813f32bb8c9f2a0e373a4a3e754ccd | 5a2bf83ad74b1c85eded89facb2d4bf6951f32c6 | refs/heads/master | 2020-07-18T00:18:17.723980 | 2020-01-28T15:41:28 | 2020-01-28T15:41:28 | 206,130,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #pragma once
class GameState
{
public:
enum class States
{
hub,
level
};
GameState();
virtual ~GameState() {};
void operator=(States state) { GameState::state = state; };
bool operator==(States state) { return GameState::state == state; };
void setState(States state) ... | [
"markuswerdien@hotmail.com"
] | markuswerdien@hotmail.com |
300a63d4c5c7e2b391cff40191e8edc5bdcc0cdb | 81f2b85a9542b8fd365b44d0caa39f2fb6f8e122 | /leetcode/Array/Remove Element/main.cpp | 0bab3bdaa79c4b554c86f25973c50a92d64a39fc | [] | no_license | setsal/coding | c66aa55e43805240c95e1c4f330f08b0fb0df7ba | 7ee094b8b680107efe88a0abb3aba5c18d148665 | refs/heads/master | 2023-08-26T20:03:03.723747 | 2021-09-24T18:04:14 | 2021-09-24T18:04:14 | 298,565,963 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | class Solution {
public:
int removeElement(vector<int>& nums, int val) {
if ( nums.empty() ) {
return 0;
}
int i = 0;
for ( int j=0; j<nums.size(); j++ ) {
if ( nums[j] != val ) {
nums[i] = nums[j];
i++;
}
}... | [
"contact@setsal.dev"
] | contact@setsal.dev |
1846316763a6de1ff06ab956875c81ea73c86ca2 | a2df02d4aaead0336a3427d15fb20386346e01c2 | /model/databitg.cpp | 8cae2f54a1e8a297d444c2513926d5e151af6e62 | [] | no_license | nicoctopus/octopus | 6b0fa3ea09d6f38ebd6a6155f1a152d38489d548 | a0bd6b4b4057aa9c6c72d92aeb762142e95d0414 | refs/heads/master | 2020-03-30T23:55:17.595788 | 2012-03-29T14:11:29 | 2012-03-29T14:11:29 | 3,397,245 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | #include "databitg.h"
DataBITG::DataBITG() {
}
DataBITG::DataBITG(const quint32 &bary, const quint32 &idmove, const quint32 &t, const quint32 &g) {
this->barycenter = bary;
this->idMovement = idmove;
this->time = t;
this->gap = g;
}
void DataBITG::setBarycenter(const quint32 &b) {
th... | [
"edewilliencourt@gmail.com"
] | edewilliencourt@gmail.com |
c8aadabdd75ffeb945ead6e5f6406f85c58ce863 | de7ee4345f6706673e4b4ece6aa3dd66fa24561f | /prototypes/Cmnd.hpp | eea6d6a446cffb38e64c54bb85118e2772677367 | [
"MIT"
] | permissive | mohamedrayyan/Rshell | e011db5eb93186bac4941428832f0f1b9d83cbf7 | 37c0dd264799d199e6c0dc1f13ae1e25f9368620 | refs/heads/master | 2022-03-22T16:54:27.020109 | 2019-12-19T19:33:29 | 2019-12-19T19:33:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | hpp | #ifndef __COMMAND__
#define __COMMAND__
#include "Executable.hpp"
class Cmnd : public Executable {
private:
const int SIZE = 3;
char* command[SIZE];
public:
Cmnd(char**);
Cmnd();
void set_left(Executable*);
void set_right(Executable*);
Executable* get_left();
Executable* get_right();
bool run_comman... | [
"Sdc977@gmail.com"
] | Sdc977@gmail.com |
574f7e115c59347f85c03fc8a6ae11d3f9fac7b4 | a141b636296784edf2a0be92c31697e542273958 | /Effect4DApp/jni/hauto/ttalight_dasan.h | 21c9d787a49b3c797d661cae3a9ecb10d5cea9f1 | [] | no_license | raonix-github/Effect4D | 915ec8c8a01e704f06cdd81174acd3ca405c61d5 | dc2be6099e5a8120a9aa4e111d4d7ae2bbd60ac0 | refs/heads/master | 2021-01-18T11:23:23.163058 | 2014-02-03T02:08:45 | 2014-02-03T02:08:45 | 16,133,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | #ifndef _TTALIGHT_DASAN_H_
#define _TTALIGHT_DASAN_H_
#include "ttalight.h"
namespace raonix
{
class TTALightDasan :
public TTALight
{
public:
TTALightDasan(string name);
virtual ~TTALightDasan()
{
}
virtual int SetOne(int grid, int swid, int on, int dim);
int SetDeviceNum(int grpcnt, int nogrpcnt);
};
} ... | [
"dshwang@raonix.com"
] | dshwang@raonix.com |
517cff2fcb3a00ae719e2a5bb071ea29e1de53f1 | 9225560c109415f825bad1d0b64b935b808276ab | /c_plus_plus/external_challenges/find_median/find_median/find_median/main.cpp | 991b17e7adff8c6dc48a06de4212b12fbbb001ba | [] | no_license | AgileTrossDev/codesignals | 9f14a6fa04b2db2c417d73cdc581d11a2307f9e6 | 01372a22d51561a7c285ed51ed9039067b05b2b4 | refs/heads/master | 2020-04-11T14:07:20.693981 | 2019-04-07T15:38:22 | 2019-04-07T15:38:22 | 161,841,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,087 | cpp | //
// main.cpp
// find_median
//
// Given that integers are read from a data stream. Find median of elements read so for in efficient way.
// Making it clear, when the input size is odd, we take the middle element of sorted data. If the input
// size is even, we pick average of middle two elements in sorted stream.
/... | [
"scott.jackson.swe@gmail.com"
] | scott.jackson.swe@gmail.com |
d503f1102f1d43518de9356b685854456456ed79 | 861e99dea1474a7d306962a6c8f1b8a5b674b926 | /15.3-sum.cpp | 13be7b56fdbfe1b8e7944004376859a38fc9114e | [] | no_license | isbhargav/Programming-Problems | bee209027748bb0e8c4eb7693a8210057be806fd | bdd88b5ea68945faf4e5eb878df4a43eadbdb1c8 | refs/heads/master | 2022-02-12T20:59:09.318239 | 2022-02-03T21:45:39 | 2022-02-03T21:45:39 | 227,699,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | /*
* @lc app=leetcode id=15 lang=cpp
*
* [15] 3Sum
*/
class Solution {
public:
vector<vector<int>> threeSum(vector<int>& nums) {
vector<vector<int>> ans;
if(nums.size()<3)
return ans;
sort(nums.begin(),nums.end());
for(int i=0;i<nums.size();i++)
{
... | [
"ladbhargav@yahoo.co.in"
] | ladbhargav@yahoo.co.in |
eafe92c8aa4a0a590d3b1e7f30f5afe0babe2f0b | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/Framework/FrameworkTesting/ProjectSuite/Detail/GUIProjectManagerMock.cpp | f47fdac69a2cd68b41fd93e7247e61b1c303a809 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,839 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 版本:0.9.1.0 (2023/06/19 15:10)
#include "GUIProjectManagerMock.h"
#include "CoreTools/Helper/ClassInvariant/FrameworkClassInvariantMacro.h"
Framework::GUIProjectManagerMock::GUIProjectM... | [
"94458936@qq.com"
] | 94458936@qq.com |
20df8f574431d99483175fdd4af9cc6d0dc37d56 | 85460b8e874397f219628879d28068be327b142e | /src/renderer.h | 4a21318e5aad79387df8808f944dde789f06c362 | [] | no_license | chris0731/CapstoneProject_CppND_Udacity | 0d90bdbd0b4862471338b4aa0124af49703f512d | 5e5ab4dc03eef8b061a8b6b4c5c2ec7bf8e1d4b7 | refs/heads/master | 2022-09-10T06:19:53.719145 | 2020-06-05T00:23:42 | 2020-06-05T00:23:42 | 269,492,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | #ifndef RENDERER_H
#define RENDERER_H
#include <vector>
#include "SDL.h"
#include "snake.h"
#include "bonus.h"
class Renderer {
public:
Renderer(const std::size_t screen_width, const std::size_t screen_height,
const std::size_t grid_width, const std::size_t grid_height);
~Renderer();
void Render(Sn... | [
"ksh.jin@gmail.com"
] | ksh.jin@gmail.com |
06c513bcd92d0d5fd86a524d46fab97db5af3235 | 684c50ca49155432e5023ad34279a8d8526217ea | /SDL2/EmptyLevel.h | 05e7a47ef6934efcab196fbf9f928d04e8218f30 | [] | no_license | AndriusDap/SDL2 | c9f28cf03dc105f49572bd0ed6096b69eb3ab2fa | 16937ac51345207cd27f07a9f034d38266f3f938 | refs/heads/master | 2016-09-03T06:24:37.527518 | 2014-06-05T19:19:44 | 2014-06-05T19:19:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #pragma once
#include "Includes.h"
#include "ILevel.h"
#include "PlayerShip.h"
#include "StupidBot.h"
#include "Collider.h"
#include "Pickups.h"
class EmptyLevel : public ILevel
{
std::shared_ptr<PlayerShip> player;
std::vector<std::shared_ptr<StupidBot>> enemies;
std::shared_ptr<Pickups> pickups;
Collider collide... | [
"Dapsevicius.Andrius@gmail.com"
] | Dapsevicius.Andrius@gmail.com |
c593cda7b1afc3e28e1ab1bb1ea4900a472fc329 | a3b8987a8a639676201ea8c9dedbca5e038022d8 | /C++/ClassesAndObjects/Main.cpp | 185a3175a79e810100e9f7e6dcd60a51d3e607a9 | [] | no_license | Matty2532/CppProjects | 639158cc1893aa308121d70f90445f5bc2612c76 | ee17b3b8caea3ec4962de8d93c0776f281e7dbae | refs/heads/master | 2020-05-31T11:30:24.047740 | 2014-04-16T15:16:48 | 2014-04-16T15:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #include <iostream>
using namespace std;
class Yolo{
public:
void print(){
cout << "Hello world" << endl;
}
};
int main(){
Yolo yolo;
yolo.print();
cout << "Press enter to continue...";
cin.get();
return 0;
} | [
"Matty2532@hotmail.com"
] | Matty2532@hotmail.com |
adc5662480878885063c41d2e93635049805f600 | c1144e592b503d587fa89165d82ff55d5490728a | /DiagnosePage/GeneratedFiles/Debug/moc_LoadDialog.cpp | 80bcc7fd130ce7045a5f70327df5552e4cf44d12 | [] | no_license | 15835229565/UDS_Diagnose | 4eea65df69e3646d9119baa63f90e50ff3d2c7f0 | 2c4fe059dc1ca4f14dce7059d2da3444166fdfd4 | refs/heads/master | 2020-07-03T01:55:22.305193 | 2018-03-26T08:04:15 | 2018-03-26T08:04:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'LoadDialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.1)
**
** WARNING! All changes made in this file will be lost!
****************************************************... | [
"chengshulei@126.com"
] | chengshulei@126.com |
f7aac3855a690706af889823efb88866500083cd | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/third_party/blink/renderer/modules/indexeddb/web_idb_database_impl.cc | 00fda1ec7dea599de85d664fff1ead3e6336ef16 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 12,520 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/indexeddb/web_idb_database_impl.h"
#include "base/format_macros.h"
#include "mojo/public/cpp/bindings/strong... | [
"csineneo@gmail.com"
] | csineneo@gmail.com |
0ac660f02bfa5ca2f00a58e65561e6a77e6bbe55 | dbea9250c626838247fc92e5ed2b9b723ddc4da3 | /Hackerearth/March_Circuits'20/Dislikes and Party.cpp | 1ddd19fa27e0ab2d00e657856c83348d90fbca09 | [
"MIT"
] | permissive | ASM-ATIKUR/Competitive_Programming_Atikur_Rahman | 8db639403ef89a6374b9bcc4c430e816664b47f2 | 9552e4dca7daad5c07542514d4b8c8baabea1989 | refs/heads/main | 2023-08-25T11:59:49.593390 | 2021-09-23T08:06:45 | 2021-09-23T08:06:45 | 338,761,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,781 | cpp | /***
** A S M Atikur Rahman
** Update: 26-03-2020
***/
//#include <bits/stdc++.h>
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<cstring>
#include<time.h>
#include<limits.h>
#include<vector>
#include<string>
#include<stack>
#include<queue>
#include<map>
#include<unordered_map>
... | [
"atikur.ice18@gmail.com"
] | atikur.ice18@gmail.com |
1c9fccbaa3ba6153cad62deaade82b98dd30d253 | c7b454ec5489a47959d78cd239e069e08993eaef | /labs/Lab22/lookup2.cpp | a745e36717389d384fb5dfe9fc885ffc6a843a9b | [] | no_license | Yaboi-Gengarboi/cs201 | a087711508504a873b4b3ce9c9867bfe293641fe | 9476a26f7e739b62dd3b197bfa7361d7609eee63 | refs/heads/master | 2020-07-14T23:26:18.336464 | 2019-12-06T02:39:54 | 2019-12-06T02:39:54 | 205,425,806 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,497 | cpp | // lookup.cpp INCOMPLETE
// Glenn G. Chappell
// 21 Mar 2018
//
// For CS 201 Spring 2018
// Look-up by Key, Improved
//
// Modified 10/26/18
// Chris Hartman
// For CS 201 Fall 2018
#include <iostream>
using std::cout;
using std::endl;
using std::cin;
#include <vector>
using std::vector;
#include <utility>
using std... | [
"jpdurnford@alaska.edu"
] | jpdurnford@alaska.edu |
aa01b31022cc10a7e9241e0642128da9abd00867 | e15768382ea9553ee5a2bd708e96796b3f3275d2 | /.svn/pristine/aa/aa01b31022cc10a7e9241e0642128da9abd00867.svn-base | 05168aae003f0e618462a7f8935a095794091e48 | [] | no_license | KratosCSIC2016/Master | 2c8edcd0c6c5745d198bede2b7e8cac6811e6ede | f15871e1830829bb41fdcb3203f4db59147bee01 | refs/heads/master | 2020-06-17T20:08:41.482931 | 2016-12-13T12:03:49 | 2016-12-13T12:03:49 | 74,974,314 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,832 | //
// Authors: Ferran Arrufat farrufat@cimne.upc.edu,
// Guillermo Casas gcasas@cimne.upc.edu
//
#if !defined(KRATOS_VERLET_SOLVER_STRATEGY)
#define KRATOS_VERLET_SOLVER_STRATEGY
#include "custom_strategies/strategies/explicit_solver_continuum.h"
#define CUSTOMTIMER 0 // ACTIVATES AND DISABLES ::TIMER:::::
... | [
"enriquebonetgil@hotmail.com"
] | enriquebonetgil@hotmail.com | |
169dd31dc167d6a4a2c22d3abc17364fcc5243fe | 34ddf6bf3e8515c8a120f492d4dfb204231befe0 | /snowflake3d.cpp | f402b52d6802155274394a8e6eb6158972c35bbd | [] | no_license | de1mos242/USDiplom | 75fe373fa3719546cbd258fb60f04ad4e64a6b2c | 30e41b4faf0d4f1b7e4413b23f6292881ce1f8e4 | refs/heads/master | 2016-09-05T12:16:58.426996 | 2012-06-23T12:37:19 | 2012-06-23T12:37:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include "snowflake3d.h"
#include "line3d.h"
SnowFlake3D::SnowFlake3D()
{
}
void SnowFlake3D::SetGeometry(Point3D center, GLfloat size) {
this->center = center;
this->size = size;
}
void SnowFlake3D::draw() {
Figure3D::draw();
Line3D lx, ly,lz;
lx.SetCurrentColor(this->currentColor);
Point3D... | [
"de1mos242@gmail.com"
] | de1mos242@gmail.com |
bbe221c9817d88e18fac5d7e55bfc0790eca78e9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5751500831719424_1/C++/lanlan/1.cpp | 6666b3253f850c55792e94dc657b7ca5bda38e29 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
using namespace std;
char str[110][110];
char zm[110][110];
int num[110][110];
int tt[110];
int bb[110];
int main(){
int T,n;
int cnt = 0;
cin>>T;
while(T--){
cnt++;
cin>>n;
for(int i=1; i<=n; i++)... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
2978a26cb4f55d7f078e0dae395c0dbcb051fa77 | 30eceff1806cfe045a38ff6303cc9a2fab846e74 | /number.h | e6a303b61b8d5c1de4197757628774916afa1a44 | [] | no_license | yuchenlin/SchemeCalc | 1bb625409afc71ebba3fe90dbbfed568d76b9def | 3b5c550a208416b04e8a74fde8996eaa24789a0a | refs/heads/master | 2021-01-10T22:07:57.679366 | 2015-11-23T11:54:09 | 2015-11-23T11:54:09 | 38,996,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,224 | h | #pragma once
#define SCAST_NUMBER(x) static_cast<Number*>(x)
#include <cstring>
#include <string>
#include "base.h"
#include "boolean.h"
class Number : public Base{
public:
enum{
RATIONAL = 1,
FLOAT = 2,
COMPLEX=3
} type_;
Number(){
classType = NUMBER;
}
virtual ~Numb... | [
"yuchenlin0212@163.com"
] | yuchenlin0212@163.com |
ff5c0f8d2c0599f017f43924c4555214479a3b87 | 7c18f3d073b6445ee0d648c8c92bd1c9b145534e | /trajectory_generator/src/s_curve.cpp | 4d3ffe6378407feb05c145d3e1e40306544de292 | [] | no_license | logicraju/cdpr | b8b3dfdf9c222cc31e23427f360a191121ec69fc | 4f4d2bc9c40e3d8f3f5e0af95a7d00826fa30e6d | refs/heads/master | 2023-05-29T15:00:37.184030 | 2021-06-14T11:38:47 | 2021-06-14T11:38:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,944 | cpp | #include <log2plot/logger.h>
#include <trajectory_generator/s_curve.h>
#include <visp/vpIoTools.h>
/*
*---------------------------------------------------------------------------------------------------------------
* s-curve method based on 5 order polynomial motion planning algorithm
* This is the trajectory gener... | [
"yuchuanlang.ecn@gmail.com"
] | yuchuanlang.ecn@gmail.com |
90173543bcca6b0171794d940f23003760a53a01 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /include/llvm/IR/RuntimeLibcalls.def | 62d67308114f8726097f13027f8fc387a17d5684 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 26,731 | def | //===-- llvm/RuntimeLibcalls.def - File that describes libcalls -*- C++ -*-===//
//
// 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
//
//===---------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
269a6ed26dce573c8dda754039d7ffc0dbb7f0d5 | 7e206171aff10918b71adf2ed7c85d68558d6b39 | /examples/ME/W_4j/P0_Sigma_sm_uxsx_mupvmduxcxdx_W_4j.h | 66266f487f1b7b6f5fba780a88852a3a47220351 | [] | no_license | matt-komm/momenta | 934d62f407abcce25e7c813c0ae9002d308f09cf | c52c63fad5ab38dc54e71636f3182d5fbcd308bc | refs/heads/master | 2021-01-01T05:31:11.499532 | 2014-04-01T20:01:29 | 2014-04-01T20:01:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | h | //==========================================================================
// This file has been automatically generated for C++ Standalone by
// MadGraph 5 v. 2.0.0.beta3, 2013-02-14
// By the MadGraph Development Team
// Please visit us at https://launchpad.net/madgraph5
//==========================================... | [
"Matthias.Komm@cern.ch"
] | Matthias.Komm@cern.ch |
7da5434c3c0cde41b04a08196d67cb3e452b2aad | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /sirt/inst/testfiles/SMIRT_CALCPROB_PARTCOMP/libFuzzer_SMIRT_CALCPROB_PARTCOMP/SMIRT_CALCPROB_PARTCOMP_DeepState_TestHarness.cpp | c99fa7701893659caca2fc308fd837c0be074695 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,664 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// SMIRT_CALCPROB_PARTCOMP_DeepState_TestHarness_generation.cpp and SMIRT_CALCPROB_PARTCOMP_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#inclu... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
d386f86d5fd648b40bdea1780b8168293ea4c885 | 41e8b2bdd242c6965323a4ecd1a6886a38be2add | /DVKE.h | 90aedd7f9d870b73e090b47caba7ff62378e8d7c | [] | no_license | Vizzed/AD_3 | 2fc06c2f3449b05bcb1153e3f07c63b2f7d009ea | 0bb52ee626b57457e18de3086e9e988692935111 | refs/heads/master | 2021-05-11T17:50:37.297253 | 2018-01-25T18:01:36 | 2018-01-25T18:01:36 | 117,806,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | h | #pragma once
class DVKE
{
private:
DVKE* v;
DVKE* n;
public:
DVKE();
~DVKE();
DVKE* getV();
DVKE* getN();
void setV(DVKE* obj);
void setN(DVKE* obj);
};
| [
"34457831+Vizzed@users.noreply.github.com"
] | 34457831+Vizzed@users.noreply.github.com |
1e6edb5fbc8564337f2daf9606a4c6a1d0976aef | c93c42ca10bc482786b8acc6751a0cbcb2392715 | /c programming/command tool/commands.h | 9083af8eddc742c498b9cdea0e37b5c22da82e24 | [] | no_license | Takehana/course-work | 9686ebb3aa34b2239a506719b9fcbcb1f0ac847d | 632a0906cd3a0a8f7e5d61c8f3593a895ef16fad | refs/heads/master | 2020-03-22T17:09:22.378397 | 2018-07-10T05:11:20 | 2018-07-10T05:11:20 | 140,376,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | h | // $Id: commands.h,v 1.11 2016-01-14 14:45:21-08 - - $
#ifndef __COMMANDS_H__
#define __COMMANDS_H__
#include <unordered_map>
using namespace std;
#include "file_sys.h"
#include "util.h"
// A couple of convenient usings to avoid verbosity.
using command_fn = void (*)(inode_state& state, const wordvec& words);
usin... | [
"sliang10@ucsc.edu"
] | sliang10@ucsc.edu |
cd613f059feb2a2937020d31773c107bdf664f75 | c62b32437cbcd3b32584a38ee405602aedc7a57a | /subscriber.hpp | f2b3ca359d64b5546ae3c7e2646dd0695f12cb34 | [
"Apache-2.0"
] | permissive | ROBOTIS-GIT/ros2xrcedds | 31f433309a9fd905d4b5021245678137c3d8552b | fe853ea88cce49d0974976bf857b6664090ef1b2 | refs/heads/master | 2020-04-18T01:57:43.540130 | 2019-05-22T02:38:46 | 2019-05-22T02:38:46 | 167,141,472 | 1 | 3 | Apache-2.0 | 2019-01-28T04:41:37 | 2019-01-23T07:54:36 | C | UTF-8 | C++ | false | false | 1,849 | hpp | /*
* subscriber.hpp
*
* Created on: May 16, 2018
* Author: Kei
*/
#ifndef ROS2_SUBSCRIBER_HPP_
#define ROS2_SUBSCRIBER_HPP_
#include <stdio.h>
#include "xrcedds/xrcedds.hpp"
#include "node_handle.hpp"
#include "topic.hpp"
namespace ros2
{
class Node;
template <typename MsgT>
class... | [
"kkw@robotis.com"
] | kkw@robotis.com |
7ad897646b0f7dd44dd4f05c303ff8b841e84b2d | f07c072871f8c6e8f25e63a2a05308575eb3242c | /E-olymp/Quick Start C/Q-FindTheSum.cpp | 814a9be57cdacc97b4e9d1267df24eee272ade4a | [] | no_license | pathakaditya6/Competitive-Programming | 7c5d71dcc537152fb06b4e580a68cbe00572a9b1 | e6175075cfc82b4ab166181ccaf7a447635911ca | refs/heads/main | 2023-01-15T16:32:52.125572 | 2020-11-22T23:31:57 | 2020-11-22T23:31:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | // In the name of Aadi Shakti
// We are nothing and you are everything
// Jai Mata Di
#include <bits/stdc++.h>
using namespace std;
//#define fast ios_base::sync_with_stdio(false) ; cin.tie(0) ; cout.tie(0) ;
#define int long long
#define endl "\n"
void solve()
{
int n ;
cin >> n ;
float ans = 0 ;
f... | [
"ayushkumar1234@protonmail.com"
] | ayushkumar1234@protonmail.com |
4206da62857a9055dfde715404499c5953e61c88 | 61c47183846deed0e3373a7d7bcb19295e1ba509 | /PAST1/h.cpp | 50d32ed41c2589e7f347d52995facac5965fbe45 | [] | no_license | shintaro-hirose/AtCoder_PAST | fd0c58f47477a83d050e0df6bf8057264e45c374 | fcc3e8ca0594321d462044f72116a7dfa9c59aaa | refs/heads/master | 2023-01-21T23:22:46.856114 | 2020-11-15T04:03:56 | 2020-11-15T04:03:56 | 310,866,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> l_l;
typedef pair<int, int> i_i;
typedef vector<int> vi;
typedef vector<vi> vii;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
const ... | [
"joeleshin@eis.hokudai.ac.jp"
] | joeleshin@eis.hokudai.ac.jp |
76e2c17552e6b889595dfeddc3ad4204a342c492 | f4f8e9b55f4ec4a6733bd71596c7206d1270094b | /tensorflow-yolo-ios/dependencies/eigen/failtest/ref_3.cpp | 74fc305906dc731ed0f2183c602a6e348dcf4e9d | [
"MIT"
] | permissive | initialz/tensorflow-yolo-face-ios | 1e71a73c9814a24fc3ca36a61f2abc7a4b32ad63 | ba74cf39168d0128e91318e65a1b88ce4d65a167 | refs/heads/master | 2021-08-19T19:22:34.604864 | 2017-11-27T07:39:21 | 2017-11-27T07:39:21 | 112,151,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:135ad3199894d9376bd7940571936db456b3f929ba52ed4f9cf0e552326f8884
size 231
| [
"kaiwen.yuan1992@gmail.com"
] | kaiwen.yuan1992@gmail.com |
508358bc69262a3abdb7cdde3a9d26abeee3f8a0 | 5bbe4dcac8a5f3971a5785f667169ec9eef34b24 | /python/happy_ext.cpp | 070fc8599f3d8a9e121d21a4522612149d665e16 | [
"MIT"
] | permissive | turtlesoupy/cuda_test | cfcc823df0989105d33bbb83dc9080cb144a294d | 86156e9323e7f1a77a157625609633097582878a | refs/heads/master | 2021-03-28T15:01:29.055629 | 2020-03-17T03:50:22 | 2020-03-17T03:50:22 | 247,871,976 | 0 | 0 | MIT | 2020-03-17T03:37:09 | 2020-03-17T03:37:08 | null | UTF-8 | C++ | false | false | 348 | cpp | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <happy/happy.hpp>
PYBIND11_MODULE(happy, m) {
m.doc() = "Dummy module for adding vectors";
m.def("add_cpu", &happy::add_cpu, "A function which adds two vectors on CPU");
#ifdef WITH_CUDA
m.def("add_gpu", &happy::add_gpu, "A function which adds tw... | [
"taylorgordon20@gmail.com"
] | taylorgordon20@gmail.com |
0f441486e6af8cec9ed2bf43974eb1a11997ac18 | 21ed6143340b9ab7f9c5937898f65b9914c0d6c0 | /src/Thread/Task.cpp | b34b653de4234ee2b2843a7a97452c613fe74487 | [] | no_license | guitehub/tek2-cpp_bomberman | 71486f8edd58778a5b11c6a112eb7e35bf47439c | d4a74ef32072269c841d5a1bf2a1a0f6d2a7b56f | refs/heads/master | 2022-09-09T12:18:10.440460 | 2020-04-19T14:56:08 | 2020-04-19T14:56:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | //
// Task.cpp for bomber in /home/chanut_g/rendu/cpp_bomberman/src/Thread
//
// Made by Guillaume
// Login <chanut_g@epitech.net>
//
// Started on Fri May 30 16:45:47 2014 Guillaume
// Last update Mon Jun 2 14:15:51 2014 Guillaume
//
#include "Thread/Task.hh"
Task::Task(Task const &tmp)
{
this->_funcPtr = t... | [
"guillaume.p.chanut@gmail.com"
] | guillaume.p.chanut@gmail.com |
78d9cb26cdb91c3d353f40275936071f238e8cef | fcdfe976c9ed60b18def889692a17dc18a8dd6d7 | /opencv/cpp/calibration_fs.cpp | f4aa41cc7c20640abe303360496ef6b20aabf0c6 | [] | no_license | akihikoy/ay_test | 4907470889c9bda11cdc84e8231ef3156fda8bd7 | a24dfb720960bfedb94be3b4d147e37616e7f39a | refs/heads/master | 2023-09-02T19:24:47.832392 | 2023-08-27T06:45:20 | 2023-08-27T06:45:20 | 181,903,332 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 21,681 | cpp | // From OpenCV sample.
// Modified for fisheye cameras.
// g++ -g -Wall -O2 -o calibration_fs.out calibration_fs.cpp -I$HOME/.local/include -L$HOME/.local/lib -Wl,-rpath=$HOME/.local/lib -lopencv_core -lopencv_calib3d -lopencv_features2d -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio
// ./calibra... | [
"info@akihikoy.net"
] | info@akihikoy.net |
c2fc090a669ead9cabf0608f341cb423f5087662 | fc2dc1ed6446e7354f2425e5c8294c41a4033c9e | /src/catsim/Terrain.cpp | 438fbf489e883c412971c20e02d03e5943106916 | [] | no_license | IsuraManchanayake/cat-simulator-cpp | bb51d3c60cb646a98595d3666b60b0dab9284b1f | 4f62b98537300da7d1d63435a4fb77a776747e99 | refs/heads/main | 2023-08-12T19:16:42.716176 | 2021-10-14T16:49:23 | 2021-10-14T16:49:23 | 417,211,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,612 | cpp | //
// Created by isura on 10/12/2021.
//
#include "Terrain.h"
#include "Config.h"
Cell::Cell(const Vec2 &position, const std::vector<Cat *> &cats, double x_trace, double y_trace, CellType cell_type,
double food_amount, double elevation)
: position(position), cats(cats), x_trace(x_trace), y_trace(y... | [
"isura.14@cse.mrt.ac.lk"
] | isura.14@cse.mrt.ac.lk |
03a567d2a3a9cbced50c6fe035ed06a72be8fed8 | bc4910ecec94749697dbce5e7cf5093275411125 | /src/tracer/eglwindow.h | a14a423e7068a7e6a8e9c08df7999f7527b41cb4 | [
"MIT",
"Zlib"
] | permissive | se210/tracy | 7e73a6f0d64f355842b9a11035c3720b4d40fde5 | 232a42ce1aefcffa1f8544c89d60a16ebd897033 | refs/heads/master | 2021-01-09T20:55:03.241111 | 2013-12-15T23:34:36 | 2013-12-15T23:34:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,054 | h | /**
* Internal Tracer API interface.
* Copyright (c) 2011 Nokia
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | [
"ville-veikko.tolonen@nokia.com"
] | ville-veikko.tolonen@nokia.com |
2a4fad99d8c7bac35cb8ccd81c51c13d6c4459f0 | a754da405bc3d2d2d1d8940d7d277c63bf2b7768 | /3party/boost/boost/thread/win32/once.hpp | 0ed56a5716891641b0832ad01e8cbe2f07f74620 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | icyleaf/omim | 3a5a4f07890e6ad0155447ed39563a710178ec35 | a1a299eb341603337bf4a22b92518d9575498c97 | refs/heads/master | 2020-12-28T22:53:52.624975 | 2015-10-09T16:30:46 | 2015-10-09T16:30:46 | 43,995,093 | 0 | 0 | Apache-2.0 | 2019-12-12T03:19:59 | 2015-10-10T05:08:38 | C++ | UTF-8 | C++ | false | false | 40,428 | hpp | #ifndef BOOST_THREAD_WIN32_ONCE_HPP
#define BOOST_THREAD_WIN32_ONCE_HPP
// once.hpp
//
// (C) Copyright 2005-7 Anthony Williams
// (C) Copyright 2005 John Maddock
// (C) Copyright 2011-2013 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE... | [
"alex@maps.me"
] | alex@maps.me |
e38a453d6f1596324aafd45c30cac52adc7f2413 | 4884a3d865a1a753acf8ced202c09bad22394b63 | /Objects/ObjectFactory.h | ea1d3a861f9815ef3652e5a132dba0dde8bbc332 | [] | no_license | ddejean/littleray | 5cf96977e4b9dd12e502722e3564cad6817e106b | 884b5d07280693bc5fff4d606f7d034a1d7cb321 | refs/heads/master | 2021-01-10T20:27:14.064089 | 2020-06-06T21:28:40 | 2020-06-06T21:28:40 | 2,700,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #ifndef OBJECTFACTORY_H_
#define OBJECTFACTORY_H_
#include "Scene.h"
#include "Object.h"
#include "Xml/tinyxml.h"
class ObjectFactory
{
public:
/* Build a Material from a material XML Node */
Object *makeObject(Scene *s, TiXmlNode *n);
};
#endif
| [
"djod4556@yahoo.fr"
] | djod4556@yahoo.fr |
d87aff4e0aa4c75e97e92e8a464caf2bd1e37faf | 7ae0efc9798b7c9fa720022ed5d763d6ab27cd13 | /paddle/fluid/operators/detection/box_coder_op_npu.cc | 9599cd4fbfc6e019d45a458e6d6f7f008d83c2ca | [
"Apache-2.0"
] | permissive | ceci3/Paddle | e1d0b56a1bb1de9a0d26977868795f86e2c0580b | e4d475eabd83e7a6fa1e88c64c28747450f87d66 | refs/heads/develop | 2023-08-03T03:43:35.139011 | 2022-02-08T11:36:07 | 2022-02-08T11:36:07 | 171,274,803 | 0 | 3 | Apache-2.0 | 2021-08-24T07:14:24 | 2019-02-18T11:49:16 | C++ | UTF-8 | C++ | false | false | 14,839 | cc | /* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | [
"noreply@github.com"
] | ceci3.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.