blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7eeef307b65116777a3ff74da3d2ca630f1b7046 | 530208803dd07020362230c413cb77be548db263 | /src/rpcrawtransaction.cpp | 0959377d1e54572564a57ac441aad36caa2d13f5 | [
"MIT"
] | permissive | cryptoghass/bitcoinpositive | d93dbb2ad85f9e02e2efa0f34301de0ab6af7ef4 | 3a1f0e29e49efa821f330996d127be2d3883ab6d | refs/heads/master | 2020-04-04T12:34:00.610291 | 2018-01-12T11:14:32 | 2018-01-12T11:14:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,984 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... | [
"info@bitcoinpositive.org"
] | info@bitcoinpositive.org |
d4174b6c735ed506031b47563997ac5c280709f0 | 0298a3d2c1a8e262b7e28dfa520b873a5225549d | /labs14/n3/n3.cpp | cab683d4bbba18d0f9a91900dcfb9fd3f63b848c | [] | no_license | flerince/labsvvp | 693550a211f4f75267a6fd6975a6e35b3bd89f36 | 086f48aef0f71615590f4dc0ec47c23a19ab590e | refs/heads/main | 2023-02-10T04:01:14.893541 | 2021-01-08T00:19:38 | 2021-01-08T00:19:38 | 301,724,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include <stdio.h>
#include <locale.h>
int main() {
setlocale(LC_ALL, "Russian");
int i=0,N,K=0;
printf("Введите число (N>1) \n");
scanf_s("%d", &N);
while (i < N) {
K++;
i +=3;
}
printf("Наименьшее из целых чисел: %d \n", K);
printf("Сумма: %d.\n", i);
return 0;
} | [
"alena.lovel.milih@gmail.com"
] | alena.lovel.milih@gmail.com |
b10cc0fe73794e7cda336646e6284666099eb164 | 89ebb0e2d24c8ecdb760d6ced31480e9a1c0d72e | /Motor/Motor.h | 0809828507cdc4d94db6a37395690c74f41fcbaa | [] | no_license | anothermist/LIBRARIES | 81354e0900555727d7cdbf773b7ad32c47715deb | 6fa83f34d9e1e79028e4f0233782e440e9374fe0 | refs/heads/master | 2021-01-12T03:47:11.165195 | 2019-09-10T00:08:07 | 2019-09-10T00:08:07 | 78,262,870 | 16 | 12 | null | 2019-11-02T18:11:25 | 2017-01-07T06:27:33 | C | UTF-8 | C++ | false | false | 207 | h | #ifndef __MOTOR_H__
#define __MOTOR_H__
class Motor
{
public:
Motor(int pin, bool isDigital);
void on();
void off();
void setSpeed(float percent);
protected:
int outputPin;
bool isDigital;
};
#endif | [
"anothermist@gmail.com"
] | anothermist@gmail.com |
b1a01aaedf42c563566092ec5efec6e6c46af600 | 1c67abbfd0ef08cc880cc1746b8d36b4444dfcf1 | /round-3/math/728-self-dividing.cpp | 4a93071b84eadbe57542fa8cfb66203a4a058790 | [] | no_license | pwyq/LeetCode | 916371991a550d2abd4e2349695fe1a2b242ef78 | a88800aacda8456429c8449c180fc18b4c16bcc2 | refs/heads/master | 2022-04-27T05:23:02.133765 | 2020-04-12T00:13:07 | 2020-04-12T00:13:07 | 119,621,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | class Solution {
public:
vector<int> selfDividingNumbers(int left, int right) {
vector<int> res;
for (int i = left; i <= right; i++) {
bool isTrue = true;
int temp = i;
while (temp > 0) {
int digit = temp % 10;
if (digit == 0) {
... | [
"y433wu@edu.uwaterloo.ca"
] | y433wu@edu.uwaterloo.ca |
e9e8ad5e90ede19d07fbf8bfbaf849f410ec2fa0 | c464b71b7936f4e0ddf9246992134a864dd02d64 | /workWithClint/TestCase/processor1/1.1/U | 8c8ad7f0cab31d7b9163507381dc71947fa9d5b8 | [] | no_license | simuBT/foamyLatte | c11e69cb2e890e32e43e506934ccc31b40c4dc20 | 8f5263edb1b2ae92656ffb38437cc032eb8e4a53 | refs/heads/master | 2021-01-18T05:28:49.236551 | 2013-10-11T04:38:23 | 2013-10-11T04:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,548 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext |
... | [
"clint@clint-Parallels-Virtual-Platform.(none)"
] | clint@clint-Parallels-Virtual-Platform.(none) | |
3272bb1ccf862453357169c93fdb043a8c924523 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/modules/v8/v8_geolocation_position_error.h | d757e7522c1f8388263e6b21f42d3ab32608b293 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,879 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.h.tmpl
// by the script code_gene... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
47f6b4bd165d2d86ee6e179e50d40e9c08461768 | 1af43c4ba32d78c60f007a4d068136ce575d917f | /system/apps_featured/118_basic/source/terminal-basic/basic_parser_value.hpp | 32972ea28444df06de82f158ae3d52cc55dd736f | [
"MIT"
] | permissive | gabonator/LA104 | a4f1cdf2b3e513300d61c50fff091c5717abda9e | 27d0eece7302c479da2cf86e881b6a51a535f93d | refs/heads/master | 2023-08-31T22:09:36.272616 | 2023-08-27T20:08:08 | 2023-08-27T20:08:08 | 155,659,451 | 500 | 69 | MIT | 2023-08-17T08:44:32 | 2018-11-01T03:54:21 | C | UTF-8 | C++ | false | false | 3,501 | hpp | /*
* Terminal-BASIC is a lightweight BASIC-like language interpreter
*
* Copyright (C) 2016-2018 Andrey V. Skvortsov <starling13@mail.ru>
* Copyright (C) 2019,2020 Terminal-BASIC team
* <https://bitbucket.org/%7Bf50d6fee-8627-4ce4-848d-829168eedae5%7D/>
*
* This program is free software: you can redistribut... | [
"gabriel@valky.eu"
] | gabriel@valky.eu |
d7b5c48e0c1cccd4eeb7c0ee236e4b7c19e6e473 | 6d972aef47d164282d6c5579d2f09cd086ddb5c7 | /tests/test_eigen_solve_system.cpp | 96bd9c9b848373f3b7a6f50fd431915ddbf63eb0 | [] | no_license | nparent/PS2 | ed37dbe98ba861f673b5cb146d4f919eedbc9811 | 018f68dfc26f8fef9c428b0b59fbaf9982dec6eb | refs/heads/master | 2020-08-08T00:43:17.363348 | 2019-11-03T16:11:26 | 2019-11-03T16:11:26 | 213,641,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #define BOOST_TEST_MODULE test_eigen_solve_system
#include <iostream>
#include <Eigen/Dense>
#include <boost/timer/timer.hpp>
#include <boost/test/unit_test.hpp>
using namespace std;
using namespace Eigen;
BOOST_AUTO_TEST_CASE(solve_system)
{
MatrixXd a = MatrixXd::Random(10,10);
MatrixXd b = MatrixXd::Zero(10,... | [
"nicolas.parent.MSIAM@gmail.com"
] | nicolas.parent.MSIAM@gmail.com |
61a3f6199eedf3dc5272b6b033f6ecdfdade0d21 | 3c48f61c8893c072847a9f8cf618fcb50efc2a21 | /hhkb2020/hhkb2020_b/main.cpp | 537ba31128ff3a1276d1048afd449c35a0f39470 | [] | no_license | sotetsuk/procon | 550ae9b9c39ea8616789f5b4566d6715bb9d0828 | e6f2c5fb558d372efd7833825e885db7a4fee4a8 | refs/heads/master | 2021-06-28T01:30:50.794701 | 2020-10-17T19:47:30 | 2020-10-17T19:47:30 | 20,493,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int H, W; cin >> H >> W;
vector<string> S(H); for (int i = 0; i < H; ++i) cin >> S[i];
int cnt = 0;
for (int i = 0; i < H; ++i) {
for (int j = 0; j < W; ++j) {
if (S[i][j] != '.') continue;
... | [
"koyamada-s@sys.i.kyoto-u.ac.jp"
] | koyamada-s@sys.i.kyoto-u.ac.jp |
d63f27a034cab25479fec3cf8f70e68ec6345478 | 9bc92c4616d4dc30918b54e99bd0ece08c77ce11 | /project/Project11/ArifmeticheskieOperaziiSPrisvaivaniem.cpp | 512e05d2e059a39b4f3b7d88876ba20a2cd77690 | [] | no_license | StasBeep/programs-CPP-Lafore | 90977d7de9291992c2454c1b93a0f38c445b2ccb | 3771c5c86f0786d77e07c5c46e2909b7c366a03b | refs/heads/main | 2023-03-19T06:52:36.182806 | 2021-03-06T00:14:09 | 2021-03-06T00:14:09 | 344,962,693 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 820 | cpp | // assign.cpp
// применение арифметических операций с присваиванием
#include <iostream>
using namespace std;
int main()
{
int ans = 27;
cout << "ans = " << ans << endl;
ans += 10; // тоже самое,что и ans = ans + 10;
cout << "ans + 10 = " << ans << endl; //37
ans -= 7; // тоже самое,что и ans = ans - 7;
... | [
"stas-stas.stanislav@mail.ru"
] | stas-stas.stanislav@mail.ru |
144a0a47a7a06505447ce9c42f2ae5284acd39dd | d4654d2c7fa785794e3a56ee354d216d80374420 | /quickfix/C++/fix44/CollateralRequest.h | 23e57f343f3e4cf2ac559dfe3ce7b2487fa35b9e | [
"MIT"
] | permissive | SoftFx/TTFixClient | de702cf25d10167aaaf023dc18921eaf8fc117b7 | c7ce42f1c9fc6fbd1f3158bc5d126a5659d09296 | refs/heads/master | 2023-02-09T07:00:12.233839 | 2023-02-06T13:20:34 | 2023-02-06T13:20:34 | 34,795,054 | 10 | 10 | null | 2015-07-29T14:31:56 | 2015-04-29T13:23:00 | C++ | UTF-8 | C++ | false | false | 12,782 | h | #ifndef FIX44_COLLATERALREQUEST_H
#define FIX44_COLLATERALREQUEST_H
#include "Message.h"
namespace FIX44
{
class CollateralRequest : public Message
{
public:
CollateralRequest() : Message(MsgType()) {}
CollateralRequest(const FIX::Message& m) : Message(m) {}
CollateralRequest(const Message& m) : Me... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
fa553ced77c3012a434c2b75161539c964bfce36 | 6092f9f051f28837ef1631fca45c50b95b1beaf8 | /FirmwareManager/src/FlashTask.h | 207573c64560a20925ea255b7251f31710f4879e | [
"MIT"
] | permissive | Pandoriaantje/DreamcastHDMI | f558e7b6338cbe2d6d7579ed56da99844e0be201 | 2ff00679cdb4bc8eb54dda1cfc626bd195fee567 | refs/heads/master | 2020-03-28T17:56:19.172777 | 2018-09-02T20:31:39 | 2018-09-02T20:31:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,376 | h | #ifndef FLASH_TASK_H
#define FLASH_TASK_H
#include <global.h>
#include <Task.h>
#include <fastlz.h>
extern MD5Builder md5;
extern File flashFile;
extern SPIFlash flash;
extern int totalLength;
extern int readLength;
extern int last_error;
void reverseBitOrder(uint8_t *buffer);
void _writeFile(const char *filename, ... | [
"ch@cm4all.com"
] | ch@cm4all.com |
8af7031f440c67c4ac21c6d36e60085ed003cadf | 2bf70fea41c01477d93fa4f6cb64809a74e643e0 | /uva10070/main.cpp | f88a66a83378b437b6568f1dc878b7ad77046309 | [] | no_license | Shafiahuma/UVA | 3f6fc1517f1e0c09b4e8fcb8f383e8a3e6975a8e | 94b179366fc33a6aac3f7465be3a3fa569816144 | refs/heads/main | 2023-04-26T00:32:54.148880 | 2021-05-24T07:03:00 | 2021-05-24T07:03:00 | 370,254,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include <bits/stdc++.h>
using namespace std;
long long int sumo(string s)
{
}
int main() {
string s;
long long int n,temp;
n=s.length();
while(cin>>s)
{
if(s[n-1]==0 && s[n-2]==0)
{
temp=(2*(s[n-4]-48))+(s[n-3]-48);
if(temp%4==0)
cout<<"This is leap ye... | [
"snhuma2199@gmail.com"
] | snhuma2199@gmail.com |
58b91c89489c1de1e40812243ab62311e5fa12ff | 395d1860e82bc75ccc04b91c4b9a8fa46276d9bb | /Source/Vision/Runtime/Base/Graphics/Headless/Direct3DTexture9Dummy.h | 39f753f5bfce7384b7476aeec6cc60f7906a2050 | [] | no_license | Hakhyun-Kim/projectanarchy | 28ba7370050000a12e4305faa11d5deb77c330a1 | ccea719afcb03967a68a169730b59e8a8a6c45f8 | refs/heads/master | 2021-06-03T04:41:22.814866 | 2013-11-07T07:21:03 | 2013-11-07T07:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,140 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"joel.van.eenwyk@havok.com"
] | joel.van.eenwyk@havok.com |
ec7ec6af7359e56c1796cff255126b687edd1e7c | d84967ba1e6adc72e120f84524c51ad57912df5a | /devel/electron8/files/patch-components_sync__device__info_local__device__info__util.cc | 04de0f1adb1dc3dde432ea8d98b245e29ae08a3a | [] | no_license | tagattie/FreeBSD-Electron | f191d03c067d03ad3007e7748de905da06ba67f9 | af26f766e772bb04db5eb95148ee071101301e4e | refs/heads/master | 2023-09-04T10:56:17.446818 | 2023-09-04T09:03:11 | 2023-09-04T09:03:11 | 176,520,396 | 73 | 9 | null | 2023-08-31T03:29:16 | 2019-03-19T13:41:20 | C++ | UTF-8 | C++ | false | false | 582 | cc | --- components/sync_device_info/local_device_info_util.cc.orig 2020-03-03 07:02:58 UTC
+++ components/sync_device_info/local_device_info_util.cc
@@ -19,7 +19,7 @@ std::string GetPersonalizableDeviceNameInternal();
sync_pb::SyncEnums::DeviceType GetLocalDeviceType() {
#if defined(OS_CHROMEOS)
return sync_pb::SyncEn... | [
"tagattie@gmail.com"
] | tagattie@gmail.com |
4514451a7e7de063b79e12fbabd843845df0e3d6 | e51863bee27f813e2febfe313ca67f45ea9296ec | /spyder/widgets/sourcecode/codeeditor.cpp | 29651e615d690769bcecdaeaad3ac697671c1bd9 | [] | no_license | sk8boy/MySpyder | 3d2ed6dfcf2d29e78be163e5d7e1433651edd852 | 4db4f1eebcbfb337b10b2ab1220922d0da090b4c | refs/heads/master | 2022-09-27T02:55:39.748340 | 2020-06-07T12:09:34 | 2020-06-07T12:09:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126,638 | cpp | #include "codeeditor.h"
GoToLineDialog::GoToLineDialog(CodeEditor* editor)
: QDialog (editor, Qt::WindowTitleHint
| Qt::WindowCloseButtonHint)
{
setAttribute(Qt::WA_DeleteOnClose);
lineno = -1;
this->editor = editor;
setWindowTitle("Editor");
setModal(true);
QLabel *label =... | [
"quan12jiale@163.com"
] | quan12jiale@163.com |
d7ae330d32d2f6f0d0ed259dd765d2f222b59427 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/Internal/SDK/wld_sea_rock_cluster_h_classes.h | 1e68d9afe1857dc7f39ea7a547181d8df43035b3 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,132 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
9734f0d37968549a163ca05a59c421ae22fd9cec | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/tti/gen/has_static_member_function_gen.hpp | c01f5899e742fdc51c5d280bb106f2422ecdec1a | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 84 | hpp | #include "thirdparty/boost_1_58_0/boost/tti/gen/has_static_member_function_gen.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
31aa6d8ae6eceffaad0c5e93c4595c9496d02643 | bb1bd534be66f23bc6a8f1d153e20c0690edac6c | /src/PipelineManager.cpp | acbf2fd475cdf6da9df61ea65be36c6cf33e5b6e | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | chenming5828/tiscamera | 417e37d36dc7305b4dbd9c54060a35744594c1cf | f5bf8f02127946027edfe00bfdfd7fccc01e517e | refs/heads/master | 2021-08-14T16:54:21.684854 | 2017-11-14T09:16:04 | 2017-11-14T09:16:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,888 | cpp | /*
* Copyright 2014 The Imaging Source Europe GmbH
*
* 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 la... | [
"edgar.thier@theimagingsource.com"
] | edgar.thier@theimagingsource.com |
6272766e26662da8b883a23255253db78b3223b2 | 0f5e1ff7973c59bcd68958ee8f7d983d0dde5d3f | /09000~9999/9205_맥주 마시면서 걸어가기.cpp | 0c0e62ed6c5656ddbb515be04a55f89b8b8ab9e6 | [] | no_license | PowerNeverEnds/BaekjoonOnlineJudge_Cpp | f87909380f64489192e8161b7fdbf9b2d0e8263a | 9e5eb8cebf921e41a266f1386e85ea0cf202f5e4 | refs/heads/master | 2023-02-09T19:39:42.727356 | 2021-01-02T14:37:27 | 2021-01-02T14:37:27 | 324,267,010 | 3 | 0 | null | null | null | null | UHC | C++ | false | false | 1,662 | cpp | #include <iostream>
#include <vector>
#include <climits>
#include <cmath>
#include <algorithm>
#define INF 1e9
using namespace std;
struct MyStruct
{
int y;
int x;
};
int getDist(MyStruct a, MyStruct b)
{
return abs(a.y - b.y) + abs(a.x - b.x);
}
int main()
{
cin.tie(NULL);
ios_base::sync_with_stdio(false);
... | [
"PowerNeverEnds8@gmail.com"
] | PowerNeverEnds8@gmail.com |
0f4a9f4607006897276a338a60a1520a0bb4708d | c094d381422c2788d67a3402cff047b464bf207b | /c++_primer_plus/c++_primer_plus/p218函数实现模块化编程.cpp | e8744d86ebdea3571cff5fe03e49f8b9096cf8c1 | [] | no_license | liuxuanhai/C-code | cba822c099fd4541f31001f73ccda0f75c6d9734 | 8bfeab60ee2f8133593e6aabfeefaf048357a897 | refs/heads/master | 2020-04-18T04:26:33.246444 | 2016-09-05T08:32:33 | 2016-09-05T08:32:33 | 67,192,848 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | #include <iostream>
const int Max = 5;
int fill_array(double ar[], int limit);
void show_array(const double ar[], int n);
void revalue(double r, double ar[], int n);
int main()
{
using namespace std;
double properties[Max];
int size = fill_array(properties, Max);
cout << size;
show_array(properties, size);
if ... | [
"heabking@gmail.com"
] | heabking@gmail.com |
3939935f53aba5efebb4ba53f4e0f0e3b22d4b17 | 3aa9a68026ab10ced85dec559b6b4dfcb74ae251 | /CodeChef/CHAOSEMP.cpp | e33c4d0d198e44c475356879372ee4aad4c6cead | [] | no_license | kushuu/competitive_programming_all | 10eee29c3ca0656a2ffa37b142df680c3a022f1b | 5edaec66d2179a012832698035bdfb0957dbd806 | refs/heads/master | 2023-08-17T15:09:48.492816 | 2021-10-04T20:09:37 | 2021-10-04T20:09:37 | 334,891,360 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,150 | cpp | /****************************************************************
Author: kushuu File: CHAOSEMP.cpp Date: Tue Apr 06 2021
****************************************************************/
#include <bits/stdc++.h>
//shorts
#define ll long long int
#define sll stack<long long int>
#define vll vector<long long int>
... | [
"sonikushu007@gmail.com"
] | sonikushu007@gmail.com |
4eb4628ef7b4ee87694f4706a8e934df9c094bd4 | ab4207e621d4603a3826db8deebea09e7ba987cf | /src/odom_estimator_main.cpp | 2c7d65dec2279c7dd117dbe24d0867b6eb01e603 | [] | no_license | bellz867/icl_stationary | b87e04ab32d0829b86e99c7c5897a78d22fade5e | 514d9d07b3dfbfb0d76344f535ca6794547288ab | refs/heads/master | 2023-06-14T00:48:42.127705 | 2021-07-07T15:21:40 | 2021-07-07T15:21:40 | 188,481,454 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include <ros/ros.h>
#include <odom_estimator.h>
int main(int argc, char** argv)
{
ros::init(argc, argv, "odom_estimator_node");
OdomEstimator odomEstimator;
//ros::AsyncSpinner spinner(4);
//spinner.start();
//ros::waitForShutdown();
//ros::MultiThreadedSpinner spinner(4);
//spinner.sp... | [
"bellz867@gmail.com"
] | bellz867@gmail.com |
0929c7754fd79005d1e5cf87ceb2415903de5967 | c591b56220405b715c1aaa08692023fca61f22d4 | /Disha/Milestone-11/Codewin/EvenoddSort.cpp | 022ff7e50c118c64324953c02935e8988e205a98 | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 1,056 | cpp | using namespace std;
#include<iostream>
int _sort(int a[50],int stop,int start)
{
int i,temp;
for(i=start;i<stop;i++)
{
for(int j=i+1;j<stop;j++)
{
if(a[i]>a[j])
{
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
... | [
"disha2.bhardwaj@gmail.com"
] | disha2.bhardwaj@gmail.com |
4122292a718915e68dacd9668e725e5aed4d07a9 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/TopTools_MapIteratorOfMapOfOrientedShape.hxx | 9856c7d935d960ee12349b7c70bca58f5bd31225 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _TopTools_MapIteratorOfMapOfOrientedShape_H... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
9344fd2abc51be4eeeb3abf009ee0c8c639ff141 | b256f60961c99aeb5853e40f6c2f61ceebbd147e | /miniSvLib/include/Common/Udp.cpp | a8a50c85c026e57f8fb0dbe2b794bab8352975ea | [] | no_license | Ziran-Li/Ground-station-English | e7dbecda7feb844baa7b571b9dd3797add426e5d | 77212a68a5ed656865e67b92f993b39db86eda27 | refs/heads/master | 2022-11-22T08:58:55.847216 | 2020-04-09T02:05:47 | 2020-04-09T02:05:47 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,514 | cpp | #include "Udp.h"
#include <WinSock2.h>
#pragma comment(lib, "wsock32.lib")
_UDWORD Udp::s_Count = 0; //!< インスタンス生成カウント
Udp::Udp(const char* HostName, _UWORD PortSend, _UWORD PortRecv)
{
if (Udp::s_Count++ == 0)
{
::WSADATA wsaData;
::WSAStartup(MAKEWORD(2, 0), &wsaData);
}
m_pSock = NULL;
m_pAddrOut = NU... | [
"1358522212@qq.com"
] | 1358522212@qq.com |
4c4ae77f47aee92e25a3b9e3ed3086ac0fcc0287 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/net/http/http_auth_handler_basic.cc | e445c93100cbdf80f31a0f44b9ff620a3b1b7d12 | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 4,076 | 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 "net/http/http_auth_handler_basic.h"
#include <string>
#include "base/base64.h"
#include "base/i18n/icu_string_conversions.h"
#include "bas... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
af580e1b7df7b43a4292a914f06acc81b95b8bb2 | e9f60c823da0b4e6dad91834daf571dee4599fd8 | /cpp_prac/190131.cpp | 2261996be036651c2f5ee0be2e2e135b4e8b2c39 | [] | no_license | 2013011491/algorithm_practice | 2595b0b32c7cb5ead040b76b9ca2415076770795 | fd630ef028d95f7b0d6d81e491d3516cf34bc8b4 | refs/heads/master | 2022-09-20T15:37:41.734873 | 2020-06-06T13:44:41 | 2020-06-06T13:44:41 | 208,989,712 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,404 | cpp | #include <iostream>
#include <cstring>
using namespace std;
class Employee
{
private:
char name[100];
public:
Employee(char * name)
{
strcpy(this->name, name);
}
void ShowYourName() const
{
cout<<"name: "<<name<<endl;
}
virtual int GetPay() const
{
return 0;
}
virtual void ShowSalaryInfo() const
{ }... | [
"szerencse5@hanyang.ac.kr"
] | szerencse5@hanyang.ac.kr |
b785e5709f918cb4594f2e30704bb85ad214b04a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2171.cpp | da2064e749502f572ef762d18e915466639af773 | [] | 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 | 437 | cpp | static int pre_config(apr_pool_t *p, apr_pool_t *plog,
apr_pool_t *ptemp)
{
apr_pool_t *global_pool;
apr_status_t rv;
rv = apr_pool_create(&global_pool, NULL);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
"Fatal error: unable to creat... | [
"993273596@qq.com"
] | 993273596@qq.com |
0f6a816d31dbd27002043e6d7ce4d79a230b1c42 | 3c3de5966143cc045104e88cc360c5a27a58e6d1 | /src/vendors/OceanOptics/protocols/obp/exchanges/OBPQuery.cpp | c70931d2dff8b519e3ef72a91e1cb7f1d5f2eab2 | [
"MIT"
] | permissive | ska/SeaBreeze | 728c21436e5140ba19fdfe8544249fe883499e20 | 09aac3e764867825f51f75c519a025a863d03590 | refs/heads/master | 2020-12-24T21:46:00.693023 | 2016-04-18T11:23:08 | 2016-04-18T11:23:08 | 56,501,502 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | cpp | /***************************************************//**
* @file OBPQuery.cpp
* @date May 2011
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated ... | [
"luigi.scagnet@egicon.com"
] | luigi.scagnet@egicon.com |
309a294c5e926fddac1095c5b9855cb49d7a129f | 5ac237f7076f8ccd58022f12e65c88db28cf93c5 | /src(add-to-xcode-proj)/OBJObject.cpp | 381a15cdca4a4f291c754f05db95550cb50cf777 | [] | no_license | ncarmont/-BIG-HERO-6-Interactive-3D-game | 5148c96d8731b138d1f7cbef769a982207402bbe | ca5ecb6b605f39af3ca18b1db6b44b6957959cdb | refs/heads/master | 2020-04-13T02:34:10.744277 | 2018-12-23T16:27:59 | 2018-12-23T16:27:59 | 162,905,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,043 | cpp | #include "OBJObject.h"
#include "Window.h"
#include <iostream>
#include <fstream>
#include <math.h> // include math functions, such as sin, cos, M_PI
using namespace std;
OBJObject::OBJObject(const char *filepath)
{
// this->angle = 0.0f;
parse(filepath);
printf("PARSING FINISHED\n");
center();
... | [
"nickcarmont8@gmail.com"
] | nickcarmont8@gmail.com |
310a10cc93919b990a7560ba63db51bcc6feb630 | 6dad8696136ce04919c014011bcabd9a3edef3b1 | /Terrace Source/codes/calibration/z_cameraModel.cpp | 51da1b6c99560816bb585b3ee2d90f8fd1c76a26 | [] | no_license | lochuynh211/Pedestrian-Tracking | 0e0342a2ade24591846c4c7975d2fe75c8bd184c | 0a02fb089ed8586dded8b481490d5e0d3dc72442 | refs/heads/master | 2021-01-10T23:20:43.861527 | 2016-10-11T14:07:33 | 2016-10-11T14:07:33 | 70,596,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,548 | cpp | /***************************************************************************
* cameraModel.cpp - description
*
* This program is part of the Etiseo project.
*
* See http://www.etiseo.net http://www.silogic.fr
*
* (C) Silogic - Etiseo Consortium
*****************************************************... | [
"loc.huynh.211@gmail.com"
] | loc.huynh.211@gmail.com |
187197842d27adfe4a2e4a2876218844c9f27584 | 1b720a8780b150eb623352597ae09f1a0180f799 | /Resources/app/src/binary_build/squwbs/HP12.h | be64117dd53b3a3c5ba31d9715a6fb56d59f1de0 | [
"MIT"
] | permissive | bgamut/squwbs_pro | 51ec4e9416adcb881867628707de19676817ccbb | 8c402d94a21bd2877f27dfc15734c4dfb003ec76 | refs/heads/master | 2022-12-21T13:17:19.027827 | 2020-02-25T11:49:38 | 2020-02-25T11:49:38 | 224,197,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | h | /*
==============================================================================
HP12.h
Created: 4 Feb 2018 3:40:50pm
Author: cumbe
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "math.... | [
"bgamut@gmail.com"
] | bgamut@gmail.com |
c05fdcf39cc9fc6a8d4b41e42ce086b1ad6ff8cd | 341e111a9ff68c1266c8609ad42c6d8a6e5f2a11 | /app/src/main/cpp/core/trunk/main/framework/protocol_help_package/src/commonconnectioncallbackimpl.cpp | b70d8e06532f5562878717739e698b32ed314bf8 | [] | no_license | chengchuishu/ysos_platform_as812 | 91131dc777f263d18c31efe1e6bb839c71b4afb2 | acb12f01d1e307b459a418ed5865f2581de68a00 | refs/heads/main | 2023-05-13T13:56:59.951152 | 2021-06-03T02:47:50 | 2021-06-03T02:47:50 | 373,361,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,341 | cpp | /*
# commonconnectioncallbackimpl.cpp
# Definition of commonconnectioncallbackimpl
# Created on: 2016-06-03 16:43:58
# Original author: jinchengzhe
# Copyright (c) 2016 YunShen Technology. All rights reserved.
#
# version 0.1, 20160912, created by JinChengZhe
*/
/// Private Headers
#include "../../../protect/include... | [
"2759101974@qq.com"
] | 2759101974@qq.com |
5eab1ffe6af0aadfea9df6596ff216d64128a51c | ad841e7cbd7e7cd2bfb59770a93b4a0a0c0cd0db | /include/mimedecode/object.h | e73f446cc43de7764854cba599b746d821c10c69 | [
"MIT"
] | permissive | cybermaggedon/mimedecode | c2137e19de263ef39a4be6dda6d22586d277c307 | 71f532c9b7185999f7459a95510d1771ab11b628 | refs/heads/master | 2020-06-23T17:34:21.498022 | 2014-11-02T22:35:28 | 2014-11-02T22:35:28 | 198,699,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h |
#ifndef OBJECT_H
#define OBJECT_H
#include <string>
#include <list>
#include <sys/types.h>
#include <mimedecode/field.h>
namespace mime {
/**
This object describes a MIME object.
*/
class object {
public:
/**
The default constructor.
*/
object() { parent = 0; }
/**
The object'... | [
"leonine@users.sourceforge.net"
] | leonine@users.sourceforge.net |
1448402d4d9f328ff57083f333087b429427819f | 198ab1f04fe64af050b428235ccb44f6ef35250d | /Singleton.cpp | 698928fb313d3acc2087c3f4991ae4abdd89180d | [] | no_license | SlimeVRS/Design-Patterns | 93439193c9593eee3149d0f260af86fe43756a6a | fffd8eaf138adb069dcc9f052f8ff18d3c570f62 | refs/heads/master | 2022-12-18T16:47:43.560108 | 2020-09-24T03:01:28 | 2020-09-24T03:01:28 | 298,142,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
class Singleton {
private:
static Singleton* instance;
Singleton();
public:
static Singleton* getInstance();
};
Singleton* Singleton::instance = 0;
Singleton* Singleton::getInstance(){
if(instance == 0){
instance = new Singleton();
}
re... | [
"noreply@github.com"
] | noreply@github.com |
f1d0ec72786c4334d87bfe5a7029031219272d59 | 884c41edb91b958c2250a05f3d03fe38002233c7 | /src/AsioExecutionContext.hpp | 422f6f4a6ed207c6907ee1c1c6871457540b7d72 | [] | no_license | teams2ua/lib-core-cmd | 1639071f90ba567be79be9a14dfbf0060e1d9c5b | 8d4274bb44624469bc6cc3c50d3156800bdc08c4 | refs/heads/master | 2021-07-10T03:27:48.073834 | 2020-07-15T10:21:01 | 2020-07-15T10:21:01 | 171,478,879 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 727 | hpp | #pragma once
#include "api/ExecutionContext.hpp"
#include <boost/asio.hpp>
#include <queue>
#include <mutex>
namespace ledger {
namespace core {
namespace api {
class Runnable;
};
}
}
class AsioExecutionContext : public ledger::core::api::ExecutionContext {
public:
void execute... | [
"andrii.korol@ledger.fr"
] | andrii.korol@ledger.fr |
078ce65d582e6209a8f6d2da15d39f8c7b8f00e6 | 78cd1d08162358e33a9ab64f7094ac22f5f62c80 | /src/snippets/geometry.cpp | a760c6419db057b527b2cea5e764dde6fd6c9eae | [] | no_license | hav4ik/contest-snippets | 6858a56082a5fbba593053410db5d034486310ac | b7d37d94d12ffd4ba080f78d64e703b0a4ab1be5 | refs/heads/master | 2020-03-13T02:09:47.012470 | 2019-06-29T11:59:16 | 2019-06-29T11:59:16 | 130,919,085 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | #include "common.hpp"
MACROSNIPPET("head", "skeleton.snippets", "Geometry 2D", "Basic geometry operations and structs")
/// Vector 2D and operations
template<typename T> struct vec2 {
T x, y; vec2(T u, T v): x(u), y(v) {}
vec2<T>& operator= (const vec2<T>& a) {
x=a.x; y=a.y; return *this;
}
};
... | [
"tranthecoder@gmail.com"
] | tranthecoder@gmail.com |
2f370ef8fb58324f33b61fa64f796532077f3de4 | 814621dbf05f98a1d140c956c07ba5a6cd7e20bd | /src/mpvss/mpvss.cpp | fee4e010cd5f97b460418edb39a8dbbcae8c8363 | [
"MIT"
] | permissive | sunny023/BigBang | 64a308d340f1705a9161784c87c732a3a7a06dff | 8a41582df5320b0c08fa4db2b143528bb219130c | refs/heads/master | 2020-09-09T14:52:46.127960 | 2019-09-29T04:07:57 | 2019-09-29T04:07:57 | 221,476,302 | 1 | 0 | MIT | 2019-11-13T14:20:08 | 2019-11-13T14:20:07 | null | UTF-8 | C++ | false | false | 11,001 | cpp | // Copyright (c) 2019 The Bigbang developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "mpvss.h"
#include <iostream>
#include <stdlib.h>
#include "mpinterpolation.h"
#include "util.h"
using namespace std;
u... | [
"jhkghmn@gmail.com"
] | jhkghmn@gmail.com |
a17b5b925e73f424ab56804ce8a95c648e53aa2a | 0193ae6eb6578df5fb302cbbb18da3863affbb3c | /src/Native/libmultihash/exports.cpp | 3afceaca5b7ea4ac53a18b79207268c995e6a1de | [
"MIT"
] | permissive | wiico/miningcore | 573ac9d71f26131e3cf426fddb1f9b35d2e369ff | 607c5ade16a29c7bf4991b2acc87a2dccf21b406 | refs/heads/master | 2020-04-03T06:28:04.905605 | 2018-09-17T20:59:53 | 2018-09-17T20:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,098 | cpp | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: Oliver Weichhold (oliver@weichhold.com)
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 Software without restriction,
including without limitat... | [
"oliver@weichhold.com"
] | oliver@weichhold.com |
a91132a980fed443d43fa44cce4cf475825ea7fc | 624511f6ad0cf17a2ba1a1ea1f25c3b139ce4295 | /baselib/lib/ullib/src/comlog/test/test2.cpp | 4a254be82a5db997e49dec6d129be84793d9a5cc | [] | no_license | lightchainone/lightchain | 7d90338d4a4e8d31d550c07bf380c06580941334 | 6fc7019c76a8b60d4fd63fba58fa79858856f66b | refs/heads/master | 2021-05-11T05:47:17.672527 | 2019-12-16T09:51:39 | 2019-12-16T09:51:39 | 117,969,593 | 23 | 6 | null | null | null | null | GB18030 | C++ | false | false | 1,192 | cpp | #include "com_log_if.h"
int main()
{
//设置接受的日志等级
com_logstat_t logstat;
logstat.sysevents = 16;
snprintf(logstat.userevents, sizeof(logstat.userevents), "xiaowei,faint");
//创建设备
com_device_t dev[3];
//本地日志
snprintf(dev[0].host, sizeof(dev[0].host), "log");
snprintf(dev[0].file, sizeof(dev[0].file), "test2.log... | [
"lightchainone@hotmail.com"
] | lightchainone@hotmail.com |
e8ab90dd431aac3f8079261d33083e3fd3c2d2ff | c6fa1b9f90044ad35097b01e6671b09d4252db13 | /145 reversible numbers/main.cpp | e3299d0bea17ee9c3f8669846347bb772b5cbd34 | [] | no_license | fangzhou070101/Project_Euler | 5d84be3dd6f1b3165307bd945ce3911915e574c9 | 7476b3a3444044232b9037785e3cf63d2acfbf8c | refs/heads/master | 2022-03-11T19:22:04.949271 | 2022-03-02T03:29:23 | 2022-03-02T03:29:23 | 41,497,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <iostream>
using namespace std;
int rev(int n);
bool allOdd(int n);
int main()
{
int n,tot;
for(n=1;n<1000000000;n++)
{
if(n%10!=0 && allOdd(n+rev(n)))
tot++;
}
cout<<tot;
return 0;
}
int rev(int n)
{
int r=0;
do
{
r*=10;
r+=n%10;
... | [
"fangzhou070101@yahoo.com"
] | fangzhou070101@yahoo.com |
51b6ba4ceab4d9b67e38b833503c2b9ffae1c680 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/containers/unord/unord.multimap/equal_range_const.pass.cpp | d40f58ffb8fb7983689225917226db5f7d4f8b44 | [
"NCSA",
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,201 | 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.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
d7683ab5106ab6f2c8b4e7853f6e5c55ae7c06a9 | d0f614fcd9ec4e9ed7bf4bbae43c4e57339cf0f7 | /src/Demos.cpp | b64aef42c4388ca8a8335fce1d6bb160f21950ae | [] | no_license | henne90gen/RacingToHell | 6f0cda167b6432016ae8629f37047762b5456df5 | 4b928478ecc7ef1f3d9714721ab02e0c22947733 | refs/heads/master | 2023-03-15T13:57:49.191425 | 2023-03-10T11:27:57 | 2023-03-10T11:28:02 | 51,105,446 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,612 | cpp | #include "Demos.h"
#include "Helper.h"
#include "Renderer.h"
#include <array>
#include <fmt/core.h>
void textDemo(Platform &platform, AtomPlane plane) {
static std::array<std::string, 3> fontFileNames = {
"res/font/DejaVuSansMono.ttf",
"res/font/ComicSans.ttf",
"res/font/Arial.ttf",
}... | [
"henne90gen@gmail.com"
] | henne90gen@gmail.com |
66d8dc6de7661aa4963464ee27f735ce245fd952 | 5af86ef814f7b2655fce9bb1cc29eccaf2eb6576 | /system-c/qt/20100818/6mytextedit-1/mainwindow.h | c8d05e18af4d48b3970b2c5a25386d20f7abbfd9 | [] | no_license | Jacob-jiangbo/jacob-studio | 537a5cb8105ea8bcd0f549b59de68f75fb10797f | c1b22e04fa98ede035b90af588444c1228750f5c | refs/heads/master | 2022-04-18T01:02:25.006592 | 2020-04-03T08:48:48 | 2020-04-03T08:48:48 | 18,630,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "QtGui/QTextEdit"
namespace Ui {
class MainWindow;
}
class myTextEdit: public QTextEdit {
Q_OBJECT
public:
QString outstr;
myTextEdit(QWidget *parent);
public slots:
void slot_test(bool);
};
class ... | [
"jiangbo.jacob@gmail.com"
] | jiangbo.jacob@gmail.com |
3fc0031b41e9ce85ab35887163c77671b61e69a4 | 1bd9e3cda029e15d43a2e537663495ff27e317e2 | /buoyantPimpleFoam_timevaryingBC/heatfluxtimevary/14/uniform/cumulativeContErr | a0729940ba3622bc5f75b19a3d45c2fe082af582 | [] | no_license | tsam1307/OpenFoam_heatTrf | 810b81164d3b67001bfce5ab9311d9b3d45b5c9d | 799753d24862607a3383aa582a6d9e23840c3b15 | refs/heads/main | 2023-08-10T23:27:40.420639 | 2021-09-18T12:46:01 | 2021-09-18T12:46:01 | 382,377,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"tsinghsamant@gmail.com"
] | tsinghsamant@gmail.com | |
d61f6b1c56690a6d12c93788271e02f30798ae4e | 31fee731dda88255aef19e4091a839a2c1a51a60 | /Simulations_C++/GHAME3/class_functions.cpp | be1369778d13bbd5c172c1c87f588d0ffb19c456 | [] | no_license | octoberskyTW/CADAC4_Enhance | 3a4ebf99caabd8925fdbd6d54be3f26a0984ed01 | 8c7df72e54ea008fd68136e6d3f2726a12f666f1 | refs/heads/master | 2021-09-24T20:18:46.936445 | 2018-10-14T05:55:35 | 2018-10-14T06:21:35 | 152,942,886 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,844 | cpp | ///////////////////////////////////////////////////////////////////////////////
//FILE: 'class_functions.cpp'
// Member functions of 'Cadac' class hierarchy
// Member functions of class 'Variable'
//
//010628 Created by Peter H Zipfel
//011129 Adapted to SRAAM6 simulation, PZi
//060510 Updated from F16C for CRU... | [
"octobersky.tw@gmail.com"
] | octobersky.tw@gmail.com |
7c19460399e36e4e1e45aa948616545c98dc7788 | dcd02773a441420673dbceafe08394868f00a565 | /test/core/caching/mock/MockIBeaconCacheEvictor.h | 2eb00f8408cfd2c1a85fcf0f8636d7a0556a0dda | [
"curl",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | stefaneberl/openkit-native | 7243419cb89dde17b8b816fc0c35bc6250bd7861 | 1dc042141f4990508742a89aacafda9b2a29aaaf | refs/heads/main | 2021-06-27T00:31:30.082012 | 2020-10-02T11:49:42 | 2020-10-02T11:49:42 | 300,597,896 | 0 | 0 | NOASSERTION | 2020-10-02T11:47:47 | 2020-10-02T11:47:46 | null | UTF-8 | C++ | false | false | 1,504 | h | /**
* Copyright 2018-2020 Dynatrace LLC
*
* 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 ag... | [
"openkit@dynatrace.com"
] | openkit@dynatrace.com |
69cc368d8744e439d7668436dfab4b1ddc6137df | 9b775ad06355064e5eeb01d807b53cd309f2a866 | /String/Palindrome/palindrome.cpp | 5e3b1113b75b3f441b29d0850c66a1b25bc992a5 | [] | no_license | pratikjain04/ACM-ICPC-Algorithms | f29095b70a78e617f2f945ae2af10abc46e99df9 | a85c1b4dd4cf0f460844a629013c7f571cc46f99 | refs/heads/master | 2020-06-12T06:42:49.814246 | 2019-10-17T19:39:44 | 2019-10-17T19:39:44 | 194,222,848 | 3 | 2 | null | 2019-10-17T19:39:45 | 2019-06-28T06:50:52 | C++ | UTF-8 | C++ | false | false | 205 | cpp | #include <bits/stdc++.h>
using namespace std;
int isPalindrome(string s)
{
return reverse(s.begin(), s.end())==s;
}
int main()
{
string s;
cin>>s;
isPalindrome(s);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
466b7986b5b0cd288b2791e575c1c6113d8e1448 | 88e54d3ffdc9fbb20ca59d71849f614d7081cd23 | /gamess/libcchem/src/ri-mp2/metric.cpp | 3ec41c5045a80c1eb828a0a134447e367a2c9c1e | [] | no_license | nobuuuun/myGAMESS | 0ab49da4aec4e2fe3341fda3da852d882f3af666 | 6f92861f0b8ccdbcaf9457219083e74bc47bd626 | refs/heads/master | 2021-04-09T11:07:06.125035 | 2018-03-16T08:09:26 | 2018-03-16T08:09:26 | 125,484,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,972 | cpp | /*
* metric.cpp
*
* Created on: Nov 4, 2015
* Author: luke
*/
#include "metric.hpp"
#include "ri-mp2/ri-integrals.hpp"
#include <math.hpp>
void cchem::rimp2_gradient::detail::Metric::
BuildTwoCenterEri(std::vector<MapMatrixXd> &sph_c){
MapMatrixXd twoc_eri(data_twoc_, nl_, nl_);
pe_.task().re... | [
"nobuuuun1206@gmail.com"
] | nobuuuun1206@gmail.com |
b4e352a413c3b44783d55bf168a48f6fa549d24b | 9a2c1b2a59617f5367f14fd494a03c2c64c8a908 | /WordText/renew.h | 3511384b06318d8f3f779fc4413809b2c1ba2b69 | [] | no_license | lizhenjie94/textword | dacf4d26ee4d6fa796fb9970208c5a42df76fa16 | b58d5ff2b5aece050db2b3b60aee12800ddc35c9 | refs/heads/master | 2021-01-10T08:15:54.127601 | 2015-12-23T15:32:32 | 2015-12-23T15:32:32 | 48,487,254 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h | #ifndef RENEW_H
#define RENEW_H
#include <QDialog>
namespace Ui {
class Renew;
}
class Renew : public QDialog
{
Q_OBJECT
public:
explicit Renew(QWidget *parent = 0);
~Renew();
public slots:
void openRenewproperty();
private:
Ui::Renew *ui;
private slots:
void on_LineEdit_textChanged();
};... | [
"lizhenjie94@163.com"
] | lizhenjie94@163.com |
cdf9ae9c90e6e6b4e88d12bc6046b50ee3a28244 | 99d91bdfa1b50c9a78493def1f081a0608127821 | /MinesweeperBoard.cpp | 892a789b97645d287d693b84ddc021cadcd75e82 | [] | no_license | xdawxd/SFML-Saper | 015c994967e1ef9b0625e2d92d57616bc666f374 | b729e04c7e1a9174c1c1a8d215605c4cc42e79b4 | refs/heads/master | 2023-04-21T21:57:22.204920 | 2021-05-02T21:33:28 | 2021-05-02T21:33:28 | 363,751,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,734 | cpp | #include <iostream>
#include "MinesweeperBoard.h"
void MinesweeperBoard::createDebugBoard()
{
int counter = 0;
for (int row = 0; row < height; ++row)
{
for (int col = 0; col < width; ++col)
{
if (row == col || row == 0 || (col == 0 && row % 2 == 0))
{
... | [
"259639@student.pwr.edu.pl"
] | 259639@student.pwr.edu.pl |
31932c190dc08433c538bcb4c78b3c60bab39ac6 | 7aff96862d76799862f0cfdf27e6679b565874a7 | /Graphics/GraphicsEngine/interface/GraphicsTypes.h | d402fb187453111aaa105a43e74bab3d3933b7af | [
"Apache-2.0"
] | permissive | MonkeyFirst/DiligentCore | 4f207a19869904f74ab966813970dd9e34e93458 | 9123bf5473976f6be87313b11676b337071ece10 | refs/heads/master | 2020-04-25T04:15:21.468714 | 2019-02-25T00:53:55 | 2019-02-25T00:53:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96,238 | h | /* Copyright 2015-2019 Egor Yusov
*
* 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
*
* THE SOFTWARE IS PROVIDED "AS IS", ... | [
"egor.yusov@gmail.com"
] | egor.yusov@gmail.com |
09a5452c18361318fb1983ca99776124e61140f2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708284669460480_0/C++/dongockhanh1997/B-small.cpp | 8f687b18cbede5fbd3eaa9831acd7427667ce27e | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> getFail(const string &s) {
vector<int> f (s.size());
f[0] = -1;
for (int i = 1, j = -1; i < (int) s.size(); ++i) {
while (j >= 0 && s[i] != s[j + 1]) j = f[j];
if (s[i] == s[j + 1]) ++j;
f[i] = j;
}
return ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
ef4834ce77109db3b6e205cce2944bde1e2f5cbe | 67e5ed145e918dd2ad3edf4de93987fa9af971f4 | /archive_code/encoder_arduino/encoder_arduino.ino | d8604262941f1960c06d98db84f577bfad84b3bc | [
"MIT"
] | permissive | kavli-ntnu/wheel_tracker | 34f4d7a2ca83ae99374648af1d5f6ce03d9fd56e | 30f90691ffaeea564cdb174bb9e715dea8a0d10e | refs/heads/master | 2023-04-02T05:20:33.672657 | 2023-03-20T13:44:30 | 2023-03-20T13:44:30 | 129,443,866 | 0 | 1 | MIT | 2023-03-20T13:44:32 | 2018-04-13T19:15:34 | C++ | UTF-8 | C++ | false | false | 1,557 | ino | /*
Rotary encoder code
Sends values "newPosition" over serial.
*/
#include <Encoder.h>
elapsedMillis interval_timer; // for regular intervals
elapsedMillis measure_timer; // measure frameclock
unsigned int interval_ = 25; // time in ms between serial events
int frameclock_pin = 3;
int beambreak_pin = 17;
int sync... | [
"hobenhaus@gmail.com"
] | hobenhaus@gmail.com |
1e891cb65800e78921643af03604ac8be9e91ec1 | 3c6c0914530ccdd3808622138134e53118053dcf | /openvpn3-linux/src/common/utils.hpp | 2a710c6e9f0a31d810cc152cc1a26496c1f7ef6a | [] | no_license | WeilerWebServices/OpenVPN | c788bc6ef5079c2ec2b147de4ff1fb7e3a975ec1 | a3d6e4bf7bf0ddb6d548f315091f96a4147f67b1 | refs/heads/master | 2022-12-25T10:17:01.531589 | 2020-10-01T19:19:01 | 2020-10-01T19:19:01 | 255,415,557 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | hpp | // OpenVPN 3 Linux client -- Next generation OpenVPN client
//
// Copyright (C) 2018 OpenVPN Inc <sales@openvpn.net>
// Copyright (C) 2018 David Sommerseth <davids@openvpn.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General... | [
"nateweiler84@gmail.com"
] | nateweiler84@gmail.com |
5e2ee3da86072e587aabace96c0fb1c3ce20805e | 6310aab78aee0a1b422e1b159f60c244d81e0821 | /boj1764/boj1764/소스.cpp | b72f6288571e6a64ecd696ff1173d047e4d69ebd | [] | no_license | locking3456/Boj_practice | cd856d700b1430ebe37e351469534631b39c970d | 6e183134301ad5e3cb581563bdef45e75095fa95 | refs/heads/main | 2023-06-11T00:19:30.138169 | 2023-06-05T14:58:28 | 2023-06-05T14:58:28 | 348,374,860 | 0 | 1 | null | 2023-03-27T05:31:32 | 2021-03-16T14:17:51 | null | UTF-8 | C++ | false | false | 881 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
string DeutBo[500000];
string Bodo[500000];
string Answer[500000];
int binarysearch(string* a, string answer, int low, int high) {
int mid;
if (low > high)
return 0;
else {
mid = (low + high) / 2;
if (answer == a[mid]) {
return ... | [
"74441212+locking3456@users.noreply.github.com"
] | 74441212+locking3456@users.noreply.github.com |
58d4ca2b200d722061d39d8125b790cf35de3da6 | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/shared/library/sharedCollision/src/shared/core/CollisionMesh.cpp | 80a0e930c37dc4ad56092aea3f787a42318291ce | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 26,469 | cpp | // ======================================================================
//
// CollisionMesh.cpp
// copyright (c) 2001 Sony Online Entertainment
//
// ======================================================================
#include "sharedCollision/FirstSharedCollision.h"
#include "sharedCollision/CollisionMesh.h"
#i... | [
"swgmaster@india.com"
] | swgmaster@india.com |
7efd4a2aa3f84e2d6b89c984578544c31ac9dcda | b38439cf6b261713b44200b15163153b7eceb3a9 | /JumpingOnTheCloud/JumpingOnTheCloud/JumpingOnTheCloud.cpp | ee27fe1ed33009ec9acccf5fe10ec429ad3ae654 | [] | no_license | Suresh3d/CPP-Practice | 0f4e9265ec8563a4a300b6891a729e7c4236e2a7 | c2a66644c82e7a0c942ee4ba23626d47807ad1bc | refs/heads/master | 2022-10-09T22:49:28.254916 | 2020-06-07T17:09:31 | 2020-06-07T17:09:31 | 269,586,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include <iostream>
#include <vector>
using namespace std;
bool isAvailable(vector<int> arr, int n)
{
bool isAvailable = false;
for (int i = 0; i < arr.size(); i++)
{
if (arr[i] == n)
{
isAvailable = true;
break;
}
}
return isAvailable;
}
int jumpingOnTheCloud(int arr[], int n)
{... | [
"noreply@github.com"
] | noreply@github.com |
cd476676a7125b6f8c9edcf0bce81edde4c01271 | b17f0249c689d30242b30ea8f05854b577efe988 | /libnodes/include/nodes/internal/NodeStyle.hpp | 0a1f4c61dd3a5c87cfe62c1d009990c0ad1e3015 | [
"MIT"
] | permissive | hojjatabdollahi/StoryWriter | d8b37d7580ec92042971b65bbe29c67cad80536c | 5df36618ebfa237f826a9965ff2699b7b2422177 | refs/heads/master | 2020-03-24T02:43:22.115578 | 2018-07-28T06:53:23 | 2018-07-28T06:53:23 | 142,387,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | hpp | #pragma once
#include <QtGui/QColor>
#include "Export.hpp"
#include "Style.hpp"
namespace QtNodes
{
class NODE_EDITOR_PUBLIC NodeStyle : public Style
{
public:
NodeStyle();
NodeStyle(QString jsonText);
public:
static void setNodeStyle(QString jsonText);
private:
void loadJsonTe... | [
"hojjat12000@gmail.com"
] | hojjat12000@gmail.com |
7b5e9fd8df42128fa5284b2c4e30183bac8e182f | 4f23c24cbf6cdf8ac76d847eeea66b6aea5e9567 | /dzz/Dzzxglob.cpp | 94dc0bb3eff0d2cc76f6e8a327c457dcc02f5a2b | [] | no_license | MatthewNg3416/Episodus | be2ef0f958274de2fd91e9f6954c9a76c23977aa | fe3ed5a5e92466f98e928c2eafd48faa6eb1b165 | refs/heads/master | 2021-09-13T07:39:04.985158 | 2018-04-26T16:23:32 | 2018-04-26T16:23:32 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,143 | cpp | /* +-----------------------------------------------------------------+ */
/* ¦ PROGRAMME SECONDAIRE : DGEXGLOB.C ¦ */
/* ¦ ¦ */
/* ¦ Gastroscopie : Classe mère des décodeurs de lésions ¦ */
/* ¦ ... | [
"philippe.ameline@free.fr"
] | philippe.ameline@free.fr |
1fce2ea4206b83c4794dc25e069f63e0574497e3 | 3ced9eca538ad51595240950899611fd8d038fd0 | /src/kernel/memory.cpp | e441c92a92873661ae125d4e2d010243d6329fe8 | [] | no_license | m8939605/DSOS | 746afaa540d442c4662de9151734b5367e4c36fb | 90a72d74d8f43c68ed119c6fc5eda636528338d5 | refs/heads/master | 2022-12-24T13:47:05.008453 | 2019-11-02T04:08:48 | 2019-11-02T04:08:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include "common.h"
extern "C" unsigned long allocPage();
extern "C" void freePage(unsigned long p);
void memcpy(byte *dest, byte *source, dword len) {
for (int i=0; i<len; i++) {
dest[i] = source[i];
}
} | [
"rockypulley@Rockys-iMac.local"
] | rockypulley@Rockys-iMac.local |
04d10e225ad09f8759cfe805ae6998528fbb67b8 | 62196b0c2d57a815b796822f226230b826025735 | /12/Main.cpp | 5b8943b81d16e9fd8b6fe763f5f96a8cac80dd6d | [] | no_license | Amezu/oop-labs-1 | b1baf7ec62ff9bf90b550ed0706957291ebfc901 | 3aa74fb2ebf9e57d83aca8fd19ffb808841d5e17 | refs/heads/master | 2020-05-05T00:31:30.244266 | 2019-04-04T21:05:21 | 2019-04-04T21:05:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,103 | cpp | // Nazwa pliku wykonywalnego: Geometria
// Uwaga ogolna:
// Przeciążenia przewidziane w zadaniu nie są tylko sztuką dla samej sztuki.
// Zaproponowane obiekty są np niezbędne w programowaniu grafiki przy użyciu DirectX.
// Tutaj przy okazji ilustrują tę ciekawą technikę programistyczną, jaką jest przeciążanie operator... | [
"juliaaa007@gmail.com"
] | juliaaa007@gmail.com |
e39804b420463fb7f39faf4fef1772f95648903f | 9368949953681f84e524636686843d7cc06fe2ad | /Part1-Modeling/objects-standard/torus.cpp | 38f53500f38d78b0f496db50ac2f67ca876fee31 | [] | no_license | Blz-Galaxy/OpenGL_Animation_MT | edfc20fbcdf086a31648ba54da079cad56668919 | 9d47c57f30edcdd6d2bc57f1042df665a1f55a20 | refs/heads/master | 2021-01-17T12:06:23.210468 | 2015-07-21T16:54:41 | 2015-07-21T16:54:54 | 39,453,685 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,031 | cpp | // =========================================================================================
// KXC354 - Computer Graphics & Animation, 2012
// Assignment 1 & 2
// 3D Engine Code
// =========================================================================================
//
// Author: Tony Gray
//
// torus.cpp
//
// Th... | [
"rdforever@qq.com"
] | rdforever@qq.com |
8ba88e502f4b94c67d18ba9219a4eb2ac7f5e9c4 | 70f8491a27470287090d3c2be061d5fce23f07a9 | /algorithms/p520/520.hpp | 914b98078ed7ae1b918e1fa964df75da6ca9ac3b | [
"Apache-2.0"
] | permissive | baishuai/leetcode | 44094a91e95c0557394cf15324008f79fc2d6688 | 440ff08cf15e03ee64b3aa18370af1f75e958d18 | refs/heads/master | 2021-09-01T01:02:33.335046 | 2017-12-24T01:01:47 | 2017-12-24T01:01:47 | 84,698,557 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 804 | hpp |
#ifndef LEETCODE_520_HPP
#define LEETCODE_520_HPP
#include <iostream>
#include <queue>
#include <algorithm>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <numeric>
#include <stack>
#include <string>
using namespace std;
class Solution {
public:
bool detectCapitalUse... | [
"baishuai.io@gmail.com"
] | baishuai.io@gmail.com |
9139c8e568f11f45af61c5982ba34f6ed78ce132 | e86308ccdbfa05b1bd1738179e989ccfb35b950c | /ui/viewgroup.h | f009802cb6fff6c946f4123d8c220851db8bebdf | [
"MIT",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | kryan-supan/native | 97a205ec3dfbbd0f9e17fd794c15db69c6c6ba85 | a7b92d63d6a51f41b3fe8c89fee0bd5f85b8f4a6 | refs/heads/master | 2021-01-17T05:44:41.421957 | 2013-07-15T22:25:08 | 2013-07-15T22:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,091 | h | #pragma once
#include "base/logging.h"
#include "ui/view.h"
#include "math/geom2d.h"
#include "input/gesture_detector.h"
namespace UI {
struct NeighborResult {
NeighborResult() : view(0), score(0) {}
NeighborResult(View *v, float s) : view(v), score(s) {}
View *view;
float score;
};
class ViewGroup : public Vi... | [
"hrydgard@gmail.com"
] | hrydgard@gmail.com |
7d3f1920b60587cde5ee33e4664de1592cfbdabc | 485ff07efdbb3e56b9633e3134b1c81271c2d8a3 | /cpp/SampleRdkMarmalade/MarmaladeNewAutoUITexture.cpp | 808deaaddeeb180b5ee0ad1d1458e983f77c5c77 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | mcneel/rhino-developer-samples | 8f8a332d4d6a9a5fa064be6c1532e665d37c8f13 | 4fb376adcf94f9d583878d1c1208038f86bde312 | refs/heads/7 | 2023-08-18T22:04:34.036498 | 2023-06-08T16:28:43 | 2023-06-08T16:28:43 | 72,225,588 | 526 | 362 | NOASSERTION | 2023-09-06T20:29:31 | 2016-10-28T16:52:21 | C++ | UTF-8 | C++ | false | false | 3,496 | cpp |
#include "stdafx.h"
#include "MarmaladeNewAutoUITexture.h"
#include "MarmaladeAutoUITexture.h"
#include "MarmaladePlugIn.h"
#include "MarmaladeActualShaders.h"
// This is similar to CMarmaladeAutoUITexture but it uses content fields to store
// the texture's colors. This makes it a bit easier to implement and is the
... | [
"john.croudy@mcneel.com"
] | john.croudy@mcneel.com |
9fd19cf6e65b7cd3a8fa53259e5753856501c878 | b0076d650c7af369d73704fdaaee1f07ba2abaf9 | /CourseProject/Server/Time.h | 10ae1e8432cd4690060613972521fda677ec12b0 | [] | no_license | FroznShadow/Network-Project | d8e0903db23bc3493a9bb7daf4eafac1016f23e2 | 6b7978f945934b5f2c887959b2f9b985c7911d0b | refs/heads/master | 2020-07-15T07:30:13.579771 | 2020-02-11T09:15:33 | 2020-02-11T09:15:33 | 94,305,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | h | #pragma once
#include <chrono>
class DeltaTime
{
public:
DeltaTime() :Start(std::chrono::high_resolution_clock::now()), End(Start) {};
double update()
{
Start = End;
End = std::chrono::high_resolution_clock::now();
return std::chrono::duration<double>(End - Start).count();
}
private:
std::chrono::time_poin... | [
"dark.ace90@gmail.com"
] | dark.ace90@gmail.com |
37b9651cfa25dbc536c176c24fa90d12012280b2 | 788c1404e18d6e11c0e179b8f52bb50d05dbf99c | /v1/Query/Range.cpp | f601288c4225009e8e62a2c82da9a516ce6d4ece | [] | no_license | helloyichu/PRESS | 08b4fad52bfcb77fa444bf94aae4778b9e357b07 | 5bbc3c5d827ecc44078bf6107fdebccc5bafa616 | refs/heads/master | 2021-01-18T03:40:03.092228 | 2015-01-18T03:43:45 | 2015-01-18T03:43:45 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,284 | cpp | /**
核心程序,进行MMTC的SPATIAl部分的压缩的程序
*/
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <time.h>
#include "define2.h"
#include "file.h"
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <vector>
#define MAXN 95000000
using namespace std;
ofstream fout("E:\\TC\\OUTPUT.T... | [
"songrenchu@sina.com"
] | songrenchu@sina.com |
18b4c9eef42e05eedd6571e5a8585819d99a37ed | 0dfe837ecdbd331b6532459b7c5ef5fb10557982 | /1287b.cpp | 704d3e52a447443a3f00cc206640214ec0553a90 | [] | no_license | janani271/CP-solutions-1 | 5dfe89e371c98c0b3c70684c75361c55dbff9ee3 | 677105b38c7676f677c29fc1516660050a505c0e | refs/heads/master | 2022-04-01T17:48:00.457697 | 2020-01-16T12:44:32 | 2020-01-16T12:44:32 | 234,316,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include<bits/stdc++.h>
using namespace std;
long long n , k , i , j , ans , g , cn;
string f[2500] , a , b , res;
map<char,long long>c;
map<string,long long>m;
int main()
{
cin>>n>>k;
for(i=0;i<n;i++)
{
cin>>f[i];
m[f[i]]=i;
}
c['S']=0;
c['E']=1;
c['T']=2;
ans=0;
for(i=0;i<n-2;i++)
{
... | [
"noreply@github.com"
] | noreply@github.com |
5e3f1450a7071f290432f7a4418c0d3241301d87 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /redis/include/tencentcloud/redis/v20180412/model/DescribeTaskListResponse.h | 897eaee9a3ee1a0400d9e2b78cbf984e14a21f79 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,010 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
f20da064c90f5586bbc492f2f2f1f9a768e3700a | 539dd5a508f5b21bf9cd28f6d8276d5e85710bd1 | /LongSubstrWithoutRepeating.cpp | 40bf87bf011a99ec6c526d90bab22c4f5c683751 | [] | no_license | vimalprogrammer/Leetcode_Solutions | 76a7d44032b569e02861945ed8ae4818e92846dd | a651e12a6f35de37341aef95c33112f8ca818552 | refs/heads/main | 2023-08-18T17:05:06.440223 | 2021-10-01T15:10:08 | 2021-10-01T15:10:08 | 396,447,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,423 | cpp | #include <bits/stdc++.h>
using namespace std;
/*Longest Substring Without Repeating Characters: Given a string s, find the length of the longest substring without repeating characters.
Example:
Input: s = "pwwkew"
Output: 3
Explanation: The answer is "wke", with the length of 3.
*/
class Solution {
public:
int... | [
"msvimal10@gmail.com"
] | msvimal10@gmail.com |
a1d37d35a5d55442952051d4b115c3d0318b3997 | 3568c5dc63425b843582eb0e4460857712fb5ac1 | /util.h | b5b8730dfccf06051a3b217831ce973ff32b1495 | [] | no_license | Backtrackhhh/matrix-calculator | 6d40a6119e6fab7219357d06e66ce139a3f2a8a4 | 006a0af22a74127c2b999e17af45bcddf969e876 | refs/heads/master | 2020-06-02T04:00:59.145646 | 2019-06-09T16:19:34 | 2019-06-09T16:19:34 | 191,028,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | //
// Created by Tristan on 2019/6/7.
//
#ifndef OOP_LAB4_UTIL_H
#define OOP_LAB4_UTIL_H
#include <stdio.h>
#include <fstream>
#include <iostream>
#include "matrix.h"
#include <map>
#include <stack>
using namespace std;
//void openFile(){
// ifstream in("expression.in");
// char str[20];
// if... | [
"noreply@github.com"
] | noreply@github.com |
6bd28df5675e092a01286f2ed363fd7d05663e03 | 251cbafe74684a091486ac87715b5c09c3548476 | /cj2016/1C-B/Slides.cpp | bce04708d5d47c01a895a953473bec4738e1af24 | [] | no_license | gsz/codejam | 1ad214eea0e1911405d1fff48c9d59e8e3a97b78 | be7174552c97209458e202f0f026742ff65ba959 | refs/heads/master | 2020-06-03T17:05:30.838128 | 2020-04-11T11:56:53 | 2020-04-11T12:17:44 | 13,606,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | cpp | #include <cassert>
#include <limits>
#include <memory>
#include <ios>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <queue>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
typedef int i32;
typedef unsigned int u32;
typ... | [
"gabriel.sztorc@gmail.com"
] | gabriel.sztorc@gmail.com |
115dce0eb1669d6b956be59de241ec4d6e4d7b7f | b137f5bb9d3b77266f46073bc2da72bf445854d6 | /1140B.cpp | b3a04f0e0d378fe8cac2d95e8fea0d1b81d17ba7 | [] | no_license | killzdesu/cpp-archive | 307fa05be71618f2a64b3c852078eef88696da86 | 70f62a7bbc2f3398ac28818849841f18b1145f91 | refs/heads/master | 2023-04-08T20:16:57.460572 | 2021-04-20T06:23:31 | 2021-04-20T06:23:31 | 359,705,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include<bits/stdc++.h>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define REP(x,y) for(x=0;x<(int)y;x++)
#define REPI(x,y) for(x=1;x<=(int)y;x++)
#define pii pair<int,int>
#define ll long long
#define ALL(x) (x).begin(),(x).end()
#define len(x) (int)(x).size()
using namespace std;
i... | [
"killzdesu@gmail.com"
] | killzdesu@gmail.com |
cea7961ef05af6a4c2bd45dd9f64c0577e476ccc | 893106348b8f342b0102ac7feee028cd62c9c1f3 | /lab_5/library.cpp | 8f6037b5ab60bbd181da78f656a3f8597a97820a | [] | no_license | isaychris/CSCI222 | f17ee1b241607f8763c445ef3bf5cab5115e1954 | 4fb1a1790437a1cdcea13823c63bf4ea3833c572 | refs/heads/master | 2021-09-03T15:57:54.971274 | 2018-01-10T08:17:26 | 2018-01-10T08:17:26 | 65,824,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,752 | cpp | // library.cpp
#include <fstream>
#include "holding.h"
#include "library.h"
using namespace std;
ofstream csis;
int main()
{
//Chris Banci
//010031304
Holding** HoldingObjects = new Holding*[5]; //creates 5 array pointers to holding objects
csis.open("csis.txt");
cout << "Enter holdings to be stored in a li... | [
"adaptxsurvive@gmail.com"
] | adaptxsurvive@gmail.com |
7d7c50a322dad92486c2ad21466def734605e54e | 9f88366f38ca7e74dc7d6a12be927f154d15f528 | /684A.cpp | 90c717155ff9b93df63747b488122cda7265f5d4 | [] | no_license | shreyas-mante/Codeforces | 6b6d038065ab5439e5d45d8ff88d2ae9d5fc6965 | fb8c3609c2410c55626201a0980b21645d27a591 | refs/heads/main | 2023-07-15T01:32:45.987702 | 2021-08-26T09:20:53 | 2021-08-26T09:20:53 | 363,723,401 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll t;
cin>>t;
while(t--)
{
ll n,c0,c1,h;
cin>>n>>c0>>c1>>h;
string s;
cin>>s;
ll cnt0 = 0;
ll cnt1 = 0;
for(ll i=0;i<n;i++)
{
if(s[i]=='1')
{
cnt1++;
}
if(s[i]=='0')
{
cnt0++;
}
... | [
"you@example.com"
] | you@example.com |
b0863dfe9761ad8348e45fd2a9f418cb9b6a566d | 2413d71a07074043233874f114c303a9d1df7705 | /动态规划/樱花.cpp | 673c006d81a7bf962b54980b8a40e07e74bb4050 | [] | no_license | ferapontqiezi/AlgorithmDesign | fe21ccc5983c9622e4e6200209f0124b4360eeb4 | cdeefa760f1c55fa32ebc4a0f034fcbfa1da0ac1 | refs/heads/master | 2023-08-26T18:29:07.171850 | 2021-11-12T05:20:14 | 2021-11-12T05:20:14 | 421,362,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
int nx, ny, ex, ey, n, f[1010];
int a[10005], b[10005], c[10005];
int cnt = 0, co[1000005], v[1000005];//尽可能开大,不要把空间开爆了
int main() {
scanf("%d:%d %d:%d%d", &nx, &ny, &ex, &ey, &n);
int t = (ex * 60 + ey) - (nx * 60 + ny);
for(int i = 1; i <= n; ++ i) {
sc... | [
"Ferapont@qq.com"
] | Ferapont@qq.com |
a02fdcad9e4162465d3cfeeb05bd24e7676e9764 | 5b30dc8638b31b4921ac1611950d48065319ad42 | /POJ/POJ2989.cpp | 5a9cac29494bbff53ce63a82c17ae78f76911c4e | [
"Apache-2.0"
] | permissive | taisuishen/code | 041916ac14973d24f669efd0f6c2606ad9cb554b | b959ffcd9f401fa7c6362d6d7cf745e48acfca89 | refs/heads/main | 2023-02-02T21:31:27.448785 | 2020-12-21T16:25:16 | 2020-12-21T16:25:16 | 303,955,660 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,662 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <stack>
#include <cstring>
#define For(i,j,k) for(int i = j;i <= (int)k;i ++)
#define Set(i,j) memset(i, j, sizeof(i))
using namespace std;
const int N = 130;
int Ans, G[N][N], all[N][N], some[N][N], none[N][N];
void DFS(int n, in... | [
"1037381963@qq.com"
] | 1037381963@qq.com |
826e853266dda79f81e8d713aa895f53ad325a2e | 249630ace4f18594e43ac8179db3b8d30021370a | /aws-cpp-sdk-redshift/include/aws/redshift/model/DescribeHsmConfigurationsRequest.h | d6547b5b2344094b74063925e0bbb950875ca6a3 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | FlyingSquid/aws-sdk-cpp | 5e5f2040867b1e1998fa8b06b837b3b19f550469 | 3fe46f05d1c58fc946045d3b860a79c88d76ceb1 | refs/heads/master | 2021-01-10T17:19:36.927018 | 2016-02-27T01:30:38 | 2016-02-27T01:30:38 | 52,852,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,648 | h | /*
* Copyright 2010-2016 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" file... | [
"henso@amazon.com"
] | henso@amazon.com |
cf095cbecc8312e6a5b935365bfaf9f4a9162241 | 422b67f05e244b7898b0e74a9d75709f16c4ef89 | /day_10/main.cpp | 0552014986c04b5eb9e15a236ae94f235b5d71c3 | [] | no_license | Andurian/AdventOfCode2019 | 42236998fe3924d9affdc13d4513ff08b63c49d8 | 997a123f7c19ff27e96181e9ebcd95894ad8421b | refs/heads/main | 2023-01-28T09:49:07.280308 | 2020-12-06T15:00:43 | 2020-12-06T15:00:43 | 318,000,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | #include <iostream>
#include "asteroids.h"
#include "read_file.h"
#include "multicall.h"
void solve(const std::string& filename)
{
std::vector<Asteroid> asteroids = convert_image(read_collection(filename, "\n"));
const auto & pos = best_asteroid(asteroids);
asteroids.erase(std::find(asteroids.begin(), asteroids.... | [
"Devon.Cornwall@web.de"
] | Devon.Cornwall@web.de |
7dc5bb14e484d5ce0c1b84edea0a8216d2413f47 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /paifeaturestore/src/model/GetLabelTableRequest.cc | 96f8dfc7031db9ff9dfac6188ef0d5efc21e7b09 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,572 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
9a863b31607013618bfc3290b7c7bf3429985382 | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /11797.cpp | e32a6b3856fb2c58934258a341630d48d0188bae | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include <bits/stdc++.h>
using namespace std;
const char *s[5] = {"Ja", "Sam", "Sha", "Sid", "Tan"};
char name[12], map_[128];
int l[5][20], time_[5], ls[5], lp[5];
inline int min(int a, int b)
{
return a < b ? a : b;
}
int main()
{
int c, ct, m, n, next, t;
map_[0] = 0;
map_['m'] = 1;
map_['a'] = 2;
map_['d'... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
382118eb00e86d29416082dc116bf257a184a92e | 0f78c98050b62158e600f5a9f5b8503f3d951fa2 | /Source/Header/MyListCtrl.h | a9f5f12cc4cd1a96170e366d31b769a24900b99a | [] | no_license | NoMatterU/yddsspace | 811420ac8ca62bd574977d449a1a16367ad297d3 | e8a2710f3a999fd8646caa206481e8cf4a132b27 | refs/heads/master | 2020-07-06T16:54:30.287678 | 2019-09-05T12:59:14 | 2019-09-05T12:59:14 | 203,084,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | h | #pragma once
#include "ListEdit.h"
#include "ImgListVector.h"
#pragma comment(lib, "Lib/ImgListVector.lib")
// CMyListCtrl
class CMyListCtrl : public CListCtrl
{
DECLARE_DYNAMIC(CMyListCtrl)
public:
CMyListCtrl();
virtual ~CMyListCtrl();
void SetpImgList(CImageList *pImgList);
CImageList *GetpImgList();
void... | [
"810805612@qq.com"
] | 810805612@qq.com |
ee6d9e7a2400d807bfcfe9177c8c3098b916b351 | b67c6e15a5f08b5a10d009e3e2cc9232aac7c7c9 | /VulkanRenderBackend/private/include/RenderBackendSettings.h | 41e73010d4305867323a473ccf7ce3ed2d744a2d | [
"MIT"
] | permissive | A-RAVEN/Crimson | 06a9a9204738a1abd635503a755370384b0911f1 | 1e7f43ee751b50bc271067822a95e16ccb1f6ee3 | refs/heads/master | 2023-08-06T13:08:27.483713 | 2023-08-06T09:19:55 | 2023-08-06T09:19:55 | 229,404,396 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | h | #pragma once
#include "VulkanIncludes.h"
#include <cstdint>
namespace graphics_backend
{
constexpr uint32_t FRAMEBOUND_RESOURCE_POOL_SWAP_COUNT_PER_CONTEXT = 3;
constexpr uint32_t SWAPCHAIN_BUFFER_COUNT = 3;
using FrameType = uint64_t;
constexpr FrameType INVALID_FRAMEID = std::numeric_limits<FrameType>::max();
... | [
"769561232@qq.com"
] | 769561232@qq.com |
bd20ea70548b4642167021753088eae5d27e689e | c6b0381b303a5b192a159305759e58681d7a4835 | /AVL tree/main.cpp | eda5f3f6fc5e5c1cd1e537ed94a0d101cb9d9309 | [] | no_license | rajeshkumarsinha/Important-codes | 1163d92da501f90a6364462bb3084de982cba460 | 1146419a1ea93f57c69dbb4397152ae2a62df8fa | refs/heads/master | 2020-12-10T21:26:32.750014 | 2016-08-25T12:03:06 | 2016-08-25T12:03:06 | 41,245,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | cpp | #include <iostream>
using namespace std;
struct node{
int val;
int c;
node* lc;
node* rc;
int height;
};
node* getnode(int val,int c)
{
node* temp=new node;
temp->c=c;
temp->val=val;
temp->lc=NULL;
temp->rc=NULL;
temp->height=1;
return temp;
}
int height(node* root)
{... | [
"valkyrie@valkyrie-300E4Z-300E5Z-300E7Z.(none)"
] | valkyrie@valkyrie-300E4Z-300E5Z-300E7Z.(none) |
a38fca30c7d45363e7dd01f058fd46471063bb8f | 58391c7d7dd4dd208d7c42554593d0809cd51261 | /src/Symbol.hpp | 530ff1a465993c3c4da72c9538891f3dab6c6191 | [] | no_license | DldFw/ecbrates | 88ed599ba95bfd1c6c32c0f3202d64a126d0cf50 | 752b5d77a0d21d464835404abbdad53585ac51e2 | refs/heads/master | 2022-01-09T09:36:55.886040 | 2019-01-08T20:47:58 | 2019-01-08T20:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,806 | hpp | #pragma once
#include <string>
#include <vector>
namespace MO
{
/* Using special char traits is nice - the string behaves like case insensitive,
* however each time we compare strings we pay for this convenience.
* On my machine performing 100k request for some set of latest data took
* 3.3s when u... | [
"miroslaw@opoka.tech"
] | miroslaw@opoka.tech |
78ff070017ec8fb2e8d6f511e0a13a2087f58d6e | b909c2b9958448671e6440069f2b057e8fd12126 | /최소 스패닝 트리/1922.cpp | a7f3d7f15bf9fb7af7852d051b944beccba295c7 | [] | no_license | sunjungAn/C-study | 0c4dba0737edafa00fa1438fb11a38320a00fbaa | 8d66a51baee95e7299a8c03c529fea86591188e7 | refs/heads/master | 2022-12-04T07:14:33.618898 | 2020-08-20T15:16:09 | 2020-08-20T15:16:09 | 278,672,402 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,659 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int v, e;
int parent[10002]; //부모를 저장할 리스트
int rank[10002]; //랭크는 다 0으로 초기화
typedef struct edge {
int v1, v2, w, visit=0;
}edge;
vector<edge> vlist;
bool compare(edge a, edge b) //가중치를 기준으로 정렬
{
if (a.w > b.w)
return false;
if (a.w == ... | [
"sja3410@gamil.com"
] | sja3410@gamil.com |
0ad5c7ca1de80203f56eb0ab5a74af1a2a28cf30 | da2222b25af048b2e4b85d71e5583a9d9a489c9b | /Source/PluginProcessor.h | 15e0647b6b7f56fdf4265bf8638b843da09f410f | [] | no_license | marcandrelabelle/PFMProject0-01 | 093dac9a38a00990ea146ce5264219d943d20ecc | 748b32dd0ced856175f029fe653debde0e7bcefa | refs/heads/master | 2023-02-13T22:33:20.176909 | 2021-01-17T20:04:33 | 2021-01-17T20:04:33 | 315,801,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | h | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#pragma once
#include <JuceHead... | [
"marc_lab2091@hotmail.com"
] | marc_lab2091@hotmail.com |
5ff5b5edf7ee270e0c4c6e11053f5a498adc2414 | 7f67fb29806bf037b1f0b1ec2134f82435c73082 | /plugins/osgaudio/include2/openalpp/NetUpdater.h | 27a87f249cac6d09791abaa8b64b5307ced1f3e6 | [] | no_license | popoca/OSG_ShootingGallery | a65f92c121ea8741750c8a572123a0062a331db9 | 75f9b58b0dddc274d05deda716072354f7e23f31 | refs/heads/master | 2020-04-09T02:40:51.579783 | 2010-12-17T10:11:01 | 2010-12-17T10:11:01 | 1,242,956 | 0 | 1 | null | null | null | null | IBM852 | C++ | false | false | 2,423 | h | /* -*-c++-*- */
/**
* osgAudio - OpenSceneGraph Audio Library
* Copyright (C) 2010 AlphaPixel, LLC
* based on a fork of:
* Osg AL - OpenSceneGraph Audio Library
* Copyright (C) 2004 VRlab, Umeň University
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Le... | [
"albinkun@gmail.com"
] | albinkun@gmail.com |
f01021e74cec747e76b19f235b3ef4432b3204e9 | 9f25ac38773b5ccdc0247c9d43948d50e60ab97a | /third_party/blink/renderer/core/layout/ng/ng_replaced_layout_algorithm.cc | e2b05dad4d9d9d076d1fc7d9fde6c6b0d17c1844 | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | liang0/chromium | e206553170eab7b4ac643ef7edc8cc57d4c74342 | 7a028876adcc46c7f7079f894a810ea1f511c3a7 | refs/heads/main | 2023-03-25T05:49:21.688462 | 2021-04-28T06:07:52 | 2021-04-28T06:07:52 | 362,370,889 | 1 | 0 | BSD-3-Clause | 2021-04-28T07:04:42 | 2021-04-28T07:04:41 | null | UTF-8 | C++ | false | false | 1,971 | cc | // Copyright 2020 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/core/layout/ng/ng_replaced_layout_algorithm.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#inclu... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
b197016aa273c9b073b2f58a2725f3fefd8e773d | 6a50586d4e73dd3382811a8725b820297e56617e | /likelihood.cxx | 55fa9c72f3e2ea035e4fab6f46a66758f0641675 | [] | no_license | xligit/atmFitTools | bbd50832db35f1d06f920e36e54e2fcd192b79c4 | 74c208e9183503b4a17fb1eb8a331e7264e9ff1c | refs/heads/master | 2021-01-17T23:04:18.967811 | 2016-05-23T05:20:11 | 2016-05-23T05:20:11 | 55,114,065 | 0 | 0 | null | 2016-03-31T02:35:09 | 2016-03-31T02:35:09 | null | UTF-8 | C++ | false | false | 8,415 | cxx | #include "TMath.h"
#include "TH1D.h"
#include "TGraph.h"
#include <iostream>
#include <math.h>
using namespace std;
//////////////////////////////////////////////////////////
//Scaled Poisson function since it's not in ROOT
double PoissonS(double nobs, double mean, double scale){
return TMath::Poisson(nobs/scale,m... | [
"xiaoyue.li.1990@gmail.com"
] | xiaoyue.li.1990@gmail.com |
1e88ff46fca2b5d21cc3a83716c21992b6055182 | a2a4e687061a675efb484e2e3b1cecdfbfd27d3e | /problem set 2/codefocesless1300pro10.cpp | 92355bc988cf0ee1d8ae12de3a9d397c03b84b0d | [] | no_license | stormbreaker07/CodingQuestions | 6060761fe8c692af50aa01b976dc9da80307462f | 3e6345941ee316db92f73875481e6b541cbe6bdb | refs/heads/master | 2021-07-14T20:49:48.507648 | 2020-08-24T05:34:09 | 2020-08-24T05:34:09 | 196,558,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | #include <bits/stdc++.h>
#include<iostream>
#include<string>
using namespace std;
int main()
{int w;
string s;
cin>>w;
cin>>s;
for(int i=0;i<s.length();i++)
{
while(s[i]==s[i+1])
{s.erase(i+1,1);
}
}
cout<<w-s.length();
return 0;
} | [
"tanuj07yadav07@gmail.com"
] | tanuj07yadav07@gmail.com |
46d4ca1349c84d61d30c77cdf0e9b2026e020e8f | 802007d9aaa09ee69d3c9a423733987aedb64b31 | /code_C++/Usine.cpp | a3db20dbbefeb4b259147f2bd5f13c66d1219b6d | [] | no_license | BASARANOMO/Renault-operations-research-project | b04c8fee60d3ff16e189ec65da5202e3b5b46834 | 8575afa1f162c7b98ac969fdd79f2ee3a7b8ecd8 | refs/heads/main | 2023-02-16T23:52:00.268274 | 2021-01-14T10:35:33 | 2021-01-14T10:35:33 | 312,566,174 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | #include "Usine.h"
Usine::Usine()
{
id = -1;
vertexId = -1;
} | [
"39518094+BASARANOMO@users.noreply.github.com"
] | 39518094+BASARANOMO@users.noreply.github.com |
d83696545f645cfe95046a523030845cd925ab1d | 3047545349bf224a182b2c33bf1f110aef1ce9b6 | /Transims60/Converge_Service/Get_Trip_Gap.cpp | a731f934f9d772667b4803808fe5869d14fe52bd | [] | no_license | qingswu/Transim | 585afe71d9666557cff53f6683cf54348294954c | f182d1639a4db612dd7b43a379a3fa344c2de9ea | refs/heads/master | 2021-01-10T21:04:50.576267 | 2015-04-08T19:07:28 | 2015-04-08T19:07:28 | 35,232,171 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | cpp | //*********************************************************
// Get_Trip_Gap.cpp - process trip gap data
//*********************************************************
#include "Converge_Service.hpp"
//---------------------------------------------------------
// Get_Trip_Gap
//------------------------------------... | [
"davidroden@7728d46c-9721-0410-b1ea-f014b4b56054"
] | davidroden@7728d46c-9721-0410-b1ea-f014b4b56054 |
3f0e431f043c62cde3f44d8021f5d16e498d8880 | 2e59275322981cf8662fe6de525eb747a0a21371 | /project_1/DFA.cpp | 78224cf0771fdb7b45fcfc206da32523f9425b09 | [] | no_license | colesteaks/EECS_665 | e72e62f3c5b94beac1a8ce625bd55dd55f77a368 | 7b7a2b61ac88c80be1fe90e0e435e8f7752b28f0 | refs/heads/master | 2021-06-08T20:27:29.353025 | 2016-12-02T01:18:24 | 2016-12-02T01:18:53 | 66,558,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | #include "DFA.h"
using namespace std;
DFA::DFA() {
this->startStates = {};
this->finalStates = {};
this->inputs = {};
this->totalStates = -1;
this->states = {};
}
DFA::~DFA() {}
//Checks to see if a set of NFA states is already in the DFA asa state
int DFA::checkDFA(unordered_set<int> set) {
int id;
f... | [
"cjurden@Nicholass-MacBook-Pro-4.local"
] | cjurden@Nicholass-MacBook-Pro-4.local |
a003a12be8f4c3d290666a2fd07ec5e28ba420a3 | 65d7cf48af1573adb28ed3fefea2173e4e88c60e | /day1/dfd.cpp | 9a708491311d9ff5b5468f667b539e02c22fc64f | [] | no_license | keshav1999/c_plus_plus_Programming | c7ddb6b6d94e0edec8da17290e5fe998348e42d6 | dcfdf9426572f3d626e9b7a22b894c4fea7b3c57 | refs/heads/master | 2020-06-01T11:43:11.710784 | 2019-07-22T19:20:44 | 2019-07-22T19:20:44 | 190,767,031 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include<iostream>
using namespace std;
int main()
{
//this is a program to print hello
cout<<"* * * * *\n"<<" * * * * *\n"<<"* * * * *\n"<<" * * * * *\n"<<"* * * * *\n";
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
44aa19b2e6bf9534e71e16af3947fb99452d2454 | 301bdb50009961c35494df9fb43625c262047a17 | /src/miner.cpp | 02f99400feaac54eed8520f00507e1e292f644dc | [
"MIT"
] | permissive | franklee1/master4 | e6a10bcf068259aab70f886cd1dac50261deda73 | a82cf06267de12b685390c26075e3debfd937788 | refs/heads/master | 2021-05-11T13:21:19.785228 | 2018-01-16T11:57:01 | 2018-01-16T11:57:01 | 117,677,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,664 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The master Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "miner.h"
#includ... | [
"franklee85@live.com"
] | franklee85@live.com |
f1fc3ac01f3083edcf3ce288f07f0883307e65a6 | d1ed4185904c093bda093a28fa6dd5de3e5695f9 | /src/common/test/test_term_match.cpp | 2069dba2ec7ac1ef6e69a9232c7ffca2090df7f3 | [
"MIT"
] | permissive | datavetaren/epilog | 7c31fc89f9428a5f14edf0eabf4550aa13ad7d99 | 7067a4cf5b62dd8eca3ab9395fbb1b85d95a9820 | refs/heads/master | 2023-07-23T22:57:41.040136 | 2021-08-26T10:45:07 | 2021-08-26T10:45:07 | 371,300,487 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | #include <common/term.hpp>
#include <common/term_match.hpp>
using namespace epilog::common;
#include <type_traits>
static void header( const std::string &str )
{
std::cout << "\n";
std::cout << "--- [" + str + "] " + std::string(60 - str.length(), '-') << "\n";
std::cout << "\n";
}
static void test_simp... | [
"datavetaren@datavetaren.se"
] | datavetaren@datavetaren.se |
f4e3a08ce8e1fee60427d2a66acaede07af81974 | 62079b7030745570e21c59f61bf2ad6597a7976f | /Essentail Training for C programming/2017.10.16/pg2201.cpp | fd38239e797921f3b63b434b3e2bf712415371f5 | [] | no_license | XC-Team/c-program-code | 42f38c492e6dd2611ca29bef7be447118b22d450 | a8672c73bb5f5ec46e928a86e11f1bd23ecbb201 | refs/heads/master | 2022-12-22T23:31:08.823404 | 2020-09-25T05:07:05 | 2020-09-25T05:07:05 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 221 | cpp | #include<stdio.h>
int main(void)
{
int a, b, max;
printf("请输入两个数a,b(以逗号分隔):");
scanf("%d,%d", &a, &b);
max = (a > b ? a : b);
printf("max = %d", max);
printf("\n");
return 0;
}
| [
"Jomsou@qq.com"
] | Jomsou@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.