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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
809b39b3a66ac1c187725f109cdb0327a677afbd | a283b170dd56a16a05cbddaa6d8be4398c630d80 | /d01/ex10/Cat.hpp | 9c5b39d3048d3b964e29faeb0efaac2b7c7d6a30 | [] | no_license | Julow/cpp_pool | 9ac75e34d88ef136f40917f5edc84ee24f7a4a58 | c6b0ab48a352b17f1942a4415bd31305395ff9ee | refs/heads/master | 2021-01-15T11:48:41.431464 | 2016-01-13T16:02:58 | 2016-01-13T16:02:58 | 34,286,820 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cat.hpp :+: :+: :+: ... | [
"juloo.dsi@gmail.com"
] | juloo.dsi@gmail.com |
490931b07704328fa1635c9be3eead64234b776a | 70488ceead10ebf62ef7187c61609f7953dae198 | /three/lights/hemisphere_light.hpp | b0237b1a02d3bf18747aec8f875e6f470554cc70 | [
"MIT"
] | permissive | darkcoordinate/three_cpp | acde3a110f6bda95dd5ff480219738b872f5120f | 0b25c423f063956197f0af93fbaa50983a5a491f | refs/heads/master | 2021-01-19T21:57:59.793428 | 2016-04-09T06:43:52 | 2016-04-09T06:43:52 | 55,829,890 | 0 | 0 | null | 2016-04-09T06:38:25 | 2016-04-09T06:38:25 | null | UTF-8 | C++ | false | false | 939 | hpp | #ifndef THREE_HEMISPHERE_LIGHT_HPP
#define THREE_HEMISPHERE_LIGHT_HPP
#include <three/common.hpp>
#include <three/lights/light.hpp>
namespace three {
class HemisphereLight : public Light {
public:
typedef std::shared_ptr<HemisphereLight> Ptr;
static Ptr create( int skyColorHex, int groundColorHex, float inten... | [
"glorindel@gmail.com"
] | glorindel@gmail.com |
8f075ad6ebfc702ecc769942f96004bfec3bc9a0 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-network-firewall/include/aws/network-firewall/model/DisassociateSubnetsRequest.h | 68d7a657035acb32083ab344caec8e9736e6ee4d | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 17,304 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
#include <aws/network-firewall/NetworkFirewallRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/util... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
2f70ca5a05e7a4a5bd2649fb1d5e608052825fe2 | 734c74789108492d64af40594e641ca320f0d4ff | /DummyChoosers.cpp | 3ef45610430665ec73708f4737e0a86f3b2506aa | [] | no_license | Vladimir-Trushin/BullPgia | cf871bb94266cf6e05589bb6622c6bb30d1e3cc1 | 91408215562fc9fc246ab16af0d0c024838ed149 | refs/heads/master | 2023-06-30T17:12:01.538550 | 2021-08-04T16:15:16 | 2021-08-04T16:15:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include "DummyChoosers.hpp"
#include <stdlib.h>
std::string RandomChooser::choose(uint length)
{
std::string r = "";
for (uint i = 0; i < length; ++i)
{
char c = '0' + (rand() % 10);
r += c;
}
return r;
}
| [
"vtws21@gmail.com"
] | vtws21@gmail.com |
eac525cadfddfb2544e8247122d243d2139ac4bd | 7dee761622fa4dd8993d400d323d898280c8d4b5 | /0404 Sum of Left Leaves/Sum of Left Leaves.cpp | 3c43498ae9b273c6d4703a9a71c66b50fcc1b1c4 | [] | no_license | garlinplus/leetcode | 2f8395dac07620329485bf68de6229482767b8c3 | af040db766b6a32f244a56d1e2510f8c7a1a6516 | refs/heads/master | 2020-04-09T11:42:45.238403 | 2020-03-20T12:11:08 | 2020-03-20T12:11:08 | 244,287,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | class Solution {
public:
int sumOfLeftLeaves(TreeNode* root) {
if(!root) return 0;
return dfs(root,0);
}
int dfs(TreeNode* root,int flag){
if(!root){
return 0;
}
int sum = 0;
if(flag){
if(!root->left && !... | [
"2663498351@qq.com"
] | 2663498351@qq.com |
2f37361643c519dbe464dcf1d6c305ac50db6cfe | 4db58e7e02f66c155edacc63e1fda60cb4a5eea6 | /frameworks/runtime-src/Classes/AppDelegate.cpp | 4a465aedc1c9c68a67bad56ad444d2fa49e8060f | [] | no_license | hongjie104/Libra-lua | f9d5fe234bfaf0fe3ef4d372ce17dc17eac81177 | 7813ffcabc142adfb82affb8ac752215c46b16d5 | refs/heads/master | 2021-05-29T14:51:16.966095 | 2015-09-24T12:53:03 | 2015-09-24T12:53:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,891 | cpp | #include "AppDelegate.h"
#include "CCLuaEngine.h"
#include "SimpleAudioEngine.h"
#include "cocos2d.h"
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WP8)
#include "CodeIDESupport.h"
#include "Runtime.h"
#endif
#include "ConfigParser.h"
#include "lua_module_register.h"
// extra lua module
#include "cocos2dx_extra.h"
#include ... | [
"blueheart104@tom.com"
] | blueheart104@tom.com |
117fa9dd5d3f00a78e1001566dfaa65b2f695e38 | b615e948c1417665b008f145ac507cbe41caca46 | /src/libtsduck/base/tsUserInterrupt.h | 5510ae8e6df646712c9862f2b936b973ecc127a7 | [
"BSD-2-Clause"
] | permissive | spnngl/tsduck | 41f260c009a3bed9c2babb996ce98473bb598c93 | ca411244bf7dfe741466762baf96e16a4a5867cc | refs/heads/master | 2021-06-27T16:03:42.093986 | 2021-03-21T11:57:20 | 2021-03-21T11:57:20 | 221,499,020 | 0 | 0 | BSD-2-Clause | 2019-11-13T16:04:42 | 2019-11-13T16:04:41 | null | UTF-8 | C++ | false | false | 4,644 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
6d712c6a81a5bc76f8f540d6ffc3d6dad2a08b90 | 990d1d75f9eaa79298adc9f269b4f6a56c1044c6 | /Not Current/homework2_Nawavi/particles/pthreads.cpp | f86f30173377662fec6e2f58c1cfafc0250e19b5 | [] | no_license | royanguiano/CIS-625-homework | a9bb170c0a20a17eff6e116f6d0949ba49ac4b82 | ff0decde3d11d04becac469fa089733333f12da1 | refs/heads/master | 2020-03-11T12:38:59.727704 | 2016-04-25T05:38:13 | 2016-04-25T05:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,547 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <pthread.h>
#include "common.h"
#include <sched.h>
static __inline__ unsigned long long rdtsc(void)
{
unsigned long long int x;
__asm__ volatile (".byte 0x0f, 0x31" : "=A" (x));
return x;
}
int P = 0;
int bar = 0; // ... | [
"FarNalJ@gmail.com"
] | FarNalJ@gmail.com |
1ccba416b5cf82cf52c66c435531ecffa614149f | 2485005ebb1b9ac79a3f9195b6bfeb7817ae7a9c | /include/braincloud/internal/win/Win32RelayTCPSocket.h | 57372b1a11d282ecccd8ccfa9df0097b29455165 | [
"LicenseRef-scancode-public-domain",
"Apache-2.0"
] | permissive | getbraincloud/braincloud-cpp | c2ca31e9971b1103178eedc55cd40ea98a03bbb1 | 03c2446cd512529a35fdf4d041da0ec84c785b4a | refs/heads/master | 2023-09-01T15:47:48.536831 | 2023-08-03T19:40:31 | 2023-08-03T19:40:31 | 51,466,360 | 4 | 19 | Apache-2.0 | 2023-09-14T20:39:40 | 2016-02-10T19:33:02 | C++ | UTF-8 | C++ | false | false | 1,234 | h | #ifndef _WIN32RELAYTCPSOCKER_H_
#define _WIN32RELAYTCPSOCKER_H_
#include "braincloud/internal/IRelayTCPSocket.h"
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#include <thread>
#include <atomic>
namespace BrainCloud
{
class Win32RelayTCPSocket final : public IRelayTCPSocket
{
public:
~Win32Re... | [
"daivuk@gmail.com"
] | daivuk@gmail.com |
ea3d5a922a18e8bd0d84587b756007540ccbabe0 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/RodentVR/StartPosition.gen.cpp | 09847110f7ccdbb90ba6b4e55b307ee619cf88b3 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 16,249 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
20b494fa308b77a6339c8a57c7a3d02340a1d2ca | 95b33131d5d9749a4ffb8482ff51bf63c5e5f145 | /Design/CityMonitor/Sources/HistoryVideoPlayer.cpp | 344d35e6e226b4c9f6daf68e22c83ecda3cae851 | [] | no_license | TongYinHuang-Swift/CityMonitor | 5ef7b17b50777489923fec7fe61cd783cfe3c2fe | 589a1f3eba85f138e0cfbd6a2b9ad6c3bc6486fc | refs/heads/master | 2021-01-17T05:24:46.850756 | 2016-07-11T03:27:22 | 2016-07-11T03:28:28 | 62,879,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include "HistoryVideoPlayer.h"
#include "Debugger.h"
HistoryVideoPlayer::HistoryVideoPlayer()
{
}
HistoryVideoPlayer::HistoryVideoPlayer(VideoManager* manager, byte videoID, DateTime startTime, DateTime endTime)
{
}
HistoryVideoPlayer::~HistoryVideoPlayer()
{
}
void HistoryVideoPlayer::run()
{
PRINT(ALWAYS_PR... | [
"TongYin.Huang@Swift-Soft.cn"
] | TongYin.Huang@Swift-Soft.cn |
1a5cccd1cb457ad0decc663f84260f5d5cacafc3 | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /engine/core/render/base/pipeline/image_filter.cpp | a7140641c0cec6d7f22424137b6a6f090511f328 | [
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 2,743 | cpp | #include "engine/core/render/base/mesh/mesh.h"
#include "engine/core/render/base/renderer.h"
#include "image_filter.h"
namespace Echo
{
ImageFilter::~ImageFilter()
{
}
void ImageFilter::bindMethods()
{
CLASS_BIND_METHOD(ImageFilter, getMaterial);
CLASS_BIND_METHOD(ImageFilter, setMaterial);
CLASS_REGISTER... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
592f9038feddd2898f4801f1255c032754fc58ad | 2f892cf2781f5ab439e062cae9b491084699a766 | /client/client-multi/client-cpp/impl/log/DefaultLogUploadStrategy.cpp | 7e48fe633f27f760e104390fb94500c17672c1a5 | [
"Apache-2.0"
] | permissive | kamilerman/kaa | 29311880722d4bb52d6411f8a472695faef843ad | 096ac6c684d7ce49fa34945667459f0c90b6a502 | refs/heads/master | 2021-01-22T14:45:27.014228 | 2015-05-18T08:53:28 | 2015-05-18T08:53:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,751 | cpp | /*
* Copyright 2014-2015 CyberVision, 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 o... | [
"dkimcherenko@cybervisiontech.com"
] | dkimcherenko@cybervisiontech.com |
adf1aebe80f83297e2bff0c052567d73eefd9593 | 4ec0273325d763a5e3e613307d3212cdb35786a8 | /Source/TestingGrounds/ActorPool.cpp | 144320887ee45d5a184110afbb56cb0d1220eca1 | [] | no_license | araujojr82/TestingGrounds | ddbe45d0c3b20a88b75c71beaef32d14ed1ef7ee | 69f7bfc1fa484ba8a624a35cbc01660ee309f5b2 | refs/heads/master | 2020-05-16T06:48:24.944699 | 2019-05-12T05:54:25 | 2019-05-12T05:54:25 | 182,856,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ActorPool.h"
#include "GameFramework/Actor.h"
// Sets default values for this component's properties
UActorPool::UActorPool()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You ca... | [
"araujojr@gmail.com"
] | araujojr@gmail.com |
e982c7679c9a5f5f23e2f03189045ad3b80f0857 | 8267a9d167f9c58848c7aaabcc28192ef1b54342 | /Assignments/1(ftree)/inc/Person.h | 553a217dc93f0713e6da0bdb0239eb94e05982eb | [] | no_license | Tyler-Gauch/SystemsProgramming | 027b4cf0b4ea4e5cedf414bc5baecda5f6ca70e8 | cf7f3c92e77d8f6917c11ede8fb4a7c1e38544b7 | refs/heads/master | 2021-01-16T20:44:35.453427 | 2016-08-02T20:13:29 | 2016-08-02T20:13:29 | 64,789,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | #ifndef __PERSON__
#define __PERSON__
#include <iostream>
#include <string>
#include <vector>
class Person{
public:
Person();
Person(std::string firstName);
std::string getFirstName();
void setFirstName(std::string firstName);
std::string getLastName();
void setLastName(std::string lastName);
std::string getF... | [
"tyler.gauch@continuum.net"
] | tyler.gauch@continuum.net |
53291c597490824cb9bcdc2779c7e17b305d5e6a | 9b882c3dfaa41e62b15fb635599ef6780f2c8379 | /net/reporting/reporting_cache_unittest.cc | d1e03ae27ea2c565c40dcdf5594dc9036dd604ee | [
"BSD-3-Clause"
] | permissive | cqtangsong/chromium | 1e042e2f49d9cb194790674805afcc1308a08f81 | e73c1f260913f418bf5886b996b02dae372cfffa | refs/heads/master | 2023-01-14T07:34:05.166609 | 2020-03-12T03:07:32 | 2020-03-12T03:07:32 | 246,735,752 | 2 | 0 | BSD-3-Clause | 2020-03-12T03:32:44 | 2020-03-12T03:32:43 | null | UTF-8 | C++ | false | false | 69,028 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/reporting/reporting_cache.h"
#include <algorithm>
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/strings/strin... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ce004c739357e2dcbef1e62b50351887967e4be6 | 38089ef195e9fa325bd4e193e7693d4ae9a9bb4b | /SuffixArray.cpp | 3fec2f835752aca51d7ac5407e687b669f939009 | [] | no_license | 1k2222/ACMTemplates | 1539ffed33f89760d396747809ff7dad3db4f0da | 0550c98a6f8722fafec859696a900d698b5d4459 | refs/heads/master | 2020-05-29T08:47:18.657100 | 2017-04-28T02:02:43 | 2017-04-28T02:02:43 | 69,145,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | /*
需要自行定义的变量:
1. maxn:数据最大长度
2. N:当前数据长度
*/
struct SuffixArray
{
int bucket[maxn];
int sa[maxn];
int ran[maxn];
char str[maxn];
int tmp1[maxn], tmp2[maxn];
int height[maxn];
static inline bool cmp(int a, int b, int l, int *r)
{
if ((b + l >= N) || (a + l) >= N) return fals... | [
"vbzl1208@126.com"
] | vbzl1208@126.com |
0beb53194650a9405ec63392e2d91658bb481dd2 | 474a9dcd9f2038dd3e32cd6a98afe2670561580f | /CppWinThread1/CppWinThread1.cpp | 5f5922069f06d34c27a8b4653ae0403d480f984c | [] | no_license | Ams627/CppWinThread1 | 2c0340783e9757d58fc3cf8500a93e1d41a97706 | b93319658540a5f62df8adfdd9b252105f605702 | refs/heads/master | 2020-07-21T10:15:29.553560 | 2019-09-06T16:06:45 | 2019-09-06T16:06:45 | 206,830,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include "stdafx.h"
DWORD WINAPI ThreadProc(LPVOID pParam)
{
std::cout << "test";
}
int main()
{
DWORD threadId;
auto handle = CreateThread(NULL, NULL, ThreadProc, 0, 0, &threadId)
}
| [
"adriansims62781@gmail.com"
] | adriansims62781@gmail.com |
9069a5246f906a98f60aa033b32f9179acea63b3 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /components/sync/base/mock_unrecoverable_error_handler.h | 4800e8949e2a978c26559548cbcd64bce0f61b6d | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_BASE_MOCK_UNRECOVERABLE_ERROR_HANDLER_H_
#define COMPONENTS_SYNC_BASE_MOCK_UNRECOVERABLE_ERROR_HANDLER_H_
#include <string... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
c3f5ab73c1b845a61eac3a8751057a3bfb55a904 | f019ca1e4029b4077472087d1b677052583c0392 | /src/qt/addressbookpage.cpp | ef93d21f6849378ed62910b504299313982ebd82 | [
"MIT"
] | permissive | mirzaei-ce/core-civilbit | 9204dd9c4c3ce04f867105da4e7fa9a56af1f8ba | cab3e53bdc6b04a84f4bc48114efc07865be814a | refs/heads/master | 2021-04-26T05:03:32.282526 | 2017-10-16T15:39:44 | 2017-10-16T15:39:44 | 107,148,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,110 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/civilbit-config.h"
#endif
#include "addressbookpage.h"
#include "ui_addressbookp... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
e46e9d0e54866c058dd88728cdae69f2a877fad1 | 2dc9d0346eec290af664004910a3473d9dfd20e2 | /src/client2_app.cc | e07532593c9de5d765ae0c676421a30d9823abe4 | [] | no_license | alvas/jerryfish | a9412093c0e932a6c7f69cc5237409823310bec6 | c0866836f094e8072fd6cabda44807ec824b4113 | refs/heads/master | 2020-07-11T19:21:37.405515 | 2019-10-06T18:27:12 | 2019-10-06T18:27:12 | 204,625,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cc | /*
* client2_app.cpp
* Copyright (C) 2019 qingyun <qingyun.oracle@gmail.com>
*
* Distributed under terms of the MIT license.
*/
//#include "client2_app.h"
#include "client2.hpp"
#include <string>
using namespace JerryFish;
std::string fileName;
std::string fileName2("./test/test1.json");
int main(int argc, c... | [
"qingyun.oracle@gmail.com"
] | qingyun.oracle@gmail.com |
5523039c9d2f1153f2a12233ab4752e461335753 | 050c8a810d34fe125aecae582f9adfd0625356c6 | /gift/main.cpp | 0e1a07d7de843f4e01c4842f68c8d632692d62b2 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include <cstdio>
#define MOD 1000000007
using namespace std;
int dp[2000005];
int N,K;
void fix(int &val)
{
if(val>=MOD)val-=MOD;
if(val<0)val+=MOD;
}
int main()
{
scanf("%d%d",&N,&K);
dp[0]=1;
for(int i=1;i<=N;i++)
{
dp[i]=dp[i-1];
fix(dp[i]-=(i-K-1>=0 ? dp[i-K-1]:0));
... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
5acec7c16759584589029eb19882c49966dca126 | 022d99a325a0291fd123d54b714cd7d79d6a637c | /src/gameEngine/encapsulation/CheckBox.cpp | 4f0a8521ddd907c6dcec860eab0ea6f03b86be17 | [] | no_license | polBachelin/BomberVerse | 160bfe8648f1e75b80b36ca4eb6e336cb7dd75cb | 29ebe562751b7aeabde6c2d2481d655d9548e09b | refs/heads/master | 2023-09-02T13:09:11.339868 | 2021-06-21T08:32:05 | 2021-06-21T08:32:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | cpp | /*
** EPITECH PROJECT, 2021
** B-YEP-400-REN-4-1-indiestudio-pol.bachelin
** File description:
** CheckBox
*/
#include "CheckBox.hpp"
using namespace gameEngine::object;
CheckBox::CheckBox(const Vector<float> &size,
const Vector<float> &pos,
const encapsulation::BText &content... | [
"antoine.couacault@epitech.eu"
] | antoine.couacault@epitech.eu |
e63bf350aa2f960d536d531b15251c161cf2e6ef | 2124d0b0d00c3038924f5d2ad3fe14b35a1b8644 | /source/GamosCore/GamosScoring/Scorers/src/GmPSRBEPhenom_Carabe.cc | 4d917ee0095aa9606c17e7bec917a91493d1c0e0 | [] | no_license | arceciemat/GAMOS | 2f3059e8b0992e217aaf98b8591ef725ad654763 | 7db8bd6d1846733387b6cc946945f0821567662b | refs/heads/master | 2023-07-08T13:31:01.021905 | 2023-06-26T10:57:43 | 2023-06-26T10:57:43 | 21,818,258 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,907 | cc | #include "GmPSRBEPhenom_Carabe.hh"
#include "G4UnitsTable.hh"
#include "G4EmCalculator.hh"
#include "GamosCore/GamosScoring/Management/include/GmScoringVerbosity.hh"
//--------------------------------------------------------------------
GmPSRBEPhenom_Carabe::GmPSRBEPhenom_Carabe(G4String name)
:GmVPrimitiveScorer(na... | [
"pedro.arce@ciemat.es"
] | pedro.arce@ciemat.es |
c3523aaec6c97e5a804b45c31cb09dd0cdd4876c | 492f3f0bfa78c1d6cdf4a9ed4c85ba31fa1e58c7 | /src/bgkoctomap/cassie_node.cpp | a53502dcde6102bacebbfc32394f458d55859bfb | [] | no_license | DrZhouKarl/MultilayerMapping | dbdbf30acdbd77861ae35e8360c326ae87fa4a5d | a9b6d6010470f8062bfd2feee2bd785e8a19957c | refs/heads/master | 2023-04-13T14:04:17.662217 | 2021-04-27T01:20:44 | 2021-04-27T01:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,958 | cpp | #include <string>
#include <iostream>
#include <ros/ros.h>
#include "bgkoctomap.h"
#include "markerarray_pub.h"
#include "cassie_util.h"
int main(int argc, char **argv) {
ros::init(argc, argv, "cassie_node");
ros::NodeHandle nh("~");
int num_class = 2;
std::string static_frame("/odom");
std::strin... | [
"ganlu@umich.edu"
] | ganlu@umich.edu |
7f898271c7189e5f1bb9fa422ff3585d78c20288 | 4fc9d5d49b9d0c9a8aec35e02418230c4a439bf7 | /Include/Mathematics/GteIntrRay2Circle2.h | 47eb8b9223b1bed6c82ba09484c4753556b270e3 | [] | no_license | zhouxs1023/GTEngine | 07d8a299522a8b33b6960dca06a4ca6cb459622c | 16c1af003106798dd2d91800085818b40adfad1a | refs/heads/master | 2020-03-27T18:03:37.798691 | 2019-12-30T13:49:17 | 2019-12-30T13:49:17 | 146,895,580 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,951 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.0 (2016/06/19)
#pragma once
#include <Mathematics/GteR... | [
"zhouxs1023@163.com"
] | zhouxs1023@163.com |
6de42cd7d8622f2be398dda3044b91bab6f791c2 | 1ef5a27c9326065db448dd539810e900cae9460d | /Classes/Round034_03.cpp | 078b1c44c2ff5a9cbd6291bffbc10434453e9676 | [] | no_license | langtuandroid/SuperBaby | c4e3f7faaa82d40c8da0f518b71251a8ff466c2f | 957a5202ba7d1078bdcfb6b0cd6b73a966893efe | refs/heads/master | 2021-01-06T20:43:54.083245 | 2017-06-18T14:19:00 | 2017-06-18T14:19:00 | 99,549,410 | 0 | 1 | null | 2017-08-07T07:25:29 | 2017-08-07T07:25:29 | null | UTF-8 | C++ | false | false | 9,016 | cpp | //
// Round034_03.cpp
// superBaby
//
// Created by Administrator on 15/6/23.
//
//
#include "Round034_03.h"
#include "Player.h"
#include "StageScene.h"
#include "StageData.h"
#include "Actor.h"
#include "MyAudioEngine.h"
#include "RoundUINode.h"
// 庆祝延时
#define CELEBRATE_DELAY 5.0f
#define PAOPAO_... | [
"linyang24@sina.cn"
] | linyang24@sina.cn |
2d2be0c458ce0a3f385ebb9f185dc2f214e04eb9 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tat/src/v20201028/model/ModifyRegisterInstanceResponse.cpp | f8720dde9b4499d5efa3fced61caf3f149ccbc3c | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 3,079 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
84161ca83bc99b6f63c0efa2730e88b1f428628d | 05a0eec7be0ec8b3669ce418d3394357b0e694bf | /백준/dfs/boj_2331(dfs로안품..).cpp | b1baa93c78230cc43ad1adc1c868396c8f184a6b | [] | no_license | lee-younggwan/Algorithm | 1960bbc3af19d0ccabaa913485794917057d3087 | a1c4ccf9a298a3bda1c9e5a84220968b35633636 | refs/heads/master | 2020-06-28T07:05:33.938906 | 2019-10-04T13:53:39 | 2019-10-04T13:53:39 | 200,171,538 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 751 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <string>
#include <cmath>
#include <vector>
#include <queue>
using namespace std;
#define MAX 3000001
vector <int> graph[MAX];
int visit[MAX];
int A, P;
int main()
{
int i = 0;
int num;
int sum = 0;
scanf("%d %d"... | [
"mystery.younggwan@gmail.com"
] | mystery.younggwan@gmail.com |
50459d1b052ead1e4718e6e96fce6ec83d307ec7 | 9ceed10c13ad2ce666d74db72a040ed25476a18a | /ScriptEngine/ScriptEngine/lib/vm/parser/error/vm_error.h | 5c760bbf33e861a585d817a7c4d1a7d935ae5071 | [] | no_license | kawawa1989/ScriptEngine | b7a550e8e5d56d464861e0322ef449bf8d18cd5b | 3911b77c35ca5642cfa8175d73c0677af87157dc | refs/heads/master | 2022-02-18T15:14:41.395205 | 2019-09-11T13:30:00 | 2019-09-11T13:30:00 | 22,090,779 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,645 | h | #pragma once
#include "../../vm_define.h"
namespace Sencha {
namespace VM {
namespace Assembly {
using namespace std;
enum ERR_ID {
ERROR_C2065 , // "symbolName" : 定義されていない識別子です。
ERROR_C2059 , // 構文エラー : 's'
ERROR_C2143 , // 構文エラー : ']' が ';' の前にありません。
};
/*
* エラー列挙型の拡張機能
*/
class ERR_ID_EX{
public :
/*
* I... | [
"seiyakawagishi327519@yahoo.co.jp"
] | seiyakawagishi327519@yahoo.co.jp |
7bbbcf85493e6f10f07885edc0b87d4dff053c9b | 2c37c298a494ed37bff11b0b240371eaba6575b7 | /Interview/1/interview-10.01/main.cpp | c179eccfc7685c0f140db0054af9ebe47a8588eb | [] | 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 | 617 | cpp | class Solution {
public:
void merge(vector<int>& A, int m, vector<int>& B, int n) {
int len=A.size(), lenB=B.size(), lenA=len-lenB;
int i=lenA-1, j=lenB-1;
for(int k=len-1;k>=0;--k) {
if(i>=0 && j>=0) {
if(A[i]>B[j]) {
A[k] = A[i];
... | [
"442307054@qq.com"
] | 442307054@qq.com |
5e568acc178f816dc509f15250f00f6eb461f0ef | 550298aa2d16cd94549dcbc38314f84812d2db53 | /host/pixymon/clut.h | 3e212c9ba13d1787b97edfc0b829b89894c97af6 | [] | no_license | Neon22/pixy | 3280d4d7d9f0e548d25e26aae5f6f53d8aeb6e06 | b3d3ae75c3477ed91427aa969666a25a99c874ea | refs/heads/master | 2021-01-14T12:20:49.148046 | 2014-01-11T11:03:24 | 2014-01-11T11:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef CLUT_H
#define CLUT_H
#include "stdint.h"
#define PI 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068
class CLUT
{
public:
static void generateFromImgSample(uint32_t *data, int d_len, uint8_t* tempLut);
};
#endif // CLUT_H
| [
"rich@charmedlabs.com"
] | rich@charmedlabs.com |
467c2389ed05fdbaee56386731e7880baf145148 | 9a8e3137db2b3e29dceb170887144e991974c1f2 | /eXemplar's-collection/exemplar/Apps 'n Bots/Apps 'n Bots/OCR/FOCRSource/src/KFC_KTL/consts.cpp | 579f6cfe33898bab1136b561d81754b2bb59ec2f | [] | no_license | drewjbartlett/runescape-classic-dump | 07155b735cfb6bf7b7b727557d1dd0c6f8e0db0b | f90e3bcc77ffb7ea4a78f087951f1d4cb0f6ad8e | refs/heads/master | 2021-01-19T21:32:45.000029 | 2015-09-05T22:36:22 | 2015-09-05T22:36:22 | 88,663,647 | 1 | 0 | null | 2017-04-18T19:40:23 | 2017-04-18T19:40:23 | null | UTF-8 | C++ | false | false | 47 | cpp | #include "kfc_ktl_pch.h"
#include "consts.h"
| [
"tom@tom-fitzhenry.me.uk"
] | tom@tom-fitzhenry.me.uk |
a8cd640a08b3859c7c4e049f34667a801443e086 | 7708c94fbedf7abe362823904828d306d07f1bc0 | /task_junior_cpp/Primes.cpp | 689d284a24f491a951f5afb81e834455a0826219 | [] | no_license | vladsaukhin/task_junior_cpp | 4dd0516730168119b6ff5975b27b4dfe9b20ad14 | 0dfb34cfdbe3bad605f3cc846093119fe20784b5 | refs/heads/master | 2020-03-26T19:52:41.002402 | 2018-08-29T16:56:59 | 2018-08-29T16:56:59 | 145,291,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cpp | #include "Primes.h"
Primes::Primes()
:leftRange(0), rightRange(0)
{}
Primes::Primes(int64_t a, int64_t b)
: leftRange(a), rightRange(b)
{}
/*Primes::Primes(const Primes & other){
leftRange = other.getLeftRange();
rightRange = other.getRightRange();
}
Primes & Primes::operator=(const Primes & other)
{
if (this... | [
"40900468+vladsaukhin@users.noreply.github.com"
] | 40900468+vladsaukhin@users.noreply.github.com |
22c562054c3392db3739c136f2d4c713cd9ba3b6 | 69416d808cdb41609874104401f25b084193eab8 | /CLion/P2878.cpp | dbc385f763c343a271ae6c52fad34bd7fcc7b89f | [] | no_license | CubeDr/Bakejoon | 50196f5fcf063c651cebfc9a4f019aada474fa2d | 127f12196517ba834eb1b5bbe742625375a595d1 | refs/heads/master | 2020-03-29T11:43:41.497063 | 2019-10-20T06:03:39 | 2019-10-20T06:03:39 | 149,867,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | cpp | #include <iostream>
#include <queue>
using namespace std;
typedef unsigned long long ull;
struct Want {
int want; // 원하는 사탕의 개수
int count; // 원하는 친구의 수
bool operator<(const Want& o) const {
return want < o.want;
}
};
int M, N;
int main() {
priority_queue<Want> wants;
cin >> M >> N;... | [
"spaceship00@naver.com"
] | spaceship00@naver.com |
8829703e26b001e42d85941e585ac1ab26f36be8 | dca0a4f625e7df6ec4da5c888cf356d357b2d061 | /Libs/PylonCamera/include/pylon/PylonDeviceProxy.h | 505a5373289a36e0faea75c1d02733089c51c30b | [] | no_license | radtek/Trunk | 60de74b0a6b0f8f78d046a2d44ede802173003a7 | 9b33801ee65d1e1363f5f692348d9dd709638d96 | refs/heads/master | 2022-01-19T15:00:09.587661 | 2019-07-15T08:54:23 | 2019-07-15T08:54:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,064 | h | //-----------------------------------------------------------------------------
// Basler pylon SDK
// Copyright (c) 2007-2019 Basler AG
// http://www.baslerweb.com
// Author: AH
//-----------------------------------------------------------------------------
/*!
\file
\brief Low Level API: Pylon generic device int... | [
"329895720@qq.comm"
] | 329895720@qq.comm |
a86cae430fe8a69704a18550abd8165fd884cb48 | 372d9af1222320fdee7412446b55efb73aac83cf | /Managed/Src/detail/Policies/ReceiverFactory.cpp | 178d7afac38facdaf50ba46bc6ee84371c747181 | [
"MIT"
] | permissive | JunExplore/IPC | dc81941a4f9806b279276c030d78f9989679ce3c | b04a4333b936c8aa18b99ca85390690054face85 | refs/heads/master | 2023-07-09T20:27:41.619083 | 2017-07-28T18:14:30 | 2017-07-28T18:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | #include "IPC/Managed/detail/Policies/ReceiverFactory.h"
#include "Exception.h"
#include "detail/ThreadDetector.h"
#include "IPC/Managed/detail/NativeObject.h"
#include <msclr/gcroot.h>
#include <msclr/auto_handle.h>
namespace IPC
{
namespace Managed
{
namespace detail
{
namespace Polici... | [
"aivazyan@microsoft.com"
] | aivazyan@microsoft.com |
8167ed1693db1794861b8518688938f8b37a6d4c | 77c5f0bfa074bb1d707de148e79d490db28d604d | /test/include/asserts.h | a186fd93d9556efc5ddb534cc05928e2ccdcbe48 | [] | no_license | ageev-aleksey/abstract_positions_fort | 08d912c2b2edcfda67bf9f3b1142b4f2deb0e151 | e0f1ac17e0a87a097457ccbb4d184ccc6e6960e1 | refs/heads/master | 2022-11-09T17:53:29.980582 | 2020-07-03T19:18:33 | 2020-07-03T19:29:29 | 276,636,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | h | #include <iostream>
#include <unordered_set>
template<typename T>
std::ostream& operator<<(std::ostream &stream, const std::unordered_set<T> set) {
stream << "std::unordered_set{ ";
for(const T &el : set) {
stream << el << " ";
}
stream << "}\n";
return stream;
}
template <typename T>
bool ... | [
"ageevav97@gmail.com"
] | ageevav97@gmail.com |
938e8ba52df7a7ecaf0718caf5da0a558bc1cd26 | 2f6d39c2daf70ebaae90e72ca503f8b275d3572a | /opt/uses-names/UsesNames.h | b12a154ef1fa4b9bb28345fd7e894edc74e95bb8 | [
"MIT"
] | permissive | facebook/redex | 5a39c5b733e729ecb52101dd3f941a63f9fa32f0 | 36c6607be749ba2009210aae404d68cd57e747eb | refs/heads/main | 2023-09-01T18:21:21.839608 | 2023-09-01T02:01:59 | 2023-09-01T02:01:59 | 54,664,770 | 6,459 | 775 | MIT | 2023-08-25T00:06:04 | 2016-03-24T18:26:35 | C++ | UTF-8 | C++ | false | false | 1,521 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "Pass.h"
class ProcessUsesNamesAnnoPass : public Pass {
public:
struct Metrics {
int32_t used_clas... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d17a55f9f451a7b97f35de06f1db34ec8b53fe18 | 1ead07230b0726719ad46048aafe3d87ec7f3777 | /str.cpp | 4e3831c423dac22ca70cbf6ec7084f14189b2926 | [] | no_license | bpskong/lab | f8d369ec49faea28f286a2d7e52f2399f94d8d94 | 40bc02a1cba4a082c95d9754a0b528928de05adf | refs/heads/master | 2021-01-18T18:35:10.371248 | 2013-08-24T09:42:24 | 2013-08-24T09:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include <str.h>
const unsigned char g_table_upcase[256] =
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63... | [
"bpskong@gmail.com"
] | bpskong@gmail.com |
b6408d0542544073ab6eedf2c844b0c6517c8320 | e1ecd3146b56dcd9b4ffaf1d343ef64e8c42dc64 | /Baekjoon/baek_14503_로봇청소기/baek_14503_로봇청소기/main.cpp | 785bdfbd5ddb05bc95f5b668ac0bd943cdeb9ad6 | [] | no_license | wjddlsy/Algorithm | 7bbeca6b5d21867355c88de8b4218bcfe8eeea75 | 385247c63337cae1cf3d9adbf8be38d6f62f2945 | refs/heads/master | 2022-12-04T19:35:48.763646 | 2020-08-23T08:14:29 | 2020-08-23T08:14:29 | 198,079,854 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | cpp | //
// main.cpp
// baek_14503_로봇청소기
//
// Created by 윤정인 on 2018. 9. 24..
// Copyright © 2018년 윤정인. All rights reserved.
//
#include <iostream>
using namespace std;
int dx[4]={0, -1, 0, 1}, dy[4]={-1,0,1,0};
int initd[4] = {0, 3, 2, 1};
int N, M;
int board[50][50];
int answer=0;
void dfs(int y, int x, int... | [
"asdff2002@gmail.com"
] | asdff2002@gmail.com |
0164cd7bb4e1f1a777f2e466a33b4a8a6d601fbb | fc33ec4fd149843556442ae420547a294509e411 | /cpp/POM3/Object.cpp | 18803507a57c5ad89af0e121991f01a694d3ea38 | [] | no_license | majunfu/essential | 317179e5d39bcf1327c29b769933326367456035 | d1f4de29c3188a7864c2bc01c09b09d182f7426a | refs/heads/master | 2021-01-14T08:54:41.919316 | 2015-06-02T21:39:19 | 2015-06-02T21:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include "Object.h"
using namespace std;
using namespace cv;
Object::Object () {
;
}
void Object::addViews (std::vector<Mat> views) {
for ( size_t i = 0; i < views.size(); ++i ) {
views_.push_back (views[i]);
}
}
void Object::addFace (Face face) {
for ( size_t i = 0; i < face.views_.size(); ... | [
"gmanfred@laas.fr"
] | gmanfred@laas.fr |
9532b9e1003701c542e8b2a928b93911ca057b58 | fcc0fdd505b343150de2040bf8458361447c33be | /src/uint256.h | 578c5046c87e2f870e60548b97c0014fe909a379 | [
"MIT"
] | permissive | oakey22/0uant0n1um | eae47a6a64b2b8b9cb331b02b8c7a38bd14295e9 | 8c41274f2dbb01524e060e4865a24bc4a1d6d030 | refs/heads/master | 2021-09-02T09:44:46.940817 | 2018-01-01T15:36:19 | 2018-01-01T15:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,622 | h | // Copyright (c) 2009-2016 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef Quantonium_UINT256_H
#define Quantonium_UINT256_H
#include <string>
#incl... | [
"quantum@quantum.com"
] | quantum@quantum.com |
e6e67eff52be0ac8c59752f001ffbcc43eea506b | 80d2f7deb79e7ebace8ec3393bb6d41d01cb038b | /binkd/ftnq.cpp | 075d7b45741d9125d4bef5c7fe532e46e68ab815 | [] | no_license | kosfango/fips | 6558729e2ab17a49c37bf171302a7dec6fcff98c | a8191bbd3c7c72f0ff6e82e7c4ac5b507d01d9e6 | refs/heads/master | 2021-01-17T16:09:32.406267 | 2016-08-10T23:02:42 | 2016-08-10T23:02:42 | 63,811,332 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,223 | cpp |
#include "stdafx.h"
#include <sys/stat.h>
#include "readcfg.h"
#include "readdir.h"
#include "ftnq.h"
const char prio[] = "IiCcDdOoFfHh";
static const char flo_flvrs[] = "icdfhICDFH";
static const char out_flvrs[] = "icdohICDOH";
static FTNQ *q_add_dir (FTNQ *q, char *dir, FTN_ADDR *fa1);
FTNQ *q_add_file (FTNQ *q, ... | [
"admin@5034.ru"
] | admin@5034.ru |
9e271c637f77eb7a809fa26d68133b747151c960 | fb8b16f9588b7ea1fb03c077caf777086f3bffaa | /c++/PTA——画圆的游戏.cpp | 7ad33b77be89b27c182a3f81f95cc22b2a06f0a1 | [] | no_license | Hanmengnan/AlgorithmPractice | 3d5bc25bfefd103bf3d893a2ab67b18b964e6639 | 848377d2f760d67a5f256636b41be4a02a363877 | refs/heads/master | 2021-07-09T17:23:01.386025 | 2020-11-02T14:38:48 | 2020-11-02T14:38:48 | 196,815,543 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main()
{
int x, y, r;
while (cin >> x >> y >> r)
{
if (x < 2 * r || y < 2 * r)
cout << "It is boring!" << endl;
else
cout << "It is so easy!" << endl;
}
return 0;
} | [
"1448189829@qq.com"
] | 1448189829@qq.com |
4c1e928f973f10ec0dbfb4e196c1f1fadf1a6961 | 930bef05488f9be429e58f0279111f9e61fb87dd | /key_with_timer/key_with_timer.ino | 9fc50550f57f74fbde13332e3ca861bb420ee90a | [] | no_license | mywdka/Arduino_Examples | 074826193d72dbbefe77fe365e572a0e649c23f4 | 7a5ed280d26a8608a9e6aed51a1b647755b2932c | refs/heads/master | 2020-06-04T23:14:47.979668 | 2015-04-01T10:52:21 | 2015-04-01T10:52:21 | 33,242,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | ino | #define LED1 11
#define LED2 12
#define BUTTON 2
#define DELAY 1000
int ledState = LOW;
unsigned long previousMillis = 0;
void setup() {
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(BUTTON, INPUT);
}
void loop()
{
int buttonState;
unsigned long currentMillis = millis();
buttonState =... | [
"simon@simbits.nl"
] | simon@simbits.nl |
19b2f853c3890a3eb12b352f5154b456b17ff8b6 | 9bd5c68596fa09e228c51c98fbcfc44887eccb8b | /src/proto/Forward.h | 165b060786c95acdcaa2a034657b222151f396b2 | [
"Zlib"
] | permissive | JWhiteCat/mud | 8467ae2170cf18cefc032e997490d51f2bb67c2a | dfe00b464f7819f308c683c90fc5ecb1101c0dd1 | refs/heads/master | 2020-03-26T06:21:37.294909 | 2018-08-13T00:32:32 | 2018-08-13T00:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h |
#pragma once
#include <infra/Config.h>
#include <infra/Forward.h>
#include <obj/Forward.h>
#include <refl/Forward.h>
#ifndef MUD_PROTO_EXPORT
#define MUD_PROTO_EXPORT MUD_IMPORT
#endif
namespace mud {
class Prototype;
class Complex;
}
| [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
6e9fcca85e18a5e990326851acdaac5c8afda36f | b955899dd15f36876783c15ec62f64d6f67f0f1f | /overlay.cpp | 5badde61b2d6b2d47cbd4c5a809ca5267e70ef66 | [] | no_license | mesozoicreserve/Game | 1d36e7618e66f4f4bc2f83d9bb62dd499570dfbe | 076210a606315d6b6093f879240b93e44e6922a1 | refs/heads/master | 2016-09-10T18:57:15.366674 | 2015-07-30T04:52:10 | 2015-07-30T04:52:10 | 39,478,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | cpp | #include "overlay.h"
SDL_Rect Overlay::getPosition()
{
return position;
}
Overlay::Overlay()
{
//undefined
position.x=0;
position.y=0;
position.w=0;
position.h=0;
name="undefined";
shown=false;
}
void Overlay::show()
{
shown=true;
}
void Overlay::hide()
{
shown= false;
}
Ove... | [
"christophermichaelprior@gmail.com"
] | christophermichaelprior@gmail.com |
955d8263189a01e171d6e598bf4a35d11120b5a1 | 80dc9e61db1a903c6a8240a68bbf5166136f6f2b | /src/type-system/factories/constants/IntConstantFactory.cpp | 06edf61c44381d83a16b10eb5c7200718a1354ef | [
"MIT"
] | permissive | tauonteilchen/entity-system | 6d024b62c9811e011605ee677be73d13d1609df8 | 351f9dc39ee38ec3f51a9c56651d3861f949b76c | refs/heads/master | 2020-04-26T09:51:39.482476 | 2019-02-16T21:57:42 | 2019-02-16T21:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | // Inexor entity system
// (c)2018 Inexor
#include "IntConstantFactory.hpp"
using namespace inexor::entity_system;
using namespace std;
namespace inexor {
namespace entity_system {
namespace type_system {
IntConstantFactory::IntConstantFactory(
shared_ptr<IntConstantEntityTypeProvider> entity_type_provider,
sh... | [
"hanack@nooblounge.net"
] | hanack@nooblounge.net |
2c9df6c9606338d3331b79d7ae54c8ba13dc9246 | eae233056af494f0738d6516d5d76c6489dbe12c | /BluzGatewaySwitch.ino | b5156badf4632564ede6e3a71693707e9609690f | [] | no_license | dleffo/Bluz-Lifx-Switch | 45f99598830a64abb4035b413e1c51aea5fa669d | 6342ed776d08442e6bd2ded4279d05b08bd2c30e | refs/heads/master | 2020-06-13T19:05:27.908860 | 2016-12-05T11:41:12 | 2016-12-05T11:41:12 | 75,565,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,073 | ino | // This #include statement was automatically added by the Particle IDE.
#include "MQTT/MQTT.h"
// This #include statement was automatically added by the Particle IDE.
#include "bluz_gateway/bluz_gateway.h"
#define POLL_CONNECTIONS_INTERVAL 30000
SYSTEM_MODE(AUTOMATIC);
bluz_gateway gateway;
void callback(char* topic... | [
"github@leffo.com"
] | github@leffo.com |
db9adfd0a309ac03b25b5a842594c0a158ca9f3a | cdd335e5037c24804a827117dea28f0a38563cf8 | /GameManager.h | 1410399b379e3b71a92a399c39d4bb7596e2c7d8 | [] | no_license | Hybromech/AI-for-Games-Wildlife-Simulator | f0afbd4d4971df3bedd7da90ac18699c77ff6e58 | 2c2fbc3832384ce550a5d54da17de5f161b1a15f | refs/heads/master | 2023-04-22T15:26:59.650828 | 2021-05-13T07:47:31 | 2021-05-13T07:47:31 | 351,982,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | h | #pragma once
#include<Vector>
class Agent;
///Manages the game.
/**
Provides methods for the agents.
*/
class GameManager
{
public :
//std::vector<Agent*> agents;
std::vector<Agent*> agents;
//!Returns true if another agent is within a certain distance.
bool DetectAgent(Agent*);
GameManager(std::vector<Ag... | [
"roboticphysics@gmail.com"
] | roboticphysics@gmail.com |
6ea68d619889cd93bebd1d46431378b6c3f6e7b7 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /MuonSpectrometer/MuonValidation/MuonDQA/MuonRawDataMonitoring/CscRawDataMonitoring/src/CscPrdValMonAlg.cxx | 30e457638e64aef8de7d4cb380b4e7fb561c9f75 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,917 | cxx | /*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
/* NAME : CscPrdValMonAlg.cxx
* PACKAGE : MuonRawDataMonitoring/CscRawDataMonitoring
* PURPOSE : CSC PrepRawData (PRD) monitoring
* AUTHOR : Ken ... | [
"chara.kitsaki@cern.ch"
] | chara.kitsaki@cern.ch |
e3841e4cd321b01ea84fe46d0ad117514992aa22 | 63a76e8ae81d1d97211df92d00805a280f463897 | /engine/enginecode/src/independent/platforms/openGL/OpenGLVertexArray.cpp | a84756791e90285dbbc30cf5cce6e9d8619bab5e | [] | no_license | ahmed-mahraf/NG-Game-Engine | 2c32076de41d37082c22fc45f509afca36334f32 | b9d503134fd4af2440833df81efbe0bcf5d7f744 | refs/heads/main | 2023-01-31T08:54:00.417968 | 2020-12-17T23:47:39 | 2020-12-17T23:47:39 | 321,818,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,372 | cpp | /** @file OpenGLVertexArray.cpp
* initialise and created vertex array for opengl functions
*/
#include "engine_pch.h"
#include "platforms/openGL/OpenGLVertexArray.h"
#include <glad/glad.h>
namespace Engine
{
//<!for different shader data types, return which GL data type
static GLenum ShaderDataTypeToOpenGLBaseType(... | [
"ahmed.mahraf@outlook.com"
] | ahmed.mahraf@outlook.com |
bf105cbb9000f6401dd8857f402b31a50df21e0a | 6628f7069d202b0bb16c201c96c6946092a70082 | /src/Shell.cpp | 00fe7a146e7fe9c6923fbabf9da2e8f32c80dc42 | [
"Apache-2.0"
] | permissive | rbrich/termic | 3300b4cae8abc5831d442e19fe227e8ccc8facf0 | 4d80f2f5b25404fffe7e181bd75b506bcc61458f | refs/heads/master | 2023-08-25T05:53:30.990664 | 2021-10-19T22:04:31 | 2021-10-19T22:04:31 | 411,199,315 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | // Shell.cpp created on 2018-07-28
// This file is part of Termic project <https://github.com/rbrich/termic>
// Copyright 2018–2021 Radek Brich
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
#include "Shell.h"
#include "Terminal.h"
#include <xci/core/log.h>
#include <unistd.h>
#include <poll.h>
#... | [
"radek.brich@devl.cz"
] | radek.brich@devl.cz |
a39fb9bd9b4cfe529d6060f752fc7d533f494286 | a9ee8e069318bf53bfbeae625370dab4f9ab6c8a | /SimpleFits/src/DiTauConstrainedFitter.cc | 5c65cdff65b1e1315d869c7979508283d093db82 | [] | no_license | cherepan/SimpleFitsStandalone | 344e50cdd98c37c939538ba4e6bd88f75b155c9d | 37fc0251a6b3c616bfce4ca47394bd96cda74cf0 | refs/heads/master | 2021-09-09T00:12:44.520439 | 2018-03-12T20:49:47 | 2018-03-12T20:49:47 | 124,949,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,813 | cc | #include "TauPolSoftware/SimpleFits/interface/DiTauConstrainedFitter.h"
#include "TauPolSoftware/SimpleFits/interface/PDGInfo.h"
#include "TauPolSoftware/SimpleFits/interface/Logger.h"
#include <iostream>
double DiTauConstrainedFitter::MassConstraint_ = 91.5;
DiTauConstrainedFitter::DiTauConstrainedFitter(LorentzVect... | [
"vcherepa@sbgui6.in2p3.fr"
] | vcherepa@sbgui6.in2p3.fr |
fd73896b8542fd41079229ea248085150ec70233 | 5cce90d8a8c739da50997ae31980407f3b79c60c | /code/userprog/memorymanager.cc | af7319259b85494091f9611138c43eeb55598cd0 | [] | no_license | ronel129/code | da44af8cc35317cf5bedcf99dfc90b348ed73b43 | f62c37d795aed720dfbb743ff4c9f89abc3cff46 | refs/heads/master | 2016-08-04T21:49:43.980362 | 2013-04-09T01:46:59 | 2013-04-09T01:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | cc | // memorymanager.cc
// A memory manager helper class. Used by address space to make nachos use contigous virtual memory.
#include "memorymanager.h"
#include "machine.h"
//----------------------------------------------------------------------
// MemoryManager::MemoryManager
// Initialize a memory manager with a bitm... | [
"ronel129@gmail.com"
] | ronel129@gmail.com |
046222b9243dd8eb8970b224c024b36d4eb8d6ca | ce9cdf053f77b2192b75d1912b8b227216c51498 | /pynq_chainer/HLS/src/include_hls/hls/dsp/utils/hls_cordic.h | 5f9c92835b22d25d9c6aedd258020e4314c81af0 | [
"MIT"
] | permissive | tkat0/pynq-chainer | bf0fcf2bc4261ec68d1f7239a584794499017ee8 | 30ffed5d08cd37207841623fcdaae4328d6e26eb | refs/heads/master | 2020-05-27T20:49:25.152182 | 2017-07-09T06:27:59 | 2017-07-09T06:27:59 | 82,570,098 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,457 | h | /*****************************************************************************
*
* Author: Xilinx, Inc.
*
* This text contains proprietary, confidential information of
* Xilinx, Inc. , is distributed by under license from Xilinx,
* Inc., and may be used, copied and/or disclosed only pursuant to
*... | [
"tkato.dev@gmail.com"
] | tkato.dev@gmail.com |
470b6ccab90ae1e2dfaab6b1e6b94d2872efb538 | 45cff8629bffd5cd15a1015326a2e7daf19655c3 | /2019/s2/pssd/week02practice/AlternateColors.hpp | edb328f145b87a2d6984477a5de8bf5e56c13791 | [] | no_license | yaoReadingCode/University-SVN | cab1cf42135345a0743a64bf771384c392fc8ffe | dacbabaab68810a91f573ba4f25eae63c8e68769 | refs/heads/master | 2023-03-27T06:58:58.592594 | 2021-03-31T10:52:30 | 2021-03-31T10:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,991 | hpp | #include <iostream>
#include <string>
using namespace std;
class AlternateColors
{
public:
string getColor(long r, long g, long b, long k)
{
//Initialize
string color = "NONE";
long inc = 0;
long runTime = (r + g + b);
int none = 0;
long min = r;
int ... | [
"80184825+Liam-Stevens@users.noreply.github.com"
] | 80184825+Liam-Stevens@users.noreply.github.com |
04da1f5044e5943d7f6549d9751bb1b870c27973 | f20263e46c5b79ecd27a68f57c888e73a6093585 | /Actor/Characters/Enemy/TutorialEnemy/State/StateMng_TutorialEnemy.cpp | ab2161d1d96e25d07031bb1adba28aa32ddfab59 | [
"MIT"
] | permissive | Bornsoul/Revenger_JoyContinue | 63cd4365a725ce50b5c9e0d41c00e3b1eb0ff6da | 599716970ca87a493bf3a959b36de0b330b318f1 | refs/heads/master | 2020-06-13T09:50:47.245820 | 2019-09-16T05:01:50 | 2019-09-16T05:01:50 | 194,618,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "StateMng_TutorialEnemy.h"
UStateMng_TutorialEnemy::UStateMng_TutorialEnemy()
{
}
UStateMng_TutorialEnemy::~UStateMng_TutorialEnemy()
{
}
void UStateMng_TutorialEnemy::Init(class AGameCharacter* pRoot)
{
Super::Init(pRoot);
... | [
"dlwldks95@gmail.com"
] | dlwldks95@gmail.com |
b4746b9028f7e0a1d842c93d561ee6c2684fa145 | c1e982f4bbc6258dbd1a327b64ae8cf8a9e0b95c | /gui/bw/bindingwizard.h | 7db10b39afc8dcaa39ab5b7f71f7982150b55b6a | [] | no_license | dusktreader/configurator | 4d813ff864d2382ca1b0aae71685e6f8d988c678 | 90c79b07004f90db26c2a0d3caab59975be0de65 | refs/heads/master | 2021-04-09T16:52:17.042392 | 2012-08-30T04:37:25 | 2012-08-30T04:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | #ifndef BINDINGWIZARD_H
#define BINDINGWIZARD_H
#include <QWizard>
#include <QWizardPage>
#include <bindingwizardintropage.h>
#include <bindingwizardtypeselectpage.h>
#include <bindingwizarddirectpage.h>
#include <bindingwizardfinitepage.h>
#include <bindingwizardnumericalpage.h>
namespace Ui {
class BindingWizard;
... | [
"tucker.beck@gmail.com"
] | tucker.beck@gmail.com |
4b2ab3fa499d7ea0016c9635103b7f9b9bd72c73 | 4e5e1fdff04cd9c642e32c01769aa01fa2d15476 | /4153/main.cpp | d282083b4dade9b9cf06cd7c19393deb900d5c00 | [] | no_license | WashSwang/SJTUOJ | 2ef775270f2600bbfdc32ae17d8a25d37c4fe31b | 33b15363a014304c79f62596e4511f65482b8ff1 | refs/heads/master | 2020-03-29T11:42:37.640147 | 2018-11-17T08:52:07 | 2018-11-17T08:52:07 | 149,866,648 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int l,r,m,n,k,a[200000],mid,ans;
bool test(int x){
int now=a[0],len=1;
if (k==1){
for (int i=1;i<n;++i)
if (a[i]-now>=x) {
now=a[i];
len++;
if (len>=m) return true;
}
... | [
"1229026605@qq.com"
] | 1229026605@qq.com |
504cc577e263c6fe67d1786e6f64294e8347ac11 | 93a2743d1a0ed709ae75f2736617333c9563e2a3 | /src/cmp/BusIc.cpp | 19ba3fb7573d0716b9bf61031ce4e613452b4ec2 | [
"Apache-2.0"
] | permissive | nikitainikitin/cmpexplore | cd6d29727465505ae35decf43e30b2d6594a978a | c39278daa4a65d8cdc1dacb88c0b631f20180dbb | refs/heads/master | 2021-01-16T23:09:50.808346 | 2014-03-13T22:50:45 | 2014-03-13T22:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,069 | cpp | // ----------------------------------------------------------------------
// Copyright 2011-2012 Nikita Nikitin <nikita.i.nikitin@gmail.com>
//
// 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 L... | [
"nikita.i.nikitin@gmail.com"
] | nikita.i.nikitin@gmail.com |
c3be96757b902fffb90cc8a0d9b326d8a8e54ba0 | 216e6d787fd144f965dc59716f36293335be8882 | /real/real/real.cpp | e66b9ae5f850a67a96cbb3c14ef3fbdb6488f7e2 | [] | no_license | youngc00/realSinsamo | 43310a3692569c3c53c48c36eb49192114fb188f | bd648f86b9c52256e65b3834819b623e914f7279 | refs/heads/master | 2021-01-10T01:09:08.118964 | 2016-03-24T11:49:59 | 2016-03-24T11:49:59 | 54,635,189 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,539 | cpp | // real.cpp : 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include "real.h"
#define ASDF dfdssdf
#define MAX_LOADSTRING 100
#define pi sdf
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입니다.
TCHAR szTitle[MAX_LOADSTRING]; // 제목 표시줄 텍스트입니다.
TCHAR szWindowClass[MAX_LOADSTRING]; // 기본 창 클래스 이름입니다.
// 이 코드 모듈에 들어 ... | [
"youngc00@naver.com"
] | youngc00@naver.com |
66dd206a2fac3589a0db62457ef8ed1e01ad5527 | 6e0be4fdfd8f074ec752c2f274eb47bfc64f226d | /platformio/test/freertos_logging/src/freertos_logging.ino | 13db84ca9fbce278ee2315d4cf43209fb94ff1ae | [] | no_license | LynnL4/rmap | 28581bfe5df16acd076368b8a5a59e2202214a74 | 19c6a515fe7ab4e8d3edd23d2cc03581415115b5 | refs/heads/master | 2022-07-08T22:58:18.359930 | 2020-05-16T09:28:53 | 2020-05-16T09:28:53 | 265,510,561 | 1 | 0 | null | 2020-05-20T09:09:09 | 2020-05-20T09:09:08 | null | UTF-8 | C++ | false | false | 1,823 | ino | /****************************************************************************
*
* Copyright (c) 2020, Paolo Patruno (p.patruno@iperbole.bologna.it)
*
***************************************************************************/
#ifdef ARDUINO_ARCH_AVR
#include <ArduinoSTL.h>
#include <Arduino_FreeRTOS.h>
#else
#i... | [
"p.patruno@iperbole.bologna.it"
] | p.patruno@iperbole.bologna.it |
f6745296e1d161df846c419c05971f62eb19e395 | 2aea549a86cb48d545f1d1273dc770e9ee5cc845 | /Engine/Code/Engine/RHI/ShaderProgram.cpp | 74780a1f1e16bc10b47d6dfb2f4a79a7ccbc1ef0 | [] | no_license | soxymo/EphanovBox | 00dbda3a38f46138fc4ec6471854acf883fb144c | 473c7f01408959f7b9b2981412a019389a790050 | refs/heads/master | 2021-01-22T04:54:20.395695 | 2017-03-01T01:52:49 | 2017-03-01T01:52:49 | 81,597,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,114 | cpp | #include "Engine/RHI/ShaderProgram.hpp"
#include "Engine/RHI/RHIDevice.hpp"
#include "Engine/Math/Vertex3.hpp"
#include "Engine/Core/ErrorWarningAssert.hpp"
#include <d3dcompiler.h>
#pragma comment( lib, "d3dcompiler.lib" )
#define DX_SAFE_RELEASE(dx_resource) if ((dx_resource) != nullptr) { dx_resource->Release();... | [
"soxymo@aol.com"
] | soxymo@aol.com |
e2c19ea65de3e825bb39e88611df47433003193b | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /code/Configurator/Configurator.cpp | 435ca6d7e9393bf3ef3b35465c1fc41bbcb0c586 | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | GB18030 | C++ | false | false | 63,133 | cpp |
// Configurator.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "Configurator.h"
#include "MainFrm.h"
#include "ConfiguratorDoc.h"
#include "ConfiguratorView.h"
// Added by wangdong begin
#include "Splash.h" /... | [
"wangdong412@163.com"
] | wangdong412@163.com |
a6e848d20e67f7aa4fe99de4435f9a00ede9025d | 6d0ab0f05b0732549d8e13c41e52853001563d41 | /GLMain.hpp | 7d6545d0b655ebb8e586dd15fbf74eceba5092e0 | [
"MIT"
] | permissive | Philipp-M/MandelbrotCL | 7101149c6a5036d232172a677cd9416cb6b2cf5d | 5c02065b72eb46292017be36757c9e088652f981 | refs/heads/master | 2016-08-12T14:48:25.914996 | 2016-01-03T01:10:53 | 2016-01-03T01:10:53 | 48,928,933 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | hpp | #pragma once
#include "ShaderProgram.hpp"
#include "OCLRenderer.hpp"
#include <SDL2/SDL.h>
#include <memory>
class GLMain
{
private:
std::shared_ptr<ShaderProgram> shaderProgram;
std::shared_ptr<OCLRenderer> oclRenderer;
GLuint vao;
GLuint vbo;
/**
* initializes a basic opengl window and the opencl renderer
... | [
"philipp.mildenberger@student.uibk.ac.at"
] | philipp.mildenberger@student.uibk.ac.at |
a21ddef24f1ff1420bb657bce94238726a6565a7 | 7e4c23c78d3bf5db111cb9771ca6e7dedaceb0b8 | /Source/Compiler/InstanceLoaders/GuiInstanceLoader_Tab.cpp | 6d8944b48d91cb9db7d118d4110d46278178391b | [
"MS-PL"
] | permissive | qqaaqqaa123456/GacUI | 582f5353b5e6e9fb15b45a30d7f95187d7dfbe55 | e2a0703d1dd95ea2f611a8693fb4f27752fde9f0 | refs/heads/master | 2021-01-11T21:37:42.245601 | 2017-01-10T21:34:05 | 2017-01-10T21:34:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,111 | cpp | #include "GuiInstanceLoader_TemplateControl.h"
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace vl
{
namespace presentation
{
namespace instance_loaders
{
/***********************************************************************
GuiTabInstanceLoader
********************************************************************... | [
"vczh@163.com"
] | vczh@163.com |
2371c92a7c5ce4961f5c628f2d9662a24d339777 | 1ca041e8cdb3065c61e9c51e6fa66d2851ebe35d | /2D Local Multiplayer Game/Engine/Scene.cpp | 00801e45de8a5b2e00c158496b24b688a65b9a70 | [] | no_license | Zeploc/2D-Local-Multiplayer-Game | 995e2df94c08520d8a2e2552050cb30aafe1ff7b | 3fd1219397e75d29139022c11e1c33524581926f | refs/heads/master | 2021-08-06T17:14:59.296221 | 2018-10-25T05:03:38 | 2018-10-25T05:03:38 | 141,252,466 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,967 | cpp | //
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2018 Media Design School
//
// File Name : Scene.cpp
// Description : main implementation for Scene
// Author : Alex Coultas
// Mail : alex.cou7417@mediadesign.school.nz
//
// L... | [
"alexcoultasis@gmail.com"
] | alexcoultasis@gmail.com |
7757f08902bb6a323d404291de89064dba1b0a2a | c762b42f95987426c223b9d292b264ebad2aad98 | /Zip/Zipper.cpp | 275543319fcfdb997c407efe83ea077f0d1a04c9 | [] | no_license | jhbaessi/BDPlayground | 9cd09d7b38bbea5ab397e8831e40cfd7def2c7e1 | 4f8b3266dc06faa2164e62affb676a2f33d3675c | refs/heads/master | 2020-04-29T01:18:18.059865 | 2019-03-15T01:38:30 | 2019-03-15T01:38:53 | 175,725,651 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,783 | cpp | #include "stdafx.h"
#include "Zipper.h"
#include <windows.h>
#include <direct.h>
#include <io.h>
#include <fstream>
using namespace std;
#define DIRECTORY_SEPARATOR '\\'
#define READ_BUFFER_SIZE (1024)
bool Zipper::Zip(const string &source_path, const string &zip_file_path, const string &password/* = string()... | [
"jhbaessi@neurophet.com"
] | jhbaessi@neurophet.com |
381d3155fe2fa5e42d085f42f954abc93603590f | ae3ee095b30d1ec008bca950baf556933a175c38 | /main/trajectories/trajectories.h | db98a165916ef43856b153bd13b919efd0d096c0 | [] | no_license | evilfer/trajectories_qt | e7fd2e8939cd43c2681ef48acef54e5c6cd1a949 | b5c5db61c8bdb4f84e171384174c26a570faeff9 | refs/heads/master | 2021-05-28T07:33:12.376733 | 2014-03-26T23:51:48 | 2014-03-26T23:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | h | /*
Copyright (C) 2010-2013 Eloy David Villasclaras Fernandez.
evilfer@gmail.com
This file is part of Trajectories.
Trajectories 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 version 3 of the License, o... | [
"evilfer@gmail.com"
] | evilfer@gmail.com |
183f889039c0b58a1493c8ea37dd96f6e4113f78 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/zhi/neurontracing_region_neuronchaser/neurontracing_region_neuronchaser_plugin.h | 18ac3aaadb5d774bb670cc8899ddf1a7f245f817 | [
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 789 | h | /* neurontracing_region_neuronchaser_plugin.h
* This is a test plugin, you can use it as a demo.
* 2015-12-15 : by Zhi Zhou
*/
#ifndef __NEURONTRACING_REGION_NEURONCHASER_PLUGIN_H__
#define __NEURONTRACING_REGION_NEURONCHASER_PLUGIN_H__
#include <QtGui>
#include <v3d_interface.h>
class neurontracing_region_neuro... | [
"alan.zhizhou@gmail.com"
] | alan.zhizhou@gmail.com |
987915ce717baeb14470e87d576ce5365c0b1827 | 6e189b79daf85591f371d1d92057773a429f623c | /q5.cpp | 70194b6c782e5eb9693c601a186cadb06a7691ac | [] | no_license | ishon19/Arrays | 656f036005c0750e46081a5dc0ef2d9a794aaa4e | 580dfd184f0de159e84f51172ad1f6d3e753909a | refs/heads/master | 2021-01-10T22:08:27.133721 | 2014-10-20T12:31:58 | 2014-10-20T12:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int main()
{
char arr[]="happydiwali";
int char_count[256];
char result[strlen(arr)];
memset(char_count , 0 , sizeof(char_count));
for(int i=0 ; arr[i]; ++i)
{
++char_count[arr[i]];
}
for(int i=0; i<=255; ++i)
{
... | [
"pathak.shreyans@gmail.com"
] | pathak.shreyans@gmail.com |
715fc8f81adbb1147e6efa52c90dcb8cfd0c0b16 | c583a5fd60d8497c82c2864e5dec2d1b0853f3b1 | /0071-Simplify_Path/main-3.cpp | f7a3b328253d0cbabac05e232535f53930b957b9 | [] | no_license | oliver-zeng/leetcode | 401c9455c73cfe198b1d947407596aaa4d61f6fe | d98fbefb9c6fc0dc78da3cfabf7906f3fa712102 | refs/heads/master | 2020-12-19T19:17:45.522346 | 2020-06-04T12:25:03 | 2020-06-04T12:25:03 | 235,826,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cpp | class Solution {
public:
string simplifyPath(string path) {
// 避免不以'/'结尾,导致最后一个内容拿不到
// "/a//b////c/d//././/.."
path += "/";
int sz = path.size();
int left = 0, right = 1;
stack<string> st;
while (right < sz) {
if (path[right] != '/') {
... | [
"964994927@qq.com"
] | 964994927@qq.com |
f89d6bc77ad5f304133b45b572e70036d7a74140 | 60b8b4a2c561c4066e22c045b2b68c6ccd509682 | /cpp_db/driver_registry.cpp | 3f6f92f7e35c400510e2171c12adc19028aa64c6 | [] | no_license | JohannAnhofer/cpp_db | a481686b014136f7a08d0961cefe7a0c5500173e | 93e7e4d8f23444b1b5d09e8c41e6bf344f5e7fed | refs/heads/master | 2021-06-02T13:38:49.132356 | 2019-11-19T20:39:25 | 2019-11-19T20:39:25 | 15,143,743 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include "driver_factory.h"
#include "driver_interface.h"
#include "driver_factory.h"
namespace cpp_db
{
using driver_creator_function = std::function<std::unique_ptr<driver_interface>()>;
namespace driver_registry
{
void register_driver(const std::string &name, driver_creator_function creator)
{
driver_factor... | [
"johann.anhofer@gmail.com"
] | johann.anhofer@gmail.com |
09cc65e8aede85065bb90ae05c2c34922da61178 | 1218876456e9b148d2a3b8c990dbf7afce6fef05 | /oop 7/worker.h | 435ec0288ddcfe220a31c561b6e9d9bb58d706bc | [] | no_license | Barsik-sus/oop-7 | 33c462dd599adb56d2d45383a2a1662b7a63ede3 | 2f9317a8fc9c117ba3a7df6b481bce2e739423b1 | refs/heads/master | 2022-07-13T06:23:23.142875 | 2019-11-24T17:37:05 | 2019-11-24T17:37:05 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 323 | h | #pragma once
#include "pers.h"
class worker :
public pers
{
std::string specialty; // название специальности
int depart; // номер цеха
public:
worker(std::string specialty, int depart);
void set_specialty(std::string specialty);
void set_depart(int depart);
void print_info();
};
| [
"bogdan.balushkin5@gmail.com"
] | bogdan.balushkin5@gmail.com |
2d4e346f9872c2eeecc3035c5168d8e58e726f20 | 9291fb1161991259b8077f8f9a850867d5464770 | /src/dingoo.cpp | cfd6b08348ee7c4d5345d5dbee58f2acdbb2fe03 | [] | no_license | goldmojo/uae4all | 1d67266e1984810645281e07dc21021ad0441da2 | 9988f9924a5da4d21fde414b8d531301f8b1076c | refs/heads/master | 2023-01-07T11:29:49.356720 | 2020-11-11T15:11:34 | 2020-11-11T15:11:34 | 255,284,950 | 7 | 2 | null | 2020-04-13T09:35:06 | 2020-04-13T09:35:05 | null | UTF-8 | C++ | false | false | 5,515 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <linux/soundcard.h>
#include <sys/ioctl.h>
/* Define this to the CPU frequency */
#define DEFAULT_CPU_FREQ 336000000 /* CPU clock: 336 MHz */
#define CFG_EXTAL 12000000 /* EXT clock: 12 Mhz */
// SDRAM ... | [
"pingflood@gmail.com"
] | pingflood@gmail.com |
dd159ae1c92d84afbcc07be4231346d3d8e5f8bf | 2f491c23be7135826b70e5c2b2bb10ca331f03b8 | /Concurrent/Concurrent/main.cpp | f95cd903622bae3e8c5a29d7c2938cc0e4d8ce20 | [] | no_license | AnnePieter/SchoolStuff | 132f6e916d86be58a834e0e402dbcdcacd2fc8b4 | 73ab946eaa822ad7da65347285fbc63deb1637d1 | refs/heads/main | 2023-07-24T09:05:35.755294 | 2021-09-13T10:24:39 | 2021-09-13T10:24:39 | 371,488,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include <iostream>
#include "mandelbrot.h"
#include "dotproduct.h"
#include "tree.h"
#include "threadpool.h"
#define Wait std::cout << "Press Enter to continue \n"; std::getLine()
int exercise = 0;
using namespace Concurrent;
int main()
{
Mandelbrot m = Mandelbrot();
while (exercise != 7)
{
char arg = ' ';
... | [
"boon1502@student.nhl.nl"
] | boon1502@student.nhl.nl |
b25b3257e8270c94599f4f85dc6d217b0476e230 | 45f18f3492866be124ed64b1914813073f476fb6 | /zmq_server/ToJson.h | d11f69fc8a15b4d0c278ff509c5dd71dd72f53aa | [] | no_license | dengpanZX/matcher | 97d844c2d2795f0b8101718f8c380156abf4a3f6 | e4ba2e968d3119b0fa0e19f2838a601c9ddb630d | refs/heads/master | 2020-09-16T17:28:12.326685 | 2018-06-29T08:31:32 | 2018-06-29T08:31:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,079 | h | #pragma once
#include "O.h"
#include <iostream>
#include <queue>
#include "json/json.h"
#include <boost/property_tree/json_parser.hpp>
using namespace std;
using namespace boost::property_tree;
template <typename T>
class ToJson
{
ptree OtoJSON(O o) {
ptree root;
root.put("orderId", o.getOrderId());
root.put("or... | [
"joenhon@users.noreply.github.com"
] | joenhon@users.noreply.github.com |
040c07ae36d48af96e762e45adba655ca9839986 | 37be9d32218cbd1c789f36a0f509526919966dbf | /src/be/opt/opt_verify.h | e76a7fd377985a4f21c4f21d378d51f1bfa27b70 | [] | no_license | Akheon23/nvopencc | 5072b3d68974e92a3e8ca92ac518ff97df4fe312 | 5676f95bbcca75610554115747bb075bf1cd16d6 | refs/heads/master | 2020-12-25T01:50:18.190179 | 2010-06-17T17:23:28 | 2010-06-17T17:23:28 | 50,400,638 | 1 | 0 | null | 2016-01-26T03:32:09 | 2016-01-26T03:32:09 | null | UTF-8 | C++ | false | false | 2,229 | h | /*
* Copyright 2005-2010 NVIDIA Corporation. All rights reserved.
*/
//-*-c++-*-
// ====================================================================
// ====================================================================
//
// Module: opt_verify.h
// $Revision: 1.2 $
// $Date: 02/11/07 23:41:56-00:00 $
// $Auth... | [
"asura@m4400.(none)"
] | asura@m4400.(none) |
7eadaf415a0cd440a8655656b1b931197178f1e9 | f4cfafe698191c6a72fae71850dc82878a5afc3e | /third_party/gfootball_engine/src/onthepitch/player/controller/strategies/offtheball/goalie_default.cpp | bef6fb6ddc5d530392876804359b41a52c70ae0e | [
"Unlicense",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | nczempin/gfootball | 3e9478a5a970f47de2fe59afd98951f1a52efed3 | 617e9cb6d48b4ac7187b9b3de68bd4ab44ea528e | refs/heads/master | 2020-06-01T20:21:40.815706 | 2019-07-12T21:15:16 | 2019-07-12T21:15:16 | 190,915,700 | 0 | 0 | Apache-2.0 | 2019-07-12T21:15:17 | 2019-06-08T17:22:31 | Python | UTF-8 | C++ | false | false | 14,020 | cpp | // Copyright 2019 Google LLC & Bastiaan Konings
// 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 o... | [
"michalski@google.com"
] | michalski@google.com |
076058171d763fa0d024a491e0459ebf5e33c441 | 061348a6be0e0e602d4a5b3e0af28e9eee2d257f | /Source/Contrib/UserInterface/src/Layout/OSGLayoutConstraintsFields.h | eef1d8903051a7b7705c5c71be6c34d0497d8c50 | [] | no_license | passthefist/OpenSGToolbox | 4a76b8e6b87245685619bdc3a0fa737e61a57291 | d836853d6e0647628a7dd7bb7a729726750c6d28 | refs/heads/master | 2023-06-09T22:44:20.711657 | 2010-07-26T00:43:13 | 2010-07-26T00:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,497 | h | /*---------------------------------------------------------------------------*\
* OpenSG *
* *
* *
* ... | [
"djkabala@gmail.com"
] | djkabala@gmail.com |
b3b9dc6d293e99357f2f35765e97b313f7771915 | 1adbd2b461e014e49184334e9a7c78d2aeb08641 | /common/src/dbcomid.hpp | 637ef03d756d22f87606f28b6db91816616dd19b | [] | no_license | zhangshunqiu/mir2x | 0aae819750e663376fc7dea2b835cba9af7212bd | 69678adc6482e093ea0c3179d8d3b0f4e98a745f | refs/heads/master | 2021-05-09T22:38:02.398195 | 2017-12-20T23:14:31 | 2017-12-20T23:14:31 | 118,757,690 | 0 | 1 | null | 2018-01-24T11:42:46 | 2018-01-24T11:42:46 | null | UTF-8 | C++ | false | false | 4,983 | hpp | /*
* =====================================================================================
*
* Filename: dbcomid.hpp
* Created: 07/28/2017 23:03:43
* Last Modified: 08/31/2017 14:01:37
*
* Description: global constexpr _Inn_XXXXX[] declared here
* any files including this would ... | [
"anhonghe@gmail.com"
] | anhonghe@gmail.com |
9f2c188139cf1a85708d0f00e23d1c0e4d4eaf65 | fe2836176ca940977734312801f647c12e32a297 | /LeetCode/old/PrepForGoogleInterview2018/C++/first/647.cpp | f4b6aafa7e80acdc18840d8b98a757aeb60b7253 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | // clang-format -style=LLVM -i *.cpp && astyle --style=linux *.cpp && rm *.orig
// && g++ -Wall -Wextra -std=c++11 ...
#include <bits/stdc++.h>
using namespace std;
static int initialSetup = []()
{
// toggle off cout & cin, instead, use printf & scanf
std::ios::sync_with_stdio(false);
// untie cin & cout
... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
8a033f2bf41d68f104b3c3499b17e857af3f0dcf | 376606835cb0bd37980f8890a4cc92bdad1d2e33 | /SRM/GameOfSegments.cpp | ddf45419129e5e22d94a3efecfd3fd1a8573e90c | [] | no_license | Mukit09/TopCoder-Solutions | b8ce8720c9e48dd7e518dad4129eeedc6412a88b | c27b98a0e4698ee18ac362558120c3bcd78415ba | refs/heads/master | 2020-04-14T19:33:54.623936 | 2019-01-04T05:39:53 | 2019-01-04T05:39:53 | 164,062,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,617 | cpp | //BISMILLAHIR RAHMANIR RAHIM
#include<bits/stdc++.h>
using namespace std;
// Define Some Variables
#define eps 1e-14
#define si 110
#define pi acos(-1.0)
#define inf (1<<30)-1
#define mod 1000000000 //10^9
//Define Some Functions
#define even(a) ((a)%2==0)
#define odd(a) ((a)%2==1)
#define max(a,b) (a>b ?a:b)
#define... | [
"mukitmkbs25@yahoo.com"
] | mukitmkbs25@yahoo.com |
5b76fa360332557d37878a16a6e13f88873309cd | b11e139d868f593280dc1fba3486cf81ba2b55ac | /src/chapter4/L4-01.cpp | d20a535542d7c5a88968161bf7af4acbb09b757f | [] | no_license | dzheleznyakov/CPP | b7b11a9b12f3d4ba458db54afb556dffcd28bcc4 | e820f617c35af5b827da922a0711b20dc24f51a4 | refs/heads/master | 2021-04-09T13:54:36.271233 | 2018-06-13T15:33:25 | 2018-06-13T15:33:25 | 125,508,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <iostream>
int mainL4_01() {
char first {};
char second {};
std::cout << "Enter a character: ";
std::cin >> first;
std::cout << "Enter a second character: ";
std::cin >> second;
std::cout << "The value of the expression " << first << '<' << second
<< " is: " << std::boolalpha << (first < second... | [
"zheleznyakov.dmitry@gmail.com"
] | zheleznyakov.dmitry@gmail.com |
fd3f5a9291b364712fe0f73fe8eadba671fa8bfd | 22ebcde0f235b60c1c5cff32461f477ac4f72ecf | /QtSrc/qt3support/widgets/q3widgetstack.cpp | 5c0127946a680d9ba5e055af5454d5ee9d908849 | [] | no_license | kystyn/ui | 13dc1e7c0e01761b0658be101528bea440be70d9 | 083a011a735f6dc65c271bc92e397c75155ca61f | refs/heads/master | 2020-07-29T03:45:08.929517 | 2020-06-17T23:42:05 | 2020-06-17T23:42:05 | 209,656,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,305 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt3Support module of the Qt Toolkit.
**
** $QT_BEGIN_LICE... | [
"konstantindamaskinskiy@gmail.com"
] | konstantindamaskinskiy@gmail.com |
493a1bf7d917348706c127b2f2d2cffe79df66e6 | e3e5b59c7d3292dc73225a817feae38627d590c8 | /src/qt/rpcconsole.cpp | da02932e960688f16d0ee6458516b42ca713b997 | [
"MIT"
] | permissive | hichman/CWXT | f97e14d47c0a99d1980e31bc057dd116800ad77f | bea710b603cb16ac61a4cae85dd9805ddfd18e55 | refs/heads/master | 2021-05-15T03:12:24.284304 | 2017-01-07T05:45:46 | 2017-01-07T05:45:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,479 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | [
"git@git"
] | git@git |
63b4161c09aba7b10109c032de9738b72fa269e1 | d0af1f52a74c3d4b3350512dd0ba71bfb3e293af | /src/pthread_execution_queue.h | 9f0cbf3d980a64da13ff29824a8ca19c78acc73c | [
"MIT"
] | permissive | KaidoRen/AmxxCurl | be5f36401bb4eec7f435f9fb10f179b63b4485c6 | c4b5c96f8a4f5209e71fd373e28c6762bd4f7398 | refs/heads/master | 2020-04-21T17:36:41.456327 | 2019-02-08T18:33:38 | 2019-02-08T18:33:38 | 169,741,460 | 0 | 0 | MIT | 2019-02-08T13:47:27 | 2019-02-08T13:47:26 | null | UTF-8 | C++ | false | false | 2,555 | h | #if AMXXCURL_USE_PTHREADS_EXPLICITLY
#ifndef _PTHREAD_EXECUTION_QUEUE_H_
#define _PTHREAD_EXECUTION_QUEUE_H_
#include <pthread.h>
#include <queue>
#include "execution_queue_interface.h"
class PthreadExecutionQueue : public ExecutionQueueInterface
{
struct ThreadData
{
ThreadData(pthread_cond_t& condi... | [
"trofian@yahoo.com"
] | trofian@yahoo.com |
e8203edf4fb6ca74852d3f8a31f307cb1b33497b | 68b0ef8cf0710e0be34d4b64882a28eefa44b2a8 | /TP3/Ejercicio-1/Bullet.cpp | a32166cbd770e5543dd3c3505010551df63c1bb7 | [] | no_license | MatiasRT/Graficos1-TP3 | bb4d2518d0d83a456a03e7cc616a0cf038c9df01 | 92f67f2918cceea7d32bb7ca4ebd39872ad5298b | refs/heads/master | 2020-03-18T22:24:11.531743 | 2018-06-05T01:44:45 | 2018-06-05T01:44:45 | 135,343,262 | 0 | 0 | null | 2018-05-29T19:26:46 | 2018-05-29T19:26:46 | null | UTF-8 | C++ | false | false | 539 | cpp | #include "Bullet.h"
#define SPEED 800
#define TAM -25
Bullet::Bullet(int x, int y, const char* imagePath) :Object(x, y, imagePath) {
_speed = SPEED;
_enable = false;
}
Bullet::~Bullet(){
}
void Bullet::update(float elapsed) {
if (_enable) {
if (_y > TAM)
_y -= _speed * elapsed;
else
_enab... | [
"ruiztorresmatias@gmail.com"
] | ruiztorresmatias@gmail.com |
b8fc8762b027d7033e3f5b442b9eea411688faa3 | 2ccb99e0b35b58622c5a0be2a698ebda3ab29dec | /gfx/skia/skia/src/pathops/SkPathOpsConic.cpp | 86bad262e32ba4f72ac7f9949f4556ab814efce9 | [
"BSD-3-Clause"
] | permissive | roytam1/palemoon27 | f436d4a3688fd14ea5423cbcaf16c4539b88781f | 685d46ffdaee14705ea40e7ac57c4c11e8f31cd0 | refs/heads/master | 2023-08-20T10:11:13.367377 | 2023-08-17T07:28:43 | 2023-08-17T07:28:43 | 142,234,965 | 61 | 16 | NOASSERTION | 2022-03-30T07:54:03 | 2018-07-25T02:10:02 | null | UTF-8 | C++ | false | false | 5,128 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkIntersections.h"
#include "SkLineParameters.h"
#include "SkPathOpsConic.h"
#include "SkPathOpsCubic.h"
#include "SkPathOpsQuad.h"
// cribbed from the float version... | [
"roytam@gmail.com"
] | roytam@gmail.com |
ed41a461d68dd340c52ed0f3aa0b6bb86eb7bc6e | 20398160981e03c60357c482b308e721b48ca97c | /simple_servo_controll/simple_servo_controll.ino | 44ffd4abdd9e0bfabd0125bd3234ed96dc01286e | [] | no_license | Sciencethebird/2019_ASME | 08d1b914b1179492b3343b3fef160d988109847b | 89c04b52c6374bc3e54f0ffe970c39b3ca64fdcc | refs/heads/master | 2020-04-20T19:10:46.730813 | 2019-03-02T04:47:09 | 2019-03-02T04:47:09 | 169,042,506 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | ino | #include<Servo.h>
#define cw HIGH
#define ccw LOW
#define OPEN 1
#define CLOSE 0
Servo servo1;
int pos = 0;
const int motorIn1 = 6;
const int motorIn2 = 7;
const int motorIn3 = 8;
const int motorIn4 = 9;
const int motorIn5 = 10;
const int motorIn6 = 11;
const int motorIn7 = 12;
const int motorIn8 = 13;
const int s... | [
"sciencethebird@gmail.com"
] | sciencethebird@gmail.com |
8e7d3870736a0344df728082c2f905c1f18a7533 | 7716142f322977cb56bd5078f9a62449841921cb | /chrome/browser/ui/app_list/search/extension_app_result.cc | 781b24217cbd73c09ec7e7ce8965a8f84f42cf53 | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | 3p3r/ChromiumGStreamerBackend | 9f63ac11aff4326003f74cb118b5ac69eda68fb5 | 269b7cabe31f1b438051a464d661ac66404191e9 | refs/heads/master | 2021-05-31T03:20:38.570165 | 2016-04-26T17:00:00 | 2016-04-26T17:00:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,996 | 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 "chrome/browser/ui/app_list/search/extension_app_result.h"
#include "chrome/browser/extensions/extension_util.h"
#include "chrome/browser/profil... | [
"a.obzhirov@samsung.com"
] | a.obzhirov@samsung.com |
70b1a4a1ebf10476a99d9b4e3517c989d85626de | 797879e58a63264776a62ac762d6a5fe5709a7c9 | /libs/log/preprocess/VariableParser.h | 14a2a0966201659d243f0954eab88053c99d6d51 | [] | no_license | epfl-vlsc/NvmFlow | f1ba6887748e9411377608f2f3bf30de43d1faf2 | 9a2a016b8cd5f005bdd3cdd790cfa6c1141e9ff6 | refs/heads/master | 2023-04-17T03:13:39.105728 | 2021-04-27T14:01:08 | 2021-04-27T14:01:08 | 195,298,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #pragma once
#include "Common.h"
#include "DbgParser.h"
#include "VarParser.h"
#include "VarFiller.h"
namespace llvm {
template <typename Globals> class VariableParser {
public:
VariableParser(Globals& globals) {
// ordering matters!
DbgParser dParser(globals);
VarParser vParser(globals);
VarFiller... | [
"davidteksenaksun@gmail.com"
] | davidteksenaksun@gmail.com |
c94aae47e6d1e99441cf953300155b0a5f8bb6a1 | e655384bfab5b8ce2705e35428755a5701854f3e | /Data Structures/arrays/printLeaders.cpp | 7a64082f188d07f06e08b4ecf2e6a873cb330004 | [] | no_license | sulemanrai/GeeksforGeeks | f4ad99b1881fc7b385db7a9af95267abac084a5d | ba90a60ae6559b734d616f84eaef786d79cd072c | refs/heads/master | 2020-03-08T02:43:16.225555 | 2018-07-09T08:54:13 | 2018-07-09T08:54:13 | 127,868,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include<iostream>
#include <vector>
#include <algorithm>
using namespace std;
void printLeaders(vector<int> vec)
{
bool isgreater = false;
vector<int> ans;
std::vector<int>::iterator it;
for(int i = 0; i < vec.size(); i++)
{
for(int j = i+1; j < vec.size(); j++)
{
if(vec[j] > vec[i])
{
isgreater ... | [
"suleman.rai@gmail.com"
] | suleman.rai@gmail.com |
adc538c5f575085e964cc5ccf19995e5c45e643f | a52ff34d3a126815867698dc09266924e089054d | /vulkan/renderPasses.h | 01b7326fee7fabcf279ef80b11b53f02c6eb5948 | [] | no_license | tangxiaohuang/Vinkle-VK_study | 32e2faa11b1aa6442a1585f7334c6085e849b990 | 9fddaf0e77ef958de7204415bb7a378797051df2 | refs/heads/master | 2023-07-21T06:10:36.375791 | 2021-08-26T10:04:07 | 2021-08-26T10:04:07 | 398,993,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | h | #pragma once
#include <iostream>
#include <vector>
class renderPasses
{
public:
void createRenderPass();
};
| [
"562073346@qq.com"
] | 562073346@qq.com |
30ee7c5e8f565f82d056d44dea71228ef4ba7881 | 8fd65814f4983061f5cc46da9c67cc5fa2eb01a3 | /arduino/servo_test/servo_test.ino | 478587e86ffd61c9df8d415be6f60faf36ecd9b3 | [] | no_license | klund1/checkers_ws | b3db4d6caec1890ac8c0ce43d503cb9a4970568d | ff3fc507160ba1074a9f11c38770cc2285415e34 | refs/heads/master | 2021-01-11T10:38:37.839415 | 2016-12-13T00:34:50 | 2016-12-13T00:34:50 | 72,957,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | ino | #define J0 2
#define J1 3
#define J2 4
#define J3 5
#define EM_PIN 6
#include <ros.h>
#include <std_msgs/Bool.h>
#include <checkers_arm/JointAngles.h>
#include <Servo.h>
Servo joint0, joint1, joint2, joint3;
void setElectroMagnet(bool on_off) {
digitalWrite(EM_PIN,on_off);
}
void setArmPosition(float a0, float a1... | [
"klund@hmc.edu"
] | klund@hmc.edu |
77734eb939ee5106cc531dc37aeaf2c6e8fa36a5 | 96cf049c958982c1294a36eace2e8ad12ec0f697 | /ancientmain.cpp | 4d1da734d4121483ca89451808d4a2aff1224f6b | [] | no_license | Cevernaya/PenguinParty_Zoonie | 09be93b2dbc8cf8c922d9795f0088f983c7a0629 | 8968c39ea07c94346a0013edb3518e53e6f9f95f | refs/heads/master | 2023-02-02T05:49:06.442857 | 2020-12-13T05:53:19 | 2020-12-13T05:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,705 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
/* R,G,B(8),Y,P*/
int turnorder = 0; // defalut = 0; player = 1; computer = 2;
//print out player's hand state
void printHands(int hands[5]){
for(int i=0; i<5; i++)
{
cout<<i+1<<" : "<<hands[i]<<" "<<"\n";
}
}
//to make a board in initial state
void pri... | [
"zoonie04@khu.ac.kr"
] | zoonie04@khu.ac.kr |
a54dcf03e67b14385b9204a113851a6de9f2f1b9 | dec6ccea75f197f3fdd6bfcdb458712c39b312e4 | /trunk/bin/daemon/src/services/btool_module_p.h | 59354e64102c9981d7183030accdc239acd0c149 | [] | no_license | BackupTheBerlios/bluetool-svn | 9ee059455fb4c5542152408b894485fed9dfeb9d | 0a5d016b2362f4b7759e7119e5d0dd241e37399b | refs/heads/master | 2016-08-05T17:35:42.055563 | 2006-05-17T18:49:01 | 2006-05-17T18:49:01 | 40,718,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | #ifndef __BTOOL_MODULE_P_H
#define __BTOOL_MODULE_P_H
#include <Python.h>
#include "../bluedebug.h"
#include "py_obj.h"
#include "btool_module.h"
namespace Bluetool
{
struct Module::Private
{
Py::Obj module;
PyObject* modclass; // python class describing the service
PyObject* modservices;
std::string name;
st... | [
"shackan@11aa4a43-84fa-0310-b3ba-94ccd3ab820a"
] | shackan@11aa4a43-84fa-0310-b3ba-94ccd3ab820a |
0ea6f1145f0f66e222dbeecc44c1b5781e0ded2b | 2ba2b07343d8d72c1b1f426e77a65f9eda153aed | /includes/PrintGlm.hpp | df015cc83ccf7f97f85fc112820b8de027c02a05 | [] | no_license | jloro/GameEngine | 0e894977c618ca63258473b7de1643f536367d4f | 2a1498d1ee7f91052e96e7dbca8b05bddad28aac | refs/heads/master | 2020-08-08T20:14:32.932173 | 2019-12-12T11:31:15 | 2019-12-12T11:31:15 | 213,907,306 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PrintGlm.hpp :+: :+: :+: ... | [
"jloro@student.42.fr"
] | jloro@student.42.fr |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.