blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60a5bf71388ef7d2312925375f8c5b9b4c25f7b6 | b62e7086980cb97554b01dbfad64a040f9f80165 | /NtupleMacros/HuntGather/huntmc/babymakercommon.h | dbb9d0de981524e2f6959c718eedb392e5b8afd9 | [] | no_license | tastest/CMS2 | f819962e172c712abd82a8b213c4cb2286bcdcfe | e31e02d6037fbef206e216413b4def558ccefb39 | refs/heads/master | 2021-01-10T20:22:52.181267 | 2013-07-12T15:16:31 | 2013-07-12T15:16:31 | 10,772,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | babymakercommon.h | #ifndef babymakercommon_h
#define babymakercommon_h
#include <vector>
#include "Math/LorentzVector.h"
#include "Math/PxPyPzE4D.h"
typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > LorentzVector;
typedef std::vector<ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > > VofP4;
float deltaPhi (floa... |
49437d9d96788750596260779ef427639a09c355 | 0e9ad037843f9e18612087671605cbd22ad1592b | /AST/CClassSequence.h | 33f2ccc1a92c744a845e757be976c4ae7fa50d09 | [] | no_license | voropz/compiler | 0494daf9ee731cd17d8742d54fb0c53ff8b0fab2 | bca5e8166b2e0537b92c23b1696b6b19c50b6b3d | refs/heads/master | 2021-08-20T05:52:55.512441 | 2017-11-28T10:03:59 | 2017-11-28T10:03:59 | 104,864,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | CClassSequence.h | #pragma once
#include <list>
#include "INode.h"
#include "CClass.h"
namespace AST {
class CClassSequence : public INode
{
friend class Visitor::Printer;
friend class Visitor::TableMaker;
friend class Visitor::TypeChecker;
private:
std::list<std::unique_ptr<CClass>> list;
public:
CClassS... |
ea93f2035d469f964a3a0fe38ca7a48f7a894521 | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/B/D/B/D/E/ABDBDE.h | 86ee1bb808d5b663d05bc479617ad991ae7bb5c5 | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | h | ABDBDE.h | #ifndef ABDBDE_H
namespace ABDBDE {
std::string run();
}
#endif |
d24beb922391e97f4f409f65d0130cde0fef9dc5 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /dlc/src/v20210125/model/DMSTableInfo.cpp | 01b9c6d27bba5f08d48e2424237a043f0ce0ea0d | [
"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 | 3,361 | cpp | DMSTableInfo.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
... |
9194f929bc7a301c6386b779092607a5eaae5b07 | 344ac46ae0377398078a38defda891fb2e82ed6a | /StartEndCell.cc | f5d6ba7227ef5ac69c6fdaef83963e35b0537895 | [
"MIT"
] | permissive | lemrobotry/thesis | a94d346cd511e8bba08f3f3d9f956c908c6be6c2 | 14ad489e8f04cb957707b89c454ee7d81ec672ad | refs/heads/master | 2021-01-23T22:15:58.521071 | 2015-05-12T04:48:33 | 2015-05-12T04:48:33 | 35,466,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cc | StartEndCell.cc | #include "StartEndCell.hh"
namespace Permute {
StartEndCell::StartEndCell (Fsa::ConstAutomatonRef fsa, ConstCellRef epsilonClosure) :
BestCell (),
fsa_ (fsa),
epsilonClosure_ (epsilonClosure)
{}
// Adds the given path to the cell if it is complete or can be extended to
// make it complete.
//
... |
d89e162aacb9d80ab98234f86d20d2582a528991 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/sw/source/core/bastyp/breakit.cxx | 70ac940225441f9d84782bd19d85f5532aff2918 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | C++ | false | false | 5,723 | cxx | breakit.cxx | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
8cf6bd92ac9458f68c1dd5fb81856bf892c5a957 | 1ecec97166d41c123b500d3cd6eb624dd8516cd0 | /include/ARobot.h | 8ea823da3bbe6face117df352d97ed05b57a5bf8 | [] | no_license | rovertpd/simrovime | b2d52e067d1220a8e8463f3f83bcd5808736d31e | ebf94aa7a6d1a10215152ed0369d7c92b00c2216 | refs/heads/master | 2020-06-02T08:44:51.038544 | 2014-08-27T18:56:49 | 2014-08-27T18:56:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | h | ARobot.h |
#ifndef AROBOT_H
#define AROBOT_H
#include <AR/ar.h>
#include <AR/gsub.h>
#include <AR/param.h>
#include <vector>
class ARobot;
#include "Robot.h"
#include "Objeto.h"
#include "Scene.h"
#include "AI.h"
#include "Search.h"
using namespace std;
class ARobot{
private:
double _pos[2];
double _... |
5f74afde288feadff08c6cd63005d6e361de39d9 | 5a39b0130288794e85eddd109f53df095e502c4e | /include/MapWatcherCom.h | 484e3b77a2929a173da348a23985c5f6fa18e2f0 | [] | no_license | PurpleSky-NS/ConsoleMap | bd2a342bcf0ec1080278e6d1ab67657178dbfa3f | a315ccc9c1edbc2df3c3d318439d33e5a2199acd | refs/heads/master | 2022-08-13T06:18:09.411111 | 2020-05-25T11:19:01 | 2020-05-25T11:19:01 | 266,660,439 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,368 | h | MapWatcherCom.h | #pragma once
#include <queue>
#include "ConsoleUI.h"
#include "MapComInfo.h"
#include "Input.h"
//命令:
//c 切换为普通移动模式(默认),w a s d可以控制光标的移动"
//p 设置普通模式移动的步数(默认为1),嫌跑得慢可以设置这个哦~"
//j 切换为顶点跳转模式,w a s d控制光标跳转到下一个离光标所指方向距离最近的顶点"
//f 查找一个顶点的编号并跳转"
//t 立刻跳转到某一个坐标上"
/*地图浏览器*/
class MapWatcherCom :public MapUIBase
{
public:
M... |
fa9d70316d42d39df86f06076e84c838d87a0ef1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_new_hunk_667.cpp | d395bf34f56f88bdcab10450668e568121d03c7e | [] | 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 | 298 | cpp | Kitware_CMake_new_hunk_667.cpp | fprintf(stderr, "\n****\n");
fprintf(stderr, "**** Header %s\n ", header);
});
free(type2);
return result;
}
/* copy the source to the destination and fill in zeroes in every
other destination byte! */
static void unicodecpy(unsigned char *dest, const char *src, size_t length)
|
60b5f75429482e8b2528ef7d6d5cb8c2e9b9d570 | 905c7d68e25b08b378e61d4e35de26cda0a141fd | /FileMgrComp/FileMgrFactory.cpp | 65fa3463b845f8edbc1e9c2ac96838f751622b93 | [
"MIT"
] | permissive | SamuelXing/TextSearchTool_Linux | 54674a0a10890f310708ac79bcb328274e0adaed | b45efb8f2a62cca3d83ba3c08cb77fcb3aa25f37 | refs/heads/master | 2020-03-08T05:32:07.526382 | 2018-04-04T19:06:35 | 2018-04-04T19:06:35 | 127,950,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | FileMgrFactory.cpp | //////////////////////////////////////////////////////////////
// FileMgrFactory.cpp - Factory Method //
// ver 1.0 //
// Zihao Xing, CSE775 - Distributed Object, Spring 2018 //
///////////////////////////////////////////////////////////////
#in... |
7b4ed18bdfefa224bae5441a28245638fda8c835 | ffbec08aaa6a7a0cd568b27eba0bb8332bf4f604 | /23062016/map/multimap.cc | 05fb2756620b2088ce8c34c0123ae5f5f2fd55d5 | [] | no_license | Islotus/CPP | 6e17f1ed519cc14d44a1c5b5f3f6cf542cc17c80 | e470d085682a00bef47c23db1e374b5d2b357e95 | refs/heads/master | 2021-01-17T18:47:53.125835 | 2016-07-15T07:05:25 | 2016-07-15T07:05:25 | 61,768,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,437 | cc | multimap.cc | ///
/// @file multimap.cc
/// @author Islotus(2791201278@qq.com)
/// @date 2016-06-23 17:15:37
///
//multimap与map的关系,类似于multiset与set的关系,使用multimap同样要包含同文件<map>
//multimap的创建方式与map相同,有3种方式。
//multimap与map的不同之处在于其允许出现相同的元素。此时不支持[]随机操作
//multimap容器的使用:关键字允许重复,按照关键字排序
#include <iostream>
#include <map>
#inclu... |
148a408d5c4ac28a43320e132bae8861203e31c2 | a12d46936ffad88476229811ac2feb39c29b6f2d | /DxRpgProject/src/Sequence/Game/Parent.cpp | 482df12e72bc4ae32d202258f71577f69865fef0 | [
"BSD-3-Clause",
"MIT"
] | permissive | sujiniku/DxRpg | 95c60f8aa35774ddd2dc95f1927bfaff51448be2 | 22c9d95f2ff06bcdbeae42fa99c295a8ec0ebcde | refs/heads/master | 2020-03-27T12:57:10.579522 | 2017-08-05T19:31:39 | 2017-08-05T19:31:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | cpp | Parent.cpp | #include "Sequence/Game/Parent.h"
#include "Sequence/Game/Map/Map.h"
#include "Sequence/Game/Battle/Battle.h"
#include "Map/MapMainCharacter.h"
#include "Map/MapCityCharacter.h"
#include "Sequence/Parent.h"
namespace Sequence
{
namespace Game
{
Parent::Parent()
: nextSequence_(NextNone), child_(NULL... |
9b9bbd1ddd69377596267f628cbe7b96bde83983 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.moving/1.7/p | a4e36c4a3dd0bd1016995f582051d60893fe7b36 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,522 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
9a14b372224add807c1efdff06ce83eb75e5784f | f4bd5000e17e609dd1f1f5e692aab98ebed38c48 | /mt1337.cpp | e638cc2ccbafc2610aa507f8a2b4e10e7d1527a8 | [] | no_license | ploq/mersennecpp | 455e5581619b71e01f97f4f2e6f74b4d75991c55 | 0dfe6b39bb23ce9635686312cfcfeda68c066ab2 | refs/heads/master | 2021-01-13T12:35:34.273464 | 2016-11-01T20:50:43 | 2016-11-01T20:50:43 | 72,575,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | mt1337.cpp | #include "mt1337.hpp"
#include <iostream>
#include <cstdlib>
MT1337::MT1337(int seed) {
index = 624;
mt[0] = seed;
for (int n = 1; n < 624; n++) {
mt[n] = 1812433253 * ( mt[n-1] ^ mt[n -1] >> 30) + n;
}
};
int MT1337::extract_number() {
int y = 0;
if (index >= 624) {
twist_it();
}
y = mt[index];
y... |
3a8a36b7dd4cd4f34e1c76a5e243f21f99afc4b2 | d32530c60ba00a5e3cef79edf1fcd217f2b3934d | /demos/Curling/Curling.cpp | a0c30e9c992304f8c7e000f2e6672a83f62d0ed1 | [] | no_license | Iann1978/Explore-To-OpenCV | 820c72a293bd4f8bd7ffac5c3cc544c55a61ce64 | f7bc40c3e8790f401c4df04bcebd623b8b58a482 | refs/heads/master | 2021-07-10T09:51:57.436432 | 2020-07-14T01:20:51 | 2020-07-14T01:20:51 | 157,804,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | Curling.cpp |
#include <opencv2/opencv.hpp> //头文件
#include<opencv2/imgproc/imgproc.hpp>
using namespace cv; //包含cv命名空间
void EllipsFillting(Mat src_image);
Mat FindCorners(Mat srcImage);
Mat FindEdges(Mat srcImage)
int main()
{
// 【1】读入一张图片
//Mat srcImage = imread("1.jpg");
//imshow("srcImage", srcImage);
//Mat edgesImage = ... |
003e57bda1163ff9c5f0360ac3b2002b07dab41f | 8191fc68caba8356a1d749708b62e61a15101221 | /CaptureManagerSource/SampleGrabberCall/ReadWriteBuffer.h | 5dca54630e94fa14d3521dedd2fcc6cbd79df705 | [
"MIT"
] | permissive | Tamer-Gamal/CaptureManagerSDK | 6566408d69d1f00260e5a699141b54f19f406a10 | 1d83613237f3f13d8764d1af9d0ae0924475ebd7 | refs/heads/master | 2023-07-27T09:57:05.078819 | 2021-09-05T08:18:16 | 2021-09-05T08:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | ReadWriteBuffer.h | #pragma once
#include <mutex>
#include <memory>
#include "../Common/BaseUnknown.h"
#include "IRead.h"
#include "IWrite.h"
namespace CaptureManager
{
namespace Sinks
{
namespace SampleGrabberCall
{
namespace RegularSampleGrabberCall
{
class ReadWriteBuffer :
public BaseUnknown <IRead, IWrite>
... |
a9ae2a78f4af20a37a4a28b77f0a2b99ca105eaa | c2c851325b164fe036a03b4474c55641b18216f8 | /src/filter/invalidfilters/invalidfilterinfo.h | 740e3d3c92035f749edcafdef99760142029eda4 | [
"BSD-3-Clause",
"CC0-1.0"
] | permissive | KDE/mailcommon | 33982f4262aa00b80dcb2a381035ad21ce61e405 | e5275f01a0ebb057f02f3e4b2c4d637858596560 | refs/heads/master | 2023-08-31T00:26:39.533637 | 2023-08-28T02:16:16 | 2023-08-28T02:16:16 | 47,668,556 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | invalidfilterinfo.h | /*
SPDX-FileCopyrightText: 2015-2023 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "mailcommon_private_export.h"
#include <QString>
namespace MailCommon
{
class MAILCOMMON_TESTS_EXPORT InvalidFilterInfo
{
public:
InvalidFilterInfo();
InvalidFilterInfo(... |
ef308aa21aea86272573285b759ecc6aaeae7bcc | 3d190cee3d446604192fcabeed3ba7e43b48cb4d | /orange.h | 1b89b3de0e064e02c4dbfb10a86edf048d1ba6d6 | [] | no_license | ucr-proyecto-integrador-redes-oper/etapa-4-redes-oper-electric-sharks | 22360a5e9ae728c755dc5e84df769b2ee4c24208 | cce31e9b6f06724b41a0bcadcaa2edaef693b8ea | refs/heads/master | 2020-05-18T22:48:49.817198 | 2019-07-23T23:35:31 | 2019-07-23T23:35:31 | 184,698,309 | 0 | 0 | null | 2019-07-02T16:45:03 | 2019-05-03T04:26:12 | C++ | UTF-8 | C++ | false | false | 6,344 | h | orange.h | #ifndef ORANGE_H
#define ORANGE_H
#include "packet.h"
#include "orangePacket.h"
#include "socket.h"
#include "encoder.h"
#include "error_handler.h"
#include "secudp.h"
#include <pthread.h>
#include <queue>
#include <list>
#include <vector>
#include <unordered_map>
#include <utility>
#include <semaphore.h>
#include <c... |
1262dc2368b906fc4f97a5cc54338a7042d9c0e3 | 1f6c82a980de6c5a385e62bc35dfe0510c7d5690 | /include/IOManager.h | 8fc9375dcb020f384dc423e98f76e3d3eb587947 | [] | no_license | SerFreg123/Ogl | 26872fe06966bcfbd3afe6a6b03f3663bcc0d001 | 237c2150cd1f5bf956f0cf9229f8f0b99b3e9fa0 | refs/heads/master | 2020-08-01T09:07:12.582878 | 2016-11-28T22:17:30 | 2016-11-28T22:17:30 | 73,579,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | IOManager.h | #pragma once
#include <vector>
#include <string>
class IOManager{
public:
static bool readFileToBuffer(const std::string &filesPath, std::vector<unsigned char> &bufer);
}; |
759650fe85815e0a94b47a80ebe899946e287a4a | 1468b015f5ce882dbd39dc75c9a6560179a936fb | /card/M40700.cpp | 8a270b02feff368cdbd47aa89e9e950db6bf48cc | [] | no_license | Escobaj/HearthstoneResolver | cbfc682993435c01f8b75d4409c99fb4870b9bb3 | c93b693ef318fc9f43d35e81931371f626147083 | refs/heads/master | 2021-04-30T22:31:01.247134 | 2017-01-31T00:05:32 | 2017-01-31T00:05:32 | 74,474,216 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | M40700.cpp | //
// Created by Jo on 19/12/2016.
//
#include "M40700.h"
M40700::M40700(const EventHandler &e) : Minion(e) {
this->set_id(40700);
this->set_attackMax(5);
this->set_defaultCost(5);
this->set_name("Motard huran");
this->set_membership(Class::NEUTRAL);
this->set_type(CardType::GENERAL);
this... |
41a3839761240e023da1c6bd116b674f429905ec | c056742be2f8db76303c0bd30be76b6a00fe96b7 | /include/oneapi/internal/types_utils_cxx11.h | a28cccedd092c192c64ea60d36e6c7bcf956eb04 | [
"Intel",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Vika-F/daal | 232de182ea4304ac49f9637efad09b4e08545ceb | 53076ea8fa9e64edc7440f989f8e150ec21e83d5 | refs/heads/master | 2023-08-22T07:14:46.157341 | 2020-03-13T09:28:48 | 2020-03-13T09:28:48 | 224,593,020 | 1 | 0 | Apache-2.0 | 2023-09-13T09:54:30 | 2019-11-28T07:19:00 | C++ | UTF-8 | C++ | false | false | 5,976 | h | types_utils_cxx11.h | /* file: types_utils_cxx11.h */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* 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 L... |
8d54ea9e4e87e0f771af676598b226ce58645858 | 208dc2c582bdbd41c511b5d1f01f3d31271ad593 | /src/RcppExports.cpp | 82f4451a92307592f57fc93c1699300b0f5a98e1 | [
"MIT"
] | permissive | stephenslab/mixsqp | 1f73033c758ef067a8ec0c3cdb53c94ea1d1ff09 | 0da946b1bda52e3efc91a84acabb9b8d1c15fb2d | refs/heads/master | 2022-12-17T03:00:40.185245 | 2022-11-16T02:35:10 | 2022-11-16T02:35:10 | 151,778,082 | 11 | 3 | NOASSERTION | 2019-07-02T03:33:15 | 2018-10-05T21:06:58 | R | UTF-8 | C++ | false | false | 4,736 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::R... |
13aaef1eb2e74f1884ae2288500ecdab320c7a86 | dc0c9ea3fa7498b0552b5f0cdd121489404cb07a | /uva/259.cpp | 9a18659db8ed183260bf11dfa3644e779e945d18 | [] | no_license | alaneos777/club | 226e7e86983da7f87d87efbfd47d42326872dd25 | 47da01e884d6324aa1c9f701d6f70b8b978a0e18 | refs/heads/master | 2023-08-05T02:43:33.428365 | 2023-07-29T02:43:58 | 2023-07-29T02:43:58 | 143,675,419 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | 259.cpp | #include <bits/stdc++.h>
using namespace std;
void process(string & str, vector<vector<int>> & graph, vector<char> & acum, int & pos){
char c = str[0];
int n = str[1] - '0';
for(int j = 0; j < n; ++j){
for(int i = 3; i < (int)str.size() - 1; ++i){
graph[pos].push_back(str[i] - '0');
}
acum.push_back(c);
... |
f447fe3758e9e4accd0cc1d211f9c427de8f0d17 | f1a58f0a5c4408a0d44f7200ad30a5ac7c33f894 | /AircraftWar/CBullet.h | cfbcccafd378f2394d3b24e36c535c8a2ffa3ad1 | [] | no_license | Tiiiktak/AircraftWarGame | d16c309e856374bfd07b06d7c44a85e4c993f34e | 1a6aa73d1af7865f01baf6748b8e491c1bf5411e | refs/heads/main | 2023-06-10T04:44:46.809025 | 2021-06-28T13:15:39 | 2021-06-28T13:15:39 | 381,028,141 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 693 | h | CBullet.h | #pragma once
#include "MyTool.h"
// 子弹
class CBullet
{
private:
cv::Mat m_bulletImg; // 子弹图片
cv::Point m_Position; // 当前坐标
cv::Point max_Position; // 最大坐标
int m_width, m_height; // 子弹宽高
int m_fromType; // 子弹来源(1-3玩家,0-敌机)
int m_Attack; // 攻击强度
void running(); // 子弹运动
public:
bool m_isOut; // 子弹是否结束生命
CBullet(... |
f0fe6eeb9804198129c3216e4d176be97c8eea80 | 9875d3831c2a7a7ad4ee98bd353586f51bddeb92 | /gaudio/gsourcecls.cpp | 208740fb2fb29ae5b7be8e1b64146d637cc8229f | [] | no_license | bigsealing/gaudio | de65668ad847064deb3b82d4ed8e1b15c6372531 | 6334409bb4178748d793be34d8e0cad6c2a3d82d | refs/heads/master | 2023-06-10T22:23:41.792946 | 2021-06-26T11:41:31 | 2021-06-26T11:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | gsourcecls.cpp | #include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "gmemory.h"
#include "gcontext.h"
#include "gstring.h"
#include "gsource.h"
#include "gdecoder.h"
#include "streamBuffer.h"
#include "gresample.h"
#include "gmain.h"
#include "gmath.h"
gsource_::gsource_():
is3d(false),
state(STATE_IDLE),
state_... |
227f73ca9798d91c5c0a87e54a21244444647900 | d41bf0e9ac50fdb995f3c8b16dbd2ee9597dbfa4 | /Coin_Combinations_2.cpp | 1d522cf2c22d89028cc93eca701403e0cb0087bb | [] | no_license | Aayush-15/DYNAMIC-PROGRAMMING | 69f219fc98374c6f7f1ff7bbdc73fa0c4d37f978 | 461a9cd199c99e2169ec67a62e90c2d2217578f4 | refs/heads/master | 2023-03-17T18:07:22.309575 | 2021-03-09T10:08:44 | 2021-03-09T10:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | Coin_Combinations_2.cpp | #include<bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define pb push_back
#define mp make_pair
const int mod = 1e9+7;
void solve()
{
int n,target;
cin>>n>>target;
int coins[n+1];
for(int i=0;i<n;i++)
cin>>coins[i];
int ... |
e43d1ea403b2a93232be83f48b8c691a7d6cef27 | c09878cfdabace2d1065bbc21c831ad326f02229 | /src/SceneRecording.h | b871f8895a7b8ffa1cb914106a5390295c90b5d7 | [] | no_license | runemadsen/Connection | 922cc15416a021244690ef585479f21acd8357fc | 1503d13aab40c3c0eccaa0d1fe41fdba5bdbd40f | refs/heads/master | 2020-04-20T06:02:55.205944 | 2010-12-15T08:09:24 | 2010-12-15T08:09:24 | 1,093,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | SceneRecording.h | #pragma once
#include "ofMain.h"
#include "Scene.h"
#include "Tools.h"
#include "App.h"
#include "CountDown.h"
#include "ofxQtAudioSaver.h"
#define SAMPLE_RATE 44100
#define BUFFER_SIZE 256
#define RECORDING_DURATION 3
#define NUM_CHANNELS 1
class SceneRecording : public Scene
{
public:
SceneRecording... |
d91a3c2b8848f72f2d133a1bcd9560ffa1901f74 | d253358d65a945bc9c5d781fa1df2e6fcaf05aa9 | /c-algoritmos/aulas/sobrecarga1.cpp | 9606b8b45d92a97b9fc00a448e9718e8e9687ef3 | [] | no_license | wineone/c-algoritmos | 7fd76943ffd916381e68485f698f0a4c90437a54 | 1cfd8e1bafd4bdcb8642afdaac13ccb413c4a25c | refs/heads/master | 2022-11-05T04:46:38.450403 | 2022-10-25T01:26:53 | 2022-10-25T01:26:53 | 131,515,181 | 0 | 3 | null | 2022-10-25T01:26:54 | 2018-04-29T17:31:46 | C++ | UTF-8 | C++ | false | false | 595 | cpp | sobrecarga1.cpp | //sobrecarga do operator+
#include <iostream>
using namespace std;
class Complexo{
public:
int real,imag;
Complexo(int real, int imag){
this->real = real;
this->imag = imag;
}
Complexo operator+(Complexo &c){
return Complexo(real + c.real, imag + c.imag);
}
bool operator==(Complexo &c){
if(c.real == ... |
106f860ee43fac87d96df6a98db97eee6de50fe8 | cd44c5b4e2687b38722b8ea74f0e9ca8930fb2c9 | /abc141_c.cpp | 8426e8fc0d09c1c697355244713eeab51650d21c | [] | no_license | sigu1011/atcoder | b1a3b54d9f1e8c178e5f58505cca69b5ace1b23f | 8280c422a065b676eefeaf2374229635a92531bc | refs/heads/master | 2020-06-11T17:44:17.073065 | 2020-01-26T14:50:48 | 2020-01-26T14:50:48 | 194,039,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | abc141_c.cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K, Q;
scanf("%d%d%d", &N, &K, &Q);
vector<int> A(N, K);
vector<int> b(N, Q);
for (int i = 0; i < N; i++) {
int ca = 0;
scanf("%d", &ca);
b.at(ca - 1)--;
}
for (int i = 0; i < N; i++) {
if (A.at(i) - b.at(i) > 0)
pr... |
095cb4e264f2b5f256887d64aecbbfbcda5e7080 | 7d71fa3604d4b0538f19ed284bc5c7d8b52515d2 | /Clients/AG/Pm8/App/PMWDLG.H | 2dd3fa3e215a9cbb8fa323007656345f90f9b183 | [] | no_license | lineCode/ArchiveGit | 18e5ddca06330018e4be8ab28c252af3220efdad | f9cf965cb7946faa91b64e95fbcf8ad47f438e8b | refs/heads/master | 2020-12-02T09:59:37.220257 | 2016-01-20T23:55:26 | 2016-01-20T23:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,662 | h | PMWDLG.H | // $Header: /PM8/App/PMWDLG.H 1 3/03/99 6:09p Gbeddow $
//
// pmwdlg.h : Standard PMW dialog definitions.
//
// $Log: /PM8/App/PMWDLG.H $
//
// 1 3/03/99 6:09p Gbeddow
//
// 5 3/01/99 1:40p Mwilson
// changed base class
//
// 4 7/28/98 9:39a Jayn
// INSTALL ifdefs
//
// 3 7/26/98 7... |
87006fb66cd34981d24420b0dd534dc4fd1b9140 | 11130633fe59b222da0696dc05e72ac30871a573 | /Problem_Solving/leetcode/Algorithm/Binary_Search/349_Intersection_of_Two_Arrays/intersection_v2.cpp | 59b56c7e176d98bed335366ba1193e3bcf940cf6 | [] | no_license | Jin-SukKim/Algorithm | 024aa77c6bf63666910a1eb03407e808a05307ec | 5f2a14fe1f64032126df55b1eadc1580a32735f3 | refs/heads/master | 2023-09-01T20:50:13.150780 | 2023-09-01T07:54:32 | 2023-09-01T07:54:32 | 263,555,962 | 4 | 0 | null | 2023-02-14T14:36:38 | 2020-05-13T07:24:51 | C++ | UTF-8 | C++ | false | false | 956 | cpp | intersection_v2.cpp |
#include <vector>
#include <algorithm>
#include <set>
class Solution {
public:
// 투 포인터 활용
std::vector<int> intersection(std::vector<int>& nums1, std::vector<int>& nums2) {
if (nums1.empty() || nums2.empty())
return {};
std::set<int> results;
// 정렬에 2 * O(n log n)
st... |
4d461e23d6fca0b551bf3615ffae728de7b4a658 | 429fc472077e1cd3ca705eb4e45141dfb12907a0 | /LightOJ/1247 - Matrix game.cpp | 065b97045872cdff8c8ab766c7fbe7a4d0ac0203 | [] | no_license | ahbarif/Online-Judge-Solutions | 7274ba8f58198f3fd793c42aa29cf00f2aef2584 | e1e5f79330a254d825ebbfe3ca99f6b12a42f052 | refs/heads/master | 2020-03-26T02:19:36.370567 | 2019-10-29T14:12:58 | 2019-10-29T14:12:58 | 144,406,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | 1247 - Matrix game.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
vector<long long> v;
int test, i, j, cs = 1, n, m, count;
long long a[55][55];
scanf("%d", &test);
while(test--)
{
count = 0;
v.clear();
... |
06f30fdb38b3a5178b3ca2db0c9f1f9670a949ab | a3a942e6839b05b0e0032cc7245e64f5646751af | /circular-cylinder_basic/processor0/constant/polyMesh/points | edeb009bbadde98c25c789e1bc9a6f6434cf874d | [] | no_license | carsumptive/OF-2 | 8826dc120b8a1f6b9fbd70e47cda6976f80d6ca7 | dfb46ab301dfded517b579cb59df02df14bcfd2f | refs/heads/main | 2023-04-08T18:45:15.811682 | 2021-04-08T14:51:19 | 2021-04-08T14:51:19 | 355,948,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230,460 | points | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
c90565a019946e2248643c632546c0f52fe2429a | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/ui/gfx/mojom/buffer_types.mojom-shared.cc | dc85f8012e2fc35b737fec5ade9fe1df46505242 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,354 | cc | buffer_types.mojom-shared.cc | // ui/gfx/mojom/buffer_types.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit
// 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.
#if defined(_MSC_VER)
#pragma warning(push)
#p... |
bcb4acf5ec1b04e6e8fd8721184c9a8aee8870ab | 186a5e288a2c0d6235aa14355263af635ca1a99b | /lab11.2b/Source.cpp | 13c5c14c5e602016435a55c01a11f9bb75177894 | [] | no_license | Solomia-Ratushna/lab11 | 20652c8e7bcc68193da5e03fc4f52b6539a89247 | bbb781f6b08fda294fb26bb3f2fbf803f5c9a2c4 | refs/heads/master | 2023-02-02T06:05:00.761698 | 2020-12-14T13:27:07 | 2020-12-14T13:27:07 | 321,355,947 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,711 | cpp | Source.cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <Windows.h>
using namespace std;
enum Specialty { КН, ІФ, МЕ, ФІ, ТН };
string s_specialty[] = { "КН", "ІФ", "МЕ", "ФІ", "ТН" };
struct Student
{
string prizv;
int kurs;
Specialty specialtion;
int physics;
int math;
int programm... |
29d159e346c56da4a651edf4f9dde4300dfff3a6 | 687081e8e3b350db8721876b55db339de916a361 | /Builds/iOS/Classes/Native/Il2CppGenericAdjustorThunkTable.cpp | 0311cbeead8a121e591fa611d6721cf8790471a5 | [] | no_license | ApolloSoftwareSolutions/Pong2021 | d727731d8a48774419389bd25f454a920825b63f | 5d15208269e94d3daec0586decc80ebb3d5bc384 | refs/heads/master | 2023-03-14T10:26:25.118917 | 2021-02-23T19:42:03 | 2021-02-23T19:42:03 | 332,551,509 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 338,563 | cpp | Il2CppGenericAdjustorThunkTable.cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
IL2CPP_EXTERN_C void ArraySegment_1__ctor_mAA780E22BB5AE07078510EDCE524DD1EA1E98E0D_AdjustorThunk ();
IL2CPP_EXTERN_C void ArraySegment_1_Equals_m7C20BB4D6ED8DB2DD610999... |
28a597e2eeb4201d0f79e5d534e111aace92a114 | 90aa2eebb1ab60a2ac2be93215a988e3c51321d7 | /castor/tags/version-1.0/test/test_castor.cpp | 08e947001583308bd8627fc1224a6d998fc06b82 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | roshannaik/castor | b9f4ea138a041fe8bccf2d8fc0dceeb13bcca5a6 | e86e2bf893719bf3164f9da9590217c107cbd913 | refs/heads/master | 2021-04-18T19:24:38.612073 | 2010-08-18T05:10:39 | 2010-08-18T05:10:39 | 126,150,539 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 77,260 | cpp | test_castor.cpp | // Castor : Logic Programming Library
// Copyright © 2008 Roshan Naik (roshan@mpprogramming.com).
// This software is goverened by the MIT license (http://www.opensource.org/licenses/mit-license.php).
#include <string>
#include <iostream>
#include <vector>
#include <stack>
#include <list>
#include <algorithm>... |
870c2bbc00fe082981dd1cd3304f4375c424bd51 | 9954a0323d4b2898d7a9441620a47401cbf97b4f | /C# projects/FaceDetector/FaceDetectorSrv/Settings.h | f81ff3578fdb6a0575f8d78678b527474c0c5c6a | [] | no_license | SvetlanaSuvorova/code-example | eb6d023b7d739b7eb783cd22166a3b80fcc96d89 | 8dd3fd3442fe5e3500563545628ca68453c37285 | refs/heads/master | 2022-07-17T18:41:35.585388 | 2020-02-28T16:49:48 | 2020-02-28T16:49:48 | 210,335,825 | 1 | 0 | null | 2022-05-26T02:10:42 | 2019-09-23T11:16:41 | C | UTF-8 | C++ | false | false | 338 | h | Settings.h | #pragma once
#include "XMLSettingsReader.h"
#define VIDEOCHANNUM 1 // Number of video channels. Must be 1 .. 16
class Settings
{
public:
Settings(void);
~Settings(void);
bool Load();
MapStringString GeViScope, Database, Channels[VIDEOCHANNUM];
struct
{
MapStringString Detection;
MapStringString Recognition... |
18555de6370478b9c1358ff41468f0610aa9c2db | e3c0499cc58c9fbec887a2e85672d5e29588f9e0 | /opt/data_type.cpp | a037c8c0900bb5f18e907b23f531228533928a1d | [
"BSD-3-Clause"
] | permissive | stevenknown/xoc | bf19fba2a7851f0c91d62846b61f12000993fa94 | 3514aaf0d742e7c1bff956f5a5e96a92102abe8a | refs/heads/master | 2023-05-14T10:18:34.851859 | 2023-04-29T08:15:24 | 2023-04-29T08:15:24 | 40,242,945 | 132 | 19 | NOASSERTION | 2023-09-08T08:04:04 | 2015-08-05T12:02:52 | C++ | UTF-8 | C++ | false | false | 19,346 | cpp | data_type.cpp | /*@
XOC Release License
Copyright (c) 2013-2014, Alibaba Group, All rights reserved.
compiler@aliexpress.com
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 c... |
cc3ec9c9a7509b5ff6c2179b9538b4802ac12850 | 25165696d67e9efcc6ec4cafd5dfc1d5c0111ae5 | /ComplexNumberClass/ComplexNumberClass.cpp | 841f9710bf5346ccd373f0d8f59743bb5a45e0a5 | [] | no_license | eugenol/Complex_Number_Class | 1410c1f28834664e169ee1cc9c2be2407a31e271 | 7457818365cf467fc844db782cb9a4ffbde4fda6 | refs/heads/master | 2016-09-11T04:59:06.684505 | 2015-03-15T15:46:49 | 2015-03-15T15:46:49 | 31,809,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | ComplexNumberClass.cpp | // ComplexNumberClass.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "Complex.h"
using namespace std;
int main(int argc, char* argv[])
{
double temp;
Complex a, b, res;
/*cout << "Enter real part of first complex number: ";
cin >> temp;
a.setReal(temp);
cout << endl... |
c40db4bbf51489251c7b97f55d1c2cf36e6bf12b | 1bd9e3cda029e15d43a2e537663495ff27e317e2 | /buoyantPimpleFoam_timevaryingBC/timevaryingCavityFoam/18/p_rgh | bf3708664a05de554323e6474aacbcff7d174e3b | [] | no_license | tsam1307/OpenFoam_heatTrf | 810b81164d3b67001bfce5ab9311d9b3d45b5c9d | 799753d24862607a3383aa582a6d9e23840c3b15 | refs/heads/main | 2023-08-10T23:27:40.420639 | 2021-09-18T12:46:01 | 2021-09-18T12:46:01 | 382,377,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709,551 | p_rgh | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | |
a30c84a9eb13eb0733704b8548289a2f1ddc70de | e573631f3781d07a59bc9820102171f01fd15bfe | /src/core.cpp | 4366a6be0e800ab8cb5ca48cc435fbd6ef56203d | [] | no_license | z4yx/NOI2013-enclosure | 3e6646595e60fd470999ed9f7fd75eb4efa36774 | 9aa48178ead1a67cc0225440cf7c3b0d78e5b48b | refs/heads/master | 2021-05-29T18:54:36.744103 | 2014-03-14T16:45:59 | 2014-03-14T16:45:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,427 | cpp | core.cpp | #include <cstdio>
#include <cassert>
#include <vector>
//根据目标位置取得下一步的方向
int calc_next_step(const Point_t &dest,
int distance[MAP_WIDTH+1][MAP_HEIGHT+1],
int player,
Point_t lastPt)
{
int ret = DIR_STOP;
int x = dest.x, y = dest.y;
//从目标位置反向寻找一条距离递减的路径
while(distance[x][y]){
... |
656803107e0951fa449604d4c86223e4e5e79b7e | 8b7b586f5dc645636d7ee70c1e2ef39f682ff865 | /BioImageLib/src/blStatistics/blWilcoxonTest.h | e5a78937209277add669cc154b2066a98b0308b6 | [
"Apache-2.0"
] | permissive | sylvainprigent/BioImageLib | eb83354075f4d9ceeacaef3ddf7b386b20994052 | bf69230b404b969df3faf19c16e3b4a7c3996363 | refs/heads/master | 2021-01-21T21:54:43.937797 | 2020-03-11T16:34:18 | 2020-03-11T16:34:18 | 28,745,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,943 | h | blWilcoxonTest.h | /// \file blWilcoxonTest.h
/// \brief Wilcoxon test functions declaration
/// \author PRIGENT S.
/// \version 0.1
/// \date 2019
#pragma once
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <vector>
using namespace std;
#include "blStatisticsExport.h"
/// \clas... |
78ca141b451f15ca0d90ef881d82babab39c15d5 | ea34252a9daa13d015d68494a6a5d18cd60263ec | /modules/client/devices.cc | 91812dbc7f69da429e3d89af04852e3b920ea063 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | TurBoss/construct | 711cec9bf6dcebbf51f5dda2697d46b558ed87fd | beda5abc2ab884562253324eeeeca7f8789c1891 | refs/heads/master | 2020-04-12T05:50:51.098932 | 2018-12-17T20:47:39 | 2018-12-17T21:18:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,323 | cc | devices.cc | // Matrix Construct
//
// Copyright (C) Matrix Construct Developers, Authors & Contributors
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice... |
f91078e80353f72c1ceb788d0730f283d0cd33f4 | ac04f78dac5c8832b8be6f8a1bd04a8b6c59b964 | /include/halfedge/Polyline.h | fb2ec9ab65df9346784b32f95301cba638dd0d7f | [
"MIT"
] | permissive | xzrunner/halfedge | a17aab183e45321caefae07fc509e7361c480295 | 1a6b7c3adcc2717053c76739d46098c0e4541346 | refs/heads/master | 2023-07-06T21:45:20.223174 | 2023-07-01T02:02:08 | 2023-07-01T02:02:08 | 142,362,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | h | Polyline.h | #pragma once
#include "halfedge/DoublyLinkedList.h"
#include "halfedge/HalfEdge.h"
#include "halfedge/typedef.h"
#include "halfedge/TopoID.h"
#include "halfedge/noncopyable.h"
#include <SM_Vector.h>
namespace he
{
class Polyline : noncopyable
{
public:
Polyline() {}
Polyline(const Polyline& poly);
Polyl... |
48d05e09681637649ab8635ba642f2819cfa6c52 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /PhysicsTools/HepMCCandAlgos/plugins/FlavorHistoryFilter.cc | 93c683aa14e79549cffce42b6d4c76ebe8c7a023 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 10,636 | cc | FlavorHistoryFilter.cc | // -*- C++ -*-
//
// Package: FlavorHistoryFilter
// Class: FlavorHistoryFilter
//
/**\class FlavorHistoryFilter FlavorHistoryFilter.cc PhysicsTools/FlavorHistoryFilter/src/FlavorHistoryFilter.cc
Description:
This now filters events hierarchically. Previously this was done at the python configuration
level... |
56e019c1cd81231dd34b6f217e10248fca3e73ca | c45e77a1d85ed66dc8457c402d0989ab4a4525ed | /capsule_BU.h | ca92f13645c151ca9430b1547d439de3de53a1d4 | [] | no_license | eglrp/CLEAN | c1c13864fc713f1a66bbfb149fbdc5b2396502f5 | 77c91cc02c2d9957e5c153a8ca0dc9725b74d0f7 | refs/heads/master | 2022-01-24T06:18:38.917246 | 2019-09-17T14:56:49 | 2019-09-17T14:56:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,151 | h | capsule_BU.h | #ifndef __TE_Capsule_BU__
#define __TE_Capsule_BU__
#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include "road_trajectory.h"
#include "pattern_BU.h"
#include "pattern_BU_generator.h"
#include "pattern_BU_heap.h"
#include "timer.h"
using namespace std;
class CapsuleBU : public Capsule{
... |
89daf529b6fb3082f4f4e9f54d4aa8dcb42e1e53 | 794ae29f20c6c497ee664420718df788813a7709 | /mtl/mtl/mtl.hpp | 9d4e27225351cbf2f41794f683ab794cd2821781 | [] | no_license | marage/mtl | b0e489be03c60a20ff2ea0e864e42bebec848510 | a18817028385c60d9a76dbff6a2d188db2b1bc6c | refs/heads/master | 2021-01-09T05:55:57.635375 | 2019-10-02T13:26:08 | 2019-10-02T13:26:08 | 80,901,256 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | hpp | mtl.hpp | #ifndef MTL_HPP
#define MTL_HPP
#include <chrono>
#include <boost/cstdint.hpp>
#ifdef MTL_SHARED_LIBRARY
#ifdef MTL_LIBRARY
#define MTL_EXPORT __declspec(dllexport)
#else
#define MTL_EXPORT __declspec(dllimport)
#endif
#else
#define MTL_EXPORT
#endif
#ifdef _MSC_VER
#pragma warning(disable: 4251)
#pragma warn... |
94da0265362ccd63c456748eda78595fd844020f | 119fb7e5cec709965922f7a1829d0ba8c77f91ec | /src/Product.cpp | 0689a994314bcfdf34385c72e7ce382e78c84c65 | [] | no_license | schwarka/CLionRedPencilDemo | c6b18fbe4e37deeb538b0389e795afc9954c2b58 | 99cb3a66498a80067c82934eae7baa46407f1ca8 | refs/heads/master | 2021-01-15T21:09:57.414127 | 2014-09-24T00:50:30 | 2014-09-24T00:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | Product.cpp | #include "Product.h"
#include "RulesEngine.h"
using namespace RedPencilPromotion;
Product::Product(const double &standardPrice)
: StandardPrice(standardPrice), SalePrice(0.00), PriceLastUpdated() {
}
Product::~Product() {
}
bool const Product::IsPromotion() const {
return RulesEngine::IsPriceReducedByA... |
6ccb983f0da0ea0dd723c11554c8be80b5fa5e5a | 242b22bc85b3ef88e7d541d3d62bd2a0f2ede363 | /lib/generator/overworld/OverworldGenerator.h | 6c6360f717a21c3cc2cd8a90e188255283c63dd0 | [
"MIT"
] | permissive | ajunlonglive/ext-vanillagenerator | 7df11a19d574f1c309ecd1c71611bf26c9afa786 | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | refs/heads/master | 2023-08-16T00:56:57.345612 | 2021-09-11T17:10:36 | 2021-09-11T17:10:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,040 | h | OverworldGenerator.h | #ifndef EXT_VANILLAGENERATOR_LIB_GENERATOR_OVERWORLDGENERATOR_H_
#define EXT_VANILLAGENERATOR_LIB_GENERATOR_OVERWORLDGENERATOR_H_
#include <lib/noise/octaves/PerlinOctaveGenerator.h>
#include <lib/noise/octaves/SimplexOctaveGenerator.h>
#include <lib/chunk/ChunkManager.h>
#include <lib/generator/Populator.h>
#include ... |
1d31b38ab6c1dae1f7864ced5aead825d4c2e939 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/DataSync/remoteconsumer/RemoteConsumer.h | dd86cdac98f404c53b10a53956d7de0240d277f4 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | h | RemoteConsumer.h | #ifndef _REMOTE_CONSUMER_H__
#define _REMOTE_CONSUMER_H__
#include <ServiceI.h>
#include <Consumer.h>
namespace com {
namespace renren {
namespace datasync {
class RemoteConsumer : public Ice::Object, xce::messagepipe::Consumer {
public:
RemoteConsumer(const std::string& remoteZkAddress, const s... |
d8060439a587745ce4255e0d3f61ca92933a0ca7 | a1dd219c114cb52601642659712d2bd2b2ca77d3 | /engine/src/hikari/client/game/objects/CollectableItem.cpp | 7aabf9704d227853e1e5d35dd1e2ff80be18f4c2 | [] | no_license | monsterji/hikari | 9e9c2e52ba667a7a8026729eb6eaa3fb524f005d | 2bc3a68cde651945ba31536b43bfd8f09e742a4d | refs/heads/master | 2020-03-28T16:57:59.241649 | 2017-04-22T05:08:10 | 2017-04-22T05:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,050 | cpp | CollectableItem.cpp | #include "hikari/client/game/objects/CollectableItem.hpp"
#include "hikari/client/game/events/EventBus.hpp"
#include "hikari/client/game/events/EntityDeathEventData.hpp"
#include "hikari/client/game/Effect.hpp"
#include "hikari/core/game/map/Room.hpp"
#include "hikari/core/util/Log.hpp"
#include <SFML/Graphics/Render... |
70851e645c12a5226a323edb21d2f886c717a4f4 | 6114db1d18909e8d38365a81ab5f0b1221c6d479 | /Sources/AsProfiled/astudillo/DFA.cpp | 55dc319918a9e4e3fca72f45a82f0e5645746517 | [] | no_license | bitmizone/asprofiled | c6bf81e89037b68d0a7c8a981be3cd9c8a4db7c7 | b54cb47b1d3ee1ce6ad7077960394ddd5578c0ff | refs/heads/master | 2021-01-10T14:14:42.048633 | 2011-06-21T11:38:26 | 2011-06-21T11:38:26 | 48,724,442 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,850 | cpp | DFA.cpp | /***************************************************************************
DFA.cpp - Deterministic Finite Automata
-------------------
begin : Sun Jun 2 2002
copyright : (C) 2002 by Manuel Astudillo
email : d00m... |
2c7d3ce7a30c438cf0a36d4a9c33abe75eb12ba8 | f22065979aba0b472b2bee5742cf77f4cbb25e10 | /shotGame/Classes/ResultScene.cpp | b3b17c20bdb80df3badc00c5cdd993e45ac98769 | [] | no_license | daxingyou/cocos2d-x-games | c71f50f5c4ec9936616e8a9817b88002064fd1a7 | 5ae86168196a5b51416b8b66bef2666faec752d4 | refs/heads/master | 2023-04-04T15:03:48.542593 | 2020-07-06T02:37:13 | 2020-07-06T02:37:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,862 | cpp | ResultScene.cpp | //
// ResultScene.cpp
// shotGame-mobile
//
// Created by 志强 on 2020/5/20.
//
#include "ResultScene.h"
#include "GameScene.h"
#include "SoundCtl.h"
#include "Config.h"
Scene* ResultScene::createScene()
{
// 'scene' is an autorelease object
auto scene = Scene::create();
// 'layer' is an autorelease... |
0246d37a74c1a68fa34b2d701f55abb64969bfe2 | 3be75f25c26d3884a8266b3c0ee9ecb15467a0f3 | /vpnd/udp_socket.h | d645a7d9c9d8f88317cdcfafc4a250c0953c6ce6 | [
"MIT"
] | permissive | eantcal/tvpn | 5d0df0524192b8c2fe3b871aa21b4b4ef1790006 | 8e5186dfd70aa4b05c15d70157339a23b7dcb23e | refs/heads/master | 2021-05-04T11:25:34.819319 | 2020-12-30T19:21:54 | 2020-12-30T19:21:54 | 44,193,109 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,712 | h | udp_socket.h | /*
* This file is part of TVPN.
*
* See also COPYING, README, README.md
*
* Author: Antonino Calderone, <antonino.calderone@gmail.com>
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __UDP_SOCKET_H__
#define __UDP_SOCKET_H__
/* -------------------------------... |
0d6aa03c10a1748cb851161c74df68834fc4083b | 8b9daac9b2e32015d947f53c8f005685beaae877 | /b/b967 第 4 題 血緣關係.cpp | 7213206acfb7c6af094d6bc3f7d812df6c9ee3be | [] | no_license | NarouMas/ZeroJudge | ffa3b19ec742e47ebbc46cb5eb94eee13bc9a8c8 | bed515d77413ddb5595d010c4b912df0207321bd | refs/heads/master | 2020-04-11T08:37:23.688246 | 2018-12-13T14:29:34 | 2018-12-13T14:29:34 | 161,650,012 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | cpp | b967 第 4 題 血緣關係.cpp | #include<iostream>
#include<deque>
#include<cstring>
using namespace std;
deque<int>tree[10000];
int v[100000];
int md,m;
void DFS(int x,int level)
{
int target;
for(int i=0;i<tree[x].size();i++)
{
if(level>md)
md=level;
target=tree[x][i];
if(v[target]==0)
{
v[target]=1;
//cout<<"tree:"<<tree[x][i]... |
a08c854b12e6a9f2e85ae91407f15cb0216bf191 | a1e9b41e6d5fca868f842b625ff0bfd2dfdc0a66 | /pcl_tutorials/src/filter/VoxelGrid_filter.cpp | 1c4256b935600c25d893d66777b26ce1c3525489 | [] | no_license | xuxian112573/cpp_lianxi | 2edc9e02801de96e73d13f6a2277097dc7ecbffc | 5eb877bdd16a36980ac6e968ce8007878616ccb9 | refs/heads/master | 2020-11-27T23:52:14.882182 | 2019-12-23T01:10:29 | 2019-12-23T01:10:29 | 229,652,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,184 | cpp | VoxelGrid_filter.cpp | #include<iostream>
#include<pcl/point_types.h>
#include<pcl/filters/voxel_grid.h>
#include<pcl/io/pcd_io.h>
#include<pcl/visualization/cloud_viewer.h>
#include <pcl_conversions/pcl_conversions.h>
typedef pcl::PointCloud<pcl::PointXYZ> Cloud;
using namespace std;
int main(int argc,char** argv)
{
//定义点云对象指针
pcl::... |
732b793a72073d585444e63b83971c8e1733a5a8 | f8f4aa67bac6feb1ecf5d5cc43cefde5722cd1e1 | /JSImpl/test/ParserTests.cpp | f47b4b3430a7a26a67225e79268bcebb3e5c2430 | [] | no_license | SofiaCPP/IPL | a2ad968a09cae74dfb6cd57c067fa1a2e8d9c0c0 | 4efc456ff03850fa840bfbbc17f30f772562dcf2 | refs/heads/master | 2023-07-10T01:34:47.943866 | 2023-02-10T08:03:58 | 2023-02-10T08:03:58 | 146,637,650 | 25 | 52 | null | 2023-08-17T07:29:34 | 2018-08-29T17:51:02 | C++ | UTF-8 | C++ | false | false | 6,143 | cpp | ParserTests.cpp | #include <src/CommonTypes.h>
#include <src/Lexer.h>
#include <src/Parser.h>
#include <src/ASTPrinter.h>
#include <src/ASTInterpreter.h>
#include <gtest/gtest.h>
#include <sstream>
TEST(Parser, ParseUnaryExpr)
{
IPLVector<Token> tokens = Tokenize("function pesho() { var a = 0; return a; } var a = \"3\";").tokens;
... |
aaeedd9de7f4d39cee28c31966258628b56a32f4 | 6f3227643c8d0ace0b7145318bc6b1e4c1a0acf2 | /C++/10_dynamic_allocations/dynamicMemory.cpp | aff27aa6e1f4ccad4158ed1159fbec0a16c06a93 | [] | no_license | rakshitnayak/cpp | f4a2ecae10d328d007a4645b5d3bb7d84f7a60f2 | 6810adcdc99382068c7ce3595efc4087e18698a9 | refs/heads/master | 2023-06-15T16:17:23.693654 | 2021-07-14T14:04:52 | 2021-07-14T14:04:52 | 306,257,852 | 0 | 1 | null | 2021-03-29T11:59:11 | 2020-10-22T07:32:03 | C++ | UTF-8 | C++ | false | false | 1,601 | cpp | dynamicMemory.cpp | //memory is allocated into two types. i.e stack and heap. stack memory is less and heap memory big in size.
//if you want to delcare variable sized array that is a[n],you should allocate it in heap.
//in stack make sure you declare the size of array on compile time ,and heap during running time.
// stack memory alloca... |
62efd3c8d7f5a5827a3f2017c63b3411b0006e89 | 1f6d1ec4dd5c40c4c63faed4949a282432fd8bf5 | /mc_pron.h | 1aaa574593b2e57a0f092cb364af0bd45a0939fa | [] | no_license | dolly17107/chinese-pronunciation | 6799a3d9095e889c016b55cefc708d1b343a26ad | a835b490f3d0ce752342efc83c1777ccb61387f7 | refs/heads/master | 2021-06-30T10:51:16.042797 | 2021-03-10T05:16:58 | 2021-03-10T05:16:58 | 225,909,607 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,135 | h | mc_pron.h | #include <cinttypes>
#include <array>
#include <optional>
#include <variant>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <string>
#include <regex>
using namespace std::literals::string_literals;
struct lattice_1 {
std::string elsewhere;
std::optional<std::string> triggered;
... |
d7593087a132b2f917bf8c1a2c20aa864740b027 | d93159d0784fc489a5066d3ee592e6c9563b228b | /PhysicsTools/UtilAlgos/interface/BasicFilter.h | 32e8d45e18b5bf69f27575d91851eb2a7e0f52b8 | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 2,307 | h | BasicFilter.h | #ifndef PhysicsTools_UtilAlgos_interface_BasicFilter_h
#define PhysicsTools_UtilAlgos_interface_BasicFilter_h
#include "FWCore/Common/interface/EventBase.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CommonTools/Utils/interface/TFileDirectory.h"
... |
133eec134a203c8d81f2375fa11aa1e5d9ad7282 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5630113748090880_0/C++/cnt/B.cpp | 2b22a59585edae3fd13979b1bbebbefc3802e2f9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | B.cpp | #include <bits/stdc++.h>
using namespace std;
int n,v,cnt[2505];
void init(){
int T;
scanf("%d",&T);
for(int t=1; t<=T; t++){
memset(cnt,0,sizeof(cnt));
scanf("%d",&n);
for(int i = n*(2*n - 1); i > 0; i--){
scanf("%d",&v);
cnt[v]++;
}
printf("Case #%d:",t);
for(int i = 1; i < 2501 and n; i++){
... |
a564942b8b7a07ccba3378b432d83b4bd015d3d7 | c2d278ac1e9f5279b6f357e758b9f003c2884e3b | /archer/Komputer.cpp | 9aee1cd07745fc96f43d86342b4bc7c39041bafc | [] | no_license | kaliszas/archer | f3d1a33d47a555dc811620123f2a89fe3278af85 | 2b4005e50354834f1ef5b3a8de2448e82103ae4c | refs/heads/master | 2020-03-19T07:45:26.580673 | 2018-07-19T11:31:25 | 2018-07-19T11:31:25 | 136,145,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,746 | cpp | Komputer.cpp | #include "Komputer.h"
Komputer::Komputer(std::vector <Npc*> &enemies, std::vector <Npc*> &friends):
wrogowie(enemies), sojusznicy(friends)
{
}
void Komputer::animujKomputer()
{
for(unsigned int i=0; i<jednaPetla(); i++)
{
if(i<wrogowie.size())
wrogowie[i]-... |
52f8c8f598e133932c170aefafbd5c9432d74bd0 | b261d107b73ba5686342ee8af6298593a86891c0 | /AlgorithmCursWork/TestModule.h | bd130fe8184f2c6278b7c3f26e86b6eaf666baa0 | [] | no_license | EAZYBOT/AlgorithmCursWork | fda70f85ed81c93d318e40b6a7454b943f40e253 | f727846c73ff3fc9ac7cb0cecf19e344c8e69ff4 | refs/heads/master | 2020-11-24T14:33:10.997438 | 2019-12-17T15:09:57 | 2019-12-17T15:09:57 | 228,194,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | TestModule.h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <random>
#include <ctime>
#include "datatype.h"
using namespace std;
void print_file(const string& file_name);
void generate_file(int n_recods, const string& file_name);
bool file_is_sorting(const string& file_name); |
a645bee428c7d00b594f2604d185b205a6c91ce1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2700486_1/C++/GunnERs/b.cpp | 66abea5263e29d5097e20fa10bc8b4668d130e06 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | cpp | b.cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <cmath>
#include <algorithm>
using namespace std;
int n, x, y;
double C(int n, int m){
if ( n<m ) return 0;
double ret = 1;
int remain = n;
int rr = m;
for (int i=n-m+1; i<=n; i++){
ret = ret*i;
while ( ret>1 && remain>0 ){
... |
7c3bf5de50867eebd66497cf8c451aa19841a1a1 | 9b6315efb27aadbeb3873047d56c7c91ca298ec2 | /source/FunctionalTest/Material/MaterialFunctionnalTest.cpp | f825b17bc5e247fbff17458c619f93799e88802b | [] | no_license | jjzhang166/LudumDare29 | f09e026d0072467a041109d3eb4215b925c138f4 | c3fc59c55a3667897517f7eaf3c02ae93c72a702 | refs/heads/master | 2023-05-02T18:26:45.140778 | 2014-04-29T03:17:26 | 2014-04-29T03:17:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,869 | cpp | MaterialFunctionnalTest.cpp | #include "FunctionalTest/Material/MaterialFunctionnalTest.h"
#include "FunctionalTest/FunctionnalTestIncludePackage.h"
#include "Utilities/BasicGeometry/BasicGeometryGenerator.h"
namespace Atum
{
namespace FunctionnalTest
{
//-----------------------------------------------------------------------------
void MaterialT... |
88a091115c1091ae7ef84b97b2adc468bc5be723 | 52e85afe3047e967b1a131e406bdc4deaf8121e1 | /test/mocks/rdkafkacpp/MockRdKafkaConf.h | 6006c74ded96e3dbc92625d9a6b3af058552786a | [] | no_license | A-j-K/kafka-notifier | e87f5b9c273ebc9ce98a3eae653e4c7d351d3f32 | 5cfcc59e446cf02e320ef0419ef17250448741a8 | refs/heads/master | 2020-03-16T16:34:16.959581 | 2018-05-17T10:37:12 | 2018-05-17T10:37:12 | 132,793,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,243 | h | MockRdKafkaConf.h | #pragma once
#include <list>
#include <string>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
// https://github.com/edenhill/librdkafka/blob/master/src-cpp/rdkafkacpp.h
#include <librdkafka/rdkafkacpp.h>
class MockRdKafkaConf : public RdKafka::Conf
{
public:
MOCK_METHOD3(set, RdKafka::Conf::ConfResult(const std::... |
da7a69eb90414a66b2b147cc868b9b443cbb5a14 | 1d7bf4a977ba7883e26f516b8cb95832264bd585 | /Chapter14/14-3/TemplateParamDefaultValue.cpp | c88e70002192414d1f0f86dc320111710748f0cd | [] | no_license | riverlike14/Cplusplus_Programming | 106932f0ac2662563cd26b8a8afc6b9b7367dc6e | 7f1a7767631c76d993a1151863bbe48701ed42ff | refs/heads/master | 2021-03-01T03:29:50.866875 | 2021-02-25T07:18:23 | 2021-02-25T07:18:23 | 245,750,402 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | TemplateParamDefaultValue.cpp | #include <iostream>
using namespace std;
template <typename T=int, int len=7>
class SimpleArray
{
private:
T arr[len];
public:
T& operator[] (int idx)
{
return arr[idx];
}
SimpleArray<T, len>& operator=(const SimpleArray<T, len>& ref)
{
for (int i = 0; i < len; i++)
arr[i] = ref.arr[i];
return *this;
... |
7a2769354bd66ba1eee54823a1f6e7eb97ffb4bf | 98d32633a148aa9c7343830abf83b9e9fb61141d | /BFS/2583/2583.cpp | 23bd987ac3010468e694ec1e9d1381e4778f4907 | [] | no_license | Astro86/baekjoon | d4f6fba1d87a97a790a06d24c62cb0b0561fb49f | e39172a621cff82c13ff0adf70a75fbd59dee3fb | refs/heads/master | 2022-10-24T13:17:55.911169 | 2020-06-11T02:33:24 | 2020-06-11T02:33:24 | 245,296,350 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | cpp | 2583.cpp | #include <algorithm>
#include <iostream>
#include <queue>
using namespace std;
int map[110][110];
int M, N, K;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, -1, 0, 1};
int areaNum;
int area[1000000];
queue<pair<int, int>> q;
int main(void) {
cin >> M >> N >> K;
for (int i = 0; i < K; i++) {
int lx, ly, ... |
d6306fe660ec7743e96c4b46b26f247cf66a45f8 | f53891174b71e3b52497b3ab56b30ca7056ef1b7 | /range-v3/test/algorithm/partition_point.cpp | bdd2bc4f46f65f44ff18baeae29c1d89f52bcef2 | [
"Apache-2.0",
"NCSA",
"LicenseRef-scancode-mit-old-style",
"MIT",
"LicenseRef-scancode-other-permissive",
"BSL-1.0"
] | permissive | infinit/elle | 050e0a3825a585add8899cf8dd8e25b0531c67ce | 1a8f3df18500a9854a514cbaf9824784293ca17a | refs/heads/master | 2023-09-04T01:15:06.820585 | 2022-09-17T08:43:45 | 2022-09-17T08:43:45 | 51,672,792 | 533 | 51 | Apache-2.0 | 2023-05-22T21:35:50 | 2016-02-14T00:38:23 | C++ | UTF-8 | C++ | false | false | 9,490 | cpp | partition_point.cpp | // Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler/range-v3
... |
d8db37091d215169090f1b6fe656d8186db83566 | 48635acff31c20a26191072975a5fddcb95c7f90 | /basic_types.cpp | 51a11447c5612aeed21d8c97b289cc93e8956eec | [] | no_license | grayrattus/cpp_opencv_sandbox | 269bc2f1ba153337bf3c835f40e55d55973be77e | 4e159f482be380f86862ffc39c2c25cb883696cf | refs/heads/master | 2021-01-24T01:58:04.488217 | 2018-02-25T11:35:31 | 2018-02-25T11:35:31 | 122,827,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | basic_types.cpp | //-L/usr/local/lib -lopencv_videostab -lopencv_ml -lopencv_shape -lopencv_dnn -lopencv_superres -lopencv_photo -lopencv_video -lopencv_stitching -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_objdetect -lopencv_imgproc -lopencv_flann -lopencv_core
#include "opencv2/h... |
9b93678fdd5c09c948e5968d7fb61a19f6890bce | 97dba80026128e9296e575bb58b9cc7867bbc77f | /leetcode/ZigzagConversion.cpp | 1d9071bece912ba3f59d5c65796ae165c1b0144a | [] | no_license | intfloat/AlgoSolutions | 5272be3dfd72485ff78888325a98c25b2623e3cb | 2f7b2f3c4c8a25eb46322e7f8894263ecd286248 | refs/heads/master | 2021-12-23T08:18:32.176193 | 2021-11-01T05:53:27 | 2021-11-01T05:53:27 | 9,474,989 | 18 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | ZigzagConversion.cpp | #include <vector>
#include <string>
using namespace std;
// just simulate the whole process
class Solution {
public:
string convert(string s, int nRows) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
vector<char> v[5000];
for(int i=0; i<nRows; i... |
5cb696b51de8dfd9db296ed0319b246fec135747 | 3f8ae29b6d496e0eead289b9b70a0fa0f35e9ba6 | /CSE/WorldStateProperty.h | f2782f30be7ac0170db6045ecbff100fcb50ef02 | [] | no_license | Niklaren/CSE | e86de94a27b91cd6f06188647e4933ff0c748868 | d3e7c8f36648899a25fdd039074d5a174216cc31 | refs/heads/master | 2021-01-10T19:02:44.091625 | 2015-10-05T17:26:41 | 2015-10-05T17:26:41 | 32,898,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,896 | h | WorldStateProperty.h | #pragma once
#include <string>
using namespace std;
// possible events that need reaction. (not all get used)
enum eWorldStateEvents
{
WSE_Invalid = -1,
WSE_MoodChange,
WSE_PersonalityChange,
WSE_FoodGiven,
WSE_RequestEntry,
WSE_RequestEscort,
WSE_WolfKnowsGrandma,
WSE_AskDirections,
WSE_Punch,
WSE_Hug,
W... |
229dad7c1e273a71085a2e0d955a2208945e5e0d | 4207610c48cbb9021f4420791a9c9d07550b72d9 | /JUCE/extras/Projucer/Source/ComponentEditor/Components/jucer_ComponentNameProperty.h | 8f4ea3c556a0d400806e46cfbc47457c4a0866b8 | [
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-3.0-only",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"BSD-3-Clause"
] | permissive | RomanKubiak/ctrlr | d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9 | 8aa00d82127acda42ad9ac9b7b479461e9436aa4 | refs/heads/master | 2023-02-13T00:21:04.546585 | 2022-06-24T10:53:16 | 2022-06-24T10:53:16 | 14,671,067 | 435 | 82 | BSD-3-Clause | 2022-05-31T18:18:23 | 2013-11-24T22:53:11 | C++ | UTF-8 | C++ | false | false | 5,509 | h | jucer_ComponentNameProperty.h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... |
63ff9733e3596915dafcc5aafa4ae3102b53b69d | fd66863d9ef9cc54fec1382b2e7b4ad2e3fe611b | /c++11/myalgo_test.cpp | d2db438f07d00965ccc1ad39a1418b94bd002fe7 | [] | no_license | chungae9ri/dsa | 1121bca36a6a9adc9ac1a2472656dbcca2378493 | 52045ecf04cabe6c2409cac3d4b5d1f30c18e2c5 | refs/heads/master | 2021-07-11T01:30:21.036419 | 2021-03-27T02:09:49 | 2021-03-27T02:09:49 | 41,918,837 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | myalgo_test.cpp | #include "myalgo.h"
#include <vector>
#include <iostream>
int main()
{
// 1. permute test
std::vector<char> carray;
carray.push_back('a');
carray.push_back('b');
carray.push_back('c');
carray.push_back('d');
carray.push_back('e');
myalgo::permute<char> mypermute;
mypermute(carray, 0, carray.size() - 1);
... |
4499e1517efc5c6a132257f2171ea645dbbe7625 | 1fccc3615b400a119e43ee85d10b739430ee17d4 | /include/ozo/shortcuts.h | f35d4dbfc38a4c291c3ca55012e769a3aa71d452 | [] | permissive | yandex/ozo | c34de66e75dc8c11ed211e933149c498966cb272 | abb098aea4b992b6d06391f892e100d829e50188 | refs/heads/master | 2023-03-20T07:40:24.181802 | 2023-03-10T07:33:30 | 2023-03-10T11:40:08 | 106,461,599 | 229 | 48 | PostgreSQL | 2023-03-10T11:40:09 | 2017-10-10T19:24:45 | C++ | UTF-8 | C++ | false | false | 3,018 | h | shortcuts.h | #pragma once
#include <tuple>
#include <vector>
#include <list>
#include <ozo/result.h>
namespace ozo {
template <typename ... Ts>
using typed_row = std::tuple<Ts...>;
/**
* @ingroup group-requests-types
* @brief Shortcut for easy result container definition.
*
* This shortcut defines `std::vector` container fo... |
24f8d9377a3cd60646c68789bfc7ac290539903d | fca5b197e6f0041e5c2bb3a58454a9eb293ee95c | /aquivosModelo/Fotos.cpp | 8b28bc0cd23a47eb6bf4894a11a8830344a2ec4a | [] | no_license | vrbarreira/exLoginSenha | 32dde32b4fb3e2841a82b0328adb179e3587acaa | 16550a4316d17ff8d51abdb693f4299fc910e866 | refs/heads/master | 2020-03-13T06:27:32.906022 | 2018-07-04T14:34:53 | 2018-07-04T14:34:53 | 131,005,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | Fotos.cpp | #include "Fotos.h"
//Begin section for file Fotos.cpp
//TODO: Add definitions that you want preserved
//End section for file Fotos.cpp
//@generated "UML to C++ (com.ibm.xtools.transform.uml2.cpp.CPPTransformation)"
Fotos::Fotos()
{
//TODO Auto-generated method stub
}
//@generated "UML to C++ (com.ibm.xtools.tran... |
d481bb68c8b1ea55ca23e7d8012eea85ff7676b1 | cc6c7e96164b24e1566f2f5b548a0c1dc2786cf8 | /1 course/1 sem/labs/lab6/B/main.cpp | 41d2c67ad983191c397110b4146797ee955bf1cf | [] | no_license | ITMO-Khan/ITMO | fec621a63d17242dac537c49c03fe243512e586e | 7e417a592632b557c73f58c8d2fe8f55a091d524 | refs/heads/master | 2020-09-09T06:54:10.342369 | 2018-06-02T12:48:01 | 2018-06-02T12:48:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <algorithm>
using namespace std;
int main()
{
long long a[2000],c[2000], p[2000], d[2000];
int n;
cin>>n;
for (int i = 0; i < n; i++){
cin>>a[i];
}
p[0] = 0;
for (int i = 0; i < n; ++i) {
d[i] = 1;
p[i] = i;
fo... |
9c9cc4f9822c51df09476d0257ebbaed706b8777 | d2e5a604f7405c0f665456b75d100a9f6fee3b91 | /4Sum/t.cpp | 6f484c45491072a62c0606b0fc26f3e2c2b309ac | [] | no_license | verif/leetcode | d7346d74131659663087362212566e812ba248cc | 3684012b5a65d1328688a5429293a0ec9cad7ddc | refs/heads/master | 2021-01-19T13:25:32.383453 | 2015-11-04T07:23:55 | 2015-11-04T07:23:55 | 22,996,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,119 | cpp | t.cpp | /*
Given an array S of n integers, are there elements a, b, c, and d in S such
that a + b + c + d = target? Find all unique quadruplets in the array which
gives the sum of target.
Note:
Elements in a quadruplet (a,b,c,d) must be in non-descending order. (ie,
a<=b<=c<=d)
The solution set must not contain duplic... |
b78685cca7845b7d49c4707004d2d4c08379cde0 | b32cd23f4a35f9da6c72ad6b36407e4c8f4c1d98 | /numberarg.hpp | d931e362c1d73061a466943c452cbe55c062a120 | [] | no_license | justanothercoder/Compiler | 0ea2936c679ca7340217ce636fce603c98293144 | 79a44744be646cf8edfeefff44c28f776889ed6e | refs/heads/master | 2021-03-12T19:59:08.085875 | 2015-03-20T04:39:46 | 2015-03-20T04:39:46 | 18,298,874 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | hpp | numberarg.hpp | #ifndef _NUMBERARG_HPP_
#define _NUMBERARG_HPP_
#include "arg.hpp"
class NumberArg : public Arg
{
public:
NumberArg(int _value);
std::string toString() const override;
void gen(const Block& block, CodeObject& code_obj) const override;
const Type* type() const override;
int value() cons... |
76d2df5639d0214c47a5144a7eb28243ccb389d9 | c35cc3c3a72cb6d103243f41955c14aa6d68da34 | /Main.cpp | 79f28b50ce937d4f09b144249e7382409bf4af25 | [] | no_license | Rikitaru/Pattern.-Observer.5 | 9e57e55cdb73375900208545e7d83eb04f2edae3 | 6f88b5cab134fdc47d3c852f570edf9dc57941b8 | refs/heads/main | 2022-12-27T11:13:10.795790 | 2020-10-05T15:34:44 | 2020-10-05T15:34:44 | 301,456,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,019 | cpp | Main.cpp | #include <iostream>
#include <stdlib.h>
#include "toTXT.cpp"
#include "AgainVector.h"
#include "InterfaceSubscriber.h"
#include "InterfacePublisher.h"
using namespace std;
int main(void)
{
setlocale(LC_ALL, "rus");
char s0[]{ "TopGear" };
char s1[]{ "National Geographic" };
char s2[]{ "People" };
c... |
f20b1c2ee407920a18d5606a54dfb019b45c0554 | 0b60f2a411f8debb5eb3b653123b0171ff1a5512 | /1-m-test/tests.cpp | 5373b3adf67f7eabee598b33780647c0b24752b0 | [] | no_license | NCherevichkin/Unit-test-procedural | 554c76233e771bcd1178e87689ea65bea83517db | 1b209bf14f15eda2e87995c8ed5bd20f3ab2abb1 | refs/heads/master | 2020-05-14T17:14:57.191644 | 2019-04-17T12:45:03 | 2019-04-17T12:45:03 | 181,889,621 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,826 | cpp | tests.cpp | #include <string>
#include "pch.h"
#include "../1-m/box.cpp"
#include "../1-m/sphere.cpp"
#include "../1-m/tetrahedron.cpp"
#include "../1-m/shape.cpp"
#include "../1-m/container.cpp"
#include "../1-m/sphere.h"
using namespace std;
using namespace simple_shapes;
string GetEntityStringView(shape temp)
{
switch (te... |
92743fb8b52ee501ac191382fe8b96ddd72cab5a | b0f26ffb7f31fd17db24e14cfa0512e9dce7a348 | /Project2/ZHN_TEST2_1/Search.cpp | 27ad2d6da9420464eb86ee3d5221553ec127577e | [] | no_license | Hezhing/CodeOfMFC | eab2095ea9cd04da9b40f27d990fbc4c8cc8bd6b | 08ade887b19b2f07df97de351f4a4949e4d92d63 | refs/heads/master | 2020-09-02T05:36:06.995057 | 2020-05-16T09:03:42 | 2020-05-16T09:03:42 | 219,140,068 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,963 | cpp | Search.cpp | // Search.cpp : 实现文件
//
#include "stdafx.h"
#include "ZHN_TEST2_1.h"
#include "Search.h"
#include "afxdialogex.h"
// CSearch 对话框
IMPLEMENT_DYNAMIC(CSearch, CDialog)
CSearch::CSearch(CWnd* pParent /*=NULL*/)
: CDialog(CSearch::IDD, pParent)
{
q_state=false;
}
CSearch::~CSearch()
{
}
void CSearch::DoDataExchange... |
76bbd91fc89bda5506ef36d3614768c64c59e7cb | 008a5f9ea2cf528186de5506a9841e99b5806896 | /Tools/interface/MVAComputer.h | 579fadfa5a60c35833b136c89d60817e0ec7be40 | [] | no_license | TopBrussels/TopTreeAnalysisBase | 86ac6f9f4fbad008068612d076d165acc7dcb9f1 | 557647cc6693783a0d315a5806fa83ea6a3e29f4 | refs/heads/CMSSW_80X | 2021-01-17T03:53:26.988093 | 2017-09-13T14:43:50 | 2017-09-13T14:43:50 | 11,848,181 | 1 | 5 | null | 2019-12-03T09:37:10 | 2013-08-02T16:56:43 | C++ | UTF-8 | C++ | false | false | 1,599 | h | MVAComputer.h | #ifndef MVAComputer_h
#define MVAComputer_h
#include <cstdlib>
#include <vector>
#include <iostream>
#include <map>
#include <string>
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TPluginManager.h"
#include "TStopwatch.h"
#include "TH1F.h"
#include "TMVA... |
5d2e35eaabe1f540ad2441303d5c8a4372bf3a64 | b05f1cbd207e22f12e7f3076bf56181787b68085 | /ACM solved the question with Corresponding number/dE1.cpp | 0284d03d68743752e1d8dc7095efb14af649c993 | [] | no_license | NikoSoftware/Algorithm | e76db0556acdcfedd06d027a5642c6472254c50e | ceff66d6d6839ae8deb802e5e2e7e31c02025115 | refs/heads/master | 2020-12-30T14:45:13.903814 | 2017-05-12T11:54:42 | 2017-05-12T11:54:42 | 91,084,931 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | dE1.cpp | #include<stdio.h>
#include<math.h>
int main()
{
int n,m,i,sum;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&m);
if(m>4)
{
printf("%.f\n",pow(2.0,m-1)-pow(2.0,m-3));
}
else
if(m==4)
printf("%d\n",7);
else
printf("%.f\n"... |
55c2be4ac5e6fd3bfc14a94464c77fa7f84be8b0 | 794c094903b8b6693b50e2164952ed1ddbb55fa3 | /modules/call_mission/script_component.hpp | 3ab67828160d3dd24e4fc6d2528116f8197db919 | [
"MIT"
] | permissive | PiZZAD0X/Olsen-Framework-Arma-3 | a8acefedbf934a2fbb097c3690589a9b355aba47 | b5467ef6a6f9dd99fcee1b4d046219c524058e35 | refs/heads/master | 2022-09-22T01:19:33.280212 | 2022-08-25T19:50:29 | 2022-08-25T19:50:29 | 132,228,519 | 2 | 1 | MIT | 2020-04-11T01:28:46 | 2018-05-05T08:20:12 | SQF | UTF-8 | C++ | false | false | 64 | hpp | script_component.hpp | #define COMPONENT CALLM
#include "..\..\core\script_macros.hpp"
|
8b92ed810e522248d7a00242a256d64bf4ad8caa | 6ccf2440f10c2bee2ead1f4d363568787529054e | /systray.cpp | c9f632cf3b161c9d68664d0b9856ac3e6c88d9ce | [] | no_license | rand3289/OutNetTray | 2137ed9c3110f815ea07a9575c05425c0d6e0aa4 | fcb7628ca4aceb958104becb719b1ab35401b044 | refs/heads/main | 2023-04-22T08:15:01.202690 | 2021-05-04T04:16:11 | 2021-05-04T04:16:11 | 364,135,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cpp | systray.cpp | #include <qapplication.h>
#include <QSystemTrayIcon>
#include <QIcon>
#include <QUdpSocket>
#include <cstdlib> // strtol()
#include <iostream> // cerr
using namespace std;
// System tray icon to display notifications.
// This program requires QT to compile.
// To test using bash shell: echo test,title,,3, | tr , \\0 >... |
69fcb0fdaceacd416c96754420de9d11ffe5917a | 2d1f7c016a3842b98186b0c9f2ed0d3a381a2dc8 | /main.cpp | 763722bf64e1239281782680124553d7026ba8e8 | [] | no_license | caozhaoliang/UtillDir | c7fe55dfc90436aff2b147d48c90bfb0d3d8c7b1 | 81f04ae8815c67ad54989d9a04d14564ad67e35d | refs/heads/master | 2021-06-30T20:01:39.085546 | 2017-09-09T09:36:23 | 2017-09-09T09:36:23 | 103,342,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | cpp | main.cpp | #include <iostream>
// #include "utillDir.hpp"
#include "utillStr.hpp"
using namespace std;
using namespace Utills;
int main()
{
string filepath = "/opt/kds/mobile-stock/demo_curl/./pthread/test.txt";
FilePath fp(filepath);
// fp.test();
cout << fp.GetFilePath() << endl;
// cout << fp.GetFileNameFr... |
8da74056f24d4f5736daa4341e110723dc6f2b1f | b4fb70460ec81af91426ea798218f4b53e2e59a3 | /C++/作业3.cpp | cccc4ba6d8fda4aa3ac291c97cfd7f33ec5379d2 | [] | no_license | Jonsen-Brad/wincode | 8b6263140d253b870c1ec45ae5e7dc243ed31b90 | 357c31e4562a8e78ddef52f4afe706cf32a4cc52 | refs/heads/master | 2022-04-20T05:26:13.841979 | 2020-04-20T01:53:27 | 2020-04-20T01:53:27 | 254,891,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | 作业3.cpp | #include<iostream>
using namespace std;
int baiqian(){
int sum = 100;
int one = 1;
int two = 2;
int five = 5;
int ans = 0;
for(int i = 0; i <= 100; i++){
for(int j = 0;j <= 50; j++){
for(int k = 0;k <= 20; k++){
if(sum == one*i + two*j + five*k){
... |
24f5017e584713904cb4d62854588e59bcbb7665 | 07e663a29ba59cc13ee01aaa6738e901e7976005 | /roo_smooth_fonts/NotoSerif_Regular/18.cpp | b9e492efdb78c7dbedf4f0032600f724df8538a2 | [
"MIT",
"BSD-3-Clause",
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | dejwk/roo_display | feab04f2f63a56420a05f07027dfda9733cca001 | c6abdc6f36318cf9d8e652135665cf7d5a061a86 | refs/heads/master | 2023-09-01T09:07:55.386832 | 2023-08-12T18:08:19 | 2023-08-12T18:08:19 | 236,864,714 | 9 | 1 | NOASSERTION | 2023-06-07T21:30:57 | 2020-01-28T23:25:14 | C++ | UTF-8 | C++ | false | false | 270,110 | cpp | 18.cpp | #include "18.h"
#include "pgmspace.h"
#include <inttypes.h>
#include "roo_display/font/smooth_font.h"
namespace roo_display {
// Font NotoSerif-Regular (Noto Serif Regular)
// Generated on Thu Mar 30 22:29:08 CEST 2023
static const uint8_t font_NotoSerif_Regular_18_data[] PROGMEM = {
// Header
0x01, 0x01, 0x04... |
0dfcefbadada917957e579ab940d45c1e79f6c02 | de21f9075f55640514c29ef0f1fe3f0690845764 | /regression/cbmc-cpp/Conversion11/main.cpp | 938a4bb2c845421179c0abe0dd83da1f4ad192f8 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4-Clause"
] | permissive | diffblue/cbmc | 975a074ac445febb3b5715f8792beb545522dc18 | decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16 | refs/heads/develop | 2023-08-31T05:52:05.342195 | 2023-08-30T13:31:51 | 2023-08-30T13:31:51 | 51,877,056 | 589 | 309 | NOASSERTION | 2023-09-14T18:49:17 | 2016-02-16T23:03:52 | C++ | UTF-8 | C++ | false | false | 37 | cpp | main.cpp | char *func()
{
return (void *)0;
}
|
23617b6b546a912e77b2fb9d570006885c5ef968 | 4f7c53c128328f294e9b67a4eb00b72c459692e6 | /app/Components/ButtonStruct.h | e77a1fa52aab944efcba6e63ba1c174415402357 | [] | no_license | milczarekIT/agila | a94d59c1acfe171eb361be67acda1c5babc69df6 | ec0ddf53dfa54aaa21d48b5e7f334aabcba5227e | refs/heads/master | 2021-01-10T06:39:56.117202 | 2013-08-24T20:15:22 | 2013-08-24T20:15:22 | 46,000,158 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | ButtonStruct.h | #ifndef BUTTONSTRUCT_H
#define BUTTONSTRUCT_H
#include <QSize>
#include <QString>
class ButtonStruct
{
private:
QString status;
QString textValue;
QString icon;
QSize shape;
public:
ButtonStruct(QString textValue, QString status, QString icon, QSize shape);
ButtonStruct(QString textValue, QSt... |
f261707c20e5c2f497e55e78471e3942425ec2e9 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/IGESControl_Reader.hxx | 1e7458eb9c29f4b6ccbc65bc12c7af2e72a0e393 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,737 | hxx | IGESControl_Reader.hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESControl_Reader_HeaderFile
#define _IGE... |
8a8c358e617ddcb000108bea95c8c8e3f0ff68a5 | 259a2627533934129174f07ecc1379ee616a37d8 | /bloom_filter.h | d11e6032f150f877af331ef5657e61f52ae76f04 | [] | no_license | liangtaohy/cplusplus | a8234cc8a76a3254cdb81a98708c631e1ce185b8 | 341b775b2ac385c951a7efc550a8a8e9bb7290d3 | refs/heads/master | 2020-04-28T02:45:21.639580 | 2019-06-21T14:54:14 | 2019-06-21T14:54:14 | 174,910,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,140 | h | bloom_filter.h | #ifndef BLOOM_FILTER_H
#define BLOOM_FILTER_H
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <iterator>
#include <limits>
#include <string>
#include <vector>
#define HASH_OP(hash, i1, i2) \
hash ^= (hash << 7) ^ (i1) * (hash >> 3) ^ \
(~((hash << 11) + ((i2) ^ (hash >> 5))... |
7856d7d7ac930f9942dbb5fdc269369163d9b682 | 0c671c171608ca427f74bb8e796c909520a071a9 | /p1.cpp | 6b72243329981ba1378a192a4dd21de319f72b31 | [] | no_license | yerson001/ColaShmSemafore | 653e8681ea3b266231e20d73d8d20bd709d73265 | 30fd01781f6a420337fe1f889a9efeb532293b29 | refs/heads/main | 2023-01-21T11:16:21.557750 | 2020-11-28T01:55:05 | 2020-11-28T01:55:05 | 316,634,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | p1.cpp | #include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <time.h>
#include <iostream>
#include <queue>
#include <thread>
#include <unistd.h>
using namespace std;
#define SHMSZ 27
//************************************
//g++ p1.cpp -o p1 -std=c++11 -pthread
//************************************
queu... |
43da064d0d993c5d312e0fe85ccc9831fc60636a | 01d93623ad3c22fff15cf9caf981f4c4990afdd8 | /Project1/Phase1/LaserTest/LaserTest.ino | 7fb04319a7e5cf2cf297ca347e44cba351b1b356 | [
"MIT"
] | permissive | ecuellog/RealTimeSystems | dee818e52e4287911bc4aa28386ebc803c755dda | 9ccf25607c5b2e326a1b095bb36352980f3c17a0 | refs/heads/master | 2020-12-30T15:22:16.565514 | 2017-04-06T18:46:41 | 2017-04-06T18:46:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | ino | LaserTest.ino | void setup() {
// LASER
pinMode(53, OUTPUT);
}
void loop() {
digitalWrite (53, HIGH);
delay (1000);
digitalWrite (53, LOW);
delay (1000);
}
|
fbfa65836d484021e05877f2ff2cc2f135f8115d | 65a003b040520730f0db71d0df1d0d52a30c2c50 | /control/lib/catalogs/BSCStar.cpp | 742e0ff4a278d204efb8a5e0a3f171a87d3be0da | [] | no_license | AndreasFMueller/AstroPhotography | dd4db3b90bd14eaf0f8cc225d19da1477a21418d | 23174595f1d0cb64bfcba46db75ade9925d245a4 | refs/heads/master | 2023-01-12T12:53:51.582049 | 2023-01-02T20:43:42 | 2023-01-02T20:43:42 | 7,716,135 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,722 | cpp | BSCStar.cpp | /*
* BSCStar.cpp -- bright star catalog star implementation
*
* (c) 2014 Prof Dr Andreas Mueller, Hochschule Rapperswil
*/
#include "BSC.h"
#include <fstream>
#include <AstroDebug.h>
#include <includes.h>
#include <AstroFormat.h>
#include <typeinfo>
namespace astro {
namespace catalog {
static std::string BSCname... |
a675c1dcc32468eb78c68d73270633aa6b1131d2 | b8be1845bc294174199a7d120783545a486f82d9 | /application/shader/shaders.cpp | 649e1bb91799c03a4f73ff8ba2bd9704714e8eda | [
"MIT"
] | permissive | bmjoy/Physics3D | d57a0c318b2cf4442874b0d4e070ba883c53c522 | 9b93553a2a3bd11ee9c9897a44ab0bbbca93579c | refs/heads/master | 2022-04-25T17:47:50.298392 | 2020-04-21T00:04:24 | 2020-04-21T00:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,619 | cpp | shaders.cpp | #include "core.h"
#include "shaders.h"
#include "resources.h"
#include "extendedPart.h"
#include "../graphics/texture.h"
#include "ecs/material.h"
#include "ecs/light.h"
#include "../util/resource/resource.h"
#include "../util/resource/resourceManager.h"
#include <sstream>
namespace Application {
namespace Applic... |
cd932556f21fd6f47fb3adf8f7c73e73ab5660e2 | c1352062c0084e0c1d0eed47f7b1a49d0bbd1af4 | /LBase/LRedisClient.cpp | 0727ec54eb365a2e109622e0cc9c7bf6574709aa | [] | no_license | wang972455083/zizouqi | e2506a6866ebb92682f7f79b0005796072a59f21 | 8a9f84eab04813f96460be61198cf507f2d07b21 | refs/heads/master | 2020-04-29T02:26:00.556621 | 2019-03-25T00:44:40 | 2019-03-25T00:44:40 | 175,767,036 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,582 | cpp | LRedisClient.cpp | #include "LRedisClient.h"
#include "LLog.h"
#include "BaseCommonFunc.h"
CRedisClient::CRedisClient()
{
m_bInit = false;
m_uRedisPort = 0;
m_strRedisIp = "";
}
CRedisClient::~CRedisClient()
{
}
bool CRedisClient::initRedis(std::string strRedisIp, unsigned short uRedisPort)
{
if(m_bInit)
{
return true;
}
if... |
9ddfe51f484f0a975d32ce117e052e5ee8c5d851 | 3e5858f0505cf0860cba478c66987f7a41a72686 | /NBody/nbody.cpp | 8561aeb3c264e3cd10672558279b28b0fd23062e | [] | no_license | rcyl/COS126 | e8e360893128deca7525591a1daff47ef4503feb | d03b8274dfb6b5aea3d8ef26755b8c9150b113b8 | refs/heads/master | 2021-06-14T19:05:30.724356 | 2021-04-16T12:14:53 | 2021-04-16T12:14:53 | 174,628,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,984 | cpp | nbody.cpp | /*
* nbody.cpp
*
* Created on: 31 Jul, 2017
* Author: rcyl
*/
#include <QDebug>
#include <iostream>
#include <iomanip>
#include <unistd.h>
#include "nbody.h"
NBody::NBody(QTextStream & qtin, qreal dt, qreal T, QWidget *parent) :
QWidget(parent), dt(dt), T(T)
{
QStringList list;
setStyleSheet("background... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.