blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f3f4b1685cbd4a9e90404666e72beca6ac58234 | d6e659ef0a2f35ad7bef4063558bc1f17b932cdb | /Tests/Test_Generic/Test_BCrhs.h | 4b7e5ed706522b6db30767d8bf8b7022f20b63ac | [] | no_license | neerajsarna/DG_moments_deal | c7191c71bdc2a0ab8142ead1588ae5f31677ad19 | a2f581edbb25e7c092cc89523cb9608d127a98f4 | refs/heads/master | 2021-01-23T21:35:24.514121 | 2017-11-20T22:46:39 | 2017-11-20T22:46:39 | 56,050,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,867 | h | // prescribe some default values to the moment variables. The conservation of mass should hold true for any arbitrary values
// of the moments
void prescribe_moments(Vector<double> &moments, const int nEqn)
{
for (int i = 0 ; i < nEqn ; i ++)
moments(i) = 2 * i + log(i+3)+ 2;
}
TEST(DISABLED_BCrhsWallG20,HandlesBC... | [
"sarna@mathcces.rwth-aachen.de"
] | sarna@mathcces.rwth-aachen.de |
3f0b6c0e505f44089cc9805ae3321b2dbf679428 | a1b6ce6a55cf433e5368000bec42f94c115312e2 | /SFML-1.6/Game/PausableClock.h | b132ab6d6bf8b2203dbed0287204f0a828e393a9 | [
"BSD-2-Clause"
] | permissive | Krozark/Dethroned-God | e0efd2634b030cfdab784fbc83f51130f48ce46d | 0e677bea1e5b4c96a31f1188a4e43b900d92f532 | refs/heads/master | 2020-05-20T10:53:20.257538 | 2015-02-20T10:22:05 | 2015-02-20T10:22:05 | 6,378,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | #ifndef PAUSABLECLOCK_H
#define PAUSABLECLOCK_H
#include <SFML/System.hpp>
class PausableClock : public sf::Clock
{
public:
//!Initialise le timer et le start
PausableClock();
//!Met en pause le timer
void Pause();
//!Met en marche le timer
void Play();
//!Change l'état du timer (pause<->marche)
bool Toggle(... | [
"maxime.barbier1991@gmail.com"
] | maxime.barbier1991@gmail.com |
602cdd117e639d88585578c54c0a6ef4956c0a17 | 7003df8d0af9a959bde2582d7205a407996b01fc | /multi_iter_vec/multi_iter_vec.h | a907683c297e9249d3b7678b70244ebdc3fb2380 | [] | no_license | freak82/experiments | cd48546cc9eed5f85055dbb0c8b9a552f7e813a8 | e976021d1e4bf8ee2962b1be49a6ee77219caed5 | refs/heads/master | 2020-06-23T15:42:42.278739 | 2019-10-03T05:44:21 | 2019-10-03T05:44:21 | 198,667,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,988 | h | #pragma once
#include <algorithm>
#include <iterator>
#include <numeric>
#include <vector>
// Quick and dirty implementation of a vector like container which provides
// linear view for iterations, as well as, sorted view, for binary search, etc.
template <typename T>
class multi_iter_vec
{
using data_t = std:... | [
"freakpv@gmail.com"
] | freakpv@gmail.com |
09869c997b8665aa403db174478c512d7ebd6655 | fbd536e4f52699f8e2e400079e0cccebc86f125b | /Course/course.cpp | e1953227fe9ea3703a0964a072e9a98463c9cb7e | [] | no_license | nguyenquangtan/AtTheBeginningSemester | c71052a0478197ccac6533997b2d71a5b59c2a62 | 3a19037d303f013fb5174b6333934640836a31e7 | refs/heads/master | 2023-04-14T21:44:15.769290 | 2021-04-26T12:58:48 | 2021-04-26T12:58:48 | 361,750,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,719 | cpp | #include "header.h"
void goToXY(SHORT posX, SHORT posY) {
HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE);
COORD Position;
Position.X = posX;
Position.Y = posY;
SetConsoleCursorPosition(hStdout, Position);
}
//string
void verify(int& option, int number, int startRow) {
while (option < 1 || option > number) { ... | [
"81596255+nguyenquangtan@users.noreply.github.com"
] | 81596255+nguyenquangtan@users.noreply.github.com |
a67061961df26c7d7559a6b6f6add09279b238ea | 803f0fbc5973ff31fd5faca5c0f2981b2c52a591 | /C++/IOJ/006.cpp | d38ea26b825913f361e083a15e0c6b911570313b | [] | no_license | MiohitoKiri5474/CodesBackUp | 00ab52bd55732b8164a42cffd664407878f4390e | 4247fa032c8e88259dcc3992a21c510b6f2e8850 | refs/heads/master | 2023-08-09T14:46:10.445697 | 2023-08-04T01:12:58 | 2023-08-04T01:12:58 | 126,162,563 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,196 | cpp | // by. MiohitoKiri5474
#include<bits/stdc++.h>
#include "lib0006.h"
#pragma GCC optimize ( "O3" )
#pragma loop_opt ( on )
using namespace std;
typedef long long LL;
// define tools
#define REPP(i,f,s) for ( int i = f ; i < s ; i++ )
#define REPM(i,f,s) for ( int i = f ; i >= s ; i-- )
#define REPALL(i,n) for ( auto... | [
"lltzpp@gmail.com"
] | lltzpp@gmail.com |
1f8e1ba804009e28c45971f0a0e3ffc78707bf6a | 9aef28643a38f48a9a2e01764a11856dcb403aed | /becti_0097_z1210_re000X.Altis/Addons/Strat_mode/res.hpp | 50b54242c52cd5a020a9540992a86a78933ec6cd | [] | no_license | MarkusNemesis/BECTI-Zertys-RE | c925ae04e262bc6448b17d31e30898d48291b435 | 9dc786a32c1c2c30cdf5b60377159e059194aa39 | refs/heads/master | 2021-01-19T11:35:10.802098 | 2014-07-07T02:42:56 | 2014-07-07T02:42:56 | 21,069,464 | 0 | 1 | null | 2014-07-01T11:34:07 | 2014-06-21T13:47:05 | C++ | UTF-8 | C++ | false | false | 5,895 | hpp | //--- [Controls Style Preprocessors]
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_MULTI 16
#define ST_PICTURE 48
#define ST_TEXT_BG 128
#define ST_LINE 176
#define ST_KEEP_ASPECT_RATIO "0x30 + 0x800"
#define LB_MULTI 0x20
#define HUD_IDC 1500000
///////////... | [
"Redacted@redacted.com"
] | Redacted@redacted.com |
03d0801d02f7eaacdc7e491324adba56c88236d8 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /capillaryRise/0.45/alphaPhi | c0673f160186b440572c1f2b34eaa1e266818c56 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195,761 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
9e225001124803f85b97a2333cf1746728d6de2c | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/container/detail/copy_move_algo.hpp | 677584a7a77ff68489d5b51775c22ce4ef1238ee | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 40,018 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2013. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/c... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
5d70790eac7965bead804062e921d452da468a0f | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /gpu/command_buffer/service/context_group.h | b072dbe937ec0565857961d1dbb234c6efe336ff | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 9,853 | h | // 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.
#ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
#define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
#include <stdint.h>
#include <memory>
#inclu... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
13952e34128332e4ac24936acf0d17595e63e892 | 11110b639f4249767e3c90163f6d1ef4efdbba72 | /Devices/Generic HTTP Device/NodeMCU.ino | 8d461c875aa7e4c98b0ee9ef8f8cff8c5a0bc76a | [
"Apache-2.0"
] | permissive | 6902peabody/SmartThings | cde2ddd4da60b70ef44885ced47cafdf63a7cafe | e44e43d9d0bc24ab7eca2ca709d6e6e523370c96 | refs/heads/master | 2021-04-28T21:29:44.403706 | 2016-12-31T20:45:25 | 2016-12-31T20:45:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,252 | ino | /**
* Arduino / ESP8266-12E / NodeMCU Sample v1.0.20161231
* Source code can be found here: https://github.com/JZ-SmartThings/SmartThings/blob/master/Devices/Generic%20HTTP%20Device
* Copyright 2016 JZ
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in c... | [
"jzelyeny@gmail.com"
] | jzelyeny@gmail.com |
c309f3061528150c1edbd5fc6ace3127675b51cc | 84d77d8eae634f7f1cd84ffa7911fc79d47464a4 | /src/util.cpp | f425ccee67f7708bdb7e5f5a433c3fac742a7232 | [
"MIT"
] | permissive | yoccoin/yocoinc | a462c72df9158555523f0376b6a9ff64f9148ff9 | e8ca552d29d052c0476fc5156e0e6290e195124e | refs/heads/master | 2020-07-15T12:34:21.012841 | 2016-08-28T15:31:32 | 2016-08-28T15:31:32 | 66,774,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,197 | cpp | // Copyright (c) 2009-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.
#ifndef WIN32
// for posix_fallocate
#ifdef __linux__
#define _POSIX_C_SOURCE 2001... | [
"yocoin@gmx.com"
] | yocoin@gmx.com |
53373fde9555954dccb9602d3e315f18d6d7d080 | afb55472201e65b6e5d424c727956dd4ff42b532 | /Source/Application.cpp | 00cf9775382b53caa1e2ea1a55c8c9eff3d84155 | [] | no_license | hpaquet/OpenGL-3D-app-template | bb290594cef9b1952647c2d46ff7d46dda97ffdb | 5addd9bcbe66197914e25381ded70c1094db7d61 | refs/heads/master | 2020-06-04T21:02:52.196305 | 2019-06-16T13:06:33 | 2019-06-16T13:06:33 | 192,190,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp |
#include "Application.h"
Application::Application(std::string&& name)
{
pushState<PlayingState>(*this);
}
void Application::run()
{
while (m_context.isOpen() && !m_states.empty())
{
auto deltaTime = m_context.getTime();
m_context.setTime(0);
auto& state = *m_states.back();
... | [
"noreply@github.com"
] | noreply@github.com |
665900c6d09c993c93e11a9f15cad846838a13f3 | 9097f0875e434421ec6896009aa3dd616ff0ad56 | /libraries/chain/include/mtpio/chain/merkle.hpp | 7c03f6e2ec4910a49c03389d677f0642bd4a9348 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | mtpbuilder/mtp | 94394c0bd8239b1da4de3dc613761562d8ed0be4 | 9dbc99e91b7d0900b75ad4a461a1da9da2c80450 | refs/heads/master | 2022-09-05T03:52:36.162807 | 2020-05-27T13:15:05 | 2020-05-27T13:15:05 | 266,506,624 | 27 | 25 | null | null | null | null | UTF-8 | C++ | false | false | 658 | hpp | #pragma once
#include <mtpio/chain/types.hpp>
namespace mtpio { namespace chain {
digest_type make_canonical_left(const digest_type& val);
digest_type make_canonical_right(const digest_type& val);
bool is_canonical_left(const digest_type& val);
bool is_canonical_right(const digest_type& val);
inline... | [
"58386105@qq.com"
] | 58386105@qq.com |
c5386e1aaeeb9283b9f820c005e36b11d7e86210 | ed70171946678f9d8f9f018aeb1a50cb71558446 | /app/src/main/cpp/sample/TriangleSample.cpp | ae59d04cd4f2a5c010d0c328309dfd744ad13430 | [] | no_license | fdsajkl0724/OpenGlNDK | c9a364300f5f2d9e7615f3e4ee53640f4ac0b085 | 414ba5c5271ff3d3e44bf614b274f5be46c854cb | refs/heads/master | 2023-06-27T06:44:30.398596 | 2021-08-02T00:52:56 | 2021-08-02T00:52:56 | 391,776,566 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | cpp | //
// Created by Administrator on 2021-07-14.
//
#include <GLES3/gl3.h>
#include <GLUtils.h>
#include "TriangleSample.h"
TriangleSample::TriangleSample()
{
}
TriangleSample::~TriangleSample()
{
if (m_ProgramObj)
{
glDeleteProgram(m_ProgramObj);
}
}
void TriangleSample::Init()
{
char vShade... | [
"wang_lxin@163.com"
] | wang_lxin@163.com |
4a12dd98b43f8356678fe9e21c3707e7cf909a5a | 03a323afc3de87da472ed62fd6a30e66395953d3 | /src/dataserver.cpp | 1e75ca003250a9f147ba246f4dd9ef60e005044d | [] | no_license | olyd/st | a0a7c026295a8e736449c93f8927eac2c0ea5dbc | be10bf5be80f05a03b8c467f4120746d12ef8611 | refs/heads/master | 2020-05-17T19:29:32.789338 | 2015-01-08T01:18:55 | 2015-01-08T01:18:55 | 20,402,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,834 | cpp | /*
* DataServer.cpp
*
* Created on: 2013-2-20
* Author: zhaojun
*/
#include <cassert>
#include <cmath>
#include "dataserver.h"
#include "utils.h"
#include "log.h"
DataServer::DataServer(int fileNum,int minLength,int maxLength,int blockSize,
double minBitRate,double maxBitRate, int diskNum){
mFileNum = fi... | [
"root@hvod.com"
] | root@hvod.com |
dc4a6f20a21778b37291b2b32614ca88cf772b91 | 429b483aa4b58fd7a6d3f826ff51491d87a62cc5 | /source/livescontroller.cpp | 0b04bf72c6ff3e2ff8c6bd5c5bd6214bd8686d86 | [] | no_license | alexkitching/Asteroids | 71ced30adc8e897671effc557228d5dfc0ed929c | a779f797df992d94206c21e3b44dfaf6f4a9fd48 | refs/heads/master | 2021-09-01T14:12:41.782795 | 2017-12-27T11:18:09 | 2017-12-27T11:18:09 | 115,452,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | ////////////////////////////////////////////////////////////////////
// File: <Livescontroller.cpp>
// Author: <Alex Kitching>
// Date Created: <12/12/16>
// Brief: <Source file for the Lives Controller Class.>
////////////////////////////////////////////////////////////////////
#include "Livescontroller.h"
#include "... | [
"alex.kitching@gmail.com"
] | alex.kitching@gmail.com |
5cba80d5841ef652d28a592ba4877f6dedde08cf | 063a90a67de470c894a15c972a93c6a8bdf95eaa | /utilites/machine_uid.cpp | 91109a1bfc427e3d905021abce5f6e1adb0f92a8 | [] | no_license | metahashorg/MGExternalConnectorService | bee785c6879fc6cc0826f4e91f0f1cc33189e309 | 8272e07f8778d7049d2a46795d983e5cfaf8c28d | refs/heads/main | 2023-02-07T16:19:35.844380 | 2020-12-26T20:54:11 | 2020-12-26T20:54:11 | 317,246,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include "machine_uid.h"
#include "check.h"
#include "Paths.h"
#include "utils.h"
std::string getMachineUidInternal();
bool isVirtualInternal();
static bool isInitialized = false;
static std::string savedUid;
static bool isVirtual = false;
void initializeMachineUid() {
savedUid = getMachineUidInternal();
... | [
"alaves17@gmail.com"
] | alaves17@gmail.com |
877bfd7685342b84660d09aeb93846d376a016fc | a867ea2056ae2953870f6ca92c1e9b8e0cc5c10c | /NonOffOpenFOAM/FoamCases/ppGrad/1.6/uniform/time | e4504db6614271931ea4320b0cd7de42db40bf05 | [] | no_license | enrsanqui/OpenFOAM | ca9948b29e5753a302d9d119ca26e89ea0ef969b | 32fdcf986f00e518c303058fa30ac66293782904 | refs/heads/master | 2021-01-02T23:10:15.612823 | 2017-08-29T18:44:55 | 2017-08-29T18:44:55 | 99,481,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1706 |
... | [
"enrsanqui@gmail.com"
] | enrsanqui@gmail.com | |
321036c1312b2d075995884a7b311816de89210e | 72aca11f973b7c337012475ad3111cd20a5dd589 | /loj/1bentong/3-GraphTheory/6-CutAndBridge/10103-SeperateTest.cpp | 38b942b0d8410a55be53842965e02bd702d5dd52 | [] | no_license | aplqo/exercises | a4cee1acbef91e64aee2bd096cd7e0bb834926a4 | e28f14eaf89481c34bc1a27206e8cea2d2d94869 | refs/heads/master | 2021-06-25T06:34:09.535835 | 2021-04-08T13:52:39 | 2021-04-08T13:52:39 | 217,698,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <filesystem>
#include <fstream>
#include <string>
using namespace std;
int main(int, char* argv[])
{
ifstream in(argv[1]), ans(argv[2]);
std::filesystem::create_directory(argv[3]);
std::filesystem::current_path(argv[3]);
for (unsigned int v = 0;; ++v) {
ofstream oin(to_string(v) + ".in"), oans(to_... | [
"aplqo@outlook.com"
] | aplqo@outlook.com |
b85ce0721f91cd3244f3a1faa63b7a7f47259062 | c3960e5f2ddb4fec063028062d354b96009e354a | /dastoor.h | f3191e9ff676f9884499b6147d9df4ada914efad | [] | no_license | mohannahoveyda/Implementation-of-a-Movie-Platform-PHASE1- | 6ca8e512d747f644ccfac48b439f908d25fdd44f | 7f9a526d234c3aa80b3c4fdd9522292684aa7d05 | refs/heads/main | 2023-02-13T19:48:22.165320 | 2021-01-13T19:30:56 | 2021-01-13T19:30:56 | 329,408,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | #ifndef DASTOOR_H
#define DASTOOR_H
#include <iostream>
using namespace std;
class dastoor{
private:
int price;
string name;
int min_year;//year
int max_year;
int length;
float min_rate;
string summary;
string director;
bool is_publisher;
public:
dastoor();
////////
int get_price();
string g... | [
"noreply@github.com"
] | noreply@github.com |
424394dea77d2efb2f1cc04ac4cd033c9dc8d951 | 1f0daf402a4ae0afa04c4ad130a47f567d09db19 | /gui/mainwindow.h | 9213c49724b775ec335883c724ea45ee1577303b | [] | no_license | ehhx85/image_processing_colors | b97dab62032d0e0b8dd557615ba3e3dad0249a51 | e4fe1be50baa424f96bdf844056d15665ae4d189 | refs/heads/master | 2020-03-30T11:46:10.038189 | 2018-10-02T02:52:18 | 2018-10-02T02:52:18 | 151,191,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,600 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
// --- Header Definitions ---
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <QMainWindow>
#include <QAction>
#include <QDateTime>
#include <QDir>
#include <QFile>
#include <QFileDialog>
#include <QGraphicsItem>
#include <QGraphicsScene>
#... | [
"ehhx85@mac.com"
] | ehhx85@mac.com |
4c61fb26a5198fbf5829dc84439f6b33ef21f5a7 | 4d9b1016f0ee347b0e55f842b6e8be1ad40f3e73 | /petya_and_strings.cpp | bc05bd49013c27a972c968a119fd6114fe082380 | [
"MIT"
] | permissive | piyushmishra12/codeforces-practice | 78a2fe192b558d40751f9c16dbabf3870f842b91 | 4ce977a41aa0ac919a08c0b47d95bb7b3ff9468f | refs/heads/master | 2022-01-11T22:19:24.747331 | 2019-03-27T16:48:09 | 2019-03-27T16:48:09 | 176,983,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
string a, b;
int i;
cin>> a;
cin>> b;
for(i = 0; a[i] != '\0'; i++)
{
if('A' <= a[i] && a[i] <= 'Z')
a[i] = char(((int)a[i]) + 32);
}
for(i = 0; b[i] != '\0'; i++)
{
if('A' <= b[i] && b[i] <= 'Z')
b[i] = char(((int)b[i]) + 32);
}
... | [
"noreply@github.com"
] | noreply@github.com |
3ef43acbe1ed7567d1b039109b3e328c982771bd | 98d256fc469c63109ef59587d68b0b16697e1bee | /offer/33.cpp | 311eaf8a8b61b2a2195e2863a8da1e1abbe136a8 | [] | no_license | 0x822a5b87/csapp | 29b8e956eed197f48ff860fef5dab492662a7368 | 1a8f722284800416f3ef44f06a9b3e2d73c05d18 | refs/heads/master | 2022-12-15T13:48:45.590571 | 2020-09-07T12:05:53 | 2020-09-07T12:05:53 | 195,348,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | // 输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。
// 例如输入数组{3,32,321},则打印出这3个数字能排成的最小数字321323。
// 需要证明比较规则具有:自反性、对称性、传递性
// 1. 自反性
// AA == AA A == A
// 2. 对称性
// A < B <-> AB < BA
// 3. 传递性
// 试证明: A < B, B < C 则 A < C
// 假设 A 有 m 位,B 有 n 位, C 有 k 位,那么
// AB = A * 10n + B
// BA = B * 10m + A
// 且 AB < BA
// 经过变换得到
//... | [
"hangyudu@tencent.com"
] | hangyudu@tencent.com |
d4e27e274de4dcf198b2ce0910365de316b7be05 | 375a5cf2d11b0c5511700d4f91da41d875672973 | /KURS C++ PRATA/Rozdział 3/2.5/2.5/2.5.cpp | da7478d0155ea1a5c1e70de04b187bac41104ff4 | [] | no_license | MKwiatosz/Programming | c8a2100cd9ebff9c6adf559f3e8e7e6060dc5320 | 9118b0ffb24c2a20f1f3674a8f001c89d9445aac | refs/heads/master | 2020-03-18T20:08:25.319008 | 2018-09-16T18:19:05 | 2018-09-16T18:19:05 | 135,198,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | // 2.5.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
int main()
{
using namespace std;
long long ludnosc, ludnosc_polski;
cout << " Czesc podaj liczbe ludnosci swiata: ";
cin >> ludnosc;
cout << " teraz podaj liczbe ludnosci Polski: ";
cin >> ludnosc_po... | [
"you@example.com"
] | you@example.com |
78ca09caf45b33eeba530fbad2e5a07fec8f8b50 | 0ace815c858a26171d72ab4c4f213afd64619c73 | /ch18/CharStack/charstack.cpp | be5a1a1d0c0d3ab4809f53c75c12429f614d4f7c | [] | no_license | nic-cs151-master/lecture | 5999195815ca2fa9e46a7654d4cfc265370055eb | 711037a58de9ae37e8b356ed6842ce1469c1565d | refs/heads/master | 2023-01-04T17:11:53.684326 | 2020-10-25T12:52:38 | 2020-10-25T12:52:38 | 290,043,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | #include "charstack.h"
CharStack::CharStack()
{
mStackArray = new char[10];
mCapacity = 10;
mTop = 0;
}
CharStack::CharStack(int stackSize)
{
mStackArray = new char[stackSize];
mCapacity = stackSize;
mTop = 0;
}
CharStack::~CharStack()
{
delete [] mStackArray;
}
void CharStack::push(cha... | [
"gvdelacruz@nic.edu"
] | gvdelacruz@nic.edu |
cab8bc2511faa8e8ec609eeceee66454b34344db | 0327bf11b394b2cf1280e9908a0e6be7d14dd5f4 | /logs.cpp | eb07358008e30345c1e9701d412b94dc9fbc71ed | [] | no_license | icprog/escada2-core | 01c1319caab8abde4fe8526b2f43669e3237f1fe | 6d67c44e1f631c37e4444a8f939f43c90d8b9db3 | refs/heads/master | 2020-04-04T16:41:17.480331 | 2018-09-27T04:35:31 | 2018-09-27T04:35:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | cpp | #include "logs.h"
#include <time.h>
#include <sys/time.h>
#include <sys/times.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/stat.h>
#include <unistd.h>
int Log::setLevel (int loglevel) {
if (loglevel>=LOG_LEVEL_NONE && loglevel<=LOG_LEVEL_DEBUG) {
log_level = loglevel;
return log_level;
}
... | [
"olejek8@yandex.ru"
] | olejek8@yandex.ru |
0223a169009b3f1c9b3aed9964d482db062aad65 | 4010bdf48cb92928f6cce4c6c4435baddb116e09 | /stuff/numbers/sqrt_int.cpp | e0995c35f5403eb8bc348f5078c9b902e7fcb52e | [] | no_license | dcamvik2020/Full-code-base | b96d17d1e17c1ce6ea5e94907af65e508cfbb4f0 | 5c76dcbd0da193fb1f0ca0e385384befe9281c32 | refs/heads/main | 2023-07-31T17:01:08.900785 | 2021-09-18T16:04:37 | 2021-09-18T16:04:37 | 356,920,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | /// faster 55.15%, memory less 70.41%
/// know : 0 <= x <= 2^31 - 1
class Solution {
public:
int mySqrt(int x) {
int l = 0, r = x;
while (l < r)
{
int m = l + (r-l)/2;
if (m && m > INT_MAX / m || m * m >= x)
r = m;
else
l =... | [
"vik-melnikov2001@mail.ru"
] | vik-melnikov2001@mail.ru |
41bba49a265946cff483b365e35b8a10be456a04 | 9e409a0a4333c376059ef795a336ef580c1ded20 | /codeforces/contest/1220/c/60836669.cpp | 4f34d60afbc4919993f0fde0effc8351be6fc5c6 | [] | no_license | hobby10/problems-solution | 569d4f52f7fe5d437c91041f5f6b9247c70915b1 | f35fb13a34f32b789e707b854eb0778c2c3c8484 | refs/heads/master | 2023-06-14T13:21:38.941953 | 2021-07-07T13:42:04 | 2021-07-07T13:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define clr(a,b) memset(a,b,sizeof(a))
#define all(v) ((v).begin()),((v).end())
#define read freopen("input.in", "rt", stdin)
#define write freopen("output.in", "wt", stdout)
#define fastIO cout << fixed << setprecision(0), ios::sync_with_stdio(f... | [
"omarashrf15@gmail.com"
] | omarashrf15@gmail.com |
d598ccaf92045521f9d22c7502e054ab075c3e32 | 4178eacb855805be17b677d6e7eee10732fcae7d | /Game/Submissions/playerSFML.h | f0b366fc96a686db78a68946bee00dbf36a3413c | [] | no_license | ThabisoMagwaza/softwareProject2 | 108b8937f4b3ac53a0a4386999e3c2edb75a70cb | 0442c6b0b7bb7fc2b76fcb4d2c4c4ee87f346a79 | refs/heads/master | 2021-07-12T14:07:29.353915 | 2017-10-15T09:56:39 | 2017-10-15T09:56:39 | 104,553,869 | 0 | 0 | null | 2017-10-15T09:56:40 | 2017-09-23T08:42:42 | Makefile | UTF-8 | C++ | false | false | 931 | h | #pragma once
//#include "displaySFML.h"
#include "Player.h"
#include "cannotLoadImage.h"
#include <iostream>
#include <SFML/Graphics.hpp>
//SFML presentation of player
class playerSFML: public Player{
public:
playerSFML(std::string imageDir,const sf::Vector2f& startPosition, const sf::Vector2f& origin,const dou... | [
"836403@students.wits.ac.za"
] | 836403@students.wits.ac.za |
8fb80d30ca114fe91a93d4c4b2409c0ebd7d8698 | d3e0066099d616c6bb27e37c7c5d20e37ca971e4 | /src/abstractionexample.cpp | 23059b1f3159e3c7de5eb9128908e90257cfff78 | [
"MIT"
] | permissive | PeterSommerlad/CPPCourseIntroduction | 91e429cf41fba2240928d83860f0761779f03480 | 048e074e030d06e064e65a9282706f764d78fc3f | refs/heads/main | 2023-06-08T08:34:06.216157 | 2023-05-26T16:11:34 | 2023-05-26T16:12:05 | 456,890,345 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include <iostream>
#include <cmath>
double getNumber(std::istream &is){
double num{};
is >> num;
return num;
}
int main(){
auto const number { getNumber(std::cin) };
std::cout << "The square root of "
<< number
<< " is " << sqrt(number);
}
| [
"peter.cpp@sommerlad.ch"
] | peter.cpp@sommerlad.ch |
923a8d9c58fc749195199c6205f409924117e474 | a84730d2a6666e7d7deb86ac939876ecf4397502 | /littl/FileName.hpp | 6b6334be2533e40b851ae3810f688a3d75e2ddb3 | [] | no_license | minexew/littl | 44587a113fceb5ef761139c3c94e10d168ce1918 | 7889fbc515a088f9ade6ccb8772aaff9c62dfe79 | refs/heads/master | 2021-06-06T05:03:59.158975 | 2020-02-04T10:03:01 | 2020-02-04T10:05:25 | 23,193,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,072 | hpp | /*
Copyright (c) 2011-2013 Xeatheran Minexew
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... | [
"minexew@gmail.com"
] | minexew@gmail.com |
8f3f04836a617e977ed101048af6038e32eea54c | 4757bd09318eb44ffe68825055b579a7fc68042a | /01_myFirstProject/mywidget.cpp | ffebc02be65f4c164bafdc4006c1faa870b3c1a4 | [] | no_license | Guojingxing/MyLearningQtProjects | da2cd738cdcffb9de39c244c9d25e11012f8938b | 12e7bda28087c724d5666823d966a7021d344b2c | refs/heads/main | 2023-04-05T07:02:29.227739 | 2021-03-29T03:04:00 | 2021-03-29T03:04:00 | 344,676,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | #include "mywidget.h"
#include <QPushButton>
#include "mypushbutton.h"
#include <QDebug>
//命名规范
//类名 首字母大写 单词和单词之间首字母大写
//函数名 变量名称 首字母小写,单词和单词之间首字母大写
//快捷键
//注释 ctrl + /
//运行 ctrl + r
//编译 ctrl + b
//字体缩放 ctrl + 鼠标滚轮
//查找 ctrl + f
//整行移动 ctrl + shift + ↑ or ↓
//帮助文档 F1
//自动对齐 ctrl + i
//同名之间的.h和.cpp切换 F4
//帮助文档 第一种方... | [
"33157458+Guojingxing@users.noreply.github.com"
] | 33157458+Guojingxing@users.noreply.github.com |
edf8300e22166ae7f49a13b041f15d0973d0913e | 610ed3f7b3a0705a5d27a64e9c6d434e4c5fcdc3 | /renderer/renderer.h | 588be1e435d855dd0f3dd8b4bba404dcb991fe2f | [
"BSD-2-Clause",
"MIT"
] | permissive | cappah/MathForGameDevelopers | f1604f7651684c662a493f98b549862b74fadbaa | 05159b87c9fc6c60edb6967464edc1e13791caaa | refs/heads/master | 2021-01-21T00:00:27.590325 | 2016-01-25T01:24:49 | 2016-01-25T01:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,278 | h | /*
Copyright (c) 2012, Lunar Workshop, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. R... | [
"jorge@lunarworkshop.com"
] | jorge@lunarworkshop.com |
2f30cfe867542e8a4a9a09ea1b5eee665359039a | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/content/common/indexed_db/proxy_webidbindex_impl.cc | 207eb73076524ca28881472d54ff92f46c599950 | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 3,503 | 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/common/indexed_db/proxy_webidbindex_impl.h"
#include "content/common/indexed_db/indexed_db_dispatcher.h"
#include "content/common/i... | [
"rjogrady@google.com"
] | rjogrady@google.com |
0690b9e92adcdac34e3ebedd52ef63cb67fabf21 | d387c3750d6ee7481df3b30a621a1f1f67a097f2 | /codeforces/652/B.cpp | db4257cfe03eec6cb75d69512d3233a2af4b989f | [] | no_license | sahilkhan03/CF-Solutions | 54b7c4858d0c810ea47768f975f4503bd83fff8b | 67e9e9581d547229b44bee271b4844423fff3a29 | refs/heads/master | 2023-04-22T01:37:43.022110 | 2021-04-19T13:34:00 | 2021-05-10T05:00:23 | 333,403,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define fast ios_base::sync_with_stdio(false); cin.tie(nullptr);
#define all(x) x.begin(), x.end()
#define F first
#define S second
#define pb push_back
#define pl pair<ll, ll>
#define vl vector<ll>... | [
"sahilkhan0307.sk@gmail.com"
] | sahilkhan0307.sk@gmail.com |
bd76124668eaf4ef3c7908a7ded3c6df483acf46 | 3f898542c87556c1498824561ae708d7952c99ea | /Stacks/11 k stacks in arr.cpp | 81b883397ae902693a44db6630b434d61f871f86 | [] | no_license | nsj07/Data-structures | 3885230c3e32340901cbd4f8faac8b377f9cd107 | b59a498327766732ab0c1370730fb9ea42ca186a | refs/heads/master | 2022-10-05T05:46:47.921707 | 2020-06-06T05:36:36 | 2020-06-06T05:36:36 | 269,868,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include <iostream>
using namespace std;
class stack{
public:
int size;
int top[50];
int elements[1000];
void push(int x,int num){
int n=num-1;
if(top[n]==(size*num)-1)
cout<<"Stack is full\n";
else
elements[++top[n]]=x;
}
int pop(int num){
int n=num-1;
if(top[n]==(size*n)-1)
cout<<"Stack is empty\n";
... | [
"t-sanagu@microsoft.com"
] | t-sanagu@microsoft.com |
c0f91c6d1499a4552ce3867ea11599d668ef144f | 2c4695ddbcded227ba683d7e7f149953badfc492 | /include/termite/resource_lib.h | 13d17696c21812e6a9e9c2b9cc411f18b92e2d76 | [
"BSD-2-Clause"
] | permissive | slagusev/termite | 87a37e79907b47961ef990ec8f1ce59d71d025c1 | 056cc0d1e8c2783fb6db549aed7042aa8f7ceb27 | refs/heads/master | 2021-01-01T17:46:21.029473 | 2017-07-11T09:45:47 | 2017-07-11T09:45:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,882 | h | #pragma once
#include "types.h"
#include "bx/allocator.h"
#include "core.h"
#define T_RESOURCE_MAX_USERPARAM_SIZE 256 // maximum size of userParam to be passed to resource loader
namespace termite
{
struct IoDriverApi;
class ResourceLib;
struct ResourceTypeT {};
struct ResourceT {};
typedef Ph... | [
"sep.tagh@gmail.com"
] | sep.tagh@gmail.com |
7c7308a3192bc62a5cf5070051d8732a6e61f8e2 | 793bd54d2e707ec1fd62383cb82b44c409ba2419 | /Classes/JsUtils/HotUpdateLoadingLayout.cpp | 752f214a46c33a0aff99c8776310eafc371a3adf | [
"MIT"
] | permissive | linzhangfeng/WBPT | c1e85056fc0c13defedc13efbe991c153b01933c | d99888f5484ce836df22e3ac3f3cce3f1c33cd20 | refs/heads/master | 2020-03-29T02:18:00.764679 | 2018-09-19T13:47:11 | 2018-09-19T13:47:11 | 149,429,111 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,876 | cpp | //
// HotUpdateLoadingLayout.cpp
// ZJH
//
// Created by mac on 2017/5/20.
// 用来接收升级进度
//
#include "HotUpdateLoadingLayout.hpp"
#include "HotUpdateWithNormalView.hpp"
bool HotUpdateLoadingLayout::init(){
if (!Layout::init()) {
return false;
}
Size size = Director::getInstance()->getWinSize... | [
"linzhangfeng@linzhangfengdeMac-mini.local"
] | linzhangfeng@linzhangfengdeMac-mini.local |
0ca8a0259a6bd881f8e2ada075623a6d2c19275e | 93529c7476ca8770fdf3c9bc929c5681b2b9794c | /uuv_files/include/uuv_control_cascaded_pid/AccelerationControlConfig.h | bbc7fb0ab0c79c6475fea4102bc6b8082a5ff406 | [] | no_license | ksakash/gazebo_rotation_plugin | 9e09c06b26688c9649351c70870c3629e27feb83 | 3d6d6a1e71c338e42ad910bb08bba18893e93f73 | refs/heads/master | 2020-05-30T00:17:58.453928 | 2019-06-01T06:09:17 | 2019-06-01T06:09:17 | 189,456,252 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,885 | h | //#line 2 "/home/ksakash/ros_catkin_ws/install_isolated/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the uuv_control package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// **************... | [
"akashsingh049811@gmail.com"
] | akashsingh049811@gmail.com |
fdf0226d2c5fed25c0c69a78a4a97659455620fc | 14582f8c74c28d346399f877b9957d0332ba1c3c | /tags/pstade_2007/pstade/junk/egg_junk/callable_facade____.hpp | ebb6d1d683286eb646c287a91deea0762027d883 | [
"BSL-1.0"
] | permissive | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,243 | hpp | #ifndef BOOST_PP_IS_ITERATING
#ifndef PSTADE_EGG_CALLABLE_FACADE_HPP
#define PSTADE_EGG_CALLABLE_FACADE_HPP
#include "./detail/prefix.hpp"
// PStade.Egg
//
// Copyright Shunsuke Sogame 2007.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
/... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
fe6d592498a37df3f202c836229b99ea8999319d | 6bc82e4e6433ffad07e2f70e6c4c0c94c673e48a | /src/CameraSample/rc_genicam_api/pointcloud.cc | b3ca31a94b119a42329834fc9acb7745c3f7f3ff | [
"BSD-2-Clause"
] | permissive | fastvideo/gpu-camera-sample | 643673c221c70767a4628e4c458c005317531924 | e0f6fd1f1c9d281be8bae78391bbde631294b6d4 | refs/heads/master | 2023-08-14T06:42:00.663407 | 2023-07-25T10:11:39 | 2023-07-25T10:11:39 | 224,174,376 | 285 | 55 | NOASSERTION | 2021-05-23T19:57:54 | 2019-11-26T11:20:18 | C++ | UTF-8 | C++ | false | false | 8,824 | cc | /*
* This file is part of the rc_genicam_api package.
*
* Copyright (c) 2019 Roboception GmbH
* All rights reserved
*
* Author: Heiko Hirschmueller
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redis... | [
"avrom@list.ru"
] | avrom@list.ru |
f5443776991224a115233a4218ea3312ff632207 | 43a258c00bc46b57081eaa829d20bf75bfe9487d | /unstable/anchor_mismatches.cpp | b8f43cd372a26f2e2291b62d7da5c0581d219f47 | [] | no_license | HealthVivo/mumdex | 96dbfb7110ae253abcfdcfd49d85fbea6ee9f430 | 25e1f2f2da385bafbdfae61dc61afedb044041b8 | refs/heads/master | 2023-09-03T12:56:44.843200 | 2021-11-23T18:26:31 | 2021-11-23T18:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,112 | cpp | //
// anchor_mismatches
//
// measure the number of mismatches in genome for anchors in bridges from stdin
// by counting mappings with N mismatches for N in 0..3
//
// Copyright 2018 Peter Andrews @ CSHL
//
#include <exception>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "erro... | [
"paa@drpa.us"
] | paa@drpa.us |
697fefafd170e80d915e6dfb68097fb920107add | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/2860.cpp | dd61ceaffc5f8dd3576dea7e0eb00ccacc884da0 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | //Template
//By Anik :)
#include <bits/stdc++.h>
using namespace std;
#define f(i,n) for(int i=0;i<(n);i++)
#define ff(i,n) for(int i=1;i<=(n);i++)
#define m0(X) memset((X), 0, sizeof((X)))
#define m1(X) memset((X), -1, sizeof((X)))
#define pb(x) push_back(x)
... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
a7ff3abff40eed475d6be2b0610abeea51d30ad7 | ea8aa77c861afdbf2c9b3268ba1ae3f9bfd152fe | /bzoj2440.cpp | f7e8e9dc1a408b1fbf69e9eb90d429065538eb44 | [] | no_license | lonelam/SolveSet | 987a01e72d92f975703f715e6a7588d097f7f2e5 | 66a9a984d7270ff03b9c2dfa229d99b922907d57 | refs/heads/master | 2021-04-03T02:02:03.108669 | 2018-07-21T14:25:53 | 2018-07-21T14:25:53 | 62,948,874 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const int inf = 0x3f3f3f3f;
const int maxn = 10000000 + 10;
int primes[maxn], ptot;
int mu[maxn];
bool nprime[maxn];
void init()
{
nprime[1] = true;
mu[1] = 1;
for ... | [
"laizenan@gmail.com"
] | laizenan@gmail.com |
a2954807b4cd1b6460186f46f90d4e51672e56bf | 653955aa43b68fb981da9434f48438348cfed03c | /QtGuiApplication1/QtGuiApplication1/QtGuiApplication1.h | 793f1e72ed3e3d137fafb7ce68600714f360fb95 | [
"Apache-2.0"
] | permissive | uk0/DLL_Run_Remplates | f26db9ce5cc00450fcd9b697992f31ed4bbc2bbc | b64e1516a165971ce91014df3fd8d3bacc26da0e | refs/heads/master | 2021-09-07T16:38:38.917463 | 2018-02-26T05:29:18 | 2018-02-26T05:29:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 806 | h | #pragma once
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "sdownloadnetwork.h"
#include <QtWidgets/QMainWindow>
#include "ui_QtGuiApplication1.h"
class QtGuiApplication1 : public QMainWindow
{
Q_OBJECT
public:
QtGuiApplication1(QWidget *parent = Q_NULLPTR);
~QtGuiApplication1();
public:
Ui::QtGuiAppli... | [
"zhang-rd-fe@s139.org"
] | zhang-rd-fe@s139.org |
73c7ed27a443d3a348d93753c1673a48e39c59f0 | 8ad4f3cee865877fd00b0bdb41ae8bc812782f2d | /tools/imglab/src/metadata_editor.cpp | 7d34c6f64254c058eaea420110c6a78f5b284e3a | [] | no_license | aiilab/dlib_ubuntu | b8c489b817898b142048c9192873353248c9bdc5 | 7ea18c61a8073d879883d400c769dadb1c1263cf | refs/heads/master | 2021-05-30T18:46:11.913423 | 2015-07-14T01:35:05 | 2015-07-14T01:35:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,342 | cpp | // Copyright (C) 2011 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#include "metadata_editor.h"
#include <dlib/array.h>
#include <dlib/queue.h>
#include <dlib/static_set.h>
#include <dlib/misc_api.h>
#include <dlib/image_io.h>
#include <dlib/array2... | [
"491237847@qq.com"
] | 491237847@qq.com |
69a53c98fd2a278fb9277a29df88cb400f5739c3 | 0433e896e69158de9eebf79fb5b1bc227a6d738b | /ttw combat demo1_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Il2CppCompilerCalculateTypeValues.cpp | 377435033ff575489eb8f4402566ce3fbc8debc4 | [] | no_license | ovveii/Through_The_Woods | 380c9a2321883d0202c1987f50b9dbc5ec8c22b0 | 4e97870443524346bee62d4cf854f3a47736c8ac | refs/heads/master | 2023-04-10T15:22:59.220937 | 2020-12-07T07:25:27 | 2020-12-07T07:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,402,232 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// System.Action
struct Action_tAF41423D285AE0862865348CF6CE51CD085ABBA6;
// System.AggregateException
struct AggregateException_t45A871D3DBDA3E28FBCD8DF21F6772238FC55BD1;
// Syste... | [
"ttw.missingway@gmail.com"
] | ttw.missingway@gmail.com |
9b83a93ac82751405420eea08dac5998985bd8e4 | 93bf4bbafe0524335ea1216f7f2941348c2cd1bd | /tensorflow/core/graph/tensor_id.h | 25391009f9b7608d925c0987000005014687d80f | [
"Apache-2.0"
] | permissive | sachinpro/sachinpro.github.io | c4951734b09588cad58711a76fe657f110163c11 | c3bbd8d89818f5d8bb7296c851ed5e52c19728e3 | refs/heads/master | 2022-12-23T10:00:13.902459 | 2016-06-27T13:18:27 | 2016-06-27T13:25:58 | 25,289,839 | 1 | 1 | Apache-2.0 | 2022-12-15T00:45:03 | 2014-10-16T06:44:30 | C++ | UTF-8 | C++ | false | false | 1,616 | h | /* Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"x0234443@ti.com"
] | x0234443@ti.com |
5db25b31239863d34f9ea972ae3fd7d70fbb57a1 | 8b54825c79dfa13ab443a35a4c6d46fba621740b | /src/PersonnageVue.h | 904255094e4449d2ed6dae74d0f814177599538c | [] | no_license | nadineprofesseur/sourire-sfml | 4672972959a8d7090819ac117992fe125fd319b7 | fb9af1fb0aece0aec3e5fbc656f5913c3c5f55b5 | refs/heads/master | 2021-08-14T20:15:26.165900 | 2017-11-16T17:46:12 | 2017-11-16T17:46:12 | 110,731,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | h | /*
* PersonnageVue.h
*
* Created on: 16 nov. 2017
* Author: Mademoiselle
*/
#ifndef PERSONNAGEVUE_H_
#define PERSONNAGEVUE_H_
#include <SFML/Graphics.hpp>
using namespace sf;
class PersonnageVue {
protected:
int x;
int y;
Texture * texture = NULL;
Sprite * illustration = NULL;
public:... | [
"st-amand.nadine@cgmatane.qc.ca"
] | st-amand.nadine@cgmatane.qc.ca |
e2cfe99f606c35fd13c90a70af60f098c9d56fc7 | 1a2131abd9b163377b4f9c84a93917d128b23d34 | /src/pluginwatcher/qqtpluginwatcher.cpp | d38b1200ecde0282637fa0f1cdf03870e6a44341 | [] | no_license | Always17365/LibQQt | d0004ba65344199a55ecca22a424cfa872e100e7 | 43971ff9e08429d815c6335ece693ab0fa73dbcd | refs/heads/master | 2021-08-23T19:11:30.918583 | 2017-12-03T15:53:01 | 2017-12-03T15:53:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,309 | cpp |
#include "qqtpluginwatcher.h"
#ifdef __QT4__
#include <QWSServer>
#include <QMouseDriverFactory>
#endif
QQtPluginWatcher* QQtPluginWatcher::_instance = NULL;
QQtPluginWatcher::QQtPluginWatcher(QObject* parent) :
QThread(parent)
{
m_devType = E_NULLDEV;
m_devStat = E_NULLSTAT;
m_storage = "/mnt/usb_sd... | [
"2407223896@qq.com"
] | 2407223896@qq.com |
49f5cc80ce7fddf92dd95e7d461700f7f9a5b83b | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_04_Sublight_Henchmen_parameters.hpp | 3cd847fa622a011c867e96cd3b1909961438b2d0 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_04_Sublight_Henchmen_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
d96e0a1203028886ec8a40dcf108c08f49a6d86e | 2b752a69039818f49e35e5e7e87d8575e8922d5d | /shared/src/pal-log.cxx | caf4bf670e1a49474bc9956ab8f21728fc448e9e | [] | no_license | IdVincentYang/ndk-template | 309a2f2bcfc8f88edd529807a9349b4f0c8b95d1 | ed688450fdd87d08fbc0609dba1e7387667e9cac | refs/heads/master | 2020-04-28T02:54:14.934389 | 2019-03-24T07:54:26 | 2019-03-24T07:54:26 | 174,915,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cxx | #include "pal-log.hxx"
#include <cstdarg>
#include <android/log.h>
#define _IMP_LOG(lower, upper) \
void pal::log_##lower(const char *tag, const char *format, ...){ \
std::va_list va; \
va_start(va, format); \
__android_log_vprint(ANDROID_LOG_##upper, tag, format, va); \
va_end(va); \
}
_IMP_LOG(verb... | [
"wensheng.yang@cocos2d-x.org"
] | wensheng.yang@cocos2d-x.org |
b6f03c146349d760bfeb45e8cb3a6ef200b15d09 | 6a6193dc6dc8a49cf92846d8011c1f37c7c1fb48 | /src/runtime/android_tempfile.cpp | 6fc358d6d85c349de95324f808efd46d71e34b4f | [
"MIT"
] | permissive | StanfordAHA/Halide-to-Hardware | ac10c68fea5a295a8556284bec67dbd1ab8feffc | 135c5da2587e6f6b17b2e9352a456a645367ad4e | refs/heads/master | 2023-08-31T07:00:40.869746 | 2021-10-20T19:16:51 | 2021-10-20T19:17:08 | 167,240,813 | 76 | 14 | NOASSERTION | 2023-09-06T00:09:25 | 2019-01-23T19:25:20 | C++ | UTF-8 | C++ | false | false | 1,234 | cpp | #include "HalideRuntime.h"
#include "runtime_internal.h"
extern "C" {
extern int mkstemps(char *, int);
// Note that the Android implementation is identical to the Posix version, except that
// the root is /data/local/tmp rather than /tmp
WEAK int halide_create_temp_file(void *user_context, const char *prefix, const... | [
"srj@google.com"
] | srj@google.com |
b2e91230791c556d18472a0911770dcd2636f5c4 | 060f69081466d64c7be2ddfd8e8a1267ce6a6276 | /sua_den.cpp | 53d44e3a130ac3c1a1d8f811b3216dfd778e2d78 | [] | no_license | DauNgocHuyen/CcodeCptit | 7d150e307b0d2fab8c4e5bdb7c1e4780ad90f9cd | 1931fb891e8ecd32928cac8328c18b7cc80038d6 | refs/heads/master | 2023-07-30T18:09:57.975985 | 2021-09-19T01:04:12 | 2021-09-19T01:04:12 | 408,000,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | /* Eat_more */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double db;
#define faster() ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define tester() int t; cin >> t; while(t--)
#define PI atan(1)*4
#define in INT_MAX
#define im INT_MIN
#define fi first
#define se second
#... | [
"dnhuyen04102002@gmail.com"
] | dnhuyen04102002@gmail.com |
a6e64997bf36dd2774807e0c42b6c825c71a6fae | 9ae842446a4ee351f17da96b04a1b5cbcbd3701d | /final-submission/project1-story-telling/src/ofApp.h | 01532d95de27711d3bde9dfefdb6ff4053b2603f | [] | no_license | sungminro92/openFrameworks | c3597a55506a3ef0a2d4b860816bcf583f7a9497 | 94bf711b52b482c393a8eaf0713f322154ac6a40 | refs/heads/master | 2020-04-19T14:21:41.255975 | 2019-06-03T21:27:07 | 2019-06-03T21:27:07 | 168,242,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | h | #pragma once
#include "ofMain.h"
#include "ofxGui.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, in... | [
"sungminro92@gmail.com"
] | sungminro92@gmail.com |
46097fbda54fc4eeaa6368b9208c2f6d00373f93 | 3c20cd84ea9063efc973d2a6f4cf0c61ff42e36e | /Algorithms/CPP/21.cpp | 682c6158b61202be32db2584497c354c004ab174 | [] | no_license | Accagain2014/leetcode | 05496b2c8755034e429277584bd6b771eb09ee14 | e8a4d6e8c1f8ddcee2cb8393c82d640008c1b2de | refs/heads/master | 2021-01-19T09:31:54.428885 | 2017-06-05T15:13:03 | 2017-06-05T15:13:03 | 82,130,495 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,893 | cpp | // Author : Accagain
// Date : 17/2/16
// Email : chenmaosen0@gmail.com
/***************************************************************************************
*
* Merge two sorted linked lists and return it as a new list.
*
* The new list should be made by splicing together the nodes of the first two list... | [
"chenmaosen0@gmail.com"
] | chenmaosen0@gmail.com |
529351f65cc3c2f02d48d31004661aac0fb38151 | e6c56e95bbcf2dda691d13b30beba734bb6b5ccc | /main.cpp | 49a6a867f26dc255b532d0726b461e14183abf80 | [] | no_license | Serafim1979/beautiful_numbers_twoACMP | 5f8f0c29c8f8fc4b61f56f68fd72c7e11e39216c | fee34cde508645db74439bd6b9d5c6e8e6b7164b | refs/heads/master | 2020-11-28T23:38:53.856217 | 2019-12-24T13:56:58 | 2019-12-24T13:56:58 | 229,950,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | cpp | #include<iostream>
#include<fstream>
#include<cstdlib>
#include<iomanip>
#include<cstring>
using std::cout;
using std::cin;
using std::endl;
using std::ifstream;
using std::ofstream;
using std::max;
using std::min;
using std::setfill;
using std::setw;
using std::string;
int digit_sum(int n);
int digit_count(int n);
... | [
"korolkov.ivan@mail.ru"
] | korolkov.ivan@mail.ru |
0a36472ad7a2c6cb288fb15f9db6fa5d1d2ef854 | ba777e2d38e136d04167f15cbee1569c3af23bc5 | /Nov2020/24Nov/MergeTwoSortedLists.cpp | 83379ec56fe25de860c62a92ffa9fe06d00527fe | [
"MIT"
] | permissive | shivanisbp/2monthsOfCoding | 0467f04f6580953cfeb44b4a056cb7ed7d613cca | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | refs/heads/main | 2023-08-15T14:01:25.914180 | 2021-09-16T07:02:31 | 2021-09-16T07:02:31 | 311,960,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cpp | /*
Problem name: 21. Merge Two Sorted Lists
Problem link: https://leetcode.com/problems/merge-two-sorted-lists/
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ... | [
"noreply@github.com"
] | noreply@github.com |
e5f9e0596a93d868a0583920d5740a47213099be | 7eb04bedd0a60e887aef1a876e7098a8443ca56d | /MULTQ3 - Multiples of 3.cpp | ef21582e6340ca45e918a83f8ba63221df9053c1 | [] | no_license | maruf-rahad/spoj | c11a58686c293625541298ceb2ee22c015c6949e | d8dad34adb430152319cf7f48833e9da330b6af9 | refs/heads/master | 2023-01-13T21:48:26.779669 | 2020-11-21T17:07:00 | 2020-11-21T17:07:00 | 292,611,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define mx 100005
struct segment{
int one,two,three,sum,prop;
};
segment tree[mx*4];
void zero(int n)
{
for(int i=0;i<=(n*4)+3;i++)
{
tree[i].one = 0;
tree[i].two = 0;
tree[i].three = 0;
tree[i].sum = 0;
... | [
"marufrahad253@gmail.com"
] | marufrahad253@gmail.com |
656bd08da3f0e97ae41a9c3e8703cc4dee0eb11b | 968d356a98fa16aafccbda27f59bd2d3c387ffd7 | /youbot_try/stdafx.cpp | 4882728f70f695cb1a494f1f8865a749d84937ee | [] | no_license | tegkhanna/youbot_quad | 5f57336afd4afdb0bd69a71ec835289c0ce5ce70 | 8707838e522324104f80b5f7f6550552a48391bc | refs/heads/master | 2021-01-19T21:48:18.521068 | 2017-03-06T04:00:02 | 2017-03-06T04:00:02 | 82,536,188 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | // stdafx.cpp : source file that includes just the standard includes
// youbot_try.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"tegkhanna@gmail.com"
] | tegkhanna@gmail.com |
81f04ce0c7617b38d7ed9b427a808d90a195ff1b | 2c3d596da726a64759c6c27d131c87c33a4e0bf4 | /Src/VC/bcgcbpro/BCGPWorkspace.cpp | 2def7a7a9dee2c6110ba9b854a89553b4b3b23a8 | [
"MIT"
] | permissive | iclosure/smartsoft | 8edd8e5471d0e51b81fc1f6c09239cd8722000c0 | 62eaed49efd8306642b928ef4f2d96e36aca6527 | refs/heads/master | 2021-09-03T01:11:29.778290 | 2018-01-04T12:09:25 | 2018-01-04T12:09:25 | 116,255,998 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,147 | cpp | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2012 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and condi... | [
"iclosure@163.com"
] | iclosure@163.com |
c45d19f9f03b4fe1831686d696dbe5b5d2338bc3 | 54816b6a801925455da9fb2477f2b8b0642fe925 | /结构体/03 结构体指针.cpp | 76bfa059b59fe7e68417d7260fa9fb98878b16ae | [] | no_license | elevenzheng/cpp | 56ef9cd6824b51a4debb15dc1aca79ed31115a61 | 55947b0b53ac8585bcbf313dfdc225cbde2ad5f3 | refs/heads/master | 2023-01-12T15:08:05.065144 | 2020-11-16T08:36:39 | 2020-11-16T08:36:39 | 313,228,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | #include <iostream>
using namespace std;
#include <string>
struct Student {
string name;
int age;
int score;
};
int main() {
Student s = { "a",18,100 };
Student* p = &s;
p->age = 50;
cout << p->name << p->age << p->score << endl;
system("pause");
return 0;
} | [
"3298858546@qq.com"
] | 3298858546@qq.com |
70a4509b5aa0532c2f04f6ae2b8fa945d4d59672 | 3e3d381a6460057d4fd7f7315fc771d239e0abd5 | /src/robo_simulation/src/GazeboPlugin.cpp | 7352ef2d778fabf0aee41415879107cc89b4781a | [] | no_license | Akashleena/unity_gazebo_ros | 942b30ebdb4a194efbd8b869d25d9dbcd02e4678 | a9ce624ee833b44f8894cd9cd02a0b50ef5d7dfc | refs/heads/main | 2023-07-14T04:27:51.970305 | 2021-09-01T12:05:25 | 2021-09-01T12:05:25 | 398,231,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include <functional>
#include <gazebo/gazebo.hh>
#include <gazebo/physics/physics.hh>
#include <gazebo/common/common.hh>
#include <ignition/math/Vector3.hh>
namespace gazebo
{
class ModelPush : public ModelPlugin
{
public: void Load(physics::ModelPtr _model, sdf::ElementPtr /*_sdf*/)
{
// Store the ... | [
"akash13leena@gmail.com"
] | akash13leena@gmail.com |
dce41145d9e8257884a4f59fe60ce8969bb6ecb4 | 00545cbfc5494e14362fe1d84e1a30aa25b70e7e | /cpp/listing9-06.cpp | b8a2572496e107ec74503d201706b3f5c5489529 | [] | no_license | AdamBen7/PracticeRepo | a8b639f87f4e495366c2d2dd0933deee3e5dab3d | b7247643ba16568dc53e3ec47bbf7192ec3e09ff | refs/heads/master | 2020-04-14T04:22:17.670909 | 2019-08-12T20:24:43 | 2019-08-12T20:24:43 | 163,634,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | // Listing 9.6 - Demonstrates passing by reference
#include <iostream>
using namespace std;
void swap(int *x, int *y);
int main()
{
int x = 5, y = 10;
cout << "Main. Before swap, x: " << x << " y: " << y << endl;
swap(&x,&y);
cout << "Main. After swap, x: " << x << " y: " << y << endl;
return... | [
"adam.benabbou@hotmail.com"
] | adam.benabbou@hotmail.com |
d42cd039298db99e3ba7adb377c4ba0b8c44651d | 4844a743334d960deda483aac49da75a3fdc5540 | /Mesh/SymmetricMatrix.hpp | 56cfd41c901eaa5317ec9bd7c9ae7180db61bdb8 | [] | no_license | snowfox1939/Mesh-Subdivision-Simplification | 38d89911b6637d4d859c80408b5b4e71ca216976 | ebd330e1abc447cd7a1967ee2f9786e5637893a5 | refs/heads/master | 2020-04-18T01:18:38.594245 | 2016-05-29T13:14:44 | 2016-05-29T13:14:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | hpp | //
// SymmetricMatrix.hpp
// Mesh
//
// Created by 奥玛 on 23/5/16.
// Copyright © 2016 THU. All rights reserved.
//
#ifndef SymmetricMatrix_hpp
#define SymmetricMatrix_hpp
#include <stdio.h>
class SymmetricMatrix{
private:
double m[10];
public:
SymmetricMatrix(double c=0);
SymmetricMatrix(double m11, ... | [
"omarch7@gmail.com"
] | omarch7@gmail.com |
72a725c61e0f30af226f4f59c39858665f41e0cc | 829b3f2d0ae685d01fe097c03bf5c1976cbc4723 | /deps/boost/include/boost/geometry/srs/projections/proj/tcea.hpp | c4a45f68894966253c773d94d5a4bf4503a46110 | [
"Apache-2.0"
] | permissive | liyoung1992/mediasoup-sfu-cpp | f0f0321f8974beb1f4263c9e658402620d82385f | b76564e068626b0d675f5486e56da3d69151e287 | refs/heads/main | 2023-08-21T21:40:51.710022 | 2021-10-14T06:29:18 | 2021-10-14T06:29:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,316 | hpp | // Boost.Geometry - gis-projections (based on PROJ4)
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
// This file was modified by Oracle on 2017, 2018, 2019.
// Modifications copyright (c) 2017-2019, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behal... | [
"yanhua133@126.com"
] | yanhua133@126.com |
de7c02826b70edb0446abfafb6ddd48754ddb6b9 | d30537985a7060a669f0ac0f480e571c26daf70d | /Codeforces/C++/0263/263_A.cpp | 0b77487396534db113b5be5aed4880e6dfa9bece | [] | no_license | Navidulhaque/competitive-programming-solutions | ab8e58d15bed071fdb6da1f5eccab1b5500383c9 | b6d204ac2b87c091709fdd52c7ff695e4b973156 | refs/heads/main | 2023-08-21T03:25:08.766083 | 2021-10-29T15:41:00 | 2021-10-29T15:41:00 | 419,967,083 | 0 | 0 | null | 2021-10-22T04:37:10 | 2021-10-22T04:37:10 | null | UTF-8 | C++ | false | false | 1,038 | cpp | // https://codeforces.com/problemset/problem/263/A
// GALATIANS 4:16
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define debug(x) cout << #x << "=" << x << endl
#define mp make_pair
#define all(x) x.begin(), x.end()
#define sortall(x) sort(all(x))
#define PI 3.1415926535897932384626
#defin... | [
"darkrayl3igh@gmail.com"
] | darkrayl3igh@gmail.com |
c33c944b22f4d66571645bd3279a8af88977487f | 342be094c618e50224dc29195bb3b56da12d4091 | /EXObject.cpp | 64f27fac9789f0be39091a440f052a00e7343bdb | [] | no_license | taewooo0513/FrameWork | 4a69d09bc0645c28c927b2e59b3bf89daf8ecade | f36f67d7e629b8233a4400ec41b35d547f78e9be | refs/heads/master | 2022-12-28T08:02:49.842990 | 2020-10-15T03:34:10 | 2020-10-15T03:34:10 | 303,627,831 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 354 | cpp | #include "DXUT.h"
#include "EXObject.h"
EXObject::EXObject(Vec2 pos)
:pos(pos)
{
image = LOADIMAGE->FindImage("¿¹½Ã");
}
EXObject::~EXObject()
{
}
void EXObject::Update()
{
SetPos(pos);
}
void EXObject::Render()
{
RENDER->Render(image,GetPos(),Vec2(Sclae, Sclae));
}
void EXObject::UIRender()
{
}
void EXObject... | [
"taewooo0513@gmail.com"
] | taewooo0513@gmail.com |
8a258c97bbb15ef73efc105abf81a47824db7851 | 092668fe62e9d7826c5efecff37542ee42565870 | /windows/appcompat/shims/specific/imagecast.cpp | 6d1bea46e6b55713b08f72612db825796f60d8f0 | [] | no_license | CKOtherProject/Nt5Src-Lite | c7de0ed59dc4a55257ada104221b818a84594c79 | ad41f6490f26c6adead2f0696c19133f060205f4 | refs/heads/master | 2023-09-02T22:47:44.039487 | 2021-11-11T13:29:59 | 2021-11-11T13:29:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,355 | cpp | /*++
Copyright (c) 2002 Microsoft Corporation
Module Name:
ImageCast.cpp
Abstract:
This app tries placing its license DLL 'LicDLL.DLL' in the
%windir%\system32 folder. This was ok on Win2K as there was no duplicate
file in sytem32 but on XP, we have the OS license DLL with the same name.
... | [
"84119280+helloobaby@users.noreply.github.com"
] | 84119280+helloobaby@users.noreply.github.com |
35aa6d9f871f00b9570144634d0761bb6324f9b3 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-9/java/text/RuleBasedCollator.hpp | b346d9aa640530c8cef76ac724b57037d07013dc | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,109 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.text.RuleBasedCollator
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPL... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
1c7fd634d60a05b360185b4902d490b92e0b0165 | 4ae01bc7f9740cff5950e2b3545091d5e39a839c | /LongestDecreasingSubs(LDS).cpp | d33535408d0b804c88c454369bdc5858974acde6 | [] | no_license | ShahadatShipon/Longest-Decreasing-Subsequence- | 8f7e595bb1bfec45435676d58a7f54176ae718a5 | 05fa9bd5bba8979a1bb326f8629eb9c152df7dbb | refs/heads/main | 2023-05-18T22:56:43.260957 | 2021-06-13T06:45:53 | 2021-06-13T06:45:53 | 376,462,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | #include<stdio.h>
int main(){
int size,max = 0;
printf("Enter Size of an array: ");
scanf("%d",&size);
int array[size],LDS[size];
printf("Enter the numbers: ");
for(int i=0;i<size;i++){
scanf("%d",&array[i]);
}
for(int i=0;i<size;i++){
LDS[i] = 1;
}
for(int i=1;i<size;i++){
for... | [
"noreply@github.com"
] | noreply@github.com |
601ba3bf07593951a3139e3044b3f61a4f055dc2 | 1e24352e8e5a1e8197bcfce30a879455715bf961 | /gauss_seidel/jacobi.cpp | 4f31a91a7c6d76a1ef121f3e308251dc111de4a0 | [] | no_license | hermesespinola/metodos_numericos | 5728637aad5600d097774b74aa07902c4c7695a2 | 9b962585454326c715389f52fa7a961f375c2113 | refs/heads/master | 2021-06-17T09:04:43.921979 | 2017-05-05T20:38:58 | 2017-05-05T20:38:58 | 80,470,291 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | #include <iostream>
double access(double* matrix, unsigned width, unsigned i, unsigned j) {
return matrix[i + j * width];
}
double *gs(unsigned width, double* A, double* B, double error_th) {
// solutions array
double *solutions = (double *) calloc(width, sizeof(double));
// old solutions array
d... | [
"hermesespinola@gmail.com"
] | hermesespinola@gmail.com |
7781c4b47a378a1ed0a4344d5cc5bcdeb112c274 | f41af1f67798b3130bef41275dd044c87fbf9e09 | /10.3.three-way-radix-quicksort.cpp | 5d5f1b5ce6af74dded3f09922b3bc89d022420a4 | [] | no_license | katzhang/algorithms-in-cplusplus | 2ce523d7fed0e380c426239f38a7d20b45d93b47 | b378b465a72f03c57081a9b8fe27ca6840f4ae51 | refs/heads/master | 2021-01-21T04:47:02.949818 | 2016-07-06T01:59:08 | 2016-07-06T01:59:08 | 44,648,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | /*
author: Robert Sedgewick
PROG: Three-way radix quicksort
*/
#include <iostream>
#define ch(A) digit(A, d)
using namespace std;
static const int maxN = 50;
static const int M = 5;
template <class Item>
void quicksortX(Item a[], int left, int right, int d) {
int i, j, k, p, q;
int v;
if (right - left <= M) {
... | [
"arcadychang@gmail.com"
] | arcadychang@gmail.com |
ea8ded81701b76fe58d9cf705e67b277b30e3903 | 89378f005af9b78e850e097cba243b51e7460242 | /Data Structures/DS10/Project1/소스.cpp | a420c40998203e15fcf439567f7193cda2f54047 | [] | no_license | KevenTom/my_study_project | 5bf15ea24f20e76c1eb5ab1e3d7f1d607dacc6d6 | 1b49bcfca75612c68a2a061517fc2fd233e6f91c | refs/heads/master | 2023-01-21T08:30:36.813165 | 2020-12-02T18:13:34 | 2020-12-02T18:13:34 | 278,594,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include <iostream>
using namespace std;
void MergeTwoArea(int arr[], int left, int mid, int right) {
int fIdx = left;
int rIdx = mid + 1;
int* sortArr = new int[right + 1];
int sIdx = left;
while (fIdx <= mid && rIdx <= right) {
if (arr[fIdx] <= arr[rIdx])
sortArr[sIdx] = arr[fIdx++];
else
sortArr[s... | [
"zpqls1648@naver.com"
] | zpqls1648@naver.com |
850f3b5675f57e850cbd3395e0df0834f7be1340 | bd50b4667870da11f4ff52a2bb514793b4b1f617 | /recursion/Factorial Using Recursion.cpp | c23961ad5ff4152e945b553848de57dee54bc5c2 | [] | no_license | God-father1/C-CC- | 17938d8530b4d17c37944615c626e31a1bb25772 | 853c6aa7f28ba525eb25c6c23ee4119b3c02eae0 | refs/heads/master | 2021-05-21T02:12:54.490503 | 2020-07-09T08:25:52 | 2020-07-09T08:25:52 | 252,498,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | // { Driver Code Starts
#include <iostream>
using namespace std;
int factorial(int N);
int main() {
int T;
cin>>T;
while(T--)
{
int N;
cin>>N;
cout<<factorial(N)<<endl;
}
return 0;
}// } Driver Code Ends
//User function Template for C++
//Back-end complete function Template for C++
int fact... | [
"balaharode@gmail.com"
] | balaharode@gmail.com |
57e1a61819875c24bdedee5853094ead09811a63 | a0d45a7e09ee3519820e41ba0446f570b34969a8 | /IntroToGL/ShapeManager.h | a04c9fa2853bcd3477951c2c2ae58b66e07fb7e9 | [
"MIT"
] | permissive | burkeg/OpenGl_Game_Proto | 255c9f8d7e8111943874acc17fc2010994943348 | 542b4bb3b468164442858c5b91b3ebe50d3a0a5a | refs/heads/master | 2020-09-07T09:41:39.929441 | 2019-11-10T06:39:16 | 2019-11-10T06:39:16 | 220,741,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | h | #ifndef SHAPEMANAGER_H
#define SHAPEMANAGER_H
#include "linmath.h"
#include <stdlib.h>
#include <stdio.h>
using namespace std;
class ShapeManager
{
protected:
//float rgb[3];
public:
ShapeManager();
//void update(void);
};
#endif | [
"burkeg@purdue.edu"
] | burkeg@purdue.edu |
15c70c13436b1439c6c2d5de489c5c6ef2f8f07f | cc2474654fe1f733c31a1e061f3452e6e50156ac | /Program1/proghelp2.cpp | dfd46523a41a49afd02d3d75088d347f99c71c8b | [] | no_license | bornhorst/CS162 | 04b23a8596e0e0ed693a7764aba6f0076b3a3ec3 | a2cc1a000ba1a824bf7af629b0f9ec5e2bb938e0 | refs/heads/master | 2020-06-07T07:34:06.198035 | 2019-06-20T17:38:56 | 2019-06-20T17:38:56 | 192,962,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,951 | cpp | #include<iostream>
#include<cstring>
#include<cctype>
using namespace std;
char coffee_size();
void display_size(char size);
int flavor();
void display_flavor(int flav);
bool next_customer();
int how_many();
bool prompt();
void compare(char drinks[]);
int main()
{
while(prompt())
{
char item[30];
cout<<"What ... | [
"bornhor2@augusta.cs.pdx.edu"
] | bornhor2@augusta.cs.pdx.edu |
18e681eb414794e0b32b8064b5fb1f0209481cb4 | de80b91a12b10bd962b59a89b2badbb83a0193da | /ClientProject/Mof/RatchetNClankCopy/RatchetApplication/Game/GameSystem/Mission/MissionSystem.h | 70cb46a6705bedbb9e2caab72c5c3ccf0575507e | [
"MIT"
] | permissive | OIC-Shinchaemin/RatchetNclank-PrivateCopy | 8845eea799b3346646c8c93435c0149e842dede8 | e2e646e89ef3c29d474a503f5ca80405c4c676c9 | refs/heads/main | 2023-08-15T06:36:05.244293 | 2021-10-08T00:34:48 | 2021-10-08T00:34:48 | 350,923,064 | 0 | 0 | MIT | 2021-10-06T11:05:03 | 2021-03-24T02:35:36 | C++ | SHIFT_JIS | C++ | false | false | 768 | h | #ifndef RATCHET_GAME_GAME_SYSTEM_MISSION_MISSION_SYSTEM_H
#define RATCHET_GAME_GAME_SYSTEM_MISSION_MISSION_SYSTEM_H
#include <optional>
#include "MissionData.h"
namespace ratchet::game::gamesystem::mission {
class MissionSystem {
private:
//! 現在のミッション
std::optional<ratchet::game::gamesystem::mission::M... | [
"mailaddressforcontact@gmail.com"
] | mailaddressforcontact@gmail.com |
b8bf7ab76bb229044048785c1139817fa8a0f6e5 | 66330f7a1ff0b8447b4245474ab4de48727fd1c5 | /libs/multiprecision/test/test_numeric_limits.cpp | a728045de74bb136e86451ba9233a84f37b3db1d | [
"MIT"
] | permissive | everscalecodes/knapsack-snark | fd3cc6155125ae6ff0fc56aa979f84ba6a8c49c7 | 633515a13906407338a81b9874d964869ddec624 | refs/heads/main | 2023-07-18T06:05:22.319230 | 2021-08-31T16:10:16 | 2021-08-31T16:10:16 | 447,180,824 | 0 | 1 | MIT | 2022-01-12T10:53:21 | 2022-01-12T10:53:20 | null | UTF-8 | C++ | false | false | 10,950 | cpp | ///////////////////////////////////////////////////////////////
// Copyright 2011 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
#ifdef _MSC_VER
#define _SCL_SECURE_NO_WARNINGS
#endif
#include "t... | [
"curryrasul@gmail.com"
] | curryrasul@gmail.com |
df5063019fbe9c812f4720401eee46fd8bddefc5 | 8d2b7f36f2b06499edef329e106ecab2848cc9dd | /Sorting Algorithms/Sorting Questions/Three way partitioning.cpp | 2f650b7fb5bfc9de458ef3e7f9437e5c77fffe7e | [
"MIT"
] | permissive | Benson1198/CPP | c2bbd2625615418a0d42aa7cfe1891cd29e09fbb | b12494becadc9431303cfdb51c5134dc68c679c3 | refs/heads/main | 2023-03-08T00:32:23.000754 | 2021-02-26T18:33:22 | 2021-02-26T18:33:22 | 301,605,290 | 0 | 1 | null | 2020-10-06T09:43:00 | 2020-10-06T03:37:55 | C++ | UTF-8 | C++ | false | false | 405 | cpp | void swap(int *x,int *y){
int temp = *x;
*x = *y;
*y = temp;
}
vector<int> threeWayPartition(vector<int> A, int a, int b)
{
int n = A.size();
int start = 0, end = n-1;
for (int i=0; i<=end;)
{
if (A[i] < a)
swap(A[i++], A[start++]);
else if (A[i] > b)
... | [
"bensonpx1198@gmail.com"
] | bensonpx1198@gmail.com |
71e911dd933858e24f99f43f4a573d396cf36e8b | 1ad16fdad3ad63af9c081a72d4d4aa8613db9430 | /source/systemc/modules/backend/am_board/track_finder/hit_processor/hit_processor_one_layer.cpp | 72205e879df866d28fa67ccb9f6c71d519b0c957 | [] | no_license | camstutz/TT_TB | b27568166c7f986a977db4f898e6e37d4d71845c | 2c92d78192f4e7d82ad99de947f586e3f8b235e5 | refs/heads/master | 2021-01-20T09:00:59.724014 | 2016-08-11T08:37:44 | 2016-08-11T08:37:44 | 15,766,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | cpp | /*!
* @file hit_processor_one_layer.cpp
* @author Christian Amstutz
* @date August 27, 2015
*
* @brief
*/
/*
* Copyright (c) 2015 by Christian Amstutz
*/
#include "hit_processor_one_layer.hpp"
#ifdef MTI_SYSTEMC
SC_MODULE_EXPORT(hit_processor);
#endif
// ****************************************************... | [
"amstutz@kit.edu"
] | amstutz@kit.edu |
80fcde155b0cf1c354933f00c139365e037e82df | 915dd5b09b836675240e04ae539479c4ab77b858 | /CHelpersBundle/HErrors.h | 55532b5892ae14243c2ec5e447b8e8ed69c1ccae | [] | no_license | MatrylOne/TreeCalculator | 8b0eb172008b2b585ca8ed819b1a5bfb8b8dd255 | 32429fe11e730ed094d838c3518aa7935b40c9f5 | refs/heads/master | 2021-09-08T00:56:56.586098 | 2018-03-04T21:10:39 | 2018-03-04T21:10:39 | 74,924,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | // Created by Jakub Nadolny on 16.10.2016.
#ifndef FIRST_HERRORS_H
#define FIRST_HERRORS_H
#include <iostream>
// Numbers errors
#define NUMBER_OUT_OF_RANGE 1
#define NUMBER_IS_NEGATIVE 2
#define NUMBER_NOT_POSITIVE 3
// Texts errors
#define TEXT_IS_EMPTY 10
#define WRONG_NUMBER_OF_ARGUMENTS 11
#define WRONG_COMMAN... | [
"matryl1@me.com"
] | matryl1@me.com |
d863f27f228f2f1b23994fba4cdd21da9046d1f8 | 47ab0cc845bc4d2074abc183ed9c8eea636b344c | /TreeWithEncoder/ClickEncoderMod.cpp | b8557c5799b48a878c10a794c02254385432f75e | [] | no_license | tameraslan/a-Tree-in-a-Room | 37fa4212da3d4b13dc17d93e3b6f9bff28bc6705 | e75e5ba3c2d2f603e557a4d7aef3962739eb7803 | refs/heads/master | 2021-05-08T20:11:23.286881 | 2018-01-30T21:32:22 | 2018-01-30T21:32:22 | 119,596,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,987 | cpp | // ----------------------------------------------------------------------------
// Rotary Encoder Driver with Acceleration
// Supports Click, DoubleClick, Long Click
//
// (c) 2010 karl@pitrich.com
// (c) 2014 karl@pitrich.com
//
// Timer-based rotary encoder logic by Peter Dannegger
// http://www.mikrocontroller.net/... | [
"io@tameraslan.net"
] | io@tameraslan.net |
73b7435e5050133e769ab6c20f32d035aa093ecb | 2f33f8d13b4da223911a351c8e2c5efc2d7bedd0 | /Other/Failed/HDU 1059 Dividing 错.cpp | 76d2667da5dabe4a3ec668d3d3c3b1223a29255c | [] | no_license | Harrypotterrrr/Algorithm-ACM | ecbfd44a8da3ce82ef4b1b94a3759004246b3cd8 | f1eedf5229c2a8dca9b4948f05a16adacbd9ad6b | refs/heads/master | 2021-12-13T19:35:38.662941 | 2021-12-12T04:59:24 | 2021-12-12T04:59:24 | 141,694,685 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
using namespace std;
const char* reply[] = {"Collection #","Can't be divided\
.","Can be divided."};
int mar[6],n = 0;
bool flag = 0;
bool cmp(int x, int y){
return x > y;
}
void select(int left){
if(left == 0)
flag = 1;
for(int i=1 ; i<=5 ; i++){
... | [
"jiahaolin19971119@126.com"
] | jiahaolin19971119@126.com |
338d3549dbdc1b409dea8d3c73b244da1551fb36 | 668798d0afb4fc40ebb78fef5a757b3550b1c587 | /src/graph2_DFS_AtoA.cpp | d52312ae6bc0d98277abfee695beae7b509bcddb | [
"MIT"
] | permissive | shoeloh/graph-search | 1a1c5e292a75598a9f1830919f537c366ba42d03 | ad323cc1cbecb12e17b157d76bd0da13de0c275a | refs/heads/master | 2022-04-26T02:00:22.067134 | 2020-04-26T00:38:57 | 2020-04-26T00:38:57 | 258,900,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,789 | cpp | /** MIT License
Copyright (c) 2019 Shane Zabel
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, publish... | [
"shaneazabel@outlook.com"
] | shaneazabel@outlook.com |
f86f32cfa7ccd8d7311a54f8c1a68954d51e30af | 5902619843a0205a7031acb2c5ef03e382eb8384 | /DES/feistelFunction.h | 5b0b53ba7ede76dd23a214fb492bf108ea7fc6f1 | [] | no_license | Meliser/DES | 18dad90979dc04fab9ebf8a4baa7e5b7664211cc | 9b791ec10eb5567a0ff17df54c80df63fe48b1f7 | refs/heads/master | 2020-06-12T08:34:28.895591 | 2019-06-28T09:31:42 | 2019-06-28T09:31:42 | 194,246,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | #pragma once
#include <bitset>
#include "desUtility.h"
using std::bitset;
namespace des {
struct Tables {
static const char E[48];
static const char P[32];
static const char s1[64];
static const char s2[64];
static const char s3[64];
static const char s4[64];
static const char s5[64];
static const ch... | [
"mitya.korneev@mail.ru"
] | mitya.korneev@mail.ru |
6269f22044e4d330a0374beec1fa2f746fcc37fe | 989d0c7b01062cf5adbdeb29cd0212d4941ed5d3 | /boOX-y/src/compile.h | 931313a653da0379f1c128c53a55e8e3be4cde3f | [] | no_license | surynek/boOX | f45e65e4bce9f8c350bc6636516ee518c46a0d37 | 0b4ab79d3ab6849291652733e9e65cecf897ca9e | refs/heads/master | 2023-03-12T20:53:19.490152 | 2023-03-09T21:54:54 | 2023-03-09T21:54:54 | 156,933,509 | 14 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | h | /*============================================================================*/
/* */
/* */
/* boOX 2-211_planck ... | [
"pavel.surynek@seznam.cz"
] | pavel.surynek@seznam.cz |
5e33812fd544bf7a54114631957ccc6f30573076 | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/TIOJ/1208.cpp | dd3fc2eab0ab7a1b1a5d3f505f0f02dba0daf622 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | cpp | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
8c5036ade0d47f5e9aa01fff73a130dc4d5ccf7f | f70404517b9389b9a99bb0b98e4aadad2bbe8ade | /ds3_2_bf.cpp | 0dc2767072acccc41cb7336c90e5e0654882eb39 | [] | no_license | q4x3/sjtu_OJ | f665a839a5da9a0c5820665d01673ecd185aba6d | c4b22a23455bf418625c1594b3d348fc56dd4dda | refs/heads/master | 2021-03-20T17:30:50.843355 | 2020-09-14T11:43:52 | 2020-09-14T11:43:52 | 247,221,199 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | /**
* 40分
**/
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
const int MAXN = 1233;
bool vis[MAXN];
int n, ord[MAXN], tmp1, tmp2;
int main() {
scanf("%d", &n);
if(n > 1233) return 0;
for(int i = 0;i < n;++ i) {
scanf("%d%d", &tmp1, &tmp2);
tmp1 %= n;
i... | [
"tao_qingxiao@sjtu.edu.cn"
] | tao_qingxiao@sjtu.edu.cn |
2c12e1e97294d4c4c47f747c2860c533d422e453 | 929d8ebd7d57ad1dadd80c99a3886a06e14712ab | /OpenCVShop/CV_Action_HoughCircles.h | 8664a34ade111ff48e724c9898052a020b79993e | [] | no_license | hrachyahakobyan/OpenCVShop | e3fab83c0a2b1a0ffd61b0406a335cd8a8080d0b | 6a455b991c1837a7cf911c008ce160c70f8061e5 | refs/heads/master | 2020-05-21T22:39:13.539364 | 2016-09-22T09:51:57 | 2016-09-22T09:51:57 | 65,006,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | h | #pragma once
#include "CV_Action_CloneAble.h"
namespace core{
class CV_Action_HoughCircles : public CV_Action_CloneAble<CV_Action_Base, CV_Action_HoughCircles>
{
public:
CV_Action_HoughCircles() : _method(CV_HOUGH_GRADIENT), _dp(1), _minDist(1), _param1(100), _param2(100), _minRad(0), _maxRad(100){}
void operat... | [
"hrachya_hakobyan@edu.aua.am"
] | hrachya_hakobyan@edu.aua.am |
116428bc1489803e93138a4aa58e90e4ce4c843b | 1bfa6ad9b120ea4fda9bae1192c0abcc9bd453a1 | /board.cpp | ebc4a3b64bf90a5ae352d7ca4254e6392d1a0a9a | [] | no_license | tuan2195/sudoku-solver | 1e789229e8236e4329db135e0c5a1b5e49bbede8 | 6f67c5940cc515a226dedfccadf07a63376a9ad5 | refs/heads/master | 2021-01-13T08:10:49.219347 | 2016-10-23T21:39:20 | 2016-10-23T21:39:20 | 71,727,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,998 | cpp | //
// board.cpp
// Project4
//
// Created by Tuan Dao on 10/23/15.
// Copyright © 2015 Tuan Dao. All rights reserved.
//
#include <stdlib.h> // exit()
#include "board.hpp"
ostream &operator<<(ostream &ostr, vector<int> &v)
// Overloaded output operator for vector class.
{
for (size_t i = 0; i < v.size(); i++)... | [
"noreply@github.com"
] | noreply@github.com |
c94960c3e5825593c466a588786eb6a8f6661d33 | c3753013b2cca01be0e4d099258316a54fb753b7 | /src/surcodecs.h | 0c4d83b11af11002d65e8e50ed9426a1a2b75b20 | [] | no_license | gamedolphin/Sur | 18d713205f64b183d2678ba6c06efcc7659e0b2e | ef67808fd0dd9a025a2e248c744eca893a977d14 | refs/heads/master | 2021-01-10T11:13:23.335996 | 2015-11-17T19:57:49 | 2015-11-17T19:57:49 | 46,120,060 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | h | #ifndef _SUR_CODECS_H
#define _SUR_CODECS_H
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
}
#include <string>
#include "surqueue.h"
namespace Sur {
struct File {
AVFormatContext *formatContext = NULL;
AVCodecContext *codecContext = NULL;
AVCodec *codec = NULL;
AVF... | [
"sandeep.turing@gmail.com"
] | sandeep.turing@gmail.com |
6c1470cf796492a66a51a076720997fbc0c82b00 | 6b57a127f1e73771de1705b317bb529f2f790394 | /Adhoc Implementation/uva - 11247 - income tax.cpp | 27ed77db179fd1102482a17c93749b2f10f7f954 | [] | no_license | shahariar-shibli/Competitive-Programming | dde16dd0ff5852c8e27249dd240457be9ccab7e1 | 18610399f7de5d7517729a1bee5c63050c0de7a3 | refs/heads/master | 2021-09-16T12:37:30.538806 | 2018-06-20T19:37:47 | 2018-06-20T19:37:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | // solve v - vx/100 < m-1 equation.
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int m,ans;
int x;
ans = 0;
while(scanf("%lld %d",&m,&x) == 2 )
{
ans = 0;
if( m == 0 && x == 0 )break;
if( x == 100 )
{
printf("Not found\n");
... | [
"sshibli745@gmail.com"
] | sshibli745@gmail.com |
593e18dd6076a6da7f7dc8c19f4c967a0d82b09f | 184cb7b23a49853098470078b6a432db9b40b9f2 | /grid.h | c62b085c661f000389a818181f2e06a6e2f2d0d0 | [] | no_license | Jakob2/lattice-boltzmann | 6c49a688666ceb098a2f1b755e5bbe8d70657ad3 | a3cb99624404cd9ae11734e9e4fd73e87ef4a05d | refs/heads/master | 2021-01-22T10:55:42.838560 | 2017-05-28T13:46:10 | 2017-05-28T13:46:10 | 92,659,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | h | #ifndef GRID_H
#define GRID_H
#include "global.h"
class Grid
{
public:
Grid();
void vertical();
void horizontal();
};
#endif // GRID_H
| [
"jakob.ludwig40@gmail.com"
] | jakob.ludwig40@gmail.com |
d8087c5b0aeebc3a7941dd9da6e74e557c8bd5b8 | 6b8fff0eeb75ad266af0ec2b9e9aaf28462c2a73 | /GCJ_Dataset/Data/ania7/1460488_1595491_ania7.cpp | 3bf6c73f71956d9dc0cdf17c1724059fc2d82cbc | [] | no_license | kotunde/SourceFileAnalyzer_featureSearch_and_classification | 030ab8e39dd79bcc029b38d68760c6366d425df5 | 9a3467e6aae5455142bc7a5805787f9b17112d17 | refs/heads/master | 2020-09-22T04:04:41.722623 | 2019-12-07T11:59:06 | 2019-12-07T11:59:06 | 225,040,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | #include <cstdio>
int test()
{
int N, S, P, Q, K, res = 0;
scanf("%d%d%d", &N, &S, &P);
for(int i = 0; i < N; i++)
{
scanf("%d", &Q);
K = Q / 3;
if(Q%3 == 0)
{
if(K >= P) res++;
else if(K-1 >= 0 && K+1 <= 10 && K+1 >= P && S > 0)
{
res++;
S--;
}
}
else if(Q%3 == 1)
{
if(K+1 <= ... | [
"tundekoncsard3566@gmail.com"
] | tundekoncsard3566@gmail.com |
27922cd8d8eb9ca1084d40c1d341860e22edee32 | 5d20bb250000251b251b110a8ec87a307f21d52a | /2017CS10351_2017CS120377_ass3/convolution_matrix_mult.cpp | 3683da703a02cbadf358c828333100d33c87bf0f | [] | no_license | shivam-goyal027/ImageProcessingLibrary | fe23d4b433f69447ad2b6c63654446c556a2159a | 40f1facc942ccb4b618eb3857394d419e3dacbe0 | refs/heads/master | 2020-05-22T15:31:59.417887 | 2019-05-13T12:04:44 | 2019-05-13T12:04:44 | 186,410,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include "function.h"
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <vector>
#include <fstream>
using namespace std;
void convert(float *ans, float **final_ans,int size){
for(int i=0;i<size*size;i++){
int l=(i)/size;
int m=(i)%size;
final_ans[l][m]=ans[i];
}
}
void m... | [
"noreply@github.com"
] | noreply@github.com |
203b55f5e80bf36b20d427adbb281feb09d75ce7 | e08ebd3daae7d0c9a578aced6be490ef9c560fdc | /Source/Atomic/Container/HashSet.h | e920463b316580709fb8b12259b13a0231b0b648 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NTP"
] | permissive | bryant1410/AtomicGameEngine | 86070cb6f575c9d6fdb0de12b66ac1ec295e55c8 | 51286ffc4102dcf2b633d36d5c0cb2dae9817302 | refs/heads/master | 2021-01-19T19:56:23.085734 | 2017-04-17T03:41:20 | 2017-04-17T03:41:20 | 88,465,101 | 1 | 0 | null | 2017-04-17T03:41:21 | 2017-04-17T03:41:21 | null | UTF-8 | C++ | false | false | 17,105 | h | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// 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, mod... | [
"josh@galaxyfarfaraway.com"
] | josh@galaxyfarfaraway.com |
ea4ed74720c6de5e29ded1dbf08a183877043498 | f704b0139f6389789814eda50d6ade2f4e8168b4 | /clang-r339409b/include/llvm/Transforms/Utils/BasicBlockUtils.h | 63b5e6cb2ba06fc2520677f7306226f6b8e3e10c | [
"LicenseRef-scancode-generic-cla",
"NCSA",
"LicenseRef-scancode-arm-llvm-sga",
"MIT"
] | permissive | PixelExperience/prebuilts_clang_host_linux-x86 | f0242cd6e85c7ee44cf5d636b664b2356a5a21f0 | ae24f4d0745a065026a84a345eff6badfb7dd64c | refs/heads/pie | 2021-06-12T15:15:42.103352 | 2019-08-13T22:28:25 | 2019-09-05T12:25:42 | 162,285,080 | 3 | 52 | null | 2019-04-27T12:12:43 | 2018-12-18T12:28:56 | C++ | UTF-8 | C++ | false | false | 14,147 | h | //===- Transform/Utils/BasicBlockUtils.h - BasicBlock Utils -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"akhilnarang.1999@gmail.com"
] | akhilnarang.1999@gmail.com |
ebe83c17b27689c8597288196cf8affc0ecfa95c | 93f96ccc21d4985dd21010d530525a91ddd64e47 | /chrome/browser/page_load_metrics/page_load_metrics_observer.h | d4cac6d989c49a4e02135d76fb68fa6f3e9dc2c7 | [
"BSD-3-Clause"
] | permissive | speedyplane2247/chromium | 6a72a80f8c423738c885560da64d122883f53c97 | bdc4a979db7cad1b05c5efcae195ec78f55b98c6 | refs/heads/master | 2023-02-28T11:02:53.147340 | 2019-03-01T17:43:06 | 2019-03-01T17:43:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,424 | 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 CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
#define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_METRICS_OBSERVER_H_
#include <m... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
df212d34ddb6b5d578bdd4d925406a84740b3bbf | cb34e8af86c9984269bcb2cf39dcdf05c0ab5dba | /example.cpp | 1912e0bdfaad9684b59954741a0705156b52a795 | [
"MIT"
] | permissive | tangsaidi/irregular-sudoku-solver | 87f94eb9c43452408fab225cbce212113417924e | c31c5f847444571f3a3b64f9679671941a61a10e | refs/heads/master | 2020-05-29T17:22:45.348453 | 2019-07-09T00:54:28 | 2019-07-09T00:54:28 | 189,273,027 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | #include <iostream>
#include <vector>
#include <utility>
#include <ctime>
#include "IrregularSudoku.h"
int main(int argc, char *argv[]) {
// Construct IrregularSudoku Object
bool silent = false;
if (argc != 1) {
const char * silentFlag = "--silent";
if (!strcmp(argv[1], silentFlag)) {
... | [
"tangsaidi@icloud.com"
] | tangsaidi@icloud.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.