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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d545e7168a6b10cbc7539d8d7e7cebd96c39c4aa | 2a1365c24292ee4ea235301a1ead0403062f4645 | /他人代码_港/lab14-Divide and Conquer/linktable.h | bcc094f3336c989bbea2d87cd81c38983a5f269d | [] | no_license | trialley/DataStructuresLabs | 0a10f5bb8afe63585b111a820cf8d3b552018bd1 | 0d2cf9931175b96190a317d1ea14dd18793faf76 | refs/heads/master | 2020-09-27T10:16:31.437406 | 2019-12-31T07:32:11 | 2019-12-31T07:32:11 | 226,492,210 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,824 | h | #include<iostream>
template<typename D>
class chain {
private:
typedef struct node {
D data;
node* next;
};
node* head;
int length;
public:
chain() {
head = NULL;
}
~chain() {
if (head == NULL) {
return;
}
if (head->next == NULL) {
delete head;
head = NULL;
return;
}
node* temp = hea... | [
"1203732857@qq.com"
] | 1203732857@qq.com |
38164f50b8cec9a4b1831726df63627ce0c5bc5d | 47e5d2f0f857c613368a1b5cc548a057bd20eef7 | /OrbitQt/licensedialog.h | d5a17ea65ff4dfc65eed232f71d3fa545f78ae71 | [
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | IrinaShkviro/orbit | 02283434d0fd2f6fd46aa94081c6abd3b70def62 | c7f630e9665a1767cbd944b897f2652b84061e72 | refs/heads/headless | 2021-04-15T01:58:49.253319 | 2020-03-21T10:03:02 | 2020-03-22T19:18:56 | 249,284,791 | 0 | 1 | BSD-2-Clause | 2020-05-20T15:55:29 | 2020-03-22T22:31:37 | null | UTF-8 | C++ | false | false | 332 | h | #ifndef LICENSEDIALOG_H
#define LICENSEDIALOG_H
#include <QDialog>
namespace Ui {
class LicenseDialog;
}
class LicenseDialog : public QDialog {
Q_OBJECT
public:
explicit LicenseDialog(QWidget* parent = 0);
~LicenseDialog();
std::wstring GetLicense();
private:
Ui::LicenseDialog* ui;
};
#endif // LICE... | [
"pierric.gimmig@gmail.com"
] | pierric.gimmig@gmail.com |
9025a594757fc75d971d8ad2818d850afb3327dc | ea234f99261a1f19c0b07155d5e843844f488614 | /Portfolio.cpp | 51c533187b66d535cb62e8d84a7a39aed6154b41 | [] | no_license | zmukwa/c6 | fdbc0273fd1b0d8b52ed95e96674c01631eb2b76 | 80ca19e5ec5a558d704da20af50ddbb56cff3f6f | refs/heads/master | 2020-12-24T16:41:05.796686 | 2013-04-09T16:28:44 | 2013-04-09T16:31:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include "Portfolio.h"
using namespace std;
Portfolio::Portfolio()
: isEmpty_{true}
, shares_{0} {
}
bool Portfolio::IsEmpty() const {
return isEmpty_;
}
void Portfolio::Purchase(const string& symbol, unsigned int shares) {
isEmpty_ = false;
shares_ = shares;
}
unsigned int Portfolio::Shares(con... | [
"jeff@langrsoft.com"
] | jeff@langrsoft.com |
f489c2336ecc816dcf2dc48dd61a223f14398a7e | 52b01c2953dac5fc35dae1b1d5f51fb4738207a6 | /OldPrograms/combination.cpp | 79a3c9e532585f93f54fdbe01685350dde1e32b2 | [] | no_license | piyush-nimbalkar/RandomCodes | 898336b0f2c6b96c3f907b51ec4e5e8ead8c8433 | 5fe063e808271b8ffb0041d3c932bc9b13f5deed | refs/heads/master | 2020-04-16T11:48:42.264963 | 2015-08-06T19:10:29 | 2015-08-06T19:10:29 | 30,511,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class Random
{
string matrix[10][10];
int no_of_rows, no_of_cols;
public:
Random() { }
Random(int, int);
void combinations(int, string);
};
Random :: Random(int rows, int cols)
{
no_of_rows = rows;
no_of_cols = cols;
for (in... | [
"piyushmnimbalkar@gmail.com"
] | piyushmnimbalkar@gmail.com |
5438383bd08eecd7c9c70cc068475f980e8fd1ce | ee99c05afa22e204812e1e19dff0b1ff36bec739 | /include/ast/SubscriptNode.h | b8fa24c4ae934f51c3427a54a207528e80d05286 | [
"BSL-1.0"
] | permissive | stenbror/PythonCoreNative | ab4c3c18f9ed73ee7e9588c349191bb8bd0bfed1 | 9b5b1e55acf7d6adc7d8202e951872b2b9f71167 | refs/heads/master | 2023-05-30T04:07:48.480731 | 2021-06-20T16:37:23 | 2021-06-20T16:37:23 | 361,491,052 | 0 | 1 | BSL-1.0 | 2021-05-24T11:23:55 | 2021-04-25T17:16:41 | C++ | UTF-8 | C++ | false | false | 1,173 | h | #pragma once
#include <ast/ExpressionNode.h>
#include <Token.h>
#include <memory>
namespace PythonCoreNative::RunTime::Parser::AST
{
class SubscriptNode : public ExpressionNode
{
public:
SubscriptNode(
unsigned int start, unsigned int end,
... | [
"stenbror@hotmail.com"
] | stenbror@hotmail.com |
ccd09b3eea00f6ca86a61483809374921b3b5030 | 701784e1bac0f2e525e0555d2c52d69376c7bcec | /465_assign_4/dijkstra_main.cpp | 141d049000c2b554e11bf6d66442b4e46adf6deb | [] | no_license | sean-lane/dijkstra_tree_navigator_v1 | e511d27878a2566a9e57693aa44a9fa1a5fcfb28 | 172cbcebc4f2097bd10ec2948ead710030fac3b9 | refs/heads/master | 2021-01-21T17:45:49.012294 | 2013-12-16T07:29:57 | 2013-12-16T07:29:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,170 | cpp | #include <fstream>
#include <vector>
#include <iostream>
#include "v_edge.h"
#include "vertex.h"
using namespace std;
vector<v_edge> dijkstraMST(vector<v_edge> edges, vector<v_edge> &finalEdges, vector<vertex> &vertexes, vector<vertex> &visitedVertex, int startVertex);
vector<vertex> vertexSort(vector<vertex> sort... | [
"sjl5306@psu.edu"
] | sjl5306@psu.edu |
cf028c2f238303221cf0ae5b14370cc113224983 | acc4675544162995b418b5980b3bc30546eec37f | /Source/turbohiker/Random.cpp | 8278faa0bb3a3bf5cce6fda985667bfd9ffd9f6c | [] | no_license | ViktorHura/TurboHiker | ceaa38da33be095e5eb4947dbe4454d5b0c290c6 | 7b661d7f8d4fd430a0f89ce6fc5a39e0b3784a1f | refs/heads/master | 2023-02-16T01:48:56.800519 | 2021-01-17T21:49:19 | 2021-01-17T21:49:19 | 321,712,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | //
// Created by viktor on 21.12.20.
//
#include "Random.h"
#include <cstdlib>
#include <ctime>
turbohiker::Random *turbohiker::Random::instance() {
if (!_instance) {
_instance = new Random();
}
return _instance;
}
turbohiker::Random::Random() {
// good enough pseudo random
srand(time(nullptr));
// s... | [
"viktorhura.info@gmail.com"
] | viktorhura.info@gmail.com |
127fe491d047ef03f98e67758be6dedcf517c669 | b14d0fbe70bf9410d13d1a6f9e3a2d58f4993578 | /source/ArrayAnalyzer.cpp | 90345bd26626e958447bf039055b44cc5a66ead7 | [
"MIT"
] | permissive | DennisWandschura/vxLib | 03fba3438a075daab3fbb30506e21c92ebcc4255 | 8c619502e130ac7cb53eb2ecde0d1a2c27bd4282 | refs/heads/master | 2020-04-06T07:01:39.882840 | 2016-11-16T12:17:34 | 2016-11-16T12:17:34 | 32,485,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | #include <vxLib/ArrayAnalyzer.h>
namespace vx
{
std::atomic_uint64_t ArrayAnalyzer::s_counter{0};
ArrayStats* ArrayAnalyzer::s_data{nullptr};
} | [
"dennis.wandschura@gmail.com"
] | dennis.wandschura@gmail.com |
169cc6421b4488ca464f418c7a3cb8f5423aab16 | 97dba80026128e9296e575bb58b9cc7867bbc77f | /hackerrank/MathOct/A.cpp | ae90c19cdcffb5782d4ca95072499259e6532db3 | [] | no_license | intfloat/AlgoSolutions | 5272be3dfd72485ff78888325a98c25b2623e3cb | 2f7b2f3c4c8a25eb46322e7f8894263ecd286248 | refs/heads/master | 2021-12-23T08:18:32.176193 | 2021-11-01T05:53:27 | 2021-11-01T05:53:27 | 9,474,989 | 18 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <bits/stdc++.h>
#define FOR(i, n) for (int i = 0; i < (int)n; ++i)
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
inline void solve() {
int a, b;
scanf("%d %d", &a, &b);
if (a == 0 || b == 0) printf("First\n");
else if (a % 2 != b % 2) printf("First\n");
else if (a %... | [
"wangliangpeking@gmail.com"
] | wangliangpeking@gmail.com |
e4a0cc230f52bbd22d29aaf1f70716d25ed9b0b9 | b6dd9881f34c08c21e75db63f0fdc13e36f9ab3b | /ImageVision/motioncard/MotionCard.h | 61ae5d9d26d9f0027edbc62c8aaca49085d7b5d3 | [] | no_license | MSerials/SB_Check | ea5dc9941a3619ffc8f160081eec2f3c6722301f | 52036f6ee333b04047f73dfbabb6bc348cefb906 | refs/heads/master | 2021-08-28T21:31:48.414465 | 2017-12-13T06:24:25 | 2017-12-13T06:24:25 | 113,969,949 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 7,087 | h | #pragma once
//#include "../stdafx.h"
#include <vector>
using namespace std;
#ifndef LEADTECH
#define LEADTECH
#endif
#ifdef _ADVENTECH
#ifndef __MOTION_CARD__
#define __MOTION_CARD__
#include "bdaqctrl.h"
using namespace Automation::BDaq;
class Motion
{
public:
Motion();
~Motion();
public:
bool Read_Input(... | [
"lux@DESKTOP-2SN49A7"
] | lux@DESKTOP-2SN49A7 |
157c8fae197bfeb26cacc74d494b9d50bbdc850d | a7962df4060210d57e1040cdf88e981d26529967 | /sw_piano/testFirmware/src/debugUart.cpp | 3958b7c82412e8399f0b850d257457f11e75793a | [
"MIT"
] | permissive | ConnexPCB/pcb_piano | f7323f02e97a7921981952a25af28c318d1bf02a | 3a09218fd29d551a079728d373f3a00ea128f80e | refs/heads/master | 2021-09-05T13:25:52.648974 | 2018-01-28T05:45:52 | 2018-01-28T05:45:52 | 113,945,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,885 | cpp | /*
* debugUart.c
*
* Created on: Jan 3, 2018
* Author: birdman
*/
#include "debugUart.h"
#include "dmaPwm.h"
/* DEFINES */
#define LEUART0_DMA_CHANNEL 2
#define BUF_MAX 100
#define WAKEUP_INTERVAL_MS 2000
#define LEUART_MAX_TABLE_SIZE 100
/* GLOBAL VARIABLES */
/* DMA control... | [
"noah.bergmanee@gmail.com"
] | noah.bergmanee@gmail.com |
15aa14a4e4a79902ed7aad9469121b91713a03ca | 97bd2bc90481e59da387772cd414f07516e6f2cd | /pastel/sys/redblacktree/redblacktree_copy.hpp | 0661ca76903003ce4101175ebe343987e87807a2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kaba2/pastel | c0371639be222cfa00252420c54057a54a93a4a3 | c7fb78fff3cbd977b884e54e21651f6346165ff5 | refs/heads/master | 2021-11-12T00:12:49.343600 | 2021-10-31T04:18:28 | 2021-10-31T04:18:28 | 231,507,632 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | hpp | #ifndef PASTELSYS_REDBLACKTREE_COPY_HPP
#define PASTELSYS_REDBLACKTREE_COPY_HPP
#include "pastel/sys/redblacktree.h"
namespace Pastel
{
template <typename Settings, template <typename> class Customization>
auto RedBlackTree<Settings, Customization>::copyConstruct(
Node* parent, const RedBlackTree& that... | [
"kaba@hilvi.org"
] | kaba@hilvi.org |
3e66e4c28ef41880519f45aeca1c195f5278618c | b085b935e8d2b6167af176c158a835baea5367ba | /boundary_pellet.cpp | a60654e0a9f091d1f6c5c162908f6da7f470a87e | [] | no_license | jamesysh/lp_gpu | 9989a465273987592e1d48ca727082f6461365de | 9f3f54ee196bb0a82458318d45187fe05bb0d876 | refs/heads/master | 2020-03-30T14:28:41.673288 | 2018-11-20T17:18:52 | 2018-11-20T17:18:52 | 151,319,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,744 | cpp | #include "boundary_pellet.h"
#include <iostream>
#include <cmath>
#include <cassert>
using namespace std;
PelletInflowBoundary::PelletInflowBoundary():Pinflow(30), Uinflow(0), Vinflow(100){}
double calculateMassFlowRate(double energy){
return energy;
}
int PelletInflowBoundary::UpdateInflowBoundary(ParticleData* m_... | [
"shyyuan@login.cm.cluster"
] | shyyuan@login.cm.cluster |
410b1ec7d974e51802060c9cd9cbde9bdbd45f44 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /src/connectivity/bluetooth/core/bt-host/common/log.cc | aa934bf5351130746b398a2a25d5fe7df461a603 | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 2,429 | cc | // Copyright 2018 The Fuchsia 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 "log.h"
#include <stdarg.h>
#include <algorithm>
#include <string_view>
#include <ddk/debug.h>
#include "src/lib/fxl/strings/string_printf.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
69d4fdb34ea8f08fb3a75f7d5f01ec973d9b2ac3 | 26560fb6cfabe8a4e7ad9d24bb759066c3ebc951 | /frameworks/native/libs/gui/SurfaceComposerClient.cpp | e0df8833ad33aa7571c6bc5f70c90fe2b669f8ee | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | tanjian-jack/A64_android7.1_frameworks | 34a4b0b0a366a9c0522f8e68903201a8541be8a9 | 38da7efedf85d75b9c26257fb226e039cc73b81e | refs/heads/master | 2021-05-11T17:09:58.972424 | 2018-01-17T04:53:04 | 2018-01-17T04:53:04 | 117,785,358 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 31,122 | cpp | /*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 app... | [
"ksd@gmail.com"
] | ksd@gmail.com |
729a07e449d2c6efe31afa868eab268e1d5e9e04 | 2ebb573c63e6d3ef10fc1f530e5bbd14f1158523 | /server/db.cpp | 5dee9c7fb7713b1161b8f1f96051b09af59f3f35 | [] | no_license | hataerin/system-process-monitoring | a7ef6ce6db85ed9fff1e7288df98d5cc1c92fa01 | 9470af533681d4b132fa4b859ad2d45b738e6c87 | refs/heads/master | 2020-03-31T21:50:58.830446 | 2018-10-11T13:28:17 | 2018-10-11T13:28:17 | 152,595,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,962 | cpp |
#include "db.h"
#include "logger.h"
#include <oci.h>
OCIEnv *envhp;
OCIError *errhp;
OCISession *authp;
OCIServer *srvhp;
OCISvcCtx *svchp;
int initialize()
{
int ret;
sb4 errcode;
text errbuf[1024];
ret = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0,
(dvoid * (*)(dvoid *, size_t)) 0,
... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
f1dfa723ddb8a724e5bbde8b5d3b2ef2ed831859 | 4c82689dd0fa2ee71b688ee7112da6d4294a1b28 | /Audioplanet/gnome-frontend/plugins.h | 0f85202f80b6d794da04f13ff7c64481de692d9c | [] | no_license | senarvi/senarvi-personal | 789f759706cc984b66fb6672874ff4bd7cf4163b | ac8ece0ac956be972a9e4befed17932d83f366fe | refs/heads/master | 2021-01-13T02:07:26.094447 | 2018-04-02T20:44:11 | 2018-04-02T20:44:11 | 5,792,593 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h | // plugins.h
// Copyright (C) 1999-2002 Seppo Enarvi (senarvi@iki.fi)
//
// 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
// (at your option) any late... | [
"seppo.git@marjaniemi.com"
] | seppo.git@marjaniemi.com |
c0ef93d6b2e5dbeeee738267260927148714bfbd | f032d940041c31abbb3793689b813deadf19bf0a | /src/libs/fragments/fragment_algorithm.h | 995ad93dfafdc5dc702026d8649dca956979804e | [
"MIT"
] | permissive | akhudek/feast | f14143b6f932214841c33a8de3c92a4dff34efb7 | bb41ac122a9c0542a0fb71eec81ff5e872c556e5 | refs/heads/master | 2021-01-02T09:02:40.411542 | 2011-08-12T07:45:38 | 2011-08-12T07:45:38 | 2,195,735 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,600 | h | #ifndef __FRAGMENTALGORITHM__
#define __FRAGMENTALGORITHM__
#include <functional>
#include <limits>
#include <btl/logspace.h>
// Collection of algorithms for working with fragments.
#include "hash_hit_data.h"
#include "fast_hash_hit_data.h"
#include "fragment.h"
#include "scored_fragment.h"
#include "transformed_fragm... | [
"alexander@hudek.org"
] | alexander@hudek.org |
e36516f1781de6fd145871d7918da95de93858f7 | 4136da88952ae7f8d4630501d553b7d86d8bd4a0 | /tree_Link.h | 07b13b5668fa17c5399f8cccd9eebba53f6d9712 | [] | no_license | xzatkalik/disk-tree | 70c981634ad931d4fb9e2938f41d3adb7e7b77c2 | cfb5b047f7f098f9ec938f364c0ed4e12ed9aa21 | refs/heads/master | 2020-03-28T22:45:08.103891 | 2017-11-12T19:11:32 | 2017-11-12T19:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | h | #pragma once
#include "tree_Node.h"
namespace tree
{
class Link : public Node
{
public:
Link(const std::string & name, const std::string & path) : Node(name), _path(path)
{
}
virtual ~Link() {}
tree::Size Size(bool bFollow, bool bRecursive) const override;
void List(bool bFollow, bool bRecursive, const... | [
"tvorba.soft.systemov@gmail.com"
] | tvorba.soft.systemov@gmail.com |
4048fa3686ad9feff62ad0351d2c3e006bac7e3e | dd5b5e5ee5476d1eeffc4987e1aeec94e047e6dd | /testCase/cavity/0.003/U_0 | fdf54dc2ea01a693734e8b166727d2219e0ed229 | [] | no_license | Cxb1993/IBM-3D | 5d4feca0321090d570089259a558585a67a512ec | 2fceceb2abf1fc9e80cb2c449cc14a8d54e41b89 | refs/heads/master | 2020-05-24T01:14:02.684839 | 2018-10-23T13:15:20 | 2018-10-23T13:15:20 | 186,721,487 | 1 | 0 | null | 2019-05-15T00:39:55 | 2019-05-15T00:39:55 | null | UTF-8 | C++ | false | false | 1,963,553 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"you@example.com"
] | you@example.com | |
b0d58c3541ceb124734c5cf68ca3d9a1297994af | 97b71d9ac43ab462c65d5520dd355b76b1d71502 | /src/ast/boolean.hxx | cabd04ea8da26a6d5c1759495e61d8fd868d3a0a | [] | no_license | Tauril/bson-parser | 834788a10f040ca5a836e92479c3c1fbce8f6370 | dbb119d59d76eab0ab465694b49b9342b0807ea1 | refs/heads/master | 2021-09-10T19:11:16.289091 | 2018-03-31T12:31:48 | 2018-03-31T12:31:48 | 110,697,715 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | hxx | #pragma once
#include "ast/boolean.hh"
namespace Ast
{
inline bool
Boolean::status_get() const
{
return status_;
}
} // namespace Ast
| [
"marque_o@acu.epita.fr"
] | marque_o@acu.epita.fr |
eb2916f10429231287eeac94cacb3be318a70afe | 45aa0baa25726e9caad076dad3ae7a06e031a6ca | /00303_range-sum-query-immutable/200803-1.cpp | be13f8bcd4b7a971635a3f3525592f0b1bbab5d7 | [
"MIT"
] | permissive | yanlinlin82/leetcode | 454cab5d9ce407cdb8e9b2746cc6f977a9e24521 | ddcc0b9606d951cff9c08d1f7dfbc202067c8d65 | refs/heads/master | 2021-07-09T08:44:42.708510 | 2020-11-08T12:43:53 | 2020-11-08T12:43:53 | 211,864,977 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | // https://leetcode-cn.com/problems/range-sum-query-immutable/
#include <iostream>
#include <vector>
using namespace std;
class NumArray {
public:
NumArray(vector<int>& nums) {
a = nums;
}
int sumRange(int i, int j) {
int s = 0;
for (int k = i; k <= j; ++k) {
s += a[k];
}
return s;
}
priv... | [
"yanlinlin82@gmail.com"
] | yanlinlin82@gmail.com |
36ed5214ea04ae2ebc74ee6937376f2e4851d4db | 2753583e57250746315a3ec1086a722696bae6d6 | /0-Simple-Algorithms/2-Table-Algorithms/2.8-Skoczek-czy-da-sie.cpp | 658d8e79bd65997601684f53484326ecbc4e8e02 | [] | no_license | matbut/Algorithms-And-Data-Structures | e496c20faa8a8e3bf1a57466cc6acd62f568dcb4 | c31cf1a30241b01fc3aea118b8710127c3926774 | refs/heads/master | 2021-05-01T08:35:55.190362 | 2018-02-12T09:31:56 | 2018-02-12T09:31:56 | 121,169,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include <iostream>
#include <cstdlib>
#include <windows.h>
using namespace std;
const int MAX=4;
int szachownica[MAX][MAX];
void drukuj(){
for(int i=0;i<MAX*MAX;i++){
cout.width(2);
cout << szachownica[i/MAX][i%MAX] << " ";
if ((i+1)%MAX==0) cout << endl;
}
cout << endl;
};
bool m... | [
"butamateusz@gmail.com"
] | butamateusz@gmail.com |
24fddca10f1c33505a72d7694a35f5b96c6676b1 | 619c1962b4c766e18c9959c57e1ec6eda287c1b7 | /src/submodules/rplayer/src/RPlayerImpl.h | a984974adc651fa1d9625a02f34f2de99ac06947 | [] | no_license | zhanghongyang0927/swcloudtv | b3ecd75c9f550508d10167177668d9855a0ad3ff | 3f3155d4aa9dbac822ca7c40d5b66348bd3734e0 | refs/heads/master | 2021-10-10T17:15:09.025988 | 2019-01-14T11:20:02 | 2019-01-14T11:20:02 | 115,334,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | h | ///
/// \copyright Copyright © 2017 ActiveVideo, Inc. and/or its affiliates.
/// Reproduction in whole or in part without written permission is prohibited.
/// All rights reserved. U.S. Patents listed at http://www.activevideo.com/patents
///
#pragma once
#include <rplayer/RPlayer.h>
#include <rplayer/rams/Rams.h>
#i... | [
"zhanghongyang@sunniwell.net"
] | zhanghongyang@sunniwell.net |
f15f0bb7e57f3c00649036f7dff9cc2acff460f8 | 478f8fdf9c00140c0cf975f6bdb07b6e5d771c72 | /07 - MPI Examples/04 - Matrix Multiplication Cube/MatrixMultiplicationCube.cpp | ba619bc40ed9ba137bece39de2fced7401dada0b | [] | no_license | DtCh96/parallel-programming | 9d6bcb8eb0824f662d35d3ac0bd3cbb0319f4100 | 73eae3304cea0e4eb3128aaaedf61e969e60fbcf | refs/heads/master | 2021-01-22T10:50:58.753074 | 2017-05-17T06:29:00 | 2017-05-17T06:29:00 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,261 | cpp | #include <mpi.h>
#include <stdio.h>
const size_t GRID_DIM = 3;
const int DO_NOT_REORDER = 0;
void FillMatrix(double *m, size_t rows, size_t cols, double start, double step)
{
for (size_t i = 0; i < rows; ++i)
{
for (size_t j = 0; j < cols; ++j)
{
m[i*cols+j] = start;
start += step;
}
}
... | [
"huntercbx@gmail.com"
] | huntercbx@gmail.com |
8c23ce95d7ac9ea9a9983c965c61c2df890d3fd1 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /components/update_client/task_update.cc | 733649b5711f343ef9cdd23a8ed7986cdc067c00 | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 1,925 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/update_client/task_update.h"
#include <utility>
#include "base/bind.h"
#include "base/location.h"
#include "base/threading/thread_ta... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
569ee0e05483f48a22d5b332f76956e28152ba9a | 98ef9f82f45320df070f670eac258c8365113642 | /nowcoder/2017校招真题/彩色宝石项链.cc | cfe539cd17d605875bf911d08a111750f06507d4 | [] | no_license | FrankWork/LeetCode | abbf6125b57e143073f89daf5cbcbd8ff67bb78b | 6ec0c0d43cf4e8ef968051a4d125c4965d58e4f5 | refs/heads/master | 2021-01-22T07:27:43.963950 | 2018-11-12T08:44:18 | 2018-11-12T08:44:18 | 39,978,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cc | #include <iostream>
#include <vector>
#include <set>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include<string>
#include <bitset>
using namespace std;
template <class T>
void print(vector<T> & nums){
for(int i=0;i<nums.size();++i){
if(i!=0) cout << " ";
cout << nums[i];
}
cout <<endl;
}
te... | [
"lzh00776@163.com"
] | lzh00776@163.com |
ad4f3c732ef53415051e8f408541dbf8b9f33253 | 08ddd9c440738335cfbc8c1c187252d159a817c5 | /src/key.cpp | cd0d3e194caec6a566ccf19b734cd6f570cbdccd | [
"MIT"
] | permissive | supercashes/supercashes | 135e96492bddec44477062c1e9378d44c51f96fb | de7e0d09338c1ce71a78e3b3d0f57bc1d29ff7da | refs/heads/master | 2020-09-23T02:59:50.267473 | 2016-08-31T07:03:39 | 2016-08-31T07:03:39 | 67,008,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,159 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2016 The SC developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <map>
#include <openssl/ecdsa.h>
#include <openssl/obj_mac.h>
#include "key... | [
"supercashes@qq.com"
] | supercashes@qq.com |
d7526427339aa57e5e8fdfe9fb9bafc8aef51351 | eefb836e9ec761c2b1f102b4007ed7ab6380c7a2 | /code/delta/core/modules/shle/libScePad/libScePad_api.cpp | cce51639e117065b8ba21da7ea21fa37cf7e308f | [] | no_license | RyuDanuer/ps4delta | be6ee054ca3ae59159ecbcc59addb77c6f60c85f | e3ee468357fa0fbbd428d52034fc84e76b851c4c | refs/heads/master | 2020-09-25T05:18:15.631545 | 2019-12-02T20:13:54 | 2019-12-02T20:13:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | cpp |
// Copyright (C) 2019 Force67
// This file was generated on Sat Sep 7 22:01:27 2019
#include "../../ModuleLinker.h"
#include "libScePad.h"
static const mlink::FunctionInfo functions[] = {
{0xEA77207B9FA5E50B, &scePadClose},
{0x91ACEFD4DCD207C7, &scePadConnectPort},
{0x01CB25A4DD631D1F, &scePadDeviceClassGetExt... | [
"prelink835@gmail.com"
] | prelink835@gmail.com |
9ffbb2c9217c89a954c93e519a0ce2a0f90c5e4f | 12d9e3ed40f1d5706932a3e44e8a08ca185b52cf | /CodeChef/CHEFWORK - Workers.cc | b3dfcbb5ce075c364793d6da780388b8f5424975 | [] | no_license | SebastianJM/Competitive-Programming | 25f83ceb607fcc3d95fa35c5f06cb7894413b857 | 5cd9de9485ae3f882a7c85292a77e5d662fce08f | refs/heads/master | 2020-03-23T21:25:42.970408 | 2018-11-20T05:06:46 | 2018-11-20T05:06:46 | 142,105,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cc | #include <bits/stdc++.h>
using namespace std;
#define fastIO ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define N 1003
#define MAX 100000004
#define MOD 1000000007
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef long long ll;
typedef unsigned long long ull;
int main()
{
fastIO;
in... | [
"sebastianjmdlc@gmail.com"
] | sebastianjmdlc@gmail.com |
0e03431d256b05ba7002eb6bad512b1a085942c3 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/PERIPUMP/examples/peripump_servo/peripump_servo.ino | 2f804f4bfc9bc1ab6e17bac11f1627645545191d | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 832 | ino | //
// FILE: peripump_servo.ino
// AUTHOR: Rob Tillaart
// PURPOSE: test for peri pump with servo library only.
// URL: https://github.com/RobTillaart/PERIPUMP.git
//
#include "Arduino.h"
#include "Servo.h"
Servo s;
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println("PERIPUMP... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
389d33dd5089efcf87bdf4f39eac6fbb6a456921 | 087e521af91bcdfaf1f7d6bf53fa66c3bcbe14c7 | /solutions/cses1667.cpp | 4b8385ba14d5b9c9d5d0aad9e56da138b48edcba | [] | no_license | tts89/cses-solutions-tt89 | 358648e3856ab4cfe2257b251d072ba4867eb981 | d8ed37f9da9594f99ffee20297c2b75780efec0d | refs/heads/main | 2023-04-29T10:50:57.726103 | 2021-05-11T11:33:54 | 2021-05-11T11:33:54 | 366,354,298 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | cpp | //tt89 ;)
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
typedef tree<int, null_type, less<int>, rb_tree_tag,
tree_order_statistics_node_update> ordered_set;
// find_by_order(k)--> returns iter... | [
"tts312@outlook.com"
] | tts312@outlook.com |
2e3ace918f8ebe83c3c2e02e1789ccac721df910 | 41ac1e5be2e62525a076e9e1a079f9f3a3c5aac9 | /HW4_src/mainStacia.cpp | 1af5915c5a778b51982c0ee41299b46074810843 | [] | no_license | austinmleo/CompVisionFinal | 5aaa7025b09798c73a418669a3dc86928e542f9a | 5df0f89703420bb11bf7c0ff8078889f227097bc | refs/heads/master | 2021-08-28T09:38:29.614091 | 2017-12-11T21:47:42 | 2017-12-11T21:47:42 | 112,787,304 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,609 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/aruco.hpp>
#include <windows.h> // For Sleep()
// Length of one side of a square marker.
const float markerLength = 2.0;
using namespace std;
using namespace cv;
int main(int argc, char* argv[])
{
std::printf("This program detects ArUco markers.\n")... | [
"snear@mines.edu"
] | snear@mines.edu |
8d763e7a598c6c9253e9822269baf56b4003f5c4 | 737a542146c83fc9528780c7edb9a32d868ddcac | /Source/Common/Network/TcpNetworkParams.h | 42a745ceb314ed4efff8cfe3872143d0b94422d8 | [] | no_license | radtek/thegamelife | 29dbbdba5aac1f774c07be9c931d917c591ec1ac | 9e01ab805d6f72ce195226bb1b2ed0e6a42ed3f0 | refs/heads/master | 2020-05-29T13:06:41.727720 | 2015-06-16T14:16:20 | 2015-06-16T14:16:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,682 | h | #ifndef __TcpNetworkParams_h__
#define __TcpNetworkParams_h__
#include <boost/system/error_code.hpp>
#include <boost/function.hpp>
#include <boost/asio/ssl.hpp>
#include "NetworkCommonDefine.h"
namespace Network
{
/// TcpNetwork初始化参数
/// @{
enum DataProcessMethod
{
DPM_Stream,
DPM_Packet,
DPM_MAX
};
struc... | [
"shanegxxiao@gmail.com"
] | shanegxxiao@gmail.com |
f6c7333b547efad309b2c28b654846f8ff8ac8de | 379ab7d0e4b1539bfb2e0c7064da96a2727d2233 | /W08/ta08_isa/circle.cpp | d7447fead403de46157431fcb4b51a290307407d | [] | no_license | RationalSolutions/cs165 | 89c314824446afad67cbbf2edce86a7f19d2a5fc | 3b243ad9d1acdad7e8470fd7e350c6ba133e2f33 | refs/heads/master | 2020-05-18T14:35:43.882036 | 2019-12-17T03:45:53 | 2019-12-17T03:45:53 | 184,476,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | //
// Created by coby on 11/5/2019.
//
#include "circle.h"
#include <iostream>
using namespace std;
void Circle::promptForCircle()
{
promptForPoint();
cout << "Enter radius: ";
cin >> rad;
}
void Circle::display() const
{
Point::display();
cout << " - Radius: " << rad;
} | [
"coby@azjenkins.com"
] | coby@azjenkins.com |
9758b74d40bbf37b19d38775cec2263538261045 | 9b11f561510070d40be43addeccc743f91025cfa | /atcoder/abc179/D.cpp | a9869a95761f715a7bfb920512a5ad028436ff1e | [] | no_license | MasterMind90/cppractice | a5a1774fc87047c9c9f18ed6df2a58af4a027256 | ce1b74d9e682e5d369df62f3ad9494798dceda85 | refs/heads/master | 2023-02-21T04:58:50.101142 | 2019-05-08T14:41:00 | 2021-01-14T21:11:38 | 328,998,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,968 | cpp | #ifndef LOCAL
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization ("unroll-loops")
#endif
#include "bits/stdc++.h"
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
#include <ext/pb_ds/detail/... | [
"amjadm2008@gmail.com"
] | amjadm2008@gmail.com |
55bc34d39d2dbe1ce4fbedfc2308d197675d0114 | 750c08a86e06d49cbe2d7e2ad0fb13f7e6a73ce3 | /pc_agent/ClientTest_0.2/ClientTest/ClientTest/SendSimInput.h | 3ffd6bc9833d3a9adf95e8750b77f33f70bf057f | [
"MIT"
] | permissive | fuchangsheng/pxiaomi | 53477885eaea9bc8cb8aea0684b7d2e196f64447 | 9254ab70aaad26c6aef9fff073cdc0a7fea616e3 | refs/heads/master | 2021-08-30T12:57:50.923846 | 2017-12-18T02:32:21 | 2017-12-18T02:32:21 | 114,585,077 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 953 | h | #pragma once
#include <iostream>
#include <string>
#include <tchar.h>
#include <windows.h>
class SendSimInput
{
public:
SendSimInput();
~SendSimInput();
//Simulate keyboard enter by char
int KeySimulationByChar(wchar_t ch);
//Simulate keyboard enter by string
int KeySimulationByStr(const wchar_t* str);
//Si... | [
"15527941667@163.com"
] | 15527941667@163.com |
2f3bdf3d33f9c84897159b79bbfc38df7ccbd034 | 2d01f8ed1825d6cb9b4e38d330904e15769a12f2 | /chapter-09/ch-09-ex-01-solution.cpp | a0dd8708f8904282f86d1153781159800df314e3 | [] | no_license | renh/ProgrammingConcepts_noEclipse | ceffe01d73ad070a445a3bfbfdb488170f7cf5b6 | 15703dd327fb5f7c621eda7d2a22f451cd3e7986 | refs/heads/master | 2021-01-14T12:40:16.917851 | 2012-12-17T17:28:38 | 2012-12-17T17:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | /*
* chapter-09-exercise-01.cpp
*
* Exceptions
*
* Created on: Nov 15, 2012
* Author: Radu Popescu <radu.popescu@epfl.ch>
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <stdexcept>
#include "Exception.hpp"
#include "FileNotOpenException.hpp"
typedef std::vector<double> Vector;
void ... | [
"radu.popescu@epfl.ch"
] | radu.popescu@epfl.ch |
61a259c5799de8adffa04a9fb26b7c8ab094977e | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-codeguruprofiler/include/aws/codeguruprofiler/model/AggregationPeriod.h | 45fc746b757db55a24d1a1f884410c6389201cb1 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,179 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
f89be3698b3dc3e0ab40b81e80bc07a6627f4c01 | 248bdd698605a8b2b623fe82899eec15bc80b889 | /media/webrtc/trunk/webrtc/modules/audio_processing/aec3/mock/mock_echo_remover.h | 44d3778e6d79604bf401e70c8333b89e6737d7f9 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | Feodor2/Mypal68 | 64a6f8055cb22ae6183a3a018e1487a44e20886e | dc92ce6bcc8032b5311ffc4f9f0cca38411637b1 | refs/heads/main | 2023-08-31T00:31:47.840415 | 2023-08-26T10:26:15 | 2023-08-26T10:26:15 | 478,824,817 | 393 | 39 | NOASSERTION | 2023-06-23T04:53:57 | 2022-04-07T04:21:39 | null | UTF-8 | C++ | false | false | 1,527 | h | /*
* Copyright (c) 2017 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 contribut... | [
"Feodor2@mail.ru@"
] | Feodor2@mail.ru@ |
373ff8790ea5f99256dd5ceb568d788ad8291100 | cc4678f1abdd833306389a9a6c72a088ab0bb55d | /bin/ios/GameBox/haxe/build/Debug-iphonesim/src/haxe/io/Eof.cpp | 086eb38ecf89376a94a38947e95d398c0fd55947 | [] | no_license | shrekshrek/gamebox-haxe | 78330b90493b0cc7a4e11a229aead7922b55f538 | 7c1567c66a1f9f63b95affe57bdad52dc3b70067 | refs/heads/master | 2020-04-02T20:42:30.421023 | 2016-07-10T09:11:39 | 2016-07-10T09:12:20 | 62,990,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_haxe_io_Eof
#include <haxe/io/Eof.h>
#endif
namespace haxe{
namespace io{
Void Eof_obj::__construct()
{
HX_STACK_PUSH("Eof::new","/usr/lib/haxe/std/haxe/io/Eof.hx",31);
{
}
;
return null();
}
Eof_obj::~Eof_obj() { }
Dynamic Eof_obj::__CreateEmpty() { return new Eof_obj; }
hx::O... | [
"shrekshrek@gmail.com"
] | shrekshrek@gmail.com |
33464e82ca91a8f3bb624aa27db53652011075c7 | b9f451bdca7a1ff52bd940bb1ced77d80b296034 | /Hashmap_and_Heap/k_largest_elements.cpp | ea8941e8778cd1fb4b9d0592e6545f57d0404594 | [] | no_license | C0DE-RUNNER/DSA_Level_1 | 350c6b4a164aa058d0f516eae8f1fc1c9532b266 | 9bd94bd2aa3cf843de7e8bf3f6288a6683288673 | refs/heads/master | 2023-06-12T04:18:16.221949 | 2021-07-07T08:53:28 | 2021-07-07T08:53:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include<iostream>
#include<queue>
using namespace std;
void kLargestElement(int *arr, int n, int k)
{
// MIN Heap
priority_queue <int, vector<int>, greater<int>> pq;
for(int i = 0; i < n; i++){
// add only k elements to the pq. This way pq will have only k elements in it with minimum element ... | [
"pratik.raj0000@gmail.com"
] | pratik.raj0000@gmail.com |
b5415d997cb68f9cd502c44057e95ec011c94e26 | 06a33ccb2e02c3419d8dd83871e4518985c2b229 | /FourSplitPyramid/src/TetrahedralDicing.cpp | 1ea69ceb12e269be33c45451360babd96fa935dd | [] | no_license | CatrielCarbonera/HexMeshing | 6eb76cb05854c1fafe04311e43b23a73ef4c8037 | 61f549c42bc5b1ab2a9dc7767fb9a7ba9c1da931 | refs/heads/master | 2020-03-19T05:22:05.852134 | 2018-06-03T17:09:06 | 2018-06-03T17:09:06 | 135,923,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,743 | cpp | #include "stdafx.h"
#include <assert.h>
#include <map>
#include <math.h>
#include "inc\tetrahedraldicing.h"
namespace
{
size_t p1[] = {1, 2, 3, 0, 1, 2, 3, 0};
size_t basic[7]={
1-1, 9-1, 3-1,
5-1, 2-1, 7-1,
11-1 };
/*size_t basic[7]={
2-1, 5-1, 3-1,
9-1, 1-1, 7-1,
... | [
"catriel.carbonera@gmail.com"
] | catriel.carbonera@gmail.com |
7fb4f4ad4d1c9c630634530dc85f7028337950e9 | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/clipper/clipper/cns/cns_hkl_io.h | a8223ce6591149dd44408baec4d67298895463af | [
"LGPL-2.1-only",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 4,612 | h | /*! \file lib/cns_hkl_io.h
Header file for reflection data cns_hkl importer
*/
//C Copyright (C) 2000-2004 Kevin Cowtan and University of York
//C Copyright (C) 2000-2005 Kevin Cowtan and University of York
//L
//L This library is free software and is distributed under the terms
//L and conditions of version 2.1 ... | [
"jorge7soccer@gmail.com"
] | jorge7soccer@gmail.com |
11554461e9f14b61056bda357cac758e944cc000 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/orbsvcs/orbsvcs/CosEvent/CEC_ProxyPushSupplier.cpp | f8891b2e5768e243bcf9430fdeb5e1fcd31cf156 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 25,155 | cpp | // Force CORBA::release(CORBA::Request...) prototype to be parsed
// before TAO_Pseudo_{Var,Out}_T templates. All required
// non-dependent names must be parsed prior to the template in
// question when using compilers like g++ 3.4.x.
#include "orbsvcs/Log_Macros.h"
#include "tao/DynamicInterface/DII_CORBA_methods.h"
... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
6c9d0aa5d45b3d6807510a9376aec867535e0c22 | f8115965f4a9506beec21f286a3f667090a99368 | /ECSE420-Project/mergeSort_Logic_Skeleton.cpp | 8d162a33ea1bc91aff75022232116fbb5b6a101d | [] | no_license | alexanderhale/ECSE420 | a3b52913566c8c969819dd3624b9ce6d3572ee34 | 7fb43999e17bfef7b2516bc2010047fdd0638bff | refs/heads/master | 2020-08-10T00:30:17.580010 | 2019-12-19T00:58:59 | 2019-12-19T00:58:59 | 214,210,169 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,632 | cpp | /**
* mergesort.cu
* a one-file c++ / cuda program for performing mergesort on the GPU
* While the program execution is fairly slow, most of its runnning time
* is spent allocating memory on the GPU.
* For a more complex program that performs many calculations,
* running on the GPU may provide a significant boo... | [
"a.hale@live.ca"
] | a.hale@live.ca |
91a24324aa1528ae06d9102b49cbb44d34eda335 | f79cd66653b62d015db9b6a4005e6ae94db48dba | /main.cpp | 3100ba4576b7834adf93ebcf0b3daa6e4e8e44a3 | [] | no_license | Blizzzer/aisdi-text-search | ffdc2f686241adf16425cc01d2d028237a4c8357 | 4686cf82841546c9ad1bdd364accdc68e815869e | refs/heads/master | 2020-05-14T11:53:19.759859 | 2019-04-16T23:59:23 | 2019-04-16T23:59:23 | 181,784,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,027 | cpp | #include <iostream>
#include <cstdlib>
#include <string>
#include <ctime>
#include <vector>
using namespace std;
const int ALPHABET_SIZE = 3;
char randomChar() {
return 'a' + rand() % ALPHABET_SIZE;
}
string generateString(int stringSize) {
string result;
for (int i = 0; i < stringSize; i++) {
... | [
"k.apolinarski@gmail.com"
] | k.apolinarski@gmail.com |
f549880831f2c0dcf296f035a4e93ca3ef487bd2 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_7677.cpp | ffd86e51e74081061138ded2986443538b578bf8 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | printf("$end\n");
fflush(stdout);
continue;
- }
- start = time(NULL);
- result = gethostbyname(request);
- if (!result) {
- if (h_errno == TRY_AGAIN) {
+#endif
+ addrbuf = inet_addr(request);
+ for (;;) {
+ result = gethostbyaddr(&addrbuf, 4, AF_INET);
+ if (result || h_errno != TRY_AGAI... | [
"993273596@qq.com"
] | 993273596@qq.com |
f5f5b719a6be342e0f1eade19df4d8911136e3ba | f1849f4affe74ae532eb7a17e3294fbfc5285cde | /unittests/include/TestIRAssemblyParser.hpp | e9504a6bbf3b9f0e6afc3e1619a08a40107ee3b9 | [
"MIT"
] | permissive | compor/Ephippion | 9aea8557b04b23844f64f72204e1054e99449e4f | 42e4270e14489ba93b935c8973adf13525c067bd | refs/heads/master | 2020-04-30T18:28:23.273534 | 2019-09-20T17:00:42 | 2019-09-20T17:00:42 | 177,009,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | hpp | //
//
//
#pragma once
#include <memory>
// using std::unique_ptr
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/LLVMContext.h"
// using llvm::LLVMContext
#include "llvm/IR/Module.h"
// using llvm::Module
#include "llvm/Support/SourceMgr.h"
// using llvm::SMDiagnostic
#include "llvm/AsmParser/Parser.h"
//... | [
"cvassiladiotis@gmail.com"
] | cvassiladiotis@gmail.com |
88e5cc80dfd423292cfd5605335175444edfece9 | c1df75347f271a9307d157d172258b809605b5c3 | /MOVEP2S/MOVEP/MainFrm.cpp | 1f9cd4367fa879f86607864d4f40bc78ac68f6bb | [] | no_license | Lx961029/MOVEP | f0712c41049b51e4bbb75bda0ed54c722aafa552 | 7ae8ee3484f711d1b2736d9a4975b7f68bf2b8d7 | refs/heads/master | 2023-01-18T15:16:33.021811 | 2020-11-12T02:32:54 | 2020-11-12T02:32:54 | 271,791,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,290 | cpp | // 这段 MFC 示例源代码演示如何使用 MFC Microsoft Office Fluent 用户界面
// (“Fluent UI”)。该示例仅供参考,
// 用以补充《Microsoft 基础类参考》和
// MFC C++ 库软件随附的相关电子文档。
// 复制、使用或分发 Fluent UI 的许可条款是单独提供的。
// 若要了解有关 Fluent UI 许可计划的详细信息,请访问
// https://go.microsoft.com/fwlink/?LinkId=238214.
//
// 版权所有(C) Microsoft Corporation
// 保留所有权利。
// MainFrm.cpp: CMa... | [
"824081348@qq.com"
] | 824081348@qq.com |
969a2fb5785799edc71398bb62383a3fda6c4b3d | 630ec43f6485ab309dd5f58d16c6426ec2e5a7c6 | /soundManager.h | 21ffb0a9310389f53dd2006a9a9c474dbda825bd | [] | no_license | deadmonstor/Games-Engine-Creation | 69bc52a059c5bc91915624146cf2bba814344324 | 9f57ae0546a0d7776ae9972b04b460ab7ebd3321 | refs/heads/master | 2022-04-25T04:39:27.222098 | 2020-04-28T23:31:10 | 2020-04-28T23:31:10 | 245,432,664 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #pragma once
#include "main.h"
#ifndef _SOUNDMANAGER_H
#define _SOUNDMANAGER_H
class soundManager
{
public:
~soundManager();
static soundManager* Instance();
void playSound(int id);
void playSound(int id, int loops);
void setVolume(int id, int volume);
private:
static soundManager* mInstance;
so... | [
"deadmonstor69@gmail.com"
] | deadmonstor69@gmail.com |
da10c96c50f303cc4488fb27760c80c2940cbd0d | f335d085aa484fbe617430e3fbd50b28747df045 | /SrcLib/io/cvIO/include/cvIO/PointList.hpp | f6593b8f5f61f3b948984164843c15d08bf41fc5 | [] | no_license | fw4spl-org/fw4spl-ar | 60f5e7fc57e42c15bd8f6dbd57dbcb6c62ed6b46 | d2a35bf368373f232d09c26f168eaa363c6ae197 | refs/heads/master | 2021-01-24T06:35:33.113302 | 2018-09-05T12:44:58 | 2018-09-05T12:44:58 | 31,675,795 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | hpp | /* ***** BEGIN LICENSE BLOCK *****
* FW4SPL - Copyright (C) IRCAD, 2018.
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
* published by the Free Software Foundation.
* ****** END LICENSE BLOCK ****** */
#pragma once
#include "cvIO/config.hpp"
#include <fwData/PointList.hpp>
#inc... | [
"kevin.gaudet@ihu-strasbourg.eu"
] | kevin.gaudet@ihu-strasbourg.eu |
c9e6ad43a58043e23e600cb61368a5fdc6cbe22b | 7ef1a3023df63a424dc38f840671da7c3dd65d79 | /source/3rd_party/libtcc/tests/libs/googletest/googletest/test/googletest-death-test-test.cc | 38676b08fc24bfc2ca76bd884af1674caeb5acf7 | [
"MIT",
"BSD-3-Clause",
"LGPL-2.1-only"
] | permissive | alandefreitas/sympp | 6815f7b8e768b29e732e88eb46216458ae2393ff | f8f0249de72355f513d0b9e61300eef715ca8895 | refs/heads/master | 2023-01-29T04:54:55.464616 | 2020-09-29T06:48:25 | 2020-09-29T06:48:25 | 299,464,590 | 12 | 2 | MIT | 2020-10-20T21:47:52 | 2020-09-29T00:35:52 | C++ | UTF-8 | C++ | false | false | 47,807 | cc | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"alandefreitas@gmail.com"
] | alandefreitas@gmail.com |
3795c46fc8410678a2de840bcb740866d233504e | ca35e9ad7161656b1e3eb4c2ded9fccba0e30549 | /Core/lda.cpp | ccbc653bfad23011435c4ccb853336e49e42b5d3 | [] | no_license | leppert/fire | 082725f1dcb79bd72dd9f12142bbe0dae211e6b8 | 9afa3a79d1961551e43d65b0e940b416fc40a65e | refs/heads/master | 2020-11-26T19:36:49.131773 | 2009-12-07T21:14:54 | 2009-12-07T21:14:54 | 1,627,927 | 1 | 1 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 7,160 | cpp | #include "lda.hpp"
#include "Lapack.hh"
#include "diag.hpp"
#include "gzstream.hpp"
#include <limits>
using namespace std;
using namespace Lapack;
LDA::LDA(int dim, int noCls) : dim_(dim), noCls_(noCls), counter_(0),
withinScatter_(dim,vector<double>(dim)),
... | [
"deselaers@gmail.com@b4508c54-8848-11de-8bba-6b05ac85e19d"
] | deselaers@gmail.com@b4508c54-8848-11de-8bba-6b05ac85e19d |
01e2bdd0fff3d89c603fbc82262c16b408267575 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/4e/adb12ef8708150/main.cpp | 686d97f099ba7a6d64ab31e56e12170b5fa9ec17 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include <iostream>
#include <iterator>
#include <vector>
int main()
{
std::vector<int> v{ 30, 10, 4 };
auto distance = std::distance(v.begin(), v.end());
std::cout << distance << '\n';
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
00a04c821323a15218ee1601efd1e1e5805a7cb9 | fab2f7213940477f0c570ab971f7900fb0fcb5c9 | /数据结构/稀疏矩阵的六种基本操作.cpp | bc13a2cea0ff9ea23b8f98a02f025a25ce485caa | [] | no_license | malijun1220/DataStructure | 52e5985e2d0049fb021027556e8be3e190000892 | 9a379d0b6eb9b77c71d17e88f18848d8db05bfed | refs/heads/master | 2022-11-12T16:35:12.538596 | 2020-07-05T09:39:22 | 2020-07-05T09:39:22 | 277,271,025 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,736 | cpp | /*稀疏矩阵的六种基本操作 10/30/2019 马丽钧*/
#include<iostream>
using namespace std;
#include<cstdlib>
typedef struct{
int row;//行
int col;//列
int data;
}Triple;
typedef struct{
Triple *elem;//指向Triple结构体的指针
int rownum;//行数
int colnum;//列数
int elemnum;//非零元素个数
}TSMatrix;
//创建
void CreateTSMatrix(TSMatrix &M)
{
M.elem=(... | [
"1318237250@qq.com"
] | 1318237250@qq.com |
661e494b235d1ab390490f805173a8e50da3b9a8 | 57b04b5849fcf05144cb029912e342ac71325d41 | /ProcetAPI_v1/Straight.h | 83572e968cb3c9b575b29902fdaee9dfe8c3c43e | [] | no_license | bisily/Win_API | 2d2b97171e46d6d1fc0d624092210bc0540b2c20 | 72c9f5fe19abe061a131d3f24d98dc18882f0349 | refs/heads/master | 2022-11-29T00:27:39.619398 | 2020-08-04T09:02:34 | 2020-08-04T09:02:34 | 284,929,893 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 285 | h | #pragma once
#include "Obj.h"
class Straight :
public Obj
{
public:
Straight();
~Straight();
public:
// Obj을(를) 통해 상속됨
virtual void Initialize() override;
virtual int Update() override;
virtual void Render(HDC hDC) override;
virtual void Release() override;
};
| [
"mnopw2@naver.com"
] | mnopw2@naver.com |
5a452e256e8e26e102f82938da1d73110df11ddf | 0ccc30b29af65a744ac4b80737ca917d6cfb5650 | /BitFuncs.hpp | be29a19dace9332e2ac074578769f4bf9efa023b | [] | no_license | LucasM127/Pentominos | c0293dd735f7ebfa9482f4b8f7061383f2565c4f | e27ab261b3ce33d439b1129f2eab97b32e80f96c | refs/heads/master | 2022-12-14T21:00:43.289789 | 2020-09-19T16:43:54 | 2020-09-19T16:43:54 | 279,170,742 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 947 | hpp | #ifndef BIT_FUNCTIONS_HPP
#define BIT_FUNCTIONS_HPP
#include <cstdint>
//manipulate bit at location 'n'
//makes it a 0 at n
inline uint32_t zeroBit(uint32_t in, int n)
{
return in & (0 << n);//zero
}
//makes it a 1 at n
inline uint32_t setBit(uint32_t in, int n)
{
return in | (1 << n);
}
inline uint32_t se... | [
"lucasmeisl@hotmail.com"
] | lucasmeisl@hotmail.com |
a9852b1d152e3197972222149451b597de819ab3 | f0a734fa76c5c39d1a472e9f19b29b996182921d | /McPC/GloveLibDllCpp/stdafx.cpp | 2c0c010ce9db55ffb99bc59a600ba60483474742 | [] | no_license | AlexMinhao/MicroMalathion | 8b02fa91eb986d70c8d52c6368bfe7b454f5354b | 0da4fb85c6b160218208a85ab3b7c0f28a1251dc | refs/heads/master | 2021-08-06T15:49:55.247092 | 2017-11-06T11:41:20 | 2017-11-06T11:41:20 | 109,660,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | // stdafx.cpp : source file that includes just the standard includes
// GloveLibDllCpp.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"whlmh901010@163.com"
] | whlmh901010@163.com |
9761a54e556a8917b5ba2457f85bcd467368a140 | 3050cff9fc47c36d011442cca3ecdea521397fca | /PA2.2.cpp | 9a58c78dd41b874ca89e10c6a67a8dce2152535f | [] | no_license | rkchaudhary4/PAs-of-DSA-IITK | 1ab1d911452e8f56fc0025a533f1667554da9ea8 | 8f721ff3e29a478d3792c823ee5abba58b6f703b | refs/heads/master | 2020-09-07T03:42:23.087096 | 2019-11-09T13:25:41 | 2019-11-09T13:25:41 | 220,645,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include<iostream>
#include<vector>
using namespace std;
class stack{
int s[1000000];
int top=-1;
public:
int empty(){
return top==-1;
}
int full(){
return top==1000000;
}
void push(int v){
if(!full()){
... | [
"rkc22042000@gmail.com"
] | rkc22042000@gmail.com |
cce802fb619645c46d00e812c62de1d6a38c835d | 2d84357464da75c86b43ac0e8ea968f7898e875c | /PokemonNew/client_project/frameworks/cocos2d-x/cocos/ui/UIHelper.cpp | 2e44c471bdec251b5c301f4fec7aa1295eb92edb | [
"MIT"
] | permissive | sungy450656977/Projects | 5d0da66631ee6c07fca7f3bfe0f11ff4ca56f316 | a128a5afabd42abdc2a1ca9e69c4afd2349e118f | refs/heads/master | 2020-03-28T23:08:04.068190 | 2019-03-04T15:36:48 | 2019-03-04T15:36:48 | 149,277,877 | 0 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 6,263 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | [
"sungy450656977@gmail.com"
] | sungy450656977@gmail.com |
8fae5f9bdf8f4fe5842c3b946d394738a824d912 | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/src/kits/storage/disk_device/DiskDeviceTypes.cpp | 84e66c49f5383e37b5a0430fa58814e605bc61a8 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,589 | cpp | /*
* Copyright 2003-2009, Antares Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Tyler Akidau
*/
#include <DiskDeviceTypes.h>
#include <disk_device_types.h>
// Device Types
const char *kDeviceTypeFloppyDisk = FLOPPY_DEVICE_NAME;
const char *kDeviceTypeHardDisk = HARD_DISK_DEVICE_N... | [
"michael@Inferno.(none)"
] | michael@Inferno.(none) |
33d58426d7edb65b516717738189c7c200a64e93 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_BP_Base_Stool_classes.hpp | 614a31974c2de8b0cb697ee3fd97b02936f80264 | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 615 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_Base_Stool.BP_Base_Stool... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
f7f508cb08d178de94f47b3ddb9ac385533b605d | e00ac41561e721da5ae75532e62d7db6372fa273 | /Game.h | 7bb4c57ed0d2669e7dc16d0c708d2ce4087cec85 | [] | no_license | papp-balazs/Microcraft | 50f0d26d00260121391fd9a4cd1fb96edb336b56 | 7f9fad3ef0ffcdedc658121c63f571a674fe0287 | refs/heads/master | 2023-06-18T12:25:11.989857 | 2021-06-22T15:38:33 | 2021-06-22T15:38:33 | 379,220,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | h | #pragma once
#include "WinConfig.h"
#include "Window.h"
#include "Timer.h"
#include "Camera.h"
#include <memory>
class Game
{
public:
Game(size_t width, size_t height);
Game(Game&) = delete;
Game& operator=(Game&) = delete;
~Game();
int Start();
private:
void DoFrame();
Window wnd;
Timer timer;
Camera cam;
... | [
"code.balazs.papp@gmail.com"
] | code.balazs.papp@gmail.com |
b16743cf77c0a62ffee75bf5821bc8b68d6aeeaa | 5092612ab28f794bd66d0959acdfeaf00c128f7b | /user_interface.cc | c94763d25f727e6c0aed51908141dc1da615a458 | [
"Apache-2.0"
] | permissive | yashsehgal/rock-paper-scissors-cpp | f41d953bfded6f2efe18c0667a47f92e54233ce7 | 2d32c28fe7c6d547d88ad23c5fee2ef83887be14 | refs/heads/master | 2022-11-23T07:53:03.695253 | 2020-07-21T20:10:59 | 2020-07-21T20:10:59 | 279,346,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cc | // this is the .cc file for the user-interface module
#include <user_interface.h> | [
"yashsehgal.work@gmail.com"
] | yashsehgal.work@gmail.com |
71118f15c3bda79751260f9d9452aaac76d1c540 | 7b720eb0dc6ee0847e543b8556254e769fcb995d | /new Project/new Project/6-24.cpp | 1a565e6848399303da64a71dabe6883fdfe90daa | [] | no_license | kkwoo0620/Hello-World | 635d30729507a6961e74d840e02b4064a0752235 | e66aed68c89abffcd30acdfac7fe756c65afc8d1 | refs/heads/master | 2022-02-25T22:18:56.244678 | 2019-10-17T05:39:37 | 2019-10-17T05:39:37 | 211,872,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
vector<int> v;
v.push_back(10);
v.push_back(20);
v.push_back(30);
v.push_back(40);
v.push_back(50);
vector<int>::iterator iter = v.begin();
v.erase(iter);
for (iter = v.begin(); iter != v.end(); iter++)
{
cout << *iter << endl;
}
... | [
"52120400+kkwoo0620@users.noreply.github.com"
] | 52120400+kkwoo0620@users.noreply.github.com |
c76fdbd5419d896ffcb638a06fb7af653b88270c | 437c733b94580ce042ae776c1c4409ecc78ea8a5 | /tesseract/tesseract_planning/tesseract_process_planners/include/tesseract_process_planners/generators/passthrough_process_generator.h | 9c3ac70306c287cea9f1fad7bea54fbe26583701 | [] | no_license | zyjiao4728/tesseract | 247de956547b3c5cdd3a540a96dc503d27a0b4f0 | 8ace5a04aeea4670badfe716f2d94001e1ef7ab5 | refs/heads/master | 2022-02-20T10:07:47.063165 | 2020-09-03T18:49:43 | 2020-09-03T18:49:43 | 204,072,000 | 0 | 0 | null | 2019-08-23T21:25:41 | 2019-08-23T21:25:40 | null | UTF-8 | C++ | false | false | 1,619 | h | #ifndef TESSERACT_PLANNING_PASSTHROUGH_PROCESS_GENERATOR_H
#define TESSERACT_PLANNING_PASSTHROUGH_PROCESS_GENERATOR_H
#include <tesseract_process_planners/process_definition.h>
namespace tesseract_process_planners
{
class PassthroughProcessGenerator : public ProcessStepGenerator
{
public:
PassthroughProcessGenerato... | [
"levi.armstrong@gmail.com"
] | levi.armstrong@gmail.com |
9c230e3403ab0523d51916f53bab123e5e29473c | c7512b7d589fd3cef72c85f9cda6370335c7d2fd | /HW06/calculatorOperations.cpp | df9cd1f0812abe1efeab29742f8f231bf8653eee | [
"Apache-2.0"
] | permissive | fitsenegn/CSCI2421 | b42b7a891aefdd509f40a9a32a20adceeab71bc9 | 8896330c15316e8dcd1b9476fd3e68ce230e1f36 | refs/heads/master | 2020-05-14T11:52:09.195182 | 2018-05-08T05:46:04 | 2018-05-08T05:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | cpp | #include "calculatorOperations.h"
std::string Calculator::toPostfix(std::string infix) {
std::string postFix;
StackInterface<char>* operatorStackptr = new MyArrayStack<char>();
for(int i = 0; i <= infix.length(); i++){
char C = infix[i];
if(isNumber(C)){ // add the number to the postfix expression
... | [
"baby.hughee@gmail.com"
] | baby.hughee@gmail.com |
3d8a3871ea98224732cac02ae27e3af41da4f61b | aa0cfd03c600fa33d0112513e3db27a7765cd657 | /Baekjoon/cpp/Average_4344.cpp | e318e972190291d6b754be4767dcf4da129871be | [] | no_license | seokju2ng/Algorithm | d69704e11c54ddd7660cfc58c95dee6f47b10af3 | 6e2fbd058c2bbb390dc82c491918d7a163f0a729 | refs/heads/master | 2021-06-25T19:15:58.660344 | 2021-01-24T10:17:05 | 2021-01-24T10:17:05 | 209,930,271 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | // 작성자: 김석중. Average_4344.cpp.
#include <stdio.h>
int main(){
int testCnt, stdntCnt, sum, chk;
int score[1000];
double avg;
scanf("%d", &testCnt);
while(testCnt--){
chk = 0;
sum = 0;
scanf("%d", &stdntCnt);
for(int i = 0; i < stdntCnt; i++) {
scanf("%d", ... | [
"ehddnwnd@naver.com"
] | ehddnwnd@naver.com |
b867d73b836550bab66bc1968627a1ba82a191d9 | feacf9980d3bd45e0b17ed49e29b8b6c74e6507f | /mydialog1/twowidget.cpp | 0aea745369157fcd147306a2dee71f15cfb97d08 | [] | no_license | yTony1998/opencvQT | 2fce95b68e31f82b07bd7ba235a50c7218017806 | 6b0ff471b373e1e84051efcaa202ffafde4827fc | refs/heads/master | 2022-07-18T09:46:30.128376 | 2020-05-14T08:39:08 | 2020-05-14T08:39:08 | 263,849,069 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,142 | cpp | #include "twowidget.h"
TwoWidget::TwoWidget(QWidget *parent):QWidget (parent){
this->setWindowTitle("实验二");
this->resize(800,800);
this->move(300,0);
//return main
Remain = new QPushButton;
Remain->setParent(this);
Remain->setText("to main");
Remain->move(600,600);
Remain->resize(70... | [
"562928435@qq.com"
] | 562928435@qq.com |
3e5595aca6898b3843b705a2231d63b3128fe9d1 | 7b5b5bbb1e2030aa44a5fa9ecb0439349f3a66d9 | /include/distance.h | 1adb9bbd152a24c544fa74e1553b45792adf3eb7 | [] | no_license | zhufangzhou/utils | b139d436c388a88c6b801175b892691953ecccfe | d7a36011d65d2892a40cec43e65511196e96cc3f | refs/heads/master | 2020-05-19T07:48:15.823960 | 2015-01-15T13:01:51 | 2015-01-15T13:01:51 | 23,986,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,540 | h | #ifndef _DISTANCE_H
#define _DISTANCE_H
/*
* This header file contains many different distance measure
*
*/
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
int bit_count(int x);
int lcs(std::string x, std::string y);
int edit_dist(std::string x, std::string y);
int hamming_dist(int x, i... | [
"zhu.ark@gmail.com"
] | zhu.ark@gmail.com |
adad87744749ef16d3ce3594628b0b3636b37396 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_4446.cpp | 3f92eeca7c26b2589f35240a8f44826660faac5c | [] | 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 | 998 | cpp | * Apply the current rule.
*/
ctx->vary = NULL;
rc = apply_rewrite_rule(p, ctx);
if (rc) {
+
+ /* Catch looping rules with pathinfo growing unbounded */
+ if ( strlen( r->filename ) > 2*r->server->limit_req_line ) {
+ ap_log_rerror(AP... | [
"993273596@qq.com"
] | 993273596@qq.com |
29dc7df8c7bc90b6d2f9552a56099101c9e4139e | 5098a5bab107adb675b394b06093ed6913921ebc | /SDK/AnalyticsBlueprintLibrary_classes.h | f27925295f8f98ee67174aaa545e092e8961b21e | [] | no_license | tetosama/DRG-SDK | 87af9452fa0d3aed2411a09a108f705ae427ba1e | acb72b0ee2aae332f236f99030d27f4da9113de1 | refs/heads/master | 2022-03-31T00:12:10.582553 | 2020-01-18T21:21:43 | 2020-01-18T21:21:43 | 234,783,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,216 | h | #pragma once
// Name: , Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// Class AnalyticsBlueprintLibrary.AnalyticsBl... | [
"39564369+tetosama@users.noreply.github.com"
] | 39564369+tetosama@users.noreply.github.com |
716801138b670801d7094509cf05c8081a122969 | 758277d98a90c1596da6d81bf43c878555048cd9 | /Src/MirageEngine/Core/Framework/Parallel/TaskCreator.h | c5cfd6367099ef30938d935269ca7e420939f3cc | [] | no_license | MirageAmazing/MirageEngine | e6bc637c010a911c9bebe4010d48f65a8fbe195d | 8063cbfd4157491303c6d07de88ba06c55c0082a | refs/heads/master | 2020-12-03T00:41:20.905435 | 2018-08-27T13:28:38 | 2018-08-27T13:28:38 | 96,056,559 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 521 | h | #pragma once
#include "../../DesignPattern/Observer.h"
#include "Task.h"
namespace Mirage {
namespace Framework {
namespace Parallel {
using namespace Mirage::DesignPattern;
/// <summary>
/// The creator of task.
/// </summary>
class ITaskCreator : public Observer {
public:
ITaskCreator();
... | [
"yangkangxierong@gmail.com"
] | yangkangxierong@gmail.com |
40957c70d8bcf8c44faf22328eb569745035af3b | 8c5ca1bee5f581cebea051f181725698ef3e4e31 | /src/tsplugins/tsplugin_decap.cpp | c6405dd4ec0448cfc7a04f133edbb378a1ba7af7 | [
"BSD-2-Clause"
] | permissive | vtns/tsduck | 1f914c799fcd3e758fbea144cbd7a14f95e17f00 | 2a7c923ef054d8f42fd4428efe905b033574f78f | refs/heads/master | 2023-08-28T08:11:02.430223 | 2021-10-29T23:28:47 | 2021-10-29T23:28:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,441 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
1c718f662a43c55538818ca57d138ed5c4f4d513 | cc682a074cd117018919f7202d5a0805643fe095 | /IDEAFUSE16C - Special Formation.cpp | 3649da4413ac0b0e25b7dbba0ff13f79f94ab871 | [] | no_license | ipul23/CP | b86d19126f08d7b77e36008092c7c5e25ff2c5b7 | fabffc3cca12f9337914a33766b0fd6f354d5c1d | refs/heads/master | 2021-04-06T20:28:25.216089 | 2018-03-14T15:24:28 | 2018-03-14T15:24:28 | 125,229,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | #include <bits/stdc++.h>
#define mod 1000000007
using namespace std;
int dp[21][1111111],hasil;
int n,size[21],data[21][21];
int bitmask(int x,int y){
if (dp[x][y]!=-1) return dp[x][y]%mod;
else if (x<n-1) {
dp[x][y]=0;
for (int j=0; j<size[x+1]; j++){
if ((y&(1<<data[x+1][j]))){
dp[x][y]=(dp[x][y]%mod+b... | [
"sflramadhan@gmail.com"
] | sflramadhan@gmail.com |
6294479f59f28f826ec699976776390b35608dfc | 5dec86e71d9b6ad0eb66ba0e8b57edbf18fe9cc5 | /阈值分割/Split_img/Split_img/main.cpp | d65b64feef5cf332eecf5c07f8b96e7a03b191ca | [] | no_license | cqnu/demo_opencv | 8f73d79e84cbd91d9744bb080e32647539a4a16a | c40aa78df11e13db9851ea013240f118227434b6 | refs/heads/master | 2021-09-22T18:09:12.877825 | 2018-09-12T08:40:15 | 2018-09-12T08:40:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 821 | cpp | #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/opencv.hpp"
using namespace std;
using namespace cv;
int main()
{
Mat srcimg;//原图像
srcimg = imread("1.png");
//判断原图像是否成功读取
if (!srcimg.data)
{
return -1;
}
Mat grayimg;//灰度图
cvtColor(srcimg,grayimg,CV_RGB2GRAY);// 灰度化
//全局二值... | [
"1114809057@qq.com"
] | 1114809057@qq.com |
6f55cb4f9b2a9b90d02bc3fdda97a58c09e87858 | 9892c66817659f75499d74fd00b9dd9b8fa8833e | /Classes/HorseshoeMain.h | ee9b7a991b50b73397adbb70c1a51658e14c1287 | [
"MIT"
] | permissive | AnujAsher/Horseshoe | 83c4b10b8786cdd9447a407db03d30b79e58797d | 7495711a162cd571e43983580a70cdc3c884ec4e | refs/heads/master | 2016-09-01T11:11:31.448845 | 2016-01-20T12:44:33 | 2016-01-20T12:44:33 | 49,271,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | h | #pragma once
#include "HorseshoeMenu.h"
#include "Piece.h"
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "SimpleAudioEngine.h"
class Piece;
class HorseshoeMain : public cocos2d::Scene
{
public:
virtual bool init();
CREATE_FUNC(HorseshoeMain);
virtual void onEnterTransitionDidFinish();
void setBG... | [
"anujasher@gmail.com"
] | anujasher@gmail.com |
f07e70d21abcec0b883ef934cb0fcfd1e333c691 | ce23e0889ce1ec79fde1d8a1fe48b3190bc25822 | /include/VTM.hpp | f0da4f4636455294aaf1fd775c56cfff26918bf3 | [] | no_license | jiangxubin/NLP | 88869525482860f6baaf102017e875abe4661615 | 541ae3ce5a303a7dea786a70dbdeaf6abfab4e2e | refs/heads/master | 2020-03-25T23:00:45.588694 | 2018-08-10T07:57:23 | 2018-08-10T07:57:23 | 144,255,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | hpp | // #pragma once
#ifndef __VTM__
#define __VTM__
#include <string>
#include <map>
#include <tuple>
using namespace std;
class VTM
{
public:
VTM();
~VTM();
map<string, unsigned long long int> dictionary;
map<string, unsigned long long int> ::iterator dict_iter;
int max_dict_word_length;
unsigned long long int tota... | [
"21612149@zju.edu.cn"
] | 21612149@zju.edu.cn |
c753ebed592ae8dc952f8146f34a3a48646d9853 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/modules/keyboard/keyboard_layout.cc | 43d7f10f1d698182a6a3f0d559d06b6fe69ade23 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 2,175 | cc | // 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.
#include "third_party/blink/renderer/modules/keyboard/keyboard_layout.h"
#include "services/service_manager/public/cpp/interface_provider.h"
#include "th... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
af4a5d5b10815544c67961c399246df8e1e1fa0a | 3cfc6a2fe8c161664f8180831a0922fcdbac4165 | /_MODEL_FOLDERS_/!_model_44bit_Stride/pillerPlantPot/pillerPlantPot_INIT.cpp | 758544f02004015dcfe1c4a85e8c4258a10a7e85 | [] | no_license | marcclintdion/a8a_Ch_TURNTABLE | 1ae6e6d57326b76c81034ad631dc6651e297b6d3 | f45e87d58f09c586207df5248e7b990114f7f881 | refs/heads/master | 2021-01-10T07:11:56.090624 | 2015-09-30T14:05:37 | 2015-09-30T14:05:37 | 43,436,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,133 | cpp | //------------------------------------------------------------------------------------------
#ifdef __APPLE__
filePathName = [[NSBun... | [
"marcclintdion@Marcs-iMac.local"
] | marcclintdion@Marcs-iMac.local |
41c02574f889eb9715ec88a782007e7cbfc0be0a | 303483be36fe981b50b051766a57212239e5d90a | /Asia - Dhaka 2011/Pair of Touching Circles.cpp | bc6057c018b32632beba70aa403968148a7e5282 | [] | no_license | garo9521/Concursos | 375be1361788614daaf32bb5f5c1fe0420dc6707 | fd4f4c6835177a82e27997cfbe5fc313ab5cc9b0 | refs/heads/master | 2021-01-19T19:39:50.443367 | 2015-10-21T01:29:32 | 2015-10-21T01:29:32 | 24,471,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXN 2005
int dp[MAXN][MAXN];
bool vis[MAXN][MAXN];
int f(int x, int y){
if(x <= 0 || y <= 0)
return 0;
if(vis[x][y])
return dp[x][y];
vis[x][y] = true;
return dp[x][y] += f(x - 1, y) * 2 - f(x - 2, y) + f(x, y - 1) * 2 - f(x, y - 2) - f(x - 1, y - 1) ... | [
"garo.edgar21@gmail.com"
] | garo.edgar21@gmail.com |
867d79b3e640d59b358efcf7861767985f48bed7 | d80fd3a98114f5b0a260e558768d1188a96ee85a | /src/cryptopp/sha3.h | e863b327e6f9730a6d79c388abc4bdf40f252b69 | [
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | gkcproject/gkccash_core | 9c599c5377683b25d9974d8c0f8983ce820676ab | 1bec1d5dd91fde93276f2ddb2cc63b93f02ba3e9 | refs/heads/master | 2023-06-16T01:10:42.286710 | 2021-06-28T09:49:04 | 2021-06-28T09:49:04 | 257,286,295 | 67 | 17 | MIT | 2021-01-04T01:39:57 | 2020-04-20T13:16:14 | C++ | UTF-8 | C++ | false | false | 3,605 | h | // sha3.h - written and placed in the public domain by Wei Dai
//! \file sha3.h
//! \brief Classes for SHA3 message digests
//! \details The Crypto++ implementation conforms to the FIPS 202 version of SHA3 using F1600 with XOF d=0x06.
//! Previous behavior (XOF d=0x01) is available in Keccak classes.
//! \sa <... | [
"gkcproject@hotmail.com"
] | gkcproject@hotmail.com |
7f64176e9051300885988f2899d0d0f39b637322 | afd8a902f798eb432b97071ccb51663b758bf951 | /app_solution/app_new/frmregions.h | 1176f6e929ea46904653823b2769500449378ce3 | [] | no_license | doublebyte1/faocas_qc_w | d94da176111e196aa363d52975018060f94c82a8 | b7aff6af254779d0a5232302277be292416dca5d | refs/heads/master | 2016-09-05T13:47:23.372261 | 2014-03-11T15:02:36 | 2014-03-11T15:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | h | #ifndef FRMREGIONS_H
#define FRMREGIONS_H
#include <QtGui>
#include <QtSql>
#include "ui_frmregions.h"
#include "tree.h"
#include "generictab.h"
#include "sql.h"
#if defined(WIN32) && defined(_DEBUG)
#define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
#define new DEBUG_NEW
#endif
... | [
"doublebyte@gmail.com"
] | doublebyte@gmail.com |
d5fe4d10dc908267ee885e672b92910fe86592c5 | 3454cc0586b347cdc7ab6795ec764a39634a5ebc | /code/BCAKE.cpp | 6378da8f95a4138102d0cbca651f5171726272d7 | [] | no_license | tillenium/spoj_problem_solutions | ea790a76e434769473714ccc985fb3d4ed881444 | bce6f10014cc98ec42419e996a4e8eb391b957db | refs/heads/master | 2022-12-10T08:30:17.473873 | 2015-09-28T05:02:42 | 2015-09-28T05:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define fr(i,a,b) for(int i=a;i<b;i++)
int main(){
int h,w,k1,t;cin>>t;
while(t--){
cin>>h>>w>>k1;
vector<vector< int> > cake(h+1, vector<int> (w+1,0));
char c;
fr(i,1,h+1){
fr(j,1,w+1){
cin>>c;
if(c=='C'){
cake[i][j]=1+cake[i-1]... | [
"Anubhav@apples-MacBook-Pro.local"
] | Anubhav@apples-MacBook-Pro.local |
6a009341309fbc6ba01fc1a75fc4b4fea5109edc | 6e1ea4af1e41841870610cf0fe17968012d042d0 | /build-Schronisko-Desktop_Qt_5_4_2_GCC_64bit-Debug/moc_modelpsy.cpp | f28067bb972195d8da95b0f29c3af7468446445d | [] | no_license | militia11/schroniskoOkienkowe | 563a50529b3e2b5cdfcf180db6e0ff95c9c2ff4d | ce02fb50cce54f22a128879958883ffc4b0a0ac1 | refs/heads/master | 2021-01-10T20:57:37.114718 | 2015-07-01T12:44:04 | 2015-07-01T12:44:04 | 38,118,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,621 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'modelpsy.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | [
"m.michniewski@wbe.local"
] | m.michniewski@wbe.local |
e11f9349685daa56cd46e7bcdc994a0baada246b | 46c040b7701221d59d9939d3669ec3644c2f9f60 | /main.cpp | 0aa236996177a7a04abe3edc2a60e008ca8d53d8 | [] | no_license | GanonCode/SkyrimSESaveReader | 8f7d35281aa9b859c3e4b7c823f78be41d976dbc | a120faae34aa43bdd578e5b8cc150c263d418af9 | refs/heads/master | 2019-07-10T05:13:27.046926 | 2017-12-31T19:58:14 | 2017-12-31T19:58:14 | 91,016,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include "SkyrimSESaveReader.hpp"
int main(int argc, char** argv){
SkyrimSESaveReader reader;
if (reader.loadSaveFile("SkyrimSE.ess")){
reader.loadDataFromSaveFile();
reader.printAllData();
} else {
cout << "Error loading save file\n";
}
return 0;
} | [
"mboharsik@gmail.com"
] | mboharsik@gmail.com |
c307999ebd6f0b0c08e0f4726e51982256f7bbe6 | f6ef37c6ba1bbcc99e28ad2c8af761ee9e7f602e | /anaconda_two/src/AnAddress.cpp | ff352e63fd9db709082a151ecd8d5ee3bbba3e47 | [] | no_license | joschambach/TOF_Software | 7a2058064851a43564bb41f8e9ea7558cfc6bfb9 | 3cd7010a0f22472d53ce41116c8e63948f2efe01 | refs/heads/master | 2021-06-04T06:54:24.264885 | 2020-07-17T16:07:14 | 2020-07-17T16:07:14 | 96,495,351 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,347 | cpp | /*
* $Id$
*
* Created on: Nov 23, 2008
* Author: koheik
*/
#include <QtCore/QDebug>
#include <QtCore/QStringList>
#include "AnAddress.h"
AnAddress::AnAddress(QObject *parent) : QObject(parent)
{
for(int i = 0; i < 3; ++i) m_addr[i] = 0;
}
AnAddress::AnAddress(quint8 w, quint8 x, quint8 y, quint8 z, QObje... | [
"koheik@physics.utexas.edu"
] | koheik@physics.utexas.edu |
8cd53b26cb6bfb025826a47f2fd7a3261e8cfd84 | 53175b209ede1b0926934a0b9a87edcf6cca9662 | /019_removeNthNodeFromEndOfList.cpp | 3c4352be8f4c79961fddbf59475c5dedc19d554b | [] | no_license | wenxin-bupt/leetcode | b3c09f11b6e929dfceabf831c6ec4d1450cc94bc | d3e1678d2cbe8108db7d8cdfb454d2ed48e78191 | refs/heads/master | 2021-01-10T02:17:08.208985 | 2016-04-01T14:20:59 | 2016-04-01T14:20:59 | 48,747,947 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | /**
Problem: Remove Nth Node From End of List
Link:https://leetcode.com/problems/remove-nth-node-from-end-of-list/
**/
/**
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the ... | [
"ilstr56@gmail.com"
] | ilstr56@gmail.com |
2d49cfd87c18fd18f8e89355c33ad702541fb6a1 | c0b2b5e76a36028728f6d6762e4f2ca85eaac87d | /src/rpc/net.cpp | 395c8874b3eb540336bf502a99a1a5dc17fbff3c | [
"MIT"
] | permissive | compasspay/compass | c6352f867b1892f78a8fdf41068696101d150eb5 | 70e76e5e0795a000a6c559ee1c13faf7268bc679 | refs/heads/master | 2020-03-23T19:30:54.023806 | 2018-07-23T08:27:06 | 2018-07-23T08:27:06 | 141,983,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,448 | cpp | // Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/server.h"
#include "chainparams.h"
#include "clientversion... | [
"development@compasscoin.website"
] | development@compasscoin.website |
cddcf32536ca092e194e68e84985e09e88807e07 | cd72b19d2030f36f78dab52390d092ed3dc8005f | /IO/src/pam/src/export.cpp | 63494181c6ce795ca00040a43dded6785de4f979 | [
"MIT",
"DOC"
] | permissive | stitchEm/stitchEm | 08c5a3ef95c16926c944c1835fdd4ab4b6855580 | 4a0e9fc167f10c7dde46394aff302927c15ce6cb | refs/heads/master | 2022-11-27T20:13:45.741733 | 2022-11-22T17:26:07 | 2022-11-22T17:26:07 | 182,059,770 | 250 | 68 | MIT | 2022-11-22T17:26:08 | 2019-04-18T09:36:54 | C++ | UTF-8 | C++ | false | false | 1,041 | cpp | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include "export.hpp"
#include "pamOutput.hpp"
#include "libgpudiscovery/delayLoad.hpp"
#include <ostream>
#ifdef DELAY_LOAD_ENABLED
SET_DELAY_LOAD_HOOK
#endif // DELAY_LOAD_ENABLED
/** \name Services for writer plugin. */
//\{
extern "C" VS_... | [
"stitchemvr@gmail.com"
] | stitchemvr@gmail.com |
980dc1e512a760d3ee5a060fa003bb4ce6309dda | d49b855c86b1bb576c75e7daef31fea9d100b32a | /oneflow-master-zj/oneflow/user/ops/broadcast_like_op.cpp | b5489b4a8abf033cd78115f2021227ae61f7295c | [
"Apache-2.0"
] | permissive | wanghongsheng01/Dubhe | dceabf9525bc04d10326c3ec24aaa5c10148fd15 | a53a8356df34daa6056955bda84269f43ffb40ab | refs/heads/master | 2023-05-30T10:26:19.952824 | 2021-06-22T13:37:05 | 2021-06-22T13:37:05 | 379,215,510 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,574 | cpp | /*
Copyright 2020 The OneFlow 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 agre... | [
"2496533749@qq.com"
] | 2496533749@qq.com |
0089827cc7a50f36e26a3a65fd09d7c11a05c151 | 84315e67a83bce9f6a60f7af4f42838456dfd0b2 | /hash/Group_Anagrams.cpp | 8f775549bbcc4f0426319e606e17ea3962ee0102 | [
"MIT"
] | permissive | fanyingming/leetcode | 0b231b4f3743fc01043819340f78ff52f994bdce | f83370d0ecca0d1fe1abe0c37cf06d4ab05af3ea | refs/heads/master | 2021-01-13T06:28:24.804373 | 2015-10-28T13:51:15 | 2015-10-28T13:51:15 | 35,767,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | class Solution {
public:
vector<vector<string>> groupAnagrams(vector<string>& strs) {
vector<vector<string>> rl;
unordered_map<string, vector<string>> htable;
for (int i = 0; i < strs.size(); i++) {
string str = strs.at(i);
string str_sorted = str;
sort(str_sorted.begin(), str_sorted.end());
unorder... | [
"yingmingfan@gmail.com"
] | yingmingfan@gmail.com |
bea8e5ce89f997aba9fde35a6ba23b2c6b275691 | d094855bac079cf7eb1804a09253695d01ddeb06 | /week2/DiameterofBinaryTree.cpp | 330bde5d8e70a9b138e75cd49eb3c9c70f5efae9 | [] | no_license | Mudassir710/30-Day-LeetCoding-Challenge | aefa3575b7e6736244fdda21bd3752a2c491316d | 0c37061c98ab2fa885523eb07d2609418f2ce40b | refs/heads/master | 2022-05-22T03:37:41.433076 | 2020-05-01T17:43:19 | 2020-05-01T17:43:19 | 260,390,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | /*
Mohammed Mudassir Mohiuddin
*/
class Solution {
int height(TreeNode* t){
if (t == 0)
{
return 0;
}
else
{
return 1 + max(height(t->left),height(t->right));
}
}
public:
int diameterOfBinaryTree(TreeNode* t) {
if (t ... | [
"mudassir.anas@gmail.com"
] | mudassir.anas@gmail.com |
ff5ab3b16619c15655fd1f48af255cc98ae1d5e4 | 1a6012d7d3ec0a63bc1efef112f06839fa558c52 | /ms/Milestone5/ms5_Allocator.cpp | e1035b4ff22ff30bf4cbcb9232947427ab7ebc3d | [] | no_license | evuong/OOP244 | d0df3825ccca1a4fb2ea513caf130670f65adfaf | 1583110f03cdc4cabc4fc50bef1efaf80c18f35b | refs/heads/master | 2020-04-15T18:32:42.018158 | 2019-02-14T16:27:20 | 2019-02-14T16:27:20 | 164,915,791 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | // Final Project - Milestone 5
// Version 3.4
// ms5_Allocator.cpp
// 2018-10-18
// Authors Fardad Soleimanloo, Chris Szalwinski
//
// For you final test before submission:
// DO NOT MODIFY THIS FILE IN ANY WAY
//
// Revision History
// -----------------------------------------------------------
// Name ... | [
"edward@edwards-Macbook-Pro.local"
] | edward@edwards-Macbook-Pro.local |
be2a630e284a154e38710ef0ec0f8624e3caf4dd | 0a91e43c1037aee4a52dab174ae7df17c30865ae | /midelegado.h | 39488ae3d2d7b095ee8cf6a2e7dc61becd4002b6 | [] | no_license | exodehm/tablacalc | cd4165f7e81f23e17dbcd5eebe7f113cc20ba66d | 73c4c051500feb9be21a292b57a851215b3e0089 | refs/heads/master | 2020-05-31T07:53:37.437408 | 2019-06-04T09:56:21 | 2019-06-04T09:56:21 | 190,175,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | #ifndef MIDELEGADO_H
#define MIDELEGADO_H
#include <QObject>
#include <QStyledItemDelegate>
class MiDelegado : public QStyledItemDelegate
{
Q_OBJECT
public:
explicit MiDelegado(QObject* parent=nullptr);
void paint( QPainter *painter,const QStyleOptionViewItem &option, const QModelIndex &index ) const;
... | [
"davidehm@gmail.com"
] | davidehm@gmail.com |
bc39c52e4c48e8943a0a5a4a1092ea678510b5e5 | 8dac654680c3d5b2928eddd0b1025bb816f4e96d | /GamePrototype/GamePrototype/ProjFactory.cpp | f1f5ad471450215f6282b533dfebf596b816ed1d | [] | no_license | Akamoto529/ScrollDownShooter | b4eb425ec04dc361d044234e72927354d43c38dc | 01495c75a45807e8bccabe9a0af4e8b639b8a92d | refs/heads/master | 2020-09-07T12:17:05.752206 | 2019-12-25T21:35:32 | 2019-12-25T21:35:32 | 220,776,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25 | cpp | #include "ProjFactory.h"
| [
"40491944+Akamoto529@users.noreply.github.com"
] | 40491944+Akamoto529@users.noreply.github.com |
3333e534ffb50b525947f23743c660e0a416c908 | f19dfab46378203ae4d2aff55544ebf6b9beb2e4 | /TouchGFX/generated/gui_generated/include/gui_generated/common/SimConstants.hpp | ea5a35c97ec62eac69cdbb29fb36564c673da2c8 | [
"MIT"
] | permissive | EmbeddedSystemClass/STM32F746G-DISCO_TouchGFX_Demo-Graph | b7149324ebc1657628059b5d20d274252754a5f7 | 0375fad81b314bd1b9ec8f9101b51ac077d5ea81 | refs/heads/master | 2021-03-23T21:04:49.876623 | 2019-02-04T07:53:43 | 2019-02-04T07:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | hpp | /*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#ifndef SIMCONSTANTS_HPP
#define SIMCONSTANTS_HPP
static unsigned s... | [
"hugo.arganda.ext@valeo.com"
] | hugo.arganda.ext@valeo.com |
2ab341bb14b233d5dcb15fe189dbe5a45443fff8 | faab6b994044c39bcb1cfedb8f48f7c30df24dcd | /04-RMA/04-RMA-PUT.cpp | c29d00d34f2843bd0d0389afb6ff32a4a85d9249 | [] | no_license | FerroEduardo/HPC-MPI | 9a481eb6a59d668bba5bd261ca4949a3488d364c | 93248bb95c7f80d0aa1f7c7b95c5a7d54a8a3341 | refs/heads/main | 2023-05-31T16:28:06.082804 | 2021-06-23T15:11:05 | 2021-06-23T15:11:05 | 376,050,083 | 1 | 0 | null | 2021-06-11T14:25:32 | 2021-06-11T14:25:32 | null | UTF-8 | C++ | false | false | 1,947 | cpp | //https://docs.microsoft.com/en-us/message-passing-interface/mpi-datatype-enumeration
#include <iostream>
#include <cstdlib>
#include <mpi.h>
#include <string>
#include <ctime>
#include <fstream>
#include <cassert>
#define ALING 64
using namespace std;
void printVet(int *A, int s, int m_pid){
cout << "ID :" << m_pid ... | [
"zamith.marcelo@gmail.com"
] | zamith.marcelo@gmail.com |
1fadd9c514b5107ff97b6dbcb1a4f8db76d3e0b3 | 4e38ed925e356e7efe6b0918429dad19e23fe700 | /tsrc/musenginestub/src/mussipprofilehandler.cpp | a34859e98df6bf5c6a78bc21aea5d6e5e0cb2340 | [] | no_license | SymbianSource/oss.FCL.sf.app.mmsharinguis | 75a90aebd091f5ebcedfe1e6cc3a3ff2043e31fa | 9054f87d8ed408d79a305f09d720e6812e12244c | refs/heads/master | 2021-01-10T22:41:23.550567 | 2010-10-03T21:13:53 | 2010-10-03T21:13:53 | 70,368,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,930 | cpp | /*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.