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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
79803d9b66433c46bb07e552400daa832faf0437 | 54d8acb9f614f1da82d4fbe5cfc1ead5972ab3b7 | /codeforces/rounds/CF-1380B.cpp | c450a1fa996ddd4d2b7c497ae1939fd1e0d3b047 | [] | no_license | JohnItoo/Solvay | 9efd2e5a0318a0cf48a7e9d913a287e95188231d | 150b9460fe6332317362eba816e14b1ba6620ef5 | refs/heads/master | 2023-04-08T03:51:10.432417 | 2022-09-06T21:00:00 | 2022-09-06T21:00:00 | 188,384,500 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,494 | cpp | // Problem: E. Universal Solution
// Contest: Codeforces - Greedy #1
// URL: https://codeforces.com/group/pcTovAeVHg/contest/338449/problem/E
// Memory Limit: 256 MB
// Time Limit: 2000 ms
//
// Powered by CP Editor (https://cpeditor.org)
//============================================================================
/... | [
"itoohue@gmail.com"
] | itoohue@gmail.com |
4df9abf40c4c3a564ab86ea42566ef9907e70279 | 868778cfaff0103c350abbb7af2aaddb62eae40c | /Chapter 16/16-9/main.cpp | c724480f66e9b4793bec11ad53d80098b29d313d | [] | no_license | Jerrydepon/C_plus_plus_Practice | a1f3287f98a0fb625218cfccfb9228d040186f13 | d75a4d3be64c6030d020c10a5bbb86e8313415c1 | refs/heads/master | 2020-07-06T16:36:38.765385 | 2019-08-19T02:03:19 | 2019-08-19T02:03:19 | 203,080,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include <iostream>
#include <string>
using namespace std;
template <class T1, class T2, class T3>
void echoAndReverse(T1 a1, T2 a2, T3 a3)
{
cout << "Original order is: " << a1 << " " << a2 << " " << a3 << endl;
cout << "Reversed order is: " << a3 << " " << a2 << " " << a1 << endl;
}
int main()
{
... | [
"jerry2285@yahoo.com.tw"
] | jerry2285@yahoo.com.tw |
0242056e04d5be9a75d49f2ccd4eca8b5341371f | 8f34201519ce6e0f70e467edd67ce51c5d56f8df | /src/main.h | 2e16a819b1f399c98d6a657c5b8815cef85eebf9 | [
"MIT"
] | permissive | Talisman-coin/honestas | 8b728dd7017b22be990b4f923881681dd1dc8111 | 6c04744fc204789e46575756bebdc51c54a768db | refs/heads/main | 2023-01-06T07:38:36.000688 | 2020-10-31T18:05:34 | 2020-10-31T18:05:34 | 307,075,593 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,007 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Talisman developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITC... | [
"ezhka69@mail.ru"
] | ezhka69@mail.ru |
23994366ab1d72124f7a7c975e39c482b2f533f6 | 73e7c20803be5d8ae467af1feba8a4a7fe219f4b | /Examples/Filtering/FFTImageFilter.cxx | 8e5c0be3b77b35a01aff03dc699f0490453a0600 | [
"LicenseRef-scancode-other-permissive",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-free-unknown",
"BSD-4.3TAHOE",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"IJG",
... | permissive | CIBC-Internal/itk | deaa8aabe3995f3465ec70a46805bd333967ed5b | 6f7b1014a73857115d6da738583492008bea8205 | refs/heads/master | 2021-01-10T18:48:58.502855 | 2018-01-26T21:25:51 | 2018-01-26T21:25:51 | 31,582,564 | 0 | 2 | Apache-2.0 | 2018-05-21T07:59:53 | 2015-03-03T06:12:12 | C++ | UTF-8 | C++ | false | false | 11,068 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"ayla@sci.utah.edu"
] | ayla@sci.utah.edu |
4584cfacc684600987cb1c8397e9394a95e23626 | df182b90f70d0a5eee100db57a82df6ca56d10e4 | /src/amount.cpp | 577ee0cac16602d4b9cdddafad02e4ce2cf1b286 | [
"MIT"
] | permissive | congstarcoin/congstar-core | 83a1f28aed9b0093e8f4812583d0491d3db2f991 | 4d14841103ba1610ef02e594995fd11cc07676b8 | refs/heads/master | 2020-08-20T00:09:08.569610 | 2019-10-23T02:43:19 | 2019-10-23T02:43:19 | 215,966,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "tinyformat.h"
CFeeRate::CFeeRate(const CAmount& nFeePa... | [
"congstarcoin@gmail.com"
] | congstarcoin@gmail.com |
f5d8f086c1a921861033700842605229d30d2448 | e9b2963ea278365d21de414e978f4df7fa1181a5 | /HackatonASD/io/Logger.h | 8e9c9ed86a4d2f1163c713b01e1fa80d5a87a8d2 | [
"MIT"
] | permissive | AndreiMaga/HackatonASD | 220681abfff2a03e20879fb2d2f63a8504f660fe | 4f288f323eb8910bc4043feac608024c7014f560 | refs/heads/master | 2022-10-19T17:00:13.431522 | 2020-06-04T09:06:25 | 2020-06-04T09:06:25 | 268,559,150 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | #pragma once
#include <iostream>
#include <QString>
#include <QPlainTextEdit>
#include <QColor>
class Logger {
public:
static QPlainTextEdit* qpte;
static void log(const char* type, const char* message, QColor c);
static void info(const char* message);
static void warning(const char* message);
st... | [
"andreimariomaga@gmail.com"
] | andreimariomaga@gmail.com |
a9fff96f869cbb4b2a55aece33eca71740c1fa6f | 9d2f2b3f2cc93abbd8fcfe277835b7b505e97336 | /Phase-2/Code/Student.cpp | 325659ca639e52f6a5978266155e6d8b68d3c565 | [
"MIT"
] | permissive | RossieeyirouQian10/EE450-Project-Socket-Programming | 0361dd903e816506699c264007c4d0ac83ae4c8e | 3aabac665b376c1e3d2e67876ea0c220681fa878 | refs/heads/main | 2023-03-30T08:50:34.002629 | 2021-04-09T09:49:00 | 2021-04-09T09:49:00 | 356,214,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,395 | cpp | //
// Student.cpp
// ProjectPhase2
//
// Created by 钱依柔 on 7/4/19.
// Copyright © 2019 钱依柔. All rights reserved.
//
#include <stdio.h>
#include <cstdio>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <cstring>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/sock... | [
"noreply@github.com"
] | RossieeyirouQian10.noreply@github.com |
5eacb2cb46807967b7ecc6eb7f5a4479735dfda7 | add70b6fd60742e5cb7bfda75ed6f00df542921d | /Eternity Engine (Outerspace)/Code/code/ETY-Engine/Dev-Libs/boost_old/mpl/math/rational_c.hpp | d32750989b83e96ac915e590b537e3c784027e1e | [] | no_license | jsaevecke/Harbinger-of-Eternity-2D-Space-Game | 0e6f3484c91154978eb374c8936dc1d3c0f94570 | 17185227648972c7ae206bbb8498cccff83b232e | refs/heads/master | 2021-09-29T08:18:35.420165 | 2018-02-26T16:34:22 | 2018-02-26T16:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | hpp |
#ifndef BOOST_MPL_RATIONAL_C_HPP_INCLUDED
#define BOOST_MPL_RATIONAL_C_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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.boost.org/li... | [
"Julien.Saevecke@udo.edu"
] | Julien.Saevecke@udo.edu |
13bc60a97e2792b83eac59e2f5a96af300d895fe | 7d5691687676b900553628f9287b7cb9094dac9a | /3party/icu/i18n/gregoimp.cpp | 08a3fbcef4ccf5d6bd25302990b5a9e2e67de00d | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NAIST-2003",
"BSD-3-Clause",
"LicenseRef-scancode-unicode",
"ICU",
"GPL-3.0-or-later",
"NTP",
"LicenseRef-scancode-unicode-icu-58",
"LicenseRef-scancode-autoconf-simple-exception",
"Apache-2.0"
] | permissive | mapsme/omim | bf3ea4f419a547b7c124107e344d7f565d707c12 | 1892903b63f2c85b16ed4966d21fe76aba06b9ba | refs/heads/master | 2023-02-20T16:31:08.733960 | 2021-04-27T13:57:41 | 2021-04-28T14:44:52 | 42,798,033 | 5,032 | 1,527 | Apache-2.0 | 2022-10-03T08:28:24 | 2015-09-20T02:57:13 | C++ | UTF-8 | C++ | false | false | 12,508 | cpp | /*
**********************************************************************
* Copyright (c) 2003-2008, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: September 2 2003
* Since: ICU 2... | [
"d.volvenkova@corp.mail.ru"
] | d.volvenkova@corp.mail.ru |
9b0e82c1e7c8654d11a6f60075b7c4efb5396a54 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/loops/loop_mover/refine/LoopMover_CCD.hh | 43c0b93d45145755635c349448cdf4445ff39ccb | [] | 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 | 6,380 | 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 |
fee5dc46ae2065d23be86fb5bade8626d62f1c0c | f052180ed0741d369666349374b70990dafb4a6b | /src/makePassTreeMultiFile.cxx | 42841b4c95e5c6bec2c455814c74f330b934a9c6 | [] | no_license | nichol77/minosSO | 39d4358c8836bfa22603dde595e33ae75c476efa | ff3007651ba7c7257d1de65f327fb33a2ce0e4c1 | refs/heads/master | 2021-01-01T19:43:18.449061 | 2015-01-20T15:48:08 | 2015-01-20T15:48:08 | 29,537,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,291 | cxx | #include <iostream>
#include <fstream>
#include "TFile.h"
#include "TF1.h"
#include "TH1.h"
#include "TH2.h"
#include "TMath.h"
#include "TChain.h"
#include "TString.h"
#include "TKey.h"
#include "TROOT.h"
#include "NuDstLooper.h"
int main(int argc, char **argv)
{
if(argc<5) {
std::cerr << "Usage\n\t" << a... | [
"r.nichol@ucl.ac.uk"
] | r.nichol@ucl.ac.uk |
aea92e9f40cfa88100644f55c820c8798a300a41 | 08168d07807c56e55de6e79646b8a575ea418a49 | /partB/avielTest.cpp | 472f0386b3161f1097de92248703b074d916bac6 | [] | no_license | aviel360/HW2 | 36f556353bd258b5df3439199fd2c8d62e8ff775 | f89ac95c1582cf0f2b5af459ddb9c71c43ef8b5f | refs/heads/main | 2023-06-03T22:35:37.239089 | 2021-06-22T14:01:36 | 2021-06-22T14:01:36 | 373,422,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,911 | cpp | #include <iostream>
#include <cassert>
#include "Exceptions.h"
#include "Game.h"
using namespace mtm;
using namespace std;
void Test1();
int main() {
Test1();
}
void Test1(){
cout << "-----ErrorChecks-----" << endl;
Game g1(5,10);
try{
g1.addCharacter(GridPoint(1,8), Game::makeCharacter(Ch... | [
"aviel3600@gmail.com"
] | aviel3600@gmail.com |
7d6fc0637479c80bb5f5768a88db9b4a42498c0d | 5a9fa67ae169202789bcd825e2c50b8f30503c56 | /Kalman Filter Server/PoseEstimator/Server.h | 485b8a3065839ccd718a959e83a3497ecd804056 | [] | no_license | varunbachalli/PoseEstimationKF | 4a25358c605fb89c5c3b59413da6b4a6c8d77510 | ce1c54828884cc0f695171b042fb73ad838f9b57 | refs/heads/master | 2021-03-26T15:16:39.343162 | 2020-05-23T11:40:13 | 2020-05-23T11:40:13 | 247,716,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | #include <iostream>
#include <WS2tcpip.h>
#include <string>
#include <thread>
#include <regex>
#include <mutex>
#include <condition_variable>
#include <Eigen/Dense>
#pragma comment (lib, "ws2_32.lib")
class Server
{
public:
Server();
~Server();
void run();
void setLoop(bool b);
bool getLoop();
std::condition_v... | [
"24877877+varunbachalli@users.noreply.github.com"
] | 24877877+varunbachalli@users.noreply.github.com |
48f0f6339193d34f6dc99693d5dedd3533adbf0e | 54fda3449792b2be60bcfc021353bf40cb519109 | /drv_face_service/src/classifier.cpp | ea6cd0fb11aaa1def68dea746dde73a28d0f1e31 | [] | no_license | zhao1995/drv_package | fc27644ac7c1fb51178f4830b552c76eb2f4fcc3 | 31f46764ae0ecd115df6b17de45159180bace113 | refs/heads/master | 2020-11-29T15:11:56.687541 | 2017-06-04T08:06:06 | 2017-06-04T08:06:06 | 87,485,939 | 0 | 0 | null | 2017-04-06T23:59:19 | 2017-04-06T23:59:19 | null | UTF-8 | C++ | false | false | 6,588 | cpp | #include "classifier.h"
using caffe::Blob;
using caffe::Net;
using std::string;
Classifier::Classifier(const string& deploy_proto,
const string& caffe_model,
const int gpu_id,
const bool do_train)
: caffe_model_(caffe_model)
{
SetupNetwork(d... | [
"damoninhit@qq.com"
] | damoninhit@qq.com |
8db6d3f25bc0f7fdb347c70a7f4c16c32329b9a4 | ce7fcd3d91a1c841de035971947d1c66cca70f3e | /glib/glib/io/record_reader.cc | 29a053ebf31a04e229c6e09240d09ca1a542f51e | [] | no_license | unjambonakap/opa | ce4d6e83229f369097d07c253487def8ac9ea4f2 | b0b529a855bab9f18c544d55bda1cbe968bbfabc | refs/heads/master | 2023-04-14T15:30:33.374447 | 2023-04-08T21:09:54 | 2023-04-08T21:09:54 | 145,020,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,166 | cc | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"benoit@uuu.com"
] | benoit@uuu.com |
19685916d9e9b1f659482e09dc2fb2f98be8f322 | d2f8dc11a08a015a200f36a3744085d525e424ba | /DevEx/ExpressBars/src/dxsbstrs.hpp | f951fadcee10a18559fc657948570b8fc9ed0175 | [] | no_license | vhytyk/ProfStor | 726d79e6da4eaf431ccd7f9b654c17c243742e59 | 12bd9846a133b0352439ebf77fb6e66cddcbab7e | refs/heads/master | 2020-06-09T02:12:32.166297 | 2014-05-02T17:50:29 | 2014-05-02T17:50:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,996 | hpp | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'dxsbstrs.pas' rev: 6.00
#ifndef dxsbstrsHPP
#define dxsbstrsHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <SysInit.hpp> // Pa... | [
"victor.hytyk@gmail.com"
] | victor.hytyk@gmail.com |
ef0f749d35805b407ee75aba7c3f6b52d1b95fda | 0ebb774c9f45bba6a751fa4194d2e6f9f1b7c700 | /Project8/Project8/Source.cpp | 7d9fb0458724e2889cad361340503c19b8e013a6 | [] | no_license | aaese/testrepo | 732d174fd687910a8f160cb52050040c14749746 | 31f83e30dcb8da687125766c3eee4958c3593384 | refs/heads/master | 2022-12-30T19:44:47.132095 | 2020-10-17T10:43:06 | 2020-10-17T10:43:06 | 296,825,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include<iostream>
using namespace std;
int main() {
int n, m, chisl = 1, sumD1 = 0, sumD2 = 0;
cin >> n >> m;
int k = (n-1);
int l = 0;
int **A = new int*[n];
for (int i = 0; i<n; i++) {
A[i] = new int[m];
for (int j = 0; j < m; j++) {
A[i][j] = chisl;
chisl++;
printf("%4d", A[i][j]);
}
cout << ... | [
"st068075@student.spbu.ru"
] | st068075@student.spbu.ru |
7dfaced3fe4af6743ef778683b832d84e7b799b8 | 0157f9b36e1de15d5532665ef104daf463b49009 | /FLY/USER/TASK/UI_User.cpp | 3af8656fffa6968d53626e378b5f82286f4676e8 | [] | no_license | jasongwq/GUI_01 | 31a72afb7be9fc1b9b036197935235c3c7ac02ee | e7208dad5dd8bfece480e9b6143ca85b20ee7077 | refs/heads/master | 2021-01-01T19:41:58.943641 | 2015-07-23T16:23:11 | 2015-07-23T16:23:11 | 29,679,330 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,910 | cpp | #include "UI.h"
extern void SendData(void);
Window *pwindow_list[8];//窗口定义共8个
MiniGui ui(pwindow_list);//GUI实例化
Button *pButton0[7];//按钮列表
SwitchButton *pSwitchButton0[1];
Window window0(0, pButton0, pSwitchButton0);//窗口初始化
Button Button0_0;
Button Button0_1;
Button Button0_2;
Button Button0_3;
Button Button0_4;
Button... | [
"jasongwq@gmail.com"
] | jasongwq@gmail.com |
25362b68b39876f24a32397bcb84a24b8e305b6f | 298f52062a8963ee2d05c97000a4317196de8edf | /Classes/Systems/MovementSystem.cpp | c69592645bad1d45a7243fbd4a1de6af0b823feb | [] | no_license | Crasader/StarfieldCitadels | f660b30c0bd9a46119317028cfbab5e71795b7c0 | fc2b26418641fde55dc86413eaee9cac81f2516e | refs/heads/master | 2021-05-29T04:48:37.156519 | 2015-05-04T17:40:27 | 2015-05-04T17:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | /*
* MovementSystem.cpp
*
* Created on: Feb 12, 2015
* Author: ihall1
*/
#include "MovementSystem.h"
MovementSystem::MovementSystem() {
setComponentTypes<PositionComponent, VelocityComponent>();
}
MovementSystem::~MovementSystem() {
// TODO Auto-generated destructor stub
}
void MovementSystem::initiali... | [
"enchhall@gmail.com"
] | enchhall@gmail.com |
6939cba270909d0373bcf0576ddb6ca08386750b | f68c1a09ade5d969f3973246747466e4a540ff74 | /src/prod/src/ktllogger/sys/tests/RvdLoggerReservationTests.cpp | fae4ea8e0d31a77a3326dc76e5985cdeac424274 | [
"MIT"
] | permissive | GitTorre/service-fabric | ab38752d4cc7c8f2ee03553372c0f3e05911ff67 | 88da19dc5ea8edfe1c9abebe25a5c5079995db63 | refs/heads/master | 2021-04-09T10:57:45.678751 | 2018-08-20T19:17:28 | 2018-08-20T19:17:28 | 125,401,516 | 0 | 0 | MIT | 2018-03-15T17:13:53 | 2018-03-15T17:13:52 | null | UTF-8 | C++ | false | false | 10,768 | cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
#include "RvdLogg... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
82513a152622de96817f69aa4fef8119c12f1f2a | 76261a91107cdacb6046c1fdc106ffcb4368ad92 | /DragonBones/DragonBonesExample/DragonBones/factories/DBFactory.h | a000579ddd031c3adbf313c4daffd77fd5fd1840 | [] | no_license | KingNormac/CPlusPlus-Opengl-Dragonbones | f33c903682efd43497bca78c1548f4baa19f4534 | 305a11d68143ac9d15ddd9a0c767a3b00439e120 | refs/heads/master | 2020-04-10T07:56:08.589533 | 2013-08-10T18:39:53 | 2013-08-10T18:39:53 | 12,017,983 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | h | #ifndef DBFACTORY_H
#define DBFACTORY_H
#include <string>
#include "../as3/EventDispatcher.h"
namespace DragonBones {
class TextureAtlas;
class Armature;
class Slot;
class Object;
class Event;
class SkeletonData;
class TextureAtlasData;
class DBFactory : public EventDispatcher {
private:
std::map<std::stri... | [
"thedreamteamorganization@gmail.com"
] | thedreamteamorganization@gmail.com |
4521b693ebc8ed91f92531dbb2ce153023b6a0e8 | 77ccc95277a71d682c0575553806f13de87d5a0d | /providers - zen-fire/libzenfire-1.0.14/include/zenfire/account.hpp | 18d2b3060fd9affdd8600c21b624954e3da0d612 | [] | no_license | gaoxiaojun/tx.link.incoming | 93912bfc0dba821a87a8ba418a6e5edffb5cdba9 | 3804e94207f8d29c2b0c1c69e1bb4a0bed6372e7 | refs/heads/master | 2021-01-22T17:17:47.919031 | 2011-09-20T19:18:13 | 2011-09-20T19:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | hpp |
/******************************************************************************
******************************************************************************/
/** \file account.hpp
* \brief account classes
*
* $Id: account.hpp 1316 2009-09-11 16:46:14Z grizz $
*/
#ifndef ZENFIRE_ACCOUNT_HPP__
#define ZENFIRE_... | [
"valmac1@yandex.ru"
] | valmac1@yandex.ru |
288f8227efff0737e49b74c215bdab9438750013 | d0fa0bbfdb629fb905b39db135fae10aceb53798 | /Lab 3/exemplu1.cpp | 4d8f5ebb39cbaf299f9313329967ed73c67f598f | [] | no_license | carameeapele/OOP | 868bcf100ca35c0199b3391a665b366dd203a2d1 | 69d232e852d575e4035e3b00d16875995023d542 | refs/heads/main | 2023-04-07T02:32:46.083396 | 2021-03-30T16:58:33 | 2021-03-30T16:58:33 | 352,038,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<conio.h>
#include<string>
using namespace std;
//clasa de baza
class carte
{
char titlu[64];
public:
//constructorul clasei de baza
carte(char* titlu)
{
strcpy(carte::titlu, titlu);
}
void afisare_carte()
{
cout << "titlul: " <<... | [
"noreply@github.com"
] | carameeapele.noreply@github.com |
e0037288d89077f6bc30967068a18d6e55d0bbac | 02fec111191ecede92d844422125ac8482171bde | /Contests/580div2/a.cpp | 9513b6bdae2426cf6a54b41390f46fa8d270a7cc | [] | no_license | Lucas3H/Maratona | 475825b249659e376a1f63a6b3b6a1e15c0d4287 | 97a2e2a91fb60243124fc2ffb4193e1b72924c3c | refs/heads/master | 2020-11-24T18:35:24.456960 | 2020-11-06T14:00:56 | 2020-11-06T14:00:56 | 228,292,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fr(i, n) for(int i = 0; i < n; i++)
#define frr(i, n) for(int i = 1; i <= n; i++)
#define frm(i, n) for(int i = n-1; i >= 0; i--)
#define pb push_back
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<int, int> ponto;
typedef vector<vector<ll>> matrix... | [
"lucashhh@usp.br"
] | lucashhh@usp.br |
393107953295e10b3ba60f3a736ec24385cfef14 | 64782db7926391b66c8c15161f17c89b63e51a56 | /ksiazka/przelicznik.h | 0b65e4890d6be77b24fb6355cda169fd6ab8293a | [] | no_license | DzInS2/ksiazka | 48333b54c7651b1e257e59234f9918b919cb428b | 5c01c53c60c1095c6b09b21e3a801a6ddad5da30 | refs/heads/main | 2023-08-21T10:51:01.382257 | 2021-10-26T18:49:30 | 2021-10-26T18:49:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef PRZELICZNIK_H
#define PRZELICZNIK_H
#include <QDialog>
namespace Ui {
class Przelicznik;
}
class Przelicznik : public QDialog
{
Q_OBJECT
public:
explicit Przelicznik(QWidget *parent = nullptr);
~Przelicznik();
private:
Ui::Przelicznik *ui;
};
#endif // PRZELICZNIK_H
| [
"noreply@github.com"
] | DzInS2.noreply@github.com |
aa043896c2b7e6a86feffbce6c83dc9cf6e069ee | 0bae86219e690b4690633c309509eee379793abb | /1170.cpp | f95ed69e00cb26144c5932740677aee4770dbaa8 | [] | no_license | toffanetto/URI_toffanetto | 959cb3074e4f3ac7f2745177f05af26d29d525c5 | 1d741f971ffb2395f74f041e7905fc70248963e5 | refs/heads/master | 2022-12-06T01:08:40.947325 | 2020-08-30T18:48:02 | 2020-08-30T18:48:02 | 291,491,068 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream>
using namespace std;
int main() {
int N,cont=0,days=0;
float C;
cin >> N;
while(cont<N)
{ cin >> C;
while(C>1)
{
C=C/2;
days++;
}
cout << days << " dias" << endl;
cont++;
days=0;
}
... | [
"gabrieltoffanetto@gmail.com"
] | gabrieltoffanetto@gmail.com |
1c90e768327d2ae8e91898c5b3ecf1899f05343b | 4f16d5c367a37966d9f14ac95ed7c185f9cb0001 | /yatl/src/include/sequential/binarytree/redblacktree.h | e0b398dabcb74ccac8069a76ff74b5c4732cd1cf | [] | no_license | arietal/YATL | 60a2eec431096a01d3b47b5cd92ec03e56a6bcb9 | 301cd65c804db5c2dd6cddd56293b7b5c405122d | refs/heads/master | 2021-01-13T01:49:20.249360 | 2012-11-19T20:40:03 | 2012-11-19T20:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,354 | h | /*
* redblacktree.h
*
* Created on: Jun 26, 2012
* Author: arietal
*
* Copyright (c) 2012 Arie Tal. All rights reserved.
*
* This file is part of Yet Another Template Library (YATL).
*
* YATL is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | [
"tal_arie@yahoo.com"
] | tal_arie@yahoo.com |
9c8c16572ad28cde06be6eaa6854bfb179fb8c1e | 945c5035949b008fa81461b352456101978c8519 | /BOJ_cpp/sort/11651.cpp | 1b6229249d49b31b9458f98425aeb994c87d5edf | [] | no_license | leehayeong/Algorithm | 816daffbb0c0e0587d57c29c271f3bc92822bcd3 | 442bce796459e4e2f33a0d500ee1c02a15f7bca4 | refs/heads/master | 2020-07-31T05:28:54.733205 | 2020-05-16T15:32:14 | 2020-05-16T15:32:14 | 205,650,927 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 555 | cpp | #include <cstdio>
#include <algorithm>
#include <functional>
using namespace std;
/*
좌표 정렬
x순, x같으면 y순
*/
int n;
pair<int, int> arr[100000];
bool compare(pair<int, int> x, pair<int, int> y) {
if (x.second == y.second) {
return x.first < y.first;
}
return x.second < y.second;
}
int main() {
scanf("%d", &n);
... | [
"lhaayyy@naver.com"
] | lhaayyy@naver.com |
cc5be51af85c722ea0e3dbd18602d1219f574bc5 | 0af3c13b9d4e18c6bd846e8b82d14cd6bbed8c1f | /znRenderDX11/RenderTargetDX11.cpp | e4f5f11ea7ca84143c9bc06a884b53a2dbaa35fe | [] | no_license | tbcmangos/ZenonEngine | b5042f47e2d59c7ae688a2edda9d87f46cf3564d | 6ec3e7936f0d68c9ad370a9b757111cd3536311f | refs/heads/master | 2022-11-26T04:27:54.799487 | 2020-08-06T20:34:44 | 2020-08-06T20:34:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,598 | cpp | #include "stdafx.h"
// General
#include "RenderTargetDX11.h"
namespace
{
D3D11_RECT TranslateRect(const Rect& rect)
{
D3D11_RECT d3dRect = { };
d3dRect.top = static_cast<LONG>(glm::round(rect.Y));
d3dRect.bottom = static_cast<LONG>(glm::round(rect.Y + rect.Height));
d3dRect.left = static_cast<LONG>(glm::rou... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
95b4aa25d2d89bf516b803f51196934007fc8c06 | 5b00d5cea16895a218abc182f7bdc74dcfe4f588 | /Code/HandleEventKeyboard.cpp | 278878920af390668de8dcce036bc227200942b8 | [] | no_license | anhle199/Code_Cpp | 8f49406028f876c67b74a9a1fb08314e00687791 | 4fe8195b2ab626ed96b75ef3537b385839d239b9 | refs/heads/master | 2023-02-16T04:18:37.538050 | 2021-01-16T16:35:16 | 2021-01-16T16:35:16 | 282,595,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | cpp | #include <iostream>
#include <Windows.h>
#include <conio.h>
using namespace std;
int gety()
{
HANDLE hConsoleOutput;
CONSOLE_SCREEN_BUFFER_INFO info;
hConsoleOutput = GetStdHandle(STD_OUTPUT_HANDLE);
GetConsoleScreenBufferInfo(hConsoleOutput, &info);
return info.dwCursorPosition.Y;
}
void turnCurso... | [
"lehoanganh.le2001@gmail.com"
] | lehoanganh.le2001@gmail.com |
19d8f71310c2e10615f73162f93a9220216a977a | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/iis/svcs/cmp/webdav/httpext/fslock.cpp | ddaa3d1614956b810b1516a2c9a741089d4b843f | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,358 | cpp | /*
* F S L O C K . C P P
*
* Sources file system implementation of DAV-Lock
*
* Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
*/
#include "_davfs.h"
#include "_shlkmgr.h"
#include <stdlib.h>
#include <statetok.h>
#include <xlock.h>
// Lock prop support --------------------------... | [
"112426112@qq.com"
] | 112426112@qq.com |
a7d46331c48da82c3938c05ccf22d2398b67df9e | ee1a093dcac98869cff88943dd352a9d660cf55b | /src/GridSolverFactory.cpp | fd76460c6e9efb33b8ffc4a30d4745757bb79faa | [] | no_license | CorentinClabaut/SudokuSolver | f7ee9dd95f5ef07eaf04f00578d073fe87a3fff4 | b42a90324882c34f91c14166f8e88dbefa42f5c3 | refs/heads/master | 2020-04-19T06:39:07.656294 | 2020-03-31T15:26:15 | 2020-03-31T15:26:15 | 168,024,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include "GridSolverFactory.hpp"
#include "GridSolverWithoutHypothesis.hpp"
#include "GridPossibilitiesUpdater.hpp"
#include "UniquePossibilitySetter.hpp"
#include "RelatedPossibilitiesRemover.hpp"
using namespace sudoku;
std::unique_ptr<GridSolver> GridSolverFactory::Make()
{
return std::make_unique<GridSolverW... | [
"corentin.clabaut@gmail.com"
] | corentin.clabaut@gmail.com |
89bf18f7cfe3a3668836ed251e8543b2a376b23a | fc9c216c13b011f16017589482b9139970bd71ea | /Tools/ModelImporter/FBXImport/StreamReader.h | 6689a82fa1c4b3159009a63ecfbcc31e15911553 | [
"MIT"
] | permissive | oceancx/SpireMiniEngine | 7e07d9429b0acc6ec3330765751d41cad1550473 | 150797ed06685454e718f708bc63ad3d703bc1e3 | refs/heads/master | 2021-01-23T00:53:34.997101 | 2017-03-02T04:24:03 | 2017-03-02T04:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,749 | 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,
w... | [
"yonghe@outlook.com"
] | yonghe@outlook.com |
c94337cff620f7e96664766b1eaf10d1af12ba5a | 47b1941c016520da6a02919015649a3736a3edd5 | /bindings/cpp/opencv_32/calib3d.cpp | 93fdc5db84b56b065c31b10a41fe7f5b6981f5be | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | christian-boks/opencv-rust | 7b8d6971ed28cdbe01a5509b510ed3bf357d0abc | 6b93c859b83c60c8f6b939625780054a69034636 | refs/heads/master | 2022-12-11T14:27:27.027557 | 2020-09-07T00:03:40 | 2020-09-07T00:03:40 | 293,229,087 | 0 | 0 | MIT | 2020-09-06T07:51:52 | 2020-09-06T07:51:51 | null | UTF-8 | C++ | false | false | 38,432 | cpp | #include "calib3d.hpp"
#include "calib3d_types.hpp"
extern "C" {
Result<cv::Vec3d> cv_RQDecomp3x3_const__InputArrayR_const__OutputArrayR_const__OutputArrayR_const__OutputArrayR_const__OutputArrayR_const__OutputArrayR(const cv::_InputArray* src, const cv::_OutputArray* mtxR, const cv::_OutputArray* mtxQ, const cv::_Ou... | [
"twisted.fall@gmail.com"
] | twisted.fall@gmail.com |
d873cc27df4a0b19012679e9ea77e46e4627b49e | f49105dbd9d347754986793a8b0b1aa8f736b261 | /Factory/include/Garlic.hpp | be24047fd2782a3f77e469b52d8d4b48f74c5b32 | [] | no_license | jwbecalm/Head-First-Design-Patterns-CPP | ffa44e83a8474a38408ea94a58f4ef5cc22a8cab | 09f96e0cdbea49930363dfe3f0acae4f056e50bb | refs/heads/master | 2023-03-16T06:34:07.976902 | 2020-05-28T19:21:02 | 2020-05-28T19:21:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | hpp | #ifndef GARLIC_HPP
#define GARLIC_HPP
#include "Veggies.hpp"
class Garlic : public Veggies
{
public:
Garlic();
virtual ~Garlic();
std::string toString() override { return "Garlic" ;}
};
#endif // GARLIC_HPP
| [
"noreply@github.com"
] | jwbecalm.noreply@github.com |
4ce66044fc9f20ce0d9625d195b1eb4de21bd30e | 82091fc56c850906f3a36e8cb20fbb69c9b50e96 | /ubc/Exception.h | 1305f0f355f0259c5e2f6ef61388fcd24a4c946c | [
"MIT"
] | permissive | inbei/libutl | 97a57b865b4ab2331d66545fa2bb48ddf928ac2b | e55c2af091ba1101a1d0608db2830e279ec95d16 | refs/heads/master | 2023-07-22T15:35:51.113701 | 2021-08-26T09:28:22 | 2021-08-26T09:28:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,610 | h | #pragma once
////////////////////////////////////////////////////////////////////////////////////////////////////
#include <libutl/Object.h>
////////////////////////////////////////////////////////////////////////////////////////////////////
UTL_NS_BEGIN;
///////////////////////////////////////////////////////////... | [
"prof.hate@gmail.com"
] | prof.hate@gmail.com |
ee869af5c0091945c707625b7ce3546c3161843d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_repos_function_239_rsync-2.0.3.cpp | a191456b34c04481ff667aab6c65841aa8c19298 | [] | 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 | 2,294 | cpp | int deflateInit2 (strm, level, method, windowBits, memLevel, strategy)
z_stream *strm;
int level;
int method;
int windowBits;
int memLevel;
int strategy;
{
deflate_state *s;
int noheader = 0;
if (strm == Z_NULL) return Z_STREAM_ERROR;
strm->msg = Z_NULL;
/* if (strm->za... | [
"993273596@qq.com"
] | 993273596@qq.com |
bf1cedda142e8d2e1406b9594464016a0816ad4a | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /extensions/browser/api/socket/socket_api.h | 237133b2fc53489c4607789a2b5ead81099f746e | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 14,621 | h | // 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.
#ifndef EXTENSIONS_BROWSER_API_SOCKET_SOCKET_API_H_
#define EXTENSIONS_BROWSER_API_SOCKET_SOCKET_API_H_
#include <stddef.h>
#include <stdint.h>
#include... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
2691e4d15a4bd3f75069e2dbc9187575d6768df2 | c22cbd717e7d0b32e550a34e53e3758b5f90681c | /include/CompiledLine.h | 464701e6d645f6b343aa493cb05a48f43316b1d3 | [] | no_license | Ryan-Shanks/Assembly-Interpreter | f48e9b3c37d8acd1e7378cd045ccf0cabb5f56b3 | dbed456b07f93f556b4449d1e87bc33ac222ab8b | refs/heads/master | 2018-01-14T09:43:03.168016 | 2017-10-23T18:49:05 | 2017-10-23T18:49:05 | 44,650,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #ifndef COMPILEDLINE_H
#define COMPILEDLINE_H
class CompiledLine
{
public:
CompiledLine();
virtual ~CompiledLine();
protected:
private:
};
#endif // COMPILEDLINE_H
| [
"ryan.w.shanks@gmail.com"
] | ryan.w.shanks@gmail.com |
2e5fa08eb1ae2e299fb10df37a66fca8c59f4a49 | 61f94be1cf3f3859d4b00fe78c0f72d990c70dad | /h/Terminal.h | 4375def41337b4dfb55f644099a21a4a4651b3d7 | [] | no_license | pmachapman/articledb | 67ac6bb28ea8a8ac225ad9a40c36e1600dcb2613 | 403c02f71f33b70ec8bb3baccad7365002b12f45 | refs/heads/master | 2020-12-27T03:32:43.256841 | 2020-02-05T20:46:37 | 2020-02-05T20:46:37 | 237,750,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | h | #ifndef _TERM_
#define _TERM_
#ifdef _WIN32
#include <io.h>
#include <fcntl.h>
#else
#include <sys/ioctl.h>
#endif
#include <string.h>
#ifdef _WIN32
#include <Windows.h>
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#endif
#ifndef DISABLE_NEWLINE_AUTO_RETURN
#define DISABL... | [
"peter@conglomo.co.nz"
] | peter@conglomo.co.nz |
7a0d4f896ffd20c1054212eb1995fe6b17968304 | 229e91f444463a0be3b8e8e613e2db8e410b402f | /Gui/SelectionSliceViewInteractor.h | 7b82d36a5e71fd311148bb1befd97a880e7ce2f0 | [
"MIT"
] | permissive | bwrrp/multifieldexplorer | c389adf07bcaa4a77a4d9d7098295682a3d5a951 | 84113648bf4a26f558b8db9b019cd3348da48ef7 | refs/heads/master | 2021-01-02T08:47:28.377532 | 2015-03-14T11:25:18 | 2015-03-14T11:25:18 | 32,203,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | h | #pragma once
#include <QObject>
#include <NQVTK/Interactors/SliceViewInteractor.h>
#include <NQVTK/Math/Vector3.h>
namespace MFE
{
// Only classes derived from QObject can emit signals,
// therefore we use a separate messenger object.
class SelectionMessenger : public QObject
{
Q_OBJECT;
pu... | [
"stef@scivis.net"
] | stef@scivis.net |
29fb9fada22e1556d1e4141583b0e801b1b1be00 | c67dca8ee4fb02c4ed7a7286d6ec2f89faf127da | /src/streams/data_istream.cpp | 91686b917c4494054877f196e1f4fffb22290ded | [
"MIT"
] | permissive | M4xi1m3/std-extended | d5b04b486df7d3f9283cbac301825845e8492ebb | 2354e7aa4e3d32a8cd059285146af55f92b52bfa | refs/heads/master | 2023-02-21T22:08:57.386922 | 2021-01-01T14:09:22 | 2021-01-01T14:09:22 | 317,466,302 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,241 | cpp | #include <iostream>
#include "streams/data.hpp"
#include "streams/exceptions.hpp"
using namespace stde::streams;
data_istream::data_istream(const std::istream& stream, endianconv::endian endianness) : std::istream(stream.rdbuf()), m_endianness(endianness) {
}
bool data_istream::read_bool() {
uint8_t out = 0;
... | [
"M4x1me@protonmail.com"
] | M4x1me@protonmail.com |
462faefe75d3a2da940cd6b20b343a4424387195 | 375f95746b7bf939636ca96151760aaf677b87d5 | /Udemy/Mastering Data Structures and Algorithms using C and C++/array.cpp | c2d796fee06bb1e744aa1ef0775e197fb7c2275b | [] | no_license | rmShoeb/OnlineCourses | 76ef35d64a8b50111c2615c6483cbb73c5ec0aec | c119038a60a99376d9fc42c3f1f56f920a1fcc04 | refs/heads/master | 2023-05-26T17:16:16.053001 | 2021-05-28T18:02:29 | 2021-05-28T18:02:29 | 285,765,142 | 2 | 0 | null | 2021-05-24T10:12:38 | 2020-08-07T07:20:27 | Jupyter Notebook | UTF-8 | C++ | false | false | 5,706 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<algorithm>
using namespace std;
class Array
{
private:
int *p;
int length;
int size;
public:
Array(int size)
{
this->size = size;
this->p = new int[size];
this->length = 0;
cout << "creating" << endl;
... | [
"noreply@github.com"
] | rmShoeb.noreply@github.com |
41df95e4480066f658b024ecc6506441a8db6690 | 05c6109f35cddef3fb815a9be3e49d97421bbe6e | /test/tests/value-or-error.cpp | 887e2dc271c46b3327de6e52d8de4e8df33f4a7d | [
"BSL-1.0",
"Apache-2.0"
] | permissive | ned14/outcome | 7fce7c8db454dea365f2e609c0328b8c6bf3c9c6 | 1407d02d60c604e642ae202dbbd721e8c9851fbb | refs/heads/develop | 2023-08-24T13:13:11.009601 | 2023-08-15T19:19:21 | 2023-08-15T19:19:21 | 21,137,328 | 599 | 66 | NOASSERTION | 2023-07-15T21:50:33 | 2014-06-23T18:24:33 | C++ | UTF-8 | C++ | false | false | 3,959 | cpp | /* Unit testing for outcomes
(C) 2013-2019 Niall Douglas <http://www.nedproductions.biz/> (3 commits)
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 in the accompanying file
Licence.txt or at
ht... | [
"spamtrap@nedprod.com"
] | spamtrap@nedprod.com |
5430e6b4a3e65aaa0da316988b878f1a11068e35 | f712ed86ac4967d8906c0c1b1b3bf36e335418e1 | /0.orig/epsilon | c4d3980099ee815e4bc25ec605170eeda39ed15b | [] | no_license | OpenFOAMwaterResourcesGroup/sharpCrestedWeir | 4950ac375a9f029f9a9c6d5a231313e7f7968f36 | a51a751db66b88b5470a7f1b99d551062689b097 | refs/heads/master | 2021-01-19T12:42:55.143419 | 2019-04-08T11:20:58 | 2019-04-08T11:20:58 | 82,355,241 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x ... | [
"noreply@github.com"
] | OpenFOAMwaterResourcesGroup.noreply@github.com | |
9a8195046319745ae6a6c1105136a83e84f183eb | 54a7e7aacc4ff4a3c6a2b998cf286b03e1a19872 | /src/init.cpp | 60df8bae07515a2bac92887916fa3c107b190a8f | [
"MIT"
] | permissive | blockmir/retest | d51608fa5ade50c869ef1dc39c962ed252396f2d | da1110d01d464b30f8d704dbef654543140abbb5 | refs/heads/master | 2020-04-17T20:29:29.555011 | 2019-01-22T01:49:27 | 2019-01-22T01:49:27 | 166,907,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89,687 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... | [
"mircoin01@gmail.com"
] | mircoin01@gmail.com |
5f23ff83c0677087fb35ac2d79e8aa02770a5a32 | c003be717bbc91edb99b99d6d9eb9208e0b8970a | /calibration_estimation/src/cpp/markers.cpp | 99d6d1c7e3129b287971c2056d990d1b0de52afb | [] | no_license | bygreencn/calibration | c8e6fef4fbeee28d6a1a63d04fcac45f632fac98 | 16ab60ab7e6af231452e10b444582e60ee075226 | refs/heads/master | 2021-01-18T14:38:17.813508 | 2013-07-31T05:41:01 | 2013-07-31T05:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,957 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"pablo.speciale@gmail.com"
] | pablo.speciale@gmail.com |
10a63f563e39f8a93f530efc09e0e9d5999f1875 | 4863ddc2912914afb5f8804d50e67c688a787914 | /Hackerearth/Acronym.cpp | 18fe7b5b8783851aa3e885a814ecb42a626b327f | [
"MIT"
] | permissive | LShun/HacktoberfestForBeginners | 680f3d0f501bada3be0b21213a95f0a12db941eb | c6a66cc5a89bc29f3c77c74b87e91e53ee9fff9b | refs/heads/master | 2020-08-30T18:11:52.452712 | 2019-10-30T06:16:03 | 2019-10-30T06:16:03 | 218,454,293 | 1 | 0 | MIT | 2019-10-30T06:02:28 | 2019-10-30T06:02:28 | null | UTF-8 | C++ | false | false | 883 | cpp | //Code by Abhishek Tiwari
//Hackerearth : https://www.hackerearth.com/@become
//Github : https://github.com/becomeahacker
#include<bits/stdc++.h>
typedef long long int lli;
typedef long long ll;
#define pb push_back
#define pf push_front
#define mp make_pair
#define ff first
#define ss second
#define mod 1... | [
"noreply@github.com"
] | LShun.noreply@github.com |
cd60d8dd6a616d5235d547b2dca96e43dcb5a3b8 | 3a8e4a12854ddcae822cbb8601ba2fe95915f160 | /MoMKP/SourceCode/2obj/random.cpp | c8f009d7634b3c4b6422a1c0bd7bef654d67a1b9 | [] | no_license | laegit/MOPR_D | 66225d3dd3a3f5b2bf40ca87abefec9644720816 | 5d4426391c78ca6613d8ee3dcdebae76d2427d30 | refs/heads/master | 2023-04-22T23:18:09.255093 | 2021-05-17T01:20:09 | 2021-05-17T01:20:09 | 368,019,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | cpp | // @file random.h
// @author Denis Felipe
// @version 0.1
//
// @brief
// Pseudo-random number generator.
// @warning
// Contains C++11 features.
//
// @example
// #include <iostream>
// #include "random.h"
// int main()
// {
// rng::randomize(); // Select a random seed for the pseudo-ra... | [
"islame-felipe.da-costa-fernandes@etu.unice.fr"
] | islame-felipe.da-costa-fernandes@etu.unice.fr |
e480dc8f67bf2976014e044f4c25077ea4e92ed4 | b8de5decd2fa57e233db25b587a4d4f2662fe864 | /April Lunchtime 2021 Div2/CCHEAVEN.cpp | 21e3dc28ab21eb0ee558723807ea022a358f96f5 | [] | no_license | rohitmathur-7/CodeChef-Challanges-Solutions | 4f0ec25beb0de33e7f6e7cc01ea355a6fd3011d9 | cfd8054ecb7f080727e58d6c0a7b2364567c7f18 | refs/heads/main | 2023-07-15T21:18:50.083065 | 2021-08-30T07:00:23 | 2021-08-30T07:00:23 | 314,168,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | cpp | #include<bits/stdc++.h>
#define ll long long int
#define w(t) ll t;cin>>t;while(t--)
#define f(i,a,b) for(ll i=a;i<b;i++)
#define scana(arr) for(ll i=0,i<n;i++) cin>>arr[i];
#define mod 1000000007
using namespace std;
int main(){
w(t){
ll l;
cin>>l;
string s;
cin>>s;
ll mid=... | [
"rohitmathur.mathur.6@gmail.com"
] | rohitmathur.mathur.6@gmail.com |
10dfca57040d174a3a92b54b3f918529f0390ca7 | 89870ca1f16af0f2ba65ec0175cd089da852afbc | /codeforces/round-650-div-3/b.cpp | 2a3b211549609d6621eee8c3446f27926cc9b310 | [] | no_license | Merisho/comprog | 3b8ce833f0f16dbcfa252f9c6678c160bf081a11 | fb4829ba93fcb376078a5baccda0c07ce35d6d04 | refs/heads/master | 2023-08-18T00:10:45.535195 | 2023-08-11T07:16:02 | 2023-08-11T07:16:02 | 216,174,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int T;
cin >> T;
for (int t = 0; t < T; ++t) {
int n;
cin >> n;
int o = 0;
int e = 0;
for (int i = 0; i < n; ++i) {
int a;
cin >> a;
if (a % 2 == 0 && i % 2 == 1) {
++e;
} else if (a % 2 == 1 && i % 2 == 0) {
++o;
}
}
... | [
"merishot@gmail.com"
] | merishot@gmail.com |
5a0576ee9b52e7873036cb8ed2df35ffbb6170cb | 167daf99f3f246bd397244d1ae53a5b01c31da87 | /Hard/MonotonousStack/85.cpp | 03aaa01ee3acc040631de5873f7cc4a6f80974b5 | [] | no_license | richardjcy1/CP | 24e591eb9b4c74ba741864ffc14f70f87b1e2917 | 1ca523c33738caf1632b814314556d1d5d2879f1 | refs/heads/main | 2023-04-11T13:20:47.414133 | 2021-03-20T22:56:33 | 2021-03-20T22:56:33 | 308,985,668 | 0 | 0 | null | 2021-03-20T22:56:34 | 2020-10-31T22:51:38 | null | UTF-8 | C++ | false | false | 1,357 | cpp | class Solution {
public:
int largestRectangleArea(vector<int>& h) {
int n = h.size();
if (n == 0) return 0;
vector<int> left(n, -1), right(n, n);
stack<int> S;
S.push(0);
for (int i = 1; i < n; i++)
{
while (!S.empty() && h[S.top()] >= h[i]) S.pop(... | [
"noreply@github.com"
] | richardjcy1.noreply@github.com |
7959ce18c54b3e6acb9e3fb6e57f4952604bdef3 | 766bcb4f6121419937cdcae4573133f7e65e388e | /bep2/otsu_binarization_2.cpp | 0fe917e8aad2e7fc7d8903a98b731a4ed52e1d4a | [] | no_license | auee028/BEP | 4edfc90cd8e832774a7f936f722567ea194f474d | e3ac6e5ddedbfcdaeeadaf7737a9f5ce33b43961 | refs/heads/master | 2020-04-19T03:34:34.123483 | 2019-01-28T09:10:45 | 2019-01-28T09:10:45 | 165,178,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,201 | cpp | #include "opencv2/opencv.hpp"
#include "opencv2/core.hpp"
#include "opencv2/highgui.hpp"
#include <iostream>
using namespace cv;
using namespace std;
int main(void)
{
Mat img_gray = imread("girl.jpg", 0);
if (img_gray.empty()) {
cerr << "Image load failed!" << endl;
return -1;
}
int width = img_gray.cols;
i... | [
"auee028@gmail.com"
] | auee028@gmail.com |
a12054a5b0e5b31bbc9ae1b8b11673aed03e272c | 0075c9439cf6ddff6dc6bc1f3f19c49f9822d753 | /drawing/ibela/driver2.cpp | cd14befe18027722d617ff8123882f3bea581186 | [] | no_license | leson238/python | b1281bef18e70e7a239f5121eb5824daa431c7bd | 39e436ce4850f977340a91f8e837410c858b881d | refs/heads/master | 2022-12-30T08:30:55.695441 | 2020-12-27T17:08:00 | 2020-12-27T17:08:00 | 304,083,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,548 | cpp | // Isabela Porfirio de Aguiar
// CMSC 341 - Spring 2020 - Project 1
/* File: driver2.cpp
UMBC CMSC 341 Fall 2016 Project 1
Basic tests for the Llama class.
This driver program tests Llama Stacks with floating
point numbers.
*/
#include <iostream>
using namespace std ;
#include "Llama.h"
int main(... | [
"leson238@gmail.com"
] | leson238@gmail.com |
0911a615fc6c68474e747f5379634b5aeb36cad8 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_2063_git-2.11.2.cpp | 39d9c4887098c300d50a12fa2bbbc92c7d677011 | [] | 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 | 708 | cpp | int unpack_object_header(struct packed_git *p,
struct pack_window **w_curs,
off_t *curpos,
unsigned long *sizep)
{
unsigned char *base;
unsigned long left;
unsigned long used;
enum object_type type;
/* use_pack() assures us we have [base, base + 20) available
* as a range that we can look at. (Its ... | [
"993273596@qq.com"
] | 993273596@qq.com |
3027489f1104beb1a0744a6c6d346847ad23f621 | 804f9babe06c52cb3e017164a811d5a3118f85cc | /QTCalcStar/HTL/modHtlGUID.h | 6c849205f73810c687b4ad93bb51402cd50dc497 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | j2doll/QtCalcStar.Anthony.Daniels | 83a6a9a7e3c6820930a7f50fe09ca45e7644f5bc | b9935c3c032fed90f378ce34ee21cf4dc01d5c8b | refs/heads/master | 2020-04-14T02:46:17.096730 | 2019-01-02T08:57:00 | 2019-01-02T08:57:00 | 163,591,269 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | h | /*
** This file is part of the Hpc Template Library (Htl or HTL).
** It is based on a merger of QT, STL, and SigSlots along with development of new classes.
** License information is in the HtlLicense.h file
** This software was merged and developed by:
**
** Anthony Daniels
** QT, STL, SigSlots
**
** HTL is free ... | [
"j2doll@gmail.com"
] | j2doll@gmail.com |
b601209bb042b3007f7df7b6636d23282cdd60a3 | a41a0e68886cdff81f56ce71ab7a4fc24470b373 | /Dynamic Programming/63-Unique Paths II.cpp | 1c0df2158648c4e94306f33e5be40a6b39626439 | [] | no_license | BlackApple-LMZ/leetcode-practice | 45590ab059efca6f2bf363fe80c56572ebaaa879 | 6dcbb4e3baee7d90f34c5d60bc32f692295ca287 | refs/heads/master | 2021-07-01T14:33:14.826433 | 2020-10-11T01:46:17 | 2020-10-11T01:46:17 | 180,742,461 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | int uniquePathsWithObstacles1(vector<vector<int>>& obstacleGrid) {
if(obstacleGrid.empty() || obstacleGrid[0].empty())
return 0;
int m = obstacleGrid[0].size();
int n = obstacleGrid.size();
vector<long int> dp_pre(m+1, 0);
for(int i=1; i<=m; i++){
if(obstacleGrid[0][i-1] == 0)
... | [
"noreply@github.com"
] | BlackApple-LMZ.noreply@github.com |
52c0ed5fb56b929a24dd78e36f79b663d71184c3 | a44e05963444580e898a2274428c1142d7950c52 | /IoT/ArduinoScripts/NODE-8/NODE8_RECEIVER/NODE8_RECEIVER.ino | 71449e3640f6631b17239ffb541acb92fbec5b64 | [] | no_license | DistressConnect/distressconnect | 4826f8c3ee085eb01c82b26060b8e94e61d68cd7 | c6d2d0cae077389cf8ff9a068bbaf9f4d9f07397 | refs/heads/master | 2023-01-10T12:24:39.961068 | 2019-07-29T23:12:13 | 2019-07-29T23:12:13 | 199,509,018 | 3 | 0 | null | 2023-01-04T05:44:10 | 2019-07-29T18:46:47 | PHP | UTF-8 | C++ | false | false | 3,344 | ino | //Author : Harish Mohanty
/*
* Distress Connect
* @version v1.0.0
* @link
* Copyright (c) 2019 Distress Connect
* @Author Team Distress Connect
* IBM : CALL FOR CODE 2019 Global Challange
*/
//Code : NODE-8 Receiver
#include <SPI.h>
#include <LoRa.h>
#include <Wire.h>
String msg = "Sorry world i am the boss... | [
"noreply@github.com"
] | DistressConnect.noreply@github.com |
5a358e512b6124b28c208dea8a1b8e1c8e2547b3 | 53bf7487e8a4f6fd98b314280311fd04a1c6a924 | /050614Calculating elements in 2D arrays/050614Calculating elements in 2D arrays/main.cpp | e08cf1f1e68ddf2aab177c80dd07be6be862c6ca | [] | no_license | redwingsdan/cpp-schoolwork | 5fc2c2ceaf828ad42f1ed77b572b016836a7f602 | 08375fac86d71fbc01e6cebc2f244116feb6c307 | refs/heads/master | 2022-11-28T14:53:22.179316 | 2020-08-04T04:06:52 | 2020-08-04T04:06:52 | 284,873,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cpp | #include <stdio.h>
#define IMAX 2
#define JMAX 3
void tNumber (int *xPtr);
void fNumber (int *xPtr);
int main()
{
int i,j;
char oper;
int x[IMAX][JMAX]={{1,2,3},{4,5,6}};
int *xPtr;
xPtr=&x[0][0];
for(i=0;i<IMAX;i++)
{
for(j=0;j<JMAX;j++)
{
printf("x[%d][%d]=%d\t\t",i,j,x[i][j]);
}
printf("\n");
... | [
"djp21795@yahoo.com"
] | djp21795@yahoo.com |
6824e67bffe5b84ab1b9baf95cbb3ef04ed99dbc | 7024d0fab7adee2937ddab28a2b69481ef76f9a8 | /llvm-project-legacy-branches/llvm/lib/AsmParser/ParserInternals.h | 2856c9b08cdaf8c854cbb62903c5fa354d9186b7 | [] | no_license | WeilerWebServices/LLVM | 5b7927da69676a7c89fc612cfe54009852675450 | 1f138562730a55380ea3185c7aae565d7bc97a55 | refs/heads/master | 2022-12-22T09:05:27.803365 | 2020-09-24T02:50:38 | 2020-09-24T02:50:38 | 297,533,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,059 | h | //===-- ParserInternals.h - Definitions internal to the parser ---*- C++ -*--=//
//
// This header file defines the various variables that are shared among the
// different components of the parser...
//
//===----------------------------------------------------------------------===//
#ifndef PARSER_INTERNALS_H
#def... | [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
4c0de69b2051bf767831af1bdfc6b0933d376244 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/security_interstitials/content/origin_policy_ui.h | 1d1f2452d844e4ad9ae84196d7bec6d015d70773 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 1,463 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_ORIGIN_POLICY_UI_H_
#define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_ORIGIN_POLICY_UI_H_
#include <mem... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6b4d60bb531633779291068a70a6c132846f5fc5 | 01bcef56ade123623725ca78d233ac8653a91ece | /ivp/ivp_compact_builder/qhull_qset.cxx | be53457ebae9886a06cfdf463dcd7f561e9143bd | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | UTF-8 | C++ | false | false | 33,064 | cxx | /*<html><pre> -<a href="qh-c.htm#set"
>-------------------------------</a><a name="TOP">-</a>
qset.c
implements set manipulations needed for quickhull
see qh-c.htm and qset.h
copyright (c) 1993-1999 The Geometry Center
*/
#include <ivp_physics.hxx>
#i... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
76c6587db19055d99f6ede3d9deecc1ffcd2a1cd | 04248e705f7ccd9b7900a880b445261b98286cc6 | /project/src/lib/opengl/mesh_opengl.cpp | baeb201e44a4c47b1b69832704c5e6ecfb609364 | [] | no_license | jeanyves-yang/skinning | 68360bb5727c59fc9725ea2b6460504a7b284d61 | 3a37b79e24bf19c48461e7039c1fb62126f2d1fb | refs/heads/master | 2021-01-10T08:59:11.976023 | 2015-11-18T16:48:06 | 2015-11-18T16:48:06 | 46,427,539 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,258 | cpp | /*
** TP CPE Lyon
** Copyright (C) 2015 Damien Rohmer
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later ve... | [
"jean-yves.yang@mastertp"
] | jean-yves.yang@mastertp |
af448e197d628a0ddd0cf74625d92af5a52bafd1 | f837d9a534285a285ed074c152706e04c8cf961e | /hikyuu_cpp/hikyuu/trade_sys/moneymanager/imp/WilliamsFixedRiskMoneyManager.cpp | feb3d56ea682016a98112be8ebb6b7e9afec6e40 | [
"MIT"
] | permissive | jinhuli/hikyuu | 4dfdf93c8b0367bd635c01f1ef05008f7547af65 | f01b596f483e0d2a59e7e4f7c1dc39ac467ccb21 | refs/heads/master | 2020-04-01T09:24:51.783862 | 2018-10-14T17:40:20 | 2018-10-14T17:40:20 | 153,073,760 | 1 | 0 | MIT | 2018-10-15T07:52:09 | 2018-10-15T07:52:08 | null | UTF-8 | C++ | false | false | 1,165 | cpp | /*
* WilliamsFixedRiskMoneyManager.cpp
*
* Created on: 2016年5月3日
* Author: Administrator
*/
#include "WilliamsFixedRiskMoneyManager.h"
namespace hku {
WilliamsFixedRiskMoneyManager::WilliamsFixedRiskMoneyManager()
: MoneyManagerBase("MM_WilliamsFixedRisk") {
setParam<double>("p", 0.1);
setParam<pr... | [
"fasiondog@163.com"
] | fasiondog@163.com |
fc4d8c17412644794268f4ef240b96d0be412b0e | a2c6e0426c78d1cb9dc23a5c61ed86b3c7e37fd5 | /canvas.h | b26c9d0ca4b641a1471c05489a33d95ff0abd2b9 | [] | no_license | LXH-TK/ParticleSystem | 75d74856b18f18d3aaf9b3a3a167b7cdadf65dc5 | d70fafac259a54ab548ea469d0dc9d8c0fc097a0 | refs/heads/master | 2020-04-15T12:12:04.029649 | 2019-01-20T16:43:46 | 2019-01-20T16:43:46 | 164,664,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | #ifndef CANVAS_H
#define CANVAS_H
#include <QWidget>
#include <QPainter>
#include <QMouseEvent>
#include <vector>
#include <QTimer>
#include "particle.h"
#include "explosion.h"
using namespace std;
class Canvas : public QWidget {
public:
explicit Canvas(QWidget *parent = 0); // 避免隐式转化
~Canvas();
sta... | [
"tk@zju.edu.cn"
] | tk@zju.edu.cn |
be8b8187b75216cc1bf5f50ba3d74a2f0bccbb5d | f2dd5ba955cb801774f38d18c5c0c1a1b1a934c7 | /src/detail/IOCtrl.cpp | a7b681f69c8c8cbb127f8df36f1b1e75b1bfe94c | [] | no_license | cwenhe/epoll_io | 60852c3a4da94c6046fae8c5aee41fb4e5c0aadc | b29a14e8851ea277db8aeff925983ca7eeb9d74d | refs/heads/master | 2020-07-05T15:52:09.480864 | 2019-08-30T02:23:47 | 2019-08-30T02:23:47 | 202,690,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | #include "detail/IOCtrl.h"
#include <fcntl.h>
#include <sys/epoll.h>
namespace detail
{
static int epollctrlevents( EpollId const epfd, int const fd, int const op, uint32_t events)
{
struct epoll_event event;
event.events = events;
event.data.fd = fd;
return ::epoll_ctl(epfd, ... | [
"wenhe.chen@youhualin.com"
] | wenhe.chen@youhualin.com |
fc12d3c45f6180845c80d282202f36f770c0e9b9 | 4f1cb030fac98625bb4fbbc70be2ef0b3cbe614d | /SetList.h | 9fa35ee7dfb6bbbab13d4e66232610f72a9498eb | [] | no_license | YuNGPiGgy/C- | 942af6b76ee8ac8dbfa622ac40f3201e934e278a | 8186461519ed21edfe6b8e8f23501506f01ef0ab | refs/heads/master | 2021-01-20T05:00:40.445405 | 2017-08-25T13:28:18 | 2017-08-25T13:28:18 | 101,406,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,732 | h | #include <iostream>
#include <initializer_list>
#include <algorithm>
#include <iterator>
using namespace std;
#ifndef SETLIST_H
#define SETLIST_H
template <typename T>
class SetList
{
private:
struct ListNode
{
T info;
ListNode * next;
ListNode(T newInfo, ListNode * newNext): info(ne... | [
"yungpiggy@YungpiggydeMacBook-Pro.local"
] | yungpiggy@YungpiggydeMacBook-Pro.local |
4b809c3be48e79b4cc942fceee1807b7d4f8bed6 | 3193cf60695c08c8e31c0e079120bbd10699a6cd | /header/Face.h | 60cfb8a9be3dd21ee3e45839c30192a58f00029e | [] | no_license | ABDM357/face-dlib | 9b7e8568b9a31b9d9d5ac96f241b6a5b2eb2817c | c2d1078a4e235c5779274b6d208486191b4eb974 | refs/heads/master | 2023-06-15T23:26:14.816914 | 2017-12-26T10:08:58 | 2017-12-26T10:08:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | //
// Created by vista on 2017/10/25.
//
#ifndef FACEA_FACE_H
#define FACEA_FACE_H
#include "common.h"
#include "Utils.h"
class Face {
public:
static const int left_eyebrow_size = 5;
static const int right_eyebrow_size = 5;
static const int chin_size = 17;
private:
std::vector<cv::Point> left_eyebro... | [
"nicky918@qq.com"
] | nicky918@qq.com |
5d8ef2aead062becbc6c1e45eafa3d0ebe4949af | d610c33b993e27e2cb37266409a3ed5012dea37c | /app/JPush/jsoncpp/src/json_writer.cpp | c9b6d42f4f40226196f3239f7949ab29ccfdca7b | [] | no_license | hug2008/pctools | 4617abc977efdfd74b4f41db770d4f71b933961d | 147a0f3acce424d404e6a7cbf4e7815d3bfb820e | refs/heads/master | 2021-09-10T18:10:05.504289 | 2018-01-11T02:15:22 | 2018-01-11T02:15:22 | 117,033,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,647 | cpp | // Copyright 2011 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#include "stdafx.h"
#if !defined(JSON_IS_AMALGAMATION)
#include <json/writer.h>
#include "json_tool.... | [
"qingrui.h@foxmail.com"
] | qingrui.h@foxmail.com |
506fbb3e1c01b6f044f51f62f9b1ab658db63395 | b73a0dd4f559b9dbf9077929c9b5deec571fa564 | /36.cpp | 0569b83bc7f251f773f5d1ed99a408c8b3b6a9a9 | [] | no_license | JulianLaiCL/LeetCode | 75af423082d67da5c762b2e79af7f7566732315a | cd161441c04f13a1615ad586156b0b9eabdf9558 | refs/heads/master | 2020-04-23T01:52:01.125122 | 2019-05-24T11:56:24 | 2019-05-24T11:56:24 | 170,826,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,068 | cpp | #include <iostream>
#include <vector>
#include <cassert>
using namespace std;
class Solution {
public:
bool isValidSudoku(vector<vector<char>>& board)
{
if (board.size() != dimension) return false;
for (int i = 0; i < dimension; ++i)
{
if (board[i].size() != dimension) ret... | [
"chunlun.lai@gmail.com"
] | chunlun.lai@gmail.com |
c475ec14bfafd81854f7bb96b95fc4dac3a9f8cd | cc0800273b691e6fb33f47729dcc1409aa3ba1c2 | /c언어/사각형 출력하기.cpp | 5ff82a957b54271bab14a09ca36a4a12c349142a | [] | no_license | munyeol-Yoon/C-practice | 525e8c89dff49783a2faafb9b92239db9dc0527b | 6f0a563d321aa0a6b66701a8e3f859d8c768eef7 | refs/heads/master | 2020-07-10T12:10:23.241448 | 2019-08-25T07:20:54 | 2019-08-25T07:20:54 | 204,260,108 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 352 | cpp | #include <stdio.h>
#define N 10
int main (void)
{
int i, j ;
for(i = 0; i < N; i++) /*1는 0으로 초기화 i가 n 보다 작을때에 한해서 1를 증가해서 반복시킨다 */
{
for(j = 0; j < N; j++) /* i가 증가할때마다 j도 0부터 10까지 증가 */
{
printf("★");
}
printf("\n");
}
return 0;
}
| [
"noreply@github.com"
] | munyeol-Yoon.noreply@github.com |
154c74255462b78953c26e5e44282980f85823f9 | bf87f6d397edb9d013a7509a4e049e35fc77b5d5 | /Source/ActionRPG/Public/Items/RPGTokenItem.h | c4c31760a91d0180bcfa46552874407f16b0c4a5 | [] | no_license | unununununununun/ActionRPG | 81b1b6391ed3a9e6cc58e063fdc83a0a997a9608 | 87dbde3ed988205a08cc3398013913e15644f79d | refs/heads/master | 2022-01-08T12:56:28.656489 | 2019-06-24T22:21:01 | 2019-06-24T22:21:01 | 193,251,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Items/RPGItem.h"
#include "RPGTokenItem.generated.h"
/** Native base class for tokens/currency, should be blueprinted */
UCLASS()
class ACTIONRPG_API URPGTokenItem : public URPGItem
{
GENERATED_BODY()
public:
/** Constructor */
U... | [
"exebytche@gmail.com"
] | exebytche@gmail.com |
7d2799f0399201027928e09c2c92875346e1e810 | 3d120c4798cfd1787e6d9a9629274dd62b78029b | /井字棋的暴力穷举/画图.cpp | 53e89a91d59babb05bf0e3566933204d8e54acbf | [] | no_license | zgjstudy/Xiaobai-s-artificial-intelligence-advanced-road | 3b98be474c883b42ef72708dec3cc42a0ea6d6a7 | c95335bc3e52341243e90fc6f9d4a8e64d845598 | refs/heads/master | 2020-04-01T16:58:33.210473 | 2018-10-22T15:59:49 | 2018-10-22T15:59:49 | 153,407,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | cpp | #include <iostream>
#include <fstream>
#include <cstring>
#include <string>
using namespace std;
// Draw the current situation of Tic-Tac-Toe.
void draw(int* data);
// Draw o or x or blank.
string drawHelp(int data);
// dfs
void dfs(int n);
// Determine if the game is over.
bool isOver();
// Draw the branch
void ... | [
"981225888@qq.com"
] | 981225888@qq.com |
38fda6f34c1a12d68cd8a12ecdb9cfc0ae23f2e0 | 92cba212f8c0df353c15ab424ebc175cb1f71146 | /MaxProfitStock1.cpp | a2b31a64119945367a84680109466e46c2cbc0d9 | [] | no_license | vermapraharsh/Coding-Practice | 31fc2c9672e3904c681cf43f7f0cd64dc824f435 | ae15a54c4b3a5d696fe5598a71983d71b000d17b | refs/heads/master | 2021-01-01T09:39:28.077967 | 2020-02-09T00:23:05 | 2020-02-09T00:23:05 | 239,222,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | //Max Profit Stock
//Cost of stock is given in array where each index is the day, and the element is the price of the stock on the given day
#include <iostream>
#include <array>
int main()
{
int stockPrice = {100, 180, 260, 310, 40, 535, 695};
int margin = 0;
int maxProfit = 0;
int arrayLen = stockPrice.size()... | [
"noreply@github.com"
] | vermapraharsh.noreply@github.com |
1a04ca6d858c7f814b87d04c37d8d2109bfdb951 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3334_squid-3.3.14.cpp | b34ee5251e8c0905fef6ee8249dc283294eee5ea | [] | 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 | 833 | cpp | static oid *
time_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn)
{
oid *instance = NULL;
int identifier = 0, loop = 0;
int index[TIME_INDEX_LEN] = {TIME_INDEX};
if (*len <= current->len) {
instance = (oid *)xmalloc(sizeof(name) * (*len + 1));
memcpy(instance,... | [
"993273596@qq.com"
] | 993273596@qq.com |
81fb27196e36503e912269d94e85aecb948b55bc | 9620aeaacce4f8931c8c5b09dadfe44b6541a3cd | /src/prefix.hh | 0e6235e33cb91de94521f96421083ef040c53dc1 | [] | no_license | rsms/rxlang | e2acf2c2f86687943cdb04c83a830ff9d9a6571a | af4bf9fd45972524ac9336f23e7d549dde0ef167 | refs/heads/master | 2021-01-23T22:06:24.208129 | 2014-08-13T02:57:22 | 2014-08-13T02:57:22 | 22,900,398 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | hh | // libc
extern "C" {
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
}
// libc++
#include <algorithm>
#include <forward_list>
#include <functional>
#include <initializer_list>
#include <iostream>
#include <map>
#include <memory>
#include <ostream>
#include <regex>
... | [
"rasmus@notion.se"
] | rasmus@notion.se |
3541613254a3020237fa1f20d72995d75a3e9582 | db7379aa0723bcf4cb303f5e5ed8c07ff72d1f67 | /POO_TPII_DavidsonDias_MateusAlves/2.4/src/CWindowSingleton.cpp | 85feb509827a769ff9df6dc6c8d12b5b780d4dde | [] | no_license | MatLopes23/POO | 8e5e0336c0df46bcfd0030520218c54a98eaa8f8 | c5f93c802a5c28973a4161eac12bd2dd50ee04e9 | refs/heads/master | 2020-04-07T20:58:06.816632 | 2018-11-23T12:18:14 | 2018-11-23T12:18:14 | 158,709,473 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,952 | cpp | #include "CWindowSingleton.h"
#include <new>
#include<iostream>
#include<fstream>
CWindowSingleton::CWindowSingleton(const int newx, const int newy, const int newcx, const int newcy, int tam_fonte, std::string tip_fonte, std::string font, std::string pen, std::string pince)
{
x=newx;
y=newy;
cx=ne... | [
"noreply@github.com"
] | MatLopes23.noreply@github.com |
7c2e313bca787ba0bdd65f7194b6b3a7bef3f786 | 26182c89eb1d484e7084ca3938b4c06fe6be25d7 | /staticlib/MathFuncsLib/MathFuncsLib/MathFuncsLib.cpp | 739fba4f910371560fb326d489ed82926620a329 | [] | no_license | Hyjfxl/Hello-world | db7af7c92165c4609d40768e7173580c767ddeab | a1f1b772a379f28eb6695c4def039684f980248b | refs/heads/master | 2020-07-31T06:57:25.906841 | 2019-11-26T06:41:29 | 2019-11-26T06:41:29 | 210,522,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | // MathFuncsLib.cpp : 定义静态库的函数。
//
// MathFuncsLib.cpp
// compile with: cl /c /EHsc MathFuncsLib.cpp
// post-build command: lib MathFuncsLib.obj
#include "MathFuncsLib.h"
#include <stdexcept>
using namespace std;
namespace MathFuncs
{
double MyMathFuncs::Add(double a, double b)
{
return a + b;
}
double MyM... | [
"55131252+Hyjfxl@users.noreply.github.com"
] | 55131252+Hyjfxl@users.noreply.github.com |
5e457c07688ad21727a18ca80ada1c78d09a9bce | b025337be4b6fa070aaad39d88af8a908a92fb1a | /SkyOS.git/.svn/pristine/7f/7f59fc1ac498757744c4b4b1a576a229aae95db5.svn-base | 7be757085522090cb3512fe7e6d1c8b885d0fc1b | [] | no_license | sohn0356-git/OS | 0da3e76287c432ecc1c396b58182e28fca028bb7 | 9b6e2fdd6faf9063bda9e336579d7877be9c6b2e | refs/heads/master | 2022-11-25T23:51:20.721287 | 2020-08-03T03:28:13 | 2020-08-03T03:28:13 | 284,579,444 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,191 | #include "SkyAPI.h"
#include "SkyConsole.h"
#include "Hal.h"
#include "string.h"
#include "va_list.h"
#include "stdarg.h"
#include "sprintf.h"
#include "Exception.h"
void __M_Assert(const char* expr_str, bool expr, const char* file, int line, const char* msg)
{
if (!expr)
{
//SkyConsole::Print("%s %s, %s %d\n", ... | [
"sohn0356@gmail.com"
] | sohn0356@gmail.com | |
09ab0c320bf3292b8b30c5bf208d06e6b039a223 | 8c30849beb037d18316395e339138bf954978935 | /aula04/dist2.cpp | 5d7ba92236c1bb7196e66efe2037596b9d1e0f4b | [
"MIT"
] | permissive | masmangan/refactored-eureka | d35cb6729f2153fca6173c5526d88785bfb93dd8 | 5698a7e935a4d90f6f7459127e7eb3a72c3904eb | refs/heads/master | 2021-07-25T09:11:50.352176 | 2018-11-16T23:06:14 | 2018-11-16T23:06:14 | 145,770,210 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | cpp | // marco.mangan@pucrs.br
// Calcular a distância entre dois pontos.
// Exemplo:
// (0, 3); (4, 0) => 5
//
#include <iostream>
#include <cmath>
using namespace std;
struct ponto {
int x;
int y;
};
int main()
{
struct ponto p1, p2;
int d;
cout << "Distância entre dois pontos (struct)" << endl;
cout << "Informe o pr... | [
"10067320@facin.portoalegre.pucrsnet.br"
] | 10067320@facin.portoalegre.pucrsnet.br |
0b437b653c545488a10f2ee7d14f6eefbccd0c55 | 36de49eca16024eb22e6a6243b72ceb1e885cb2d | /Dependencies/Includes/Game Engine/WidgetCore.h | cb12d98391e78218e34c983eb589ba5a7e44add6 | [] | no_license | binhcoding/game-dev-proj-1 | 47bd7c1f160649ec5519812384f65c81f76c6349 | 4de7df8d28f1c9371024e6a07a3e4a86f68edaed | refs/heads/master | 2021-01-20T06:44:37.992226 | 2015-02-20T09:53:26 | 2015-02-20T09:53:26 | 30,953,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #pragma once
#include <Awesomium/WebCore.h>
#include <memory>
#include "WidgetSurfaceFactory.h"
namespace GameEngine
{
class WidgetCore
{
public:
WidgetCore();
~WidgetCore();
void Init();
void Update();
private:
Awesomium::WebCore* _webCore;
std::unique_ptr<WidgetSurfaceFactory> _surfaceFactory;
}... | [
"ihave@binhcoding.com"
] | ihave@binhcoding.com |
573cd59f333519652032cedee7e7acc15f752d7f | b2d75422e0bfbf44754a60b65dd594b49cfc0e09 | /shaneServer/ThreadPool.h | 1328a341254588041cfbe58144de42850122666e | [] | no_license | XunMrh/server | 2ddbd41c9d84bb23d3ec4c02416489a4d14b123b | 38d0eb60df1b9cb54b39240460580c0e96595515 | refs/heads/master | 2023-02-13T09:10:47.931737 | 2021-01-11T12:47:34 | 2021-01-11T12:47:34 | 325,272,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | #include<shaneServer/Condition.h>
#include<shaneServer/Mutex.h>
#include<shaneServer/Thread.h>
#include<boost/function.hpp>
#include<boost/ptr_container/ptr_vector.hpp>
namespace shaneServer
{
class ThreadPool
{
public:
typedef boost::function<void()> Task;
explicit ThreadPool(const string& name = string(... | [
"1737887132@qq.com"
] | 1737887132@qq.com |
4f3556cbae9785c3f9191931aa4204351f6aa67e | 9870e11c26c15aec3cc13bc910e711367749a7ff | /POJ/p_2054.cpp | b82b5850c00ecefe6f526454cd16ae113c136850 | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include <cstdio>
int a[1010],s[1010],f[1010];
int main()
{
while (1)
{
int n,root;
scanf("%d%d",&n,&root);
if (n==0 && root==0)
break;
for (int i=1;i<=n;i++)
{
scanf("%d",&a[i]);
s[i]=1;
}
for (int i=1;i<n;i++)
... | [
"liuq901@163.com"
] | liuq901@163.com |
946385303d0113084c18737f918ee1c4d59a9c7f | 7e7a3cd90fdeb556dd3459eb5e6a8f68a0718d1d | /Emuall/gui/GLContextManager.h | 4aa3eae0187fb77cb15561de524ebae0abf0f721 | [
"Apache-2.0"
] | permissive | robojan/EmuAll | 7d3c792fce79db4b10613b93f0a0a7c23f42a530 | 0a589136df9fefbfa142e605e1d3a0c94f726bad | refs/heads/master | 2021-01-21T04:50:46.603365 | 2016-07-22T10:44:18 | 2016-07-22T10:44:18 | 44,864,341 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | #pragma once
#include <map>
#include <set>
#include <wx/glCanvas.h>
class GLContextManager {
public:
~GLContextManager();
static GLContextManager &GetSingleton();
void AddContext(int id, wxGLContext *context);
void RemoveContext(int id, wxGLContext *context);
void RemoveContexts(int id);
void Clear();
wxGLCo... | [
"robojan1@hotmail.com"
] | robojan1@hotmail.com |
4772c9887c2ac4d5c79f1b8708106980ce122318 | ebeeb411c4ec9fee679fd08d0a9d5538e14aef45 | /Project1/ftp_client.h | ae8a35f2d4e7a09839daa29d076b48db29aea4a5 | [] | no_license | nkhang/FileTransferAssignment | a3c79eab743b0f3d75ee9926f8cbabe7cd77a463 | e2f8fc678d0e46e004a8b051eec54d82e4667ebb | refs/heads/master | 2020-03-17T16:37:45.594738 | 2018-06-06T01:30:50 | 2018-06-06T01:30:50 | 133,756,049 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,829 | h | #pragma once
#include <afxsock.h>
#include <iostream>
#include <conio.h>
#include <fstream>
#include <sstream>
#include <direct.h>
#include <iomanip>
using namespace std;
#define STR_LENGTH 256
#define BUFLEN strlen(buf)
#define BUFSIZE sizeof(buf)
#define PORT 21
#define IP _T("127.0.0.1")
#define DOWNSTREAM 0
#defin... | [
"nguyenkhacnguyenkhang@gmail.com"
] | nguyenkhacnguyenkhang@gmail.com |
21e93f11b0491fbdbe94590afcb8dcea8469468c | a5917bac9ab2a297edddd51a22d2a28078601b17 | /International/LangSwitch/LangSwitch/langswitch.h | c2d23cb89f9b5690704d59d1589f1f11030b6d1b | [] | no_license | wentaosong1993/2019 | 904d21571836d082021fe5d041f8b5b760853daf | 3ad969ab3336cd1b3ec9490f122deceaaae1779d | refs/heads/master | 2020-09-15T22:37:10.874046 | 2020-01-04T09:00:24 | 2020-01-04T09:00:24 | 223,572,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef LANGSWITCH_H
#define LANGSWITCH_H
#include <QWidget>
class QComboBox;
class QLabel;
class LangSwitch : public QWidget
{
Q_OBJECT
public:
LangSwitch(QWidget *parent = 0);
~LangSwitch();
void setText2label(const char* text);
private slots:
void changeLang(int index);
protected:
void... | [
"614425032@qq.com"
] | 614425032@qq.com |
921b685935e6e087201a32d2087ba64216fd075c | e79e2d2098303c92307ea62983b4cc51fafd9274 | /python/include/pGeodetic.hpp | a08cb06596cd771b82208628b24924f900030adc | [] | no_license | bakerb845/cvm | baa6df9299f87e3dbbf749bd3e0c51d53f9e04ee | c3d4c03b41811a639a5fb58e598c6f727c52d86c | refs/heads/main | 2023-03-12T05:25:22.319513 | 2021-03-03T21:25:41 | 2021-03-03T21:25:41 | 339,777,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | hpp | #ifndef PYCVM_GEODETIC_HPP
#define PYCVM_GEODETIC_HPP
#include <utility>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace PCVM
{
/// @brief Interface to the simple geodetic functionality in the CVM library.
class Geodetic
{
public:
/// C'tor for zone 10
Geodetic(int zone = 10);
Geodetic(co... | [
"bakerb845@gmail.com"
] | bakerb845@gmail.com |
55baf89d1b519a9d2fb050da95532f26cebe73c1 | 17765d442fbb5641b6c6e6f15109d3680896f6cd | /图论/kruskal.cpp | 643e5ad677b8eacf1677646827e171c03df1a6d6 | [] | no_license | nwyahstu517/CPP | f6a7ab0cd97bc9d58bca504d7518b858c650bfba | ebbc88db3a7168a1735913f5f846334ebf2e06ee | refs/heads/master | 2021-08-16T02:16:26.470605 | 2020-12-10T07:01:13 | 2020-12-10T07:01:13 | 231,080,891 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,012 | cpp | #include<bits/stdc++.h>
using namespace std;
struct EDGE{
int x;
int y;
int v;
}a[9901];//边
int fat[101];//初始每个数为单独集合
int n;
int father(int x){
if(x!=fat[x]){
fat[x]=father(fat[x]);
}
return fat[x];
}
void unionn(int x,int y){
int fa=father(x);
int fb=father(y);
if(fa!=fb){
... | [
"2467111347@qq.com"
] | 2467111347@qq.com |
18b2748a4274764675cc9e523461bb53566e3ede | ea1d219273bb970bff8dafa910d56decf0310a61 | /pat-advanced/1029.cpp | 6356f185d99ce378ec966be0cb2884cde6761f06 | [] | no_license | Shuailong/PAT | bd352a42161943a43f583cefa024531cf916696d | b8de7a84f96f78e4d9927bfeec7fdfac0c59ce0d | refs/heads/master | 2021-05-02T08:53:52.999240 | 2016-09-16T08:54:14 | 2016-09-16T08:54:14 | 15,626,752 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <vector>
#include <cstdio>
using namespace std;
int main()
{
vector<int> nums1;
int N1;
cin >> N1;
for (int i = 0; i < N1; ++i){
int num;
//cin >> num;
scanf("%d", &num);
nums1.push_back(num);
}
vector<... | [
"zju_shuailong@163.com"
] | zju_shuailong@163.com |
0416bbcfbb1e702cf749a3ebe9f7c4b4102dcbb9 | 90f9789d0618d88c845b14c80d8907700f306dfb | /test/Untitled1.cpp | 37ef3ecf319d5a1f8722ce0da688b7036fcef9e2 | [] | no_license | NguyenMinhThuan24112001/CPP_PTIT | 839251a8db4f78a8ef92e6983e5d05d38cc0dde8 | 8dbd00ed503a966c754881010882bc97d07570f9 | refs/heads/master | 2023-05-07T12:57:31.741372 | 2021-06-02T11:13:47 | 2021-06-02T11:13:47 | 373,137,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2;
getline(cin,s1);
getline(cin,s2);
int pos=s1.find(s2);
s1.erase(pos,s2.size());
cout<<s1<<endl;
}
| [
"nguyenminhthuan24112001@gmail.com"
] | nguyenminhthuan24112001@gmail.com |
fae8bc0ccfbb91470bc8f4a76666949e4c1ac750 | 7ef6fc2e5a32a7d42820f0c6c61c5a311e5a4343 | /011/A.cpp | cfde367d3949d5be2055b1679a580d45d703530c | [] | no_license | aximov/ABC-answers | 40ee8971c999e0623e18d67c900975c8fe7916cb | a3006d79a187faa8011719744b820ef77a6a6df2 | refs/heads/master | 2021-03-30T18:19:49.285952 | 2020-03-29T13:27:22 | 2020-03-29T13:27:22 | 106,619,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
cout << N % 12 + 1 << endl;
return 0;
} | [
"deltalphan+github@gmail.com"
] | deltalphan+github@gmail.com |
6c1b24e0b11bea6df8665c2523d17b3b64aa01e9 | 2849ecc4d4a9166206f3dc8f1151840182c2db91 | /MyProject4/Source/MyProject4/MyProject4GameMode.h | eb010f80525bd50ff5e3cca1a1e082d1501d78a2 | [] | no_license | poiyomi/Kart | e7062d16e8dca04b04c884a76aff7c732697839e | 6fa56dc1cc5605758fa8e46932b6f486a129f71a | refs/heads/master | 2021-06-01T07:51:11.278339 | 2016-01-12T14:00:46 | 2016-01-12T14:00:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "MyProject4GameMode.generated.h"
/**
*
*/
UCLASS()
class MYPROJECT4_API AMyProject4GameMode : public AGameMode
{
GENERATED_BODY()
};
| [
"tylerklimke@gmail.com"
] | tylerklimke@gmail.com |
e1a13d2534033943262ca35f6085b6be045bab42 | 1a08940fd4e4060e735be9596a238d1381d7e9e5 | /COCI2008/COCI2008/C1_3_MRAVOJED(BOJ2967).cpp | 10405cc4a14d662b86931f86090261d2a36d93cb | [] | no_license | FYLSunghwan/COCI-Practice | 018e538713666fe0965265103bcaa610c645a7e0 | f96494543b9224489e1c4b4276b85f479bf58315 | refs/heads/master | 2020-03-29T13:11:56.390555 | 2018-11-08T11:33:41 | 2018-11-08T11:33:41 | 149,945,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | //
// C1_3_MRAVOJED(BOJ2967).cpp
// COCI2008
//
// Created by 김성환 on 10/10/2018.
// Copyright © 2018 김성환. All rights reserved.
//
#include <cstdio>
int R,C,ans[2][3],cnt;
char map[101][101];
int getSize(int r, int c) {
int size=1;
while(++size) {
if(r+size-1>R || c+size-1>C) break;
int sw=... | [
"sunghwan519@hotmail.com"
] | sunghwan519@hotmail.com |
ca588c0f10de881d68c0d907434080ec0c521c19 | 0c9495255d289c7656fd7cf317bcb763e6314fc0 | /EvenServer/Zoic/include/CommandFactory.h | e038b3bcae6bd9f0211a9a19ebc1135b35f52c8a | [] | no_license | ChenzhenqingCC/WinProjects | 79b8ad0443b41a454dae35e1615d469301bd030c | 43630f2d4c0e0b0ef5bd9bc7cb448baa94e52b18 | refs/heads/master | 2016-09-05T20:46:19.691955 | 2015-11-05T05:37:17 | 2015-11-05T05:37:17 | 41,282,104 | 2 | 6 | null | null | null | null | GB18030 | C++ | false | false | 1,596 | h | /*! @file
@ingroup network
@brief 定义网络命令处理工厂类
*/
#ifndef __ZOIC_COMMANDFACTORY_H
#define __ZOIC_COMMANDFACTORY_H
#include "Types.h"
#include <utility>
#include <list>
#include "NoCopy.h"
#include "RunTimeContext.h"
namespace std
{
class type_info;
}
namespace Zoic
{
class Session;
class Mess... | [
"evence_chen@live.com"
] | evence_chen@live.com |
cb23515979aa7dc6c75e9734a6e09defada38873 | 76afd973c3189926f71500516cf839d095207cb1 | /pik_multipass.h | 820097a615e4d402b2cf5fb5d5bad03abe5f25db | [
"MIT"
] | permissive | The-Mad-Pirate/pik | c64c50a8625ab02fe59d5a8e82921de64db535ef | c3374983be18002bb12b1a403fb9eba8a89c2382 | refs/heads/master | 2020-04-18T09:52:36.651278 | 2019-01-22T13:09:31 | 2019-01-22T13:10:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,254 | h | // Copyright 2018 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#ifndef PIK_MULTIPASS_H_
#define PIK_MULTIPASS_H_
#include "codec.h"
#include "multipass_handler.h"
#include "padd... | [
"deymo@google.com"
] | deymo@google.com |
09d49c0382d7335dadf0598b7fb769f65554c8b9 | 881c0b0f0b5da9d79bfd6ef89efafe48ac2d4f46 | /源.cpp | 8a071e4b647a3e54fb32ae2ff50a780c79b40eba | [] | no_license | yaoplusplus/first_storage | dc1a3a7889cc4242bf838b46e77656a8e3e5617d | f44192ef28b74261f03849d109fe18a509470262 | refs/heads/master | 2020-08-09T20:02:55.871881 | 2019-11-15T12:08:47 | 2019-11-15T12:08:47 | 214,163,155 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,748 | cpp | #include<iostream>
using namespace std;
//节点
template <class T>
class chainNode {
public:
T element;
chainNode<T>* next;
chainNode()
{
next = 0;
}
chainNode(const T&element)
{
this->element = element;
next = 0;
}
chainNode(const T& element,chainNode<T>*next)
{
this->element = element;
this->next = ... | [
"Ljy5799@outlook.com"
] | Ljy5799@outlook.com |
2bc8383baa92440687a6f32205903f342d4292ae | ff0e290e730ea01acd4b35f161892955891fbec1 | /tic-tac-toe/tictactoe.cpp | bf29fcb6c9ab40260424f168842b9de7edcb8165 | [] | no_license | Carter0/c-classwork | 748e0aa64b4d8a879c5276fd43f6643062230de0 | 18db396ec882ea7c78fb9da6971ecb332c70f598 | refs/heads/master | 2021-08-18T18:11:34.896769 | 2018-12-11T19:14:22 | 2018-12-11T19:14:22 | 148,193,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | cpp | #include "GameLogic.h"
int main()
{
GameLogic g;
g.run();
return 0;
}
| [
"weinbergcarter@gmail.com"
] | weinbergcarter@gmail.com |
5916e166ca99ccc2b0910545b38da47d194cffa8 | 2cda4cee70a7b676520dcacd25fb928e00f7f77b | /src/Damage.cpp | c3107e4f59a98a6dbd6f587d7d8eaf5a03e5e2a5 | [] | no_license | GreenDamTan/priston | bbb23b6c9a10f8132f0534b48bd0e3c93c4320cb | 9c416f64332016ac3b040eecf8f31207719b8fbb | refs/heads/master | 2020-12-02T06:33:35.548117 | 2017-01-14T17:54:24 | 2017-01-14T17:54:24 | 96,853,442 | 1 | 1 | null | 2017-07-11T05:17:06 | 2017-07-11T05:17:06 | null | UHC | C++ | false | false | 36,140 | cpp | #include "common.h"
#include "smlib3d\\smd3d.h"
#include "smwsock.h"
#include "character.h"
#include "Sound\\dxwav.h"
#include "particle.h"
#include "fileread.h"
#include "playmain.h"
#include "drawsub.h"
#include "netplay.h"
#include "field.h"
#include "hobaram\\holinkheader.h"
#include "sinbaram\\sinlinkheader.h"
... | [
"renan.toledo@live.com"
] | renan.toledo@live.com |
e61abf685cf17ea333be40b4fe67bad7fe3fa4b9 | 4d2d10962626d0ea6a418317fde93e5fb735ec6c | /ThirdParty/Asio/src/examples/cpp17/coroutines_ts/echo_server_with_default.cpp | b78b1c8909041311dd4d5629927691dfffdf6a2c | [
"BSL-1.0",
"MIT"
] | permissive | m-sobieszek/fonline | ae8b034f38871ebe1a5117703c3015a95798a2fa | f19a7fbf4063d0377578f86012be0be4088c42ff | refs/heads/master | 2022-07-21T01:29:11.052381 | 2022-05-16T15:39:32 | 2022-05-16T15:39:32 | 227,718,607 | 0 | 0 | MIT | 2019-12-12T23:59:35 | 2019-12-12T23:59:34 | null | UTF-8 | C++ | false | false | 1,731 | cpp | //
// echo_server_with_default.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#include <a... | [
"noreply@github.com"
] | m-sobieszek.noreply@github.com |
4bdf3f30bc6036aca90e5926dad529a02fb2d364 | ba611ef3b7cb64123c8577e79b35626db4f85bf7 | /RemoveNthNodeFromEnd.cpp | 22cd574dadc7e0c6f4c23087dd99f03bc3d6f2e5 | [] | no_license | javed2214/Linked-List | 604409949a12f18a65de6648bac42313e01ecd22 | ae03df142af0b50535a225197ea9fb3df960c9aa | refs/heads/master | 2021-07-24T18:39:38.959780 | 2020-05-05T22:37:41 | 2020-05-05T22:37:41 | 165,418,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | cpp | // Program to Remove nth Node From End of the Linked List
#include<bits/stdc++.h>
using namespace std;
typedef struct node{
int data;
struct node *next;
}node;
node *createList(int *a, int n){
node *head=NULL,*p;
for(int i=0;i<n;i++){
node *temp=(node *)malloc(sizeof(node));
temp->data=a[i];
... | [
"noreply@github.com"
] | javed2214.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.