blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f59f07a5aed925ab2615af4ebb3b05ef83cc675 | efdc794bc1152d9e702ea03e32142cf4ff1031cd | /third_party/pdfium/xfa/fxfa/app/xfa_ffbarcode.cpp | b136b8da5a570f81b39ac8afb7b8b607f68bb832 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | taggun/node-pdfium | c3c7c85fd4a280993aa0ce99dcb2f41ce8d592dc | 1990bc55e39f700434841e35078cecaa347b1e36 | refs/heads/master | 2020-12-02T12:44:31.341993 | 2020-02-26T20:52:34 | 2020-02-26T20:52:34 | 96,583,707 | 3 | 3 | BSD-2-Clause | 2020-02-26T20:48:59 | 2017-07-07T23:34:05 | C++ | UTF-8 | C++ | false | false | 10,067 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/app/xfa_ffbarcode.h"
#include "core/fxcrt/fx_ext.h"
#inclu... | [
"michael.arthur@ikegps.com"
] | michael.arthur@ikegps.com |
4ed12d801f53240621bff19d5c9583c2d6ea7a7c | 5793887005d7507a0a08dc82f389d8b8849bc4ed | /vendor/mediatek/proprietary/hardware/mtkcam/feature/core/featurePipe/streaming/QParamsBase_t.h | f1187286d8ddd5a7de96e18f2e7ada9382437de7 | [] | no_license | wangbichao/dual_camera_x | 34b0e70bf2dc294c7fa077c637309498654430fa | fa4bf7e6d874adb7cf4c658235a8d24399f29f30 | refs/heads/master | 2020-04-05T13:40:56.119933 | 2017-07-10T13:57:33 | 2017-07-10T13:57:33 | 94,966,927 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,321 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"wangbichao@live.com"
] | wangbichao@live.com |
d53fa9a44d277a5bc5a13314b626260eeeec6c26 | a05f3e3bcc9f1161f5890f98eaf1a4a7129846ce | /c++/MMD/ReadPMD.cpp | ab88ec84a6cf32d5c31dd4ba16ffa9d3ba17fa95 | [] | no_license | sosflyyi/laboratory | 17d3d0e13a62674c244a3bcd7bdca8803fe89f32 | 9a3f47c99279e328d2719d21dfd13cd212fab5b6 | refs/heads/master | 2023-04-09T23:20:02.592346 | 2016-05-09T13:27:16 | 2016-05-09T13:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | /**
* @file
* @brief
*
* @author Takuya Shishido
* @date 2012.07.09 22:54:19
*
* @version 0.01, Shishido Takuya, 2012.07.09 22:54:19
* (c) 2012 Konami Digital Entertainment Co., Ltd. All Rights Reserved.
*/
//-----------------------------------------------------
// include
//------------------------... | [
"joke0201@gmail.com"
] | joke0201@gmail.com |
26183ff6a74efa52fe4323a8ad1700fe8ef2a951 | 9eb4e3d423bc1410674cdf3d27678a59a5a2a8e5 | /cpp/classes/sunblind/cornice.cc | 8e9c3aec2ac614518490559f17536349ed17ffcb | [] | no_license | alexdreamwalker/web-constructor | 41fe86ed80e7b66aaf2559445b7afd4bd31b854e | a9764069d1de4c00cfc328e55ec950e2cdc94e32 | refs/heads/master | 2021-01-18T21:08:47.624302 | 2014-02-12T14:59:32 | 2014-02-12T14:59:32 | 36,761,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cc | #ifndef CORNICE_HPP
#define CORNICE_HPP
#include "../complectation.cc"
class Cornice: public Complectation
{
public:
Cornice() {}
virtual float calculate()
{
return 3;
}
};
#endif
| [
"dreamer@dreamer-ThinkPad-X121e.(none)"
] | dreamer@dreamer-ThinkPad-X121e.(none) |
30dd5e3f983217ef8af13147373822138d8880c8 | e9e7fba53f740c33258b4024035d06a9458a7809 | /src/Utilities/telemetry_logging.h | 66994d0873d0bd480abb5b260571ceb87c113791 | [] | no_license | kirencaldwell/StateEstimation | b6baedab7fa412bdc98865082631164b3a5e8abc | b4da1fc7bdd3265857fe4bb71c1e758396ddfd7a | refs/heads/main | 2023-08-16T04:44:42.850228 | 2021-09-24T21:51:21 | 2021-09-24T21:51:21 | 343,886,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | #ifndef TELEMETRY_LOGGING_H_
#define TELEMETRY_LOGGING_H_
#include "../../Eigen/Dense"
#include <iostream>
#include <vector>
#include "utilities.h"
#include <fstream>
using Eigen::MatrixXd;
using Eigen::VectorXd;
class Signal {
public:
Signal(std::string signal_name);
std::string GetSignalString(... | [
"kirencaldwell@gmail.com"
] | kirencaldwell@gmail.com |
d83cc1ab1d173f5978415836b2ab8a156376ca72 | 5a46c5434d622ca0e035526c094614a1f6eddb44 | /project/include/Audio.h | eac5f944d51f445a6844e2ddd090513fbc3206fa | [
"MIT"
] | permissive | TiVo/NME | b60833a99dbfebb27c93e0c50df4a14510cad728 | 37577ad54430e5cde9aa0b2477083098698b2f74 | refs/heads/master | 2021-01-18T07:51:54.714397 | 2013-09-09T18:10:31 | 2013-09-09T18:10:31 | 12,600,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | h | #ifndef AUDIO_H
#define AUDIO_H
#include <QuickVec.h>
#include <Utils.h>
namespace nme {
class AudioSample {
};
class AudioStream {
};
enum AudioFormat {
eAF_unknown,
eAF_auto,
eAF_ogg,
eAF_wav,
eAF_mp3,
eAF_count
};
//The main audio interface
namespace Audio {
AudioFormat determineAudio... | [
"fuzzyspoon@gmail.com"
] | fuzzyspoon@gmail.com |
4c7959800dfaba0fab39a5c5c05f28fb12845ed7 | 6c15077cdd6ec01215332c58428d2d9bda3217b1 | /spank3d/inc/ui/parsers/IWindowParser.h | bd69bfb33ccb9ff960b0c87bbe27015304d1ed50 | [] | no_license | zjhlogo/spank3d | 6efb88a59ef281707bafaeab74736482a7c13bd8 | 540b197d1a66bb72cc2fc30f1476b22c6ce1c3b3 | refs/heads/master | 2016-09-10T19:19:27.739776 | 2013-04-18T01:12:46 | 2013-04-18T01:12:46 | 32,371,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | h | /*!
* \file IWindowParser.h
* \date 10-23-2012 15:46:20
*
*
* \author zjhlogo (zjhlogo@gmail.com)
*/
#ifndef __IWINDOWPARSER_H__
#define __IWINDOWPARSER_H__
#include "../../core/IObject.h"
#include "../controls/IWindow.h"
#include <tinyxml-2.6.2/tinyxml.h>
class IWindowParser : public IObject
{... | [
"zjhlogo@146e4613-b970-0576-f1ea-3e13f537ed8b"
] | zjhlogo@146e4613-b970-0576-f1ea-3e13f537ed8b |
f890dcb4a2fd32bb8d30fd7c3227b51810da0a33 | 934b88d9a7c06b1e389c98adfa6e4b491f073604 | /Simulation/Simulation/1057.cpp | 0f51cebd4318ed7a00cdea14b7012c835937e670 | [] | no_license | flash1117/Algorithm | cf7ac89588bd3c9fb03b7964559b6b16130e83d7 | 1331972e573aa6e6661cb37ff291c258a8ed456a | refs/heads/master | 2023-02-10T21:32:47.088851 | 2021-01-05T14:02:31 | 2021-01-05T14:02:31 | 152,283,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | #include <iostream>
using namespace std;
int N, a, b;
int solve() {
int round = 1;
while (N) {
if (b > a && b - a == 1 && b % 2 == 0) return round;
else if (a > b && a - b == 1 && a % 2 == 0) return round;
else round++;
a = a / 2 + a % 2;
b = b / 2 + b % 2;
N /= 2;
}
return -1;
}
int main() {
... | [
"flash1117@naver.com"
] | flash1117@naver.com |
e2759b121cd293aa18e7729f587756bdbff31471 | c30d20ffd5522d4fe3e9fca3fb30e19931ab9e97 | /Versionen/stand_semesterende_01_07_2021/RMF/rmf_ws/install/rmf_task_msgs/include/rmf_task_msgs/msg/detail/priority__rosidl_typesupport_introspection_cpp.hpp | 1cb656fe81b0decfe5e01ee352f82d0abf44ccc5 | [
"MIT"
] | permissive | flitzmo-hso/flitzmo_agv_control_system | 557f1200c0f060264e4d6ea688e104cabd9d0568 | 99e8006920c03afbd93e4c7d38b4efff514c7069 | refs/heads/main | 2023-06-19T08:18:30.282776 | 2021-07-09T18:05:09 | 2021-07-09T18:05:09 | 358,238,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | hpp | // generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from rmf_task_msgs:msg/Priority.idl
// generated code does not contain a copyright notice
#ifndef RMF_TASK_MSGS__MSG__DETAIL__PRIORITY__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define RMF_TASK... | [
"aline.schaub@web.de"
] | aline.schaub@web.de |
01527c285a49f11df9289e90b76b3e82e26b407e | 81ded04643728a64ee021250fc5ad8381bdd77e1 | /SportsWorldCup/Classes/URLDelegator.h | b6c00afabc022b70601cdce10ac66b1b2b50ca6e | [] | no_license | LitQoo/SportsWorldCupForKaKao | d5b16e9fe43c264853fe701a133e4f4fe27fbb1b | 90fe941bf0dad5a31d128c4ad6a80a1aaf90d5b7 | refs/heads/master | 2021-03-22T02:58:32.441110 | 2013-05-30T09:05:56 | 2013-05-30T09:05:56 | 10,356,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | h | #pragma once
#include "cocos2d.h"
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
#include "android/jni/JniHelper.h"
#include "jni.h"
#endif
using namespace cocos2d;
using namespace std;
typedef void (CCObject::*RecvSelType)(string);
#define recv_selector(_SELECTOR) (RecvSelType)(&_SELECTOR)
class URL... | [
"hsnks100@gmail.com"
] | hsnks100@gmail.com |
a8d4547c5f24cd5191bbbb26a63df1d00de4c6a9 | 79882e9193621a73808c50aa7c2948f9ff7485e5 | /tests/unit/seq.cpp | 46968ffa5c50b4583d053ed07c8b8b811008cde2 | [
"MIT"
] | permissive | cudarrays/cudarrays | 2e28c717c74e56d280fa30910260824c99a809dd | cc4fb82da381b548e1fd3501b8fc6d1c07c8be37 | refs/heads/master | 2020-05-09T16:15:34.716528 | 2016-11-27T07:26:44 | 2016-11-27T07:26:44 | 33,399,232 | 29 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | cpp | /*
* CUDArrays is a library for easy multi-GPU program development.
*
* The MIT License (MIT)
*
* Copyright (c) 2013-2015 Barcelona Supercomputing Center and
* University of Illinois
*
* Developed by: Javier Cabezas <javier.cabezas@gmail.com>
*
* Permission is hereby granted, free of ... | [
"javier.cabezas@gmail.com"
] | javier.cabezas@gmail.com |
af9c28d5e0ac0d5523bc7d3ce5f8b4dca3f22e5b | a3f3aaa07f84b0926f09f77ae2d7bb1bed83e262 | /common-files/image_processing_function.h | 4d0b61237cdfe15d9d1a7053bac8db4d0957b88f | [] | no_license | MSECode/Master-Thesis-Ladimo-Project | bda4aae54983dbb15327460270cc5f1adfc6e349 | fc8c529bed6f165a911c57fd8080a6d157aea20d | refs/heads/main | 2023-02-20T11:39:10.136450 | 2021-01-25T10:14:39 | 2021-01-25T10:14:39 | 332,691,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | h | #pragma once
#include <iostream>
#include <opencv2/imgproc.hpp>
class ImageProcessingStandard
{
public:
enum class FilteringTechnique
{
mean_filter,
gaussian_filter,
median_filter,
bilateral_filter
};
// Set general kernel dimension and define kernel box for all the methods
void setKernelSize(const int... | [
"noreply@github.com"
] | noreply@github.com |
95405926d080c9244c0bc765685b3a06abce72fa | 5e6910a3e9a20b15717a88fd38d200d962faedb6 | /Codeforces/Contests/CF1430/F.cpp | 6a536d45305c628132baca52f4e617d37ec61415 | [] | no_license | khaledsliti/CompetitiveProgramming | f1ae55556d744784365bcedf7a9aaef7024c5e75 | 635ef40fb76db5337d62dc140f38105595ccd714 | refs/heads/master | 2023-08-29T15:12:04.935894 | 2023-08-15T13:27:12 | 2023-08-15T13:27:12 | 171,742,989 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define endl '\n'
#define D(x) cerr << #x << " = " << (x) << '\n'
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
typedef long long ll;
const int N = 2008;
const ll INF... | [
"khaled.sliti1@gmail.com"
] | khaled.sliti1@gmail.com |
294e7734e880a36edaa5cdacf6e06cc9aaf22ea0 | 51f700992583bbf855f1ed5cad1c2ee67f1bb10b | /client/webtoon.h | 96c96b7f88a226f7ad8b0afed2ef51127851f2a7 | [] | no_license | zych1751/webtoon_alarm | 972340171f17d63e343fc8e6acf08d2671f91b3d | 8519700ef675eb18ac8deab4cfa934b76508376c | refs/heads/master | 2021-01-15T18:41:10.856386 | 2017-09-09T04:23:58 | 2017-09-09T04:23:58 | 99,799,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | h | #ifndef WEBTOON_H
#define WEBTOON_H
#include<QString>
#include<QUrl>
class Webtoon
{
public:
Webtoon();
Webtoon(int company, int day, QString name, QUrl url);
bool same(int _company, int _day, QString _name);
int getCompany();
int getDay();
QString getName();
QUrl getListUrl();
QUrl ge... | [
"zych1751@naver.com"
] | zych1751@naver.com |
8d301202d0dea6f43a0e4d1472b6cc2185c577e8 | 407f49b0296d11ddd00469a545e7d5c0ccfddd4e | /EsperClient_UI/EsperClient/stdafx.cpp | e81787bc5eaad5cba59cababcbb798e144aa202e | [] | no_license | PIGMANIA/EsperClient | 69a78f4ef47cc27dadee517e74076d898313c708 | e66ddaa1dd6f5747d39cf032d06267a516c4fd2b | refs/heads/master | 2020-12-29T02:31:24.899955 | 2016-12-23T04:30:02 | 2016-12-23T04:30:02 | 54,934,218 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 247 | cpp |
// stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// EsperClient.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
| [
"tkddn017@gmail.com"
] | tkddn017@gmail.com |
03b2eaae30b15af250d9c2344e8f9da5fda3118f | 9f21315b2191e02a33abde637844d9b98c0f5318 | /Vektor.h | cc4980ff934a1cbd9291808197765f8cd5f30597 | [] | no_license | DrGilion/math3solver | 6c1ecf9ae293a1fc60476b9a227bf1cae1b8c022 | 5b10dd80db3290985eaa72aaac51481dd68f535c | refs/heads/master | 2021-09-10T03:40:44.954535 | 2018-03-20T22:00:28 | 2018-03-20T22:00:28 | 126,086,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | h | #include <iostream>
#ifndef VEKTOR_H
#define VEKTOR_H
using namespace std;
class Vektor{
friend ostream& operator << (ostream& out, const Vektor& v);
friend istream& operator >> (istream& in, Vektor& v);
friend bool operator == (const double d[], const Vektor& c);
public:
Vektor(int a);
... | [
"michael.m.weissmann@gmail.com"
] | michael.m.weissmann@gmail.com |
0a960767f1cdef8a9fad1bfecdd734aa26290396 | 12b2f272df30be186408f22eda85dce0a11e3e43 | /ntest.cpp | e33210b73a4461c619c2fe46501ae093818d52d1 | [] | no_license | joeld42/neuralnet_test | 8ac909cbef85bfccc19ff52ea335b66e70d8da68 | 86585dad5d37313d609dd6e5ece0c6e400b7f1a0 | refs/heads/master | 2023-02-04T02:01:59.272392 | 2020-12-26T07:18:10 | 2020-12-26T07:18:10 | 260,109,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,248 | cpp | // clang -Wno-nullability-completeness ntest.cpp -o ntest -lc++
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
typedef float real_t;
#define ALLOC(T,num) \
(T*)malloc(sizeof(T)*(num))
struct Matrix
{
int rows, cols;
real_t *data;
Matrix() : rows(0), cols(0), da... | [
"joeld42@gmail.com"
] | joeld42@gmail.com |
300980c0816f6590d78ad1ff1b20be88bb028c46 | 0f53b1eb772db8351b46edf772ea8bd86ad1a0d2 | /src/main/include/subsystems/VisionSubsystem.h | 7a4abe543f5dfe47f50e14c68ec2724ff5506381 | [] | no_license | ParadigmShift1259/Swerve2021 | c69ff21e31405aa8bee834d55c935ab8e4aa5883 | 6158dd606a97a541d65bec1be26193717794cc64 | refs/heads/main | 2023-07-13T06:50:20.351724 | 2021-08-20T01:19:26 | 2021-08-20T01:19:26 | 391,460,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | h |
#pragma once
#include <frc2/command/SubsystemBase.h>
#include <frc/smartdashboard/SmartDashboard.h>
#include <networktables/NetworkTable.h>
#include <networktables/NetworkTableInstance.h>
#include <wpi/math>
#include "Constants.h"
#include "common/Util.h"
using namespace std;
using namespace frc;
using namespace ... | [
"xuegeo21@pewaukeeschools.org"
] | xuegeo21@pewaukeeschools.org |
308823b6a4f26576a959309fc84de5d82cefda8b | 8d782214cc09f43db64c49d5d646509de3e86b64 | /Pc/convert/ExprConvert.h | 25c8a64dfc87831fea7678ba5826e6c8f288ad4f | [] | no_license | Aardvajk/OPx | f8c39a9b3d2a3c7edae8d48d29480cee01aaf9f6 | 1f450602a5f0e69c1956e48e915c0a893a31aa29 | refs/heads/master | 2022-03-26T08:28:14.561146 | 2019-12-14T08:31:43 | 2019-12-14T08:31:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,298 | h | #ifndef EXPRCONVERT_H
#define EXPRCONVERT_H
#include "nodes/Node.h"
#include "visitors/Visitor.h"
class Context;
class Type;
class ExprConvert : public Visitor
{
public:
ExprConvert(Context &c, NodePtr &cn, Type *expectedType);
NodePtr result(){ return rn; }
virtual void visit(IdNode &node) override;
... | [
"aardvajk@live.co.uk"
] | aardvajk@live.co.uk |
d224ce4c29ccf58352d05b260d2d5b889492e51c | 7c71410d765d366a388d940c7859538c3b916198 | /SSAM219G.cpp | c8346ef5a5c99beb63fc3fd8d2b3ed67518f155a | [] | no_license | dinhtai1104/SPOJ_PTIT | 790f8474682e7c8d1a90f01bdd55aa697000897d | e7aef29eda3b0dea6ae5a833810f0a70d4ea4423 | refs/heads/master | 2022-12-03T22:27:23.397741 | 2020-08-26T16:00:07 | 2020-08-26T16:00:07 | 290,542,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
void Solve()
{
ll n;
cin >> n; ll a[n], res = 0;
for (ll i = 0; i < n; i++) cin >> a[i];
for (ll i = 0; i < n; i++)
{
ll d = 1;
for (ll j = i - 1; j >= 0; j--)
{
if (a[j] < a[i]) break;
else
{
d++;
}
}
for (ll j = i + 1;... | [
"51129122+dinhtai1104@users.noreply.github.com"
] | 51129122+dinhtai1104@users.noreply.github.com |
e7094b5f550529686034145ab2f9f6418b4c341f | 4475b39e88036606eee23754ce5e5edead0b4f98 | /codeforces/712/C.cpp | 615960cabd63ac73b3bd0a861efb1a5d7c43943c | [] | no_license | abhayishere/Codes | a39ca15c451d8418df0fcf284d97daa16857bce0 | 88b88e19fa8607a538dc9ce9c89dc7d65f201ff0 | refs/heads/master | 2023-02-15T18:37:54.792783 | 2020-07-02T01:29:00 | 2021-01-15T09:34:37 | 329,863,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include <bits/stdc++.h>
#define int long long int
#define mod 1000000007
#define endl '\n'
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#define decimal(x) cout<<fixed<<setprecision(x);
#define form(i, n) for(int i = 0; i <n ;i++)
#define mp make_pair
#define pb push_back
#defi... | [
"62054505+abhayishere@users.noreply.github.com"
] | 62054505+abhayishere@users.noreply.github.com |
0158ad124f1508a64f3f9f91fb28d6df6e942df7 | 8c2b9a6baad4a19e8ffdbb02447dfd530ce954d8 | /lib/Basics/Exceptions.h | 0040d2a4b5ef70c8bcb323f15b49b7758a3b953b | [
"Apache-2.0"
] | permissive | alepharchives/ArangoDB | 4c5bafc55aef96099360be3290dc386180e4690c | cf0dc533f7559c44dc837001f9da5438a325ea84 | refs/heads/master | 2021-01-18T16:40:44.316583 | 2012-11-13T16:23:24 | 2012-11-13T16:23:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,391 | h | ////////////////////////////////////////////////////////////////////////////////
/// @brief basic exceptions
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2004-2012 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compli... | [
"f.celler@triagens.de"
] | f.celler@triagens.de |
5737eb731d2dcadf05af0428153b6e7bbda918c4 | 85e514e6b9d8b16d08890977a2695bb6070675ac | /osvr/Display/Display.cpp | 029ab20a92b0010a64febb03ec86d9477db0d4b9 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | digideskio/OSVR-Display | faf3df612f702624070f7b0a3cbd71a9a37e3fa6 | 05c26d0a49ffae4304d8e070085db09fa9b5c582 | refs/heads/master | 2020-12-25T22:07:02.292036 | 2016-08-20T22:15:00 | 2016-08-20T22:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,672 | cpp | /** @file
@brief Display struct and related types.
@date 2016
@author
Sensics, Inc.
<http://sensics.com>
*/
// Copyright 2016 Sensics, Inc.
//
// 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 ... | [
"kevin@godby.org"
] | kevin@godby.org |
a3dca989aff690da585c0b78506771626ef3bd0b | 77f7b9c32665fe795c8d6c77412dce8c8013a3c1 | /BaseCommon/BaseCommon/Md5Tool.cpp | dc30aa8e8bdd6ff0a8308c7c917a41c80f76efa8 | [] | no_license | wenge8126/MemoryDB | 7d9fb7e8aaf2393941f90089f80cf6bd6a9b1419 | b5e133a23db94039990270a198f29bb4b0275cdc | refs/heads/master | 2021-09-10T16:21:00.935843 | 2018-03-29T05:47:45 | 2018-03-29T05:47:45 | 113,527,948 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,086 | cpp | #include "md5tool.h"
using namespace std;
/* Constants for MD5Transform routine. */
#define S11 7
#define S12 12
#define S13 17
#define S14 22
#define S21 5
#define S22 9
#define S23 14
#define S24 20
#define S31 4
#define S32 11
#define S33 16
#define S34 23
#define S41 6
#define S42 10
#define S43 15
#define S44 21... | [
"34360740+wenge8126@users.noreply.github.com"
] | 34360740+wenge8126@users.noreply.github.com |
7072a3b9e4e52ecce62e2ec04bdb699635016d13 | 525dc6ab33a8e5bc90d8009e06bd86ec6561854c | /Snake.h | a2a0313830ddf10771662362600b973bcb503150 | [] | no_license | lethanhnam305/lameSnake | a645cb2fe6cfa51e50f6b5b9f35616057513d886 | 277fffcfabca9ef0c828a02efd3cefc883117327 | refs/heads/master | 2020-07-15T22:48:11.314237 | 2019-09-01T11:15:01 | 2019-09-01T11:15:01 | 205,665,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | #pragma once
#include <iostream>
#include <Windows.h>
#include <stdlib.h>
#include <time.h>
#include <vector>
#include "console.h"
#include<conio.h>
using namespace std;
enum Status {
UP, DOWN, LEFT, RIGHT, STOP,
};
struct Coordinate
{
int x, y;
};
class Snake
{
private:
int length;
Status... | [
"noreply@github.com"
] | noreply@github.com |
52f47ea37ad5c324b955c722cde6daee6f928dab | ca0b8d79fbce09ecbab4b9279fb230c2a7ad370a | /Esercizi Libro/Capitolo 11/11.4/11.4.3/11.4.3.cpp | 322a31bfa2ec228e299298ccd40eb0e3910b38f2 | [] | no_license | FIUP/Programmazione-1 | 6523e4d7a5c64370eef5b7ac8e6c5687b620ffd8 | a897af997a5ded0d6e167f9f03d846d54a161add | refs/heads/master | 2021-06-03T16:22:01.190618 | 2020-09-30T20:57:12 | 2020-09-30T20:57:12 | 80,129,830 | 23 | 39 | null | 2020-09-30T20:57:13 | 2017-01-26T16:01:07 | C++ | UTF-8 | C++ | false | false | 2,851 | cpp | /*
Scrivere una funzione ricorsiva nodo* alt_mix(nodo* P, nodo* Q) che riceva per valore due liste (possibilmente vuote) P e Q e restituisca col return una
lista composta da un nodo di P, seguita da un nodo di Q, poi di nuovo un nodo di P e cosi' via. Se una delle due liste finisce prima dell'altra
*/
#include<iostrea... | [
"fedsib@hotmail.it"
] | fedsib@hotmail.it |
26a7534de9277b253d40c75229df1c4ff0538a7b | 3cbdcff94aa15e9459e19004fefc495243495466 | /pa03/sqtree.cpp | a3b1767f544cd7f14a2e4150c2cdbd15e3673e2c | [] | no_license | anggelazhou/cpsc-221 | 329fc83cc3e13105e24cad8d2ffe44fb5ffbb169 | ee7b1641e35d86611d3282b04a2122b1552ae47a | refs/heads/master | 2023-04-05T10:10:57.954549 | 2021-03-31T02:42:03 | 2021-03-31T02:42:03 | 336,433,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,434 | cpp | /**
*
* shifty quadtree (pa3)
* sqtree.cpp
* This file will be used for grading.
*
*/
#include "sqtree.h"
// First Node constructor, given.
SQtree::Node::Node(pair<int,int> ul, int w, int h, RGBAPixel a, double v)
:upLeft(ul),width(w),height(h),avg(a),var(v),NW(NULL),NE(NULL),SE(NULL),SW(NULL)
{}... | [
"angelazhouqi@gmail.com"
] | angelazhouqi@gmail.com |
73d817bcd143b72e8ba2de553deb17692178930b | e22eea26f2654436cab0600585b1e82b4dcfa235 | /kdtree.hpp | 02c162ef18da7db30661644e3c3e2eb9eff91910 | [] | no_license | pranavladkat/KdTree | 1196a63e02a8d27575583ce55a1ad957fa843ff9 | 402d3e4c3e31c087ec115d6ab24dc56acf7d4adb | refs/heads/master | 2021-01-10T04:38:47.649385 | 2016-01-05T22:05:58 | 2016-01-05T22:05:58 | 49,095,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,370 | hpp | #ifndef KDTREE_HPP
#define KDTREE_HPP
#include <iostream>
#include <memory>
#include <vector>
#include <algorithm>
#include <memory>
#include <limits>
#include <cassert>
template<typename Point>
class KdTree{
public:
KdTree():root(nullptr){}
~KdTree(){}
void build_kdtree(std::vector<std::shared_ptr<Poin... | [
"pranavladkat@gmail.com"
] | pranavladkat@gmail.com |
7a4ccf3f855b9b001427ed37fa1825fccb05b4ea | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_App/ModelingTool/VBF_GlobalGIS_Plot.h | 180d4c7e9b1f817070d6e98dda006d78e0a39f2e | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,443 | h | //*******************************************************************
// FileName:VBF_GlobalGIS_Plot.h
// Function:测试标图模型需要的共享头文件,提供共用的变量和内联函数
// Author: 杜莹
// Date: 2014-09-04
//*******************************************************************
#ifndef __VBF_GLOBALGIS_PLOT_H__
#define __VBF_GLOBALGIS_PLOT_H__
... | [
"robertsam@126.com"
] | robertsam@126.com |
5451fd813cf8ae45adb406536b0d46969a9a5048 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_frame.h | 45ee51111c3481495c54185b3d4f551c1eb9d929 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,306 | h | // Copyright 2020 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 THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_RTC_ENCODED_AUDIO_FRAME_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_RTC_ENCODED... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
45e898f5befc30ed692e2203de689691be7444d3 | 79cfb3573442870deb4f019b1c98bee5549c9a5e | /lab7/lab_07/src/my_vector.cpp | 6ea3cbc40cbfbf8d8860e4044af41184aad73494 | [] | no_license | 123a6bcw/c- | 6ea366a418f75355b9bd051afcb5688212d7be9d | 3be75620bf35b8a30c3e8b0fc4debb0f58ba714d | refs/heads/master | 2021-01-24T08:32:16.637724 | 2016-12-03T11:05:46 | 2016-12-03T11:05:46 | 69,559,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | #include "my_vector.h"
MyVector::MyVector()
{
this -> _data = new int[2];
*(_data) = 0;
*(_data + 1) = 0;
this -> _sz = 0;
this -> _cp = 2;
}
MyVector::MyVector(std::size_t init_capacity)
{
(this -> _data) = new int[init_capacity];
for (std::size_t i = 0; i < init_capacity; i++)
... | [
"ga.karandash@yandex.ru"
] | ga.karandash@yandex.ru |
bedf23c43f203869fedcdb82c358138cf3bf6104 | 928328409405a6392771608d501f9c79afc81e0a | /prj/MarketData/MarketDataApiFactory.cpp | 608b25694cb6507fb7f0337cd2242bc7eea3c781 | [] | no_license | kknet/cpp_prj | 19ce6b73a495af2c5dd719cb5512720cb9a432c1 | 0904b6f8b8e8f8fcb9295bd587aa4eb6689badd0 | refs/heads/master | 2021-05-10T16:43:27.253758 | 2018-01-04T08:25:57 | 2018-01-04T08:25:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | #include "marketapi/MarketDataApiFactory.h"
#include "marketapi/CtpFutureMarketDataApi.h"
//#ifdef WIN32
//#include "marketapi/GtaStockMarketDataApi.h"
//#endif
namespace itstation {
namespace marketapi {
const std::string MarketDataApiFactory::kCtpFutureDataType = "CTP_FUTURE";
const std::string MarketDataApiFacto... | [
"84020702@qq.com"
] | 84020702@qq.com |
de11c293d83df1eff23614d2ad8e5c002c28cb94 | 02508aa773dcbd9939eb879952ee2cb3dd90bcad | /torch/csrc/jit/codegen/cuda/type.cpp | 802ccc43d94770ac2e07cb7c9d8878ee78fc44c3 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | dhivyadharshin/pytorch | d8a3b7f3c03e21e776ea34788d13743467b738c8 | 6a170011876bb8bd1909e8f60fba1270ac7a5577 | refs/heads/master | 2023-07-18T07:31:52.918955 | 2021-08-17T18:12:01 | 2021-08-17T18:12:01 | 397,330,616 | 5 | 0 | NOASSERTION | 2021-08-17T18:12:02 | 2021-08-17T16:57:16 | null | UTF-8 | C++ | false | false | 13,888 | cpp | #include <torch/csrc/jit/codegen/cuda/type.h>
#include <stdexcept>
#include <unordered_map>
namespace torch {
namespace jit {
namespace fuser {
namespace cuda {
// Return highest on list (smallest enum val)
DataType promote_type(const DataType& t1, const DataType& t2) {
TORCH_CHECK(
DataType::Null != t1 && D... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2b831638121d5ddd71fa0066b18af5cc459693cc | 945269911c780e59c549d80cc091fab4beeaed52 | /libs/compress/cpps_zipfile.cpp | 10cb875054e9034d1cd23c4546f327b8521f7878 | [
"MIT"
] | permissive | liuhao0620/cpps | 2a05295ae8c6348083cdcbda262ecf7623dafe4c | bda58f629c3c7083550f29abad4c14550bdec14b | refs/heads/master | 2023-02-08T15:25:01.143503 | 2021-01-02T05:55:27 | 2021-01-02T05:55:27 | 324,134,288 | 0 | 0 | MIT | 2021-01-02T05:55:28 | 2020-12-24T10:53:45 | null | GB18030 | C++ | false | false | 9,391 | cpp | #include "stdafx.h"
#include "cpps_zipfile.h"
#include "cpps_zipfile_info.h"
#include <fstream>
namespace cpps
{
std::string cpps_io_getfilename(std::string str);
std::string cpps_io_getfilepath(std::string str);
cpps_integer cpps_io_mkdirs(std::string szdir);
bool cpps_io_file_exists(std::string path);
cpps_zi... | [
"88481106@qq.com"
] | 88481106@qq.com |
9dae47b4ea95ec4d8c4f6dbe36e993f02d684ba1 | 8abfa44c27ff41a663251574bb4240616ee03fe3 | /caffe2/operators/experimental/c10/schemas/filler.cc | 8fe87072c70060f018ba3418076631a119f3bb62 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | rlorigro/pytorch | 9365a933f73feb6f3cf133ee40e39c94b23fbfac | 9a05ad46c8ff9946f8945325985c19ec19129ff2 | refs/heads/master | 2020-05-01T13:09:40.265608 | 2019-03-29T22:42:57 | 2019-03-29T22:42:57 | 177,483,393 | 0 | 0 | NOASSERTION | 2019-03-24T23:47:28 | 2019-03-24T23:47:28 | null | UTF-8 | C++ | false | false | 3,850 | cc | #include "caffe2/operators/experimental/c10/schemas/filler.h"
#include <ATen/core/dispatch/OpSchemaRegistration.h>
#include "caffe2/core/operator_c10wrapper.h"
#include "caffe2/utils/cast.h"
using caffe2::CPUContext;
using c10::C10Tensor;
using c10::ivalue::IntList;
using c10::intrusive_ptr;
namespace caffe2 {
namesp... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
3e9cca1f8e539d567f892e318fb045e6dc447d24 | 3e3c5b9022ae6cc8b06053f96809800f07aca4f8 | /Src/EvolvedPlus/Samples/Messages/SetPosition.cpp | c840c288b284f80c59c1245a52afac2534c3ef57 | [] | no_license | MetanoKid/toy-game-architecture | 1b4bc44f1d4628ce66f80aeeef279d609a95be8f | a388c7b44e49d26678bc80bbef96bb29e4d26ce2 | refs/heads/master | 2021-01-18T18:25:24.335524 | 2015-09-30T15:32:53 | 2015-09-30T15:32:53 | 22,257,487 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include "SetPosition.h"
namespace EvolvedPlus {
namespace Samples {
namespace Messages {
IMPLEMENT_MESSAGE(CSetPosition);
CSetPosition::CSetPosition() : CMessage() {
}
CSetPosition::~CSetPosition() {
}
const Vector3 &CSetPosition::getPosition() const {
return _position;
}
void ... | [
"carloscdcskate@gmail.com"
] | carloscdcskate@gmail.com |
2176d7cbbde67684f0b5d149028dbe7916ce87b0 | 80bce6bd02c40727efd602a5f36da28273cb1c0f | /ChessGame/src/GameLogic.h | c2ec005f55f8cc6bdc190fde2475629c9060eedd | [] | no_license | MarcisTU/ChessGame | 76af356dcf7a970fce23abb5ac7a49808ca1e347 | efb7c7f0a556277ab0a808c27712910a49034c3e | refs/heads/master | 2023-06-07T03:55:11.089849 | 2021-07-05T11:00:10 | 2021-07-05T11:00:10 | 349,728,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | h | #pragma once
#include "pch.h"
#include "ChessPiece.h"
class GameLogic
{
public:
GameLogic() = default;
bool checkIfCapturingEnemy(int curX, int curY, int color, const std::vector<ChessPiece>& chessPieces);
bool checkIfSquareHasPiece(int curX, int curY, const std::vector<ChessPiece>& chessPieces);
void generat... | [
"marcisreb@gmail.com"
] | marcisreb@gmail.com |
0543b76ea03c810926659ed34b5bf26301633a2e | cab4242b19eadb90ea94ab6c4cf8b1dc5075da83 | /EngineOfEvil/source/RenderImage.h | bd830e145f9054d5f2e8cf2d45fe5b231a78e7b9 | [] | no_license | tmf7/Engine-of-Evil | 6ec2db19eb224416effd26c080b0686fa7af264b | 81e846ef79ab714e06c4908ad990f2c1e5b1fe89 | refs/heads/master | 2023-03-03T08:59:35.636877 | 2023-02-28T15:31:20 | 2023-02-28T15:31:20 | 65,588,272 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,171 | h | /*
===========================================================================
Engine of Evil GPL Source Code
Copyright (C) 2016-2017 Thomas Matthew Freehill
This file is part of the Engine of Evil GPL game engine source code.
The Engine of Evil (EOE) Source Code is free software: you can redistribute it and/or mo... | [
"tmf7@njit.edu"
] | tmf7@njit.edu |
63fca1b2f8bac8c8ba089589c00c96e31604a052 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/skia/src/core/SkImageFilter.cpp | a7c419b4353d7b57a301bb737d30d90bce4b47df | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | 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 | 31,906 | cpp | /*
* Copyright 2012 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkImageFilter.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkRect.h"
#include "include/private/base/SkSafe32.h"
#in... | [
"jengelh@inai.de"
] | jengelh@inai.de |
4fcb14d380c1d347c97453e93b5474c55bf5be36 | 87464fd51294f061472244148aebce14e454f2a6 | /Practice/Codechef/JulyLong20/DRGNDEN.cpp | f9e2ce2e0c2e3c346d227794657abdf6a1f8d601 | [] | no_license | msk4862/DS-Algo | 6fb348e4ae0f685f58b89f619ce4edc6690c3817 | 10e41a8ce1879fceee6f064c81192aa3e981d8d4 | refs/heads/master | 2021-08-02T23:31:44.813569 | 2021-07-24T11:18:51 | 2021-07-24T11:18:51 | 199,693,163 | 4 | 3 | null | 2020-10-07T19:28:55 | 2019-07-30T16:56:48 | C++ | UTF-8 | C++ | false | false | 1,677 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define FASTIO \
ios_base::sync_with_stdio(false); \
cin.tie(nullptr); \
cout.tie(nullptr);
ll travel(vector<ll> h, vector<ll> a, ll b, ll k) {
if(b == k) {
return a[b];
}
if(h[b] <= h[k]) {
return -1;
... | [
"shoaib.mca19.du@gmail.com"
] | shoaib.mca19.du@gmail.com |
fe797e4d0b4c0b1789f54fc7ce26d70e20cc78af | e5aa1c3c356541b499de3bcbc5db940ae12818d6 | /maxmin.cpp | 8302b67334224745bee86d27f419a0a1b806ee99 | [] | no_license | BiswayanPaul/new_github-tutorials | 50a1bf9780e2f4600aa08592abeae849e0b79729 | 5c4ed8c08b3c4cf0ff5ee3377b4c2195da08bfd4 | refs/heads/master | 2023-01-08T16:32:17.726361 | 2020-10-30T10:18:28 | 2020-10-30T10:18:28 | 308,213,468 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include<iostream>
using namespace std;
int main(){
int n1,n2,n3;
cout<<"Enter three numbers"<<endl;
cin>>n1>>n2>>n3;
if (n1>n2)
{
if (n1>n3)
{
cout<<"The maximum number is "<<n1<<endl;
}
else
{
cout<<"The maximum number is "<<n3<<endl;... | [
"biswayanpaul2015@gmail.com"
] | biswayanpaul2015@gmail.com |
18152832df4494c1ace0d17d8bf6e67616b7a3b3 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop12/workshop2012-data-20120906/trunk/.svn/pristine/18/18152832df4494c1ace0d17d8bf6e67616b7a3b3.svn-base | e6dc76a92e5706c69d2af13eb30c130a21a745d1 | [
"BSD-3-Clause",
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,923 | /*==========================================================================
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your options) any later ... | [
"mail@bkahlert.com"
] | mail@bkahlert.com | |
509b6016ec39d9fc9d84b15a1a6a29e08aef2a60 | 2814b4ed8ebe8bbeb2e4210ed083326dd6ce7252 | /Medium/429. N-ary Tree Level Order Traversal/levelOrder.cpp | 31f11263af7a6001142e5b94f17ab40e0cae8762 | [] | no_license | teddy8997/LeetCode | 31970b5efe1945204bf2f8fc4e5d6924f05636db | 399edc5300fb1cb2cb0fe51b42ce3a913c830d25 | refs/heads/master | 2023-04-10T21:14:28.684276 | 2021-04-19T06:12:34 | 2021-04-19T06:12:34 | 303,752,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | /*
// Definition for a Node.
class Node {
public:
int val;
vector<Node*> children;
Node() {}
Node(int _val) {
val = _val;
}
Node(int _val, vector<Node*> _children) {
val = _val;
children = _children;
}
};
*/
/*
法一: BFS
*/
class Solution {
public:
vector<vec... | [
"70366832+teddy@users.noreply.github.com"
] | 70366832+teddy@users.noreply.github.com |
e468b8adb9f371e8cf8f16aea308cae43e299ff2 | 9c451121eaa5e0131110ad0b969d75d9e6630adb | /Codeforces/Codeforces Round 725/1538G - Gift Set.cpp | cfd8327d99fa2614da316f51b4fba24d21689c96 | [] | no_license | tokitsu-kaze/ACM-Solved-Problems | 69e16c562a1c72f2a0d044edd79c0ab949cc76e3 | 77af0182401904f8d2f8570578e13d004576ba9e | refs/heads/master | 2023-09-01T11:25:12.946806 | 2023-08-25T03:26:50 | 2023-08-25T03:26:50 | 138,472,754 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,242 | cpp | #include <bits/stdc++.h>
using namespace std;
namespace fastIO{
#define BUF_SIZE 100000
#define OUT_SIZE 100000
//fread->read
bool IOerror=0;
//inline char nc(){char ch=getchar();if(ch==-1)IOerror=1;return ch;}
inline char nc(){
static char buf[BUF_SIZE],*p1=buf+BUF_SIZE,*pend=buf+BUF_SIZE;
if(p1==pend){
... | [
"861794979@qq.com"
] | 861794979@qq.com |
186e44ed5fb1a2ea0582cdc18bdf31b9c0a052f7 | 511d7cd374cf8ecdc6a9d72223bed16a32d83c78 | /msdk/mscom/mstask/Check.cpp | 42ed942d4bda884ae34fe542a4b3e46d3e1d28ef | [] | no_license | mynick777/msdk | 1818c718a181de772b9a3e2dd6d7b9a66296dc86 | 4ee669c60148ad72e1d8af9bea05e05019af79e6 | refs/heads/master | 2020-05-18T00:56:37.308774 | 2019-05-01T16:19:13 | 2019-05-01T16:19:13 | 184,075,465 | 0 | 0 | null | 2019-04-29T13:22:32 | 2019-04-29T13:22:32 | null | UTF-8 | C++ | false | false | 7,292 | cpp | #include "StdAfx.h"
#include ".\check.h"
#include "WtsApi32.h"
CCheck::CCheck(void)
{
m_hModPSAPI = NULL;
m_pfnEnumProcesses = NULL;
m_pfnEnumProcessModules = NULL;
m_pfnGetModuleFileNameEx = NULL;
m_hKernel = NULL;
m_pCreateToolhelp32Snapshot = NULL;
m_pProcess32First = NULL;
m_pProcess32Next = NULL;
m_bXp... | [
"maguojun123@126.com"
] | maguojun123@126.com |
01ce05b8ff0d65baf6c5e6adaf123c9907adeee2 | 06e3479ec05be3e2a4edf0190768f08dbfbd4685 | /lista4.9.cpp | e8748ecc08219cfa2bbbe3af29b46fe4aa46a9e2 | [] | no_license | santripas/-Atividade-Avaliativa-04 | 329023299d6e41a3d1c995b77b6cc220fd23ed14 | cf92cca1743ff8f895ae06f6f7be2b477c250697 | refs/heads/main | 2023-05-15T22:48:11.769371 | 2021-06-15T20:15:17 | 2021-06-15T20:15:17 | 377,283,019 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 657 | cpp | #include<stdio.h>
#include<locale>
#include<ctype.h>
void limpaTela(){
system("cls");
}
int main(){
setlocale(LC_ALL, "Portuguese");
int numero, chutes, i=1;
printf("Informe o numero imaginado: ");
scanf("%d", &numero);
fflush(stdin);
limpaTela();
while(chutes != numero){
print... | [
"noreply@github.com"
] | noreply@github.com |
575de933cd2c336e2fe473da9a7b0f6866181e93 | bc802f2f46557a0b5bfa9eb26821d0e82ec78aab | /H07/18127070/Cattle/Animal.h | 8079025a87023b96cdc9e54cea55c8577f68fdbc | [
"MIT"
] | permissive | IceIce1ce/Lab-OOP-HCMUS | 5fd145994cb352d1d65af1a292071dd554b3f018 | 974873f129dd4d39c0094fe8e0cc30236555cf50 | refs/heads/master | 2022-01-22T12:15:00.084514 | 2022-01-17T10:32:13 | 2022-01-17T10:32:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | h | #include<iostream>
#include<string>
#include<vector>
#include<ctime>
using namespace std;
class Animal
{
public:
Animal();
~Animal();
virtual void talk() = 0;
virtual int provideMilk() = 0;
virtual vector <Animal*> birth() = 0;
int type_of_animal();
virtual string name_of_animal() = 0;
pro... | [
"ctran743@gmail.com"
] | ctran743@gmail.com |
3a6f0f0ce04c43a7c3c205ff6696fbbb665414f4 | f903fa24571f4c641b51b4e421158b60817cee7d | /Accepted_Tasks/J171_Acronym.cc | 3c0f9cb2a8e5a5cd34d3e927e3e018b2ce3aafd2 | [] | no_license | jerryliuhkg/my-c--codes | e2f413da7a2e3c92efa454e1e632e680bffd37c0 | dc95912e685b2d00de54636527d88ef09351ccdb | refs/heads/master | 2020-12-03T04:23:26.316376 | 2020-01-04T06:08:27 | 2020-01-04T06:08:27 | 231,199,189 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | cc | #include <iostream>
#include <string>
using namespace std;
int main() {
string a;
cin >> a;
int lena = a.length();
int N;
cin >> N;
string test;
int lentest;
getline(cin, test);
for(int i=0; i<N; i++) {
getline(cin, test);
lentest = test.length();
int counter = 0;
bool boo = false;
bool word = false;... | [
"noreply@github.com"
] | noreply@github.com |
1f7b10d32968a8dc8fc3d821f1ee3004e037db4e | a93f5a41959faa793f4f22c439ad4c1ea92668b8 | /AtCoder/abc_081/main_b.cpp | 13fdb3fcc070b41a60ac8eb2eac0d1e603db6580 | [] | no_license | admiswalker/i-am-learning-coding | 08a473da773d0e2e67d44462c2d7dee83fa0adac | 9c0d152d313aae06affdf0823fd59a188705d8f8 | refs/heads/master | 2021-07-07T05:21:09.871137 | 2020-12-21T23:55:42 | 2020-12-21T23:55:42 | 218,574,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include <bits/stdc++.h>
using namespace std;
bool isEven(const int n){
if(n%2==0){
return true;
}else{
return false;
}
}
int min(const vector<int>& vec){
int min=vec[0];
for(int i=1; i<vec.size(); i++){
if(min>vec[i]){
min=vec[i];
}
}
return min;... | [
"admiswalker@gmail.com"
] | admiswalker@gmail.com |
4b5e48842f442c38e5b8293ab28c5d9ad8f05096 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_5954.cpp | 697cef4a9663c82ea78f83624bff10456c25d78e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | storeAppendPrintf(sentry, "Cache Clients:\n");
hash_first(client_table);
while ((c = (ClientInfo *) hash_next(client_table))) {
- storeAppendPrintf(sentry, "Address: %s\n", c->key);
+ storeAppendPrintf(sentry, "Address: %s\n", hashKeyStr(&c->hash));
storeAppendPrintf(sentry, "Name: %s\n", fqdnFromAddr(... | [
"993273596@qq.com"
] | 993273596@qq.com |
0e7c48c5682fb2de78d10608e3d44c945c5822c1 | e32fb46aaa28a9fc753fc9128dd445aff00a1317 | /borisovayu.h | c972db2aa106bc882c114a299d3718175c610583 | [] | no_license | mrsu-ru/2020-203 | 125c48e99c47fccd88ecdb4dd5ac5eb4a63c4128 | cbe0b970d2b65f1c466269d646ebe103a335cb58 | refs/heads/master | 2020-12-28T04:30:09.031001 | 2020-06-23T11:52:22 | 2020-06-23T11:52:22 | 238,181,295 | 4 | 40 | null | 2020-06-23T13:26:57 | 2020-02-04T10:38:01 | C++ | UTF-8 | C++ | false | false | 735 | h | #pragma once
#include "lab.h"
class borisovayu : public lab
{
/**
* Метод Гаусса
*/
virtual void lab1();
/**
* Метод Гаусса с выбором главного элемента
*/
virtual void lab2();
/**
* Метод квадратного корня (метод Холецкого)
*/
virtual void lab3();
/**
* Метод прогонки
*/
virtual... | [
"borisovayu@lab227.local"
] | borisovayu@lab227.local |
c31e2c1831f052c26f7b5c8215c56720b77dff8f | a34cd99c5ea4ba25290882bea2c0fc35998b8046 | /Assignment2/ISailable.h | ba7896feddb25b3a50b495b11a420de415dd9527 | [
"MIT"
] | permissive | OpticalSpring/ProjectPOCU | 41c3cd2ff709d47a2e149f1f4c07e04ee841ed5e | 58ac849f02fa68bc61d32f2c5a28e7ceaf157d13 | refs/heads/master | 2023-03-29T06:25:47.789248 | 2021-04-04T04:59:10 | 2021-04-04T04:59:10 | 205,868,520 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | h | #pragma once
namespace assignment2
{
class ISailable
{
public:
virtual unsigned int GetSailSpeed() const = 0;
};
} | [
"cosmos5477@gmail.com"
] | cosmos5477@gmail.com |
8f352bdc85b2239917715c6501405b9302cfc0b6 | 6326e21a65b923cbda7687d70168edde4161908c | /src/viewer/viewgraph.h | 421a69ee5da45c2052718913c0afb9e070df0d56 | [
"BSD-3-Clause"
] | permissive | n1ckfg/contours_viewer | c6165338a3262fea0ac595ccccb3f58222e28a77 | 16eb17c916272d34e73039f0969e46abc0ec30ca | refs/heads/master | 2022-01-04T16:24:30.351966 | 2020-02-27T13:05:59 | 2020-02-27T13:05:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | h | #ifndef VIEWGRAPH_H
#define VIEWGRAPH_H
#include "common.h"
#include <surface_mesh.h>
using Edge = surface_mesh::Surface_mesh::Edge;
using Face = surface_mesh::Surface_mesh::Face;
using Vertex = surface_mesh::Surface_mesh::Vertex;
struct FEdge;
struct SVertex {
SVertex(const Vector3f &pos3D, nature_t nature = Ve... | [
"pierre.g.benard@inria.fr"
] | pierre.g.benard@inria.fr |
72a6b753bb257294badc475c1d511c3ac2fd7413 | 64d401b998d689d9c937988c5ad8badaffeb29ed | /components/ntp_snippets/features.cc | 89a6f085e71e9fb4ff3782859256bb9877ee1f52 | [
"BSD-3-Clause"
] | permissive | Snger/chromium | 77c1ae991b5d92d830d83e2bbd6890673d98c963 | 23c9664fcc2ffd6bdcffbca5355ba4cd083f7060 | refs/heads/master | 2023-02-26T16:06:16.690161 | 2017-03-30T03:45:22 | 2017-03-30T03:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,572 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_snippets/features.h"
#include "base/feature_list.h"
#include "base/memory/ptr_util.h"
#include "base/time/clock.h"
#include "com... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8f172e5b4c2cbb30831ffbf3b237ede9b21deaa0 | c51febc209233a9160f41913d895415704d2391f | /YorozuyaGSLib/source/_add_lend_item_result_zocl.cpp | 3dd2f75c318501fc3aa74d206ebdb0e2ad260b45 | [
"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 | 260 | cpp | #include <_add_lend_item_result_zocl.hpp>
START_ATF_NAMESPACE
int _add_lend_item_result_zocl::size()
{
using org_ptr = int (WINAPIV*)(struct _add_lend_item_result_zocl*);
return (org_ptr(0x1403fea30L))(this);
};
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
4dfe535ba3b58c78eb017a99f559e8bafad1cafb | eba9424166882ccfb23f0542e6e751ad586901b5 | /src/MSWin.hpp | 21e6d099d68be02c97b92e178fff0dce0fa9da60 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | inambioinfo/pview | 00f3c2de04540417b26e5798865b958afc4fb629 | 13e28fd9e8179e9f35b10d48ea8853ad51246c9f | refs/heads/master | 2021-01-13T07:48:12.178233 | 2016-01-18T23:14:54 | 2016-01-18T23:14:54 | 95,094,105 | 1 | 0 | null | 2017-06-22T08:43:39 | 2017-06-22T08:43:39 | null | UTF-8 | C++ | false | false | 12,632 | hpp | #ifndef __MSWIN_HPP__
#define __MSWIN_HPP__
#include <QtGui>
#include <QtWidgets>
#include <list>
#include <map>
#include <vector>
#include "ui_MSWin.h"
#include "dialogs.hpp"
#include "MSMSWin.hpp"
#include "analysis.hpp"
#include <iostream>
using namespace std;
// Code is organized to keep all GUI state in the v... | [
"zia@Zias-MBP.home"
] | zia@Zias-MBP.home |
101c7f2c6188edcfaa5fa3bfd4006aba446f2a5a | c207771a336ba21194343d295db8dd639e6f98fe | /webserver.cpp | f2d73aab1082f01d783922be4e2d77d65edcdc74 | [] | no_license | dawangzeng/webserver-epoll | 6ea8320048666883328e805c740369c3b18e013f | 1f7e61cde4c03889140aa049e4bdca993e93bc23 | refs/heads/master | 2021-06-23T11:44:05.511111 | 2019-04-08T06:41:21 | 2019-04-08T06:41:21 | 177,569,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,374 | cpp | #include "webserver.h"
#include<signal.h>
//设置套接字为非阻塞状态
void setnoblocking(int fd){
int old_op = fcntl(fd,F_GETFL);
int new_op = old_op | O_NONBLOCK;
fcntl(fd,F_SETFL,new_op);
}
//添加到epoll中
void addepoll(int epollfd,int fd){
epoll_event event;
event.data.fd = fd;
event.events = EPOLLIN | EPOLLONESHOT | EPOLLET ... | [
"1303272313@qq.com"
] | 1303272313@qq.com |
5d022849ae2b76107619b39812afd085d7e5d458 | 6dfad0b6469e6d30719795c9a1b7acb26416e977 | /BIANJI.CPP | 44a59f84e176ca0608c79d52b8232e35d3e5294b | [] | no_license | 836711600/angrypig | 0b49cf4c28c4eae95f5d782ad9ab5425d213a80b | 69239f2944c0dccdaac91ed9bdcb678266e08c7d | refs/heads/master | 2021-01-18T16:00:42.216135 | 2017-03-30T12:45:19 | 2017-03-30T12:45:19 | 86,701,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,256 | cpp | #include"angrypig.h"
void yidongbird(int *mx,int *my,int *mbutt);
void yidongbox(int *mx,int *my,int *mbutt);
void bianjimouse(BOX *box,BIRD *bird);
void bianji()
{
BOX box[6]={
{100,820,565,0,0},
{100,820,525,0,0},
{100,820,485,0,0},
{100,820,445,0,0},
{100,940,565,0,0},
{100,940,525,0,0}
};
... | [
"836711600@qq.com"
] | 836711600@qq.com |
75a418ea5fb60dc2d022db19ee78b005c30d6dc5 | 3a7482501a5a944a1da139f043f9a44fd402885a | /plantilla3d/src/main.cpp | 34230dadf16fe914a11e67cec9922c710e922eab | [] | no_license | flopezv95/Programacion3D | c0b9b433a6e2bc7d4fb67169eceb22bcd7b5b584 | 08820eedc196322ca4c4af6244224fa18c3ac451 | refs/heads/master | 2022-03-10T06:45:58.339400 | 2019-08-18T12:22:39 | 2019-08-18T12:22:39 | 188,873,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,885 | cpp | #ifdef _MSC_VER
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
#endif
#include "GL/glew.h"
#include "../lib/glfw/glfw3.h"
#include <iostream>
#include <vector>
#include "../project/Shaders.h"
#include "../project/Buffer.h"
#include <vector>
#include "../glm/gtc/matrix_transform.hpp" // glm::trans... | [
"felipe020112@gmail.com"
] | felipe020112@gmail.com |
bb3af86c3b57fb27cd5a605c94f882aacc994076 | 9d7649ca193d5e62b6752ba4098c43eb5a16aa5f | /third_party/chromium_base/testing/gmock/include/gmock/gmock-generated-matchers.h | 68af306b04078ceba0381f48b6ce5be4546a1928 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | yiw2/ikran | 6aafe7d2b6ede852bdcffd9fc3ac4613ee9976a8 | cc8a3205cdbcb34f7807373db01c7f8b2558a639 | refs/heads/master | 2020-12-25T17:12:41.280090 | 2012-03-13T05:42:58 | 2012-03-13T05:42:58 | 3,196,837 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 79,966 | h | // This file was GENERATED by command:
// pump.py gmock-generated-matchers.h.pump
// DO NOT EDIT BY HAND!!!
// Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// me... | [
"ehugg@cisco.com"
] | ehugg@cisco.com |
cd2783591dc948c4230fa0cfb216075b1e613ef1 | 2b6144aeefe48a5a9244c3560ffc91ed202f2fb6 | /volna_init/config.hpp | 8c25a114937f1607ea04417b431927c3327479e8 | [
"BSD-2-Clause"
] | permissive | reguly/volna | b867a63c3bd09fa234264cb2d01b8d8dd353ae27 | 6656d994c75f93d0f29673a8fc0da10926fa8d4a | refs/heads/master | 2023-08-19T07:19:35.315350 | 2022-11-05T19:46:49 | 2022-11-05T19:46:49 | 40,645,334 | 4 | 8 | BSD-2-Clause | 2021-11-15T13:16:52 | 2015-08-13T07:36:57 | C++ | UTF-8 | C++ | false | false | 1,206 | hpp | #ifndef CONFIG_H
#define CONFIG_H
#include <limits>
#include <cassert>
// #include <omp.h> // open MP header
// #define NDEBUG
// #define EIGEN_NO_DEBUG
// #define BOOST_DISABLE_ASSERTS
// #define EIGEN_VECTORIZE
#define ORDER2
// Problem parameters
unsigned int const neq = 3; // number of scalar equations
unsigne... | [
"regulyistvan@gmail.com"
] | regulyistvan@gmail.com |
3c34948f3388dfeff7867ff28f4d71ed747a8228 | fbbc524d836b62cde790284fbf50e5bb1d85c130 | /private/TableHeaderProxyModel.h | 785bf979ba42a724a61736abc03a4cc5dd3b6a38 | [
"MIT"
] | permissive | Izowiuz/iz-sql-tableview | 1626d9919020efb181e844ac64ab3dd1d8c03f46 | 5448b8e4e022f19804363b248822fcdef7001fe3 | refs/heads/master | 2020-04-16T20:48:56.454638 | 2019-07-25T19:28:46 | 2019-07-25T19:28:46 | 165,907,273 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | h | #ifndef IZSQLTABLEVIEW_TABLEHEADERPROXYMODEL_H
#define IZSQLTABLEVIEW_TABLEHEADERPROXYMODEL_H
#include <QSortFilterProxyModel>
namespace IzSQLTableView
{
class TableHeaderModel;
class SQLTableViewImpl;
class TableHeaderProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
Q_DISABLE_COPY(TableHeaderProxyModel... | [
"izowiuz@gmail.com"
] | izowiuz@gmail.com |
a8b574f110b89146d4826c90e1fc6c4e8ae23b30 | 6a20b880263ae749da7c6fa5b73dbc83d90def91 | /getTrie/Trie.cpp | 06c0681a9405ef276d2f79c47794e7dfe7a8aa85 | [] | no_license | yinizhizhu/NLP | 3c097fe6de6b2076ddeac3ac9467afcb3c200b6c | fa7b8f7477315b561ae4b60bef9cd98b4cf5e4f6 | refs/heads/master | 2021-01-15T13:29:23.148962 | 2016-08-04T02:06:38 | 2016-08-04T02:06:38 | 62,943,652 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,333 | cpp | #include "../h/Trie.h"
#define OUT
//#define OUTSYMBOL
#ifdef OUTSYMBOL
ofstream outSymbol("RESULT/symbol.txt");
#endif
#ifdef OUT
ofstream out("RESULT/res.txt");
#endif
TrieNode::TrieNode() //Initial
{
pre = NULL;
next = new NextMap;
if (next == NULL)
{
cout << "The room is not enough for TrieNode!" << endl;... | [
"lijiahe19941013@sina.cn"
] | lijiahe19941013@sina.cn |
4406692ad5ececd682354fd8f4ca7e355af6c802 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/ui/views/location_bar/custom_tab_bar_view_browsertest.cc | 13bca4de68aaa6d33ce38d9b5c114823b996164b | [
"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 | 27,764 | 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 "base/command_line.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_util.h"
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"... | [
"jengelh@inai.de"
] | jengelh@inai.de |
2a1123b6988c000c9ce9dd6fd8aa340f8b4d05b5 | 8b2c451850dea9df69e8c97d35d002de5e3a6500 | /main.cpp | 34df3a41d0d1f3770357b3909d76ac3db073aef6 | [] | no_license | 1003613248/Euclidean_Clustering | 97f71a06d513109f1e99a569f307a2c22404c349 | b400678d67abfe4ed5cc494794fc70086fc26d3b | refs/heads/master | 2022-02-27T22:22:07.195332 | 2019-09-23T02:48:43 | 2019-10-15T13:45:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,311 | cpp | #include <iostream>
#include <eigen3/Eigen/Eigen>
using std::cout;
using std::endl;
int main() {
double thres = 2.0;
std::vector<Eigen::Vector3d> vPts;
for (int i = 0; i < 10; ++i) {
vPts.emplace_back(i, i, 0);
}
for (int i = 20; i < 30; ++i) {
vPts.emplace_back(i, i, 0);
}
... | [
"luxiao@sensetime.com"
] | luxiao@sensetime.com |
f5c070fb616a9bc02ce5a163866279e9138edc71 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_char_realloc_63a.cpp | 2ab2aa78f0236319115f36b86e3b673e78c4e34a | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 2,824 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_char_realloc_63a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-63a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Ro... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
a8aac325457bfdd7a9d04dd05d7e4d5d640f3584 | 478f8fdf9c00140c0cf975f6bdb07b6e5d771c72 | /03 - WinAPI Threads Examples/09 - Readers-Writers Problem (Fair Solution)/RWProblem_4.cpp | 79db4f89ebb19da0943ed721e452ebbe8b34bf33 | [] | no_license | DtCh96/parallel-programming | 9d6bcb8eb0824f662d35d3ac0bd3cbb0319f4100 | 73eae3304cea0e4eb3128aaaedf61e969e60fbcf | refs/heads/master | 2021-01-22T10:50:58.753074 | 2017-05-17T06:29:00 | 2017-05-17T06:29:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,975 | cpp | ////////////////////////////////////////////////////////////////////////////////
/// Справедливое решение проблемы читателей-писателей
/// (каждый поток должен получить доступ за конечное время)
///
/// Процесс-читатель проверяет валидность данных при чтении (все элементы буфера
/// содержат одинаковый символ), в ... | [
"huntercbx@gmail.com"
] | huntercbx@gmail.com |
1886d5e931b046004c51e148b0b7f5e1159e7b16 | 682a4a804abeb48cbeb506120c96563b66340877 | /lib/fakeposix/functions.cpp | 8f3f13f105fbd4280e4739b0b33010beefe710f3 | [] | no_license | jordansissel/radiodev | 2b7818c1a138ad741415e892ec2f16063200c9fb | 0c3b2c9ffb062916dbdd29447a75fcf0dfb69e3f | refs/heads/master | 2023-08-14T13:40:10.505179 | 2016-12-20T07:57:29 | 2016-12-20T07:57:29 | 74,437,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include <Arduino.h>
extern "C" {
#include "extra.h"
int close(int fd) {
return 0;
}
int open(const char *pathname, int flags, ...) {
Serial.print("open(");
Serial.print(pathname),
Serial.println(")");
return 0;
}
int fstat(int fd, struct stat *buf) {
Serial.print("fstat(");
... | [
"jls@semicomplete.com"
] | jls@semicomplete.com |
252e48dfa24c8e18df4571ba4251e4bc48704966 | 04e34004de3240fdd42427a7fe057c3b10a056d0 | /Implementations/Algorithms/Search/CompleteSearch.cpp | 319a622c9e045ce3888eff03c62b0efcc9c4b35e | [] | no_license | SathvikKuthuru/USACO | 51a43b922861a6b22ff13fc5dee8ed54718a26d4 | 2ed32a1ff444a23e9bbf0688494d5aa90c053dba | refs/heads/master | 2022-05-17T00:37:37.485374 | 2020-04-21T23:21:55 | 2020-04-21T23:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include <bits/stdc++.h>
using namespace std;
//level: bronze
//objective: search for a value in an array in O(n)
#define FOR(i,a,b) for(__typeof(b)i=(a)-((a)>(b));i!=(b)-((a)>(b));i+=((a)>(b))?-1:1) //go from i=lb to i=ub-1
#define F0R(i,b) FOR(i,0,b)
const int SZ = 1e5;
int n, val, ans, a[SZ];
int main(){
cin... | [
"noreply@github.com"
] | noreply@github.com |
2d64c06d04c8caafd74fb9ac4b3c99c8efcd6736 | b0e72f95e6dda5221fc1a7a655c00d93ea950534 | /Friend Request.cpp | cf2c8f9d2d92da02b256e820591f94e779831d8a | [] | no_license | tahsinsiad/Problemsolving | 5a2d5d11739c9780d8af19a625d4f1eb8149be1e | 930454ad4f485864694bdc65a7f3ff4c9c5bee3d | refs/heads/master | 2020-03-28T01:04:22.883428 | 2018-09-05T07:30:43 | 2018-09-05T07:30:43 | 147,474,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T,x,y;
string s;
vector<string> v;
cin>>T;
while(T)
{
cin>>s>>x>>y;
if(x==1 || y>=30)
{
v.push_back(s);
}
T--;
}
vector<string>::iterator it=v.begin();
while(it!=v.end())
... | [
"tak.siad16@gmail.com"
] | tak.siad16@gmail.com |
76140f145fa4ec533dc928d1b29c853207f0160d | c6d6098dec94e7b4d1285eb5fae2984eb311ca61 | /Classes/Level.h | 43aceb4a16c598976b0aadf18efe1e4cce1380fe | [] | no_license | James-Walsh121/Home-Run | ce7373faf7ca7618f2af7afe1a93367a968d55dc | c317fe2da0b306c54ccc40444fa3375eb7d152d1 | refs/heads/master | 2023-07-02T23:16:45.919664 | 2021-08-05T15:18:11 | 2021-08-05T15:18:11 | 393,088,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h |
#pragma once
#include "cocos2d.h"
#include <vector>
using namespace std;
using namespace cocos2d;
class Level : public Object
{
public:
TMXTiledMap *map;
void loadMap(const char* name);
TMXTiledMap * getMap();
Point tileCoordinateToPosition(Point point);
Point positionToTileCoordinate(Point point);
vector<... | [
"jameswalsh121@gmail.com"
] | jameswalsh121@gmail.com |
c9d75f3b53edffcdc1683506c7e6b5a7ab3690a4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_235_squid-3.5.27.cpp | eef0eae633ceda552113f64bd60208dcaf9afb94 | [] | 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 | 1,491 | cpp | static void
InitLDAP(edui_ldap_t *l)
{
if (l == NULL) return;
l->lp = NULL;
if (l->lm != NULL)
ldap_msgfree(l->lm);
if (l->val != NULL)
ldap_value_free_len(l->val);
l->lm = NULL;
l->val = NULL;
*(l->basedn) = '\0';
*(l->host) = '\0';
*(l->dn) = '\0';
*(l->passwd)... | [
"993273596@qq.com"
] | 993273596@qq.com |
22be046474280428c023b07410ba20ad15ce350f | 3a79dbfa4745da59ee29ecc880970dad4c4e412d | /shufflenetv2_final_solution/acceleartor_hls_final_solution/optimization_allfactor24_FIX8/syn/systemc/subconv_1x1_8_p_5.cpp | a5da75af4758c154225bb44c575c0e9af51d37db | [] | no_license | loujc/shufflenetv2_hls | 90d70607e973a52fb846142fcf63ab3dcbc135d1 | db1e0901cefa4bb1b5a2d3a9c717cbd633210aa4 | refs/heads/master | 2021-10-28T04:36:11.344041 | 2019-04-22T02:10:58 | 2019-04-22T02:10:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,565 | cpp | #include "subconv_1x1_8_p.h"
#include "AESL_pkg.h"
using namespace std;
namespace ap_rtl {
void subconv_1x1_8_p::thread_tmp_973_fu_5400_p3() {
tmp_973_fu_5400_p3 = p_Val2_89_17_fu_5373_p2.read().range(13, 13);
}
void subconv_1x1_8_p::thread_tmp_974_fu_5414_p3() {
tmp_974_fu_5414_p3 = p_Val2_91_1... | [
"jzfengziyan@gmail.com"
] | jzfengziyan@gmail.com |
263adde4a6a0e04f728596e8fc0cbb258bfce1d1 | f48f598536152808a94d7053174ba1086103b562 | /ejercicio8.cpp | 5f6039a4e3bbdc55cc76266cee74ffd83fd0f00d | [] | no_license | Fundamentos-Prog-Electronica-18-2/ejercicios-clase-8-DorisAlejandra | 4c9acffe6a54025a4d36d5e26918243f692cf979 | 1793754c81e2ef2ede72b4d1a84a9d215e7a12b4 | refs/heads/master | 2020-04-07T17:05:38.086172 | 2018-11-21T16:39:01 | 2018-11-21T16:39:01 | 158,556,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | #include <iostream>
using namespace std;
int main()
{
int numero,limite,opcion,contador=0,suma,multiplicacion;
cout<< "ingrese el numero";
cin>>numero;
cout << "Ingrese el limite";
cin>> limite;
cout<< "ingrse una opcion";
cin >> opcion;
if(opcion==1){
while(contador<=limite){
multiplicacion=numero *cont... | [
"alejita13102015@gmail.com"
] | alejita13102015@gmail.com |
a847446e1555f5e92db6005273d7b65dd8ebe962 | ea7fd7124f4a8889407a876475a195deacec6d87 | /Scan/Stock Manager/digit_get.cpp | 0c7b712fe477d1eed424f8439465b94120e57151 | [] | no_license | BreakTheWind/cScan | 942b6fad5f488f62fef3348cd0ccdf69df40e139 | 7816a6bc5fbfa2fc96a3f847e5cf988dd460c675 | refs/heads/master | 2021-01-20T18:54:47.160934 | 2016-06-21T18:01:04 | 2016-06-21T18:01:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include <math.h>
#include "digit.h"
//Digit is given in a right-to-left order.
int digit_get64(int64_t number, int place)
{
int64_t target = number;
int digit = 0;
target /= (int64_t)pow(10, place);
digit = target % 10;
return digit;
}
int digit_get32(int32_t number, int place)
{
int32_t t... | [
"noreply@github.com"
] | noreply@github.com |
0305860a76d04e484a82d4767c52595ac73095a4 | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_App/ModelingTool/C_ViewerWidget3D.h | dc0ac71b5b07850e094cf27d9f70d1fda0194426 | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | #pragma once
#include <QTimer>
#include "GraphicsWindowQt.h"
#include "C_GlobalGIS.h"
class C_ViewerWidget3D: public GLWidget
{
public:
C_ViewerWidget3D(QWidget* pParent = 0);
virtual ~C_ViewerWidget3D(void);
protected:
virtual void paintEvent(QPaintEvent* event);
private:
QTimer m_timer;
ref_ptr<C_GlobalGIS> m... | [
"robertsam@126.com"
] | robertsam@126.com |
aa72bd41eb06a44d062c1413953bd9d98edd13ae | 8cb36e9645d8cdbe5dd260c5c90a1d7e92f82929 | /!test/FizzBuzzTest/FizzBuzzTest.ino | befad06ac09b01ad399cf209d29268d227957bca | [] | no_license | systemengineerbasic/EspSystem | 10ed3a8cb85bc5ce322c3f09bd0a5017aa7ba753 | 340205467e924ed1da95ef944bdcf8ded89c6d67 | refs/heads/master | 2021-07-24T09:47:00.068536 | 2020-05-31T09:37:08 | 2020-05-31T09:37:08 | 181,398,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | ino |
void setup()
{
Serial.begin(115200);
for(int i = 1; i <= 100; i ++) {
Serial.print(i);
if(((i%3)==0) && ((i%5)==0)) {
Serial.println(" : KonicaMinolta");
}
else if((i%3)==0) {
Serial.println(" : Konica");
}
else if((i%5)==0) {
Serial.println(" : Min... | [
"yushi.nishimura@konicaminolta.com"
] | yushi.nishimura@konicaminolta.com |
f05d033c93baaa52bbbf4e2bfa5cc9d9654b946e | 0ee655544bf5963ebd6741126c9affb94f83800a | /src/app/common/entry/input.cpp | 5fdad9c0bb638db139dae869369cdebb9be61e47 | [
"MIT"
] | permissive | Stynson/minecraft | 9525f6ff287d20341d0b9571ce9c9caa75f85c11 | a3fe5c69318106360b41c640251b534ce41a6ce9 | refs/heads/master | 2021-05-04T15:08:19.188171 | 2018-06-14T21:18:31 | 2018-06-14T21:18:31 | 120,221,286 | 3 | 1 | MIT | 2018-02-08T14:43:32 | 2018-02-04T20:40:06 | CMake | UTF-8 | C++ | false | false | 7,605 | cpp | /*
* Copyright 2010-2018 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include <memory.h>
#include "entry_p.h"
#include "input.h"
#include "cmd.h"
#include <bx/allocator.h>
#include <bx/ringbuffer.h>
#include <tinystl/string.h>
#include <tinystl/allo... | [
"dulyts@inf.elte.hu"
] | dulyts@inf.elte.hu |
9826a8b66416cc7d873122fa756d54d822e79e3a | 770020440191739742f01a110111bdcaf9e748f7 | /library/dfx/comon/main_dfx.cpp | 5e166980c1ae2ef0d8e4535a70363b13eecf611c | [
"MIT"
] | permissive | ValensTry/atom | f63091ff375ec68449d5991bcfd1f576ad4cc8b6 | 855ea73ccb73851eb6201deb18d14311a3898890 | refs/heads/master | 2020-09-12T03:02:56.109223 | 2019-11-17T16:57:55 | 2019-11-17T16:57:55 | 222,280,486 | 0 | 0 | null | 2019-11-17T16:50:11 | 2019-11-17T16:50:11 | null | GB18030 | C++ | false | false | 1,266 | cpp | #include "unit_test.hpp"
#include "..\..\rsc\common\utility.h"
/*
想加入什么单元测试就直接在以下 include
子模块的文件加入编译时会自动注册对应的单元测试类。
*/
#define S3_UT 1
#if S3_UT
#include "dfx\s3_interface\s3_test.hpp"
#endif //S3_UT
static void printSetting(int Argc_F, char* Argv_F[], char* Envp_F[])
{
printf("\r\n####... | [
"pengwanring@live.com"
] | pengwanring@live.com |
6a5d71676082bd191b8743ea63def188c606762d | fa3c7c425578f773186aa267c8383ff1e9fedb9d | /src/utilities/ppm.cpp | 6312bb04bc70a82b767808af07bcda7826d0f881 | [] | no_license | davetcoleman/ompl_visual_tools | ff74fb7dc834ea629bc18ed642a85c3d6d44c8b5 | 4882529b9c46b4e6959c98e7344b7179d0a1857e | refs/heads/kinetic-devel | 2020-05-21T19:59:57.761491 | 2017-03-12T22:07:45 | 2017-03-12T22:07:45 | 5,268,019 | 45 | 26 | null | 2017-03-04T23:45:49 | 2012-08-02T03:48:34 | C++ | UTF-8 | C++ | false | false | 4,084 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, University of Colorado, Boulder
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that t... | [
"davetcoleman@gmail.com"
] | davetcoleman@gmail.com |
298e624b9a1cb25ad8f1fdb5bf891a965356d620 | e58c3c7281a612d3a1d4cd6e06fa7fb4ce67a5b4 | /Products/PDFWorks/dms_comm.h | 0c056fe8b366504bd849013e47aa11deb3f5ca72 | [
"MIT"
] | permissive | TrevorDArcyEvans/Diving-Magpie-Software | b6e117e4c50030b208f5e2e9650fd169f7d6daac | 7ffcfef653b110e514d5db735d11be0aae9953ec | refs/heads/master | 2022-04-10T11:23:57.914631 | 2020-03-24T13:24:54 | 2020-03-24T13:24:54 | 249,255,200 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,698 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Sun Nov 05 15:14:43 2000
*/
/* Compiler settings for C:\Wombat\Pro\DMS_Common\DMS_Comm.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bo... | [
"tdarcyevans@hotmail.com"
] | tdarcyevans@hotmail.com |
ea4604694f3c4799442307dafbf5ebb9e605f05a | 4c7abf4437e65f3a88e082cf702f78772ca2cd07 | /constraint.h | b5ecd38c2cbf926b6e9cdbba7f26861ada331d3b | [] | no_license | DoubleTimeOnly/Battleship-Puzzle- | 5d6c918ceeafcac4ecae486787b1b317759dc8cc | b8d97406ba899dd8a17358b20a2e586e00fe7a3b | refs/heads/master | 2020-06-12T16:06:49.820554 | 2016-12-07T03:36:01 | 2016-12-07T03:36:01 | 75,795,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | //File: constraint.h
#ifndef _CONSTRAINT_H_INCLUDED
#define _CONSTRAINT_H_INCLUDED
class Constraint {
public:
Constraint(int a_row,int a_column,char a_type)
: row(a_row),column(a_column),type(a_type) {}
int row,column;
char type;
};
#endif | [
"noreply@github.com"
] | noreply@github.com |
7ea13d10efe2d03f0c6a39d9aa553368ce1fb061 | 31cb75420b6476675081a59afa7927e0eadc9151 | /3/playground/try_for.cpp | 1dd19020144a2c4edd7362af4c60f9d8b3d203a2 | [] | no_license | LakshSingla/learning-cpp | 5963af2f5265bedc407d9d71ca3a61bc82f3e8fa | 7c7794cc3a8db2ee41cde62c292ffdea951098ad | refs/heads/master | 2018-09-19T17:56:56.280855 | 2018-07-28T16:40:39 | 2018-07-28T16:40:39 | 117,106,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include <iostream>
using namespace std;
int main(){
for(int i = 1; i <=10; i++){
cout<<i<<endl;
if(i%2){
continue;
}
cout<<i<<endl;
}
cout<<endl;
return 0;
}
| [
"lakshsingla@gmail.com"
] | lakshsingla@gmail.com |
92f621a5a54a8ee869d8cd7cc30236f0fa064cc4 | ccab7298de8b2b426bf31a3a7ff39408c379ead5 | /Common/Utils.cpp | 92529ab3074b7e1cec5fb42a93654f29ed707336 | [
"MIT"
] | permissive | zbqxyz/J1939-Framework | c0ae876873c6ac186777ef37f2b64940e7623ecb | 1209dcbba3fbd1702c85f7b1daa58f6f10df0c50 | refs/heads/master | 2020-04-27T20:08:18.740723 | 2019-03-04T20:38:59 | 2019-03-04T20:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | cpp | /*
* Utils.cpp
*
* Created on: Apr 5, 2018
* Author: famez
*/
#include <chrono>
#include "Utils.h"
namespace Utils {
u32 getElapsedMillis(timespec* start, timespec* end)
{
return (end->tv_sec - start->tv_sec) * 1000 + (end->tv_nsec - start->tv_nsec) / 1000000;
}
timespec addMillis(timespec* time, u... | [
"f.amez1992@gmail.com"
] | f.amez1992@gmail.com |
dc60cf1e93434bca21bf580f4fcf9f8aeb2c3537 | 83d9d024ee6015978e65612593de6cc682cf585a | /src/test/skiplist_tests.cpp | 79fac30fffc8c461595c50aec438732e345e4061 | [
"MIT"
] | permissive | waggoxpay/waggox | ba0ceba1d8830782b1ad9b758d0ba12325caa104 | d301ef289238510bc46ea2429bc25af0d1c616d7 | refs/heads/master | 2020-04-22T06:16:50.316701 | 2019-02-12T18:24:41 | 2019-02-12T18:24:41 | 163,040,649 | 0 | 0 | MIT | 2019-02-11T13:21:11 | 2018-12-25T03:03:16 | C++ | UTF-8 | C++ | false | false | 6,015 | cpp | // Copyright (c) 2014-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chain.h"
#include "util.h"
#include "test/test_waggox.h"
#include "test/test_random.h"
#include <vector>
#include... | [
"txchange8@gmail.com"
] | txchange8@gmail.com |
60b1b9fb0bccb0548fc7703acf7737accc2dc3ee | 8ed505a357a9cd47f90a194e3c86a37591cafa16 | /src/Currency.cpp | f34953a5fb2211dc0f65a37f2548d43c4a12f873 | [] | no_license | rbapub/homebk | ff845e5fef38e1187fcc66b7802b3b15f5f986e6 | 988594fb926af989858e73e4d0d0f25fc9e94d38 | refs/heads/master | 2023-07-11T05:44:42.551677 | 2021-08-28T16:06:49 | 2021-08-28T16:06:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include <string>
#include "Currency.h"
using std::string;
int Currency::nextId = 1;
Currency::Currency(string cName)
{
id = nextId;
nextId++;
name = cName;
}
int Currency::getId() const
{
return id;
}
void Currency::setId(int i)
{
id = i;
}
string Currency::getName() const
{
return name;
}
void Currency::... | [
"romanab@live.ru"
] | romanab@live.ru |
33fa5ebc8b77e7db497fbd1aa16fbd16f4eb18a0 | 4fa07a9065cbb7ab30e77cc7418a49a7bf5038dd | /src/caffe/util/io.cpp | 729d1ad8e6ea279750ac64b018235025e2d0140f | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | ZhaofanQiu/caffe-windows-3dConvNet | 8367927e5a5aa661d8e2baf012b7704f8644521b | e4c16bba24329d3205e8aad26b5b8718d6b43cb2 | refs/heads/master | 2020-05-02T20:51:20.696956 | 2015-09-04T13:22:24 | 2015-09-04T13:22:24 | 41,130,759 | 10 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 5,962 | cpp | // Copyright 2014 BVLC and contributors.
#include <stdint.h>
#include <fcntl.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/io/coded_stream.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/highgui/h... | [
"zhaofanqiu@gmail.com"
] | zhaofanqiu@gmail.com |
bcd3fcff086d8b327cfbcb90c58c64d0b3f3d3c3 | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Server/SO3GameCenter/Test/TestProject/NameGenerator.h | eda93af6af7237294a91c326d02b5a73f536eab8 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | UTF-8 | C++ | false | false | 465 | h | #pragma once
#include <string>
#include "utility.h"
#include "Engine/KTextFilter.h"
#include "testtools.h"
#include <string>
class NameGenerator
{
public:
static NameGenerator* Instance();
bool Init();
~NameGenerator();
TestTools::KRoleInfo Generator();
std::string IllegalName(int nLength);
std::string LegalName... | [
"dark.hades.1102@GAMIL.COM"
] | dark.hades.1102@GAMIL.COM |
e0b6b8e55e1afc1adecd60c9c7a129593d94ff52 | 9167a62044270f6c5aa27a3b42fad8447a0391b6 | /Player.cpp | ea6adecc379feda9ce480a86903c9db974fb904b | [] | no_license | alumina334/QuarterViewGame | e4e189c5ab6db449bc7f737a4d3aa9bfff0bbd7d | aa0e5ad18612cb28c277029ca7bd66d53737718b | refs/heads/master | 2020-12-23T13:57:20.208148 | 2020-02-11T04:57:08 | 2020-02-11T04:57:08 | 237,173,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include "Player.h"
#include "DxLib.h"
Player::Player(double x, double y, double z): mX(x), mY(y), mZ(z), mHandle(0){
}
void Player::initialize() {
mHandle = LoadGraph("./images/select_block.png");
}
void Player::finalize() {
}
void Player::update() {
if (Keyboard::keyboardGet(KEY_INPUT_W) > 0) {
mZ -= 0.2;
}e... | [
"rf.nazr@gmail.com"
] | rf.nazr@gmail.com |
d9427f1986c7e70a576a986b68b05e2000e3069e | 8ae6b1b46d56ed9a221ac498a3a67a655159b83a | /flexc++/rules/setlopblocks.cc | 3a6bf51bfb26673523e2e68dda66f876fb4b5923 | [] | no_license | ajunlonglive/flexcpp | decc3baa645ddfe6f455291c110d3250ba9c18bf | 2de6b90d79d930152f767bf0117a8d2b26a11e12 | refs/heads/master | 2023-03-16T11:32:46.610788 | 2018-06-25T12:45:38 | 2018-06-25T12:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cc | #include "rules.ih"
void Rules::setLopBlocks()
{
// the last rule always has a (possibly empty) block.
// visit all blocks from the last until the first
for (
size_t idx = d_rules.size(), actionIdx = idx, lopIdx = idx;
idx-- != 0;
// canonical decrement
)
... | [
"f.b.brokken@rug.nl"
] | f.b.brokken@rug.nl |
3c54369ee7951d9d2cffe6f8f1174ed58ce6a95c | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/Internal/SDK/wld_sea_rock_cluster_e_functions.cpp | 0e30d3e753b196e020fd5f44c8bcd0b2da680d24 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | // Name: SoT-Insider, Version: 1.102.2382.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
cec6d2ecdce5a14098a7029faf3fb446f8fc34e1 | 206ef4edc43c7101c81a0eca117901a724c757eb | /Algorithms/strcut_solutions.cpp | e29c8f52b6ed1ece9bc36905468c7c21392e85b6 | [] | no_license | Rollcorn/Study | 85879f622c2109c19572914966d626666bd5418e | 9d50952935c1fbc5a9ba5291fcdfb69bfb9458a2 | refs/heads/master | 2023-07-13T08:14:37.701912 | 2021-08-14T18:52:10 | 2021-08-14T18:52:10 | 287,374,777 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <iostream>
#include <string>
int main()
{
std::string hello = "hello, world!";
std::string result;
std::cout << hello << std::endl;
int times_to_concatenate;
std::cin >> times_to_concatenate;
for(int i=0;i<times_to_concatenate;i++)
result += hello;
std::cout << resul... | [
"noreply@github.com"
] | noreply@github.com |
beacbe09d517a8d68833cc6981783fd3af4b74e8 | df6fc5177b4ba7438076c572ec8a194d9ce8be22 | /src/pb_operator.hh | aea51e3544028aa5c2390c781ac37d9f4a132186 | [] | no_license | kessel/dune-pnp | f50a96f8deae286924c51ae6de563052b606e075 | 3df65b776076068d39253d451d3584ac7d1b3af0 | refs/heads/master | 2020-12-24T14:10:43.384639 | 2013-07-07T10:18:59 | 2013-07-07T10:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,620 | hh | #include <dune/geometry/referenceelements.hh>
#include <dune/geometry/quadraturerules.hh>
#include<dune/pdelab/common/geometrywrapper.hh>
#include<dune/pdelab/localoperator/defaultimp.hh>
#include<dune/pdelab/localoperator/pattern.hh>
#include<dune/pdelab/localoperator/flags.hh>
/** a local operator for solving the eq... | [
"stefan@kesselheim-online.de"
] | stefan@kesselheim-online.de |
63376f5167e7fd9a83913d1228a70e696c42dc56 | fab83426542b9b0efff74d7307de9c80937724cd | /src/models/quad.cpp | 360759be7b383adf3da01767b257ce7d6ed42e69 | [] | no_license | RobinRouphael/Opengl_engine | c1aae1286fa33701c2e8d9473bec50554b67dc23 | 94b6799fe0b2305fcfd63b1858bd271acbababbe | refs/heads/master | 2023-02-02T23:08:00.802251 | 2020-11-18T22:52:23 | 2020-11-18T22:52:23 | 296,370,090 | 2 | 0 | null | 2020-11-18T23:09:16 | 2020-09-17T15:39:44 | C++ | UTF-8 | C++ | false | false | 1,168 | cpp | //
// Created by robin on 23/10/2020.
//
#include "quad.h"
ScreenQuad::ScreenQuad(float t_x, float t_y, float t_width, float t_height):
Asset(),
m_x(t_x),
m_y(t_y),
m_width(t_width),
m_height(t_height)
{
setAssetType(AssetType::Custom);
setup();
}
void ScreenQuad::setu... | [
"robin.rouphael@gmail.com"
] | robin.rouphael@gmail.com |
58672a658e12c6008e2a54d423f5d581b7923a13 | 75ca5c494970ea48c31225af81f66d0c69867a6a | /src/RunAction.cc | ccb18685d8ecad994d4119d782b34f5b7e4eb92a | [] | no_license | vladkrylov/Diamond | a4cf7970d1f15aa52d71e4c5ca53c65fadb1ab1f | 2da50f943ff116042a109465c403d45d1262083a | refs/heads/master | 2021-01-23T00:16:06.378323 | 2015-08-11T22:18:33 | 2015-08-11T22:18:33 | 39,257,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | cc | #include <ctime>
#include "g4csv.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "RunAction.hh"
#include "PrimaryGeneratorAction.hh"
RunAction::RunAction()
: G4UserRunAction()
{
systime = time(NULL);
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
analysisManager->SetFirstHistoId(... | [
"vladkrilov9@gmail.com"
] | vladkrilov9@gmail.com |
db32464337dbe2e7ba4e94de59ad99fba240ec4d | 9923a00a9afcd97c2fb02f6ed615adea3fc3fe1d | /Branch/Perception/LaneDetectionMT/armadillo/include/armadillo_bits/field_bones.hpp | 16216f26fd29fa426c020df14cd6d15e16c5e9f9 | [
"MIT"
] | permissive | Tsinghua-OpenICV/OpenICV | 93df0e3dda406a5b8958f50ee763756a45182bf3 | 3bdb2ba744fabe934b31e36ba9c1e6ced2d5e6fc | refs/heads/master | 2022-03-02T03:09:02.236509 | 2021-12-26T08:09:42 | 2021-12-26T08:09:42 | 225,785,128 | 13 | 9 | null | 2020-08-06T02:42:03 | 2019-12-04T05:17:57 | C++ | UTF-8 | C++ | false | false | 12,077 | hpp | // Copyright (C) 2008-2013 Conrad Sanderson
// Copyright (C) 2008-2013 NICTA (www.nicta.com.au)
// Copyright (C) 2009-2010 Ian Cullinan
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at h... | [
"syn17@mails.tsinghua.edu.cn"
] | syn17@mails.tsinghua.edu.cn |
c4bd3bde024d538e500486a0b5f33edfc434411e | 49cea9e88a48297ddc922757bce023f799b37d16 | /funsort.cpp | 73b8f0d0a9ae4cc865b6395788d100b2f83eafa3 | [] | no_license | msandeep03/C-Programming-Samples | a5087ace6a33c7f47c82beee66c9818ae7ac6319 | a9433fae4e7617479274b0d1a4798e742926f5e7 | refs/heads/master | 2021-01-10T06:48:08.667946 | 2015-11-30T10:23:08 | 2015-11-30T10:23:08 | 47,117,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
void sort(int *a)
{
static int temp;
for(int i=0;i<2;i++)
{
if(a[i]>a[i+1])
{temp=a[i];a[i]=a[i+1];a[i+1]=a[i];}
}
for(int i=0;i<2;i++)
{printf("%d\t",a[i]);}
}
int main()
{
int a[2]={2,... | [
"sandeepmishra1993@yahoo.com"
] | sandeepmishra1993@yahoo.com |
38a658adc1a0bbe6818227a8205bb01b24e57b61 | 745c48f47a813c2804cc1a9c9e60ef93ed571802 | /4.3.cpp | e32bd77f860d75efd7130dabff59aa1d191bca1c | [] | no_license | EmpireShadow/PTA_ZJUMOOC | 23fbcb4853b8b98872f1fdb3841db8adcffebcfc | 11c260f4270549338bbf8877f1685a3235288279 | refs/heads/main | 2023-04-28T20:59:32.370937 | 2021-05-27T14:59:38 | 2021-05-27T14:59:38 | 357,166,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | //目前自己写还不会写,看柳婼学姐的...
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
vector <int> in,level;
void levelout(int start,int end,int index);
int main(){
int n;
cin>>n;
in.resize(n);
level.resize(n);
for(int i=0;i<n;i++){
cin>>in[i];
}
s... | [
"noreply@github.com"
] | noreply@github.com |
3a14a071470496063771284fdfb84c10a17280e7 | f7db1bfc1cf81d15393e2af7ad63e6399e769916 | /arvore_bin/arvore_bin.hpp | ea320385cc0e8c9165273c86568538411222cd99 | [] | no_license | Tonikawa/Arvore-Binaria | babb816b65a3f093b4127e16d3cc2ff250ee05d3 | 14b097d73c7556b326d55b46d8555b550e0fedad | refs/heads/main | 2023-07-29T20:16:34.134790 | 2021-09-26T22:45:13 | 2021-09-26T22:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | hpp | // Created by Gabriel Batista Cristiano
// TIA: 32090722
// And Fabio Silveira Tanikawa
// TIA: 32092563
#ifndef arvore_bin_h
#define arvore_bin_h
#include <string>
#include <iostream>
using namespace std;
class Node
{
private:
string nData;
Node* leftNode;
Node* rightNode;
... | [
"gabriel.devproject@gmail.com"
] | gabriel.devproject@gmail.com |
7a8d5716c230c87396400f313d316da321228f4d | 362f4be39c394db5d88ab0792e617f9e54f74803 | /3labgit/SortTester.cpp | 1bfb48cf906336d2425b7c955a84c6954d63a734 | [] | no_license | retryfc/TiMP_3 | d7094b6a55cee59b293f5e8052ee59bd8473d6a5 | a3502af6e5f9742abddca3bf3d09563aee277048 | refs/heads/master | 2020-03-17T17:31:35.187017 | 2018-05-17T10:01:46 | 2018-05-17T10:01:46 | 133,791,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,718 | cpp | #include "stdafx.h"
#include "SortTester.h"
#include <cstdlib>
SortTester::SortTester(int numArrs, int* arrSizes, std::ostream* output)
{
NumArrs = numArrs;
ArrSizes = arrSizes;
Arrs = new int*[numArrs];
for (int i = 0; i < NumArrs; i++) {
Arrs[i] = new int[ArrSizes[i]];
}
CurrentSort = nullptr;
Output = out... | [
"perminovdima@gmail.com"
] | perminovdima@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.