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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
703db9fb4943600a0affa9f970cc39e7127086ab | e08133f5d23d75e467dc2842f91371222929685a | /submission/src/material.hpp | ca49c524793230a7fcdc28821b04e3953d83a774 | [] | no_license | sork01/grafikprojekt | d59aa7da8b63ad2471365a833cdac58b8f2a76f2 | 3bc990f2853e240a474ce9e0c88b5927f32611d5 | refs/heads/main | 2023-03-01T07:32:30.073842 | 2021-02-13T09:26:30 | 2021-02-13T09:26:30 | 338,538,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | hpp |
// *neode.onsave* setgo gcc -I/usr/include/glm -fsyntax-only material.hpp
#ifndef HAVE_MATERIAL_H
#define HAVE_MATERIAL_H
#include "glm.hpp"
#include "texture.hpp"
using glm::vec3;
/**
* Material is a structure for everything relevant to the material system
* Every Intersection contains a Material instance, givi... | [
"ro.gunning@gmail.com"
] | ro.gunning@gmail.com |
e597081a0dc6e074e283c9faccd8875c029e2792 | 2ec89b56385de7afac23e18b5b97d08e35a46e02 | /contrib/epee/include/storages/parserse_base_utils.h | 1a9b4861bc58bef6de8c13e48be3471d44045515 | [
"BSD-3-Clause",
"MIT"
] | permissive | etcoin-project/etcoin | 05a6d2f7c1eddbeb0b42c4778d060b02d07398e2 | c87538d8f64b91eef7ce40f438b85b13e7f0332e | refs/heads/master | 2022-12-03T00:16:18.281347 | 2020-08-20T08:20:05 | 2020-08-20T08:20:05 | 268,973,844 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,808 | h | // Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net
// 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
// not... | [
"dev@etcoin.xyz"
] | dev@etcoin.xyz |
563e34cb1cee630637a2dff926ad5eb564b15729 | cd1331017b2edc39195b705b782d5d57211058e0 | /source/src/Polarization.cpp | 179d024d93320fb132bdbb026da2badf089a6d6f | [
"BSD-3-Clause"
] | permissive | cpawley/ostap | 046456d192e7bf3be3d2c85f213cdb9e58a3eaba | da561c52c6c62a8586f13bb2fa1a678715966c0b | refs/heads/master | 2020-04-27T18:40:04.703080 | 2019-03-08T18:21:10 | 2019-03-08T18:21:10 | 174,581,654 | 0 | 0 | BSD-3-Clause | 2019-03-08T17:37:14 | 2019-03-08T17:37:14 | null | UTF-8 | C++ | false | false | 14,138 | cpp | // ============================================================================
// Include files
// ============================================================================
// STD&STL
// ============================================================================
#include <cmath>
#include <climits>
// ============... | [
"Ivan.Belyaev@cern.ch"
] | Ivan.Belyaev@cern.ch |
4396dc8c2c66d3857441a11be90566654d251b3d | b3439873c106d69b6ae8110c36bcd77264e8c5a7 | /server/Common/Packets/GCMissionList.cpp | dd56abc6dbb7ff20bcca8213cb90121454b5efdb | [] | no_license | cnsuhao/web-pap | b41356411dc8dad0e42a11e62a27a1b4336d91e2 | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | refs/heads/master | 2021-05-28T01:01:18.122567 | 2013-11-19T06:49:41 | 2013-11-19T06:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include "stdafx.h"
// GCMissionList.cpp
//
/////////////////////////////////////////////////////
#include "GCMissionList.h"
using namespace Packets;
BOOL GCMissionList::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ObjID), sizeof(m_ObjID));
iStream.Read( (CHAR*)(&m_uMissi... | [
"viticm@126.com"
] | viticm@126.com |
a0715a65b5123b474750c679021bcf757b0575bf | c5cd6140b8fe24723d6791ac6c81cfa94ce841e3 | /DBMS/DBMS源代码/mainwindow.cpp | e0f3deaea415619b6ca65953cc7af7b2fb04da00 | [] | no_license | bugaosuni59/homework-DB | ccd3f655a11dedc245952a4a0d75a0a7beee72ce | 22888e1569a8c62e9b432288260785e1ef20ed61 | refs/heads/master | 2021-01-20T02:44:02.922854 | 2017-06-20T15:05:32 | 2017-06-20T15:05:32 | 89,446,678 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,803 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->tree->setColumnCount(1); //设置列数
ui->tree->setHeaderLabel(tr("数据库管理系统")); //设置头的标题
dbms = new DBMS();
FileController::Init(dbms);/... | [
"598586484@qq.com"
] | 598586484@qq.com |
0baec61ce9e8284d855b730fb775a3c437984520 | 0bb16de075f2632349450d69683db3c871b63797 | /cpp/qt-tuto/events+widgets-i/p3/spinbox.cpp | f430e0113e254d3673b65aa76fa12662cd44707e | [] | no_license | pwarnimo/misc_projects | 0e84866bf88bdf138d5bf20116fba3b88ddff7a3 | 8293b76c01b329a7bc6e5169afe0001591e42da6 | refs/heads/master | 2021-01-19T01:29:49.282313 | 2016-04-21T15:40:03 | 2016-04-21T15:40:03 | 35,493,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <QHBoxLayout>
#include <QLabel>
#include "spinbox.h"
SpinBox::SpinBox(QWidget *parent) : QWidget(parent) {
QHBoxLayout *hbox = new QHBoxLayout(this);
hbox->setSpacing(15);
spinbox = new QSpinBox(this);
QLabel *lbl = new QLabel("0", this);
hbox->addWidget(spinbox);
hbox->addWidget(lbl);
connect(spinb... | [
"pwarnimo@gmail.com"
] | pwarnimo@gmail.com |
d173c8c16ce18a68f36a2fb1fbc421018f79a985 | 99298a83dc991a08a12880209a843738a3c3fc0f | /ProcessLib/BoundaryCondition/NonuniformNeumannBoundaryConditionLocalAssembler.h | 12a2b88a89dd425823bec9ec3f3e36755757826a | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | KeitaYoshioka/ogs | 8fa8097c58e2c5ce134808de966e3431247579d3 | eeb7dd25db3245a94c8c1ef74ca1f689a4afbd61 | refs/heads/master | 2022-12-01T16:06:52.622393 | 2017-12-20T09:40:12 | 2017-12-20T09:40:12 | 105,892,458 | 3 | 0 | null | 2017-11-07T09:14:44 | 2017-10-05T13:19:26 | C++ | UTF-8 | C++ | false | false | 3,774 | h | /**
* \copyright
* Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include "MeshLib/PropertyVector.h"
... | [
"christoph.lehmann@ufz.de"
] | christoph.lehmann@ufz.de |
8a0ea7f3ff021772bc4ef71124c83b215b38c8a0 | 6b6a8a45af2dcb382e61c129073b68de9386ba6b | /framework/core/hpp_command_buffer.cpp | 3c34cc484f2861955ee81066fbde3cd01afc54a5 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | KhronosGroup/Vulkan-Samples | 7e5ab5d9529e944e790dbe237201e0fbc5866d92 | 9a134552d64b2ebb16b9628ccae27f07e8c05290 | refs/heads/main | 2023-08-31T21:48:39.455558 | 2023-08-28T19:33:43 | 2023-08-28T19:33:43 | 218,329,478 | 3,492 | 582 | Apache-2.0 | 2023-09-12T17:16:11 | 2019-10-29T16:10:56 | C++ | UTF-8 | C++ | false | false | 30,614 | cpp | /* Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
*
* 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/lic... | [
"noreply@github.com"
] | KhronosGroup.noreply@github.com |
da90c53dadbf5fbfcba82d90d14cc926d13db2cf | f40f9d4a5973bfa4180ee778e83238d5c3656422 | /App/Il2CppOutputProject/Source/il2cppOutput/Bulk_I18N.West_0.cpp | fc9d53646004eed6e2fb230d2a6d5ef30899681d | [] | no_license | stevenshan/hololens-fun | cd30936f5ef2c98204613ed53b1754925e31fe95 | feb647b9f8301fc24429b601dbcc4299eefb79d8 | refs/heads/master | 2020-03-28T18:45:08.058701 | 2018-09-16T11:00:15 | 2018-09-16T11:00:15 | 148,907,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592,817 | 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 <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"steven.shan99@gmail.com"
] | steven.shan99@gmail.com |
24271be18ea521b6f261a4266280e5eabe48f5a6 | 0f2635f18d7b47323332ab733f34c9308888e851 | /LUOGU/纪念品分组.cpp | c7cfd2719661218fd19a3b5a21a209b578137f82 | [] | no_license | stevebraveman/Code | 2e48b3638272126653c5a2baabac3438db781157 | 4205dd6c4c2f87a8d8554a21efac39616672004e | refs/heads/master | 2020-06-30T21:55:41.313296 | 2019-11-13T22:57:51 | 2019-11-13T22:57:51 | 178,631,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int main() {
int w,n,a[30002]= {0},tot=0,k=0,l=0;
cin>>w>>n;
for(int i=1; i<=n; i++) {
cin>>a[i];
}
sort(a+1,a+n+1);
for(int i=1;i<=n;i++){
cout<<a[i]<<" ";
}
/*for(int i=1;i<=n;i++){
k+=a[i];
if((w-k)<a[i+1]){
tot++;
k=... | [
"zhoujiangfan52D2@163.com"
] | zhoujiangfan52D2@163.com |
117fb530f76dc1831e77c89ccaa1f4ebdbeabff6 | ed6c5cec7520ce5c274d75fa94e28a2ef8042c89 | /Practice/pre_incr.cpp | 232e97defecd21568f60fdbfb286061403989b24 | [] | no_license | itails/backup | 97b922950f073acf8118995dec2f02303f24e98e | e8e5f360acfcaca7aa1b6dbefb5be8153dd446dc | refs/heads/master | 2020-08-29T16:39:16.109363 | 2019-10-28T16:39:40 | 2019-10-28T16:39:40 | 218,092,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include<iostream>
using namespace std;
class incr
{
int x;
public:
incr()
{
x=1;
}
void display();
void operator++();
void operator++(int);
};
void incr::display()
{
cout<<x<<endl;
}
void incr::operator++()
{
++x;
}
void incr::operator++(int)
{
x++;
}
int main()
{
incr i1;
i1.display();
++... | [
"noreply@github.com"
] | itails.noreply@github.com |
8e98a5a42d688f11962af7b40b91770650b488a3 | bad36c1f43de268040144fa92771329f1c4b9028 | /1014.cpp | 5b68308fd043da415ca4ee335e0b8cab46239305 | [] | no_license | Rindonn/PAT | 9292d12f4128e9f34f802c90bc6a85be95344dbe | f2704a963f0cd42596d27bb9e698ba4e1b608a30 | refs/heads/master | 2023-06-22T20:14:40.124305 | 2018-05-30T14:16:43 | 2018-05-30T14:16:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,587 | cpp | /*
* @Author: 凛冬
* @Date: 2018-05-30
* @Last Modified by: 凛冬
* @Last Modified time: 2018-05-30
*/
#include <iostream>
#include <bits/stdc++.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <cmath>
using namespace std;
int main(){
char str1[61];
char str2[61];
cin.getline(st... | [
"384693801@qq.com"
] | 384693801@qq.com |
6ed316fb48bc916e625dab2267e5623caca2f49c | 897868d4960eee6e728597e4ec5576aa03064785 | /llvm/lib/Target/SystemZ/SystemZElimCompare.cpp | 0b5c9dc3bf00a663486e47fa8ab1762b9f1255a8 | [
"MIT",
"NCSA"
] | permissive | martell/ellcc | ab95d98c6023a23402a474044730db125349c843 | b144e161b5f70da528ae64329f27e4dfab489e5a | refs/heads/master | 2021-04-26T11:49:19.551929 | 2016-10-05T09:21:00 | 2016-10-05T09:21:00 | 70,063,491 | 2 | 1 | NOASSERTION | 2020-03-07T21:58:00 | 2016-10-05T13:32:53 | null | UTF-8 | C++ | false | false | 17,260 | cpp | //===-- SystemZElimCompare.cpp - Eliminate comparison instructions --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rich@ellcc.org"
] | rich@ellcc.org |
2405342dd22421410a376768b7164fcb07602e2e | c51febc209233a9160f41913d895415704d2391f | /library/ATF/LPSTYLESTRUCT.hpp | 03283a6d81654ef0f2113174c1208ed9b5110a14 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 263 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <tagSTYLESTRUCT.hpp>
START_ATF_NAMESPACE
typedef tagSTYLESTRUCT *LPSTYLESTRUCT;
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
08d10cdb86235d6198adf62e971e2a69918565f5 | 7ce3445a70b37f9dcdf3d5689348c7bd06e9dc15 | /Source/HowTo_AutoCamera/Mover.h | 990749fef0cc2f6679fb1f3444df3e7df59c8027 | [] | no_license | jpyepez/UE4AutoCamera | 98e1f0f926c0b123db512e630ba205d0bf467922 | 8a0da6308d7065d641287ca24efeadeb422309f9 | refs/heads/master | 2021-08-14T16:46:37.254546 | 2017-11-16T08:09:54 | 2017-11-16T08:09:54 | 110,413,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Mover.generated.h"
UCLASS()
class HOWTO_AUTOCAMERA_API AMover : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's propert... | [
"jpyepezimc@gmail.com"
] | jpyepezimc@gmail.com |
c0864bed9a9481a969d190291af7e77a2cb01734 | de7e771699065ec21a340ada1060a3cf0bec3091 | /analysis/common/src/java/org/apache/lucene/analysis/hunspell/package-info.cpp | 8ea54be0e3e3535be39693ddbbc670a0e4557173 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | using namespace std;
#include "package-info.h"
namespace org::apache::lucene::analysis::hunspell
{
} | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
f1e5ed1460b4e9c860512677ab9ff9d8a91f50f5 | f7f70ce50ae5ee14771ae21c3d287797843764ca | /Source/Library/Language/Hlsl/Source/HlslLang.cpp | da382664379a547cdf0b80d4bcb68c317ea04555 | [
"MIT"
] | permissive | cschladetsch/KAI | b36757e52c0de072e87f2ba868cdee7fa69fe8de | c972934ce9254b881ede5be484f5d1ab93b7951e | refs/heads/master | 2023-03-04T07:34:53.945220 | 2023-02-24T17:28:01 | 2023-02-24T17:28:01 | 21,534,145 | 14 | 4 | null | 2017-02-28T02:12:34 | 2014-07-06T05:23:56 | C++ | UTF-8 | C++ | false | false | 1,066 | cpp | #include <fstream>
#include <KAI/Core/File.h>
#include "KAI/Executor/Executor.h"
#include "KAI/Language/Hlsl/HlslLang.h"
using namespace std;
KAI_BEGIN
void HlslLang::Print()
{
/*
cout << "Input--" << endl;
cout << lex->GetInput() << endl;
cout << "Lexer--" << endl;
lex->Print();
cout << "... | [
"christian.schladetsch@gmail.com"
] | christian.schladetsch@gmail.com |
bbdc4fdcd3fcae84315a8f1b37567cd9b91bec50 | 48dd7abadcdad9dee7d944c669131ffceaaa457a | /ImageProcessing/INIT/gamma_correct.cpp | bf70f42cd651092db4637c4808117fdab63f4189 | [] | no_license | mattzen/cppRepos | 1160602bc627eaaff33e576f4d4e726d8aeb387f | 8d4c6ad4417cb7978fefffff6426e5be102dae5a | refs/heads/master | 2023-08-02T15:55:17.624108 | 2019-11-18T03:15:40 | 2019-11-18T03:15:40 | 222,325,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp |
// ================================================================
// gamma_correct.c - gamma correct.
// Written by Mateusz Zmijewski
// =====================================================================
#include "IP.h"
using namespace std;
// function prototype
void gamma_correct(imageP, double, imageP);
// ... | [
"mattzy90@hotmail.com"
] | mattzy90@hotmail.com |
abf85193a0b8ab17b47dcd9685036b4bd5913912 | 8f98f3a6565d9eb31d03885b89a758bffafb9572 | /src/qt/transactiontablemodel.h | e144b9f393dc01a2cd36bb7ae605e7f3207c11dd | [
"MIT"
] | permissive | TeamEmpireCoin/EmpireCoin | 8167485f612950076f56828a816cfb52f35c4085 | 212b22821ad8ba0eec08aa9b460624f9937a92a5 | refs/heads/master | 2021-01-18T21:33:13.149110 | 2016-06-15T16:02:05 | 2016-06-15T16:02:05 | 47,073,059 | 2 | 2 | null | 2016-01-17T11:59:44 | 2015-11-29T17:30:40 | C++ | UTF-8 | C++ | false | false | 2,949 | h | // Copyright (c) 2011-2013 The EmpireCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef TRANSACTIONTABLEMODEL_H
#define TRANSACTIONTABLEMODEL_H
#include <QAbstractTableModel>
#include <QStringList>
cla... | [
"x.madisco@yandex.com"
] | x.madisco@yandex.com |
be67a21d6235a0baa8618541fea1228afe031a90 | 3ca14675ee14a7f327e452f5c9fb8c5211c67482 | /sources/Bomberman/ECS/Systems/RemovableSystem.hpp | e01476c5ff72f322555750c112cd3928d1164852 | [] | no_license | eliemoriceau/bomberman | 2d671a384eeeaf1b69fee46ba9ceacad18cd8bef | 5f798468810e1302ed8048ca6dc2bb8ef268eddb | refs/heads/main | 2023-08-13T20:21:10.369797 | 2021-09-17T08:00:37 | 2021-09-17T08:00:37 | 407,455,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | hpp | /*
** EPITECH PROJECT, 2022
** Indie
** File description:
** Created by elie,
*/
#pragma once
#include "System.hpp"
namespace ECS {
class RemovableSystem : public System {
public:
void update();
};
} | [
"elie.moriceau@epitech.eu"
] | elie.moriceau@epitech.eu |
5551aa001ffe82f1b3dc6afaecad28290243ca5d | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /es/src/v20180416/model/LogstashPipelineInfo.cpp | fbf2babab50df20f07ad8bf2f8c133922d40868e | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 11,360 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
45d6aeb574ee11cfd77bc5cc38ffab0eb912f52c | 117761fd24cb1ab05d581e88304beec24143e680 | /goblin/whattodo_menu.hpp | 66479575800375a02599bd3ae8fee05c2398dd3b | [] | no_license | NineDayGame/NineDayGame | 0d944bb1a17dfc1200331e32f2fcaa2fe422d8b4 | 2a30ed7a02a99d7789f54ed5848598a6f8d7c00d | refs/heads/master | 2021-01-01T18:55:06.919599 | 2011-02-28T05:40:26 | 2011-02-28T05:40:26 | 1,386,782 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 409 | hpp | #ifndef WHATTODO_MENU_HPP
#define WHATTODO_MENU_HPP
#include "inventory_menu.hpp"
#include "entity.hpp"
#include "item.hpp"
class WhatToDoMenu : public InventoryMenu
{
public:
typedef boost::shared_ptr<WhatToDoMenu> ShPtr;
WhatToDoMenu(GameState::ShPtr parent, Living::ShPtr player, int sx, int sy, int w, int h);
... | [
"foxryan@gmail.com"
] | foxryan@gmail.com |
d73783707ff99907364094f0f38c71e8cbf6ebc9 | df256c2663bcd2a61fff9950759debd2760d0ce9 | /State/State/States/Stopped.h | da0e98d8aae570068c2252f2e662fe40efcda3cf | [
"BSD-2-Clause"
] | permissive | jayavardhanravi/DesignPatterns | d4adbb80c2b781affd531f8887c4634e35788353 | aa6a37790f447c7caf69c6a1a9c6107074309a03 | refs/heads/master | 2021-07-25T05:21:02.690532 | 2021-01-02T14:17:54 | 2021-01-02T14:17:54 | 233,955,558 | 15 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | #pragma once
#include "RobotState.h"
#include "Ready.h"
#include "Shutdown.h"
class Stopped : public RobotState
{
public:
Stopped();
~Stopped();
bool StoppedRobot(Controller *);
bool ShutdownRobot(Controller *);
bool ReadyRobot(Controller *);
private:
std::unique_ptr<Stopped> state_ = nullptr;
};
| [
"8674552+jayavardhanravi@users.noreply.github.com"
] | 8674552+jayavardhanravi@users.noreply.github.com |
ddc24cb26e6f097cf6d581c59a702df127896e70 | ef9a782df42136ec09485cbdbfa8a56512c32530 | /branches/fasset2.3.2threads/src/livestock/diet.cpp | 2adab1ad5050de37ab708d7b2bec8632a6e6ca2d | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,114 | cpp | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
// Class: diet
#include "../base/common.h"
#include "diet.h"
#include "../products/feedItem.h"
... | [
"sai@agro.au.dk"
] | sai@agro.au.dk |
57ef691fa29cd28aa8d52fb267e8a766b8cb87b9 | fc48cd25cd7a6a1061a15826c4d5502bee88fe2a | /MyDungreed/MyDungreed/NormalEffect.cpp | 87ca1383a06cf8fdc3bee84d38464c0ca350b5ec | [] | no_license | Daruria/CopyProject | 9e3b5ba0f607930b6f58104e9eb52c4f04e2f98f | 672bc7c90aff617d2aa5f087e77f30129565d9a0 | refs/heads/master | 2022-11-20T12:19:03.801310 | 2020-07-26T17:02:55 | 2020-07-26T17:02:55 | 282,668,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include "stdafx.h"
#include "NormalEffect.h"
#include "ScrollManager.h"
CNormalEffect::CNormalEffect():
m_fAngle(0.f),
m_fSpeed(0.f),
m_iFrame(0),
m_iMaxFrame(0),
m_dwFrameTime(0),
m_dwFrameMaxTime(0),
m_strKey("")
{
}
CNormalEffect::~CNormalEffect()
{
Release();
}
void CNormalEffect::Initialize()
{
m_dw... | [
"56038721+Daruria@users.noreply.github.com"
] | 56038721+Daruria@users.noreply.github.com |
9b0b11dacca9a3e494d54eb95db6f9f07492f048 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/079/948/CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62a.cpp | d0acc296cfe9f246849435812fd4991f32387936 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,444 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_w32_vsnprintf_62a.cpp
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-62a.tmpl.cpp
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: enviro... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
7aad8fcda24f6040df002e45e623290f7886cba9 | 30b8561243cff67f758633327004cb378e5c5cef | /source/include/NGE/Geometry/Basic/Basic.hpp | 6154ba79c046e14d0cc74a363b5f4e7576e6aa6b | [] | no_license | tkubicz/ngengine | 56a7235de0c799f541d47841380da6fd90d3abed | 75413c8b77587e5ec8f03164fa9b5dcd7697c0c6 | refs/heads/master | 2021-01-12T06:02:57.202296 | 2016-06-15T16:42:43 | 2016-06-15T16:42:43 | 77,282,542 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | hpp | /*
* File: Basic.hpp
* Author: tku
*
* Created on 3 listopad 2013, 04:32
*/
#ifndef BASIC_HPP
#define BASIC_HPP
#include "NGE/Geometry/Mesh.hpp"
namespace NGE {
namespace Geometry {
namespace Basic {
class Basic : public Geometry::Mesh {
public:
/**
* Metoda inicjująca obiekt.
* Met... | [
"tymoteusz.kubicz@gmail.com"
] | tymoteusz.kubicz@gmail.com |
670fdb2dd68937aed3e2e2ed2ddbcbe97a40fd52 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/compiler/mlir/tools/kernel_gen/transforms/same_shape_propagation.cc | 1e422f6ab88c70ef2774536523d1d3dfab8adc81 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 14,082 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a33b1043f02c9f80956577c4e741074b9c6f6c0e | 70d18149c9d7125b6b52eb540b79add35945cfa4 | /Variable Sized Arrays.cpp | ce62648709bb7e18437d0e0ccd478f6ab5395df1 | [] | no_license | astrodestroyergithub/Hackerrank | c02baab3159de738c380d9a9c7cb7819416ba39e | f222fa7bf4432e36fba41dc7bda7f598387c20c8 | refs/heads/master | 2023-06-17T11:28:46.220080 | 2021-07-16T10:42:52 | 2021-07-16T10:42:52 | 312,766,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n,q;
cin>>n>>q;
vector<int> a[n];
for(int i=0;i<n;i++)
{
int k;
cin>>k;
for(int j=0;j<k;j++)
{
int o;
... | [
"noreply@github.com"
] | astrodestroyergithub.noreply@github.com |
5f3063060609f5d2732ecb783ff5c70d1b8918dc | 2bf7fa88e9db79ad96fc62f9dda8d586efb1cc5b | /navigation/ca_safety_controller/src/nodelet.cpp | 6f813311882ba463a9c1ce09156558c614f8ee4a | [] | permissive | ivanpauno/create_autonomy | 3111556667317f077d506c66a2d7d3f31373f409 | 7c3810761d12f064f15459458529ec20ff28f89d | refs/heads/kinetic-devel | 2021-07-06T02:51:07.138626 | 2019-11-08T13:24:05 | 2019-11-08T13:24:05 | 210,257,141 | 0 | 0 | BSD-3-Clause | 2019-11-27T20:06:04 | 2019-09-23T03:29:23 | C++ | UTF-8 | C++ | false | false | 3,634 | cpp | /*
* Copyright (c) 2012, Yujin Robot.
* 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 ... | [
"emiliano_borghi@hotmail.com"
] | emiliano_borghi@hotmail.com |
9c89aabf507dec9328e4a7a631a327e8a3e5d3c4 | bcfd3336ae1dcac5e6f3b9e2154caad199043b27 | /src/scp/QuorumSetUtils.h | 5822a94bfe51894962b2b7f52c179817378f53b7 | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | acgchain/acg-core | 58ba9d4e0dd147c45a51b33017d75402cdce9531 | 098676521a3211ab702d5f473510dc07e60467e2 | refs/heads/master | 2020-07-26T11:57:58.634134 | 2019-10-08T03:39:28 | 2019-10-08T03:39:28 | 208,636,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | // Copyright 2016 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#pragma once
#include "xdr/Stellar-SCP.h"
namespace acg
{
bool isQuorumSetSane(SCPQuorumSet ... | [
"ubuntu@ip-172-31-20-103.ap-southeast-1.compute.internal"
] | ubuntu@ip-172-31-20-103.ap-southeast-1.compute.internal |
aacbd23d4cb7a74eca51fed034bdab4cfc150173 | b0b943b56c27f952926e3e164bd2c97854970230 | /MFCShowVideoTest/VideoInfo.h | c8a7565f27e770e7253a1ca5955121e4ea86d4f1 | [] | no_license | 1219797100/MFCShowVideoTest | 6c10478af5f4d895540a22f7e1cc8d806a249880 | f3c3b9981e06c1a1f546f573482920bc5f353300 | refs/heads/master | 2020-05-15T03:46:55.957102 | 2019-04-18T11:19:59 | 2019-04-18T11:19:59 | 182,073,175 | 1 | 0 | null | 2019-04-18T11:12:43 | 2019-04-18T11:12:43 | null | UTF-8 | C++ | false | false | 322 | h | #pragma once
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
#include "CvvImage.h"
class CVideoInfo
{
public:
CvCapture* m_pCapture;
IplImage* m_pFrameImage;
char s_Pictrldir[200];
double m_FrameWidth;
double m_FrameHeight;
public:
CVideoInfo(void);
public:
~CVideoInfo(void);
};... | [
"cqswzqcj@163.com"
] | cqswzqcj@163.com |
f1184f33d185482104a733f0333121330ba25974 | a79f0fa7bff3f396971345b03f57fe0a12059bf0 | /Classes/HelloWorldScene.h | 6ca7d0c053675c5598642dbef47e48debaf1ed71 | [] | no_license | 253627764/Runfield | 26618f114a9623d25ec5c1909ab92f49559137cb | c29f6276b033ac03ec5bb7d78673d20cc231ff65 | refs/heads/master | 2021-01-12T21:17:20.743676 | 2013-11-24T18:11:03 | 2013-11-24T18:11:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
#include "Terrain.h"
#include "Path.h"
#include "Shadow.h"
#include "Forest.h"
#include<vector>
class HelloWorld: public cocos2d::CCLayer {
public:
HelloWorld();
~HelloWorld();
// Here's a difference. Method 'init' in cocos2d-x ret... | [
"reactor.lau@gmail.com"
] | reactor.lau@gmail.com |
929359b8bff4603c7643431549d54cf08f291ee7 | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/russia-team-f/sources/105-f-8.cpp | 2fe1d3a68d0dbb98a5f8dcfd143b23e10d0883d8 | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,504 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#include <cstdio>
using namespace std;
typedef long double ld;
const int maxN = 5000;
const ld Pi = atan(1.0) * 4;
int n, m;
bool Less(ld a, ld b)
{
return (b - a > 1e-13);
}
bool Gr(ld a, ld b)
{
return Less(b, a);
}
bool Eq(ld a, l... | [
"shk.slava@gmail.com"
] | shk.slava@gmail.com |
85e731bb5fbbe20c1b03e9d651b859630d11a85c | 18af68b691f3e60413881e17c514b6b8333a2f85 | /micron_code/3d_visualization.cpp | 993a1baee51102e8027dcd33e0ad6874bad230de | [] | no_license | aravindvenu7/MicronProject | beec4132e42dd2cff9d4306e00bc4d1d691deb68 | 7f939adcbe65737d33d7fc0dd720b8abb173d97a | refs/heads/main | 2023-05-21T00:23:03.680536 | 2021-06-03T12:56:09 | 2021-06-03T12:56:09 | 359,710,956 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | // Copyright (c) 2017 Simone Foti <simofoti@gmail.com>
#include "3d_visualization.h"
#include <vector>
#include <opencv2/viz.hpp>
cv::viz::Viz3d viz_elem("show_cloud");
void showCloud(cv::Mat M) {
cv::viz::Viz3d viz_elem("show_cloud");
viz_elem.setBackgroundColor(cv::viz::Color::black());
//viz_elem.showWidget(... | [
"aravindvenugopal19@gmail.com"
] | aravindvenugopal19@gmail.com |
4d9417205052485365ee3a3f5ce1322323a3858c | d94e2681b6bdaf30c9ee086141a88f9ce9088239 | /task/task3-3/stack.h | 6f20b9daa1022183cccac5288f823717ef90a36b | [] | no_license | Leo-Jiangsu/CppStudy | 937486bd43a6404be4a3867893c9e86a2ea21de7 | 3232a6fd8235a5ca07e2960bcef142efb8775e0e | refs/heads/master | 2023-07-09T18:32:43.361744 | 2021-08-20T10:46:00 | 2021-08-20T10:46:00 | 395,623,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef STACK_H_
#define STACK_H_
class Stack
{
public:
Stack(unsigned int size = 10)
: size_(size),
top_index_(-1),
element_(new int[size]())
{}
~Stack()
{
delete [] element_;
}
void Push(int data);
void Pop();
int top() const
{
retur... | [
"976851951@qq.com"
] | 976851951@qq.com |
67c4b45034839368bc1b3a69659c2944f0f5ed87 | f67bc52b0cccf2e45cba37a35262f6835de49196 | /Presentations/2020/12.December/17/TicTacToe/TicTacToe/TicTacToeGame.h | 999e1a603cdaa1eabe11e98413cda1375f9eb730 | [
"MIT"
] | permissive | lmsasu/MLReadingGroup | f7dc0b01f1997f80b3448895979694255e36fd2c | a17d2d62b4c7940b9829fc52eb0167847f9e7491 | refs/heads/master | 2021-06-16T07:29:57.243299 | 2021-02-12T05:42:43 | 2021-02-12T05:42:43 | 155,562,672 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 60 | h | #pragma once
class TicTacToeGame
{
public:
void Run();
};
| [
"k_arpi2004@yahoo.co.uk"
] | k_arpi2004@yahoo.co.uk |
4440f8b9292d951e97133c70a9d117d4a0a3dcd6 | 79c22c41efdf703d1831d610b45489d5cabd231e | /src/Map.h | db12164de605ec23a8c4df7c45f31d3a76108258 | [] | no_license | XenoAmess/LZHRA | 47c110a82f7518515e21f3ce4013a4b2b7f465ac | 61552483cbb1f180ba091f524319913cef47ef29 | refs/heads/master | 2021-03-27T17:24:00.959353 | 2019-03-18T04:06:35 | 2019-03-18T04:06:35 | 123,705,083 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | h | /*
* Trie,makes to replace std::map,but actually use much too memory (although runs a little faster)
*
*/
#ifndef MAP_H_
#define MAP_H_
#include"Common.h"
struct MapNode {
MapNode* father;
MapNode* sons[2];
List* val;
MapNode* buildSon(unsigned char index) {
sons[index] = new MapNode(this);
return sons[i... | [
"my-name@chromium.org"
] | my-name@chromium.org |
c3413732883f20d617a7b2dcd7bf8aa0510edbed | 5a406fc517d9c0dfe96164e155f508e1842120f0 | /OCTLib/code/simple_lin_interpl_FFT.cpp | b2880da4692b514a2219c55bb56ba252a0a19cf1 | [
"BSD-3-Clause-Clear"
] | permissive | rosmir/octlab | e41bd3a370d3bc25378f35227e440f2c28db3794 | a035478daea64f5b120debde9783c23e356df88b | refs/heads/master | 2020-04-14T11:01:32.405277 | 2019-10-27T16:51:25 | 2019-10-27T16:51:25 | 17,990,670 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,550 | cpp | /*******************************************************************************
* $Id: simple_lin_interpl_FFT.cpp 25 2010-01-19 05:47:46Z rosmir $
* Copyright (C) 2010 Stepan A. Baranov (stepan@baranov.su)
* All rights reserved.
* web-site: www.OCTLab.org
* ***** ******* ... | [
"stepan@baranov.us"
] | stepan@baranov.us |
4003a19110082eb3849434f8685cfa2c3619aeee | 444a9480bce2035565332d4d4654244c0b5cd47b | /research/cv/PaDiM/ascend_310_infer/src/main.cc | 4cd23dd18c86035a13a0fb1e6ea1eaf4c093a2a0 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license"
] | permissive | mindspore-ai/models | 7ede9c6454e77e995e674628204e1c6e76bd7b27 | eab643f51336dbf7d711f02d27e6516e5affee59 | refs/heads/master | 2023-07-20T01:49:34.614616 | 2023-07-17T11:43:18 | 2023-07-17T11:43:18 | 417,393,380 | 301 | 92 | Apache-2.0 | 2023-05-17T11:22:28 | 2021-10-15T06:38:37 | Python | UTF-8 | C++ | false | false | 4,546 | cc | /**
* Copyright 2022 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 ap... | [
"2875794302@qq.com"
] | 2875794302@qq.com |
cc599930db6e337caba11ace78c1bb44a343345b | 807933598ab844fa931cceede24cbb27b49f5609 | /src/common_types.h | 37a6c93157b98c9f2e991a2cf812a839bf6f4e73 | [
"MIT"
] | permissive | wwylele/teakra | 141853b714ac854949da8f8f760c5ace73c619b4 | 01db7cdd00aabcce559a8dddce8798dabb71949b | refs/heads/master | 2022-03-09T03:24:26.822596 | 2022-02-24T01:04:10 | 2022-02-24T01:04:10 | 119,041,479 | 74 | 14 | MIT | 2022-02-24T01:04:12 | 2018-01-26T10:57:39 | C++ | UTF-8 | C++ | false | false | 1,041 | h | #pragma once
#include <cstdint>
using u8 = std::uint8_t;
using u16 = std::uint16_t;
using u32 = std::uint32_t;
using u64 = std::uint64_t;
using s8 = std::int8_t;
using s16 = std::int16_t;
using s32 = std::int32_t;
using s64 = std::int64_t;
template <typename T>
constexpr unsigned BitSize() {
return sizeof(T) * ... | [
"wwylele@gmail.com"
] | wwylele@gmail.com |
7cfa199a449a3396ca6a9d44e1d6b91660516931 | fc3aa9ea0af827ceb1ae33af7edffeaa90750f45 | /src/EffectVCPU.cpp | ff1290c8d59b41f983dc6480afabd1dce05d7d60 | [] | no_license | nutti/GameEngine | 6ef06624970e4889220ad1dfa4c8105119bdd465 | 2b4f09465ecfcf0ed778ada7dbfe96aaa840d479 | refs/heads/master | 2016-09-05T09:06:20.595686 | 2014-03-09T11:30:55 | 2014-03-09T11:30:55 | 5,918,684 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,881 | cpp | #include "EffectVCPU.h"
#include <MAPIL/MAPIL.h>
#include "ScriptEffect.h"
#include "Enemy.h"
#include "Stage.h"
#include "SpriteBatch.h"
namespace GameEngine
{
EffectVCPU::EffectVCPU() : VM::VCPU()
{
}
EffectVCPU::~EffectVCPU()
{
}
void EffectVCPU::Init( VM::Data* pData, ScriptEffectData* pEffectData )
{
... | [
"nutti.metro@gmail.com"
] | nutti.metro@gmail.com |
f55e841db325d532048a1eb8014d9ac5fa63f316 | 9b7f8b025d3932939b333ff62f88159f9ff0b490 | /maths/fast_pow.cpp | 2ea1ec16f0c73dfc6ce65c416191a2190a4c258a | [] | no_license | afAditya/Competitive-Coding | b43b64e2ab12a3839a9822e1ec4d9b38620ee251 | 378fe8b8a95cb1419953052857291cc3afbe3fe4 | refs/heads/master | 2023-08-21T19:47:31.385873 | 2021-10-19T05:50:54 | 2021-10-19T05:50:54 | 418,787,747 | 0 | 0 | null | 2021-10-19T05:47:47 | 2021-10-19T05:47:46 | null | UTF-8 | C++ | false | false | 253 | cpp | #include<bits/stdc++.h>
using namespace std;
int fastPower(int a, int b){
int res = 1;
while(b > 0){
if( (b&1) != 0) {
res = res * a;
}
a = a * a;
b = b >> 1;
}
return res;
}
int main() {
int m=5,n=2;
cout<<fastPower(m,n);
} | [
"adityasinghrajput971@gmail.com"
] | adityasinghrajput971@gmail.com |
2aed6ce2389bccf27bf1c460e063d7a0836e316f | 692968a4cf79173b721e5ce0764fe62c97cf183b | /sceneTest/rawdatareader.cpp | 6d8eb90eb9e85d128ab548c92e6ed5ecab41088f | [] | no_license | YuryArnold/CodeSamples | ddc9e49094b7f3809f681d5d3783055c477bb011 | 26324297acbccaa8fe00b49b762d9e81506b8b13 | refs/heads/master | 2023-04-30T23:35:00.003700 | 2023-04-20T01:56:37 | 2023-04-20T01:56:37 | 238,295,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | cpp | #include "rawdatareader.h"
#include <QDataStream>
#include <QDebug>
RawDataReader::RawDataReader(QObject *parent) : QObject (parent)
{
numbOfPointsPortion = 1000;
}
RawDataReader::~RawDataReader()
{
}
void RawDataReader::parseDataFromFile()
{
int cntOfPoints = 0;
QPair<int16_t,int16_t> data;
QFile f... | [
"tmtm.com"
] | tmtm.com |
6a4e348808670beaf22bb2c983959623baa283d3 | 69a82af4b0358ff5b5cb68377cc08be35dad9c95 | /InMemoryDB/DBWrapper/DBWrapper.h | e934f8bd07e5a655ca3902b05db863af85fab9c0 | [] | no_license | karthikpm10/Object-Oriented-Design | caba03b4c9b74cbdcf460d69eae089878e47f9ea | fede865b4cd3da31126c59ef4516c8e58289a70a | refs/heads/master | 2021-09-10T18:53:03.413812 | 2018-02-08T06:13:19 | 2018-02-08T06:13:19 | 109,552,273 | 0 | 1 | null | 2018-03-31T05:02:17 | 2017-11-05T04:41:26 | C++ | UTF-8 | C++ | false | false | 11,603 | h | #pragma once
//////////////////////////////////////////////////////////////////////////////
// DBWrapper.h - key/value pair in-memory database //
// //
// Karthik Palepally Muniyappa,CSE687 - Object Oriented Design, Spring... | [
"karthikpm10@gmail.com"
] | karthikpm10@gmail.com |
11df8cb6e9827cb3d14b6633e96d2fa6f1e4a864 | 83b436628ea2c33589de186907294f4f49b5f746 | /BZOJ/Finished Tasks/BZOJ_1113.cpp | 3d2003f5994b91bb170b7fdcc5e309918720c20d | [] | no_license | bill125/OI | 728162511a1b90bda8e63b4d4f9d670147d298a9 | ffd1c94ff0e340ed0770ad48d99ab05290605007 | refs/heads/master | 2020-05-31T14:04:55.314839 | 2014-06-02T05:06:57 | 2014-06-02T05:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <iostream>
#include <set>
#include <map>
#include <queue>
#include <cstdlib>
using namespace std;
typedef long long ll;
typedef double db;
#define rep(i,n) for (int i = 0;i < n;++i)
#define repD(i... | [
"bill125@gmail.com"
] | bill125@gmail.com |
52768bee1ff45448101d453c58e7f838c79de1b6 | d645db5569db9a94e2353399b222d46620f6ea8f | /P6/Effects.cpp | f53a02562a0e1291c1d8fbd4a8325063b0cfa541 | [] | no_license | DrEvilBrain/CS3113 | 6c6741e7c6d765e4a3eb9ae9231c3da32e617903 | dc2675446badd2b2a89012dbdbc445213f0ece34 | refs/heads/main | 2023-05-11T12:34:31.405832 | 2021-05-12T21:58:27 | 2021-05-12T21:58:27 | 337,232,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | #include "Effects.h"
Effects::Effects(glm::mat4 projectionMatrix, glm::mat4 viewMatrix)
{
// Non textured Shader
program.Load("shaders/vertex.glsl", "shaders/fragment.glsl");
program.SetProjectionMatrix(projectionMatrix);
program.SetViewMatrix(viewMatrix);
currentEffect = NONE;
alpha = 0;
speed = 1;... | [
"drevilbrain@gmail.com"
] | drevilbrain@gmail.com |
b94f3b74c221d3cfdf10eb184058b5bf5ab581dd | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/iOS/Preview/include/Fuse.Controls.SafeEdgePanel.h | b01d91119a9174523664f69032e1483930c1ac86 | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,052 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Panels/1.12.0/SafeEdgePanel.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Controls.Panel.h>
#include <Fuse.Drawing.ISurface... | [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
ed2d6a2afd8e785046b19036579bdde4afed56d8 | 70e0667e2281db6f67ac44a179164474a588dd3c | /cyber/common/file.h | f09b5d128c19b7e9cbc24f92ee38cf56046c5a81 | [
"Apache-2.0"
] | permissive | L-Net-1992/apollo_windows | dd06bfaf648179c9334b87d1aa8dc11878a78a83 | 78db2493b7356f012ec5342c27c11ff592c664c5 | refs/heads/master | 2023-03-17T15:13:11.221761 | 2020-05-04T13:41:37 | 2020-05-04T14:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,022 | h | /******************************************************************************
* Copyright 2018 The Apollo 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
... | [
"mjopenglsdl@gmail.com"
] | mjopenglsdl@gmail.com |
fff7e2b33e4fcf1293f008cc75e7f6fe0a7825e3 | c74e77aed37c97ad459a876720e4e2848bb75d60 | /800-899/818/(30947816)[WRONG_ANSWER]D[ b'Multicolored Cars' ].cpp | d580b2d9b75c77e67117a23c99f57e7f4cabb070 | [] | no_license | yashar-sb-sb/my-codeforces-submissions | aebecf4e906a955f066db43cb97b478d218a720e | a044fccb2e2b2411a4fbd40c3788df2487c5e747 | refs/heads/master | 2021-01-21T21:06:06.327357 | 2017-11-14T21:20:28 | 2017-11-14T21:28:39 | 98,517,002 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long uLL;
typedef long double ldb;
typedef pair<int,int> pii;
int M[1000001];
int main()
{
ios_base::sync_with_stdio(0);cin.tie(0);
int n, A;
cin>>n>>A;
int B;
cin>>B;
if(B == A)
return cout<<-1<... | [
"yashar_sb_sb@yahoo.com"
] | yashar_sb_sb@yahoo.com |
e283229278986f19beb2c39dba2f71937d2371ef | 3042631cbb0fe0594adfba0f073de6d30cf02ff7 | /prj2-server/Server_GS.cpp | d0ba07d20bea90071ab89dcf867c6a1b36a9d93a | [] | no_license | ryanleek/2017_DataStructure_Final | 7f36b7a1bfd164cb62b22c59afbc8d2ac3920717 | 2b30ba9f3e1826de65fd8f84b7bd5260596a8278 | refs/heads/master | 2021-08-30T15:37:13.452138 | 2017-12-18T13:38:38 | 2017-12-18T13:38:38 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,937 | cpp | #include "Server.h"
bool Server::recvall(int index, char* data, int totalbytes)
{
int bytesrecieved = 0;
while (bytesrecieved < totalbytes)
{
int RetnCheck = recv(connections[index].socket, data, totalbytes - bytesrecieved, NULL);
if (RetnCheck == SOCKET_ERROR)
return false;
bytesrecieved += RetnCheck... | [
"30751720+ryanleek@users.noreply.github.com"
] | 30751720+ryanleek@users.noreply.github.com |
6d9073fd1fa9aab9a63e847f9e021fec7cc9d4a9 | 1668deb08746c2e20ffad917741a6263677e56ce | /LeetCode/Easy/height checker.cpp | 7c40af7d93d87493288105af65d9847ba70f24b7 | [] | no_license | sakshi0461/Data-Structure-And-Algo | ebad88097f8cc5b45d175fe96a0258e39f76d352 | daa1703b34c8d281243c7846c5382e840b9927cb | refs/heads/master | 2022-12-04T08:15:17.094571 | 2020-08-21T19:43:32 | 2020-08-21T19:43:32 | 281,624,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | class Solution {
public:
int heightChecker(vector<int>& heights) {
vector<int>num=heights;
sort(heights.begin(),heights.end());
int count=0;
for(int i=0;i<num.size();i++){
if(num[i]!=heights[i])
count++;
}
... | [
"iec2018046@iiita.ac.in"
] | iec2018046@iiita.ac.in |
5d8da864903b208f1d58902dec4f6feef1268046 | d6afd06eaf6178818c5a22fd5cb00614b8ab81c1 | /abstracta/protocolo.hpp | 35fb6963452149dc2a452a04a6384f9f5c647224 | [] | no_license | alonsokane/abstracta | 3d72d510156a2d6ecf24fdf835dd373789af2b28 | f57d069b06d3089a12302c809cc790c85e43b0c6 | refs/heads/master | 2021-04-06T20:45:51.467366 | 2019-10-08T02:43:13 | 2019-10-08T02:43:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | hpp | //
// protocolo.hpp
// abstracta
//
// Created by alonso paucar ugarte on 10/6/19.
// Copyright © 2019 alonso paucar ugarte. All rights reserved.
//
#ifndef protocolo_hpp
#define protocolo_hpp
#include <stdio.h>
#include <iostream>
#include <string>
#include "/Users/alonsopaucarugarte/Desktop/abstracta/abstracta/e... | [
"noreply@github.com"
] | alonsokane.noreply@github.com |
b81b26d435812f289d4b93e6eadc3ce968fafdfe | edbaf7821dd1541cab6658a345be56a88191557d | /src/sword.cpp | 8c811a91f762fda6d0931d27a546db26dc052543 | [] | no_license | jeremyelkayam/Warriors | 18853864b41374e83869aea7715e7eb8fbad9579 | a619f8ba3cf7349bbeddb260152678754f58e13a | refs/heads/master | 2023-06-10T03:30:47.299407 | 2023-06-01T22:42:15 | 2023-06-01T22:42:15 | 37,489,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | //
// Created by jeremyelkayam on 9/26/20.
//
#include "sword.hpp"
Sword::Sword(float xcor, float ycor, sf::Texture &texture, float warrior_width, sf::Color warrior_color)
: Entity(xcor,ycor,texture) {
color = warrior_color;
active = false;
//Set our sprite's coordinates to the center of the warrior to whic... | [
"jeremyelkayam@gmail.com"
] | jeremyelkayam@gmail.com |
8a151930cad10b8a9d388f2d773c2cc49ac73593 | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/services/device/public/mojom/screen_orientation.mojom-blink-test-utils.h | 1d3632cdc4257da0f3e360a477ddc9b13fc0e0cb | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | h | // 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.
#ifndef SERVICES_DEVICE_PUBLIC_MOJOM_SCREEN_ORIENTATION_MOJOM_BLINK_TEST_UTILS_H_
#define SERVICES_DEVICE_PUBLIC_MOJOM_SCREEN_ORIENTATION_MOJOM_BLINK_TEST... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
1a29133629bcc396e3869100288688f1b41527e6 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/sync/session_sync_service_factory_unittest.cc | 64f72fa693e98227bad036c4a5473ad094ce54bb | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,440 | cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/session_sync_service_factory.h"
#include "chrome/common/webui_url_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.... | [
"jengelh@inai.de"
] | jengelh@inai.de |
0c1509858efeb92a7db07d00ec78abc94079b28c | 50edab9babae446ac188df34a8c37d4fa537e946 | /libccif/src/bp/DeleteFlowReq.h | e852eb28a367d1a33ab8ddafa5932efc79203d7c | [] | no_license | krishnact/projects | e1cae86e05d30ad6bd4935ba7e4c25985f58d5d1 | 940a17ffa42afc28dbd8af2656e3611b87033116 | refs/heads/master | 2020-12-24T13:36:24.259601 | 2019-10-31T14:54:36 | 2019-10-31T14:54:36 | 24,039,232 | 0 | 0 | null | 2020-10-13T02:36:47 | 2014-09-15T02:04:17 | C++ | UTF-8 | C++ | false | false | 3,779 | h | #ifndef ORG_HIMALAY_CCIF_DELETEFLOWREQ
#define ORG_HIMALAY_CCIF_DELETEFLOWREQ
//@Generated(date = "Mon Feb 01 22:30:18 EST 2016")
// Copyright (2012) Krishna C Tripathi. All rights reserved.
//
// You are not allowed to read/copy/distribute following code without explicit written authorization from Krishna C Tripa... | [
"krishnact@himalay.org"
] | krishnact@himalay.org |
61a5c4d74891e71e23bb55758dbf2718d7bf2e5a | f8724feecc6ff9070a2f282cb68fbfe7d407b6b6 | /WebDL/MyForm.h | 3fd93e887bb7948952f65cd0d70e8602e3c0a4f6 | [] | no_license | pratyush997/WebDL | 7063acfd66ab4f2f59eb608b1dd9998ef39926ee | 0c82eb074daf78a4efe77d9450c15ce89b314a0e | refs/heads/master | 2020-04-10T03:59:48.612089 | 2016-09-06T19:46:22 | 2016-09-06T19:46:22 | 51,861,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,321 | h | #pragma once
namespace WebDL {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for MyForm
/// </summary>
public ref class MyF... | [
"pratyush997@outlook.com"
] | pratyush997@outlook.com |
a77eb246288f44e1a9c8a61e79d663866e21dc0e | 407ea15ce5e6fd6c113d565ad71d6cebfe287cd1 | /src/clamav_engine.h | 420098b3595a7785983cc5dee12e12d21229d297 | [
"Apache-2.0"
] | permissive | pombredanne/libclamav_test | c6c548961c44fd86de1581bc1725b73a0844df01 | 033863e6a418e14fdf37a8e3fb5848c815419bb8 | refs/heads/master | 2020-05-19T17:28:22.946690 | 2018-06-01T09:00:57 | 2018-06-01T09:00:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,511 | h | #ifndef CLAMAV_ENGIN_H_
#define CLAMAV_ENGIN_H_
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <string>
#include <map>
#include <vector>
#include "clamav.h"
enum ClamavScanStat
{
kScanStatIsVIRUS = 10,
kScanStatNotVIRUS,
kScanStatUnknow,
};
struct ClamavScanResult
{
const char ... | [
"realzhangm@163.com"
] | realzhangm@163.com |
cf40e88110fe077f39c8ffc5680f05a3e3ac561a | 8e073ed35d182c51c5519a4ac1e8ffb9d7614dbb | /TouchGFX/generated/gui_generated/src/screen_screen/screenViewBase.cpp | 1b391b731c2d655bbd1d8a0c4dbd00b59469a6f9 | [] | no_license | jshxcn/project-test | bcc672014a76504473bfbe7033573c0aff3cced2 | d548ace772d44011de69236b24d53a3f6d985589 | refs/heads/master | 2022-12-08T11:35:36.732245 | 2020-08-31T08:17:03 | 2020-08-31T08:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | cpp | /*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#include <gui_generated/screen_screen/screenViewBase.hpp>
#include <... | [
"harkja@hanmail.net"
] | harkja@hanmail.net |
720cfec3c2280b439c9dd540b32a8fa65aadfdc1 | 9508e06b39b258fc676ff1e8055cca5c1527e1d0 | /src/Log.h | aedd084b68092529dda92ff91c0d4fdb807fd96b | [] | no_license | fritzb/moderncpp | de00567a6138d5b930b90eb4057e9822457f5588 | 26d93ab3a5a26365dfd71f2d23cf9275ca2893c3 | refs/heads/master | 2020-05-16T12:37:58.851159 | 2019-06-20T23:08:12 | 2019-06-20T23:08:12 | 183,051,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | /*
* $Id: Log.h,v 1.1 2005/12/05 02:07:19 fzb Exp $
*
* Log.h --
*
* Fritz Budiyanto, October 2005
*
*/
#ifndef __LOG_H__
#define __LOG_H__
#include <string>
#include <stdio.h>
#include <stdarg.h>
#ifdef DEBUG
#define DEBUG_DEFAULT true
#else
#define DEBUG_DEFAULT false
#endif
class Log {
public:
// Typ... | [
"fritzbx@icloud.com"
] | fritzbx@icloud.com |
23439271e1ff33361a8a8edb6832116b5dc9285a | aeeb9442e954f6955dd832637bd4991503c20377 | /src/au_uav_ros/src/simPlaneObject.cpp | 3e3a71ff8dbff2c3b5c254c95039cdc8eee2a19f | [] | no_license | Idianale/au_uav_pkg | 8ad46b04c72e320bc58333ae5371ef58188635b9 | e38b06eef33d34c96a2d32ea2f6aed735a0d73d8 | refs/heads/master | 2021-05-31T22:46:18.812867 | 2016-06-07T16:10:25 | 2016-06-07T16:10:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,366 | cpp | #include "au_uav_ros/simPlaneObject.h"
using namespace au_uav_ros;
#define MAXIMUM_TURNING_ANGLE 22.5 //degrees
SimPlaneObject::SimPlaneObject(void) : PlaneObject() {
simSpeed = 1;
}
SimPlaneObject::SimPlaneObject(struct waypoint wp) : PlaneObject(wp) {
this->speed = MPS_SPEED;
simSpeed = 1;
}
void SimPlaneObje... | [
"viki@c3po.(none)"
] | viki@c3po.(none) |
d3d8f6b2cb84ddb9f1967f903e594a47319f6970 | 765d6788c1d123174e5df5afcd318fadd3c14ec6 | /Warzone-Reborn/LazyImporter.h | 709ea2b4d23665d38116151022e7b96b1a37d6ea | [] | no_license | ZENOMODzOFC/Warzone-Reborn | c654c4e928fc95fdc1d4e3209a05c1be95337284 | 12d00676b8bd1e242faf0a1e9553791a443992ce | refs/heads/master | 2023-02-06T23:17:08.498622 | 2020-12-30T08:45:01 | 2020-12-30T08:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,743 | h | #pragma once
#ifndef LAZY_IMPORTER_HPP
#define LAZY_IMPORTER_HPP
#define iat(name) \
::li::detail::lazy_function<::li::detail::khash(#name), decltype(&name)>()
#define LI_FN_DEF(name) ::li::detail::lazy_function<::li::detail::khash(#name), name>()
#define LI_MODULE(name) ::li::detail::lazy_module<::li::detail::k... | [
"63737942+zirconiium@users.noreply.github.com"
] | 63737942+zirconiium@users.noreply.github.com |
15b8be05ac2d07b7c29c5a769dd0474defb1af29 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-codedeploy/source/model/ListDeploymentGroupsResult.cpp | 8894bb99ef927de580c2ce4570f4e8383b5d321a | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,958 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
db6826dc50924a0f1a1715266b110dedde822eb3 | cf5ab3d9fc28fce297591ff12d760e152547ecc1 | /metabuilder/examples/mobileapp/src/platform/ios/platform_ios.cpp | cfd231b9dd2c1f3c9740b0db123445440810d305 | [
"MIT"
] | permissive | kjmac123/metabuilder | 19a1275f9913c8fa28507d176cf0f52050df0b2f | 71cba48d03241d5e2f8b5c96ef9139693f9bd1ad | refs/heads/master | 2020-05-18T11:36:20.393044 | 2019-03-09T15:11:24 | 2019-03-09T15:11:24 | 17,400,788 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp |
#include "core.h"
#include "platform/platform.h"
#include <mach/mach_time.h>
namespace Platform
{
static F64 g_machTimeToNs;
static mach_timebase_info_data_t g_timebase;
void Init()
{
mach_timebase_info(&g_timebase);
g_machTimeToNs = ((F64)g_timebase.numer / (F64)g_timebase.denom);
}
vo... | [
"kjmac123@gmail.com"
] | kjmac123@gmail.com |
292d710a0ddac736a33163516f925cbe22dab9a5 | c7ea1b3b93a04a7ef9b1f2811f6abf3c4f59a01f | /PAT/A1106 Lowest Price in Supply Chain.cpp | 2e0a290f1c20a0f5976d706c5657457ecb5b458b | [] | no_license | TicoHsueh/PAT_Practice | f020a8c59dfbdf2576efe71dcb8ee020954ed598 | c440a832bec389fdd51183b7f935d49274029474 | refs/heads/master | 2020-07-12T22:36:05.530341 | 2020-03-25T15:22:38 | 2020-03-25T15:22:38 | 204,924,128 | 0 | 1 | null | 2020-03-25T15:22:39 | 2019-08-28T12:15:31 | C++ | UTF-8 | C++ | false | false | 858 | cpp | #include "bits/stdc++.h"
#define MAXN 100010
#define INF 100000000
using namespace std;
int n;
double p,r;
vector<int> Adj[MAXN];
int minLay = INF;
int numOfLay[MAXN];
void DFS(int index,int layer)
{
if(Adj[index].size()==0){
if(layer<minLay){
minLay = layer;
numOfLay[layer] = 1;
... | [
"HsuehBo@outlook.com"
] | HsuehBo@outlook.com |
fdb80b0ba63efa6ef34f0e160a899dbbb67b1370 | 69aab86a56c78cdfb51ab19b8f6a71274fb69fba | /Code/inc/HUD/GameLabel.h | c02b1a30360757d07577132c67accdb068352cba | [
"BSD-3-Clause"
] | permissive | zc5872061/wonderland | 89882b6062b4a2d467553fc9d6da790f4df59a18 | b6e0153eaa65a53abdee2b97e1289a3252b966f1 | refs/heads/master | 2021-01-25T10:44:13.871783 | 2011-08-11T20:12:36 | 2011-08-11T20:12:36 | 38,088,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | /*
* GameLabel.h
*
* Created on: 2011-01-10
* Author: artur.m
*/
#ifndef GAMELABEL_H_
#define GAMELABEL_H_
#include "GameControl.h"
#include "GamePanel.h"
#include "MathHelper.h"
#include "GameBitmap.h"
#include "GameCommon.h"
#include <string>
#include <vector>
#include <memory>
clas... | [
"Artur.S.Mazurek@gmail.com"
] | Artur.S.Mazurek@gmail.com |
16d61836d419b847c36f1bdb8fd58b55cce96002 | 339d9e00297cac7fba1d95dfe72a3f515a2d3995 | /offb_test/devel/include/mavros_msgs/VFR_HUD.h | 5db484e7fbab1bacead727c9fdba79571511997c | [] | no_license | pjw9195/drone-offb_test | 5c88f2647d9b436c86cceb5737169638c7833e84 | ff6f908ebf34e9587fbda7bd40442400b45e7290 | refs/heads/master | 2020-04-03T21:53:13.696528 | 2019-07-19T04:38:57 | 2019-07-19T04:38:57 | 155,585,681 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | h | // Generated by gencpp from file mavros_msgs/VFR_HUD.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_VFR_HUD_H
#define MAVROS_MSGS_MESSAGE_VFR_HUD_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message... | [
"pjw9195@naver.com"
] | pjw9195@naver.com |
743018a5696a2a6493f70062f07555b08d24c7b9 | 74343c6485338177dd236d79f54720f51e03b07e | /Lista 1.1/Ex.15/Calculos.cpp | ff71aadbd00e588740e3b63e418427bf1400ea6d | [] | no_license | ElFaga/C-2020 | 41fe5e64a16f093d613270a15aefe359c1239192 | 7ab427e05cbc222a9bf975c43dfcc6804fa63d75 | refs/heads/master | 2022-12-06T01:19:13.202982 | 2020-08-25T18:49:14 | 2020-08-25T18:49:14 | 264,358,108 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <math.h>
#include <string.h>
#include <iostream>
int main (){
double a, b, c, r, s, som1, som2, d;
printf("Digite o valor de A: ");
scanf("%lf", &a);
if (a <= 0){
printf("\n");
printf("Valor invalido!");
printf("\n");
... | [
"noreply@github.com"
] | ElFaga.noreply@github.com |
ea9333a46a3f9bd34be03f23ba1a40fb26f4f0d7 | 75aab49ae1002249ff1b79276fa910498fd72bc6 | /合并石子.cpp | 1a4a385d58e74231c90b80cb18d21bb406a22d7f | [] | no_license | huang7262/lqb | 8f3347795b7d0208ab2d02c276a9e11e618133e6 | 562d23973f5cf8ec59c2f101fb43f7579f5a3e01 | refs/heads/master | 2020-03-21T09:35:20.174504 | 2017-10-28T09:55:10 | 2017-10-28T09:55:10 | 138,407,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | /*问题描述
* 在一条直线上有n堆石子,每堆有一定的数量,每次可以将两堆相邻的石子合并,合并后放在两堆的中间位置,合并的费用为两堆石子的总数。求把所有石子合并成一堆的最小花费。
* 输入格式
* 输入第一行包含一个整数n,表示石子的堆数。
* 接下来一行,包含n个整数,按顺序给出每堆石子的大小 。
* 输出格式
* 输出一个整数,表示合并的最小花费。
* 样例输入
* 5
* 1 2 3 4 5
* 样例输出
* 33
* 数据规模和约定
* 1<=n<=1000, 每堆石子至少1颗,最多10000颗。*/
#include <iostream>
using namespace s... | [
"wy5251702@qq.com"
] | wy5251702@qq.com |
d036b140ccc658fae9970c3276c377b9b10b7692 | 40712dc426dfb114dfabe5913b0bfa08ab618961 | /Extras/wxWidgets-2.9.0/src/gtk/mdi.cpp | a37cb4035d1bf9482e35119bef8fbaf6a82faf0f | [] | no_license | erwincoumans/dynamica | 7dc8e06966ca1ced3fc56bd3b655a40c38dae8fa | 8b5eb35467de0495f43ed929d82617c21d2abecb | refs/heads/master | 2021-01-17T05:53:34.958159 | 2015-02-10T18:34:11 | 2015-02-10T18:34:11 | 31,622,543 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,204 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/gtk/mdi.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id: mdi.cpp 59523 2009-03-14 01:24:45Z FM $
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
//////////////////////////////... | [
"erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499"
] | erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499 |
400e31bd920cd9cec0fc18df0cef7e6a163850f5 | 7d6d77717a23f0b03544b0a93114cd2355e12463 | /picnic_in_the_trees_p1_alex_larkworthy.ino | 9e0419810bc3348c541d4dab6f7e1edef9eb89e2 | [] | no_license | alexlarkwo/PhysicalComputingP1 | d68a7f2e0e0589814aa9e042b15ce18f451d705e | 0ce9bfc730f6dcd22f5e30652ffacbcf20926416 | refs/heads/master | 2020-07-05T13:20:23.536429 | 2019-08-16T04:31:21 | 2019-08-16T04:31:21 | 202,658,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | ino | int angle = 0;
int delaytime = 10;
int soundSensor = A2;
int lightVal;
int soundVal;
int lightSensor = A3;
int lightLevel;
unsigned long currentTime = 0;
boolean jitter = false;
#include <Servo.h>
Servo myservo1;
Servo myservo2;
void setup() {
myservo1.attach(7);
myservo2.attach(8);
Seri... | [
"noreply@github.com"
] | alexlarkwo.noreply@github.com |
258ed4d0c87f82596d00ff95288293294495be8f | 4ead26a90177ec360d2c92e3b9a513fa94eb268a | /src/instrument_reader.cpp | 40f44dcab89a685104b47870ec6918038dd3a8be | [
"MIT"
] | permissive | jose-navarro/astrolabe | f509fbec917b5ec94b48e9d383c46dd0d4f2d395 | 95482bf4ecd7c22e0bcef18aeae0d8b828b3327c | refs/heads/master | 2020-04-07T12:43:41.193990 | 2019-12-09T12:54:35 | 2019-12-09T12:54:35 | 156,842,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,623 | cpp | /** \file instrument_reader.cpp
\brief Implementation file for instrument_reader.hpp.
\ingroup ASTROLABE_data_IO
*/
#include "instrument_reader.hpp"
int
instrument_reader::
close
(void)
{
{
int status;
status = 0;
// If we were already closed, we'll simply ignore the request.
if (!data_chann... | [
"jose.navarro@cttc.es"
] | jose.navarro@cttc.es |
17743b5d7726cd72043489de9e37cf55b8d8cdb2 | d5208f8f6e5970b207b5c3cbcfcaa7e86da408d9 | /src/SSVStart/GameSystem/Timers/TimerStatic.cpp | 41516a114ec4584f5480630a1d3e5aa7ab756111 | [
"AFL-3.0",
"LicenseRef-scancode-unknown-license-reference",
"AFL-2.1"
] | permissive | respu/SSVStart | 023a821785b70556e07fb59c708bd633c18bf9aa | d369067fe7832cf29ef5c294b4e0a3a5d7d77177 | refs/heads/master | 2020-12-25T05:47:36.049350 | 2013-06-12T20:12:11 | 2013-06-12T20:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include "SSVStart/GameSystem/Timers/TimerStatic.h"
#include "SSVStart/GameSystem/GameWindow.h"
namespace ssvs
{
StaticTimer::StaticTimer(GameWindow& mGameWindow, float mStep, float mTimeSlice, float mMaxLoops) : TimerBase(mGameWindow), step{mStep}, timeSlice{mTimeSlice}, maxLoops{mMaxLoops} { }
StaticTimer::~Static... | [
"vittorio.romeo@outlook.com"
] | vittorio.romeo@outlook.com |
befdc33643d15443e317e137c5549e32e2d91fd4 | dc23eb8e14659ab8bb62001a3b3323cb50c2a8ef | /system/testing/gtest_extras/Isolate.h | aca409d904476456eac80825140028c600163951 | [] | no_license | wudeven/cells-android10 | e49c0c830da7041313289349e160385df5d12ef8 | d18dfa3ab597a37b8b71a14f094ba5b8afc75a93 | refs/heads/master | 2023-08-16T06:47:55.804251 | 2021-10-16T05:41:01 | 2021-10-16T05:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,035 | h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"jianglin@xdja.com"
] | jianglin@xdja.com |
e36530f1875f3f3d4fe041c42ea17f1d56fcf1a6 | 28ca4fe10b0b9a4ae917b665acf3545f7fb7c613 | /main.ino | bae4c9e5a25cc8993ddfa817d4b8ecc2dc03d936 | [] | no_license | eoinoreilly30/autonomous-mobot | 54175556947438d7fbb72725b11d4cf06c1d23c1 | c940d35cb8d48fd5e1f1ad920004ea178b5dd01f | refs/heads/master | 2021-08-17T16:16:29.041989 | 2020-05-13T23:45:32 | 2020-05-13T23:45:32 | 181,191,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,780 | ino | // Libraries used in BFS algorithm
#include <StackList.h>
#include <QueueArray.h>
/////////////////////////////////////////////////////////////////////////
// Wifi variables
////////////////////////////////////////////////////////////////////////
#ifndef __CC3200R1M1RGC__
#include <SPI.h>
#endif
#include <Wi... | [
"eoinoreilly30@gmail.com"
] | eoinoreilly30@gmail.com |
3143305992c2cf200131b8f1d6d32a15b83adbbf | 089077acd7dc512a1afde017692382b0b9ada02f | /SmartHSR/TinySolid/OpenSolid.h | 22b41ecd12afc6534588c4f4c1fb7fca5f3174e0 | [] | no_license | lizzyly7/SmartDraw | 6830b172cebcf2005366b7438d771af3faa137cf | cb891dbe66d75bbb3f692fce72e91402e1c97010 | refs/heads/main | 2023-04-19T05:54:52.948266 | 2021-05-04T11:02:01 | 2021-05-04T11:02:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | h | /********************************************************************
created: 2004/01/16
created: 16:1:2004 13:46
filename: D:\Project\PlantWAVE\OpenSolid\OpenSolid.h
file path: D:\Project\PlantWAVE\OpenSolid
file base: OpenSolid
file ext: h
author:
purpose:
********************************************... | [
"humkyung@atools.co.kr"
] | humkyung@atools.co.kr |
57ad0de2c0ea27b734ebd6fd08dcc068f87fb356 | e9193e13e5788952fd40abe65fa3ca6143369114 | /src/sst/elements/memHierarchy/testcpu/standardCPU.cc | 43d1c4835f266e88b18967483b49bd20bba61b6d | [
"BSD-3-Clause"
] | permissive | SalvatoreDiGirolamo/sst-elements | 00ea1786b3ef59dfbc9035ff98b68076c4fc90b6 | 8a491cf7149c400220b7bfcdf4de1fed6715ba7c | refs/heads/master | 2022-02-25T14:43:11.971363 | 2022-01-30T00:01:25 | 2022-01-30T00:01:25 | 217,837,549 | 0 | 0 | NOASSERTION | 2019-10-27T10:19:31 | 2019-10-27T10:19:31 | null | UTF-8 | C++ | false | false | 14,867 | cc | // Copyright 2009-2021 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2021, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory... | [
"grvosku@sandia.gov"
] | grvosku@sandia.gov |
468a7e8cfd565bc9299858784219cd2b0f97e5b2 | 41575c498b7197e97b12a8ce2a880047df363cc3 | /src/local/inp/win32/Driver.hpp | e83fa5de7c99e16690afefd7809f12b1b4068e89 | [] | no_license | gongfuPanada/page | f00a6f9015b4aad79398f0df041613ab28be405b | fa2ccdef4b33480c2ac5f872d717323f45618a34 | refs/heads/master | 2021-01-15T22:09:34.836791 | 2013-03-23T18:54:13 | 2013-03-23T18:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,221 | hpp | /**
* @section license
*
* Copyright (c) 2006-2013 David Osborn
*
* Permission is granted to use and redistribute this software in source and
* binary form, with or without modification, subject to the following
* conditions:
*
* 1. Redistributions in source form must retain the above copyright notice,
* t... | [
"davidcosborn@gmail.com"
] | davidcosborn@gmail.com |
8642e7c51cbce6efc1fdf17834a7fc4630b7ab8b | f76606b4e7ea1c34dd6b99a1ea6991c79e5592e0 | /src/elements/mupmedia.h | 57cfa34a3dc842f574034804509d259754dbb735 | [] | no_license | oleglite/MUP | 5bc31e34c1f16131c05984991d933c58bb8a1467 | 346ae80396bfc048835ffe0807e35fe703f960d8 | refs/heads/master | 2021-01-10T19:54:41.851887 | 2012-06-01T16:39:23 | 2012-06-01T16:39:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #ifndef MUPMEDIA_H
#define MUPMEDIA_H
#include "mupelement.h"
class MupMedia : public MupElement
{
public:
MupMedia(const QString& label, bool isSingle = false);
protected:
virtual QString groupElementOpenTag();
virtual QString groupElementCloseTag();
};
#endif // MUPMEDIA_H
| [
"beloglazov.oleg@gmail.com"
] | beloglazov.oleg@gmail.com |
67d16c966219fbe91e5ca53268e0b187f49ebb46 | 7845bd472e1a596dc17861884474ce0cdc607afa | /cpu.h | ab8f77781d3c29068b372c7e1691fe0e9266a9f5 | [] | no_license | salihbektas/Simple-CPU-emulator | 285b09b1480c1d8fe82500fb58df2d9b43ec68a5 | 5e221b3ea78231db800db8c079696bc070d79ad6 | refs/heads/master | 2021-01-20T13:26:45.014913 | 2017-05-06T22:17:28 | 2017-05-06T22:17:28 | 90,493,270 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 933 | h | #ifndef CPU_H
#define CPU_H
#include <string>
#include "memory.h"
using namespace std;
class CPU{
public:
CPU();
CPU(int option);
CPU(int reg1, int reg2, int reg3, int reg4, int reg5, int progcount);
void setR1(int value);
void setR2(int value);
void setR3(int val... | [
"noreply@github.com"
] | salihbektas.noreply@github.com |
7f38b94e836ad0d1a9367296fa2cf6a09216e1f6 | 839b0b1508840c45ef4ffad5e103e358fb821b94 | /src/StreetKombat/SpecialComponent.cpp | ac81d5ad1cc508174804a5ae8b814a181719a7e4 | [] | no_license | renanmms/StreetKombat | a74979b24adb43de3427cfacc8106ef6d1f44188 | 2c42d0a5f9aad9f276293cf95c5dd0896aa1a9b8 | refs/heads/master | 2023-05-04T02:37:10.041669 | 2021-05-29T20:40:28 | 2021-05-29T20:40:28 | 366,177,844 | 0 | 0 | null | 2021-05-29T01:34:21 | 2021-05-10T21:16:46 | C++ | UTF-8 | C++ | false | false | 1,361 | cpp | #include "SpecialComponent.h"
#include "Component.h"
#include "Special.h"
SpecialComponent::SpecialComponent(Character* owner, std::vector<int> activationSequence)
:Component(owner,110)
,owner(owner)
,mCurrentState(0)
,mLastKeyTime(0)
,deltaTime(0)
,mRechargeTime(0)
,mActivationSequence(activationSequence)
{
}
... | [
"12pedro07@gmail.com"
] | 12pedro07@gmail.com |
ed734cc34827163af386c17c3923682ec8277ea1 | bf06c4ed2965abc45dde0f42f7c9b86b5f855184 | /Entity.cpp | 28ea3c44adfd029a4dffdcab6b1bc5252a60920a | [] | no_license | Matheu1305/CPP_SPACE_INVADERS | 680599bb912abf6451e172da795b2f4467c85bca | 4b002ea80762001b35040f318927d560253aacb5 | refs/heads/master | 2021-05-22T22:09:05.431744 | 2020-04-04T23:03:32 | 2020-04-04T23:03:32 | 253,118,607 | 0 | 0 | null | 2020-04-04T23:30:16 | 2020-04-04T23:30:15 | null | ISO-8859-1 | C++ | false | false | 1,102 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include <iostream>
#include <string>
#include <conio.h>
#include "Entity.h"
using namespace std;
void SetCursorPosition(int x, int y){
HANDLE output = GetStdHandle(STD_OUTPUT_HANDLE);
COORD pos = {x,y};
SetConsoleCursorPosition(output, pos... | [
"noreply@github.com"
] | Matheu1305.noreply@github.com |
46291ee6bf499d203114bdb8a35583840a69b169 | d61f2cac3bd9ed39f95184b89dd40952c6482786 | /testCase/results/16/U | 97f3ceef398bea897f04a24c8b23512e95f09faf | [] | no_license | karimimp/PUFoam | 4b3a5b427717aa0865889fa2342112cc3d24ce66 | 9d16e06d63e141607491219924018bea99cbb9e5 | refs/heads/master | 2022-06-24T08:51:18.370701 | 2022-04-28T18:33:03 | 2022-04-28T18:33:03 | 120,094,729 | 6 | 3 | null | 2022-04-27T09:46:38 | 2018-02-03T13:43:52 | C++ | UTF-8 | C++ | false | false | 26,983 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"mohsenk@outlook.com"
] | mohsenk@outlook.com | |
6cd72988cb37f842e5f057ec741eb5f1db7c2984 | 5bb3a45942b6c6812c93a7ebcebc69f05d4581cc | /demo/src/main.cpp | a9712f72932b35c8af0734faea44cf6583721bb8 | [] | no_license | fenghaotong/cmake-study | de5ff51a46f4e5335c65de46a728cb8efd322c32 | a127e51d83ed320523240655d1eed399ee95d5fa | refs/heads/master | 2023-07-18T15:58:49.816077 | 2021-09-17T03:19:46 | 2021-09-17T03:19:46 | 393,227,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,753 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <winsock2.h>
#include <iphlpapi.h>
// Link with Iphlpapi.lib
#pragma comment(lib, "IPHLPAPI.lib")
#define WORKING_BUFFER_SIZE 15000
#define MAX_TRIES 3
#define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x))
#define FREE(x) HeapFree(GetProcessHeap(), ... | [
"fenghaotong@datagrand.com"
] | fenghaotong@datagrand.com |
72aca89ebde83415e199a363b809c4ec1729d195 | cfa21acecb795e3dc168efa9029ecf86cd058d3f | /ConvexHull/main.cpp | e27ac0496e3bf2068489e682d3439c241f8b3823 | [] | no_license | kbjjun0707/Algorithm | 88c74770a25475bd2579a1b50f22e85a6de70ebe | 2a0c66dc616d830a2122a9ed61c1afb5f954b934 | refs/heads/master | 2021-01-19T20:11:58.586894 | 2017-04-18T02:46:35 | 2017-04-18T02:46:35 | 88,494,693 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,651 | cpp | #include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
struct Point2f {
float x, y;
Point2f(const Point2f &src) {
this->x = src.x; this->y = src.y;
}
Point2f(float x = 0, float y = 0) {
this->x = x; this->y = y;
}
Point2f operator-(const Point2f &b) {
return Point2f(this->x - b.x,... | [
"kbjjun0707@naver.com"
] | kbjjun0707@naver.com |
4daa820e8e0392268c3bd4888472f653e5dfb47f | 0c51500f87101f13c471f0c310e9451a87adc714 | /nfdrs/cnfdrs.h | 9509a570e6e509f3ad755f97b768c8b01619491b | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | firelab/wfips | a5e589fde41579e87008a7900a87692ec985e529 | 6b3bd4934d281ebb31164bd242a57079a82053b0 | refs/heads/master | 2020-05-01T06:03:41.792664 | 2017-01-27T19:31:55 | 2017-01-27T19:31:55 | 14,540,320 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,747 | h | /******************************************************************************
*
* $Id: cnfdrs.h 79 2012-07-26 15:36:43Z kyle.shannon $
*
* Project: NFDRS library
* Purpose:
* Author: Stu Britan <stu at fire dot org>
*
******************************************************************************
... | [
"kyle@pobox.com"
] | kyle@pobox.com |
6a1f8976f72c2db220066272b0d384da21fef1e2 | 4a8f783118bd1bba8023f5dbd499b08e1822ce93 | /src/Domain/ElementLogicalCoordinates.cpp | 052fed6230e849f927b1a6bf293400c85cce6506 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | denyzamelchor/spectre | 8db0757005dea9bb53cd7bd68ee8d11551705da4 | 1c1b72fbf464827788dbbdb8782a8251a2921c48 | refs/heads/develop | 2020-04-26T05:57:25.244454 | 2019-06-22T04:11:17 | 2019-06-22T04:11:17 | 155,779,028 | 0 | 0 | NOASSERTION | 2018-11-01T21:38:07 | 2018-11-01T21:38:06 | null | UTF-8 | C++ | false | false | 4,549 | cpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "ElementLogicalCoordinates.hpp"
#include <array>
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>
#include "DataStructures/IdPair.hpp"
#include "DataStructures/Tensor/Tensor.hpp" // IWYU pragma: keep
#inclu... | [
"scheel@tapir.caltech.edu"
] | scheel@tapir.caltech.edu |
64cac577d618f25b4934cda55bd45dedbc869e88 | 66a237cf903be1caacfc0e4098431bbdf7088fc8 | /external/GamePlay/gameplay/src/Node.h | 229ddfc02ddb23648a2b1238c67865506d5eb5b2 | [
"Apache-2.0"
] | permissive | brucelevis/platformer | 95abcb0f63adf64d7f641ba2239b7adb12c1903f | 9d794338ac4d18ac439b5b47bab3cfeb538f79bb | refs/heads/master | 2023-03-20T07:29:48.784013 | 2017-09-03T16:48:06 | 2017-09-03T16:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,051 | h | #ifndef NODE_H_
#define NODE_H_
#include "Transform.h"
#include "ScriptTarget.h"
#include "Model.h"
#include "Sprite.h"
#include "TileSet.h"
#include "Text.h"
#include "Form.h"
#include "ParticleEmitter.h"
#include "Camera.h"
#include "Light.h"
#include "PhysicsRigidBody.h"
#include "PhysicsCollisionObject.h"
#include... | [
"louis.mclaughlin@yahoo.co.uk"
] | louis.mclaughlin@yahoo.co.uk |
a7150e7c85d9b6c792e817d99c3c4c8925f8be40 | 1b4f9ec9bcf9b0b2610945c85cd7f76071d27097 | /Linked Lists/Insert a node at a specific position in a linked list.cpp | 39e7cc6b48d82edeb12e14d05a612e05e251fd53 | [] | no_license | vishal-d/Hackerrank-Interviewkit-solutions | bc6ff86b5a1c0dcfc3c9f9eb0d0ddcada90436cd | b0b5a90c2bfe186e9629664242a73a435b45f63a | refs/heads/master | 2022-12-27T20:49:57.904858 | 2020-09-30T13:41:44 | 2020-09-30T13:41:44 | 288,418,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | /*
* For your reference:
*
* SinglyLinkedListNode {
* int data;
* SinglyLinkedListNode* next;
* };
*
*/
SinglyLinkedListNode* insertNodeAtPosition(SinglyLinkedListNode* head, int data, int position) {
SinglyLinkedListNode* newnode= new SinglyLinkedListNode(data);
//newnode->data=data;
Singly... | [
"noreply@github.com"
] | vishal-d.noreply@github.com |
06dcbf59227f84a460f4cf793088c9477454b7ce | 4d0166c58be6a031c695295ded4192cfac202fc3 | /bin/mac64/cpp/obj/include/com/haxepunk/graphics/atlas/_AtlasData/AtlasDataType_Impl_.h | 2ee624e069954ae98a7870e4c809d6adafc3dd07 | [] | no_license | tobyalden/worry | 8d1262c91fa0cb491e917492baf9ce0a5fc45d1a | ebb9892175c92772142e3d48f3d4571132670863 | refs/heads/master | 2021-01-10T02:44:23.673599 | 2016-03-24T01:40:57 | 2016-03-26T02:08:12 | 53,271,643 | 0 | 2 | null | 2016-03-27T22:42:13 | 2016-03-06T19:19:26 | C++ | UTF-8 | C++ | false | false | 2,340 | h | #ifndef INCLUDED_com_haxepunk_graphics_atlas__AtlasData_AtlasDataType_Impl_
#define INCLUDED_com_haxepunk_graphics_atlas__AtlasData_AtlasDataType_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS4(com,haxepunk,graphics,atlas,AtlasData)
HX_DECLARE_CLASS5(com,haxepunk,graphics,atlas,_AtlasData,AtlasDataT... | [
"toby@Tobys-MacBook-Pro.local"
] | toby@Tobys-MacBook-Pro.local |
7b8885cebe72a664d863633cc3e3f1a6ee18960d | 63480c2926743ef75310e8b604b3ff110b493241 | /QML_SeaBattle/cbattlefield.cpp | 9f2f51d4c83cdb66ac77c5300facf99148d2df4c | [] | no_license | lmd-luxoft/labwork-RuslanSan | f5e6a13ddd7cc666c9f2f2da6fe489c56f97c5d1 | c3f99e54b6e86620110cd894fa9aabeae9550042 | refs/heads/main | 2023-03-12T04:39:10.238198 | 2021-03-03T07:12:14 | 2021-03-03T07:12:14 | 339,020,257 | 0 | 0 | null | 2021-02-15T09:07:14 | 2021-02-15T09:07:10 | null | UTF-8 | C++ | false | false | 2,795 | cpp | #include "cbattlefield.h"
#include "cships.h"
#include <algorithm>
const quint8 C_amountOfRows = 10;
CBattleField::CBattleField(QObject *parent) : QObject(parent),
m_amountOfRows(C_amountOfRows),
m_playerIsComputer(false),
m_availableCells(),
m_firedCells(),
m_ships(C_amountOfRows, C_amountOfRows... | [
"russanemail@gmail.com"
] | russanemail@gmail.com |
ec833d062a0c1f53d91393f0d8786ef5e9ccc13c | 3c761ddfeadde07c39f033b12457fe490df6339f | /moneyhub2.2/BankUI/UIControl/BaseClass/MouseObjContainer.h | 0b5688d291618c4400cd6effc408f6c8408d7610 | [] | no_license | 3660628/chtmoneyhub | d8fe22cef017d7a12b4c582667b6484af01032d2 | 7861d387a49edfe395379c1450df18cb1b8658f2 | refs/heads/master | 2021-01-02T09:20:08.263263 | 2012-01-11T08:32:20 | 2012-01-11T08:32:20 | 33,034,456 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,280 | h | #pragma once
// 之所以要弄这么一个类,主要是需要传递一些数据,模板类实例化之后,就不好写成指针的形式了
class CBaseProperties
{
public:
CBaseProperties() : m_bIsInWindow(false), m_iAlwaysStatus(0), m_iContainerType(-1), m_bIsPushDownButtonDown(false) {}
bool IsInWindow() const { return m_iAlwaysStatus > 0 ? true : m_bIsInWindow; }
void Se... | [
"robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1"
] | robustwell@218c79bb-c378-f353-48b6-e0d4b39d76f1 |
8d221743a7a058653f826b3a0ead43c4656a948c | 05f8bb5289d3056ad7e4e20f05cfc98294838a1c | /tools/toy/mlir/ShapeInferencePass.cpp | cf3e492989b0f6f7cb1cb55487713720e1cfe6b5 | [
"MIT"
] | permissive | quantapix/qnarre | 72fc18d605dfa5db8a056016a7e5cbb2b19ad2da | a37ccb61338ce3d733c0f0ec1c9d40000b93132d | refs/heads/main | 2023-08-30T23:25:16.401972 | 2023-08-29T00:43:52 | 2023-08-29T00:43:52 | 178,420,195 | 2 | 0 | Apache-2.0 | 2021-09-27T21:56:01 | 2019-03-29T14:26:31 | Python | UTF-8 | C++ | false | false | 4,150 | cpp | //===- ShapeInferencePass.cpp - Shape Inference ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"quantapix@gmail.com"
] | quantapix@gmail.com |
4e44d91acdcd8b7d2d5bce7c37e03e75ee6d4abb | f94894ab8253b5f15445d56111a031b49785f8b0 | /Kaynak.cpp | 5acc9eb01d29179e6b913ff4c7bcbbd8bb33c26c | [] | no_license | ilhan-sadikoglu/Polymorphism | c42d54d3d905d2d931dfe2feadae38de2b701b93 | c695eed3f0ace718127a8d743c85c19d33fe8bf9 | refs/heads/master | 2022-09-10T08:20:27.329351 | 2020-05-30T09:26:01 | 2020-05-30T09:26:01 | 268,047,898 | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 2,216 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
class Sekil { //nesnesi oluşturulamayan sanal bir sınıf
public:
int getKenar() {
return kenar;
}
int getTaban() {
return taban;
}
int getYukseklik() {
return yukseklik;
}
int setTaban(int a) {
taban = a;
}
in... | [
"noreply@github.com"
] | ilhan-sadikoglu.noreply@github.com |
eb7757a8cfe16766bb604438bc5af65460320123 | 7f041147e9a40340a446832b134172a871d90e34 | /demo/zfsrc/ZFFramework_test/ZFCore_test/ZFCore_ZFObserverGroup_test.cpp | 506612984a26dcbf7af67619f03323befb1a8318 | [
"MIT"
] | permissive | ZFFramework/ZFFramework | cf5eaff500b30469e9a7f975a23812b05147442f | f7b6daed830232e3d883e1520d097f8422c38800 | refs/heads/master | 2023-08-31T21:38:34.437769 | 2023-08-30T10:31:08 | 2023-08-30T10:31:08 | 43,946,097 | 60 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | cpp | #include "ZFCore_test.h"
ZF_NAMESPACE_GLOBAL_BEGIN
zfclass ZFCore_ZFObserverGroup_test : zfextend ZFFramework_test_TestCase {
ZFOBJECT_DECLARE(ZFCore_ZFObserverGroup_test, ZFFramework_test_TestCase)
ZFOBSERVER_EVENT(ZFObserverGroupTest0)
ZFOBSERVER_EVENT(ZFObserverGroupTest1)
protected:
zfoverride
... | [
"z@zsaber.com"
] | z@zsaber.com |
389e11003aefca03875d9deb25d8b82fdbcab1e4 | e0e025b0b186e047461d2d74ea5fa84fb8a21f7b | /.history/8_cosuri_20210307084423.cpp | f6ab7a6510355cf37f50df8ae625c3f282de8732 | [] | no_license | xKristee29/1nfo | fbd4b9c1b50f45fbd10b968f39d342a47a007da7 | 1aa9ec38f24a54c76cab8d94212bd33df616082d | refs/heads/main | 2023-03-20T02:04:51.730374 | 2021-03-08T20:24:55 | 2021-03-08T20:24:55 | 345,783,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <bits/stdc++.h>
using namespace std;
ifstream f("cosuri.in");
ofstream g("cosuri.out");
multiset<int> s;
int n,cerinta;
int main(){
f>>cerinta>>n;
if(cerin)
return 0;
} | [
"c90717489@gmail.com"
] | c90717489@gmail.com |
d1aa9f6bc956343c7475566b2ff7efcf92297b9c | 868da0c4a384082f015ecb01f98ebd4c5a06ba07 | /algorithms/anagram/anagram.cpp | 27a4bfc8af7ed3f8d821bb507245e6d097c12c08 | [] | no_license | datumbrain/cpplibs | deff2395fa87c0970fe2e9d0db00213e760f564b | 01c1dedc8acfc18f0510a88175d34b560cb85586 | refs/heads/master | 2021-04-15T19:12:16.447573 | 2018-07-06T07:29:34 | 2018-07-06T07:29:34 | 94,587,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#define ALPHABETS_LENGTH 26
int anagram[ALPHABETS_LENGTH];
int main () {
ifstream fin("./anagram_input");
if (!fin) {
cout << "Input file not found.";
return 1;
}
char ch;
for (int i = 0 ; i < ALPHABETS_LENGTH ; i++)
... | [
"fsdqui@gmail.com"
] | fsdqui@gmail.com |
49af80b4966f2779348584e68e462dc73484113f | be72da9e96f0be4ca2f3ff204e972d2a98442f52 | /FileManager.h | 529939b0d9bfda36af31cfa2aa5a8a8c785d87d1 | [] | no_license | easyhooon/Basic-Major-Project-2 | 44654b79bc05798d3d65c1fc893d24da3fc0d0a6 | 0bbde1883d4b45992ff48201955ecd2a085a4681 | refs/heads/main | 2023-01-21T01:01:13.627710 | 2020-12-03T09:03:21 | 2020-12-03T09:03:21 | 318,132,621 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 233 | h | #pragma once
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
//파일 스트림 부모 클래스
class FileManager {
public:
void fileSave(string fileName) {
}
void fileLoad(string fileName) {
}
}; | [
"51016231+easyhooon@users.noreply.github.com"
] | 51016231+easyhooon@users.noreply.github.com |
a2570a06245d4a738bb073dd646f8f37f3024c31 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/adsi/novellnw/cschema.hxx | 7edc575e9938390edfea554435e02f7287c880c6 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,629 | hxx |
typedef struct _PropertyInfo
{
LPTSTR szPropertyName;
BSTR bstrOID;
BSTR bstrSyntax;
long lMaxRange;
long lMinRange;
BOOL fMultiValued;
DWORD dwFlags;
DWORD dwInfoLevel;
DWORD dwSyntaxId;
}PROPERTYINFO, *PPROPERTYINFO, *LPPROPERTYINFO;
typedef struct _ClassInfo
{
B... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.