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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22326c7a3fa7530436b917940068931117a26c8f | e485761b6b5caac519feacf600742d19e349f89e | /include/core/model.h | 5500024ad99faa8b1ecc3fc4e41ca5a0d4b7e71b | [] | no_license | szotaksoma/cpp-neural-net | 2d40db3b98749721e471f66617c9074caf61aa85 | 030b4a5aad4560ca3ab9f24d3733a89bb06e05cd | refs/heads/master | 2020-12-09T12:22:28.504598 | 2020-02-06T15:56:46 | 2020-02-06T15:56:46 | 233,302,622 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | h | #ifndef _MODEL
#define _MODEL
#include "core/layers.h"
#include "util/namable.h"
#include <string>
#include <vector>
namespace NeuralNet {
class Model : public Namable {
public:
Model(std::string name = "Unnamed model");
~Model();
bool is_compiled();
bool is_disposed();
// Print model description ... | [
"szotaksoma@gmail.com"
] | szotaksoma@gmail.com |
86fa4b98a86f4eba85552b9473a03fe8d679e2aa | 9dbdd167c279665172c68735d36325769e552e4b | /Source/External/EASTL/test/source/TestString.inl | 509c7aaf98ee71026fb6b93827db686b8bffcd87 | [
"MIT",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | michal-z/eneida-software | d814838e4570f5144c2198a2df5e67392b1633ef | 740f27cf1f7b7b29e3294f6a3be8eee6b937f979 | refs/heads/master | 2021-04-06T19:43:54.328465 | 2018-06-15T22:16:07 | 2018-06-15T22:16:07 | 125,278,279 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,440 | inl | /////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////
// todo:
// Test Encoding
// Test StringHash
// Test exceptions
#if EASTL_OPENSOURCE
#define EASTL_SNP... | [
"michalziulek@gmail.com"
] | michalziulek@gmail.com |
dc2ba2c62890c211cef93c7d9a1d5dc617e8cab0 | 9c0987e2a040902a82ed04d5e788a074a2161d2f | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h | 98c360e32a9ebf5d354d9be58efa552d6b8360cc | [
"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 | 82,793 | 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 |
78d9c120b937e304bd3c4a8e91c54782030a5e2a | c18d6aa35ec220ee5f25755c009deeb9f0165260 | /CWStarter/include/GameObjects/Objects/Physics/Door.h | 4472fe1fcad82046cc9dd262820d679f49a9fc51 | [] | no_license | DanBullin/ProjectDB | 07d6cf67f606853b15674f453444997e3765c992 | 664f09dabeac1e84dab8d5f6f60eb45d849492ae | refs/heads/master | 2023-04-27T23:17:11.039424 | 2021-05-17T09:04:53 | 2021-05-17T09:04:53 | 368,121,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #ifndef DOOR_H
#define DOOR_H
#pragma once
#include "GameObjects/PhysicsObject.h"
/*! \file Door.h
* \brief Header file for Door
*
* Implementation for a Door
*/
/*! \class Door
\brief A Door
*/
/*! A Door Class */
class Door : public PhysicsObject {
private:
bool m_updatedTexture; //!< Has the door texture been u... | [
"danbullin@gmail.com"
] | danbullin@gmail.com |
13c8101e0af0287f47badf079571c3b371ede6a1 | e85417e15441ab98a2b216d4fd2175c0881a3558 | /usb/UcmTcpciCxClientSample/Alert.cpp | b63692db5c6fa780e018827ec551caac2731f631 | [
"MS-PL"
] | permissive | fossabot/Windows-driver-samples | 2700655759c45586ae5e7eabde7e781c394fb298 | 6d21d1397816ec80d4997645ecda172cbf1b55a6 | refs/heads/master | 2021-05-01T14:31:12.436927 | 2018-02-11T04:59:06 | 2018-02-11T04:59:06 | 121,086,531 | 0 | 0 | null | 2018-02-11T04:59:05 | 2018-02-11T04:59:05 | null | UTF-8 | C++ | false | false | 9,885 | cpp | /*++
Module Name:
Alert.c
Abstract:
This file contains functions that handle alerts from the port controller hardware.
Environment:
Kernel-mode Driver Framework
--*/
#include "Driver.h"
#include "alert.tmh"
#ifdef ALLOC_PRAGMA
#pragma alloc_text (PAGE, OnInterruptPassiveIsr)
#endif
BOOLEAN
OnInter... | [
"philip.froese@microsoft.com"
] | philip.froese@microsoft.com |
d239001a25bcacc035e04bbb8e5cdbc100ebfc3f | 460c7a645508c2569ca4e78fb4f11120e7dd9c6d | /Submission Challenge/AtCoder/146C.cpp | 2c46f7a602965ddec208dda54155d104f2000be2 | [] | no_license | EddyHu71/Fundamental-Repository | 6d883e79df991169513717aab1f06e09eef8e685 | fc7f9b6b484ca9708ba6001af7f29635480839c0 | refs/heads/master | 2021-06-24T08:50:00.825321 | 2021-04-07T07:33:01 | 2021-04-07T07:33:01 | 218,901,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | #include "bits/stdc++.h"
#define hhh printf("hhh\n")
#define see(x) (cerr<<(#x)<<'='<<(x)<<endl)
using namespace std;
typedef long long ll;
typedef pair<int,int> pr;
inline int read() {int x=0,f=1;char c=getchar();while(c!='-'&&(c<'0'||c>'9'))c=getchar();if(c=='-')f=-1,c=getchar();while(c>='0'&&c<='9')x=x*10+c-'0',c=ge... | [
"eddyhu71@gmail.com"
] | eddyhu71@gmail.com |
e3e615684a9291b713ca76ecbfda7919b48ea446 | 8e9b71e4aa7eda13524c5a8b0ff4b1bb89885e5d | /MuonAnalysis/MuonAssociators/plugins/L1MuonMatcher.cc | 9a84ae7b5572e1e1f670ff2884dc5871a50ba745 | [] | no_license | lecriste/CMSSW_forZ4430 | d3ae8099af7c7addec221101bbcf7997a4e69626 | eac636b2302f63b76b49e386a7c6fd9baae62b2e | refs/heads/master | 2020-03-13T07:49:20.709410 | 2018-04-27T16:36:05 | 2018-04-27T16:36:05 | 131,032,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,539 | cc | //
// $Id: L1MuonMatcher.cc,v 1.3 2010/07/12 20:56:11 gpetrucc Exp $
//
/**
\class pat::L1MuonMatcher L1MuonMatcher.h "MuonAnalysis/MuonAssociators/interface/L1MuonMatcher.h"
\brief Matcher of reconstructed objects to L1 Muons
\author Giovanni Petrucciani
\version $Id: L1MuonMatcher.cc,v... | [
"leonardo.cristella@cern.ch"
] | leonardo.cristella@cern.ch |
42c25ba51a8836362875642fb9b02f84408e02bd | b4d8262d1bc518f3766fa954c4c14e726cefb3db | /leetcode/editor/cn/[剑指 Offer 15]二进制中1的个数.cpp | 6943374ee1dae4139365b2ccb23532624a2cd632 | [] | no_license | YimiYimi/LeetCode1 | 562c1d35870a9e477b3b2a651e91bad3bec5609c | cb8fa0e49ef30d5c8287fa6a56fa551415b621ad | refs/heads/master | 2023-06-23T13:37:23.237053 | 2021-07-18T12:02:23 | 2021-07-18T12:02:23 | 359,390,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | //请实现一个函数,输入一个整数(以二进制串形式),输出该数二进制表示中 1 的个数。例如,把 9 表示成二进制是 1001,有 2 位是 1。因此,如果输入
//9,则该函数输出 2。
//
//
//
// 示例 1:
//
//
//输入:00000000000000000000000000001011
//输出:3
//解释:输入的二进制串 00000000000000000000000000001011 中,共有三位为 '1'。
//
//
// 示例 2:
//
//
//输入:00000000000000000000000010000000
//输出:1
//解释:输入的二进制串 00000000000... | [
"942255780@qq.com"
] | 942255780@qq.com |
8343de39be30fa3ced784fab6ff1839b0afc886d | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Release/include/Fuse.NameValuePair.h | bf827abcac0ddce236555240546d93c77cc8d7f7 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Common/1.4.2/NameValuePair.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.IObject.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{struct NameValuePair;}}
namespace g{
namespace Fuse{
// pu... | [
"i@firdaus.my"
] | i@firdaus.my |
4a948d0e2a0244fd05349b17fde8554cca0a12fa | 2ed5a802568ba81d9f32ad14be3e0f691735cf27 | /streaming/network/HttpHandler.hpp | 8de4b76337222497b95326aea4b5bf5f578fa803 | [
"Apache-2.0"
] | permissive | avenezia/SoccerStreaming | a69628e49edc4f7e8dc9292a2836b7e060f95ef6 | e4d9e8670b3558be8b48e68d6a7ac49d3b42cd6f | refs/heads/master | 2021-01-10T19:55:00.534782 | 2014-06-15T15:27:48 | 2014-06-15T15:27:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | hpp | #ifndef HTTP_HANDLER_HPP
#define HTTP_HANDLER_HPP
#include <string>
#include <vector>
namespace network
{
class HttpResponse;
class HttpHandler
{
public:
HttpHandler() {};
explicit HttpHandler(const std::string& hostnameUrl) {};
virtual ~HttpHandler() {};
... | [
"alex19866891@hotmail.it"
] | alex19866891@hotmail.it |
b00d494cb7c73154cc33daabb97ef9a5940b4f6e | 7d2db382e8c7da7b9775de9aa349b71e00b29d29 | /source/libraries/libxmp/exempi-2.1.1/samples/source/XMPScanner.cpp | 87a7cb176ff6a9253a9f5341ba167d1fb5b3e0df | [
"FSFUL",
"BSD-3-Clause"
] | permissive | sergray/Uforia | 5f00a2bfcc6151ea9bc41625bf3ebc1d3a098268 | a55480ad8c9ef4fef27b6a6bcab18112173b0402 | refs/heads/master | 2020-04-29T03:30:34.505742 | 2017-01-08T17:13:33 | 2017-01-08T17:13:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,732 | cpp | // =================================================================================================
// Copyright 2002-2007 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompan... | [
"marcin@sectester.localdomain"
] | marcin@sectester.localdomain |
d012d915b14cfd602d11ef4338671821a5e8930f | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/AssemblyU2DCSharp_UnityTest_ColliderComparer_Compa3910007866.h | c14efd578ef82130a0608da36e047afaf419b26d | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum2459695545.h"
#include "AssemblyU2DCSharp_UnityTest_ColliderComparer_Compa3910007866.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang di... | [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
fa37ee0e9c9ce669372c74a3ad933e5155bc2b61 | 5ce034563e2cdef0a53a893390cff71509f49a2b | /hmwk/Assignment_5/Gaddis_9thEdition_Chapter7_Problem1_LargestSmallest/main.cpp | f027fc010993a325ea9411baa32acb112d114685 | [] | no_license | aohara19/Ohara-Allison-CSC5-40652 | 283f61b913f32f8c4b6704b31da6e706c7e7fe96 | 663783f794695bd3f569e3251fe68efef74fd046 | refs/heads/master | 2021-09-06T17:39:30.554912 | 2018-02-09T05:52:30 | 2018-02-09T05:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: Allison Ohara
* Gaddis 9th Edition Chapter 7 Problem 1 "Largest/Smallest Array Values"
* Created ... | [
"allisonsso18@gmail.com"
] | allisonsso18@gmail.com |
bb434fcd3c9afb657302e3ad51e17cebb6dcbd1f | 63ecf4424740570db7c3df9cd32f8f09632915b9 | /perspective_texture_mapping/rasterizer.h | 2d686ec8d288ebe533682e143804ed36f460b1a1 | [] | no_license | Vicfred/Computer-Graphics-Explained | 186abc754c675be9e92ecbc9f08189127ccd35a9 | d97abbe8ca4a9f4ca4def72e01a991997ac3ac58 | refs/heads/master | 2020-08-02T04:31:25.368802 | 2017-07-05T22:02:09 | 2017-07-05T22:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | /*
Copyright (c) 2013, Mads Andreas Elvheim
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the followi... | [
"mads@mechcore.net"
] | mads@mechcore.net |
2423ad8184a25b19079e3a51e9e518cda47466f2 | 960312e5355da7bef69d9900840f519379a82bc4 | /net/tools/quic/quic_scion_multipath_server_bin.cc | 7797b0a80d31b6317728051fc773dfbd4d5a292d | [
"BSD-3-Clause"
] | permissive | cyrill-k/chromium | b141f8149db8c3c90b344a9a600a67eb4435018c | 4b854ed486b5e7d73d4fc730ff57e495a5a70705 | refs/heads/master | 2023-03-10T09:04:41.510407 | 2019-04-24T10:38:44 | 2019-04-24T10:38:44 | 124,514,113 | 0 | 0 | null | 2018-08-22T07:15:12 | 2018-03-09T08:50:48 | null | UTF-8 | C++ | false | false | 8,236 | 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.
//
// A binary wrapper for QuicServer. It listens forever on --port
// (default 6121) until it's killed or ctrl-cd to death.
#include <iostream>
#includ... | [
"cyrill.kraehenbuehl@inf.ethz.ch"
] | cyrill.kraehenbuehl@inf.ethz.ch |
b3a1f1dc1cfbaeed2e9760141b4d5bc3b194f96c | 350b9cd0c7c563340f3463c60f959fc19f80d29b | /openglstudyv2/src/main/version/sencev7.cpp | 25e30b85901ff29a493c5297a4e7ec1983e675af | [] | no_license | TangGSen/OpenglStudyV1 | e288e057b807db8287850253b3c0806507c53c25 | 0eca79b4d6516b49be86bbcec98217818634bed3 | refs/heads/master | 2021-05-16T11:19:24.998788 | 2017-10-25T12:42:30 | 2017-10-25T12:42:30 | 104,992,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp | //
// Created by Administrator on 2017/10/11.
//
#include "drawAnyS.h"
#include "scence.h"
#include "sen_test.h"
glm::mat4 mViewMatrix;
glm::mat4 mProjectionMatrix;
glm::mat4 mModelMatrix;
//使用封装好的来画三角形
VertexBuffer *vertexBuffer;
SShader *mShader;
void init() {
// testCMap();
vertexBuffer = new VertexBuffer;
... | [
"Jasonsens17@gamil.com"
] | Jasonsens17@gamil.com |
ba2f78fc773eff9ee26c9fa5438f7c729c9d68b5 | a46d23b1c03be1edf8127db532170580ae919b22 | /libmedia/unit_test/SdpCreate.cxx | cfac00c952e379867bfb261c4c52179776e8feb4 | [
"BSD-2-Clause"
] | permissive | greearb/vocal-ct | 0e2935aa43d6bddf1506ad904d0cf61484724438 | 8c99a61930cc7c4887515ade518ad01022011a4e | refs/heads/master | 2023-08-19T05:26:24.583272 | 2023-08-12T00:08:06 | 2023-08-12T00:08:06 | 87,567,277 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cxx | /* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | [
"greear"
] | greear |
934f0048f8e5890ce7e3603c0714d10965a6f3ff | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/android_crazy_linker/src/src/crazy_linker_proc_maps_unittest.cpp | ec5ede4aefc5247a974b352d32200f1081eb22ce | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 7,229 | cpp | // 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 "crazy_linker_proc_maps.h"
#include <gtest/gtest.h>
#include <limits.h>
#include "crazy_linker_system_mock.h"
namespace crazy {
namespace {
c... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
8babc19dc688cebdd8c4b03aa9aa17540b8240f3 | 8b3f9e359cadff65d8574da9b44a1408ebcade86 | /third_party/IXWebSocket/ixwebsocket/IXWebSocketHandshake.cpp | 8193892f444819de02d1ca264b5b0bf1dde6ed99 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | opcon/nakama-cpp | 42f2e1b837620bee15792695d71d31c1a1950f4e | ba965046c27b52303bf4519f9dee046d6499bac5 | refs/heads/master | 2020-05-15T15:08:37.546370 | 2019-04-15T15:41:01 | 2019-04-15T15:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,205 | cpp | /*
* IXWebSocketHandshake.h
* Author: Benjamin Sergeant
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
*/
#include "IXWebSocketHandshake.h"
#include "IXSocketConnect.h"
#include "IXUrlParser.h"
#include "libwshandshake.hpp"
#include <iostream>
#include <sstream>
#include <regex>
#include <random... | [
"kdl.dima@gmail.com"
] | kdl.dima@gmail.com |
304c338500525ac22b3fe6b67d2dd7ff6d8ab409 | 23b8e5d97e136302a89efc113cf43476c8240b5b | /NewTugasGPU/Tvector.h | b4b261b7a3db4a8ee851438178c32067e5913f4d | [] | no_license | jackiejohn/gpunehesrc | e0cdf1aa4dbb51d5881def84412ff1ebbfcb5598 | b79643876f120a88e93f28fc28d0a5875b60eea8 | refs/heads/master | 2021-05-28T21:28:46.280527 | 2017-03-02T14:26:26 | 2017-03-02T14:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | h | #ifndef tvector_h
#define tvector_h
#include <iostream>
#include <math.h>
#include "mathex.h"
using std::ostream;
using std::istream;
class TRay;
class TVector {
public:
enum TStatus { INVALID, DEFAULT, UNIT };
private:
double _x, _y, _z;
TStatus _Status;
// Constructors
TVec... | [
"dennyc.dev@gmail.com"
] | dennyc.dev@gmail.com |
e2b8590c556424146f47d4d7ae4ec0b710e008d7 | 2a2c909ca11664fbfe3bbac77b60d9ff68c6f3d4 | /C_C++_Projects/BAPS Contest/delta/weirdsquare.cpp | a6fd49c11f22f65f49291923eb85985e40fbf07a | [
"MIT"
] | permissive | sunjerry019/RandomCodes | d8049ca188d7f0daeee4a9b43d119ab026a9027c | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | refs/heads/master | 2021-01-12T14:32:02.077792 | 2019-05-19T15:42:48 | 2019-05-19T15:42:48 | 70,065,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include <iostream>
using namespace std;
int arr[2000][2000];
int main() {
int inp, cur = 1, seqlen = 1;
bool down = false;
cin >> inp;
for (int a=1;a<=inp;++a) {
if (down) {
for (int b=1;b<=seqlen;++b) {
arr[b-1][a-b] = cur++;
}
}
else {
for (int b=1;b<=seqlen;++b) {
arr[a-b][... | [
"sunjerry019@gmail.com"
] | sunjerry019@gmail.com |
5e9791b316a049fa133dbd4b1044d9e988c84f73 | b45b9cd2f6bb6a37f7d596ce6130e79467ec9c4e | /src/cv_utils.cpp | 284921d3749d58dc2b467f6b1d9a9df94f54e7e2 | [
"Apache-2.0"
] | permissive | dcully-ironox/simple_fiducial_mapping | 3d31da52579c94233ca80359ad62b618407a8657 | ff940b184349bff3d66e8da33b2c31fee5ce0db7 | refs/heads/master | 2023-03-16T02:45:24.686613 | 2019-08-11T18:01:32 | 2019-08-11T18:04:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,827 | cpp | #include <simple_fiducial_mapping/cv_utils.h>
#include "tag36h11.h"
#include "tag36h10.h"
#include "tag25h9.h"
#include "tag25h7.h"
#include "tag16h5.h"
namespace simple_fiducial_mapping
{
void draw2DFeatureLocation(const cv::Point2d& image_point, cv::Mat& image)
{
cv::circle(image, image_point, 5, CV_RGB(0, 0, 255)... | [
"jon.binney@gmail.com"
] | jon.binney@gmail.com |
18287a669de95129a229709b06a69fa65ceb0fe6 | 8e567498a9224d7c6bf71cfe66ec5360e056ec02 | /mars/boost/iostreams/imbue.hpp | 2859e65d49d9dd38e8d2274b4b38a3e725102693 | [
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Tencent/mars | db31afeeb5c0325bfceede594038381bce3c1635 | 6c7028fffe01e2b49a66c221b1ac2f548649053f | refs/heads/master | 2023-08-31T07:29:50.430084 | 2023-08-09T07:24:42 | 2023-08-09T07:24:42 | 76,222,419 | 18,118 | 3,828 | NOASSERTION | 2023-09-12T07:37:07 | 2016-12-12T04:39:54 | C++ | UTF-8 | C++ | false | false | 2,384 | hpp | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// Distributed under 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.)
// See http://www.boost.org/libs/iostreams for d... | [
"garryyan@tencent.com"
] | garryyan@tencent.com |
c9bedc3e737eac2c9576862004a4e3983df538d7 | c00a2490947ad10582b5d675f070ccb62b70901d | /extensions/api/guest_view/vivaldi_web_view_constants.h | e4f801a99ce73deb88591130fc3e6817d0c4e046 | [
"BSD-3-Clause"
] | permissive | teotikalki/vivaldi-source | 543d0ab336fb5784eaae1904457598f95f426186 | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | refs/heads/master | 2021-01-23T01:17:34.305328 | 2016-04-29T20:28:18 | 2016-04-29T20:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | h | // Copyright (c) 2016 Vivaldi Technologies AS. All rights reserved
#ifndef EXTENSIONS_GUEST_VIEW_VIVALDI_WEB_VIEW_CONSTANTS_H
#define EXTENSIONS_GUEST_VIEW_VIVALDI_WEB_VIEW_CONSTANTS_H
namespace webview {
extern const char kEventRequestPageInfo[];
extern const char kEventSSLStateChanged[];
extern const char kEventTa... | [
"jason@theograys.com"
] | jason@theograys.com |
d13e9c2f560b9b6596874c68774bc17d3e39540f | ba5850d8c165f758ac716521edb001bf5728fd2a | /4.cpp | b51bf385c52bae343c7903513a49fa4a677abaa4 | [] | no_license | Neha-Mangukiya/OOPs_Concept_Programs | a9475a28ed73d1c88d9e62d180127338126f5028 | 9c85d23a5e16cb0060136b082f674232e23ebd9c | refs/heads/master | 2023-08-11T19:38:47.256285 | 2021-09-29T08:33:15 | 2021-09-29T08:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | //Write a program of Addition of two Matrix using Class.
#include<iostream>
using namespace std;
class addmatrix
{
int a[2][2],b[2][2],c[2][2],i,j;
public:
void getdata()
{
cout << "enter the array element of a[2][2]:";
for(i=0;i<2;i++)
{
for(j=0;j<2;j++)
{
cin >> a[i][j];
}
}
cout << ... | [
"neha@nehas-MacBook-Pro.local"
] | neha@nehas-MacBook-Pro.local |
2164a79c37f29c09cffb2d0fcfd7376c28ab315e | bb7cf43fbc96ea7dd5e5a7699a61993004c3fefe | /mindspore/ccsrc/kernel/gpu/nn/rmsprop_gpu_kernel.cc | 85aabe5756570e75e22af1e4b53892d0d9be13a1 | [
"Apache-2.0",
"BSD-3-Clause-Open-MPI",
"MPL-2.0-no-copyleft-exception",
"LGPL-2.1-only",
"BSD-3-Clause",
"MPL-2.0",
"MPL-1.0",
"Libpng",
"AGPL-3.0-only",
"MPL-1.1",
"LicenseRef-scancode-proprietary-license",
"MIT",
"IJG",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"Z... | permissive | doc22940/mindspore | db1185c4ad3ab6456e2011a57c475b07abaf925d | 21bcdcd8adb97b9171b2822a7ed2c4c138c99607 | refs/heads/master | 2023-02-24T18:41:11.117709 | 2020-05-13T09:43:04 | 2020-05-13T09:43:04 | 263,610,727 | 1 | 0 | Apache-2.0 | 2021-01-28T06:06:39 | 2020-05-13T11:31:15 | null | UTF-8 | C++ | false | false | 2,099 | cc | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... | [
"chenweifeng720@huawei.com"
] | chenweifeng720@huawei.com |
2011e3ec48da1a38240b0c7bddc20590d91ec9d4 | fe164360a17a2afee0dc5ad3ed08d214e7bd74a8 | /Platform/Windows/HelloEngine_opengl.cpp | 8ce88ec0ad7a1d8547d7d17589f8b9883c931a47 | [] | no_license | AcmenLu/AcmenEngine | 9fd94338974b6300465f0d40f70d65c55c6e32a9 | 437b55dea0edd6ea89ac6fc236f21e067dbf97aa | refs/heads/master | 2020-06-19T09:29:55.526623 | 2019-08-29T01:09:28 | 2019-08-29T01:09:28 | 196,661,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,433 | cpp | #include <windows.h>
#include <windowsx.h>
#include <tchar.h>
#include <GL/gl.h>
#include <fstream>
#include "math.h"
using namespace std;
/////////////
// DEFINES //
/////////////
#define WGL_DRAW_TO_WINDOW_ARB 0x2001
#define WGL_ACCELERATION_ARB 0x2003
#define WGL_SWAP_METHOD_ARB 0x20... | [
"1109325089@qq.com"
] | 1109325089@qq.com |
9598daba45502743cdb10d6de502de3925ad6790 | f719e253095d24a95f837be39d8d10914c18aa40 | /Balero/Private/BaleroPlayerController.cpp | e0579c0e0db2034ada75fa7da9f14351c1fb273e | [] | no_license | balazon/Balero | 10ff78ffe7758d2c045a71be0abaa5e89b529087 | 908a9682dbcfd80778269aacc18f6f735f634883 | refs/heads/master | 2021-01-02T23:08:20.424684 | 2014-11-18T21:59:04 | 2014-11-18T21:59:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,557 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "Balero.h"
#include "BaleroPlayerController.h"
#include "AI/Navigation/NavigationSystem.h"
#include "AI/Navigation/NavigationPath.h"
#include "math.h"
#include "BaleroCharacter.h"
#include "GameFramework/HUD.h"
#include "AIControllerBase.h"
#inclu... | [
"balazon@gmail.com"
] | balazon@gmail.com |
a6de054ff1b3761280158e13dd85334ca6364e45 | 27f6fe82e87031bd6943d2db61203cf320a82eeb | /beScene/source/beEffectQueueSetup.cpp | 18b8c6d13b07da35eaf622b85fb2226f5ab73875 | [
"BSL-1.0",
"MIT"
] | permissive | shadercoder/breeze-2 | 834283163f2be22a8d571cc08f36ebba4b7ed8ca | 1692b97f455c4bc856ec2f0eb8c0b86e708a398a | refs/heads/master | 2020-06-04T04:57:56.330850 | 2013-03-12T22:34:58 | 2013-03-12T22:34:58 | 35,313,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | /****************************************************/
/* breeze Engine Scene Module (c) Tobias Zirr 2011 */
/****************************************************/
#include "beSceneInternal/stdafx.h"
#include "beScene/beEffectQueueSetup.h"
#include "beScene/beAbstractRenderableEffectDriver.h"
#include "beScene... | [
"opensource@alphanew.net@344fd88e-b756-27f1-9498-cf4cd09e0567"
] | opensource@alphanew.net@344fd88e-b756-27f1-9498-cf4cd09e0567 |
80671d754649ef05e54aad31304e15c6d1f8a4c0 | c250d07c0f8a304ed74425592aa7950d75d7fdab | /src/play.cpp | aa3c515ac8d9d18f588d1ea8de9bb8767bad4a20 | [
"MIT"
] | permissive | aosterthun/rgbd-calib-py | 50cb90aa314c522996676b3e005425b7bf392d22 | 2890a5e571a05c0d7ebb841a6f7346893fa812c8 | refs/heads/master | 2021-01-11T20:06:41.962170 | 2018-04-24T10:31:12 | 2018-04-24T10:31:12 | 79,460,958 | 0 | 0 | null | 2017-01-19T14:25:15 | 2017-01-19T14:25:15 | null | UTF-8 | C++ | false | false | 11,728 | cpp | #include "play.hpp"
Play::Play(RGBDRIClient &client, std::string const& filename, std::string const& stream_endpoint):
client{client},
filename{filename},
loop{false},
number_rgbd_sensors{4},
compressed{true},
stream_endpoint{stream_endpoint},
ctx{},
skt{},
req_inited{false},
m_logger{spdlog::get("console")},
is_runni... | [
"arne.osterthun@uni-weimar.de"
] | arne.osterthun@uni-weimar.de |
339e89ec8f99136e3f4ee74c2369865f5d71ace6 | 831a3f43a4e99b8e765ac89bcf089b698f6de334 | /fs/src/node_iterator.h | 18fb27f00f8c8e8f317e20aa0d00de4490cbd7ba | [] | no_license | t105598072/FileSystemSimulated | de56bdbbed1a7031ec6702bcd01d81be1469bced | 23e5403ae916d3a277497362ba372e8e09548d76 | refs/heads/master | 2020-05-20T03:22:56.581452 | 2019-05-07T09:20:59 | 2019-05-07T09:20:59 | 185,356,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #ifndef NODE_ITERATOR_H
#define NODE_ITERATOR_H
class Node;
class NodeIterator
{
public:
virtual void first() = 0;
virtual Node* currentItem() = 0;
virtual void next() = 0;
virtual bool isDone() = 0;
virtual ~NodeIterator()
{
}
};
#endif
| [
"t105598072@ntut.org.tw"
] | t105598072@ntut.org.tw |
603a04e1db66b5fb103661d472b35026dd0a91c0 | c0df06c4057d2705d5602f5347daab327324ab04 | /01_ADT.cpp | 63036b08ec45e8c4a663ca3c4ced9459732d7d2f | [] | no_license | Rehancoder14/Data-structure-and-algorithm | 4c8d34040e7d867ec42c2d8cf8cb571f1c440fa8 | 261a6e8ecbc3824213f108a5fe04dd1bc1a1f246 | refs/heads/main | 2023-08-19T22:22:59.683281 | 2021-10-25T07:19:09 | 2021-10-25T07:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | #include <iostream>
using namespace std;
#define n 10
class stack{
int *arr;
int top;
public:
stack(){
arr = new int[n];
top = -1;
}
void push(int x){
if (top==n-1)
{
cout<<"Stack overflow"<<endl;
}
top++;
arr[top]= x;
... | [
"rehanmahat999@gmail.com"
] | rehanmahat999@gmail.com |
c74cb4c8907234315bfd8beb42a95d9a70ff6749 | 547372791dc4ed86c8dcd5a538759ae49513c866 | /src/sw/redis++/redis.cpp | 8f529427eccae3e90aa20beb30ea8feab7cc9a52 | [
"Apache-2.0"
] | permissive | jiangwch/redis-plus-plus | 05418e67e1b117c003f1f665ed41d856d3b2930c | 6ffdf4d01fac52f40010513634c552074376a243 | refs/heads/master | 2020-05-15T10:22:58.889362 | 2019-04-19T03:32:35 | 2019-04-19T03:32:35 | 182,191,549 | 0 | 0 | null | 2019-04-19T02:55:17 | 2019-04-19T02:55:16 | null | UTF-8 | C++ | false | false | 21,455 | cpp | /**************************************************************************
Copyright (c) 2017 sewenew
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/licen... | [
"sewe.code@gmail.com"
] | sewe.code@gmail.com |
75bbf1d5f11b3b88e6f54f7e11e8eee26a0ccc52 | fec2ee4e113fe948c9fd82a645ec196d05e187d2 | /ros/melodic/x64/include/pcl_ros/VoxelGridConfig.h | 1f9e85bca964db4e2cd11a06e90b2a3845f97e1e | [] | no_license | gptshubham595/ROS-WINDOWS-FILES | 9c76690b087ebe2662df190b4b486af1af935e8b | 1d421802c296b5ee83453057ec76567047acc07a | refs/heads/master | 2020-07-01T23:11:57.317818 | 2019-09-18T20:23:36 | 2019-09-18T20:23:36 | 201,327,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,732 | h | //#line 2 "D:/opt/ros/melodic/x64/share/dynamic_reconfigure/cmake/..\\templates\\ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the pcl_ros package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// **************************************... | [
"gptshubham595@gmail.com"
] | gptshubham595@gmail.com |
feb2ea4a82a000a0bb43632b9698545185d3e0af | 8463eb4cddf926397551da0ce879729cfdf5013d | /main.cpp | f38cedfeae0fbcd7fa0b1e91249556c7811ba812 | [
"MIT"
] | permissive | macstepien/2DRacing | a50039f4fc8ce2a1878af9a8f4b1539dc460054c | 249fd5fa3533f578557bca318b4577fca406f826 | refs/heads/master | 2021-10-16T18:54:12.058592 | 2019-02-12T17:41:42 | 2019-02-12T17:41:42 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 437 | cpp | /*
Author: Maciej Stępień
Copyright(c) 2012-2013 Maciej Stępień
Version: pre-beta
*/
#include <SFML/Graphics.hpp>
#include <cmath>
#include <cstdio>
#include <fstream>
#include "gra.h"
sf::Event event;
sf::RenderWindow window(sf::VideoMode(640, 480, 32), "2DRacing", sf::Style::Close);
const sf::Input& wej... | [
"maciek1284@outlook.com"
] | maciek1284@outlook.com |
168475256c4011f29f917a036a7fcd618a90ec5d | 5ef7887a7aefbbf536047c59052f99d9039590e3 | /src/components/application_manager/src/commands/command_notification_impl.cc | c99f2d90862d5b6d3f0f01c181ce1f248f9b4345 | [] | no_license | smartdevice475/sdl_core_v4.0_winceport | 8b2ce9118635bf33700f71c5a87ceed668db1b7f | 1cdc30551eb58b0e1e3b4de8c0a0c66f975cf534 | refs/heads/master | 2021-01-24T20:52:42.830355 | 2016-11-29T06:22:16 | 2016-11-29T06:22:16 | 73,656,016 | 1 | 2 | null | 2016-11-14T01:37:46 | 2016-11-14T01:37:46 | null | UTF-8 | C++ | false | false | 2,648 | cc | /*
Copyright (c) 2013, Ford Motor Company
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the fol... | [
"lovinghesl@hotmail.com"
] | lovinghesl@hotmail.com |
68b8054435499f4cd1303be019ea2a022dbc6b39 | b2fb1c10bba0a97bbde769c199caa3e259d5a1ab | /window.hxx | c9f8390b7626179e5500787896e749b3d7f2e491 | [] | no_license | jjzhang166/vclinclude | 300fccdac1a9df882a8ff0839d0a93981b9512ec | b92eff23de03206d3d636d6f5bc9d57ca0684b5d | refs/heads/master | 2021-12-05T13:43:43.321965 | 2015-07-01T14:09:08 | 2015-07-01T14:09:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,613 | hxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | [
"simon@raspberrypi.org"
] | simon@raspberrypi.org |
2ba6eb2457b5bda133fe282a6bc692507f5963ce | f642cd236a54344c792281f9e6caba618bcb4e36 | /coherence examples/cpp/contacts/LoaderExample.hpp | da173f9e3049e6d3e33660fe9f936eda262e7269 | [] | no_license | gitrepo7777/sourcecodebackup | 6c7ef3c15e647b83564ab257c6853fc035821260 | 6b26bbd7c2b0073b44a620004ed5a59058c1e26c | refs/heads/master | 2021-01-01T19:28:31.603969 | 2014-06-08T00:30:27 | 2014-06-08T00:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,032 | hpp | /*
* LoaderExample.hpp
*
* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
*
* Oracle is a registered trademarks of Oracle Corporation and/or its
* affiliates.
*
* This software is the confidential and proprietary information of Oracle
* Corporation. You shall not disclose such confidential... | [
"ntend7777@gmail.com"
] | ntend7777@gmail.com |
bd62167c160707bc5d610d91ef2983e4b40e9732 | 7099faa88c485595fd5037507b41045d0c8d94a5 | /iids/movingterrainproperty.cpp | 179ec82315681b078fdff5c6b36ea5c88472962e | [
"LicenseRef-scancode-public-domain"
] | permissive | whoopdedo/lg | 8dc17f3e7cd62118801c9c6d80af0127a31b8f56 | 0c29f1f46f16dd16f9e436840ce5baa3d65ee357 | refs/heads/master | 2022-11-05T14:31:34.545712 | 2022-10-10T23:27:48 | 2022-10-10T23:27:48 | 1,752,480 | 1 | 7 | null | 2014-12-12T01:29:54 | 2011-05-15T21:09:45 | C++ | UTF-8 | C++ | false | false | 148 | cpp | #include <initguid.h>
DEFINE_GUID(IID_IMovingTerrainProperty, 0x2f00012e, 0x7bae, 0x12fd, 0x83, 0x48, 0x00, 0xaa, 0x00, 0xa8, 0x2b, 0x51);
| [
"tnharris@whoopdedo.org"
] | tnharris@whoopdedo.org |
e188252719f1667e4925f307e3a9f1bd51fd49af | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/hackerrank/101_hack_36/maximum-cost-queries.cpp | 670d0e263c36bc131184d39aec2244a3de4875ad | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | cpp | #include <bits/stdc++.h>
using namespace std;
struct edge {
int from;
int to;
int w;
};
struct node {
int v;
int d;
int comp;
};
int const N = 333333;
vector<edge> edges[N];
vector<node> sv[N];
int sz[N], banned[N];
multiset<int> best[N];
int painted[N];
#define mp make_pair
void df... | [
"shaihitdin@gmail.com"
] | shaihitdin@gmail.com |
3ab688123d9d8c3661ce354758f27229716cc216 | a9e60be005d468781dc7ed2280a57286af009dc2 | /main.cpp | 3bb614e42cd2653f22b70b19df3124412a6fdb12 | [] | no_license | ZhiqiJiang/openMP | e07eb3c359b63b4047cfb13189e171d0cfccf806 | 3c0ee1a16b0aae84efe20becd4a3f69b2d8e9135 | refs/heads/main | 2023-08-05T13:31:42.760667 | 2021-01-22T08:56:49 | 2021-01-22T08:56:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cpp | #include <iostream>
#include<opencv2/opencv.hpp>
#include <omp.h>
using namespace std;
using namespace cv;
bool processInput(std::vector<cv::Mat> imgs)
{
const int inputC = 3;
const int inputH = 1080;
const int inputW = 1920;
// Fill data buffer
float* hostDataBuffer = new float[imgs.size()*3*192... | [
"3115794@qq.com"
] | 3115794@qq.com |
9963d928f18ffe88d559246bdb3330dfd76e320a | 466e44131645fb20ee96a6a95ad0819a361346a9 | /leetcodecpp/slidingWinMax.cpp | 0ac7904620457fb570e36302260a1f365950c84e | [] | no_license | navyhu/all | 2bdcb676a453200ed81e21c92374d302010858b2 | 02fa80d6edcca5e90fb1e9085a6a6b9299bb0ab8 | refs/heads/master | 2021-01-01T15:45:09.944583 | 2015-07-30T00:18:26 | 2015-07-30T00:18:26 | 38,821,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | #include <vector>
#include <deque>
using namespace std;
class Solution
{
public:
vector<int> maxSlideingWindow(vector<int>& nums, int k)
{
if (nums.empty() || k <= 1)
return nums;
vector<int> result;
// used to record the first element of the window
vector<int>::iterator winFirst = nums.begin(... | [
"navyhu1986@163.com"
] | navyhu1986@163.com |
6629053d25e995d777e63ef2132fca2fce8d15dd | 57b0d12b0b1baa7c419ebbf28fdfb43729cc032e | /test/bool/allocator/move_assign.cc | ad90e5dc8bad8a3d0c9155dc7511a1a7ed76ba91 | [] | no_license | PierreTSE/DynamicBitset | 63b3455961ac156501e247a6fe4b40ab03744fac | b349f2303a69863c206757a3f06310f1d072149c | refs/heads/master | 2020-05-17T16:57:18.251030 | 2019-05-02T20:47:06 | 2019-05-02T20:47:06 | 183,834,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cc | // Copyright (C) 2014-2018 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | [
"pierre--giraud@orange.fr"
] | pierre--giraud@orange.fr |
59cfa65ad7e22174e2678c7796e7bae336c7df14 | 12201d8eadb08d60bd2ad6421f34b1f745ec5622 | /planner/FD/src/search/ext/boost/config/compiler/pgi.hpp | add5a4d7f46642882255979a69f6c9d9b3a58592 | [
"MIT"
] | permissive | karthikv792/PlanningAssistance | 63b323edb7db943c33aaa6d08f9c9aeffed1a361 | 5693c844e9067591ea1414ee9586bcd2dfff6f51 | refs/heads/current-dev | 2020-09-01T22:48:21.289927 | 2019-09-23T22:21:16 | 2019-09-23T22:21:16 | 219,077,956 | 0 | 0 | MIT | 2019-11-08T00:27:42 | 2019-11-01T23:35:01 | null | UTF-8 | C++ | false | false | 2,197 | hpp | // (C) Copyright Noel Belcourt 2007.
// Use, modification and distribution are 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)
// See http://www.boost.org for most recent version.
// PGI C++ compiler setup... | [
"yochan@yochan1.wq05meqkrcaetfjrraeacfwdxc.dx.internal.cloudapp.net"
] | yochan@yochan1.wq05meqkrcaetfjrraeacfwdxc.dx.internal.cloudapp.net |
e14595f7c0c57096c50e9feae7f1a4ce2b1e7219 | 0f00ef0c1371ee04aa5c792c03c1fd860e9f2ff6 | /cmake/foonathan.net/include/my_library/header-a.hpp | 3a9c7fc48b6e9b160cde73990c927334bc190e56 | [] | no_license | glkhobragade/Git_Commands | b207de76e651be186d846f0018d53922097384bb | 25318b3fc4ab04e663001f07784b1db72d857261 | refs/heads/master | 2020-12-30T17:00:06.474651 | 2020-08-08T09:49:17 | 2020-08-08T09:49:17 | 91,051,759 | 3 | 1 | null | 2017-05-12T06:34:00 | 2017-05-12T04:34:57 | C | UTF-8 | C++ | false | false | 28 | hpp | int a = 10;
int sqr(int n);
| [
"glkhobragade@gmail.com"
] | glkhobragade@gmail.com |
a634f3e81543921b55250e0992e5bce6ba93b9fb | c26631487f8e5c10b80d4f96710fed4309cdd354 | /Dependence/PythonQt/generated_cpp/com_trolltech_qt_core/com_trolltech_qt_core0.h | 663527a3cb9ff3d9f978001ead3cadeb746a0a4a | [] | no_license | ccdump/PebbleEngine | 975fe39f80dc0a5b73257f528d459510fb69b23b | a7360989a204093dcbe4e70afa0d5a157284f296 | refs/heads/master | 2021-01-19T21:48:19.379256 | 2013-05-29T12:03:00 | 2013-05-29T12:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,770 | h | #include <PythonQt.h>
#include <QDateTime>
#include <QDir>
#include <QObject>
#include <QSize>
#include <QStringList>
#include <QUrl>
#include <QVariant>
#include <qabstractanimation.h>
#include <qabstractitemmodel.h>
#include <qabstractstate.h>
#include <qabstracttransition.h>
#include <qanimationgroup.h>
#include <qb... | [
"antmanler@gmail.com"
] | antmanler@gmail.com |
2629b784c8af460d08cc71729e0a1b1eaef8cf41 | 546d00dd96099d7ad669373f5771b9b200938f6e | /Sources/Sword3PaySys/S3RELAYSERVER/S3PDBSocketServer.h | 42080d8c02fb7c1971498f575cac0ed541812d72 | [] | no_license | lubing521/mmo-resourse | 74f6bcbd78aba61de0e8a681c4c6850f564e08d8 | 94fc594acba9bba9a9c3d0a5ecbca7a6363b42a5 | refs/heads/master | 2021-01-22T01:43:29.825927 | 2015-03-17T02:24:16 | 2015-03-17T02:24:16 | 36,480,084 | 2 | 1 | null | 2015-05-29T03:16:18 | 2015-05-29T03:16:18 | null | UTF-8 | C++ | false | false | 1,431 | h | //-----------------------------------------//
// //
// File : S3PDBSocketServer.h //
// Author : Yang Xiaodong //
// Modified : 8/26/2002 //
// //
//-----------------------------------------//
#ifndef ... | [
"ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c"
] | ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c |
8e528916cb8845448fc7ca1c3e31bde02cd1eb28 | 065e58016a4506e4a5b429a2b77a6f432930a362 | /include/shinobu/frontend/opengl/TextureArray.hpp | 7c9c9a68a23137b999ef2f25cf488df2a707f819 | [] | no_license | UnsafePointer/shinobu | 380ba84b1dfe122da3f6042da2261bcec5f07abe | 5088e95c3dcd7b0f3e9b226dc768811a6b2ddc4f | refs/heads/master | 2023-01-07T06:31:50.271267 | 2020-09-23T14:00:40 | 2020-09-23T14:00:40 | 265,358,408 | 3 | 0 | null | 2020-09-23T14:00:41 | 2020-05-19T20:28:27 | C++ | UTF-8 | C++ | false | false | 627 | hpp | #pragma once
#include <vector>
#include <tuple>
#include <glad/glad.h>
namespace Shinobu {
namespace Frontend {
namespace OpenGL {
class TextureArray {
std::vector<GLuint> textures;
unsigned int capacity;
GLsizei width;
GLsizei hei... | [
"renzo@crisostomo.me"
] | renzo@crisostomo.me |
c4fb12174bd31627e755b7c28b3249bf35363683 | df515cfd75d557f6889c7feb7048cad56f51f7b8 | /(TAP)/Uri/1792 Ataque/solucao.cpp | f4e9801e80a7bf8889543c71e7fcca64dc357835 | [] | no_license | elsioantunes/cloud9 | 680d31e0ef892893823d0949112667be091f088d | c0e11d7594e1726d06b65107b6944eb191a50d51 | refs/heads/master | 2020-05-27T18:44:33.355231 | 2019-05-29T23:03:23 | 2019-05-29T23:03:23 | 188,745,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | cpp | #include <stdio.h>
#include <string.h>
#include <vector>
#include <queue>
using namespace std;
const int MAXN = 10000;
int n, m, s;
vector<int> adj[MAXN];
typedef struct Node {
int id, friends, enemies, incoming;
bool operator()(Node a, Node b) {
if(a.enemies == b.enemies) {
return a.friends < b.friends;
}... | [
"desfic@hotmail.com"
] | desfic@hotmail.com |
a30465b26383d6cb03d4bcc363c0afc480960506 | f7ec60de12f1b6c2ae37061b2e67362a340222e6 | /Step1.Gait_Library/gen/opt/Ce3_vec4_five_link_walker.hh | b12cb2a4ed453177929d39fce79d267161f9e5a2 | [] | no_license | yangcyself/TA_GaitDesign | c01d8d60ac4227add58df3ce6cad837b824c09c5 | 45b2afaaceec8b46dd9c8a4d52f7136f81b99f77 | refs/heads/master | 2020-09-20T19:41:43.542067 | 2020-02-15T03:26:47 | 2020-02-15T03:26:47 | 224,573,966 | 1 | 0 | null | 2019-11-28T05:06:52 | 2019-11-28T05:06:52 | null | UTF-8 | C++ | false | false | 989 | hh | /*
* Automatically Generated from Mathematica.
* Tue 17 Sep 2019 23:17:06 GMT-04:00
*/
#ifndef CE3_VEC4_FIVE_LINK_WALKER_HH
#define CE3_VEC4_FIVE_LINK_WALKER_HH
#ifdef MATLAB_MEX_FILE
// No need for external definitions
#else // MATLAB_MEX_FILE
#include "math2mat.hpp"
#include "mdefs.hpp"
namespace Times[step, ... | [
"pczhao@umich.edu"
] | pczhao@umich.edu |
946a375121b9eea4a11bc6e4664961cf7a6d5362 | 78bc09b155f05398ef60dc142545db7ce41e0339 | /C-Programming-Udemy-master/Code/Tutorial 025 - Do While Loop/Mac/C Plus Plus Tutorial/C Plus Plus Tutorial/main.cpp | cd60704bb0852e6d3de124e4e8a934afde209b1d | [
"Unlicense",
"MIT"
] | permissive | PacktPublishing/C-Development-Tutorial-Series---The-Complete-Coding-Guide | 4b17e4aa1eefe6474e3bc30b30f8013ed0109812 | 7b2d3708a052d9ebda3872603f6bef3dc6003560 | refs/heads/master | 2021-06-27T21:43:52.966333 | 2021-01-19T07:59:16 | 2021-01-19T07:59:16 | 185,386,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | //
// main.cpp
// C Plus Plus Tutorial
//
// Created by Sonar Systems on 14/06/2014.
// Copyright (c) 2014 Sonar Systems. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[])
{
int i = 3;
do
{
std::cout << i << std::endl;
i++;
} while (i... | [
"asifa@packt.com"
] | asifa@packt.com |
82cbd268fe624d88d1c8f48fa86b9d79fb881e36 | ac964eaaa7e8510fb6e051c8a19a6560c257db86 | /tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc | 81f2498527a70b05665f47babcb1e1cb2f9cf9a6 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | wonjeon/tensorflow | 7a4b1724146322d4581b6f59c2a1eeed5d200f6b | c223f92e906b71623f838a44ee82e5248a97e84a | refs/heads/master | 2023-06-25T13:12:33.141764 | 2023-06-07T18:17:01 | 2023-06-07T18:21:58 | 80,862,594 | 0 | 0 | null | 2017-02-03T19:34:28 | 2017-02-03T19:34:28 | null | UTF-8 | C++ | false | false | 41,036 | cc | /* Copyright 2021 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 |
e2aae21033025331948481cd3e81a19424ee032c | ef31dbdca65af3c7e96235c316db4138a31ad128 | /header/OutputReApp.hpp | 357ec2160cd9110f8522a805685b4e16c00970c5 | [] | no_license | adel037/RShell | bd4858bc9d12497f3eee6e45c5ba3b87b2ccd7af | 22e6fe1b166a84903f271011f83cc21dabddeeb8 | refs/heads/master | 2022-12-31T18:56:02.051079 | 2020-10-24T23:42:22 | 2020-10-24T23:42:22 | 306,987,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | hpp | #ifndef __OUTPUTREAPP_HPP__
#define __OUTPUTREAPP_HPP__
#include "Base.hpp"
using namespace std;
class OutputReApp : public Base {
public:
OutputReApp(Base* userLeft, Base* userRight);
void execute();
private:
void initializeFileDesc(int &savestdout, int &file_desc);
void rest... | [
"adel037@ucr.edu"
] | adel037@ucr.edu |
a06cdeceefed627dc706961f8eeabcb4a9be4430 | 8727d1a506114c2bbab2f74db9bdaf68b5a6c83e | /6/6-6/grade.h | 3f0b7f6ed6dfda3b72ea841247af4a9afe152f20 | [] | no_license | BaiXious/Accelerated-cpp | 5c5525eb9678ad98475208f82ea63b1606e31a86 | 26ad13fe83aa36c8d3ca1caf89b04e90f441d7d7 | refs/heads/master | 2022-01-13T08:11:14.337940 | 2018-08-28T04:06:10 | 2018-08-28T04:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | h | #ifndef _GRADE_H_
#define _GRADE_H_
#include <algorithm>
#include <vector>
#include <string>
#include "student_info.h"
bool fgrade(const student_info& );
double median(/*const*/ std::vector<double>/*&*/ );
double grade(const student_info& );
double grade(double, double, const std::vector<double>& );
double grade(do... | [
"1051378379@qq.com"
] | 1051378379@qq.com |
bb7e3effb9dccbdd50ba92d8c66bfc338198a8bb | 4211011a7ef3bfacd490a576da3955636c650c54 | /gCCD/gCCDComponent/include/STRModelsHeaders/STRBase.h | e07c13cc3b61b2c45f49df8124a2769c5ba0542c | [] | no_license | andreltr/goos-acs | 136760de02499014b974c38fa2f6afb7693a630f | cae97907b735b22f3f448cc86813d51a38b1927b | refs/heads/master | 2018-01-08T14:41:33.040253 | 2010-11-08T23:08:00 | 2010-11-08T23:08:00 | 49,103,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | h | #ifndef STRBASE_H_
#define STRBASE_H_
#ifndef __cplusplus
#error This is a C++ include file and cannot be used from plain C
#endif
#include <iostream>
#include "ComponentProperties.h"
#include "Observer.h"
/**
* Abstract base class for the Strategy Pattern
*/
class STRBase: public Observer {
protected:
std::stri... | [
"miguel.ortiz.cortes@d55a11f0-c6b6-1512-6fd8-a0a8490a29df"
] | miguel.ortiz.cortes@d55a11f0-c6b6-1512-6fd8-a0a8490a29df |
5a257ec17ed6d6c5e6bc4389fe1266f39bd987e0 | 791ef6dc8a32bd68423866cce2d30d71ae45ca55 | /test/test_lest_cpp03.cpp | 08b976f5673d8396ac44f54e947976d94c60d081 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | 0xc0170/lest | a0cc69241a4569ab29bb01b96bc63f5b1688965d | 3ab5bca4bf62bf075d6d837c270c388c1e67fa65 | refs/heads/master | 2021-01-15T17:14:10.559149 | 2015-07-23T08:21:00 | 2015-07-23T08:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,476 | cpp | // Copyright 2013, 2014 by Martin Moene
//
// Distributed under 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)
#include "lest_cpp03.hpp"
#include <string>
#ifdef lest_COMPILER_IS_MSVC6
namespace std { using ::size_t; }
#endif
lest::... | [
"martin.moene@gmail.com"
] | martin.moene@gmail.com |
51370c3bf36c34fa6ea43a5a01f345da8a366aa4 | 2be0ed4aca1b3c3261fff481c99a2dc1519a51c0 | /src/Control.h | d783e5510d81a73e5ceb1e20f9dee0fcf3f05ede | [] | no_license | JonathanPHumphreys/Group_Project_Bubble | 372908884a7590df9b6645ce05906f219f4149ab | a4b7d7d78a9730ed6787f771f32066e381098363 | refs/heads/master | 2021-01-22T18:33:43.622452 | 2017-05-21T20:11:03 | 2017-05-21T20:11:03 | 85,091,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | #pragma once
#include "constants.h"
class Control
{
public:
Control();
Control(SDL_Texture* font_input);
~Control();
SDL_Texture* font;
SDL_Texture* scoreTexture;
SDL_Texture* numbersTexture;
SDL_Rect scoreRect = { 5,5, 30, 30 };
SDL_Rect numberRect0 = { 95, 5, 21, 36 };
SDL_Rect numberRect1 = { 120, 5, 21,... | [
"15560006@students.lincoln.ac.uk"
] | 15560006@students.lincoln.ac.uk |
282e4eeff134ec70e6ab897e8866857dc10af55f | f636fcfcc7042b7234daec03bd0497a94a620cf2 | /src/compiler/js-create-lowering.h | ac04542d662ecb23f3694a6b62e8ee65d97d0cc0 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6"
] | permissive | yingjianchen/v8 | 7106f74d96cbb9f20c5b0a68171373e6a4eaf7dc | c59c9c46b589deb2a41ba07cf87275921b8b2885 | refs/heads/master | 2020-04-01T09:17:20.611552 | 2018-10-15T05:20:38 | 2018-10-15T06:00:03 | 153,068,701 | 1 | 0 | null | 2018-10-15T07:12:51 | 2018-10-15T07:12:50 | null | UTF-8 | C++ | false | false | 5,585 | h | // Copyright 2016 the V8 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.
#ifndef V8_COMPILER_JS_CREATE_LOWERING_H_
#define V8_COMPILER_JS_CREATE_LOWERING_H_
#include "src/base/compiler-specific.h"
#include "src/compiler/grap... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e877d8d064995b65e5f0e1ed30a51bee12c6101d | 6267c3e316ddd8a5bcd5b02be79dfb106d860573 | /src/FitnessAnalyzer.cpp | 14876ab54dd4cc28778d1e068e10794a65a7358d | [
"MIT"
] | permissive | ngetahun/Clusterer | 2e608c65fd124645df51e5e29c1aebe9d99ebffd | 8e3994af02977a79d2f1f36a23aebac5c2485be2 | refs/heads/master | 2020-05-25T08:17:25.512327 | 2015-10-03T16:50:52 | 2015-10-03T16:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | /**
* @file FitnessAnalyzer.hpp
* @brief FitnessAnalyzer implementation.
*/
// standard headers
#include <stdint.h>
// external headers
// internal headers
#include "../include/FitnessAnalyzer.hpp"
namespace clusterer
{
namespace backend
{
double FitnessAnalyzer::analyze(const ClusterEncoding* clusteringSolution, c... | [
"rochau.dev@gmail.com"
] | rochau.dev@gmail.com |
5c389a5d89dde3499d0850077cfd33ac5bb6aaeb | 5de42c4e14a7ddbc284a742c66cb01b230ba43ce | /codeforces/1303/G.cpp | 2fb886c519bec354731c6090302b3cd840edc890 | [] | no_license | NhatMinh0208/CP-Archive | 42d6cc9b1d2d6b8c85e637b8a88a6852a398cc23 | f95784d53708003e7ba74cbe4f2c7a888d29eac4 | refs/heads/master | 2023-05-09T15:50:34.344385 | 2021-05-04T14:25:00 | 2021-05-19T16:10:11 | 323,779,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,907 | cpp | /*
A Submission by $%U%$
at time: $%Y%$-$%M%$-$%D%$ $%h%$:$%m%$:$%s%$
*/
#include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define rep(i,n) for(int64_t i=0;i < (int64_t)(n);i++)
#pragma comment(linker, "/stack:200000... | [
"minhkhicon2468@gmail.com"
] | minhkhicon2468@gmail.com |
384db1b9fbd9229c31396160b06e78f7ace85c93 | d6dc96d8afc5bc16582bba83b1cb734938ce859e | /C++/Student Register Migration Tool/Course.h | 98da05e775fcbc16fc1290106bd8a9e930499c49 | [
"MIT"
] | permissive | VasilisPat/UniversityProjects | b3d54e079b2893da0516d8cec1ca36dc7cf79390 | 72fc8ca026bb31c24c8f63215e4a0964f750ffc2 | refs/heads/main | 2023-06-26T19:31:57.019597 | 2023-06-08T17:58:08 | 2023-06-08T17:58:08 | 306,084,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | #pragma once
#include <iostream>
using namespace std;
class Course{
private:
char* newCode=nullptr;
char* newName=nullptr;
char* oldCode=nullptr;
char* oldName=nullptr;
public:
//Constructors and Deconstructor Declaration
Course();
Course(char*, char*, ... | [
"65589110+VasilisPat@users.noreply.github.com"
] | 65589110+VasilisPat@users.noreply.github.com |
a3ad4c33c21d8f57f4c492a9d4dbc16209408e0f | ab25adae8bb69f9a4705cf71dca13dc26ae39429 | /client/Classes/AppDelegate.h | 945e1c6892ec689cbb1d0bf05226cf9ca7dd4618 | [] | no_license | yangyong3108/project-001 | db12600aa1bfaccbdf9d83514e269b09e6fd496d | 6f1dfa135a120bd3330d36b2f4ecad1bd9b4e816 | refs/heads/master | 2021-01-10T21:58:14.892479 | 2015-08-28T15:33:04 | 2015-08-28T15:33:04 | 40,808,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | #ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_
#include "cocos2d.h"
class NetMessageManager;
/**
@brief The cocos2d Application.
The reason for implement as private inheritance is to hide some interface call by Director.
*/
class AppDelegate : private cocos2d::Application
{
public:
AppDelegate();
vir... | [
"894987198@qq.com"
] | 894987198@qq.com |
8e5641450ed6279e2e3303d2d23f888a2e5b199c | 4119ea6909154ac505d2a5cfbdb043b0e22afc01 | /10. Floyd Warshall/3 [uva] 10171 - Meeting Prof. Miguel (Solution 2).cpp | 5dc5bbe7cf70dbf191f699b65af218a78079855a | [] | no_license | mojtabafazeli/competitive-programming | ec1ac188f3e9fad9be3f3ee2b63233dca26a7aca | 0d134d140daf9bde6ee713f746a532aeda68a687 | refs/heads/master | 2022-11-23T13:01:09.834233 | 2019-07-13T10:02:39 | 2019-07-13T10:02:39 | 298,296,962 | 1 | 0 | null | 2020-09-24T14:02:42 | 2020-09-24T14:02:41 | null | UTF-8 | C++ | false | false | 2,703 | cpp | // Problem: 10171 - Meeting Prof. Miguel...
// Link: https://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=1112
// Author: Mai Thanh Hiep
// Complexity: O(MAX^3), MAX = 26 => O(26^3)
#include <iostream>
#include <vector>
#include <limits.h>
#include <queue>
#define MAX 'Z'-'A'+1... | [
"hiepxuan2008@gmail.com"
] | hiepxuan2008@gmail.com |
ce990e2700a85a7b55d86752ea5d3d411d85b948 | f7591bda8f45d00348b23fca01823fc51201835f | /swap.cpp | 6696b2a7248724f5e23502ecc6b4513272dce674 | [] | no_license | ImjustWritingCode/Gaussian_Elimination | 0148c5dac71827b30c89962b1567e1c9e3f91634 | c7f50f6f45098d92c3c01f28dd990bfee0deb5c0 | refs/heads/master | 2021-01-19T21:13:32.793360 | 2017-05-16T09:45:39 | 2017-05-16T09:45:39 | 88,018,904 | 0 | 1 | null | 2017-04-13T03:58:47 | 2017-04-12T06:45:05 | C++ | UTF-8 | C++ | false | false | 537 | cpp | #include<iostream>
using namespace std;
int main(void)
{
int mat[4][3]={0};
int i,j,k;
cout<<"Please insert your matrix? ";
for(i=0;i<3;i++)
{
for(j=0;j<4;j++)
cin>>mat[j][i];
}
for(i=2;i>0;i--)
{
for(j=0;j<i;j++)
{
if(mat[0][j]>mat[0][j+1])
... | [
"wastony1107@yahoo.com"
] | wastony1107@yahoo.com |
92f0829ab376a62ca4b984c60dddf01a9a923801 | bd1db27d708b1dbc6dffe63231294168396c7fdf | /CppPractice/SplitTest/Split.h | cd5f1a8dc2fda9c405c837e1b0b2648bb5a4aa16 | [] | no_license | abigpotostew/CppPractice | da8202292b4c6460536cae4e889090c7a8403b83 | 31c8b908e5439a5e2ea68ddfe695f8098d49f1a2 | refs/heads/master | 2016-09-02T20:57:55.620860 | 2013-12-18T00:49:08 | 2013-12-18T00:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | //
// Split.h
// InterviewPractice
//
// Created by Stewart Bracken on 12/5/13.
// Copyright (c) 2013 Stewart Bracken. All rights reserved.
//
#ifndef InterviewPractice_Split_h
#define InterviewPractice_Split_h
#include <vector>
#include <string>
using namespace std;
//only supports single delim character at th... | [
"stew.bracken@gmail.com"
] | stew.bracken@gmail.com |
440819fbae6157771bdea66a729a4cb9b55bd845 | 4c8c13eb891b514037d3adb1be7f28af53144e85 | /mjolnir/input/read_observer.cpp | c216b0e0b7105d5cf2a6ee91b23857eafb9f920e | [
"MIT"
] | permissive | Mjolnir-MD/Mjolnir | f07b501cf60d6d1ca7cdeafc400749423dcde142 | 20dbdea5529c24a49b71e8876ac1651efc512445 | refs/heads/master | 2023-02-03T22:59:33.972243 | 2022-04-12T10:23:04 | 2022-04-12T10:23:04 | 74,558,351 | 14 | 9 | MIT | 2023-01-27T04:46:54 | 2016-11-23T08:53:31 | C++ | UTF-8 | C++ | false | false | 1,720 | cpp | #include <mjolnir/input/read_observer.hpp>
#ifndef MJOLNIR_SEPARATE_BUILD
#error "MJOLNIR_SEPARATE_BUILD flag is required"
#endif
namespace mjolnir
{
template void add_observer<SimulatorTraits<double, UnlimitedBoundary> >(ObserverContainer<SimulatorTraits<double, UnlimitedBoundary> >& observers, const to... | [
"niina.toru.68u@gmail.com"
] | niina.toru.68u@gmail.com |
ef8a7b555d62e90aa0f94069c3a8236d4ffa0289 | 866558f94b9b0d841e8ef68715273a8671511a84 | /tests/test_data/str_gb2312.inc | 8ad41685851920b6efd33840071200bc45b4905e | [
"MIT"
] | permissive | ximenpo/simple-cpp | 66a1de295fafaf911051889fbf21fc3f368eb9ac | 0779674dbea5cd8f4081140cad90edeaa31da7c8 | refs/heads/master | 2021-01-19T01:02:12.640957 | 2016-11-15T06:30:28 | 2016-11-15T06:30:28 | 32,370,140 | 2 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 62 | inc | std::string str = "XiMenPo «SimpleĶń“Ű“Ž√ݰ£";
| [
"ximenpo@jiandan.ren"
] | ximenpo@jiandan.ren |
f336b29caf9ebdd77773eea1b27d70aae1f0ed51 | a9063108a677217c489bf45c8b2734981f8138a4 | /XLUnityiOSDemo/unityiOSDemo/Classes/Native/Il2CppMetadataRegistration.cpp | 1c0e2159a38d29655922f53848ca1c7b7b586d07 | [] | no_license | kongfanwu/iOSMergeUnity3D | afe5ad13ff4317c6169106ea6784283d256d0fec | dd353107caa059a5054573c877466e1aed062ab7 | refs/heads/master | 2021-01-02T09:16:47.323708 | 2018-06-01T09:34:44 | 2018-06-01T09:34:44 | 99,179,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern Il2CppGenericClass* const ... | [
"kongfanwu@xloong.com"
] | kongfanwu@xloong.com |
2c33fada7a3d334f39e929826f1c3ceb96198d4d | 297d4a178916bbed73f8b19f7e106bb223b8ea8b | /q5122113, Ben Shoesmith Spice My Sponza/SpinceMySponzaICA/SpiceMySponza/source/MyController.cpp | 7415218ab1efac470c0805145b1164f4c22dc260 | [] | no_license | benshoesmith/C-2nd-Year-Graphics-Programming | fcf8869f6a00dc82d921cfadf7a26b7dfd597153 | 0e9fe41070d33898a57ce6fa62d424cca6334f47 | refs/heads/master | 2020-05-04T08:49:25.395677 | 2019-04-02T10:29:31 | 2019-04-02T10:29:31 | 179,054,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,364 | cpp | #include "MyController.hpp"
#include "MyView.hpp"
#include <sponza/sponza.hpp>
#include <tygra/Window.hpp>
#include <glm/glm.hpp>
#include <iostream>
MyController::MyController()
{
scene_ = new sponza::Context();
view_ = new MyView();
view_->setScene(scene_);
}
MyController::~MyController()
{
delete... | [
"Q5122113@live.tees.ac.uk"
] | Q5122113@live.tees.ac.uk |
419afea81ffcdb5fa3f1dd09905ced9cb7e0507b | 2fd0fae47b85ce8661edaf2ea4fab2377a69eaf8 | /archiv/queue.h | 16975eb5f6892d24f6615393cf1ebc5c6afdd793 | [] | no_license | Seakuh/OOP | 1277bb32a7bb5db09a2e6992ac27fa63efc9e6b0 | aa9fe6e88b92126223a4b0c713bbf34d883e93ea | refs/heads/master | 2020-12-13T04:06:35.957386 | 2020-01-16T11:49:19 | 2020-01-16T11:49:19 | 234,308,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | h | #ifndef queue
#define queue_h
class queue
{
public:
int arr[50];
int size = 0;
int *head = &arr[0]; //Der Kopf zeigt auf das Array an der 0. Stelle
int *tail = &arr[0]; //Das ende ist am Anfang auch 0. Stelle da arr leer ist
int length = 0;
int tIndex = 0;
int hIndex = 0;
void put(int v... | [
"eteranimal@protonmail.com"
] | eteranimal@protonmail.com |
97b3713cd50713bc5e9074d364765ad38e4c93c4 | 6f1d14bf99574e0d2be6b91f6e27151f5a7f960d | /include/input/InputTransport.h | a7ef60fc227d455091e335de9aa718bdfddd0950 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | jianglu/framework_native | 60cd76c9bb910b7a254869efaed1a7bbc18e3820 | 5612e28118e7158e664beed7e970d60e56e20c2a | refs/heads/master | 2021-01-11T07:11:54.739596 | 2016-10-31T18:07:13 | 2016-10-31T18:07:13 | 72,464,372 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,409 | h | /*
* Copyright (C) 2014 MediaTek Inc.
* Modification based on code covered by the mentioned copyright
* and/or permission notice(s).
*/
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | [
"huxiao1@longcheer.net"
] | huxiao1@longcheer.net |
760fb996ccb789267be468dd7075b6bfa561494c | 01fc45fd6c210ffed08b3e9a3666a1573fd46512 | /Dijkstra.cpp | 5ee7f90731a7f7565dbc6d5f4c7ea1b064c5e6b4 | [] | no_license | vinaygudarad/APS | 7fe91c51171818f6fb3f6edfd5fcfe8af84e9efb | 532d0dd4abfd78d30eefcedea52de5b4dfa2c4f2 | refs/heads/master | 2023-05-23T22:55:51.240782 | 2021-06-27T18:02:34 | 2021-06-27T18:02:34 | 372,820,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | cpp | /* 1.........2
. . 1 .
. .4 . 1
7. . .
. . .
4........3
2
*/
#include<bits/stdc++.h>
using namespace std;
template<typename T>
class Graph{
unordered_map<T,list<pair<T,int> > > m;
public:
void a... | [
"vinaygudarad@gmail.com"
] | vinaygudarad@gmail.com |
655ad74b56294e8c1da5cd3954a626f650cbae44 | 5f5bb4fe58ca6c9758e5ecd4f1acd7f3af7a41a4 | /codeforces/edu/ITMO Academy: pilot course/Binary Search/step 5/a.cpp | a5fc370385d4f0382d92f760c885f3918b7d48b4 | [
"MIT"
] | permissive | tysm/cpsols | 61a93de55dbeb2d92d92c80681d6615521d3d0ba | 262212646203e516d1706edf962290de93762611 | refs/heads/master | 2023-03-10T01:04:39.409948 | 2021-02-23T21:49:55 | 2021-02-23T21:49:55 | 202,269,911 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include <cpplib/stdinc.hpp>
int calc(vii &arr, int x){
int res = 0;
for(ii &i:arr){
if(x > i.ss)
res += i.ss-i.ff+1;
else if(x >= i.ff)
res += x-i.ff;
}
return res;
}
int32_t main(){
desync();
int n, k;
cin >> n >> k;
vii arr(n);
for(ii &i:... | [
"ysm.thalles@gmail.com"
] | ysm.thalles@gmail.com |
552d7385839aac0e811e47b12981d8f33b267212 | 963b9d9a926941e87b69400398a43e20cc3f1dc4 | /day03 ( Arrays 3 )/majorityElement.cpp | a2a78681d251cd0d1b194a0374c264873a29c884 | [] | no_license | argon17/SDESheet | 162bf4b22b279d74ea6371ee5576dfdfb71a30ed | 265e1882d3512b09561cc407db8878b766ec87eb | refs/heads/master | 2023-08-14T20:26:45.579637 | 2021-09-21T06:40:14 | 2021-09-21T06:40:14 | 374,260,281 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
class Solution {
public:
int majorityElement(vector<int>& nums) {
int cnt = 0, e = 0;
for(int num : nums){
if(cnt == 0) e = num;
if(e == num) ++cnt;
else --cnt;
}
return e;
}
}; | [
"premsagark.ug18.ee@nitp.ac.in"
] | premsagark.ug18.ee@nitp.ac.in |
8fb0c12925b2724c03fc2f6505d714394b92437d | e64baba567510928c0d0922231b3219302c92f83 | /qq/testwrite.cpp | 6f3f93ece6145ab9bd1cc32910e9c4689023010c | [
"BSD-3-Clause"
] | permissive | nonego/ldb | 21a5aa1fccc11b486d0da1b716238f5bd0d91b63 | 448e71c76bba66a9c93ca3d2899af4e0d95948fc | refs/heads/master | 2021-01-01T19:07:06.173288 | 2014-05-19T03:32:36 | 2014-05-19T03:32:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #include <leveldb/db.h>
#include <string>
#include <iostream>
using namespace std;
using namespace leveldb;
int main( int argc, char* argv[])
{
DB* db;
Options options;
options.create_if_missing = true;
if( argc < 2 )
return 0;
char delim;
if( argc == 3 )
delim = argv[2][0];... | [
"guojiaqing@gmail.com"
] | guojiaqing@gmail.com |
6314b8d4b4a5b03e5dd71b6cedffa6bb6e9a99c1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_804_httpd-2.4.6.cpp | cb6fb30be51292c211cf6e41e8b3fc3e622c5417 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | const char *ssl_cmd_SSLPKCS7CertificateFile(cmd_parms *cmd,
void *dcfg,
const char *arg)
{
SSLSrvConfigRec *sc = mySrvConfig(cmd->server);
const char *err;
if ((err = ssl_cmd_check_file(cmd, &arg))) {
return err... | [
"993273596@qq.com"
] | 993273596@qq.com |
b2699e6f94a320e4c29ab1b230989b83d964e3c2 | 24baacc8b399eb0a5b73ab6c0e8e3bc16b2d5c07 | /C_Data_Structure/src/Hashing/Hashing.cpp | 59639a0d7a0f825d2f06602c4a4bb3ebb8c7c1b0 | [] | no_license | jhseoeo/C_Algoritm_DataStructure | 0049e38483d79201428d92d2970214d362b92e71 | 6b1b24593a8ba41dc56aa2c4edae2e3d41d442f6 | refs/heads/master | 2023-07-13T05:52:10.376159 | 2021-08-19T13:04:52 | 2021-08-19T13:04:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include "Hashing.h"
void Hashing_Main() {
int n;
system(CLEAR);
printf("Select the type of hashing\n");
printf("1. Chain Hashing\n");
printf("2. Closed Hashing\n");
printf(">>> "); scanf("%d", &n);
switch (n) {
case 1:
ChainHashMain();
break;
case 2:
ClosedHashMain();
break;
default: break;
}
} | [
"junhyuk0801@naver.com"
] | junhyuk0801@naver.com |
f5c6f5dcc29d0d6296694565f1a1277948fe4d5c | bd5ca643253046ba841fe3d38731d60db9716352 | /geeksy/medium/dp_medium_geeksforgeeks_page3_dp.cpp | c10c09db430e80beb8a3a6b4bd8f85c83f599995 | [] | no_license | vivekgopalshetty/code | eabb32d2a8cc464eda399dd20f152ce9eb418913 | 8472fb15b87f027d088f4cecf538967a0c311717 | refs/heads/master | 2022-11-16T21:28:31.944287 | 2020-07-14T11:47:53 | 2020-07-14T11:47:53 | 279,570,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,680 | cpp | //https://www.geeksforgeeks.org/medium/dynamic-programming/3/
//dynamic-programming
#include <bits/stdc++.h>
using namespace std;
#define MAX 50
//not done
//https://www.geeksforgeeks.org/maximum-sum-path-in-a-matrix-from-top-to-bottom-and-back/
// int max_sum_twice(int arr[][MAX],int n,int m)
// {
// int cost[n... | [
"vivek.gopalshetty20@gmail.com"
] | vivek.gopalshetty20@gmail.com |
7f625bd03c8d036396b29962c80a5154305426d2 | 439b02e8df3482052f5fe09661156566ef17df8f | /include/requests/detail/timed_handler.hpp | 6cf990862f99dd2542b7cf75e9e52872e61731be | [
"BSL-1.0"
] | permissive | cbodley/requests | a88406e10526b90447df7bb44d3d457787362b8c | 74fa7821da4789573da05629357fda618e760b20 | refs/heads/master | 2020-04-04T15:46:17.341127 | 2018-11-04T04:59:40 | 2018-11-04T04:59:40 | 156,051,622 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | hpp | #pragma once
#include <boost/asio/associated_allocator.hpp>
#include <boost/asio/associated_executor.hpp>
namespace requests::detail {
// a handler wrapper that cancels a timer on completion
template <typename Handler, typename Timer>
struct timed_handler {
Handler handler;
Timer& timer;
timed_handler(Handler&... | [
"cbodley@redhat.com"
] | cbodley@redhat.com |
836c2e1a2a042c3738ebf428fc487247abbde2ce | 80d97bc5ff8a43da99893a57f03002e68081d780 | /scintilla/lexlib/DefaultLexer.h | b7c5d894deded7cb50b110ae422e71bd24329c92 | [
"LicenseRef-scancode-scintilla",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ProgerXP/Notepad2e | 38798db10e0fe0a5602a463a5681bd653afe3bb6 | c703f11bc278457286b3ca1565047a3b09ccdf8d | refs/heads/master | 2023-09-05T23:32:07.576076 | 2023-07-27T11:03:30 | 2023-07-27T11:03:49 | 10,840,481 | 376 | 50 | NOASSERTION | 2022-08-22T14:06:36 | 2013-06-21T10:28:18 | C++ | UTF-8 | C++ | false | false | 2,387 | h | // Scintilla source code edit control
/** @file DefaultLexer.h
** A lexer base class with default empty implementations of methods.
** For lexers that do not support all features so do not need real implementations.
** Does have real implementation for style metadata.
**/
// Copyright 2017 by Neil Hodgson <ne... | [
"cshnik@users.noreply.github.com"
] | cshnik@users.noreply.github.com |
0e85693114a4e46384a6f56444b6b0ae2680aeab | 8e756b03d03bb8404e2b6fa3d7e54f6c031fa2db | /source/Spec.h | 4a18e0b463d13587a41d43da7c4abba763aab534 | [] | no_license | kimdopal/Job-Consulting | 32311ed316681e21339ff5243b564f124b25acda | 6a55a51ffc49ddc9acc95f586916660bc19abbe3 | refs/heads/master | 2022-04-01T01:21:17.379015 | 2020-01-14T11:02:44 | 2020-01-14T11:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | h | #ifndef SPEC_H
#define SPEC_H
#include <string>
using namespace std;
class Spec {
public:
Spec(); // class constructor
~Spec() {} // class destructor
// getter
string getUniversity() { return mUniversity; }
string getMajor() { return mMajor; }
float getGpa() { return mGpa; }
int getToeic() { return mToeic; ... | [
"miheesong419@gmail.com"
] | miheesong419@gmail.com |
6bfc0daeaf0e77902670b567121e0a5ce326fc74 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGLES31.h | 12abd7fecee0ba80b3d66729d724f1b75c9e1df2 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 36,580 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
OpenGL3.h: Public OpenGL 3.2 definitions for non-common functionality
=============================================================================*/
#pragma once
#define OPE... | [
"dkroell@acm.org"
] | dkroell@acm.org |
bca94b4f80bc02d8dbbf9ee297f23892d175f162 | 8a786f0133a4fefef0a82d2489369a461eeb3e06 | /tools/UT99CampaignRoster/src/UT99CampaignRoster/Roster/RosterContainer.cpp | db88c10ecf07a3559a7bb1f6330fac3d7db28cfd | [] | no_license | orb3b/UTManager | afd6efbd91165e062f0c3966a9f0bc3a1d3a8bdb | 30e2391dc8071fe00717e1722a2eaf646cb79116 | refs/heads/master | 2021-01-22T12:12:08.470588 | 2014-08-17T12:28:21 | 2014-08-17T12:28:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cpp | #include "RosterContainer.h"
RosterContainer::RosterContainer(QObject *parent) :
RosterObject(parent)
{
}
RosterContainer::~RosterContainer()
{
clearCollection();
}
void RosterContainer::clearCollection()
{
clearError();
foreach (RosterObject *obj, m_memberList) {
disconnect(obj, SIGNAL(des... | [
"orb3bb@gmail.com"
] | orb3bb@gmail.com |
76e234ebb570ef2b561d5d663fd3608244be1b7c | 509eb91ac1d5afca1f28791508ec9d787694e6c1 | /cyberRT-dependency/eProsima_FastRTPS-1.5.0-Linux/src/cpp/rtps/writer/RTPSWriterCollector.h | 566d06b8363cff0a17908a15dd9878d4e01b5928 | [
"Apache-2.0"
] | permissive | Allenhe123/cyberRT-x86 | 5d116dbd89911b2d54fb6cd8ad82a9e3d6e69557 | 1cdc0414cbf3886d9a989c5b807694e2039f8f99 | refs/heads/master | 2022-03-15T02:48:34.806443 | 2022-02-11T07:21:23 | 2022-02-11T07:21:23 | 232,505,897 | 16 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 3,723 | h | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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... | [
"allen@allen-18.04"
] | allen@allen-18.04 |
f296e7d7e73ee3389d9aaea407b1da80ea2d1f45 | 974d2bf41fdf9e68feaac1ee696e6635097afc94 | /ariac_plugins/src/assembly_lock_plugin.cpp | b0f5345f3bcb11f6c8a4ccfab9e9cedf3623dd5e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | usnistgov/ARIAC | 82c56593f30f7b031350b2cacb8a3b882b76d92a | 66a0470be3d7f92201ff40ddeb5f74de14659ba1 | refs/heads/ariac2023 | 2023-09-01T20:59:11.343777 | 2023-05-22T16:29:50 | 2023-05-22T16:29:50 | 236,078,087 | 98 | 68 | NOASSERTION | 2023-05-25T20:24:19 | 2020-01-24T20:28:25 | C++ | UTF-8 | C++ | false | false | 8,152 | cpp | /*
This software was developed by employees of the National Institute of Standards and Technology (NIST), an agency of the Federal Government. Pursuant to title 17 United States Code Section 105, works of NIST employees are not subject to copyright protection in the United States and are considered to be in the public ... | [
"zeidk@umd.edu"
] | zeidk@umd.edu |
e59643210aae0004b6194a7da694564659018705 | a5da867210a2716fa9765ba00b7498cef4e10979 | /DdyLib.wx/Ctrl/x_DataViewCtrl_1/MyDataViewVirtualListModel.cpp | 7bab5a9b9345ebd4fe1b84253b43d79aef47d07b | [] | no_license | yasriady/wxProjects | 65055569af4c93d9deb3521415bf02aef08899cf | 26a758710712f0ed73c53b0e587d50df8ba25f78 | refs/heads/master | 2021-01-10T21:58:31.576665 | 2015-09-10T23:13:19 | 2015-09-10T23:13:19 | 41,183,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,341 | cpp | #include "MyDataViewVirtualListModel.h"
/*
* MyDataViewVirtualListModel.cpp
*
* Created on: Dec 30, 2014
* Author: dedy
*/
MyDataViewVirtualListModel::MyDataViewVirtualListModel(AppDB* db, wxString table, wxString columns, wxString where, wxString orderby) {
m_db = db;
m_table = table;
m_columns = colum... | [
"yasriady@yahoo.com"
] | yasriady@yahoo.com |
93f641473fccb4233eb45d39177dbf5a54a0c11f | 23e0cee8faabe23dc2d34a3862daffa85fb63a4f | /476-ParallelProgramming/5-MergeSort/SortingTimes.cc | 48bf2a9272635093df5df451f5b53526b81d6b61 | [] | no_license | smzelek/schoolwork | 5225bebb3720e5f5ccde25a94ed8ecc7354ae50d | ff6e11599c829b427901b4a98f6860d1e741b28e | refs/heads/main | 2022-07-10T02:27:38.144755 | 2017-04-19T21:23:52 | 2017-04-19T21:23:52 | 87,887,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,301 | cc | /************************************************************/
/*
Author : Steven Zelek
Course : CSCI 476
Assignment : Lab #5
Description:
*/
/************************************************************/
// System includes
#include <iostream>
#include <vector>
#include <algorithm>
#include <random>
#include <... | [
"Steven Zelek"
] | Steven Zelek |
0597aaf5f1945bfd91728367bf094496376250f0 | 14c8b0ef6bf15f29bd5787c8136e0e382d74adea | /Dependencies/AllegroC++/include/alx/Keyboard.hpp | 3e25ee2eefe117f372c8134af7b2eaa8eb712f2c | [] | no_license | zerodarkzone/Cage2D | ff6d83518ffd859826c7f4ddeeb5bd66fe8d1e1e | ddb4b2b4c2bd7500bdbf420791dd483d3d3bf04d | refs/heads/master | 2020-12-10T04:30:08.391378 | 2017-03-02T06:44:34 | 2017-03-02T06:44:34 | 83,633,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | hpp | #ifndef ALX_KEYBOARD_HPP
#define ALX_KEYBOARD_HPP
#include <alx/EventSource.hpp>
namespace alx {
/**
Keyboard functions.
*/
class Keyboard {
public:
/**
Returns the keyboard event source.
@return the keyboard event source.
*/
static EventSource getEventSource() {
return E... | [
"zerodarkzone@gmail.com"
] | zerodarkzone@gmail.com |
d3e6f9a10a1901e9c6e8ecda9f0ef1c0e5a895d8 | c6b95358dbba65b0ba8450b8179046a41fcf4c91 | /signRecognition/moveMotors/moveMotors.ino | 3186f09e9f1f983c2398804716f5e619474ce2fe | [] | no_license | kmvinayaka/ML_examples | b24221c1b1e2103b1b228399ef0c3591e6f3d4e6 | 6a5afa3a68a3a70bc55f9941d96064fcdb8ac42c | refs/heads/master | 2020-06-11T10:39:42.441157 | 2020-02-05T18:11:41 | 2020-02-05T18:11:41 | 193,933,972 | 0 | 2 | null | 2020-01-28T22:48:52 | 2019-06-26T15:43:09 | Python | UTF-8 | C++ | false | false | 4,604 | ino | // Import the Arduino Servo library
#include <Servo.h>
// servo motors
#define pan 5
#define tilt 6
// connect motor controller pins to Arduino digital pins
// right motor
#define enA 11
#define in1 12
#define in2 13
// left motor
#define enB 3
#define in4 2
#define in3 7
// Create a Servo object for each servo
Ser... | [
"kmvs.027@gmail.com"
] | kmvs.027@gmail.com |
64e4932951dc7db867a6f239673d33ca71fe8cc5 | 9c273d9732d7335cc75d8fee559d4c410fce7075 | /C++ stld prctice/StringFind.cpp | 274bb12ff410b641d6552e9f07dbd39bc75431d4 | [] | no_license | Md-Sanaul-Haque-Shanto/Practice-Session | 740f731ce61bc4878f5a1154cda7aa076c89b639 | 4e7173112ced64eabfc7bc0d5470b562f214f349 | refs/heads/master | 2020-03-12T11:41:32.458454 | 2018-06-10T18:13:44 | 2018-06-10T18:13:44 | 130,602,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include<bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
int main(){
int t;
long long a;
cin>>t;
for(int i=1;i<=t;i++){
cin>>a;
cout<<"Case "<<i<<": "<<a%mod<<endl;
}
}
| [
"mdshs.shanto@gmail.com"
] | mdshs.shanto@gmail.com |
4a0daddc660501af4276150221efd2f451aac8d7 | edc87421c947454a752592f6f2d01cfc2fe6a8d6 | /src/test/arith_uint256_tests.cpp | 204908798ae8ca1d1ed7e4dfdae0f2c4e5e9ebdd | [
"MIT"
] | permissive | smartinsider/cgencore | 8d64acbfcaececea41cfc056ebeb79aef2f09b80 | 4ed6fd47303b08a241a26377e941276b4a7ea26e | refs/heads/master | 2020-04-18T11:09:27.888199 | 2019-02-17T15:37:42 | 2019-02-17T15:37:42 | 167,490,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,352 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2017-2018 The HUZU developers
// Copyright (c) 2018-2019 The ZIJA developers
// Copyright (c) 2019 The CGEN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or ... | [
"smartyinsider@gmail.com"
] | smartyinsider@gmail.com |
f86011c0c1cd82bc6faf199a81c4a1928a4592a0 | 1e0613d7284d5555f6d17255a89d41205b6688b5 | /universum.cpp | 21960ab02ee10344af2c70ebceffdca0a35b5bbc | [] | no_license | PhilippHenne/MathesisPhysik | 9cdb352673dee2a549dbb5ce1083a78daff038b9 | 4ec5fc3b19805ed4d9268bd245c564b7c67e2312 | refs/heads/master | 2016-09-14T07:09:28.665473 | 2016-05-19T23:59:06 | 2016-05-19T23:59:06 | 59,251,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | cpp | #include <iostream>
#include <sstream>
#include <vector>
#include "universum.hpp"
// Bedeutung von Konstante i:
// 1: Universum mit Sonne, Erde und Mond
double G = 1;
universe::universe(int i)
{
if (i == 1)
{
// objects.push_back(sky_object (0.,2.,4.,3.,2.,1.,1.));
// objects.push_back(sky_object (1.,1.,1.,1.,1.,1... | [
"philipp.henne1@googlemail.com"
] | philipp.henne1@googlemail.com |
8cfa3b7600686026d4a121d13b55a3bd28f61852 | 88d452f7b5d7f97a2ec666a185d6791fa1e2da72 | /RayTracingRenderer/cyCodeBase/cyVector.h | a1e74ce5aa33f0057d961f7180a1e5afeaec8c6f | [
"MIT"
] | permissive | Sumi-N/RayTracing | 78a490e985c72d2f1e1888cfd75089a1b73a64bd | 0a2428debac4f8573e043ad259049089cb83b35c | refs/heads/master | 2022-04-27T21:51:07.136002 | 2020-03-29T03:36:05 | 2020-03-29T03:36:05 | 203,900,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,437 | h | // cyCodeBase by Cem Yuksel
// [www.cemyuksel.com]
//-------------------------------------------------------------------------------
//! \file cyVector.h
//! \author Cem Yuksel
//!
//! \brief 2D, 3D, 4D, and ND vector classes.
//!
//-------------------------------------------------------------------------------
/... | [
"sumi.n.lcy@gmail.com"
] | sumi.n.lcy@gmail.com |
6c96cff76f6605ee5a744e73123d19aaec3ec78d | 41b444116c8431b7e4199f78b0f27f1dc61d190f | /same.cpp | 3fca2adf1b3c54943d6a4c6543fad244995e4178 | [
"MIT"
] | permissive | lwzhenglittle/NOIP | 6caa100b1865c93837deca3283bf43e54c84462f | f256c8d706b3ac985de04a5fae77246f44ba5b23 | refs/heads/master | 2021-07-12T06:58:37.345212 | 2020-09-27T12:09:49 | 2020-09-27T12:09:49 | 207,077,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<iostream>
#include<string>
#include<vector>
using namespace std;
vector<int> a;
int main()
{
int n;
scanf("%d",&n);
for(int i=0,tmp;i<n;i++){
scanf("%d",&tmp);
a.push_back(tmp);
}
sort(a.begin(),a.end());
for(int i=0... | [
"924695205@qq.com"
] | 924695205@qq.com |
a772e4bac106d88d1bd596a82fffae9d2d1a5ecf | cfdaf6b064fd03ef9e3550efbe74d4f0782304c8 | /VasilievAN_Programmirovanie_na_c++/chapter6_classes-and-objects-use/6.1_obj-pointer.cpp | 857a62543af3c795d0a2723c826cc431eb12e701 | [] | no_license | profLake/SomeOldCppProjects | 9af7e90b8c63d8937827dd3a626cd37b2a74c28c | 82f2331e647ef6edaf233166b746d4aa1bb52c7f | refs/heads/main | 2023-07-29T12:59:02.710124 | 2021-09-12T19:25:31 | 2021-09-12T19:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | /*
* =====================================================================================
*
* Filename: 6.1_obj-pointer.cpp
*
* Description: demonstrates using class pointer
*
* Version: 1.0
* Created: 06/15/20 15:48:17
* Revision: none
* Compiler: g++
*
* ... | [
"muslimow9@yandex.ru"
] | muslimow9@yandex.ru |
e7e691ee9388cd232c837f6afbbdddcfc2fde8a1 | 18488c64ea8073545133e78a884cac4d6669ccf0 | /91_HangDoiHaiDau(DEQUEUE).cpp | 88e63ad73be213ac844847e299099d846f3871c5 | [] | no_license | manhtung001/Datastructure-Algorithm-PTIT | f6b1c3bbc2476af3989b8796696dbbb7750e91fe | c41a344d4fbfd92bf587eac14861568d2029321b | refs/heads/master | 2023-06-24T07:19:33.970580 | 2021-07-21T13:44:54 | 2021-07-21T13:44:54 | 344,992,505 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
main()
{
deque<ll> q;
int t;
cin >> t;
while (t--)
{
string s;
cin >> s;
if (s == "PUSHFRONT")
{
ll x;
cin >> x;
q.push_front(x);
}
else if (s == "PRINTFRONT")
{
if (!q.empty())
cout << q.front(... | [
"khongtung001@gmail.com"
] | khongtung001@gmail.com |
1168b234505ad954e8dc22ec2c8a8c258641784a | 426aed70aa6925105f10c7fcb7b611b277bf8b84 | /src/kernel/cpu/binary_bcast_reduce_max.cc | 789ee76e813a69e6d8dfef20e0f3957b575ee9df | [
"Apache-2.0"
] | permissive | hengruizhang98/dgl | 0ce7201ca7380482440f031cb8ced6ca0e8c8dc1 | 195f99362d883f8b6d131b70a7868a537e55b786 | refs/heads/master | 2023-06-10T22:21:45.835646 | 2021-04-13T12:29:43 | 2021-04-13T12:29:43 | 336,804,001 | 3 | 0 | Apache-2.0 | 2021-02-07T14:16:20 | 2021-02-07T14:16:20 | null | UTF-8 | C++ | false | false | 724 | cc | /*!
* Copyright (c) 2019 by Contributors
* \file kernel/cpu/binary_bcast_reduce_max.cc
* \brief CPU kernels for braodcasting binary reduce max
*/
#include "./binary_reduce_impl.h"
#include "./backward_binary_reduce_impl.h"
namespace dgl {
namespace kernel {
#define REDUCER ReduceMax
#define XPU kDLCPU
#define I... | [
"wmjlyjemaine@gmail.com"
] | wmjlyjemaine@gmail.com |
b3c9cd09782347eab3c920704744c5a85c0574ab | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/MP+dmb.sy+ctrl-pos-ctrl-rfi-addr.c.cbmc_out.cpp | 25c5968765fed5e6c861c5a03c6db19e9006f643 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 54,008 | cpp | // Global variabls:
// 0:vars:4
// 4:atom_1_X0_1:1
// 5:atom_1_X7_1:1
// 6:atom_1_X9_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
#define ADDRSIZE 7
#define LOCALADDRSIZE 2
#define NTHREAD 3
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#d... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
a702744bfaf35cfddb8b81487f43ba03a644bca4 | af69c00861536cd23422093e612691a2147ea4be | /src/rcubeobject.cpp | 906da7a680f59027fec43fabeedaaaf32d875d6c | [] | no_license | 2lx/rubiks_cube | 00a435cf91a7255ad6f2e0d80851c289fbb7a698 | 548041e94e55f1d48bcb5cb55f30fcfb36f4eb7c | refs/heads/master | 2022-07-03T02:19:36.007310 | 2017-05-07T18:25:39 | 2017-05-07T18:25:39 | 51,666,478 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,658 | cpp | #include "all.h"
#include "rcubeobject.h"
#include "rcubeparams.h"
#include "shaderprogram.h"
#include "rcubemodel.h"
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>
RCubeObject::RCubeObject( ShaderProgram * shaderPr )
{
m_RCModel = new RC::CubeModel();
m_VBOCubeVertices = loadGLArra... | [
"lexaaim@gmail.com"
] | lexaaim@gmail.com |
a967b4be97da0d74ddda0f0a6a38e2d3d916c7f8 | fd7d1350eefac8a9bbd952568f074284663f2794 | /dds/CorbaSeq/UShortSeqTypeSupportImpl.cpp | fdb761f91782535f1e02b4f3cb3c4d4e8dd29ab0 | [
"MIT"
] | permissive | binary42/OCI | 4ceb7c4ed2150b4edd0496b2a06d80f623a71a53 | 08191bfe4899f535ff99637d019734ed044f479d | refs/heads/master | 2020-06-02T08:58:51.021571 | 2015-09-06T03:25:05 | 2015-09-06T03:25:05 | 41,980,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | /* Generated by ../bin/opendds_idl version 3.6 (ACE version 6.2a_p7) running on input file CorbaSeq/UShortSeq.idl*/
#include "DCPS/DdsDcps_pch.h"
#include "UShortSeqTypeSupportImpl.h"
#include "dds/CorbaSeq/UShortSeqTypeSupportImpl.h"
/* Begin MODULE: CORBA */
/* Begin TYPEDEF: UShortSeq */
namespace OpenDDS { n... | [
"jimbolysses@gmail.com"
] | jimbolysses@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.