blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7d81161e30670e0f7ec46bb1d7c5181b2843a2a | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/PrintJob/UNIX_PrintJob_VMS.hxx | 622574f8a1745e07064937940b10fee795ed7903 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | hxx | #ifdef PEGASUS_OS_VMS
#ifndef __UNIX_PRINTJOB_PRIVATE_H
#define __UNIX_PRINTJOB_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
405ef061de459bbf825a1c248acb313e4da3162a | c9042c65d6c7a632cfd903a56e52a42903464467 | /FsGame/CommonModule/SnsDataModule.h | 216b1896fdde5c55b56f2b24c9aeff7f0fc85c59 | [] | no_license | cnsuhao/myown | 4048a2a878b744636a88a2090739e39698904964 | 50dab74b9ab32cba8b0eb6cf23cf9f95a5d7f3e4 | refs/heads/master | 2021-09-10T23:48:25.187878 | 2018-04-04T09:33:30 | 2018-04-04T09:33:30 | 140,817,274 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 5,415 | h | //---------------------------------------------------------
//文件名: SnsDataModule.h
//内 容: 离线的玩家数据
//说 明:
//
//创建日期: 2014年12月24日
//创建人:
//修改人:
// :
//---------------------------------------------------------
#ifndef FSGAME_SNS_DATA_MODULE_H
#define FSGAME_SNS_DATA... | [
"314221681@163.com"
] | 314221681@163.com |
11ba2330b2733da2605e8722e6636fa483cc503c | d7b3ee8559b242005767eb96a891050b27b04e53 | /客户端/qrc_myicon.cpp | 3fe528fe63c2adecfc26c56a7b374b4185a18fda | [] | no_license | Evjing/Socket-CS-chatting | 8dda953c36624d76d2cfe4ce716eac77926be81f | a58c0b8bdb42917ba5ac470326cbe8e848f67b88 | refs/heads/master | 2023-04-15T11:31:31.798905 | 2021-04-19T05:20:31 | 2021-04-19T05:20:31 | 359,314,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,855 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.8.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... | [
"hjb545917764@outlook.com"
] | hjb545917764@outlook.com |
8b8950fdc781135968c07be9baef325e9208c613 | 367dba59ad84e9a34f9794b4a46484a6b89b16be | /src/Attributes/VertexLaplacianAttribute.cpp | 4f5e25bd18be004f6ec0333decf8eb12118bfa2f | [] | no_license | rickarkin/PyMesh-win | fea0842b0fd3ef98646809be19daf3b20bca659f | c16ba28ba1ebea8556d6761169685c2588978404 | refs/heads/master | 2021-01-21T01:43:30.563214 | 2016-08-18T08:58:44 | 2016-08-18T08:58:44 | 65,174,117 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | cpp | /* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */
#include "VertexLaplacianAttribute.h"
#include <Core/EigenTypedef.h>
#include <Core/Exception.h>
#include <Mesh.h>
using namespace PyMesh;
void VertexLaplacianAttribute::compute_from_mesh(Mesh& mesh) {
const size_t dim = mesh.get_dim();
con... | [
"rick.changhui@gmail.com"
] | rick.changhui@gmail.com |
39042cae8067fba11e57b67180f7882701432c64 | 2d0235ef124eb8d4247acd149e86ac9123bd4c3c | /AOJ/ninth/bfs.cc | 22e388fc3e2a911d56b3eff1871a068717388e6d | [
"MIT"
] | permissive | yoshi-ki/BACHELOR | 0ece5db48a9b7efef7f1a4cdd0368e70ff1d72df | 65d01c62ab2ea4a6d2616a6b6c535bd4f1645630 | refs/heads/main | 2023-01-08T14:02:42.800315 | 2020-11-14T15:23:19 | 2020-11-14T15:23:19 | 312,547,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | cc | //http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_11_C&lang=jp
#include <iostream>
#include <queue>
using namespace std;
static const int INFTY = (1<<21);
int N;
int E[100][100];
int d[100];
void bfs(int s){
queue<int> q;
q.push(s);
for (int j = 0; j < N; j++)d[j]=INFTY;
d[s] = 0;
int u;
w... | [
"yoshikif98@gmail.com"
] | yoshikif98@gmail.com |
d839ca82ff4388896e15b86f0b3b51d2fe1ca68a | e78831462eb65efd57373623928d51b7137a02f0 | /challenges/cpp-exception-handling/cpp-exception-handling.cpp | c19e4363f8de95a40d185a8628fac542afe30128 | [
"MIT"
] | permissive | albertfc/hackerrank | 3c1ccfa95dbf3b240bf575e9892bd95035167f88 | 54261cf17c144280d0c47439ddc9a3faa3242bc7 | refs/heads/master | 2022-08-23T14:12:38.207226 | 2022-08-01T19:13:26 | 2022-08-01T19:13:26 | 120,266,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | /* Copyright (C) 2019 Albert Farres - All Rights Reserved
* You may use, distribute and modify this code under the terms of the MIT
* license, which unfortunately won't be written for another century.
*
* You should have received a copy of the MIT license with this file. If not,
* please write to: albertfc@gmail.c... | [
"albertfc@gmail.com"
] | albertfc@gmail.com |
3ea52718815a5754b4e78ac7823b89dbea18576a | 18aee5d93a63eab684fe69e3aa0abd1372dd5d08 | /paddle/fluid/eager/to_static/run_program_op_node.h | 548af27a8ac4ff621714cc4078c3c3fdda683756 | [
"Apache-2.0"
] | permissive | Shixiaowei02/Paddle | 8d049f4f29e281de2fb1ffcd143997c88078eadb | 3d4d995f26c48f7792b325806ec3d110fc59f6fc | refs/heads/develop | 2023-06-26T06:25:48.074273 | 2023-06-14T06:40:21 | 2023-06-14T06:40:21 | 174,320,213 | 2 | 1 | Apache-2.0 | 2022-12-28T05:14:30 | 2019-03-07T10:09:34 | C++ | UTF-8 | C++ | false | false | 30,543 | h | // Copyright (c) 2022 PaddlePaddle 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... | [
"noreply@github.com"
] | noreply@github.com |
911eaa26025c6887d99ab11315880da74dce5132 | daae7bfeb066e1f3845b76fda83e6cb79e9c5fb2 | /src/server/gw.h | dd9fdd22a3ed09329cdfba3f046df0b6326368e0 | [
"MIT",
"ISC",
"LicenseRef-scancode-generic-cla"
] | permissive | serzhiio/Krypto-trading-bot | 04ed5ee37398047a32dc0b94d7f457336704b2ac | b35bcd1880d8314d740cdb872e77089e7318c103 | refs/heads/master | 2021-05-07T19:47:45.452589 | 2018-02-01T19:38:21 | 2018-02-01T19:38:21 | 108,906,344 | 0 | 2 | null | 2018-02-01T19:38:22 | 2017-10-30T20:44:21 | C++ | UTF-8 | C++ | false | false | 9,991 | h | #ifndef K_GW_H_
#define K_GW_H_
namespace K {
class GW: public Klass {
private:
mConnectivity gwAdminEnabled = mConnectivity::Disconnected,
gwConnectOrders = mConnectivity::Disconnected,
gwConnectMarket = mConnectivity::Disconnected;
unsigned int gwT_5m = 0,
... | [
"ctubio@users.noreply.github.com"
] | ctubio@users.noreply.github.com |
420277f53630b1fc54d7a3ba6f9f00806c41993c | cf9ffba402950eec5df684fe66793b95bbec581e | /dialoginputbutton.h | 39e63aa42f97e28a6a3a058b76de6354d513d990 | [] | no_license | DanielBCoffaro/Inventory_Tracking_Project | f1c83118f6fce93fb04a7093c7b22e3276d32801 | 0c037da5f5035b525d95a8911f89808e1faaa0b4 | refs/heads/master | 2021-07-25T13:18:14.865363 | 2017-11-06T13:57:04 | 2017-11-06T13:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #ifndef DIALOGINPUTBUTTON_H
#define DIALOGINPUTBUTTON_H
#include <QDialog>
#include <QtDebug>
#include <QMessageBox>
namespace Ui {
class DialogInputButton;
}
class DialogInputButton : public QDialog
{
Q_OBJECT
public:
explicit DialogInputButton(QWidget *parent = 0);
~DialogInputButton();
signals:
p... | [
"33422680+DanielBCoffaro@users.noreply.github.com"
] | 33422680+DanielBCoffaro@users.noreply.github.com |
fa7946c09c4f53cc789f850011b3148a8eead1b3 | 3f2cbdcbe8e102d547362e541b2e966c3b13265a | /src/cryptonote_basic/miner.cpp | 5702e18ee41462c228ab4345e83ff768ef3c473f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | rahatkuso/turd-currency | bb9dad136c2124e93418e2e5cb6e19c875009a46 | e4607d67e3b408cb8ca90abfd4bb31195d356815 | refs/heads/master | 2020-04-12T00:08:07.491664 | 2018-12-18T14:54:02 | 2018-12-18T14:54:02 | 162,187,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,122 | cpp | // Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
/... | [
"rahatkuso@gmail.com"
] | rahatkuso@gmail.com |
85b12b1f3a65374235cb0bf09d7822d570174e0f | dc87fc3a3adb9cbc5bae3df95ea8dc1716903067 | /src/WtCore/WtDataManager.cpp | 5c41a0b246cb76eab0b415c952d3cdabf3100a03 | [
"MIT"
] | permissive | alexfordc/wondertrader | 48496c3f68bd48623c9224084153b6be6f520e91 | 6e945378c8200f40b1bd1ffb07dba9e31990a3b0 | refs/heads/master | 2021-06-13T04:41:19.112253 | 2020-04-09T12:38:26 | 2020-04-09T12:38:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,405 | cpp | /*!
* \file WtDataManager.cpp
* \project WonderTrader
*
* \author Wesley
* \date 2020/03/30
*
* \brief
*/
#include "WtDataManager.h"
#include "WtEngine.h"
#include "../Share/StrUtil.hpp"
#include "../Share/WTSDataDef.hpp"
#include "../Share/WTSVariant.hpp"
#include "../Share/DLLHelper.hpp"
... | [
"wtp_2020@163.com"
] | wtp_2020@163.com |
1d6bfa7dd303af2262b50319e46eefe61837bf0a | 4638a6ed4a8d4f108cbba718f7483ac2ca0632cb | /monte_cpp/Mersenne_twister.cpp | 2a2c1bf86aa3cde08caf3973c8575c5d6df56dbd | [] | no_license | Tomato27/Monte | 6c2aa73e385e9ceb514056a9480ecbcc0ee2b634 | 2da261b2fae600f71f0f69a8dbe58ea96b25d821 | refs/heads/master | 2020-09-30T11:45:37.907032 | 2020-06-03T14:38:45 | 2020-06-03T14:38:45 | 227,281,805 | 17 | 3 | null | 2020-01-02T13:14:55 | 2019-12-11T05:13:42 | C++ | UTF-8 | C++ | false | false | 4,499 | cpp | #include <stdio.h>
/* Period parameters */
#define N 624
#define M 397
#define MATRIX_A 0x9908b0dfUL /* constant vector a */
#define UPPER_MASK 0x80000000UL /* most significant w-r bits */
#define LOWER_MASK 0x7fffffffUL /* least significant r bits */
static unsigned long mt[N]; /* the array for the stat... | [
"noreply@github.com"
] | noreply@github.com |
144c88c34bc1480110e571254d03dffc4936f1d9 | 04b76f1cdad3ba805970dbca2310e4f6d0cc91f4 | /2/N/main.cpp | ebbb8dcbc97cccf1484c012ab606a9aebdf79f50 | [] | no_license | gaporf/algo-1term-lab | 7e15d80cebe818d0ca44cd59855b61155def29dc | e27bda543e8871e6e105a4040fe66dd72b6ae433 | refs/heads/master | 2021-10-18T22:38:22.348353 | 2019-02-14T20:21:38 | 2019-02-14T20:21:38 | 170,132,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<pair<int, int> > ans[16];
int n, m = 0, R = 0;
int getNextPow(int a) {
int curAns = 1;
while (curAns < a) {
curAns *= 2;
}
return curAns;
}
int buildSortingNetwork(int l, int r) {
int deep = 0;
if (l == r) {
return deep;
... | [
"gaporf@mail.ru"
] | gaporf@mail.ru |
a0497490ed4168c2355b652fda55347c498622b9 | a6094c9c6d19a0878eb379bb8f8b09243072ba73 | /lmm-p3649-Accepted-s957005.cpp | 749267f6bad692dab3ae1a949fccfbf9dc81bba1 | [] | no_license | pedris11s/coj-solutions | c6b0c806a560d1058f32edb77bc702d575b355c3 | e26da6887109697afa4703f900dc38a301c94835 | refs/heads/master | 2020-09-26T07:25:40.728954 | 2019-12-05T22:51:07 | 2019-12-05T22:51:07 | 226,202,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include <bits/stdc++.h>
using namespace std;
int diamonds[1000];
int main() {
//freopen("f", "r", stdin);
ios_base::sync_with_stdio(0);
cin.tie(0);
int n, k;
cin >> n >> k;
for (int i = 0; i < n; ++i) {
cin >> diamonds[i];
}
sort(diamonds, diamonds + n);
int ans = 0;
for (int i = 0; i < n; ++i) {
int ... | [
"ptorres@factorclick.cl"
] | ptorres@factorclick.cl |
094de84b39ba6552cbfac81dd79bf07f85cd4ab6 | d8ea5358838f3624b0ac11ef2f4d96caa4e2e356 | /cf1138c.cpp | 781eef013d4a713b31c77efad11ee01ded0ca86e | [] | no_license | md-omar-f/codeforces-problem-solutions | b81794ce6b601347a6857ce084d5cc7c3d00e4d9 | db2939c437bf5901c9f5c953d9006ed822ecf312 | refs/heads/master | 2023-05-12T05:19:38.597484 | 2023-04-29T19:46:24 | 2023-04-29T19:46:24 | 283,279,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define forn(i,n) for(int i=0;i<int(n);++i)
#define vet(a) for(auto&i:a)cout<<i<<" "
#define out(a) cout<<a<<endl
#define ll long long int
const int maxn=3e5+100;
int n;
vector<pair<int,int>>an... | [
"37813113+TuhinOmar@users.noreply.github.com"
] | 37813113+TuhinOmar@users.noreply.github.com |
09766ce7c0c74861cd56aa33bea107a338cd25e5 | 45e3eb85ad842e22efefad6d3c1af327998eb297 | /AtCoder/ABC/172/c2.cpp | 1cd0ca0d5ab3d93eb0ea1b652c3a3ca4fd915f67 | [] | no_license | sawamotokai/competitive-programming | 6b5e18217c765184acfb2613b681d0ac9ec3f762 | 9659124def45447be5fccada6e835cd7e09d8f79 | refs/heads/master | 2023-06-12T06:56:01.985876 | 2021-07-05T16:55:56 | 2021-07-05T16:55:56 | 241,240,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | #include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define ok() puts(ok?"Yes":"No");
#define chmax(x,y) x = max(x,y)
#define chmin(x,y) x = min(x,y)
using namespace std;
using ll = long long;
using vi = vector<int>;
using ii = pair<int, int>;
using vvi = vector<vi>;
using vii = vector<ii>;
using gt... | [
"kaisawamoto@gmail.com"
] | kaisawamoto@gmail.com |
79fe6b597abbc387221495bdd9ccad20d7566f0b | 1eefc314ffe03f5e1dc7482c227186ff42752dd4 | /include/gameplay/train/train.hpp | 75f36963cc89e3e1a0915879f3557f4b485bf8b0 | [] | no_license | Neraste/transarctica-rebirth | 22e44300e7a1654d53a4f503f3f61615d1d27496 | 30761433cb27ef03d0deaf575485643b2ad787b9 | refs/heads/master | 2021-07-08T08:00:19.965417 | 2020-11-05T15:28:08 | 2020-11-05T15:28:08 | 207,108,226 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | hpp | #ifndef TRAIN_HPP
#define TRAIN_HPP
#include <memory>
#include <vector>
#include "cars.hpp"
#include "merchandises.hpp"
#include "types.hpp"
namespace train {
class Train {
protected:
std::vector<std::shared_ptr<cars::Car>> cars;
std::vector<std::shared_ptr<cars::Car>>::iterator getCarIterator(const std... | [
"neraste.herr10@gmail.com"
] | neraste.herr10@gmail.com |
f52d297a07f8d2cf45ed86a7420ad8d2e59b3cf3 | 16db6a9d45aa28ede7aaf9c531fc4a25815b4b50 | /mainwindow.h | f009a477a6200a2063d09e82941d806882bf82c8 | [] | no_license | cdfq277462/GMT_StewartPlatformCalibration | 47ca348ebb2c11369cd46c130712a3fde7a9aa6f | c02a352e4f68fb8a2e2d623730a7d70ae78b65f7 | refs/heads/master | 2023-07-10T22:11:40.840866 | 2021-08-06T08:59:09 | 2021-08-06T08:59:09 | 393,319,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
// TIP: use #define RDK_SKIP_NAMESPACE to avoid using namespaces
#include "robodk_api.h"
using namespace RoboDK_API;
enum WORKINGPAGE{
HOMEPAGE = 0,
PARAMETERPAGE = 1,
... | [
"jyj0913@gmt.tw"
] | jyj0913@gmt.tw |
e9f4976fcf9c43656516b17d32d418a4557c1764 | 13402eb7738baf9625ca6d8cbf14468c969a1352 | /build-360parser-Desktop_Qt_5_14_2_clang_64bit-Debug/ui_secondwindow.h | 082430ca29208474f5a8484d880db6d5b0013a55 | [] | no_license | ingmarfjolla/Architecture3ProjCompiler-unfinished | d13f991b52fcd46ae2d7b55a5811a77881eaad10 | 4adedad748e5fd4f753f54fcbaf33198869ef1b0 | refs/heads/master | 2023-06-16T09:44:04.308758 | 2021-07-20T18:16:20 | 2021-07-20T18:16:20 | 302,148,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | h | /********************************************************************************
** Form generated from reading UI file 'secondwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.14.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*************************************... | [
"ingmar@Ingmars-MacBook-Air.local"
] | ingmar@Ingmars-MacBook-Air.local |
06853b2ff1398888fcd6d41fb30f7c54f824e617 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/AssemblyU2DCSharp_ProtoBuf_ProtoConverterAttribute1287216368.h | c5d438cbe66f0e2bae71942520340210d07bf018 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Attribute542643598.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored... | [
"1"
] | 1 |
1ee24acbec4a4e44d0741d8f8735a0ec1d4a38b1 | f7bbeee021ae30cb35def098b374a0cabd0a36fc | /containerwithmostwater.cpp | 780ac9d8ceb9551ca9c99a49a6f434ef14f9b368 | [] | no_license | jxie418/leetcodecpp | e8e8ad9fb8adbbe389738523ee266735d124d2df | 6a778367726dd47247d99e94d7a0a29efe2b0cb8 | refs/heads/master | 2021-01-10T09:30:10.960584 | 2016-04-24T03:10:07 | 2016-04-24T03:10:07 | 49,180,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public :
int maxArea(vector<int> &height) {
int res = 0, i = 0, j = height.size() -1;
while(i < j) {
res = max(res, min(height[i],height[j]) * (j-i));
if (height[i] < height[j]) {
j--;
} else {
i++;
}
}
... | [
"jxie418@gmail.com"
] | jxie418@gmail.com |
f126625200e4c34f7d2caf81be86f6b652404313 | d858dd619615846cff90c7027fa63aaa933f7d90 | /logdevice/server/locallogstore/RocksDBLogStoreBase.h | cad81685af22ed021d7d961f7752dee862dbae21 | [
"BSD-3-Clause"
] | permissive | xingyong/LogDevice | dcbb652c4b3ce714ab308747eeccb0fd86ff48e6 | a7c175c7a7f6dbd78c4a167f0ce6e3d046fa4f67 | refs/heads/master | 2020-05-17T23:22:06.158927 | 2019-04-29T03:45:25 | 2019-04-29T05:25:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,495 | h | /**
* Copyright (c) 2017-present, 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 <atomic>
#include <boost/noncopyable.hpp>
#include <folly/Synchr... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
fcd8e237d15ea7e75e701d433118b2c57024de33 | 880639d21c818bb5b9ab1f1d82da1e26bb31739d | /src/test/miner_tests.cpp | abb8e12973d97a520043aa6c52fe2a0d916e7418 | [
"MIT"
] | permissive | jwrl/Unit | dba4c0c810df7304bbe9d52f7ad0f1ab97c1fb4c | fd8e4fdb548ca5ba33e6f22176a569a102a78f99 | refs/heads/master | 2020-12-26T22:27:41.467471 | 2020-02-01T20:21:23 | 2020-02-01T20:21:23 | 237,667,704 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,498 | cpp | // Copyright (c) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <coins.h>
#include <consensus/consensus.h>
#include <consensus/merkle.h>
#include <consensu... | [
"jhones_willer@outlook.com"
] | jhones_willer@outlook.com |
7f792881f4e304ec4ae04cfb873b45ac5eafc676 | 5fddb50361a6340fb23fa6a6bee337a1d12dd95a | /testaa/mypointer.h | f0907a831b250bdcfeaf83fb7fd9885a1bef563c | [] | no_license | tomaszblawucki/work | 4bd21098b9201166dbc706d8ed15004f0294e9fe | 222981b7d29fb516f2717cdc0090f10c29082de7 | refs/heads/master | 2021-01-01T04:44:01.341991 | 2017-07-28T11:15:12 | 2017-07-28T11:15:12 | 97,235,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | h | #ifndef MYPOINTER_H
#define MYPOINTER_H
#include <iostream>
#include <atomic>
using namespace std;
template <class P>
class MyPointer
{
private:
P* ptr;
int* count;
public:
MyPointer(P &p): ptr(&p)
{
count = new int(1);
std::cout<<"First instance of SP, Counter: "<<*count;
std::... | [
"int_tobl@MobicaPL.local"
] | int_tobl@MobicaPL.local |
58b7b33d7ccb58afeb89368e3489e0705776ee36 | af87904e7513a2c21f41b4c343d865d3e6407ce0 | /minSquareToSum.cpp | 4aa818f501a9857088e15987881a9841b8dedd4c | [] | no_license | vshalprashr/hello-world | 941399e5f8e12617acd3e1b9eebf6803b9924360 | 476010d1901ed16416b13cb62ea55fd2d558d33f | refs/heads/master | 2021-04-29T13:53:57.610068 | 2020-03-28T08:36:59 | 2020-03-28T08:36:59 | 121,763,067 | 0 | 0 | null | 2020-03-28T08:40:44 | 2018-02-16T14:57:59 | C++ | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream>
using namespace std;
int main()
{
int sum; cin >> sum;
int ans[sum+1];
ans[0] = 0;
ans[1] = 1;
ans[2] = 2;
ans[3] = 3;
ans[4] = 1;
for(int i=5 ; i<=sum ; i++){
ans[i] = i;
for(int j=1 ; j*j<=i ; j++)
if(ans[i] > ans[i-(j*j)]+1)
ans[i] = 1+ans[i-(j*j)];
}
cout << ans[sum] << en... | [
"noreply@github.com"
] | noreply@github.com |
c80e0c60acb86385b4fbdacdd2729236fbeb20f0 | 17d0bbf2697c85d42c2773f8e16c0bc50c030c6a | /test/ble_nano_tests/ble_make_call_and_neopixel/nrf_neopixel.cpp | ea3700bead6b57cb156fb169870b14540856bdc4 | [] | no_license | backupbrain/arduino-projects | 17032ff11170e130e8eeef16e1c0f7b9cd4cc29b | d14b56d66e88b1e4cfd88bcee24df4fc80bf7c42 | refs/heads/master | 2023-02-03T17:02:48.575084 | 2020-12-23T21:45:39 | 2020-12-23T21:45:39 | 324,007,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,639 | cpp | /* Lava
*
* WS2812B Tricolor LED (neopixel) controller
*
*
* Example code:
neopixel_strip_t m_strip;
uint8_t dig_pin_num = 6;
uint8_t leds_per_strip = 24;
uint8_t error;
uint8_t led_to_enable = 10;
uint8_t red = 255;
uint8_t green = 0;
uint8_t blue = 159;
neopixel_init(&m_s... | [
"backupbrain@gmail.com"
] | backupbrain@gmail.com |
041ceee3baa4f079af9f0704d2a66ca58829b417 | f26c339df4516ac76f465aaaeb87d01cad6a857c | /ultrasonic/ultrasonic.ino | 68c5e188d1e264fffa3583cf0036078b247ff02a | [] | no_license | antrikshsrivastava/arduino-projects | d1a0d269c447071bd4e52080669753e0298cddfb | 6dac011d74e82b474f4e805d2e408af41674084d | refs/heads/master | 2021-01-21T11:07:59.194360 | 2015-02-18T14:12:34 | 2015-02-18T14:12:34 | 30,866,250 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | ino | /*
HC-SR04 Ping distance sensor]
VCC to arduino 5v GND to arduino GND
Echo to Arduino pin 13 Trig to Arduino pin 12
Red POS to Arduino pin 11
Green POS to Arduino pin 10
560 ohm resistor to both LED NEG and GRD power rail
More info at: http://goo.gl/kJ8Gl
Original code improvements to the Ping sketch sourced from Troll... | [
"darkblade4@gmail.com"
] | darkblade4@gmail.com |
14edc8ab58adbf85f0fce88f5875099edcd12acf | faacd0003e0c749daea18398b064e16363ea8340 | /modules/module.template.cpp | b20e76f256785403125704c0e3353e10c16f5c39 | [] | no_license | yjfcool/lyxcar | 355f7a4df7e4f19fea733d2cd4fee968ffdf65af | 750be6c984de694d7c60b5a515c4eb02c3e8c723 | refs/heads/master | 2016-09-10T10:18:56.638922 | 2009-09-29T06:03:19 | 2009-09-29T06:03:19 | 42,575,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | /*
* Copyright (C) 2008 Pavlov Denis
*
* Comments unavailable.
*
* 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 2 of the
* License, or any later version.
*
*/
... | [
"futurelink.vl@9e60f810-e830-11dd-9b7c-bbba4c9295f9"
] | futurelink.vl@9e60f810-e830-11dd-9b7c-bbba4c9295f9 |
eaf67cd113d7d2586d780f9d4e6e249856ccb845 | c7f811db6b8aee8e6a54c8a8e2b05564b122e58d | /example/pipes/accept.hpp | 89353f3db67821be96d933f71b23d1d614bd7dc9 | [
"BSL-1.0"
] | permissive | ricejasonf/nbdl | aa4592001e4b3875175dc5b6274013d6d5fc7e69 | ae63717c96ab2c36107bc17b2b00115f96e9d649 | refs/heads/master | 2023-06-07T20:33:54.496716 | 2020-07-14T03:11:44 | 2020-07-16T08:29:33 | 41,518,328 | 47 | 6 | BSL-1.0 | 2018-05-04T05:31:27 | 2015-08-28T00:39:52 | C++ | UTF-8 | C++ | false | false | 1,248 | hpp | //
// Copyright Jason Rice 2016
// 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)
//
#ifndef NBDL_EXAMPLE_PIPES_ACCEPT_HPP
#define NBDL_EXAMPLE_PIPES_ACCEPT_HPP
#include <asio.hpp>
#include <nbdl.hpp>
#include "c... | [
"ricejasonf@gmail.com"
] | ricejasonf@gmail.com |
eca1acae75af59550355f290f3a2405b9deb3816 | ab91c1368772e2ba39024d20021f3e2f28765fc1 | /SortSystem/DlgSortSystemSQL.cpp | 7f8f162b7c40ef90985e53999d91f2f5cdf18635 | [] | no_license | yuanhaosh/SortSystem | 48a957a1d0bdcf17c7dfa3d82b0f33df0fd3b270 | b14a73e909d156a5723a84bc68113905a78ec47c | refs/heads/master | 2016-09-05T09:13:34.228585 | 2015-08-06T10:50:05 | 2015-08-06T10:50:05 | 40,297,964 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,932 | cpp | // DlgSortSystemSQL.cpp : 实现文件
//
#include "stdafx.h"
#include "SortSystem.h"
#include "DlgSortSystemSQL.h"
#include "afxdialogex.h"
#include "DlgSortSystemOperater.h"
// CDlgSortSystemSQL 对话框
IMPLEMENT_DYNAMIC(CDlgSortSystemSQL, CDialogEx)
CDlgSortSystemSQL::CDlgSortSystemSQL(CWnd* pParent /*=NULL*/)
: CDialogEx... | [
"yuanhaosh@live.cn"
] | yuanhaosh@live.cn |
e901ddabce762a56887eda9349e78d15881efffb | ade2e355ca83c8ee6c6fc182602d725236c6ead3 | /headers/core/loaders/png_loader.h | 3d1f837e57ea2aedaa8ba54fa233ebad4ee6a2af | [
"MIT"
] | permissive | madwareru/mrl_2020 | 19ce9ee3f80d64a1eb9a36169358ce6e37f75b35 | 49ecccab8650135b55cd85bc9cc05727b4474cae | refs/heads/master | 2020-12-14T03:39:44.146134 | 2020-02-04T05:40:36 | 2020-02-04T05:40:36 | 234,625,487 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | #pragma once
#include <memory>
#include <string>
namespace core::render {
struct SOASpriteRGB;
struct SOASpriteRGBA;
}
namespace core::loaders {
std::shared_ptr<core::render::SOASpriteRGB> load_sprite_from_png_24(const std::string& memory_buffer);
std::shared_ptr<core::render::SOASpriteRGB> load_spri... | [
"madware.ru@gmail.com"
] | madware.ru@gmail.com |
25416603643dcedf07aefb940b71cb3a03a02488 | 7c370470ab01b36e2fd15887061e833770aeb76f | /Source/NewLife/Private/UMG/UWInteractiveObjectMark.cpp | aae192026f6163b53eeaf9a54b38e8919e168095 | [] | no_license | nik3122/NewLife | aba0cddd87ebfe378b96d25d87500edc81da9241 | dbb9ad39b47aedf1e125674f39e94be49eadef5c | refs/heads/main | 2023-07-14T12:16:16.100095 | 2021-09-02T02:16:27 | 2021-09-02T02:16:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | // Made By Park Joo Hyeong. This is my first Portfollio.
#include "UMG/UWInteractiveObjectMark.h"
#include "Components/Image.h"
void UUWInteractiveObjectMark::SetMarkDot()
{
Mark->SetBrushFromTexture(Dot);
}
void UUWInteractiveObjectMark::SetMarkCircleDot()
{
Mark->SetBrushFromTexture(CircleDot);
}
void UUWInter... | [
"ordy.farmer2@gmail.com"
] | ordy.farmer2@gmail.com |
f8c18fd8c3d922821bea2cfa738040a9bd33bfaa | a076a140aa44516cb099f57b519b33e380f10474 | /main.cpp | b5f037f66d9ab6f2ac384df451c9b5c21decbd23 | [] | no_license | Fokkksy/7.2_4sem | acc5b803699c649b6ba5e8b6d52288f766929900 | c159ee3bd16d9fb932816a312878565f9dab6e6a | refs/heads/master | 2023-03-27T23:44:27.077655 | 2021-03-25T19:16:44 | 2021-03-25T19:16:44 | 351,548,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362 | cpp | #include <algorithm>
#include <future>
#include <fstream>
#include <iostream>
#include <numeric>
#include <thread>
#include <vector>
#include "Timer.hpp"
class Threads_Guard
{
public:
explicit Threads_Guard(std::vector < std::thread >& threads) :
m_threads(threads)
{}
Threads_Guard(Threads_Guard const&) = delet... | [
"nikitin.vl@phystech.edu"
] | nikitin.vl@phystech.edu |
9441117bfd7d9ef25ee3640955994d38f36a8a1c | a2e82f378150528655eb27b3f471804041bf7a1c | /AtCoder/ABC/080/C/main.cpp | 77a6b85f3128638682014e52e9bd08805b837a9d | [] | no_license | HiromuOhtsuka/procon | 6c2192fa9b07637f0ef4bf9079d6db609fd367d0 | 184e3fa69c412fd883869c10b23b292f9bc73be1 | refs/heads/master | 2021-01-24T08:37:12.779999 | 2020-06-13T15:07:38 | 2020-06-13T15:07:38 | 58,292,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <iostream>
#include <climits>
#define INF (INT_MAX / 2)
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
int f[n][5][2];
for(int i = 0; i < n; i++){
for(int j = 0; j < 5; j++){
cin >> f[i][j][0];
cin >> f[i][j][1];
}
}
int p[n][11... | [
"multiverse.yume.a12@gmail.com"
] | multiverse.yume.a12@gmail.com |
186d00b3608bd567d9c9793be738d98c47bfc099 | eec3a013b04682301a3f72571f847f46f735a36d | /modelview/basicmodelsexample/DirWidget.cpp | 9e9654d82a76c10fd1428a291ae2db6998db41d7 | [] | no_license | tiger-tiger/qtPractice | e71eeb70d806b5f20dceaab5a24e94439ce42343 | da7418436f8a1b0c4bc0ff829f7e55bf4339453e | refs/heads/master | 2021-12-05T15:00:20.488163 | 2015-08-11T17:55:40 | 2015-08-11T17:55:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include "DirWidget.h"
DirWidget::DirWidget(QWidget* parent) : QWidget(parent){
QDesktopWidget d;
resize(d.height()*0.65, d.width()*0.65);
mLayout = new QGridLayout(this);
mDirModel = new QFileSystemModel;
mDirModel->setRootPath(QDir::currentPath());
top_left = new QListView;
top_right = new QListView;
button_... | [
"prego@usc.edu"
] | prego@usc.edu |
9e33043f0996412cb85ca50c3d9bc9c10bb804d2 | 9b54ae5d188ebd8281fa4a568622620b5432723b | /module04/ex02/AssaultTerminator.cpp | 0bcd4f7a42144026075329183c3b967a4872ebc9 | [] | no_license | mohit-ashar/CPP | 5796f907c19e9e5cf158723d76c681fedda8d031 | 9d7d0dd6930b77adf7155dbc10887ad91f86563a | refs/heads/master | 2021-05-17T11:30:22.383339 | 2020-05-07T13:10:53 | 2020-05-07T13:10:53 | 250,754,900 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include "AssaultTerminator.hpp"
AssaultTerminator::AssaultTerminator()
{
std::cout << "* teleports from space *" << std::endl;
}
AssaultTerminator::AssaultTerminator(AssaultTerminator const & a_terminator)
{
(void)a_terminator;
std::cout << "* teleports from space *" << std::endl;
}
Assau... | [
"mohitashar1995@gmail.com"
] | mohitashar1995@gmail.com |
b42a09627232d012f6f4c095a515193a8a9f5ef8 | aa08e9f491901a395a064e8b556aca7e851c90a3 | /BOJ/10000/17370.cpp | 4d73c8b3f6040f66fd5bbf36cb900648c1f9c848 | [] | no_license | SW0000J/PS | 90180df101f984236f89c423a348fd7f45d1a517 | f2b81e5a3a941537e532f440e1557b1eb2ae4d36 | refs/heads/main | 2023-07-03T19:56:37.087078 | 2021-08-10T13:51:12 | 2021-08-10T13:51:12 | 338,591,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | #include <iostream>
#include <algorithm>
#include <map>
using namespace std;
int N;
int ans = 0;
int dx[6] = { 0, 1, 1, 0, -1, -1 };
int dy[6] = { 2, 1, -1, -2, -1, 1 };
map<pair<int, int>, int> visit;
void dfs(int x, int y, int dirNum, int moveCount) {
if (moveCount == N) {
if (visit.find(make_pair(x, y)) != vis... | [
"64199550+SW0000J@users.noreply.github.com"
] | 64199550+SW0000J@users.noreply.github.com |
fba8eb2eff2a5ef2b15e27bf7151a2a130d39475 | 48d94294e1fffdcb2b79ffa123e039e4a0680ebb | /LowestCommonAncestorBST.cpp | abd8a8252a34dadafa363d83256b0ec3834597a0 | [] | no_license | saivempali/Competitve-Programming | 5c8ef75154b0e12def4746f821985fe83c1f917e | c7454becb5c7185297b15ae09f725870f19e7fca | refs/heads/master | 2021-01-10T04:35:01.151819 | 2017-03-21T04:52:20 | 2017-03-21T04:52:20 | 44,494,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | /*
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.
According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes v and w as the lowest node in T that has both v and w as descendants (where we allow a node to be a de... | [
"sai.vempali@gmail.com"
] | sai.vempali@gmail.com |
d0895ff9d468311acfce0d3e3d7a43a51fea339a | c98812885e4173fc57ef1a1fb43b92c119cb7daf | /src/p2p/base/port.cc | 0f2b2c668b46855772808ee1ef54f972624cc698 | [
"LicenseRef-scancode-google-patent-license-webrtc",
"BSD-3-Clause"
] | permissive | dusxmt/tg_owt | b42d1d420640445b4af99447582b7a72bb7b4386 | ceef372ff87c1b6b9ab925cb30ccd00388f8fe73 | refs/heads/master | 2023-05-02T08:04:47.410674 | 2020-09-10T11:18:39 | 2020-09-10T11:22:39 | 294,527,690 | 0 | 0 | BSD-3-Clause | 2020-09-10T21:35:52 | 2020-09-10T21:35:51 | null | UTF-8 | C++ | false | false | 33,797 | cc | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"johnprestonmail@gmail.com"
] | johnprestonmail@gmail.com |
2e93764b0a2b851d7adbccadf213459a430fe3ee | 3c91336750d4f1d98b621adb34ed81ea49fc6c13 | /leetcode/can-place-flowers.cpp | 9aa81c2f51469a65ebfb3ccee31639eb0b1f35e3 | [] | no_license | arnabs542/Algorithm-and-Data-Structure | 7c7bdbbac51c1d353df6b517e65454f587a4f76c | 1caeb66af82b27637922bdef647431068342726a | refs/heads/master | 2023-01-20T23:21:08.230209 | 2020-12-03T20:16:49 | 2020-12-03T20:16:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | //https://leetcode.com/problems/can-place-flowers/#/description
/*
Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and both would die.
Given a flowerbed (represented as an array containing 0 a... | [
"zhangruiskyline@gmail.com"
] | zhangruiskyline@gmail.com |
0af763d3ed4933b407453deb2e44c35f21dc947a | 04f15913aca8a702efe47962bf82b60eedad73d9 | /LibA/Analytics/Hyst.h | 4cac597638dfec262a76e3f1b6cb8621d67e64cc | [] | no_license | DevilCCCP/Code | eae9b7f5a2fede346deefe603a817027a87ef753 | 9cc1a06e5010bb585876056a727abad48bca3915 | refs/heads/master | 2021-10-07T17:04:27.728918 | 2021-09-28T06:49:50 | 2021-09-28T06:49:50 | 166,522,458 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,634 | h | #pragma once
#include <QVector>
#include <QString>
#include <QStringList>
const int kHystDefaultLength = 256;
const int kHystFastLength = 16;
const int kHystFastShift = 4;
class Hyst
{
const int mHystLength;
QVector<int> mHyst;
mutable int mTotalCount;
public:
int Length() const { r... | [
"DevilCCCP@gmail.com"
] | DevilCCCP@gmail.com |
68d17ad9f923c7d867333032df682fae864d465e | 8150a3b3c5bbee4192e4871ec3c0d12b7bbb127c | /BitBase/hash_trie_manager.hpp | aac8d1059099c7e18bb0a0d69ed3a0764d345584 | [
"MIT"
] | permissive | lorabit/BitBase | 661c4c3dc7cce7c2b4630c4fba7a8835d3783619 | 00d09e33d3e1db9b09ece7167e4019c54a9cd1fc | refs/heads/master | 2021-01-13T15:25:13.182480 | 2017-10-25T02:45:37 | 2017-10-25T02:45:37 | 80,085,981 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | hpp | //
// hash_trie_manager.hpp
// BitBase
//
// Created by lorabit on 18/03/2017.
// Copyright © 2017 lorabit. All rights reserved.
//
#ifndef hash_trie_manager_hpp
#define hash_trie_manager_hpp
#include "page_manager.hpp"
#include <stdio.h>
struct HashTrieNode{
int value;
int version;
TrieNodePositio... | [
"conglaiwubei@163.com"
] | conglaiwubei@163.com |
7b6f675eef3f9d9aa53bb03f4ba793d89264be0a | b9412984b1cf9be86620d43aeddd96f567ea9a57 | /07OOP_18040206HanDaeHyun/Chapter(7-8)/Chapter(7-8).cpp | a1189428245611e649ccf38eb402edcb3c255349 | [] | no_license | Daeja/techwing | cfbfb82268b7f0f33408fac972bdab73eef00da3 | ee7a5ce36a2e2dbe0c2fd4f97e7989aaec8b457b | refs/heads/master | 2020-03-13T04:34:18.945374 | 2018-04-25T07:20:59 | 2018-04-25T07:20:59 | 130,965,732 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,200 | cpp | #include "CLogger.h"
int main()
{
// char * pcFileNameExtension = "txt";
char * pcFileNameExtension = NULL;
CLogger logger(pcFileNameExtension);
char * pcContent1 = "J015::Tray Flow Feeder Up/Down Cylinder 가(이) (하강) 동작 이상입니다.";
char * pcContent2 = "Handler Running Stop";
char * pcContent3 = "Handler Running St... | [
"hyunx5@naver.com"
] | hyunx5@naver.com |
9ba632f7d8c8477f1a0f02ac91777a6f12d28906 | 4c0a8ba88c847c671703bd673027878a3858d5e0 | /src/main.cpp | 1d4092db8a7e44adf3493b198166b951dc2b112a | [] | no_license | pierrep/InteractiveOrchestra | 3a36561173f178cbe76149e29b5764ce23402603 | 8192a93eb2a4e47bc1c2bfc3847e7262b0be74fe | refs/heads/master | 2021-01-21T18:06:13.869264 | 2017-05-24T02:46:38 | 2017-05-24T02:46:38 | 92,013,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | #include "ofMain.h"
#include "ofApp.h"
//========================================================================
int main( ){
//ofSetLogLevel(OF_LOG_VERBOSE);
ofGLFWWindowSettings settings;
settings.setGLVersion(2, 1);
settings.multiMonitorFullScreen = true;
settings.width = 1920;
settings.he... | [
"Pierre Proske"
] | Pierre Proske |
6fdb25713458b343706163452d3465a2ce9b3595 | b171b3c12c620c932da230e0f1f6cb1da7f4a62b | /cpp/RemoveSortedList.h | cdf821e9f14da89573a78f771b55bd918142b680 | [] | no_license | WolkeDu/leetcode | 44865ff9caa97d0dcbf21ba48c056ae3540f3de5 | 4fa219525d64581e1ed77493c2c0fc6c15a4cbb0 | refs/heads/master | 2021-01-23T03:21:53.827519 | 2014-02-27T01:08:03 | 2014-02-27T01:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | h | #include <iostream>
// * Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
ListNode *deleteDuplicates(ListNode *head) {
// Start typing your C/C++ solution below
// DO NOT write in... | [
"duf3434@gmail.com"
] | duf3434@gmail.com |
36e2f25e8a8ad60633ee6455bbdade388bdaf9fc | 511e39f07fe444c9cab4c6eede13af8350289cdf | /src/Access/EnabledRowPolicies.h | b92939afb0300d508023ed51b65bce579e8ea618 | [
"Apache-2.0"
] | permissive | arenadata/ClickHouse | 6340526a53c9cf5900eb0e4d6fd3c93742145a3b | 1399ad1a29038c4e5e77401312631bce95b67f80 | refs/heads/master | 2023-08-17T01:23:49.007146 | 2020-07-21T11:48:19 | 2020-07-21T11:48:19 | 203,589,409 | 2 | 5 | Apache-2.0 | 2022-06-27T08:59:19 | 2019-08-21T13:24:20 | C++ | UTF-8 | C++ | false | false | 2,806 | h | #pragma once
#include <Access/RowPolicy.h>
#include <Core/Types.h>
#include <Core/UUID.h>
#include <boost/smart_ptr/atomic_shared_ptr.hpp>
#include <unordered_map>
#include <memory>
namespace DB
{
class IAST;
using ASTPtr = std::shared_ptr<IAST>;
/// Provides fast access to row policies' conditions for a specific ... | [
"vitbar@yandex-team.ru"
] | vitbar@yandex-team.ru |
4baafe0702bd9daf9f6cb4f2157353041292c3bb | 3b56423a34de9b4adae13d0fee4905609a9e2410 | /src/chain.h | 938ec4318f3f84ddde6e5b4ec3385acaafa0d2be | [
"MIT"
] | permissive | mulecore/mule | 5302db1cb6596475f9496495dba12b4d1cfd0d2c | 9b2d9bf0ffc47963b5c0ce9b760cfff757961533 | refs/heads/master | 2023-03-27T02:25:49.455321 | 2021-03-26T10:31:13 | 2021-03-26T10:31:13 | 351,247,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,564 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017-2020 The Mule Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MULE_CHAIN_H
#define ... | [
"mule@muleda.com"
] | mule@muleda.com |
4af4e274846b3122faf27b2a2ee668296e21faa2 | e79eae4bb55eeef08a2f8e28de8dcf2adba9c647 | /Source/Raymarcher.cpp | fdc5d87f0697beff582e950de9fa5743e7a235ee | [
"MIT"
] | permissive | Balajanovski/simple-raymarcher | ab1e080444eb20bb66740ef193e10b39819387cb | 9349c5e081a0d65b93e746d420b893f920af7b38 | refs/heads/master | 2022-04-04T08:41:12.822564 | 2020-02-19T00:16:00 | 2020-02-19T00:16:00 | 114,095,156 | 19 | 4 | MIT | 2018-01-05T05:10:16 | 2017-12-13T08:36:16 | C | UTF-8 | C++ | false | false | 7,066 | cpp | //
// Created by Balajanovski on 14/12/2017.
//
#include "Raymarcher.h"
#include "Geometry/Vec3f.h"
#include "Geometry/Vec4f.h"
#include "Geometry/Ray.h"
#include "Color.h"
#include "Constants.h"
#include "ConfigManager.h"
#include <cmath>
#include <iostream>
#include <thread>
const Color Raymarcher::FOG_COLOR = {... | [
"jbalajanbusiness@gmail.com"
] | jbalajanbusiness@gmail.com |
b5e090bc854eca3fd710ca8d3b54bcaab70669cd | 7e0d25090fa0329ed93d44da77b830ce52cc7a87 | /src/game/entities/basemonster.cpp | ec2f753982267fdafe404d5c50b9fa0eeb6dcee6 | [
"Zlib",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Micha0/ScMa | 4fae04c808fd4fe99c94d944abb6345370291a8c | 018b3d2b3273d0dbfad77269d53707caff24d85e | refs/heads/master | 2020-06-17T09:28:53.293080 | 2019-07-08T15:05:22 | 2019-07-08T15:05:22 | 195,880,143 | 0 | 0 | null | 2019-07-08T20:16:01 | 2019-07-08T20:16:01 | null | UTF-8 | C++ | false | false | 549 | cpp | #include "../game.h"
#include "basemonster.h"
namespace entities {
namespace classes {
BaseMonster::BaseMonster() : BaseMonster() {
//type = ENT_AI;
}
BaseMonster::~BaseMonster() {
}
void BaseMonster::preload() {
conoutf("%s", "Preloading playerstart entity");
}
void BaseMonster::think() {
//moveplaye... | [
"watisdeze2@gmail.com"
] | watisdeze2@gmail.com |
19183dbe0407d48cdb158a2d00a20a44d9ab8db9 | 2972fa31910a1a5d761e3938cd2e80e3a4ee5162 | /cita.cc | 96c134651304e225d6c90a75d996c5bee9dfd099 | [] | no_license | TheMatrix97/Practica-PRO2-2016 | 219d68d358531aaba3ec1bde8fa79466c07df80f | 9063a73809f45c5b27d5e7893693160b9f19c07d | refs/heads/master | 2020-12-25T10:58:42.052507 | 2016-07-02T11:21:23 | 2016-07-02T11:21:23 | 62,385,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cc | #include "cita.hh"
cita::cita(){
x = y = -1;
autor = "error";
titol = "error";
}
bool cita::afegir_cita(text t,int x, int y, string autor, string titol){
this->autor = autor;
this->titol = titol;
this->x = x;
this->y = y;
if(y <= t.consul_frases() and 1 <= x and x <= y){
for (int i = x - 1; i < y; ++i){
... | [
"marc@catrisse.net"
] | marc@catrisse.net |
8fb90be66d73c9e51dfedba34c6e29678ede8029 | 5b33cd78b42da7038f2313900913823873699420 | /src/CharHelper.h | 8194bb68cf0af0575cf76f04176c3ec5a9ad093d | [] | no_license | foxliveray/DBMS | af9941d6f2de7eb62fd404a2e9f1f6c0ce3ad91c | 810a45a924dfbf4b51ae02f86e96a2ad2225a5aa | refs/heads/master | 2021-01-20T02:53:52.108173 | 2017-06-21T14:28:15 | 2017-06-21T14:28:15 | 89,462,282 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 750 | h | #pragma once
class CharHelper
{
public:
CharHelper();
~CharHelper();
//将CString类型转化为char*类型
static void ToChars(char* p, CString s, const int nSize);
//将系统时间(SYSTEMTIME)类型转换成char*类型
static void ToChars(char* p, SYSTEMTIME t, const int nSize);
//将bool类型转化为char*类型
static void ToChars(char* p, bool b, const int nS... | [
"444638290@qq.com"
] | 444638290@qq.com |
28f5d8da3c6087baac6b6d9a257b9f6726f21a5e | d7a70833f2d3573d9eab615f69106de75ff644f1 | /A5/aabb.cpp | 67a8ad3741f2013912ad322286091745d9c56f1f | [] | no_license | JingxianFan/InteractiveCG | 8c3ffd01f3ff813a7b133b69df232a13a48d55f9 | 019fcfbe548d937b2b0b7d012270482b33bfc234 | refs/heads/master | 2021-01-21T21:19:35.970790 | 2017-06-19T20:49:42 | 2017-06-19T20:49:42 | 94,819,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | #include "aabb.h"
AABB::AABB(V3 firstPoint) {
corners[0] = firstPoint;
corners[1] = firstPoint;
}
void AABB::AddPoint(V3 newPoint) {
for (int i = 0; i < 3; i++) {
if (newPoint[i] > corners[1][i])
corners[1][i] = newPoint[i];
if (newPoint[i] < corners[0][i])
corners[0][i] ... | [
"jingxian0317@gmail.com"
] | jingxian0317@gmail.com |
36f2bc26ce9f14b5b0698ef61b809e40a619d48b | 331426c3acb53224f923275fd16d1937dc28de4d | /codes/DP/5.CountOfSubsetSum.cpp | e3fcae938694035a94795c5067e34839af9c3f66 | [] | no_license | ag-richa-13/Competitive-Coding | 63cc875b1afe2c5fde230e78880ebaaca1274707 | 2b2dcc75013a4f31f7ed5ae32bb02b7f58e43083 | refs/heads/master | 2023-04-05T12:54:16.340639 | 2021-03-28T09:15:20 | 2021-03-28T09:15:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | // Count of subsets with a given sum using Top down approach
// Question:
// Given an array A and sum s count the number od subsets whose sum is s
// Input:
// 1
// 6(N) 10(sum)
// A[] 2 3 5 6 8 10
// Output:
// 3
#include <iostream>
#include <algorithm>
using namespace std;
int subsetSumCount(int A[],int sum,in... | [
"krishna.gavas@gmail.com"
] | krishna.gavas@gmail.com |
304eecbf5e46213130942744e34ffab23f913a53 | 06d7e641e298d039eb4f3503f2235410668360f5 | /Tarea 23/struct5.cpp | 643ab8651b472cc537583abb56a181105a9bafe0 | [] | no_license | RiacardoBrandom/tarea-23 | 323ac96a4807543a3cbe76681971a23320c18ff2 | 3fb7e0d49329e8cbad11fe5d3d10447881e825f8 | refs/heads/master | 2021-08-26T06:37:28.103150 | 2017-11-21T20:49:42 | 2017-11-21T20:49:42 | 111,599,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "alumnos.h"
#include "info.h"
int main(int argc, char const *agrv[]){
appInfoData("struct","21/11/2017");
ALUMNO var1;
var1= nuevoAlumno();
//printf("Edad%d nombre:%s", var1.edad, var1.nombre);
imprime Alumno (var1);
ret... | [
"noreply@github.com"
] | noreply@github.com |
6789a384a654929908572f4f49ecaa3e159f7291 | f500169ca875b3d9b425b01ab72508e2ff18d0e1 | /code/phd/experiments.cpp | 7c949f53b932c069cc880a47cd45130207855e27 | [] | no_license | lukes611/phdThesis | 6d8f3dc8bce7279a35d2f90e926e659b7ce57f3d | fac297bf91361389b7c1d956bde0b2ebe5d2b73e | refs/heads/master | 2021-01-20T00:33:37.799808 | 2018-05-13T08:22:59 | 2018-05-13T08:22:59 | 64,813,150 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 15,975 | cpp | #include "experiments.h"
#include <fstream>
#include <ctime>
#include <string>
#include <cstdio>
#include <cstdlib>
using namespace std;
#include "../basics/Pixel3DSet.h"
#ifdef HASGL
#include "../basics/ll_gl.h"
#endif
#include "../basics/R3.h"
#include "../basics/llCamera.h"
#include "../basics/locv3.h"
using names... | [
"lukes611@gmail.com"
] | lukes611@gmail.com |
9babd328f2313d142654896abc2d980b30bb44d8 | 55b5034281a1e750632fd23974e33a9daea09de9 | /3rdparty/opencv-git/modules/core/test/test_dxt.cpp | 2e7bb38eaf749e400cfe80e225b6008a0035e7eb | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | joshjo/planecalib | f5fbca3a0f9899f5097c7025847c939f41ae4789 | 1d7cffac5cab39c7fbfb67e8e3a4b42340ef5e13 | refs/heads/master | 2020-04-16T08:08:28.523107 | 2019-02-18T11:19:08 | 2019-02-18T11:19:08 | 165,413,146 | 0 | 0 | NOASSERTION | 2019-01-12T17:02:34 | 2019-01-12T17:02:34 | null | UTF-8 | C++ | false | false | 24,647 | cpp | #include "test_precomp.hpp"
using namespace cv;
using namespace std;
namespace cvtest
{
static Mat initDFTWave( int n, bool inv )
{
int i;
double angle = (inv ? 1 : -1)*CV_PI*2/n;
Complexd wi, w1;
Mat wave(1, n, CV_64FC2);
Complexd* w = wave.ptr<Complexd>();
w1.re = cos(angle);
w1.im = s... | [
"daniel.herrera.castro@gmail.com"
] | daniel.herrera.castro@gmail.com |
6ce0e1389ba3deb0cd4295b94c10391e42e2cc41 | 4b430686ae824c78604e15818c4b864778468ca1 | /Library/Sources/Stroika/Foundation/Execution/Platform/POSIX/Users.cpp | 42094b71d3f48b6e608ca16b582d78569d7692aa | [] | no_license | kjax/Stroika | 59d559cbbcfb9fbd619155daaf39f6805fa79e02 | 3994269f67cd9029b9adf62e93ec0a3bfae60b5f | refs/heads/master | 2021-01-17T23:05:33.441132 | 2012-07-22T04:32:58 | 2012-07-22T04:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cpp | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved
*/
#include "../../../StroikaPreComp.h"
#include "../../../Memory/SmallStackBuffer.h"
#include "../../ErrNoException.h"
#include "Users.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Executi... | [
"lewis@RecordsForLiving.com"
] | lewis@RecordsForLiving.com |
20bdf02730c1f3bd89d42fb8b14770a0f896d600 | 2650018d43c862cfaed93a9f0c5ab0aa0ddbeed2 | /include/GameObject.hpp | 679589526197b2da88cb00a6c246166aa52bf818 | [
"Unlicense"
] | permissive | jwhang627/Untitled-SDL2-Game | bd5ad037ed59cd4a1fad560b7c0b4c23ead956b0 | bfd937445c3f24062a50ac996901a5affe231f3b | refs/heads/master | 2023-01-10T21:52:20.373726 | 2020-11-13T08:46:50 | 2020-11-13T08:46:50 | 311,678,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | hpp | #pragma once
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <iostream>
#include "Math.hpp"
class GameObject
{
public:
GameObject(Vector2f p_pos, int p_w, int p_h, const char* p_filePath, SDL_Renderer* p_renderer);
//~GameObject();
Vector2f& getPos(){
return pos;
}
SDL_Texture* getTexture()... | [
"jaywhang627@gmail.com"
] | jaywhang627@gmail.com |
4fee26494cb20be0a73a51610f3e7f9629f93ed3 | 382130ce40d1eb3e3c44ca16771cf38f83faf60a | /std-template/vector.cpp | 2cb6ca40b1462ff7ca7b7b3b0b9780305636d1aa | [] | no_license | archdoor/cpp-program | 42b458c17af89454053f60535d0c67d2c3517e08 | b415b1060f8db254725750162963e36068aeb5b4 | refs/heads/master | 2020-12-02T22:10:55.475639 | 2017-07-06T10:05:11 | 2017-07-06T10:05:11 | 96,060,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cpp | /*
* vector : 矢量,与数组对应
*
*
*
*
*/
#include <iostream>
#include <vector>
#include <iterator>
#include <assert.h>
int main()
{
// 0. 创建空矢量对象
std::vector<int> v0;
assert(v0.empty());
// 1. 创建含有3个元素的矢量对象,元素值0(默认)
std::vector<int> v1(3);
std::cout << "v1 = ";
std::copy(v1.beg... | [
"archdoor@outlool.com"
] | archdoor@outlool.com |
df0db99353344d8ee767624cf2feb11f5a3e4974 | 251aaf143dab1a24322cd47416e2a14de76bf773 | /STM32F469_Controller/Source/TouchGFX/TouchGFX/generated/texts/src/TypedTextDatabase.cpp | 3e3948d971be061c4041c97b63cd8413e200ff90 | [
"Zlib"
] | permissive | ftkalcevic/DCC | fddc7de6cc6c2c4b758451c444f7cc0131897224 | b68aebab35423f21e0a6a337c11d967f6f8912a2 | refs/heads/master | 2022-12-10T12:24:52.928864 | 2020-07-30T08:16:46 | 2020-07-30T08:16:46 | 121,176,875 | 0 | 0 | null | 2022-12-08T10:16:01 | 2018-02-11T23:12:08 | C | UTF-8 | C++ | false | false | 4,608 | cpp | /* DO NOT EDIT THIS FILE */
/* This file is autogenerated by the text-database code generator */
#include <touchgfx/TypedText.hpp>
#include <fonts/GeneratedFont.hpp>
#include <texts/TypedTextDatabase.hpp>
extern touchgfx::GeneratedFont& getFont_Asap_Regular_80_4bpp();
extern touchgfx::GeneratedFont& getFont_Asap_Regu... | [
"frank@franksworkshop.com.au"
] | frank@franksworkshop.com.au |
b5e5411ca387d4864e32d9a4c4a1831f05509299 | c2a3f7bea93aa4f9b64071d94e26e34bf4475f7a | /llpe/main/Shadows.cpp | adf1cdb3536c5fe38ec7c88518481ad4c2b8cddd | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | waywardmonkeys/llpe | b1ce41605f99eb1f85e1833c216ffd99f015f755 | ff7968b059883f0cdbfac590d1dfe0c6307f0bd0 | refs/heads/master | 2020-12-03T05:14:24.778976 | 2015-04-12T23:08:32 | 2015-04-12T23:08:32 | 33,902,421 | 0 | 0 | null | 2015-04-14T00:54:10 | 2015-04-14T00:54:10 | null | UTF-8 | C++ | false | false | 26,261 | cpp | //===- Shadows.cpp --------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//... | [
"cs448@cam.ac.uk"
] | cs448@cam.ac.uk |
c35c54ae8ffd5d2835b8a70165822dedb5a563f1 | fa10b09a97fe199a1a4534a2e4b66eef85233bbc | /param/BracketPolicy.cpp | 89c35ea671814effc4d17bf133d719769cd0107d | [] | no_license | dmorse/util | 0f53cb0431afb707973f563f27d6e8d155816481 | 928110f754aae7e7ba494b8fe31abc0cac40b344 | refs/heads/master | 2022-12-13T10:00:09.113704 | 2022-12-11T17:37:04 | 2022-12-11T17:37:04 | 77,802,805 | 2 | 1 | null | 2022-08-09T18:24:27 | 2017-01-02T00:23:03 | C++ | UTF-8 | C++ | false | false | 802 | cpp | /*
* Util Package - C++ Utilities for Scientific Computation
*
* Copyright 2010 - 2017, The Regents of the University of Minnesota
* Distributed under the terms of the GNU General Public License.
*/
#include "BracketPolicy.h"
namespace Util
{
// Anonymous namespace for private quasi-static variables
namesp... | [
"morse012@umn.edu"
] | morse012@umn.edu |
accddebdf21968872866c90305fba10f8bf0532b | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/media/mojo/interfaces/renderer.mojom.h | 57cd784bb4023d5f0057a7f15303895c800cceff | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,196 | h | // Copyright 2013 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 MEDIA_MOJO_INTERFACES_RENDERER_MOJOM_H_
#define MEDIA_MOJO_INTERFACES_RENDERER_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <type_tra... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
c7e2b4e450a68ef60b02bcdda6179b263be4a1eb | c287f063100e0ddb29bcf27e9f901b914cca0f2e | /thirdparty/qt53/include/QtXmlPatterns/5.3.0/QtXmlPatterns/private/qabstractfloat_p.h | 6621755a8bc70ffc660f4794dc93d615842b09db | [
"MIT"
] | permissive | imzcy/JavaScriptExecutable | 803c55db0adce8b32fcbe0db81531d248a9420d0 | 723a13f433aafad84faa609f62955ce826063c66 | refs/heads/master | 2022-11-05T01:37:49.036607 | 2016-10-26T17:13:10 | 2016-10-26T17:13:10 | 20,448,619 | 3 | 1 | MIT | 2022-10-24T23:26:37 | 2014-06-03T15:37:09 | C++ | UTF-8 | C++ | false | false | 5,850 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | [
"zcy920225@gmail.com"
] | zcy920225@gmail.com |
d32bcdcf8ef62a35d329b47ecba5d48e1ae76cdd | 1e0648928bda5de1cec58cc0a850faf4731f4ab7 | /Chapter 3/Exercise 3.39.cpp | e41acde075e1da1d3891dab14136df8c256ccfda | [] | no_license | LabibAhmed0101/CPP_Primer-Ex | 94a54ab441ce3ef5866306e1dae4fd04b2562e4d | 537cd53cb1fb03e9a21fa6ca2cb6a9d613756970 | refs/heads/master | 2021-01-19T09:46:03.581594 | 2018-12-06T03:39:21 | 2018-12-06T03:39:21 | 87,779,970 | 0 | 0 | null | 2017-04-10T07:35:40 | 2017-04-10T07:27:02 | null | UTF-8 | C++ | false | false | 3,277 | cpp | /*Exercise 3.39:
Write a program to compare two strings. Now write a
program to compare the values of two C-style character strings.*/
//a)Program to compare two strings (using string library).
#include<iostream>
#include<string> //Includeded to use string library.
using std::cout;
using std::cin;
using std::end... | [
"noreply@github.com"
] | noreply@github.com |
117a31245c0af9abe2875898d88670e78722d717 | f33876f335f3bdc9d51b0f37930b4fe4a7827ee7 | /Messages/Windows/MainWindowGrid.cpp | 92b6969cf7df69ecd3b48a796fdf552c898a0b1b | [] | no_license | andreyV512/pump_rods | 003f7e81d8d911fdcf2dba4e553a5c67b508df60 | f22ee534429151ca79df945636e5c3b94ec6380b | refs/heads/master | 2021-07-08T14:09:41.754902 | 2020-10-06T05:29:41 | 2020-10-06T05:29:41 | 188,955,859 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,041 | cpp | #include "stdafx.h"
#include "MainWindowGrid.h"
#include "tools_debug/DebugMess.h"
#include "Log\LogBuffer.h"
//------------------------------------------------------------------------
extern HINSTANCE hInstance;
//------------------------------------------------------------------------
template<class T>struct h... | [
"jdoe@email.com"
] | jdoe@email.com |
5d9993519ed96bf1b7b5861cca9712acf8bc7092 | 5711e2f3519b7076ed204ec56baf0413b24819ba | /Project 2/ComplexNumber.cpp | 5b264b1faa1cec31dcdeac429a4827122c90c74d | [] | no_license | BiermanM/Computer-Science-II-Projects | 16b6955ecef9a99d798d3ebe2e2a1193ab04d5bb | 72902c9091a3b61aebaf8a4cba2b9236d24add7c | refs/heads/master | 2021-09-01T00:17:00.030820 | 2017-12-23T18:57:57 | 2017-12-23T18:57:57 | 76,517,297 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,863 | cpp | /*
Assignment: Project #2
Author: Matthew Bierman
NetID: mbb160030
Course: CS 2336.004 (Computer Science II)
Instructor: Mr. Jason Smith
Date Due: October 3, 2016 at 11:59pm
*/
#include "ComplexNumber.h"
#include <cmath>
#include <iostream>
#include <fstream>
#includ... | [
"noreply@github.com"
] | noreply@github.com |
6590a0d8a1e381e7e7a6e7c5caebe65f4c72c173 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /chrome/browser/ui/views/find_bar_host_interactive_uitest.cc | 5cf31f080350511de3162f1da0c351879306aaf4 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,286 | cc | // Copyright (c) 2011 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 "base/process_util.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/tabs/tab_strip_model.h"... | [
"plind@mips.com"
] | plind@mips.com |
b3835bd4ddcdb25502c39e4bae7d9e8e0d68418c | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir18144/dir18298/file18322.cpp | 48c339d0b3063e05708a9f49bfe69e9ffafcd36f | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file18322
#error "macro file18322 must be defined"
#endif
static const char* file18322String = "file18322"; | [
"tgeng@google.com"
] | tgeng@google.com |
b88a111c150449d41814911324fde19ee0ebf5b9 | cae9161d77926313e0062333dd1e76784b112765 | /classes/info_bar.cpp | e931f09b85fd1e28fa1f45fa3bcb34fea82578de | [] | no_license | yury-dymov/legacy_l2tradebot | 9cbd0f94da8fc3ed7239715c5b349e0ee6689277 | 914671cdd31a884020a531ec86915d4a09de7523 | refs/heads/master | 2021-01-10T01:11:08.096960 | 2016-08-12T17:23:11 | 2016-08-12T17:23:11 | 55,140,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | cpp | #include "info_bar.h"
InfoBar::InfoBar ()
{
this->setHeaderLabel ("Objects");
this->setMinimumWidth (240);
QStringList list;
this->addTopLevelItem (new QTreeWidgetItem (QStringList ("NPC")));
this->addTopLevelItem (new QTreeWidgetItem (QStringList ("Players")));
this->addTopLevelItem (new QTreeWidgetItem (QStrin... | [
"yury@dymov.me"
] | yury@dymov.me |
97f4de1a7e8fe05410a82e9bc261c94acfe12fb1 | 72dae4abb89cbf1c8d2d4aef5e677dbd3d74cd6f | /android-11/external/libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp | 24d2f8002d6cd0e043ac481656c6b8ad833b6cbd | [
"NCSA",
"MIT",
"Apache-2.0"
] | permissive | MrIkso/sdk-tools | aebb05a86e379d2883bae31f4620bcd73d832305 | 53b34cdaca0b94364446f01b5ac3455773db3029 | refs/heads/master | 2023-07-28T21:18:28.712877 | 2021-09-27T06:00:17 | 2021-09-27T06:00:17 | 309,805,035 | 7 | 3 | Apache-2.0 | 2021-09-27T06:00:18 | 2020-11-03T20:56:00 | C++ | UTF-8 | C++ | false | false | 1,062 | cpp |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------------... | [
"solod9362@gmail.com"
] | solod9362@gmail.com |
eea8002478eaaccf2378424bca4bfc39d45fc323 | 3ff145e1a00c9d4a926c634aec3357885e7dc0f5 | /include/networkit/algebraic/CSRGeneralMatrix.hpp | a328eefe6cb625c82c027f0709f20a1799032045 | [
"MIT"
] | permissive | Dipsingh/networkit | f9c569b30e8fa40ce677eac8d5a71add53998457 | e2ebbff66d3fc83384e9e765b767ab320202220f | refs/heads/master | 2023-06-25T13:53:11.048548 | 2021-07-17T08:33:25 | 2021-07-17T08:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,580 | hpp | /*
* CSRGeneralMatrix.hpp
*
* Created on: May 6, 2015
* Authors: Michael Wegner <michael.wegner@student.kit.edu>
* Eugenio Angriman <angrimae@hu-berlin.de>
*/
// networkit-format
#ifndef NETWORKIT_ALGEBRAIC_CSR_GENERAL_MATRIX_HPP_
#define NETWORKIT_ALGEBRAIC_CSR_GENERAL_MATRIX_HPP_
#include <... | [
"eugenio.angriman@informatik.hu-berlin.de"
] | eugenio.angriman@informatik.hu-berlin.de |
67b66da9cd02cc0726670fe15cabaae56d6a394a | eec151469db7aaf57a590d4f448f9a91402ca58b | /C++STL/algorithms/magiciansalgo.cpp | 069363dd68930ced265ed439c0c51f91e465bc76 | [] | no_license | VivanVatsa/c-collection | bf0a37261095bc28871568b7d04d84f9fde7f48c | 53317863911566257669f247609d6369ba0c4420 | refs/heads/master | 2020-12-26T21:06:24.106467 | 2020-12-10T05:41:07 | 2020-12-10T05:41:07 | 237,642,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,397 | cpp | /*
Non-Manipulating Algorithms
sort(first_iterator, last_iterator) – To sort the given vector.
reverse(first_iterator, last_iterator) – To reverse a vector.
*max_element (first_iterator, last_iterator) – To find the maximum element of a vector.
*min_element (first_iterator, last_iterator) – To find the... | [
"VivanVatsa@users.noreply.github.com"
] | VivanVatsa@users.noreply.github.com |
6abadb9d36fbb1c9fa388c52fc78c61cb57213a6 | 20d6276f77e34804b6b582886cff8de31a43801a | /Sample/BasicSample/sample_cpp/Texture/Texture_Edit.cpp | 182e75a406b3cae2b39b7cf8b2116f63e339a365 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"Libpng",
"GD",
"IJG",
"Zlib",
"BSD-3-Clause",
"MIT",
"MS-PL",
"Apache-2.0"
] | permissive | altseed/Altseed | 359edb9cee76244e9aeb13a068f9452dcff7ac4a | eb43a216cdb48ba686abcc897f8327df5b4f184c | refs/heads/master | 2021-07-12T19:30:15.157041 | 2020-04-26T09:39:49 | 2020-04-26T09:39:49 | 13,886,553 | 38 | 14 | NOASSERTION | 2019-07-28T08:32:27 | 2013-10-26T16:13:59 | C | UTF-8 | C++ | false | false | 1,553 | cpp |
#include <Altseed.h>
/**
@brief 読み込まれた画像を編集するサンプル
*/
void Texture_Edit()
{
// Altseedを初期化する。
asd::Engine::Initialize(u"Texture_Edit", 640, 480, asd::EngineOption());
// 画像を編集可能な状態で読み込む。
std::shared_ptr<asd::Texture2D> texture =
asd::Engine::GetGraphics()->CreateEditableTexture2D(u"Data/Texture/Picture1.png");... | [
"swda.durl@gmail.com"
] | swda.durl@gmail.com |
9cdf588913f2b85b723d776b368e481618e38fcc | 2ea893c59e4be5646eb4b92f1047274cc3af9ab6 | /fun1/fun11.cpp | 0df8820b71dc1aab317f90567c3e6dd2aa9e926d | [] | no_license | JonasHyllengren/FridayFun | 71258d5a60c8ffa402651e30e6914f33f578e753 | 4d0647d3947ec5c02c55eeeec4c4b300de5e89ef | refs/heads/master | 2020-03-15T13:24:31.217797 | 2018-05-07T19:10:37 | 2018-05-07T19:10:37 | 132,165,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | #include <iostream>
using namespace std;
struct X{
X(){cout<<"Start!\n";};
~X(){cout<<"End!\n";};
} x;
int main()
{
cout << "Hello!\n";
} | [
"jonas.hyllengren@gmail.com"
] | jonas.hyllengren@gmail.com |
acf9db8b0a4bac9a394654cb03982608b785cc1d | ee083d3ae978e770ee403d452aa9fdfb50e9f3ef | /vc/第3章 標準関数の極意/func209.cpp | 56da863ff49a60ab0268c885bb3c5ff86dc60f44 | [] | no_license | moonmile/gyakubiki-cpp | be0b0c704cf2592564fb37b596e86ca74e51b52f | b18ea7628e388a7a36cabda1a5b7af642b1b3967 | refs/heads/master | 2020-03-21T04:46:33.673723 | 2018-06-21T06:07:35 | 2018-06-21T06:07:35 | 138,126,465 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 295 | cpp | #include <stdio.h>
#include <string.h>
void main( void )
{
char src[] = " world";
char dest[100];
char *p;
strcpy( dest, "Hello" );
printf( "追加する前: [%s]\n", dest );
p = strcat( dest, src );
printf( "追加した後: [%s]\n", dest );
printf( "戻り値: [%s]\n", p );
}
| [
"masuda@moonmile.net"
] | masuda@moonmile.net |
28fee0dde7ad3ccd9a87744707f92a5d85aab7e1 | e50c719c6f68b213702b3dba37788e27efbe5383 | /Academy+Moldova(Ecole 42)/Piscine_CPP/Day02/Exercises/ex01/Fixed.hpp | 67708a07101593b14af9bdd9769981fc5c6c039a | [] | no_license | user3max/Tutorials-and-Courses | 1be52de7b01768ac2b4cb37fae2e68e3249f753e | 41ba25b6d0956501444f1be8f8681c9577749340 | refs/heads/master | 2020-03-25T18:22:40.768061 | 2018-11-12T07:54:15 | 2018-11-12T07:54:15 | 144,027,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | hpp | //Fixed.hpp by Carp-Bezverhnii Maxim
#ifndef FIXED_HPP
# define FIXED_HPP
#include <iostream>
#include <cmath>
class Fixed {
int _fixPointVal;
static const int _fracBits = 8;
public:
Fixed();
~Fixed();
Fixed(const Fixed&);
Fixed(int const param);
Fixed(float const param);
Fixed & operator=(Fixed const ... | [
"maxymyn@gmail.com"
] | maxymyn@gmail.com |
410c9e9c62fc0a1cda3733fcc45ccdbc522ab10d | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /atCoder/Beginner Contests/Beginner Contest 153/B.cpp | e08436e1f10596aa127510453ee77605330267c0 | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 334 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
ll h, n, a[100007];
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> h >> n;
ll ans = 0;
for(ll i = 0; i < n; ++i) {
cin >> a[i];
ans += a[i];
}
if(ans >= h) cout << "Yes\n";
else cou... | [
"switchpiggy@users.noreply.github.com"
] | switchpiggy@users.noreply.github.com |
39b1921ab03ac3e81be8e965982e4e23ca5b3e3b | 7b79b6f0a96554ac41aba7b739b9bd93b3f57c45 | /A1031.cpp | 0ba0d8ea001f88e81a3fef7837e0554480b7099c | [] | no_license | lrscy/PAT | f80ff57995821b493e8b98c72de56cdf13ab8994 | 831bb1f462aad5a6d4ab622bc04c4393832df868 | refs/heads/master | 2021-01-10T07:38:08.739617 | 2016-02-24T15:23:21 | 2016-02-24T15:23:21 | 52,203,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MAXN = 100;
char s[MAXN], space[MAXN];
int n, n1, n2;
int main() {
int p1, p2;
scanf( "%s", s );
n = strlen( s );
n1 = ( n + 2 ) / 3;
n2 = n - 2 * n1;
--n1; p1 = 0; p2 = n - 1;
for( int i = 0; i < n2; ++i ) space[i] = ' ';
for( int i = 0; i < n1; ++i ) {... | [
"ruosenlee@gmail.com"
] | ruosenlee@gmail.com |
7e0fe55dce6bbd0e7635d85f47a4a514e26b8578 | 79aa77bab657403419e51e9679447f17a35dd9d8 | /AStarThreading/Renderer.h | 4e34032d2bf0d148c1ec35cd9bc8d384dafdf104 | [] | no_license | OloinMilsom/AStarThreading | e1b940ad455f24d6d87a3777636596027004f4ef | 8928d810bdfc0ed32daaf1e835baf9da3a1bf872 | refs/heads/master | 2021-01-10T23:53:16.542418 | 2016-12-15T10:01:06 | 2016-12-15T10:01:06 | 70,791,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | h | #pragma once
#include "SDL.h"
#include "BasicTypes.h"
//Responsible for all drawing operations
//abstracts away specfic SDL specific drawing functions
class Renderer {
// size of window in pixels
Size windowSize;
//position of window in world coordinates
//change these if you want to zoom or pan
Vector2 viewpo... | [
"keporagebora@gmail.com"
] | keporagebora@gmail.com |
bf98abad1064e09930cd561bcf6ea1120012672c | ef49df57d210b73c3bf51de23ba1c7d5f2976ac8 | /tools/LinkDef.hh | 1e9bcbb18bf08f984329a3033abf5f210fdba869 | [] | no_license | nardinan/firefly | 9240fd79f5ee4c5ee736e884c117c8ef6a95365a | 1d7b14d3dce3febe79b3352bf87520585949d15f | refs/heads/master | 2020-05-18T03:55:27.460750 | 2019-10-20T17:10:44 | 2019-10-20T17:10:44 | 13,866,903 | 1 | 0 | null | 2013-12-09T12:56:43 | 2013-10-25T17:10:37 | C | UTF-8 | C++ | false | false | 212 | hh | #ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class Cluster+;
#pragma link C++ class Event+;
#pragma link C++ class RHClass+;
#endif
| [
"andrea@nardinan.it"
] | andrea@nardinan.it |
6153a59edfa3a26982d781c0697ad9c59761a4a9 | c8c2a8123767c96bcb8aa30ade57368f7e1e6379 | /cpp_module_00/Warlock.hpp | a6efde3b023955d100b5be1a0dfb910e7b33bb00 | [] | no_license | mondrew/examrank05 | 3ffdcb57eacb4335b976e798abbe1e429b0bc019 | 5c7b813f2a9d4593c49e8fc127cee8ea71c924ac | refs/heads/master | 2023-06-15T16:16:00.760594 | 2021-07-09T22:15:18 | 2021-07-09T22:15:18 | 329,066,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | hpp | #ifndef WARLOCK_HPP
# define WARLOCK_HPP
# include <string>
class Warlock {
private:
std::string _name;
std::string _title;
Warlock(void);
Warlock(Warlock const &src);
Warlock &operator=(Warlock const &rhs);
public:
Warlock(std::string const &name, std::string const &title);
~Warlock(void);
... | [
"andreib2510@yandex.ru"
] | andreib2510@yandex.ru |
78902892e1a97cc2bc0c837591503a3d373a714e | c3550125ff2dac0a07e5e50063f5aa44fd28e649 | /Chapter05/Chapter05/ReadXMLandYAML5_6.cpp | d98e1dbb83b88db7af11f012b9365fe838f53270 | [
"MIT"
] | permissive | maskmind/OpenCV-Learning-Scripts | 767d4075b98360b9f6e45b832e393a587fc95e1d | dd45eada1f7c62ce5553ec0662439e5fe5fa1d7c | refs/heads/master | 2022-11-16T17:44:55.716464 | 2020-07-16T10:19:14 | 2020-07-16T10:19:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,082 | cpp | ////--------------------------------------【程序说明】-------------------------------------------
//// 程序说明:《OpenCV3编程入门》OpenCV2版书本配套示例程序30
//// 程序描述:XML和YAML文件的读取
//// 开发测试所用操作系统: Windows 7 64bit
//// 开发测试所用IDE版本:Visual Studio 2010
//// 开发测试所用OpenCV版本: 2.4.9
//// 2014年06月 Created by @浅墨_毛星云
//// 2014年11月 Revised by @... | [
"834165695@qq.com"
] | 834165695@qq.com |
4095967fafd8c244e8920b6ccdd4c058c15fe940 | 3b97b786b99c3e4e72bf8fe211bb710ecb674f2b | /TServer/TMapSvr/UdpSocket.h | 8b11d3d6782541d8c0791be527da838080a20df8 | [] | no_license | moooncloud/4s | 930384e065d5172cd690c3d858fdaaa6c7fdcb34 | a36a5785cc20da19cd460afa92a3f96e18ecd026 | refs/heads/master | 2023-03-17T10:47:28.154021 | 2017-04-20T21:42:01 | 2017-04-20T21:42:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,172 | h | /*
* UdpSocket.h
*
* For Send to LogServer
*/
#ifndef _UDPSOCKET_H_
#define _UDPSOCKET_H_
#include <LogPacket.h>
/*
* CUdpSocket
*/
class CUdpSocket
{
public:
CUdpSocket();
~CUdpSocket();
private:
SOCKET m_SendSock;
SOCKADDR_IN m_LogAddr;
CRITICAL_SECTION m_LogLock;
CHAR* m_lpLogBuf;
INT m_... | [
"great.mafia2010@gmail.com"
] | great.mafia2010@gmail.com |
61d8be9a36c77e6a23bdbf7109f718c3fcc9187e | 720fde4499c86b45e651fdba0b9db1280d0ee935 | /src/masternode.h | 2f31257d0bb103f9812f806a69c8bb321e0c5431 | [
"MIT"
] | permissive | wolfxpack/wolf | 171760e94c2fd2a2e0f7de940f656a756145c7a9 | 47b57381dc93bfb150be76cc6d288daffd1c37e6 | refs/heads/master | 2020-04-21T17:30:14.399335 | 2019-02-25T01:03:50 | 2019-02-25T01:03:50 | 169,737,526 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,086 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_H
#define MASTERNODE_H
#include "key.h"
#include "validation.h"
#include "spork.h"
class CMasternode;
c... | [
"eledger102@gmail.com"
] | eledger102@gmail.com |
a5cc9301ca60d1fd9b352ecced58b0bf13c75cac | 70441dcb7a8917a5574dd74c5afdeeaed3672a7a | /AtCoder Beginner Contest 165/B - 1%/main.cpp | 7ad608f31c331f8fc47bc1e25bce286c808c53a9 | [] | no_license | tmyksj/atcoder | f12ecf6255b668792d83621369194195f06c10f6 | 419165e85d8a9a0614e5544232da371d8a2f2f85 | refs/heads/master | 2023-03-05T12:14:14.945257 | 2023-02-26T10:10:20 | 2023-02-26T10:10:20 | 195,034,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include <iostream>
using namespace std;
int main() {
long long x;
cin >> x;
int res = 1;
for (long long i = 101; i < x; i += i / 100) {
res++;
}
cout << res << endl;
}
| [
"33417830+tmyksj@users.noreply.github.com"
] | 33417830+tmyksj@users.noreply.github.com |
3bab011229b0581bad2f68d3f68b0952b2378c77 | af75d3f56135742f48cd2607861a32033fd53980 | /Complex类的成员函数.cpp | ce1b37ca547e90782506c82714b12fa6d24ed38b | [] | no_license | royalneverwin/Programming_Practice | 0f5f6ec570cba6ce16a4b7bb47206f50c1ecdbeb | c617efa2cf2b82ecbeda8f4b7e74470015c38bb0 | refs/heads/main | 2023-06-08T21:31:32.333734 | 2021-07-04T02:27:18 | 2021-07-04T02:27:18 | 350,348,227 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
using namespace std;
class Complex {
private:
double r,i;
public:
void Print() {
cout << r << "+" << i << "i" << endl;
}
Complex & operator = (const char *s){
char sCopy[10];
char *start = sCopy;
strcpy(sCopy, s);... | [
"55973858+royalneverwin@users.noreply.github.com"
] | 55973858+royalneverwin@users.noreply.github.com |
692743110f5e087a337162a72ee42c339ececea4 | cdc72c5fa1123401c92bf42680297d591d6f7481 | /hw11/hidtest.cpp | 69e7e57d0698fbd65ac4cddb30483045fce5fcba | [] | no_license | ritwik1993/me433_homework | af53f2643e87bcc37778deffb364b7799edbed84 | ba15461a032713ff9d300ad78b87cc91347a1395 | refs/heads/master | 2020-12-11T01:38:13.669994 | 2015-06-10T20:23:14 | 2015-06-10T20:23:14 | 33,282,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | cpp | #ifdef WIN32
#include <windows.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "hidapi.h"
#define MAX_STR 255
int main(int argc, char* argv[])
{
int res;
unsigned char buf[65];
char message [50];
int row;
wchar_t wstr[MAX_STR];
hid_device *handle;
int i=0;
short ax[1000],ay[1000... | [
"ritwik1993@gmail.com"
] | ritwik1993@gmail.com |
d31577a2a20a75c17a57176097628ee89825d637 | 78bd0a479738903371b88c75625278a668907521 | /audibot/audibot_gazebo/src/AudibotInterfacePlugin.cpp | a2022614bad46a32fac593dbb87bb79f41f063ef | [
"BSD-2-Clause"
] | permissive | TorBorve/Navigation | 8e6f8eaa5d9c091f41644e679a1e68aab760f789 | ea644021943222f8f112e22e2daf01148246b03b | refs/heads/master | 2023-07-28T21:59:39.035191 | 2021-09-14T16:39:10 | 2021-09-14T16:39:10 | 369,610,517 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,043 | cpp | #include <audibot_gazebo/AudibotInterfacePlugin.h>
namespace gazebo {
AudibotInterfacePlugin::AudibotInterfacePlugin() {
target_angle_ = 0.0;
brake_cmd_ = 0.0;
throttle_cmd_ = 0.0;
gear_cmd_ = DRIVE;
current_steering_angle_ = 0.0;
rollover_ = false;
}
void AudibotInterfacePlugin::Load(physics::ModelPtr m... | [
"rasmustor18@gmail.com"
] | rasmustor18@gmail.com |
beb56fb6c2965061f3413c651fe5334973da9e68 | fdb63531719c0bf9e4c4593bf7e55ffc0936a93e | /09. Linked List/06. Unfold a folded LL.cpp | 690a476f95797ccab96d57a77ec1a0ce20d0133f | [] | no_license | ashishmohapatra2703/DSA-practice-questions | aec9ca4aa4e619dd5f754088f87fdf142f4049a5 | 791f84fa01fb3156cb0e77da09428eb0b38649d8 | refs/heads/master | 2023-08-16T05:54:33.627700 | 2021-10-17T17:26:28 | 2021-10-17T17:26:28 | 367,565,132 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | /*A linked list L0 -> L1 -> L2 -> ….. -> LN can be
folded as L0 -> LN -> L1 -> LN – 1 -> L2 -> …..
Given a folded linked list, the task is to unfold and print the original linked list
Input: 1 -> 6 -> 2 -> 5 -> 3 -> 4
Output: 1 2 3 4 5 6
Input: 1 -> 5 -> 2 -> 4 -> 3
Output: 1 2 3 4 5 */
ListNode* reverse... | [
"ashishmohapatra2000@gmail.com"
] | ashishmohapatra2000@gmail.com |
e2baa5b086d369c12c29ceb421c5643bde791263 | 8f27ca75187c121d9a815b00517175bc523f1801 | /Plugins/Voxel/Source/Voxel/Private/VoxelGraph/VoxelComputeNodeTree.cpp | 8e860ec139e76dfd7fba5b9b79826870da5b69e2 | [
"MIT"
] | permissive | Maverrin/FirstGame | 9991e84df316fef6afe7606b29d01f1eb8c375de | 9ff0eeb0948a4f223d31e03b2cbf35a955db9e9e | refs/heads/master | 2022-05-09T17:45:15.904563 | 2019-11-08T18:14:45 | 2019-11-08T18:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,618 | cpp | // Copyright 2018 Phyronnaz
#include "VoxelGraph/VoxelComputeNodeTree.h"
#include "VoxelGraph/VoxelNode.h"
#include "VoxelGraph/VoxelCppConstructor.h"
#include "VoxelGraph/VoxelNodeDefinitions.h"
#include "VoxelGraph/VoxelGraphWorldGenerator.h"
#include "VoxelMaterial.h"
#include "VoxelGlobals.h"
FVoxelGraphPerfCount... | [
"eigrads@hotmail.com"
] | eigrads@hotmail.com |
acc158aebb20cde39d1f44eb786d890a6d3a1d72 | c9e0227c3958db89747488328bd2b255e54f008f | /solutions/0772. Basic Calculator III/0772.cpp | b5409fb5467067e44694d286cdf7d7666a3e0392 | [] | no_license | XkhldY/LeetCode | 2deba28b7491c36b4f224c3132fb89feea318832 | 94e23db2668615d9fe09e129a96c22ae4e83b9c8 | refs/heads/main | 2023-04-03T08:17:30.743071 | 2021-04-14T23:34:03 | 2021-04-14T23:34:03 | 358,136,537 | 1 | 0 | null | 2021-04-15T05:20:21 | 2021-04-15T05:20:21 | null | UTF-8 | C++ | false | false | 1,650 | cpp | class Solution {
public:
int calculate(string s) {
stack<long> nums; // stores nums
stack<char> ops; // stores operators and parentheses
for (int i = 0; i < s.length(); ++i) {
const char c = s[i];
if (isdigit(c)) {
long num = c - '0';
while (i + 1 < s.length() && isdigit(s... | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
242ad6f8710ef7fd34b346cd25fdf76c6f9d7900 | dae6d556da61e025fbe94feb677c93cc8e374e2f | /stlsrc/template_stl/ch11/count.cpp | cbd86c16ef10fccc0a1cafb186676fc10cf43875 | [] | no_license | yaoxiaokui/linux_ever | bb72344a36efeb4fb42d88d06eeeb1a7a43d651d | a654e5fb8d14a2bf7049c16d41c5b13b5bfd9285 | refs/heads/master | 2020-05-22T04:10:15.091175 | 2018-01-07T03:09:23 | 2018-01-07T03:09:23 | 49,123,522 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | /*************************************************************************
> File Name: count.cpp
> Author:
> Mail:
> Created Time: 2016年01月09日 星期六 22时49分44秒
************************************************************************/
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
... | [
"529188712@qq.com"
] | 529188712@qq.com |
49f56346fef88030e9ff7a761e66775186915057 | 9ed894c032c605af64fb4587ea4113a3256c42b0 | /src/usr/htmgt/htmgt_occcmd.H | a75dd55286f64b5bc1d240729f8f551de21e9cf1 | [
"Apache-2.0"
] | permissive | MikeJi/hostboot | 6d89436d924463766caac8844eecb67ce123c58f | 66921b4bc0df457e3ea44b804c8450b3d120e3b7 | refs/heads/master | 2020-12-01T01:18:22.187877 | 2015-09-09T15:53:36 | 2015-09-11T18:37:57 | 39,750,285 | 1 | 0 | null | 2015-07-27T02:06:22 | 2015-07-27T02:06:22 | null | UTF-8 | C++ | false | false | 10,701 | h | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/htmgt/htmgt_occcmd.H $ */
/* ... | [
"iawillia@us.ibm.com"
] | iawillia@us.ibm.com |
b95ca1128debcb112bfd201036c08fe7c8850049 | f312cfa0890a97e9216da0ac7d3c942940a75bf6 | /DisplayModule/Dialog.cpp | 0e86a167a6b6b694e4bdbfcdae301c7c19f84af0 | [] | no_license | andresviikmaa/FC-DipLoaf | b8af23ec4e374bc5d005ad7be6c97e6f6781f46b | d065176c552c4984667eea7a05cbbcd6728573b4 | refs/heads/master | 2021-01-13T13:31:16.507836 | 2016-12-12T09:09:11 | 2016-12-12T09:09:11 | 72,426,934 | 0 | 0 | null | 2016-11-30T10:55:00 | 2016-10-31T10:40:55 | C++ | UTF-8 | C++ | false | false | 6,834 | cpp | #include "Dialog.h"
#include "opencv2/imgproc.hpp"
/*
#define WINDOW_WIDTH 976
#define WINDOW_HEIGHT 840
#define CAM_WIDTH 720
#define CAM_HEIGHT 720
*/
Dialog::Dialog(const std::string &title, const cv::Size &ptWindowSize, const cv::Size &ptCamSize, int flags/* = CV_WINDOW_AUTOSIZE*/)
: windowSize(ptWindowSize), ca... | [
"andres.viikmaa@gmail.com"
] | andres.viikmaa@gmail.com |
960af92a1ffdcd0cff4d524fd5ed062ad1873b15 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/search/suggestions/suggestions_source.cc | 98bd51a0e7d50cf55f030c5bf817f763f8911b38 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,579 | 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.
#include "chrome/browser/search/suggestions/suggestions_source.h"
#include <vector>
#include "base/barrier_closure.h"
#include "base/base64.h"
#include ... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
abc17ed2ce2b8e1e5baed1b83ea3168c18487622 | 444bb227013ed02b49125171a5d32e2bba6bf4af | /test.cpp | 6812e8676d3d2921aba87a826fd1f2d33500110f | [] | no_license | RS-codes/Qt5_Intermediate_11.2_Timer_QTimer_TimeOut | 2b7e2b893f2e66fdea09cde744debdadf49c2675 | cb7c433794c5f3c5561f179066267bdc760f58cf | refs/heads/master | 2023-05-22T16:14:56.228453 | 2021-06-13T04:41:27 | 2021-06-13T04:41:27 | 376,439,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include "test.h"
test::test(QObject *parent) : QObject(parent)
{
number = 0;
timer.setInterval(1000);
connect(&timer,&QTimer::timeout,this, &test::timeout);
}
void test::timeout()
{
number++;
qInfo() << QTime::currentTime().toString(Qt::DateFormat::SystemLocaleLongDate);
if(number == 5) {
... | [
"RS-codes@github.com"
] | RS-codes@github.com |
857ed7ecfb7ce500ddf423da197dee92fca8f403 | d88ad726e2ceb60f4e7098725a50c4d67c71f67f | /S1/VIM/build-VIMTP1BIS-Desktop_Qt_5_4_0_MinGW_32bit-Debug/ui_histodialog.h | 72f8f936a30600bbd10ea69c97e71a8a58d5583b | [] | no_license | Sabouh/M2GICAO | 65bde1da541a84c6ed1ccc198057178e1dc1575a | 8a492490aa2b4ef04e1ad2a92649c7211be01fea | refs/heads/master | 2021-01-24T17:39:10.215981 | 2016-03-12T20:13:09 | 2016-03-12T20:13:09 | 43,699,888 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,895 | h | /********************************************************************************
** Form generated from reading UI file 'histodialog.ui'
**
** Created by: Qt User Interface Compiler version 5.4.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... | [
"bouhsabine@gmail.com"
] | bouhsabine@gmail.com |
0cfc7e5f16ea536c27d907c82d5e06d0e62f0aac | 377aedce53af5d65c5437c992ee02feee248b24f | /ihatethisalready.cpp | ca2ba5b5cec60ed0ecfe8780657d8cd730fdfd59 | [] | no_license | dtara003/Artificial-Intelligence | 576f00d2aea0c6779782dbdac5a3151ea12fc7b3 | e0a9f4fcbff0f3fa16bcdc5eda8f7a7cf288866d | refs/heads/master | 2021-01-12T12:28:37.508976 | 2016-11-01T06:00:09 | 2016-11-01T06:00:09 | 72,508,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int problem[3][3] = {{1, 2, 3}, {4, 8, 0}, {7, 6, 5}};
cout << "Welcome to Dharti Tarapara's 8-puzzle solver." << endl;
cout << " Type 1 to use a default puzzle, or 2 to enter your own puzzle"
<< endl;
int choic... | [
"dtara003@ucr.edu"
] | dtara003@ucr.edu |
928719ba3bd829c3435053a87fae00b89e468216 | 3e093521306ac955f65ad7648dfe2dbc649c7e4d | /3rdParty/asio/1.12/include/asio/detail/buffer_sequence_adapter.hpp | 450b3eecdd7ca8eadd51e6d02992bae44795df9a | [
"Apache-2.0",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"Bison-exception-2.2",
"JSON",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"GPL-1.0-or-later",
"ISC",
"ICU",
"GPL-2.0-only",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"Licen... | permissive | Simran-B/arangodb_test | 8836e89af5bfcf156aaf643ab1ab1f48c38c0eb6 | e643ddbaa8327249ae5f10add89ab9e6d9f6fecd | refs/heads/devel | 2021-10-24T18:45:11.844512 | 2019-03-11T13:28:44 | 2019-03-11T13:28:44 | 174,999,262 | 0 | 1 | Apache-2.0 | 2019-03-11T13:27:59 | 2019-03-11T12:51:28 | C++ | UTF-8 | C++ | false | false | 12,218 | hpp | //
// detail/buffer_sequence_adapter.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2017 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)
//
... | [
"michael@arangodb.com"
] | michael@arangodb.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.