blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e164798d03df39bb3f4fc0391c3c5c8e8ef23bd | 04101fb4c49840c54d314b44ecdfbacaea99d9ec | /test_243/test_243/main.cpp | 5be607bac48a46fc83f7d471ad9e738490bcf7d9 | [] | no_license | lantian-fz/test_cpp | b3e14da51e84876a20244f3693364e66e47b904d | 8b0a776be3b00591f08deca9b208130ccdbedb8c | refs/heads/master | 2021-07-16T00:25:39.257501 | 2020-10-17T08:07:14 | 2020-10-17T08:07:14 | 216,210,039 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 776 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
//剑指offer-求1+2+...+n
//要求不能使用乘除法、for、while、if、else、switch、case等关键字及条件判断语句(A ? B : C)。
#include <iostream>
using namespace std;
class temp
{
public:
temp(){ x++; sum += x; }
static void Reset(){ x = 0; sum = 0; }
static size_t GetSum(){ return sum; }
private:
static unsigned int ... | [
"2459396922@qq.com"
] | 2459396922@qq.com |
4352b1b7177c6db9f706b88e70f735b0fdaebf88 | 0f01dab3b868e94298fc54d5b449c71f435a56e3 | /游戏组件/子游戏/二人麻将(机器人)/客户端组件/CardControl.h | 70ce25fa5ca885a2032ef0923f025687dff3aad5 | [] | no_license | ydcrow/refFoxuc | c6284476ed530263a5ffb8f8e7d37251e393c0d2 | f85601c050bb5f24883c88bbef0982b16ff952e3 | refs/heads/master | 2023-02-07T06:03:06.317797 | 2020-12-26T02:49:37 | 2020-12-26T02:49:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,311 | h | #ifndef CARD_CONTROL_HEAD_FILE
#define CARD_CONTROL_HEAD_FILE
#pragma once
#include "Stdafx.h"
#include "Resource.h"
#include "GameLogic.h"
#include "cassert"
//////////////////////////////////////////////////////////////////////////
//X 排列方式
enum enXCollocateMode
{
enXLeft, //左对齐
enXCenter, //中对齐
en... | [
"412824500@qq.com"
] | 412824500@qq.com |
d5b7e230d395a278286987f210828ac1173ec11f | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/bindings/core/v8/v8_css_grouping_rule.cc | 173b51869ef88897167502f77e6a6b43290b3cdb | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,517 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cpp.tmpl
// by the script code_ge... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
7ba498f9b381bba1a3f2ab0aeb4a74e028cd964f | b4f69f685cbb337f34cdf469a0d23d8cf2a93018 | /ActionExmaple.cpp | a3f08546255bd485a1f9ee8af584b1ec5f4ac94f | [] | no_license | JIAWEILONG/JWLONG-Clang-Project | 13c9e0d58aa42a151ac9ff8899bb29526f439c81 | 7aa9e78535d06c8aef0c6e4cd2b6bdc69571578d | refs/heads/master | 2021-01-04T14:10:50.909367 | 2014-05-02T00:17:07 | 2014-05-02T00:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | cpp | #include <stdio.h>
#include <string>
#include <sstream>
// Declares clang::SyntaxOnlyAction.
#include "clang/Frontend/FrontendActions.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Tooling.h"
// Declares llvm::cl::extrahelp.
#include "llvm/Support/CommandLine.h"
#include "clang/ASTMatcher... | [
"ntrolls@gmail.com"
] | ntrolls@gmail.com |
ad741ad24cfa255ec2485a5156c6d0c2083c3946 | ce68b4394d315b17f9479c57cdd8b818f769460e | /src/main.cpp | c3f27ba6d166ed2c5ac122d742587dc69047c714 | [] | no_license | samzanemesis/openhh | aa8038164c4a68cd4dd590cec22a61b44d26677f | 7fba251aae46419c47ad9c54a3b3367ed166b99e | refs/heads/master | 2023-07-17T18:36:04.084978 | 2021-09-07T19:28:06 | 2021-09-07T19:28:06 | 404,099,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | import Hedgehog.Core.Application;
int main(int argc, char** argv)
{
try
{
Hedgehog::Core::CApplication game{};
game.Run();
}
catch (int& e)
{
// Log::Error(e.what());
}
return 0;
} | [
"samzanemesis@gmail.com"
] | samzanemesis@gmail.com |
c5eb435db3a6970a79160bb324dda898f64c8a46 | 1e5e8eb1ce02bc9d1ec0bf8d29670a5f53bb9ff5 | /round_memsql/a.cpp | 95548b5ce6a896044c9421e333dffbbbb9ade33d | [] | no_license | skrydg/cf | 5f987b8d16abc7e5b31b86251523f74339a0100b | 13467998e4a44bfd385ca9a1ed548f7c46fd8a93 | refs/heads/master | 2021-07-07T12:45:43.931436 | 2017-10-02T19:47:14 | 2017-10-02T19:47:14 | 105,533,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main()
{
//freopen("input.txt","r",stdin);
//freopen("output.txt","w",stdout);
int n;
char mas[100][100];
cin >> n;
for (int i = 0; i < n; i++)
for (int j = 0; j < n; j++)
cin >> mas[i][j];
bool flag = false;
for (int i = 0; i < n; i++)
{
... | [
"skrrydg@yandex.ru"
] | skrrydg@yandex.ru |
11f13909ef4ad835ad78c4d96581a0c2312b9efb | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/pack_daemon/PackDaemon.hh | 146303559c77966d09c3575eb8fea7810cfdf661 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 19,196 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
e5579fb446d22a4d4725a7125395777ea330c1bb | 96bfc103534ba27b17c2c3db33e940537e543625 | /ESP32Pedal/Utils/jsonObject.h | 7fee6a214f2083fb3c4a705b3fa0b6191cae75a3 | [] | no_license | KOTERATOR/ESP32-Pedal | b3285c36c0dcf08033123229055282288a024c73 | e0809d56acaa11a001f95919a8f77d79ecb68e09 | refs/heads/master | 2021-07-18T10:20:16.892145 | 2020-06-20T16:06:20 | 2020-06-20T16:06:20 | 180,192,929 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | h | #pragma once
class jsonObject
{
public:
virtual void serialize();
virtual void deserialize();
}; | [
"koteskateboarder@gmail.com"
] | koteskateboarder@gmail.com |
f8b175318630ea7633e4a0557b0725c7a6011a2c | 1ccccd42485a33013a45113c18edcd294cd9274a | /src/rpcmining.cpp | 521d49a58c064c107dbf72f7ad8bf218211f1e05 | [
"MIT"
] | permissive | RockWorldBi/RockWorldBi | 848a9a6e9e69101e27c7e76933ae45d215f97622 | ebd9a0c9246e95525969b17b340654b435dc0164 | refs/heads/master | 2021-01-12T04:23:57.245222 | 2017-08-21T05:00:58 | 2017-08-21T05:00:58 | 77,603,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,579 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
using name... | [
"RockWorldBi@yahoo.com"
] | RockWorldBi@yahoo.com |
56005879f68e93d43b5740cea7a23a3ee6e107b0 | 549c114a7aaa738b2d1c58bb36614d4cbfda2104 | /OS_Simulator_Final/memoryGame/Buddy.cpp | cd52d3211c71ae28b9c25f431eebe67f6348b3ce | [] | no_license | U1ltra/CSC3002_Topic1_OS | 4f508eb69b123fbd7f5945baf4398b3a7be38c33 | 9d3f6160109c1740242e564c76682b234b7b0abf | refs/heads/master | 2021-04-13T19:24:03.355823 | 2020-05-31T15:36:12 | 2020-05-31T15:36:12 | 249,181,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,634 | cpp | /*
* File: Buddy.cpp
* ---------------
* This file implements <code>Buddy</code> class.
*/
#include "memoryGame/m_task.h"
#include "memoryGame/Buddy.h"
#include "memoryGame/pair.h"
#include <vector>
#include <list>
#include <iostream>
#include <math.h>
#include <map>
using namespace std;
Buddy::Buddy(int s){
... | [
"59546086+U1ltra@users.noreply.github.com"
] | 59546086+U1ltra@users.noreply.github.com |
a3b002f1dbdbf36498c36b5ad33bf5ff86ab78e8 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatdmatschur/UDbLDa.cpp | 19a906c0e0cd6442e8605b3286f57e9ce63d9e7d | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,045 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatschur/UDbLDa.cpp
// \brief Source file for the UDbLDa dense matrix/dense matrix Schur product math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
76e2568bffe31671e7efdfc3d11d2c793323d2f1 | 322b60d99bca870ec2ae79f4a2309d9afb915124 | /Math/include/SbMath/Radians.h | 7eda202fd360b5ab8787e3c540cfa2e22de562d5 | [] | no_license | YKiselev/SandBox | d5185010b4fbf3f1ae7958c38466c9b2de3e22ed | 48645a362c94ccc6c6966513e737d2e494ce98a8 | refs/heads/master | 2022-02-27T19:19:23.719376 | 2019-09-15T20:50:00 | 2019-09-15T20:50:00 | 198,300,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | #pragma once
#include "Constants.h"
namespace sb_math
{
constexpr float RADIANS_TO_DEGREES{ 360.0f / (2.0f * PI) };
constexpr float DEGREES_TO_RADIANS{ 2.0f * PI / 360.0f };
inline float toRadians(float degrees)
{
return degrees * DEGREES_TO_RADIANS;
}
inline float toDegrees(float radians)
{
return radi... | [
"uze@yandex.ru"
] | uze@yandex.ru |
7d9128f30f57e899d2237d3d0a6586b1acd97367 | 438da38a75bc8b8c92c75280ade8e9a98fdf8d4a | /Labs/Vegetables/Vegetables/GeneratedFiles/qrc_Vegetables.cpp | e1b5c751cccb4abbc919d7a0164ff502f088ee81 | [] | no_license | adonisbodea02/OOP | 6c8d1ce72d390322f9339b719a27ac6482c86d8e | 96c9ae4e07b1354fecc8d09be9b90676d32bbf79 | refs/heads/master | 2022-11-18T10:36:27.515906 | 2020-07-17T17:54:53 | 2020-07-17T17:54:53 | 280,484,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.10.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#ifdef QT_NAMESPA... | [
"31371688+adonisbodea02@users.noreply.github.com"
] | 31371688+adonisbodea02@users.noreply.github.com |
944cc454d63b2990d936c01b00142960fc01f438 | 28e03f260a1870fbadad55591c216f60e9138871 | /src/Ball.h | f246c1c1c082ce6a66ab5a77a1fdf6d47ae15a32 | [] | no_license | czajkovsky/net-pong | cc77dbdb1e67b6d622bccee271dccb04fedfbada | 4ddd414adba7845f2f8c1b0f00da4c388328ff25 | refs/heads/master | 2020-06-08T16:22:28.485891 | 2014-01-19T19:35:26 | 2014-01-19T19:35:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | #ifndef BALL_H
#define BALL_H
class Ball {
public:
Ball();
void getPosition(int& x, int& y) const;
void setPosition(int x, int y);
virtual void send(unsigned char*, int startPos) const;
virtual void receive(unsigned char*, int startPos);
private:
int x, y;
};
#endif
| [
"mateusz.czajka@netguru.pl"
] | mateusz.czajka@netguru.pl |
84b8a81a7f0212d9154f2fa0415d27a2ad518d17 | 673bf4c9744b2706d19f519e89bd59b12c4ea844 | /robotican_gui/src/main.cpp | a6225e9f1079490bafe59a2c30a27f48ec149308 | [] | no_license | bgumodo/robotican | 27beb5216e2fb341d813193b77b2190889361598 | 13d403c33470630e8719f2b02adb8fc487a235f8 | refs/heads/master | 2021-01-16T21:47:00.700584 | 2016-06-28T12:53:50 | 2016-06-28T12:53:50 | 61,123,256 | 2 | 0 | null | 2016-06-14T13:03:05 | 2016-06-14T13:03:05 | null | UTF-8 | C++ | false | false | 451 | cpp | //
// Created by sub on 07/04/16.
//
#include "./gui_manager/GUIManager.h"
#include <QTimer>
int main(int argc, char *argv[])
{
ros::init(argc, argv, "RoboticanGuiNode");
ros::AsyncSpinner spinner(1);
spinner.start();
QApplication app(argc, argv);
QMainWindow widget;
Ui::MainWindow win;
w... | [
"elhayr1@gmail.com"
] | elhayr1@gmail.com |
8fd454351ffe5c77ac45a2e4d5bbbd6741a2a260 | 97061e1d61c7f8181307f78715db2f57eff68ac6 | /03section/03section/03section/3.44.cpp | 2d93f8b6af1fb83c772bce2b8c0cdd7e6688f8f6 | [] | no_license | xueyeduling/CPP-Primer-note | b21d455565edf5c349dff8ff927990c8e9c84e97 | be800d2ec9ff3fdb8069762a7c7bbc6f7714f6b0 | refs/heads/master | 2020-03-21T06:59:15.562396 | 2018-09-22T11:52:49 | 2018-09-22T11:52:49 | 138,253,760 | 5 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,021 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <cctype>//被包含在iostream中
#include <cstddef>//定义数组下标size_t和指针相减ptrdiff_t类型
#include <iterator>//定义库函数begin和end
#include <cstring>
using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::vector;
using std::begin;
using std::end;
usin... | [
"xueyeduling@outlook.com"
] | xueyeduling@outlook.com |
3dc88c41d153bc2af9676f8de1006f1fa058cd83 | 93b0a872499582c70e3b35a1aabba075f57481f1 | /src/sketch.ino | a2cb6acde4e3322f440023bad906a95ed8896226 | [] | no_license | modiho/arduino_eieruhr | 6428464755cf725090481bde5a0ddd4ab2b3eb34 | 7c8084d16b30df378adecad7c9bf2457b6587e69 | refs/heads/master | 2021-01-10T18:07:15.308553 | 2014-04-05T11:48:46 | 2014-04-05T11:48:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | ino | const int startPin = 2;
const int addPin = 3;
const int buzzPin = 6;
const int ledPins[5] = { 13, 12, 11, 8, 10 };
int minutes = 1;
int timerDuration = minutes;
long startTime = 0;
boolean timerStarted = false;
boolean startPressedBefore = false;
boolean addPressedBefore = false;
boolean currentMinuteLit = false;
vo... | [
"dan@modiho.com"
] | dan@modiho.com |
ebeb2aa9ef02ec037f76ce9e686d174edd2f05e5 | e7d5a58c142fbd18c237438f799f35b11f6966fd | /lib/assimp/code/ColladaParser.h | bbfad6d93e4a03753a4b4709d4f3fb481a9445e1 | [
"LGPL-2.0-or-later",
"BSD-3-Clause",
"MIT"
] | permissive | OpenGL-adepts/OpenGL-playground | 143d7966ad961b06abce7de6968e011ddcd55143 | 263e3143f4f2d12b520667aa10b08804a1180677 | refs/heads/master | 2020-03-17T03:18:30.377834 | 2018-05-17T16:47:02 | 2018-05-17T16:47:02 | 133,229,244 | 1 | 0 | MIT | 2018-05-20T18:35:00 | 2018-05-13T11:06:11 | C++ | UTF-8 | C++ | false | false | 15,292 | h | /*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2016, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following cond... | [
"michal.martyniak@linux.pl"
] | michal.martyniak@linux.pl |
a904c08636835277dd4241e41535c9782bbd2e48 | 6dc4e1fc33ee95307626028e2da92d5acf8d6eca | /networkStudent.cpp | aef6c562219e2e3fe403b29978dc90e2b6ad56db | [] | no_license | tablloyd01/C867 | bbf7bdc5969d413ee4af6463446e557ff3d46e5f | d3a9e983b8e4dce09e95169fde8dead62f01ad63 | refs/heads/master | 2020-05-30T14:39:37.031686 | 2019-06-13T15:44:51 | 2019-06-13T15:44:51 | 189,796,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #pragma once
#include "degree.h"
#include "networkStudent.h"
#include <iostream>
//Subclass from D.3
NetworkStudent::NetworkStudent(){
degree = NETWORK;
}
string NetworkStudent::getDegreeProgram(Degree inputDegree) {
return "NETWORK";
}
NetworkStudent::~NetworkStudent(){}
| [
"noreply@github.com"
] | tablloyd01.noreply@github.com |
d85f84980d9fe93a711c6d02d0a8e9fcf0d4b6da | 57eb731df67cedaa84989f9c3b9d49ac85838561 | /MyRLE.cpp | eb46689e4d68c7e94a82d7f198fd8e63bbb78e67 | [] | no_license | znseday/Algo_hw_13 | d2fb056804a6b15ad661e83ea6af75359a742ff7 | c8d00180c2bbe076df34da4bd3ffa6dcb6325cac | refs/heads/master | 2022-12-18T23:51:05.878703 | 2020-09-08T21:03:53 | 2020-09-08T21:03:53 | 287,378,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,497 | cpp | #include "MyRLE.h"
#include <iostream>
#include <fstream>
using namespace std;
bool IsDebugOutput = false;
MyRLE::MyRLE(string _inputFileName, string _outputFileName, bool _isImprovedRLE)
: InputFileName(_inputFileName), OutputFileName(_outputFileName), IsImprovedRLE(_isImprovedRLE)
{
}
//-----... | [
"noreply@github.com"
] | znseday.noreply@github.com |
a1c8e5ce05656bd3e0084027e76d4ebdff365851 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_1047.cpp | 5bf37b70e970237db068032c1ec771e483f6d11d | [] | 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 | 402 | cpp | die("BUG: couldn't parse 'reset' as a color");
resetv.s = color;
append_atom(&resetv, &state);
}
if (state.stack->prev)
die(_("format: %%(end) atom missing"));
final_buf = &state.stack->output;
fwrite(final_buf->buf, 1, final_buf->len, stdout);
pop_stack_element(&state.stack);
putchar('\n');
}
void pret... | [
"993273596@qq.com"
] | 993273596@qq.com |
d6a008be002483f2ba202084e8a44416b2fe2ee0 | 460f981dfe1a05f14d2a4cdc6cc71e9ad798b785 | /3/amd64/envs/navigator/include/geos/geom/prep/PreparedGeometryFactory.h | 9f073869c561e0a39319685621f2a0a1bb9c5341 | [
"GPL-2.0-only",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"LicenseRef-scancode-mit-old-style",
"dtoa",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain-disclaimer",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-lic... | permissive | DFO-Ocean-Navigator/navigator-toolchain | d8c7351b477e66d674b50da54ec6ddc0f3a325ee | 930d26886fdf8591b51da9d53e2aca743bf128ba | refs/heads/master | 2022-11-05T18:57:30.938372 | 2021-04-22T02:02:45 | 2021-04-22T02:02:45 | 234,445,230 | 0 | 1 | BSD-3-Clause | 2022-10-25T06:46:23 | 2020-01-17T01:26:49 | C++ | UTF-8 | C++ | false | false | 2,274 | h | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as p... | [
"dwayne.hart@gmail.com"
] | dwayne.hart@gmail.com |
f3715dc4f15d8a23e7bb29d7cfaa44e3cc730bfa | d0b88b523711e458a29d37fad7baeb80e347598a | /src/gltf/properties/CameraData.hpp | c1f58c16240e3d4ed95d8dad03d2350199f49196 | [
"BSD-3-Clause"
] | permissive | makovkins/FBX2glTF | 2d6877eb97b8cd5d2d0c626de347261294291169 | 68ec475fe0f125379c38e8f9fa59b23ac17b9d68 | refs/heads/master | 2023-07-11T10:00:45.690308 | 2023-07-04T19:55:35 | 2023-07-04T19:55:35 | 195,882,820 | 0 | 0 | null | 2019-07-08T20:37:18 | 2019-07-08T20:37:18 | null | UTF-8 | C++ | false | false | 544 | hpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "gltf/Raw2Gltf.hpp"
// TODO: this class needs some work
struct ... | [
"makovkin.s@gmail.com"
] | makovkin.s@gmail.com |
28a5fa485bbcd3904942e2f859d8bd373382e5f1 | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/proto/functional/range/rend.hpp | 83fdacf86947e383ebf2ec4ed873e2bb9ef5f1a5 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | hpp | ///////////////////////////////////////////////////////////////////////////////
/// \file rend.hpp
/// Proto callables for boost::rend()
//
// Copyright 2012 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
a53aff28c15de6b8d72296d336462f5161412432 | d7c24ef9db366ace55a73fd7edad44a7a7d55ef7 | /reverseBit.cc | 87ec2d7cdff25caf3c904daa40df86faf355156a | [] | no_license | wxiaomou/leetcode | 3daa9d43c0fb3dc9a8e687737e74185a6a705249 | b82ce2c75728b8f206fb21cd72365bff8f7a4858 | refs/heads/master | 2023-03-07T07:20:21.280966 | 2023-02-06T05:33:28 | 2023-02-06T05:33:28 | 5,882,425 | 1 | 0 | null | 2023-02-06T05:33:29 | 2012-09-20T06:04:20 | C++ | UTF-8 | C++ | false | false | 609 | cc | #include<iostream>
#include<stdio.h>
using namespace std;
class Solution {
public:
unsigned int reverseBits(unsigned int tmp) {
int n = 32;
for (int i = 0; i < n / 2; ++i) {
swap(tmp, i, n - i -1);
}
return tmp;
}
bool swap(unsigned int &x, unsigned int i, unsigned int j) {
if (i > 32 || j > 32)
re... | [
"wxm19890422@gmail.com"
] | wxm19890422@gmail.com |
32eef85a044acf0bca700472b4e7a736da818984 | a4058d50eb7ec5e489a766c44ee43a5c72080a73 | /codeforces/1096/C.cc | f3a897febfb1be7b8fdba883950c380cfd469b42 | [] | no_license | AkibaSummer/programs | 7e25d40aeab6851c42bd739c00a55bd6e99f5b45 | ef8c0513435a81a121097bc34dfc6d023b342415 | refs/heads/master | 2022-10-28T08:27:22.408688 | 2022-10-03T16:01:17 | 2022-10-03T16:01:17 | 148,867,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cc | #include <bits/stdc++.h>
using namespace std;
int gcd(int a,int b){
return b==0?a:gcd(b,a%b);
}
int main(){
double orz;
int t;
cin>>t;
while (t--){
int k;
cin>>k;
int ans=180/gcd(180,k);
while ((double)(ans-2)/ans*180<k)ans*=2;
cout<<ans<<endl;
}
} | [
"oopsvpwowlq@gmail.com"
] | oopsvpwowlq@gmail.com |
14bce220120b4fc978f3c429e32d9eb9d20526a8 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-pistache-server/generated/model/ComDayCqMcmCampaignImplIntegrationConfigImplInfo.h | bc86bc3059abfb51e8c794e32aadf44cf58826fd | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,522 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
25f967dc2fbc91c7a3b5fcb2d8cccd57c8e1ca67 | 9ee061d8eafc7504e73f4f91f21f9dadd32be8fb | /Download.cpp | b258fe76ea81914c99859d0a947494b4df708e9f | [] | no_license | sunshoutian/Download_bcz | 2b34c1800ba083c9d51eeabc79aab6e04e1bd7e4 | 496b8dc54e9bd12210d8311b5ca410a8454bdfcf | refs/heads/master | 2021-04-27T07:39:48.991429 | 2016-01-15T08:15:03 | 2016-01-15T08:15:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,128 | cpp | /*
* Download.cpp
* Copyright (C) 2015 <@BLUEYI-PC>
* batch download resource file from text file
* Distributed under terms of the MIT license.
*/
//#include "Download.h"
#include <cstdlib>
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include <fstream>
#include <sstream>
#include <util... | [
"blueyiniu@qq.com"
] | blueyiniu@qq.com |
754a389f8c64650813559e2465ffad8a97f06561 | b9682a25b8960f3a1e5dff2195090e4d602bb525 | /SpringSystemSimulation/SpringSystemSimulation/Src/Geometry.cpp | f9ae31384126a12c5de49d3fdf203debfa25203a | [] | no_license | Agilsaav/ComputerAnimation | afd3349ee84fdf039ef1f1ba904dad8eb708284c | d9e4e20c3989249d41884bc2f9ef92bfe9e87bf6 | refs/heads/master | 2020-09-12T17:46:56.850743 | 2020-06-17T09:53:40 | 2020-06-17T09:53:40 | 222,499,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,689 | cpp | #pragma once
#include "Geometry.h"
#include <iostream>
//****************************************************
// Plane
//****************************************************
Plane::Plane(const glm::vec3& point, const glm::vec3& normalVect){
normal = glm::normalize(normalVect);
dconst = -glm::dot(point, normal);
};
... | [
"agilsaav@gmail.com"
] | agilsaav@gmail.com |
e47a8f9232534e3193c753f53b28de7af937d953 | b1bb61f23f983e37487b371d4a19b2bfdbeed673 | /dp/partitionequalsubset/src/partitionequalsubset.cpp | cb4dbbabff99aff604873dfd64d53dd5080bc595 | [] | no_license | jiguosong/InterViewCoding | 225b41eee7d65d422a6c5361e074b7d286de86b6 | 41204d7f106d5b90b2545e4920022838bfc2a8b3 | refs/heads/master | 2021-05-01T23:56:05.256320 | 2017-02-16T06:18:54 | 2017-02-16T06:18:54 | 78,148,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | /*
Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal.
Note:
Both the array size and each of the array element will not exceed 100.
Example 1:
Input: [1, 5, 11, 5]
Output: true
Explanation: The arra... | [
"songjiguo@gmail.com"
] | songjiguo@gmail.com |
f659e19cc0b7b88f307608a08aca8bd042e81042 | 3dc7f476e32802b81a63cf0e4b1df7f0e139b43b | /OdyServer/Objects/cancion.h | 890d5ea5ebbe17096fdccc33704ea3073031c434 | [] | no_license | geraldvm/Odyssey | b5536a32285877323bbd5f627174d47fb98dca4d | c8b69d6c73c78eaff8ff4a29989108b1ffcd426d | refs/heads/master | 2018-07-15T11:54:54.704240 | 2018-05-24T05:27:41 | 2018-05-24T05:27:41 | 130,925,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | h | #ifndef CANCION_H
#define CANCION_H
#include <QtCore/QJsonObject>
using namespace std;
/**
* @brief The cancion class : Clase para almacenar una canción y sus datos
*/
class cancion {
private:
/**
* @brief nombre : Nombre de la canción
*/
string nombre;
/**
* @brief dir : Directorio en ... | [
"noreply@github.com"
] | geraldvm.noreply@github.com |
5c040097f4dac5d1ea97f035e5d5dc6f2b749a74 | 6cbdcfcab39c0ab38f462a45331c4dd600d3c031 | /tile/lib/tests.h | 95ea0dadaa8c544532ba9d6b5eca3ffe77e25bf4 | [
"Apache-2.0"
] | permissive | donaldlee2010/plaidml | 01ae79cc6f91d682efd1562eae660fa5e4eb88f0 | ec748d1cb488e5863b8134ec843cf85442df644d | refs/heads/master | 2020-04-28T08:04:14.935971 | 2019-02-05T01:11:16 | 2019-02-05T01:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #pragma once
#include <map>
#include <string>
#include "tile/lang/compose.h"
namespace vertexai {
namespace tile {
namespace lib {
std::map<std::string, lang::RunInfo> InternalTests();
} // namespace lib
} // namespace tile
} // namespace vertexai
| [
"frank.laub@intel.com"
] | frank.laub@intel.com |
ee3a6c89ad23d2554b96157828d9b5263fb13e2c | d72b740992ce1876a504cbc0ee03de1ae667efcf | /crogine/src/core/ConfigFile.cpp | 4c7e785a019e3ca08b56c1b5ab524a5c08962dd2 | [
"Zlib"
] | permissive | fallahn/crogine | a5ba6d4c1a1ff6209d5a485f6033915a3a02bd03 | 9bf497fe599fe9aa24cf5eac301d209b5b065f6f | refs/heads/master | 2023-08-04T06:32:47.847808 | 2023-06-05T08:44:59 | 2023-06-05T08:44:59 | 101,754,475 | 62 | 9 | null | 2023-08-05T09:52:00 | 2017-08-29T11:38:17 | C++ | UTF-8 | C++ | false | false | 22,821 | cpp | /*-----------------------------------------------------------------------
Matt Marchant 2017 - 2022
http://trederia.blogspot.com
crogine - Zlib license.
This software is provided 'as-is', without any express or
implied warranty.In no event will the authors be held
liable for any damages arising from the use of this ... | [
"matty_styles@hotmail.com"
] | matty_styles@hotmail.com |
e7f022728d3cb5a97e61bbc6740c522c09db3585 | 939506ab5e6730545cdadc44d504e795255206cf | /CS161 Intro to Computer Science 1/assign5.cpp | 9916d1db2cdd7bbddf61b470d421951ed03a76c1 | [] | no_license | nguyepe2/class_courses | a603672d1e9a2563768652565e41165dea995dae | f149a22949ee5dc8b8a0f99f13edfd3b61c455aa | refs/heads/master | 2022-12-10T03:15:32.384895 | 2022-04-03T05:26:18 | 2022-04-03T05:26:18 | 245,482,086 | 0 | 5 | null | 2022-12-09T02:03:09 | 2020-03-06T17:41:08 | C | UTF-8 | C++ | false | false | 3,769 | cpp | /* Program Filename: assign5.cpp
* Author: Peter Nguyen
* Date: 3/5/2017
* Description: A program that simulates bowling
* Input: Number of players and their names
* Output: The scoreboard, how much pins they knocked down, and the winner of the game
*/
#include <iostream>
#include <cstring>
#include <cmath>
#inc... | [
"nguyenpeter294@gmail.com"
] | nguyenpeter294@gmail.com |
901b16da44eeb1376c3520e8674d87071345eda4 | 019b1b4fc4a0c8bf0f65f5bec2431599e5de5300 | /cc/output/vulkan_in_process_context_provider.cc | 67e11222134d22978122f5e8c999f40165c73847 | [
"BSD-3-Clause"
] | permissive | wyrover/downloader | bd61b858d82ad437df36fbbaaf58d293f2f77445 | a2239a4de6b8b545d6d88f6beccaad2b0c831e07 | refs/heads/master | 2020-12-30T14:45:13.193034 | 2017-04-23T07:39:04 | 2017-04-23T07:39:04 | 91,083,169 | 1 | 2 | null | 2017-05-12T11:06:42 | 2017-05-12T11:06:42 | null | UTF-8 | C++ | false | false | 1,489 | cc | // Copyright (c) 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 "cc/output/vulkan_in_process_context_provider.h"
#include <vector>
#include "gpu/vulkan/vulkan_device_queue.h"
#if defined(VK_USE_PLATFORM... | [
"wangpp_os@sari.ac.cn"
] | wangpp_os@sari.ac.cn |
cffb9806bd1104d1265d7b4ebb2915aeab34d6ba | 38582d46c7497e617b93e67b382b01c06819152b | /JustinHowellAS4/JustinHowellAS3/src/GameMgr.cpp | 925407b5063cca84ced04af58523026313510201 | [] | no_license | jhowell702/2020-Spring-CS326-OgreAssignments | 23be52844ae17a4d35cde78ca05b2afd2618837d | 7ee889c325d810dbf79495e33fc316eb3abd595c | refs/heads/main | 2023-08-20T16:30:51.270073 | 2021-10-18T16:24:11 | 2021-10-18T16:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,538 | cpp | #include <Engine.h>
#include <GameMgr.h>
#include <EntityMgr.h>
#include <InputMgr.h>
#include <OgreMeshManager.h>
GameMgr::GameMgr(Engine* eng): Mgr(eng){
engine = eng;
}
GameMgr::~GameMgr(){
}
void GameMgr::Init(){
engine->entityMgr->scnMgr = engine->gfxMgr->getSceneMgr();
engine->entityMgr->entList = new En... | [
"justinhowell@nevada.unr.edu"
] | justinhowell@nevada.unr.edu |
8582c3506c726ad6ebbcfbdc5b0109f4ce4ebe8b | 1c304177f5f341ef863eccf19679fe973046741c | /SquareFreeFlux.hpp | 6f40125ead76dcc07b0752cc3d97c865f0525ceb | [] | no_license | jduf/VMC-SUN-Heisenberg | b7a41cdc6cfc6fd32d492289db78fda7e5012e2c | d9bd45513c797e352a0f7f955e842ddeb65e39fc | refs/heads/master | 2020-12-06T12:53:22.657258 | 2017-06-29T14:25:43 | 2017-06-29T14:25:43 | 66,383,542 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | hpp | #ifndef DEF_SQUAREFREEFLUX
#define DEF_SQUAREFREEFLUX
#include "Square.hpp"
class SquareFreeFlux: public Square<std::complex<double> >{
public:
SquareFreeFlux(System const& s, Vector<double> const& t, Vector<double> const& phi);
~SquareFreeFlux() = default;
void create();
void save_param(IOFiles& w) const;
... | [
"jerome.dufour@epfl.ch"
] | jerome.dufour@epfl.ch |
54197231b78eb196f47dcac6978948c243f7ec2c | 56e8a4ebfd13f1805420a7c44764c6b3bc1281a9 | /RecursiveFibonacci.cpp | 0e58a99d5424bbde9484ad2833e11a46c4d06763 | [] | no_license | DauntlessDev/cpp-compilation | b3e37c654a2ce5a83c28cbb7611def5ca109ae22 | 06b3da702ce42469afba6c0d7fdb9e996cfb73bf | refs/heads/master | 2020-04-13T02:40:33.205351 | 2019-07-10T14:43:31 | 2019-07-10T14:43:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #include <iostream>
using namespace std;
int fib(int x) {
if (x < 2 && x >= 0) {
return x;
} else {
return fib(x-1)+fib(x-2);
}
}
int main() {
cout << fib(8) << endl;
}
| [
"noreply@github.com"
] | DauntlessDev.noreply@github.com |
fa6414aaa887f1b592f392f998de59d1c0bb6204 | 8ded7c00ee602b557b31d09f8b1516597a9171aa | /cpp/member_function_type.cpp | f8d17a28205678e1e1b1e7cd1a5882bb30658b59 | [] | no_license | mugur9/cpptruths | 1a8d6999392ed0d941147a5d5874dc387aecb34d | 87204023817e263017f64060353dd793f182c558 | refs/heads/master | 2020-12-04T17:00:20.550500 | 2019-09-06T15:40:30 | 2019-09-06T15:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,088 | cpp | #include <iostream>
#include <typeinfo>
#include <boost/type_traits.hpp>
#include <boost/function.hpp>
class Base
{
public:
int foo() { return 5; }
};
class Derived : public Base
{
};
template <typename T, typename U>
bool IsSame (T t, U u)
{
return boost::is_same<T,U>::value;
}
template <typename RETURN, t... | [
"sutambe@5d8ea2c6-beef-6e74-2977-a7573b526670"
] | sutambe@5d8ea2c6-beef-6e74-2977-a7573b526670 |
60b57bc7b17b65807a80f4bd96ae3d038d153d89 | 276a78e4a6e200838dcb3dc1d8d81035cea4175d | /source/Lego+/figure.cpp | 9fe6359341ec7e285d76affe7a55bf6db8b6acbd | [] | no_license | platosha-git/Course-project-CG | ff13ac120ec1822ed52a54cef4e4cc83ef17993d | 9e254b16eabcdb0474424221b35a73ca3c01ddbe | refs/heads/main | 2023-03-13T02:47:48.483556 | 2021-02-18T17:56:29 | 2021-02-18T17:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,660 | cpp | #include "figure.h"
Figure::Figure(const char *filename, const QColor& color, const Vector3f& center) :
center(center),
color(color)
{
std::ifstream in;
in.open(filename, std::ifstream::in);
if (in.fail()) {
return;
}
std::string line;
while (!in.eof()) {
std::getlin... | [
"noreply@github.com"
] | platosha-git.noreply@github.com |
a472b8279af4edbd11517f4f126fc1c86ac456f0 | 4b18667dc583b6fb07abbca596bb44586219b80e | /src/Utils/ThreadPool.hpp | 74e57c55f29aaadb3eeb8bab2dc6822a998eb685 | [
"MIT",
"BSD-3-Clause",
"MPL-2.0"
] | permissive | bab2min/tomotopy | 720e5a242773104d364a94d645ce8fa97f16a627 | 6ef712c63bad504801a981a4a52aa938c80f0bda | refs/heads/main | 2023-08-17T08:21:38.380731 | 2023-07-16T12:17:14 | 2023-07-16T12:17:14 | 186,155,463 | 512 | 71 | MIT | 2023-03-29T19:29:06 | 2019-05-11T16:19:29 | C++ | UTF-8 | C++ | false | false | 4,257 | hpp | #pragma once
/*
A simple C++11 Thread Pool implementation(https://github.com/progschj/ThreadPool)
modified by bab2min to have additional parameter threadId
*/
#include <vector>
#include <queue>
#include <memory>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <future>
#include <functional>
#... | [
"bab2min@gmail.com"
] | bab2min@gmail.com |
548599dcd15a579f3938d2306591c94dc35459d5 | de6cbec5d52f6c479a0f65132783f48b5d9b8495 | /utils/PropertyMap.h | 413d38b08a90a59b6d01ca860e66d7570ef4e4bc | [] | no_license | jtritell/KrisLibrary | 686360590bb450795dfeca61feec25838d04870a | 3f091c16ac6fd881843d74e568e131684964b9d5 | refs/heads/master | 2021-01-19T06:55:28.510789 | 2014-04-13T01:37:41 | 2014-04-13T01:37:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,238 | h | #ifndef UTILS_PROPERTY_MAP_H
#define UTILS_PROPERTY_MAP_H
#include <map>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
class TiXmlElement;
/** @brief A simple map from keys to values.
*
* Values are easily converted to basic types using the as<T>(key) method.
* This method will conve... | [
"hauser.kris@gmail.com"
] | hauser.kris@gmail.com |
dd47f4cb64651456c68f1b4979b62228ca6a9f16 | 3bbf708ec2508d76901526526eb2bdd89df3ef2e | /trabajo5/listacursor.cpp | c3571949b077b6982983cdb2c2410fd1c8461e89 | [] | no_license | Unitec-Segebre/EstructuraDeDatos | f18725219b3c3b9552ff7fb3abd42ce339a64962 | b6d7000680198e574c47f769a8abd05d7309f6fe | refs/heads/master | 2021-05-31T04:35:32.857724 | 2015-12-16T09:08:10 | 2015-12-16T09:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,799 | cpp | #include "listacursor.h"
ListaCursor::ListaCursor()
{
for(int i = 0; i < 1000; i++)
bdd[i].next = i+1;
bdd[999].next = -1;
for(int i = 1; i < 1000; i++)
disponibles[i] = -1;
}
int ListaCursor::sd()
{
for(int i = 0; i < 1000; i++)
{
if(disponibles[i] == -1)
retur... | [
"Juansegebre@unitec.edu"
] | Juansegebre@unitec.edu |
29a9e9e21e2d591f66ad94b97229951ffbc02cd6 | 09ddd2df75bce4df9e413d3c8fdfddb7c69032b4 | /src/LXMLEditor/SVGFilterOptionsDlg.cpp | 0222e2c628ffc3be245146e9520a12315d583a20 | [] | no_license | sigurdle/FirstProject2 | be22e4824da8cd2cb5047762478050a04a4ac63b | dee78c62a1b95e55fcdf3bf2a9bc79c69705bf94 | refs/heads/master | 2021-01-16T18:45:41.042140 | 2020-08-18T16:57:13 | 2020-08-18T16:57:13 | 3,554,336 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | // SVGFilterOptionsDlg.cpp : Implementation of CSVGFilterOptionsDlg
#include "stdafx.h"
#include "LXMLEditor.h"
#include "SVGFilterOptionsDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CSVGFilterOptionsDlg
| [
"sigurd.lerstad@gmail.com"
] | sigurd.lerstad@gmail.com |
4dde27d94fa0d7b3dc1d3767a84fd718c3b69b65 | fe39709a0f38fef42fb8d4a3db2fe5583fb64a56 | /UVa/UVa10496.cpp | d4cea398a661144dbba4b70aaefd16e2aef621d2 | [] | no_license | apallath/comp | c67069a0dec807449dab7af8593b3efdd87b1d87 | 6add081be1d684a2da86452496d80ae3a7b15831 | refs/heads/master | 2021-01-12T10:23:16.809018 | 2017-05-29T13:38:26 | 2017-05-29T13:38:26 | 76,442,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | //UVa10496 - Collecting Bleepers
//Concept - O(2^n n^2) DP for Travelling Salesman Problem
#include<iostream>
#include<algorithm>
#include<cmath>
#include<cstring> //for memset
#include<limits>
using namespace std;
const int INF = numeric_limits<int>::max();
int T,xsize,ysize,n;
int x[11],y[11]; //vertices in Graph - ... | [
"akash.pallath@iitgn.ac.in"
] | akash.pallath@iitgn.ac.in |
e5d138f78092d5eaf125d2885d618411f5c48287 | 5e70c31f8d42d2e28e2a61d1072dfb66e0b3f110 | /libraries/gpu-gles/src/gpu/gl/GLTexture.h | 03353ae67d8d6107750573ab17753557b78994fc | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | bion719/hifi | d5fa19bdce7dc2563d8bb8cac895cd1ec6dff32d | db5bf68431d618b00df66adb5d4319f3a8960d30 | refs/heads/master | 2021-05-10T20:47:09.743454 | 2018-01-19T23:15:44 | 2018-01-19T23:15:44 | 118,195,683 | 0 | 0 | null | 2018-01-20T01:02:31 | 2018-01-20T01:02:30 | null | UTF-8 | C++ | false | false | 8,667 | h | //
// Created by Bradley Austin Davis on 2016/05/15
// Copyright 2013-2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_gpu_gl_GLTexture_h
#define hifi_gpu_gl_GLTexture_h
#include... | [
"bdavis@saintandreas.org"
] | bdavis@saintandreas.org |
321bab11e898610ef45d12112bc2dedc463bd969 | eb7459de2f59a753b4524c19698db73774dc2181 | /prefetcher/Prefetcher.h | d7b12a3981cfa1eb3241ecc0da0554c3d8bfebe9 | [] | no_license | rahulbera/sim | e260a9ac06372248929062fe48bbe59da2ec2970 | c7397d8d83f86cf283e4b64e665b423232b90e64 | refs/heads/master | 2021-01-10T04:53:26.100622 | 2016-04-12T05:55:02 | 2016-04-12T05:55:02 | 52,060,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #ifndef PREFETCHER_H
#define PREFETCHER_H
#include <assert.h>
#define ASSERT(cond,msg) do{if(!(cond)){fprintf(stderr,msg);exit(1);}}while(0)
class Prefetcher
{
public:
//To be called for initializing prefetcher
virtual void prefetcher_init(char *name, int n)=0;
//Returns 1 if it prefetches, and assignes the... | [
"write2bera@gmail.com"
] | write2bera@gmail.com |
d2a5b88568e8ae26235f73db573b0bd28dee5473 | 13bb60d96fc3d3d9c86ade8921fa5e54645fb615 | /src/os/mac/run.cpp | 883f3663d367c37dedad6073056cee792e8349f0 | [
"Artistic-2.0",
"MIT"
] | permissive | Safari77/lumimaja | d228a9af813df915eef0b10ab64e2989954ba5c8 | c21684942fda3e3968ae372707e0ba29c175ab5f | refs/heads/master | 2022-07-09T01:34:20.672645 | 2022-06-25T09:03:09 | 2022-06-25T09:03:09 | 44,624,810 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | /*
* Copyright (c) 2003-2015 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
/**
* \fi... | [
"hvtaifwkbgefbaei@gmail.com"
] | hvtaifwkbgefbaei@gmail.com |
497998b87ccb918e05342b8b5f5847a14a62842e | 06d43441a7dcc537795a2b18ed798907999c1325 | /formele_talen/talen.cpp | 413c5f42732f960d640df80eb2933e476daf7841 | [] | no_license | landotanghe/algoritmen | 0845c4676e07a549cc86841b89179af4b4d07326 | e3793c1caa736db7108aba5d2c4f206b10bf172f | refs/heads/master | 2020-12-24T17:35:50.333730 | 2014-12-08T16:15:21 | 2014-12-08T16:15:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | #include <iostream>
#include <string>
#include <vector>
#include "symbool.h"
#include "regexp.h"
using namespace std;
void breakDownRegexp(const Regexp* r,Symbool* s,Symbool me);
int main(){
//watDoetSymbool();
Regexp r( "(x)((a)|(c))(d)");
Symbool s;
breakDownRegexp(&r,&s,s);
return 0;
}
void breakDownRege... | [
"lando.tanghe@ugent.be"
] | lando.tanghe@ugent.be |
bda739c705f71961e5cc3ae4e6fe3497099e0c5d | fa3b89c5ead0d403f7db4be81f791a272f4fe62e | /alg/poj/archive/1922/5679232_AC_16MS_180K.cpp | aac5580deba1637c35353c9eb85bd26fb1c19901 | [] | no_license | ruleless/programming | aa32e916a5b3792ead2a6d48ab924d3554cd085f | c381d1ef7b1c7c0aff17603484e19a027593429b | refs/heads/master | 2022-11-14T02:07:47.443657 | 2022-11-03T23:47:32 | 2022-11-03T23:47:32 | 86,163,253 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include<iostream>
#include<limits>
#include<cmath>
using namespace std;
int main()
{
// freopen("in.txt","r",stdin);
int n,a,i,b;
double Min;
while(scanf("%d",&n),n)
{
Min=numeric_limits<double>::max();
for(i=1;i<=n;i++)
{
scanf("%d%d",&a,&b);
if(b>=0&&(4.5*3600/(1.0*a)+1.0*b<Min))
... | [
"ruleless@126.com"
] | ruleless@126.com |
c3091d9c8e11c6fd7b21a3c22a47701ab379a08f | ec0a8e179459bfa15b3abfd21df2ea33d201f0bd | /Codigo/Versao BauFunfa/states/PlanejaRota.hpp | 2e7084b3b2fb26e21fe3cd60c9e762618465aa70 | [] | no_license | UnbDroid/Festo2017 | b32fbf61e6a703feb1d04e47b765186f2ecca376 | eb4afb447bbb6cb1016a289231071471c6228e6e | refs/heads/master | 2021-01-20T02:47:59.381718 | 2017-11-11T07:48:35 | 2017-11-11T07:48:35 | 101,334,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | hpp | #ifndef PLANEJAROTA_HPP
#define PLANEJAROTA_HPP
#include "robotinostate.hpp"
class PlanejaRota: public RobotinoState
{
public:
/** Singleton. */
static PlanejaRota *instance();
/**
* Called when entering the IdentificarCor state.
*
* @param bigbob the robot that is moving to it's goal'.
*... | [
"leticiahelenasp@hotmail.com"
] | leticiahelenasp@hotmail.com |
71487460aaafcbe026b90c3ac11d3d832fb11959 | df7d030146c901790ab49402140f40fb26d03c8a | /picamserver_with_producer_consumer/ImageMgr.cpp | dd896fd491eb604705a2da1cdf6bfa9d623d7219 | [] | no_license | Adrian-Rosoga/code_pi | 955316914a4ab51513e75a8da82cca8c3a71a14a | 0a0b57489a4dce2021c03ee10a1d6002c3e34180 | refs/heads/master | 2021-06-23T11:35:12.992361 | 2021-05-25T17:05:47 | 2021-05-25T17:05:47 | 211,540,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | #include "ImageMgr.h"
#include "util.h"
#include <unistd.h>
#include <iostream>
#include <chrono>
#include <cassert>
#include "producer_consumer.h"
ImageMgr::ImageMgr()
{
images_.emplace_back(MAX_IMAGE_SIZE);
images_.emplace_back(MAX_IMAGE_SIZE);
}
void ImageMgr::startImageThread(const std::string& takeImag... | [
"arosoga@yahoo.com"
] | arosoga@yahoo.com |
14fb03589c73b758312449b02a0eceba9712ba64 | 215750938b1dd4354eab9b8581eec76881502afb | /src/mfx/pi/spkem/SpeakerEmu.h | 788d45916d04db8802088eb7d59dfa23d5768ee7 | [
"WTFPL"
] | permissive | EleonoreMizo/pedalevite | c28fd19578506bce127b4f451c709914ff374189 | 3e324801e3a1c5f19a4f764176cc89e724055a2b | refs/heads/master | 2023-05-30T12:13:26.159826 | 2023-05-01T06:53:31 | 2023-05-01T06:53:31 | 77,694,808 | 103 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 5,041 | h | /*****************************************************************************
SpeakerEmu.h
Author: Laurent de Soras, 2016
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the te... | [
"fuck@fuck.fuck"
] | fuck@fuck.fuck |
be624afd6dae65f8fdc17d343bdc91b140020fe7 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_505.cpp | be126b86ffe3552da71a3e3885528edf052c425d | [] | 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 | 266 | cpp | if (premature_token)
{
fprintf (stderr, _("\
%s: %s:%d: warning: \"%s\" token appears before any machine name\n"),
exec_name, path, ln, premature_token);
premature_token = NULL;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
25085cdd9f52d528c3cc16ec8af38843f86708bd | e9ca048aaee0d4c6663a0d6adb663ad0c4c7df52 | /cnn/cnn-mat/util.hpp | 049b9078fed5347005f37c183eb14fb503cb0342 | [
"MIT"
] | permissive | TaihuLight/OpenCL-FPGA | 0ad9b7031f3771504ba6aacbb1ac4fac21459f87 | be0c103d10d1570f0ea3762aac5e87be0af46bec | refs/heads/master | 2020-03-14T09:40:01.524603 | 2016-05-09T09:05:46 | 2016-05-09T09:05:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,053 | hpp | #ifndef UTIL_HPP
#define UTIL_HPP
#include <exception>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
#include <cstring>
#define __CL_ENABLE_EXCEPTIONS
#include <CL/cl.h>
#include <ctime>
#include "include/RapidXML/rapidxml.hpp"
namespace cnn {
const char *readable_status(cl_int sta... | [
"seanyukigeek@gmail.com"
] | seanyukigeek@gmail.com |
0a1452bcb7fcadabe2a5390ea3ef0185842b8c77 | 719f4bf1d1ba7bcbaaae1f66ce74019354bfce9c | /src/ace_time/zonedbx/zone_registry.h | 701a23bddfb6369471065e5e1e26b79fff17bfe4 | [
"MIT"
] | permissive | SeppPenner/AceTime | 4005d0a4845f8a5dc365abc926430226da426aff | 86507548ad8231ae26fea4cbe935b7a779ace0db | refs/heads/master | 2020-06-28T07:56:53.109576 | 2019-07-30T00:50:45 | 2019-07-30T00:50:45 | 200,182,111 | 2 | 0 | MIT | 2019-08-02T06:53:52 | 2019-08-02T06:53:51 | null | UTF-8 | C++ | false | false | 679 | h | // This file was generated by the following script:
//
// $ ../../../tools/tzcompiler.py --input_dir ../../../tools/../../tz --output_dir /home/brian/dev/AceTime/src/ace_time/zonedbx --tz_version 2019a --action zonedb --language arduino --scope extended --start_year 2000 --until_year 2050
//
// using the TZ Database ... | [
"brian@xparks.net"
] | brian@xparks.net |
42748244e3818c9d3c0fb61e8daa2a502bcb396c | 4a1b388fc7254e7f8fa2b72df9d61999bf7df341 | /ThirdParty/ros/include/fastdds/rtps/transport/ChannelResource.h | 4af1405043e3c600ea253f6e41b9c8db97106bc3 | [
"Apache-2.0"
] | permissive | rapyuta-robotics/rclUE | a2055cf772d7ca4d7c36e991ee9c8920e0475fd2 | 7613773cd4c1226957603d705d68a2d2b4a69166 | refs/heads/devel | 2023-08-19T04:06:31.306109 | 2023-07-24T15:23:29 | 2023-07-24T15:23:29 | 334,819,367 | 75 | 17 | Apache-2.0 | 2023-09-06T02:34:56 | 2021-02-01T03:29:17 | C++ | UTF-8 | C++ | false | false | 1,815 | h | // Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | [
"noreply@github.com"
] | rapyuta-robotics.noreply@github.com |
ac484128c6c4af04294ca4ef6b6a40b7f79b1260 | bd8e5f73abceb3c0f2fbd18b9afc2141bab34de4 | /include/console.h | a853ce1a26c58e80e2c0b7ed3cb040957dc3a645 | [] | no_license | Tbotas/PokemonCPP | b8c18e5448d21de323831de19e3a32e4ee78f70f | dd7383a53cfd24e10f004dd6cf85375ff2c76755 | refs/heads/master | 2021-03-28T03:30:04.915224 | 2020-03-16T23:00:24 | 2020-03-16T23:00:24 | 247,832,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | #pragma once
#include <string>
#include <vector>
#include <iostream>
class Console {
public:
Console* newText();
Console* addText(std::string text);
void drawText(bool clearScreen);
Console* newChoice(std::string choice);
Console* addChoice(std::string choice);
int getInput(bool clearScreen);... | [
"contact@theohay.fr"
] | contact@theohay.fr |
a3e02c26d5ee8effc1cea762b727261ba9ca4d19 | 6a246de980bc0f39587aa5b6d1af7e0a46331a8d | /5.5.cpp | 1c1954f183efde7bab23ef5195a70c78177d4d54 | [] | no_license | bota999/Lab5 | 9b632182d8192a92f78c05dd8f211b5178377e77 | 8e0767ef6a7652670e673422cf3a18e43eeb6cce | refs/heads/master | 2021-01-17T16:16:48.556718 | 2016-10-20T04:08:35 | 2016-10-20T04:08:35 | 71,424,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
double n;
cin>>n;
double s=0;
double i=1;
while(i<=n){
s=s+1/(i*i);
i++;
}
cout<<s;
return 0;
} | [
"noreply@github.com"
] | bota999.noreply@github.com |
fd6371672d6217526cf999ee66a37dc36ac05007 | e4aa00a72305be85064de0b592e3ace8ac457ebe | /src/taskMgr.h | 9c41d43f2f50fa4e08abe54e7e133164affb74b9 | [] | no_license | Dotolie/Lora-gateway | abb1b7e0687260aabcc23a99ea491787a0dc6112 | cb0ece4e77e5d560892eaf181ef40624041683d0 | refs/heads/master | 2020-09-14T23:53:14.230284 | 2019-11-22T00:57:58 | 2019-11-22T00:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | h | //------------------------------------------------------------------------------
//
// Copyright (C) 2008 MVTech Co., Ltd. All Rights Reserved
// MVTech Co.,Ltd. Proprietary & Confidential
//
// Reproduction in whole or in part is prohibited without the written consent
// of the copyright owner. MVTech reser... | [
"cygdrive@naver.com"
] | cygdrive@naver.com |
f197feeaa9112f6cb909c8ee8234899cc6e353eb | 5823c0dfec0a5a2eb755ff16bb04435ee54239fd | /samples/templates/PascalTriangle/stdafx.cpp | d56fc190c1594bea2b3041c00eb0ae8887d0ae9b | [] | no_license | alexey-malov/oop | b76448452c8fcb2a5b063571cf7252cf45874e69 | 2f2d04fd5d78ab9accd6959bf7092def601c065f | refs/heads/master | 2023-08-11T03:44:58.310708 | 2023-07-29T20:23:30 | 2023-07-29T20:23:30 | 50,946,326 | 48 | 34 | null | 2023-07-29T20:26:19 | 2016-02-02T19:34:30 | C++ | UTF-8 | C++ | false | false | 376 | cpp | // stdafx.cpp : source file that includes just the standard includes
// PascalTriangle.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
#define BOOST_TEST_... | [
"alexey.malov@ispringsolutions.com"
] | alexey.malov@ispringsolutions.com |
25df81d98f7f04062c454720d07d531c1a8d9dbd | 126b36f3decb5a58db27470a738ca7d5ded0608b | /8.11 Implement even-odd merge/Even_odd_merge_linked_list.cc | a49740b632a976b3f887d7632743dae5a9cb15e8 | [] | no_license | Nuos/Elements-of-Programming-Interview | 7aa500a0931017d217c8152bce64cafa205b80bf | 29404d04fb5af408c413dc370cd4de8e70da49e1 | refs/heads/master | 2020-05-29T11:06:05.166377 | 2016-03-04T20:13:34 | 2016-03-04T20:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,777 | cc | // Copyright (c) 2015 Elements of Programming Interviews. All rights reserved.
#include <array>
#include <cassert>
#include <iostream>
#include <memory>
#include <random>
#include "./Linked_list_prototype.h"
using std::array;
using std::cout;
using std::default_random_engine;
using std::endl;
using std::make_shared;... | [
"altunshukurlu@Altuns-MacBook-Pro.local"
] | altunshukurlu@Altuns-MacBook-Pro.local |
281c6488b814ad75d880b8d6104b0a2039f57c74 | 4e66701597959179aef70267a1a0d5900589dd2e | /programs/dft_plot.cpp | 325f8591f8053f28d913411e23fa786321775812 | [] | no_license | dongmingdmdm/camnavi | 301b2755e42517b257462f53e1f035f702dec7f1 | e6b3e7e550839dfd55cd10a8551576bcd1df5ace | refs/heads/master | 2021-01-09T05:05:29.446427 | 2013-06-27T07:55:12 | 2013-06-27T07:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include "main.h"
static Mat const frequency_filter = cv::imread (SRCDIR"/masks/filter.jpg", CV_LOAD_IMAGE_GRAYSCALE);
static void
process (Mat const &src, Mat &dst)
{
dft_filter (src, frequency_filter, NULL, &dst);
}
| [
"pip88nl@gmail.com"
] | pip88nl@gmail.com |
cf51957d4a100c36ddcf98b0800a8aa958aedc49 | c9a156314b7d1c54b8e5fdfc72dd4adcabdb6575 | /VulkanRave/Engine/Libraries/glm/gtx/vector_query.hpp | 4bf49a3c68e2bbc4ccdd8c7cd687a174dce9d31c | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-happy-bunny",
"MIT"
] | permissive | BullynckVictor/VulkanRave | 96d88734bf792493013dbe48c3c8533ba2198e90 | 28e543a0ce3ad0543f7e0f0be404d9f0ba67adb7 | refs/heads/master | 2023-07-24T03:08:30.624841 | 2021-09-04T13:50:08 | 2021-09-04T13:50:08 | 376,907,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,219 | hpp | /// @ref gtx_vector_query
/// @file glm/gtx/vector_query.hpp
///
/// @see core (dependence)
///
/// @defgroup gtx_vector_query GLM_GTX_vector_query
/// @ingroup gtx
///
/// Include <Engine/Libraries/glm/gtx/vector_query.hpp> to use the features of this extension.
///
/// Query informations of vector types
#pragma once... | [
"victor.bullynck@gmail.com"
] | victor.bullynck@gmail.com |
f831a1eacd55a2724df85a16aee77d130e7e4ffa | 8e74e90ffe258a244b4e074500b10a9a98616872 | /013_Roman_to_Int/test.cpp | b4336efcc52c77f80627d607d74ea0f3effb9871 | [] | no_license | MichaelHGitHub/LCA1to50 | 9141d294d0db23b6b1b613e40bc149fa4f865885 | d3f1ab401b20668dd0fdba26e4b8cdf9f033c1df | refs/heads/main | 2023-08-27T22:16:04.805905 | 2021-10-31T18:59:13 | 2021-10-31T18:59:13 | 352,439,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include "header.h"
void PrepareTestData(vector<TD_S_I>& test_data)
{
TD_S_I data;
data.input = "III";
data.output = 3;
test_data.push_back(data);
data.input = "IV";
data.output = 4;
test_data.push_back(data);
data.input = "IX";
data.output = 9;
test_data.push... | [
"noreply@github.com"
] | MichaelHGitHub.noreply@github.com |
65a1ed455cb5762f96566b557b8d7ad5b7704e34 | b8906afecca06f48f2cd289a9997f670b26c4721 | /neon/Helium/HeliumForWindows/Implementation/Plugins/PB_Gesture_PLG/Gesture/LinearGesture.cpp | 3b7c3af50660e638a59ac6265c775c4361d151d6 | [
"MIT"
] | permissive | rhomobile/rhodes | 51bd88921c51bd618948f9a557de17fc297e7cc2 | fc8409c9c281684a49d7ff6805ddc565de09a6d5 | refs/heads/master | 2023-09-01T17:45:36.149868 | 2023-08-31T20:56:06 | 2023-08-31T20:56:06 | 54,084 | 504 | 155 | MIT | 2023-09-12T00:14:29 | 2008-09-18T21:55:16 | C | UTF-8 | C++ | false | false | 8,835 | cpp | /******************************************************************************/
#include <windows.h>
#include <math.h>
#include "LinearGesture.h"
/******************************************************************************/
CLinearGesture::CLinearGesture (POINT start, POINT end, int tolerance, int sensitivity,
in... | [
"pwmj34@zebra.com"
] | pwmj34@zebra.com |
939f2433a3080c156c65e8d557d085885fe18276 | 1d1371c508cf14a3dfafd47947759d12cec57735 | /save/WorkspaceQt/simulation/simulation/commandstationadd.cpp | ce25ed0cd8e5a96d4174fbf71ea7c1dfeb573912 | [] | no_license | amouhk/project_qt | 8bc216987271570ee7473b4a9c7a4e030a841c75 | b0145ba1c813b6ba6f3c7f2d18546c4a296af5f0 | refs/heads/master | 2021-01-18T03:31:21.021839 | 2017-03-24T14:47:28 | 2017-03-24T14:47:28 | 85,816,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | #include "commandstationadd.h"
#include <QObject>
#include <iostream>
using namespace std;
CommandStationAdd::CommandStationAdd(Scene* scene, qreal x, qreal y)
:UndoCommand(), createX(x), createY(y)
{
this->scene = scene;
this->station = new Station(0, x, y);
QUndoCommand::setText(QString(QObject::tr... | [
"kevin.amouh@live.fr"
] | kevin.amouh@live.fr |
d1b138751a296f16dd391af9b15c598c88f40cd5 | 6d1c143787686870c2bd792b75836c5a707dad3f | /Server/CommonCPlus/CommonCPlus/boost_old/thread/detail/memory.hpp | 07512190d2fdadf67a1f7a1c9fc459599c2f5c16 | [] | no_license | jakeowner/lastbattle | 66dad639dd0ac43fd46bac7a0005cc157d350cc9 | 22d310f5bca796461678ccf044389ed5f60e03e0 | refs/heads/master | 2021-05-06T18:25:48.932112 | 2017-11-24T08:21:59 | 2017-11-24T08:21:59 | 111,915,246 | 45 | 34 | null | 2017-11-24T12:19:15 | 2017-11-24T12:19:15 | null | UTF-8 | C++ | false | false | 4,965 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011-2013 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.... | [
"613961636@qq.com"
] | 613961636@qq.com |
403f14735b6c78b9bda77cd198b3b5735392df56 | 69da1db7c6436ba5629e61bdd7cf22b634511817 | /src/main.cpp | 69a9777f136d8e52429f53fba3dfebf6fddf074e | [] | no_license | PJK136/MaladIF | 64ea13e80ef482f84dc85f4a01dd13589ba4ebc6 | 296eae0f4498568d5ed7ed6e8e7763bb1befed1f | refs/heads/master | 2020-03-14T23:41:27.600891 | 2018-06-09T00:50:34 | 2018-06-09T00:51:19 | 131,850,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include "CLI.h"
#include "CLI_utils.h"
#include "Database.h"
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
CLI cli;
if (argc > 2)
{
cli.loadDatabase(argv[1], argv[2]);
if (argc > 3)
cli.askDiagnosis(argv[3]);
... | [
"du.paul136@gmail.com"
] | du.paul136@gmail.com |
d150956278d2409c4ac4a4372bc6c48c692775be | 53e707902646cbf4c79105fa65732f88c4da0d15 | /Object/WriteVirus/WriteVirus/Virus.cpp | 4fb047d18967c13a53716a4ef3b6bffb43b7635d | [] | no_license | khanh41/C-GameLoftTranVanKhanh | 4963d1ddf7eb7e2ccd01f10000db05c9ef7be6e7 | cfe095b26de09d1d6ff2675d022247e1ce45030f | refs/heads/master | 2020-09-13T16:38:01.557912 | 2019-12-09T10:24:39 | 2019-12-09T10:24:39 | 222,843,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | cpp | #include "Virus.h"
Virus::Virus()
{
this->m_dna = new char[100]{""};
this->m_resistance = 0;
}
Virus::Virus(char* m_dna, int m_resistance)
{
this->m_dna = new char[100]{ "" };
this->m_dna = m_dna;
this->m_resistance = m_resistance;
}
Virus::~Virus()
{
delete[] this->m_dna;
}
Virus::Virus(const Virus& virus)
{... | [
"you@example.com"
] | you@example.com |
2c7bc88749fe8f9f06f80236c99d6a7223f1c736 | d3ff76e2f9be14be52266f3c6cc994b91924690d | /Tokenizer_NFrac/src/Tokenizer.cpp | 248118d8e8bbdf7d89f6e4b40ae202ca26675845 | [] | no_license | AirGuanZ/CompilerCourse_UESTC | 435b4361095bdd33905b386971e43b0c75b5b3f3 | 7deb907f8eebed493b48964fe76c8f3f3ee3cf3b | refs/heads/master | 2020-03-10T21:16:17.798199 | 2018-06-10T06:14:45 | 2018-06-10T06:14:45 | 129,589,557 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,878 | cpp | #include <algorithm>
#include <cctype>
#include <map>
#include <vector>
#include "Tokenizer.h"
Tokenizer::Tokenizer(const std::string &src, const std::string &filename)
: src_(src), idx_(0), filename_(filename), line_(1)
{
}
// 跳过从src[idx]起的空白字符
void Tokenizer::SkipWhitespaces(void)
{
while(std::isspace... | [
"248283056@qq.com"
] | 248283056@qq.com |
148c6f4bc30e7b6a9eb84d8667e7e0c18d08f87e | 7bda0764d569e7e134c6884725e5c1c5403d8696 | /TCC GERAL/Arduino/sketch_dec20b/sketch_dec20b.ino | 600f59435b05a099a62fe8cfa3087a7fda4ddf03 | [] | no_license | maagwiin/smart-showers | 2354dca87a828fbab84b203c466b0f34f61cf127 | 9a83fe48e2caf8f1179d21ac21f49abf251a836e | refs/heads/master | 2020-09-05T07:42:47.682999 | 2019-11-06T15:36:35 | 2019-11-06T15:36:35 | 220,029,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | ino | //Programa : Teste Modulo Rele Arduino 2 canais - Lampadas
//Autor : FILIPEFLOP
//Porta ligada ao pino IN1 do modulo
int porta_rele1 = 7;
//Porta ligada ao pino IN2 do modulo
void setup()
{
//Define pinos para o rele como saida
pinMode(porta_rele1, OUTPUT);
}
void loop()
{
digitalWrite(porta_rele1, LOW)... | [
"magnuwindell@gmail.com"
] | magnuwindell@gmail.com |
675788e0e68cd5dbcac0c2f54f5a49e0f808ec7a | 950b506e3f8fd978f076a5b9a3a950f6f4d5607b | /cf/367-div2/C.cpp | c84af0a231c7e3cf44e71a76c5eaca1e97fe4120 | [] | no_license | Mityai/contests | 2e130ebb8d4280b82e7e017037fc983063228931 | 5b406b2a94cc487b0c71cb10386d1b89afd1e143 | refs/heads/master | 2021-01-09T06:09:17.441079 | 2019-01-19T12:47:20 | 2019-01-19T12:47:20 | 80,909,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | #include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
typedef long long ll;
const ll INF = LLONG_MAX - 1234567890;
bool check(string &s, string &t) {
for (int i = 0; i < (int)min(s.length(), t.length()); i++) {
if (s[i] < t[i]) return true;
if (s[i] > t[i]) return false;
}
if... | [
"dimaz1301@gmail.com"
] | dimaz1301@gmail.com |
67d91c31a979a6c06f45a2c21247f842f0c74637 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/114/338/CWE762_Mismatched_Memory_Management_Routines__delete_class_malloc_72a.cpp | 2f9a2d3156fc95b02527d6c46e883c2389abb2d2 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_class_malloc_72a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-72a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
65e2b0c62c8b0aaa08eb03654d2c4a3712ad94d6 | edbd9320ba0e65465948b0d14bf91006df4e5431 | /variadic_set.h | 234cef9c542589e2644ffa57de74c0c71c86d0de | [
"Apache-2.0"
] | permissive | egorich239/variadic_set | 5b678d89dfdb2e883ec709ed16b49e95fdc76d66 | d97b29ea9ce438faddd9817ffce124a85ab68562 | refs/heads/main | 2023-08-14T09:32:56.794009 | 2021-10-08T08:55:03 | 2021-10-08T08:55:03 | 414,366,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,630 | h | #pragma once
#include <array>
#include <cstddef>
#include <exception>
#include <type_traits>
#include <utility>
namespace internal_variadic_set {
template <typename C, C... vs>
constexpr C get_at_(size_t idx) noexcept {
return std::data({vs...})[idx];
}
#include "variadic_set-index_of_impl-inl.h"
template <typena... | [
"egorich.3.04@gmail.com"
] | egorich.3.04@gmail.com |
f6436d35faf10d2c72318192e495c05c6336f14e | dd1a4ca7020ba5cac93d90829798a3a6f80d33a1 | /Bzoj/bzoj2179.cpp | e3a64154fee39686cdf0f0fcebbdee94658e0ffa | [] | no_license | Exbilar/Source | a0f85b8b47840a4212fd4a9f713f978cab13e9a3 | b8bc0dc52e51f6c4986bd0f37de61b13d98e6e8c | refs/heads/master | 2022-05-03T22:35:57.300520 | 2022-03-14T09:03:03 | 2022-03-14T09:03:03 | 97,890,246 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | #include <bits/stdc++.h>
#define DEBUG(...) fprintf(stderr,__VA_ARGS__);
using std :: max;
using std :: min;
using std :: complex;
typedef long long LL;
typedef complex<double> CP;
static const int INF = 1 << 30;
static const LL oo = 1LL << 62;
static const int maxm = 1e6 + 10;
static const double pi = acos(-1);
t... | [
"exbilar@gmail.com"
] | exbilar@gmail.com |
978bae065a11fe3586f526367243506eec8b347f | 16dd08fbf7e09b60fa08a89a2994d2812f2b7d05 | /200207_echo_server.cpp | 8c6a20b37b79e104377163f388f69892edde3db3 | [] | no_license | netmarble-newbie-2020/server_study | f63bfea6a680d19648cf639023ca68f58b4ced41 | 3f090adc1845851e486486ad3e5353c3471e06f9 | refs/heads/master | 2020-12-29T10:47:37.066869 | 2020-03-02T15:46:14 | 2020-03-02T15:52:42 | 238,579,508 | 3 | 1 | null | 2020-02-10T15:58:27 | 2020-02-06T00:54:56 | C++ | UTF-8 | C++ | false | false | 3,596 | cpp | // [출처] [socket / Linux] 4. 에코(echo) 서버 / 클라이언트 구현|작성자 kaka
// http://blog.naver.com/PostView.nhn?blogId=clown7942&logNo=110108561424&parentCategoryNo=&categoryNo=26&viewDate=&isShowPopularPosts=true&from=search
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> // read(), write()
#include ... | [
"wjdenwls123@gmail.com"
] | wjdenwls123@gmail.com |
a9fd40ef5465b80bd2451ce6ac1f08aeab04a789 | 5555863929cb1c3ec9b74bc29d6b2f165385b393 | /src/SingleLayerOptics/tst/VenetianUniformShadeCurvedMinus45_0.unit.cpp | 0b3a7894bb046525c0ee5405f6738c97453e869e | [
"BSD-3-Clause-LBNL"
] | permissive | iceyuanJ/Windows-CalcEngine | 8856e839bedb8d3f1b1445af394fd67290220ded | 3fdc05382f548017b61ba868ba8dfa35e06960c3 | refs/heads/master | 2020-03-25T12:56:15.041965 | 2018-08-06T23:52:08 | 2018-08-06T23:52:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | #include <memory>
#include <gtest/gtest.h>
#include "WCECommon.hpp"
#include "WCESingleLayerOptics.hpp"
using namespace SingleLayerOptics;
using namespace FenestrationCommon;
class TestVenetianUniformShadeCurvedMinus45_0 : public testing::Test
{
private:
std::shared_ptr<CBSDFLayer> m_Shade;
protected:
virt... | [
"dvvidanovic@lbl.gov"
] | dvvidanovic@lbl.gov |
8935a6188dcf3427c705fbc56ce3dbf2b49676f4 | 84f2278ea66c63b620b7118ce8f2745bf4b03198 | /5_black_belt/week_1/1_10/svg.h | d6b72adb3eea335bc5479e285cb9519d3accbc34 | [] | no_license | VasilyevEvgeny/cpp_development_fundamentals | 9f86178f53043c988fc9ac4dc025124aeb944d1c | 40b47b9d5500f97ffcf787b2de92414014b51005 | refs/heads/master | 2023-09-01T00:39:44.338258 | 2023-08-21T17:48:06 | 2023-08-21T17:48:06 | 135,203,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,222 | h | #pragma once
#include <string>
#include <iostream>
#include <vector>
#include <memory>
#include <optional>
#include <variant>
namespace Svg {
struct Point {
double x = 0.0, y = 0.0;
};
struct Rgb {
uint8_t red = 0, green = 0, blue = 0;
};
struct Rgba : Rgb {
double alpha = 0.0;
};
using Color = std::v... | [
"vasilev.evgeniy@physics.msu.ru"
] | vasilev.evgeniy@physics.msu.ru |
7238127324d31f88678793e23ba55b9c6fe515b7 | cb3caba4c1ce5ddc5f33ed2e1ab9b66dfe3cbbe9 | /lib/GCOI/gci_sedreams/sedreams.cpp | 1ae90377867da2a180e0c48bdf05c687a5abb659 | [
"MIT"
] | permissive | PushoN/speech-analysis | e1107ee668c2a5ef2778f9e739afa39e7c38b0ae | b4ff46dbb0a1249dddf4d7c2f761be602ca52e0d | refs/heads/master | 2022-04-21T01:43:42.509355 | 2020-04-15T15:18:38 | 2020-04-15T15:18:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | #include <climits>
#include <cmath>
#include "../../Signal/Filter.h"
#include "../../Signal/Window.h"
#include "../../LPC/LPC.h"
#include "gci_sedreams.h"
using namespace Eigen;
static constexpr int hpfilt = 20;
std::pair<std::vector<int>, std::vector<int>> Sedreams::gci_sedreams(const ArrayXd & signal, const double... | [
"contact@cloyunhee.fr"
] | contact@cloyunhee.fr |
70a2e4a381e021ae8acb9636666c2b6fc89f8a86 | 95efaa256914926ac30acbb1a8c89c320c19bf40 | /HeExample/HeDesignPattern/HVisitor.h | b874e75c875f9abdbdde02f3d480a342bb830f50 | [] | no_license | mabo0001/QtCode | bc2d80446a160d97b4034fa1c068324ba939cb20 | 9038f05da33c870c1e9808791f03467dcc19a4ab | refs/heads/master | 2022-08-26T13:36:14.021944 | 2019-07-15T01:12:51 | 2019-07-15T01:12:51 | 266,298,758 | 1 | 0 | null | 2020-05-23T08:54:08 | 2020-05-23T08:54:07 | null | UTF-8 | C++ | false | false | 1,386 | h | /***************************************************************************************************
** 2019-05-30 访问者模式
** https://blog.csdn.net/liang19890820/article/details/79364406
***************************************************************************************************/
#ifndef HV... | [
"hexianqi@msn.com"
] | hexianqi@msn.com |
f16f35f899237ff8c7bc62e3b4d4c3d8585c44c6 | 2f33f8d13b4da223911a351c8e2c5efc2d7bedd0 | /Other/Out of order/HDU 1272 小希的迷宫.cpp | 409ea7fd721e67cb5377c85b90514a05de7963f4 | [] | no_license | Harrypotterrrr/Algorithm-ACM | ecbfd44a8da3ce82ef4b1b94a3759004246b3cd8 | f1eedf5229c2a8dca9b4948f05a16adacbd9ad6b | refs/heads/master | 2021-12-13T19:35:38.662941 | 2021-12-12T04:59:24 | 2021-12-12T04:59:24 | 141,694,685 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int father[100005];
bool vis[100005];
bool flag;
int num,maxn = 100005;
int findFather(int x){
int s = x;
while(x != father[x])
x = father[x];
while(s != father[s]){
int gs = s;
s = father[s];
father[gs] = x;
}
return x;
}
voi... | [
"jiahaolin19971119@126.com"
] | jiahaolin19971119@126.com |
288f64a0831b63c04d97b8c199eba421a01f7572 | 3ab9f3abb4e58e30db82b33bbb696f55b058a10f | /OOP/practical_11.cpp | efd5780bda10ccbf891c7175fbe44919792f9ed1 | [] | no_license | mojojojo77/SE-DSA | ecab2a8ea04e8f1f9923a7402cc48c633821a34d | 2fdb69f5f57a356a4433a9bb777e944ce6504af3 | refs/heads/master | 2021-01-21T21:32:55.155447 | 2017-10-12T21:42:34 | 2017-10-12T21:42:34 | 102,135,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include<iostream>
#include<queue>
using namespace std;
int main(){
bool test = true;
queue<int> q;
int ch;
char y;
while(test){
cout<<"\n1. Enter element 2. Remove elements 3. Display elemens 4. size of queue 5. Quit: ";
cin>>ch;
switch(ch){
case 1:
int no;
cout<<"\Enter Number to ADD: \n";
... | [
"arnav.saraf777@gmail.com"
] | arnav.saraf777@gmail.com |
ce61d5d7c345da1c8f794de9219f86009bf2c403 | d82f5a777bbca732c7ec5dd05cbdf3e7de828fa6 | /MaxPalindromes.cpp | ba86fba98bcfdf6010d3d018150bea3c73a4c2ba | [] | no_license | EvanWang2015/Hackerrank | 0f583fa6841312375e4ffbdfa0280c6117fe8162 | 1461e2ea7ffa6344ef5065961af0b1f6dad87fc0 | refs/heads/master | 2021-01-21T15:19:37.529946 | 2018-03-24T04:32:16 | 2018-03-24T04:32:16 | 95,383,298 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,486 | cpp | /*
Maximum Palindromes.
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward as it does forward.
On her 7th birthday, Sandy's uncle, Richie Rich, offered her an n-digit check which she refused because the number was not a palindrome.
Richie then challenged Sandy to ma... | [
"wanghaitang.ufl@gmail.com"
] | wanghaitang.ufl@gmail.com |
1d34d19eb830f7cad493b7b6be0b50a0e47d4bb7 | c288aa0eeab7a56c485bbfc4f4ce7ae5057bb79c | /split_candies.cpp | 1367a418baee20b09c905d16d82e48ef7e2a2ada | [] | no_license | sdurgi17/codechef | 4721bd73c65593c9c521337e7cccf93245e13fac | aadac84326b5bee4c92335b668311394a0b053bc | refs/heads/master | 2020-04-14T23:15:02.090512 | 2015-02-23T17:29:48 | 2015-02-23T17:29:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int t;
cin >> t;
for ( int i = 0; i < t; i++ ) {
long long int n;
long long int m;
cin >> n;
cin >> m;
if ( m == 0 ) {
cout << 0 << " " << n << endl;
} else {
cout << (n / m) << " " << (n % m) << endl;
}
}
return 0;
... | [
"srikar.durgi@payu.in"
] | srikar.durgi@payu.in |
8ba5d86c1eedb9fbf0c4c6ba0b745a97b50e2ea4 | fc9689350e8f808ab94f6f1cab951be3fb2f7e10 | /DesignPatternsShow/DesignPatternsShow/Patterns/CompositePattern.h | e3c104fd144eb45ed12eca54cf3120eda7ea6a77 | [] | no_license | yzy1987523/DesignPatternsProject | 59b8ee1902d45fd9195098eb4913bf1b5140fdcb | 45c5e5208c7406aacd415d1b4bf14218a51ad998 | refs/heads/master | 2020-09-04T03:51:03.732809 | 2019-11-15T09:30:49 | 2019-11-15T09:30:49 | 219,650,911 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,999 | h | /*文件名:CompositePattern.h
作者:Yzy
说明:组合模式(基础模块可以组合成新的模块,新的模块又能作为子模块与其他模式组合)
上次修改时间:2019/11/12
*/
#pragma once
namespace CompositePattern {
using namespace std;
//抽象类
class Company
{
public:
Company(string name) { m_name = name; }
virtual ~Company() { cout << "删除 " <<m_name << endl; }
virtual void Add(shared_p... | [
"705359976@qq.com"
] | 705359976@qq.com |
b043a55a2ae4669f5d0a1d2ccb7fa9b71dbf35c7 | 6e3b592de89cb3e7d594993c784e7059bdb2a9ae | /Source/AllProjects/Installer/CQCInst/CQCInst_InstallThread.cpp | 8f0e69000dfd5c89cc5c45690be2d5d41afb6399 | [
"MIT"
] | permissive | jjzhang166/CQC | 9aae1b5ffeddde2c87fafc3bb4bd6e3c7a98a1c2 | 8933efb5d51b3c0cb43afe1220cdc86187389f93 | refs/heads/master | 2023-08-28T04:13:32.013199 | 2021-04-16T14:41:21 | 2021-04-16T14:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148,237 | cpp | //
// FILE NAME: CQCInst_InstallThread.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/02/2004
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
2cf27fb0bfc69643f88f9581162e16bd39b632ea | 37b7e6a7f3fba58ccd6892ed4cec657b50cb7310 | /scorefun.cpp | 3fb414b6aa3285bde19089390d5f4fe3bb9a5d13 | [] | no_license | WaseemSabir/High-Low-Game | 88a4c15ba1d8cf90496b7dd303c1d1005c1d960e | 374a619a3110e6b43be24f83286141fda9fc927e | refs/heads/master | 2023-02-17T05:14:23.382964 | 2021-01-11T19:24:03 | 2021-01-11T19:24:03 | 328,762,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <iostream>
using namespace std;
void scorefun(int score) // In order to show the score in the closed box in the program
{
cout << "\t\t ____________" << endl ;
cout << "\t\t| |"<< endl ;
if(score < 10 )
{
cout << "\t\t| SCORE : "<< score << " |"<< endl ;
}
... | [
"noreply@github.com"
] | WaseemSabir.noreply@github.com |
377db8e8fa073453151f145fca7fa482360ce8b9 | 4191d08e2aa81b389a9777ce5419a36bc3c2f6d9 | /src/Account.cpp | e8a72b19acc139f9d5bc22a250913df80361fddb | [] | no_license | MatrixWeber/BankAccountStatePatternCpp | 7c1561fe531e7c6258f7755396e418e5db5e657d | 6874b36911f140cf27d072f1b001865e63011fe5 | refs/heads/main | 2023-02-14T14:02:52.993093 | 2021-01-10T15:36:55 | 2021-01-10T15:36:55 | 327,958,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | //
// Created by Alex on 30.04.2020.
//
#include <functional>
#include "Account.h"
#include "Factory.h"
void Account::setState(StateEnum state)
{
delete m_pState;
if(state == StateEnum::ST_ACTIVE)
{
m_pState = Factory::createActive(callback);
}
else if(state == StateEnum::ST_FROZEN)
{... | [
"37802096+MatrixWeber@users.noreply.github.com"
] | 37802096+MatrixWeber@users.noreply.github.com |
8d31df1bf58bf0b97a24e1a34c601d0d0e217fc6 | 623bcad31961bd221ddde4c5d06314e532c85eae | /newOperator/src/newOperator.cpp | 620eef7d863ddb9b944d56b128d5c55bf0250c60 | [] | no_license | CPP-CProgramming/C-C-Practice | 57ff153a9429e2c37e8ecf8dfc06f9de472dd41f | 0e8a94b6ec0049262762b95b4cd13c0a8caf9e65 | refs/heads/master | 2021-06-05T07:44:28.340262 | 2016-11-08T01:02:34 | 2016-11-08T01:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | //============================================================================
// Name : newOperator.cpp
// Author : inchan
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... | [
"neogeo-s@hanmail.net"
] | neogeo-s@hanmail.net |
78c6d59de5e94a3b00ed8b84c40e0ab8e3473ef3 | b1ca290baa255e9939882e3711093a8ca0509687 | /396(41-Constructor copy)/Untitled1.cpp | 1a629bbd9ce603700ff620f5b69b3925afd62603 | [] | no_license | ZeeshanAhmadKhalil/DevCpp | 26872a9059d683072c116169b4035ea6ae706c54 | c68c67f2972cbc6bca2691dd773a4bff62aa5889 | refs/heads/master | 2020-07-29T00:00:33.065937 | 2019-09-24T06:13:57 | 2019-09-24T06:13:57 | 209,585,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | #include<iostream>
using namespace std;
class Student
{
public:
static int roll_no;
Student()
{
roll_no=024;
}
Student(Student&s)
{
roll_no=s.roll_no;
cout<<roll_no<<endl;
}
};
main()
{
Student *s1;
Student *s2=s1;
}
| [
"mk1411997@gmail.com"
] | mk1411997@gmail.com |
8c0c596a8d826e47606fab1a8e27effbbc7e0f1f | f3b5c4a5ce869dee94c3dfa8d110bab1b4be698b | /controller/src/vnsw/agent/oper/vm_interface.cc | 7d61fe11cdf7bc44a121bba4ff172802799385e1 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | pan2za/ctrl | 8f808fb4da117fce346ff3d54f80b4e3d6b86b52 | 1d49df03ec4577b014b7d7ef2557d76e795f6a1c | refs/heads/master | 2021-01-22T23:16:48.002959 | 2015-06-17T06:13:36 | 2015-06-17T06:13:36 | 37,454,161 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141,581 | cc | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <sys/types.h>
#include <net/ethernet.h>
#include <boost/uuid/uuid_io.hpp>
#include "base/logging.h"
#include "db/db.h"
#include "db/db_entry.h"
#include "db/db_table.h"
#include "ifmap/ifmap_node.h"
#include "net/address_util.h"
#inclu... | [
"pan2za@live.com"
] | pan2za@live.com |
f53e59efabb19899d93864e63c9f4ebe1e31fa45 | abd7fc9b7838df447fe787b22bd9feacb17e95c3 | /Hello.cpp | 71a278045125b9b575bec3a5c7eeff2a38a38b88 | [] | no_license | abhiraghuram/ISTE-TASK1 | 6e1d0d7f082247240c9e199e291abbe87bf338bf | 49061cf4d0bff3145b38b1b50c6fc5eab1aec653 | refs/heads/master | 2021-04-02T12:43:57.422278 | 2020-03-18T15:57:14 | 2020-03-18T15:57:14 | 248,276,132 | 0 | 0 | null | 2020-03-18T15:57:15 | 2020-03-18T15:52:41 | C++ | UTF-8 | C++ | false | false | 117 | cpp | #include<iostream>
using namespace std;
int main()
{
cout<<"TASK-1"<<endl;
cout<<"Abhishek"<<endl;
return 0;
}
| [
"noreply@github.com"
] | abhiraghuram.noreply@github.com |
f612c36d91916f492bd8ca733df1d44a99c699be | 0de0127b86f369f4f7f145cfd6cd9937304e1a32 | /Fibonacci.cpp | 5bb114dc5d98e10c7d7d9377c3e99ac8fb507867 | [] | no_license | Efreeto/InterviewPrep | 3f9d92df6af1141a34ee34a0f5440e048fd32869 | 79b8af3729d0f8a5620c1b9de543b44fab5365f4 | refs/heads/master | 2020-12-25T22:57:39.652750 | 2017-08-16T07:17:30 | 2017-08-16T07:17:30 | 18,029,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include <stdio.h>
int Fibonacci(int order)
{
if (order == 1)
return 0;
if (order == 2)
return 1;
return Fibonacci(order - 1) + Fibonacci(order - 2);
}
int main()
{
//0 1 1 2 3 5 8 13
printf("%d\n", Fibonacci(8));
} | [
"woowon.kim@gmail.com"
] | woowon.kim@gmail.com |
8f4d34e169e4da829ad5ce20fd3d0f2d564aa9b8 | 96293fe152ef2fa1a3874f3aaba4519df5e5e278 | /src/color.h | 9d36dc1eeeb357db95f86d87e509a77ad17d7a27 | [
"BSD-3-Clause"
] | permissive | perwin/perspectiva | 6ce5e37ba9674280da0458fff7b569d69c09e3e9 | 3909e70228f6ed3d4322d42def470286a194dac7 | refs/heads/master | 2022-02-01T04:22:24.711191 | 2021-12-29T13:44:27 | 2021-12-29T13:44:27 | 252,973,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,485 | h | // Color class for raytracing: basically holds r, g, and b floating-point values,
// along with some methods and operator overloading to do arithmetic with color
// values.
//
// This is similar to Vec3f, but labels the internal data members r, g, and b instead
// of x, y, and z; it also leaves out irrelevant operators... | [
"erwin@sigmaxi.net"
] | erwin@sigmaxi.net |
b4016ae5960e818a471890e8095c112410f2a771 | 286c263caa980d286a925bb6a3bec9a661351409 | /main.cpp | c64cf98a9411497665869f4fdd3491f3b8eacab1 | [] | no_license | JoedHernandez1995/Monopoly | 63f4d25fc966dbfe7907c986834d95237d17a84f | 0b8801b6bafcae881d097679b6401cbfd5a92332 | refs/heads/master | 2021-01-13T02:17:55.246782 | 2014-09-26T07:05:24 | 2014-09-26T07:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <ctime>
#include <cstdlib>
int main(int argc, char *argv[]){
srand(time(0));
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| [
"joedhernandez95@unitec.edu"
] | joedhernandez95@unitec.edu |
2cc0a3b89918f4eb0e1ad92f962bf1dce305d5d9 | 97c211320795bd62240247bfcc577fbc419542fa | /WhatBox/cFX.cpp | c303c872375c51492869221955e22a2c8a1f3624 | [] | no_license | NeuroWhAI/Biogram | 855c6fd4a25739aa5c416f4824cc7339d95da251 | 7e534514220673cb1971469e7b0559da3805d267 | refs/heads/master | 2021-01-17T06:01:30.016073 | 2016-06-19T05:19:30 | 2016-06-19T05:19:30 | 48,879,071 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | cpp | #include "cFX.h"
#include "cCore.h"
cFX::cFX()
: m_pTx(nullptr)
, m_bDeleteByMgr(false)
, m_continueTime(0UL)
, m_prevFXStartTime(timeGetTime())
{
cCore::FxMgr.AddFX(this);
}
cFX::cFX(cTexture* pTx)
: m_pTx(pTx)
, m_bDeleteByMgr(false)
, m_continueTime(0UL)
, m_prevFXStar... | [
"neurowhai@gmail.com"
] | neurowhai@gmail.com |
b555a322abaa13d39c10d16636fbd94b3544440a | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_1025.cpp | 1eaf9b3dfa12ae94bbb7dffb5486af9d4d9baf82 | [] | 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 | 199 | cpp | static void show_ref(const char *path, const unsigned char *sha1)
{
if (sent_capabilities) {
packet_write_fmt(1, "%s %s\n", sha1_to_hex(sha1), path);
} else {
struct strbuf cap = STRBUF_INIT;
| [
"993273596@qq.com"
] | 993273596@qq.com |
1bdad5098a0f4a3d440ba04e660e415af7dffe2c | fd244dc9df2b2c3145dbdb9640bd31c46dd7b0dc | /fishbrains.ino | 154b7233c668065e5562af59de1cc6d00b88adad | [] | no_license | johnpdowling/fishbrains | 92b938bbb5368115b96922b0deb94bac2b8e8557 | 1fbdc9af0acf035d13c383298943879d7c790a75 | refs/heads/master | 2021-01-19T09:41:03.238657 | 2017-02-20T16:07:58 | 2017-02-20T16:07:58 | 82,135,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | ino | #define HEAD 0
#define MOUTH 1
#define TAIL 2
#define IN_ONE 3
#define IN_TWO 4
void setup() {
// put your setup code here, to run once:
pinMode(HEAD, OUTPUT);
pinMode(MOUTH, OUTPUT);
pinMode(TAIL, OUTPUT);
digitalWrite(HEAD, LOW);
digitalWrite(MOUTH, LOW);
digitalWrite(TAIL, LOW);
pinMode(IN_ONE, IN... | [
"john.patrick.dowling@gmail.com"
] | john.patrick.dowling@gmail.com |
e341bf07662fd3120ec532573bf61acb90c34459 | 25ec77e1dae584f8c37e1ec2434ff12aaf8b75aa | /programs/test1_1.cpp | bb68075646e8fdef111fc25ba03611d46a7c8fa7 | [] | no_license | pyw0564/graduate_project | 81c00a549e8e6e36ac7b8bac3819c9a29ef2b939 | 2a294fbe935f9b96fc6d0f332b112c8a9edc05ed | refs/heads/master | 2022-12-22T12:28:03.649870 | 2019-12-05T06:37:55 | 2019-12-05T06:37:55 | 208,734,886 | 1 | 0 | null | 2022-12-11T10:40:31 | 2019-09-16T07:16:46 | HTML | UTF-8 | C++ | false | false | 113 | cpp | #include <iostream>
using namespace std;
int main() {
int a,b;
cin >> a >> b;
cout << a + b;
return 0;
} | [
"pyw0564@gmail.com"
] | pyw0564@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.