blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be915c9400e3b90330e807c4ddcf5feb94ae3fa5 | ed80d28d35456aa7e62a41babc7c1c8e2f2887ff | /8381/Pochaev_Nikita/code/Units/Unit.h | dc47a5386040292997521adefad07389bf66062a | [] | no_license | MatrosovDenis/oop | ceab461aefb68b7fbcdca43f9f56c5ac0fb60eda | 27360d48e0d36acd498e46b6210eede08ca39286 | refs/heads/master | 2022-10-07T10:30:57.995496 | 2020-05-19T10:52:10 | 2020-05-19T10:52:10 | 265,220,181 | 0 | 0 | null | 2020-05-19T10:47:09 | 2020-05-19T10:47:09 | null | UTF-8 | C++ | false | false | 2,529 | h | #ifndef OOP_UNIT_H
#define OOP_UNIT_H
#include <iostream>
#include <cstddef>
#include <string>
#include <utility>
#include <memory>
#include <map>
#include "InformationHeaders/unitPar.h"
#include "GameField/Coords.h"
#include "IUnitAttack.h"
#include "AuxiliaryFunctionality/UnitObserver.h"
#include "AuxiliaryFunctio... | [
"pochaev.nik@gmail.com"
] | pochaev.nik@gmail.com |
cf197236da35c97c4f051446266aff0b6b310ec7 | 665df0c7b0bb1a8d0e8c450ad2bd6bec3f9c07c0 | /AGEngine/Project2/Kruskal/disjoint_sets.cpp | 2379976d3d08e6abcecc233ac09e91d56cc7edbd | [] | no_license | AkitsukiShintai/AGEngine | 26b185eb56e2d0e20d4443fe39ef9f3bdbca4152 | 59dbf7c14e2d77f3c53812c7d0b7342ade72444d | refs/heads/master | 2020-12-15T06:38:14.569602 | 2020-02-22T22:58:32 | 2020-02-22T22:58:32 | 235,022,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,995 | cpp | #include "disjoint_sets.h"
//class Node implementation
Node::Node( size_t const& value ) : value(value), next() {}
Node* Node::Next() const { return next; }
void Node::SetNext( Node* new_next ) { next = new_next; }
size_t Node::Value() const { return value; }
std::ostream& operator<< (std::ostream& os, Node const... | [
"zxfwzq1995@gmail.com"
] | zxfwzq1995@gmail.com |
4d61c1263f252df838ca348ee8169897a15e14f9 | 69af20c09da67dbf930973303f5c631b1c3d807b | /third_party/blink/renderer/core/layout/ng/inline/ng_inline_cursor.cc | 2604f00b435df0a8b848ab2eee1f8bbbe2785e8b | [
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"BSD-3-Clause",
"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"
] | permissive | mahdi1001/chromium | bd234519c2e4b95d1f2d8f1bcd0336b31df59c64 | 33941649f5bff74500fcc3514cf4d3c18249a17e | refs/heads/master | 2023-03-03T08:26:53.846678 | 2020-02-08T12:31:24 | 2020-02-08T12:31:24 | 239,128,640 | 0 | 0 | BSD-3-Clause | 2020-02-08T12:26:21 | 2020-02-08T12:26:21 | null | UTF-8 | C++ | false | false | 46,906 | cc | // Copyright 2019 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/inline/ng_inline_cursor.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d4b41acc6dc473861f7bf388879a7fde5d45b298 | 97c3a0cdc0894e08d2afebbd1a6e86e3233312d2 | /data/Local_Planners/eband_local_planner/include/eband_local_planner/eband_local_planner.h | aac1750d06876c88262f08a90f96557f3d7aaa0a | [
"MIT",
"BSD-2-Clause"
] | permissive | elbaum/phys | 139c17d9e4a5ed257657be9e5a3b4c580c460448 | 6ac580323493a5c6bb6846d039ae51e9ed1ec8b6 | refs/heads/master | 2020-03-21T13:25:09.513340 | 2018-06-24T21:05:43 | 2018-06-24T21:05:43 | 138,604,505 | 0 | 0 | MIT | 2018-06-25T14:15:26 | 2018-06-25T14:15:26 | null | UTF-8 | C++ | false | false | 16,012 | h | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | [
"jpwco@bitbucket.org"
] | jpwco@bitbucket.org |
37d5a9191130547927d32a0e41fb835a2fbf2e57 | b410ebaf2a74822b387825465625bde72c08f96e | /src/qt/poriun/navmenuwidget.h | ff4b416cc0d37f7868b9c5d82959263d2cdf6d00 | [
"MIT"
] | permissive | freelancerstudio/PoriunCoin | 925c94558dc03d2f8310bde14ab4768a923fd44b | 7d675d4d163702eb7072cafda52e7a58ef6e169c | refs/heads/master | 2023-04-21T20:56:55.178694 | 2021-05-06T08:46:03 | 2021-05-06T08:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | h | //Copyright (c) 2019-2020 The PIVX developers
//Copyright (c) 2020 The Poriun Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef NAVMENUWIDGET_H
#define NAVMENUWIDGET_H
#include <QWidget>
#include "qt/poriu... | [
"hello@poriun.com"
] | hello@poriun.com |
43475f022dbb4800c1daea91c3dc4dc26b6f9e47 | 8670be90f17f45353d9b7f249354019fed7dddc7 | /C++/testMethodsSpeed/testSpeed.cpp | 78f028a4e0befe2589226f47c592f78957fee116 | [] | no_license | wh0930/A-Code-Assistant | 58891fc2ed7dcdb5a522750322b5fa43d994aedb | 23e27c0314038ffd2d6e63d43f67d22c81ed7d74 | refs/heads/master | 2023-02-10T11:13:11.555450 | 2021-01-03T13:26:36 | 2021-01-03T13:26:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,970 | cpp | #include"test.h"
void Menu()
{
cout << "各类型排序算法速度测试\n";
cout << "1,冒泡排序\n";
cout << "2,插入排序\n";
cout << "3,希尔排序\n";
cout << "4,选择排序\n";
cout << "5,快速排序算法\n";
cout << "6,堆排序\n";
cout << "7,归并排序\n";
cout << "8,计数排序\n";
cout << "9,基数排序\n";
cout << "0,退出\n";
cout << "请选择一种排序的算法: " << endl;
}
//1,冒泡排序
void Bubb... | [
"zam9036@163.com"
] | zam9036@163.com |
6cd6ae8a902e2edad66c6094d409b5f8f34f7de1 | fe875f6c7846314f3d8368babf7e0342445971dd | /driver/camera/inc/DAHEN_camera.h | 34baf0a48cfe3db4e8940917dd5cf030169abfd9 | [] | no_license | extinction057/AIM_HUST_TEST | 0f4954fb159f812e3bfe0f4e8df34663146bcafb | 14e15bb6bbf6cb6d8a5e0788953c70983eb70c2d | refs/heads/main | 2023-06-23T17:30:51.185165 | 2021-07-16T06:03:16 | 2021-07-16T06:03:16 | 386,221,742 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | h | #ifndef __DAHENG_CAMERA_H
#define __DAHENG_CAMERA_H
#include "camera.h"
#include"DxImageProc.h"
#include"GxIAPI.h"
namespace ly{
class DAH_Camera:public camera
{
public:
DAH_Camera();
~DAH_Camera();
int Init();
int SetPixelFormat(int64_t pixelformat = GX_PIXEL_FORMAT_BAYER_BG10);
int SetResolution... | [
"1440156598@qq.com"
] | 1440156598@qq.com |
58d47b87f44a5221659237dc2bf944bd716bd118 | 3f5afca798f57b1f81e3a6828f049fc786bec5b3 | /console.cpp | 0b6fa938bb7cfc0dc1ff2964e37c7b51eff5c190 | [] | no_license | sychov/seabattle | 1a5d3f1a8e280eb3fd0f72e2b98daa5d5498107b | 40eaf5e1fdb40fac916e706a0e52d2ae5d512499 | refs/heads/master | 2021-01-20T21:34:57.509011 | 2017-09-18T16:54:06 | 2017-09-18T16:54:06 | 101,769,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,767 | cpp | //
// Game Console class provides input/output in Seabattle game console
//
///////////////////////////////////////////////////////////////////////////////
#include <cctype>
#include <iostream>
#include <conio.h>
#include <string>
#include "console.h"
#include "screen.h"
using namespace seabattle_... | [
"alexey.sychov@gameloft.com"
] | alexey.sychov@gameloft.com |
8ebac1752f153af3f7ef7c7c9d353823148d57a3 | 4170b64d263dc81fce7b2b80cf36c8436b6b5b9d | /src/libzerocoin/Denominations.cpp | 673a92901086b3c1f8d789636c45b41396fa87e3 | [
"MIT"
] | permissive | Divitae-official/divitae | d9fc6c384ed7b84e5f3b2e5f267905f647cfff07 | 1a2b6dbf62ab5ac8b4aec244ab566f4adfe1c5a2 | refs/heads/master | 2023-01-15T23:06:07.345792 | 2020-12-01T22:13:03 | 2020-12-01T22:13:03 | 315,342,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,027 | cpp | /**
* @file Denominations.cpp
*
* @brief Functions for converting to/from Zerocoin Denominations to other values library.
*
* @copyright Copyright 2017 DIVIT Developers
* @license This project is released under the MIT license.
**/
#include "Denominations.h"
#include "amount.h"
namespace libzero... | [
"you@example.com"
] | you@example.com |
824d3b9e498a9976866e4b20e6881ee6e3c2fc5b | 1005f450818900b923e345b73d77628f20d1875e | /thirdparty/msgpack-c/include/msgpack/v2/sbuffer_decl.hpp | e11d9ef479a6387695a59c2095c3564d182dda02 | [
"MIT"
] | permissive | qicosmos/rest_rpc | c7ad37547a9dcb616832b32bc110a237977b8c74 | 93088a7e0f0ddb3786de40ed7b6311852644edbf | refs/heads/master | 2023-08-23T06:56:42.464323 | 2023-07-04T02:57:13 | 2023-07-04T02:57:13 | 162,215,656 | 1,504 | 354 | MIT | 2023-07-05T03:37:24 | 2018-12-18T02:01:52 | C++ | UTF-8 | C++ | false | false | 684 | hpp | //
// MessagePack for C++ simple buffer implementation
//
// Copyright (C) 2016 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_V2_SBUFFER_DECL_HPP
#define MSGPACK_V... | [
"qicosmos@163.com"
] | qicosmos@163.com |
bc860f7b1473ede67adaeca454ec9056dbc8bb21 | b7d5c71f3d56346da74dcdb5d948ff8a002b40a2 | /C++/Trajectory/sommet.cpp | 19d3bf998e6ba8b3dfbbfefe46f146cb0b1a221e | [
"Apache-2.0"
] | permissive | MohamedMkaouar/Some_Projects | 88aaea4ab6c7c927bb456ee01a6fb48e85a92ff1 | 8170126dc91f313638595f9f4b81e9ae8b308334 | refs/heads/main | 2023-02-25T07:03:45.858813 | 2021-01-22T10:30:39 | 2021-01-22T10:30:39 | 335,364,323 | 0 | 0 | Apache-2.0 | 2021-02-02T17:09:04 | 2021-02-02T17:09:03 | null | UTF-8 | C++ | false | false | 263 | cpp | #include <iostream>
#include <iterator>
#include <map>
#include <cmath>
#include <vector>
#include <limits.h>
#include <stdio.h>
#include <fstream>
#include<omp.h>
#include "sommet.h"
const double pi = 3.14159;
using namespace std;
| [
"noreply@github.com"
] | MohamedMkaouar.noreply@github.com |
7d67fc762988ab8447c9985f0a19ba8d9850b142 | 31c38c6fa9d1aa2ad0ce113e7084cb8c0f7bc956 | /SDK/BP_MKW01_functions.cpp | 69aeab97425f4440619b93abaf487c25d924d668 | [] | no_license | xnf4o/DBD_SDK_461 | d46feebba60aa71285479e4c71ff5dbf5d57b227 | 9d4fb29a75b63f4bd8813d4ee0cdb897aa792a58 | refs/heads/main | 2023-04-12T22:27:19.819706 | 2021-04-14T22:09:39 | 2021-04-14T22:09:39 | 358,058,055 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,071 | cpp | // Name: DeadByDaylight, Version: 4.6.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-------------------------------------------... | [
"xnf4o@inbox.ru"
] | xnf4o@inbox.ru |
acad3c8f045661e8bbbd29f4b9861e501f88e8b1 | 7a17d90d655482898c6777c101d3ab6578ccc6ba | /SDK/PUBG_BP_TslBaseLobbySceneTravel_CameraMove_structs.hpp | bf3ead824c50b7e9ae77a9b1b71ec1a081c2ae4a | [] | no_license | Chordp/PUBG-SDK | 7625f4a419d5b028f7ff5afa5db49e18fcee5de6 | 1b23c750ec97cb842bf5bc2b827da557e4ff828f | refs/heads/master | 2022-08-25T10:07:15.641579 | 2022-08-14T14:12:48 | 2022-08-14T14:12:48 | 245,409,493 | 17 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 285 | hpp | #pragma once
// PUBG (9.1.5.3) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_Basic.hpp"
#include "PUBG_TslGame_classes.hpp"
#include "PUBG_Engine_classes.hpp"
#include "PUBG_CoreUObject_classes.hpp"
namespace SDK
{
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"1263178881@qq.com"
] | 1263178881@qq.com |
f4ef4c1d790e0c5f9c43afe8133bcef3a1670728 | 3218909350b6f8388a6452c1f444184054598173 | /test.cpp | 1743fa1c1110ff215938d55334dd0cc2157aa3b6 | [] | no_license | ashther/practice | 340bcbe6bc823e118baf4ae257dc65effecc1eff | 13229521acf8ab1574747735719be334f99354e1 | refs/heads/master | 2020-05-21T03:21:45.526293 | 2018-12-07T10:35:30 | 2018-12-07T10:35:30 | 40,460,359 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,346 | cpp | //[[Rcpp::plugins(cpp11)]]
#include <Rcpp.h>
#include <numeric>
#include <iostream>
#include <algorithm>
#include <unordered_set>
using namespace Rcpp;
using namespace std;
// This is a simple example of exporting a C++ function to R. You can
// source this function into an R session using the Rcpp::sourceCpp
// func... | [
"ashther@qq.com"
] | ashther@qq.com |
6bcebf4909f222e405eedb8ddac49e0530f28ac4 | fd00dc041d5fa967ac140ab980db9bd008a6a5c9 | /Templates/Tarjan.cpp | e573ca783be49506335a3930559a11ed047cf441 | [] | no_license | derekzhang79/ACM-2 | 6759ca221fa2a8c417ff9a1fd6fb85ac9f3063e3 | acf9e16bd3147e5ce8d41b6edd35d5e727ce17ba | refs/heads/master | 2020-05-23T14:04:06.595571 | 2019-05-15T17:44:11 | 2019-05-15T17:44:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | int Stack[maxn], low[maxn], dfn[maxn], inStack[maxn], belong[maxn];
int now, len, cnt;
// now:时间戳,len:栈的大小,cnt强连通的个数
void init() {
now = len = cnt = 0;
mem(inStack, 0);
mem(belong, 0);
mem(dfn, 0);
mem(low, 0);
}
void tarjan(int x) {
// 打上标记,入栈
low[x] = dfn[x] = ++now;
Stack[++len] = x;
inStack[x]... | [
"2102370669@qq.com"
] | 2102370669@qq.com |
0da934ce6c9b4239b520c01130f5f79ae6a48b18 | 2aa4c7c94866e7a958e4787dd4487aa7c1eb8d61 | /applications/ContactStructuralMechanicsApplication/custom_utilities/interface_preprocess.h | b4e774b91fa237c8e93a8751f7e44d1a49372a52 | [
"BSD-3-Clause"
] | permissive | PFEM/Kratos | b48df91e6ef5a00edf125e6f5aa398505c9c2b96 | 796c8572e9fe3875562d77370fc60beeacca0eeb | refs/heads/master | 2021-10-16T04:33:47.591467 | 2019-02-04T14:22:06 | 2019-02-04T14:22:06 | 106,919,267 | 1 | 0 | null | 2017-10-14T10:34:43 | 2017-10-14T10:34:43 | null | UTF-8 | C++ | false | false | 8,580 | h | // KRATOS ___| | | |
// \___ \ __| __| | | __| __| | | __| _` | |
// | | | | | ( | | | | ( | |
// _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
//
// License: BSD License
// ... | [
"vmataix@cimne.upc.edu"
] | vmataix@cimne.upc.edu |
5a68bae78a71629e0bd5aafa031994a57ff6fca1 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/components/clipboard/clipboard_application_delegate.cc | a182377699e44ccf5879e7c322b30379465049b7 | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | 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/clipboard/clipboard_application_delegate.h"
#include <utility>
#include "components/clipboard/clipboard_standalone_impl.h"
#include... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
b236fc9a76c2017e181c42d8c07f525db6c1d1e2 | 5697b2f45972a471b29d1084cca3c5e7320e0c08 | /ShaderManager.h | ea5531bd14c2698d3d508c66f524d6662a0b3cf6 | [] | no_license | sittzon/waterSim | 7cd519f33160ed78f243120466f4a6c423b7d64f | 8afa225ce6f9ef81a8f86a7e359e228a114fd804 | refs/heads/master | 2021-01-22T05:01:24.809959 | 2012-10-12T15:40:27 | 2012-10-12T15:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | h | #ifndef SHADER_MANAGER_H
#define SHADER_MANAGER_H
//---------------------------------------------------------------------------
//ShaderManager.h, ShaderManager.cpp
//
//Manages shader information, compiles and links vertex and fragment shaders.
//
//
//--------------------------------------------------------... | [
"stigson87@gmail.com"
] | stigson87@gmail.com |
bad5dabe95fbf46f067af957a5a7ee6a8bf85023 | 05328a9e406a0d9deaf5428d6c3046a616cd9f76 | /GCG_Source.build/module.django.db.models.fields.cpp | 8b5355cc98bd63df664f7b391eb2e180b1cee66f | [
"MIT"
] | permissive | Pckool/GCG | c707e7c927ec2aa0b03362a4841581751f3a006f | cee786d04ea30f3995e910bca82635f442b2a6a8 | refs/heads/master | 2021-09-01T11:38:57.269041 | 2017-12-25T07:57:39 | 2017-12-25T07:57:39 | 115,445,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,983,546 | cpp | /* Generated code for Python source for module 'django.db.models.fields'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 ... | [
"phillclesco@yahoo.com"
] | phillclesco@yahoo.com |
7530c662f49e81b2d88a85db41025796bd64b63b | 6fc90f7a0eb4067495369c6c1b2ff53c513e65dd | /SDK/RH_Weap_SmokeBomb_functions.cpp | fa6d50f0b21e3a1933b05f120318f55fed3181bc | [] | no_license | younasiqw/RadicalHeights-Hack | 50d36ee8412a29a00cd1f5f09fcf96b5d10cd643 | 3e4a241a0ba34e14f9ec6c25f38f458d0a2bcc20 | refs/heads/master | 2020-03-20T07:58:52.105031 | 2018-05-12T09:29:58 | 2018-05-12T09:29:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | // Radical Heights (1.0.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function Weap_SmokeBomb.... | [
"ImShotZz@users.noreply.github.com"
] | ImShotZz@users.noreply.github.com |
e6c1986ff812ada903113c5075d6c4d1fc58e86f | 5d5caab6de2cff2a8e6471b0e8b07dee39b12523 | /Others/GCJ2018 - Practice Session/Bathroom Stalls(1).cpp | 51488c90a5dc7c44ec238db32caaf466ef9d2333 | [] | no_license | SwarajShelavale/Problem-solving | bde4c368bc4bc88570d8f42108713ae4c58c9b79 | 7e959ea737d8df624c12a20509f4f04fc1a4c300 | refs/heads/master | 2023-02-22T22:07:59.069329 | 2021-02-01T11:01:21 | 2021-02-01T11:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include <cstdio>
typedef long long LL;
int main()
{
int T;
scanf("%d", &T);
for (int t = 1; t <= T; ++t)
{
LL k, n;
scanf("%lld%lld", &n, &k);
LL count = 0, row = 1;
for (; count + row < k; row <<= 1) //找出 k 在哪一層
count += row;
LL remain = n - coun... | [
"jason841201@gmail.com"
] | jason841201@gmail.com |
7668573c7c6a944347bd7afe734a03e0ceda1f3c | 610283b5280b205273e400a14b7c85695c7ed7e4 | /catkin_ws/src/mrpt_bridge/src/test/test_time.cpp | afaabbd517b635d15028fd6a4f4e6715800d6435 | [
"BSD-2-Clause"
] | permissive | attaoveisi/AttBot_Rasberry | a2824189110c7945152e049444666c97d758d2e3 | dadcd6e80e2f3c7bd78c7a48ef64799de7bfa17f | refs/heads/master | 2023-02-18T07:57:46.037968 | 2021-01-10T10:49:58 | 2021-01-10T10:49:58 | 254,923,662 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | /*
* test_time.cpp
*
* Created on: July 15, 2014
* Author: Markus Bader
*/
#include <gtest/gtest.h>
#include <mrpt_bridge/time.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <boost/date_time/posix_time/time_formatters.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
TEST(Time, basi... | [
"atta.oveisi@gmail.com"
] | atta.oveisi@gmail.com |
13c01ce8d889cb654c6035daed635a180e57ccb6 | 62be7323053ad777b793a4eaa4b776b032fe5368 | /livechatmanmanager/LCSystemItem.h | 6648ecab1658d7eaeaf30791475a0df5aea7c08b | [] | no_license | bestcobe/common-c-library | 8caf59a062f76ff255864271c5a137c0c95ea9ec | 0aa99ea71a9020e3350236020776e959156a02c8 | refs/heads/master | 2021-01-11T06:16:28.341239 | 2016-08-30T09:09:15 | 2016-08-30T09:09:15 | 71,803,601 | 2 | 0 | null | 2016-10-24T15:33:43 | 2016-10-24T15:33:42 | null | UTF-8 | C++ | false | false | 765 | h | /*
* author: Samson.Fan
* date: 2015-10-21
* file: LCSystemItem.h
* desc: LiveChat系统消息item
*/
#pragma once
#include <string>
using namespace std;
class LCSystemItem
{
public:
// 消息类型
typedef enum _CodeType
{
MESSAGE, // 使用m_message(默认)
TRY_CHAT_END, // 试聊结束
NOT_SUPPORT_TEXT, // 不支持文本消息
NO... | [
"Kingsleyyau@gmail.com"
] | Kingsleyyau@gmail.com |
696ec185f2b5ccfd93aa71cddeae29645a66d14d | 21878614393f7b7e6d4f33338a8d00f286a5b6fa | /mros_002/mros_002/TCPSocketServer.h | 6beffe0f8a916ff4951361cf019157f1859f78e4 | [] | no_license | HiroiImanishi/mros_solid | 7908d20755b1d2df3af55b2c6bcd86789035b36e | 47141d178675d5bc4792ee9773ff5c299d394ec5 | refs/heads/master | 2020-06-12T05:09:18.757669 | 2019-07-11T08:36:07 | 2019-07-11T08:36:07 | 194,201,039 | 0 | 1 | null | 2020-03-07T09:43:33 | 2019-06-28T03:37:42 | C | UTF-8 | C++ | false | false | 2,069 | h | /* Copyright (C) 2012 mbed.org, MIT License
*
* 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 limitation the rights to use, copy, modify, merge... | [
"imanishi@lab3.kuis.kyoto-u.ac.jp"
] | imanishi@lab3.kuis.kyoto-u.ac.jp |
c5267980f9e1f28225db381a3bdbe630286d408e | 84981ae7922a15f3e9acf7ade59814dc5f68c84e | /rh_engine_lib/Engine/D3D11Impl/D3D11Convert.cpp | 91df771a8cb3be638f9d0fb0ca68c0cc37b0a148 | [
"MIT"
] | permissive | petrgeorgievsky/gtaRenderHook | e21b31639f78e11bb12a294819c46a8096d78224 | e2d8afb7777a45b56a36eee5538f650e7a1a5797 | refs/heads/development | 2023-02-08T21:24:19.735199 | 2023-01-25T14:38:21 | 2023-01-25T14:38:21 | 62,972,273 | 273 | 68 | MIT | 2023-01-25T14:38:23 | 2016-07-09T22:53:56 | C++ | UTF-8 | C++ | false | false | 10,436 | cpp | #include "D3D11Convert.h"
#include "Engine/Common/types/blend_op.h"
#include "Engine/Common/types/comparison_func.h"
#include "Engine/Common/types/image_buffer_format.h"
#include "Engine/Common/types/input_element_type.h"
#include "Engine/Common/types/stencil_op.h"
#include <d3d11.h>
namespace rh::engine
{
DXGI_FORMA... | [
"petrgeorgievsky@gmail.com"
] | petrgeorgievsky@gmail.com |
b25e8b73853c36dd1cb5cedb59204904e1e500eb | 31063d113776e35dbd80d355dfd24ac7d7f8b451 | /Practicas C++/Patrones de corte de control y apareo/ejercicio 7.cpp | 999ded557a43c74c80d41547b7df8140fccb133d | [] | no_license | MezaMaximiliano/Practicas_Cplusplus | 8550b3ae8ae1878d2926b86e196528b2c40818e6 | 0388684b4ad54e29fd20cb3e72d8447adc9b8c85 | refs/heads/master | 2023-07-24T19:06:46.133155 | 2021-09-07T22:07:51 | 2021-09-07T22:07:51 | 404,133,431 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,480 | cpp | /*Desarrollar una función que reciba un vector de hasta 100 números enteros y devuelva dos vectores, uno con los números que se a n pares y el otro con los
números que sean impares*/
#include <stdlib.h>
#include <time.h>
#include<iostream>
using namespace std;
typedef int num[99];
void carVec(num);
void ordenar (num... | [
"meza.maximiliano364@gmail.com"
] | meza.maximiliano364@gmail.com |
a4776a07201b9b2c0244e9fcc1c13c922180fa35 | c770fc9b8740da5177ec76ce98006e028449b46d | /KPMATRIX/14565525.cpp | 89b57d8a7a99cdb6dafd4eb40e44b955aa76e684 | [] | no_license | MuditSrivastava/SPOJ_SOL | 84dfbc5766d4d8d655f813dfe370fe18c77b1532 | 8f3f489a354c2ad8565f2125d9a3ef779c816a63 | refs/heads/master | 2021-06-14T21:52:45.583242 | 2017-03-08T06:31:31 | 2017-03-08T06:31:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | #include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
const int empty=0; //empty submatrix doesn't count
static int BITPool[32000][300]={0}; //38 MB!
int* BIT=BITPool[0];
int sz;
int get(int x)
{
int res=0;
for (; ~x; x=(x&(x+1))-1)
res+=BIT[x];
return res;
}
void set(int x)
{
int res=0;
for ... | [
"kumar.ashishkumar.vicky5@gmail.com"
] | kumar.ashishkumar.vicky5@gmail.com |
05a3cfc2db601516d8a03c3b8ae17afe44a9262b | 5722258ec3ce781cd5ec13e125d71064a67c41d4 | /java/util/stream/DoubleStream_BuilderProxy.h | 59e593bbe75b3a38494edd52882e82d791a273e0 | [] | no_license | ISTE-SQA/HamsterJNIPP | 7312ef3e37c157b8656aa10f122cbdb510d53c2f | b29096d0baa9d93ec0aa21391b5a11b154928940 | refs/heads/master | 2022-03-19T11:27:03.765328 | 2019-10-24T15:06:26 | 2019-10-24T15:06:26 | 216,854,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,842 | h | #ifndef __java_util_stream_DoubleStream_BuilderProxy_H
#define __java_util_stream_DoubleStream_BuilderProxy_H
#include <jni.h>
#include <string>
#include "net/sourceforge/jnipp/JBooleanArrayHelper.h"
#include "net/sourceforge/jnipp/JByteArrayHelper.h"
#include "net/sourceforge/jnipp/JCharArrayHelper.h"
#include "net... | [
"steffen.becker@informatik.uni-stuttgart.de"
] | steffen.becker@informatik.uni-stuttgart.de |
622b3ba30d35fe630044b614865aaf291230e091 | 3c1b2341817fbd6300480451413719a6202b1d9d | /Evolution/fitness.h | 80cf12e4a0eff7a3eb7411fda2a73af49972e7c3 | [] | no_license | tomgud/mapevaluation | 484fb08f327227cc439a69c4b272f118af0a5501 | bc283dae6022cb5c924b7297a96e3e536bca0729 | refs/heads/master | 2020-04-10T08:08:04.309020 | 2012-12-04T21:54:13 | 2012-12-04T21:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | h | /*
* Fitness functions that
* grade a map and position of players
*
* Copyright 2012 Tomas Gudmundsson
*
*/
#ifndef __fitness_h__
#define __fitness_h__
#include "Map/map.h"
#include "Core/player_manager.h"
class Fitness {
public :
static void assign_resources(Map*,
const PlayerManage... | [
"tomasgudm@gmail.com"
] | tomasgudm@gmail.com |
20523306ad71edde0018e3d0f3e0035d90dece25 | a213280d0e8696269c483d5e7d072181ff8c3f28 | /c++11/prvalue1.cc | 2f8fe3c3ac622f664555e55ca3bfa15191273523 | [] | no_license | terzeron/CppTest | 52ac78475331b8381706fe0036a257f346814de1 | 83e01b4e43bab683ad932c4e2c30a9918fe58386 | refs/heads/master | 2022-10-31T17:04:31.670864 | 2022-10-18T01:22:52 | 2022-10-18T01:22:52 | 214,075,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cc | #include <iostream>
using namespace std;
int main(void)
{
// prvalue(pure rvalue)는 대입문의 오른쪽에 위치하며 주소가 없음
// (문자열을 제외한) 리터럴
// reference가 아닌 값을 반환하는 함수 호출이나 오버로드된 연산자 표현식
// ex)
// 후위증감연산식
// 내장 연산식 (산술, 로직, 비교, &var)
int a = 10;
int b = 20;
a++;
a+b;
if (a < b) {
... | [
"terzeron@gmail.com"
] | terzeron@gmail.com |
f88e49104350339fa08f5409128a9dfde4f267d0 | d5bc5fa3f177afb794d5bf1fa5bf6796ac32c47d | /gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_multicamera.cpp | eda9279682e6f1d4956ee20a74d2819a1126968d | [
"MIT"
] | permissive | yz9/wall_following_pid_robot | 3027b27232f5fbcdf59436665a30aa5b4de6ab7c | 0d7bf37292d27c20ef04a5d410931ab175f401fb | refs/heads/master | 2021-03-19T18:56:26.843379 | 2018-07-12T19:12:42 | 2018-07-12T19:12:42 | 121,450,036 | 27 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 4,520 | cpp | /*
* Copyright 2013 Open Source Robotics Foundation
*
* 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 applicab... | [
"yuan.zhang5@mail.mcgill.ca"
] | yuan.zhang5@mail.mcgill.ca |
c08135a2929749a1e3eca479c30bcfc7eff44547 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_ElectricJunction_functions.cpp | 4b1182eed2ef7138f06c58dd5117334bcb7d6ca8 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_ElectricJunction_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
42459e82a5c2023a439fd36817040cd4484ed65e | 8db9f2fc391518636c08991917b76c09dddd2f36 | /MCY6.30/main.cpp | a559beb06fcbf713dc42e1f425f9b0f85911e37b | [] | no_license | linxiaoang/mygit | 029a1a331e6b7530dc6183d62eea4d0172126c7c | 2e016e44a047b36bf944c7bfb3aa0cea6bd6213c | refs/heads/master | 2020-04-27T17:36:40.594796 | 2019-06-02T14:46:13 | 2019-06-02T14:46:13 | 174,528,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int reverseDigits( int ); // function prototype
int main()
{
int number;
cout << "Enter a number between 1 and 9999: ";
cin >> number;
cout << "The number with its digits reversed is: ";
cout << reverseDigits( number ) << endl;
}
int rev... | [
"1835584172@qq.com"
] | 1835584172@qq.com |
626897f3e7f2e7290c4b1dd4d25d84e2071219ed | 625ec91646b5768070a908e5d734c473fc5c749f | /project4.cpp | deaa871831944f714d75dbead3fb095703dcb8f9 | [] | no_license | mwgeneral/OS-projects | 02c60b9d33dcb0fc79f3c4febfc55d83d954464d | 93ef0c425c7a629e8728acea6afa4f1b5d72f36b | refs/heads/master | 2016-09-06T18:26:28.924568 | 2015-03-06T01:49:01 | 2015-03-06T01:49:01 | 31,743,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,253 | cpp | #include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/wait.h>
#include <sys/sem.h>
#include <errno.h>
#include <cstdlib>
using namespace std;
//void do_one_thing(int *);
void produce();
void do_another_thing(int *);
void do_wrap_up(... | [
"Maxwell.KingWilson@gmail.com"
] | Maxwell.KingWilson@gmail.com |
0a212b88f18c4d65dd55132b0e2900dcf49a5e06 | 1979ffb4c00d898909d0310566f02f852d575df9 | /NSSUPGHeat.1/include/modfem/nssupgheat/internal/platform.hpp | 9dcc2e6db4edf3e16054f507851e243263d0f3d7 | [] | no_license | CuteHMI-extensions/ModFEM | 0aaa05c22674841af939b73d6e68a05aeec0c42d | d152869d74c0f50ad915963b153f4224af94c16a | refs/heads/master | 2022-12-15T18:32:32.462711 | 2020-09-20T00:32:37 | 2020-09-20T00:32:37 | 291,102,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | hpp | #ifndef H_EXTENSIONS_MODFEM_NSSUPGHEAT_0_INCLUDE_MODFEM_NSSUPGHEAT_INTERNAL_PLATFORM_HPP
#define H_EXTENSIONS_MODFEM_NSSUPGHEAT_0_INCLUDE_MODFEM_NSSUPGHEAT_INTERNAL_PLATFORM_HPP
#include <QtCore/QtGlobal>
#ifdef MODFEM_NSSUPGHEAT_DYNAMIC
#ifdef MODFEM_NSSUPGHEAT_BUILD
// Export symbols to dynamic library.
#define MOD... | [
"michal@policht.pl"
] | michal@policht.pl |
345d5ed4737ed6a74e7367e6a2c585f5a5a0d45f | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/116/503/CWE762_Mismatched_Memory_Management_Routines__strdup_delete_array_char_64a.cpp | 167e66daf05acd341f4914a8c3ef7d1bbf440dee | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,757 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__strdup_delete_array_char_64a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__strdup_delete_array.label.xml
Template File: sources-sinks-64a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Ma... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
351d682f2093b823db738ac751f18f1c7a4027a2 | 215a440b631812f1d5f87caafd2ae2f68e78c63c | /std.hpp | e4bef034e72db876717119eb10787df7962b63e6 | [] | no_license | Macrosoftware/lightbone-os-1.0.0 | 957b0c7893d2c71f828e89912e8163f238bfefe5 | 4aad9b7b4ee6aa5db8a94e3ad644d10efcdb1aa3 | refs/heads/master | 2021-01-10T17:00:40.103747 | 2016-03-24T17:22:57 | 2016-03-24T17:22:57 | 54,659,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | hpp | #include <iostream>
using namespace std;
#include <string.h>
#include <cstdlib>
#include <stdio.h>
#include <fstream>
#include <cmath>
| [
"pawelek.rz@o2.pl"
] | pawelek.rz@o2.pl |
59e03e7a5ed75c155ad1697556d37ad3fe57eec8 | bef21f582ae43c39a28132dea37147e4d9f8b858 | /include/explosion.hpp | 698812c198bb5d2a140fe143ab10eb6e8d60c7ee | [] | no_license | esranzarnath/ia | 6f72aee9c5c51eb19fd889834c1b15bc7f21db39 | 5d3fc2a31ea4c17aa1b0a1d08abad7d7a9a24090 | refs/heads/develop | 2021-01-17T12:36:46.255557 | 2015-08-28T12:04:29 | 2015-08-28T12:04:29 | 40,062,804 | 0 | 0 | null | 2015-08-01T23:21:23 | 2015-08-01T23:21:21 | null | UTF-8 | C++ | false | false | 976 | hpp | #ifndef EXPLOSION_H
#define EXPLOSION_H
#include <vector>
#include "cmn_data.hpp"
#include "cmn_types.hpp"
#include "colors.hpp"
#include "audio.hpp"
class Prop;
enum class Expl_type {expl, apply_prop};
enum class Expl_src {misc, player_use_moltv_intended};
enum class Emit_expl_snd {no, yes};
nam... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
fca3efeecff79782d4dec9cd13fff268da0bb054 | 7dd824a1d9224903b685c6768102fbca1d907316 | /old/steeplechase.cpp | ac467f8b448052476bc836c295433a5aff33ecea | [] | no_license | 1ridescent/ACM | c2a50f3619f9480e2bf4a7f690a12eb1574eb6b0 | 41f7b63655edd257eeab223bbaaf78d50960e789 | refs/heads/master | 2020-12-24T17:26:32.650345 | 2015-12-02T01:03:51 | 2015-12-02T01:03:51 | 20,510,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,565 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
typedef long long ll;
const ll inf = 1e13;
int s = 1007, t = 1008;
vector<int> G[1010];
vector<int> G2[1010];
ll C[1010][1010];
int from[1010];
ll augment_path()
{
for(int i=0;i<1010;i++) from[i] = -1... | [
"jasonmli02@gmail.com"
] | jasonmli02@gmail.com |
89251c728c0bfb1584c00f1d0c0508ba79ec94d5 | 4baa6d222eb7ebacab90207901049e6832ff70a2 | /MyActionRPGProject/Item.cpp | 3a732364a40bac5f7d07ed331c03194af3646f92 | [] | no_license | JulienBettale/Little-big-game | d8e63c0e976413a9b09a1b643a30256f0c116f16 | 093f6179a53a66225138abd84e62e74db499e4a0 | refs/heads/master | 2023-02-20T17:34:41.091816 | 2021-01-26T10:08:29 | 2021-01-26T10:08:29 | 333,025,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | /*
* Item.cpp
*
* Create on : 29/03/2020
* by : bettal_j
*
*/
#include "stdafx.h"
#include "Item.h"
void Item::initVariables()
{
}
Item::Item(unsigned level, unsigned value)
{
this->initVariables();
this->level = level;
this->value = value;
this->type = ItemTypes::IT_DEFAULT;
}
Item::~Item()... | [
"bettale.julien@gmail.com"
] | bettale.julien@gmail.com |
5cfaffbc5f74253ffc230b17840b695d57fede8c | 8f6c90ccdc665902a8685c0721596b3016005b81 | /dia/codeCPP_classes de base - pour dia2code - SUITE/AffLabel.h | 8117c622b4ab125002120ce87a37e81a03cbcba2 | [] | no_license | c-pages/gui | 680636880049f97e98ee2f06d9129b445f33f72f | bcc06972ba3cdaa631702c9c1c73ad15fa2952a3 | refs/heads/master | 2021-01-10T12:55:58.224743 | 2016-04-20T14:43:45 | 2016-04-20T14:43:45 | 47,876,401 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,081 | h | #ifndef AFFLABEL__H
#define AFFLABEL__H
/////////////////////////////////////////////////
// Headers
/////////////////////////////////////////////////
#include "Affiche.h"
#include <memory>
#include <SFML/Graphics.hpp>
namespace gui {
/////////////////////////////////////////////////
/// \brief Classe concrète d... | [
"kristoffe@free.fr"
] | kristoffe@free.fr |
82d81d06d57e4043f9e99bbed2c4e8ae2edf4f73 | 356a3ced7502c34b510bcd786f565bdf2a4c9492 | /ACM-ICPC/prog83.cpp | 89f5b4eef261c9222b080fb85104daca8b7d6846 | [] | no_license | philokey/Algorithm-Problems | bb1872b50a0d9ef4bc27fd40e5775ffb872eb858 | 774d515661647748372a1a1b6850063e04d37c03 | refs/heads/master | 2020-12-24T14:09:50.828232 | 2015-06-30T13:29:54 | 2015-06-30T13:29:54 | 38,310,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#define FI first
#define SE second
using namespace std;
const double EPS = 1e-8;
const int MAXN = 1005;
const int INF = 1111111111;
int g[MAXN][MAXN],match[MAXN],fan[MAXN];
int n,m;
bool vis[MAXN];
bool dfs(i... | [
"philokeys@gmail.com"
] | philokeys@gmail.com |
90979fa2d0bd4c830501a4e30f779324c731e98c | cebadc9a072fddd392eae148e2346e5aeb60fa8d | /7.9/main.cpp | a9947e2c3a03399c1dc5fc3b32a95f3a677e2997 | [] | no_license | WhW35/wu_hongwei | 86e7bdee40413722ddc12cf1dd30c16660cadb10 | fe35ede3f49095685d4038efd53c3cb2999c0fc0 | refs/heads/master | 2020-04-28T03:07:14.960658 | 2019-06-02T11:19:50 | 2019-06-02T11:19:50 | 174,688,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | #include <iostream>
#include<array>
using namespace std;
int main()
{
const size_t row=2;
const size_t column=3;
array<array<int,column>,row>t;
t[1][2]=0;
t={0,0,0,0,0,0};
for(int n=1;n<=2;n++)
{
for(int m=1;m<=3;m++)
{
t[n][m]=0;
}
}
... | [
"1353177916@qq.com"
] | 1353177916@qq.com |
99632f8af8606b34ce6a026e24834a8e19dd6439 | 7b9407ebcb241200b05f2054f3a484b21e36c53a | /Computer Science I/odometerReader/odometerReader.cpp | b37565ef4ec96f94db45b32e024df5d29cf7156d | [] | no_license | obilano/CSFiles | 9ad2ebc05b0d86ac8ec3514fa322a1db3591d26b | 58a3098cc3bcff76c653f51c8342f1486b2858e4 | refs/heads/master | 2022-05-29T11:50:44.124636 | 2020-05-01T01:57:47 | 2020-05-01T01:57:47 | 260,356,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | /*
Programmer: Oberon Ilano
Assignment: 7
Description: Program to compute the average speed
the traveled during the trip.
Date: June 13, 2018
Course: CS155 - Computer Science I
*/
#include <iostream>
using namespace std;
int main()
{ // Declare and Initailize variables
double start=0, end=0, ti... | [
"obi.2010@live.com"
] | obi.2010@live.com |
c8bf0a76eed9bfdbdeea932ff39b9b8c6cd4b1ea | b4fd4ecb45f5b1b1b6ad1046f4622682267db8ea | /src/misc/SettingData.cpp | b7f5e1982014e004078cbb5b0145638fd34c82c1 | [
"BSD-2-Clause"
] | permissive | fsest4u/Pisces | 844958908cb01d867f2ef6de8d5f0f6d27e68415 | dc3c5e233d5bbe148510c63a220907da2ce5caab | refs/heads/master | 2021-04-28T02:09:08.364326 | 2018-02-21T05:30:18 | 2018-02-21T05:30:18 | 122,287,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | /************************************************************************
**
** Copyright (C) 2018 spdevapp <spdevapp@joara.com>
**
** This file is part of Aquarius.
**
** Pisces is Epub PC Viewer.
**
*************************************************************************/
#include <QtCore/QStandardPaths>
#i... | [
"fsest4u@gmail.com"
] | fsest4u@gmail.com |
aa968922f783b9d7a1a92f1d9835ee57952434c3 | 443d188c1162c4a1135ced15aeaf61f11b7e4fa6 | /mailnews/base/search/src/nsMsgLocalSearch.cpp | b713e34eeeee4f98cec8cd7f4aeaf5936545355f | [] | no_license | rivy/FossaMail | 6525e747f3025ab7e37955487cf5ddc301064902 | 94f054b4dba816a7fbef3b90427443cb2bdf541f | refs/heads/master | 2021-01-12T11:34:24.212019 | 2016-10-25T19:30:06 | 2016-10-25T19:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,978 | cpp | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Implementation of db search for... | [
"email@mattatobin.com"
] | email@mattatobin.com |
50ba5de828f9e661b04032f0c2da2f10c8fa8c6c | 06b715ba1b6e9376faf50287ceea877c7036bbc3 | /tools/DataProcessingThread.h | f9b1e2fa4407fa9246f6423e4325964d66965224 | [
"Apache-2.0"
] | permissive | jiangfangzheng/JfzDataLab | df017299a49f15a2afdac828a9ee6208da5ab72c | acf2b3fbd825eff6ef91f0422d8c070c1c71903b | refs/heads/master | 2021-01-20T12:35:17.642430 | 2017-09-01T09:17:54 | 2017-09-01T09:17:54 | 90,384,615 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | h | #ifndef DATAPROCESSINGTHREAD_H
#define DATAPROCESSINGTHREAD_H
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
#include <QThread>
#include <functional>
class DataProcessingThread : public QThread
{
Q_OBJECT
public:
DataProcessingThread();
~DataProcessingThread();
DataProcessingThread(QSt... | [
"sandeepin@qq.com"
] | sandeepin@qq.com |
bd0c48cb1563cfcbf42cf07a2c12ea2f65d53874 | befaf0dfc5880d18f42e1fa7e39e27f8d2f8dde9 | /SDK/SCUM_2H_Baseball_Bat_with_spikes_classes.hpp | 760814f73b481d30f9a38e6dd6393bdb296adeb9 | [] | no_license | cpkt9762/SCUM-SDK | 0b59c99748a9e131eb37e5e3d3b95ebc893d7024 | c0dbd67e10a288086120cde4f44d60eb12e12273 | refs/heads/master | 2020-03-28T00:04:48.016948 | 2018-09-04T13:32:38 | 2018-09-04T13:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | hpp | #pragma once
// SCUM (0.1.17.8320) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SCUM_2H_Baseball_Bat_with_spikes_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
0d0b75423e21674c34751b17ceb3aa8fb48357d5 | ce71ba08e9094a4d76c8cc1e0cc7891ae016ff60 | /Lib/Chip/Unknown/Fujitsu/MB9B460R/MFS5.hpp | 0ed386e932f8e5bf414dfff5f3679f04cbc75489 | [
"Apache-2.0"
] | permissive | operativeF/Kvasir | 9bfe25e1844d41ffefe527f16117c618af50cde9 | dfbcbdc9993d326ef8cc73d99129e78459c561fd | refs/heads/master | 2020-04-06T13:12:59.381009 | 2019-01-25T18:43:17 | 2019-01-25T18:43:17 | 157,489,295 | 0 | 0 | Apache-2.0 | 2018-11-14T04:12:05 | 2018-11-14T04:12:04 | null | UTF-8 | C++ | false | false | 43,746 | hpp | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Multi-function Serial Interface 0
namespace Mfs5UartScr{ ///<Serial Control Register
using Addr = Register::Address<0x40038501,0xffffff60,0x00000000,unsigned char>;
///Programmable Clear bit
constexpr Register::FieldLocati... | [
"holmes.odin@gmail.com"
] | holmes.odin@gmail.com |
4be54b84c325c4c948b22fa0eb0751df1eb08ad6 | 61c8b1acc3cbbf678dced1cae359f325929b5d20 | /ArcanaEngine/ArcanaGraphics/OpenGLState.h | d3b45554ea94646ebe6fbd925aa01e207b608cd8 | [] | no_license | Nick-Jordan/ArcanaEngine | df4fa949c32a516a9267d8e270cb7eb97fd91c93 | 81e8f27c3bec82748c8ef187f0ec4bf60d88f245 | refs/heads/master | 2021-06-02T18:10:37.880923 | 2020-03-01T03:58:07 | 2020-03-01T03:58:07 | 131,555,762 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,627 | h | #ifndef OPENGL_STATE_H_
#define OPENGL_STATE_H_
#include "GraphicsDefines.h"
#include "../Dependencies/include/opengl/include.h"
#include "Types.h"
namespace Arcana
{
class ARCANA_GRAPHICS_API OpenGLState
{
public:
static OpenGLState CurrentState;
public:
enum Blend
{
Zero = GL_ZERO,
One = GL_ONE,... | [
"arcaneenforcer@gmail.com"
] | arcaneenforcer@gmail.com |
8b779897eceadd272840edbc4d70a4c8e99ef5c0 | f13fc535d6324dffb3ab63ec3b5ec94e0c646809 | /Code/Projects/Eldritch/src/Actions/wbactioneldplayanim.h | 7e38709a95eb78d7a3734309e1f31900d226516e | [
"Zlib"
] | permissive | rohit-n/Eldritch | df0f2acf553b253478a71f6fe9b26b209b995fc0 | b1d2a200eac9c8026e696bdac1f7d2ca629dd38c | refs/heads/master | 2021-01-12T22:19:23.762253 | 2015-04-03T01:06:43 | 2015-04-03T01:06:43 | 18,807,726 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | #ifndef WBACTIONELDPLAYANIM_H
#define WBACTIONELDPLAYANIM_H
#include "wbaction.h"
#include "hashedstring.h"
#include "wbparamevaluator.h"
class WBActionEldPlayAnim : public WBAction
{
public:
WBActionEldPlayAnim();
virtual ~WBActionEldPlayAnim();
DEFINE_WBACTION_FACTORY( EldPlayAnim );
virtual vo... | [
"xixonia@gmail.com"
] | xixonia@gmail.com |
b1d41829de7d151a36cc087d1db0c442e8f66538 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_Ray_Tracing/Rendering/FILM.cpp | 1d2cb3cd09e8f056f1032bc0d660317228499029 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 114,373 | cpp | #include <PhysBAM_Tools/Arrays/ARRAY.h>
#include <PhysBAM_Tools/Arrays/ARRAYS_FORWARD.h>
#include <PhysBAM_Tools/Grids_Uniform_Arrays/ARRAYS_ND.h>
#include <PhysBAM_Rendering/PhysBAM_Ray_Tracing/Rendering/CAMERA.h>
#include <PhysBAM_Rendering/PhysBAM_Ray_Tracing/Rendering/FILM.h>
using namespace PhysBAM;
template<cla... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
573882ddff039d1cf9cd7ebc813f54f07f45e160 | a5e6002448fa6dac5527dba1ae435d5a4cc3ff62 | /app/src/main/cpp/source/fastguidedfilter.cpp | 828bfc46bbd0af43e355f2e776c4b183df5ab7b3 | [] | no_license | dongxiawu/HazeRemove | 992501b1487b00e4bd2cd251665357439907add2 | d48b6828100320e616aa7d3d7a2ea65629efe73c | refs/heads/master | 2021-08-31T18:01:23.966729 | 2017-12-20T07:15:19 | 2017-12-20T07:15:19 | 113,253,104 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 7,667 | cpp | #include "fastguidedfilter.h"
//static 表示这个函数只能在当前文件使用
static cv::Mat boxfilter(const cv::Mat &I, int r)
{
cv::Mat result;
//均值滤波
cv::blur(I, result, cv::Size(2*r+1, 2*r+1));
return result;
}
static cv::Mat convertTo(const cv::Mat &mat, int depth)
{
if (mat.depth() == depth)
return mat;
... | [
"361722445@qq.com"
] | 361722445@qq.com |
69d271b0b83c417073319a10f353665ee01fcfd6 | 57327d76384117bf8d4a13e422bdaee207f564c2 | /examples/opengl3/opengl3_adaptor.cpp | f72cbfd28aa15b12a8e5bf10de5cba458a920ff8 | [
"MIT"
] | permissive | dristic/chimera | ddf4837f098ef25775f3e6bb85de5b92e66950b8 | f99cd2d253b3421d4634da3e772f871bf0024042 | refs/heads/master | 2021-08-20T09:05:29.261903 | 2017-11-28T18:03:27 | 2017-11-28T18:03:27 | 63,850,866 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,163 | cpp |
#include "examples/opengl3/opengl3_adaptor.h"
#include <stddef.h>
#include <cstdlib>
#include <sys/stat.h>
#include <algorithm>
#include "lodepng/lodepng.h"
namespace Chimera {
std::atomic<bool> gQuitting;
GLuint gUniformLocationProjMatrix;
GLuint gAttribLocationPosition;
GLuint gAttribLocationUV;... | [
"dristic101@gmail.com"
] | dristic101@gmail.com |
d633b817a7a69acbfa3559b05f5fbd5ce27a9795 | 205ec396a1a07aa3d4719f5728dbd2a31405bf4f | /test/src/containers.cpp | 7c6d7726db6594094854a855c6a3a036b983de7a | [
"MIT"
] | permissive | mramospe/pyebi | 2a263f659cd90c88252d47cfc434ffb5e6cf74b6 | a9b65902d30794f32bb5eb226e03cb1e0aa507f7 | refs/heads/master | 2023-01-20T09:06:12.563193 | 2020-11-08T23:06:07 | 2020-11-08T23:06:07 | 310,737,877 | 0 | 0 | null | 2020-11-08T23:06:08 | 2020-11-07T00:49:15 | C++ | UTF-8 | C++ | false | false | 1,015 | cpp | #include "pyebi/api.hpp"
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <vector>
std::vector<int> return_same_vector_int(std::vector<int> const &v) { return v; }
std::vector<float> return_same_vector_float(std::vector<float> const &v) {
return v;
}
PYEBI_INTERFACE(return_same_vector_int, "Return the input... | [
"noreply@github.com"
] | mramospe.noreply@github.com |
12172db7c9a3349827e1268799cc0e042393b86c | b09e962b2a9816eb12ed1d375994a77f29493b7f | /src/Engine/Gfx/Serialization/RenderTask_Serialization.cpp | 2b619cc273cef442c4a6ee0c41fffef96e013928 | [] | no_license | HyperionGroup/HeliosEngine | 3eea114c74049ffafc2e525eff97ecd8536924aa | f98933cc26e47ed21b29da8d65371fc6fd64d765 | refs/heads/master | 2021-01-23T04:39:36.218877 | 2017-08-08T13:45:13 | 2017-08-08T13:45:13 | 92,934,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,145 | cpp | #include "Gfx.h"
#include "Pipeline.h"
#include "Serialization/Serialization.h"
namespace gfx
{
void CRenderTask::Serialize(serialization::OutputArchive& _archive)
{
CName::Serialize(_archive);
CEnabled::Serialize(_archive);
}
void CBeginFrame::Serialize(serialization::OutputArchive& _archive)
{
... | [
"vazquinhos@gmail.com"
] | vazquinhos@gmail.com |
f2e7f156f0f874368c863b979a2675a541d161fb | 97ce5612eaac7fd00c5ab08a0286bd4fbb279d66 | /testbed/MercuryStartUp.cpp | 2fba9d730ba3d4316899cb400888336ee8ae05e7 | [] | no_license | MW-Engineer/Mercury | 784cdc01f78a896bdd6f08772b4ab542075fccc2 | 000940eadff4d5ff5b5fd46860b47f191423280b | refs/heads/master | 2020-07-29T16:39:24.955067 | 2019-09-24T08:41:10 | 2019-09-24T08:41:10 | 209,885,137 | 0 | 0 | null | 2019-09-24T08:41:11 | 2019-09-20T21:38:02 | C++ | UTF-8 | C++ | false | false | 88 | cpp | #include "MercuryTestBed.h"
int main()
{
MercuryTestbed::StartTestbed();
return 0;
}
| [
"noreply@github.com"
] | MW-Engineer.noreply@github.com |
54f04cc8f84b1bbc9937252e33e3bad4801a0bf6 | 02035f2ff93f1ad3432900c843af36253b65eb82 | /Skobki/drob_header.h | a148711bbea3fcc493e5cdcf2dcdcbe19f73f0e7 | [
"MIT"
] | permissive | VladimirSoldatov/Skobki | 92405b18c8a72fc016ac87f44bb6d06551b29769 | 46b56fe11a10d021f377d6d073ec3d28ab7049f2 | refs/heads/master | 2022-11-25T02:45:11.400831 | 2020-07-28T10:47:32 | 2020-07-28T10:47:32 | 282,595,819 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,433 | h | #pragma once
#include<iostream>
class Drob {
int chislitel;
int znamenatel;
public:
Drob(int chislitel = 0, int znamenatel = 1) {
this->chislitel = chislitel;
this->znamenatel = znamenatel;
}
~Drob() {
}
void set_value(int chislitel = 0, int znamenatel = 1) {
this->chislitel = chislitel;
this->znamenat... | [
"Владимир@SAMANTA"
] | Владимир@SAMANTA |
64aef86537e80422f027d9c7c7b12ff0da4ad5d1 | 7f11252c169d3bafca08de9fde71489409d04979 | /leetcode/max_consecutive_ones.cpp | af7c58d65d1f43df2d35fe002d1dfe2171b5b3ee | [] | no_license | mayankagg9722/Placement-Preparation | ee4388dc89363a4b1adb0ecea344ce76763f1aec | 30593f86d1497adecca98e30a439368771c11061 | refs/heads/master | 2021-03-16T10:22:35.543180 | 2020-11-29T07:51:31 | 2020-11-29T07:51:31 | 119,993,686 | 174 | 59 | null | 2020-11-29T07:51:32 | 2018-02-02T14:49:11 | C++ | UTF-8 | C++ | false | false | 784 | cpp | /*
485. Max Consecutive Ones
Given a binary array, find the maximum number of consecutive 1s in this array.
Example 1:
Input: [1,1,0,1,1,1]
Output: 3
Explanation: The first two digits or the last three digits are consecutive 1s.
The maximum number of consecutive 1s is 3.
Note:
The input array will only contain 0... | [
"mayankagg9722@gmail.com"
] | mayankagg9722@gmail.com |
34c84407e84342fcb050efdc615af5ad36c7e51e | 5386865e2ea964397b8127aba4b2592d939cd9f2 | /grupa C/olimpiada/oblasten/2008/reshenija/Sofia/A/SZM/primes.cpp | 2e72cf2bbd219a9c35ba204ce80a6f69214dfcf2 | [] | no_license | HekpoMaH/Olimpiads | e380538b3de39ada60b3572451ae53e6edbde1be | d358333e606e60ea83e0f4b47b61f649bd27890b | refs/heads/master | 2021-07-07T14:51:03.193642 | 2017-10-04T16:38:11 | 2017-10-04T16:38:11 | 105,790,126 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,590 | cpp | #include <cstdio>
int main () {
int answ[512];
answ[1] = 0;
answ[2] = 0;
answ[3] = 1;
answ[4] = 1;
answ[5] = 2;
answ[6] = 2;
answ[7] = 3;
answ[8] = 3;
answ[9] = 0;
answ[10] = 1;
answ[11] = 1;
answ[12] = 2;
answ[13] = 3;
answ[14] = 4;
answ[15] = 0;
answ[16] = 2;
answ[17] = 3;
ans... | [
"dgg30"
] | dgg30 |
8ce99b37b1e31074409005c55361a3091949c133 | 6558cbfb07bb97e73c44f238e2f2fb7be5a1360e | /Qt/AudioLibrary/AudioLib/include/audiobook.h | 226fdf4b4db4e111f0b55d893f331002501a78a8 | [] | no_license | romashka99/Audioplayer | 3e20b295b5f6837f7f3ce72b1f2dbb630e1ab1a2 | 261d5939e35bb885f80a4e3df05d5af3c893bf5d | refs/heads/master | 2023-03-03T22:39:59.397989 | 2021-02-12T11:33:55 | 2021-02-12T11:33:55 | 338,300,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | h | #pragma
#ifndef AUDIOBOOK_H
#define AUDIOBOOK_H
#include "audio.h"
class AUDIOLIBSHARED_EXPORT AudioBook : public Audio
{
private:
QString autor;
public:
AudioBook(QString const& name, QString const& path, QDateTime const& date, QString const& language,
QString const& performer, QString const& ... | [
"parshina.annushka@mail.ru"
] | parshina.annushka@mail.ru |
c17e85df2192a5e1659b1c8b1dce65620e7a4bbe | 5cf5223da2bf49af7f5a8ecde4d1cb31536f5ce7 | /extras/apps/bs_tools/bisar_base.h | 1e190b01b06883bfd7de95409b9e075eae9bca96 | [
"BSD-3-Clause"
] | permissive | jwillis0720/seqan | e579f8419cec7f330eb1fe29838c5c098ee57240 | 36b300b8c4c42bbfc03edd3220fa299961d517be | refs/heads/master | 2020-12-02T15:06:46.899846 | 2015-01-10T08:59:05 | 2015-01-10T08:59:05 | 27,658,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,690 | h | #ifndef CORE_APPS_BS_TOOLS_BISAR_BASE_H_
#define CORE_APPS_BS_TOOLS_BISAR_BASE_H_
#include <iostream>
#include <seqan/sequence.h>
#include <seqan/seq_io.h>
#include <fstream>
#include <seqan/file.h>
#include <seqan/store.h>
#include <seqan/bam_io.h>
#include <seqan/score.h>
using namespace std;
using namespace seqan... | [
"sabrina.krakau@fu-berlin.de"
] | sabrina.krakau@fu-berlin.de |
4eafa444577cc13de12ba9ce8fe2b4ad3a2f3879 | 1e8b6ada516efaac51209d0c2d80b4f81217367f | /string_subsets.cpp | bb7347e5503af19de68cc1712445831948c9d46e | [] | no_license | aaruagarwal15/CP-codes | 46dd01d5aa1981123ce5bad682762cce14a4cd3b | c0328c370ef0e7cdf4db17fa80b8786a003ea5d8 | refs/heads/master | 2021-07-14T19:38:45.643450 | 2020-08-21T14:25:55 | 2020-08-21T14:25:55 | 200,361,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include<bits/stdc++.h>
using namespace std;
void generateSubset(string str, int pos, string temp){
int n = str.length();
if(pos == n) return;
cout<<"{"<<temp<<"}"<<endl;
for(int i=pos+1; i<n; i++){
temp += str[i];
cout<<"POS1 : "<<i<<endl;
cout<<"TEMP1 : "<<temp<<endl;
... | [
"aaruagarwal15@gmail.com"
] | aaruagarwal15@gmail.com |
57044afe1e4f82714a25dbb671c54b57ca01e8a4 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_AmosSironi_PrzemyslawGlowacki_SQBTree_plugin/libs/ITK_include/itkGradientDescentOptimizerBasev4.hxx | 8834159eb7f652ca3f477b1d24ae86fd92c4f57e | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 6,112 | hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | [
"amos.sironi@gmail.com"
] | amos.sironi@gmail.com |
d7d4752570da9e80f6e3af12504f32fedb96d5f4 | 4d54cc4ede4919b43fdf57b70c67a5f8c2a194a8 | /include/memoryManager.hpp | 15272b85a6e033917230e95c4975d376759c8809 | [
"BSD-3-Clause"
] | permissive | maksud/cuStinger | 9a86112fb844d9e53c536068784b63f11e3745e3 | be2de09a4cd662f494b1698d4f8ef08ba2338a16 | refs/heads/master | 2022-10-05T09:02:51.803977 | 2022-09-15T15:42:24 | 2022-09-15T15:42:24 | 95,253,481 | 0 | 0 | null | 2017-06-23T20:18:13 | 2017-06-23T20:18:13 | null | UTF-8 | C++ | false | false | 1,828 | hpp | #ifndef _CU_STINGER_MEMORY_MANAGER_H_
#define _CU_STINGER_MEMORY_MANAGER_H_
#include <iostream>
#include <numeric>
#include <stdlib.h>
#include <inttypes.h>
#include "stx/btree_multiset.h"
#include "stx/btree_multimap.h"
#include "stx/btree_map.h"
#include "cuStingerDefs.hpp"
using namespace std;
struct memVerte... | [
"ogreen@gatech.edu"
] | ogreen@gatech.edu |
38b79fc0c696e21bbaba61757531b5fceacd9473 | 6bcdb9e8836cd60e972be865beb50fbfefdfa650 | /libs/core/include/fcppt/args_range.hpp | e3af1450467225d16064f8e73cfb45123c44b7e0 | [
"BSL-1.0"
] | permissive | pmiddend/fcppt | 4dbba03f7386c1e0d35c21aa0e88e96ed824957f | 9f437acbb10258e6df6982a550213a05815eb2be | refs/heads/master | 2020-09-22T08:54:49.438518 | 2019-11-30T14:14:04 | 2019-11-30T14:14:04 | 225,129,546 | 0 | 0 | BSL-1.0 | 2019-12-01T08:31:12 | 2019-12-01T08:31:11 | null | UTF-8 | C++ | false | false | 385 | hpp | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_ARGS_RANGE_HPP_INCLUDED
#define FCPPT_ARGS_RANGE_HPP_INCLUDED
#include <fcppt/args_... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
546d9553d98e8c8e8f8afaf26e253251ed87ca8c | 9c16d6b984c9a22c219bd2a20a02db21a51ba8d7 | /components/scheduler/child/web_scheduler_impl.h | c05ce90aa2103850639d5f6bcf9e84692963b8e7 | [
"BSD-3-Clause"
] | permissive | nv-chromium/chromium-crosswalk | fc6cc201cb1d6a23d5f52ffd3a553c39acd59fa7 | b21ec2ffe3a13b6a8283a002079ee63b60e1dbc5 | refs/heads/nv-crosswalk-17 | 2022-08-25T01:23:53.343546 | 2019-01-16T21:35:23 | 2019-01-16T21:35:23 | 63,197,891 | 0 | 0 | NOASSERTION | 2019-01-16T21:38:06 | 2016-07-12T22:58:43 | null | UTF-8 | C++ | false | false | 2,976 | h | // 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.
#ifndef CONTENT_CHILD_SCHEDULER_BASE_WEB_SCHEDULER_IMPL_H_
#define CONTENT_CHILD_SCHEDULER_BASE_WEB_SCHEDULER_IMPL_H_
#include "base/memory/ref_counted.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3e1e6b176018763ecfc15e732e713133e772eac4 | b3931bc2e18fe54799b805edc1b8934e28606b33 | /2013-2014/2term/HomeTask_5/Task_1/testMathTree.h | 9fc4a9f0c9e561e417e8ce9f2bfeb8a2b3dd335b | [] | no_license | maxim-yakupov/University | 0830cfa36038bef8932c134a6a035bea76471e90 | bcc0f5ed6bf28430f7d740a43867e7cd47271731 | refs/heads/master | 2021-01-17T13:03:30.068669 | 2017-01-30T21:55:23 | 2017-01-30T21:55:23 | 58,821,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #pragma once
#include <QtTest/QTest>
#include <QtCore/QObject>
#include "mathtree.h"
class TestMathTree : public QObject
{
Q_OBJECT
public:
explicit TestMathTree(QObject *parent = 0) : QObject(parent) {}
private:
MathTree* tree;
private slots:
void init()
{
tree = new MathTree();
}
... | [
"maximkaya1995@gmail.com"
] | maximkaya1995@gmail.com |
21a56cb32ed36dfa8f2cb5caa25b824ec642e9cb | aad9c77e9e4715f68702a308107ee8bd3752c0dc | /src/standardshader.hpp | b1b7822beb03c95eea1bca3d2d9a8a4cf9b9a235 | [] | no_license | james-chu128/libbwabstraction | cb883043adc01860813783e30023d60370b3e719 | 2b5968f8c7e02ec9e04bd9ed159d6677f40b44f7 | refs/heads/master | 2020-08-28T21:09:53.878209 | 2019-10-27T06:41:49 | 2019-10-27T06:41:49 | 217,017,336 | 1 | 0 | null | 2019-10-23T09:18:51 | 2019-10-23T09:18:50 | null | UTF-8 | C++ | false | false | 9,123 | hpp | #ifndef STANDARDSHADER_H
#define STANDARDSHADER_H
#include <GL/glew.h>
#include <vector>
enum StandardVertexAttributeLocation
{
ATTRIB_POSITION = 0,
ATTRIB_NORMAL = 1,
ATTRIB_TEXCOORD = 2,
ATTRIB_COLOR = 3,
ATTRIB_INDEX = 4
};
class StandardVertexAttribute
{
public:
StandardVertexAttribute(... | [
"unlin@livemail.tw"
] | unlin@livemail.tw |
fb9a8bd0812280589efd7b311526ea62bf5d5a6c | 32b6a5c5c827151cb32303c201f49a5304d81cf5 | /devel/include/mastering_ros_demo_pkg/Demo_actionGoal.h | 607a57d41b51fc02d7784d7c7fb4d57ccca7ac3c | [] | no_license | Russ76/catkin_ws | 1a5d08b4081598bcf0d5f6edf78bb8a2401b5f76 | 1d69b3d46b9ed3dfa2d383a45a87fd3aeb866799 | refs/heads/master | 2023-03-17T18:01:29.686490 | 2017-11-06T08:12:40 | 2017-11-06T08:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,552 | h | // Generated by gencpp from file mastering_ros_demo_pkg/Demo_actionGoal.msg
// DO NOT EDIT!
#ifndef MASTERING_ROS_DEMO_PKG_MESSAGE_DEMO_ACTIONGOAL_H
#define MASTERING_ROS_DEMO_PKG_MESSAGE_DEMO_ACTIONGOAL_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#inc... | [
"gauss.seidel.fr@gmail.com"
] | gauss.seidel.fr@gmail.com |
bc207ca849484674f443a3b7309cc2a8b51a41eb | 67c6408ea53378a43e10f01434fc76254c8f2b73 | /util/generic/ptr_ut.cpp | aab959309ad03f35588d62cf95bd082491657a44 | [
"Apache-2.0"
] | permissive | yandex/CMICOT | bd18268d5f61edafc8a2e4a1c08119c213399699 | 480ed30e36fe89535f52c08d70f80f83e098f01b | refs/heads/master | 2023-01-24T08:12:00.446425 | 2023-01-11T17:06:04 | 2023-01-11T17:06:04 | 76,370,586 | 39 | 15 | NOASSERTION | 2022-11-08T19:24:36 | 2016-12-13T15:19:15 | C++ | UTF-8 | C++ | false | false | 16,590 | cpp | #include "ptr.h"
#include "vector.h"
#include "noncopyable.h"
#include <library/unittest/registar.h>
#include <util/stream/output.h>
#include <util/system/thread.h>
class TPointerTest: public TTestBase {
UNIT_TEST_SUITE(TPointerTest);
UNIT_TEST(TestTypedefs);
UNIT_TEST(TestSimpleIntrPtr);
UNIT_TEST(T... | [
"sisoid@yandex-team.ru"
] | sisoid@yandex-team.ru |
34e873bee9c8bfc509aa5a5326a9bf27b4da1095 | 42668cb4acef78b5444c7137680739f7caabd6d7 | /medium/Bender - Episode 1/main.cpp | f81b53f54927507e318805ac2fb3dea8ed896456 | [] | no_license | MathRlz/codingame-solutions | 4d292bc04053c899a41ebbc972f497da2b7cf433 | 83e09519132692fed236f44d513f51f4babbd411 | refs/heads/master | 2022-12-15T21:12:22.046373 | 2020-09-03T18:24:12 | 2020-09-03T18:24:12 | 290,299,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
struct Bender {
struct State {
bool inverted = false;
bool breaker = false;
enum Direction {
SOUTH,
EAST,
NORTH,
WEST
} dir = SOUTH;
struct Pos {
int x, y;
}p;
bool operator==(const State& ... | [
"krychatko@gmail.com"
] | krychatko@gmail.com |
0a59191b300b7cb5fc315d1a6dda3808068ced0c | 95c9e972d5a4238ee6ea22f2e07347f29d271bf0 | /main.cpp | 1462cf050a67155851baee18d56875510ce2d175 | [] | no_license | slarrx/vecap | 37be22c565c090dd9364f55881f2b3c66ef4d08a | 23f1680c42123fb99daeb8ce9c31bfd6d65c2fba | refs/heads/master | 2020-04-25T11:35:49.028267 | 2019-03-01T06:59:41 | 2019-03-01T06:59:41 | 172,749,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <iostream>
#include "vecap.h"
int main() {
container::Vecap<std::string, int> vecap = {
{"Key0", 0},
{"Key1", 1},
{"Key2", 2},
{"Key3", 3},
{"Key4", 4},
{"Key5", 5},
{"Key6", 6}};
vecap[2] = 22;
vecap[5] = 55;
std::cout << vecap.size() << std::endl;
for ... | [
"slarrx@gmail.com"
] | slarrx@gmail.com |
499b3ea43fe012698c29ca14f9d716e7eaab2687 | efd15b6a837e7a3d6ef863154f52b010224f42a0 | /Graphs/Distances/Bellman-Ford by Ionescu Cristian/graph.h | f9bd814ee4827301d421fc9fa62f53cc8c099990 | [] | no_license | JEERU/ADS | 12583713b66aba723ae709a8b8acf6393124a372 | ac4a24d14fc83334daffaf0023f27377bd9832f7 | refs/heads/master | 2021-09-08T19:28:04.818413 | 2018-03-11T23:37:10 | 2018-03-11T23:37:10 | 125,156,191 | 1 | 0 | null | 2018-03-14T04:43:50 | 2018-03-14T04:43:50 | null | UTF-8 | C++ | false | false | 996 | h | #ifndef GRAPH_H
#define GRAPH_H
#include<stdlib.h>
#include<time.h>
#include<vector>
typedef struct edge //structure for edge
{
int source; //source vertex
int destination; //destination vertex
int weight; //edge weight
};
typedef struct graph ... | [
"cristian.ionut.ionescu@gmail.com"
] | cristian.ionut.ionescu@gmail.com |
66e08404a089232bac578d74352500fc8f93ccfd | 56ef503827a18f39aee53c002c5e32c260f3b37c | /test/ZachetTest/zachetTest_1/zachetTest_1/Source.cpp | 414b4d0183520e51dc0c75f38f6ab5faf976a3e5 | [
"MIT"
] | permissive | SaveliyLipaev/Homework-1-course | 299cf90d999d043388bef8f0d36dd9a4c22ea46b | 06994ce6ab6f12dd69507fffb6f2d3ba361f0069 | refs/heads/master | 2020-03-30T16:19:20.944529 | 2019-09-12T16:20:46 | 2019-09-12T16:20:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include "ListForSort.h"
int main()
{
std::ifstream readFile("Text.txt");
auto list = createList();
while (!readFile.eof())
{
std::string buffer;
getline(readFile, buffer);
auto node = findNode(list, buffer);
if (node == nullptr)
{
push(list, b... | [
"sava.lipaev@mail.ru"
] | sava.lipaev@mail.ru |
96361c42dae0e0dd6615252a62ab5efb2241c94f | 7b3f4d189b747b922957b67c3f4ce4cead9d9474 | /main.cpp | 9ba116b9071ee90d86aebbbef99e421d7ee5d357 | [
"MIT"
] | permissive | MykhailovKyrylo/ExpressionParser | 7789bc4f88ae6d47d4c548d6ce30d81595256ab7 | faf826a4c7f7a440ce24bbb31419ef82b67538db | refs/heads/main | 2023-01-24T00:58:14.491415 | 2020-12-09T21:27:57 | 2020-12-09T21:27:57 | 318,027,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | #include <vector>
#include "ExpressionParser.h"
void DrawPlotWithPython(const std::pair<std::vector<double>, std::vector<double>>& x_y_out) {
const std::string separator = ",";
auto make_list = [&separator] (const std::vector<double>& values) {
std::ostringstream out;
std::copy(std::begin(val... | [
"kyrylo.mykhailov@ringteam.com"
] | kyrylo.mykhailov@ringteam.com |
8f1431695394352668c258f2f89af7494f05c20c | fe54b6858da5a0c0906ecb98831aab99020c1408 | /IDPA/Programming Labs 101/C++/Refactor Demo/Refactor Demo/Card.h | 4caf3f14d6edcacaec32df44ff703a1c41799d47 | [] | no_license | Kappy0/internalDriveYear2 | aadfa3b6e156ec7059a78e7d763b52e07d56a17c | ad377324ef7333d455fdeae468ba6a20e40fa2fb | refs/heads/master | 2021-01-02T04:49:16.882018 | 2014-07-18T17:03:58 | 2014-07-18T17:03:58 | 20,825,754 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | #pragma once
#include <iostream>
using namespace std;
class Card
{
public:
//Constructors
Card();
Card(int rank, int suit);
//Accessors
int getRank() const;
int getSuit() const;
bool getDrawnState() const;
bool getIsFaceCard() const;
//Setters
void setDrawnState(bool state);
//Me... | [
"ryanklaproth@gmail.com"
] | ryanklaproth@gmail.com |
9adc3090ef531f95fca4c8c2170fdb6a424deca1 | 9c5f636f5a8eba635d747dc0e6aa9f26213acf34 | /extensions/heuristics/differential/headers.h | 2ec3fd0cc8728a1fb7121731de0fc96b79b1e003 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | mgoldenbe/search-framework | 2da0a1370f9d6935391b1f2bf387feddf70c59ce | 81af82ceb11ccee82c18a70fa31dfd380e4dd931 | refs/heads/master | 2020-06-12T00:12:25.215595 | 2018-07-04T12:06:52 | 2018-07-04T12:06:52 | 75,616,850 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | h | #ifndef SLB_EXTENSIONS_HEURISTICS_DIFFERENTIAL_HEADERS_H
#define SLB_EXTENSIONS_HEURISTICS_DIFFERENTIAL_HEADERS_H
/// \file
/// \brief The heuristics (not heuristic policies, so they do not accept the
/// algorithm type as a template parameter).
/// \author Meir Goldenberg
namespace slb {
namespace ext {
namespace a... | [
"mgoldenbe@gmail.com"
] | mgoldenbe@gmail.com |
0088202a552958411d8a7d3b1e7a9cc5c5b8f39f | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /ie/include/tencentcloud/ie/v20200304/model/AudioInfoResultItem.h | a5b666ca21011294a56498f0d2fd8367462e92c0 | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,491 | 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@tenent.com"
] | tencentcloudapi@tenent.com |
ae5408abcc7d5cf6931c99e43838b94a4ae684a7 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /content/renderer/dom_storage/webstoragenamespace_impl.cc | ae4f79e2f73349f5ad51dfa275cce32c16511822 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 1,769 | cc | // Copyright (c) 2012 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 "content/renderer/dom_storage/webstoragenamespace_impl.h"
#include "base/logging.h"
#include "content/common/dom_storage/dom_storage_types.h... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
0a90eede4c957fe38ccdba7a1d59133b7608626c | 62d93c2fc0b7c5b9f6772f10741a9efe1aa3f095 | /vtk_debug/include/vtk-8.0/vtk_netcdfcpp_fwd.h | 98f33b5864822a8b3c7576005c351891f36e2666 | [] | no_license | sining1989/VTK | 2a34dbd98e45e8c1c33f834ff32c15bb1d306287 | 0c85a399db8f6ef88d9d86735a1f239078be68da | refs/heads/main | 2023-06-01T20:23:52.529321 | 2021-06-15T11:23:53 | 2021-06-15T11:23:53 | 377,135,085 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 901 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtk_netcdfcxx_fwd.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This ... | [
"574226409@qq.com"
] | 574226409@qq.com |
8981e98bdb4759d4986569c16ce64ea0a27ae937 | 1c711f642328e5195cbbb61760a83f4a8ff6977a | /assets/src/ybt/divide_conquer/1235.cpp | c5e9744ff91e36095f836264f8ddcf183655f4cc | [] | no_license | liuxueyang/liuxueyang.github.io | 29d85b989e5938e964b70c9616a418e13003212e | 86e10cb6137d930c2ac81f2ae20318eb1354f2b5 | refs/heads/master | 2023-03-07T13:06:17.366563 | 2023-03-01T14:41:41 | 2023-03-01T14:41:41 | 17,851,538 | 2 | 0 | null | 2023-01-31T04:00:56 | 2014-03-18T02:46:21 | C++ | UTF-8 | C++ | false | false | 2,799 | cpp | // ==================================================
// C library
#include <cmath>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
// Containers
#include <vector>
#include <list>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
// Input/Out... | [
"liuxueyang457@gmail.com"
] | liuxueyang457@gmail.com |
047ee1fb0fd84c9eac3fc8e4f26353547346b426 | fd0e6a8975a6c2745c0bcad68c179637a257d78b | /LduMatrix/GKOLduBase/GKOLduBase.H | 4bb7d769a1ddd778fd2ce11511e77dd037fdb40d | [] | no_license | herpes-free-engineer-hpe/OGL | 3982aa13dc6d13033dd53c18c6dced1979236019 | 266d079b0bba4246e8751a0bbd21d3babb26d5c1 | refs/heads/main | 2023-08-21T20:40:29.774697 | 2021-05-02T08:19:47 | 2021-05-02T08:19:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,598 | h | /*---------------------------------------------------------------------------*\
License
This file is part of OGL.
OGL is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the Licens... | [
"noreply@github.com"
] | herpes-free-engineer-hpe.noreply@github.com |
4785730b7e2d65682da3d557208aac0789c2194e | f0092f3ebc18e0b8cc230111dca475ce66ea89a0 | /HttpServer.cpp | 7837e1af4624317409fa76117442f33f0165cb18 | [] | no_license | hpcplus2/HttpServer | 523e5255b3bf27cf8c5fdc090819e77b1711b098 | 98b880336cb2bc74443c54f7d534748a9c635c10 | refs/heads/master | 2021-01-10T10:07:54.857817 | 2015-10-22T10:46:55 | 2015-10-22T10:46:55 | 44,739,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,602 | cpp | #include "HttpServer.h"
int HttpServer::m_user_count = 0;
int HttpServer::m_epollfd = -1;
const char* doc_root = "/var/www/html";
int setnonblocking(int fd)
{
int old_option = fcntl(fd, F_GETFL);
int new_option = old_option | O_NONBLOCK;
fcntl(fd, F_SETFL, new_option);
return old_option;
}
void addf... | [
"hedewei2015@126.com"
] | hedewei2015@126.com |
1966dc310161154187dd0ad07c43f9f12a87a244 | 37bf77c75be5e4a1e43ae67c195697b5a9c018c0 | /src/api/syscb/api_syscb.cpp | bca2d78256cc9cfcf4597f4d8ade2d66ee428322 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mecctro/wasabi | dbaa656ad71f719fa7b227346dc892058212f96d | 49d293042ce17b0d137b2e4c6fc82a52bdb05091 | refs/heads/master | 2020-12-29T01:11:56.251711 | 2013-09-01T20:08:51 | 2013-09-01T20:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | // ----------------------------------------------------------------------------
// Generated by InterfaceFactory [Wed May 07 00:58:14 2003]
//
// File : api_syscb.cpp
// Class : api_syscb
// class layer : Dispatchable Interface
// ---------------------------------------------------------------------... | [
"killallthehumans@gmail.com"
] | killallthehumans@gmail.com |
ebdc81aaf724900b768c908629c524ed17c94d4b | 46f2e7a10fca9f7e7b80b342240302c311c31914 | /lid_driven_flow/cavity/0.0604/p | 986f48cb8f8cfce569de329b14df295ca6095bda | [] | no_license | patricksinclair/openfoam_warmups | 696cb1950d40b967b8b455164134bde03e9179a1 | 03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9 | refs/heads/master | 2020-12-26T12:50:00.615357 | 2020-02-04T20:22:35 | 2020-02-04T20:22:35 | 237,510,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,957 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"patricksinclair@hotmail.co.uk"
] | patricksinclair@hotmail.co.uk | |
f886270cce78e20c125266952e2de59ebb5dcd2f | 7252ca0228705a1cfd47c6437fa45eec9b19565e | /kimug2145/11652/11652.cpp14.cpp | 453a795de2ec6deda76ba41324e5e5965cf5ea2d | [] | no_license | seungjae-yu/Algorithm-Solving-BOJ | 1acf12668dc803413af28f8c0dc61f923d6e2e17 | e294d631b2808fdcfc80317bd2b0bccccc7fc065 | refs/heads/main | 2023-08-19T00:30:13.832180 | 2021-10-06T14:49:12 | 2021-10-06T14:49:12 | 414,241,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include <map>
#include <stdio.h>
using namespace std;
map<long long, int> m;
int main() {
int tc;
scanf("%d", &tc);
pair<long long, int> p;
long long n;
for (int i = 0; i < tc; i++) {
scanf("%lld", &n);
p.first = n;
p.second = 1;
if(!m.insert(p).second){
m.find(n)->second++;
}
... | [
"kimug2145@gmail.com"
] | kimug2145@gmail.com |
c29f4c0672e36df4c2c4f95e871b783f2c7b9d97 | bec4ce7862948e5057b9573dd82a4aa0733ff485 | /src/ch6/constexpr/demo01.cc | 922728db85e9aa50c16711dce24b85b7b4e11b02 | [
"MIT"
] | permissive | HerculesShek/cpp-practise | 27b850a9c446a6571a95629cb6045e18957e6071 | aa0cdc3101c831c1c677f0de46a2f85a4b407bc3 | refs/heads/master | 2016-09-06T13:05:04.184703 | 2014-09-23T01:41:38 | 2014-09-23T01:41:38 | 17,898,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cc | #include <iostream>
using namespace std;
constexpr int a = 42;
constexpr int fact(int val)
{
;
return a;
;
typedef int int_nick;
}
int main()
{
constexpr int b = fact(555);
cout << b << endl;
return 0;
}
| [
"hercules.shek@gmail.com"
] | hercules.shek@gmail.com |
6c2b86ca5b4470e7cf85b271d299da3a89732ce9 | 41a1c2d93bc57ea49a6c223ce356d3bfe4ce5f09 | /keysight.hpp | fe7cd337f59961ea81ebd6452f891d2a172b782a | [] | no_license | wymdrose/MYLIB | f5bf8d937fe34c7c1b161962cd6c66690ac975ed | e1a791100e5dd0068d712f8216497c5e5c868d29 | refs/heads/master | 2021-07-10T17:22:08.800359 | 2020-08-23T03:07:15 | 2020-08-23T03:07:15 | 192,708,950 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | hpp | #pragma once
#include "communicateLib.h"
#pragma comment(lib, "CommunicateLib.lib")
namespace InstrumentApi
{
class DataCollect
{
};
class Ks34970A_2A
{
public:
Ks34970A_2A(unsigned int portNo, int baudRate)
{
mpCommunicate = static_cast<std::shared_ptr<CommunicateDrose::CommunicateInterface>>(std::ma... | [
"38951259+wymdrose@users.noreply.github.com"
] | 38951259+wymdrose@users.noreply.github.com |
70332116daa26bb39e735dd76ba6740599e5612e | 40754013c1d2d48f80fbe1070246c74e5b42d5d8 | /server-main.cpp | a11919bd7f61fc83ff0914554a80319311b61a66 | [
"Apache-2.0"
] | permissive | junquera/seal-cs | 15e2a286db34f18ac2ec92c711d2118993b48a4a | a73b5b63c69eacd9832ce3613760200efa2b4d18 | refs/heads/master | 2020-07-30T17:53:11.419361 | 2019-09-16T14:40:43 | 2019-09-16T14:40:43 | 210,309,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | #include "server.h"
#include "common/sealfile.h"
#include "curvas.h"
int main() {
SServer server;
server.addCurva(curva_cabo_de_gata);
server.addCurva(curva_finisterre);
cout << "curves" << endl;
EncryptionParameters parms = loadParametersFromFile("params.data");
RelinKeys rel = loadRelinKeysFromFile(&pa... | [
"javier.junquera.sanchez@protonmail.com"
] | javier.junquera.sanchez@protonmail.com |
824618b064194f3ba4b752e71daf3f86708742a6 | 005cb1c69358d301f72c6a6890ffeb430573c1a1 | /Pods/Headers/Private/GeoFeatures/boost/mpl/set/aux_/item.hpp | 2c0efcebb4b65b80eed103ac646cb26c24467db9 | [
"Apache-2.0"
] | permissive | TheClimateCorporation/DemoCLUs | 05588dcca687cc5854755fad72f07759f81fe673 | f343da9b41807694055151a721b497cf6267f829 | refs/heads/master | 2021-01-10T15:10:06.021498 | 2016-04-19T20:31:34 | 2016-04-19T20:31:34 | 51,960,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72 | hpp | ../../../../../../../GeoFeatures/GeoFeatures/boost/mpl/set/aux_/item.hpp | [
"tommy.rogers@climate.com"
] | tommy.rogers@climate.com |
451eab8531355a5f6ed821137d33728afc7e81ad | 3d37c85c0d1207c7e406998631ce37bec6c8a2b4 | /impressionist/paintView.cpp | 7dbc31cf4864104a2630c8709dedf4f016717c8b | [] | no_license | learner176/Computer-Graphics | c9e253629af79682bdc435f5f37f6d8fc8c0c588 | 1d85c5340137550345d9fe24fb7b0f40001d03ab | refs/heads/master | 2021-01-15T20:33:29.335192 | 2016-05-19T19:06:24 | 2016-05-19T19:06:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,996 | cpp | //
// paintview.cpp
//
// The code maintaining the painting view of the input images
//
#include "impressionist.h"
#include "impressionistDoc.h"
#include "impressionistUI.h"
#include "paintView.h"
#include "impBrush.h"
#define LEFT_MOUSE_DOWN 1
#define LEFT_MOUSE_DRAG 2
#define LEFT_MOUSE_UP 3
#define RIGHT_MOUSE... | [
"鄭期文"
] | 鄭期文 |
6daac7b81721393e871bd40e5323b698a012a106 | cbccf4923efc2b2fd361f74d1f672861596ebd78 | /SimpleMultiplayer/Source/SimpleMultiplayer/Public/MultiplayerGameInstance.h | 8337b9288bf0f9668da1b44f6de4a44528252111 | [] | no_license | Stefferp/MultiplayerSample | b28092417a8ee5a1770813db02f6264832ebafb3 | d329f2ae3b194f881ed4b2500b170b69de21f2d2 | refs/heads/master | 2020-03-25T02:28:57.288608 | 2018-08-03T14:49:55 | 2018-08-03T14:49:55 | 143,291,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/GameInstance.h"
#include "MultiplayerGameInstance.generated.h"
/**
*
*/
UCLASS()
class SIMPLEMULTIPLAYER_API UMultiplayerGameInstance : public UGameInstance
{
GENERATED_BODY()
pu... | [
"steffanmitrovic@live.nl"
] | steffanmitrovic@live.nl |
4b8671a0bdb0e22b9db790ea32896b2c7aaca8a3 | 5410981c017968306cb42c709b0b77174bb539f5 | /CSC3222/CSC3222Coursework 2020 2021/Spell.h | 1f1f2724f1d758ce4137a8c414b2a7fb0a6b7b1a | [] | no_license | JackGHopkins/CSC3222---Game-Simulations | d16ec2cc633a187e28222d0f9be6cd21cdaf569d | fa0f71443d25b1add3199802e7ba11663395819e | refs/heads/master | 2023-05-05T18:04:01.934537 | 2021-05-26T00:00:18 | 2021-05-26T00:00:18 | 337,052,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #pragma once
#include "SimObject.h"
namespace NCL {
namespace Maths {
class Vector2;
}
namespace CSC3222 {
class Spell : public SimObject {
public:
Spell(Vector2 direction);
~Spell();
void DrawObject(GameSimsRenderer &r) override;
bool UpdateObject(float dt) override;
void InitMovement();
pr... | [
"jackghopkins@gmail.com"
] | jackghopkins@gmail.com |
b65062d8b884298ab7e5f1174518d4b8df3a1cf7 | b96edfaef32f767c66a36522087dbf1cce17f0b3 | /assignments/Cars/Vehicule.cpp | 5d91b68de6c462955779f6af3ac59c0b6f8d53fe | [] | no_license | Merfoo/CS-162 | 548222f09e0b89e7231824c58db8e13343f59aa0 | 468834c492cfafaba7f305439c19bbab802e9939 | refs/heads/master | 2021-01-10T16:20:29.834442 | 2016-04-03T21:11:25 | 2016-04-03T21:11:25 | 49,523,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,166 | cpp | #include "Vehicule.h"
Vehicule::Vehicule()
{
m_horsepower = 0;
m_lotNum = 0;
m_mileage = 0.0;
m_mpg = 0.0;
m_price = 0.0;
m_make = "Default";
m_model = "Default";
m_color = "Default";
}
Vehicule::~Vehicule()
{
}
int Vehicule::getHorsepower()
{
return m_horsepower;
}
void Vehicule::se... | [
"fauzimerfoo@gmail.com"
] | fauzimerfoo@gmail.com |
2faa165d9471b6388d214d0ebf491d85581f1ebc | 506e3b639ae288287e3bd470a4c5165c815dba02 | /proverbs.h | eb4b7639c035080adc19271c5f9c5cb874801b34 | [] | no_license | dgurduza/ABC2 | 754d02f9b569425c5a1ebf722afd7f293eeb459f | f2792ed5029926f4ceec6bea191333b21d214623 | refs/heads/master | 2023-08-21T06:08:58.125219 | 2021-10-24T18:28:04 | 2021-10-24T18:28:04 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,172 | h | #ifndef __proverbs__
#define __proverbs__
//------------------------------------------------------------------------------
// proverbs.h
//------------------------------------------------------------------------------
#include <stdio.h>
using namespace std;
#include "rnd.h"
#include "Well_of_wisdom.h"
//----------... | [
"dmgurduza@edu.hse.ru"
] | dmgurduza@edu.hse.ru |
ea4f597cc9177817e9fffd79b3486cd0345f8342 | 9d78836faeb6df6f4eff6c6b95d3a17a0a9ab087 | /External Libarys/Rw_lib/src/Quaternion.cpp | cc2e641fe139ac5ac40dc2dde2c680c12bb6e36b | [
"MIT"
] | permissive | yisea123/PowerLineThesis | ff566cacc9e036dfca3f5fbee4698594bae3440d | 76d0dc5c05ede392636b9771b341418762a899c4 | refs/heads/master | 2020-06-29T19:38:28.386050 | 2019-06-17T23:39:56 | 2019-06-17T23:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,988 | cpp | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... | [
"kasper.lorenzen@gmail.com"
] | kasper.lorenzen@gmail.com |
8f8d8fd9b9d3dd066c2efcdf3afccfd14db2e3e4 | 2a12d348373e77f0cdaf82efccfa49713f22ace5 | /exponencial.cpp | 5284900b30a5b0f613b016cab48c60a489131c8d | [] | no_license | DaniKamey/Ivania-Daniela-Kamey-Garcia | 1b005bfa9f938e5cdecefcc12e56d357d7b3c861 | 3efbe8fc4dc811376e45fc7df34b91678445df55 | refs/heads/master | 2020-03-27T05:29:32.258341 | 2018-12-04T17:07:47 | 2018-12-04T17:07:47 | 146,024,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include <iostream>
using namespace std;
int main()
{
int numero;
int potencia;
int exponente=1;
int i=1;
cout << "Ingrese un numero a elevar: " <<endl;
cin>>numero;
cout<<"Ingresa la pontencia: "<< endl;
cin>>potencia;
while(i <= potencia)
{
exponente *= numero;
i++;
}
... | [
"noreply@github.com"
] | DaniKamey.noreply@github.com |
759603513660bb20a155fcd05a38f91c9724f860 | 55f67113dc66afe8b1a1342b2ed7e00e9acef3ee | /src/c++/src/epp/core/command/EppCommandCheckDomain.cpp | c193b2ff0e01b04e281d215ee6fbd56e883921d1 | [
"MIT",
"Apache-2.0"
] | permissive | kobewang/registrar_toolkit | 4205229b43b7a3d3899b6599fe0a17bdc4751030 | 70442968a5ce6d8c46d1fcffd2ae3f6b3877c833 | refs/heads/master | 2021-01-16T21:19:42.845893 | 2015-07-23T09:49:46 | 2015-07-23T09:49:46 | 42,169,860 | 1 | 0 | null | 2015-09-09T09:42:29 | 2015-09-09T09:42:27 | null | UTF-8 | C++ | false | false | 2,431 | cpp | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c)2015 Neustar Inc.
*
* 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... | [
"s_skalsa"
] | s_skalsa |
db485a7f7abedd8d662f4f813f297d648a92684d | a654972d5a6de2f10511f7dc65839b255a2b0b3b | /devel/include/janken_pkg/AddTwoInts.h | 92557a5692f69904ff5ebdafce69c0a005f25039 | [] | no_license | marubashi11/ros_practice_ws | 51ac45831980d806db257b3dd009756351bf69ef | 7f98700154ca90ae5bf9f96584cb7b7fd3a79c2f | refs/heads/master | 2021-07-10T06:18:26.818856 | 2017-10-10T06:29:36 | 2017-10-10T06:29:36 | 106,252,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,673 | h | // Generated by gencpp from file janken_pkg/AddTwoInts.msg
// DO NOT EDIT!
#ifndef JANKEN_PKG_MESSAGE_ADDTWOINTS_H
#define JANKEN_PKG_MESSAGE_ADDTWOINTS_H
#include <ros/service_traits.h>
#include <janken_pkg/AddTwoIntsRequest.h>
#include <janken_pkg/AddTwoIntsResponse.h>
namespace janken_pkg
{
struct AddTwoInts... | [
"marubashi.yuuki641@mail.kyutech.jp"
] | marubashi.yuuki641@mail.kyutech.jp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.