blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c87f76c063a10298c920314ce247c995c1c783b9 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/webrtc/examples/androidvoip/jni/android_voip_client.h | 8e1edd5ef918f5a39a474f33a19e36692b041f69 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 8,391 | h | /*
* Copyright 2020 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"jengelh@inai.de"
] | jengelh@inai.de |
dfc16bf7dc2a83e42d5c9ea8ac9a09b400d1a5cb | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-mgn/include/aws/mgn/model/UpdateReplicationConfigurationTemplateResult.h | c81a991d9462d7e34f165d98962190d0e6fd450f | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 23,296 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mgn/Mgn_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mgn/model/ReplicationConfigurationDataPlaneRouting.h>
#include <aws/mgn/model/ReplicationCo... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
58c522ea71ca9ac3fd8361a343d17fa2bb097ca4 | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/BP_LavaZone_classes.h | 4737385c50beb6cd5101ac43a445423d79a0f9be | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h | #pragma once
// Name: SoT, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
ccafef4d6141c29d97b639365903eb7b5a219882 | eeea540c22526b1f1d14e2ea451c74e96d3bb093 | /src/serializisation.hpp | 9ddd0cc1f5d4b31e4143dc8accc93eca2f6914f9 | [
"MIT"
] | permissive | LeniLeGoff/online-multiclass-lpboost | 2d7d37f3122f98db89baa37798017aa3de2f839e | c821c4dfe5b81a2b7d89ece84f25599180a6167a | refs/heads/master | 2020-12-26T15:59:11.872775 | 2016-07-04T08:39:53 | 2016-07-04T08:39:53 | 55,956,091 | 0 | 0 | null | 2016-04-11T08:45:19 | 2016-04-11T08:45:19 | null | UTF-8 | C++ | false | false | 1,225 | hpp | #include <iostream>
#include <boost/serialization/access.hpp>
#include <boost/serialization/nvp.hpp>
namespace boost {
namespace serialization {
template< class archive,
class S,
int Rows_,
int Cols_,
int Ops_,
int MaxRows_,
int MaxCols_>
inli... | [
"le_goff@isir.upmc.fr"
] | le_goff@isir.upmc.fr |
3f3a265c3f9216a717635afeb801ef2fa98c250b | 5cb4993509dab0764bdf2f1db203f663c8a2a3f4 | /bh1750/bh1750.ino | 61eeca9c07ef462b7b34ccfabbbe94345b60e15f | [] | no_license | youngda/BH1750 | 92826a7e0379adfe2794055ddae47904180ccfc3 | 8d9f6501d72f470dd3f21cc8a00ba5f7044953c4 | refs/heads/master | 2021-01-11T03:19:35.218830 | 2016-10-15T17:26:26 | 2016-10-15T17:26:26 | 71,023,741 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | ino | /* author:youngda
* version:v1.0
* data:21-5-2015
*/
#include <Wire.h> //IIC
#include <math.h>
int BH1750address = 0x23;
byte buff[2];
void setup()
{
Wire.begin();
Serial.begin(9600);
}
void loop()
{
int i;
uint16_t val=0;
BH1750_Init(BH1750address);
delay(200);
if(2==BH1750_Read(BH1750a... | [
"fz0030403@hotmail.com"
] | fz0030403@hotmail.com |
36706e19bfdfab642b2a09c357002505936dda9e | 29a4c1e436bc90deaaf7711e468154597fc379b7 | /modules/boost_math/include/nt2/toolbox/boost_math/function/simd/sse/ssse3/ibetac_invb.hpp | 29ecbf12da27fcf83364e66a8528e3289f5bbefa | [
"BSL-1.0"
] | permissive | brycelelbach/nt2 | 31bdde2338ebcaa24bb76f542bd0778a620f8e7c | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | refs/heads/master | 2021-01-17T12:41:35.021457 | 2011-04-03T17:37:15 | 2011-04-03T17:37:15 | 1,263,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | hpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
fc337592a7131f52dfda1e17a934ef454fa4dde5 | af0ffd69d5e28b217990ffdd751b31bdd2608c45 | /12. Operator Overloading/C12_21_Strings1.cpp | 3ba90690c7aebd1e6af334f604c30f2905355172 | [] | no_license | Vuean/ThinkingInCPlusPlus | 2c2feb3bbfc4489094435193ad56fab3edfbd6ee | 19d13bd9318381b526a70478bc3cc0b6eb0712c9 | refs/heads/master | 2023-03-20T19:26:54.209080 | 2021-03-09T14:18:10 | 2021-03-09T14:18:10 | 284,883,766 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | // C12_21_Strings1.cpp
// No auto tupe conversion
#include "../require.h"
#include <cstring>
#include <cstdlib>
#include <string>
using namespace std;
class Stringc
{
string s;
public:
Stringc(const string& str = "") : s(str) {}
int strcmp(const Stringc& S) const
{
return ::strcmp(s.c_str(), S.... | [
"hzhlxy@outlook.com"
] | hzhlxy@outlook.com |
b8cd7bb203e5b345730d4e64db1a065ea97811aa | 7575668a328508652e169653d37eddaa08396a62 | /Native/Graphics/Mesh/GfxMeshPrimitives.cpp | 6c28db8f5d16ccce281a826cc404891ae02dd009 | [] | no_license | huangdonghai/titan3d | dad61082d27ba1c65b0de7b3ca9d4a299ff1123c | 571bce8ad677efb6ce3d92441b5af0b2340ff74f | refs/heads/master | 2022-12-31T15:35:53.529550 | 2020-10-20T10:41:35 | 2020-10-20T10:41:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,371 | cpp | #include "GfxMeshPrimitives.h"
#include "GfxMesh.h"
#include "GfxMdfQueue.h"
#include "GfxModifier.h"
#include "../../../Core/thread/vfxthread.h"
#define new VNEW
NS_BEGIN
RTTI_IMPL(EngineNS::GfxMeshPrimitives, EngineNS::VIUnknown);
RTTI_IMPL(EngineNS::GfxMeshDataProvider, EngineNS::VIUnknown);
void GfxMeshPrimitiv... | [
"1832617@qq.com"
] | 1832617@qq.com |
5075924884eb97042b837bad65eb1289921cb359 | 66e9d4ade105ca25ccaeece17b63831aaf133e7d | /chrome/browser/ui/views/bookmarks/bookmark_bar_view_browsertest.cc | 3c7c75bb3d275bf3418bb857fc341affa2dd01b3 | [
"BSD-3-Clause"
] | permissive | rookiechao/chromium | 17eed8364b9f369d35ca62ff380a7c5d55c5f810 | 2cd605c5bfcb7672fd6f4cae7400ec62308f3c2f | refs/heads/master | 2023-03-07T20:13:33.287402 | 2019-04-04T09:48:01 | 2019-04-04T09:48:01 | 178,987,904 | 1 | 0 | NOASSERTION | 2019-04-02T03:00:16 | 2019-04-02T03:00:16 | null | UTF-8 | C++ | false | false | 6,724 | cc | // Copyright 2019 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/views/bookmarks/bookmark_bar_view.h"
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1076520697becf42d45bbc46b0f2c99547dcd811 | aaabfbb7faadb59f0dad573be47781f267a10812 | /elliptic_group.cpp | 8319970b20cde3c53eac19682792e2d49a710f7d | [] | no_license | MansDolorem/ecdsa_example | 774da0f304a7e967fb17d49a3fdaa0a3e2b0be8c | be219078ce292c58599bf0066e566297e359bf88 | refs/heads/master | 2021-07-22T13:56:57.998071 | 2017-10-31T19:45:58 | 2017-10-31T19:45:58 | 109,041,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,081 | cpp | #include "elliptic_group.h";
#include <iostream>
using namespace std;
int reverse_mod(int value, int mod) {
if (value < 0) {
value += mod;
}
int q;
int r_0, r_1, r_2;
int x_0, x_1, x_2;
int y_0, y_1, y_2;
r_0 = mod; r_1 = value;
x_0 = 1; x_1 = 0;
y_0 = 0; y_1 = 1;
while (r_1) {
q = r_0 / r_1;
r_2 =... | [
"mohnach.polina@gmail.com"
] | mohnach.polina@gmail.com |
0bf61c49f16ee346ba1499ec9e08d06c2e9ba573 | 44eb4b7c9cb8891cb3544936c7bbf8536eb2714c | /src/341.cpp | b96c1363877f08824d2fee271bd1bed2cbc91aa2 | [] | no_license | xf97/myLeetCodeSolutions | 7a330089e14c6d44a0de0de8b034f2a759c17348 | 5de6aa3977117e59ef69307894e163351b1d88fa | refs/heads/master | 2023-08-18T09:27:09.900780 | 2021-10-18T04:44:36 | 2021-10-18T04:44:36 | 291,883,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | cpp | /**
* // This is the interface that allows for creating nested lists.
* // You should not implement it, or speculate about its implementation
* class NestedInteger {
* public:
* // Return true if this NestedInteger holds a single integer, rather than a nested list.
* bool isInteger() const;
*
* //... | [
"noreply@github.com"
] | noreply@github.com |
cc2b5fadb0b8c3e7a4659a4befb54c05c5af8df8 | 88664987cfbde8867df11f00b72c4050115292db | /lite/pre.cpp | fcdd3d0875862506a82f87c392d49e29a1e973e4 | [] | no_license | ddehilster/nlp-engine | 5a190832781ae150569bc41f83ba8e0e1e74bc84 | ebda6020a2af5fd831bda567956f3568fcc85b8d | refs/heads/master | 2020-06-22T05:49:04.764005 | 2020-01-28T22:26:00 | 2020-01-28T22:26:00 | 197,648,953 | 0 | 0 | null | 2020-01-28T22:26:01 | 2019-07-18T19:58:26 | C++ | UTF-8 | C++ | false | false | 18,049 | cpp | /*******************************************************************************
Copyright (c) 2001-2010 by Text Analysis International, Inc.
All rights reserved.
********************************************************************************
*
* NAME: PRE.CPP
* FILE: lite\pre.cpp
* CR: 11/30/98 AM.
* SUBJ: Pre actio... | [
"dehilster@gmail.com"
] | dehilster@gmail.com |
12e84af7fd66eae284f45ea1bc7cd972b0170e97 | 7e3845226a5186494321bc8147acf19c5af5b577 | /src/demo_server/util/inc/burden_common_logic_interface.h | c1c652c1a36ea66046719b35d6325a9f6c43327c | [] | no_license | Confucius-Mencius/demo_proj | 2ef27359933b4af71b138152bd8a6a3131e3b20d | e5ef85b81b68f96d7db52ba4a63055eca9ff05c6 | refs/heads/master | 2020-04-17T02:32:45.266096 | 2019-06-08T08:53:03 | 2019-06-08T08:53:03 | 159,490,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | #ifndef DEMO_SERVER_UTIL_INC_BURDEN_COMMON_LOGIC_INTERFACE_H_
#define DEMO_SERVER_UTIL_INC_BURDEN_COMMON_LOGIC_INTERFACE_H_
#include "burden_logic_interface.h"
// 线程内多个模块共享的逻辑,一般不需加锁
namespace burden
{
class TheCommonLogicInterface : public CommonLogicInterface
{
public:
virtual ~TheCommonLogicInterface()
{
... | [
"guang11cheng@qq.com"
] | guang11cheng@qq.com |
532c4842ddc9bd5523a0fd1b4e4e4c80eedb373f | 055f5302967d6bdb59e65d97ec69f937188d27e7 | /Graphic_CW/nclgl/Window.cpp | 6f629b6e6c53d0e1556efcc1a833428792b7d93e | [] | no_license | YiZChen/Game-Graphic | f8a80e3a2fac043791345d36e860489f3f14d6e6 | f759b2ff94fa16ef8db77f2e73cc3600cba035e7 | refs/heads/master | 2021-01-01T04:52:53.879823 | 2017-07-14T18:42:42 | 2017-07-14T18:42:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,219 | cpp | #include "Window.h"
#include "Mouse.h"
#include "Keyboard.h"
Window* Window::window;
Keyboard*Window::keyboard = NULL;
Mouse*Window::mouse = NULL;
//GameTimer*Window::timer = NULL;
Window::Window(std::string title, int sizeX, int sizeY, bool fullScreen) {
renderer = NULL;
window = this;
forceQuit = false;
... | [
"cyz8889@sina.cn"
] | cyz8889@sina.cn |
18ee311013ee5fe64414d5073f3212b97a6e42c5 | f43cb67096faba4810925f1c98bc57e6f0b38fb1 | /Pong/block.cpp | 189bd64156f8f9fd15448f37df284df972e61bfe | [] | no_license | MichaelKhalil/Ping-Pong-Game | 486837d427a9f5c1257d71954bfca43bbe6d1fcd | d2b8c00c6fc6cfb59489955b0864c18a4890d36a | refs/heads/master | 2021-01-17T17:49:39.196465 | 2016-07-01T00:11:39 | 2016-07-01T00:11:39 | 61,458,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp |
#include "block.h"
block::block(sf::RenderWindow* window){
this->Load("block.png");
}
void block::Update(){
Entity::Update();
}
void block::blockReset(int number){
switch(number){
case 0:
setPosition(280, 401);
break;
case 1:
setPosition(400, 180);
break;
case 2:
setPosition(550, 400);
break;
}
}... | [
"michael.khalil123@gmail.com"
] | michael.khalil123@gmail.com |
e6a60c24cf4ae6dbe0e441f84668e0ea23f67d5a | f18cd24af16476f7bf0e80e14c2b69dc7cc2de70 | /cpp1/ItemToPurchase.h | e9a4f006a6cef57c0288f0d687aad83f4e5f24a8 | [] | no_license | kzbigboss/2019-bc-spring-cs212 | 838ee3cf6e60f22b25c0ee2efb34eaa80a593bbc | 6c10555588061458c32625170e4af64fc526a008 | refs/heads/master | 2020-05-18T13:29:25.334343 | 2019-05-15T16:34:30 | 2019-05-15T16:34:30 | 184,440,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #include <string>
class ItemToPurchase {
std::string itemName;
double itemPrice;
double itemQuantity;
public:
ItemToPurchase(std::string, double, double);
ItemToPurchase();
double itemTotal();
std::string toString();
void MakeBlankItem(ItemToPurchase& inputItempToP... | [
"noreply@github.com"
] | noreply@github.com |
2d9f2ae77a53124b4c7561296c1bbd54ea0d0e5c | 33303d4a07598139320c796f07c614d5e901e6ef | /cpp/oneapi/dal/algo/decision_forest/backend/gpu/infer_train_cls_kernel_dpc_test.cpp | a555c0d3b4b80774b5de4422cd03cb8fb33fb77e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"Intel",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"MIT",
"Zlib"
] | permissive | bysheva/oneDAL | 7eb33dbb5aa3393c032f4e68cc1cb93fc50c0c3f | 84cb27c9afde49320670006b4ff0791ee90d73d1 | refs/heads/master | 2023-05-05T21:18:45.345237 | 2021-03-01T08:00:08 | 2021-03-01T08:00:08 | 284,727,302 | 0 | 2 | Apache-2.0 | 2021-05-29T00:02:24 | 2020-08-03T14:49:26 | C++ | UTF-8 | C++ | false | false | 14,822 | cpp | /*******************************************************************************
* Copyright 2020-2021 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | [
"noreply@github.com"
] | noreply@github.com |
0a98edbd9e9d10a460b03e733b7ba42a405b19e4 | 4b529e36321aa3e7f14f79305bc18c43bd8e4ba1 | /Tests/Solar-System/Source/Utilities/utilities.h | 43e3ce70c327fdd9c17f538c7ae8c6a3069c80cc | [] | no_license | zhangxuelei86/OpenGL-Engine | 26b07a5559629a626227d97cc9a0fc03b98158bd | b5e60d88e5aba313e38b6c4f5fe03c1e6093132c | refs/heads/master | 2022-03-13T00:38:23.263618 | 2017-07-07T02:21:37 | 2017-07-07T02:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | h | #pragma once
// External Headers
#include "stb_image.h"
#include "freeglut.h"
#include "glew.h"
#include "SOIL2.h"
#include "spdlog\spdlog.h"
// System Headers
#include <string>
#include <vector>
#include <fstream>
namespace Rendering {
namespace Utilities {
/* Load DDS Texture - using SOIL2 again */
GLuint L... | [
"pranav.srinivas.kumar@gmail.com"
] | pranav.srinivas.kumar@gmail.com |
0966a38a9e4073161aaa7c63dcbc5fdcbe418a35 | 7cf0595bcffa98c88df20bc13bc2672a127a448b | /src/cfgdecode/CfgDecoder.hpp | 726daaa417dc5dbd524ba13cf69f5fdbcf01be17 | [
"BSD-2-Clause-Views"
] | permissive | CSLDepend/bil | bbff795b65a8bc0f2cf2fd487f52fcead7083aa4 | d5f201afcfa54606db3f368cb34fa146c045b36c | refs/heads/master | 2021-05-03T17:10:36.745918 | 2016-10-27T18:56:24 | 2016-10-27T18:56:24 | 72,053,785 | 0 | 0 | null | 2016-10-26T23:42:29 | 2016-10-26T23:42:29 | null | UTF-8 | C++ | false | false | 2,073 | hpp | /**
* \file CfgDecoder.hpp
* \brief Contains declaration of CfgDecoder class.
*/
#pragma once
#ifndef BIL_CFGDECODER_HPP
#define BIL_CFGDECODER_HPP
#include <correlation/cfgextraction/CfgExtractor.hpp>
#include <mappingdb/DeviceCfgDb.hpp>
#include <xdl/model/PIPRef.hpp>
#include <xdlrc/model/Device.hpp>
namespace b... | [
"florianbenz@florianbenz.de"
] | florianbenz@florianbenz.de |
4524dc26dc22dbed3bc36cb73849383eef9ba5c0 | 3b149ff4c5bdd953a901d709ca38b03f464e348a | /problem_solving_class/DT06/2/DT06.V2.cpp | 3b2fb858702dfe328e63aa78e650bfdd49ebef83 | [] | no_license | T208FOR2/T208FOR2_2015 | 150dcffa6139d29258b2b570e08e01fb36dec31e | 030dfa76926ddbbc5bbf158b969bbbd7ed295358 | refs/heads/master | 2016-09-06T05:51:08.040266 | 2015-11-11T20:02:07 | 2015-11-11T20:02:07 | 40,606,700 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cpp | //
// main.cpp
// DT07.verkefni2
//
// Created by Silja Guðbjörg Tryggvadóttir on 29/09/15.
// Copyright (c) 2015 siljagudbjorg. All rights reserved.
//
/* Þið eigið að skrifa tvo föll sem tekur við kvik fylki og skilar max eða min af stökunum af fylkinu. Þið byrjið á að bua til kvik fylki af stærð n sem notan... | [
"kristofert13@ru.is"
] | kristofert13@ru.is |
698df84d24b094dda13fea4764da66325fc8f92c | 9ad65c9b2cbacc5b88c22cade2170e2a009ba897 | /Project02/sample.cpp | c802e2cf0321d6c8cc0cba15ab8d8cec1ff9d594 | [] | no_license | bouyal/CS450 | 121408ccb3fe0a80d8a92875f45afc758aa94d97 | 26143aa5dab4cc633ab4b6828c310499fa6a296b | refs/heads/master | 2023-03-16T01:10:19.389125 | 2018-11-05T11:37:17 | 2018-11-05T11:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,035 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#define _USE_MATH_DEFINES
#include <math.h>
#ifdef WIN32
#include <windows.h>
#pragma warning(disable:4996)
#include "glew.h"
#endif
#include <GL/gl.h>
#include <GL/glu.h>
#include "glut.h"
#include "heli.550"
// This is a sample OpenGL... | [
"alan@neadsdev.com"
] | alan@neadsdev.com |
71c147c9d25aae68a4efe92590b9903ce7f984a0 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/11_12306_100.cpp | 5ba56840c809a2c5d46a51c7134b0a1a55f4bece | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Scanner;
public class A {
public static void main(String[] args) throws FileNotFoundException {
Scanner s = new Scanner(new File("A.in"));
PrintWriter pw = new PrintWriter("A.out");
int t = s.nextI... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
72e248985f05903d998cf65f39cf8340a6aa1760 | d724be1dd2daf6835d6c18428d10f1379c3fda7b | /Assignment 3/src/test_cofold.cpp | d1c247bbf1fc20a3d31865316bb3124aa5cc9d48 | [] | no_license | maltic/cits4008 | 3695c03793a2bbe1a5b009861e701c433b79e913 | 47cc33ffcce3a875d335d1a78da8657815eea726 | refs/heads/master | 2016-09-06T05:01:57.921542 | 2014-09-02T03:34:43 | 2014-09-02T03:34:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp |
#include <iostream>
#include <string>
//include external libs
extern "C"
{
#include "cofold.h"
}
using namespace std;
int main()
{
// read in the testing set
while (cin.good())
{
string id, rna, sstruct;
cin >> id >> rna >> sstruct;
// a structure string is used to get the predicted structure from co... | [
"max@maltic.com"
] | max@maltic.com |
04aacf13dff5a6f7d1e10784891a856680056d46 | 25509aa66ad1a65663d42bf4ddbe9d1fa295fdab | /YuEngine/EventTimer.cpp | c8af15e8a324f801344ca229a90504c2bae8876e | [] | no_license | NathanVss/Noxel-OpenGL | 24b5d820d9df48bd5b68048a58ec056a3b93d28e | c48203cefc0e4eeaccb78868bd2609b2762666e0 | refs/heads/master | 2016-09-06T14:09:01.472705 | 2015-02-27T17:41:24 | 2015-02-27T17:41:24 | 29,501,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include "EventTimer.h"
namespace YuEngine {
EventTimer::EventTimer(void)
{
}
EventTimer::EventTimer(int _ticksEvent)
{
curTicks = 0;
ticksEvent = _ticksEvent;
}
void EventTimer::update() {
curTicks++;
}
bool EventTimer::isUnder(int a, int b) {
return curTicks >= a && curTicks <= b;
}
bool EventTimer::isOve... | [
"nathan.vasse@gmail.com"
] | nathan.vasse@gmail.com |
95e525570d879d039cd80875a5fa7ac1489a7d82 | 075735e3b987cb8ad5c629440ee6419ff2762f81 | /leetcode/162_FindPeakElement/FindPeakElement.cpp | ca1bb34b72194775757e76335570aeb8959aecd7 | [] | no_license | Masterqsx/ProgrammingPractice | 6f0d4c08f1857f5a409b78c9ae7cd0ec234899be | acf42fb807dc8584b4ae0081ddf65c495314eabe | refs/heads/master | 2021-01-24T20:26:17.552529 | 2019-07-22T19:16:58 | 2019-07-22T19:16:58 | 68,643,503 | 0 | 0 | null | 2020-10-13T01:11:46 | 2016-09-19T20:26:10 | HTML | UTF-8 | C++ | false | false | 596 | cpp | class Solution {
public:
int findPeakElement(vector<int>& nums) {
if(nums.size()<2) return 0;
if(nums[0]>nums[1]) return 0;
if(nums[nums.size()-1]>nums[nums.size()-2]) return nums.size()-1;
int lo=0,hi=nums.size()-1;
while(lo<=hi){
int mid=lo+(hi-lo)/2;
... | [
"qsxyh123@gmail.com"
] | qsxyh123@gmail.com |
eae251bea707e56eeacdb8c226166509df148753 | 7f780a567fa3364ae76f8a2d949618b9ad5634e8 | /lib/window.cpp | 331fb4680c9c8254c80c9f4bf430d8b3f6781390 | [] | no_license | albireoNox/gfxfun | 125914165f7ee671c484ddca10968ecb07d0db68 | 764b04c064e61b647e6a332bbf41ef40eb1863ac | refs/heads/master | 2021-07-10T09:18:09.551318 | 2021-05-11T15:08:24 | 2021-05-11T15:08:24 | 93,285,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,716 | cpp | #include "window.h"
#include "msg_debug.h"
#include <Windows.h>
#include <Windowsx.h>
#include <iostream>
#include <cassert>
using namespace std;
uint Window::numOpenWindows = 0;
LRESULT CALLBACK
handleMsgCb(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
Window* window = reinterpret_cast<Window*>(GetWindow... | [
"albireoNox@users.noreply.github.com"
] | albireoNox@users.noreply.github.com |
872293ccd8a5a7d86f3632f07aeca0fc818dd0fb | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/hana/test/_include/support/tracked.hpp | 8809a103e5b80ca887a524202a829335962ff1ab | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,572 | hpp | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#ifndef TEST_SUPPORT_TRACKED_HPP
#define TEST_SUPPORT_TRACKED_HPP
// Define this if you want Tracked objects to print information to stde... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
c47b4be70fb735d2975b162bbdec3e9f5c7ae69e | f64bcdabae3c5bc99c09afd2e35d6d34ebf3602a | /server/peer_serv.cpp | b61f042ad84e592d1c3f3a0dc2e8d1d7cc5e19ef | [] | no_license | daviddych/CppCloud | 7707a9ba2d181673f8adb2618bb607143cc5d1de | ef9999cc3ef07e7bc00ec599e58477d7769659ad | refs/heads/master | 2020-05-04T10:36:19.696966 | 2019-02-26T04:28:04 | 2019-02-26T04:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,889 | cpp |
#include <sys/epoll.h>
#include "peer_serv.h"
#include "comm/strparse.h"
#include "comm/sock.h"
#include "cloud/const.h"
#include "cloud/exception.h"
#include "climanage.h"
#include "cloud/switchhand.h"
HEPMUTICLASS_IMPL(PeerServ, PeerServ, IOHand)
int PeerServ::s_my_svrid = 0;
PeerServ::PeerServ(void): m_stage(0)... | [
"hejl@bmsh.com"
] | hejl@bmsh.com |
47465d644d252a5d4521b712ade0be0a1b98c2cf | cf840414ac8be8ac7522df540d95933e16931b27 | /Design/Firmware/Arduino_Libraries/Scoreboard/examples/ScoreboardBasic/ScoreboardBasic.ino | a1c3d8f91cd31cde47ccfab6f186b0c508d98b4a | [
"MIT"
] | permissive | plainolddave/Scoreboard | 2deed3bf2279ac88b711035c4102633cb228571c | 4e7753640fef9a8e1bb4ffbc34ecac80b06470f4 | refs/heads/master | 2022-12-12T21:10:25.137290 | 2020-08-22T01:50:52 | 2020-08-22T01:50:52 | 89,904,667 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | ino | /*
Author: Dave Skinner
Description: Hotspot controller for scoreboard
*/
// ---------------------------------------------------------------------------------
// Set the scoreboard mode - refer to ScoreboardConfigs.h for options
#define SCOREBOARD_MASTER
// --------------------------------------------------------... | [
"dave@shoal.net.au"
] | dave@shoal.net.au |
77d4663fc5869a268dbce8ba05c26909907bd8ab | cae1b99c378b36b5a15c84e53d134c39aaf0b355 | /OnlineMapTrack2RWD-StromboliRescan/OnlineMapTrack2RWD.cpp | 9ee020f30021bcaa44447c89ae7d17c48027e5ec | [] | no_license | kryssb/SySal.NET | fca1922a45fdd45d0b135601700c0e46d3637ff3 | 8453d57ab866a75dd4ba81715d56ffbeafb3bb51 | refs/heads/master | 2023-01-11T19:48:29.760409 | 2020-11-13T13:34:01 | 2020-11-13T13:34:01 | 312,584,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,964 | cpp | // This is the main DLL file.
#include "stdafx.h"
#include <vector>
#include "xml-lite.h"
#include "OnlineMapTrack2RWD.h"
#include "gpu_util.h"
#include <stdlib.h>
#include <math.h>
namespace SySal
{
namespace GPU
{
int Utilities::GetAvailableGPUs()
{
return ::SySal::GPU::GetAvailableGPUs();
}
co... | [
"cbozza@km3net.de"
] | cbozza@km3net.de |
84d66637cbfc572773610167dd277650a401dc91 | 6501d76a9eb22f81b9e4c12f710b27029dfef70d | /divide and conquer/skyline.cpp | 19a3af170f68bbb68ab68feda1a6a29a2dcbf936 | [] | no_license | hanrick2000/data-structures | fe7f4d1eb563005e945439f735c62b8c21fe79d1 | ba23723ba2d99caa7fbf42ed203b7ccf01b40088 | refs/heads/master | 2020-12-03T17:10:14.421985 | 2017-01-09T07:22:01 | 2017-01-09T07:22:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include <iostream>
#include <priority_queue>
#include <algorithm>
using namespace std;
struct building
{
int x;
int height;
bool isStart;
};
int main()
{
return 0;
} | [
"tanvisurana20@gmail.com"
] | tanvisurana20@gmail.com |
549fde02ccbdb19aee3cd2cb09f22b72befae449 | 44243644a043acf539498840d5e5ae8df20a1fe9 | /Section 13/STL/ContainerChanges/ContainerChanges/main.cpp | edf35383882c675d8c71997b7a0e305b3f50f53d | [
"MIT"
] | permissive | tiagogomesti/beg_mod_cpp | 37365b88c54eccd86b1befb1f705c56dc7cff367 | f5fbeda349cf3f1894b7e2bef495ec0a4a2fa1b5 | refs/heads/main | 2023-06-07T03:18:49.106866 | 2021-06-12T08:39:06 | 2021-06-12T08:39:06 | 381,865,204 | 0 | 0 | MIT | 2021-07-01T00:24:17 | 2021-07-01T00:24:16 | null | UTF-8 | C++ | false | false | 2,277 | cpp | #include <deque>
#include "Integer.h"
#include <iostream>
#include <vector>
#include <fstream>
#include <filesystem>
#include <set>
void Emplace() {
std::vector<Integer> vInt ;
Integer val{5} ;
//vInt.push_back(val) ;
vInt.emplace_back(val) ;
std::vector<std::pair<int, std::string>> data ;
data... | [
"noreply@github.com"
] | noreply@github.com |
5eeb84d69987f7069680241ac00233e89661ac88 | 485539af8461d2ce2119bafca181b002703b6653 | /Usaco/Chapter_3/Section_2/fact4.cpp | f6a66de1b15058b089476f258b4c05a1fdb39642 | [] | no_license | joaogui1/Competitive-Programming | f6cea58c7460011b366b04497e69cef97f86cdd1 | 8e7a0eb0f4a48ec3fd5b01b0510bc1ec7a4c46bf | refs/heads/master | 2021-06-16T21:43:57.442360 | 2021-02-06T11:26:01 | 2021-02-06T11:26:01 | 137,510,703 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | /*
ID: joaogui1
LANG: C++
TASK: fact4
*/
#include <cstdio>
#include <vector>
#include <fstream>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
long long int ans = 1LL, n;
ifstream fin ("fact4.in");
ofstream fout ("fact4.out");
fin >> n;
for(lo... | [
"joaoguilhermearujo@gmail.com"
] | joaoguilhermearujo@gmail.com |
1b892124e6155f52ce27e5b20cffc37cb98ef49d | 9f2a8b3e68533442708087dd365f80889f739bea | /include/pqxx/internal/gates/transaction-tablereader.hxx | ecfb9dff63079fa1325531be0c5aba0af50af9ed | [
"BSD-3-Clause"
] | permissive | svn2github/libpqxx | 195c5e356cea6cad9ac419b765a407c1a192a049 | 575ea1f3be63eea1f5c834eb446800ca5995aff0 | refs/heads/master | 2020-12-25T17:25:54.544025 | 2016-08-19T16:16:30 | 2016-08-19T16:16:30 | 40,840,037 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 542 | hxx | #include <pqxx/internal/callgate.hxx>
namespace pqxx
{
namespace internal
{
namespace gate
{
class PQXX_PRIVATE transaction_tablereader : callgate<transaction_base>
{
friend class pqxx::tablereader;
transaction_tablereader(reference x) : super(x) {}
void BeginCopyRead(const std::string &table, const std::strin... | [
"jtv@c3353b84-d008-0410-9ed9-b55c4f7fa7e8"
] | jtv@c3353b84-d008-0410-9ed9-b55c4f7fa7e8 |
aea48827a970be9b01e80fa811c61cf20607d803 | 83f42bc30aaf2ea058082b971a0de6975e7f9eca | /macro-benchmark/kthread_scatter.cc | d75069ad6c737b020183402675fb79cc6caa0c71 | [
"MIT"
] | permissive | RapidsAtHKUST/manymap | 68b8eb003a4c53d533d715de7fed4a5e4ead1e7c | 16ed667f93541ba901b2e3c7d118eb4b3bc3aa1b | refs/heads/master | 2022-11-07T08:28:27.901877 | 2020-06-18T08:31:33 | 2020-06-18T08:31:33 | 273,159,841 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,608 | cc | #include <pthread.h>
#include <stdlib.h>
#include <limits.h>
#include <stdint.h>
#include "kthread.h"
#include <sched.h>
#include <unistd.h>
#if (defined(WIN32) || defined(_WIN32)) && defined(_MSC_VER)
#define __sync_fetch_and_add(ptr, addend) _InterlockedExchangeAdd((void*)ptr, addend)
#endif
/************
* kt... | [
"unisolate@gmail.com"
] | unisolate@gmail.com |
5f18905843a26ad24bae146d628bf658ede8e936 | b444b77e43237b26c184762dd1cc9329c7928238 | /Shot.cpp | b33f8ba258f35d89dd8e221f8c651015076a07b7 | [] | no_license | sarjade9029/gameuploadtest_sora_hanada | 95b108e534e616e651a7ec113132bf340ccb70bd | ceb984c0cdda8f81c6b91eff54e02c1da2e40b01 | refs/heads/master | 2020-05-21T13:25:17.849281 | 2019-05-12T02:12:48 | 2019-05-12T02:12:48 | 186,071,186 | 0 | 0 | null | 2019-05-18T05:15:34 | 2019-05-11T00:45:21 | C++ | UTF-8 | C++ | false | false | 2,765 | cpp | #include "Shot.h"
#include "HitCheck.h"
//弾の初期化
void Shot::Init()
{
Graph = LoadGraph("data/texture/blueshot.png");
VisibleFlag = false;
directionflag = false;
wite = 15;
Dmg = 1;
GetGraphSizeF(Graph, &W, &H);
Ys = 10;
Xs = 10;
Shotflag = false;
}
void Shot::Setshot(Player* player)
{
//プレイヤーの画像の中央... | [
"ds215323@gmail.com"
] | ds215323@gmail.com |
ea17d0c54ffd203c94fde85545735853580af8ef | c95332a7c69f6f80afe36a703fe432f2a8bf777e | /KSPIO-HUD/Input.ino | b62212059b7c16c205cc40416f378727d3e6ece9 | [] | no_license | Scoppio/KSPIO-AVIONICS | eee83918279daf3ed5478d5516b62a503c9e762e | d0fc3e469ccc3707c9fb019f2741a0dce5819388 | refs/heads/master | 2020-05-20T09:33:17.035416 | 2015-09-20T03:26:59 | 2015-09-20T03:26:59 | 42,062,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | ino | int input() {
int returnValue = -1;
now = millis();
if (KSPBoardReceiveData()){
deadtimeOld = now;
returnValue = id;
switch(id) {
case 0: //Handshake packet
Handshake();
break;
case 1:
//Indicators();
break;
}
//We got some data, turn the green led on
//di... | [
"lucascoppio@gmail.com"
] | lucascoppio@gmail.com |
d61bb0379447f5a2350ca4c06c8f914c1117220c | 7a7ee8cca53e90f3876c5467162cb0eb9b3bcf9d | /Engine/Logic/gkObjectNode.cpp | 31ea1a87fd4677dd4f0bbbcd4b67b8414b84ca58 | [] | no_license | cnsuhao/gamekit | 1a7818426c5235330417c84d927f26e2cc14616d | 7f898af29bb19ccb0995e39276a01a3adf0169a0 | refs/heads/master | 2021-05-26T20:06:36.266706 | 2012-05-20T17:00:26 | 2012-05-20T17:00:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,800 | cpp | /*
-------------------------------------------------------------------------------
This file is part of OgreKit.
http://gamekit.googlecode.com/
Copyright (c) 2006-2010 Charlie C.
Contributor(s): Nestor Silveira.
-------------------------------------------------------------------------------
... | [
"exeqtor@gmail.com"
] | exeqtor@gmail.com |
c8a913425cc62bfcc174d4ec65db9c1526dbc8dd | a176813cf63402278dc21cef757f6092387f560a | /src/chain.h | 3717875bb18f6f221e3446d67304087d6ecdeb67 | [
"MIT"
] | permissive | Voicoin/master | 1a6ff0d2bf1f5c124717ae3f21fd9c2d4495388d | 3a2e01cca1c76fd99db508a07a4ddd896d7a6e64 | refs/heads/master | 2020-04-04T14:38:30.001202 | 2018-11-25T00:01:05 | 2018-11-25T00:01:05 | 156,006,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,400 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The voi Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"exafanizol@gmail.com"
] | exafanizol@gmail.com |
6a752bd72748e2f859738561223fe948b3bebd11 | 69c184211f0f89691116d3b4af17ceaf4c50225d | /src/bullet_physics_component.h | e894521b43a1fb722014922f1e5c75c2eaf75c4e | [] | no_license | calebpalmer/spacegame | 0e29fb331d067180b630c33ade057a4c5f616057 | 2685bda4dbf4d1d8c5cb4e666542521b99ff67e0 | refs/heads/master | 2021-01-01T17:09:31.293192 | 2015-03-22T10:30:40 | 2015-03-22T10:30:40 | 15,512,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #ifndef BULLET_PHYSICS_COMPONENT
#define BULLET_PHYSICS_COMPONENT
#include "gameobject.h"
class BulletPhysicsComponent : public PhysicsComponent {
public:
BulletPhysicsComponent(int width = 10, int height = 10);
virtual void update(GameObject* object, double timestep);
virtual CapEngine::Rectangle bounding... | [
"palmer.caleb@gmail.com"
] | palmer.caleb@gmail.com |
0b4d1f67331dc9bb02df350cdba6aea556628676 | cbe732f5d619086c4feabb57d7c456c1fa116631 | /Ch 6 - Objects, Classes and Inheritance/Ex01 - Inheritance/Human.h | 2c0befbc914b18cdaeae955e85b242c9b5483424 | [] | no_license | aadarshasubedi/Learning-CPlusPlus-by-Creating-Games-w-UE4 | 3e7387b10c142fb453cebb8d27a9d1144514eac7 | 9051530f1a0177313fb3a0d83f350227653f3d9d | refs/heads/master | 2020-12-11T04:09:02.573093 | 2016-03-11T23:16:17 | 2016-03-11T23:16:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | h | #pragma once
#include "Mammal.h"
class Human : public Mammal
{
bool civilized;
public:
Human();
~Human();
virtual void talk() override;
virtual void walk() override;
void attack(Human &other);
};
| [
"markums@gmail.com"
] | markums@gmail.com |
96dfc38ff131dd63fc1c6a66d00d160a322ef7a3 | d472433029b4642bdd8d272b173bc2cc8c52ae5d | /2/496.cpp | 680c35b9f771765c931b4fecdbe442b80817b004 | [] | no_license | hostgame/algorithms | 085ecb9ccd2d90da7a0555c6ccc340e18fb54f02 | b5933945c697fc327dd3202d94e86e290c6f85ee | refs/heads/master | 2020-03-17T05:17:09.967142 | 2018-05-15T06:07:59 | 2018-05-15T06:07:59 | 133,310,015 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp | #include <bits/stdc++.h>
using namespace std;
int digits (int n)
{
int number_of_digits;
do {
++number_of_digits;
n /= 10;
} while (n);
return number_of_digits;
}
int main ()
{
string linea;
string lineb;
while(getline(cin, linea))
{
getline(cin, lineb);
... | [
"ershov_g@auca.kg"
] | ershov_g@auca.kg |
c4c485cd107b1aec0abc4ceadbfc48822dd3a3ca | 639287c8055492a861d48b8805aa7f5503c03f99 | /examples/OC10_ToggleOutput/OC10_ToggleOutput.ino | 8df7ca9ae4e4f5e85f0dddbddf72c658025f3dd8 | [
"MIT"
] | permissive | xinabox/arduino-OC10 | 85d5090ac1af68fac05b51588e49e44a205abdb6 | 086f3af5e3d0797b9e0b6b9151eb6420b19aec02 | refs/heads/master | 2020-04-05T07:30:10.477281 | 2019-05-15T09:03:54 | 2019-05-15T09:03:54 | 156,677,662 | 0 | 1 | MIT | 2019-05-15T09:03:55 | 2018-11-08T08:54:13 | C++ | UTF-8 | C++ | false | false | 1,143 | ino | /*************************************************************
This is an examples for the OC10
Mechanical Relay
You can buy one on our store!
-----> https://xinabox.cc/products/OC10/
This example in structs the OC10 to turn its output
on and off
The sensor communicates over the I2C Bus.
****************... | [
"brendanvanbreda1993@gmail.com"
] | brendanvanbreda1993@gmail.com |
9d236b1a6d32fdcfe006d00122ec3469125b8eed | 4e940e92366d286de5c1d15fdbd2444dcc0f80f3 | /bag/bag/utility.h | d636f08cc02c8107839f5faac82108adf293fe07 | [] | no_license | dsball/CSC-161 | 54305ed977da3ec5f7c33bcae21d8ceec8b28c01 | ac0b01e523099a90b9321448dc7f6aa1b70ffe63 | refs/heads/master | 2016-08-07T06:37:09.121213 | 2013-02-16T19:52:28 | 2013-02-16T19:52:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | /*------------------------------------utility.h
Purpose: provides general utility functions, headers, and generic using declarations.
--- Member Data ---
Name Type Description
-------------------------------------------------------------------------------------------
none
--- Functions --... | [
"wolfwoodster@gmail.com"
] | wolfwoodster@gmail.com |
275c5a98f2da1217309c8d5dbe2e47a45ea9c897 | b81ab5ab0c18277ec2a99a1774001d1958d42460 | /src/bitacora.h | 73009f23a1388017da6705b012b0975cd7e578bd | [] | no_license | threevanny/Simulation-Elevator-algorithm | 1eb06fd1a7101390d46d0cbef602d0defd724a86 | e1abeefab5aa865e3f95322421e009a7033f9ce6 | refs/heads/master | 2022-09-22T06:04:13.658538 | 2020-06-03T22:45:05 | 2020-06-03T22:45:05 | 226,188,191 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 725 | h | //bitacora.h
#ifndef BITACORA_H
#define BITACORA_H
class Piso; //declaración forward
class Bitacora{
private:
void programaTiempo(const Piso & ); //tiempo de la bitacora de llegada a piso
void tiempoRetardo(const Piso & ); //tiempo de retardo de llegada piso
void creaNuevaPersona(Piso & ); //crea nueva per... | [
"ggeovannyreyes@gmail.com"
] | ggeovannyreyes@gmail.com |
8007a3c74c45710b73a5607779432f2507a24dce | 8f9ea3f14bdf2187de759939b2bbc87fe68ccfc0 | /tensorflow/stream_executor/stream.h | 3da1b856d6a41fa0c8d5a77feac33932da392422 | [
"Apache-2.0"
] | permissive | davidstanke/bazel-mvn-demo | 4ea43f0ba293a28b916a27eab5f0812e9b753c2c | cff14dddce15ea7152988da576673bd15bab6c6e | refs/heads/master | 2022-10-20T07:52:29.651851 | 2018-11-22T13:17:51 | 2018-11-22T13:17:51 | 157,782,756 | 2 | 0 | Apache-2.0 | 2022-10-04T23:47:05 | 2018-11-15T22:54:09 | C++ | UTF-8 | C++ | false | false | 112,403 | h | /* Copyright 2015 The TensorFlow 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 a... | [
"davidstanke@gmail.com"
] | davidstanke@gmail.com |
629e49e4d50350464604885370edd0036d602001 | 8a77912f1e88b58198ca0d0dd872a4ad0382fecd | /src/SFMLContext.cpp | 66f64ce7ead5de49ef417eb67703d43951cb873c | [] | no_license | ccfreak2k/system65emu | 34cbca4c153aa2c102cbc54476e7c423c327969d | 528044f4dbe9abf56bd3cbfac14df665f7d3ba7d | refs/heads/master | 2021-01-10T13:34:02.586779 | 2015-09-10T08:08:33 | 2015-09-10T08:08:33 | 44,884,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include "SFMLContext.hpp"
//------------------------------------------------------------------------------
// Public
//------------------------------------------------------------------------------
const char *SFMLContext::m_szWindowTitle = "System65 Emulator";
SFMLContext::SFMLContext(int width, int height)
{
m_W... | [
"ccfreak2k@gmail.com"
] | ccfreak2k@gmail.com |
fea294a4f465334852fd371ffc2555b27522d8d9 | 3ce3e3e4e32228847db7b16b268b05a97d478dbf | /huawei/CountsNumberOne/CountsNumberOne/main.cpp | 2583dea132d437fac7da24c98b8fa630bcb71ef9 | [
"Apache-2.0"
] | permissive | RainChang/My_ACM_Exercises | 4d97073ed3da0fab63952dab61803fffe7e0edf0 | 36872bdcb49cbb3eebde4bb9c7d154d057775b72 | refs/heads/master | 2021-01-22T19:09:39.021713 | 2017-06-26T14:05:39 | 2017-06-26T14:05:39 | 85,173,294 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | //
// main.cpp
// CountsNumberOne
//
// Created by Rain on 09/03/2017.
// Copyright © 2017 Rain. All rights reserved.
//
#include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
cout<<~(-1)<<endl;
return 0;
}
| [
"rain@RaindeMacBook-Pro.local"
] | rain@RaindeMacBook-Pro.local |
9efe3bcb4c0ddba47448773d985b143abf4c146a | 44a4f7361a9c4cdd416fe34a8ca8f0bf5d688f58 | /MP2Node.h | b85bfde29f6ad65ea43c0ffd49097ea28770d56d | [] | no_license | mimikian/Key-Value-Store | 524e702e1a3b3622f1d9e1e13f66de2a0f805063 | 2288600895af44a678dcb20d6cbb240a780b95bb | refs/heads/master | 2021-01-12T08:25:55.215625 | 2016-12-15T17:00:07 | 2016-12-15T17:00:07 | 76,576,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | h | /**********************************
* FILE NAME: MP2Node.h
*
* DESCRIPTION: MP2Node class header file
**********************************/
#ifndef MP2NODE_H_
#define MP2NODE_H_
/**
* Header files
*/
#include "stdincludes.h"
#include "EmulNet.h"
#include "Node.h"
#include "HashTable.h"
#include "Log.h"
#include "... | [
"Abanoub.aziz92@gmail.com"
] | Abanoub.aziz92@gmail.com |
ea1a9622b504f4447281a51e5d5a660a6df858ac | be0863609303ae28d2370eb24b075bc3c6c982f9 | /Energy_Shield/DemoQuickStart/ADE7753.h | 55b5eecf649f1dc54dfc14ae1f889c83a03b2ca0 | [] | no_license | JMCeron/Arduino | 96bf978338834d31d39aa41d3079a41f7b340555 | 25266100cfe605c03bece30f0643e57712be20fc | refs/heads/master | 2020-03-09T15:30:05.004677 | 2018-04-10T02:26:57 | 2018-04-10T02:26:57 | 128,847,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | h |
/* ==================================================================================
File: ADE7753.h
Author: Eduard Martin
MCI Electronics
www.olimex.cl
Description: Header File, Data types, objects definition of WIZ610 Class.
Target Device: Arduino Duemilanove, U... | [
"jose.ceronc@utem.cl"
] | jose.ceronc@utem.cl |
287ea63f3b97149952333b724f7463dac2c75c60 | f97088a7962793f9d39446176f54461a87b00e73 | /program 9/hTable.h | e40f173638db25b83a2daec8625626933c84991d | [] | no_license | andyoliv24/CSCI_340 | 1679f2475d85aa93c3a2e981c9e42e8f7d2412ca | 44d7ca67ac429e49628df5ed553126131df4d4a7 | refs/heads/master | 2022-12-10T20:30:18.939402 | 2020-08-24T20:45:39 | 2020-08-24T20:45:39 | 290,034,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | h | #include "Entry.h"
#ifndef H_HASH_TABLE
#define H_HASH_TABLE
#include <iostream>
#include <iomanip>
#include <vector>
#include <list>
#include <algorithm>
using namespace std;
// class for hash table
class HT {
public:
HT ( const unsigned& = TBL_SZ ); // constructor
~HT ( ); // d... | [
"Andy_240311@hotmail.com"
] | Andy_240311@hotmail.com |
9e993a7b77d20f275674814370bf271b9e737d6f | 5758fdcffd2b4c8ce837f541f80887d128190e65 | /src/tasks/tasks.cpp | eaae9857faa4edf3241474dca71dc4c99a57bf8b | [
"MIT"
] | permissive | zsoltmazlo/indoor-controller1 | db7bd87bd122a651cdddb8d9702fbacd605ca9b4 | 1443e999dc6c18b06e969c83644762384b6576ec | refs/heads/master | 2021-04-03T07:17:53.737238 | 2018-03-09T21:58:30 | 2018-03-09T21:58:30 | 124,587,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,131 | cpp | #include "tasks.h"
#include <Arduino.h>
#include <ArduinoJson.h>
#include <cmath>
#include "Configuration.h"
#include "debug.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "Configuration.h"
#include "DS18B20.hpp"
#include "ButtonEvent.h"
void tasks::display(void* args) {
auto task = tasks::... | [
"zsolt.mazlo@gmail.com"
] | zsolt.mazlo@gmail.com |
90a093846899792ab6de8512eb0e979ee4d61783 | 29b8a3032a29e29720ab1abb4493d4a6b143dd79 | /src/LEDBlink.h | 057f27f0d786fa031d118f17d47bc1ba554be51d | [
"MIT"
] | permissive | iamdev/ESP8266-STM32IO-4CH-LCD | 9cbd328593da2d2163ba78da5c95a75dbc0d879f | b18e3214cb2c93c591191e0550234ba2d7892c2c | refs/heads/main | 2023-03-30T04:46:19.254961 | 2021-03-26T05:58:42 | 2021-03-26T05:58:42 | 351,637,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | #ifndef _LEDBlink_H
#define _LEDBlink_H
#include <Arduino.h>
class LEDBlink{
public:
LEDBlink(uint8_t pin,int onState=LOW);
void begin();
void loop();
void setPeriod(int period,int on_ms);
void setPattern(const int n,...);
void enable(bool en=true); ... | [
"kamon.dev@hotmail.com"
] | kamon.dev@hotmail.com |
735c3610496bcb7a3318dbb4c3994d1517dae345 | badbdcc98d5594feadc95a3538163518be43626c | /host-opengl-render/ReadBuffer.cpp | 39e167b68c7951c89be7d9f6011099af940152bb | [] | no_license | jacksunshine6/qemu-of-arm-android | 961dbd31f672c9d2aa751012c6237b468124a120 | ca2000f6cd42a0940df5deb386d46af48207d01e | refs/heads/master | 2023-01-07T23:22:12.555512 | 2020-11-08T02:30:38 | 2020-11-08T02:30:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | /*
* Copyright (C) 2011 The Android Open Source Project
*
* 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... | [
"jianglin@xdja.com"
] | jianglin@xdja.com |
22983f366d49c1264cbf062ed8c0640ff5bf0d27 | 9586c70bf182ece97b7186cf370dfaec2173071c | /src/ufo/groundgnss/ZenithTotalDelayMetOffice/ObsGroundgnssMetOfficeTLAD.cc | b63d7f2c51c760d0ed7538a40a047628bfa585bd | [
"Apache-2.0"
] | permissive | scogre/ufo | 81cd44a762b146c6c9eaf49d78a271c596106c1f | 2af9b91433553ca473c72fcd131400a01c3aabdb | refs/heads/master | 2023-08-11T02:21:26.356648 | 2021-06-11T22:28:50 | 2021-06-11T22:28:50 | 415,057,301 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,360 | cc | /*
* (C) Copyright 2021 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "ufo/groundgnss/ZenithTotalDelayMetOffice/ObsGroundgnssMetOfficeTLAD.h"
#include <ostream>
#include <string>
#inclu... | [
"noreply@github.com"
] | noreply@github.com |
50c75771544bf5927640da4c41c1f4c6cd935ea5 | be30e126df12d9ac6087ab8f82101c6b932121c8 | /game_sa/CCutsceneShadow.h | 0d4ac5b3269c11623ef61898da736cc471684169 | [] | no_license | ArnCarveris/gta-sa-plugin-sdk | fc53265bbce06de9276ad2a289e50505aaea2d52 | f64548b0f588856d2da6100cd1c69a5880f89fd2 | refs/heads/master | 2020-05-20T15:46:06.287895 | 2014-02-23T14:07:29 | 2014-02-23T14:07:29 | 34,955,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | h | #pragma once
#include "plugin\plugin.h"
#include "CShadowCamera.h"
#include "RenderWare.h"
#include "CSphere.h"
#pragma pack(push, 4)
class PLUGIN_API CCutsceneShadow
{
public:
class CPhysical *m_pOwner;
unsigned __int8 m_bCreated;
unsigned __int8 m_nIntensity;
CShadowCamera m_Camera;
unsigned __i... | [
"dk22_@mail.ru@a08e2604-8956-8f2e-fb63-2a67f058b60e"
] | dk22_@mail.ru@a08e2604-8956-8f2e-fb63-2a67f058b60e |
3206c841c8f185488410b82f22865ada5c66ab50 | d28cf0304cc6f4c8e23a3997761bccd0559def50 | /wrap-debug/wrap_mode.cpp | 04075ab4d7d70e0c5956dad2f2758962744ede43 | [] | no_license | xiangyubo/effective-cpp | 411255e0cc6b129a6104412b923dcd824eed15fc | ac76956483138faae8f7b42a1e4240ec0c1eba21 | refs/heads/master | 2020-05-20T06:26:36.845283 | 2014-09-17T00:12:56 | 2014-09-17T00:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | #include"wrap_mode.h"
void wrap_mode::run(void *args)
{
if(_DEBUG)
{
func(args);
}
} | [
"xyb19910413@163.com"
] | xyb19910413@163.com |
1755716f2f293a6649751235f82318ccfa956daf | dacb73add7e2744e7ed05d034a51498a0d760562 | /src/LeastSquaresFit.cpp | cb48ef475818327f7b8c06bf6f7b30aff17a7e34 | [
"MIT"
] | permissive | Dusty-M/CSC_499_Progressive_Analytics | 7d5dad70f2d56975bbafe85015e6b268363b0a8b | 2c7a4f279b6c5ff097d872a7ca15cc4f136439dc | refs/heads/master | 2022-06-02T23:45:07.405174 | 2020-05-04T07:38:19 | 2020-05-04T07:38:19 | 237,876,114 | 0 | 0 | MIT | 2020-05-04T07:38:21 | 2020-02-03T03:17:31 | C++ | UTF-8 | C++ | false | false | 18,370 | cpp | // LeastSquaresFit.cpp
#include "LeastSquaresFit.hpp"
#include <iostream>
#include <utility> //std::pair
#include <numeric> // std::inner_product
#include <chrono>
#include <memory>
#include <algorithm> // std::sort
using vec_col_float = std::vector<ColumnData<float_data_type>>;
using vec_col_int = std::vector<ColumnD... | [
"leodmiller@gmail.com"
] | leodmiller@gmail.com |
8d22b48030d6078f91caa219e1d7b97927d22d4f | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8381/Perelygin_Dmitry/Lab4/Deus_Vult/crusader_fabric.cpp | ec2013713215c86e6f5ca632a84a5f92ad8ece6c | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 707 | cpp | #include "crusader_fabric.h"
// Реализация параметризированного фабричного метода
Unit* Crusader_fabric::createWarrior ( Warrior_ID id, int new_name, class Field *new_field, Base* new_base )
{
Unit * p = nullptr;
switch (id)
{
case Infantryman_ID:
p = new Cr... | [
"noreply@github.com"
] | noreply@github.com |
bcef4451cfd9025245683892619fc130a0d018df | 755683f02780fcbf4f274a3b45865127424c0e05 | /upgraded/upgraded.ino | c4811d6bfd0fffbbbb688772834246869805cee0 | [
"MIT"
] | permissive | kvatigabi/projectTechnology19 | aa78979d79bbde81174e944ad8d9b7fa31921ca1 | 931ea1354b33c92ce06752388ebd8ec6bca6fd55 | refs/heads/master | 2023-05-26T07:01:40.733233 | 2023-05-17T19:10:22 | 2023-05-17T19:10:22 | 242,745,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,026 | ino | #include <Servo.h>
#define LED_NOTIF A0 //notification led to let us know if changeLights is running
#define LED_G1 2
#define LED_Y1 3
#define LED_R1 4
#define LED_G2 5
#define LED_Y2 6
#define LED_R2 7
#define LED_G3 8
#define LED_Y3 9
#define LED_R3 10
#define TRIG 11
#define ECHO 12
#define SERVO_PIN 13
bool isTu... | [
"kvatigabi@gmail.com"
] | kvatigabi@gmail.com |
06577aee9dca7a3948ee1a0d67d30ea5c3df36bb | e21752f3832a27bab5850ac8177a31ff06e93fbb | /src/Platform/Linux/System/Future.h | 0e5495f52eba5ce438b89889bbeb1489932e23ac | [] | no_license | Cryolitecoin/cryo | 9d76a84f80bd3e768505ad2493039df353e5b2c8 | 829637a0908bb558cb4fae5fb94448ebc003274e | refs/heads/master | 2020-04-15T19:25:56.992088 | 2019-01-12T16:29:20 | 2019-01-12T16:29:20 | 164,949,378 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2018 The Circle Foundation
// Copyright (c) 2019 The Cryo Network
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <future>
namespa... | [
"38926162+Cryolitecoin@users.noreply.github.com"
] | 38926162+Cryolitecoin@users.noreply.github.com |
1cb2436a2f683f84d0555aece981a6496c81b693 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_TradeOption_SummerBash_Swimshirt_Alpha_parameters.hpp | 2923059550efc5292f96727505d06cabaa10f0c7 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 830 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_TradeOption_SummerBash_Swimshirt_Alpha_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
79950d5f20e849ebd3ce5d39d6c501c5ee25f511 | 0f4164a87c940a2990933ea678acbe34aefec7a3 | /World.h | df1170bf16b7caa42db250a876ffabd2ad50286a | [] | no_license | jonsim/test-game | d851748430bddf441496032350ce1222692c269f | e0222cf355d18b8e8f434bdc0ccdfe27c9e66267 | refs/heads/master | 2020-05-20T06:04:43.865131 | 2012-07-29T19:16:20 | 2012-07-29T19:16:20 | 5,215,521 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | h | #ifndef WORLD_H
#define WORLD_H
//---------- INCLUDES ----------//
#include <Terrain/OgreTerrain.h>
#include <Terrain/OgreTerrainGroup.h>
//---------- DEFINITIONS ----------//
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
class World
{
public:
World (Ogre::SceneManag... | [
"jonathansimmonds@gmail.com"
] | jonathansimmonds@gmail.com |
02d2868a62f33cc2bf7ba19974ce88c5821233cd | 1a6abd31e69d5e3ac7fb4f6089b5e5edbd1bce5a | /Main/Song.cpp | f0875bf8b4b71dd9c2f5e3eb6cf41b19f7e66b50 | [
"MIT"
] | permissive | ojasva/PecoBeat | 2b3b88bd7ba128b807756d472464931b9af976e0 | 1d2b070eeb467f97c3f19119bef69973b71b25e9 | refs/heads/master | 2020-04-12T05:44:01.980829 | 2018-12-18T18:32:31 | 2018-12-18T18:32:31 | 162,330,113 | 0 | 0 | null | 2018-12-18T18:30:39 | 2018-12-18T18:30:38 | null | UTF-8 | C++ | false | false | 5,380 | cpp | /*
* Copyrights (c):
* 2001 - 2008 , Werner Freytag.
* 2009, Haiku
* Distributed under the terms of the MIT License.
*
* Original Author:
* Werner Freytag <freytag@gmx.de>
*/
#include "Song.h"
#include <Alert.h>
#include <Looper.h>
#include <Message.h>
#include <MidiDefs.h>
#include <Wind... | [
"mmadia@157b0fc8-90a9-4247-b30d-6697653e9eed"
] | mmadia@157b0fc8-90a9-4247-b30d-6697653e9eed |
1dfb0f2d377645f26973bcdafcd703165604356a | 1acdf59ed9bae5dbcdb53aad114f524e23ca6ad5 | /model.cpp | 7c19ae2cd4ecece2575fffc69767a254251e9a16 | [] | no_license | gantony/keystrokes-visualizer | c4e03b607dddd3b543c4942239b1bb03985e8314 | 3e275fa57785cdd2850ce017ec345f6b4642f9f5 | refs/heads/master | 2020-04-19T00:41:03.086338 | 2019-02-25T22:05:32 | 2019-02-25T22:05:32 | 167,853,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,469 | cpp | #include "model.h"
#include <QEvent>
#include <QKeyEvent>
#include <QDebug>
#include <QtGlobal>
Model::Model(QObject *parent) :
QAbstractListModel(parent),
onlyShowLasts(false),
numToShow(0)
{
Event e;
e.key = 10;
e.text = "TEST";
events.push_back(e);
}
int Model::rowCount(const QModelInd... | [
"antony.guinard@gmail.com"
] | antony.guinard@gmail.com |
2a896d60d888f7979693401dbc3ded1d81bcbcb4 | ef2ea07785f8af5733246f61c91ff12fb09b7d7a | /leetcode/Sort List.cpp | 163b4a67b240a34da0a3a67c49e1bbac9725d403 | [] | no_license | baoxuezhao/solution_set | 35a77cd8db76d0d1334babf7e74647a517d8bcce | 56a4fdc6dcb3fe7879d5a1239de9c57af356d54d | refs/heads/master | 2021-10-02T21:51:12.607669 | 2018-12-01T09:27:36 | 2018-12-01T09:27:36 | 23,954,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
//solution 1, need to find the middle node at each round.
class Solution {
public:
ListNode *sortList(ListNode *head)
{
if(head == NULL || head... | [
"baoxue.zhao@gmail.com"
] | baoxue.zhao@gmail.com |
aab38f4c4d4230a169f63ebc21f43cbd1b6bf247 | 628dce1a2795189d285317f6105bf7ead5e4e004 | /FPGA_Files/Projects_Testing/resizer/resizer/resizer.srcs/sources_1/bd/Pixel_Control/ip/Pixel_Control_auto_pc_0/sim/Pixel_Control_auto_pc_0_sc.cpp | 7a62eb682d59b9e80974777b8ddd3725045316a8 | [
"BSD-3-Clause"
] | permissive | mfkiwl/ReconHardware | a876a2a672cad386304fd58db52c83b36ebe2c48 | 75a3448eedefa4232fc250dd05aa6d0ca60bbc1a | refs/heads/master | 2023-05-13T18:44:27.532488 | 2021-03-13T04:04:27 | 2021-03-13T04:04:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,020 | cpp | // (c) Copyright 1995-2020 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | [
"d.cain2740@gmail.com"
] | d.cain2740@gmail.com |
66be6efd7e849f0ccb89c0a78860d65906b68466 | d29e4e39225e2f70c67b9f0e464b5a4d77b7d540 | /3rdparty/indi-mgen/mgenautoguider.h | c4f3f90ce5bcc0f2fde1187e7551d6890969fb90 | [] | no_license | FrankGrossmann/indi | 3b781efb8c0539cacac064902c0c38041930e52d | 765adb1220a7f40dc8f88912415fe839ce26ecc3 | refs/heads/master | 2021-01-22T10:50:55.676311 | 2017-05-25T21:25:18 | 2017-05-25T21:25:18 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 8,817 | h | /*
INDI 3rd party driver
Lacerta MGen Autoguider INDI driver, implemented with help from
Tommy (teleskopaustria@gmail.com) and Zoltan (mgen@freemail.hu).
Teleskop & Mikroskop Zentrum (www.teleskop.austria.com)
A-1050 WIEN, Schönbrunner Strasse 96
+43 699 1197 0808 (Shop in Wien und Rechnungsans... | [
"eric.dejouhanet@gmail.com"
] | eric.dejouhanet@gmail.com |
04765e18750f02c94f3f87c4e5a532eae5dd4226 | e95c718e8db049cf605ef3c8926de9dc4fc1631f | /10872.cpp | df5e9864e2565c53ddd3ac352ea4fd176ff76318 | [] | no_license | jsh15932/BOJ_Solve | d4aa202a7b6f19fa5cde7e3c4443eb8bc1dfd97f | b32cf323cf447188edef50e750ee37a8e4b8119d | refs/heads/master | 2022-11-23T04:04:00.934426 | 2022-11-17T14:00:01 | 2022-11-17T14:00:01 | 253,563,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int fac(int n) {
if(n == 0) {
return 1;
}
else return n * fac(n - 1);
}
int main() {
int n;
cin >> n;
cout << fac(n);
}
| [
"noreply@github.com"
] | noreply@github.com |
666e6982446098eb4e29fb579200a20b212bbc84 | d3390faaf4a661412b6d173b8964566d97fc81a8 | /addons/ares_compositions/Ares/Military Structures/Bunkers/Observation Bunker.hpp | 81862c318159d7856762b1df2c74f0ecbd29f35a | [
"MIT"
] | permissive | TacticalBaconDevs/TBMod | ce6b6dcdbc887fa642db93ce63433ba14e94f88c | acc54a6014758f2fcff7d305a816b3cb95c4180b | refs/heads/master | 2022-11-03T10:14:12.769187 | 2022-10-28T14:01:56 | 2022-10-28T14:01:56 | 142,904,755 | 11 | 2 | MIT | 2022-10-28T14:01:58 | 2018-07-30T17:05:47 | C++ | UTF-8 | C++ | false | false | 1,378 | hpp | class Object1 {side=8;vehicle="Land_BagBunker_Small_F";rank="";position[]={0.189453,1.06055,-0.00143886};dir=179.087;};
class Object2 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={-1.26758,-3.54688,-0.00243902};dir=0;};
class Object3 {side=8;vehicle="Land_BagFence_Long_F";rank="";position[]={1.73242,-3.541... | [
"noreply@github.com"
] | noreply@github.com |
39f56f3bde7b52daed009bee49d362e782e4d24b | b7d5640a8078e579f61d54f81858cc1dff3fa7ae | /GameClient/src/player/lobbyplayer.cpp | 4eb85b33d2dc0b97b6509612d0d9ed9a3d7560d4 | [] | no_license | gemini14/Typhon | 7497d225aa46abae881e77450466592dc0615060 | fa799896e13cdfaf40f65ff0981e7d98ad80a5f0 | refs/heads/master | 2016-09-06T14:34:11.048290 | 2011-10-22T07:12:33 | 2011-10-22T07:12:33 | 1,990,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include "player/lobbyplayer.h"
#include <cstring>
namespace Typhon
{
LobbyPlayer::LobbyPlayer()
: type(AI), name(L"Bot"), perfScore(0), ready(true), refreshTime(0)
{
memset(&sourceAddr, 0, sizeof sourceAddr);
sourceAddr.sin_family = AF_INET;
}
LobbyPlayer::~LobbyPlayer()
{
}
}
| [
"zwillinge14@gmail.com"
] | zwillinge14@gmail.com |
3ec96fde62547ca22ee542e29d3ce2d51e2a1f35 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /content/browser/frame_host/debug_urls.cc | f66e16a2ebc2c55c3c2e961a7a43dde5a9187d61 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 6,583 | 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 "content/browser/frame_host/debug_urls.h"
#include <vector>
#include "base/command_line.h"
#include "base/debug/asan_invalid_access.h"
#include... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
34cd1799f0259fe5f16c8c46bb286d1be78db35f | f8e7ef7df32f2c82894c0a24598ce39eea7ced64 | /mamigoShared/include/RWDecorator.h | 1898ef26eb27ca052f6dbde0b437ba5f40f489f8 | [] | no_license | Pyq2022/ImageSensor-ext | 29fc3877f4cb33e82dd6e19d36edd694a23db7e3 | 318a39a14c5e287374f62561c49cf8fc6b02e64f | refs/heads/master | 2023-03-17T00:42:00.436507 | 2020-08-11T07:59:44 | 2020-08-11T07:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | /*
* ReaderDecorator.h
*
* Created on: 07-Apr-2010
* Author: akhil
*/
#ifndef RWDECORATOR_H_
#define RWDECORATOR_H_
#include "ReaderWriter.h"
class RWDecorator: public ReaderWriter {
public:
RWDecorator(ReaderWriter *);
virtual ~RWDecorator();
virtual int Read(unsigned char *ptr,int numbytes,int starpo... | [
"23217476+apotnuru@users.noreply.github.com"
] | 23217476+apotnuru@users.noreply.github.com |
d4615c7479d3646b68d4597d527f7a5d3fc247d1 | 7655ad7d6e8464a4e8b51b79ba870e3de40767c2 | /courseWork/courseWork/Parser.cpp | fb5bebe2126e47ea0a5e8caa31d2d186a904a18e | [] | no_license | Persik3D/ProgrammingTechnology | fdd1fac30b07aaffa362df279f82b8db72754132 | de218aa6dbcc30a758f906bc9a217932d5826de5 | refs/heads/master | 2020-05-20T16:44:18.615187 | 2019-05-11T09:37:51 | 2019-05-11T09:37:51 | 185,671,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | cpp | #include "Parser.h"
#include <math.h>
#include <string>
#include <vector>
#include <cmath>
#include <cctype>
#include <cstring>
#include <stdexcept>
using namespace std;
string Parser::parse_token() {
while (isspace(input[n])) ++n;
if (isdigit(input[n])) {
string number;
while (isdigit(input[n]) || input[n] ==... | [
"mikov.e.p@gmail.com"
] | mikov.e.p@gmail.com |
df757bc57b2e00b163a5b721347642a009e08f8a | d0d5fac9b0635f75dc211ceb68d16e9b4399bb11 | /src/hiphop-php/hphp/runtime/ext/ext_reflection.ext_hhvm.cpp | a3d347cf8128743a6d9562a162e2641a353e3f05 | [
"PHP-3.01",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | NeoTim/hiphop-php-docker | 2ebf60db2c08bb93aef94ec9fab4d548f8f09bf4 | 51ae1a35e387c05f936cf59ed9d23965554d4b87 | refs/heads/master | 2020-04-16T09:17:51.394473 | 2017-12-03T18:45:36 | 2017-12-03T18:45:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,459 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | [
"mikesjett@gmail.com"
] | mikesjett@gmail.com |
45dabe91c423b7866910fd031b48711574abf8c1 | 7b498c2b4a2b8b95f3cc28a26de78df09ad6c001 | /NewUser/NewUser.h | 587aacf40b9c7a34c636fa83d695a83b7719f50f | [] | no_license | luispaulot/tp2_pac | ede27365f01af0b6779f69ab98e2c8ffb0807808 | 6804ff7fa038b52a23b5e1916bd0a40b03557ba0 | refs/heads/master | 2016-09-05T17:02:59.379153 | 2015-06-10T02:50:53 | 2015-06-10T02:50:53 | 35,701,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,566 | h | ///-----------------------------------------------------------------
///
/// @file NewUser.h
/// @author LuisPaulo
/// Created: 07/06/2015 17:10:56
/// @section DESCRIPTION
/// NewUser class declaration
///
///------------------------------------------------------------------
#ifndef __NEWUSER_H... | [
"luispaulo1011@gmail.com"
] | luispaulo1011@gmail.com |
c0dc990e9244b32839fa29b6333a4613566991a0 | 59563b85c7685596eb40fa351408d9e61f0acbbd | /src/kern/utf8.cpp | afebd6fb58c599fe4ec96837b54b0eefe7eb6cf1 | [] | no_license | Doloops/Xemeiah | 94c3a32a85a3fb3246da112e74b768b6bd298190 | d497cf9fce275943501bdf01f825edc5f3181bbd | refs/heads/master | 2020-12-24T18:03:57.183527 | 2014-12-01T14:13:27 | 2014-12-01T14:13:27 | 26,857,757 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | /*
* utf8.cpp
*
* Created on: 11 nov. 2009
* Author: francois
*/
#include <Xemeiah/kern/utf8.h>
#include <Xemeiah/dom/string.h>
#include <Xemeiah/auto-inline.hpp>
namespace Xem
{
String iso8859ToUtf8 ( const unsigned char* str, int size )
{
int buffsz = 32;
int buffit = 0;
unsigned char* b... | [
"francois.barre@arondor.com"
] | francois.barre@arondor.com |
b9e77821acbb51e9d84eeb45eccdbd32f7b25979 | bb6ebff7a7f6140903d37905c350954ff6599091 | /chromeos/attestation/mock_attestation_flow.cc | b6eda5b3ab3f0da5343b4178e619ee3c0e0a2ada | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,646 | cc | // Copyright (c) 2012 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 "chromeos/attestation/mock_attestation_flow.h"
#include "base/memory/scoped_ptr.h"
#include "testing/gmock/include/gmock/gmock.h"
using tes... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
5ff1e0dd1295cf18ebfcc7fc353bb2ea260dced3 | a83ff33c6dd8f9b6646d43ea24024eed84a7d374 | /cmp_compressonatorlib/brotlig/BrotligCompute.cpp | 5af5db31e53e878577bf97210dfcf63b6ad89718 | [] | permissive | kopaka1822/Compressonator | 1f50391b665a7cff097ad87172a8a864c4ad623d | 0bea29d5ab01c688c8408edf50a8f13dfe7a915b | refs/heads/master | 2023-07-20T05:59:21.231992 | 2023-07-10T21:14:48 | 2023-07-10T21:14:48 | 215,336,862 | 0 | 0 | MIT | 2021-11-21T11:56:25 | 2019-10-15T15:46:36 | C++ | UTF-8 | C++ | false | false | 23,335 | cpp | //===============================================================================
// Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
//===============================================================================
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
... | [
"napatel@amd.com"
] | napatel@amd.com |
d7549e788ded3d2f6c6d04f1078f67ab619c167a | 350db570521d3fc43f07df645addb9d6e648c17e | /1016_Binary_String_With_Substrings_Representing_1_To_N/solution.cpp | 73bd03a1037004dc1570971216524a4771340825 | [] | no_license | benjaminhuanghuang/ben-leetcode | 2efcc9185459a1dd881c6e2ded96c42c5715560a | a2cd0dc5e098080df87c4fb57d16877d21ca47a3 | refs/heads/master | 2022-12-10T02:30:06.744566 | 2022-11-27T04:06:52 | 2022-11-27T04:06:52 | 236,252,145 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | cpp | /*
1016. Binary String With Substrings Representing 1 To N
https://leetcode.com/problems/binary-string-with-substrings-representing-1-to-n/
*/
#include <string>
using namespace std;
/*
Java solution can use String n = Integer.toBinaryString(i);
*/
/*
https://xingxingpark.com/Leetcode-1016-Binary-String-With-Subs... | [
"bhuang@rms.com"
] | bhuang@rms.com |
01c41045e101e2a403bfe25de9f18a3dc62e7228 | 1e6b977e350ea4619710909c5431769df62ea4e9 | /RobotOpenCV/Robot.h | 4b9ac6589fa2fbda07c94a60ed203af604592d03 | [] | no_license | 2ndAfterGod/Practice | c9b180e206321418f3cc51fe3ae253877471dd56 | 384100055ef1d89aac1de60ab111a12d9c3fd819 | refs/heads/master | 2022-11-14T12:13:53.661241 | 2020-07-06T14:07:37 | 2020-07-06T14:07:37 | 276,154,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | #pragma once
#include <opencv2/opencv.hpp>
#include <ctime>
#include "windowParam.h"
#include "ViewFrame.h"
// robot parameters
const int ROBO_WIDTH = 120, ROBO_HEIGHT = 40;
const float ROBOT_SPEED = 1.0;
class Robot
{
private:
int x = WINDOW_WIDTH / 2, y = WINDOW_HEIGHT - WINDOW_HEIGHT / 20,
width =... | [
"noreply@github.com"
] | noreply@github.com |
eac91f3a6d0ea5af610418e9ab530562bcb4eddb | 4b1ac97833bc7fe2c9a713f65609608c927c8195 | /CairoTagCloud.hpp | bf96d6c07271cae02732b55af4581843475364c1 | [] | no_license | esaule/bibtex_cloud | b8938471d94e1e75b6c6e97babc74a9097d6b556 | c7d4d57fb460c536b002147914dd6b2102a0d587 | refs/heads/master | 2023-02-23T23:34:41.553288 | 2013-10-27T20:18:19 | 2013-10-27T20:18:19 | 333,585,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,552 | hpp | #ifndef CAIRO_TAG_CLOUD
#define CAIRO_TAG_CLOUD
#include "cairo_graphic_controller.hpp"
#include <set>
class CairoTagCloud : public CairoGraphicController {
std::vector<std::pair<std::string, int > > count;
// float fontsize (int occurence) {return occurence;}
// float fontsize (int occurence) {return 3... | [
"esaule@uncc.edu"
] | esaule@uncc.edu |
799c44b9222bbb2efaf4d5af1ff3a5d172d5cd0e | ba9322f7db02d797f6984298d892f74768193dcf | /cms/include/alibabacloud/cms/model/QueryMetricListResult.h | 977cc043eb377cf2ba20c0d49173c4a5fded5fc1 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,673 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
da1b06a3c529cebe1c0b982e5d7fdd91696ad264 | fe99af037f9dd498359f5ff8b6cc87042dad11da | /shape.cpp | 6d7b81235f7259de3ff35cf9c139139b13a54713 | [] | no_license | bfakhri/phys | d9d333fe8c84cdf400e15367f42c2c33ef86babb | d89e412bf993d3affdd15491f4125573344f2444 | refs/heads/master | 2021-01-22T10:18:39.199951 | 2017-09-18T22:30:34 | 2017-09-18T22:30:34 | 39,798,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,867 | cpp | #include "shape.h"
///////////////
// Constructors
///////////////
Shape::Shape()
{
// Scalar quantities
mass = 1;
// Vector quantities
// Translational
t_position.x = 0;
t_position.y = 0;
t_position.z = 0;
t_velocity.x = 0;
t_velocity.y = 0;
t_velocity.z = 0;
t_forces.x = 0;
t_forces.y = 0;
t... | [
"bfakhri@asu.edu"
] | bfakhri@asu.edu |
1523b80fdd68341cb3c1843a4847358514e870fd | 96dfee8bf91eb36f8aeb5b24ed77cb0f822b5916 | /sortdemo.cpp | 2b9736a5201809898bff005286a0a48095c58a53 | [] | no_license | Angelo-abel/CMake_Learning | b4019fdabc002fb75ef4efe2659df129fa3ec64f | 88eaf5c04ccbc1f952257cd105b2c099def111ef | refs/heads/main | 2023-07-08T18:35:02.406709 | 2021-08-19T09:27:48 | 2021-08-19T09:27:48 | 315,052,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,671 | cpp | #include <bits/stdc++.h>
using namespace std;
void swap(int *arr, int i, int j)
{
arr[i] = arr[i]^arr[j];
arr[j] = arr[i]^arr[j];
arr[i] = arr[i]^arr[j];
}
void QuickSort(int *arr, int left, int right)
{
if (left >= right)
return;
int i = left, j = right;
int base = arr[left];
whil... | [
"noreply@github.com"
] | noreply@github.com |
1da8e0361d79858a3a72cbe1e69c421b6eaa315b | 07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34 | /darkstar/Tools/obsolete/StampTool/Inc/gridWindow.h | 001ddae9caa2495d3a5913a79f874bc324604c7d | [] | no_license | AlexHuck/TribesRebirth | 1ea6ba27bc2af10527259d4d6cd4561a1793bccd | cf52c2e8c63f3da79e38cb3c153288d12003b123 | refs/heads/master | 2021-09-11T00:35:45.407177 | 2021-08-29T14:36:56 | 2021-08-29T14:36:56 | 226,741,338 | 0 | 0 | null | 2019-12-08T22:30:13 | 2019-12-08T22:30:12 | null | UTF-8 | C++ | false | false | 3,882 | h | //------------------------------------------------------------------------------
// Description
//
// $Workfile$
// $Revision$
// $Author $
// $Modtime $
//
//------------------------------------------------------------------------------
#ifndef _GRIDWINDOW_H_
#define _GRIDWINDOW_H_
#include <gw.h>
#include <re... | [
"altimormc@gmail.com"
] | altimormc@gmail.com |
ef86a642b87a59d7aadacf98b85274da674240d7 | 99d054f93c3dd45a80e99be05f3f64c2c568ea5d | /Online Judges/URI/Christmas Contest 2018 (F) Suspicious Gifts/main.cpp | 1a3df3189025abbfd907cec4400f409059fd1f77 | [
"MIT"
] | permissive | AnneLivia/Competitive-Programming | 65972d72fc4a0b37589da408e52ada19889f7ba8 | f4057e4bce37a636c85875cc80e5a53eb715f4be | refs/heads/master | 2022-12-23T11:52:04.299919 | 2022-12-12T16:20:05 | 2022-12-12T16:20:05 | 117,617,504 | 74 | 21 | MIT | 2019-11-14T03:11:58 | 2018-01-16T01:58:28 | C++ | UTF-8 | C++ | false | false | 1,331 | cpp | #include <iostream>
#include <map>
#include <vector>
#include <algorithm>
#include <sstream>
using namespace std;
void toup(string& s){
for (int i = 0; i < (int)s.size(); i++) {
s[i] = toupper(s[i]);
}
}
int main()
{
int nc, kids, ns;
vector<string>aux;
string wish, p;
map<string,vecto... | [
"annelivia16@gmail.com"
] | annelivia16@gmail.com |
2ecac203d0fef9e689e663cfe32d38dfeefaca05 | b9845c4ae1f69708b6321ebfd88396be36247777 | /C371GroupProject/C371GroupProject/Camera.h | b18fee953e204bdece41887b0ea24c9a4349ed89 | [] | no_license | dsma1991/371Pro | ed502578ae26834457ed0f225c8ab1dd38d0179c | deca26de5ccefb2b63b67a591d31800625c0f64c | refs/heads/master | 2020-05-26T07:58:13.280143 | 2014-11-21T21:38:24 | 2014-11-21T21:38:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #pragma once
class Camera
{
public:
Camera(void);
~Camera(void);
enum CameraMode
{
Pan,
Rotate,
};
void moveCameraTo(double x, double y, double z, CameraMode mode); // move camera smoothly to destination
void snapCameraTo(double x, double y, double z, CameraMode mode); // move camera instantly to destinati... | [
"dsma1991@yahoo.com"
] | dsma1991@yahoo.com |
d98eaff864c8f7f4ce29cef8ce7ea6e665d540e2 | 09193f071c8be1ca34505f238cfc563e3c3921be | /tracker-pt/module/frame.hpp | 0569a3232e7e48c64d932a4f09a33e975ee942e3 | [
"LicenseRef-scancode-warranty-disclaimer",
"ISC"
] | permissive | opentrack/opentrack | 0b0961d4069b6d3c2a47008cf9f2f24da839626a | b04381b44e4fbbfcf88e5e74052464657cf7df25 | refs/heads/master | 2023-08-30T01:43:26.460075 | 2023-08-27T05:11:08 | 2023-08-27T05:11:08 | 9,753,283 | 2,918 | 464 | null | 2023-08-27T15:45:27 | 2013-04-29T17:03:00 | C++ | UTF-8 | C++ | false | false | 814 | hpp | #pragma once
#include "pt-api.hpp"
#include <opencv2/core/mat.hpp>
#include <QImage>
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wweak-vtables"
#endif
namespace pt_module {
struct Frame final : pt_frame
{
cv::Mat mat;
operator const cv::Mat&() const& { return ma... | [
"sthalik@misaki.pl"
] | sthalik@misaki.pl |
efe29fee4e7636fe266924dbd5b2f0c108316c07 | 85057c5b7179ecf863346b2ccb8b8cba0b9f1199 | /Maze-path.cpp | a13f6efc6376a04650a9a871678ef6aac7a1a2ad | [] | no_license | Aditya1445/CompCoding | f6b0b0f28ed3df03fadc5ae54b97f759a49e67ef | 397709decef774ed0e5b58ee4a30c851bfe172a1 | refs/heads/master | 2023-03-27T04:03:56.911649 | 2021-03-29T11:01:58 | 2021-03-29T11:01:58 | 311,781,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<string> vs;
vs MazePath(int sr, int sc, int dr, int dc)
{
if (sr == dr && sc == dc)
{
vs bres;
bres.push_back("");
return bres;
}
vs hpath;
vs vpath;
if (sr < dr)
{
vpath = MazePath(sr + 1, sc, dr, dc);
}
if (sc < dc)
{
hpath = MazePath(s... | [
"noreply@github.com"
] | noreply@github.com |
3fba726c7c8e220675a8ad7b28b9609092233297 | 72ceff8ed4e124d71700472521327c3242894526 | /smacc2_sm_reference_library/sm_multi_stage_1/include/sm_multi_stage_1/states/ac_cycle_2/sti_ac_cycle_dwell_2.hpp | 5443707f7c5f4e2d79957c3790348af930384a94 | [
"Apache-2.0"
] | permissive | reelrbtx/SMACC2 | a56ea47bed56bcacf46a4b5fd1431897af550ae4 | ac61cb1599f215fd9f0927247596796fc53f82bf | refs/heads/master | 2023-09-05T02:57:13.097215 | 2021-11-24T20:00:59 | 2021-11-24T20:00:59 | 431,620,456 | 1 | 0 | Apache-2.0 | 2021-11-24T20:32:16 | 2021-11-24T20:32:15 | null | UTF-8 | C++ | false | false | 1,983 | hpp | // Copyright 2021 RobosoftAI Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"noreply@github.com"
] | noreply@github.com |
662547577cf0920c721966520af2c8a86f8792df | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code_ps3/core/standardarchive.cpp | 479110307e78f8a5b5a00b51ef6d6b6e62980836 | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,964 | cpp | //*******************************************************************************
//
// StandardFile.cpp.
//
//******************************************************************************/
#include "core/standardarchive.h"
#include "core/waddef.h"
#include "core/fileio_ps3.h"
//**********************************... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
7090e5e00c2870a1367e9ea7e7d7f56fb9fb3949 | bfdca88b15f1e76290aff8373b0fb2cd1e19dc86 | /ProjectEuler/Problem2.cpp | b4312abfa05db9d6a657f39d18541d889c338ad0 | [] | no_license | ZLWedge/PracticeRepo | c2535d7976ac411bc54f3c41365f7f29d0640c50 | 6280372a0bbb019327225e82847854ba808b45d5 | refs/heads/master | 2021-01-18T12:10:46.082888 | 2014-12-22T06:27:31 | 2014-12-22T06:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include <iostream>
int main(){
int a = 1;
int b = 2;
int c = 0;
int total = 0;
while (b<4000000){
c=a+b;
if (b % 2 == 0){
total += b;
a=b;
b=c;
}
}
std::cout << total;
return 0;
} | [
"zlapstun@gmail.com"
] | zlapstun@gmail.com |
739a093a474675784b76f159e4b6dcb3591e8b6a | bfef2d9568a0c8e06dddf67074071c3e05e324a6 | /Lex.cpp | 066680c64e1e03e3dd49faf492966ae73eadaa39 | [
"MIT"
] | permissive | meteorcloudy/Compiler | 07754ed73694f3c121bb910d5e656587dafaff14 | 2b678f9f172c92d992078e5769d816d2e753f766 | refs/heads/master | 2018-12-29T00:16:53.884453 | 2014-05-20T07:35:34 | 2014-05-20T07:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,557 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <stdlib.h>
#define $BEGIN 1
#define $END 2
#define $INTEGER 3
#define $IF 4
#define $THEN 5
#define $ELSE 6
#define $FUNCTION 7
#define $READ 8
#define $WRITE 9
#define $SYMBOL 10
#define $CONSTANT 11
#define $EQU 12
#define $NEQU 13
#define $LE 14
#defi... | [
"pengyun199311@gmail.com"
] | pengyun199311@gmail.com |
f51156026f2afb506d2b8b3fb26c818c4008b1a8 | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/BP_GlitterbeardLoreBook_FeatheredFriends_functions.cpp | ba1f6104fdeeb7636f370bc304f6f06fa5c7085a | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
4fc49d0c3564adb5604a514e31bdb6a3b3478463 | b8765e762b1087505189506a35cffce43638fba7 | /question/UVa/11383/x.cpp | 1b509a00d7e9617bd4ce9c341581a52d6bedd4b9 | [] | no_license | yaoling1997/desktop | 0d0782f44cca18ac97e806e919fc7c6446872a00 | 1053d1a30b1e45e82ceec90cfd3b31eec361c1e2 | refs/heads/master | 2022-02-17T12:50:54.349782 | 2019-05-18T06:13:03 | 2019-05-18T06:13:03 | 120,167,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include<cstdio>
#include<cstdlib>
#include<algorithm>
#include<cstring>
using namespace std;
const int maxn= 600,oo= 1e6;
int c[maxn][maxn],s[maxn],t[maxn],lx[maxn],ly[maxn],d[maxn];
int n,i,j,ans;
bool match(int o){
s[o]= 1;int i;
for (i= 1;i<=n;i++)
if (!t[i] && c[o][i]==lx[o]+ly[i]){
t[i]= 1;
if (!d[i]||m... | [
"379145124@qq.com"
] | 379145124@qq.com |
e7860b3bae36ad0cfa01ae3595f5862e33059bdc | 2ff2f41c6fe48a4961513ca6deefbc5b393c406e | /topi/include/topi/cuda/extern.h | 475ab6ba8a19898647f5660294d45117049fdbdd | [
"Apache-2.0"
] | permissive | zhiics/tvm | 9f5a39c6373349800b9255d74225d5dd65aba70f | 4782b1fc153d6614808f542155d58188f2dc8255 | refs/heads/master | 2021-12-21T03:24:31.176090 | 2018-09-05T22:48:37 | 2018-09-05T22:48:37 | 143,820,078 | 6 | 2 | Apache-2.0 | 2020-05-13T00:54:21 | 2018-08-07T04:34:08 | C++ | UTF-8 | C++ | false | false | 1,893 | h | /*!
* Copyright (c) 2017 by Contributors
* \file cuda/extern.h
* \brief CUDA schedule for extern followed by injective operations
*/
#ifndef TOPI_CUDA_EXTERN_H_
#define TOPI_CUDA_EXTERN_H_
#include "topi/tags.h"
#include "topi/detail/fuse.h"
#include "tvm/tvm.h"
#include "tvm/build_module.h"
namespace topi {
using n... | [
"tqchen@users.noreply.github.com"
] | tqchen@users.noreply.github.com |
bcb753bb9a707d91fcc5ee92bedb8577f3b6709b | ad4229bf23443427d3a1b2980792197ff92b1c39 | /src/atlaas.cpp | a121ad44c1c8058bf6936007dcd666bb02dbb06d | [
"BSD-2-Clause"
] | permissive | benEnsta/atlaas | c572555362196c69718df4b87f88716f4c0c43f5 | 4af2e53a9c35e86b84b8449d475750c67b85d2e2 | refs/heads/master | 2021-01-16T17:36:09.501545 | 2014-04-02T15:46:25 | 2014-04-02T15:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,373 | cpp | /*
* atlaas.cpp
*
* Atlas at LAAS
*
* author: Pierrick Koch <pierrick.koch@laas.fr>
* created: 2013-10-08
* license: BSD
*/
#include <cassert>
#include <atlaas/atlaas.hpp>
namespace atlaas {
/**
* Merge point cloud in the internal model
* with the sensor to world transformation,
* and slide, save, load t... | [
"pierrick.koch@gmail.com"
] | pierrick.koch@gmail.com |
8f362ef52f46483a6e4f705bde4eda4df0546d3a | 0ba8576e02f77c413dec6dccdfd85c1b76b356ba | /nypc파티.cpp | b794cecf310a3c5a246717ab029e36bf89163336 | [] | no_license | ltnscp9028/C_plus_plus | 2fb99fac7595c8cad34aecced4695849f4bfa50d | 92d6d89e3250735c9ee7fc49ee0f1726bb9b2e2f | refs/heads/master | 2022-04-30T08:22:49.036614 | 2022-04-19T20:28:21 | 2022-04-19T20:28:21 | 205,290,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include<bits/stdc++.h>
using namespace std;
int arr[100050];
int n,q,w;
vector<int>v[200005];
set<int>s;
set<int>::iterator it;
void LB(){
}
main(){
scanf("%d %d",&n,&q);
for(int i=1;i<=n;i++){
scanf("%d",&arr[i]);
s.insert(arr[i]);
v[arr[i]].push_back(i);
}
//n upperbound - lowerbound
for(int ... | [
"ltnscp9028@gmail.com"
] | ltnscp9028@gmail.com |
478878c8ee6994ddbb77e237942b0dcfff263191 | cb6c5cf210f7da4c42fe547adeb26800ec2dc33d | /src/swf/intersection.h | af80124a4c35481915797366a622d01651b1faef | [] | no_license | magnusl/FlashPlayer | c4fd4ae00089f68eb549ab9bc5bc7a76cc169a99 | 57c873edea93e8fbf989d46c6fd29203293db5f6 | refs/heads/master | 2020-03-07T10:16:41.267126 | 2018-03-30T12:57:06 | 2018-03-30T12:57:06 | 127,427,652 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | #include <vector>
#include "gfxShape.h"
namespace swf
{
namespace gfx
{
bool isPathInside(const std::vector<Edge_t> & a_OuterEdges, const std::vector<Edge_t> & a_InnerEdges);
bool isPointInside(const Point_t<int32_t> & a_Point, const std::vector<Edge_t> & a_Edges);
bool TestPointTwips(const Shape_t & a_Shap... | [
"magnus586@hotmail.com"
] | magnus586@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.