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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef71608ea1fe84627e93a06029cc9ae2fcde506f | 019b4d014113506ec90d04547ab6e3a7cfeec2ea | /lib/src/pt_global_average_pooling_1d_layer.h | 0cc0e1b5b16cb947a73e5503b2d24b6fac1e3da8 | [
"MIT"
] | permissive | torokati44/pocket-tensor | e952f35915f9543d19e9f7afd9dd0de4fb934cf3 | 6cb7932278e0b24477f3cdac804aabb225947162 | refs/heads/master | 2021-02-03T23:37:11.807757 | 2020-02-28T17:09:06 | 2020-02-28T17:09:06 | 243,575,782 | 0 | 0 | null | 2020-02-27T17:27:47 | 2020-02-27T17:27:46 | null | UTF-8 | C++ | false | false | 554 | h | /*
* pocket-tensor (c) 2019 Gustavo Valiente gustavo.valiente@protonmail.com
* Kerasify (c) 2016 Robert W. Rose
*
* MIT License, see LICENSE file.
*/
#ifndef PT_GLOBAL_AVERAGE_POOLING_1D_LAYER_H
#define PT_GLOBAL_AVERAGE_POOLING_1D_LAYER_H
#include "pt_layer.h"
namespace pt
{
class GlobalAveragePooling1DLayer ... | [
"torokati44@gmail.com"
] | torokati44@gmail.com |
48cc4e9bfa22e7f0ffab5bdf95bb7bd6e4c4a99d | b61e3bf1a31567eaa3c4c4f48ceb25f2eeb5f8e2 | /glutil/Test/pole_test.cpp | dd2d1d110839ec746a92216ef6920493d8083fb7 | [
"MIT",
"X11",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | Morozov-5F/glsdk | d46681354db39d59a6bfd828a25f774742c9d124 | bff2b5074681bf3d2c438216e612d8a0ed80cead | refs/heads/master | 2022-12-12T21:17:30.953831 | 2020-09-11T15:28:28 | 2020-09-11T15:28:28 | 294,645,997 | 2 | 0 | NOASSERTION | 2020-09-11T15:28:29 | 2020-09-11T09:03:27 | C++ | UTF-8 | C++ | false | false | 9,081 | cpp | #include <string>
#include <exception>
#include <stdexcept>
#include <stdio.h>
#include <stdlib.h>
#include <glload/gl_3_3.hpp>
#include <glload/gl_load.hpp>
#include <GL/glfw.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>... | [
"https://sourceforge.net/u/korval2/profile"
] | https://sourceforge.net/u/korval2/profile |
3c08ccf59766f854b3f38b5f2b07b79b657c1cea | 96cfaaa771c2d83fc0729d8c65c4d4707235531a | /ElectroWeakAnalysis/ZTauTau_ETau/src/ZETauRecoElectronIdFilter.cc | 1ea62c157f91e793dd8ac7d8451200d0907cbc51 | [] | no_license | khotilov/cmssw | a22a160023c7ce0e4d59d15ef1f1532d7227a586 | 7636f72278ee0796d0203ac113b492b39da33528 | refs/heads/master | 2021-01-15T18:51:30.061124 | 2013-04-20T17:18:07 | 2013-04-20T17:18:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,054 | cc | #include "ElectroWeakAnalysis/ZTauTau_ETau/interface/ZETauRecoElectronIdFilter.h"
#include "TLorentzVector.h"
using namespace edm;
using namespace reco;
using namespace std;
ZETauRecoElectronIdFilter::ZETauRecoElectronIdFilter(const edm::ParameterSet& iConfig)
{
m_LeptonTag = iConfig.getParameter<InputTag>("LeptonT... | [
"sha1-52262e9d1df117cf868d5230eec8da061794b699@cern.ch"
] | sha1-52262e9d1df117cf868d5230eec8da061794b699@cern.ch |
544fe86f70f2f48d368f4951308569e0e834a9c0 | 04c5486c9415ea31db0d1681e48ce6ef5717d19d | /include/HistogramContainer.hpp | e5e7df6067830aecbc934d4371402bc01e8cea8d | [] | no_license | jasperlauwers/Analysis | 1784a05d4a6f1428623d713cc53973d6c2b8abdb | b04bf474e103b9f2fe841cf3613d533be7312563 | refs/heads/master | 2020-05-21T13:29:55.948317 | 2017-08-06T19:12:29 | 2017-08-06T19:12:29 | 44,169,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | hpp |
#ifndef HistogramContainer_hpp
#define HistogramContainer_hpp
#include <vector>
#include <string>
#include <iostream>
#include <cmath>
#include "TH1.h"
#include "SampleContainer.hpp"
using namespace std;
struct HistogramContainer {
HistogramContainer(string name);
HistogramContainer(string name, unsigned in... | [
"jasper.lauwers@uantwerpen.be"
] | jasper.lauwers@uantwerpen.be |
f35caf0e60dc496370e76046558c8732c3839596 | 09e40a180d9a92dd39447c27529581f4f4420313 | /keyValueServer.h | f841a0f1406311dc594f3b923138444be02f7eee | [] | no_license | pinghaoluo/499-pinghaol | 975c2afa76fc5d7d4ce0aea5892ac5fa4b6a46e2 | 3142e6cabd5672486cef10f39c3516948ec2fe4f | refs/heads/testing | 2020-04-16T17:05:23.119836 | 2019-04-09T20:33:28 | 2019-04-09T20:33:28 | 165,762,328 | 0 | 1 | null | 2019-04-14T18:25:59 | 2019-01-15T01:21:51 | C++ | UTF-8 | C++ | false | false | 1,415 | h | #include <algorithm>
#include <cmath>
#include <grpc/grpc.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h>
#include <grpcpp/security/server_credentials.h>
#include <grpcpp/grpcpp.h>
#include <cctype>
#include <fstream>
#include <sstream>
#include <vector>
#include <uno... | [
"pinghao@qvsta.com"
] | pinghao@qvsta.com |
edbd6f6715b424b26cf14a9a4e2c5f24bc9db1c1 | d0a0992db7bd43a5bf1fba1c185c2870bb50fe67 | /tensorflow/compiler/xla/pjrt/tpu_client.cc | 80ea958bd928920449ff99b04069d904d69c8ae0 | [
"Apache-2.0"
] | permissive | DanMitroshin/tensorflow | de3a0f3386289bcbc5da52f17b65492e2c5b63fc | 74aa353842f1788bdb7506ecceaf6ba99140e165 | refs/heads/master | 2023-03-18T11:15:31.966663 | 2021-03-05T15:29:13 | 2021-03-05T15:29:13 | 344,799,362 | 0 | 0 | Apache-2.0 | 2021-03-05T12:09:03 | 2021-03-05T12:09:02 | null | UTF-8 | C++ | false | false | 9,446 | cc | /* Copyright 2020 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... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
fdacca6afa4ddc5c26685ba6fecf54245226de52 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_SC_LightMachineGun_Weapon_T1_classes.hpp | cd194952da4c2f9e769d6232e6dc1fdbb0dc8cb7 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_SC_LightMachineGun_Weapon_T1_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------------------------------------------... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
99f883de0d70466894accd52e244866f8cc670d2 | 87ec95f68479dbbadfe0440e3183cc1e4dabbd95 | /DevelopmentHelper/Converter.h | 5289a64b7627d94ddcdc2d06c090c29bc43c14c6 | [] | no_license | Ulle84/UllesSourceCode | 106265693ce99548d03b542d4a84761bd1eb9076 | 822bb554bd6f9176f075a4ade28c4cc5775340ad | refs/heads/master | 2021-01-24T05:58:44.763179 | 2017-03-19T19:14:42 | 2017-03-19T19:14:42 | 5,530,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #ifndef CONVERTER_H
#define CONVERTER_H
#include <QWidget>
namespace Ui {
class Converter;
}
class Converter : public QWidget
{
Q_OBJECT
public:
explicit Converter(QWidget *parent = 0);
~Converter();
private:
Ui::Converter *ui;
};
#endif // CONVERTER_H
| [
"u.belitz@gmx.de"
] | u.belitz@gmx.de |
5a0410643f4cca9c4bb76922cf31c6fb643dbb7d | d7ec6bf4bb59f225b5047523a281215e235201fe | /boost/mpi/exception.hpp | 0ff22edf715e9eaae10d705afd998bccb253340e | [
"BSL-1.0"
] | permissive | avasopht/boost_1_55_0-llvm | 0212c6371996019c268f05071d21d432b2e251c3 | fba05de0ba1c2ee9011d8ef3cb9121827bae1b4d | refs/heads/master | 2020-05-29T11:58:07.757068 | 2014-09-03T20:55:23 | 2014-09-03T20:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,123 | hpp | // Copyright (C) 2005-2006 Douglas Gregor <doug.gregor -at- gmail.com>.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/** @file exception.hpp
*
* This header provides excepti... | [
"keldon.alleyne@avasopht.com"
] | keldon.alleyne@avasopht.com |
b68043d304f5ff0da49455a8e4166d3ff19e44a1 | c40b21b737c8906d104d6e1a63904884b8ec345d | /Framework/UTS_Sensor/SensorDriver/S5K4H7YX/S5K4H7YX.h | 0492274e13c0e2e5a470ce10066cf2510bd6d2e8 | [] | no_license | liupengsyk/UTS_NEW | f4eac1f327126eda4dd0bfaae0a1372a77263175 | 0fa04109a0f0808dd973a6f86cc0133f068ea02d | refs/heads/master | 2020-06-03T02:30:18.394317 | 2019-01-30T02:32:32 | 2019-01-30T02:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | #ifndef _S5K4H7YX_H_
#define _S5K4H7YX_H_
#include <stdint.h>
#include "../../SensorDriver.h"
class S5K4H7YX : public SamsungSensor
{
public:
S5K4H7YX();
int do_prog_otp(int page, int addr, const void *data, int len);
int do_read_otp(int page, int addr, void *data, int len);
int wb_writeback(uint8_t *reg... | [
"2411804080@qq.com"
] | 2411804080@qq.com |
32f491a41c924f5e7c491b3d12a9e385886bbd48 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-servicecatalog-appregistry/source/model/CreateApplicationRequest.cpp | 63b66a5cf7fec7152a0fff41f3dbb1e3f554fa71 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,226 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/servicecatalog-appregistry/model/CreateApplicationRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::AppRegistry::Model;
using namespace... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
dd9ff6c56a0caa1e9a3c1dd2dfa06ba013192367 | 7c038f64b36e7a5222fc2d39ed86d2131f55fdb9 | /include/GQE/Core/protocols/DirectoryServer.hpp | e681f054125b069a6aa4a92de661631705dcb801 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | buckle2000/gqe | 8b482b9da8b1c1171a1573c544f18a3320fca957 | 439309c12e569b79d676e27b4f9040367cc09570 | refs/heads/master | 2021-01-10T12:55:05.110459 | 2016-03-24T04:05:13 | 2016-03-24T04:05:13 | 54,613,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,294 | hpp | /**
* Provides the DirectoryServer class which implements the Directory protocol
* used to register game servers with a directory so other players can
* discover game servers available.
*
* @file include/GQE/Core/protocols/DirectoryServer.hpp
* @author Ryan Lindeman
* @date 20130112 - Initial Release
*/... | [
"cloudncali@localhost"
] | cloudncali@localhost |
506654be2822a53903fca6e5ee1a11714f9bffc8 | e092a185ff83e18fa68b6260db5e114a8b5d3151 | /Sum_of_Array/Sum.cpp | d392c73317961522d228e9363973d39d59b4a969 | [] | no_license | piyush928/HackerRank | c062a003d65a14fdbb98aeae4da88ed4624bc91f | 95aea8a6bb7374b285f3e8944edf1ea8f2e2ae4a | refs/heads/master | 2023-04-03T23:42:17.658613 | 2021-04-14T08:00:02 | 2021-04-14T08:00:02 | 357,790,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include<iostream>
#include<vector>
using namespace std;
int sum(vector<int> ar)
{
int len =ar.size();
cout<<"length is : " << len;
int out=0;
int i=0;
while(len--)
{
out+=ar[i++];
}
return out;
}
int main()
{
vector<int> ar;
int i;
for(i=0;i<5;i++)
... | [
"piyushyadav928@gmail.com"
] | piyushyadav928@gmail.com |
d5e30dfb5a551ebb2fdf76ae233e544d25db94a6 | 7bd101aa6d4eaf873fb9813b78d0c7956669c6f0 | /PPTShell/PPTShell/DUI/IFunctionListener.h | ec9b99f1786ec4fd9ffebfdd0ebc46959c359cc8 | [] | no_license | useafter/PPTShell-1 | 3cf2dad609ac0adcdba0921aec587e7168ee91a0 | 16d9592e8fa2d219a513e9f8cfbaf7f7f3d3c296 | refs/heads/master | 2021-06-24T13:33:54.039140 | 2017-09-10T06:31:11 | 2017-09-10T06:35:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #pragma once
class IDeleteListener
{
public:
virtual void OnDeleteComplete(LPCTSTR lptcsError ) = 0;
};
class IRenameListener
{
public:
virtual void OnRenameComplete(LPCTSTR lptcsError, LPCTSTR lptcsNewName) = 0;
};
| [
"794549193@qq.com"
] | 794549193@qq.com |
0aedc106fc1dae1b9e1ef11200f0585ddda5faa6 | eada8eb1d9677d25d1f854e89df611b788d51804 | /rionos/skinmesh-system.h | 4a540524269674678e231360807c73f24b765d6e | [] | no_license | hiragisorah/deprecated-rionos | 47b9d9546eba19ee5809606e925e45cd95f0002a | e74a6e9c1c26cfbd203b05a21845753a6f35eb99 | refs/heads/master | 2020-03-19T05:50:52.796047 | 2018-06-16T20:55:03 | 2018-06-16T20:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include <DirectXMath.h>
#include "..\seed-engine\system.h"
class SkinMeshSystem : public Seed::System
{
public:
SkinMeshSystem(std::shared_ptr<System> & self);
public:
void Initalize(void) override;
void Finalize(void) override;
void Pause(void) override;
void Update(void) override;
void Always(... | [
"hiragisorah@gmail.com"
] | hiragisorah@gmail.com |
ef5cd5b3951067ea9685759866d689167b9430b9 | 9b6eced5d80668bd4328a8f3d1f75c97f04f5e08 | /bluetooth/btsdp/database/SDPAttrValue.cpp | ff7f1bfed5cc675f503016efdc7b2ead0783b4d7 | [] | no_license | SymbianSource/oss.FCL.sf.os.bt | 3ca94a01740ac84a6a35718ad3063884ea885738 | ba9e7d24a7fa29d6dd93808867c28bffa2206bae | refs/heads/master | 2021-01-18T23:42:06.315016 | 2010-10-14T10:30:12 | 2010-10-14T10:30:12 | 72,765,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,529 | cpp | // Copyright (c) 2000-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 |
2db71fac18be7e72b4354ded4de2a7d45f18c464 | 87dea373bca483449eca7c889f8655e80376a6df | /SplashDlg.h | e4c6b5e8e77204be6f90488853f8d49056de1e7d | [] | no_license | wgwang/rstockanalyst | c19ffbd20e76a2bfcf60d9a57613d623a0e78922 | c08414bf81a024a50e0e1b2e013bcf29e428d5d8 | refs/heads/master | 2021-01-01T20:16:14.694602 | 2013-09-01T13:20:17 | 2013-09-01T13:20:17 | 33,318,406 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 791 | h | /************************************************************************/
/* 文件名称:SplashDlg.h
/* 创建时间:2012-11-08 10:59
/*
/* 描 述:用于程序初始化和程序退出时的闪屏窗口,继承自QDialog
/************************************************************************/
#ifndef SPLASH_DLG_H
#define SPLASH_DLG_H
#include <QtGui>
class CSpl... | [
"liyake04@gmail.com@4ebeba31-cbc1-aedc-ca5e-33a6bebab04a"
] | liyake04@gmail.com@4ebeba31-cbc1-aedc-ca5e-33a6bebab04a |
7a2f6dd9dece8d4b26c2bc7767fd09c7187a2db4 | cfff23a4ea8ae16ef9d3ca1234e7a65e7e807889 | /src/timer_service.h | ec0c4c0720aa5e13e8fdaac613e06f4e4e1f146e | [
"MIT"
] | permissive | netdigger/beam | 0fc1da2a8daddf11f113338266231549e8ec8297 | 2aa90fd6117db40a5ae96b83793681df57c11b3e | refs/heads/master | 2021-01-12T18:14:33.463187 | 2018-09-09T06:09:00 | 2018-09-09T06:09:00 | 71,346,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | h | /* Copyright ©2018 All right reserved, Author: netdigger*/
#ifndef __TIMER_SERVICE_H__
#define __TIMER_SERVICE_H__
#include <set>
#include "beam/mutex.h"
#include "beam/task.h"
namespace beam {
class Timer;
class TimerWorker;
class TimerTrigger;
class TimerService : public Task {
public:
virtual ~TimerService... | [
"netdigger@gmail.com"
] | netdigger@gmail.com |
fa420c73a9826a7881529e311328143c87610db2 | 929ab1c9a3c741aa706a74d566097196c8093547 | /nvpr_examples/skia/experimental/Intersection/QuadraticReduceOrder.cpp | e6ce04444a7de25f95f310e8098ec4a656087172 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | sasmaster/NVprSDK | 5777a05887d5b5d52a00d15c6a6a0f091f725f8a | 7d7d17424853fc200665f5b5f6f6c8448695f8a5 | refs/heads/master | 2023-03-16T09:58:48.996704 | 2020-02-05T02:40:18 | 2020-02-05T02:42:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,596 | cpp | #include "CurveIntersection.h"
#include "Extrema.h"
#include "IntersectionUtilities.h"
#include "LineParameters.h"
static double interp_quad_coords(double a, double b, double c, double t)
{
double ab = interp(a, b, t);
double bc = interp(b, c, t);
return interp(ab, bc, t);
}
static int coincident_line(con... | [
"mjk@nvidia.com"
] | mjk@nvidia.com |
1249ae30a56afd3cc003aa80b5e695a9a6e6444b | 55d78aa8c8510cb7bbb8547d44249a9fe4e63f16 | /src/storage/LinkBatchStorage.cpp | 9877688d9f7272f21b7a9e0135724bf19f839018 | [] | no_license | goforbroke1006/adelantado | 8e72826974fe57efc17a2fda663ea34c1a0a9054 | 3eaf71ed129d69cf4e5907481edd5e11649b78dd | refs/heads/master | 2023-01-20T02:24:50.928279 | 2020-11-30T00:23:06 | 2020-11-30T00:23:06 | 311,798,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | //
// Created by goforbroke on 29.11.2020.
//
#include "LinkBatchStorage.h"
#include <stdexcept>
#include "common.h"
LinkBatchStorage::LinkBatchStorage(PGconn *conn)
: mConnection(conn) {}
void LinkBatchStorage::registerLink(const std::string &address) {
std::string sql = ""
"INSER... | [
"go.for.broke1006@gmail.com"
] | go.for.broke1006@gmail.com |
08d879b13fe467242549ff5b2749e6a4762cac9e | 9c0987e2a040902a82ed04d5e788a074a2161d2f | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h | 9f0bfb3d395aaab4837c239babbb8ec4e2e98b04 | [
"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,545 | 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 |
e97998f88a6d9fd682047a934f19eecdd1c02919 | 98b6b3063c80b82175a1ebe2f0ab35b026967481 | /CSES/Introductory Problems/GridPaths.cpp | 7f2a1bd3d7fec766b51677d8bf7bef258ca26bcc | [
"MIT"
] | permissive | AakashPawanGPS/competitive-programming | 02c6f8a2ad55c7274f0d4aa668efe75ee9f39859 | b2f1ad3a258c00da71e468316f020a88df5d8872 | refs/heads/master | 2023-05-27T14:32:01.669785 | 2021-06-14T04:17:09 | 2021-06-14T04:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_... | [
"thedevelopersanjeev@gmail.com"
] | thedevelopersanjeev@gmail.com |
077ac8897685a888664db7fce5ce304d386f699d | b2ee7279be8680b597a52953cb83ba035e169693 | /WinGUI/NewGUI/NewColorizerEx.cpp | 2229b120a0c365eb183e252acec966695b62b66c | [] | no_license | xt9852/KeePassXT | 6ce8b9ec4de7987086790abea9fed48dad9be2a3 | ca2f7e56078310f50e33a704334461de893ff262 | refs/heads/master | 2021-01-20T19:56:39.351759 | 2017-12-25T08:52:47 | 2017-12-25T08:52:47 | 61,785,904 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,276 | cpp | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2017 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... | [
"zhanghaitao@autohome.com.cn"
] | zhanghaitao@autohome.com.cn |
74c2f2eeb9d9bc74ae8c4b32bbf9382a98780ac5 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5/generated/client/OAIComDayCqWcmCoreStatsPageViewStatisticsImplProperties.cpp | c00570b7fed82ac5ca98f970c614650edcd46af6 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 4,838 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
83ea2dca55e9f83db97427dc5d0c4b891da62dd9 | 89c18e3ed276ca5fff7bd747548fd97a4ecf880a | /third_party/protozero/test/t/enum/testcase.cpp | 0854ff5704009cdaf9c2f8de62a8b278602b80af | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | developmentseed/osrm-backend | 98d4705554dee6df1e2e0786bebc6b2a90494638 | 0c344ae98ffd3cdadd405b4991d7bf5ceb70c3b4 | refs/heads/master | 2021-07-05T19:29:43.092863 | 2020-07-21T10:43:33 | 2020-07-21T10:46:04 | 135,611,823 | 3 | 1 | BSD-2-Clause | 2020-07-14T08:30:16 | 2018-05-31T16:54:21 | C++ | UTF-8 | C++ | false | false | 491 | cpp |
#include <testcase.hpp>
#include "testcase.pb.h"
int main(int c, char *argv[]) {
TestEnum::Test msg;
msg.set_color(TestEnum::BLACK);
write_to_file(msg, "data-black.pbf");
msg.set_color(TestEnum::BLUE);
write_to_file(msg, "data-blue.pbf");
msg.set_color(TestEnum::NEG);
write_to_file(msg,... | [
"michael.krasnyk@gmail.com"
] | michael.krasnyk@gmail.com |
ec026223fd7fbdfd1d3c49ed658855356be6150c | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/BP_Prey_Moose_Female_functions.cpp | daa4847b25e7ae57a55f05ca6a3401085e5a9bda | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
a619e4a08e76c0a27a183ac6c8c763c1c1d22a2e | 0d188ac348c99f5f83bcfde9c83033c696e74c52 | /archive/to-2006/phd-neuralsim/brainlib/BadObject.h | 9f7fa4f39c88fdb120bb2ff1b6a5942a8cfd56cc | [] | no_license | pliniker/attic | ebb3085fbc7465017144f0fced1243c28e4eb82c | 35b009f6bac41564e3396f272a2bc0ff1b1ec21e | refs/heads/master | 2021-01-10T06:18:40.788507 | 2015-11-23T18:42:57 | 2015-11-23T18:42:57 | 46,632,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | h | #ifndef BRAINLIB_BADOBJECT_H
#define BRAINLIB_BADOBJECT_H
#include <exception>
#include <string>
#include <iostream>
#include "ErrorInterface.h"
#include "Serializable.h"
namespace nnet {
/** Exception class thrown by any and every class */
class BadObject : public std::exception {
// Object methods
pub... | [
"peter.liniker+github@gmail.com"
] | peter.liniker+github@gmail.com |
11a8487756d505ff9ab1d0dae158797f2e4f4c44 | 3c9918ea8fe80ca8220d2bac41150b986568519d | /DoubleControl_plugins/Control_plugin.h | ac9532c68a00af8230542793e07242b7cdf7c637 | [
"MIT"
] | permissive | 1907931256/GUI_EC_PluginSrc | b250ee96bf3270d30d78cbe5a160408b958feda5 | 9194e67b76f3707f782f1fc17ba6e6dcb712c2a5 | refs/heads/master | 2022-04-06T12:27:11.070397 | 2019-12-17T12:14:24 | 2019-12-17T12:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,606 | h | #ifndef CONTROL_PLUGIN_H
#define CONTROL_PLUGIN_H
//#include <QGenericPlugin>
#include <QObject>
#include "EtherCAT_UserApp.h"
#include <QObject>
#include "My_MotorApp_Callback.h"
#include "Form_ControlTab.h"
class Control_plugin : public QObject,EtherCAT_UserApp
{
Q_OBJECT
#if QT_VERSION >= 0x050... | [
"liucongjunch@gmail.com"
] | liucongjunch@gmail.com |
e4ffcae22b44efccf80fb28c8403103e44179a38 | d44026a7e3386e8f94de39e766220fdf2a6acaa2 | /Data Structures/Linked Lists/P02-Insert-A-Node-At-The-Tail-Of-A-Linked-List.cpp | ff6cfefc908e0b074df68fc8908807b560908ad3 | [] | no_license | velamen2009/HackerRank | 23a4ebf3c6aeffed23bfe7ba2565ddcd4134e1a7 | 2825cbe6b1305c5bcf0475d2a9bf33befb493581 | refs/heads/master | 2020-04-06T03:58:17.207289 | 2017-04-07T22:49:15 | 2017-04-07T22:49:15 | 83,093,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | /*
Insert Node at the end of a linked list
head pointer input could be NULL as well for empty list
Node is defined as
struct Node
{
int data;
struct Node *next;
}
*/
Node* Insert(Node *head,int data)
{
// Complete this method
if(NULL == head){
head = new Node();
... | [
"2565570621@qq.com"
] | 2565570621@qq.com |
134fa373803f8eb63df48bf1ec8a9eb601dc22c1 | f71393bb1c0f9a928684529680c3390742f46f86 | /SGFileGDB/GDBGeometry.cpp | 5951e1ab2bb12079c76e74501657c6fd71ceaec4 | [] | no_license | SupergeoTek/Open-File-Geodatabase-in-SuperGIS | 0f6c8d15d941bb8a67e73247b351a1a8964dee1c | d2e8004c44cd7074f51837cd2c4d63bbe8d6fa81 | refs/heads/master | 2020-03-23T04:32:54.999242 | 2018-07-16T05:23:11 | 2018-07-16T05:23:11 | 141,089,958 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 55,663 | cpp | #include "stdafx.h"
#include "GDBGeometry.h"
#define SHPP_TRISTRIP 0
#define SHPP_TRIFAN 1
#define SHPP_OUTERRING 2
#define SHPP_INNERRING 3
#define SHPP_FIRSTRING 4
#define SHPP_RING 5
#define SHPP_TRIANGLES 6
void setWKBLineString(WKBLineString* geom, int ptn, double* pXY, double* pZ, double* pM)
... | [
"leon@supergeo.com.tw"
] | leon@supergeo.com.tw |
c2e9140478c39fae32599162eba825438074cd61 | d0be9a869d4631c58d09ad538b0908554d204e1c | /utf8/lib/client/kernelengine/include/CGAL3.2.1/include/CGAL/kdtree_d.h | e593fd6aeb6404d3a06b64f8b16b0689154b4033 | [] | no_license | World3D/pap | 19ec5610393e429995f9e9b9eb8628fa597be80b | de797075062ba53037c1f68cd80ee6ab3ed55cbe | refs/heads/master | 2021-05-27T08:53:38.964500 | 2014-07-24T08:10:40 | 2014-07-24T08:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,973 | h | // Copyright (c) 1997 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
// the terms of the Q Public License version 1.0.
// See the file LICENSE.QPL distributed with CGAL.
//
// Licensees holding a valid commercial license may use this ... | [
"viticm@126.com"
] | viticm@126.com |
ab7a521c1b582a8e128419986f6be616a1baf24f | 9281c1a887b970b05613b6c0e7565bd9a6d112a8 | /LeetCode/Solution.h | 581f578d91071413bc46f0f05f6f6dea8fe10c73 | [] | no_license | chubei/LeetCode | f05b4ecd6e90d278bacbb6abcc6cb77d5d638536 | c92c7766aa1e5ebb156b9678fdc6db63be8dae6b | refs/heads/master | 2021-01-01T05:09:14.094279 | 2016-10-23T17:14:32 | 2016-10-23T17:14:32 | 57,269,745 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | h | #pragma once
#include <vector>
#include <string>
#include <queue>
#include <deque>
#include <utility>
#include <list>
#include <unordered_set>
#include <unordered_map>
#include <map>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
struct TreeNod... | [
"914745487@qq.com"
] | 914745487@qq.com |
c51cc423bd876d47557b440abec49e7e1e72047c | 3b04925b4271fe921020cff037b86e4a5a2ae649 | /windows_embedded_ce_6_r3_170331/WINCE600/PRIVATE/TEST/MULTIMEDIA/DIRECTX/D3D/MOBILE/LIBS/VERIFTESTCASELIBS/BLENDTESTCASES/blendcases.cpp | 855f33581ba652a1fb78b663ff62d5a0b52195f1 | [] | no_license | fanzcsoft/windows_embedded_ce_6_r3_170331 | e3a4d11bf2356630a937cbc2b7b4e25d2717000e | eccf906d61a36431d3a37fb146a5d04c5f4057a2 | refs/heads/master | 2022-12-27T17:14:39.430205 | 2020-09-28T20:09:22 | 2020-09-28T20:09:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,042 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
26b834b34f1a20e57713cd9d2863fe6e2adb9e9f | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/Uva Online Judge/Q1558(2).cpp | 8c1fe39a5018c6f859ff8fc8acbcfed0ad46618e | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | #include<cstdio>
#include<cassert>
using namespace std;
int T,N;
int DP[1<<21];
inline int Choose(const int s,const int v)
{
assert(s&(1<<v));
int ts=s;
for(int i=0;i<=20;i++)if(i!=1&&!(s&(1<<i)))
{
for(int cnt=1;i+v*cnt<=20;cnt++)ts&=~(1<<(i+v*cnt));
}
return ts;
}
int Win(const int s)
{
int &dp=DP[s];
if(dp... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
ded3111eb558cd0fdd210df22ea295bd982748ef | c1db8f7c6ce29cd42f1e3c9587099134ec00ab0e | /util.cc | 97b18594ff872b44ff7414d2b28341f0daa38480 | [
"Apache-2.0"
] | permissive | aruba/envoy-extn-pkm-provider | 9ec930b0fc1d50022cba5be79a191cc8a0ead584 | 9ec94c4bee946b90db0464d8f63b1b31790e2e48 | refs/heads/master | 2020-05-31T22:11:53.730942 | 2019-08-23T20:24:23 | 2019-08-23T20:24:23 | 190,514,772 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cc | /*----------------------------------------------------------------------
*
* Organization: Aruba, a Hewlett Packard Enterprise company
* Copyright [2019] Hewlett Packard Enterprise Development LP.
*
* Licensed under the Apache License, Version 2.0
*
* ------------------------------------------------------------... | [
"scheler@arubanetworks.com"
] | scheler@arubanetworks.com |
3945466d5f50f03f8db39eb3388cd802360d2db2 | b87548b530288b5fcf8dffd4abf016fe552467da | /NaiveMatcher.cpp | da60b0120bbe8a73c620b19bf947e75fb204926c | [] | no_license | JayaniH/String-Matching | 589df5411fbef305158d8cce540197b8b5e161b4 | bac03d6aa360d1bd3438a7eeb2569674d5e8af3f | refs/heads/master | 2022-01-18T09:11:13.578741 | 2019-06-11T17:34:07 | 2019-06-11T17:34:07 | 187,623,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | #include<iostream>
#include<string>
using namespace std;
class NaiveMatcher{
private:
string text,pattern;
int n,m;
public:
NaiveMatcher(string t, string p);
void match();
};
NaiveMatcher::NaiveMatcher(string t, string p){
text = t;
pattern = p;
n = t.length();
m = p.length();
}
void NaiveMatcher::matc... | [
"jayani.hewa77@gmail.com"
] | jayani.hewa77@gmail.com |
c7f7439be852f452fe8c2908165bd7cb8e1b36f9 | 7452457bf715cf50f251d086c5c9bfe0821b1538 | /include/Furrovine++/Vendor/fbxsdk/scene/fbxscene.h | 743b209ee688515faff3b5609f4bc8ecd79f997c | [
"MIT"
] | permissive | bananu7/Furropen | 3d91c49b5b833f5f269cf5516a8f8c7cf1385cdc | 968351c1268d8994116cd8312f067dd2cacdbf5b | refs/heads/master | 2021-01-10T20:44:17.606000 | 2014-02-13T22:28:09 | 2014-02-13T22:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,060 | h | /****************************************************************************************
Copyright (C) 2013 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accom... | [
"phdofthehouse@gmail.com"
] | phdofthehouse@gmail.com |
a5319c39c3db520b09993aca194b3e43e3486555 | 4ccc93c43061a18de9064569020eb50509e75541 | /chrome/browser/chromeos/file_manager/video_player_browsertest.cc | 983569261dc33bb4297b6f0cc8916d8e0098a59d | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SaschaMester/delicium | f2bdab35d51434ac6626db6d0e60ee01911797d7 | b7bc83c3b107b30453998daadaeee618e417db5a | refs/heads/master | 2021-01-13T02:06:38.740273 | 2015-07-06T00:22:53 | 2015-07-06T00:22:53 | 38,457,128 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,848 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h"
#include "chromeos/chromeos_switches.h"
namespace file_manager {
templa... | [
"g4jc@github.com"
] | g4jc@github.com |
12b1ecf376ee6d0643cd7cb31655c5e6c55049d1 | ab8a01ff95838916e6da377ef211e1838b7b3504 | /structure/SegTree/RangeMinimumQuery.cpp | de5bfe4a69fc18fa5c3da7496e7485df6f13f680 | [] | no_license | chakku000/algorithm | 1b7de8a890e071dd32f9f5355d05a2cb73b53894 | d6ea33177337d5dc5a6426cc6f1cc2a0ca752739 | refs/heads/master | 2021-06-16T19:12:25.301447 | 2021-02-05T15:54:26 | 2021-02-05T15:54:26 | 148,676,681 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | template<typename T,T iniv=0>
struct Segtree{
int n;
vector<T> dat;
Segtree(int n_){
n = 1;
while(n < n_) n *= 2;
dat.resize(2*n-1);
for(int i=0;i<2*n-1;i++) dat[i]=iniv;
}
void update(int k,T a){
k+=n-1;
dat[k]=a;
while(k>0){
k=(k... | [
"chakkurai0724@outlook.jp"
] | chakkurai0724@outlook.jp |
5662c04bacf95aa7361c30c90444e3997b8f0c57 | 3809d83f905e9d3b28f3b174142795a9757a2d00 | /YMusic/YMusic/src/MainWindow/YMainWindow.h | 7b8442064127bcd3dd0758d360ce41d4eec7e548 | [] | no_license | xywwf/myduilib | a3b14c5c58d9e5284d146a30904b44111cf79a8f | 195b0383ae6555b4c24e7297413b8fccdbe88cef | refs/heads/master | 2020-05-16T10:40:30.844164 | 2015-07-07T13:23:54 | 2015-07-07T13:23:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,737 | h | #ifndef __YMainWindow_h
#define __YMainWindow_h
#pragma once
#include "../../YMusic.h"
#include "../LrcView/LrcView.h"
#include "../MusicLib/MusicLib.h"
#include "../DesktopLrc/DesktopLrcWindow.h"
class YMainWindow
: public YWindow
, public INotifyUI
, public IDialogBuilderCallback
{
public:
YM... | [
"389465209@qq.com"
] | 389465209@qq.com |
c88999d1ea58009391a2ec0fbd4f9ee748711bb4 | 94ed2113af11ba8b716fb959c5ac0a32c5549c18 | /tests/pyre.lib/grid/index_fill.cc | 13ddf25fa77808f62b12814c137d9ae96fe42135 | [
"BSD-3-Clause"
] | permissive | avalentino/pyre | 85ba21388514dc8c206d5136760e23b39aba1cae | 7e1f0287eb7eba1c6d1ef385e5160079283ac363 | refs/heads/main | 2023-03-23T04:58:02.903369 | 2021-03-09T17:37:11 | 2021-03-09T17:37:11 | 347,723,195 | 0 | 0 | NOASSERTION | 2021-03-14T18:43:34 | 2021-03-14T18:43:33 | null | UTF-8 | C++ | false | false | 1,298 | cc | // -*- c++ -*-
//
// michael a.g. aïvázis <michael.aivazis@para-sim.com>
// (c) 1998-2021 all rights reserved
// support
#include <cassert>
// get the grid
#include <pyre/grid.h>
// type alias
using idx_t = pyre::grid::index_t<4>;
// exercise the filling constructor
int main(int argc, char * argv[]) {
// init... | [
"michael.aivazis@para-sim.com"
] | michael.aivazis@para-sim.com |
61dbb82368ea137f87392238687efd3450c0c919 | 8834b745b49a9593507c7854804f982680733fc5 | /初级算法/验证二叉搜索树/C++/citation.cpp | c6443ef82c03e1b5610e782ce1efb1315cfa8cd5 | [] | no_license | xingkaihao/Leetcode | 739105eb6416d0480a36f532b8abf894980465d2 | 61b6a4ce0854b81e9a095b8ba0fba91fe92c60b5 | refs/heads/master | 2020-04-08T02:26:00.583629 | 2019-08-22T02:32:20 | 2019-08-22T02:32:20 | 158,935,556 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 691 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
* 思路和python一样,注意INT64_MIN=-2^32、INT64_MAX=2^32-1,以及long数据类型的使用。
*/
class Solution {
public:
bool isValidBST(TreeNode* root... | [
"18202419054@163.com"
] | 18202419054@163.com |
f20a42f3d12996465ec5fb214b064e04abd244e9 | 88dcce19274d00eb1ad4970fb14242a98d214b8f | /Packages/java/io/ByteArrayOutputStream.cxx | 5942d985ab486ee15e8f8226457db545026b47ae | [
"MIT"
] | permissive | Brandon-T/Aries | 0802db9dac0fe6204c3c520bbfac9fbdbcd8a689 | 4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca | refs/heads/master | 2021-09-07T16:02:21.520864 | 2018-02-25T18:25:24 | 2018-02-25T18:25:24 | 104,820,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | cxx | //
// ByteArrayOutputStream.cxx
// Aries
//
// Created by Brandon on 2017-08-26.
// Copyright © 2017 Brandon. All rights reserved.
//
#include "ByteArrayOutputStream.hxx"
using java::io::ByteArrayOutputStream;
ByteArrayOutputStream::ByteArrayOutputStream(JVM* jvm) : OutputStream(nullptr)
{
if (jvm)
{
... | [
"JustBrandonT@gmail.com"
] | JustBrandonT@gmail.com |
95c35696a4febe1cf3ea84ae5dda10a16b27caa7 | a0d4581536b07075171dc22ccedd683ad5a0a573 | /internal/.laplacian/testing/testing_chetrd_gpu.cpp | b17d7e9229fc1487a9ad669dc27a74fd49b21d57 | [
"Apache-2.0"
] | permissive | KyungWonPark/Correlation | 0e3a37c3819b1f377ec90b8fa26198bb2afad72b | 827b3c369161e1e5be1b29c73364dcf0cd44d1c0 | refs/heads/master | 2023-04-18T15:41:45.549415 | 2021-04-30T01:15:05 | 2021-04-30T01:15:05 | 297,269,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,535 | cpp | /*
-- MAGMA (version 2.5.3) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date March 2020
@author Raffaele Solca
@author Stan Tomov
@author Azzam Haidar
@author Mark Gates
@generated from testing/testing_zhe... | [
"kw.park.person@gmail.com"
] | kw.park.person@gmail.com |
de321cc13e61e2a01a5f8e4f3e51d095272922cb | eca94558a71f2882ffe6753ae7ee8c5092c52bb3 | /RSA/RSA_Task_3.cpp | 91adfe7f7cedbaef64ea91ffd73aaeeae10ff370 | [] | no_license | SamS034/RSA-Project | ff339a68ac9aacf364db761d1a64f53cb9323de3 | 22e5d2e519c382f58d9c3195e6542fa4a8faaa61 | refs/heads/master | 2020-06-07T23:02:48.141965 | 2019-06-21T14:28:53 | 2019-06-21T14:28:53 | 193,111,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | // RSA Task 3
// Written by Samuel Shen
#include<stdio.h>
#include<openssl/bn.h>
#define NBITS 256
void printBN(char *msg, BIGNUM * a)
{
char * number_str = BN_bn2hex(a);
printf("%s %s\n", msg, number_str);
OPENSSL_free(number_str);
}
int main ()
{
BN_CTX *ctx = BN_CTX_new();
BIGNUM *y = BN_new(... | [
"sshen1014@gmail.com"
] | sshen1014@gmail.com |
19b7c021796645b23955d68815e8b7a2148e6820 | 0b45aa221f069d9cd781dafa14bc2099b20fb03e | /tags/2.28.2/sdk/tests/test_feature/source/test_unsaferef.cpp | cdf18dce5a507c2ec9a0d77c25f438f8331f33e6 | [] | no_license | svn2github/angelscript | f2d16c2f32d89a364823904d6ca3048222951f8d | 6af5956795e67f8b41c6a23d20e369fe2c5ee554 | refs/heads/master | 2023-09-03T07:42:01.087488 | 2015-01-12T00:00:30 | 2015-01-12T00:00:30 | 19,475,268 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,136 | cpp | #include "utils.h"
#include "scriptmath3d.h"
namespace TestUnsafeRef
{
static const char * const TESTNAME = "TestUnsafeRef";
static const char *script1 =
"void Test() \n"
"{ \n"
" int[] arr = {0}; \n"
" TestRefInt(arr[0]); ... | [
"angelcode@404ce1b2-830e-0410-a2e2-b09542c77caf"
] | angelcode@404ce1b2-830e-0410-a2e2-b09542c77caf |
b98fe2557835d4cc7a5dd3f5d6f15aa9ea506e44 | 85b690ce5b5952b6d886946e0bae43b975004a11 | /Application/Input/openfoam-org/processor0/0.25/phi | 8e030464a432429ddc77f395f7c7080a78d7e19d | [] | no_license | pace-gt/PACE-ProvBench | c89820cf160c0577e05447d553a70b0e90d54d45 | 4c55dda0e9edb4a381712a50656855732af3e51a | refs/heads/master | 2023-03-12T06:56:30.228126 | 2021-02-25T22:49:07 | 2021-02-25T22:49:07 | 257,307,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,504 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.0 |
... | [
"fang.liu@oit.gatech.edu"
] | fang.liu@oit.gatech.edu | |
682ab0ad7a3e94fdebd2cba033d5ea15bd1d4555 | 0964b7defb8e49d90b0f98cecb27ef8dda06474a | /res/res_lib.cpp | 5f66661d6046cbf11a209ca042976622010a1b54 | [] | no_license | WindyValley/Snake | f1fdb4c704544430bbe934c4f837d4cc457fac84 | 615e16de8b4e7068ae95e3702318cdb2b18cac40 | refs/heads/main | 2023-03-18T19:49:51.386169 | 2021-02-09T12:37:57 | 2021-02-09T12:37:57 | 337,026,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include "Resource.h"
Resource res_bk = LOAD_RESOURCE(res_bk_mp3);
Resource res_tada = LOAD_RESOURCE(res_tada_wav);
Resource res_body = LOAD_RESOURCE(res_body_bmp);
Resource res_button = LOAD_RESOURCE(res_button_bmp);
Resource res_food = LOAD_RESOURCE(res_food_bmp);
Resource res_font = LOAD_RESOURCE(res_simkai_ttf); | [
"2519087323@qq.com"
] | 2519087323@qq.com |
fff3123d93bc1a534d87521449d88c1b8a29f03e | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigAnalysis/TriggerMatchingTool/Root/MatchingTool.cxx | eded98786d9b0efee4f1c7cc6720a3c681c3f01e | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,581 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "TriggerMatchingTool/MatchingTool.h"
#include "TriggerMatchingTool/MatchingImplementation.h"
#include "xAODBase/IParticle.h"
#include "FourMomUtils/xAODP4Helpers.h"
namespace Trig {
MatchingTool::MatchingTool(const std::string&... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
e400483e9823d89bca7632407967d4f92db053cb | 400e2b1fafda60fb8990ed209d70d8192f732845 | /MTS_Project/APP.h | a678b1331f8b9e1875c1244d3aba86e74d6d8bd3 | [] | no_license | Eichenherz/MTS_Project | 3e8e6a9b1458bb8bc3fe0affd4e10f6e3a4fbf4b | 24e3f95ed8b5f762b609253dc2b3bf447dfff500 | refs/heads/master | 2020-04-01T18:40:21.776320 | 2018-10-21T17:31:26 | 2018-10-21T17:31:26 | 153,507,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | #pragma once
#include "FrameworkWin.h"
#include "GFX.h"
#include <string>
#include "Keyboard.h"
#include "Mouse.h"
#include <memory>
class HWNDKey
{
private:
HWNDKey( const HWNDKey& ) = delete;
HWNDKey& operator=( const HWNDKey& ) = delete;
protected:
HWNDKey() = default;
private:
friend GFX::GFX( HWNDKey& key );... | [
"pelesliviu@yahoo.com"
] | pelesliviu@yahoo.com |
690ddb310d016c6552c0b47ba3ee04b142a65ebb | a36760c5009a62fbca7a00026e551eedbe5e1ac3 | /289B.cpp | 1e11c78b38e01c20e6351f0db33341133526aa6f | [] | no_license | StuartRyder/A2OJ | ebf93a5c8f78b43d9ff15eac924b53af6787dc55 | 90889f3c60aa0d5dbe89a59b231959a2fbc41c13 | refs/heads/master | 2023-07-14T04:27:47.681565 | 2021-08-27T10:04:21 | 2021-08-27T10:04:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | #include<bits/stdc++.h>
#include<iostream>
#include <iterator>
#include <unordered_map>
#include <string>
#include <algorithm>
#include <math.h>
#include <vector>
#include <map>
#include <fstream>
#include <cstdlib>
#include <ctime>
#include <limits.h>
#include <random>
using namespace std;
#define pb pu... | [
"53661892+StuartRyder@users.noreply.github.com"
] | 53661892+StuartRyder@users.noreply.github.com |
55756aa18f5f81bf1dd98b2e3f690574c99bb8a1 | 0c9c751411ef9260686f5651c4461f897c00b7d3 | /w5-1_vectorFieldOfLife/src/vectorField.h | 6cda5a139b0e1390a55f7b733d24cf386c1230f8 | [] | no_license | firmread/firm_algo2012 | 0418c562f48036e543c9152da932188dc366199b | a523a561f106d23641a28a8c987521ebe21368f3 | refs/heads/master | 2020-04-18T16:24:08.059888 | 2012-12-18T02:36:19 | 2012-12-18T02:36:19 | 5,781,577 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | h | #ifndef VECTORFIELD_H
#define VECTORFIELD_H
#include "ofMain.h"
class vectorField {
public:
// the internal dimensions of the field: (ie, 60x40, etc)
int fieldWidth;
int fieldHeight;
int fieldSize; // total number of "pixels", ie w * h
// the external dimensions of the field: (... | [
"litchirhythm@gmail.com"
] | litchirhythm@gmail.com |
6df8e3cd28522bd531e06d8b8dbf48bdaee52bbb | deb4cec49c88117c17297c81644e8c02f42cfad5 | /RStarTree/RStarBoundingBox.h | 5051c1db8429dff52532635aa63b11cd0e38d771 | [] | no_license | danini-the-panini/straylight | 7a96fa01d1f9729d0e0505e536c674c7b5874e3a | e3ec8477080d09b5dabe6269888e6b47a7b85907 | refs/heads/master | 2021-05-27T22:10:53.789421 | 2014-03-19T21:14:02 | 2014-03-19T21:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,194 | h | /*
* Copyright (c) 2008 Dustin Spicuzza <dustin@virtualroadside.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public License
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that i... | [
"jellymann@gmail.com"
] | jellymann@gmail.com |
67980b710889f3953d374ea85430783e1d08ad88 | 316f9a129df23b91a403233af4015314a636a2ae | /Generators.h | 756c7075d37678091cccf477eeda2f8c4c35072e | [] | no_license | Bartlomiej-Kochutek/generatory-liczb-losowych | a7d128a69a87ee36e24120280b977c2efc76f8f4 | 24f8749cbd8c81f821c0d4fbc04cce7215b0e461 | refs/heads/master | 2020-03-26T02:21:56.507759 | 2018-08-12T06:01:11 | 2018-08-12T06:01:11 | 144,407,079 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,446 | h | #ifndef GENERATORS_H
#define GENERATORS_H
#include "Class.h"
//funkcja zwraca: 0 jeżeli użytkownik chce wybrać rodzaj generatora losującego, 1 jeżeli użytkownik chce wyjść z programu
int menu_1() {
std::cout << "\n1 - wybierz generator \n2 - wyjscie z programu\n";
unsigned int x;
x = pobierz_unsigned(1, 2);
x--;
... | [
"42279043+Bartlomiej-Kochutek@users.noreply.github.com"
] | 42279043+Bartlomiej-Kochutek@users.noreply.github.com |
888fb7ec18bae20ba8d006d9401be6ef57ef5c83 | 572775c1f819621529934afd7c59ba65eeddb019 | /cStudy/MemSerialize/serialize/serialize.h | c6834eaa25013cafa842a2bc339459c53cfb5881 | [] | no_license | heartofHui/Linux-server-study | a6e6b3c14ae5abdb0b19a5b55e8660ecf154a4d8 | 25f566e500bda03548d3d28159257f1091c81b07 | refs/heads/master | 2021-01-21T21:47:10.588299 | 2018-02-12T05:02:47 | 2018-02-12T05:02:47 | 53,730,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | h | #ifndef __MEMORY_SERIALIZE
#define __MEMORY_SERIALIZE
#include <string>
#include <string.h>
#include <stdlib.h>
#define INI_BUFF_SIZE 128
#define MAX_BUFF_SIZE 2048
const int32_t _i = 1;
// TPC/IP协议网络字节序大多采用的是大端模式,因此本地数据在进行网络传输时需要转换为网络字节序
#define isBigEndian() ((*(char*)& _i)==0)
class Buffer
{
public:
unsigned c... | [
"chenhui@17paipai.cn"
] | chenhui@17paipai.cn |
63ee22dbb5794d5db4ed957746f8c95e15c84e2d | 1d4ad8135173b1361e42ddf962068aded35097a2 | /Clickmap Picker/cl_Graphics.h | b3d59ae3cb8c86204884b32c0d298d11f68bd379 | [
"MIT"
] | permissive | SimpleRepos/Clickmap-Picker | 4ac1e0495fefbaef82d7eb4777b27909f9d456a1 | 3c9899fd84e2a6a853a27b019358202cb48b343d | refs/heads/master | 2021-01-20T13:27:02.182145 | 2017-06-15T02:43:55 | 2017-06-15T02:43:55 | 90,494,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | h | #pragma once
#include "st_ColorF.h"
#include <atlbase.h>
#include <d3d11.h>
#include "cl_Window.h"
class GfxFactory;
class Graphics {
public:
Graphics(Window& win);
~Graphics();
void clear(const ColorF& color = ColorF::BLACK);
void clearEx(bool clearTarget, bool clearDepth, bool clearStencil, const ColorF& ... | [
"a"
] | a |
22487d67a8f6afe273eb0fc457e3b8929255c46b | 46279163a543cd8820bdc38133404d79e787c5d2 | /aten/src/ATen/test/tensor_iterator_test.cpp | aecff33946f4f831f961a7d2eb9c17ce11400db0 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | erwincoumans/pytorch | 31738b65e7b998bfdc28d0e8afa7dadeeda81a08 | ae9f39eb580c4d92157236d64548b055f71cf14b | refs/heads/master | 2023-01-23T10:27:33.628897 | 2020-12-06T01:22:00 | 2020-12-06T01:23:40 | 318,930,000 | 5 | 1 | NOASSERTION | 2020-12-06T01:58:57 | 2020-12-06T01:58:56 | null | UTF-8 | C++ | false | false | 11,721 | cpp | #include <gtest/gtest.h>
#include <thread>
#include <ATen/ATen.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/cpu/Loops.h>
using namespace at;
// An operation with a CUDA tensor and CPU scalar should keep the scalar
// on the CPU (and lift it to a parameter).
TEST(TensorIteratorTest, CPUScalar) {
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0b448fe766d5bfcf0214f2ed822291b605bf027e | 970435316dad58c62f7ed82bbc3674eac1d2e493 | /include/BFieldMap.h | d7fbef3627a23a851b4916e952e0a5eef2d3c0ca | [] | no_license | abaty/OpenGL_LHC | 24498a435fe79f78f87a5ac85dbec965cdcebb42 | 6820a088b4d915dd069fd4f16f9108bf164a4362 | refs/heads/master | 2021-06-15T23:35:23.764215 | 2018-11-04T21:45:32 | 2018-11-04T21:45:32 | 146,665,005 | 0 | 1 | null | 2021-02-15T23:07:30 | 2018-08-29T22:17:56 | PostScript | UTF-8 | C++ | false | false | 388 | h | #pragma once
#include "glm/glm.hpp"
#include "include/Solenoid.h"
#include <vector>
#include <mutex>
class BFieldMap {
public:
BFieldMap();
~BFieldMap();
glm::vec3 getBField(glm::vec3 r);
void addMagnet( Solenoid *s);
void removeMagnet(int i);
std::vector < std::mutex * > mutex_BFieldMap;
int nThreads;
pr... | [
"abaty@mit.edu"
] | abaty@mit.edu |
8b0792310f414a9389d6836d6fa50168205629ce | e082c8ffb3f8fa05d242fffb5b68c66d0d179d53 | /cpus/common/dis.cc | 415ee3cdbbdd7acee556aaad4b2bd1402f20cd4a | [] | no_license | pratikab/CS422-HW3 | 5bfdd789d524708590dcd9e1e60cd3204f8957a8 | 7da63a7e46acdb75829a3c5494a5bda8ecfdd3f8 | refs/heads/master | 2021-01-18T17:46:15.253658 | 2017-04-15T17:12:01 | 2017-04-15T17:12:01 | 86,813,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,877 | cc | /*-*-mode:c++-*-**********************************************************
*
* Copyright (c) 1999 Cornell University
* School of Electrical Engineering
* Ithaca, NY 14853
* All Rights Reserved
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for any purpose and wit... | [
"pratikab@iitk.ac.in"
] | pratikab@iitk.ac.in |
b36d45aa994ba3f041a136ad87538bad44b61198 | 5a77b5092acf817ac37a5fafd006feea434dd0d6 | /Doxygen_Graphviz/DesignPatternExample/品味Java的21種設計模式/dp_cpp/facade/example3/Business.cpp | 7da347226721a7c729f3180733424122fc558768 | [] | no_license | shihyu/MyTool | dfc94f507b848fb112483a635ef95e6a196c1969 | 3bfd1667ad86b3db63d82424cb4fa447cbe515af | refs/heads/master | 2023-05-27T19:09:10.538570 | 2023-05-17T15:58:18 | 2023-05-17T15:58:18 | 14,722,815 | 33 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include "Business.h"
namespace cn
{
namespace javass
{
namespace dp
{
namespace facade
{
namespace example3
{
void Business::generate()
{
//1:从配置管理里面获取相应的配置信息
ConfigModel *cm = ConfigManager::getInstance()->getConfigData();
if(cm->isNeedGenBusiness())
... | [
"jason_yao@htc.com"
] | jason_yao@htc.com |
3ef8bbd1752e4f2c6920c2c9128f4b6ff6783581 | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/inet/mshtml/src/site/lequill/qviewserv.cxx | b904d7ecc383182628d0d03a2d192e8b6c93178f | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,913 | cxx | #include "headers.hxx"
#ifndef X_FORMKRNL_HXX_
#define X_FORMKRNL_HXX_
#include "formkrnl.hxx"
#endif
#ifndef X_CARET_HXX_
#define X_CARET_HXX_
#include "caret.hxx"
#endif
#ifndef X_TPOINTER_HXX_
#define X_TPOINTER_HXX_
#include "tpointer.hxx"
#endif
#ifndef X_DISPNODE_HXX_
#define X_DISPNODE_HXX_... | [
"mehmetyilmaz3371@gmail.com"
] | mehmetyilmaz3371@gmail.com |
200383dc1735cc063b67d2e79028ea2bbaeccade | d941ec30c110a71b34aea0291a67ebf24e849ca4 | /EntityAntFarm/physics_system.h | f1c5c44e3d18b72cbd6ff4b9d94a7f43ddb7e512 | [] | no_license | clockwork-prism/EntityAntFarm | f318ce38340b024d18814698c6f8953196d2ce14 | 49fbed425183432836135ca7162848224ef8a363 | refs/heads/master | 2023-02-07T02:54:42.020837 | 2020-12-29T22:27:49 | 2020-12-29T22:27:49 | 280,737,384 | 0 | 0 | null | 2020-12-29T22:27:50 | 2020-07-18T20:50:38 | C++ | UTF-8 | C++ | false | false | 578 | h | #pragma once
#include "EntityManager.h"
#include "Managers.h"
#include <iostream>
class PhysicsSystem {
private:
const EntityManager* entityManager;
PositionManager* positionManager;
VelocityManager* velocityManager;
HistoryManager* historyManager;
void _update_positions();
public:
PhysicsSystem(
EntityManage... | [
"rwalroth89@gmail.com"
] | rwalroth89@gmail.com |
b30b1aa3444f73e7d8c416e1d3ab78d2b9650802 | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.003550000/OH | d240432a4ac9d82cd830d1eece28865475656096 | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141,938 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"ubuntu@ip-172-31-45-175.eu-west-1.compute.internal"
] | ubuntu@ip-172-31-45-175.eu-west-1.compute.internal | |
c875f534f3eabffa601d473b3f62cfd6ad810e40 | 50ebc266be198c2f47929f50b61fa70317301bee | /roborobo3/include/MultiNEAT/Genome.h | f03f5143e2cb53cbb24abf7fb082a6dab282cd21 | [] | no_license | TrulsStenrud/GNP-with-roborob3 | dddec8f1b0e5dce6b85c1b1d051f46fa24cceb9c | ea6a359abb24ee3dbcc76f7d8c93136774217c38 | refs/heads/master | 2023-05-08T21:55:00.354065 | 2021-06-04T11:02:29 | 2021-06-04T11:02:29 | 338,026,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,323 | h | #ifndef _GENOME_H
#define _GENOME_H
///////////////////////////////////////////////////////////////////////////////////////////
// MultiNEAT - Python/C++ NeuroEvolution of Augmenting Topologies Library
//
// Copyright (C) 2012 Peter Chervenski
//
// This program is free software: you can redistribute it and/o... | [
"fossfredrik@protonmail.com"
] | fossfredrik@protonmail.com |
6e477176c32edcba4207ee92534f07676ef71a3c | 740fdf1cca74bdb8f930a7907a48f9bdd9b5fbd3 | /chromeos/geolocation/simple_geolocation_provider.cc | 4f085e55ec251d732bf81b7660efdbb225dc976e | [
"BSD-3-Clause"
] | permissive | hefen1/chromium | a1384249e2bb7669df189235a1ff49ac11fc5790 | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | refs/heads/master | 2016-09-05T18:20:24.971432 | 2015-03-23T14:53:29 | 2015-03-23T14:53:29 | 32,579,801 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | cc | // Copyright 2014 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/geolocation/simple_geolocation_provider.h"
#include <algorithm>
#include <iterator>
#include "base/bind.h"
#include "base/time/time.h... | [
"hefen2007303257@gmail.com"
] | hefen2007303257@gmail.com |
566f607748f56c7617115131614c155b13c33e2c | 9472670a8487ef8bd70b327829df0c73ded6df20 | /PROGRAMACION Y ESTRUCTURA DE DATOS/tads/abb_/tad08.cpp | 8db1f6579ecf84961b1a7982b738c484a63226ac | [] | no_license | josemygel/Temario-Ingenieria-Software-UA | 246b4f7044ae5f5f8fcb171ad6b01040d19396fa | 32cc45fcaee9d3d7282796f083691ec9d4551848 | refs/heads/master | 2023-05-10T23:38:04.608129 | 2020-08-02T08:08:04 | 2020-08-02T08:08:04 | 216,786,952 | 17 | 12 | null | 2023-05-07T02:16:11 | 2019-10-22T10:31:00 | HTML | UTF-8 | C++ | false | false | 419 | cpp | #include <iostream>
#include "tabbcalendario.h"
using namespace std;
int
main(void)
{
TABBCalendario a;
TCalendario c1(1, 1,2000,(char *)"fecha"),c2(2,2,2000,(char *)"fecha"),c3(3,3,2000,(char *)"fecha");
a.Insertar(c1);
a.Insertar(c2);
a.Insertar(c3);
TABBCalendario b(a);
cout<<"Inorden="<<b.Ino... | [
"josemygel@gmail.com"
] | josemygel@gmail.com |
1d14d6b4167e17541bb3d555644fde4b23b49a8a | 6983c5932b104164b3fc1548bc6932755bef96dc | /Capstone/Capstone/Variations.cpp | 51a157b3093b14adbdb3ccd51a318eeb3fec06af | [] | no_license | jlfurtado/Neumont-PRO390-Capstone | d7c10005f190905d3cbd7d2bef33813a43022f17 | 498afd1a22d76ad61a50926837d6c4e8d04e864d | refs/heads/master | 2020-03-23T18:39:28.788641 | 2018-07-22T19:14:43 | 2018-07-22T19:14:43 | 141,923,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,676 | cpp | #include "Variations.h"
#include "MathUtility.h"
namespace Capstone
{
using namespace DirectX;
float Variations::ScalarUniform(float v1, float v2)
{
return MathUtility::Rand(MathUtility::Min(v1, v2), MathUtility::Max(v1, v2));
}
XMVECTOR Variations::VectorComponentUniform(const XMVECTOR & v1, const XMVECTOR &... | [
"justin.l.furtado@gmail.com"
] | justin.l.furtado@gmail.com |
63dc0ddd33fd9a117766e699e90680179d7ed93d | a0f040e88a59df2312f05744e1d9ce9650aed54b | /main.cpp | 5447d0f605ea26f225eb13b7ef5bd65eb81c9fca | [] | no_license | JaredEzz/RelationalDatabase | 989eb1d51d510340736211b8640951230f895677 | bda3995b1bcd5d06cc222e04282934f44d6c6816 | refs/heads/master | 2020-12-03T08:19:37.814756 | 2020-01-01T18:21:34 | 2020-01-01T18:21:34 | 231,249,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include <iostream>
#include "Database.h"
int main(int argc, char* argv[]) {
Database myDatabase(argv[1],argv[2]);
return 0;
} | [
"jhasson@simplifile.com"
] | jhasson@simplifile.com |
6a418c1d6e5617c47584759208fcffcb9dcecd35 | be60deba39fb2c4ba04c32222666d8513524f5de | /lib/node_modules/@stdlib/blas/ext/base/dsumkbn/src/addon.cpp | 1b784bf9e26fc40461242e25303af87f033898e5 | [
"Apache-2.0",
"MIT",
"SunPro",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jroell/stdlib | c7c418a60e460c556408d20dd925069e590b6b32 | 8400dff8ed6cd96e30b97b8dade5c856999f3394 | refs/heads/develop | 2023-07-19T18:56:06.058340 | 2021-02-08T04:42:29 | 2021-02-08T04:42:29 | 338,688,797 | 0 | 0 | Apache-2.0 | 2023-07-05T15:32:26 | 2021-02-13T23:10:24 | null | UTF-8 | C++ | false | false | 3,573 | cpp | /**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* 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 a... | [
"kgryte@gmail.com"
] | kgryte@gmail.com |
8a00abd8d850136d5c4f1ef2ad67c471f59c4132 | 9f8051f0e83cca6d559e6d9cd77cfebc68a4b3b6 | /print.cpp | c1db8501e39ade57b2badbbcc3d5f3aecd97a37e | [] | no_license | Warchild33/FormantSynth | 88631a1c97861a3a4b23c0d8dc0dbfd05c672972 | 8706521d228183da0564877518921aa0a98c61a4 | refs/heads/master | 2021-06-27T15:54:37.790572 | 2019-04-30T18:41:16 | 2019-04-30T18:41:16 | 133,503,356 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | /**********************************************************************
* Project App6
*
* print.cpp
*
* Author: Vladimir Baranov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fo... | [
"vdbarster@gmail.com"
] | vdbarster@gmail.com |
eed9e9e376f2b80c6152bb9002954d55dd814a03 | 93427e5015233aea8284ab7dc37a4b59b9d6c500 | /lct/link-cut-base.hpp | 6853f2cb98e5c0999fac2aa5c86969c851cba8db | [
"CC0-1.0"
] | permissive | zxc123qwe456asd789/library | fd978a387c8dd805ef1a7ffc1118272c6878b64a | 13c01442cc5082da181acdaa414554ace30b6ae3 | refs/heads/master | 2023-05-28T22:50:47.466753 | 2021-06-12T04:10:24 | 2021-06-12T04:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | hpp | #pragma once
template <typename Splay>
struct LinkCutBase : Splay {
using Node = typename Splay::Node;
using Ptr = Node*;
virtual Ptr expose(Ptr t) {
Ptr rp = nullptr;
for (Ptr cur = t; cur; cur = cur->p) {
this->splay(cur);
cur->r = rp;
this->update(cur);
rp = cur;
}
thi... | [
"suteakadapyon3@gmail.com"
] | suteakadapyon3@gmail.com |
70605b297ac46acd80b5ff95784a8dc8b3ae11b4 | bd3abc74927dcb18a3276cddc2b269cabb436364 | /server.cpp | 3b2889bfa75f5ae99d8b8415ab05f8f979d17d41 | [
"Apache-2.0"
] | permissive | youngslab/generic_network_framework | ad7269371cb93228bbbbd8cd68f72897d39df94f | ec64e46b35004813e3179675cd56eec3e355336b | refs/heads/main | 2023-07-29T21:13:39.063422 | 2021-09-23T09:31:48 | 2021-09-23T09:38:58 | 409,529,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp |
#include <iostream>
#include <fmt/format.h>
#include "network/server.hpp"
#include "common.hpp"
class ChatServer
: public gnf::GenericServer<boost::asio::ip::tcp::socket, ChatMessageType> {
void onMessageRecieved(int id,
const gnf::Message<ChatMessageType> &msg) override {
std::cout << fmt::format("{... | [
"jaeyoungs.park@gmail.com"
] | jaeyoungs.park@gmail.com |
9af74f0483b8c622a7de19d27d810b5840fc2bed | 66d59c42fc88270bed4ce6ab18e7b6b573b4cf1a | /331. Verify Preorder Serialization of a Binary Tree/331. Verify Preorder Serialization of a Binary Tree/_template2.cpp | a85bb95316c1489559e4adfaaf307977e1efa2f7 | [] | no_license | bluebambu/Leetcode_cpp | 0e749322c5081ee6b61191931c853ab0ce9094f9 | 7a21e391d7a6bde4c202e46047880c30195bb023 | refs/heads/master | 2022-05-28T13:11:06.991523 | 2020-05-03T00:36:13 | 2020-05-03T00:36:13 | 260,799,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,449 | cpp | // _template.cpp : Defines the entry point for the console application.
//
#include <stdafx.h>
#include <iostream>
#include <functional>
#include <bitset>
#include <stdlib.h>
#include <math.h>
#include <list>
#include <vector>
#include <algorithm> // std::for_each
#include <unordered_map>
#include <queue>
#include ... | [
"electricitymouse@gmail.com"
] | electricitymouse@gmail.com |
337918fd284be5a2f942ada550b7785326bac942 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/smatsmatsub/MZaMIa.cpp | c97a6cfb0f45e79c402322868bce33f7d3ff9aef | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,996 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatsmatsub/MCaMIa.cpp
// \brief Source file for the MCaMIa sparse matrix/sparse matrix subtraction math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This f... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
876705bb1387644a8ed29cc58e9b42995481a933 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_log_attributes_constant.hpp | f1a016514fee7170b6918150e347ad333c1b407d | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45 | hpp | #include <boost/log/attributes/constant.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
e5822f013e7fd8e3764d48f3a3bfe0ae40d68a1e | 9ac9d9b845ce40119fc25fb7c2ab143a8e531f75 | /Source/ArenaBattle/Public/ABSaveGame.h | 2e9b3c4fb42349c4955377bad78a916d0f63cd68 | [] | no_license | Duckbae-G/Unreal-Lee-Deuk-Woo-Practice | a2c318ea76e0fa38182f4a39480247c2b2ea78d5 | 9e25830b948647466676785110146e7c327ac424 | refs/heads/master | 2020-07-04T04:44:33.187252 | 2019-08-24T04:29:22 | 2019-08-24T04:29:22 | 202,158,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "ArenaBattle.h"
#include "GameFramework/SaveGame.h"
#include "ABSaveGame.generated.h"
/**
*
*/
UCLASS()
class ARENABATTLE_API UABSaveGame : public USaveGame
{
GENERATED_BODY()
public:
UABSaveGame();
UPROPERT... | [
"Duckbae-G@users.noreply.github.com"
] | Duckbae-G@users.noreply.github.com |
9e81c2514caa23db79526a80256365904612ffb6 | 590eb4cc4d0fe83d9740ce478f857ca3a98e7dae | /OGDF/include/ogdf/basic/SubsetEnumerator.h | c2ba858f29e129ac4602ed90d866190d405b416e | [
"LGPL-2.1-or-later",
"GPL-3.0-only",
"GPL-1.0-or-later",
"EPL-1.0",
"MIT",
"GPL-2.0-only",
"LicenseRef-scancode-generic-exception",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cerebis/MetaCarvel | d0ca77645e9a964e349144974a05e17fa48c6e99 | a047290e88769773d43e0a9f877a88c2a8df89d5 | refs/heads/master | 2020-12-05T05:40:19.460644 | 2020-01-06T05:38:34 | 2020-01-06T05:38:34 | 232,023,146 | 0 | 0 | MIT | 2020-01-06T04:22:00 | 2020-01-06T04:21:59 | null | UTF-8 | C++ | false | false | 6,599 | h | /** \file
* \brief A class that allows to enumerate k-subsets of lists.
*
* \author Stephan Beyer
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This progr... | [
"jayg@cbcbsub00.umiacs.umd.edu"
] | jayg@cbcbsub00.umiacs.umd.edu |
5a30b925992a519ef36a2c2c0fc34cf8c610f6c9 | f9672fe53738f0cdcce7c064a33aa6c6c596c36e | /samples/cpp/std/remove-from-vector/sample.cpp | caa7608cb7700cae3b1bf2b673c8f6721e846656 | [] | no_license | blockspacer/misc-1 | f7ae418708c15ae3fa95cf8cb51ea8a95fae5d4c | 7c3e328264b6e68d12691915f09da367ec4821f9 | refs/heads/master | 2023-03-21T00:49:39.184726 | 2019-03-22T09:19:03 | 2019-03-22T09:19:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
struct A
{
A(const std::string& s) : s(s) {}
std::string s;
};
int main()
{
std::vector<A> va{A("1"), A("2"), A("2"), A("3")};
std::cout << va.size() << std::endl;
va.erase(
std::remove_if(
va.begin(... | [
"pkostikov@yandex-team.ru"
] | pkostikov@yandex-team.ru |
ac60d01b8930b74df8263394f3d7faed14a46b38 | 50a4611fd1d7a2fcdf407bd94932ebdfdc5d84fc | /RepeatedString/main.cpp | 8a7fcbff914490e90a301e7773ea3d9eabf75681 | [] | no_license | iamchinu97/HackerrankRepository_1 | 39cf7d777e845435905cfc1865d5b6f10c45605a | df015fb35372ac1f53d820a562d9f90faf010e55 | refs/heads/master | 2021-04-29T12:01:01.818566 | 2018-02-16T06:02:35 | 2018-02-16T06:02:35 | 121,719,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
long n,counta=0,total,factor;
int i=0,len,remain;
cin>>s;
cin>>n;
len=s.length();
for(i=0;i<len;i++)
{
if(s[i]=='a')
counta++;
}
fac... | [
"shimpichinmay@gmail.com"
] | shimpichinmay@gmail.com |
2e8f9dc7ab5bce5d6ac61b0e7dadaa33f78a2d46 | 6477f79d8dde7d6d5d7c2f7639c2bec9bb21bdc2 | /CSE 432/Lab3.cpp | 3b60ff77cfde1d718c74a45b937cd352f7e5976d | [] | no_license | atrimuhammad/Assignment | 9123682b2c2370e8076d94793b2ea6c08f7ad778 | d291c889311015cae032f432ed495cd165402f6b | refs/heads/master | 2020-09-08T07:47:59.313859 | 2015-11-23T16:33:40 | 2015-11-23T16:33:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,955 | cpp | #include<graphics.h>
#include<conio.h>
void drawLine(int x0, int y0, int x1, int y1)
{
int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1;
int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1;
int err = (dx>dy ? dx : -dy)/2, e2;
while(true)
{
putpixel(x0,y0,WHITE);
if (x0==x1 && y0==y1) break;
e2 ... | [
"tanvir002700@gmail.com"
] | tanvir002700@gmail.com |
cfaec8ac01220305d9acbc6f98bd3dc3d47867a4 | 1bf6613e21a5695582a8e6d9aaa643af4a1a5fa8 | /src/chrome/browser/net/.svn/text-base/ssl_config_service_manager_pref.cc.svn-base | c193463d0d4287968998f13cc0e32041685b386a | [
"BSD-3-Clause"
] | permissive | pqrkchqps/MusicBrowser | ef5c9603105b4f4508a430d285334667ec3c1445 | 03216439d1cc3dae160f440417fcb557bb72f8e4 | refs/heads/master | 2020-05-20T05:12:14.141094 | 2013-05-31T02:21:07 | 2013-05-31T02:21:07 | 10,395,498 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 13,280 | // 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 "chrome/browser/net/ssl_config_service_manager.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/basictypes.h"
#inc... | [
"creps002@umn.edu"
] | creps002@umn.edu | |
bbf8232ab23b01293e9d7e75cdcfdb88318333b2 | 00c1bc41087bff3ce8bec5dc00465dd104c7ae3b | /Source/SimpleShooter/KillEmAllGameMode.h | b5f32a16ccf74eb4c614511b37479d14098d0a1d | [] | no_license | JustenK/SimpleShooter | 2b1f1c7dd0fc7a72519248a31dfc6707b7ecc375 | 9638d69eddd2e32990fa76d687448bf9d8173896 | refs/heads/master | 2023-01-13T01:43:55.570502 | 2020-11-17T22:50:09 | 2020-11-17T22:50:09 | 312,165,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "SimpleShooterGameModeBase.h"
#include "KillEmAllGameMode.generated.h"
/**
*
*/
UCLASS()
class SIMPLESHOOTER_API AKillEmAllGameMode : public ASimpleShooterGameModeBase
{
GENERATED_BODY()
... | [
"hannan3@uci.edu"
] | hannan3@uci.edu |
d5c16ec525c4d8b9d5ffcfd618f82eb8fbe8649f | 9ca59450eb56d9aff26ce9792c0302d4e22e19c4 | /ant_vr_sdk/Geometry.h | bceaadbcb3d49e9776236d724a1496dd8dec420c | [] | no_license | mzhg/opengl_study | a21aa1a06196afe836ef3dfd420c0d6ca2576bd5 | bceaee18804afbf9a3f30b96e215d4d0e27912d1 | refs/heads/master | 2020-07-28T21:03:15.465756 | 2017-04-01T10:11:41 | 2017-04-01T10:11:41 | 73,694,502 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,951 | h | #pragma once
#include "Spatial.h"
#include "Shape3D.h"
#include "Node.h"
namespace jet
{
namespace util
{
/**
* <code>Geometry</code> defines a leaf node of the scene graph. The leaf node
* contains the geometric data for rendering objects. It manages all rendering
* information such as a {@link Material} ob... | [
"mzhg001@sina.com"
] | mzhg001@sina.com |
f480c394a1f11cf6be787b7430242ee7891d3ff0 | 066517a18bf680315a47b56613ac76c240818444 | /tools/rdf3xload/TempFile.cpp | db1162286d5947b1d24aa43ce4438fc1e12d06ae | [] | no_license | YeXiaoRain/rdf3x-0.3.8 | 0da62625b6e547b84740d909983af5b0906ad10c | 5970ee5228f78d3bcb4ccea70c56b6895d14d7b2 | refs/heads/master | 2021-01-20T12:10:25.299856 | 2017-02-21T06:51:00 | 2017-02-21T06:51:00 | 82,644,389 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,242 | cpp | #include "TempFile.hpp"
#include <sstream>
#include <cassert>
#include <cstring>
//---------------------------------------------------------------------------
// RDF-3X
// (c) 2008 Thomas Neumann. Web site: http://www.mpi-inf.mpg.de/~neumann/rdf3x
//
// This work is licensed under the Creative Commons
// Attribution-No... | [
"yexiaorain@gmail.com"
] | yexiaorain@gmail.com |
30fdaba7f0259feaf65cf7846eff2fc7929cab18 | e1333d5619d725d8e1dec88e93611f6b411e1c95 | /checkout/Game.h | 6d18b332f11c6b9dc223ab18d3644ce243d935b6 | [] | no_license | jishansingh/basicOpenGL | af16ab0449b6376fe94d4147c6f2a3478ee9a34d | 5e909f7a3604c1912bd88e2225bf70ec9a0c2a5b | refs/heads/master | 2021-04-14T13:56:40.743498 | 2020-03-22T17:29:42 | 2020-03-22T17:29:42 | 249,235,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | h | #pragma once
#include"libs.h"
#include"Texture.h"
#include"Shader.h"
#include"Material.h"
#include"Mesh.h"
#include"Primitives.h"
#include"Model.h"
#include"objLoader.h"
class Game
{
private:
//variables
GLFWwindow* window;
int WINDOW_WIDTH;
int WINDOW_HEIGHT;
int framebufferwidth;
int framebufferheight;
int g... | [
"singhjishan2@gmail.com"
] | singhjishan2@gmail.com |
b3506e6e8ab175d2d213c4a4fbefef3b499cb893 | 405ea7a35a23f05a1d2f7b0656dd006d96891dfa | /tensorflow/compiler/mlir/tools/kernel_gen/kernel_creator.cc | b65e9f563705fb13e9b0b545bbf448d86347a903 | [
"Apache-2.0"
] | permissive | nikhilsanghi/tensorflow-1 | 32d9d6222a187aad1f47deb807b36ef4226883bd | f5cc613bdac1ca289493ee956b1777420ff07c6b | refs/heads/master | 2023-02-13T18:20:19.326298 | 2021-01-12T06:09:48 | 2021-01-12T06:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,376 | cc | /* Copyright 2020 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... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
d53ac8dd64dd233cdc7d3c18fe4bcec76892dbef | 101f3142bbcaf856f1a7824b2307364ed1315381 | /Problem9.cpp | ea8e98c0d306ac42732e0513ff4570e70828acd9 | [] | no_license | jwgreens/ProjectEuler | 49de5c6181ac2d07f6aa44be07691f59bb37757a | 7fd434f3ab6740fbe2b3038068f7d49f241087bb | refs/heads/master | 2021-01-10T09:30:54.397054 | 2016-02-15T20:28:41 | 2016-02-15T20:28:41 | 51,762,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | //There exists exactly one Pythagorean triplet for which a + b + c = 1000.
//Find the product abc.
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
bool flag = false;
int c;
for (int a = 1; a < 1000; a++)
{
for (int b = 1; b < 1000; b ++)
{
if ((a + b ... | [
"s1572908@inf.ed.ac.uk"
] | s1572908@inf.ed.ac.uk |
07efc432829fc76b4c75c8f1a1f524543953124b | 21805ed99bee0b9ccb2506ac4644f70c23b7c2ba | /CodeGenerator.cpp | 2ec8cd2978a09d5cdd8c30c2ab117af02294bc0e | [] | no_license | mhagans/project4 | 7fd155bba9a2f74f1edb11b6476e5986446050bb | c805682531a8e35d907fd9542e9ab019a99ac137 | refs/heads/master | 2021-01-01T16:30:17.974776 | 2015-04-21T22:21:52 | 2015-04-21T22:21:52 | 38,394,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,780 | cpp | //
// Created by Marcus on 4/12/2015.
//
#include "CodeGenerator.h"
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
CodeGenerator::CodeGenerator() {
lineIndex = 1;
tempVarIndex = 0;
}
void CodeGenerator::FunctionLine(string type, string id, int params) {
char buffer[100... | [
"marcuschagans@gmail.com"
] | marcuschagans@gmail.com |
438d760aeb3d52eeede72a9aa7d4b273ed84e9f3 | b60776fe3c35b48485b3e9fd85c38e2954e0186b | /Trees/printAllNodesAtDistanceKFromGivenNode.cpp | d73759b5caa977e18387feaf66e4c7b0ded1ff96 | [] | no_license | aniket-gore/practice-codes | 88994ef1719f21f1b1ae4c21b6fd7ad80d581e6b | 4b3fbfb73da8cd1f2786717e4e8927bac69eefb2 | refs/heads/master | 2021-01-17T21:24:00.879741 | 2017-08-17T01:37:32 | 2017-08-17T01:37:32 | 36,997,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | cpp | #include<iostream>
using namespace std;
// Time = O(n)
// http://www.geeksforgeeks.org/print-nodes-distance-k-given-node-binary-tree/
/* Recursive function to print all the nodes at distance k in the
tree (or subtree) rooted with given root. See */
struct node
{
int data;
struct node *left,... | [
"aniketgore05@gmail.com"
] | aniketgore05@gmail.com |
765aa160cd4c31cd457cd026023964421c8b736e | 5f16210532e677e817d01b4023629ba858c5b5ce | /src/qt/qtipcserver.cpp | f8092748a748785b43b1766f9b5bf417cff47027 | [
"MIT"
] | permissive | tulipcoins/tulipcoin | 509648aedca976131ca611206f1ad41621515904 | 5e14b1e488b0672ca405a2732603b1e091e2bbd2 | refs/heads/master | 2021-05-13T23:23:40.968992 | 2018-01-12T12:50:13 | 2018-01-12T12:50:13 | 116,513,389 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,929 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"cricketcoin@yahoo.com"
] | cricketcoin@yahoo.com |
b3e711d1d336dbf7e6c3a771712948e797d7c771 | a91151da47ddd7690c2a5317326f67effb7f665b | /lib/cpp/src/thrift/transport/TSocketPool.cpp | 55cdef72f1ec9f12f72d6a53f5cb54ef8d752b93 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain-disclaimer",
"FSFAP"
] | permissive | shivam00/thrift | 8ce84c032168760057a3282dfe2abd6c8810e420 | d81e9e3d22c130ef5ddba7b06fb9802267d9d1d7 | refs/heads/master | 2020-03-30T07:37:16.444343 | 2019-01-15T16:39:07 | 2019-01-15T16:39:07 | 150,953,345 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,042 | cpp | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | [
"shivam.gupta0002@gmail.com"
] | shivam.gupta0002@gmail.com |
8db0709146352020c34bf5a95c5190d356e21d1b | f3f8e60e4c527d2757646bbdc85eca2f8bad5ce6 | /luogu/涂色.cpp | 353d86a10f66542cd4a42c52fc46c62e61a7816f | [] | no_license | cristiano-xw/c-homework | ff7a76bab907d3b8d62a777f9333620610c6efc0 | 21d15779e20b41d923bbfa547206798411ec208b | refs/heads/main | 2023-04-03T01:50:07.678108 | 2021-04-09T13:33:09 | 2021-04-09T13:33:09 | 311,077,437 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 644 | cpp | #include<bits/stdc++.h>
using namespace std;
char s[55];
int dp[55][55];
int n=0;
//dp[i][j]表示从i到j需要的次数
int main()
{
scanf("%s",s+1);//我从第一位开始读入
int n=0;
n=strlen(s+1);//找出长度
memset(dp,127,sizeof(dp));
for(int i=1;i<=n;i++)
{
dp[i][i]=1; //初始化
}
for(int k=1;k<n;k++)//区间长度
{
for(int i=1,j=i+k;j<=n... | [
"1531887383@qq.com"
] | 1531887383@qq.com |
0e01d9c22a62b08d39cbdd51e157100fc23caf5f | 5c189101e85c86f7809cdfff1d2c025434fe4e9b | /VanControlCenter/LCDStringMsg.cpp | d856cd6583b9a7f069074c61c264e8e1133c6b18 | [] | no_license | o-s-e/VanControlCenter | f259af78f9cfd74ce4ee58aac7084b7eed10f04f | 134c3b6f4f6b0207d70d7a0346a3153286eb4247 | refs/heads/master | 2020-12-31T05:40:43.999629 | 2018-01-24T16:11:59 | 2018-01-24T16:11:59 | 80,650,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include "LCDStringMsg.h"
void LcdStringMsg::init(byte widgetIndex, Genie* parent) {
this->widgetIndex_ = widgetIndex;
this->parent_ = parent;
}
void LcdStringMsg::clear() {
//Replace all char except \n with with space
for (uint16_t i = 0; i < buffer_.length(); i++) {
if (buffer_.charAt(i) != ... | [
"ose@recommind.com"
] | ose@recommind.com |
a87339253b2c536c2c17cf0d3aa2210272acc078 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/numeric/random/WeightedSampler.hh | f01ae89cfea26ca14e320008da20eb32d7b49e37 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,542 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
56b12514fbabac98f849e51f69fcb5180470236b | 15b175f579a1d549a84a088c01db343ffc3afa5d | /src/netbase.cpp | c3ac9d4d926f8da9565516aff1dea1bf0feca54f | [
"MIT"
] | permissive | ArchieMakeator/makeator1 | cf1ea5de3b4511b1a552d75a081d63fb4054e408 | 23e5e979b4a5f8c0b3b1b025da7fd9df992114e1 | refs/heads/master | 2020-03-22T08:29:31.042498 | 2018-11-24T15:37:23 | 2018-11-24T15:37:23 | 139,769,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,449 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/chronos-config.h"
#endif
#include "netbase.... | [
"developer@chronoschain.co"
] | developer@chronoschain.co |
5e9b1ca0b84b9bd2776be8904387d03ded6429ac | 651f3a1d79f5ef5a6a86e5ad2004ccd064d4d3ac | /src/v5_hal/firmware/src/auton/auton_routines/TestPoseAuton.cpp | e6d857efe153941a6c071ee668b5e8c7a5601cc2 | [] | no_license | sbreeden25/ChangeUp | bff3dc046cd636f57b810a23de0ab797b7f5df4d | f16681946e4b90692f518f39d083ff93f9926f5b | refs/heads/master | 2023-08-15T11:44:44.814152 | 2021-06-20T04:45:34 | 2021-06-20T04:45:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include "auton/auton_routines/TestPoseAuton.h"
TestPoseAuton::TestPoseAuton(IDriveNode* drive_node, OdometryNode* odom_node) :
Auton("Test Pose Node"),
m_drive_node(drive_node),
m_odom_node(odom_node) {
}
void TestPoseAuton::AddNodes() {
Pose pose(Vector2d(0., 10.), Rotation2Dd(0.));
... | [
"nathan.dupont01@gmail.com"
] | nathan.dupont01@gmail.com |
f15e6d5b0f1ad0e51062af6b5eee539946820344 | a50dca02b270c16d26e293f4b21706c4862d8059 | /Engine/CollidableEntity.cpp | 5d98594cc89318d7b16eb2052abe1167ed681bd6 | [] | no_license | AlexandruScutaru/Engine | 45e3a02bb822208401e1c745ba86bebe52e492ca | 90bca5e28e0eba26fed29891d9d0860cdafe46ec | refs/heads/master | 2021-06-28T01:16:43.691513 | 2019-06-24T19:26:23 | 2019-06-24T19:26:23 | 117,293,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include "CollidableEntity.h"
namespace renderer{
CollidableEntity::CollidableEntity(){}
CollidableEntity::CollidableEntity(const CollidableEntity & other){
m_colBodies = other.m_colBodies;
}
CollidableEntity::~CollidableEntity(){}
void CollidableEntity::removeColBody(size_t index){
m_colBodies.erase(m_c... | [
"alex_cw15@yahoo.com"
] | alex_cw15@yahoo.com |
b29d487d9b56876fd757e08b345468958997170f | 318a9cf9dee4f0d208f149f622e8c093bad29878 | /LEDbasis/LEDbasis.ino | 0840fe46a661cd35583ac82ee9110e177cd13ad8 | [] | no_license | Creativeguru97/HardWareGetStarted | 63b9d9b6b14dfb742fb09b7e57674be4b2903aa5 | 8ddd5b4614d905dc80a040e628633c1e91eaf407 | refs/heads/master | 2020-07-13T15:34:13.875538 | 2019-08-30T11:38:09 | 2019-08-30T11:38:09 | 205,107,116 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | ino | int redPin = 13;
int yellowPin = 12;
int redWaitTimeOn = 1000;
int redWaitTimeOff = 500;
int yellowWaitTimeOn = 1000;
int yellowWaitTimeOff = 500;
void setup() {
Serial.begin(9600);//Open channel between usb port
//9600 is pretty typical number.
//If we gonna be reading from pins, it's an INPUT
//If we go... | [
"worldapple2630@gmail.com"
] | worldapple2630@gmail.com |
b3450477da4420c4589139bc80993eba4c4c463c | c369fb0a8e71d9a69708f77d28e8c41f3b07b325 | /PublicCommands/Commands/test.cpp | 2b9ffe15522416af74830e9e4be6b16e678e4a17 | [] | no_license | EasyROS/ezpublic | f4c2b1b7f5999dfcfb7c064bf3b3cd3cddaea0b1 | 6fa98b378e37d18d94567de89bf2f0b0363a4828 | refs/heads/master | 2020-04-03T08:54:00.536259 | 2019-06-28T06:42:13 | 2019-06-28T06:42:13 | 155,148,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include "lsCommand.hpp"
#include "cdCommand.hpp"
#include <iostream>
using namespace std;
int main() {
EZIO *pRoot = new directory("/");
ls *LS = new ls();
(new cd())->init(pRoot);
LS->init(pRoot);
LS->Command->pwd = "/";
LS->Command->cmd = "ls";
LS->Command->btn = "cmt";
LS->Comm... | [
"ls.dean.ch@gmail.com"
] | ls.dean.ch@gmail.com |
d2bf604d5a203d4f01057c3ee7359ecb1a24497b | 570cc278bcd8e076adf412f5c86d8df3d1f67f81 | /KlapuriMultiPitch/EssentiaMelodiaVsVamp/main.cpp | 3c76f6da1762d05ef6d748b870cc331500ec9c0a | [] | no_license | jhuiac/EssentiaProject | 035df8271aa92994c2fde44a35b10f170e2f1c33 | 1dde133f114649c8ddcecef369ef5aef5b12fdc3 | refs/heads/master | 2020-03-14T22:53:04.003433 | 2015-06-11T15:54:38 | 2015-06-11T15:54:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,056 | cpp | //////////////////////////////////////////////////////////////////////
// Extracts the pitch using the monophonic melodia implementation. //
//////////////////////////////////////////////////////////////////////
#include <iostream>
#include <fstream>
#include "essentia.h"
#include "taglib.h"
#include "fftw3.h"
#inclu... | [
"nadine.kroher@upf.edu"
] | nadine.kroher@upf.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.