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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23484fe153d25cd401d947c9e718684f1f43c0f8 | fda46067897a0a6f6bd4fc8ca21ee064aff65aef | /TP1/Parque.cpp | ff86b427add31a99667f71493a46148f10038975 | [] | no_license | Raidenkyu/AEDA-TP-solutions | ca39f20e6f630e8c117b9dd216c53eaa51a430c7 | 53a80f76b3b66187426a5b8f82f9c6fd4f556464 | refs/heads/master | 2021-05-08T07:30:45.601742 | 2017-11-21T12:41:21 | 2017-11-21T12:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | cpp | #include "Parque.h"
#include <vector>
using namespace std;
ParqueEstacionamento::ParqueEstacionamento(unsigned int lot, unsigned int nMaxCli): lotacao(lot), numMaximoClientes(nMaxCli), vagas(lot) {
};
unsigned int ParqueEstacionamento::getNumLugares() const{
return this->lotacao;
};
unsigned int ParqueEstacioname... | [
"joao-carlos.14@hotmail.com"
] | joao-carlos.14@hotmail.com |
85517c51434d9f27ff2100d639ad460c577a44c2 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /paifeaturestore/src/model/CreateInstanceResult.cc | 975621821ff84dbc99f2ce1d83586169680ed155 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,537 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
098892b6e0b904d39fb73cf0e0e7db1237ee79bd | fe9795077d87188a1a8d202ff0142b2f1a788f8f | /B_Trainning/SpeechReg_src/SpeechReg/vcmd.h | 9117a6ec829856457d58c4ca44c4167d14df22e8 | [] | no_license | kumbhar-p/backup | 209ebd0ff22ca94890505bcbfc88e4c7f5473705 | 4146a8d41573caa65a8c3227741df39fac3a77a3 | refs/heads/master | 2021-09-16T00:01:21.600606 | 2018-06-13T10:29:46 | 2018-06-13T10:29:46 | 137,190,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | h | /******************************************************************************\
* This code and information is provided "as is" without warranty
* of any kind, either expressed or implied, including but not
* limited to the implied warranties of merchantability and/or
* fitness for a partic... | [
"kl.punam@globaledgesoft.com"
] | kl.punam@globaledgesoft.com |
56992785339805d963b585c57ed52b252196864e | a2f6660488fed555d720cc0df72ae2cfd526d0ec | /src/hssh/global_topological/mapping/large_scale_star_utils.h | c5868f2827ad2d24efd8d0b65e8f7ec0126aee5b | [
"MIT"
] | permissive | h2ssh/Vulcan | 91a517fb89dbed8ec8c126ee8165dc2b2142896f | cc46ec79fea43227d578bee39cb4129ad9bb1603 | refs/heads/master | 2022-05-03T02:31:24.433878 | 2019-05-04T17:12:12 | 2019-05-04T17:12:12 | 184,834,960 | 6 | 11 | NOASSERTION | 2022-04-29T02:03:07 | 2019-05-04T00:21:10 | C++ | UTF-8 | C++ | false | false | 780 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
620cc8906f3f688cc011a0d9aecf11e1362ee29b | 63168b3cc1a8019583b331ebc8c4ec58c241753c | /ngraph/core/include/openvino/op/deformable_convolution.hpp | 3670ee1a0596263df1bbdc8fc803fe1c851d246f | [
"Apache-2.0"
] | permissive | generalova-kate/openvino | 2e14552ab9b1196fe35af63b5751a96d0138587a | 72fb7d207cb61fd5b9bb630ee8785881cc656b72 | refs/heads/master | 2023-08-09T20:39:03.377258 | 2021-09-07T09:43:33 | 2021-09-07T09:43:33 | 300,206,718 | 0 | 0 | Apache-2.0 | 2020-10-01T08:35:46 | 2020-10-01T08:35:45 | null | UTF-8 | C++ | false | false | 9,479 | hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/op/op.hpp"
#include "openvino/op/util/attr_types.hpp"
#include "openvino/op/util/deformable_convolution_base.hpp"
namespace ov {
namespace op {
namespace... | [
"noreply@github.com"
] | generalova-kate.noreply@github.com |
a854352a875953d7d73fc6cf0a9fe6a7d9e1c490 | ec70b2fc804bc2c783c06332b0356ef106d2c059 | /往年测试/排序/t1.cpp | dd1f363762720f5a26aa629fafb67df0ca183d47 | [] | no_license | StuGRua/ReDS | bd105b5c438045c9c24b45f3bc30b536c6282d6f | 66dc0f5531c7d1744d15a3adface6777af83b94a | refs/heads/master | 2023-02-08T21:53:03.331860 | 2020-12-21T09:52:25 | 2020-12-21T09:52:25 | 300,611,537 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | /*5.1 插入排序
b. 折半插入排序
void BinaryInsertionSort(T Data[], int n)
*/
#include <iostream>
using namespace std;
/*
TODO:折半插入排序,使得排序后Data中的数据按递增排序
*/
template <class T>
void BinaryInsertionSort(T Data[], int n) //参数:待排序数据和待排序元
//素个数
{
int left,mid,right,p;
for( p = 1; p < n; p++)
{
T temp = Dat... | [
"Stu6@users.noreply.github.com"
] | Stu6@users.noreply.github.com |
ec67e0d3e00409fe3a0598f184e67bd6af7b5762 | c9ea4b7d00be3092b91bf157026117bf2c7a77d7 | /D动态规划初步/多维DP初步/P1508.cpp | 434f4fea14e3a7b50c910e149171e5c61bfb0d8a | [] | no_license | Jerry-Terrasse/Programming | dc39db2259c028d45c58304e8f29b2116eef4bfd | a59a23259d34a14e38a7d4c8c4d6c2b87a91574c | refs/heads/master | 2020-04-12T08:31:48.429416 | 2019-04-20T00:32:55 | 2019-04-20T00:32:55 | 162,387,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | //P1508 Likecloud-吃、吃、吃
#include<iostream>
#include "memory.h"
#define MAXN 220
using namespace std;
int f[MAXN][MAXN],a[MAXN][MAXN],n=0,m=0,ans=0x80808080;
inline void max(int&,const int&);
int main()
{
register int i=0,j=0;
ios::sync_with_stdio(false);cin.tie(0);
memset(f,0xc0,sizeof(f));
cin>>n>>... | [
"3305049949@qq.com"
] | 3305049949@qq.com |
074b92c19e2d6195605aaf9ef902a6e64bb322dd | eda03521b87da8bdbef6339b5b252472a5be8d23 | /Kernel/Arch/aarch64/Firmware/ACPI/StaticParsing.cpp | ba0d9bc13e8facac35d1bd725f2b890246e8ae5d | [
"BSD-2-Clause"
] | permissive | SerenityOS/serenity | 6ba3ffb242ed76c9f335bd2c3b9a928329cd7d98 | ef9b6c25fafcf4ef0b44a562ee07f6412aeb8561 | refs/heads/master | 2023-09-01T13:04:30.262106 | 2023-09-01T08:06:28 | 2023-09-01T10:45:38 | 160,083,795 | 27,256 | 3,929 | BSD-2-Clause | 2023-09-14T21:00:04 | 2018-12-02T19:28:41 | C++ | UTF-8 | C++ | false | false | 380 | cpp | /*
* Copyright (c) 2023, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Firmware/ACPI/StaticParsing.h>
namespace Kernel::ACPI::StaticParsing {
ErrorOr<Optional<PhysicalAddress>> find_rsdp_in_platform_specific_memory_locations()
{
// FIXME: Implement finding RSDP... | [
"jelle@gmta.nl"
] | jelle@gmta.nl |
3d676acb24bc3c62d4a13f860f09b37a3a19774b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_log_128.cpp | b519b491f231f56d15090118ed39771db7194cb3 | [] | 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 | 19 | cpp | fputs(str, stream); | [
"993273596@qq.com"
] | 993273596@qq.com |
14f06ca6b31a28910a1eb9ee748148069a75da5e | d002ed401cba924074e021d22347b84334a02b0f | /export/windows/obj/src/lime/ui/_ScanCode/ScanCode_Impl_.cpp | e42473bb120803aeb6d252dcb9ca723f0d8662d8 | [] | no_license | IADenner/LD47 | 63f6beda87424ba7e0e129848ee190c1eb1da54d | 340856f1d77983da0e7f331b467609c45587f5d1 | refs/heads/master | 2022-12-29T13:01:46.789276 | 2020-10-05T22:04:42 | 2020-10-05T22:04:42 | 301,550,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 131,260 | cpp | // Generated by Haxe 4.1.2
#include <hxcpp.h>
#ifndef INCLUDED_lime_ui__KeyCode_KeyCode_Impl_
#include <lime/ui/_KeyCode/KeyCode_Impl_.h>
#endif
#ifndef INCLUDED_lime_ui__ScanCode_ScanCode_Impl_
#include <lime/ui/_ScanCode/ScanCode_Impl_.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_502c65d4fd86e945_248_fromKeyCode,"lime.ui... | [
"theiadstudios@gmail.com"
] | theiadstudios@gmail.com |
442a3c3de1a2f564269c4cf62db1253750c60060 | 25f1cdf9a5edf7e189535aba3e8d6d6f18e4163c | /final_project/bala.cpp | 51700b53be0c4f190111981ee335421105884a0b | [] | no_license | xals1997/FV-2018 | e93cf9c4c263dd575256f40134499f7e2a3c00f8 | 9cc0971833c79bf6867d72a2b05f2424d3c95718 | refs/heads/master | 2020-04-30T12:23:51.514878 | 2018-05-21T21:06:24 | 2018-05-21T21:06:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | 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: bala.cpp
* Author: alberto
*
* Created on 21 de mayo de 2018, 17:16
*/
#include "bala.h"
bala::bala() {
}
bala:... | [
"alberto.berenguer.97@gmail.com"
] | alberto.berenguer.97@gmail.com |
ec2947ea9db33f472bd861bfbab45da8bdff48ed | 708dddd82ae97154c42d7cd5eff3be301bb2a4dc | /include/orm/query/grammars/sqlitegrammar.hpp | 6d899f075a736eaa2321e97b219f3cca1d5321ff | [
"MIT"
] | permissive | Watch-Later/TinyORM | 48cea0ae6b013bed3068ac8fe58ef02c3dfc53e9 | 7683ba10b30ff9e51d37b229b877c3757358ad13 | refs/heads/main | 2023-06-30T10:03:40.538358 | 2021-08-09T14:03:38 | 2021-08-09T14:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,495 | hpp | #pragma once
#ifndef SQLITEGRAMMAR_H
#define SQLITEGRAMMAR_H
#include "orm/query/grammars/grammar.hpp"
#ifdef TINYORM_COMMON_NAMESPACE
namespace TINYORM_COMMON_NAMESPACE
{
#endif
namespace Orm::Query::Grammars
{
/*! SQLite grammar. */
class SHAREDLIB_EXPORT SQLiteGrammar : public Grammar
{
Q_DISA... | [
"silver.zachara@gmail.com"
] | silver.zachara@gmail.com |
ac9a129a63cd97c97b5a16ba1dd2dd884f007136 | 34d3d20d8c1e788ea214f0041be051499ba4e4ba | /SortingAlgos/LinkedList.h | 64a7aa5ca4f776502e8cfff0691b8d6ccbfd6362 | [] | no_license | RKBOSAMIA/Cpp-Applications | 73e1f2669d8b375399516e2655a0cc748041862d | 177fc1fd602826934a93ffda4dbf36f7396f22cc | refs/heads/master | 2022-11-18T08:38:20.093834 | 2020-07-16T20:09:11 | 2020-07-16T20:09:11 | 280,246,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #ifndef LINKEDLIST_H_
#define LINKEDLIST_H_
#include "Node.h"
/**
* The linked list class for the mergesort algorithm.
*/
class LinkedList
{
public:
/**
* Default constructor.
*/
LinkedList() : head(nullptr), tail(nullptr), size(0) {};
/**
* Constructor: Create a new list from an existin... | [
"noreply@github.com"
] | RKBOSAMIA.noreply@github.com |
5d12981a720a025d2142b1f41e205b234b64433e | 9c433cba8a1d67410cc5354c789a7d17af6b8890 | /STL/stack/stack.cpp | f0b3cd9615105a63f934dc7f77278109cf7677d6 | [] | no_license | 958724723/KR_Ph2 | 011d5d4bcd6c3381ea16e051f5e50c828a63cdfc | 07e3ed72265e8254b894f444cca3fd807d1fc6bb | refs/heads/master | 2021-12-03T16:13:31.529881 | 2014-08-28T16:19:09 | 2014-08-28T16:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include <iostream>
#include <stack>
using namespace std;
int
main(void)
{
stack<int> theStack;
theStack.push(1);
theStack.push(2);
theStack.push(3);
while (theStack.size())
{
cout << theStack.top() << " ";
theStack.pop();
}
return 0;
} | [
"xuwenbo_outlook@outlook.com"
] | xuwenbo_outlook@outlook.com |
e159608099b915996224d37e32f4662690a750aa | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /engine/modules/gltf/gltf_res.cpp | 06b367dd24b6b43b862bb467c79aca7d214b6e6e | [
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 41,672 | cpp | #include "gltf_res.h"
#include "gltf_mesh.h"
#include "gltf_material.h"
#include "gltf_skeleton.h"
#include "engine/core/io/stream/DataStream.h"
#include "engine/core/log/Log.h"
#include "engine/core/util/PathUtil.h"
#include "engine/core/util/base64.h"
#include "engine/core/util/magic_enum.hpp"
#include "engine/module... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
7e3c30a50a63b1163db5787decc16312c5e75e82 | 412ff89e777e70d056a0e36579f623b5e87773c9 | /CurrentSensor/CurrentSensor.ino | d070268aead0ec46eabe794dea8f7d8a04229e8a | [
"MIT"
] | permissive | WCRSyyc/sensor-samples | 800f73ef36c42e8e50f8ff14e78cd1176176d09c | c07e591871f6e1712fa25db5499f8ca2a4af2914 | refs/heads/master | 2021-01-19T05:00:30.903869 | 2015-08-02T06:23:58 | 2015-08-02T06:23:58 | 40,066,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | ino | /*
Wiring
Sensor Arduino
GND ------> GND
OUT ------> Analog 0
VCC ------> 5V
*/
int AnalogInputPin = 0; // Define analog input pin
int PowerLedPin = 2; // Power LED on digital pin 2
int calibration = -7; // Calibration offset
void setup(){
Serial.begin(9600);
pinMode(PowerLedPin, OUTPUT);
digitalWrite(Pow... | [
"philduby@phriendly.net"
] | philduby@phriendly.net |
cc2f220f0b85a8935a815933cb00f99e832f922a | aab6b6213573093e11a6921de8f5dc8dcf0401a8 | /aviao.cpp | aa11d277e3deee5809b70b78436d242b4ab361fe | [] | no_license | AbreuGab/Acerte_o_Numero | d201a25317ee298d15e8ab0a27a602de566502bb | 9039440e6d6f1f750253b57b0b37f908284e50f8 | refs/heads/master | 2021-06-07T14:51:44.117755 | 2016-11-21T18:25:27 | 2016-11-21T18:25:27 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,052 | cpp | #include<iostream>
using std::cout;
using std::cin;
using std::endl;
class Aviao{
private:
float altitude=0, variacao;
public:
bool estado=true;
void imprimirAltitude(){
cout << "altitude atual: " << altitude << endl;
}... | [
"noreply@github.com"
] | AbreuGab.noreply@github.com |
5f995cab1a62e945593d7693b86ce9e60478646f | dcd772f567ef8a8a1173a9f437cd68f211fb9362 | /crow/contrib/include/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp | 32c01087e646c3423b1004b79847f5d5334d6215 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0"
] | permissive | idaholab/raven | 39cdce98ad916c638399232cdc01a9be00e200a2 | 2b16e7aa3325fe84cab2477947a951414c635381 | refs/heads/devel | 2023-08-31T08:40:16.653099 | 2023-08-29T16:21:51 | 2023-08-29T16:21:51 | 85,989,537 | 201 | 126 | Apache-2.0 | 2023-09-13T21:55:43 | 2017-03-23T19:29:27 | C++ | UTF-8 | C++ | false | false | 1,225 | hpp | /*=============================================================================
Copyright (c) 2011 Eric Niebler
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)
================================================... | [
"codypermann@gmail.com"
] | codypermann@gmail.com |
8aebd8afc839751d13d9afde2fd6e5c921611d89 | c619b43718441c6faef4cafa01eb7a81c4009a3d | /components/safe_browsing/core/verdict_cache_manager.cc | fe793b5205899660d7ac0002111a90698c4b5622 | [
"BSD-3-Clause"
] | permissive | cyjie/chromium | 553cb41ac7416a6a23e80129ab35d394d31deb58 | 54cfcfc367d540c502f89a2e3c15bfb43be27a1a | refs/heads/master | 2022-12-31T23:35:23.038391 | 2020-11-11T07:12:22 | 2020-11-11T07:12:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,186 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/safe_browsing/core/verdict_cache_manager.h"
#include "base/base64.h"
#include "base/command_line.h"
#include "base/metrics/histogram... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
45a364539b629f65292f6e2d68e7682c105fbffc | b5470ee3328cf06f4e8a6bdc4f4cace1714b8740 | /first_pass/Search_in_Rotated_Sorted_Array_II.cpp | 0709c461cf824b2c2d207ed2dacb43cddef9ae3d | [] | no_license | Yaoxin/leetcode | 481f1ac954778adc2a9a12c65bc812c3bbdaa1e0 | 9c91a1fe9297544712d89c2ad5282e81b21d8571 | refs/heads/master | 2020-12-24T06:29:43.701644 | 2019-07-04T23:53:41 | 2019-07-04T23:53:41 | 35,044,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
//原则 1 逐渐递减
//确定值在哪个区间
//把握好解空间,就可以做好这道题
bool search(vector<int>& nums, int target)
{
if(nums.size() == 0)
return false;
int left = 0;
int right = nums.size() - 1;
int mid = 0;
while(left <= right)
... | [
"7936511@qq.com"
] | 7936511@qq.com |
73fccd865ab3ce8367b887e2823818b8575d8bad | 9e68acf91f110dc974f759a1fdc3e9a8317477fb | /Myapp/Myapp/Add.cpp | c840b2b1203a06fb6a701ee046acce06d5717536 | [] | no_license | 1473004165/small-demo | 03a5ccda22982ba3bcd24999203ce29f83f8fa57 | 8e5333555b2957049710086cc427d10d3d50de7d | refs/heads/master | 2023-07-26T10:25:55.825911 | 2021-09-13T06:43:03 | 2021-09-13T06:43:03 | 353,211,610 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 543 | cpp | #include "Add.h"
void Add::add (int num1, int num2)
{
int result = num1 + num2;
string str1; //被加数
string str2; //加数转
string answer; //答案
str1 = to_string(num1); //被加数转字符串
str2 = to_string(num2); //加数转字符串
answer = to_string(result); //运算结果转字符串
//cout << str1.append(" + ").append(str2).append(" =... | [
"rx1473004165@outlook.com"
] | rx1473004165@outlook.com |
832136afc58747b4ba49fc70bba1667ad9fe85cb | 862b99ca55bd20d28d08d64436270c402da21905 | /depends/ogre_v1_7/ogre/OgreMain/src/OgreMovableObject.cpp | 25f1d4bf7417af983b5b06eafa8cb7c7e69cf0b8 | [
"MIT"
] | permissive | Olganix/LibXenoverse2 | 5dbe669a21cccb95e46af0f59e1f23cb91a8d8d2 | b398e34196e48705619d2681ec02c4b219b948e4 | refs/heads/master | 2022-06-11T08:53:21.235816 | 2020-07-17T13:41:07 | 2020-07-17T13:41:07 | 94,200,397 | 7 | 7 | null | 2022-05-25T23:38:03 | 2017-06-13T10:22:23 | C++ | UTF-8 | C++ | false | false | 15,745 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | [
"Olganix@hotmail.fr"
] | Olganix@hotmail.fr |
20e0206ee78fa3d6a308dff1aca288b21c2c3e10 | 53607bd9899204daf8482409032eb0d5a0da89e6 | /Calculator_with_parenthesis/Calculator.cpp | c38f512583628e50239a8fff577fa85aced814e5 | [] | no_license | akfakf0509/Calculator-with-parenthesis | 9c22859ab1c0d6dae993de45d89c06758246f401 | 9d57f69432d938d03654da027b2137ce6795175c | refs/heads/master | 2021-01-14T16:11:05.544461 | 2020-10-29T03:42:47 | 2020-10-29T03:42:47 | 242,674,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <stack>
#include <string>
#include "Calculator.h"
using namespace std;
string ExchangePostFix(string str) {
string tmp;
stack<char> s;
int line = -1;
tmp.resize(100);
for (int i = 0; i < str.length(); i++) {
if (IsOperand(str[i])) {
tmp[++line] = str[i];
if (!IsOperand(str[i + 1]))
tmp[++... | [
"50164284+akfakf0509@users.noreply.github.com"
] | 50164284+akfakf0509@users.noreply.github.com |
547a562db75c901ca3fc934b13be3155be0d79c4 | b0babea3b236f27d3dcdad8a1bb5c5cb069dcb2f | /Process.h | 8c60921894170cad7b76b320af2a09b8ded49134 | [] | no_license | srinidhigoud/Demand_Paging | 828af367344f7760b90427efcd09f8d908f214f9 | 9b4b3d3af191582b8957fe6984bee03182407ac0 | refs/heads/master | 2020-03-11T07:41:51.911972 | 2018-04-17T23:03:42 | 2018-04-17T23:03:42 | 129,863,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | #ifndef PROCESS_H
#define PROCESS_H
#include "Random.h"
using namespace std;
class Process{
public:
int quantum;
int referenceSize;
int residencytime;
int evictioncount;
int faultcount;
int nextWord;
int processSize;
Process(int processSize, int processnumber, int referenceSize);
bool hasended();
bool hasfin... | [
"srinidhi.goud29@gmail.com"
] | srinidhi.goud29@gmail.com |
68e1d5e0544ee913a900066a330daa5007739ddf | c8a3a357cdec6a1ee881b22f509613bc535aef56 | /src/preprocessing/conversions.hpp | 31c0af79d27d84385ae562c6ecba99fee7a2617a | [
"Apache-2.0"
] | permissive | rwang067/GraphChi | 659d54c956d5b871b265050497aa839908b4aa81 | f3e8f73c47cd3307b73647e4360004e65981d257 | refs/heads/master | 2020-03-23T04:59:12.645253 | 2019-10-18T11:19:50 | 2019-10-18T11:19:50 | 141,117,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,468 | hpp | ;/**
* @file
* @author Aapo Kyrola <akyrola@cs.cmu.edu>
* @version 1.0
*
* @section LICENSE
*
* Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... | [
"wangrui1994@126.com"
] | wangrui1994@126.com |
7e39ae76a1184af8afb066ce7c69633af0dec855 | 47eb33a44ad441325adfd5e7edd38129b2d2e954 | /src/InvoiceAPI.cpp | 3b5e9340a0a0d01472dee038bf054737838673b4 | [] | no_license | vinayvinu9876/StoreManagementSystem-Co-Seq | c8155ab5125020c0a72a9a99fc7c7fdaa7437322 | 25b5154f733c02a94686da4bf2d3f0cd4c367c9c | refs/heads/master | 2022-07-05T03:52:39.452201 | 2020-05-08T22:44:23 | 2020-05-08T22:44:23 | 260,800,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp | #include<iostream>
#include<string>
#include<list>
#include <JavaScriptCore/JavaScript.h>
#include "utilityFunctions.cpp"
#include "convertJSStringToString.cpp"
#include "InvoiceManager.cpp"
using namespace std;
void setInvoiceTable(JSContextRef ctx){
InvoiceManager im;
list<string> all_Invoice_data = im.getA... | [
"vvinu9876@gmail.com"
] | vvinu9876@gmail.com |
47015cabe280ef4505459c2cac0a80583d517878 | f4b81003fac9bcdc5f508268f5470b09f01c7adb | /Controller/mainwindow.cpp | 34b498ce874ddcd7e17648aa80a7cc99e405c99e | [] | no_license | caozijian/vision_related | c46d72eb64212d3ef7040b6627c8a6069c9d7147 | f74b18f79dea06b5909e547a3c49657e981874e1 | refs/heads/master | 2016-09-09T23:17:09.062087 | 2015-03-02T15:52:39 | 2015-03-02T15:52:39 | 31,158,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileDialog>
#include "main.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
ColorDetectController colordetect;
void MainWindow::on_pus... | [
"caozijian.cn@gmail.com"
] | caozijian.cn@gmail.com |
7960ceed08f6348858423c5bda839204a857166e | 2f7ff4c50b7abf336b4aac5e57c5b5a5adad63fc | /src/Http/HttpClient.h | e1f80b470a6e586fb27f56b4b3da0b6476e1c7ca | [
"MIT"
] | permissive | cleverdouble/ZLMediaKit | 46ce9c3308264ccae3993b7024f0552bfde78f2c | ccf46ff64f8da4cad231946db3f01d99ec286f4b | refs/heads/master | 2020-07-15T09:16:42.944283 | 2020-04-16T01:30:49 | 2020-04-16T01:30:49 | 205,529,774 | 1 | 0 | MIT | 2020-04-16T01:30:51 | 2019-08-31T10:27:18 | C++ | UTF-8 | C++ | false | false | 5,112 | h | /*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project aut... | [
"771730766@qq.com"
] | 771730766@qq.com |
9c5c3da71ea9e1a5dd03729065de4076dba7f4f4 | 7d9373cc832f67d961b271a95095e68d7fd10c75 | /allcxxs/mgr_r_vs_dz_tracker_1.cxx | 47f60915ea537b4cc8f7d219bf983591f4b7ae00 | [] | no_license | hroskes/geometry-comparison-style | e14a4727e40eee9cdc357e50ba737526a7236d83 | 67cb13f0c0524ae33ec5a10ab83beaaa06e7a21e | refs/heads/master | 2020-04-06T05:00:35.933700 | 2015-07-15T23:20:49 | 2015-07-15T23:20:49 | 38,641,430 | 0 | 1 | null | 2015-07-15T23:20:50 | 2015-07-06T19:34:27 | C++ | UTF-8 | C++ | false | false | 437,467 | cxx | void mgr_r_vs_dz_tracker_1()
{
//=========Macro generated from canvas: c_r_vs_dz_tracker_1/r vs. dz at tracker level
//========= (Mon Jul 6 19:49:37 2015) by ROOT version6.02/05
TCanvas *c_r_vs_dz_tracker_1 = new TCanvas("c_r_vs_dz_tracker_1", "r vs. dz at tracker level",0,0,3508,2480);
c_r_vs_dz_tracker_1->Ran... | [
"jroskes1@jhu.edu"
] | jroskes1@jhu.edu |
cf4d48a154a2eae5fa4e77d286b3589c6f24a3a9 | ad934eeba2ac2a3c1d49b02af864790ece137034 | /Training/Educational Codeforces Round 6/A.cpp | 6e93fc6211c5e310f2705f51cb8e52daa9ad7cff | [] | no_license | xiang578/acm-icpc | 19b3d8c7771b935293749f5ccad0591cde8fc896 | 6f2fdfc62bd689842c80b1caee2d4caf8162d72f | refs/heads/master | 2022-01-12T12:28:43.381927 | 2022-01-12T04:20:44 | 2022-01-12T04:20:44 | 39,777,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | /* ***********************************************
Author :Maltub
Email :xiang578@foxmail.com
Blog :htttp://www.xiang578.top
************************************************ */
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#incl... | [
"xiang578@foxmail.com"
] | xiang578@foxmail.com |
5455aed27b697f272844b309b45cac566166ffec | ee173211a404bd744578dd92cadd65b4927c398a | /Source/hpp/Win32/Release/VirtualTrees.Classes.hpp | 138775566e3ebfb8ca3e58a6f788948c9339cc9f | [] | no_license | jfhyn/VirtualTreeView | c5652e6a2271446b8de4c7433e603f6cd8819442 | d45015d4807de17557f62f2b7bf2a0cd1532d095 | refs/heads/master | 2021-01-17T21:21:41.005952 | 2017-01-23T22:09:46 | 2017-01-23T22:09:46 | 84,177,732 | 0 | 1 | null | 2017-03-07T09:03:05 | 2017-03-07T09:03:05 | null | UTF-8 | C++ | false | false | 3,150 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'VirtualTrees.Classes.pas' rev: 31.00 (Windows)
#ifndef Virtualtrees_ClassesHPP
#define Virtualtrees_ClassesHPP
#pragma delphiheader begin
#pragma option p... | [
"roman.kassebaum@kdv-dt.de"
] | roman.kassebaum@kdv-dt.de |
079f9e6899b5283d533c350ea686e4b84bf8d940 | 7777ae74016e5e2c66c54666997d599ad9f948e6 | /Graphics/ShadowVolume.h | a88fe870fac6771ba43f96e1f6cc32f053e267ba | [] | no_license | asesh/game_engine | a12d3e5e009857f781a4f94dfb0a56b1a5b57e43 | d539462e39341a0f978a2a40d960d672b7b01f70 | refs/heads/master | 2023-07-05T04:29:57.618042 | 2019-06-03T14:19:43 | 2019-06-03T14:19:43 | 190,018,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | // ShadowVolume.h: Implementation of shadow volume
// Copyright (C) 2012 Asesh Shrestha. All rights reserved
#ifndef SHADOWVOLUME_H
#define SHADOWVOLUME_H
// CShadowVolume class
class CShadowVolume
{
public:
CShadowVolume();
~CShadowVolume();
private:
};
#endif // SHADOWVOLUME_H | [
"aseshshres@gmail.com"
] | aseshshres@gmail.com |
a74de5c322d9094e3434931f09823963ab579e26 | bc0945070d150c8af7cc56bf6e045a8c2cc7873d | /2106/3936574_WA.cpp | 8ef28881d09ae1af95d4e1691d688a8e7b34707b | [] | no_license | fengrenchang86/PKU | ab889d88cd62b3c0b3e00cde5d5c3a652a16221a | 0c4adf6b740d2186b7f23124673cd56520d1c818 | refs/heads/master | 2021-01-10T12:12:18.100884 | 2016-03-07T14:14:33 | 2016-03-07T14:14:33 | 53,328,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include<iostream>
using namespace std;
char str[500000];
int pos;
bool expression();
bool A();
bool B();
bool bracket();
bool GetData();
bool GetData()
{
if(str[pos] == '!')
{
pos++;
return !GetData();
}
else if(str[pos] == 'V')
{
pos++;
return true;
}
else
{
pos++;
return false;
}
}
void Fix()
... | [
"fengrenchang86@gmail.com"
] | fengrenchang86@gmail.com |
f70d28428eb8ac836531e6af89c244bf829a8218 | b81424733ba7aa22971017a2b723cebdb79e2ff9 | /B3009/B3009.cpp | 49e3c49d89619713c40448d95e9a376986798263 | [] | no_license | tongnamuu/Algorithm-PS | 1d8ee70c60da9bafdae7c820872e685fdf2b28fa | 464b68c34bb07f9e1e00e4b5475c6f0240cd20d4 | refs/heads/master | 2022-06-04T01:57:29.432141 | 2022-04-08T11:52:01 | 2022-04-08T11:52:01 | 164,219,701 | 0 | 1 | null | 2019-03-28T03:43:13 | 2019-01-05T13:58:05 | C++ | UTF-8 | C++ | false | false | 702 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
struct pos {
int first, second;
bool operator<(const pos& a) const {
if (this->first == a.first) return this->second < a.second;
else return this->first < a.first;
}
};
int main() {
ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
pos a[3]... | [
"33937684+thban33@users.noreply.github.com"
] | 33937684+thban33@users.noreply.github.com |
58033e446300b2db65e583d6ed683ea74547a781 | 6035fb168576b8fdbef1a3dbc871e1a06e191278 | /final_test/15/u78729_436_C_6883614.cpp | 0ce8221e63247281ebc79a7d72c434b20a7d6196 | [] | no_license | pavellevap/code_antiplagiat | 69ef3ecea5e8e88dfd3b800c0ce351fa32ee9762 | d75603e4e25519d9bb9b9720923136e324328be4 | refs/heads/master | 2021-01-10T05:30:44.560926 | 2015-04-30T14:25:34 | 2015-04-30T14:25:34 | 45,319,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,269 | cpp |
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <list>
#include <algorithm>
#include <map>
#include <cmath>
#include <assert.h>
#define rep(i,n) for(int i=0; i<(n); i++)
#define repf(i,a,b) for (int i=(a); i<=(b); i++)
#define repb(i,a,b) for(int i=(a); i>=(b); i--)
#define ABS(X) ... | [
"prorochek@gmail.com"
] | prorochek@gmail.com |
bda13826cd490e79714e54f003d20bc9ec552696 | b8390be3bbb2abc529dfbd867163f99500f73143 | /side_projects/Testing/I2CMasterDriverLidarAndPX4_SajanPtlCodes/Lidar_Defines.hpp | 9eb5ed428463c0dbf90174ecc178719ca4f58a55 | [] | no_license | MAAV-Software/embedded | 82f1818f72d271d7b9d8beaa02671150a16945aa | 41f1096aec573c5fbf9a78d7667acbc8cc24f55d | refs/heads/master | 2022-05-03T17:05:40.239317 | 2022-04-03T18:59:55 | 2022-04-03T18:59:55 | 210,971,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | hpp | #ifndef LIDAR_DEFINES_HPP_
#define LIDAR_DEFINES_HPP_
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include <stdlib.h>
#define LIDAR_DIST_SIZE 2
#define LIDAR_VEL_SIZE 1
#endif /* LIDAR_DEFINES_HPP_ */
| [
"sajanptl@umich.edu"
] | sajanptl@umich.edu |
53a65048bb1ec4181be35a4a2f3eba1e3ee3e1f7 | 71727db47e89a68b9d43dcba3ebd2ec8dfabb74f | /QtDAQ/Source/curvefit/fitting.cpp | 1ddcabfdb76222ab72f580453e86c38d37be0706 | [] | no_license | iar/qtdaq | a6e0bc3be38044f8e6c915f19569ca119d71e540 | 591b1365a5da7f6bb9f972418d2985f3ffd3e63f | refs/heads/master | 2021-01-11T05:00:27.704200 | 2016-05-11T08:12:13 | 2016-05-11T08:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,227 | cpp | #include "fitting.h"
bool fitGaussian(int numVals, double* valsY, double initA, double initSigma, double initX_C, double* params, double* paramErrors, double& norm)
{
double p[]={initA, initSigma, initX_C};
int status;
#ifdef USE_LMFIT
double* valsX=new double[numVals];
for (int i=0;i<numVals;i++)
valsX[i]=i;
... | [
"accomrie@gmail.com"
] | accomrie@gmail.com |
10a3f7450b22096e195babb5716a88d972fe49ee | a2cd6385b587f686107fd4fb4f765a4e44da2da9 | /Code/VC/XMLTagParser.cpp | 472977b042523d3e7c0ad8946169822c0fee0b9e | [] | no_license | Liam-Maloney/SGMLTagValidator | 6e3f419dcfed12e2d0d93c5c191ef4f0332dbbfe | 6e615bcccdeeac683f33e2352d7e4aa65c74eb6d | refs/heads/master | 2021-01-10T16:55:39.432794 | 2016-02-26T16:59:09 | 2016-02-26T16:59:09 | 52,618,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | cpp | #include "stdafx.h"
#include "XMLTagParser.h"
bool XMLTagParser::findOutIfNeedsClosingTag(std::string token)
{
return (token[token.length() - 2] == '/') ? false : true;
}
std::vector<Tag*> XMLTagParser::parseTagsFrom(std::string fileToParseFrom)
{
IO* source = ioHandle.getGenericIoHandle(fileToParseFrom);... | [
"liam@liammaloney.ie"
] | liam@liammaloney.ie |
bbb0cb5dd0b0ab1134cb23a409326c1b3f426f1e | e675779071e22d3224de816fa1e5da02921cc10b | /Algorithm/Algorithms/SwapTest/swapTest.cpp | 997573c60a649e64c0e95ac403809524020b8fae | [
"Apache-2.0"
] | permissive | xiaoyaolanyun/QPanda-2 | c7743a8fe1a3e0d4fec5800210677cb350b38f98 | 04dc1114ee46bcfa2f69417f71507c6c050c006f | refs/heads/master | 2020-04-23T20:07:03.133965 | 2019-02-19T03:37:07 | 2019-02-19T03:37:07 | 171,428,729 | 1 | 0 | null | 2019-02-19T07:43:30 | 2019-02-19T07:43:29 | null | UTF-8 | C++ | false | false | 2,973 | cpp | /*
Copyright (c) 2017-2018 Origin Quantum Computing. All Right 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 la... | [
"369038080@qq.com"
] | 369038080@qq.com |
c174a0abd38badf22c65f5272f3bc535162c2e14 | 1fe8d4133981e53e88abf633046060b56fae883e | /venv/lib/python3.8/site-packages/tensorflow/include/external/mkl_dnn/src/cpu/rnn/jit_uni_rnn_cell_postgemm.hpp | 3cb3f30d3acd7f996d2a7bf66dc7b7295123a741 | [] | no_license | Akira331/flask-cifar10 | 6c49db8485038731ce67d23f0972b9574746c7a7 | 283e7a2867c77d4b6aba7aea9013bf241d35d76c | refs/heads/master | 2023-06-14T16:35:06.384755 | 2021-07-05T14:09:15 | 2021-07-05T14:09:15 | 382,864,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:f5eb9247fe14443cfda10819547a95930e40136bb4bb69739d43461f23adc85d
size 11384
| [
"business030301@gmail.com"
] | business030301@gmail.com |
666070e24429719eb85f27bdcdc5dcc92b5bec19 | f494b2435cb92c5bcad2c21e26b8b43a27a4c9c8 | /test/dist_utils_test.cpp | 689c9521424b663c7d7865dd93ece60046a96616 | [] | no_license | cykustcc/hmm_aw | 7b2b744bc18274a4058f7a51dc65e2008dd5f081 | ab16e7ddaa258375ba635305437915e953fe00ea | refs/heads/master | 2021-09-27T02:51:08.408697 | 2018-11-05T16:57:28 | 2018-11-05T16:57:28 | 83,361,420 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | //
// dist_utils_test.cpp
// hmm_aw
//
// Created by Yukun Chen on 3/7/17.
// Copyright © 2017 cyk. All rights reserved.
//
#include "gtest/gtest.h"
#include "glog/logging.h"
#include "dist_utils.h"
#include "test_common.h"
TEST(DistUtilTest, CalcDistmat){
std::string filename(root_path + "/data/test/hmm2.in")... | [
"cykustc@gmail.com"
] | cykustc@gmail.com |
af1369109e0bb64e96b935a3ae9cec90dc527ef2 | d8a4b84c1963974d878dc51a503f70573eea3c72 | /devel/include/controller_manager_msgs/ListControllerTypesRequest.h | 001b3c49f462b86ad24a7250af4a3462d39aadd1 | [] | no_license | robotic-ultrasound-image-system/ur5 | 72eb8b7cbd9fbb3dbaac107ed098ac44b9da4402 | 4b0cff44fb9159a3a372a09b1abb0d5084fdf960 | refs/heads/master | 2021-01-21T10:41:50.064585 | 2018-04-08T12:08:52 | 2018-04-08T12:08:52 | 101,979,048 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,563 | h | // Generated by gencpp from file controller_manager_msgs/ListControllerTypesRequest.msg
// DO NOT EDIT!
#ifndef CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESREQUEST_H
#define CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>... | [
"945193029@qq.com"
] | 945193029@qq.com |
606e005a5f21edd27dc2322daa68a4624ca03140 | a3d60621d6f87501e40bd0fa2725e982f2cc1538 | /lourdes/cpu/sleep.hpp | ee1070408c0e6bd7903acfdf922b2199d22b5809 | [
"MIT"
] | permissive | perezdidac/lourdes | 4fb9aadc67f5a958108f2fe4364eb8daee7e57cb | 4232d912db272fe2a26a916bbf64517cb4a9b3c6 | refs/heads/master | 2021-01-19T04:30:01.691614 | 2017-03-16T03:56:01 | 2017-03-16T03:56:01 | 46,391,752 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | hpp | #ifndef __LOURDES_CPU_SLEEP_HPP
#define __LOURDES_CPU_SLEEP_HPP
/// \example examples/cpu/sleep.cpp
namespace lourdes { namespace cpu {
/// \brief Blocks for the given amount of time in milliseconds.
/// \param milliseconds Time, in milliseconds, to block before return.
void sleep(int milliseconds);
}}
#end... | [
"perez.didac@gmail.com"
] | perez.didac@gmail.com |
5a27e9e8f77354ba8786816608b37223d4a25f62 | 4a82e68032fe8000aa29609a28db6a865ac4a2cc | /src/shoddyxml.h | b0cfee7b9795c6a8e339c3b56035621423a3b7ea | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | garretlab/shoddyxml | 4a4c50bf4304ee6a55ceec763791f6f2d1d6f189 | d95d1495be9aefdb5528e91888847cfcec04379e | refs/heads/master | 2020-12-25T18:43:08.750195 | 2019-03-16T10:13:18 | 2019-03-16T10:13:18 | 103,806,207 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | h | #ifndef SHODDYXML_H
#define SHODDYXML_H
typedef struct {
char *name;
char *attValue;
} attribute_t;
class shoddyxml {
public:
shoddyxml(int (*getCharFunction)());
void parse();
char stringBuffer[32];
attribute_t *attributes;
int numAttributes;
/* user supplied functions */
int (*getCharFunctio... | [
"garretlab@gmail.com"
] | garretlab@gmail.com |
7a25fc8b076c2f69c9b99ac464e7b537dd0ec705 | 4b4aa4fbbe21026ca4c8a2c3e9e8af62ff9ff19f | /src/simd/pack_detail/pack_cast.h | 4c9dc810a71e3d3b922ed1e1f75a31cf5449a4fb | [
"Apache-2.0"
] | permissive | DenisYaroshevskiy/algorithm_dumpster | 961c75600232d030c2468a2300bad4531988f5d2 | 5e276d90f9bd9968b0a25ec57a91106aedecd021 | refs/heads/master | 2020-06-28T02:45:04.429293 | 2020-05-10T17:14:55 | 2020-05-10T17:14:55 | 200,123,104 | 3 | 3 | Apache-2.0 | 2020-03-08T10:25:46 | 2019-08-01T21:45:52 | C++ | UTF-8 | C++ | false | false | 1,546 | h | /*
* Copyright 2020 Denis Yaroshevskiy
*
* 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 agr... | [
"denis.yaroshevskij@gmail.com"
] | denis.yaroshevskij@gmail.com |
17dd5d38e5e24b0e601ad7197a538b48bd2dd150 | b6accf0ea60ee8e844f2df6bb46d97bd647730a8 | /Daily/8_5/Pthead_mutex/ticket.cc | 2bbe8771a26b7d9743dc8a06a90edcf7c369a2e3 | [] | no_license | Hephaestus-RC/Linux | ecd89e5d4bf2f8b2442d0faa7eda95bd8a3b254a | 7120c75643867142aa29d1a34fcebf7155d9ef16 | refs/heads/master | 2020-06-24T15:32:12.127343 | 2019-12-18T03:53:55 | 2019-12-18T03:53:55 | 199,001,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cc | #include<iostream>
#include<pthread.h>
#include<unistd.h>
using namespace std;
int ticket = 100;
pthread_mutex_t lock;
void* BuyTicket(void* args)
{
while(1)
{
pthread_mutex_lock(&lock);
if(ticket > 0)
{
cout<<"Buy one ticket , ticket : "<<ticket--<<endl;
pthread_mutex_unlock(&lock);
}
else
{
p... | [
"1599387893@qq.com"
] | 1599387893@qq.com |
c2ce34bb9daf38908db3a9b3723f24becb2616b1 | 730b9b15a4d70a76f5cef101c9cc0f8fc5265008 | /source/client/game/tech3/parse.cpp | ec39d261b7054219bd55918d58593fb4330ff27d | [] | no_license | msfwaifu/jlquake | 23e7350a122aa91cae84c21f4f01f9628a5dbf7c | 69498ea1ea09482b096f06ab7b433e715b7802a8 | refs/heads/master | 2021-01-23T06:35:48.219738 | 2014-05-10T22:49:20 | 2014-05-10T22:49:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,214 | cpp | //**************************************************************************
//**
//** See jlquake.txt for copyright info.
//**
//** 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 ... | [
"legzdinsjanis@gmail.com"
] | legzdinsjanis@gmail.com |
a9efc7f962ba0dd93a77ffde165841d070a97111 | cb5b061a07eaaaef65aaf674a82d82fbb4eea0c0 | /depends/sdk/include/nsIDOMGeoPositionError.h | 16bd12fb41a37f5ca7fb27da8e1c0c02fe1708e6 | [] | no_license | shwneo/MonacoIDE | 5a5831a1553b2af10844aa5649e302c701fd4fb4 | 6d5d08733c2f144d60abc4aeb7b6a1a3d5e349d5 | refs/heads/master | 2016-09-06T07:34:03.315445 | 2014-06-01T15:06:34 | 2014-06-01T15:06:34 | 17,567,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM d:/xulrunner-24.0.source/mozilla-release/dom/interfaces/geolocation/nsIDOMGeoPositionError.idl
*/
#ifndef __gen_nsIDOMGeoPositionError_h__
#define __gen_nsIDOMGeoPositionError_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't wan... | [
"shwneo@gmail.com"
] | shwneo@gmail.com |
fef5832eaf7c9211d5f39b32d2ea3f558161a414 | 240648c2c3d030e431d53740c192d3e175033670 | /Include/Uncopyable.hpp | af588b8776f0e46039fe79e67bdeff877ba22b2a | [] | no_license | AlexDontsov2008/multiplayer-game-study | 79b2e5573f0f481bebd0f3cd5cd25d184b0ddafe | 788fed294d8df3a0d80ba318711fe8f15ab6b381 | refs/heads/master | 2023-02-08T08:12:05.757162 | 2018-10-21T18:50:09 | 2018-10-21T18:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | hpp | /*
* File: Uncopyable.hpp
* Author: dontsov
*
* Created on November 16, 2016, 10:08 PM
*/
#ifndef UNCOPYABLE_HPP
#define UNCOPYABLE_HPP
class Uncopyable {
protected:
Uncopyable() {}
virtual ~Uncopyable() {}
private:
Uncopyable(const Uncopyable&);
Uncopyable& operator=(const Uncopyable&);
};
... | [
"AlexDontsov2008@ya.ru"
] | AlexDontsov2008@ya.ru |
ab691e4e2f37f8f87f1cb2e3bd14ce38d2579649 | b70dbe7b900b61485b2f97b894d75b252e532bbe | /src/Interface/Modules/Inverse/SolveInverseProblemWithTikhonovDialog.cc | c13c72c73d3925229a4090cc3ac9ec4051e2c236 | [
"MIT"
] | permissive | SeyhmusGuler/SCIRun | 960787bab96106df4f0f15e4b595a5c511c37edd | 0bdf06887c263bed3bb57f7cad3d285d368cf129 | refs/heads/master | 2021-01-22T16:38:51.598275 | 2016-02-12T07:11:35 | 2016-02-12T07:11:35 | 35,108,610 | 0 | 0 | null | 2015-05-05T15:39:31 | 2015-05-05T15:39:31 | null | UTF-8 | C++ | false | false | 4,951 | cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person obtaining a
copy of... | [
"dwhite@sci.utah.edu"
] | dwhite@sci.utah.edu |
6e70af4d8be1434e0651d84165035397d3db622d | a6f6b8968439d47ae655aa2e8d8e22ab5a69f72a | /src/service/async_service_impl.h | 1bff9e3deddc8ef7975f7dc077db43d34137cbe9 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | ChanYiLin/authservice | 7cf46dd55eb4c62c283d576c37a76b85e8b826ab | 56c6072793567135be4f30f927dcc497d0ac0062 | refs/heads/master | 2020-12-23T12:24:42.618954 | 2019-12-11T18:46:36 | 2019-12-11T18:46:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | #ifndef AUTHSERVICE_ASYNC_SERVICE_IMPL_H
#define AUTHSERVICE_ASYNC_SERVICE_IMPL_H
#include "service_impl.h"
#include "envoy/service/auth/v2/external_auth.grpc.pb.h"
#include <boost/asio.hpp>
#include <grpcpp/grpcpp.h>
using namespace envoy::service::auth::v2;
namespace authservice {
namespace service {
class AsyncA... | [
"nickrmc83@gmail.com"
] | nickrmc83@gmail.com |
f34d6e3c0f49bb6564862d91c0e755e923df2291 | b47c85a38649f3a1f750b8c5d662aef7414cc570 | /DoublyIterator.cpp | 1bf6b617f911c3bd4ea08c03d6013960b21ebcfd | [] | no_license | Djackin/Project3 | 23751093fbf8c59e377aed3e449080f922e8dee4 | 89aa6a6cb1af89cf3f2e67f74c5f3faa15f0742c | refs/heads/master | 2020-09-20T11:16:07.455995 | 2019-11-27T15:25:23 | 2019-11-27T15:25:23 | 224,460,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include "DoublyIterator.h"
template <typename T>
bool DoublyIterator<T>::NotNull()
{
return m_pCurPointer != NULL;
}
template <typename T>
bool DoublyIterator<T>::NextNotNull()
{
return m_pCurPointer->next != NULL;
}
template <typename T>
T DoublyIterator<T>::First()
{
return m_List.m_pFirst->data;
}
template <... | [
"dnwls2343@gmail.com"
] | dnwls2343@gmail.com |
43ac80c2ef4abacb649e6bbf6926f56dddb265c8 | cd294e1638607fc7164e3d5cc4ef645923f9e451 | /app/src/main/jni/dlib/svm/rr_trainer_abstract.h | 21d0a7c53ac5855a0a4efd65d35bb220f50c45e5 | [
"BSL-1.0"
] | permissive | ghksgp92/MidnightSun_android | 8f23b0b3da6b633a1d6db71cac1f025fb716fa01 | 060f01186e9371ddaba5926f1c627e5493589454 | refs/heads/master | 2020-03-28T21:15:54.329569 | 2018-09-17T15:33:44 | 2018-09-17T15:33:44 | 149,142,599 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,078 | h | // Copyright (C) 2010 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_RR_TRAInER_ABSTRACT_Hh_
#ifdef DLIB_RR_TRAInER_ABSTRACT_Hh_
#include "../algs.h"
#include "function_abstract.h"
namespace dlib
{
template <
typename K
>
... | [
"ghskgp92@gmail.com"
] | ghskgp92@gmail.com |
1bc2116def267a29ed65842188ce08e6124933b6 | 4c017c553cd55e976cb51c1cb302d09225460026 | /vhall_webrtc_include/third_party/harfbuzz-ng/src/src/hb-ot-layout-gpos-table.hh | b8dd9813b1b36e854b258bd721929517dc01944c | [] | no_license | hongzhuxuke/3rdparty | 7f6568fda3c96d8d1fa7bc1cfd4759dc07d6906b | 87a621ec1a6997f45042b5085a22507782ee59cb | refs/heads/master | 2022-12-13T20:28:14.243288 | 2020-09-18T03:05:23 | 2020-09-18T03:05:23 | 294,416,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,760 | hh | /*
* Copyright © 2007,2008,2009,2010 Red Hat, Inc.
* Copyright © 2010,2012,2013 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its do... | [
"ke.xu@vhall.com"
] | ke.xu@vhall.com |
50d1797df117b854662cddd49ff7e81434dd1ca7 | 9c42a2c73a34b87edc4cbe6a978afc3589441393 | /Game/Game/Animation.cpp | f698fcf0aa4e7fe48c2bd3eb4f3f27d726a8830b | [
"Apache-2.0"
] | permissive | PhamMinhMan/Game | 32e23269f9175ae9419c92dc4aed911893e79060 | 794c67bd929f02d82746210a66b84213a91ef09c | refs/heads/master | 2021-01-12T12:49:25.412919 | 2016-12-21T08:54:43 | 2016-12-21T08:54:43 | 68,997,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "Animation.h"
void Animation::update(int& curFrame, GameTime& delay)
{
//if (delay.atTime())
//{
curFrame++;
if (curFrame == nRect)
curFrame = 0;
//}
}
Animation::Animation()
{
}
Animation::~Animation()
{
}
| [
"phamminhman2703@gmail.com"
] | phamminhman2703@gmail.com |
ac0c3e67940846f4727731765274e40a1feafca3 | 541e11e165c5edb8be6339f0ebb4d7c9a92e94aa | /第六部分_模板/11.6类模板中成员函数调用时机.cpp | 54a4105a038824f32c3ce3104a9468f26bcc6c2b | [] | no_license | ohmyjesus/cpp | 3c172f1b08eb358ba5b7fe5e1bcdff0eb2dad4e0 | ac8bf93958ed6cdb5384b6b7ac7da10fbe13102c | refs/heads/main | 2023-04-13T10:43:49.784582 | 2021-04-27T04:14:33 | 2021-04-27T04:14:33 | 304,291,851 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 720 | cpp | //
//#include <iostream>
//#include <string>
//
//using namespace std;
//
//class Person1 {
//public:
// void showPerson1() {
// cout << "showPerson1的调用" << endl;
// }
//};
//
//class Person2 {
// void showPerson2() {
// cout << "showPerson2的调用" << endl;
// }
//};
//
//template<typename T>
//class... | [
"noreply@github.com"
] | ohmyjesus.noreply@github.com |
ea785a5dc0de4c5d225ea25f29c74a36e2979c73 | 3c607adc2117abee9c041ec64fef057c48b799a0 | /face.cpp | b8ec8c5cc53c6114b94833774ed083862f195bb7 | [] | no_license | suhang99/3D-convex-hull-algorithm | fc2b1a4faa37d6a764c0e19790e893be6b589332 | c3f1469b71f02965b72c386b60806d1444b3ef75 | refs/heads/main | 2023-04-03T02:01:36.069444 | 2021-03-18T06:07:55 | 2021-03-18T06:07:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include "point3d.hpp"
#include "edge.hpp"
#include "face.hpp"
namespace cs271{
Face::Face():p1(nullptr),p2(nullptr),p3(nullptr),e12(nullptr),e13(nullptr),e23(nullptr){}
Face::Face(Point3d *_p1, Point3d *_p2, Point3d *_p3):p1(_p1),p2(_p2),p3(_p3){}
/* Compute the volumn of tetrahedron formed by face and point */
dou... | [
"suhang@shanghaitech.edu.cn"
] | suhang@shanghaitech.edu.cn |
dd50c698b1d7e85853df78ec591914b8c88673e3 | 674bff14d63bb52475e23bf2b3cc4250d5e1600c | /linkedlist/pro13.cpp | d15ed9b5f82d66aa87f28686e9f90aadbe4df1e5 | [] | no_license | sajjusajuu/My_projects | 7979d80c161e31bb91798358b4daebad36a6792b | 73b7c21b66c054bd855cf5c37bf0657e8610fef2 | refs/heads/master | 2021-01-22T13:42:39.040475 | 2014-08-20T16:50:52 | 2014-08-20T16:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | cpp | // To devide list into two parts one even and one odd
// Written by Sajid Hussain, ISM DhanBad.
#include <iostream>
#include <cstdlib>
using namespace std;
class listnode {
public:
int data;
listnode * ptr;
listnode(int n) { data = n; ptr = NULL;}
listnode() { data = 0; ptr = NULL; }
};
listnode* createlis... | [
"sajidhussain2803@gmail.com"
] | sajidhussain2803@gmail.com |
edada986a1ccd839470199289fc5064d0fe98dab | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/97/fbe551da351d2f/main.cpp | 880e22f60557309930d7cbc7d670e29f1d202c27 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | #include <iostream>
#include <string>
#include <vector>
int main()
{
}
| [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
a6bcd696e740c9944105087ba73c9b33d5fd3af1 | b3dcddeadfbaa57ef2bad9fb64dfbbc4aec0b7c2 | /Leetcode/reverseList.cpp | 406ff199001e0236943db702dca35f7c5c25b0bb | [] | no_license | cmiyachi/CygWinAlgorithms | 6b211fd42f41e5126c15b3fe4c2f6a7e780671c1 | 9132f0049e1474a0d232d23db3b85b3b5335dadb | refs/heads/master | 2021-12-14T21:42:21.075024 | 2021-12-08T19:45:43 | 2021-12-08T19:45:43 | 174,758,849 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | cpp | #include <bits/stdc++.h>
using namespace std;
/**
* Definition for singly-linked list.*/
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode* reverseList(ListNode* head) {
ListNode *prev = nullptr;
ListNo... | [
"cmiyachi@alum.mit.edu"
] | cmiyachi@alum.mit.edu |
49b36e2f32a8cfe11e60a07966d712f7ee271d73 | 55b3d01382f6ab3f91c2a073002b61adcafbb607 | /01_31/calldispatcher.cpp | 9235aba13db7d5d136b1a4b4fc333405e9dc3066 | [] | no_license | vvbondar/homeworks | 8a3297f92badb49a1734b3111457d950b5c11a7b | f3d852ff342da43d919ace4b758788c8aca45acb | refs/heads/master | 2021-01-19T00:10:46.877709 | 2019-01-29T13:39:47 | 2019-01-29T13:39:47 | 72,949,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | #include "object.h"
#include "calldispatcher.h"
CallDispatcher::CallDispatcher()
{
//...
}
mmsrIter CallDispatcher::FindConnection(srType sender, srType reciever)
{
for(mmsrIter it = m_sheet.begin(); it != m_sheet.end(); ++it)
{
if(it->first == sender)
{
if(it->second == reciev... | [
"vikecooper@gmail.com"
] | vikecooper@gmail.com |
2bc8c7785f2756ebb81d25f642b4b311d143d8ef | 76491f0c546b395debc6effc27bdcac99074fc1c | /WA2/cuda/pbbKernels.cu.h | 79bbd66f9046a7fa258de0931c5ab4116030a5d6 | [] | no_license | francescodone/PMPH | e68d4698660f6f9d87349199b4374a37281e7480 | bc2cc1197ad2d89b8909c684c34ecab4a676847c | refs/heads/master | 2022-12-27T23:53:25.121389 | 2020-10-16T06:37:30 | 2020-10-16T06:37:30 | 294,397,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,995 | h | #ifndef SCAN_KERS
#define SCAN_KERS
#include <cuda_runtime.h>
#include <math.h>
/**
* Naive memcpy kernel, for the purpose of comparing with
* a more "realistic" bandwidth number.
*/
__global__ void naiveMemcpy(int* d_out, int* d_inp, const uint32_t N) {
uint32_t gid = blockIdx.x * blockDim.x + threadIdx.x;
... | [
"francesco.done.11597@gmail.com"
] | francesco.done.11597@gmail.com |
88217c3c98f496ef745809a69e286f4ae3a84c37 | 70d40af8c33e857c4116b80507194c96782e5795 | /include/crypto.hh | 29ad75f8dc8d129fd2aa77db2ddc579624d2e6e7 | [
"BSD-2-Clause"
] | permissive | falconmick/uvgRTP | 071cdd0b19face423b0cd31baba99bc0aa882fc1 | 7e72bdbf3273156911b451acf7aa4ac34e323c90 | refs/heads/master | 2023-01-29T17:24:19.023409 | 2020-12-04T12:57:37 | 2020-12-04T12:57:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,539 | hh | #pragma once
#ifdef __RTP_CRYPTO__
#include <cryptopp/aes.h>
#include <cryptopp/base32.h>
#include <cryptopp/cryptlib.h>
#include <cryptopp/dh.h>
#include <cryptopp/hmac.h>
#include <cryptopp/modes.h>
#include <cryptopp/osrng.h>
#include <cryptopp/sha.h>
#include <cryptopp/crc.h>
#endif
namespace uvg_rtp {
names... | [
"aaro.altonen@tuni.fi"
] | aaro.altonen@tuni.fi |
7cd20a43de1a38420486dec5af6ced4662e8a8de | 3b39a80436aef1ebaf62a9374ec96695e2fe3528 | /Shader.h | 856aa75fc1eef505cf516a5612aad61f1eddd479 | [] | no_license | Rahul-K-A/ProceduralTerrainGeneration | 60836a33f4212fe3232a684ad79b7e946adb33ef | 70703e6115f1c3f878f27c042a3bee0b10d7148f | refs/heads/main | 2023-06-15T04:37:20.815737 | 2021-07-13T21:41:20 | 2021-07-13T21:41:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | h | #pragma once
#include "GL/glew.h"
#include <iostream>
#include <string>
#include <fstream>
#include "DirectionalLight.h"
class Shader
{
public:
//Constructor
Shader();
//Destructor
~Shader();
//Creates Shader from string
void CreateShadersFromText(const char* vShaderCode, const char* fShaderCode);
//Creates s... | [
"karahul209@gmail.com"
] | karahul209@gmail.com |
f377f1d780106e2585c800970de64569eafb9155 | 187fc0da96839af8bdc86e24bbbd32335e045a24 | /CodeCacheDetectionByCode/CodeCacheDetectionByCode.cpp | 92157ede70eb32914a9f4c76d4f0ec17ee3bd1fc | [] | no_license | ailton07/ActiveDetectionPinWithCodeCache | ffd78ce420c9685dbfd7f51f9992bdddd6149c73 | f12aa3ec7388e586cdf18bf66c9a65c1edc9cde9 | refs/heads/master | 2021-01-20T00:21:32.396508 | 2017-05-12T03:37:35 | 2017-05-12T03:37:35 | 89,117,281 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,021 | cpp | // CodeCacheDetectionByCode.cpp : Defines the entry point for the console application.
//
// WinDBG
// pin.exe -- F:\Binarios\CodeCacheDetectionByCode.exe
// No x32dbg
// findallmem 01211000,90 90 50 58
// s - b 0 L ? 80000000 90 90 50 58
#include<stdlib.h>
#include "stdio.h"
// Origem: https://msdn.microsoft.com/pt... | [
"ailton07@yahoo.com.br"
] | ailton07@yahoo.com.br |
7575e4184c8894160c7c37b362f49bacc550239c | 1f8f6ed31f3403cea445c5a53bd54afe5f39a5c6 | /lab02/htmlDecode/main.cpp | 2430ab97016aca8c6d70d2ae8aa63ea606632077 | [] | no_license | anastasija-stepanova/oop | 4dde6a59460a9c556a58b261d81392194a9c87ae | b84b500ffba823ff481f4c60c4a5ad8de3d83383 | refs/heads/master | 2018-09-30T17:08:51.759716 | 2018-06-18T07:14:58 | 2018-06-18T07:14:58 | 120,501,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include "stdafx.h"
#include "htmlDecode.h"
using namespace std;
void DecodeHtmlDocument(istream &input, ostream &output)
{
string htmlLine;
while (getline(input, htmlLine))
{
output << HtmlDecode(htmlLine) << endl;
}
}
int _tmain()
{
DecodeHtmlDocument(cin, cout);
return 0;
}
| [
"nastyaaa19980@gmail.com"
] | nastyaaa19980@gmail.com |
42eefa2cf3dc3f7021a01f446ef02bbbea085f92 | 8f0061102767bdedad23588bf8553f5ffd1f5ca5 | /lab1/main.cpp | 5247afe493d47ab121d6cd147bee8e2eabd2d12b | [] | no_license | marco-ballario/pds-malnati-labs | 262411dde28b03f3f7a6ca7ac38add053c84a0b1 | 5ca08c44027192eaeb862d98557935c6a4d4df6b | refs/heads/main | 2023-06-01T14:07:08.924363 | 2021-06-14T09:07:07 | 2021-06-14T09:08:38 | 374,070,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,405 | cpp | #include <iostream>
#include <tuple>
#include "Message.h"
#include "DurationLogger.h"
#include "MessageStore.h"
void testMethods();
void testDefaultConstructor();
void testMyConstructor();
void testCopyConstructor();
void testMovementConstructor();
void testCopyOperator();
void testMovementOperator();
void questions()... | [
"marco.ballario1997@gmail.com"
] | marco.ballario1997@gmail.com |
ae2214b4e5cfa5f6bb3c3c31910c4ef2a7536023 | 2f81f121d015e18d52b77b84481d80dd96fc814b | /prototypev1/PhysicalBox.cpp | 704085299ea93dfe1d8488e1519ebd11492d62c8 | [] | no_license | larryxiao/VecGeom | 55903bf01a02eae284568bbe24c41a42f924b6ab | 921797e70bc972392df4aac6115e5009e1b8c3fa | refs/heads/master | 2021-01-22T11:16:20.146358 | 2014-03-03T14:00:13 | 2014-03-06T22:06:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | /*
* PhysicalBox.cpp
*
* Created on: Nov 8, 2013
* Author: swenzel
*/
#include <iostream>
#include "PhysicalBox.h"
void BoxParameters::inspect() const
{
std::cout << " This is a box " << std::endl;
std::cout << " dX : " << dX << std::endl;
std::cout << " dY : " << dY << std::endl;
std::cout << " dZ : "... | [
"sandro.wenzel@cern.ch"
] | sandro.wenzel@cern.ch |
bf11cd99888eb87cb1c92f2eecb93822ae54bfc8 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /public/g15/ig15.h | 51b77b70e9b53c1b275982ad72589b1d31bb3f96 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | WINDOWS-1252 | C++ | false | false | 1,503 | h | //====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#ifndef IG15_H
#define IG15_H
#ifdef _WIN32
#pragma once
#endif
typedef void * G15_HANDLE;
typedef enum
{
G15_BUTTON_1, G15_BUTTON_2, ... | [
"bernta1@msn.com"
] | bernta1@msn.com |
97b4df2f4c4fbe8fb58e8e6ff21e409e1bc47ee1 | b2d00dd254d83ef2b3baa825e8c4c339af428868 | /opengl_texmap/mp3.cpp | a8f7045d794ea56702213827980d1e1fef61c40c | [
"MIT"
] | permissive | srujun/cs418 | 6d55d70b965825a04a84b1333a91b005846a4f51 | e459c4ed680082ada26aa0fd949d8994701ce629 | refs/heads/master | 2021-03-08T19:36:10.346645 | 2016-04-23T06:06:09 | 2016-04-23T06:06:09 | 56,903,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,586 | cpp | #include <cstdlib>
#include <iostream>
#include <string>
#include <GL/gl.h>
#include <GL/freeglut.h>
#include "mp3.h"
Teapot * teapot;
Image * texture_map;
Image * env_map;
GLuint texmapID;
GLuint envmapID;
// Keyboard Toggles
enum DisplayMode
{
solid, texture, environment
};
bool displayMesh = false;
bool lig... | [
"theununtrium@gmail.com"
] | theununtrium@gmail.com |
f983d227aabecdda8dc1e874e436b1775576d33f | 6c88368926b3b2126446ff6c32fe4c7f76c311c7 | /06 Automatas Finitos y Deterministas/src/reader.cpp | 82dc0ea34a7a695080ee8fd12f0803665b788bb2 | [] | no_license | AdrianEpi/Computabilidad-y-Algoritmia | 661dc1a36fe383d0b651337f19427dd2820745d7 | 78bc025b1205aefaa242548c1be07bebb1a04a20 | refs/heads/master | 2022-04-01T14:17:43.243641 | 2020-02-07T20:27:21 | 2020-02-07T20:27:21 | 169,391,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,722 | cpp | /*===================================================================================
=====================================================================================
= =
= Proyecto: Práctica 06 Autómatas Finitos y Det... | [
"noreply@github.com"
] | AdrianEpi.noreply@github.com |
b7075fc411db3fc4984e8a39fc39f450e74a572f | 790f1c10685fb49662052f4ce58bec7396828fbc | /boj/greedy/1783.cpp | 0fb1bf021a23cb18ec3f1c6b0520b5b01dc0aafd | [] | no_license | jychoi927/problem-solving | f3522c404b4ff240c555b5cfcfecb1716d600ebb | 3bb3ff5484878e89a5323f3996cb9edbb3bd47d4 | refs/heads/master | 2020-12-02T00:58:55.067817 | 2020-10-04T09:47:59 | 2020-10-04T09:47:59 | 230,837,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | #include <iostream>
#include <algorithm>
#define endl '\n'
#define fastio cin.sync_with_stdio(false); cin.tie(nullptr)
using namespace std;
int main(){
fastio;
int n, m;
cin >> n >> m;
//n이 1이면 움직이지 못한다.
if(n == 1)
cout << 1 << endl;
//n이 2이면 움직일 수 있는 방법이 두 가지밖에 없으므로
//최대 3칸밖에 ... | [
"jychoi927@gmail.com"
] | jychoi927@gmail.com |
42cfb17115fe4aa75b1612acae72a8b4e386d376 | 577491f76e130d0fc757f011834691c6aa635051 | /Sources/Audio/Audio.hpp | 4c760875c15c8d4ce7a64ded9d0daf2874937c3a | [
"MIT"
] | permissive | opencollective/Acid | e627b082046e0148aaf7e2a8667fdd22df34235b | 0e1ed9605c4cddb89f92c2daeaa70ec512ce23f3 | refs/heads/master | 2023-08-26T13:26:36.840191 | 2019-09-21T05:30:22 | 2019-09-21T05:30:22 | 210,002,966 | 0 | 1 | null | 2019-09-21T14:51:39 | 2019-09-21T14:51:38 | null | UTF-8 | C++ | false | false | 1,094 | hpp | #pragma once
#include "Engine/Engine.hpp"
#include "Helpers/Delegate.hpp"
typedef struct ALCdevice_struct ALCdevice;
typedef struct ALCcontext_struct ALCcontext;
namespace acid {
/**
* @brief Module used for loading, managing and playing a variety of different sound types.
*/
class ACID_EXPORT Audio : public Modul... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
5d3f1d50c34ce8592d7824288dd0af81256ee8cb | 3e06733790784ad6446295d9cafd5282b035ac66 | /src/NGLDraw.cpp | c278e4e325f38b787c831faaa1675d7b2602bf9b | [] | no_license | s4911530/Programming-Assignment | 6e6c550db6747ff67a5a3a48452bd5cad551b943 | b5dd4597530269f55fa50ee4be4a8b52b1e41885 | refs/heads/master | 2020-03-17T20:31:19.599797 | 2018-05-18T06:49:07 | 2018-05-18T06:49:07 | 133,914,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,833 | cpp | #include "NGLDraw.h"
#include <ngl/ShaderLib.h>
#include <ngl/NGLInit.h>
#include <ngl/Material.h>
#include <ngl/Transformation.h>
#include <ngl/VAOPrimitives.h>
const static float INCREMENT=0.01f;
const static float ZOOM=0.05f;
constexpr char * DiffuseShader="DiffuseShader";
// This function was originally written by... | [
"noreply@github.com"
] | s4911530.noreply@github.com |
d0a371b69bf76e33f267438d893d50257812f23e | 798bed1167e6f95acf2b3ef5bd152fb6ae06446d | /GUI/Gui-RoombaV1.0/brushvacuumdata.cpp | ddbc1e55c4d21bb38ac32af1cfc99475b448c540 | [] | no_license | K-4U/ese_project4y5 | 25a1f991390d8232a0fb071ed8ffa6bd1506cb35 | 235b8b31b3a9eca833286b954c948ad0348d0d47 | refs/heads/master | 2020-05-26T21:23:04.080525 | 2013-06-19T10:20:25 | 2013-06-19T10:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include "brushvacuumdata.h"
namespace shared{
namespace events{
eventBrushVacuumData::eventBrushVacuumData(bool mainBrush, bool sideBrush, bool vacuum)
{
ourType = EVENTTYPE_BRUSHVACUUMDATA;
this->addToData("MainBrush", mainBrush);
this->addToData("SideBrush", ... | [
"snpadedb@hotmail.com"
] | snpadedb@hotmail.com |
8100590ee67693bb75ae895d735c078b735d8765 | 820c3d8667e2b2a19355ef4fab24be7d5612fa88 | /vcl/math/mat/mat4/mat4.cpp | 4200154f24dcd07646fdbd9959d20c66d015fe97 | [
"MIT"
] | permissive | nissmar/Paper_Plane_VCL | e37f0d425e33c2c9a3359253d296572240d8a76f | 04c51d57cac6772ffa7b39008ba4fc33d6a24610 | refs/heads/master | 2023-07-31T17:03:46.425459 | 2021-09-20T13:41:14 | 2021-09-20T13:41:14 | 264,975,680 | 0 | 1 | MIT | 2020-05-21T18:18:55 | 2020-05-18T15:07:40 | C++ | UTF-8 | C++ | false | false | 8,314 | cpp | #include "mat4.hpp"
#include "../../mat/mat3/mat3.hpp"
#include "../../vec/vec3/vec3.hpp"
#include <iostream>
namespace vcl {
mat4::mat()
:xx(),xy(),xz(),xw(),
yx(),yy(),yz(),yw(),
zx(),zy(),zz(),zw(),
wx(),wy(),wz(),ww()
{}
mat4::mat(float xx_arg,float xy_arg,float xz_arg,float xw_arg,
... | [
"maruani.nissim@gmail.com"
] | maruani.nissim@gmail.com |
3bfd09fc8c3fe57a71bbe0a1662427f63ebea4d0 | 04a21f3cf123bb04d27291348a4796770f5bd60c | /features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/test/nanostack/unittest/libNET/net/main.cpp | 41908314a30d78923e680f8a6309a0e8af448bd4 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Wenchou01/mbed-os | f946b291aa54cc2356633ac466df5ffed626baa9 | 70e7b40468854d33431889a9cd415364c00a2501 | refs/heads/master | 2021-08-20T09:09:26.038479 | 2017-11-27T16:37:40 | 2017-11-27T16:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | /*
* Copyright (c) 2016, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... | [
"arto.kinnunen@arm.com"
] | arto.kinnunen@arm.com |
006fd338e4c929e8ee776d959b2174cebeadc28f | 1568aace95107a8f4b83be3acdfc4eb5f9b7a88e | /IntrinsicRendererVulkan/src/IntrinsicRendererVulkanResourcesImage.h | 48e9f621a478f568ffba7e0cf149d61fe5e0ade4 | [
"Apache-2.0"
] | permissive | neuroradiology/Intrinsic | 7e30f77139de945f0fd075cb5d4e30966ca0abd9 | 5306fa148c8669ac392586050a8fd227217b93c0 | refs/heads/master | 2021-05-02T16:00:04.584318 | 2016-10-30T23:09:20 | 2016-10-30T23:09:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,333 | h | // Copyright 2016 Benjamin Glatzel
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | [
"benjamin.glatzel@me.com"
] | benjamin.glatzel@me.com |
7ab4f6642104c93bb3e992c890cfc6368d7b6e9b | d6f0bfe60b10c08bea59935fcf4e7be13d861141 | /chapter6/6_6.cpp | f4ae6de80e97587bf8ff965061cec8ee5c7fe2d3 | [] | no_license | ttylinux/cppPrimer | 74176ba90faf586dbbe1db66d60f32ae695fe841 | 4bc5de3ded83f819d07ad066ccd3093dac2ddf81 | refs/heads/master | 2020-05-17T14:44:41.263249 | 2017-12-04T08:22:31 | 2017-12-04T08:22:31 | 27,017,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<iostream>
using std::cout;
using std::cin;
using std::endl;
int localValble(int value )
{
static int size = value;
return ++size;
}
int main()
{
int value;
cout <<" Input:"<<endl;
cin >> value;
cout << "result : "<< endl;
for(int i = 0; i < value; i++)
{
cout <<localValbl... | [
"albertxiaoyu@163.com"
] | albertxiaoyu@163.com |
f38790ea477fcf60f7c45591fceefb86e6972a4b | 1f7388082da5abfe7d264f935f9e276d7a432f05 | /include/benchmark.hpp | 2c54ae6f802f4bd69c205363f87ddb9332774fc6 | [
"MIT"
] | permissive | gitzhqian/pibench-trees-hashing | 85b5477b836a83e15b3ebe0e90a751723860c3fa | 0a4758e38bbfa372fd80c0ebe0531acdd885b101 | refs/heads/main | 2023-07-27T06:45:24.091181 | 2021-09-09T03:43:41 | 2021-09-09T03:43:41 | 404,556,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,474 | hpp | #ifndef __NVM_TREE_BENCH_HPP__
#define __NVM_TREE_BENCH_HPP__
#include "cpucounters.h"
#include "key_generator.hpp"
#include "operation_generator.hpp"
#include "stopwatch.hpp"
#include "tree_api.hpp"
#include "value_generator.hpp"
#include <cstdint>
#include <memory> // For unique_ptr
#include <chrono> // std::chrono... | [
"zhangqianwayi@163.com"
] | zhangqianwayi@163.com |
46d16486b5a4ea42acd89bed8a0bb1eb4a5847d7 | 5cc1994afffe7214a8b2751aea0d14bbb1173069 | /A.cpp | 89de34f6174681a5faa558b27e318c24904a06e0 | [] | no_license | KazumaTamura/version_management_test_program | 4d9e9b1665d5cb3468189ac77b2feb5a1bf1fa9d | 0f4a97ca667b86c9053750cf8c82df8d17eba5a6 | refs/heads/robotA_classD | 2023-02-19T11:55:47.157349 | 2021-01-14T01:33:47 | 2021-01-14T01:33:47 | 328,080,046 | 1 | 0 | null | 2021-01-16T08:15:13 | 2021-01-09T05:13:19 | C++ | UTF-8 | C++ | false | false | 23 | cpp | A
//2021/01/09変更
| [
"e5118069bf@edu.teu.ac.jp"
] | e5118069bf@edu.teu.ac.jp |
fc11f228f5fe4cab491fbc8af76e5b1050439032 | 6c376312457b8af43e372d10bbe6ba29f58cf99d | /DirectX11_BaseSystem/Include/Havok_SDK/Common/Base/Memory/Util/hkMemUtil.h | aabaacb4a84d359475063bbf05acb197cc5b536e | [] | no_license | kururu-zzz/DirectWrite | f3599ae83c0edefb574ccd9c0026a151a68fbfbf | 19fe366832ec04cbcdb79db799eb8088ced376ad | refs/heads/master | 2021-01-10T08:00:53.148408 | 2015-12-17T04:51:31 | 2015-12-17T04:51:31 | 48,152,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"kurukuru.0844808@gmail.com"
] | kurukuru.0844808@gmail.com |
1e746b4d12a2e98a6bfca395f5eeda796fa34c51 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /codeforce/CF_118A.cpp | f5c6ff0121b10ec110d958c9d72c0ae90c513343 | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include<stdio.h>
#include<string.h>
int main(){
char s[100];
scanf("%s",&s);
for(int i=0;i<strlen(s);i++){
if(s[i] == 'A' || s[i] == 'O'|| s[i] == 'Y'|| s[i] == 'E'|| s[i] == 'U'|| s[i] == 'I'
|| s[i] == 'a'|| s[i] == 'o'|| s[i] == 'y'|| s[i] == 'e'|| s[i] == 'u'|| s[i] == 'i'){
continue;
}else{
if(s[i... | [
"imss5ss@outlook.com"
] | imss5ss@outlook.com |
cbfbd76c340ed117f4dcb717a907f3f93ce7039b | 0b47c44e9f860cb820e1db22420b9359ddf885fc | /Week_05/G20200343030558/LeetCode-91-558.cpp | 9181c29660083b5bdaf63394b8ea97496d40b742 | [] | no_license | maxminute/algorithm006-class02 | f71f9e8d2f59b1f7bbde434182a29c09792795d2 | 320d978f3a18751ebbac0c2c9a45462cdcc4cbc6 | refs/heads/master | 2021-01-02T03:17:20.549719 | 2020-04-05T14:54:22 | 2020-04-05T14:54:22 | 239,468,160 | 0 | 2 | null | 2020-04-05T14:54:23 | 2020-02-10T09:01:46 | Java | UTF-8 | C++ | false | false | 726 | cpp | #include <vector>
#include <string>
using namespace std;
int numDecodings(string s) {
if(s.size()==0 || s[0] == '0')
return 0;
if(s.size() == 1)
return 1;
vector<int> dp(s.size()+1,0);
dp[0] = dp[1] = 1;
for(int i=1;i<s.size();i++){
if(s[i... | [
"1198578682@qq.com"
] | 1198578682@qq.com |
67f3af48e1def9251187fd0a3363f5b02a75ac86 | ccc43d07758f1dda046c5d327df178f2e4406dbd | /leetcode/分数到小数.cpp | 00d76f05574dc9d466edfa202c93ccde64eb1e81 | [] | no_license | dengbohhxx/vscode | db36eb0b4b8edb6cc64c91e67f18ac39bf07516c | 13abdc92788985ee0299b0d0aa436188780de7f8 | refs/heads/master | 2023-03-31T16:04:41.839580 | 2021-04-04T08:36:29 | 2021-04-04T08:36:29 | 298,458,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | class Solution {
public:
string fractionToDecimal(int numerator, int denominator) {
if(numerator==0)
return "0";
if(denominator==0)
return "";
string result;
long long num=(long long)numerator;
long long denom=(long long)denominator;
if((num>0)... | [
"dengbohhxx@sina.com"
] | dengbohhxx@sina.com |
2c1d9f8e7e9c079a79953346946bbd60e82d8bda | 8d1a3dc6006d89f8a1405ce0eb000d0ae9f122a4 | /part_3/co_overhead/server.cpp | d36b27d49b4382bde71b0adffbc5fd5f8be654a9 | [] | no_license | Cylix/cse_221_experiments | 5815350dfd7cdb0855fb9d09a169b24394ad7005 | b9d9b5f290e44dc642115efb1de806dcfa545617 | refs/heads/master | 2023-08-26T03:22:54.689211 | 2016-05-28T08:52:21 | 2016-05-28T08:52:21 | 58,836,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | cpp | #include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
uint64_t
rdtscp(void) {
uint32_t eax, edx;
__asm__ __volatile__("rdtscp" //! rdtscp instruction
: "+a" (eax), "=d" (edx) //! output
... | [
"simon.ninon@gmail.com"
] | simon.ninon@gmail.com |
091397c2bc0f2562d5a46ee2f25c100e637cec0e | b4df7727cbf4b6fd23d6be3e09a3eb4238770cb9 | /MATRIX/SPARSE/Create & Display Sparse Matrix.cpp | ac44ae303d86532106bde1074c5bf61f8f0f9b1a | [] | no_license | skjha1/Data-Structures-Algorithms | 38eda01c802ffc617542654fada5796bdb149141 | 1cca63869ae5074edc6fb073475545b2a029cd4e | refs/heads/master | 2022-12-27T00:24:47.100700 | 2020-10-01T05:34:42 | 2020-10-01T05:34:42 | 286,944,867 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | #include<stdio.h>
#include<stdlib.h>
struct Element
{
int i; //for row number
int j; //for column number
int x; //for the element itself
};
struct Sparse
{
int m; //no of rows
int n; //no of columns
int num; //number of non zero elements
struct Element *ele... | [
"noreply@github.com"
] | skjha1.noreply@github.com |
66fca98dbac92826b87d39853e3b7348c2d64b55 | a41e5f042c74b86000c57501341ddbd535caf640 | /src/inet/applications/tcpapp/TcpVideoStreamCliApp.cc | dd4b7568cfb99fd6cd038b62318d6878e85133a4 | [] | no_license | andersonandrei/inet | 6aee3e5492ae267891080d6f0225335945761f19 | fd9b8b2b53500d1991326fcf2afd80f1723a7f50 | refs/heads/master | 2020-03-15T14:34:28.717575 | 2018-06-09T03:07:03 | 2018-06-09T03:07:03 | 132,192,329 | 0 | 1 | null | 2018-05-04T21:50:45 | 2018-05-04T21:50:45 | null | UTF-8 | C++ | false | false | 10,277 | cc | /*
* TcpVideoStreamCliApp.cc
*
* It's an adaptation of the code of Navarro Joaquim (https://github.com/navarrojoaquin/adaptive-video-Tcp-omnet).
* Created on 8 de dez de 2017 by Anderson Andrei da Silva & Patrick Menani Abrahao at University of Sao Paulo.
*
*/
#include "TcpVideoStreamCliApp.h"
#include "inet/... | [
"andrei@charizard.charizard"
] | andrei@charizard.charizard |
d4da4a3e84947671d9efa2a982e20e3be5b5170f | 31dcc420ca07d7a7ae8b0b151d0393f3f6e3caa3 | /就職作品用/Src/Game/Gimmick/Box_1/Box_1.cpp | 8857a1e66ce5f3df3501e0aa627187dd51317659 | [] | no_license | NakataniKeiga/KazukiWatanabe_Is_Ihou_Kenchiku | 198680ecdb63b177f5e89cc6ab3ecb2d5d50ec6c | 836c6c1504015a3acedeb48aad6173d823a15068 | refs/heads/main | 2023-08-11T08:50:46.582670 | 2021-09-22T14:43:58 | 2021-09-22T14:43:58 | 408,083,811 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,438 | cpp | #include"Box_1.h"
#include"../../../Lib/math/Hit/Hit.h"
#include"../../Input/Input.h"
#include"../../Character/Player/Player.h"
#include"../../Collision/CollisionManager.h"
static const char* BOX_PATH_S = { "Data/model/Box/Box.x" };
const VECTOR BOX_SCALE = { 0.01f, 0.01f, 0.01f };
const float BOX_RADIUS = 1.5f;
cons... | [
"tobun6212@gmail.com"
] | tobun6212@gmail.com |
25974223042b31c26476e10f01b18795c62a02e2 | ff6fc65d946ba1933744d3c66cdf18f84467d80e | /progressWidget/progresswidget.h | df596d0676113a48ad0bc4a7bc0c9c0d65db19df | [] | no_license | sadikul1500/bangla-braille-to-text-translator | 8e3dd0128033505254a20c565d6fe7dd48b7452f | adf3499c4f8ce45fae1cb906815d57bf61f2ef89 | refs/heads/master | 2023-08-05T23:34:21.395897 | 2021-08-28T06:48:13 | 2021-08-28T06:48:13 | 294,877,297 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | h | #ifndef PROGRESSWIDGET_H
#define PROGRESSWIDGET_H
#include <QWidget>
class QProgressBar;
class QLabel;
class QPushButton;
class QHBoxLayout;
class QVBoxLayout;
class progressWidget : public QWidget
{
Q_OBJECT
public:
progressWidget(QWidget *parent = nullptr);
void setMaximum(int numberOfLi... | [
"noreply@github.com"
] | sadikul1500.noreply@github.com |
6093da02a5a9e632a2eb2d761ac313a13bcd8472 | 7f31ea94c1ebcfc3ed1c5b357e67ea9f945d29c5 | /pixels.cpp | 6caa96baa84e74978111c30efe928af434b2d531 | [
"Zlib"
] | permissive | lroeck1/Ray-Tracer | 04ad39853715fe465f36c8b9fa347bd03008c9a8 | 70e314c4430de4926c83feb5cf1deed91471c861 | refs/heads/main | 2023-04-04T22:43:11.506100 | 2021-04-15T22:25:50 | 2021-04-15T22:25:50 | 355,342,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include "pixels.h"
#include "lodepng.h"
#include <fstream>
#include <cmath>
Pixels::Pixels()
:width{0}, height{0}, values{0}{}
Pixels::Pixels(unsigned width, unsigned height)
:width{width}, height{height}, values(width*height) {}
const Color& Pixels::operator()(unsigned i, unsigned j) const {
return value... | [
"noreply@github.com"
] | lroeck1.noreply@github.com |
d3c071b921f7dd6d7b32b1df4851de8668221bef | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE563_Unused_Variable/CWE563_Unused_Variable__unused_value_struct_72a.cpp | d43904b307735da524747040f9c43a13a9436d51 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE563_Unused_Variable__unused_value_struct_72a.cpp
Label Definition File: CWE563_Unused_Variable__unused_value.label.xml
Template File: sources-sinks-72a.tmpl.cpp
*/
/*
* @description
* CWE: 563 Unused Variable
* BadSource: Initialize data
* GoodSource: Initialize and... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
b3d95f0e1f7e78397aa6e2a438398bbd60603371 | 1b5b5fb94decc8176bc195903cd2138b74b7354a | /Coursera_MIPT_Yandex_Courses/Brown_Belt_C++/tree_expression/Common.h | b5356c072abc6df3588e88b9c0d8d5fa0cab4f5f | [] | no_license | ArtTolston/myrepository | 7e803de0cab50574f4068296d1701b4ede4c833b | 42ce5a44714c21ac03032e0c6bfa76db3ca7fc00 | refs/heads/master | 2023-06-22T15:47:21.253358 | 2023-06-20T19:01:21 | 2023-06-20T19:01:21 | 155,464,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | h | #pragma once
#include <memory>
#include <string>
// Базовый класс арифметического выражения
class Expression {
public:
virtual ~Expression() = default;
// Вычисляет значение выражения
virtual int Evaluate() const = 0;
// Форматирует выражение как строку
// Каждый узел берётся в скобки, независимо от приори... | [
"Arttol2000@yandex.ru"
] | Arttol2000@yandex.ru |
2277765475d420d33f798b4bb2a2786a01ecd161 | f6a1797248747340827bf8bd234c5a9fbf287a43 | /0716/c++primer/10.3.9_c++primer.h | 1d308132a80c2bf98e848e2273319afc8bda905f | [] | no_license | Andrew-liu/learn_cplusplus | b58e90ee3723610b9d59762f9300b5598d89e00d | d5f0f4a40a6d7155a0a2746ec6acf1dcde1012eb | refs/heads/master | 2016-09-05T22:38:42.123786 | 2014-08-07T06:53:51 | 2014-08-07T06:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #ifndef _WORD_
#define _WORD_
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <algorithm>
#include <fstream>
using namespace std;
class Word
{
public:
Word();
~Word();
void open_file();
void read_pair();
void output();
priva... | [
"xujie@ubuntu.(none)"
] | xujie@ubuntu.(none) |
f5a11d606d488265827fda7632980c9c12f123e4 | a50d5815de6ce75a6ca22188110dfaed432933c5 | /src/02_lighting/light_casters.direction.cpp | d23652ad754b6ae022c888c9a0f20415587d92f9 | [] | no_license | kaaass/learnopengl_exercise | 9d39de62d791c3fe62d0d4759f66b9fbdfb6d895 | f3c7693340b795dfeeda383c1cdedb5ee8e01a1f | refs/heads/master | 2021-01-07T00:10:57.035136 | 2020-03-22T09:27:29 | 2020-03-22T09:27:29 | 241,522,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,930 | cpp | #include <iostream>
#include <cmath>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "../shader_s.h"
#define STB_IMAGE_IMPLEMENTATION
#include "../stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "vertex_data_textures.h"
#include "../camera.h"... | [
"admin@kaaass.net"
] | admin@kaaass.net |
b425cac863eaf79eff98ddf3838bdf554399a25c | 3d2850881142680498b8c214535b11d5171c4600 | /GameTest/GameHandler.h | 7b5bba563b0c20d41001833dfdb3c7b7cde2af29 | [] | no_license | theofanet/GameCube | 3e894088c03788e0ffc2d7625128dff3b4732111 | 6400ee164bed9c3fc06a1c60e67411aee9cbbe58 | refs/heads/master | 2021-01-21T20:07:52.006196 | 2017-05-23T16:25:26 | 2017-05-23T16:25:26 | 92,194,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | h | //
// GameHandler.h
// GameTest
//
// Created by Theo Fanet on 15/02/2015.
// Copyright (c) 2015 Theo. All rights reserved.
//
#ifndef __GameTest__GameHandler__
#define __GameTest__GameHandler__
#include <OpenGL/OpenGL.h>
#include <GLUT/glut.h>
#include <stdio.h>
#include <iostream>
#include <stdarg.h>
#include <... | [
"theo@bricomac.com"
] | theo@bricomac.com |
c6a51113764da35b40f8df5876abcdb30468f6a7 | c9ce3de18238db9b2c62f57a2c49128f226bccdd | /C++/YouTube_CodeBeauty/015_struct.cpp | ff0253bd7d7d047f75aabf629580416e079d8fb2 | [] | no_license | AdamYuWen/LearningProgramming | 1ebc7d8bb942846dda7b2fff795af157d19fed47 | 34d3276923224db848db818d4322a2dd28ac7be4 | refs/heads/master | 2023-05-20T20:37:57.269187 | 2021-06-07T00:46:31 | 2021-06-07T00:46:31 | 203,454,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | #include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;
struct SmartPhones {
string name;
int storage_space;
string color;
float price;
};
void PrintSmartPhones(SmartPhones s) {
cout << s.name << endl;
cout << s.storage_space << endl;
cout << s.color << e... | [
"wen.adam@hotmail.com"
] | wen.adam@hotmail.com |
80668767010547f10c6eb302411c2e4c3473cdde | b9cd09bf5c88e1a11284d27e2e2b91842424a743 | /Visual_C++_MFC_examples/Part 6 기타주제/35장 디버깅에 대하여/RemoteTest/RemoteTest/RemoteTestDlg.h | 046cb12e4569318ab7dc1dfe484561f94bf06ba7 | [] | no_license | uki0327/book_source | 4bab68f90b4ec3d2e3aad72ec53877f6cc19a895 | a55750464e75e3a9b586dded1f99c3c67ff1e8c9 | refs/heads/master | 2023-02-21T07:13:11.213967 | 2021-01-29T06:16:31 | 2021-01-29T06:16:31 | 330,401,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h |
// RemoteTestDlg.h : header file
//
#pragma once
// CRemoteTestDlg dialog
class CRemoteTestDlg : public CDialog
{
// Construction
public:
CRemoteTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_REMOTETEST_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX... | [
"uki0327@gmail.com"
] | uki0327@gmail.com |
9118854b275363ed39e16bab4ccb47e0508aa51a | 1b5141bc624cd11d4af3d75b97f9316f361fdbd6 | /Pattern24.cpp | 1e0c73e2b3973186f1243ca54aefc582c9341458 | [] | no_license | Puja-Das2020/pattern-programming-in-C | 0cd2e5c423673aded1d9441c473d248bcd092509 | 2947bbbb11bf51a3207ebd0acbe7b9f6af3a3da5 | refs/heads/master | 2020-12-20T14:11:19.425482 | 2020-01-25T00:17:02 | 2020-01-25T00:17:02 | 236,103,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include<stdio.h>
#include<conio.h>
main()
{
int row, csp, cnm, nsp,nnm=1, line;
printf("enter the number of line");
scanf("%d",&line);
nsp=line-1;
for(row=1;row<=line;row++)
{
for(csp=1;csp<=nsp;csp++)
printf(" ");
for(cnm=1;cnm<=nnm;cnm++)
printf("%d ", row);
printf("\n");
nsp--;
... | [
"noreply@github.com"
] | Puja-Das2020.noreply@github.com |
28413a37a8c0c24cdc9153293e8f8350f0ec3703 | aa0a4683001b86a946505d8c70bbf04214d9a92c | /Algorithms:ProblemSolving/hacker-rank-extra-long-factorial.cpp | 293bb67421308308dd328834a4daee0c56ff8705 | [] | no_license | iskilia/Coding-Challenges | 8b5d42572d5aff38d3fe544ae5bfc3ad26c6e29e | 7e0484e9f86c09976d4dd26a4c03adba51ea37f1 | refs/heads/master | 2021-01-16T00:42:29.563165 | 2020-03-02T01:40:50 | 2020-03-02T01:40:50 | 99,970,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
vector<int> d;
d.push_back(1);
for (int i = 2; i <= n; ++i) {
for (auto it = d.begin(); it != d.end(); ++it)
*it *= i;
for (size_t j = 0; j < d.size(); ++j) {
if (d[j]... | [
"isaackilis@gmail.com"
] | isaackilis@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.