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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29b199ca97fd542560d6f68db55873c60c4f0032 | f76bf9fe835800bf84a7fbde30b4fc3bfa40565f | /delay.hpp | f41ffdbf2c250ef656ac2ae86f42e953f1dae6c2 | [
"MIT"
] | permissive | shunsukeaihara/ssp | e4c12a7521568c30370a3ea9875cd16157482369 | ba562000c9c51109a68eb905ef01e5666ef9f484 | refs/heads/master | 2020-05-05T04:55:11.365019 | 2019-04-24T05:52:49 | 2019-04-24T05:52:49 | 179,730,102 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | hpp | #ifndef SSP_DELAY_H_
#define SSP_DELAY_H_
#include <common.hpp>
#include <iostream>
#include <ringbuffer.hpp>
namespace ssp {
template <typename T>
class Delay {
public:
Delay(const T delayMs, const int delayCount, const T decay, const T fs) : _buffer(int((delayMs / 1000.0 * fs) * delayCount + 1)) {
_... | [
"s.aihara@gmail.com"
] | s.aihara@gmail.com |
3dd9adae7c9fc521901f68e80cfda7e880f7e8e4 | dac5254630fefae851da7c843dcab7f6a6af9703 | /MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Attachment_Panels/CPrefsAttachmentsSend.cp | da4593c2fa0625c513093b15d80863230bb6b268 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,389 | cp | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
f72fa607c70d713c536cb34c362889be74937d05 | 57e9be685bf91a7c51393a5b1b470c77ec5da8de | /src/point3d.h | 40251922b606dccef756c4ce3e5322f443782c96 | [] | no_license | foolchi/QuickHull3D | 04df84f8b3898106ea4455cd124494d22a2f2482 | ece450c5b569313f68139e64cd00d6ae8ac186e6 | refs/heads/master | 2020-04-06T04:29:04.783494 | 2014-10-29T18:47:34 | 2014-10-29T18:47:34 | 18,773,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | h | #ifndef POINT3D_H
#define POINT3D_H
/**
* @file point3d.h
* @brief point in 3D
*/
#include "vector3d.h"
/**
* @brief Point in 3D
*/
class Point3D: public Vector3D{
public:
/**
* @brief Constructor
*/
Point3D(){}
/**
* @brief Constructor
* @param v another point or vector
*/... | [
"foolchi@outlook.com"
] | foolchi@outlook.com |
135313a61ae71ffea82ee4b752754c9f139af19c | e1e43f3e90aa96d758be7b7a8356413a61a2716f | /datacommsserver/esockserver/test/TE_Socket/SocketTestSection19.h | a4169563cd523b14f8d4ca9f5a5e0de195e37365 | [] | no_license | SymbianSource/oss.FCL.sf.os.commsfw | 76b450b5f52119f6bf23ae8a5974c9a09018fdfa | bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984 | refs/heads/master | 2021-01-18T23:55:06.285537 | 2010-10-03T23:21:43 | 2010-10-03T23:21:43 | 72,773,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 890 | h | // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
00a07b33bbbfab4517c14027d842051dcacbfda9 | 33d9ed93403ae8aab5c043afa138a331020203d1 | /src/can/canread.cpp | 709b0f8d66d02241d7ce66098581205173f8d28c | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dangomc/vi-firmware | 47cd544633d481d145d3fbf3f989901fb993955f | d0db9620435af68b32930500296892d37c4e1422 | refs/heads/master | 2021-01-16T23:02:00.614373 | 2014-07-15T07:24:31 | 2014-07-15T07:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,107 | cpp | #include <stdlib.h>
#include <canutil/read.h>
#include <pb_encode.h>
#include "can/canread.h"
#include "config.h"
#include "util/log.h"
#include "util/timer.h"
using openxc::util::log::debug;
using openxc::pipeline::MessageClass;
using openxc::pipeline::Pipeline;
using openxc::config::getConfiguration;
using openxc::p... | [
"chris.peplin@rhubarbtech.com"
] | chris.peplin@rhubarbtech.com |
d9e1e67c4dde2a2e270f8ff3a36f262ce5f2b4fd | 0642f612dfc7c357dfd4972a67499793cf24f04c | /lims2_modules/common/register/Utilities/ShiftScaleRGBImage.cxx | bc12b3770a81421a55a9d46c2cb9ccb5063cfb75 | [
"BSD-2-Clause"
] | permissive | AllenInstitute/stpt_registration | 1e0e6dfac5520c841064bcab78e0d541293c7065 | a0595c98a7621a6fb1c1408bcd663407f2c59bd3 | refs/heads/master | 2022-04-03T11:34:18.954147 | 2020-02-14T05:10:12 | 2020-02-14T05:10:12 | 239,768,678 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,895 | cxx | /*=========================================================================
ShiftScaleRGBImage.cxx
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#include "itkImage.h"
#include "itkImageFileReader.h"
#include "itk... | [
"lydian@alleninstitute.org"
] | lydian@alleninstitute.org |
3b59f94d244bb1cb861c25a3de2dc6c02496544b | 9e02c151f257584592d7374b0045196a3fd2cf53 | /AtCoder/ABC/124/A.cpp | 3475bd9891933027d3d6a625664f3df47dc84749 | [] | no_license | robertcal/cpp_competitive_programming | 891c97f315714a6b1fc811f65f6be361eb642ef2 | 0bf5302f1fb2aa8f8ec352d83fa6281f73dec9b5 | refs/heads/master | 2021-12-13T18:12:31.930186 | 2021-09-29T00:24:09 | 2021-09-29T00:24:09 | 173,748,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const ll LINF = 1e18;
int main() {
int a, b; cin >> a >> b;
int ma = max(a, b);
if (a == b) {
cout << ma + ma << endl;
} else {
cout << ma + ma - 1 << endl;
}
} | [
"robertcal900@gmail.com"
] | robertcal900@gmail.com |
b6725485d9e8dd9f4a31ee99c331b53333f3c3a8 | 9c0987e2a040902a82ed04d5e788a074a2161d2f | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h | 1bc559c43fd3c78b522114571a230927d9e6a696 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | l1kw1d/nearby-connections | ff9119338a6bd3e5c61bc2c93d8d28b96e5ebae5 | ea231c7138d3dea8cd4cd75692137e078cbdd73d | refs/heads/master | 2023-06-15T04:15:54.683855 | 2021-07-12T23:05:16 | 2021-07-12T23:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,887 | h | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
f28ff41c6ab3b64ca1762fcb1233b0fbc7c9855d | 5d2df4909b9fe75fc038cbfb5b39c4701c7289f5 | /DS/infix_2_postfix/infix_2_postfix/Source.cpp | 5a578e33b043dfd251cc23a584ff55f5640b9af8 | [] | no_license | rameshkrishna0805/ncrwork-1 | 021aaa8a9032952f7f2939b3f5dfb74829ca258f | 0455a5c9d5abeb04716ed9c6c11f18083a574cc3 | refs/heads/master | 2020-04-27T09:04:32.080382 | 2019-03-06T17:53:23 | 2019-03-06T17:53:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | #include<iostream>
using namespace std;
int prec(char c)
{
if (c == '*' || c == '/')
return 10;
else if (c == '+' || c == '-')
return 9;
else if (c == '{' || c == '(' || c == '[')
return 15;
else
return 0;
}
struct stack1 {
int size;
char *s;
int top;
};
class stack2
{
stack1 stk;
public:
stack2()
{
... | [
"nsragvi@gmail.com"
] | nsragvi@gmail.com |
c9d2f693c978b1f56b2e404ad52333269b624161 | 804cc6764d90fdd7424fa435126c7fe581111562 | /AK/JsonParser.h | e8d3c5181d78aea7e989bb74f2e9dd0a33894b8b | [
"BSD-2-Clause"
] | permissive | NukeWilliams/prana-os | 96abeed02f33f87c74dd066a5fa7b2d501cb2c62 | c56c230d3001a48c342361733dc634a5afaf35f9 | refs/heads/master | 2023-06-17T18:39:22.394466 | 2021-07-02T13:37:47 | 2021-07-02T13:37:47 | 358,167,671 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | /*
* Copyright (c) 2018-2020, krishpranav <krisna.pranav@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/GenericLexer.h>
#include <AK/JsonValue.h>
namespace AK {
class JsonParser : private GenericLexer {
public:
explicit JsonParser(const StringView& input)
: Generic... | [
"krisna.pranav@gmail.com"
] | krisna.pranav@gmail.com |
094c1117798df575b47b8296e2927b70e17a1ca2 | 686a7ce0b37872bacaa4ebf6c394774e29d3a058 | /src/main/native/include/boost-ext/test/teamcity_boost.hpp | cdc159bb890db3ca7652bd8216dd3bd7b1157ca0 | [
"MIT",
"Apache-2.0"
] | permissive | darcyg/boost-ext | 042e7cd6662ed5d7d3c8b37194675fd225cae125 | 443e3584778960a33422a61f398a6af2fa065beb | refs/heads/master | 2021-01-16T17:46:43.829411 | 2014-05-20T19:41:14 | 2014-05-20T19:41:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,114 | hpp | /* Copyright 2011 JetBrains s.r.o.
*
* 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 ... | [
"nathan@toonetown.com"
] | nathan@toonetown.com |
0954cfa1980e360b2d290e5a4bf46a98ae90ca56 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/browser/ssl/ssl_manager.cc | d4f90426f971e3c8c5c313573c162e8d7c37ec98 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 17,099 | 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 "content/browser/ssl/ssl_manager.h"
#include <set>
#include <utility>
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
57966081549b9aea3853eca62953d50c2871f58b | 76fccfc285e60e37ba315e5b283e220f7538102d | /Xtra/XDK/Include/driservc.h | 2deb6db0b7c5b7546fc1d7f9fbd69bfef3a3c310 | [] | no_license | lb90/walnut-xtra | fad41ecac313200a5fd48be3327398838282dbd6 | f68673c8399077e8ac31723f4c44bc2287ceab2c | refs/heads/master | 2022-02-18T21:47:09.347873 | 2019-08-03T16:38:12 | 2019-08-03T16:38:12 | 197,606,335 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171,564 | h | /*
ADOBE SYSTEMS INCORPORATED
Copyright 1994 - 2008 Adobe Macromedia Software LLC
All Rights Reserved
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the
terms of the Adobe license agreement accompanying it. If you have received this file from a
source other than Adobe, then y... | [
"luca.bacci982@gmail.com"
] | luca.bacci982@gmail.com |
30cf60b14a16a9614db9b6abebd8c40c6e090038 | 6b8654648da2e786d4c0998b26fc114c9d219451 | /_old_/benchmark/increase_stack_benchmark.cpp | ce7f6aaebeb54dcd1d821c306dc7b14eb855c4c1 | [
"MIT"
] | permissive | gian21391/enumeration_tool | d2edcd0d59c0f7b0e96a827f3b475d201b2581f0 | 607ca83c5cf8a7da6ea7438afcd158607e005a11 | refs/heads/master | 2020-06-26T12:00:03.447115 | 2020-06-14T18:21:47 | 2020-06-14T18:21:47 | 199,625,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,973 | cpp | #define CATCH_CONFIG_ENABLE_BENCHMARKING
#include <catch.hpp>
#include <enumeration_tool/symbol.hpp>
#include <cmath>
using EnumerationType = int;
class enumerator
{
public:
explicit enumerator( const std::vector<enumeration_symbol<EnumerationType>>& s ) : symbols{s}
{}
void enumerate( unsigned min_cost, uns... | [
"gianluca.martino@tuhh.de"
] | gianluca.martino@tuhh.de |
5cc762e9adb2207a9abc1f128c8359018b8fa894 | 5098a5bab107adb675b394b06093ed6913921ebc | /SDK/Itm_LoadoutSelectButton_classes.h | 05d35f4c41c9c62cf27949321deca9ca67b3fd2d | [] | no_license | tetosama/DRG-SDK | 87af9452fa0d3aed2411a09a108f705ae427ba1e | acb72b0ee2aae332f236f99030d27f4da9113de1 | refs/heads/master | 2022-03-31T00:12:10.582553 | 2020-01-18T21:21:43 | 2020-01-18T21:21:43 | 234,783,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,598 | h | #pragma once
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass Itm_LoadoutSe... | [
"39564369+tetosama@users.noreply.github.com"
] | 39564369+tetosama@users.noreply.github.com |
20f87e0e7c9ba9fbf29563b01143857cd9ae1e70 | 974897eae62d73db4aa1bdfda4efa41c4e9dd0ed | /Source/MV/Utility/threadPool.hpp | 771dddbec69a1e3becc306e4cddc3a0434ecab94 | [] | no_license | Devacor/Bindstone | 71670d3d1e37d578a8616baad4a2b4dba36ff327 | 6b204c945d437456d79189509526962b89499839 | refs/heads/master | 2023-02-17T08:52:35.874390 | 2020-10-19T08:04:19 | 2020-10-19T08:04:19 | 40,729,765 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,655 | hpp | #ifndef _MV_THREADPOOL_H_
#define _MV_THREADPOOL_H_
#include <thread>
#include <condition_variable>
#include <deque>
#include <vector>
#include <atomic>
#include <list>
#include "log.h"
namespace MV {
class ThreadPool {
class Worker;
public:
class Job {
friend Worker;
public:
enum class Continue {
M... | [
"maxmike@gmail.com"
] | maxmike@gmail.com |
03e121c43d8bd546ef531ee34ca7a2ee7bcbb105 | d5c5f6e754e5f3f714c71db959c54fd183bb9fcc | /Ball.cpp | cd0f227b72230dede6f03d656577855296be7a63 | [] | no_license | TeMeRolEee/GameDayProject | a347c17ecacff83f242fa8917a3b78b4f9963440 | 7baa211319a7c5d60b24313c5095f2e2f5e761d8 | refs/heads/master | 2020-03-22T07:27:11.495376 | 2018-07-04T21:41:50 | 2018-07-04T21:41:50 | 139,701,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | //
// Created by temerole on 2018.07.04..
//
#include "Ball.h"
Ball::Ball() :
QGraphicsRectItem()
{
setRect(10, 10, 10, 10);
setPos(40, 50);
QBrush brush;
brush.setStyle(Qt::SolidPattern);
brush.setColor(Qt::red);
setBrush(brush);
}
float Ball::getVelocity() {
return velocity;
}
... | [
"david.rethalmi@gmail.com"
] | david.rethalmi@gmail.com |
b2273afe62b223ea1d9571f62782d2c4d15a6826 | 5b936ba7bcac2e785b20ef28732b6299c5e27bc9 | /src/perl_interpreter_sea_bridge.cpp | 56682e0ae502a6f94e82909846c81b843bec464c | [
"MIT"
] | permissive | Pelleplutt/BladePSGI | 8a51c6b60dbe64c57bb0092dae5782d4df55f4f8 | ae15f9d107dd16ba7eca634246554c8da71adce3 | refs/heads/master | 2020-03-26T05:02:10.233799 | 2018-08-13T14:08:57 | 2018-08-13T14:08:57 | 144,535,358 | 0 | 0 | MIT | 2018-08-13T05:55:43 | 2018-08-13T05:55:43 | null | UTF-8 | C++ | false | false | 3,413 | cpp | #include "bladepsgi.hpp"
#include "string"
extern "C" {
#include "perl/bladepsgi_perl.h"
#include "perl/XS.h"
void
bladepsgi_perl_interpreter_cb_set_worker_status(BPSGI_Context *ctx, const char *status)
{
Assert(ctx->mainapp != NULL && ctx->worker != NULL);
auto worker = (BPSGIWorker *) ctx->worker;
worker->SetWo... | [
"marko@trustly.com"
] | marko@trustly.com |
37ddc945938d68af787bb538394ddd08b8faca31 | d5acc40e766857c2399013c5228fc4f02b2f5210 | /c++/2 - fibonacci.cpp | 5672def815cd5c24bc94f4bbf996c490894866f8 | [] | no_license | celvro/euler | a79dec92620fedfaaa5789a29d964395488fc1d8 | f76d6f00efd9db26b9caad72e94110d5ef972b37 | refs/heads/master | 2016-09-10T03:21:41.417156 | 2015-04-30T21:27:38 | 2015-04-30T21:27:38 | 20,080,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include<iostream>
using namespace std;
int main()
{
int sum=0, prev=1, next=2, temp;
while(next<4000000)
{
if(!(next%2))
sum+=next;
temp=next;
next+=prev;
prev=temp;
}
cout << sum << endl;
cin.get();
return 0;
}
| [
"dwlfk2@mst.edu"
] | dwlfk2@mst.edu |
4d3aad662ebdec186856d26f09161a74271d9b4d | a59c6d3ef3a55cf9885fdc304b9d3bda5c22a504 | /arista.cpp | 0be1b860833e6b8b3e1005d38ea6c4ad9ac1bc06 | [] | no_license | dcaceres7/Proyecto2Parcial | 7ac47f5d5b457cd0be005b8220a89eafad73c64f | 8b3d99303cc1508f24039e14cccffe3bb4287ab5 | refs/heads/master | 2020-12-24T15:58:10.462244 | 2015-06-30T21:33:40 | 2015-06-30T21:33:40 | 38,334,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include "arista.h"
#include <QPainter>
Arista::Arista(Vertice* origen, Vertice* destino, int v)
{
this->origen = origen;
this->destino = destino;
valor = v;
}
QRectF Arista::boundingRect() const
{
return QRectF(origen->pos(),destino->pos());
}
void Arista::paint(QPainter *painter, const QStyleOption... | [
"dancacers_95@unitec.edu"
] | dancacers_95@unitec.edu |
a41c3c8c4c3d0245333da7089afab0cd456fd0f3 | 1f3c66fccc60cf866fd83d206580989f3b7a2668 | /DSRE/Source/DSRE/PlayerController/BaseController.cpp | 3038b03a727adf818ee66accdf7d422f2922a787 | [] | no_license | nsobczak/DSRE | 86c4bc62410063738894b0acac95af93ee9a8219 | 6a893834cb868cdfc3b86d8dae77c4a999216f96 | refs/heads/master | 2022-04-21T16:30:55.534800 | 2020-04-20T23:12:15 | 2020-04-20T23:12:15 | 256,742,087 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | // Copyright 2020 nsocbzak. All rights reserved.
#include "BaseController.h"
// Sets default values
ABaseController::ABaseController()
{
//RootComponent = GetCapsuleComponent();
PrimaryActorTick.bCanEverTick = true; // Set this character to call Tick() every frame. You can turn this off to improve performa... | [
"nicolas.sobczak@orange.fr"
] | nicolas.sobczak@orange.fr |
7fc3599faf95e20d15bb077b007f0f67b49066c4 | 9095705da4f7d28ab522f4c983cb73a74599a95b | /password_generator_vs/utils.h | 7b9f0a29ec3740ce1b0316ebad3b34d9904f241f | [] | no_license | fanxiaohui/cpp | ca576e14d81279b7325bb44ac7293f6678e61c1f | 1079895ff963dfd9933df40eee2f8077c684cf2b | refs/heads/master | 2021-04-02T04:35:02.848512 | 2020-02-21T11:34:24 | 2020-02-21T11:34:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | h | #ifndef UTILS_H
#define UTILS_H
/*********************************************************************
utils.h
01.10.2004 Initial coding YS
**********************************************************************/
#ifdef WIN32_APP
#include <Windows.h>
#endif
void AddTimeStamp(int *pos,char * msg);
void ... | [
"senishch@gmail.com"
] | senishch@gmail.com |
5fc2d8b6048e5d5fb3d04ab289e9a915e3ba3864 | 206bc173b663425bea338b7eb7bc8efc094167b5 | /codeforces/453/1.cpp | b4e424349b71e12466bf861fb7e4ef48c4cb703b | [] | no_license | rika77/competitive_programming | ac6e7664fe95249a3623c814e6a0c363c5af5f33 | a0f860c801e9197bcdd6b029ca3e46e73dfc4253 | refs/heads/master | 2022-03-01T09:03:01.056933 | 2019-11-07T01:45:28 | 2019-11-07T01:45:28 | 122,687,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main(){
int n,m;
cin >> n>> m;
int a[100]={};
int b[100]={};
for (int i=0;i<n;i++) {
scanf("%d %d\n", &a[i], &b[i]);
}
if (b[n-1] != m || a[0] != 0) {
printf("NO\n");
return 0;
}
//n=1のとき
if (n==1) {
if (a[0]==0 && b[0]==m)... | [
"mahimahi.kametan@gmail.com"
] | mahimahi.kametan@gmail.com |
00fc85bd18c3551215b0e6596899616de1184644 | 5cc078770dfc5bbb8cb2d16a6f969bb0fca699cb | /VC++/ten/tenDlg.cpp | 52875449e898d977d7e599b8be1ea89e713486b7 | [] | no_license | sahilsoni91/visualcpp_program | 53ce3c10c539dbd9ab98f550192e87f5af4d5bb1 | 699cbd57816e67ee88c38867e9ec2b670bf4fa70 | refs/heads/master | 2020-08-06T14:08:30.531679 | 2019-10-05T13:15:56 | 2019-10-05T13:15:56 | 213,002,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,976 | cpp | // tenDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ten.h"
#include "tenDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class C... | [
"sahilsoni91@gmail.com"
] | sahilsoni91@gmail.com |
45aca7497813acbd8959b5bc3115b843eaed82d9 | 2e50fd32816c9493fe81ad4834978932f32da060 | /eduRend17v1/source/mesh.cpp | 18689922c06a6d5eaf67ea14fbcb1de653a16356 | [] | no_license | ai7900/DirectX-_11_Render_Assignments | 89e38baed6d1187dcca61b03866813b2c3707755 | 7edd60d6f6f1d2c6fbda0df987d5c3aafb5a66eb | refs/heads/master | 2021-02-15T14:43:06.193455 | 2020-03-04T13:34:37 | 2020-03-04T13:34:37 | 244,908,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,819 | cpp | //
// mesh.cpp
//
// (c) CJG 2016, cjgribel@gmail.com
//
#include <algorithm>
#include "mesh.h"
using linalg::int3;
void mesh_t::load_mtl( std::string path,
std::string filename,
mtl_hash_t &mtl_hash)
{
std::string fullpath = path+filename;
std::ifstream in(fullpath.c_str());
if (!i... | [
"46970089+ai7900@users.noreply.github.com"
] | 46970089+ai7900@users.noreply.github.com |
f8c13462099a09d77f750bda0eec69a28ba3a734 | 22d423e5f9b74dfffb3646160761aeb0e4a8a063 | /Übungsaufgaben/A03/3_1_2.cpp | 983211687b850f56d2e470b93ae51eb530875472 | [] | no_license | elenaiwnw/Progra-Arbeitsverzeichnis | f900a243df43a7d1db7fa55c75a9965bb52cc9a6 | bfce2bf0a0d57cd416fb1caf48792adc1fd54669 | refs/heads/master | 2022-04-06T19:37:43.314047 | 2020-02-09T18:32:32 | 2020-02-09T18:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int n; // Zählt wie oft Funktion f() verwendet wird
// Die mathematische Funktion aus der Aufgabe
double f(double x) {
n++;
if (x<=-2) {
return cos((M_PI/2)*x)+3;
} else if (x<=0) {
return 2*x+6;
} else if (x<=2) {
return 3*x*x+6;
} else ... | [
"paul.orschau@icloud.com"
] | paul.orschau@icloud.com |
813807ffa99157887687ad4364e72c008c81f192 | 9948e90ab62f394b1414f94458b2069311130c38 | /MVD_15_Shadows-master/src/GraphicsUtilities.cpp | 44b92bd395e4084fa1d790387900e0b2c3cfcdbd | [] | no_license | lauriChu/MVD_FirstCustomShader | fda96443356465427f213fb24fc0707e7383a39d | def32a44e188db7dd9762080e0376cca888d4af2 | refs/heads/master | 2020-04-25T05:43:31.657266 | 2019-03-08T18:44:54 | 2019-03-08T18:44:54 | 172,553,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,721 | cpp | #include "GraphicsUtilities.h"
// ****** GEOMETRY ***** //
//generates buffers in VRAM
Geometry::Geometry(std::vector<float>& vertices, std::vector<float>& uvs, std::vector<float>& normals, std::vector<unsigned int>& indices) {
createVertexArrays(vertices, uvs, normals, indices);
}
void Geometry::render() {
glBind... | [
"lau.gf92@gmail.com"
] | lau.gf92@gmail.com |
6d0a3d9ffadf7d6092bc8d1ab2fa2443834453cb | b68c932209eafc7077815ed94c7dbf834287a0b4 | /applications/PoromechanicsApplication/custom_elements/U_Pw_small_strain_interface_element.cpp | d8f4b4aa6e955ad31b0822fa1b2766fd75a07e51 | [
"BSD-3-Clause"
] | permissive | electricintel/Kratos | f9cee22187b24a9363dae8ae8720c6441e5deace | bf76c92022d7da942f26ce9478334befd1ebe174 | refs/heads/master | 2023-01-20T13:04:54.439161 | 2020-11-29T07:22:06 | 2020-11-29T07:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93,746 | cpp | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Ignasi de Pouplana
//
// App... | [
"ipouplana@cimne.upc.edu"
] | ipouplana@cimne.upc.edu |
2216a3331cea3c8efd61338053e42c49fcbda91b | e661c0b2bee8f600517c5803dc362a945172aa7e | /src/config.cpp | a15ed4cd8c922da73fb635e8c88af3cdff85db97 | [] | no_license | ivanildolucena/opendevice-lib-arduino | 52d72b9657e5bee3b4bfc36840a6d1ccc2351778 | 53f02f42264cd0383091d18d22219b702ba09923 | refs/heads/master | 2020-03-25T01:18:54.747711 | 2018-07-08T21:52:35 | 2018-07-08T21:52:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | #include "config.h"
namespace od {
ConfigClass Config = {
CONFIG_VERSION,
// The default values
"OpenDevice",
"cloud.opendevice.io",
"*", // APP_ID
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // MAC
{ 0, 0, 0, 0 }, // IP
-1, // ResetPIN
false, // debugMode
true, // keepAlive
DE... | [
"ricardo.jl.rufino@gmail.com"
] | ricardo.jl.rufino@gmail.com |
c96dfb405011f73d1f175c2320155f90ac70a598 | 8056ed674aa7ac516e2e698235788f602b617b36 | /scripts/7.cpp | 34fe5585ce650c1b6b000ea5380c5b01b40585ed | [] | no_license | Swas99/ScalableComputingAssignments | aacc94a78eaa91fc310a086d0f065781a4eeb554 | 9396dd444b204b7dfc0753fd9415221aa404f64b | refs/heads/master | 2020-03-30T09:39:52.701759 | 2018-12-01T16:33:42 | 2018-12-01T16:33:42 | 151,086,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
using namespace std;
/* Driver program to test above function */
int main(void)
{
string data = "";
//Numbers
// for(int i = 0; i<=99999; i++)
// {
// string x = to_string(i);
// while(x.length() < 5)
// x = "0... | [
"swas.rishi@gmail.com"
] | swas.rishi@gmail.com |
a3978cb8a460f69728dcc6e4df245d91dcb504d5 | 6157455a8627e82d77254289050bd04162d552ba | /PsiFcp/psifcp/call.cp | c45f27ab6cc89e959cb51a511efbbfcc94b30b49 | [] | no_license | shapirolab/Logix | f769e6ab3fec12dcf5e4b59a3d172ed667291ead | 6960cb3ff7dfef9885383b62b7996ae1d7e42538 | refs/heads/master | 2022-11-11T07:52:49.814029 | 2020-06-30T07:17:08 | 2020-06-30T07:17:08 | 275,871,063 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,869 | cp | /*
Precompiler for Pi Calculus procedures - call management.
Bill Silverman, December 1999.
Last update by $Author: bill $
$Date: 2000/09/26 08:35:29 $
Currently locked by $Locker: $
$Revision: 1.3 $
$Source: /home/qiana/Repository/PsiFcp/psifcp/call.cp,v $
Copyright (C) 1999, Weizmann Institute o... | [
"bill"
] | bill |
a559d9e4a24314a81e6063ac74e7c695f9822a5e | 954ca6ef34be759f4485e07233cee296ea9ce077 | /password/dictionary.h | fee46333629cdd01a6b8bcdd12d01bb3215946b9 | [] | no_license | Jackychen8/class_c- | 2ddd734129e7fd7ee154cd4365c24e3989da0dc3 | 545b1ed4fa7625474469bc58aecaea419213349d | refs/heads/master | 2021-04-15T17:36:42.095469 | 2018-03-21T07:40:27 | 2018-03-21T07:40:27 | 126,138,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,584 | h | //
// dictionary.h
// password-mac
//
// Created by Jacky Chen on 2/15/15.
// Copyright (c) 2015 Sanjay Madhav. All rights reserved.
//
#pragma once
#include "unordered_map"
#include <string>
#include "map"
#include "list"
#include <iostream>
#include "timer.h"
#include "sha1.h"
#include <fstream>
#include "brute... | [
"chenjacky9@gmail.com"
] | chenjacky9@gmail.com |
8618643f34e716759986100b4706aa5b69d72bfa | 40759a3d38a71023670f6510a0b03c1c84c471f7 | /codecs.h | 03de389a7671e4c34f16fb74015a50ec06d7a5ec | [
"Apache-2.0"
] | permissive | phaistos-networks/Trinity | f78cb880fe6d24dc331659b034f97c4e19be3836 | a745a0c13719ca9d041e1dfcfeb81e6bf85a996f | refs/heads/master | 2021-01-19T04:34:31.721194 | 2019-11-08T18:12:31 | 2019-11-08T18:12:31 | 84,192,219 | 250 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 17,598 | h | #pragma once
#include "common.h"
#include "docidupdates.h"
#include "docset_iterators_base.h"
#include "docwordspace.h"
#include "runtime.h"
// Use of Codecs::Google results in a somewhat large index, while the access time is similar(maybe somewhat slower) to Lucene's codec
namespace Trinity {
struct candidate... | [
"mpapadakis@phaistosnetworks.gr"
] | mpapadakis@phaistosnetworks.gr |
f88a1d42c710516e15ae546bd9f6ff8e78437d8f | 24a7f138d7be0c4d566c085bd8abaf7b9f1b9b26 | /image_morphing/main.cpp | 55300cb4ba6f34328fff322aaceffffdb5e2a983 | [] | no_license | AbhinavJindl/image_processing | 53a4023f41525963c0d50cf1fc207c473a63a5ca | 1bbc6fb139bfd21883f3c070129c3af611e4ba1b | refs/heads/master | 2021-01-24T01:39:50.384143 | 2018-02-25T08:10:52 | 2018-02-25T08:10:52 | 122,817,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,410 | cpp | /*
----------------------readme---------------
--------how to compile--------------
$g++ a2_abhinav_2016csb1026.cpp -o output `pkg-config --cflags --libs opencv`
$./output
-------------references--------------
1)Learn Opencv for triangulation syntax and understanding the concept of how to use triangulation
2)Material... | [
"2016csb1026@iitrpr.ac.in"
] | 2016csb1026@iitrpr.ac.in |
e82a97a14f3a716e2bd846f415efe4a0b73acd75 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Implementation/599.cpp | f7d2c84f2b8a4a4180a80132a3ee2357f2c0447a | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
int a,b;
while(cin>>a>>b)
{
int arr[55]={};
for(int i=0;i<a;i++)
cin>>arr[i];
int c=0;
for(int i=0;i<a;i++)
if(arr[i]>=arr[b-1] && arr[i])c++;
cout<<c<<endl;
}
return 0;
}
| [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
e5d4827835473782179f7514132755f788ce7b3d | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/orbsvcs/tests/Notify/Structured_Multi_Filter/Notify_Push_Consumer.cpp | 6d3074d443b5c97925d39c306699151f607e892e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 4,917 | cpp | #include "Notify_Push_Consumer.h"
#include "Notify_Test_Client.h"
#include "tao/debug.h"
Notify_Push_Consumer::Notify_Push_Consumer (const char* name,
int sent,
NS_FilterType consumerFilter,
... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
d08ef0a1c968f76601442a58be0ffc3dc26325a0 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_long_realloc_18.cpp | 1ec437c2b13d46e40788a967ae8575999b6306b1 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,975 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_long_realloc_18.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-18.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
*... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
26d14821362d3975fde293101277269d27400a8a | 68b877fc50cdadd08e657a0d06773ccd7210a138 | /1364A.cpp | 0a230f86165fbebd682aecfb5f0e71a01af6d49b | [] | no_license | Priyanshu2802/Competitive-Programming | b58ffa0d25cd80e137af0a5661360afd346fe831 | 24c77990308439ff805750a97e2f010c47777c1c | refs/heads/master | 2023-06-12T10:10:40.876731 | 2021-07-05T15:10:10 | 2021-07-05T15:10:10 | 377,078,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | //LordNeo
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define endl "\n";
typedef vector<ll> vll;
typedef vector<pair<ll, ll>> vp;
typedef map<ll, ll> ml;
typedef unordered_map<ll, ll> uml;
#define pb push_back
#define ff first
#define ss second
const ll inf = INT_MAX;... | [
"priyanshuranjan2001@gmail.com"
] | priyanshuranjan2001@gmail.com |
91b8bf8a671dd8ad4f04c5f090c67aec4c5e25aa | 8672ce66faffeb411c52f2acc929196db15d17bb | /PhysicsCarGame-Finished/AirRide3D.cpp | 777cbd17e65ecbc2ac742ea7fc42ac88e2193591 | [] | no_license | SergiPC/Racing_Game_3D | 25990f04402e8008e98d47776a9abe64517cfaea | c77deba63a159097ffe07b390321ccc53c5d680b | refs/heads/master | 2021-01-10T15:37:08.616013 | 2015-12-18T20:43:23 | 2015-12-18T20:43:23 | 48,252,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "AirRide3D.h"
AirRide3D::AirRide3D(btRigidBody* _body) : PhysBody3D(_body)
{
PhysBody3D* physb = new PhysBody3D(_body);
body = physb;
}
AirRide3D::~AirRide3D()
{
}
void AirRide3D::ApplyForce(vec3 force, vec3 pos)
{
body->ApplyForce(force.x, force.y, force.z, pos.x, pos.y, pos.z);
} | [
"sergi.p.crespo@gmail.com"
] | sergi.p.crespo@gmail.com |
c8e93d819d3f508b99f2f759f29e8aa74ce10663 | 18ea9da58773b0c1b28e593cbd0b54e4b9321946 | /Huffman.cpp | 2a2ba1f18cfb05c9accee21e90610eb495aae4af | [] | no_license | liontting/HYU_ITE2039 | 9a9b0d3936c700c5bb8c9af44baaeedf29a26154 | 6f44d1ecc9a0e077962e2c9e5acdf7d0736efcf2 | refs/heads/master | 2023-07-02T20:26:10.610873 | 2021-07-31T06:32:46 | 2021-07-31T06:32:46 | 391,249,675 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,518 | cpp | // 2019042497_¼ÛÁ¤¸í_11802
#include <stdio.h>
#include <string.h>
#include <algorithm>
int N, total, dap;
typedef struct node {
char* s;
int cnt;
node* left;
node* right;
}node;
struct HeapStruct {
int Size;
node* Elements;
};
HeapStruct* CreateHeap() {
HeapStruct* heap = (HeapStruct*)malloc(sizeof(HeapStruc... | [
"2019042497@hanyang.ac.kr"
] | 2019042497@hanyang.ac.kr |
81cf2bd927a25949fb6946e3defef7ff8f1faf3a | 1e702ab4d4980e87c10afa2596e357956217f09a | /LintCode-CPP/437.copy-books/solution.cpp | 4f1e2daccd4541a02a4996001b459e8a76223709 | [] | no_license | cxjwin/algorithms | 2154e536197e08b38c9d0653ceb3b432c70f6da6 | cc6a0e3f3320a25c003f9e4441ed8dcd19b39a73 | refs/heads/master | 2021-07-05T05:32:20.604221 | 2020-11-13T00:09:19 | 2020-11-13T00:09:19 | 200,500,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | cpp | //
// Created by smart on 2019/11/5.
//
#define CATCH_CONFIG_MAIN
#include "../catch.hpp"
#include <vector>
using namespace std;
class Solution {
public:
/**
* @param pages: an array of integers
* @param k: An integer
* @return: an integer
*/
int copyBooks(vector<int> &pages, int k) {
... | [
"88cxjwin@gmail.com"
] | 88cxjwin@gmail.com |
bf05caabfcd64057b9460abbe3f5ab97c863af8a | cb07cbace79d8c673ea9149d4ee878cb4f20a1dd | /include/error_code.h | a51aab702692e65bf4ecc51d26918288e3312ecc | [] | no_license | pk-otus/13_join_server | 8682097bbaa30348113e0622418a37034be6edbf | 73166db3bc0db14ea3b9e1e3fdd7ca4b78666684 | refs/heads/master | 2020-04-03T03:22:56.839728 | 2018-11-12T09:06:38 | 2018-11-12T09:06:38 | 154,984,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | #pragma once
#include <string>
namespace join_server
{
enum class error_code
{
ok = 0,
parse_error = 1,
duplicate = 2
};
inline std::string error_string(error_code ec)
{
const char * ERRORS[] = { "OK",
"parse error",
"duplicate element" };
return (error_code::ok == ec ? std::string... | [
"a@a.a"
] | a@a.a |
82adad8e0e5235951048ff851ff2641fed117ed0 | 25284bc98ae6983d663d165c46b9fa4dab1c0eb6 | /Userland/Libraries/LibJS/Runtime/Temporal/DurationConstructor.h | 6c8bfa4ff6214e73578fa61022bc6d795d7701c2 | [
"BSD-2-Clause"
] | permissive | bgianfo/serenity | 6c6564e9b72360c4046c538c60b546b6c2a51cd9 | a813b941b82a48d04859669787cbbb21ea469f1e | refs/heads/master | 2023-04-14T20:53:16.173060 | 2022-04-22T02:52:55 | 2022-07-08T22:27:38 | 233,478,401 | 2 | 1 | BSD-2-Clause | 2022-02-03T09:02:53 | 2020-01-13T00:07:49 | C++ | UTF-8 | C++ | false | false | 774 | h | /*
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Runtime/NativeFunction.h>
namespace JS::Temporal {
class DurationConstructor final : public NativeFunction {
JS_OBJECT(DurationConstructor, NativeFunction);
public:
expl... | [
"mail@linusgroh.de"
] | mail@linusgroh.de |
510e9841778095fbca6b3307f27f67874b30ed23 | 191707dd19837f7abd6f4255cd42b78d3ca741c5 | /X11R5/mit/lib/nls/Ximp/zh_TW/Codeset.cpp | 0cfcc1627508791bf52e32cd8b4113c379d71c91 | [] | no_license | yoya/x.org | 4709089f97b1b48f7de2cfbeff1881c59ea1d28e | fb9e6d4bd0c880cfc674d4697322331fe39864d9 | refs/heads/master | 2023-08-08T02:00:51.277615 | 2023-07-25T14:05:05 | 2023-07-25T14:05:05 | 163,954,490 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | /* $XConsortium: Codeset.cpp,v 1.2 93/02/24 18:11:31 rws Exp $ */
NAME EUC
MB_CUR_MAX 4
STATE_DEPEND_ENCODING FALSE
WC_ENCODING_MASK 0x3fffc000
WC_SHIFT_BITS 7
CODESET0
GL
INITIAL_STATE_GL
LENGTH 1
WC_ENCODING 0x00000000
ENCODING
ISO8859-1 GL
CNS11643-0 GL
FONT
ISO8859-1 GL
CNS11... | [
"yoya@awm.jp"
] | yoya@awm.jp |
e7bb5b918c35e4222c409feac1efeab619f07d89 | 3ea61f80e1e4b2113523624f0de88457b2669852 | /src/host/vrm3dvision_backup/srv_gen/cpp/include/vrm3dvision/setExposure.h | 7faab3cb858df8f6e205a478d95cec538af17f9a | [] | no_license | rneerg/RoboVision3D | c4f8e05e91702a0df04eeb902771dad52588eb45 | f0293ea5f1aaaf64d4530ac9f0f92a3583b55ef6 | refs/heads/master | 2020-04-18T16:03:55.217179 | 2014-09-04T11:55:03 | 2014-09-04T11:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,743 | h | /* Auto-generated by genmsg_cpp for file /home/jeppe/workspace-d3/robovision3d/host/vrm3dvision/srv/setExposure.srv */
#ifndef VRM3DVISION_SERVICE_SETEXPOSURE_H
#define VRM3DVISION_SERVICE_SETEXPOSURE_H
#include <string>
#include <vector>
#include <map>
#include <ostream>
#include "ros/serialization.h"
#include "ros/bu... | [
"soelund@mail.dk"
] | soelund@mail.dk |
dbceca93d86bcbd05e1c2e69dae7a0579c5ff8ab | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/gpu/command_buffer/service/feature_info.cc | 41c6a1b03a316013162b83296f789d7547b9063a | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 25,687 | 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 "gpu/command_buffer/service/feature_info.h"
#include <set>
#include "base/command_line.h"
#include "base/strings/string_number_conversions.... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
f7673384f75d908527dd55a1e50285f4d1f7b6e8 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/webrtc/base/win32window.cc | 4d41014054124321f32d0ad443cb67a86687a759 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"LGPL-2.0-or-later",
"Apa... | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 3,663 | cc | /*
* Copyright 2004 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 ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
34e5ba4c214854478a0125130d5e23c139be5914 | b9440b02caf2ba7f2a5acc406b1d79e5fd258cce | /Encoder.h | 5d932859a4b1a81ad89859329a88dc719208ca01 | [] | no_license | ehunck/IOSpooferFirmware | 6a3bd04e28050995572b9dbb120a9238aed6e03a | 153b3052faba3dbbc8392951866b2f7ef874db9e | refs/heads/master | 2021-03-22T22:12:59.919849 | 2020-04-26T04:16:29 | 2020-04-26T04:16:29 | 247,402,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #ifndef _ENCODER_H_
#define _ENCODER_H_
#include "mbed.h"
class Encoder{
public:
Encoder(PinName phaseA, PinName phaseB, PinName button);
virtual ~Encoder();
void Init();
bool GetButtonState();
int32_t GetEncoderChange();
private:
typedef enum{
Phase_0,
Phase_1,
Phas... | [
"ehunck@aol.com"
] | ehunck@aol.com |
e24a03e333cc9f7361e175ea9ef57dca4bad15d6 | 9133d7c763d613ff96371154a760c45ed970469f | /libnrec/ln_mrqcof.cpp | 33a2e858b232c180993852aac9db4a1b3a7f7c79 | [] | no_license | proteinprospector/prospector | 48fc20eead274e4296ed772835ebf96d1c3e8b9e | 13e856884120a7479cdffab3d9a99e45354ae37c | refs/heads/master | 2021-01-10T04:37:53.346194 | 2015-12-01T20:23:54 | 2015-12-01T20:23:54 | 44,890,436 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,437 | cpp | /******************************************************************************
* *
* Library : libnrec *
* *
... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
9f1d4333fffed7d3fbafc9b2426747d474819f2c | b6a39420b94a48cc486424551afc6d0c41db4387 | /Projects/SampleApp_RTS/UnitFactory.cpp | f4eddf2f5cc3bde65856bad8d9396932b8e1fa1b | [
"CC-BY-3.0"
] | permissive | blittle/ezEngine | 26268e6217da64c5b79cfa29d38698d5370efd98 | 4fd29950f77d3dc1857ccb9ce9285ec72181a836 | refs/heads/master | 2021-01-18T17:23:19.211837 | 2014-03-27T16:58:17 | 2014-03-27T16:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | cpp | #include <PCH.h>
#include <SampleApp_RTS/Level.h>
template<typename ComponentType, typename ManagerType>
ComponentType* AddComponent(ezWorld* pWorld, ezGameObject* pObject)
{
ManagerType* pManager = pWorld->GetComponentManager<ManagerType>();
ComponentType* pComponent = NULL;
ezComponentHandle hComponent = pMan... | [
"jan@krassnigg.de"
] | jan@krassnigg.de |
981c1f8e4852c586c22c1f7dc0afc6dbcf001161 | 456d0675848b8b11bfec8d052590bdf7eab3a20d | /codes/raulcr-p2798-Accepted-s1056990.cpp | e5053164c23514e7b7282521a3a927b57dbc8536 | [
"MIT"
] | permissive | iocodz/coj-solutions | 7dfa34ec0b7c830cca00cb0171ee6de18e6553a5 | b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca | refs/heads/master | 2022-11-07T09:10:58.938466 | 2020-06-23T06:21:28 | 2020-06-23T06:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long i64;
const int MAXN = 101;
i64 TP[MAXN][MAXN];
int M, N, Q;
void solve(){
for(int i = 0; i < MAXN; i++)
TP[i][0] = TP[i][i] = 1;
for(int i = 1; i < MAXN; i++)
for(int j = 1; j < i; j++)
TP[i][j] = ... | [
"rrubencr@estudiantes.uci.cu"
] | rrubencr@estudiantes.uci.cu |
6f5124ea7074e0d0d29023d4e1b60ee28b851375 | 90920557422db115b84f066268bdb22218f671a4 | /SphereCollision3D/GLIncludes.h | 519213ed279156aa280a13281d119f2465f1961d | [] | no_license | IGME-RIT/physics-sphereCollision-3D-VisualStudio | 300811cb0175fc7d62ce85ea420e32da0f1664b2 | c9ef08b1a2bd20e8e16763335a236f82a0723bcf | refs/heads/master | 2020-06-07T08:43:42.090638 | 2019-06-30T15:09:33 | 2019-06-30T15:09:33 | 192,977,531 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,448 | h | /*
Title: Sphere-sphere 3D collision Detection
File Name: GLIncludes.h
Copyright © 2015
Original authors: Srinivasan Thiagarajan
Written under the supervision of David I. Schwartz, Ph.D., and
supported by a professional development seed grant from the B. Thomas
Golisano College of Computing & Information Sciences
(http... | [
"njp2424@ad.rit.edu"
] | njp2424@ad.rit.edu |
dd92f4c4abdbccfad59e8e173482a9495a7b7f6e | fb8a0ab0af25f4adf4d69c845f6916948cd7f35c | /NSU/Practice/20131221/H.cpp | ebc86fedde44b50281fcf8c613386c7abe107e79 | [] | no_license | enterstudio/sport-programming | 851cb713856cfe913b50ca28cd217800fc8f0f05 | e4268e3103b25991a0abe7cecc700c1588446ce9 | refs/heads/master | 2021-05-12T00:05:06.827550 | 2016-10-14T09:02:42 | 2016-10-14T09:09:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | // In the name of Allah, Most Gracious, Most Merciful
// /
//
//
//
//
// ??
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <algorithm>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>... | [
"m@hjr265.me"
] | m@hjr265.me |
787b8a74e74e2fbe2b2c69c0dc013774fd349e9f | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/System32/DiagnosticInvoker.dll.cpp | e5471cc61f3a5b17451af115aa3f5458fbe8c179 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #print comment(linker, "/export:DllCanUnloadNow=\"C:\\Windows\\System32\\DiagnosticInvoker.dll\"")
#print comment(linker, "/export:DllGetActivationFactory=\"C:\\Windows\\System32\\DiagnosticInvoker.dll\"")
#print comment(linker, "/export:DllGetClassObject=\"C:\\Windows\\System32\\DiagnosticInvoker.dll\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
67b93673790b3c4865c0481a6ac87b9f8e1bc452 | 4cc7c74b4bb7b818562bedffd026a86f9ec78f41 | /chrome/browser/android/webapk/webapk_update_manager.cc | 44d52932451167fa4c4da822bc4a6939cbe0504b | [
"BSD-3-Clause"
] | permissive | jennyb2911/chromium | 1e03c9e5a63af1cf82832e0e99e0028e255872bd | 62b48b4fdb3984762f4d2fd3690f02f167920f52 | refs/heads/master | 2023-01-10T01:08:34.961976 | 2018-09-28T03:36:36 | 2018-09-28T03:36:36 | 150,682,761 | 1 | 0 | NOASSERTION | 2018-09-28T03:49:28 | 2018-09-28T03:49:27 | null | UTF-8 | C++ | false | false | 6,085 | cc | // Copyright 2016 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 <jni.h>
#include <memory>
#include <vector>
#include "base/android/callback_android.h"
#include "base/android/jni_array.h"
#include "base/androi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b8048363be1a016f8abf7e5c6453b723b1359e50 | 57534a699c35f9543bdee08325d01a4b14b91ab4 | /localProcessInfo.h | fe7612e2792ccb11d4ada344f3dffe95134225f0 | [] | no_license | TibbersDriveMustang/DME | 19024907552a85d8b7dfd699e783dfc79a54b8f9 | 3989a987dade05729ac28b05cc7238f83bec7cd8 | refs/heads/master | 2021-01-21T20:37:51.353592 | 2015-04-04T07:43:25 | 2015-04-04T07:43:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | #include "messageFormat.h"
#include <vector>
class algorithmDataStruct
{
protected:
int quorumSize;
int totalNodeNumber;
public:
int nodeID;
vector<int> quorumMembers;
bool REQUESTING;
bool TOKEN;
bool USING;
bool KNOWFLAG;
int TADDR; //save the nodeID of which hold the token
bool SERVFLAG;
... | [
"guohongyi1991@gmail.com"
] | guohongyi1991@gmail.com |
7ab9fe2aae06419fecd4b77af5641011abf55b4f | 42020c6b3bd1b112d3279f6b120965e9dc5fddcf | /topcoder/fox_and_sight_seeing/fox_and_sight_seeing.cpp | 1c4e64e4185a081b4e692791c0e35d736e178f5c | [] | no_license | FishinLab/Algorithms_FisHinLab | e594191730e724015693f2ee3d3d7e6990baeb3f | f1e9f622c94dcf7eb87b2f0f53c9c82213f08ef0 | refs/heads/master | 2020-04-04T19:28:02.325165 | 2013-11-15T01:14:52 | 2013-11-15T01:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | #include <iostream>
#include <math.h>
using namespace std;
#define MAX_LIMIT 100000
int get_dist(int* data, int len){
int res;
for(int i = 0; i < len - 1; ++i){
res += abs(data[i] - data[i + 1]);
}
return res;
}
int main(int argc, const char* argv[]){
int length = argc - 1;
int* data ... | [
"fishinlab@sina.com"
] | fishinlab@sina.com |
b78dc476f1ac3cf83d6ef16bddc66ca319854fd3 | 133ca087e9762340f232c4b5b2318c94fe7153e1 | /src/dolier-clu-seq2.cpp | c88f1944bebc2ccb0335f7b6ebd159e1470d6a90 | [
"MIT"
] | permissive | vbonnici/DoLiER | 8fe4a0fe5dab4cb8d7e89c34c6ed4f3abe69ee58 | 6f628b4ac5ddcbe941196813cb5faba551bd2a26 | refs/heads/master | 2021-06-23T19:14:41.578431 | 2021-03-18T16:37:41 | 2021-03-18T16:37:41 | 210,795,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,631 | cpp | /*
* dolier-clu-seq1.cpp
*
* Created on: Feb 5, 2014
* Author: vbonnici
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <sstream>
#include <set>
#include "data_ts.h"
#include "timer.h"
#include "trim.h"
#include "pars_t.h"
#include "dimers.h"
#... | [
"vincenzo.bonnici@gmail.com"
] | vincenzo.bonnici@gmail.com |
f596db83fd09d2df6cbfde312553e03c67dc8423 | 20a209dc3d68447bfb2ebcd32165627097ed7f68 | /src/plugins/RemoveAttributeCommand/RemoveAttributePlugin.cpp | c9944db15d432d4b62e8182b9273c6d83c5ac410 | [] | no_license | refaqtor/ProjectConceptor | f25512176518b05d64554b95a8cd7412c5fee7e0 | 4f481d5a53a341b9ac194293a62bbd28ad2dcfad | refs/heads/master | 2022-04-21T16:10:44.538439 | 2020-04-16T07:39:09 | 2020-04-16T07:39:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include "RemoveAttributePlugin.h"
extern "C" _EXPORT BasePlugin *NewProjektConceptorPlugin(image_id);
BasePlugin* NewProjektConceptorPlugin( image_id id )
{
RemoveAttributePlugin *basicCommand=new RemoveAttributePlugin( id );
return basicCommand;
}
RemoveAttributePlugin::RemoveAttributePlugin(image_id id):BaseP... | [
"paradoxon@f08798fa-4112-0410-b753-e4f865caae7a"
] | paradoxon@f08798fa-4112-0410-b753-e4f865caae7a |
55d331c2e5894e59015fe1cacc38ec271a533c71 | 6e0ea161c7d5188781aff57768f55ee734dffeb4 | /mainwindow.h | 64b9fa8547deff91e54d14328ae52eb8108472a4 | [] | no_license | JasserBOUKRYA/smart_municipality_2A10 | 0ef3d0c306484b71655526c5ac30c0e806f27ff6 | cea7760e2f6493db33b3b5935c8e0290c7779f10 | refs/heads/master | 2023-02-10T05:35:54.447904 | 2021-01-09T15:55:20 | 2021-01-09T15:55:20 | 316,346,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMessageBox>
#include <QSound>
#include <QSqlError>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include "menu.h"
#include <QPalette>
#include "menuadmin.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWin... | [
"75099727+Flija0@users.noreply.github.com"
] | 75099727+Flija0@users.noreply.github.com |
1b7cdd741b4f0281061e3e630fcbc7f52205e405 | 798dd8cc7df5833999dfceb0215bec7384783e6a | /unit_tests/queryagg.cpp | 40fd41aa9646a32716a99e67b99f1361739011f1 | [
"BSD-3-Clause"
] | permissive | sblanas/pythia | 8cf85b39d555c6ce05445d9d690d5462d0e80007 | b138eaa0fd5917cb4665094b963abe458bd33d0f | refs/heads/master | 2016-09-06T03:43:26.647265 | 2014-02-10T21:39:24 | 2014-02-10T21:39:24 | 16,710,063 | 15 | 8 | null | 2014-03-08T05:29:34 | 2014-02-10T21:31:16 | C++ | UTF-8 | C++ | false | false | 4,746 | cpp | /*
* Copyright 2014, Pythia authors (see AUTHORS file).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice,... | [
"blanas.2@osu.edu"
] | blanas.2@osu.edu |
949d29b33ba814e753c1ca71e5b6a914e850550c | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/admin/wmi/wbem/winmgmt/coredll/import.cpp | 9eee8eee8765b93f7939f3f6b65f556fced3f50e | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,995 | cpp | /*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
IMPORT.CPP
Abstract:
History:
--*/
#include "precomp.h"
#ifdef _MMF
#include <StdIo.h>
#include <ConIo.h>
#include "ObjDb.h"
#include "Import.h"
#include "export.h"
#include <WbemUtil.h>
#include <FastAll.h>
#include "Sinks.h"
#include <corex.h>... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
44ae7a9a5ed445da82a56ca156dda86658af6834 | dfc4d0ae87d50a34441c80a690955126001f36a4 | /9948.cpp | 3f732b2b524e9833c12f921e104cfad8682147df | [] | no_license | fakerainjw/ProblemSolving | 48c2e83f414f3ea9a9b8e182ff94842b4f9453ae | 402c06a1d64ee287e39a74282acc1f0c7714d8fe | refs/heads/master | 2023-07-08T07:33:18.003061 | 2016-08-01T13:16:07 | 2016-08-01T13:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
char input_stream[101];
int accCal[14]={0,0,31,59,90,120,151,181,212,243,273,304,334,365};
int main(void)
{
int N;
int standard = 4+accCal[8];
freopen("test.txt","r",stdin);
while (true)
{
cin>>N>>input_stream;
ge... | [
"jjim9417@naver.com"
] | jjim9417@naver.com |
ea53bbf03a5ed6ab79faaa47e11dbeb6a2401f70 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/Network/UNIX_Network_ZOS.hxx | 456459b6184da6082978f0c229df760aeb32bbea | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | hxx | #ifdef PEGASUS_OS_ZOS
#ifndef __UNIX_NETWORK_PRIVATE_H
#define __UNIX_NETWORK_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
585fb43db1e0c446d9ab8b7c9d779ce431ed8584 | 478570cde911b8e8e39046de62d3b5966b850384 | /apicompatanamdw/bcdrivers/os/ossrv/stdlibs/apps/libc/testcaputime/src/tutime.cpp | 2998c0bfcfd5972495f5b1beb261da130cd00e6e | [] | no_license | SymbianSource/oss.FCL.sftools.ana.compatanamdw | a6a8abf9ef7ad71021d43b7f2b2076b504d4445e | 1169475bbf82ebb763de36686d144336fcf9d93b | refs/heads/master | 2020-12-24T12:29:44.646072 | 2010-11-11T14:03:20 | 2010-11-11T14:03:20 | 72,994,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cpp | /*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... | [
"none@none"
] | none@none |
d0a7e253b3c38d1dac54f599e87332071a464dc0 | 4959f2669434a8f42f229e4d5f5f638f51a0ceec | /Exercise/algorithm_stl_intro/3_chapter_BST.cpp | 4d782119aec54a71ae693db603c5a75d2c33e317 | [] | no_license | bruce1408/Alogrithm_Datastruct | 5425642afd6cdada6bd12968d832dcbf9dd526ab | 04d94b5bbf6680f689d22d15134e9a870d6a452e | refs/heads/master | 2023-07-08T03:27:13.051414 | 2023-06-24T13:00:51 | 2023-06-24T13:00:51 | 128,039,673 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,074 | cpp | #include <iostream>
#include <vector>
using namespace std;
/**
* 二叉查找树BST介绍
* 性质:
* 左节点小于或者等于根节点
* 右节点大于根节点
* 按照二叉树中序遍历的话是一个有序的数组
*
* 5
* / \
* 3 7
* / \ / \
* 2 4 6 8
* 节点的前驱和后继
* 二叉搜索树节点的前驱是比该节点权值小的最大节点,是该节点 左子树 的 最右节点
* 后继是比该节点权值大的最小节点,是该节点 右子树 的 最左节点
*/
struct... | [
"summer56567@163.com"
] | summer56567@163.com |
a6b52354020731f2d48246ab21e11d1f63ed02c0 | b912920999fb5bc518d0f1ef7205dbfbe857028b | /Data Structures & Algorithm/Sorting/insertion_sort.cpp | bfe9f2c198854b746710668777cd961d77a149fc | [
"MIT"
] | permissive | Abhishek0104/Competitive-Coding | d2f1907c4954fe64fddf8b970d5683f1f1a3e69a | c5900000bcea5aba55ea8ede2e505fb2ca2bcf36 | refs/heads/master | 2020-08-06T07:43:00.671863 | 2020-02-17T07:07:39 | 2020-02-17T07:07:39 | 212,895,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include "iostream"
#include "vector"
using namespace std;
int main()
{
vector<int> vec;
int len, i, j;
cout << "Enter the length of the array.\n";
cin >> len;
for( i = 0; i < len; i++)
{
int temp;
cin >> temp;
vec.push_back(temp);
}
for(i = 1; i < len; i++)
{... | [
"abhishek.raut.0104@gmail.com"
] | abhishek.raut.0104@gmail.com |
0388b0fa0c446eada6d8b35a28fb289e7c69e1fb | b2b17137ed57902d1d0a652d9d7e7cbf97c097fb | /fila_dinamica_sentinela.cpp | a96feaa1c17228c5739a4217f49ba6dd48ae7e1c | [] | no_license | Viniciusvcr/filas_ed | d3ac1ef5db82eba417f0d2b4dbacfa610439d6f7 | 348b89280a9dd1e1311aa28c61e525bc29053f92 | refs/heads/master | 2020-03-11T19:42:19.936973 | 2018-04-26T23:28:44 | 2018-04-26T23:28:44 | 130,215,426 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,620 | cpp | #include <iostream>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
typedef struct tipo_item{
int chave;
}item;
typedef struct tipo_celula{
struct tipo_item item;
struct tipo_celula *prox;
}celula;
typedef struct tipo_fila{
struct tipo_celula *primeiro;
struct tipo_celula *ultimo;
}fila;
void inic... | [
"viniciusvcr@hotmail.com"
] | viniciusvcr@hotmail.com |
590fc80da2d709becf45cf702443f1f7c364775a | d7c2f96b3614118281a6fa9f776c173550dd72f1 | /RayTracer/src/camera/Camera.h | 19a0aed10cde48d9a47ca722d061a7c20b045cc4 | [
"MIT"
] | permissive | Markus28/RayTracer | 4bca8330e57b2a4864f74d6ec1cb9cacf529b587 | a24ec31069ae6a61a45d3df6c02f2dcbb772c9b6 | refs/heads/master | 2021-08-09T11:34:11.333002 | 2020-05-08T18:02:28 | 2020-05-08T18:02:28 | 175,484,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | #ifndef RAYTRACER_CAMERA_H
#define RAYTRACER_CAMERA_H
#include <vector>
#include <string>
#include "../Ray.h"
namespace camera {
using Image = std::vector<std::vector<Vector3D>>;
class Camera {
public:
void set_pixel(unsigned int i, const Vector3D &c);
virtual Ray ray_at(unsigned int i... | [
"montcyril@gmail.com"
] | montcyril@gmail.com |
652dbb569e74936bbde3fcf4aeb76c36a93511fc | 0d3875b31c1989c1bd3199a6dd21530309689e98 | /opengl/01_3d_tuxingxue/源码69063/source/lesson300-纹理/Raster.h | 6561b8e4feb93081ed10fbd09b11ccbee7d5fbf1 | [] | no_license | wrzfeijianshen/TL | 00c4cf44e7217bb4d0d228f2eb5c3fc5dbab2e74 | 12032d5cd16c30bd7376e375fb3b2450d9720180 | refs/heads/master | 2021-04-27T00:10:26.488055 | 2018-12-19T06:04:22 | 2018-12-19T06:04:22 | 123,762,083 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,905 | h | #pragma once
#include "CELLMath.hpp"
#include "Image.hpp"
namespace CELL
{
enum DRAWMODE
{
DM_POINTS = 0,
DM_LINES = 1,
DM_LINE_LOOP = 2,
DM_LINE_STRIP = 3,
};
class Span
{
public:
int _xStart;
int _xEnd... | [
"wrzfeijianshen@126.com"
] | wrzfeijianshen@126.com |
fc1bb80ae08a1c40939874bb3fbe1a7a127d6bc1 | 3c158d991b00ea19cd9a929846812a61034edfbb | /labs/lab1/Compare/Compare/Compare1.cpp | 7ffa5a73076819f7146bf2e03977f28e8b0c00d2 | [] | no_license | Endhovian/ooplabs | 91d32a8086ab2288a330c2a03816e114d906de0a | 7f23124b638108d738b929fda39acac0f38d3ceb | refs/heads/master | 2020-04-21T21:30:17.664564 | 2019-02-21T18:30:34 | 2019-02-21T18:30:34 | 169,880,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | #include <fstream>
#include <iostream>
#include <string>
using namespace std;
int main()
{
// Считывание информации из файлов
string file1, file2, s1, s2;
cin >> file1 >> file2;
ifstream i1(file1), i2(file2);
if (!i1 || !i2)
{
cout << "\"File not found\"";
return 1;
}
// Обработка и вывод результата сравн... | [
"User@WIN-S65G2BF50S5"
] | User@WIN-S65G2BF50S5 |
97635d4453d4228aa5f8725d5faa2df5674b99f2 | 6149561f6b2c00335e8d9d09a1aeffad49e59422 | /studyC++/回溯.cpp | d1b6d6c2203d866dca7d103126a6085dc3be006e | [] | no_license | Smartuil/Study-CPP | 3196405f107de0762c2900d0dac89917b2183902 | f646eab0a11c1fc8750fe608ce9c8f2360f3cf34 | refs/heads/master | 2022-11-29T02:28:10.759993 | 2020-07-29T07:05:11 | 2020-07-29T07:05:11 | 259,013,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | #include<iostream>
#include<cstdio>
#define N 10
using namespace std;
int n=2, y=3, tsum = 0;
int ans[N] = {};
int a[N] = {1, 2};
void retrack(int i) {
int k;
if (i == n) {
for (k = 0; k < n; ++k)
printf("%d ", ans[k]);
//cout << ans[k] << " ";
printf("\n");
return;
}
int l = y / a[i];
for (k = 0; k <=... | [
"563412673@qq.com"
] | 563412673@qq.com |
7b792da87d0a206431b401558407811d80f7937c | e18a51c1bd1425f22db15700a88e8c66f3552d93 | /packages/lagrangian/intermediateNew/parcels/Templates/CollidingParcel/CollidingParcel.H | 5d6f6ca3e0ee6c44dcc9beb5e365a389c7b6ee55 | [] | no_license | trinath2rao/fireFoam-2.2.x | 6253191db406405683e15da2263d19f4b16181ba | 5f28904ffd7e82a9a55cb3f67fafb32f8f889d58 | refs/heads/master | 2020-12-29T01:42:16.305833 | 2014-11-24T21:53:39 | 2014-11-24T21:53:39 | 34,248,660 | 1 | 0 | null | 2015-04-20T08:37:28 | 2015-04-20T08:37:27 | null | UTF-8 | C++ | false | false | 6,656 | h | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
--------... | [
"karl.meredith@fmglobal.com"
] | karl.meredith@fmglobal.com |
fbd73d71ebee44f2e146b20b3236a16f9cb519f5 | 9ae39413391ae9ca70530cf22938169f1e08b7ea | /screensaver/snsrplugins/snsrbigclockscreensaverplugin/src/snsranalogclockcontainer.cpp | 4bb81669bde2288325cdbac0ecee77ebe0dc247a | [] | no_license | SymbianSource/oss.FCL.sf.app.homescreen | 1bde9a48b6e676706eb136069226fa1a9a12ae9d | 61d721e71cc55557a6ad9c5ae066f07302c87aa2 | refs/heads/master | 2020-12-20T19:11:40.431784 | 2010-10-20T12:25:39 | 2010-10-20T12:25:39 | 65,833,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,216 | cpp | /*
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"none@none"
] | none@none |
c0de8bd6d355d8bfca763359c9ccfe7ccab1288c | 9796cc92a203b4180a1e6de75f5b5160927deef3 | /project/runcascade/rectangles.cpp | 4aaa43fd2fa77bc05cf3b2a761f7670316fa62b8 | [] | no_license | tejashah94/red_ninjas | 208244cf1583f46032a2836b297506763ea5bc59 | e035e708a5877a341d4d0e39cd1acfa079e408cd | refs/heads/master | 2021-04-11T19:26:35.891961 | 2016-04-01T20:52:32 | 2016-04-01T20:52:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,065 | cpp | #include "haar.h"
int partition(std::vector<MyRect>& _vec, std::vector<int>& labels, float eps);
int myMax(int a, int b)
{
if (a >= b)
return a;
else
return b;
}
int myMin(int a, int b)
{
if (a <= b)
return a;
else
return b;
}
inline int myRound( float value )
{
return (int)(value + (val... | [
"vinayg@euler.wacc.wisc.edu"
] | vinayg@euler.wacc.wisc.edu |
0df648c2284705dcc80320176dd9f1f377074fa6 | 7e1107c4995489a26c4007e41b53ea8d00ab2134 | /game/code/input/mapper.cpp | 107749fbb55f5a337a999c00c302d297c2284fbf | [] | no_license | Svxy/The-Simpsons-Hit-and-Run | 83837eb2bfb79d5ddb008346313aad42cd39f10d | eb4b3404aa00220d659e532151dab13d642c17a3 | refs/heads/main | 2023-07-14T07:19:13.324803 | 2023-05-31T21:31:32 | 2023-05-31T21:31:32 | 647,840,572 | 591 | 45 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include <input/mapper.h>
#include <input/mappable.h>
Mapper::Mapper( void )
{
ClearAssociations( );
}
int Mapper::SetAssociation( int sourceButtonID, int destButtonID )
{
buttonMap[sourceButtonID] = destButtonID;
return 0;
}
int Mapper::GetLogicalIndex( int sourceButtonID ) const
{
return buttonMap[sou... | [
"aidan61605@gmail.com"
] | aidan61605@gmail.com |
55d1a9f3ed8b483fba32db6361a187603d3c5dc6 | 17e0b7775f3a1b429225a405a327d137710bec59 | /TryoneTry/Intermediate/Build/Win64/TryoneTry/Development/MoviePlayer/Module.MoviePlayer.gen.cpp | 4eb226441e07587e4ec9638d6182d85e2cf5ec8e | [] | no_license | JTY1997/Learning-UE4 | 923d2cbfe95dec25a9dfe6ca2f36bc67e6203bd3 | ed5fcedf3aa35887e5bde1fe67fd4be0b1a7ce29 | refs/heads/main | 2023-01-31T22:32:04.289755 | 2020-12-17T15:32:55 | 2020-12-17T15:32:55 | 303,879,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | // This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "D:/Unreal Projects/TryoneTry/Intermediate/Build/Win64/TryoneTry/Inc/MoviePlayer/MoviePlayer.gen.cpp"
#include "D:/Unreal Projects/TryoneTry/Intermediate/Build/Win64/TryoneTry/Inc/MoviePlayer/MoviePlay... | [
"52436054+JTY1997@users.noreply.github.com"
] | 52436054+JTY1997@users.noreply.github.com |
a3d1e890207af81042d03b4fa52fb4e9feaccf01 | 1b9ccb920c5ae5fbedb2fa06685da1f0bc88714f | /MCP23017/examples/Arduino/button.ino | 1ffff28cde8cf06a5e88e6d50d9ab1fb7d7f72c9 | [] | no_license | infusion/I2C | c4211466e0de87945411736d3ee9c0cbb7358e4e | 75770fbeb4a6f075bcaddd203d1411e75ce6a179 | refs/heads/master | 2022-12-04T16:53:08.950187 | 2022-11-22T12:29:43 | 2022-11-22T12:29:43 | 90,730,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | ino |
#include <MCP23017.h>
MCP23017 io;
void setup() {
io.init();
io.setPinMode(6, INPUT);
io.setPullUpMode(6, HIGH); // turn on 100K pullup internally
pinMode(13, OUTPUT); // use the board LED for debugging
}
void loop() {
digitalWrite(13, io.isPinHigh(6));
delay(10);
} | [
"robert@xarg.org"
] | robert@xarg.org |
97fa654f2807c830bd91bc7eeeb0a72cfa35f8ed | 9661cbc0f5165f8e1f531358202f522cf14de78e | /Activities_2_Solution/src/AA1_03/Sack.h | 74e9b53a0c6cba9fbb03ba5bf9ce0f5f1114d1a5 | [] | no_license | JoanMesalles/Activities_2ndo | f4e435ba023505d6b27747e53e3bcca22f7b8a14 | ef84252611a2232fd03511eff5e5569c6676ed09 | refs/heads/master | 2023-02-16T13:32:14.274404 | 2021-01-14T17:14:09 | 2021-01-14T17:14:09 | 300,218,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #pragma once
#include "Collisions.h"
class Sack
{
Rect position;
Rect frame;
public:
Sack();
Sack(int textWidth, int textHeight, int posx, int posy);
const Rect* GetPosition() { return &position; };
const Rect* GetFrame() { return &frame; };
Vec2D GetPositionInVect() { return Vec2D(position.x, position.y); };
... | [
"joan.mesalles@enti.cat"
] | joan.mesalles@enti.cat |
938e24957180418b5f60d1d0848cfab68de7bdb2 | 94e76218c0a2184487dc2b9e07fdc0da8dc3cdcf | /XxharCs/Aimbot.cpp | 7195f4e4c0a7699a5d1d9de4499005f5892079c2 | [] | no_license | kingking888/6382 | cb80016d897d47611c68122303406582e5f66144 | f9cf2dfffad3a67b8fb5b921c034d4d9f63cea93 | refs/heads/master | 2022-01-06T18:29:31.190247 | 2018-06-17T03:04:06 | 2018-06-17T03:04:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,324 | cpp | //==============================================================================
// Aimbot.cpp
//==============================================================================
#define WIN32_LEAN_AND_MEAN
#pragma warning(disable:4786)
#pragma warning(disable:4305)
#pragma warning(disable:4800)
#pragma warning(disable:4... | [
"zonrex@live.cn"
] | zonrex@live.cn |
c70f42e86d4b2446bb61f68deb7e3f0121b49a8a | c7a7326ccf0fed00bd00bfd501738095d3c3fe61 | /TECH_3/CPP/CPP_rtype_2019/include/SFML/IGame.hpp | 77970e166aa8cede31dde362736203d3f5574410 | [] | no_license | Di-KaZ/EPITECH | c7acf24bfac077d5526c3f2bbb31804ab8c8f5ad | 52dd5cefd89f0be732178996b3c6e31d5a401ca4 | refs/heads/master | 2020-07-31T09:22:32.790577 | 2020-01-13T15:32:54 | 2020-01-13T15:32:54 | 210,557,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | hpp | #pragma once
#include <string>
#include "UDPClient.hpp"
class IGame
{
public:
virtual void init(unsigned int width, unsigned int height, std::string title, UDPClient *udp_client) = 0;
virtual void run() = 0;
}; | [
"moussa.fofana@epitech.eu"
] | moussa.fofana@epitech.eu |
1136beec207a2f373ab07bcc38c30a0d48a1c9a2 | 15f2b9ba958fe457f1c213254c5ca25d0b863a33 | /HackerRank/cpp/ExpcetionServer.cpp | 8607ab20944e8ac6e3c973a4aa58dc215eac97c5 | [] | no_license | adinathraut20/CompetitiveCode | 9efefa574e5795e08f6268888d17e1a74380ab80 | f760f75342b2fa14baf4fa249557425f54089f46 | refs/heads/master | 2023-04-20T22:32:11.523753 | 2021-05-15T18:49:31 | 2021-05-15T18:49:31 | 367,709,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | include <iostream>
#include <exception>
#include <string>
#include <stdexcept>
#include <vector>
#include <cmath>
using namespace std;
class Server {
private:
static int load;
public:
static int compute(long long A, long long B) {
load += 1;
if(A < 0) {
throw std::invalid_argument("A is negative");
}
vect... | [
"adinathraut20@gmail.com"
] | adinathraut20@gmail.com |
4d6cb57489b6fc369441e5c4ffaaa9d60ab473fa | d7db098f4b1d1cd7d32952ebde8106e1f297252e | /AOJ/2330.cpp | f8eabe867dc06c8b2c4f2f3322af6f54f07b86d3 | [] | no_license | monman53/online_judge | d1d3ce50f5a8a3364a259a78bb89980ce05b9419 | dec972d2b2b3922227d9eecaad607f1d9cc94434 | refs/heads/master | 2021-01-16T18:36:27.455888 | 2019-05-26T14:03:14 | 2019-05-26T14:03:14 | 25,679,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <iostream>
using namespace std;
typedef long long int ll;
int main(){
ll n, ans=0;
cin >> n;
for(ll i=1;i<n;i*=3){
ans++;
}
cout << ans << endl;
return 0;
}
| [
"tetsuro53@gmail.com"
] | tetsuro53@gmail.com |
1ae24fde07b0483f37a0d70d1fbce8e39e1ea12b | 735b350420fc3290cb0957f9b90c84be74638a09 | /KattisPractices/James/pivot.cpp | ab5769d7e28a0a207d9425599e9d2574982b822e | [] | no_license | kronicler/cs2040_DSnA | 20e4b2f9d2bcc937f96648229370ef3d7c368afc | cd372f1e5fc80ac62f0e1b80b34a7a72468fd80a | refs/heads/master | 2021-03-28T18:18:04.113424 | 2018-10-21T02:54:01 | 2018-10-21T02:54:01 | 117,228,925 | 0 | 1 | null | 2018-10-21T02:54:02 | 2018-01-12T10:39:57 | C++ | UTF-8 | C++ | false | false | 849 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main () {
int elements;
int count = 0;
long min, max;
cin >> elements;
long input[elements], rightMin[elements], leftMax[elements];
for (int i = 0; i < elements; i++) {
cin >> input[i];
}
max = input[0];
for (int i = 0; i < elements; i++) {
... | [
"jamesyaputra1704@gmail.com"
] | jamesyaputra1704@gmail.com |
7a4f11acf3967442ac2ca7edd2e6a89dbd9ce8bc | a1505a734508e01f4a62ad7cf67988a2c6a5b027 | /include/Zia/API/ServerConfig.hpp | f17a2b3f91a7148fb6c645ef053d8941a3cf208c | [] | no_license | demaisj/ZiaModuleAPISpec | 90490d8c4840ec5a1716b20b14bd7171c4e2cb77 | 73c9651683bacd13026f41aa2b2e83b8d31d8a8c | refs/heads/master | 2020-04-22T12:40:01.480273 | 2019-02-27T12:49:57 | 2019-02-27T12:49:57 | 170,380,141 | 6 | 1 | null | 2019-02-27T12:49:58 | 2019-02-12T19:43:53 | C++ | UTF-8 | C++ | false | false | 1,274 | hpp | /*
** EPITECH PROJECT, 2019
** ZiaModuleAPISpec
** File description:
** Server config spec
*/
#pragma once
#include <string>
#include <unordered_map>
#include "Definitions.hpp"
namespace Zia {
namespace API {
/*
* SERVER CONFIGURATION:
*
* This struct contains all configuration needed to initialize a module.
*... | [
"Jordan.Demaison@gmail.com"
] | Jordan.Demaison@gmail.com |
a4be18fec3f89d4e9364ec73c5cee6981f393cd1 | 0a47465d69b936289704560c736444e71923496e | /server/src/common/NetworkConnection.cpp | df93b16936514bf9f6f66ee7ff4fd5905782e574 | [] | no_license | HeYuHan/ntcp | e5c7b0e75cd57dba67c1826c7085054b59b68d03 | 0f9967370b1d8e0c57d266186d1a55d3f46423d9 | refs/heads/master | 2021-04-03T09:35:17.060824 | 2018-07-26T12:40:37 | 2018-07-26T12:40:37 | 124,967,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,662 | cpp | #include "NetworkConnection.h"
#include<string.h>
#include "log.h"
#include "WebSocket.h"
#define FLOAT_RATE 100.0f
NetworkStream::NetworkStream(int send_buff_size, int read_buff_size):web_frame(NULL)
{
read_buff = new char[read_buff_size];
write_buff = new char[send_buff_size];
write_position = write_buff;
write_... | [
"435481457@qq.com"
] | 435481457@qq.com |
a8e7ea69a8797bb23f5a62f247a1939e858a30fb | 467a5eec8488b665eb2ddc9b2084b8ac04a983ae | /MasteringMCU/Resources/Arduino/i2c/003I2CMasterRxString/003I2CMasterRxString.ino | b8f4487325d59e1a3679baa46ccde0f84f334985 | [] | no_license | Jeanmi3166/STM32 | 37e02de6305a2f8ecd2fb689ce957c684f20c984 | 26f08f6969b906d89eb058b2079f646e42bebba1 | refs/heads/main | 2023-04-17T18:44:25.933666 | 2021-05-07T07:10:20 | 2021-05-07T07:10:20 | 354,021,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | ino | // Wire Master Transmitter and Receiver
//Uno, Ethernet A4 (SDA), A5 (SCL)
#include <Wire.h>
// Include the required Wire library for I2C<br>#include <Wire.h>
int LED = 13;
uint8_t rcv_buf[32];
int data_len=0;
#define SLAVE_ADDR 0x68
void setup() {
Serial.begin(9600);
// Define the LED pin as Output
p... | [
"jeanmichel3166@yahoo.fr"
] | jeanmichel3166@yahoo.fr |
d60b67fc8f281696ee1e3b467e62ed7e2dc90cab | c3f715589f5d83e3ba92baaa309414eb253ca962 | /C++/round-2/161-180/169.h | 3940ad4b17d491074777008b5cd764ee8c0f7aed | [] | no_license | kophy/Leetcode | 4b22272de78c213c4ad42c488df6cffa3b8ba785 | 7763dc71fd2f34b28d5e006a1824ca7157cec224 | refs/heads/master | 2021-06-11T05:06:41.144210 | 2021-03-09T08:25:15 | 2021-03-09T08:25:15 | 62,117,739 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | class Solution {
public:
/* reservoir pooling */
int majorityElement(vector<int>& nums) {
if (nums.size() == 0)
return -1;
int num = nums[0], count = 1;
for (int i = 1; i < nums.size(); ++i) {
if (nums[i] == num)
++count;
else
... | [
"w1tao@yahoo.com"
] | w1tao@yahoo.com |
c4f43612cf2c95bd76cc792bca5fa819dc28ea48 | 5286798f369775a6607636a7c97c87d2a4380967 | /thirdparty/instant-meshes/instant-meshes-dust3d/src/bvh.h | ee4ea23b25c6bb29a094171272604475eb86aca8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | MelvinG24/dust3d | d03e9091c1368985302bd69e00f59fa031297037 | c4936fd900a9a48220ebb811dfeaea0effbae3ee | refs/heads/master | 2023-08-24T20:33:06.967388 | 2021-08-10T10:44:24 | 2021-08-10T10:44:24 | 293,045,595 | 0 | 0 | MIT | 2020-09-05T09:38:30 | 2020-09-05T09:38:29 | null | UTF-8 | C++ | false | false | 3,171 | h | /*
bvh.h -- bounding volume hierarchy for fast ray-intersection queries
This file is part of the implementation of
Instant Field-Aligned Meshes
Wenzel Jakob, Daniele Panozzo, Marco Tarini, and Olga Sorkine-Hornung
In ACM Transactions on Graphics (Proc. SIGGRAPH Asia 2015)
All righ... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
2e35b69891307139e7019a0a942ee5fd8820abf2 | 63ab36bb32c2e412d0af8d32e3bb3c755f1078a6 | /3A.cpp | 6d16a852e24151284618c9436f484a5ceef23560 | [] | no_license | cedricoode/codeforces. | 2414a6a609396394aba96df34f8e95c64f3f5f41 | 10cdd34c0ad9a3dff94d3ff0914cdd6839afc85c | refs/heads/master | 2020-04-07T14:43:00.637494 | 2018-11-20T22:14:24 | 2018-11-20T22:14:24 | 158,458,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | #include <iostream>
#include <cmath>
using namespace std;
bool is_paralle(int start[], int end[]);
bool move_paralle(int start[], int end[]);
void move_vertex(int start[], int end[]);
int compute_distance(int start[], int end[]);
int main(void) {
int start[2];
int end[2];
char a;
int b;
cin >> a >> b;
star... | [
"cedric.yang@ihealthlabs.com"
] | cedric.yang@ihealthlabs.com |
684a52bb87e8ea769e993f068b4f60a68fb4c71b | 7b46f4140b078c5cb7954b6735fff6a31e2e7751 | /torch/csrc/jit/fusers/cuda/resource_strings.h | 49a47cd85d18dcefa32f8c20be3bab20fafa7a84 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | jcjohnson/pytorch | f704a5a602f54f6074f6b49d1696f30e05dea429 | ab253c2bf17747a396c12929eaee9d379bb116c4 | refs/heads/master | 2020-04-02T15:36:09.877841 | 2018-10-24T21:57:42 | 2018-10-24T22:02:40 | 101,438,891 | 8 | 2 | NOASSERTION | 2018-10-24T21:55:49 | 2017-08-25T20:13:19 | Python | UTF-8 | C++ | false | false | 5,809 | h | #include "torch/csrc/jit/fusers/Config.h"
#if USE_CUDA_FUSER
#pragma once
#include "torch/csrc/jit/code_template.h"
namespace torch { namespace jit { namespace cudafuser {
/*with type_as not checking type of its input, a fusion group can have non-fp32 tensor as input.
Correct code for this case is generated, however... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
68629f301648d30914d8eb4973d7a3c0dce7cd74 | cd1aa2c1b545b9e35e399077d5281c9b07941b81 | /Arduino_reference/Distance.ino | 76c84a01fb4d13a58569e974970c5d0df2162623 | [
"MIT"
] | permissive | windust7/AIM_Drone | 9ec89496f19637e406b41f45947026e84cc05af2 | 706c51d770f590777c64b16169d26c29fa4c31cc | refs/heads/main | 2023-03-29T19:47:51.217513 | 2021-04-07T06:01:27 | 2021-04-07T06:01:27 | 308,322,516 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 705 | ino | int trigPin=6;
int echoPin=7;
void setup() {
Serial.begin(9600); //시리얼 Baudrate 9600으로 설정
pinMode(trigPin, OUTPUT); //trig를 출력모드로 설정
pinMode(echoPin, INPUT); //echo를 입력모드로 설정
}
void loop() {
float duration, distance;
digitalWrite(trigPin, HIGH); //초음파를 보내고 대기
delay(10); //0.01초 대기
digitalWrite(trigPin, LOW);
du... | [
"62916482+windust7@users.noreply.github.com"
] | 62916482+windust7@users.noreply.github.com |
20380ae3a9f6ab39ee73482eaba55cf30a74f908 | 0a0b0e63cd578581982efe338c13eee229d838a4 | /examples/apps/mstc/public/base/Utf.h | 544746c8977c339f27ba1ee7a4d1084606488925 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | jjlee3/openthread | 0e0ddec03f3afaf5689a7360f03342a2e8d6620e | abba21bca6e1b07ca76b0241dfaf045e57396818 | refs/heads/master | 2021-01-20T12:12:35.074196 | 2017-03-12T15:36:02 | 2017-03-12T15:36:02 | 76,529,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,026 | h | #pragma once
#include <iterator>
#include <base/Exception.h>
namespace mstc
{
namespace base
{
class Utf
{
public:
EXCEPT_BASE (Failure);
EXCEPT_DERIVED(OutOfUtf16Range , Failure);
EXCEPT_DERIVED(Utf8Length5 , Failure);
EXCEPT_DERIVED(Utf8Length6 , F... | [
"jjlee3@hotmail.com"
] | jjlee3@hotmail.com |
7f0e58e06b7ccc34447b5b65671e0548dde21ef3 | 53f60171a0b50238126aa4cbe4280327c5744ef3 | /details.h | 88c1d2587af2a6660d28321cdcedc5712723cbee | [] | no_license | ldyz/MyProject | 0525f07a94eac4c302fdd1ac621838be1a524eba | 14e17bdf0157f5cfa16ddd5371381965313f1528 | refs/heads/master | 2020-06-23T03:16:49.859354 | 2016-11-24T11:37:49 | 2016-11-24T11:37:49 | 74,667,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #ifndef DETAILS_H
#define DETAILS_H
#include <QWidget>
#include <QDebug>
#include <QtScript/QScriptEngine>
#include<QtNetwork>
#include<QTableWidgetItem>
#include<QTextDocument>
#include <QPrinter>
#include <QPainter>
#include <QPrintDialog>
#include <QNetworkReply>
namespace Ui {
class Details;
}
class Details : publ... | [
"lei_ju@126.com"
] | lei_ju@126.com |
91bc8f965419140493c235a9ab1182969b1ccd4d | f6ee126d221bd065dfe843b6a92ca597051ad3e7 | /sample_common/src/avc_bitstream.cpp | bca72b781522474c4f511ac3f67dcb719db2e581 | [
"BSD-3-Clause"
] | permissive | intel-iot-devkit/intelligent-kiosk-analytics-cpp | fc8e330ea2da1af1e1a308266319f1b3ff7b8be4 | 174d7c090b5cae9bfd6e9c2c8e8135326d48ab51 | refs/heads/master | 2023-01-12T15:15:20.795873 | 2023-01-03T22:56:42 | 2023-01-03T22:56:42 | 168,045,072 | 10 | 11 | null | 2020-03-04T10:27:49 | 2019-01-28T22:02:06 | C++ | UTF-8 | C++ | false | false | 75,284 | cpp | /******************************************************************************\
Copyright (c) 2005-2018, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of so... | [
"wai.lun.poon@intel.com"
] | wai.lun.poon@intel.com |
72210de034a68d294693f3358f8a26c8d400cd6f | aab7eafab5efae62cb06c3a2b6c26fe08eea0137 | /cmtuser/Urania_v2r4/PIDCalib/PIDPerfTools/dict/PIDPerfToolsDict.h | 134b46062df1bf6f76badf82a54a254dcd82f1c4 | [] | no_license | Sally27/B23MuNu_backup | 397737f58722d40e2a1007649d508834c1acf501 | bad208492559f5820ed8c1899320136406b78037 | refs/heads/master | 2020-04-09T18:12:43.308589 | 2018-12-09T14:16:25 | 2018-12-09T14:16:25 | 160,504,958 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | h | // $Id: $
#ifndef DICT_PIDPERFTOOLSDICT_H
#define DICT_PIDPERFTOOLSDICT_H 1
// Include files
/** @file PIDPerfToolsDict.h dict/PIDPerfToolsDict.h
*
*
* @author Andrew POWELL
* @date 2010-10-08
*/
#include "PIDPerfTools/TrackDataSet.h"
#include "PIDPerfTools/EvtTrackDataSet.h"
#include "PIDPerfTools/RICHTr... | [
"ss4314@ss4314-laptop.hep.ph.ic.ac.uk"
] | ss4314@ss4314-laptop.hep.ph.ic.ac.uk |
65f9c208e6ce49bf68d208a2ec68fd0e07f2a6e3 | 8431bd966d2eb8c4fe4be2059d6e3ef199df534b | /src/Fighter.h | cd3566d6039ec78d9db1ccbc2e8505e4336115e3 | [] | no_license | IssaShane/upgraded-waffle | 48d10a75d98cb10a5bdb7a8bb7bc35cb4b16c270 | 8283617b0baaa991b36561412da5f0d41c4f1055 | refs/heads/master | 2023-04-19T21:07:24.055722 | 2021-05-05T04:12:50 | 2021-05-05T04:12:50 | 361,979,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | h | #ifndef FIGHTER_H
#define FIGHTER_H
#include "GameObject.h"
#include "Observer.h"
#include "Subject.h"
class Fighter : public GameObject, public Observer, public Subject {
public:
Fighter(const char*,SDL_Rect,SDL_Rect);
void checkHealth(SDL_Rect POS, bool IsAttacking, int power);
void attack();
vir... | [
"shane@collinz.ca"
] | shane@collinz.ca |
b634d3da67923841605a76c1e0a7b067f642964d | 1bf6b111528404bfd38ef9b5c7d0f1bdc2ab8b6c | /Project.h | f830b1bc6078ee629bf9d1772c236941e17fb545 | [] | no_license | HeliumProject/EShellMenu | 0dfb4a10e7797b80738882d43d65f6bdfbd61292 | 770bbb39750cc9740cf1f66a0e24db379d2af7ea | refs/heads/master | 2020-12-29T02:44:08.006010 | 2020-01-22T21:54:08 | 2020-01-22T21:54:08 | 2,712,762 | 1 | 2 | null | 2015-04-27T23:45:44 | 2011-11-04T22:42:53 | C++ | UTF-8 | C++ | false | false | 2,745 | h | #pragma once
#include <map>
#include <set>
#include <string>
#include <vector>
namespace EShellMenu
{
class EnvVar
{
public:
EnvVar()
: m_IsPath( false )
, m_IsOverride( true )
{
}
tstring m_Name;
tstring m_Value;
bool m_IsPath;
bool m_IsOverride;
};
typedef std::map<tstring, EnvVar> M_EnvV... | [
"geoff@flummoxed.org"
] | geoff@flummoxed.org |
6045d9944ab772dde3ddef62d3ecc7af1edc0eab | 17216697080c5afdd5549aff14f42c39c420d33a | /src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/tests/Intrusive_Auto_Ptr_Test.cpp | c589c3d01f3c3c769f1183a21f165431cd590fe9 | [
"MIT"
] | permissive | AI549654033/RDHelp | 9c8b0cc196de98bcd81b2ccc4fc352bdc3783159 | 0f5f9c7d098635c7216713d7137c845c0d999226 | refs/heads/master | 2022-07-03T16:04:58.026641 | 2020-05-18T06:04:36 | 2020-05-18T06:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | // $Id: Intrusive_Auto_Ptr_Test.cpp 81190 2008-04-01 07:38:35Z johnnyw $
// ============================================================================
//
// = LIBRARY
// tests
//
// = FILENAME
// Intrusive_Auto_Ptr_Test
//
// = DESCRIPTION
// This test verifies the functionality of the <ACE_Intru... | [
"jim_xie@trendmicro.com"
] | jim_xie@trendmicro.com |
ad6713aa6dc1b3ac852844c670ffeb87f0a5cfde | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chromeos/dbus/fake_debug_daemon_client.cc | 3a7d4035fc0ffbfc4b62365611ea1ef5e311ca6c | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 7,308 | 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 "chromeos/dbus/fake_debug_daemon_client.h"
#include <stddef.h>
#include <stdint.h>
#include <map>
#include <string>
#include "base/bind.h"
#in... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.