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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
09192d0d832adb9572b3c902c4777c64c15aabae | 111200e4a10fd238d231d6886cddf08908da5f5c | /loops/palindrom.cpp | edf06ab0c5cf6734aa397fccdaa2a023d0c3036d | [] | no_license | pritamSarkar123/abulBariC- | 1f5b796aa2881d44561b76037253fc38b8c08642 | 00b737021855a770dd61b142a9647aa032651f35 | refs/heads/master | 2023-01-13T16:42:46.522243 | 2020-11-21T09:06:26 | 2020-11-21T09:06:26 | 272,079,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include<iostream>
using namespace std;
int main(){
int num,numcp,rev=0;
cin>>num;
numcp=num;
while(num){
int r=num%10;
rev=rev*10+r;
num/=10;
}
if(numcp==rev)
cout<<"Palindrom"<<endl;
else
cout<<"Not Palindrom"<<endl;
return 0;
} | [
"pritamsarkar84208220@gmail.com"
] | pritamsarkar84208220@gmail.com |
0d37c9fc4463866a146c99cd9f68c70b09e8a950 | 1257f7896aa8403e3f2161d1e9b00b9205e93edf | /system/System/detail/ClockTimer.hpp | 11342390c8537d75e64fa618b5cf9a78dcdfb557 | [] | no_license | el-bart/system | 94d3c24e54d2b1b24fbc1738f6de992ba06bb388 | 99e03de1db0855827d39a32328bbb5cbdc580823 | refs/heads/master | 2021-01-01T18:33:43.260419 | 2014-06-01T10:49:29 | 2014-06-01T10:49:29 | 5,328,168 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | hpp | /*
* ClockTimer.hpp
*
*/
#ifndef INCLUDE_SYSTEM_DETAIL_CLOCKTIMER_HPP_FILE
#define INCLUDE_SYSTEM_DETAIL_CLOCKTIMER_HPP_FILE
/* public header */
#include <ctime>
#include "System/ExceptionSyscallFailed.hpp"
namespace System
{
namespace detail
{
/** \brief generic timer template to be used with different clocks.... | [
"bartosz.szurgot@pwr.wroc.pl"
] | bartosz.szurgot@pwr.wroc.pl |
672a88c2acf2cf318938bef04feb93ee3ac4b2e5 | 0ae6a2d4e0102a63d80a6993f38b6d0f568d135c | /src/zmq/zmqconfig.h | d623d2be3a746887ab703081dc19d1bfece58c2b | [
"MIT"
] | permissive | BullCoin-Project/BullCoin | d1d324ed6d0efcc7c6107418a0feaa6a5ffc707b | e01c79c13d27312a64ca5943a5cbd93cfbc18482 | refs/heads/master | 2020-03-09T21:47:56.002169 | 2018-04-26T12:38:48 | 2018-04-26T12:38:48 | 129,018,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | // Copyright (c) 2014 The Bitcoin Core developers
// Copyright (c) 2017 The Bull Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BULL_ZMQ_ZMQCONFIG_H
#define BULL_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_... | [
"bullcoinproject@gmail.com"
] | bullcoinproject@gmail.com |
38f0270687d2504e60014f5e0d32bb6e1ca7e99d | 54625d36c8b9925902983fd41ac6a444d1d519a7 | /src/test/TestMakeUnique.cpp | 7b5dc786d94dac37e4fd36e35262cf0d51ddb8bc | [] | no_license | erikalds/egen | 3834eb5856778113f9bbbaf139c0f6da11e0899c | 7762071c50eca56fe92e13c1cc368219734ce583 | refs/heads/master | 2021-01-25T06:05:40.760545 | 2014-04-21T14:41:30 | 2014-04-21T14:41:30 | null | 0 | 0 | null | null | null | null | ISO-8859-15 | C++ | false | false | 2,850 | cpp | /* Source file created: 2013-05-12
logsvc - logging as a service
Copyright (C) 2013 Erik Åldstedt Sund
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | [
"erikalds@gmail.com"
] | erikalds@gmail.com |
13b0db7f9ea2f0c8364c1343a66164af6f3790dc | 3cdb62674b89360d5b03d77994e51c87045e04c3 | /FightLandlordVS/mcts_ucb.cpp | f2fc6518cf21702e612c3d9369b2908e2f352d35 | [] | no_license | ldeng-ustc/FightLandlordVS | 8ec7393c3ba708820b3e14b43df9ff565c9abb88 | 21e357b5722a2a02e211a7ce6a38d4523ed0e200 | refs/heads/master | 2020-06-06T14:24:49.911148 | 2019-06-19T15:58:52 | 2019-06-19T15:58:52 | 192,763,485 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,681 | cpp | #include "stdafx.h"
#include "mcts_ucb.h"
#include <tuple>
#include <fstream>
#include <algorithm>
const int MCTS_UCB::timeLimit = (int)(4 * CLOCKS_PER_SEC);
const double MCTS_UCB::confident = 1.96;
int tttt = 0;
MCTS_UCB::MCTS_UCB(Game game) :board(game), r(1725)
{
sumPlay = 0;
maxPlay = 0;
maxPlayWin = ... | [
"ldeng@mail.ustc.edu.cn"
] | ldeng@mail.ustc.edu.cn |
64e004ba3d00e38bfcc1c006f494c4917a26498b | 1f539a85a033ab4d027598513ecbe51375c0007b | /euler/client/status.cc | 04065d38fde78275b5763765c6893cbfbb8f54b8 | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause-Views",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | algoworker/euler | f9b95b6e9bb36558e50207e6da6c9e7c3829bfcb | 3e4b7507552a71b58251241c96959a5b55d121d3 | refs/heads/master | 2023-04-03T12:09:55.206112 | 2021-04-16T07:36:26 | 2021-04-16T07:36:26 | 296,631,078 | 0 | 0 | Apache-2.0 | 2020-09-18T13:37:08 | 2020-09-18T13:37:08 | null | UTF-8 | C++ | false | false | 828 | cc | /* Copyright 2018 Alibaba Group Holding Limited. 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 o... | [
"siran.ysr@alibaba-inc.com"
] | siran.ysr@alibaba-inc.com |
416b12f468670aaf88d23d75c67581b47d2486a2 | 24ab4757b476a29439ae9f48de3e85dc5195ea4a | /lib/magma-2.2.0/src/sgeev_m.cpp | 197e71ecfbe7a30f91c130036d834193adeb61b0 | [] | no_license | caomw/cuc_double | 6025d2005a7bfde3372ebf61cbd14e93076e274e | 99db19f7cb56c0e3345a681b2c103ab8c88e491f | refs/heads/master | 2021-01-17T05:05:07.006372 | 2017-02-10T10:29:51 | 2017-02-10T10:29:51 | 83,064,594 | 10 | 2 | null | 2017-02-24T17:09:11 | 2017-02-24T17:09:11 | null | UTF-8 | C++ | false | false | 19,314 | cpp | /*
-- MAGMA (version 2.2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2016
@generated from src/dgeev_m.cpp, normal d -> s, Sun Nov 20 20:20:26 2016
@author Stan Tomov
@author Mark Gates
*/
#include "magma... | [
"policmic@fel.cvut.cz"
] | policmic@fel.cvut.cz |
0f4e1fc15cd6fa46b1204eb484bdf7c10b6d8a79 | 5828584abf43a752a16d3b212a97b1e8ad0aeda8 | /muduo/net/http/HttpResponse.h | f457fb4c757de2b75305341f49ee255a474a4aa3 | [] | no_license | sofartogo/muduo-re | 50557a19fbb3fbfd00c4b9c265a390cbf0dfc23e | 97de917c15dcfb67e3b19397b365fd17a799618d | refs/heads/master | 2021-01-23T13:31:24.864271 | 2013-03-09T14:48:36 | 2013-03-09T14:48:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | h | /*
* =============================================================================
*
* Filename: HttpResponse.h
*
* Description:
*
* Version: 1.0
* Created: 11/14/2012 11:24:20 AM
* Revision: r1
* Compiler: gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
*
* Autho... | [
"wangwei881116@gmail.com"
] | wangwei881116@gmail.com |
fb0c87899fb7b1126d6f1158539d6ecdb6d7cde3 | 0586f62300ddb100902aced7bc999f7e80e1a4af | /Gnss_Tool/CorePlatform/CorePlatform_test/testplatform.h | 821b984157172e9a547850e0dc41af9181b21c3a | [] | no_license | FatherOctber/University-Gnss_Tool | f6a122f7fceb54ab9efea8905660608b7c9f006f | f3b2faf5f399bf99124ab64dc9ecbef368adcc63 | refs/heads/master | 2021-06-14T05:06:51.355300 | 2016-11-26T13:30:42 | 2016-11-26T13:30:42 | 72,351,349 | 0 | 2 | null | 2017-03-27T10:02:22 | 2016-10-30T13:33:01 | C++ | UTF-8 | C++ | false | false | 1,721 | h | #ifndef TESTPLATFORM_H
#define TESTPLATFORM_H
#include "coreplatform.h"
#include "QString"
using namespace PlatformModule;
#define PEN ModuleDescriptor("Pen")
#define PINEAPPLE ModuleDescriptor("Pineapple")
class AbstractTestModule: public AbstractModule
{
Q_OBJECT
protected:
QString testDataResult;
public:... | [
"nmishnev@nmishnev-l.spb.openwaygroup.com"
] | nmishnev@nmishnev-l.spb.openwaygroup.com |
d1366151c454bd46b102ea41e624e695c526b32a | 91187640b868290f72f3eaec3d841514960298c7 | /test/eastConst.cpp | 03c2b7483fb4e5d672bcbe5f6ad3e2b21980dfe1 | [] | no_license | dmpapazog/Cpp | fd0567a4e8c53d886603abd4ea6798c54b9a2338 | 2f028cbfa40b91ad9d73e3883a6f20a7bbdf60db | refs/heads/master | 2020-04-27T17:20:32.864667 | 2019-06-27T07:41:58 | 2019-06-27T07:41:58 | 174,514,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
using IntPtr = int*;
int main()
{
int a = 5;
int b = 10;
IntPtr const myPtr1 = &a;
const IntPtr const myPtr2 = &b;
*myPtr1 = 4;
*myPtr2 = 9;
cout << *myPtr1 << '\n'
<< *myPtr2 << '\n';
return EXIT_SUCCESS;
} | [
"dmpapazog@gmail.com"
] | dmpapazog@gmail.com |
7027bb9e93d6506c516c39d33d42e116c58413cb | 91a29715dd26f671dd91904618c5a435baa29d67 | /Light_node.ino | 4bfd9ce3590cdf77f37e6cccf4070adf24057344 | [] | no_license | sourabhsardesai/wireless-sensor-network-esp8266- | 9a5f29bbc86b51737bdab74ab8d421f53304d25a | 675d3f48ed8eebb4e0dda259b4740e3117aa1de1 | refs/heads/master | 2020-04-19T14:07:10.931421 | 2019-01-29T21:54:42 | 2019-01-29T21:54:42 | 168,234,320 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,617 | ino |
#include <ESP8266WiFi.h> // wifi library to access the wifi apis for esp
#include <PubSubClient.h> // mqtt client library
const char* ssid = "DesiBoys"; // ssid for wifi netwrok
const char* password = "indopakdesiboys";
byte mqtt_server[] = {35, 166, 15, 82}; ... | [
"noreply@github.com"
] | sourabhsardesai.noreply@github.com |
7ab6c1e1c3ca9526a45e0707ca589e72675620f6 | d294832cf0fba6079c46d63c61f3c4abe0d4f6ec | /sdl2/MacOSX/np2sdl2/misc/tty.cpp | f21ff1de9e4eb67126471088f9d92b0210e5af6d | [
"MIT",
"GPL-1.0-or-later"
] | permissive | meepingsnesroms/NP2kai | c48cf41d49e2a83afd217b436798f89be672275a | c7b96d0cb86685a688ee24d8f7c3cc962cfd6dd9 | refs/heads/master | 2020-12-19T10:26:58.458051 | 2020-01-23T02:10:58 | 2020-01-23T02:10:58 | 235,706,990 | 2 | 0 | MIT | 2020-01-23T02:06:51 | 2020-01-23T02:06:50 | null | UTF-8 | C++ | false | false | 6,270 | cpp | /**
* @file tty.cpp
* @brief シリアル通信クラスの動作の定義を行います
*/
#include "compiler.h"
#include "tty.h"
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <IOKit/serial/ioss.h>
/**
* コンストラクタ
*/
CTty::CTty()
: m_fd(-1)
{
}
/**
* デストラクタ
*/
CTty::~CTty()
{
C... | [
"sylph23k@gmail.com"
] | sylph23k@gmail.com |
1a7fbba4470b878f18f5f2e1ed7667b10af0e5eb | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/DeleteEndpointAccessResult.h | fe55a21eae644203d1a14d15956d91620f275b6d | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,723 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
#include <aws/redshift-serverless/model/EndpointAccess.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a1f621beb7d28e64a3d55b3eca7620ba586b1102 | 8ee5416ec56b9cc1d9ad2ce48cf690fa012c5ce4 | /PhysX.Net-3/Source/ParticleFluid.cpp | 4ad58733d9ee1a2dc10a3906a1421f92298ab9b1 | [] | no_license | HalcyonGrid/PhysX.net | a573e0ceb9153c3777e71cb9d1434c5d74589df6 | 2a4bfc7a6619091bb3be20cb058f65306e4d8bac | refs/heads/master | 2020-03-26T12:30:31.701484 | 2015-09-10T04:24:00 | 2015-09-10T04:24:00 | 144,896,344 | 3 | 2 | null | 2018-08-15T19:44:31 | 2018-08-15T19:44:30 | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include "StdAfx.h"
#include "ParticleFluid.h"
#include "ParticleFluidReadData.h"
ParticleFluid::ParticleFluid(PxParticleFluid* particleFluid, PhysX::Physics^ owner)
: ParticleBase(particleFluid, owner)
{
}
ParticleFluidReadData^ ParticleFluid::LockParticleFluidReadData()
{
return gcnew ParticleFluidReadData(this... | [
"david.daeschler@gmail.com"
] | david.daeschler@gmail.com |
ab21bc13c90d053ffeff60e51d390f799ddd49ac | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_192_squid-3.1.23.cpp | e44ac66e7658daa41c97872e0b84581fe5a39564 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | char *
fetch_credentials(ntlm_authenticate * auth, int auth_length)
{
char *p = credentials;
lstring tmp;
tmp = ntlm_fetch_string((char *) auth, auth_length, &auth->domain);
*p = '\0';
if (tmp.str == NULL)
return NULL;
memcpy(p, tmp.str, tmp.l);
p += tmp.l;
*p++ = '\\';
*p = ... | [
"993273596@qq.com"
] | 993273596@qq.com |
0b0ab1115b8350f05b0b5eccfacd717cecedf46a | 6c1c92cb647616211041c60462b754350336ed74 | /Moteur2D/GameController.cpp | 51bb1abfa8f4bd287fbc633cfdf006847f4b12d6 | [] | no_license | PoignardAzur/CarresCouleur_2 | 55aadbb6c37683df50f3bf54f208d890083bae43 | c0e0ba164091036ded58516fdef16ac8237b13f5 | refs/heads/master | 2021-01-23T12:11:06.124308 | 2016-09-15T10:26:24 | 2016-09-15T10:26:24 | 30,531,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp |
#include "GameController.hpp"
GameController::GameController(uptrt<InputsAbstraction> userInputs, sf::RenderWindow* target)
{
m_userInputs = std::move(userInputs);
m_renderWindow = target;
if (target)
m_window.reset(new ObjectDrawer(target));
}
void GameController::update(float dt)
{
if (m_us... | [
"couteaubleu@gmail.com"
] | couteaubleu@gmail.com |
16d5541ed75ffe283ffebd4629e0fbf4602c1b4e | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/pdfium/xfa/fxbarcode/datamatrix/BC_DefaultPlacement.cpp | 830df224ca93016cdd817df1d036c742e8f6a196 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 5,289 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
// Original code is licensed as follows:
/*
* Copyright 2006 Jeremias Maerki.
... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
90f29831b9325d80f49b09f314e502b7524de56b | 58fc34324e28598d208f8abc61b1e15ef9606aaf | /DemoDirectX/GameObjects/Player/PlayerFallingState.cpp | a1ec7b905bead9a6924e18a873add0383486e59c | [] | no_license | txbac98/Megaman-X3---UIT--SE102 | 2708c5827a60f4e4f5d12bdbb289166130e24b91 | 3c6b08ac6cf927ea2b47f35106ba2b111a63bc94 | refs/heads/master | 2021-10-09T07:36:41.170754 | 2018-12-23T16:30:48 | 2018-12-23T16:30:48 | 160,013,872 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | cpp | #include "PlayerFallingState.h"
#include "Player.h"
#include "../../GameDefines/GameDefine.h"
#include "../../KeyGame.h"
PlayerFallingState::PlayerFallingState(PlayerData *playerData)
{
this->mPlayerData = playerData;
acceleratorY =15.0f;
acceleratorX = 8.0f;
//vận tốc x
if (this->mPlayerData->pla... | [
"txbac196@gmail.com"
] | txbac196@gmail.com |
f5b65ebf12d7a3bd021dfa040f56db287a9ae00f | d9a7603fcce655688ce25b8937c484226cabf2da | /Lab22/r1.cpp | feaa7fe49b1c11fa97b5dd8bfe242cb5a9bfc9d3 | [
"MIT"
] | permissive | fernnlcs/CppExercises | 91da9bad12494c3348419d32dd3c08c607b9d348 | 67c7a98a2c5695c41fb85f3216979ee67e5340cf | refs/heads/master | 2022-12-06T23:04:52.014327 | 2020-08-27T05:13:41 | 2020-08-27T05:13:41 | 290,676,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include <iostream>
using namespace std;
int main() {
int x;
cout << "Digite um numero positivo ou negativo: ";
cin >> x;
cout << "O valor absoluto de " << x << " e ";
if (x >= 0)
{
cout << x;
}
else
{
cout << -x;
}
return 0;
}
| [
"fernnlcs@gmail.com"
] | fernnlcs@gmail.com |
29516e448b5ce310376c6bd60b939feb40590920 | be9f0a4e59ea93327006ab771a5bb4269c66fb5e | /Labs/Lab9/Vector3.h | c35994c55300e3501735ac483d6fc539ffb62af2 | [] | no_license | alvinquach/cs5550 | f99471b9a69d69623bb27e36848e8cffd12acb71 | bebe8023c98ae0a5adb644b7f8a34b37e9700068 | refs/heads/master | 2021-01-20T12:15:59.515816 | 2017-12-01T07:19:03 | 2017-12-01T07:19:03 | 101,705,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | h | #ifndef VECTOR3_H
#define VECTOR3_H
#include <cmath>
// Vector3
class Vector3{
public:
float x,y,z;
void set(float dx, float dy, float dz){ x = dx; y = dy; z = dz;}
//void set(Vector3& v){ x = v.x; y = v.y; z = v.z;}
void set(Vector3 v){ x = v.x; y = v.y; z = v.z;}
void flip(){x = -x; y = -y; z = -z;} // rev... | [
"alvinquach91@gmail.com"
] | alvinquach91@gmail.com |
2c58514819743f0f0b688c8f9cf357401b6598d5 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ui/views/global_media_controls/media_item_ui_legacy_cast_footer_view.cc | 71030637810017a35aafb8bf4cdcd97df7f9e3fc | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,095 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/global_media_controls/media_item_ui_legacy_cast_footer_view.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/fea... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
bd0e0e380a5a7347759c9187c7eacb0c60cab870 | 61deafb2dcf4820d46f2500d12497a89ff66e445 | /1342.cpp | 844fb3774589ee44546321ef4891ec857c0b431f | [] | no_license | Otrebus/timus | 3495f314587beade3de67890e65b6f72d53b3954 | 3a1dca43dc61b27c8f903a522743afeb69d38df2 | refs/heads/master | 2023-04-08T16:54:07.973863 | 2023-04-06T19:59:07 | 2023-04-06T19:59:07 | 38,758,841 | 72 | 40 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | cpp | /* 1342. Enterprise - http://acm.timus.ru/problem.aspx?num=1342
*
* Strategy:
* Dynamic programming where we use subsolutions for using the first n workshops making
* a total of m brooms - see comments below.
*
* Performance:
* O(NMK), with K being the maximum number of brooms any workshop can produce, runs the... | [
"otrebus@gmail.com"
] | otrebus@gmail.com |
4d14404326f5082f18582314603ae1ff3f82d037 | 78b9947ea0a6d44f4d7b27ce392476a56ee9bcd6 | /mango-library/src/epic/driver.cpp | f07e949c4c75b4489ba09f8efd25d051181aae46 | [
"MIT"
] | permissive | fengjixuchui/mango-library | 04b2f6951da06f2aeeb69eeef8a1114f12232401 | f36a69f0457ecd89266e92a12b5a4a29c66bb52a | refs/heads/master | 2020-12-27T13:38:34.538648 | 2020-08-10T03:47:33 | 2020-08-10T03:47:33 | 237,921,104 | 0 | 0 | MIT | 2020-08-10T03:47:35 | 2020-02-03T08:47:13 | null | UTF-8 | C++ | false | false | 4,039 | cpp | #include "../../include/epic/driver.h"
#include "../../include/misc/error_codes.h"
#include "../../include/misc/scope_guard.h"
namespace mango {
// open a handle to the driver
void Driver::setup(const std::string_view name, const SetupOptions& options) {
this->release();
// std::string_view **could... | [
"26609800+jonomango@users.noreply.github.com"
] | 26609800+jonomango@users.noreply.github.com |
d7d8a1dbe426e1502f48fb73b851f88db5dbd48a | a6e0e2de1c86964f5f9c0f9765d8d9a1b3da548b | /CMake/teca_platform_tests.cpp | 14c16ade539a03a2672b78b54f8388de2dd2938f | [
"BSD-3-Clause-LBNL"
] | permissive | LBL-EESA/TECA | 056b1b7859d87f8c55d2267f90c78c548826b931 | c78d39b05623fb33cc5487e038a6441ce8a44c55 | refs/heads/develop | 2023-08-31T13:44:45.918534 | 2023-07-25T15:13:03 | 2023-07-25T15:13:03 | 48,189,266 | 52 | 21 | NOASSERTION | 2023-09-11T23:51:12 | 2015-12-17T17:46:48 | C++ | UTF-8 | C++ | false | false | 569 | cpp | #ifdef CXX11_REGEX_TEST
#include <regex>
#include <string>
#include <iostream>
int main(int argc, char **argv)
{
try
{
std::string s("this subject has a submarine as a subsequence");
std::regex e("\\b(sub)([^ ]*)"); // matches words beginning by "sub"
std::smatch m;
int n_match... | [
"bloring@lbl.gov"
] | bloring@lbl.gov |
0baa91e28870b2c3580f75b0740b670529da497e | f90bec02326b0154502f05d2223c7ed4cdc75de8 | /tugasGueh.cpp | 351230121d9b60195a6f535640f59a02fe268704 | [] | no_license | ArdihamsyahJR/tugasBosque | 599352b002714be4bc5d29db9c5d1e893556c374 | 8893f955c862abcf4177a16aff3798dbff210a88 | refs/heads/master | 2021-07-05T00:12:21.463214 | 2017-09-29T07:17:44 | 2017-09-29T07:17:44 | 105,239,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | #include <iostream>
using namespace std ;
int main(){
cout <<"halo dunia" << endl ;
cout << "ini program C++ pertama saya" ;
}
| [
"32383340+ArdihamsyahJR@users.noreply.github.com"
] | 32383340+ArdihamsyahJR@users.noreply.github.com |
6e8c3826c248492fc9e7a2ee1e4949281930cfd3 | d324dafd7b383d1fccac2e6f954d2c35264d84d8 | /multigpu_graphics_attila/src/tools/Trace Viewer/DataManager.cpp | c39f630a01622d415f6399faed387c75dd4c1039 | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"MIT"
] | permissive | flair2005/Scalable-Multi-GPU-Rendering | 847efbaddd7c091c7bea20ebec1f22fcd5d80022 | 1fe0fa74cee5891424db73654551335a7fd5380c | refs/heads/main | 2023-02-06T07:57:02.429875 | 2020-12-29T01:06:10 | 2020-12-29T01:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,390 | cpp | #include "DataManager.h"
#include <windows.h>
#define MSG(title,msg) MessageBox( NULL, msg, title, MB_OK );
#define SHOWDATA_SIZE 40
#define SHOWDATA { char __buf[SHOWDATA_SIZE];\
str.readAndPutback( __buf, sizeof(__buf)-1 );\
__buf[SHOWDATA_SIZE-1] = 0;\
MSG( "buf", __buf );\
}
DataManager::SigIdentification::Si... | [
"renxiaowei66@gmail.com"
] | renxiaowei66@gmail.com |
9393f3b1a4cc261c4b5e70c960d30cb1907a840c | 26ae957a218ba65446d7013f74dc827fbd211952 | /src/M5TreeView.cpp | c47291d6ba36e8e6d93eec05c1fcc4134ff51896 | [
"MIT"
] | permissive | k1nsenka/M5Stack_TreeView | 1f6a4786213913ad998458817ee6a1f920ebc084 | 0b7fba8ada5ffc775addf1d49b645c7f5495b035 | refs/heads/master | 2022-11-11T15:30:45.806683 | 2020-06-27T14:18:59 | 2020-06-27T14:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,060 | cpp | #include <M5TreeView.h>
#include <M5PLUSEncoder.h>
#include <M5FACESEncoder.h>
#include <M5JoyStick.h>
#undef min
#include <algorithm>
void M5TreeView::begin() {
for (uint16_t i = 0; i != Items.size(); ++i) {
Items[i]->visible = true;
}
destRect.w = 0; // root item hidden
destRect.h = 0;
destRect.y = cli... | [
"42724151+lovyan03@users.noreply.github.com"
] | 42724151+lovyan03@users.noreply.github.com |
431c8161c1ec02837758f5d826b51a1969a38127 | 780dbced67262f3b104550c0ade52b2c5c411f0c | /토마토2.cpp | a569c880a447b5d4aa56ef55b26285ca2fa7a1a6 | [] | no_license | jhycj/euler | 90290a11054fe569836bdb2288af6e431397e587 | b9240bd1bed40c98223d472618534802bbaf781d | refs/heads/master | 2022-11-28T17:42:38.736750 | 2020-08-11T07:51:07 | 2020-08-11T07:51:07 | 201,714,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | #include<stdio.h>
#define INF 987654321
int n;
int m;
int h;
int map[101][101][101];
int Q[3000000];
int rear;
int front;
void bfs (void){
int i;
int dz[6] = {0, 0, 0, 0, 1, -1};
int dy[6] = {0, 1, 0, -1, 0, 0};
int dx[6] = {1, 0, -1, 0, 0, 0};
int z; int y; int x;
int tz; int ty; int tx;
... | [
"jhycj@naver.com"
] | jhycj@naver.com |
f61a560f13c820bba4c02df833b29bcce0915386 | 3afb0ea6c3001af11224ee34868e5d6876117add | /Bronze/Sorting/why did the cows cross the road 3/main.cpp | 5a475f27d6863e2d044b641de5d5bdb6d2c28697 | [] | no_license | Abdelrahman-Yehia/Usaco-Guide-Solutions | ba1c940c112fb22147167ef45a42e318d1f4ecfd | e7062b40241b23e258455806c8b5c8cf0f754622 | refs/heads/main | 2023-07-25T03:47:03.718192 | 2021-09-03T06:25:33 | 2021-09-03T06:25:33 | 370,804,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | #include <bits/stdc++.h>
#include <string>
using namespace std;
#define pb push_back
#define F first
#define S second
#define rep(i,n) for(int i = 0; i < (n); i++)
#define input freopen("input.in","r",stdin)
#define output freopen("output.out","w",stdout)
#define ordered_set tree<int, null_type,l... | [
"66071636+Akayehia@users.noreply.github.com"
] | 66071636+Akayehia@users.noreply.github.com |
ca0076a5c68aa2608bb69f0be1447768c1d5561a | ff379b7f81d8c96ff500cdeb461889506644a830 | /tinycl/rtl/tinycl_rtl_integer.cpp | 2623af9f95851041ead95b09d0bac294c5f80401 | [] | no_license | eval1749/tiny-common-lisp | 500c2bb68d32e308ccdee1041e72275edff5d0c7 | da408784dd9f5e49f7733ad8338d3c8969f41e89 | refs/heads/master | 2020-05-17T08:39:23.795312 | 2012-04-30T11:28:29 | 2012-04-30T11:28:29 | 23,464,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,805 | cpp | #include "precomp.h"
//////////////////////////////////////////////////////////////////////////////
//
// TinyCl - Runtime - Integer
// tinycl_integer.cpp
//
// Copyright (C) 1996-2008 by Project Vogue.
// Written by Yoshifumi "VOGUE" INOUE. (yosi@msn.com)
//
// @(#)$Id: //proj/evedit2/mainline/tinycl/rtl/tiny... | [
"eval1749@gmail.com"
] | eval1749@gmail.com |
bffd605e2d1af7f38cb87ce33b18eadd549f6e6b | 1d79cb04a252bfbebcb12a05f50640caa5d49c5d | /PiTwins/private/VideoPublisher.cpp | c72a8395f9fcf863e17f0749bde93a59cc57642a | [
"Apache-2.0"
] | permissive | kkroid/PiTwins | cfcdd1a3e80b22b7164aa0009e070ae6060066a3 | 26abb35cd8b41717e75d47e097a8f7f60fa06f37 | refs/heads/master | 2023-07-05T11:20:36.398683 | 2021-08-07T14:29:18 | 2021-08-07T14:40:44 | 363,006,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | //
// Created by Will Zhang on 2021/1/10.
//
#include "VideoPublisher.h"
using namespace std;
void VideoPublisher::detect(Mat &matFrame, vector<Rect> &rectFaces) {
Mat grayImg, resizedMat;
cvtColor(matFrame, grayImg, COLOR_BGR2GRAY);
int scale = 2;
resize(grayImg, resizedMat, Size(grayImg.cols / sca... | [
"will.zhang@cloudminds.com"
] | will.zhang@cloudminds.com |
7703363a9bdec8cddceac3fcab5428ec5502cb56 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/14_12019_55.cpp | 4ba45343f12ff624d445cc6a5c1cd05e520db713 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | cpp | import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static Scanner in;
public static PrintWriter out;
public static void main(String[] args) throws FileNotFoundExcep... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
253ed89771f6d2a24abdd23966f67b44a9f38e41 | 433a307109c52de00e1887e425b782f0aba25efe | /hw02-03/Logger.h | 86a855fcf0c5b43cb791b1de34f6c7f82ce0780c | [] | no_license | YeslieSnayder/pss | 7fc9d19ede51f5077cf9c1b66d2fd122e2e0252a | fcacab1b467c00d1d576996655f8d61540d9a418 | refs/heads/master | 2023-04-13T01:44:10.303830 | 2021-04-26T19:25:41 | 2021-04-26T19:25:41 | 334,693,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | //
// Created by Andrey Kuzmickiy group BS20-03.
//
#ifndef PSS_LOGGER_H
#define PSS_LOGGER_H
#include <string>
#include <iostream>
enum Type {
INFO,
WARNING,
ERROR
};
static void log(const std::string& msg) {
std::cout << msg << std::endl;
}
static void log(Type type, const std::string& msg) {
... | [
"a.kuzmickiy@innopolis.university"
] | a.kuzmickiy@innopolis.university |
1faedfe989ebf8f38c6701531640e640594cefa4 | b74575bb1f39ca20d8649b9f6286b5a6e875bd81 | /NetL/TimerQueue.h | 310838649d3dc3ecdc784aa76efd4b057f4c5b5a | [] | no_license | budongsi/NetL | 9a7cfc67e48a0d3ff0d74446a97956d2500ce410 | a2a094c80df89a12f9fcdee20374c70cd5888158 | refs/heads/master | 2023-02-25T11:40:23.352653 | 2021-01-29T11:27:24 | 2021-01-29T11:27:24 | 332,612,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,034 | h | // Copyright 2010, Shuo Chen. All rights reserved.
// http://code.google.com/p/muduo/
//
// Use of this source code is governed by a BSD-style license
// that can be found in the License file.
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//
// This is an internal header file, you should not include this.
#ifn... | [
"budongsi@users.noreply.github.com"
] | budongsi@users.noreply.github.com |
5a8aeda53fe231f324df4ddb18ad9ead46db8ef5 | f5d42d904bfd726127e6fb6a0f55b8a2dafba821 | /arbol.cpp | fb4d10be35009e0ca8f6db5f421b3f989501b9e6 | [] | no_license | H4ck-mex/Visual303 | b628d54f0532ca5be2c5a3fe34c1d6cb0f018f44 | 4ffb4e64a469d44c010383f340f10c999bbca7b8 | refs/heads/master | 2022-11-19T14:49:33.829234 | 2018-06-12T15:38:47 | 2018-06-12T15:38:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,969 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <conio.h>
using namespace std;
struct Nodo{
int dat;
Nodo *der;
Nodo *izq;
Nodo *pa;
};
Nodo *crearNodo(int);
void insNodo(Nodo *&,int,Nodo *);
Nodo *ar = NULL;
void mos(Nodo *,int);
bool busq(Nodo*,int);
void preO(Nodo *);
void inO(Nodo *);
void... | [
"fzm89502@gmail.com"
] | fzm89502@gmail.com |
7c45bfe5581aff6c05c73f01dad28dac21b399f9 | fa9fb33d857538bd27d811a5880f044a55205a59 | /10363.cpp | 7a848d742b66fc0bbc4cf8f380f6cd5f88b5b32e | [] | no_license | Mukit09/UVA_Solution | 15b7aa8c60a9aa59a7e11a8a0163bcf437917661 | b2659637fe9ecb1cdbc164f0d1172e86f71a72d7 | refs/heads/master | 2020-12-25T17:29:17.655229 | 2020-03-18T03:56:34 | 2020-03-18T03:56:34 | 28,819,638 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,507 | cpp | #include<stdio.h>
#include<string.h>
int main()
{
long i,j,t,flagx,flago,x,o,d;
char ch[5][5];
scanf("%ld",&t);
getchar();
while(t--)
{
for(i=0;i<3;i++)
scanf("%s",ch[i]);
flagx=flago=x=o=0;
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
if(ch[i][j]=='X')
x++;
else if(ch[i][j]=='O')
o++... | [
"mukitmkbs25@yahoo.com"
] | mukitmkbs25@yahoo.com |
32819c718bb771f1d1f7bb0a6ffc47f3e6f3ca44 | 87ef03375ec4a32b7defdbdb1fbd1ed8dbb4dcbd | /Hcv/CircleContourOfPix.cpp | 969e525036e58d147a71a4cdd970be087509cede | [] | no_license | Haytham-Magdi/CppLib | 192fb2008907c3d0ae2bb34bb8c066c1d86a4c6f | c8a1ba6bca656574196ba19a75c1cbdc4b829b7c | refs/heads/master | 2020-09-20T10:54:57.022052 | 2017-01-23T05:27:52 | 2017-01-23T05:27:52 | 66,259,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,972 | cpp | #include <Lib\Cpp\Common\commonLib.h>
#include <Lib\Hcv\CvIncludes.h>
#include <Lib\Hcv\Types.h>
#include <Lib\Hcv\error.h>
#include <vector>
#include <Lib\Hcv\Channel.h>
#include <Lib\Hcv\Image.h>
#include <Lib\Hcv\funcs1.h>
#include <Lib\Hcv\CircleContourOfPix.h>
namespace Hcv
{
using namespace Hcpl;
//using name... | [
"haytham.magdi@hotmail.com"
] | haytham.magdi@hotmail.com |
8e61d3779b9cf168128b330f095d764e506b475b | 9082f4c9c50acc364b46d994c20927a44b528888 | /debug/moc_cmysqlconnect.cpp | a6dd184de2c8f5422ba79d732bbdd62fc36e453c | [] | no_license | bedinin/journal | 7e7381746680e8f92bce9880ccaad85f975c5f5a | 487948194f2a9bd606301fd0f6843744a821f802 | refs/heads/master | 2021-01-15T17:45:42.885539 | 2013-04-23T11:01:22 | 2013-04-23T11:01:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,102 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'cmysqlconnect.h'
**
** Created: Sat 15. Dec 16:12:55 2012
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
********************... | [
"bedja87@mail.ru"
] | bedja87@mail.ru |
63a4174e7fddb74a71bce5e064ce2aff0bbd5873 | 4d317369bd7de599e0364e9097e50f381845e22c | /2021/Div 2/724/Programs/Omkar and Forest.cpp | 4d8483cfcf02ecad47fd35d07df0442bc2d8b5be | [] | no_license | MathProgrammer/CodeForces | 4865f0bad799c674ff9e6fde9a008b988af2aed0 | e3483c1ac4a7c81662f6a0bc8af20be69e0c0a98 | refs/heads/master | 2023-04-07T11:27:31.766011 | 2023-04-01T06:29:19 | 2023-04-01T06:29:19 | 84,833,335 | 256 | 114 | null | 2021-10-02T21:14:47 | 2017-03-13T14:02:57 | C++ | UTF-8 | C++ | false | false | 1,116 | cpp | #include <iostream>
#include <vector>
using namespace std;
long long power_mod(long long x, long long power, long long mod)
{
long long result = 1;
while(power)
{
if(power%2 == 1)
result = (result*x)%mod;
x = (x*x)%mod;
power = power >> 1;
}
... | [
"noreply@github.com"
] | MathProgrammer.noreply@github.com |
dbb4e511bdcf584aaf5f0c05c3c4441823703a74 | 8cb90f14f3e220f40ae7d6445144430ef6c06a6b | /ClassWeapon.cpp | b701d1685165d2badc7ebf020444627fe3fe4f43 | [] | no_license | michael-hentz/5by5-Text-RPG | f1f7e3a514f36bbfbc292a059a5dc42e1651a952 | 7232dc8bb80af1e43bdc0c8c5ba46afb94283d85 | refs/heads/master | 2022-07-21T22:19:29.023467 | 2020-05-15T23:35:09 | 2020-05-15T23:35:09 | 262,882,335 | 0 | 0 | null | 2020-05-15T23:35:11 | 2020-05-10T21:54:10 | null | UTF-8 | C++ | false | false | 156 | cpp | class weapon {
public:
weapon();
void setDamage();
void getDamage();
private:
};
weapon::weapon();
void weapon::setDamage();
void weapon::getDamage(); | [
"mthe229@uky.edu"
] | mthe229@uky.edu |
cee40cac4e44115fecf01906528b4ab4465c57cd | 1807dd1092eb33fd5fba9b899bd82db11021cf2d | /dtn/main.cpp | e4ad6b6d4537ed517ad305b6cf8e2f7eab761c9d | [] | no_license | Hansonlet/stk | 6fa36478cbb85ae46d1e88d6e9dadf2b2566bf04 | ff47d33b7209f5c486de264de67857066d2d864a | refs/heads/master | 2023-05-31T10:43:28.422985 | 2021-06-24T11:07:34 | 2021-06-24T11:07:44 | 352,234,744 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,169 | cpp | #include "load_file.h"
#include "settings.h"
void
Caculate_SendRate() {
//卫星带宽初始化
for (int i = moon_Node_Num; i < sum_Num - 1; ++i) {
SENDRATE[i] = TOTAL_BANDWIDTH;
}
int ship_connects[sum_Num];
memset(ship_connects, 0, sum_Num * sizeof(int));
//分配飞船发送带宽,并减去相应卫星带宽余量
for (int i = moon_Surface_Num; i < moon_Nod... | [
"bit_xzh@163.com"
] | bit_xzh@163.com |
34e257004bad7d2e8572a9ce7c473516a59795cb | 3bc68cf9e67e65754819694a9df2086d9569d749 | /src/qt/sendcoinsentry.cpp | 319c1ef3e176e068d6e7165f0f2f43903865c8e3 | [
"MIT"
] | permissive | white92d15b7/NLX | 72d7b7e2cb02b69563b332730ad9cc992db1428d | ba6f0c9dd317318b8bb57869d2d975ed09513de4 | refs/heads/master | 2021-06-17T10:36:42.492008 | 2019-08-22T13:08:43 | 2019-08-22T13:08:43 | 139,143,185 | 2 | 12 | MIT | 2019-06-13T22:01:11 | 2018-06-29T11:49:19 | C++ | UTF-8 | C++ | false | false | 7,435 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2019 The NulleX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/... | [
"partridget9@gmail.com"
] | partridget9@gmail.com |
f446aceaa428f3a761c0793b86403553391d2bf3 | 19950efb36b2dfdfdb37af60410452895a4ca627 | /Fibonacci/FibThreeNumbers/Fib3/main.cpp | 2ca0f55d050d1712b241382c21f74dc0cc9a5b5d | [] | no_license | Obrubok/Algorithms | 3067b0639fe3d4b2f8572f2e8b1a5d6a63d6e355 | 47511b09ee64c3f5f8ac892555bcee256ef32699 | refs/heads/main | 2023-03-24T10:24:09.523908 | 2021-03-20T00:03:47 | 2021-03-20T00:03:47 | 349,583,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | #include <iostream>
using namespace std;
int Fib3(int n);
int FibLastDigit(int n);
int main()
{
int n;
cout << "Введите номер числа Фибоначчи: ";
cin >> n;
cout << n << " число Фибоначчи = " << Fib3(n) << endl;
cout << "Последняя цифра " << n << " числа Фибоначчи: " << FibLastDigit(n) << endl;
... | [
"AlexeyShv992@gmail.com"
] | AlexeyShv992@gmail.com |
19ca7fe5908fbfc3491205e7ef72e6cc5ef5641f | 12c608d9290d624263e8e0f30208943f4a503e78 | /Lights/PointLight.h | fe798cd58bf54d5f5542ad5b0da25b4454b2ec3f | [] | no_license | lwfitzgerald/raytracer | 430fb68b167a93f165412462e66135818a013bf9 | 64d15fabf7eaadde8bd9e72e0e470051dec49c7e | refs/heads/master | 2021-05-29T16:33:21.722132 | 2012-04-24T01:14:55 | 2012-04-24T01:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | h | #ifndef POINTLIGHT_H_
#define POINTLIGHT_H_
#include "Light.h"
#include "../Utils/Point3.h"
namespace Raytracer {
class PointLight: public Light {
public:
PointLight();
/**
* Construct a Point Light from an istringstream
*/
PointLight(std::istringstream& iss);
... | [
"lw.fitzgerald@gmail.com"
] | lw.fitzgerald@gmail.com |
03d7b1af3381918ad09d6a3482ad3fc4030b4d2e | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cwp/include/tencentcloud/cwp/v20180228/model/CheckBashRuleParamsRequest.h | 9543e0612326b7f64ba1f592ea585481bf091f66 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 6,792 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
774474f6153ebe1ca5745b1f9e876bd545d2eb46 | 1f6824a64c3cc6b0827b55f24079edc23ed6bc2b | /Plugins/VoxelFree/Intermediate/Build/Win64/UE4Editor/Inc/VoxelEditorDefault/VoxelEditorDefault.init.gen.cpp | 0c8d5105e10a2fa280f9ab52df4dd5f39ecf8abe | [
"MIT"
] | permissive | lineCode/Woodlands | bb330644567c92e041e4da3d5d80326755c370c5 | 9e99f948543ad3f8f0eead691eddb4125da272f5 | refs/heads/master | 2023-04-15T13:56:45.978505 | 2021-04-19T04:30:44 | 2021-04-19T04:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"Mattrb_99@ymail.com"
] | Mattrb_99@ymail.com |
ae81eef0e34744b12f3bc67b3fa351f8c4812aa4 | 8edde9d2e5cea812b4b3db859d2202d0a65cb800 | /Documentation/Code/Engine/Graphics/GrModelNode.cpp | 6e84e27c81322846ceaf3146cae94c9c9b303513 | [
"MIT"
] | permissive | shawwn/bootstrap | 751cb00175933f91a2e5695d99373fca46a0778e | 39742d2a4b7d1ab0444d9129152252dfcfb4d41b | refs/heads/master | 2023-04-09T20:41:05.034596 | 2023-03-28T17:43:50 | 2023-03-28T17:43:50 | 130,915,922 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 12,930 | cpp | //----------------------------------------------------------
//! File: GrModelNode.cpp
//! Author: Kevin Bray
//! Created: 04-02-06
//! Copyright © 2004 Bootstrap Studios. All rights reserved.
//----------------------------------------------------------
#include "graphics_afx.h"
//! class header.
#include "GrModel... | [
"shawnpresser@gmail.com"
] | shawnpresser@gmail.com |
db6d9f59ceb3d0535b00dd62b20a01e1e6271586 | 1461cce7c69e7391bc8c4c6bcccc9402bbb2ba12 | /MinimumCostOfTickets.cpp | 3b778472e79cc8dc709540e50791b8fe246c7e06 | [] | no_license | Kharanshu31/August-Leetcode | c296ec4e56ac72ac15a82dcf127316000c345bd8 | 444502e03facd89675442da338f23dfa0bc5f5ae | refs/heads/master | 2022-12-14T23:47:55.183717 | 2020-09-07T09:53:40 | 2020-09-07T09:53:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | class Solution {
public:
int mincostTickets(vector<int>& days, vector<int>& costs) {
map<int,int>m;
for(int i=0;i<days.size();i++)
m[days[i]]++;
int dp[366];
dp[0]=0;
for(int i=1;i<=365;i++)
{
if(!m.count(i))... | [
"noreply@github.com"
] | Kharanshu31.noreply@github.com |
2cf2e815cc3f789dd1222a294f20e99c372b0690 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/printscan/inc/psutil/cntutils.inl | 8d440ba696dd9577401752c4f43dcc3edbc9e1fa | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | inl | /*****************************************************************************
*
* (C) COPYRIGHT MICROSOFT CORPORATION, 2000
*
* TITLE: cntutils.inl
*
* VERSION: 1.0
*
* AUTHOR: LazarI
*
* DATE: 23-Dec-2000
*
* DESCRIPTION: Containers and algorithms utility templates (Impl.)
*
... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
6ae5420952f9474de2d8c9e87730b8b46260e329 | fbb231cebffddbb9cd2d87d754d775e840c18d8d | /uva/11466.cpp | 4681ecf0037e6c4b0ca391e9c50d943663c17532 | [] | no_license | Pkataki/Problem_Solving | ae6b1c8334436d25388f2ec460ed07200a1db23e | abdd7f04f1fee46025036b5594e9d0ca3ec07907 | refs/heads/master | 2021-10-11T13:02:22.351252 | 2019-01-26T01:16:47 | 2019-01-26T01:16:47 | 112,233,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include<bits/stdc++.h>
using namespace std;
main()
{
ios_base::sync_with_stdio(0);
int n;
while(cin >> n && n)
{
int cont = 0;
int ans = -1;
if(n < 0)
n *= -1;
for(int i = 2; i*i <= n && n != 1; i++)
{
while(n % i == 0)
{
ans = i;
n /= i;
}
if(ans == i)
cont++;
}
if(n != 1 ... | [
"paulogkataki@hotmail.com"
] | paulogkataki@hotmail.com |
883929040e72f53e651dc1112d5d76fd0755a92c | d8aa7ddfbec886b243cd59a9c6e3c7df3c9d5f14 | /dlib/config_reader/config_reader_thread_safe_abstract.h | dd49b63798d894bba78b54f3785c6560400dc0e9 | [
"BSD-2-Clause",
"BSL-1.0"
] | permissive | loran4d/mud | 64e0840bc707141caeb16f8cb2dddb018e1fac27 | 2e0bbae7e4ca242f075f2b31b41a3856ad8469dd | refs/heads/main | 2023-08-22T00:19:46.136790 | 2021-11-01T21:31:03 | 2021-11-01T21:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | h | // Copyright (C) 2007 Davis E. King (davisking@users.sourceforge.net)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_CONFIG_READER_THREAD_SAFe_ABSTRACT_
#ifdef DLIB_CONFIG_READER_THREAD_SAFe_ABSTRACT_
#include <string>
#include <iosfwd>
#include "config_reader_kernel_abstract.h... | [
"game-source@254f5b4c-bdf4-4503-907e-934c7b59e499"
] | game-source@254f5b4c-bdf4-4503-907e-934c7b59e499 |
908f7b92f45b2f0727834fa87e637f8e1316ecc3 | f332d14232eeeded179ce8f0a146eeb950c80502 | /admin.cpp | fbb68a93f70c3f7bbcbb6692e9166144dfd5ffc9 | [] | no_license | Wassim-Aloui/Smart_Cinema | 6033f14d0d812bedc4fddf454f724356064c693c | 5a24ad7578095995e383459ee897224bd2bc979f | refs/heads/main | 2023-04-13T21:29:35.292092 | 2021-01-11T18:40:54 | 2021-01-11T18:40:54 | 314,878,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,597 | cpp | #include "admin.h"
#include <QSqlQuery>
Admin::Admin()
{
id=0;
nom="";
prenom="";
username="";
password="";
}
Admin::Admin(int id,QString nom,QString prenom,QString username,QString password )
{
this->id=id;
this->nom=nom;
this->prenom=prenom;
this->username=username;
this->pass... | [
"wassim.aloui@esprit.tn"
] | wassim.aloui@esprit.tn |
16e1c7bbd3f721a10b2166c9eaac26c78876cb17 | da8f609c1d4cbc892b8772623f31b2c0ea57fe91 | /Algorithm/pat/1019 质因数.cpp | 44efde3cf4384e57a4aaf1e5647ac68f71cfa02c | [] | no_license | Nillouise/Algorithm | a92407bd2877d494af1aed99cd8ee063d4ce8cb8 | c52a7c4ced42adb2cf961c147037ba84490bacba | refs/heads/master | 2020-06-15T11:18:21.628395 | 2018-07-28T15:54:16 | 2018-07-28T15:54:16 | 75,299,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | //这种题目要考虑1才行
//这么枚举会超时是因为,最多只需要枚举到i*i,防止因为输入的数是质数导致的超时,这是很重要的!!
#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
int main()
{
freopen("input.txt","r",stdin);//
ios::sync_with_stdio(false);
LL n;
cin>>n;
LL t = n;
map<LL,int> but;
while(t%2==0)
{
but[2]++;
... | [
"noreply@github.com"
] | Nillouise.noreply@github.com |
a29d9936baec604489003c4bd65f426ad7d409fa | fb6b653d2f1676b40ab75443edc2a3187cf00606 | /Chapter18/exercises/18.27/Employee.cpp | 9150bcce0a4e6875ea7516483e5547f79d02afce | [] | no_license | wenjing219/Cpp-How-To-Program-9E | 4cd923de658a90f3d3bfd0e4c0b3e8505d3a8472 | 8a6e2d1bc84e94fc598e258b9b151aa40895b21e | refs/heads/master | 2021-01-22T22:16:24.824817 | 2017-03-14T22:14:40 | 2017-03-14T22:14:40 | 85,525,193 | 2 | 0 | null | 2017-03-20T02:04:41 | 2017-03-20T02:04:41 | null | UTF-8 | C++ | false | false | 2,199 | cpp | /*
* =====================================================================================
*
* Filename: Employee.cpp
*
* Description: Exercise 18.27 - Enhanced Employee Class
* Note: No definitions are given for pure virtual functions.
*
* Version: 1.0
* Created: 12... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
dfd4f132b8ecefefb3a86b9dab37fdaacdd6903f | a2c54f793b1b6858964e009e43be30dd5db8d55c | /GLProject/GLProject/Main.cpp | 766033940c007a2408d467d838a7282ffab35632 | [] | no_license | darkisu/GLProject | 745535c021580257cb473e33c57d81ba0f5a903a | 9e24a08562999e6b780c57017e68ebfb21597fae | refs/heads/master | 2020-12-24T07:41:23.179767 | 2017-07-10T16:46:55 | 2017-07-10T16:46:55 | 56,425,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,131 | cpp | #define _USE_MATH_DEFINES
#include <cmath>
// Custom Class Includes
#include "Scene.h"
#include "Camera.h"
#include "TextureShower.h"
#include "DeferredRenderer.h"
#include "ReflectiveShadowMap.h"
#include "LPV.h"
// GL Includes
#include <GLEW\glew.h>
#include <GLFW\glfw3.h>
#include <glm/glm.hpp>
#include... | [
"darkisu@hotmail.com.tw"
] | darkisu@hotmail.com.tw |
282a9e8de7076a4dd120e453b55d06fc0e8cd13c | 2aecf6a8df0003d370a1854483d5a9069dc644f4 | /SecondSemester/Lab 1.5/TaskC/main.cpp | 136f87208261a51244a2ad718928ae92bb0ba71a | [] | no_license | Ckefy/Algorithm-and-data-structure | 9fe040f97813080ae4704669b4e36cec09c649dc | 8855787a21d3c0605ed0794e72139dcceb455e17 | refs/heads/master | 2020-12-10T19:26:41.836887 | 2020-01-13T20:53:56 | 2020-01-13T20:53:56 | 233,687,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,798 | cpp | #include <bits/stdc++.h>
#define ll int
using namespace std;
vector < pair < ll, pair < ll, ll > > > pool;
struct node {
node *l, *r, *parent;
ll key, prior, number;
node(){}
node (ll key, ll prior, ll number) : l(nullptr), r(nullptr), parent(nullptr), key (key), prior (prior), number (number){};
};
... | [
"lukonin004@gmail.com"
] | lukonin004@gmail.com |
9db1a2c96bd4d1264d91ef758b4f64e7af4c32b7 | 99beb1671fb9be42eab32db26769dfd2e7edf883 | /PPD/exam-projects/BigNumbersMultiplication/BigNumbersMultiplication/BigNumbersMultiplication.cpp | 66de81bee749ae848bdc9d0bc956f532868fa3ec | [] | no_license | ioanajoj/Semester-5 | 079f072d71d38e4028320e1e94ceefeabc1dedcc | ab7385aad851e3dab19bcda6d73d3025d9521f99 | refs/heads/master | 2023-01-07T18:21:51.118180 | 2020-02-05T22:13:58 | 2020-02-05T22:13:58 | 216,260,489 | 1 | 1 | null | 2023-01-05T06:33:32 | 2019-10-19T19:36:13 | Java | UTF-8 | C++ | false | false | 1,691 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <thread>
#include <mutex>
using namespace std;
mutex mtx;
vector< pair<int, int> > splitWorkload(int n, int t) {
vector< pair<int, int> > intervals;
int index = 0;
int step = n / t;
int mod = n % t;
while (index < n) {
intervals.push_back(pair<... | [
"ioanna.gheorghiu@gmail.com"
] | ioanna.gheorghiu@gmail.com |
0e1eb86c85a4f4817d520339d800f280a3c04b0f | 4f91cb25e5bce06baeac70d0236e408a05608e5c | /C++/MP_V6/Application de gestion de réservation du vol/ui_gestionvoyageur_dialog.h | dffb2e9b7034b240e66f148a8c3cb03867fae1c1 | [] | no_license | sabri97/ShareWorks | 6987f768f77dbffabe0af7be484e7ef76573abbe | f5023957e02f2ecaaef652852f14822fcd36aa7a | refs/heads/main | 2023-04-04T00:42:02.625791 | 2021-04-11T14:50:10 | 2021-04-11T14:50:10 | 348,349,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,613 | h | /********************************************************************************
** Form generated from reading UI file 'gestionvoyageur_dialog.ui'
**
** Created by: Qt User Interface Compiler version 5.2.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************... | [
"65515091+louaykaddoudi@users.noreply.github.com"
] | 65515091+louaykaddoudi@users.noreply.github.com |
4ff9230199b83924f7f2dc00a71ef21015bdbee9 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tke/include/tencentcloud/tke/v20180525/model/ECMRunMonitorServiceEnabled.h | d3658ad51e61957d67b80f3220bab91a5fc33fb8 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,743 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
5875b34bdac7ed08ecd41adc7a3fa88595335129 | d6670dc97e3d178668a30550d322e0efc52f2d97 | /facerecognitionlibrary/jni-build/jni/include/tensorflow/core/common_runtime/direct_session_test.cc | c8b8a09b8e86deacf161c4867ed6fcaf277df118 | [
"Apache-2.0",
"MIT",
"BSD-2-Clause-Views",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | ikaee/bfr-attendant | e31bc938aca1e247b05c369672cef0eda0fbbafe | 15e5a00d0dcb39b2903988658e3424b19bbc5a9f | refs/heads/master | 2022-12-23T22:05:23.132514 | 2017-05-14T10:56:02 | 2017-05-14T10:56:02 | 91,233,258 | 0 | 1 | Apache-2.0 | 2022-12-13T03:38:36 | 2017-05-14T09:33:29 | C++ | UTF-8 | C++ | false | false | 41,420 | cc | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"rohin.patel@springernature.com"
] | rohin.patel@springernature.com |
3c8774eb8dd87079414b0ad981e1e7e299c01d49 | 51e86aa676da19a0df3eaf2781032420f31771ef | /TextUI/TextUI.h | bdd854484d7a6da3454ac83298f42644c6863ff5 | [] | no_license | phamthihong/main | e1679aead14f660013e695e370ac629a24482d51 | 44a8b87468879245020fe442ac7d4f8428c96b68 | refs/heads/master | 2021-01-18T17:05:27.318138 | 2015-03-12T13:04:49 | 2015-03-12T13:04:49 | 31,930,048 | 0 | 0 | null | 2015-03-12T13:04:49 | 2015-03-10T00:27:56 | C++ | UTF-8 | C++ | false | false | 865 | h | #pragma once
#include <string>
#include "UIObject.h"
class TextUI
{
private:
static const std::string WELCOME_MSG;
static const std::string HELP_MSG;
static const std::string UNSCHEDULED_DATE_BAR;
static std::string QUALIFIER_DATE_BAR;
static std::string DEFAULT_DATE_BAR;
static struct tm convertToLocalTime(... | [
"seow.yanyi@gmail.com"
] | seow.yanyi@gmail.com |
71c37fb6c4e8785dd27a69de9c47f98b9dab8051 | 092237674abcb399129d17aa1c25377a42e94e9d | /hacker-rank/sorting/running-time-of-quicksort.cpp | 306869e6beac4e619085fd8bcd0dd257a16dccd0 | [] | no_license | strncat/competitive-programming | aa4879b9efe422c5bdc7af973a93d05831d0f162 | 988c6e1ecb5e33609f710ea82f149547ed3b8d10 | refs/heads/master | 2021-07-25T03:17:31.442962 | 2020-05-26T04:05:49 | 2020-05-26T04:05:49 | 21,086,298 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | //
// main.cpp
// quick
//
// Created by Fatima B on 12/25/15.
// Copyright © 2015 Fatima B. All rights reserved.
//
#include <iostream>
void print(int *a, int n) {
for (int i = 0; i < n; i++) {
printf("%d ", a[i]);
}
printf("\n");
}
void swap(int *a, int *b) {
int temp = *a;
*a = *b;... | [
"strncat"
] | strncat |
5823929b4de68a6d690876a3e0927c28cc631964 | 5082b479efeba0cc734563d9ac6a7c9fb25d217f | /strings/sortedchar_frequency.cpp | b0dc902c395ff49eb0d06adc26cbec96ac506eeb | [] | no_license | debanga/Data-Structures-and-Algorithms | fa299ab4da0992b09d6b08a5e15d34eba2b0b934 | 6a5195a2be12d43d677e00f2eadf3fe7294c2b03 | refs/heads/master | 2023-05-25T08:48:35.850631 | 2021-06-07T10:51:03 | 2021-06-07T10:51:03 | 293,933,263 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include <iostream>
#include <string>
using namespace std;
void sortedchar_frequency(string s) {
int n = s.size();
int arr[26] = {0};
for (int i=0; i<n; ++i) {
arr[s[i]-97]++;
}
for (int i=0; i<26; ++i) {
if (arr[i]!=0) {
cout << char(i+97) << " " << arr[i] << endl;
... | [
"noreply@github.com"
] | debanga.noreply@github.com |
f87e9519f54adc9a5f07287b459373d0d7ba28d4 | 2f2650332e65e3fe20ca3bccafb34bef0eb59534 | /DLL/LMain.cpp | fb34d445c220410f3ce39c5b35396beb0b5d6d04 | [] | no_license | Satkarni/CDAC | e45718a23315a26bbc3a0848824218a867c7145c | 0610632dfd244ce77fe70c987ebca3138f4264a4 | refs/heads/master | 2021-07-21T23:13:50.120053 | 2017-10-31T14:21:43 | 2017-10-31T14:21:43 | 103,081,457 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,099 | cpp | #include"LinkedList.cpp"
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
int choice;
LinkedList<int> objList;
do
{
system("clear");
cout<<"\n *********MENU************";
cout<<"\n 1. Add at beginning";
cout<<"\n 2. Add at end";
cout<<"\n 3. Delete from beginning";
cout<<"\n 4. Delete from end"... | [
"blahblah@rediff.com"
] | blahblah@rediff.com |
64bc312a858c7ff5f9f1338b83a1250e36298759 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /tools/clang/include/clang/Basic/BuiltinsAArch64.def | 0869b87e32fb9281b0990977da24dfe27a74afc6 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 16,124 | def | //==- BuiltinsAArch64.def - AArch64 Builtin function database ----*- C++ -*-==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
5ee0730a0d618007a080e3913949cad9edabb864 | 00dba6a26b5f18ed26fc8277f51bcb12d44c79df | /cpp/system_modules/concrete_modules/linux/exceptions/socket_close_exception.h | 945b3317d48b3f163b30ddba33eb9dee78258d3d | [] | no_license | trevorassaf/network | 15bb1d4d3e2d7a38fb80e0282a2136d1f31c21f4 | ae6ebf502b3d58ec3bad431337e9d2062aa0207c | refs/heads/master | 2021-01-18T15:14:30.807755 | 2015-08-07T00:36:59 | 2015-08-07T00:36:59 | 38,270,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | h | #pragma once
#include <exceptions/network_exception.h>
#include <string>
namespace Network {
namespace Linux {
class SocketCloseException : public Network::NetworkException {
private:
static const int ERROR_CODE;
const std::string getErrorString(int error_number);
public:
... | [
"trevor.assaf@gmail.com"
] | trevor.assaf@gmail.com |
93464da6d3a4d592f86163235f5f864e3833ff1e | a4ace471f3a34bfe7bd9aa57470aaa6e131012a9 | /LeetCode/101_Symmetric-Tree/101_Symmetric-Tree.cpp | 4d8ee32f410449b96f96ebbcab440ba18677fb72 | [] | no_license | luqian2017/Algorithm | 52beca787056e8418f74d383f4ea697f5f8934b7 | 17f281fb1400f165b4c5f8bdd3e0500f6c765b45 | refs/heads/master | 2023-08-17T05:37:14.886220 | 2023-08-08T06:10:28 | 2023-08-08T06:10:28 | 143,100,735 | 1 | 3 | null | 2020-10-19T07:05:21 | 2018-08-01T03:45:48 | C++ | UTF-8 | C++ | false | false | 815 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"luqian.ncsu@gmail.com"
] | luqian.ncsu@gmail.com |
5bedddb44fbac107fb6ecc468e95288a4abaa6c6 | 8402b846cd8f86034d16d72809a1483c603a9019 | /XSY/3282.cpp | 0fde919c42a6928a6b9553f80bf6d7706b05db70 | [] | no_license | syniox/Online_Judge_solutions | 6f0f3b5603c5e621f72cb1c8952ffbcbb94e3ea6 | c4265f23823e7f1c87141f5a7429b8e55e906ac6 | refs/heads/master | 2021-08-29T05:40:06.071468 | 2021-08-28T03:05:28 | 2021-08-28T03:05:28 | 136,417,266 | 2 | 3 | null | 2018-06-10T09:33:57 | 2018-06-07T03:31:17 | C++ | UTF-8 | C++ | false | false | 1,375 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
typedef long long lint;
const int N=1e5+5;
int n,hx[N];
struct data{
int id,v;
bool operator < (const data &b) const {
return v==b.v?id<b.id:v<b.v;
}
};
inline int nxi(){
int x=0;
char c;
while((c=getchar())>'9'||c<'0');
while(x=x*1... | [
"noreply@github.com"
] | syniox.noreply@github.com |
863fc0bfc044c8e922c882a0e3fb7a91d6db40d2 | 0453ffb96e2c233fb04bb78e59ee70d1e66c22a3 | /tree/construct-binary-search-tree-from-preorder-traversal.cpp | da281fdbf4cce88999b6a15c0d40fedea6451f76 | [] | no_license | rakshith53/LeetCode-Solution | 4f8f08283610c54bf61135d16befad1c264eb054 | bba00e9314b4ad36f1831387a9f9fab802562b8b | refs/heads/main | 2023-02-15T14:13:04.870369 | 2021-01-13T08:15:38 | 2021-01-13T08:15:38 | 325,224,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int i = 0 ;
TreeNode* bstFromPreorder(vector<int>& preorder,int max=INT_MAX) {
if(i... | [
"noreply@github.com"
] | rakshith53.noreply@github.com |
3137fbbd824ea24b7d29fe179ddb294350b57b93 | c9c10e24fb4e599c347e8f2d73a44941e4b31204 | /src/GSvar/SmallVariantSearchWidget.h | fe1c046c559780056d20df62c58ed509a9035630 | [
"MIT"
] | permissive | guoyuh/ngs-bits | ed890c69da887961c859ad55b0c44412bd3a0897 | 47a09337ebbcdc6cde8b469d47e8f4c232c5f1b0 | refs/heads/master | 2023-08-12T04:33:25.495986 | 2021-10-12T06:25:36 | 2021-10-12T06:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h | #ifndef SmallVariantSearchWidget_H
#define SmallVariantSearchWidget_H
#include <QWidget>
#include "ui_SmallVariantSearchWidget.h"
#include "Chromosome.h"
#include "GeneSet.h"
#include "VariantList.h"
class SmallVariantSearchWidget
: public QWidget
{
Q_OBJECT
public:
SmallVariantSearchWidget(QWidget* parent = 0);
... | [
"marc.sturm@med.uni-tuebingen.de"
] | marc.sturm@med.uni-tuebingen.de |
8784830c46bceb0ce28d3667d7a5d26906c7ec77 | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/Argent_AIController_BP_classes.h | b042025563d0307f0f8a6ebe33a479bdb82cc17b | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | h | #pragma once
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Argent_AIC... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
8b908f2fc593a50b6fa5e60f8d69bf7208450e3c | c3a440f6e9fae7c7ccc78361e4de5cefd4e621e5 | /data structures 2017/201712shixi/test2/mapsrc/Map.h | 4dca58c2b22cbfbb57d253988e70696fc94c5e9c | [] | no_license | rex0yt/MyCods | 29a48e0b42b08645a96f8e9f2ea47db3ed96a783 | cf29fc1678b38a150c73ee9a2c5cd91ea3f08afe | refs/heads/master | 2021-01-23T04:33:58.000147 | 2018-01-05T07:01:59 | 2018-01-05T07:01:59 | 86,209,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,536 | h | #ifndef MAP_H_INCLUDED
#define MAP_H_INCLUDED
using namespace std;
#include <vector>
#include <iostream>
#include "mapsrc/Person.h"
#include "mapsrc/Relation.h"
#include "mapsrc/IO.h"
#define MAXVERTICES (10000)
//邻接链表的边类型
template <class T>
struct Edge
{
int dest;
int cost;
Edge<T> *link;
Edge() {}
Edge(... | [
"yt1290401516@outlook.com"
] | yt1290401516@outlook.com |
fa5062aef9147cd58bec1d8b62b333bcf4a88385 | 82d483e0a15b3d39adbc945e7a78d3632c9b7d15 | /GraphTheory/Dijkstra/DijkstraPQ.cpp | 4716af001f3ffe640f9b638850d36fd964717e2a | [] | no_license | PandeyAditya14/APS2020 | 18dfb3f1ef48f27a0b50c1184c3749eab25e2a1a | d0f69b56de5656732aff547a88a7c79a77bcf6b1 | refs/heads/master | 2022-08-10T13:40:13.119026 | 2022-08-01T03:22:37 | 2022-08-01T03:22:37 | 236,135,975 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | cpp | /**
* @file DijkstraPQ.cpp
* @author Aditya Kumar Pandey (aditya141199@gmail.com)
* @brief This is the priority queue implementation of Dijkstra algo
* @version 0.1
* @date 2020-07-07
*
* @copyright Copyright (c) 2020
*
*/
#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> ii;
const int INF ... | [
"aditya141199@gmail.cm"
] | aditya141199@gmail.cm |
3622f61cecfa33f7f97f9267e10acc5f1099a71e | 3edba00beb1d1f84778a73b13334622423be6dfc | /Thuật toán ứng dụng/ADDMOD/main.cpp | c55b622644b23a6e88ec68159ca4fb0d8763c685 | [] | no_license | tranha31/TTUD | 616261fbdb6b68c05f535ff96e2d729231ba8b70 | e68bbb6f19703fe9ed889365b147e730c960d842 | refs/heads/main | 2023-03-27T06:27:24.054329 | 2021-03-29T01:43:04 | 2021-03-29T01:43:04 | 350,740,290 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main()
{
unsigned long long a, b;
cin >> a;
cin >> b;
if(a%1000000007+b%1000000007 < 1000000007)
{
cout << (a%1000000007+b%1000000007);
}
else
{
cout << (a%1000000007+b%1000000007 - 1000000... | [
"tranquangha31082000@gmail.com"
] | tranquangha31082000@gmail.com |
25f7668e8d08578d9a642b46ce8abd2a50202f9f | ff4a3815a179cc92668c841ed093f8c47eda334c | /cnf-sat-vc.hpp | b8e18d50b344655a4b3c4160b8926aa4d8f79e93 | [] | no_license | adkulas/Intersection-Camera-Optimizer | 96cf5b76bb4d58d9b59f7bfc114833683486c9f4 | 170bf4adc43fae369c98c1a073b274c43671a041 | refs/heads/master | 2020-04-09T01:13:39.968811 | 2018-12-10T04:17:31 | 2018-12-10T04:17:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | hpp | #pragma once
#include <iostream>
#include <vector>
#include <minisat/core/SolverTypes.h>
#include <minisat/core/Solver.h>
std::string print_vector(std::vector<int> result_paths);
class VertexCover {
private:
int vertices;
std::vector< std::pair<int,int> > edges;
Minisat::Var toVar(int row, int column, in... | [
"adam.kulas1@gmail.com"
] | adam.kulas1@gmail.com |
01b2051c5bc31401462ee42c5a6296913a4e48f1 | 5a63bd6870346aa6593233b990303e743cdb8861 | /SDK/BP_QuickAccesPoint_Trapshot_classes.h | f17723ee8cd251c158100bf93897cd4aaec8d687 | [] | no_license | zH4x-SDK/zBlazingSails-SDK | dc486c4893a8aa14f760bdeff51cea11ff1838b5 | 5e6d42df14ac57fb934ec0dabbca88d495db46dd | refs/heads/main | 2023-07-10T12:34:06.824910 | 2021-08-27T13:42:23 | 2021-08-27T13:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | h | #pragma once
// Name: BS, Version: 1.536.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_QuickAccesPo... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
cc258861b6004ad269053fe9fa359f1cf91c2136 | c82478b4c2be2d9c76ddb44239c2602d6e1f7aaf | /NAKGe/NaGeGeometry2D.h | e9170f0f4fe017080c1774184f45fc68a66e72c3 | [] | no_license | cybaj/NAK | 8b6d66c87b2cf7461b4868f6abcb766b42f8b248 | bff483f3466a82dbe52b3a283c5eeb55b9936944 | refs/heads/master | 2016-08-11T14:21:50.108499 | 2015-11-30T10:05:51 | 2015-11-30T10:05:51 | 45,076,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | h |
/***************************************************************************
* NaGeGeometry2D.h
****************************************************************************/
#ifndef _GEOMETRY2D_H
#define _GEOMETRY2D_H
#ifdef NAKGE_EXPORTS
#define NAKGE_API __declspec(dllexport)
#else
#define NAKGE_API ... | [
"arx119@empas.com"
] | arx119@empas.com |
40d3092bf94ed08b0cf8c2662b711085b15b87b8 | 54f15d265bfbf070bc36e0bdc2c4f705093580b4 | /threadPoolDemo/threadqueue.h | 5cbe13be1ff21bcbe0109c0e2b79c68e11a29c88 | [] | no_license | zhaoyujie199196/threadPoolDemo | bc1350d371bf18283b1d56ebd22aaa0646a9bd5e | d10f9fb6096e10be6128e41e4ca2e21968a6d0c5 | refs/heads/master | 2020-04-19T10:14:21.531942 | 2019-01-29T10:23:04 | 2019-01-29T10:23:04 | 168,134,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | h | #ifndef THREADQUEUE_H
#define THREADQUEUE_H
#include <QList>
#include <iostream>
#include <mutex>
#include <condition_variable>
template <class T>
class ThreadQueue
{
public:
ThreadQueue(int nMaxCount);
void put(const T &t);
void put(T &&t);
T take(bool &bSuccess);
void close();
... | [
"1147782219@qq.com"
] | 1147782219@qq.com |
2e295a45f4fad1d3073882f2a5a760eef892e5ea | fe1b2ad7fd98fc2ccfa2b9aae75b77209a15f19c | /tmp/class_function.cpp | 26f457a199a4ff3eb1460dc5d53d0bedad05cf52 | [] | no_license | timtingwei/cppd | 58519d403272b4ea35ab350bdfbd771d0ce1ccde | 8e0caf97fbed3a0c24ab21ca44f1750f376534f8 | refs/heads/master | 2018-10-10T14:58:09.419241 | 2018-07-06T22:13:06 | 2018-07-06T22:13:06 | 109,270,504 | 1 | 2 | null | 2018-07-14T13:22:38 | 2017-11-02T13:46:59 | C++ | UTF-8 | C++ | false | false | 2,795 | cpp | /* ------------------------------
Copyright <2018> [Tim Hu]
email: timtingwei@hotamail.com
------------------------------
File:class_function.cpp
Date:Wed Jan 10 08:50:01 CST 2018
-----------------------------
*/
/*
函数对象, 对象实现函数的功能
*/
#include <iostream>
// 定义一个函数对象
class Sum{
public:
... | [
"timtingwei@hotmail.com"
] | timtingwei@hotmail.com |
d65745fa22ecaef2151973c9e469266af9070858 | 65200834c3b1bb73accb5bdfaf90b5bcf0c992d0 | /Projet/Code/Entities/Streumons/Streumon.cpp | 5cd1460505e5726f81e673d9f8a0277872d0e36c | [] | no_license | NicolasQuero/Streumons-RPG | 3070702558f6071cd63429e8f2d6444e1e13d5fe | dc738318f39b9b94b194c9b1842615637fda72d3 | refs/heads/master | 2020-12-05T14:00:24.124108 | 2020-01-14T20:44:38 | 2020-01-14T20:44:38 | 232,132,137 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | #include "Streumon.hpp"
using namespace std;
Streumon::Streumon(char monsterLetter, int x, int y, int hp, int dmg) : Entity(monsterLetter, x, y, hp, dmg) {}
bool Streumon::moveBy(Pos movement, Entity *J, vector<vector<char>> &charMap, vector<Entity*> &streumons) {
Pos targetPos = this->pos + movement;
... | [
"noreply@github.com"
] | NicolasQuero.noreply@github.com |
5b90e509eae308efbc21cda343be6d405a64a742 | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/Core/SGDeleteGuildOKHandler.cpp | 05e9a2d786b2c4d7d0a53c20fd0df016adc7ac25 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 7,129 | cpp | //----------------------------------------------------------------------
//
// Filename : SGDeleteGuildOKHandler.cpp
// Written By : Reiot
// Description :
//
//----------------------------------------------------------------------
// include files
#include "SGDeleteGuildOK.h"
#ifdef __GAME_SERVER__
#include "A... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
069b1a015e7b9122da83a67f95846c3e6a052412 | 891f40044ffc2133a2d8f56e19d4057648c81a99 | /C++/Estruturas de Repetição/While.cpp | 05a62c176f3587755fd77aa5a1cfaa79acd952d6 | [] | no_license | mat-garcia/Estudos | bb7b83e2f31cc79563d0deac26fe58efcea5c6f0 | 0c697e0e6627552ab9366b03353766153ba30d38 | refs/heads/main | 2023-05-31T05:11:34.897645 | 2021-06-05T02:15:18 | 2021-06-05T02:15:18 | 371,191,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include <iostream>
using namespace std;
int main()
{
int num ;
num=10 ;
while (num<=100)
{
cout << num << "\n" ;
num++;
}
} | [
"noreply@github.com"
] | mat-garcia.noreply@github.com |
1e9c6062d208c8264a794c563f62ed2bf94c5d7b | 26393ea905a8fbbfd674abf582a51cf227e7a878 | /chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc | c61899374148a8d6f0c64499819d248153a6ce57 | [
"BSD-3-Clause"
] | permissive | shockerjue/chromium | c920f7196c5e12fc918664ad9807ff584c7384f0 | ec2d4ae90a08738eb616bb2ab1c0fee5a551e0d6 | refs/heads/master | 2023-01-07T02:07:00.864783 | 2018-04-28T12:29:23 | 2018-04-28T12:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,738 | 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 "chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h"
#include <memory>
#include "base/macros.h"
#include "base/strings/s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
784c72b3dfe24e5cd3b9e4e4163bfe7676a6e922 | 2f99ff7c32c5478676f57318387b80182a5aba85 | /src/utilities/macros.cpp | ba6a7cffc4e3d5c33082c86c57d1c9baf24b74db | [] | no_license | vesuppi/LinearC | 5fb4dd10afccd49312bad3557e7b123b63be8612 | 832dbc9254fd9baf67a9a6786e884dee5453bd0a | refs/heads/master | 2021-09-03T12:00:25.763294 | 2018-01-08T22:54:50 | 2018-01-08T22:54:50 | 94,836,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | cpp | //
// Created by GentlyGuitar on 6/6/2017.
//
#include "macros.h"
| [
"zt9465@gmail.com"
] | zt9465@gmail.com |
d2311347e04fa52fe81e19b38242bdcd30b4e1dd | 558735d53c3df6abda3dddd4408c60351a57b34b | /Unit 07 - Object oriented programming with classes/07Ce - Class Inheritance/MultipleChoiceQuestion.cpp | aac1d4b2445bba4b81ce30a7e1ee40806993a9e5 | [] | no_license | michaelswright/CS200 | 139840a314c5d66b433ab32ecf5b832ec4830cc6 | 84b460f267399d7ee45dcf11ca86eee3ed610735 | refs/heads/main | 2023-05-26T08:04:42.756252 | 2021-06-14T22:34:01 | 2021-06-14T22:34:01 | 376,969,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include "MultipleChoiceQuestion.hpp"
#include <iostream>
#include "Question.hpp"
using namespace std;
void MultipleChoiceQuestion::SetAnswers(string answers[4], int correctIndex)
{
m_correctIndex = correctIndex;
for (int i = 0; i < 4; i++)
{
m_answers[i] = answers[i];
}
}
bool MultipleChoiceQu... | [
"8026090-mswright@users.noreply.gitlab.com"
] | 8026090-mswright@users.noreply.gitlab.com |
0e06cae433db988aafc3f6f75e0d4e81c39d4b65 | 0ebb297fe3a7354d988661be5b1de8ab2019c60a | /code/neuroevo/webinterface/rtp_interface/params/fixed_or_random_par.cpp | 68fb242a90fe8779094e32dcf55c0d2cfe215889 | [] | no_license | kamrann/workbase | a56e8ca3874ae5e71e4c77331ed10f59acff5914 | ce2cade80365f885839bf96bfc5db5e57059ba39 | refs/heads/master | 2021-01-19T03:22:32.745349 | 2015-01-02T23:05:04 | 2015-01-02T23:05:04 | 15,985,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,378 | cpp | // fixed_or_random_par.cpp
#include "fixed_or_random_par.h"
#include "realnum_par.h"
#include "../rtp_param_widget.h"
#include "../rtp_defs.h"
#include <Wt/WComboBox>
#include <Wt/WText>
#include <Wt/WHBoxLayout>
#include <boost/random/uniform_real_distribution.hpp>
i_param_widget* rtp_fixed_or_random_param_type::... | [
"cjangus@gmail.com"
] | cjangus@gmail.com |
47d92633fe6272664d73dca8c0a397375cb89703 | 9ebaa750a89f9e4e0e7f638c4032cbfae767cc1e | /MyAladdin/Stick.cpp | 8b50ddc0b90eb78ced15705aaf15a320a1afcdaa | [] | no_license | huynhthanhnhan/GameMegaman | 349fc78441d4ac3e74bcf7dbb2185952ca3c1af2 | 4b92bbf4a661c8b1d9b4f7ba908f9aadae4df43e | refs/heads/master | 2020-04-07T04:20:30.180700 | 2018-11-18T05:29:59 | 2018-11-18T05:29:59 | 158,051,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | cpp | #include "Stick.h"
#include"Aladdin.h"
Stick::Stick(int x, int y, int width, int height)
{
this->_type = Global::Enemy;
this->_width = width;
this->_height = height;
this->_x = x;
this->_y = y - _height;
this->_vx = this->_vy = 0;
this->LoadResource();
this->updateBody();
this->_id = Global::STICKITEM;
}
S... | [
"15520564@gm.uit.edu.vn"
] | 15520564@gm.uit.edu.vn |
283c102d881ce28bdb670eff5c6ea2b1fcead6a4 | 37bebd58615bbcdaaa751285c86d59f82d4cb920 | /Chapter07/DiffuseExample/GamePlayScreen.cpp | df01288fea85cc4b66cb8e81b597b6c66ed89d74 | [
"MIT"
] | permissive | PacktPublishing/Mastering-Cpp-Game-Development | 80333bfa7f53912944f0df8b540508df0bdaba33 | 30b187250727e27edc1d9c8394eb6985eb84c873 | refs/heads/master | 2023-02-08T01:10:56.284355 | 2023-01-30T08:40:18 | 2023-01-30T08:40:18 | 117,197,589 | 79 | 37 | null | null | null | null | UTF-8 | C++ | false | false | 5,179 | cpp | /*
Copyright (c) 2016 Michael "Mickey" MacDonald.
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... | [
"mohdr@packtpub.com"
] | mohdr@packtpub.com |
876ebbae01ec31c5c9905451ea80439157ccf716 | 68e3cbcd32ef49a64267a92486ae7e0dc8f3916f | /cf 1345 A.cpp | 76bd9b21288f2a1b711a9b981235c251342828e3 | [] | no_license | star-platinum127/uva | d2db4e0078a502628257ac6b4b6ac7d6f4899e5e | fc660aad483909055f5397be267c4ce9c033c4ef | refs/heads/master | 2023-05-26T15:57:48.922938 | 2023-05-21T15:45:46 | 2023-05-21T15:45:46 | 240,208,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define miku mywaifu
#define misaka mywaifu
#define pb push_back
#define S second
#define F first
#define mem(i,j) memset(i,j,sizeof(i))
#define pii pair<int,int>
#define MOD 1000000007
bool flag[200005];
int main() {
ios_base::sync_with_stdio();
cin... | [
"noreply@github.com"
] | star-platinum127.noreply@github.com |
8a19632ed3e9128948763b46130405b62d87e4c5 | a257962bd37d65af2e93c65090f6ee30580d6e89 | /Game/mapdisp.cpp | 9dfc83109984fb1a56acb3106ffade7cbd73e355 | [] | no_license | pmprog/Overrun | 9c2d8612afc4b8fcc84fcb9688a035ea2d32cd74 | 505fb25c34209f3564771258d18f6a63aaae8837 | refs/heads/master | 2021-01-21T13:11:07.742350 | 2013-04-15T00:00:07 | 2013-04-15T00:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,801 | cpp |
#include "mapdisp.h"
#include "configure.h"
#include "Game/unit.h"
void MapDisp::Begin()
{
Cam = new Camera();
CameraDrag = false;
TileSize = min( CurrentConfiguration->ScreenWidth / 8, CurrentConfiguration->ScreenHeight / 8 );
ConfigFile* MapConfig = new ConfigFile( "Resource/NaturePath.txt" );
MapConfig->Ge... | [
"devhead@pmprog.co.uk"
] | devhead@pmprog.co.uk |
a5860a694c095c5a1706b8b0b992ca273f7e2643 | 4cdc3c5a4c3323a1ca86c839086d0b102210ca00 | /IOCPServer/IOCP4Http/HTTP/HttpMessage.h | 4f007582a455e47b01e435e65cd550044e3555c2 | [
"MIT"
] | permissive | HanHanZai/workbean | 02ed2d77f215b422d4d23d58dc7915882e0ef537 | 9f22be684cee604f385b8aa1f6bf54e8603b92eb | refs/heads/master | 2023-07-06T11:39:49.920225 | 2021-08-06T00:56:26 | 2021-08-06T00:56:26 | 345,037,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | h | #ifndef __HTTP_MESSAGE_H__
#define __HTTP_MESSAGE_H__
#include "../IOCP/BufferSlice.h"
#include <unordered_map>
struct HttpMessage
{
std::string m_version;
//std::string m_body;
std::unordered_map<std::string, std::string> m_headers;
std::string getHeaderField(const std::string& strKey);
void setHeader(std::strin... | [
"824228502@qq.com"
] | 824228502@qq.com |
22e546d5b78d5ee22cbe57dfc876f6b0ae43b264 | 287dc1683f7e19a5239c2b8addbc8531809f9177 | /mooc50-bobo-DS/cppHoupengfei88/13-Red-Black-Tree/08-The-Performance-of-Red-Black-Tree/main.cpp | 55624d2dd05e32bd05fc3d13184a856e55db487c | [
"Apache-2.0"
] | permissive | yaominzh/CodeLrn2019 | ea192cf18981816c6adafe43d85e2462d4bc6e5d | adc727d92904c5c5d445a2621813dfa99474206d | refs/heads/master | 2023-01-06T14:11:45.281011 | 2020-10-28T07:16:32 | 2020-10-28T07:16:32 | 164,027,453 | 2 | 0 | Apache-2.0 | 2023-01-06T00:39:06 | 2019-01-03T22:02:24 | C++ | UTF-8 | C++ | false | false | 3,242 | cpp | #include <iostream>
#include "FileOperation.h"
#include "BST.h"
#include "RBTree.h"
#include "AVLTree.h"
template<typename T>
double testMap(T *map, string filename) {
clock_t startTime = clock();
srand(66);
vector<string> words;
if (FileOps::readFile(filename, words)) {
std::cout << "Total wor... | [
"mcuallen@gmail.com"
] | mcuallen@gmail.com |
742354b67d634ad78e124ca2a1c2155e810f87ba | 5856e2cd49a1571110bf9d4e408541c4d5a622fe | /blingfiretools/fa_dict2classifier/fa_dict2classifier.cpp | cec937167fd5abeac9156053ce02035eed6f477d | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | tgarciai/BlingFire | c888828af472dd272f3e877b5f251a4d388e04af | afc8fdc7d2c789bb7a28c99cfb30f6a8e66f861c | refs/heads/master | 2022-04-18T16:57:40.148163 | 2020-04-17T21:17:27 | 2020-04-17T21:17:27 | 257,096,571 | 1 | 0 | MIT | 2020-04-19T20:33:48 | 2020-04-19T20:33:48 | null | UTF-8 | C++ | false | false | 6,194 | cpp | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#include "FAConfig.h"
#include "FAAllocator.h"
#include "FAUtils.h"
#include "FAAutIOTools.h"
#include "FAMapIOTools.h"
#include "FARSDfa_ro.h"
#include "FARSDfa_ar_judy.h"
#include "FAState2Ows_ar_uni... | [
"jiamguo@microsoft.com"
] | jiamguo@microsoft.com |
fa363b01e63a295131d58febe83d5c645f36e32f | 863ecfa18260f75e97dcaee2ed7dab8d5eba73d7 | /A7-3-810197648/handlers.cpp | 5436d6968db253fbc0c95dfc8fec9a4529274346 | [] | no_license | atiarmn/utflix | 7acb2663f4835e34c011a5f3472d5eaf6fd18e33 | 4cc379107343fcd1687589177d948062a6d4d45d | refs/heads/master | 2020-05-24T17:17:58.519869 | 2019-06-05T17:14:44 | 2019-06-05T17:14:44 | 187,380,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,139 | cpp | #include "handlers.hpp"
using namespace std;
Response *ErrorHandler::callback(Request *req){
Database* database = database->get_instance();
Response *res=new Response();
res->setHeader("Content-Type","text/html");
string error_msg = req->getQueryParam("error_msg");
string new_url = req->getQueryParam("url")... | [
"atieharmin08@gmail.com"
] | atieharmin08@gmail.com |
bc85d07c8bb4927a7beeafe469a5ddb7d60f618d | 8567438779e6af0754620a25d379c348e4cd5a5d | /chrome/test/chromedriver/chrome/navigation_tracker_unittest.cc | 91ff255a435667ef1ace19ab3e2e346bade82e5f | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 15,284 | 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 <string>
#include "base/compiler_specific.h"
#include "base/json/json_reader.h"
#include "base/values.h"
#include "chrome/test/chromedriver/... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
db85718c153201f2c223f2cdcacea272481788cd | 15bb20fa36c1fb297db2c5ae805bb57039d31cb0 | /src/schemas/f142/DataFromPVStruct.h | 6dfcf9b6d24389591f41208df704866a5480b2b2 | [
"BSD-2-Clause"
] | permissive | ess-dmsc/forward-epics-to-kafka | a7cceb3bf0b6f8846aef45567a6a32cc3eddafd3 | 46e1cfff0a3792b4e70ec5c58c2e56c941da5d5c | refs/heads/master | 2021-05-23T04:43:55.616448 | 2021-05-05T15:03:05 | 2021-05-05T15:03:05 | 81,432,248 | 1 | 5 | BSD-2-Clause | 2021-05-06T12:28:55 | 2017-02-09T09:19:49 | C++ | UTF-8 | C++ | false | false | 591 | h | // SPDX-License-Identifier: BSD-2-Clause
//
// This code has been produced by the European Spallation Source
// and its partner institutes under the BSD 2 Clause License.
//
// See LICENSE.md at the top level for license information.
//
// Screaming Udder! https://esss.se
#pragma once
#in... | [
"matthew.d.jones@tessella.com"
] | matthew.d.jones@tessella.com |
dec11c940a94231e27dc7d435fa6032e2cc14b24 | d589ae0e355e33261bcd20d2bf0f5ef901ae7c37 | /과외/0211.cpp | 515849acca1727ac6d5577f641a0ff7cc53d48ff | [] | no_license | Upit63/ClassKYT | bbc20f98bdb36dfc9a068c9bfda6ad44afdb2841 | 4afcd1822d34e7d3316db3fdeed2b5e5102c7df7 | refs/heads/master | 2021-01-22T18:15:44.371836 | 2017-05-20T06:48:21 | 2017-05-20T06:48:21 | 85,073,155 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,568 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <Windows.h>
using namespace std;
int main()
{
std::vector<char> v;
ifstream fin;
fin.open("the.txt",ios::binary);
if (true == fin.fail())
{
std::cout << "not ifstream find" << std::endl;
return 0;
}
char c = NULL;
char msg[20] = { NULL ... | [
"지웅@지웅-PC"
] | 지웅@지웅-PC |
7f6748107a3f06ca60bbe2b701092fe6d66e78d0 | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/cc/layers/nine_patch_layer_impl.h | 539d8e717aed319b6c88bfc6c1e73f727b3a9308 | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 3,180 | h | // Copyright 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 CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_
#define CC_LAYERS_NINE_PATCH_LAYER_IMPL_H_
#include <string>
#include "base/macros.h"
#include "cc/base/cc_ex... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
1cada43bfd62a0ec20ad30d50fbf891635c7b6e8 | b00118e894b439919ed3d96c68889a8282963cad | /compiler/optimizing/optimization.cc | 1e68ca2802589fb5056f10a3c62e80c260ce45fc | [
"Apache-2.0",
"NCSA"
] | permissive | BenzoRoms/art | f04ad0c8126f533dfa68739878c5e0a0c1b2559c | 5575513f1529ea43371a6d4d9a495b57e7d68409 | refs/heads/master | 2021-01-23T21:29:31.807637 | 2017-08-26T01:07:46 | 2017-08-26T01:07:46 | 59,618,203 | 0 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cc | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"rpl@google.com"
] | rpl@google.com |
368ec28e80ca0e220e7b3a7aea958ab34ddaa205 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/itk/Modules/Filtering/ImageFilterBase/include/itkMaskNeighborhoodOperatorImageFilter.h | e0f18d1faa4fbe03efad97342df2ab6dbde8c860 | [] | no_license | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,371 | h | /*=========================================================================
*
* 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
*
* ... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.