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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26269d12c0f6686aae715cf4c3500a7dfb40c87e | e30ab85bde0c8887f4fb519337da95ad4393fe8d | /SocketSystem.h | d677c7c7b5b175bcd38244aec2f699816443b95c | [] | no_license | rodrigolmonteiro/muonline-client-sources | a80a105c2d278cee482b504b167c393d3b05322e | be7f279f0d17bb8ca87455e434edd30b60e5a5fe | refs/heads/master | 2023-06-29T09:45:22.154516 | 2021-08-04T17:10:15 | 2021-08-04T17:10:15 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,918 | h | #if !defined(_SOCKET_SYSTEM_H_)
#define _SOCKET_SYSTEM_H_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef SOCKET_SYSTEM
namespace SEASON4A
{
enum _SOCKET_OPTION_TYPE
{
SOT_SOCKET_ITEM_OPTIONS, // ์ผ๋ฐ ์์ผ ์ต์
SOT_MIX_SET_BONUS_OPTIONS, // ๋ณด๋์ค ์กฐํฉ ์ต์
SOT_EQUIP_SET_BONUS_OPTIONS, ... | [
"sasha.broslavskiy@gmail.com"
] | sasha.broslavskiy@gmail.com |
2c861ecdf21a9ea8fe4f253f99fa531721e791f6 | 1901bdbaf57584e7c5ec21643db340f9d98d6807 | /compute/tensor/src/cpu/x86/fp32/detectionoutput.cpp | 29b07228987cf83772c97db73504fbc54822446d | [
"MIT"
] | permissive | huawei-noah/bolt | 2a4febe5f5cce64e3589c2782c489d59975eb6a3 | cf4ca8f8646a8e30ddf91c29a18743d75ac1c172 | refs/heads/master | 2023-08-28T13:36:34.815244 | 2023-06-12T01:24:41 | 2023-06-12T01:24:41 | 225,365,905 | 889 | 168 | MIT | 2023-06-12T01:24:42 | 2019-12-02T12:06:12 | C++ | UTF-8 | C++ | false | false | 3,595 | cpp | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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 u... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
d99454f872a6402b2520e8f9aa5882aad9bad154 | d618f171a639311de598850d80a0422610dace80 | /LogitechSteeringWheelSDK_8.75.30/Samples/SteeringWheelSDKDemo/SteeringWheelSDKDemo.cpp | 5fcc7ece0b6a0c58621fc8d48e5d66a4d3f785ff | [] | no_license | tongji-cdi/driving-simulator | 0cb09206dfb4da30081de2094165f3dc80b36dd1 | a5d9beb114abff1484674d0e5a5b17802b4b6cf2 | refs/heads/main | 2023-08-28T01:57:33.194866 | 2021-10-19T07:29:08 | 2021-10-19T07:29:08 | 412,952,748 | 1 | 2 | null | 2021-10-19T07:29:09 | 2021-10-03T01:55:44 | C# | UTF-8 | C++ | false | false | 2,188 | cpp | // SteeringWheelSDKDemo.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "SteeringWheelSDKDemo.h"
#include "SteeringWheelSDKDemoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CSteeringWheelSDKDemoApp
BEGIN_MESSAGE_MAP(CSteeringWheelSDKDemoApp, CWinApp)
ON_COMMAND(ID_HELP... | [
"geyate@gmail.com"
] | geyate@gmail.com |
35b5741f5405f71d8224540cb67defdfc4533421 | 3fedacdc9a43f35609cafa4715c0b098c609c325 | /HackerRank/BitManipulationLonelyInteger/BitManipulationLonelyInteger.cpp | 8103e1b0f241f6fe40559f2ddca8ee4ff6cfd0f6 | [] | no_license | codecameo/ProblemSolved | 7f7fc5ce9829cde4bcb239da6c0893852e370d2c | 77fe538c76276319bc40ad98f77b59072d6368a0 | refs/heads/master | 2020-03-14T22:03:30.851199 | 2018-07-13T14:16:19 | 2018-07-13T14:16:19 | 131,319,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include <bits/stdc++.h>
using namespace std;
int bitXor(int x, int y) {
int a = x & y;
int b = ~x & ~y;
int z = ~a & ~b;
return z;
}
int main()
{
int n;
cin >> n;
vector<int> a;
for (int i = 0; i < n; i++) {
int x;
cin >> x;
a.push_back(x);
}
bool fo... | [
"codecameo92@gmail.com"
] | codecameo92@gmail.com |
e886c43a9dda24106ff41e2fafade6787d28f788 | e549fdb6af47cc19aa84da710e1311ddf1d363e1 | /src/Widget/shapeview/CircleItem.cpp | 35effbe6c435581eed2726237254ae00e2cf0f76 | [] | no_license | shizhan-shelly/MotionControl | b331e0a53400fd2b5d325bf8a17bc04f099b43e5 | 99c815acf5047e7a9a2a43e49f08f990e878cb5c | refs/heads/master | 2021-07-07T01:39:50.728336 | 2020-07-22T10:53:40 | 2020-07-22T10:53:40 | 130,342,938 | 1 | 2 | null | 2020-03-25T15:27:08 | 2018-04-20T09:46:54 | C | UTF-8 | C++ | false | false | 1,206 | cpp | // Copyright 2013 Fangling Software Co., Ltd. All Rights Reserved.
// Author: shizhan-shelly@hotmail.com (Zhan Shi)
#include "CircleItem.h"
#include <QtGui/QPainter>
#include <QtGui/QStyleOptionGraphicsItem>
#include <QtGui/QWidget>
CircleItem::CircleItem() {
setFlag(QGraphicsItem::ItemIsMovable);
setFlag(QGraph... | [
"shizhan-shelly@hotmail.com"
] | shizhan-shelly@hotmail.com |
b5aaef5406221d8999311519a99315f1a1827f94 | 7f18b5bf17d4217cede3a11f1be0caac12561084 | /ext/score_suffix/ScoreSuffix.cpp | bbd510487e7b5e745eacac70e784e5a4676a5d08 | [
"MIT"
] | permissive | dapi/zold-score | d7d9cb6c08f5c3c4de828938e7960af489672dbb | ff46b2b6cd49a158444a85a2d2f99e6866b7e2c2 | refs/heads/master | 2020-04-09T00:28:57.787414 | 2018-11-30T11:15:19 | 2018-11-30T11:15:19 | 159,869,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,695 | cpp | // Copyright (c) 2018 Yegor Bugayenko
//
// 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, publis... | [
"dron.valyaev@gmail.com"
] | dron.valyaev@gmail.com |
dcbf6cf38344858b452e1c615c7099e99525d8da | 1aa5a32e29b2e68722355b2ffd8a19e38e138f88 | /radarwidget.cpp | 3e02f3c2b7f51e4319e87abdd504154c4928daa1 | [] | no_license | Judyzhuqiang/adc_radar_box_GUI | 104d53ee9214b69e0a1a3d953ec28a070f3f93cb | e15c1d490048563eda6fa24df68e076cfa5b4171 | refs/heads/master | 2022-12-04T21:40:44.689037 | 2020-08-24T06:35:30 | 2020-08-24T06:35:30 | 289,799,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,847 | cpp | #include "radarwidget.h"
RadarWidget::RadarWidget(QWidget *parent) : QWidget(parent) {
createWidgets();
qRegisterMetaType<radar_data_package>("radar_data_package");
radar = new Radar;
connect(radar, SIGNAL(getData(radar_data_package)), this,
SLOT(updateWidget(radar_data_package)));
con... | [
"1060827321@qq.com"
] | 1060827321@qq.com |
8dc0a34aac0fe0bfe5f4257cc70f09a0dbf492d9 | 5676ed2dc44990e74d1919045cfd62329ab89b90 | /VTK/vis2008PA/include/vtk-5.4/vtkInformationExecutivePortKey.h | 4c4fffd95943fd706a6e2f0345a0555dbf7360ee | [] | no_license | door5719/3DPrinting | 59858028f392b5039af07d1fcedd34d99ac09f99 | 44a0aea8cd78d23e6b8054fa86d1c8b8111436e8 | refs/heads/master | 2021-05-31T12:06:22.516944 | 2015-05-10T15:55:38 | 2015-05-10T15:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkInformationExecutivePortKey.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm... | [
"dsandesari@gmail.com"
] | dsandesari@gmail.com |
65ba4693927a27140ad8820317fa3ac14e543e14 | ddffde8113402e510dc07a2f668e8eed4328f9b9 | /project/Assignment4_mvs/ICamera.h | b82ada1e51a143bcf154c6e9d89c3b1936ff7b3e | [] | no_license | steffansluis/TI1805 | d5d321c310a55dbf5884960c21210aac70f753f9 | 7ce4f608a18d62039e6e7975c4b9cfacac6dc3a6 | refs/heads/master | 2021-04-30T23:27:11.466832 | 2014-06-26T06:56:36 | 2014-06-26T06:56:36 | 20,765,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,370 | h | #ifndef ICAMERA_H
#define ICAMERA_H
#include "Vec3D.h"
/**
* Represents a camera.
*/
class ICamera {
public:
/**
* Initializes a camera.
*/
ICamera();
/**
* Initializes a camera with the given position and target.
* @param[in] position Position of the camera.
* @param[in] lookAt Point which the camera... | [
"martijnvandorp@casema.nl"
] | martijnvandorp@casema.nl |
8401edbe2b53bd02055bd601f798a9546d25f759 | de54ac74040174a2601f1effd62aefc14ec98e12 | /โ215. ะกะถะฐัะธะต ัะตะบััะฐ/โ215. ะกะถะฐัะธะต ัะตะบััะฐ/โ215. ะกะถะฐัะธะต ัะตะบััะฐ.cpp | cd2200aad9e9d217eeef082b9bd00d2d623b2e74 | [] | no_license | donasuris/algorithm-hw | 38175759ebc7aa79598f850bb979f3d6ea0e94f8 | 410616d29d2a9b213b6ff90dd143404e6dad7ea5 | refs/heads/master | 2022-08-16T02:08:20.937333 | 2020-06-29T14:15:55 | 2020-06-29T14:15:55 | 264,692,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | ๏ปฟ#include <iostream>
#include <string>
#include <cstring>
#include <vector>
using namespace std;
struct strings {
string word, WORDS, letter;
};
int main()
{
int r, n;
string text;
cin >> r >> n;
getline(cin, text);
strings* str = new strings[1001];
for (int i = 0; i < r; i++) {
getline(cin, str[i].word);
... | [
"63824718+donasuris@users.noreply.github.com"
] | 63824718+donasuris@users.noreply.github.com |
6fcbc348d7f61ee90cc97362821b100b3bb87988 | 90e41f8a429238d012ab52ed484c330cbfb8e263 | /irrlicht/ICameraSceneNode.h | 425f491b60493e2299ac3a5223aeeaf48bfa5032 | [] | no_license | tianyahechy/irrltchStudy | eef5dca3ead511006cea1372b72afa538fc5550b | 30a0d54b46f6b92486364c2157cffa597f506cd3 | refs/heads/master | 2021-06-15T11:54:37.549149 | 2021-04-05T03:48:47 | 2021-04-05T03:48:47 | 135,992,804 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,832 | h | #pragma once
#include "ISceneNode.h"
#include "IEventReceiver.h"
namespace irr
{
namespace scene
{
struct SViewFrustum
{
enum planes
{
CVA_FAR_PLANE = 0,
CVA_NEAR_PLANE,
CVA_LEFT_PLANE,
CVA_RIGHT_PLANE,
CVA_BOTTOM_PLANE,
CVA_TOP_PLANE,
CVA_PLANE_COUNT
};
... | [
"tianyahechu2004@163.com"
] | tianyahechu2004@163.com |
c1d4ebcdacb4e17ef00ff732b60453e522f08a5a | 062f41448db9e335d49bb333f83235b6ec2d850c | /src/policy/fees.h | 15a06560cf1b6a5aa7d80cb9a96387a9ecb234da | [
"MIT"
] | permissive | arcana-coin/arcana-core | 2496d593e2e0a2a0bdcc57d57fec095630f97a99 | b5d6d71968d1f19c42dc3f351aff17800da5af36 | refs/heads/master | 2021-05-11T02:21:38.815732 | 2018-01-22T00:52:28 | 2018-01-22T00:52:28 | 118,348,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,511 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bytcoyn Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ARCANA_POLICYESTIMATOR_H
#define ARCANA_POLICYESTIMATOR_H
#include <amoun... | [
"arcanacoin@protonmail.com"
] | arcanacoin@protonmail.com |
36fd58c9fb97d02a188b5cf59ca97135aa727c9d | 90ce41525ffef6216d5be5fafbd170d8d506b1f7 | /states/gameoverstate.cpp | 5087eed9f3bb91b2fc0ed8dd961f0c3745c5fea9 | [] | no_license | sysfce2/SFML_LandS | 217df118801677782651f9a91d4416907c5de91c | ef8bb18ce7e634b3f52b077e7e794b275d9ed772 | refs/heads/master | 2023-03-15T04:22:46.499681 | 2013-08-04T20:22:45 | 2013-08-04T20:22:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | #include "gameoverstate.h"
#include "../utils.h"
GameOverState::GameOverState(StateStack &stack, Context context) :
State(stack, context),
mText()
{
mText.setFont(context.fonts->get(Fonts::Main));
mText.setString("\t\tGame Over !\nPress ESCAPE to quit ...");
centerOrigin(mText);
mText.setPositi... | [
"loic.boutter@gmail.com"
] | loic.boutter@gmail.com |
98378a49fe1718b2ff71a4b73918f7dacef16c73 | c1252dd51bd95d3c0a5f72e852b228b2ca9f7e59 | /Hmwk/6.7/main.cpp | 668078aac9d96114d94e98670b7bd2ba6f907cb2 | [] | no_license | ZarusInfinite/PenaLorenzo_CSC17A_48983 | 8fa56823952d1f834452714910f756de0553d8c1 | 6e314ccf95c435ba515b75998d544f58b7085005 | refs/heads/master | 2016-08-12T08:57:44.052522 | 2015-12-19T02:43:56 | 2015-12-19T02:43:56 | 43,413,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | /*
* File: main.cpp
* Author: Louli
*
* Created on September 13, 2015, 9:18 PM
*/
#include <cstdlib>
#include <iostream>
using namespace std;
//Function Prototypes
float cel(float);//Multiplies a number by 10 and outputs results
/*
*
*/
int main(int argc, char** argv) {
float F,C;
for(int i=... | [
"zarus2009@gmail.com"
] | zarus2009@gmail.com |
645560e6ab76c03b12bac8ae1d8995e4d619c10d | d190ee468e7fc2984b872b12567976ab64a99c18 | /src/pcqueue.h | 84110b3c477381bfc8c6e4e73a04dc20ceae0102 | [
"MIT"
] | permissive | tiennot/sigmod | b5c95f346855dee5925fcb434422d4882f476bb8 | 3c5ec45345803b312da02359cfdff9c84e5d8439 | refs/heads/master | 2020-04-11T08:58:48.189881 | 2015-04-04T17:58:02 | 2015-04-04T17:58:02 | 30,910,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | h | #ifndef PCQUEUE_H
#define PCQUEUE_H
#include <iostream>
#include <vector>
#include <cstdint>
#include <thread>
#include <mutex>
#include <atomic>
#include <condition_variable>
using namespace std;
template <class T> class PCQueue {
public:
//Constructor and destructor
PCQueue(uint32_t capacity){
thi... | [
"camille.tiennot@telecom-paristech.fr"
] | camille.tiennot@telecom-paristech.fr |
08137473a1f2ef930be6ceceeda3f90acd5cd425 | 337f830cdc233ad239a5cc2f52c6562fbb671ea8 | /case5cells/9.5/F | 372dc0e89ff6604a4bc0720730845feb5607080c | [] | no_license | j-avdeev/laplacianFoamF | dba31d0941c061b2435532cdfbd5a5b337e6ffe9 | 6e1504dc84780dc86076145c18862f1882078da5 | refs/heads/master | 2021-06-25T23:52:36.435909 | 2017-02-05T17:28:45 | 2017-02-05T17:28:45 | 26,997,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"j-avdeev@ya.ru"
] | j-avdeev@ya.ru | |
88491f8b7d82f72276a69ca5f538eb98d2e80583 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/network/public/mojom/ip_endpoint.mojom-blink-test-utils.h | 468749e0ef229769ecf586a2c40ac79d8496433f | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | // services/network/public/mojom/ip_endpoint.mojom-blink-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_NETW... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
5efd21d613f075965d78256f5adc8fd85ab76fe1 | 2ce9945e51d22f6c35c0cb89eca733d72ff95807 | /Source/PluginEditor.h | 60c4759c5c1376a57a4d6d96b2f55b66532ec500 | [] | no_license | MBrown213/AmbiEncoder | 19e644b5fc76ee59e3f6636ff20745e6ac301af8 | 4e8674136ba2372fa87ad4a7e293bbcfb9df7789 | refs/heads/master | 2021-01-19T10:36:27.063467 | 2017-02-16T17:13:58 | 2017-02-16T17:13:58 | 82,196,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,448 | h | /*
==============================================================================
This is an automatically generated GUI class created by the Projucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loade... | [
"mjbrown0894@gmail.com"
] | mjbrown0894@gmail.com |
b22f127fe96901637a68bdb4f2f87cd4f90a24b3 | a09790b58a71cac60cd90d7de2625410a1981531 | /demo/a2dp_source/a2dp_source.ino | 5d53c94751a38b898aae9d3724ce982fddd659d1 | [
"Apache-2.0"
] | permissive | eggfly/StickWatch | fa8fa60727c84e521ed066943e522b80b8369ce6 | c282d2c16384275a034a85d8d90a27ab6c6509e0 | refs/heads/master | 2022-10-17T00:15:15.606263 | 2022-10-02T08:53:22 | 2022-10-02T08:53:22 | 165,251,467 | 88 | 28 | Apache-2.0 | 2019-05-11T14:27:33 | 2019-01-11T13:52:21 | C++ | UTF-8 | C++ | false | false | 18,441 | ino | /*
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio.h>
#include <stdlib.h>
#i... | [
"eggfly@qq.com"
] | eggfly@qq.com |
de3a8221b07944eaef9974148427d4dcdbdc5e40 | 60311e15536bc5e4fe8c2a6adf87b0daf4ad85de | /src/serialize.h | 22a8f94ec50c70ba54cd0485969d1ff8819fac2a | [
"MIT"
] | permissive | diakas/TrunkCoin | e328d76b02123f21022c1f5bb1afdd681a6da23f | 385c5902e3ae9dbfcb8a6aaf631b019a8a535c89 | refs/heads/master | 2020-07-24T21:01:40.644044 | 2019-04-10T11:53:42 | 2019-04-10T11:53:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,325 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2019 The Trunk developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"48926272+trunkcoin@users.noreply.github.com"
] | 48926272+trunkcoin@users.noreply.github.com |
c242d5037a163e6b5e10acdfd5d09678f1af0ce7 | 713926478a1f876c0d30744d90f829109cd1bd64 | /Lol2019/Day_9/H/16965902.cpp | feb4969ba7957c2230caace762c1022020ee809f | [] | no_license | Igor-SeVeR/OlympiadProblems | f8b191488c11bf92bdfc580bbac660f6ed7bddef | 7197aa7a6853ff916ee9da090d53580253dabffb | refs/heads/master | 2020-06-10T21:45:20.565411 | 2019-07-21T18:18:55 | 2019-07-21T18:18:55 | 193,752,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long long ans = 0;
string s;
vector <long long> cur = {0};
while (getline(cin, s)) {
if (s[0] == 'p') {
int i = 6;
int val = 0;
while (i < s.size()) {
val = val * 10 + (s[i] - '0');
... | [
"voafanasev@edu.hse.ru"
] | voafanasev@edu.hse.ru |
7cd3d5be05491e9398899802b35bf8c5619c3f23 | 721ecafc8ab45066f3661cbde2257f6016f5b3a8 | /atcoder/abc137/c.cpp | 31c67eff6ddbdd6693337cf745a8b6473ff7744d | [] | no_license | dr0pdb/competitive | 8651ba9722ec260aeb40ef4faf5698e6ebd75d4b | fd0d17d96f934d1724069c4e737fee37a5874887 | refs/heads/master | 2022-04-08T02:14:39.203196 | 2020-02-15T19:05:38 | 2020-02-15T19:05:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | #include<bits/stdc++.h>
#define FOR(i,a,b) for(long long i = (long long)(a); i < (long long)(b); i++)
#define RFOR(i,a,b) for(long long i = (long long)(a); i >= (long long)(b); i--)
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN2(a,b) (a)<(b)?(a):(b)
using n... | [
"srv.twry@gmail.com"
] | srv.twry@gmail.com |
37b1893ed6ac5a76bd1fb38476388a2032acaf07 | 575df60880e72fc2dcea4c7fb13d76a5f319a803 | /tests/unittests/main.cpp | 56867817b6a910cdcf05378ceab23f9b34ec8655 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | vesavlad/dquest | 89335605ed2be097c948bda090e0cf7fd9842cf3 | aa2cf4a61046d2f6bf3ae7251ae4ed6abf275b1b | refs/heads/master | 2021-01-11T01:38:30.069030 | 2015-05-11T08:49:14 | 2015-05-11T08:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include <QCoreApplication>
#include "testobjectrunner.h"
#include "coretests.h"
#include "sqlitetests.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
TestObjectRunner runner;
runner.add<CoreTests>();
runner.add<SqliteTests>();
return runner.exec(a.arguments());
}
| [
"xbenlau@gmail.com"
] | xbenlau@gmail.com |
e77d760bee97ffd4f7c023963f4e7da07d424e9f | db9b731edb4790a169cba7f651d9f5bc22151f1d | /Lab 8/ะะฐะฑะฐ 8/ะะฐะฑะฐ 8.cpp | dfd9fdbb847f571002a1d675a8735256ccce2158 | [] | no_license | KopeikinD/LABS | ecce77e468e3aa118c3f2e19820ee51db8a55fde | a19d54751767c6dcf2b9c59f7b41fdac3faaf38b | refs/heads/main | 2023-09-04T00:54:20.427060 | 2021-11-03T14:30:49 | 2021-11-03T14:30:49 | 424,224,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | ๏ปฟ#include <iostream>
using namespace std;
const int N = 4;
void zadanie1() {
int chislo, t;
do {
cout << "ะฒะฒะตะดะธัะต ะฟััะธะทะฝะฐัะฝะพะต ัะธัะปะพ ";
cin >> chislo;
} while (chislo < 10000 || chislo > 100000);
while (chislo != 0) {
t = chislo % 10;
chislo /= 10;
cout << t << endl;
}
}
void zadanie2() {
char a;
cout... | [
"noreply@github.com"
] | noreply@github.com |
1a504c7311f0eb8d07765c43e9a16072a7348bcb | 2d42a50f7f3b4a864ee19a42ea88a79be4320069 | /source/core/pointer.h | c330b553b5cb2c4c9e9c72e238b7c04958b8f8e0 | [] | no_license | Mikalai/punk_project_a | 8a4f55e49e2ad478fdeefa68293012af4b64f5d4 | 8829eb077f84d4fd7b476fd951c93377a3073e48 | refs/heads/master | 2016-09-06T05:58:53.039941 | 2015-01-24T11:56:49 | 2015-01-24T11:56:49 | 14,536,431 | 1 | 0 | null | 2014-06-26T06:40:50 | 2013-11-19T20:03:46 | C | UTF-8 | C++ | false | false | 3,723 | h | #ifndef _H_CORE_UNIQUE_PTR
#define _H_CORE_UNIQUE_PTR
#include <config.h>
PUNK_ENGINE_BEGIN
namespace Core {
class IObject;
extern PUNK_ENGINE_API void DestroyObject(IObject* object);
template<class T, class Base = IObject> class WeakPtr;
template<class T, class Base = IObject>
class Pointer {
public:
tem... | [
"nickolaib2004@gmail.com"
] | nickolaib2004@gmail.com |
85173e0504960de23aba51b9430eee5c0e1fe1c3 | 6f7e010dbfd0a27d47fec154ce8fd6e6788918c3 | /packages/react-native/ReactCommon/react/renderer/scheduler/SurfaceManager.cpp | 15512adca83f791a30700cdf7bb9c6f75787c03b | [
"MIT",
"CC-BY-4.0"
] | permissive | microsoft/react-native-macos | a9a15e6d9be601e1bb4b3ace7350cea07f179171 | c2195d9e0899543122dcdae37d67f99bf480669b | refs/heads/main | 2023-09-06T05:17:13.563430 | 2023-08-31T00:53:19 | 2023-08-31T00:53:19 | 140,759,707 | 2,823 | 117 | MIT | 2023-09-13T09:05:49 | 2018-07-12T20:06:39 | Java | UTF-8 | C++ | false | false | 2,834 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "SurfaceManager.h"
#include <react/renderer/scheduler/Scheduler.h>
namespace facebook::react {
SurfaceManager::Surfac... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
2b67a58336463fd7858baeabe41455db9853c329 | ee62284b179a1f4a1e93bdf639599de3f9ff6c5e | /KDIS/DataTypes/EntityMarking.cpp | 2ca67c657a47ad964ce862bcfdc7b29a04521353 | [
"BSD-2-Clause",
"MIT"
] | permissive | jarvisfriends/KDIS | 3c96f272e838d6fbd616f548dc4a2eb139b64495 | 8a4482417c008c61783f311cccb3f37b7cd5e983 | refs/heads/master | 2020-03-28T08:10:32.445533 | 2018-09-09T02:45:22 | 2018-09-09T02:45:22 | 147,949,372 | 5 | 1 | null | 2018-09-09T02:45:23 | 2018-09-08T16:14:43 | C++ | UTF-8 | C++ | false | false | 6,502 | cpp | /*********************************************************************
Copyright 2013 Karl Jones
All rights reserved.
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 c... | [
"pershing2.crr@gmail.com"
] | pershing2.crr@gmail.com |
9dca100a69ac6bce063378fd02e224d18fe7fc97 | 5f77516a28c03021bca3886cb193136ccce870ff | /bit_manipulation/number_of_ones.cpp | ed0df90180b4a84ccade504cbc281d88a6b94650 | [] | no_license | thelastsupreme/interviewbit | 75fc488e3d0a3cdf4471bc35ef2e6c06ba595e0f | c39162e6f6e51d718b9f9b6832bbbd52adf61b9d | refs/heads/master | 2022-12-01T02:17:51.147924 | 2020-08-13T03:59:16 | 2020-08-13T03:59:16 | 264,120,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | //prabhaths code
int Solution::numSetBits(unsigned int A) {
int count=0;
for(int i=0;i<32;i++)
if(A&(1<<i))
count++;
return count;
}
int Solution::numSetBits(unsigned int A) {
int ans=0;
while(A!=0)
{
A=A&(A-1);
ans++;
}
return ans;
}
| [
"39990949+thelastsupreme@users.noreply.github.com"
] | 39990949+thelastsupreme@users.noreply.github.com |
952fc90e8fa88ac9b5f2504d59f4e2b496ec85ac | 01571f630ca3fae0e8bf3a43e98fde6ac61fb1ea | /1513.cpp | bdd393350e5c5ba5c25ee62ac9f7eb8a8f5bda02 | [] | no_license | etolew/jzoffer | ca7a8e02b15d8fd6d62562358db78e66a15633c4 | 2eaa052b24903cc267d977896662338f23ff650b | refs/heads/master | 2016-09-06T12:47:30.145245 | 2014-09-25T16:27:52 | 2014-09-25T16:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | #include<stdio.h>
int main(void){
int n,t;
while(scanf("%d",&n)!=EOF){
for(int i=0;i<n;i++){
scanf("%d",&t);
int c=0;
while(t!=0){
t=t&(t-1);
c++;
}
printf("%d\n",c);
}
}
return 0;
} | [
"etolew@gmail.com"
] | etolew@gmail.com |
5c87c79f96d39f3fc2325b667474d91fde857697 | 3fa72dbf4a3f90f5e6efea0b6a01b60f6b5b09bc | /phase3/test_stuffs/oxygen_sensor/oxygen_sensor.ino | 1db1517d173c6bae50f264bda2a473245ac073cf | [] | no_license | dispectra/ventilator_mumu | 33c8d1409dd1e097dde916ad1fa6f6c7c8fce102 | 4691503b9d93c176c6bc4f3308441f5de484ad34 | refs/heads/master | 2023-04-30T13:29:43.626341 | 2021-05-27T03:12:36 | 2021-05-27T03:12:36 | 255,541,532 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 887 | ino | #include <Wire.h>
#include <Adafruit_ADS1015.h>
Adafruit_ADS1115 ads; // Declare an instance of the ADS1115
int16_t rawADCvalue; // The is where we store the value we receive from the ADS1115
float scalefactor = 0.1875F; // This is the scale factor for the default +/- 6.144 Volt Range we will use
float volts... | [
"noreply@github.com"
] | noreply@github.com |
10b40f8c04e41b5820bee9c8fbd1ab6c1c480674 | aa6e043a02891a9a2e0b1f420b129de5a8ea1c84 | /test/core/end2end/tests/retry_cancel_with_multiple_send_batches.cc | bf0d02d6234b33ee726703df570475456955aa2f | [
"BSD-3-Clause",
"MPL-2.0",
"Apache-2.0"
] | permissive | aTiKhan/grpc | b63ea28d1d5d72c6cb1c1366e48ac78eae0f74b7 | 89c1035c712ce08e7affd06b69ac3494e98ee71e | refs/heads/master | 2022-02-23T02:51:44.617651 | 2022-02-20T22:51:47 | 2022-02-20T22:51:47 | 213,434,485 | 0 | 0 | Apache-2.0 | 2019-10-08T15:06:41 | 2019-10-07T16:36:22 | null | UTF-8 | C++ | false | false | 11,492 | cc | /*
*
* Copyright 2017 gRPC authors.
*
* 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 agree... | [
"noreply@github.com"
] | noreply@github.com |
b1846d840fa83cd0f71a366ec578342154636ce8 | 752572bd6010ef068c4851b55a261a2122f29094 | /aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h | ce41baa5d2632443516436f92e38472d62cfa5ac | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | cnxtech/aws-sdk-cpp | 9b208792b2e81b3a22a850c3d0fbf4724dc65a99 | af8089f6277b8fec93c55a815c724444bd159a13 | refs/heads/master | 2023-08-15T02:01:42.569685 | 2019-05-08T20:39:01 | 2019-05-08T20:39:01 | 185,732,288 | 0 | 0 | Apache-2.0 | 2023-07-22T05:12:44 | 2019-05-09T05:30:49 | C++ | UTF-8 | C++ | false | false | 5,343 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... | [
"noreply@github.com"
] | noreply@github.com |
6bfc8473524d2ced7823e5c8d26ea27eccc282b7 | e2d6129f991ec7a8c304aa9c045f486cc8901b7c | /src/help_text.hh | 81dc8fb9d5a544e6e2c7b7dd3a786f861eef52b8 | [
"BSD-2-Clause"
] | permissive | tstack/lnav | f1f8769885d1e639fa969dbc8c304626bfcb7318 | c796a662731b5bdb74196af0a4dfd0cbdf96e285 | refs/heads/master | 2023-09-05T19:04:14.646192 | 2023-09-05T05:51:07 | 2023-09-05T05:51:07 | 306,147 | 5,812 | 355 | BSD-2-Clause | 2023-08-05T19:12:34 | 2009-09-14T01:02:02 | C++ | UTF-8 | C++ | false | false | 6,312 | hh | /**
* Copyright (c) 2019, Timothy Stack
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of condi... | [
"timothyshanestack@gmail.com"
] | timothyshanestack@gmail.com |
1e127e3cdfab8c484db81479d4829fe17466f359 | 4a238068e29a1f6871cc049a0486b20b27e781de | /Supermicro/benchmarks/dlrm/implementations/hugectr/HugeCTR/include/layer.hpp | a9ccca1432c58e91b26b1768cddaec7bb26e9537 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Pixelz-Inc/training_results_v1.0 | 61b4555ad482b189d1966be3edd127858addd628 | c507130c4e04c1f274a9ae8b7284aac79f26325a | refs/heads/master | 2023-08-18T22:46:13.316503 | 2021-10-22T04:01:57 | 2021-10-22T04:01:57 | 399,047,712 | 0 | 0 | NOASSERTION | 2021-08-23T09:37:25 | 2021-08-23T09:37:25 | null | UTF-8 | C++ | false | false | 3,343 | hpp | /*
* Copyright (c) 2020, NVIDIA CORPORATION.
*
* 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 ... | [
"vsb@fb.com"
] | vsb@fb.com |
eef0365b95726198053ea2bd6b91a9b3aaaba9a4 | 30b111d5f40bc4cdf6f2b63adfe48720fb5b4cdf | /14. Data structures/2. Stacks/main.cpp | 9076dac2f6d6a2826217d4529e09b450bb36b33f | [] | no_license | bbohdan7/cpp_samples | 6afc64f49276f0a53f0002e55fb56a841bb968fb | 99dfe3742f75c813824be809a8fe34d028983b06 | refs/heads/master | 2023-08-08T15:11:44.169122 | 2023-07-19T11:26:40 | 2023-07-19T11:26:40 | 259,910,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | #include <iostream>
#include "stack.h"
using std::cout;
using std::endl;
int main()
{
Stack<int> intStack;
int popInteger, i;
cout<<"Handing stack with integer-numbers"<<endl;
for(i = 0; i < 4; i++){
intStack.push(i);
intStack.printStack();
}
while(!intStack.isStackEmpty()){... | [
"zbohdan7@gmail.com"
] | zbohdan7@gmail.com |
50874ebe963e9cdd210ddf1861aa3636c5ce4d1a | 543f3bd820cd58f9da12ded7babdc3ad99602a0e | /RCSwitch/RCSwitch.h | 5a4a80b7dc8088bb46f27fef178c2e1f4054eb97 | [] | no_license | dennyo/domotica | 7d00b4876e9d32ea332f2c77f28ae6b3cc8b0acf | 0b3bd14b47f304da16501da41120077a58e2ef78 | refs/heads/master | 2021-01-10T12:00:11.574074 | 2016-01-25T12:57:57 | 2016-01-25T12:57:57 | 48,033,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | h | /*
RCSwitch - Arduino libary for remote control outlet switches
Copyright (c) 2011 Suat รzgรผr. All right reserved.
Contributors:
- Andre Koehler / info(at)tomate-online(dot)de
- Gordeev Andrey Vladimirovich / gordeev(at)openpyro(dot)com
- Skineffect / http://forum.ardumote.com/viewtopic.php?f=2&t=46
- D... | [
"bijl1507@student.nhl.nl"
] | bijl1507@student.nhl.nl |
1547a9abf5ab4592fbec928cbf86ffd4bea30930 | c4692fbdc122876043a060756aa9ef61e563fca1 | /proper/abi/openlibm_src/s_frexp.cc | 551410a3c25dd26a9f99c31b6236f4883eaa8c14 | [] | no_license | nahratzah/ilias_os | 837b8eabe3d638767d552206b5c2691a176069fa | a63c03a36e656cee1b897eb952a39bccc2616406 | refs/heads/master | 2021-01-23T13:43:55.103755 | 2015-06-11T07:37:01 | 2015-06-11T07:37:01 | 28,526,656 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cc | /* @(#)s_frexp.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided t... | [
"ariane@stack.nl"
] | ariane@stack.nl |
5e8b50e33cd000deb1fe52a0eeb7847ca6897b38 | 3ba91c0442da7935c8bdb9a92f5d740edfbc5094 | /binding/matlab/S2M_segmentAngularMomentum.h | c707eedf5c7ab27a32cfff0ff9361c3886fb0038 | [
"MIT"
] | permissive | CamWilhelm/biorbd | ce13782727ca3fe05c39112509ff52f77e00e629 | 67d36e77d90cc09aa748c3acf2c2bdff5065d3c9 | refs/heads/master | 2020-05-16T13:29:33.703928 | 2019-07-24T11:53:17 | 2019-07-24T11:53:17 | 183,075,445 | 0 | 0 | MIT | 2019-05-01T19:43:53 | 2019-04-23T18:39:25 | C++ | UTF-8 | C++ | false | false | 3,146 | h | #ifndef MATLAB_S2M_SEGMENT_ANGULAR_MOMENTUM_H
#define MATLAB_S2M_SEGMENT_ANGULAR_MOMENTUM_H
#include <mex.h>
#include "s2mMusculoSkeletalModel.h"
#include "class_handle.h"
#include "processArguments.h"
void S2M_segmentAngularMomentum( int, mxArray *plhs[],
int nrhs, const mxArray*prhs[] ){
// V... | [
"pariterre@hotmail.com"
] | pariterre@hotmail.com |
6245a81f816b5cf195a1bf1e192e01e3946fff0f | 217a20c747602c7213c1447d8d20b809b738a34e | /Mainsnode_wifi/sandbox/getcmd/getcmd.ino | ed3be4a21fc84de910b01bc3b800bf89b85cea16 | [] | no_license | christiantigor/rpm_software | b24a8437177f8700f853ff24a9be759e3d22e181 | 081eb4b38c5a53cbe2292ed10e37aec315bac11f | refs/heads/master | 2016-09-08T01:23:37.649555 | 2015-01-09T08:22:47 | 2015-01-09T08:22:47 | 26,524,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | ino | //a program to get command from cloud
#include <avr/pgmspace.h>
#include <SoftwareSerial.h>
SoftwareSerial debugPort(A3,A2);
char state = 'u'; //device state unknown
void setup(){
Serial.begin(9600);
Serial.setTimeout(5000);
debugPort.begin(9600);
debugPort.println(F("getcmd demo"));
Serial.println(F... | [
"christian.tigor@rocketmail.com"
] | christian.tigor@rocketmail.com |
66f1b54cbb71dcc1488c291b12353f0952f3fab8 | 7fd58e1c7192fb74be0b79087065b165b99428e3 | /Chapter12_15/Chapter12_15/Person.h | 5c709b08c6523ee851b2a82b51c2a458787f93fb | [] | no_license | KimSeungJu/ClassDesign | 4773d9e05d5eb5175865da720c5a30fc5f1d9a3b | 0d06445938bde0aba43ae088204776ee09f760db | refs/heads/master | 2020-03-14T03:16:28.969953 | 2018-05-03T10:25:31 | 2018-05-03T10:25:31 | 131,416,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | #pragma once
#include <iostream>
#include <string>
using namespace std;
class Person {
protected:
string name;
int age;
bool gender;
public:
Person();
Person(string n, int a, bool g);
virtual void Print();
}; | [
"safe586@naver.com"
] | safe586@naver.com |
13546c40920f791e1489d774c4f4e9da0d5764c7 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/Network/NetworkTesting/NetworkMessageSuite/MultipleMessageCastTesting.h | aed991fc6c93639cecb2961c0a418b88f60628dd | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,008 | h | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// ไฝ่
๏ผๅฝญๆญฆ้ณ๏ผๅฝญๆๆฉ๏ผๅฝญๆๆณฝ
/// ่็ณปไฝ่
๏ผ94458936@qq.com
///
/// ๆ ๅ๏ผstd:c++20
/// ๅผๆๆต่ฏ็ๆฌ๏ผ0.9.0.8 (2023/05/12 09:15)
#ifndef NETWORK_TESTING_NETWORK_MESSAGE_SUITE_MULTIPLE_MESSAGE_CAST_TESTING_H
#define NETWORK_TESTING_NETWORK_MESSAGE_SUITE_MULTIPLE_MESSAGE_CAST_TESTI... | [
"94458936@qq.com"
] | 94458936@qq.com |
0cd3d1b7fe519b86c8e38c925eebc7bf34d1844c | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-elasticbeanstalk/source/model/UpdateApplicationVersionResult.cpp | 953291d0aaa2d5ed6afb98d4efcfbf2a1e0e2c41 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 2,210 | cpp | ๏ปฟ/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
5b12196b417c32a6ece5d2a9dd989c720687dd98 | 54e1ff7f03cd61593f54e1d9df8725adfbf3f278 | /FirstTaskArduinoCode.ino | eed59d7b9bc5fbe8c071f964130b19a49cb9c099 | [] | no_license | NorahNAlotaibi/1st-Task--Controlling-DC-Motor- | e134efbeb79820b4efcd8149cb4a274a71081bed | 837601de39d30d0ddd0d116a995399bb423da2ef | refs/heads/master | 2022-11-14T05:50:38.562852 | 2020-06-21T20:02:54 | 2020-06-21T20:02:54 | 273,683,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | ino | // to define the pins
const int motor1ch1 = 0;
const int motor1ch2 = 1;
const int motor2ch1 = 2;
const int motor2ch2 = 3;
void setup()
{
pinMode(motor1ch1 , OUTPUT);
pinMode(motor1ch2 , OUTPUT);
pinMode(motor2ch1 , OUTPUT);
pinMode(motor2ch2 , OUTPUT);
}
void loop()
{
//clockwise rotation for both motors... | [
"noreply@github.com"
] | noreply@github.com |
67a50dec76cbff5eb00f8f44427d0f08f7865236 | d816e2f427b08dc9b9cb9991204f6c7107ff4b47 | /Libary/trunk/Source/LibDBDriver/Mysql/MysqlDriver.cpp | f41aaa2897b07e0d98071f43cf1a0f93c8e9c7bc | [] | no_license | alanfans/XProject | a1378cd2f366a95df75a752a50fa71acd7001f17 | 00a566a4b2757f309d05fde88fdd652463754ca6 | refs/heads/master | 2021-05-11T14:10:23.467053 | 2018-01-09T09:52:22 | 2018-01-09T09:52:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,805 | cpp | ๏ปฟ#include "Include/DBDriver/MysqlDriver.h"
#include "Include/Logger/Logger.h"
MysqlDriver::MysqlDriver()
{
m_pMysql = NULL;
m_pMysqlRes = NULL;
m_pMysqlRow = NULL;
m_nFieldCount = 0;
m_pMysqlFields = NULL;
}
MysqlDriver::~MysqlDriver()
{
if (m_pMysql != NULL)
{
mysql_close(m_pMy... | [
"txalll"
] | txalll |
a88e4520e727cd1738c104ad5cd033d2c371e3df | 7e2aa88047abff4fcbd8b32cdc171a555b9f9fa2 | /PFCandidateTrackAnalyzer/src/pfCandidateTrackAnalyzer.cc | cbce848694158587049aa00272b1f7c7398ca68e | [] | no_license | mandrenguyen/usercode | 3af2a4c8e640d6d6808f71c1a6cd1c030c54678b | 44b8dc78ea6788c261f76e10e7ee9e8027f4cb60 | refs/heads/master | 2021-01-20T06:20:15.643149 | 2013-07-16T21:09:50 | 2013-07-16T21:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,226 | cc | /*
Based on edwenger/TrkEffAnalyzer
Modified by Matt Nguyen, November 2010
*/
#include "MNguyen/PFCandidateTrackAnalyzer/interface/pfCandidateTrackAnalyzer.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlock.h"
#include "DataFormats/Pa... | [
""
] | |
0ee9a102aea8d96b825015bd4ee9d415306797d3 | c2d2201ac3c9117de2aba5f901e8cdde4a5606b7 | /WifiLocator.cpp | f0d1dcf7633a2a53eec143dc0ab523ecad66ebb6 | [] | no_license | Ierlandfan/ESP32-plane-spotter-color | 5302187701419c8af8a64984a726cdda4834b2a9 | 2a53a28367136facb4fe4ab4f87a9a230b5ebfef | refs/heads/master | 2021-01-01T17:14:23.440574 | 2017-07-22T14:12:11 | 2017-07-22T14:12:11 | 98,031,100 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,154 | cpp | /**The MIT License (MIT)
Copyright (c) 2015 by Daniel Eichhorn
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, m... | [
"noreply@github.com"
] | noreply@github.com |
73f8f39376ca36e3487e2ddef90c5837c675ffc7 | 36879f4a4d1623adebf5072dc8b5a10fc7705565 | /public_source/xcommunication/iointerfacefile.cpp | 623119cc248c852d0e72f264a79cd9b6c18b3597 | [] | no_license | akatumalla27/xsens-vxworks | eb6573963b5c70e93309a624c748fb97ce672cc5 | 8f7aa64955cc6f13907d2d7364c9b17f0e4fe47e | refs/heads/master | 2022-11-23T16:48:42.540557 | 2020-07-22T16:46:41 | 2020-07-22T16:46:41 | 281,725,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,809 | cpp | ///* Copyright (c) 2003-2016 Xsens Technologies B.V. or subsidiaries worldwide.
// All rights reserved.
//
// 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 co... | [
"alekhya@evergreeninnovations.co"
] | alekhya@evergreeninnovations.co |
df2ab3c316e37ed4c050cb2bf67721bd61939bf5 | a9c0edac10fb4516d012f7099e98ff344c3044c2 | /Pods/CNIOBoringSSL/Sources/CNIOBoringSSL/ssl/tls13_both.cc | b262319e10234effc6b55fc9ff46c771b4f66746 | [
"MIT",
"Apache-2.0"
] | permissive | mbpolan/rapid-irc-client | 271110086ab8ab158742fcb08b34a3d06089fc4a | fd4e2df4f3d206fb03106fb454c6334b3b62ef43 | refs/heads/master | 2023-03-16T15:01:31.279017 | 2021-03-11T03:01:18 | 2021-03-11T03:01:18 | 307,189,604 | 6 | 1 | MIT | 2021-02-15T23:15:52 | 2020-10-25T20:48:21 | Swift | UTF-8 | C++ | false | false | 23,108 | cc | /* Copyright (c) 2016, Google Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... | [
"mbpolan@gmail.com"
] | mbpolan@gmail.com |
bcfea807171e95bb55076e8a78257502cd3cf5c2 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/ext/median.cc | a7642f3f65913d643bc44fd5b17a50f13774cd68 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,393 | cc | // Copyright (C) 2005-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your op... | [
"rink@rink.nu"
] | rink@rink.nu |
f804caf610e83c32ee51069a2084dc9a5c74d50a | 43260ae9ca878721e72b37ad21349cd9d7553c8d | /solve.edu.pl/Taksรณwki.cpp | d56dba4afd1f3cdbb7c4cbe428d8a0b7fb6da61e | [] | no_license | PawelMasluch/Programming-tasks-and-my-solutons | 55e9d72917499c30e596d3e64639048edbf22e01 | 6177e0908bca61141b1851b73dc0d0c950d6229f | refs/heads/main | 2023-08-24T07:10:55.111954 | 2021-10-17T10:01:48 | 2021-10-17T10:01:48 | 372,923,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | #include<cstdio> // 100 pkt
using namespace std;
int ile[5], n, wyn = 0, a, pom;
int min(int a, int b)
{
return ( a < b ) ? a : b ;
}
int main()
{
scanf( "%d", &n );
while( n )
{
scanf( "%d", &a );
++ile[a];
--n;
}
// Czwรณrki
wyn += ile[4];
ile[4] = 0;
// Trรณjki
pom = min( ... | [
"48213773+PawelMasluch@users.noreply.github.com"
] | 48213773+PawelMasluch@users.noreply.github.com |
68ed9a82e18fb03d346a2ee9792b199559c9b991 | 81a4ee9361b743a562b06200548cfb6fde15db25 | /V-REP_PRO_EDU_V3_6_0_Ubuntu18_04/programming/b0RemoteApiBindings/generate/simxStubs/cpp/stubs.cpp | d5a5ecc9327e5b71faa2f78604920397553c016f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | mila-sevilla/robot-simulator | fd3dd2e9580fd1720a88125ee586e47cbb793216 | 1c97d9472586b9d2f4b8a12d8866d4ccd7a8eb51 | refs/heads/master | 2020-04-30T01:51:50.330968 | 2019-04-03T17:24:45 | 2019-04-03T17:24:45 | 176,541,877 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 25,447 | cpp | #py from parse import parse
#py import model
#py plugin = parse(pycpp.params['xml_file'])
// -------------------------------------------------------
// Add your custom functions at the bottom of the file
// and the server counterpart to lua/b0RemoteApiServer.lua
// ------------------------------------------------------... | [
"m.sevillazhou@gmail.com"
] | m.sevillazhou@gmail.com |
a9794c4960ef037cd4557764de3bc0a6c0cb5896 | 8b9a2a7b42c2cf5fb6541564437ad557aa626b8a | /rendering/renderer.cpp | cfcbc8a254d9ad9f15cb6106b8cf7147abd6ad28 | [] | no_license | Setadokalo/OpenGL-Engine | e43147901d0a8035676988b33005e482bf9b26d7 | 0508033e33292d1153056e3d098482d8641cea48 | refs/heads/master | 2021-09-13T11:00:25.495736 | 2018-04-28T23:30:49 | 2018-04-28T23:30:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | cpp | #include "renderer.hpp"
int RenderEngine::render() {
glm::mat4 tMat = glm::translate(glm::mat4(), glm::vec3(0, 0, 0));
glm::mat4 rMat = glm::rotate((float)0, glm::vec3(0, 0, 1)) * glm::rotate((float)0, glm::vec3(0, 1, 0)) * glm::rotate((float)0, glm::vec3(1, 0, 0));
glm::mat4 mat = tMat * rMat;
//Loading buffer... | [
"darkenchanter1@gmail.com"
] | darkenchanter1@gmail.com |
f571c29ee9e444a1131713192171538faf35d821 | 80f2fa4f1f4d56eef9471174f80b62838db9fc3b | /xdl/xdl/core/ops/ps_ops/convert_utils.h | 00040bae18efc8b268ddb9b16a76739f43140a2b | [
"Apache-2.0"
] | permissive | laozhuang727/x-deeplearning | a54f2fef1794274cbcd6fc55680ea19760d38f8a | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | refs/heads/master | 2020-05-09T17:06:00.495080 | 2019-08-15T01:45:40 | 2019-08-15T01:45:40 | 181,295,053 | 1 | 0 | Apache-2.0 | 2019-08-15T01:45:41 | 2019-04-14T10:51:53 | PureBasic | UTF-8 | C++ | false | false | 1,938 | h | /* Copyright 2018 Alibaba Group. 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 ... | [
"yue.song@alibaba-inc.com"
] | yue.song@alibaba-inc.com |
a1aa78da574c0becd5e3d963eab7e3e3245f6154 | e78a5a01b41274e6aa17bdbebdb3b6901cd406f3 | /DUILib/Core/UIScrollBar.cpp | 0ca70dc60b3aad2bb08467ce45ebf4b8bc786563 | [
"MIT"
] | permissive | libbylg/DUILib-Lite | c96945a4bc46f05ab2a89868bc5797a019b440a6 | 15eda61239ba7c8fa9c2611000c7b6851de69a23 | refs/heads/master | 2020-05-18T09:42:16.381938 | 2019-05-20T23:36:03 | 2019-05-20T23:36:03 | 184,333,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,116 | cpp | #include "Core/UIScrollBar.h"
#include "Core/UIContainer.h"
#include "Core/UIRender.h"
namespace DUI
{
UI_IMPLEMENT_CONTROL(CScrollBarUI)
CScrollBarUI::CScrollBarUI() : m_bHorizontal(FALSE), m_nRange(0), m_nScrollPos(0), m_nLineSize(8),
m_pOwner(NULL), m_nLastScrollPos(0), m_nLastScrollOffset(0), ... | [
"libbylg@126.com"
] | libbylg@126.com |
b53bef6e1406f101f2f45536dbc2486f105306cb | 620f0bf13b5c2b44cc4e2a327e2842be2544259b | /test/filter.hpp | 9696d024f0d1d1b9310506a3766ea3024f3356bf | [] | no_license | VeganPower/vStl | d7ad45e20b86877a7d2bbd112d61ddfedae0525a | 53cd55e00cd9a4a4d812c0e60746c12fa000e013 | refs/heads/master | 2021-01-22T00:20:32.027591 | 2019-04-23T21:07:30 | 2019-04-23T21:07:30 | 102,188,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | hpp | #pragma once
#include <type_traits>
#include <functional>
#include "function_traits.hpp"
template<typename T>
struct ViewTraits
{
typedef decltype(std::declval<T>().read()) ViewValue_t;
};
template<typename T>
void advance_to_first_valid(T& f)
{
while(!f.done() && !std::invoke(f.pred, f.read()))
{
f.n... | [
"rosario.leonardi@gmail.com"
] | rosario.leonardi@gmail.com |
edb9364aba5f7a010f6eea6373c773945f677014 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /2017-2021/2018/hourrank/030/b.cpp | c320fb06fd60afdcc8a4be926f1bc5af8ac396f9 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,494 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
5c4a6f84e414e47e8c5b111a67c68301cac0f66e | eeec6957327549d03953d06ade6b23f936b4f674 | /main.cpp | e53435932fe64f19e662a4fbf0e092b1a8e864f4 | [] | no_license | iananass/dcap-dumper | 86e2af080726bfdba6e431eb03599a838a6274e5 | 31d81fb4db7cb6a39a82ed56a4c98a94e988946e | refs/heads/master | 2021-01-22T17:58:05.425956 | 2015-07-16T06:14:33 | 2015-07-16T06:14:33 | 39,179,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | #include "Dumper.h"
#include <iostream>
#include <unistd.h>
static const unsigned char SomePacket[60] = {
0xe8, 0x94, 0xf6, 0x3f, 0x98, 0x05, 0x00, 0x1e, /* ...?.... */
0x67, 0x64, 0x78, 0x91, 0x08, 0x06, 0x00, 0x01, /* gdx..... */
0x08, 0x00, 0x06, 0x04, 0x00, 0x02, 0x00, 0x1e, /* ........ */
0x67, 0x... | [
"iananass@gmail.com"
] | iananass@gmail.com |
3e46c01cf88600c8139988f2d87d7374240312ad | dea1e0660fe060b7420bac03c6969f9928558c7c | /include/DroppedFiles.hpp | 258758a404949a8f29fa03b1103ad307468b53c1 | [
"Zlib"
] | permissive | Cigrand-dev/raylib-cpp | 93e94bdefe46946c19c01428aad264c32edc7fbf | abf6c3091fa53e9037d0322b2c0a66b7dc5d3102 | refs/heads/master | 2022-11-23T23:39:34.568696 | 2020-08-03T21:04:53 | 2020-08-03T21:04:53 | 286,208,486 | 1 | 0 | null | 2020-08-09T09:45:19 | 2020-08-09T09:45:19 | null | UTF-8 | C++ | false | false | 1,269 | hpp | #ifndef RAYLIB_CPP_DROPPEDFILES_HPP_
#define RAYLIB_CPP_DROPPEDFILES_HPP_
#include <string>
#ifdef __cplusplus
extern "C"{
#endif
#include "raylib.h"
#ifdef __cplusplus
}
#endif
namespace raylib {
class DroppedFiles {
protected:
char** m_files;
int m_count;
public:
DroppedFiles() {
Get();
}
/**
*... | [
"robloach@gmail.com"
] | robloach@gmail.com |
f1cf28ae5ad51da5ee9167b29a491eb3f3ede700 | 312db7d82f1c0123799e797807c0813437cc695b | /Programmers/L2/L2_๋ฐฐ๋ฌ.cpp | c1058f6b524bcb73369f1fd4e6080cf77da4a4ee | [
"MIT"
] | permissive | Luxusio/Coding-Test | d9711765f956b4a59cf13eb9c568a84f326598b7 | 1cf3cf49c71ab66f140701fb3fc0548b2a2ebca4 | refs/heads/master | 2023-07-21T22:34:56.100172 | 2021-09-08T09:33:58 | 2021-09-08T09:33:58 | 355,099,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | cpp | //// 2021.04.14 11:14
//#include <vector>
//#include <unordered_map>
//#include <algorithm>
//#include <queue>
//using namespace std;
//
//struct compare {
// bool operator()(pair<int, int>& p1, pair<int, int>& p2) {
// return p1.second > p2.second;
// }
//};
//
//int solution(int N, vector<vector<int>> road, int K) {... | [
"44326048+Luxusio@users.noreply.github.com"
] | 44326048+Luxusio@users.noreply.github.com |
89aaac09be124035b47c870ef9f5a4effbb4c838 | ce31dbc037742a216223245f4fd6e44ff728726f | /[GfG]RotateMatrixRowWise.cpp | 812b193f0d7425f06031b68d27b1ee9c4f7b9817 | [] | no_license | ivamshky/Practice-Codes | 88686c928343aa19c9a74a31ad0b205d94501362 | fd73e522720eb687558ee39c892e26577409e0bb | refs/heads/master | 2021-10-10T21:45:11.308523 | 2019-01-17T18:07:07 | 2019-01-17T18:07:07 | 109,587,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | #include<iostream>
#include<climits>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<vector>
#include<string>
#include<list>
#define FORSC(A,n1,n2) for(int i=n1;i<n2;i++){cin>>A[i];}
#define FOROUT(A,n1,n2) for(int i=n1;i<n2;i++){cout<<A[i]<<" ";}
using namespace std;
int main()
{
int t;
cin>>t;... | [
"ivamshky1117@gmail.com"
] | ivamshky1117@gmail.com |
5a88d7a0e0951e785b18424202024f548ffffbdd | af626ade966544b91fbfe0ea81fc887f1b8a2821 | /src/core_io.h | 47c1dca11a053220690dc6acefad2410812d002e | [
"MIT"
] | permissive | kunalbarchha/bitcoinrtx-old | 91f2b36a50e009151c61d36e77a563d0c17ab632 | 42c61d652288f183c4607462e2921bb33ba9ec1f | refs/heads/master | 2023-03-13T22:46:36.993580 | 2021-03-04T13:01:00 | 2021-03-04T13:01:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | h | // Copyright (c) 2009-2014 The Bitcoinrtx developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOINRTX_CORE_IO_H
#define BITCOINRTX_CORE_IO_H
#include <string>
#include <vector>
class CBlock;
class CScript... | [
"kunal@coinrecoil.com"
] | kunal@coinrecoil.com |
01cb4fb07ea1d7c8404dc9114ea0d4e842a2e19e | dc9f5e1402ef919ee2d3c7f45976707fd2575a8f | /Beta_version/generate_simulation/genSim_test_3.cpp | 640f51b8200018dd5c0c38b32ca7355a7c3035d8 | [] | no_license | kuanrenqian/24783-Project-nullPtr | 8448bc90348da9343be44d6a38becfee5d693639 | 2f109dda509613bc3cad94a8594a054ba693140c | refs/heads/main | 2023-04-23T22:11:34.665888 | 2021-05-05T17:56:21 | 2021-05-05T17:56:21 | 361,826,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include "genSim.h"
using namespace std;
int main(){
float R,G,B;
parula_colormap(0.5, 1, R, G, B);
float RR = 0.1466;
float GG = 0.7597;
float BB = 0.6797;
if(R!=RR||G!=GG||B!=BB){
cout << "failed" << endl;
return 1;
}
cout << "works" << endl;
return 0;
} | [
"kuanrenq@outlook.com"
] | kuanrenq@outlook.com |
c13a37c955183c8b8af8a30e2da35f457ce94b49 | 3b268b40a1bc2c4fd1a2d572986a31a4a483016c | /Ticket/src/main.cpp | 3dd0dd372b4ac91c5e0c77960b2c1fd4a6aff9fe | [] | no_license | CDovgal/fill-matrix-with-numbers | 68995ad9035aba7c9b2374106bc2e647aeeb845e | f44ea84e144c6a8691c6b3a8e18c6565c68c1852 | refs/heads/main | 2020-05-20T12:38:48.550074 | 2015-03-13T15:56:17 | 2015-03-13T15:56:17 | 32,261,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include <iostream>
using namespace std;
int digit_sum(int number)
{
int sum = 0;
while (number > 0)
{
int digit = number % 10;
number /= 10;
sum+=digit;
}
return sum;
}
bool checkIfLucky(unsigned number)
{
int left = number % 1000;
int right = number / 1000;
... | [
"Volodymyr.Lysenko@localhost"
] | Volodymyr.Lysenko@localhost |
98401c6a1d98386e24cc63d741a01e7ce308e01f | 89fc7a1583297ae7f7cd4adaa96fab2a4518fde0 | /59_Spiral_Matrix_II.cpp | b0fa7eb48cf24bbeb58e95939cfd9dfe7cb2ff1a | [] | no_license | archerdante/leetcode | 121ee93286dcf17c3af3dba0c96e972ba2ea3dd4 | 58d6209d086c79a4b2190c1206bc560ede7f3c96 | refs/heads/master | 2021-01-21T04:38:28.070485 | 2016-07-10T01:13:05 | 2016-07-10T01:13:05 | 52,532,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | cpp | #include <iostream>
#include <vector>
//Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.
//For example,
//Given n = 3,
//You should return the following matrix:
//[
// [ 1, 2, 3 ],
// [ 8, 9, 4 ],
// [ 7, 6, 5 ]
//]
using namespace std;
class Solution {
public:
vector<... | [
"1413282843@qq.com"
] | 1413282843@qq.com |
910100307a90f290fbc01e420147599839254524 | 8fa9fc029842c88529c3e1427f1ea613b7f4f467 | /001-Generateur/GestionMCP6S28.cpp | 7bc5ea9068183113966caddb4cda138ec72ca07c | [] | no_license | montotof123/Arduino-Uno | 6b8ed0f25aadda6383a6764b9c4f70fee05d9ca4 | dd928a6557110e36ee7e2ddd05ce3baca5e42702 | refs/heads/master | 2021-06-24T03:05:45.692252 | 2020-12-25T22:49:32 | 2020-12-25T22:49:32 | 144,972,814 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | /*
* GestionMCP6S28.cpp
*
* Created on: 10 may 2018
* Author: totof
* Controle un MCP6S28 en SPI avec la librairie wiringPi sur Raspberry Pi
*/
#include "GestionMCP6S28.h"
// ***************************************
// Constructeur
// @param la broche de sรฉlection
// Mรฉmorise la broche et initialise le SP... | [
"noreply@github.com"
] | noreply@github.com |
0b2032840f48f7c441b3c5f8cf79c0849c65ec6e | b1b06b82d6a364599c8b895010db217b0a2ed135 | /app/src/main/jni/include/opencv2/calib3d.hpp | 06fa957e4bbc644d3dc0f7555df18f5a541cf12f | [
"MIT"
] | permissive | abhijitramesh/Paneeer | e61ce4f32e4ad1d546392c19cb5da8749d98e825 | 461fb3cdea9e31b024cade721b1996193accad70 | refs/heads/master | 2022-11-23T19:40:55.135163 | 2020-07-26T09:14:28 | 2020-07-26T09:14:28 | 282,632,073 | 1 | 0 | MIT | 2020-07-26T11:05:26 | 2020-07-26T11:05:25 | null | UTF-8 | C++ | false | false | 158,736 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"yashsja@gmail.com"
] | yashsja@gmail.com |
86c92290ed2fbb0e7d9076f690e99cfc1cf379a2 | 96a25043f0414f1f4ecd6f91e3d13f95418213cb | /coman_shared/examples/wbmc/cpp/inertia_2_2.cpp | 9875466ed3759af1ad3f70cc109b742ffad1cd04 | [] | no_license | xwavex/coman_workspace | b938615a7e678827dbdb0c44bb1b339f1e612302 | 1b8681726ff11a7b5bc955f143c043afeee5b26e | refs/heads/master | 2020-03-24T00:04:01.445328 | 2018-07-16T09:00:52 | 2018-07-16T09:00:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532,812 | cpp | #include "wbmc_func.h"
float inertia_2_2(Eigen::Matrix<float,29,1>& s, Eigen::Matrix<float,29,1>& c) {
float s4 = s(3);
float s5 = s(4);
float s6 = s(5);
float s7 = s(6);
float s8 = s(7);
float s9 = s(8);
float s10 = s(9);
float s11 = s(10);
float s12 = s(11);
float s13 = s(12);
float s14 = ... | [
"dhruvkoolrajamani@gmail.com"
] | dhruvkoolrajamani@gmail.com |
7afaaa964be49863131d231891d2b9cb6a706c89 | 695a4404f8f5e1f54a65d78db6c8f48b0646072a | /mylib/Utils.cpp | 96b3edb804e2446bc3e7dea744beb17aafd84107 | [] | no_license | dongeronimo/estudos_cg | 7af08bd55ee129889a035aaf43afef086fefbd4e | 07d2b2689de36bcc118f23f24e00252b2fcbaa2a | refs/heads/master | 2020-04-17T09:50:48.783307 | 2016-10-13T02:29:41 | 2016-10-13T02:29:41 | 67,807,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include "Utils.h"
#include <glew.h>
#include <fstream>
std::string ReadTextFile(std::string path)
{
std::string loadedText;
std::ifstream loadTextStream(path, std::ios::in);
if (loadTextStream.is_open()) {
std::string Line = "";
while (getline(loadTextStream, Line))
loadedText += "\n" + Line;
... | [
"luciano.geronimo.fnord@gmail.com"
] | luciano.geronimo.fnord@gmail.com |
ee478300d2541c2b1c73dd9c4a8ac0f2a3ffe90a | a5c2d77783ea11e1cfebc388a058aca5e98c4a5c | /Chapter 5/5-8/hcat.h | 0fae20c7b078b2b4d439392a1ccaae26fd1413bc | [] | no_license | phyzhenli/Accelerated_Cpp | 1f1d1c102fbf27988845355c2566ae4def4e2a70 | ef8051cb0a5fd4765431269284ad8395736ba22b | refs/heads/master | 2023-02-13T17:59:23.092722 | 2021-01-05T08:02:38 | 2021-01-05T08:03:14 | 296,851,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | #ifndef GUARD_hcat
#define GUARD_hat
#include <string>
#include <vector>
std::vector<std::string> hcat(const std::vector<std::string>&, const std::vector<std::string>&);
#endif
| [
"1036281414@qq.com"
] | 1036281414@qq.com |
846e66ba4cc5f672ae212d0f99f56a52a4a5c94c | 5ccc1917beb61ce10bfe62d3325780e76b18b409 | /iterationcalc.cpp | c5294402958db33541f7940cf1331675124d0dfd | [] | no_license | Vodogrey/Bifur | 1a9f1c4611d6e70081bc8a2dc6628416a05c43d5 | 9fd73afe1d0fb7a59bf71dbb742f5a63496b17ab | refs/heads/master | 2021-01-21T06:52:45.685715 | 2017-03-27T11:24:28 | 2017-03-27T11:24:28 | 83,290,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,148 | cpp | #include "iterationcalc.h"
iterationCalc::iterationCalc(QObject *parent) : QObject(parent)
{
m_calc = new mathCalc();
}
short iterationCalc::comp(double a, double b){
double c=a-b;
if( qFabs(c)<=EPS)//a==b
return 0;
if(c<EPS)
return 2;//a ะผะตะฝััะต b
else
return 3;
}
int it... | [
"vodogrey666@mail.ru"
] | vodogrey666@mail.ru |
cec3e9e6abd6dfc87d7d5e5e5b25ae7003b67b56 | 299b377022f52b20e3c9696950da9007e9b078a4 | /src/blas_like/level1/TransposeContract.cpp | 509ed4808844fd935b197193934c41b8fdd395b1 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | sg0/Elemental | 43cba65d001de299167363c349127cf8c23f7403 | 614f02509690449b553451e36bc78e7e132ea517 | refs/heads/master | 2021-01-15T09:33:56.394836 | 2016-02-29T18:25:53 | 2016-02-29T18:25:53 | 19,929,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,599 | cpp | /*
Copyright (c) 2009-2015, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include "El.hpp"
namespace El {
template<typename T>... | [
"poulson@stanford.edu"
] | poulson@stanford.edu |
72537eb620a9f1d94b9990f8a083f1067cf9b22e | c12681db345c93a7a36033e7e537d79e355d55ff | /include/CHAlgorithms.h | aa123c3adf02802997a8bd307461e0aaa0b92fb0 | [] | no_license | mayank271/ConvexHull | 4bd85432a897b62b5b458e52ae85c006b49d4765 | 18337706355e8afb9f66b1fb4943df51d080f7f7 | refs/heads/master | 2020-04-29T11:42:14.623813 | 2019-05-11T15:18:46 | 2019-05-11T15:18:46 | 176,108,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,134 | h | //
// Created by Mayank on 16-03-2019.
//
#ifndef DAA_CONVEXHULL_CHALGORITHMS_H
#define DAA_CONVEXHULL_CHALGORITHMS_H
using namespace std;
#include "Point.h"
#include <vector>
#include <algorithm>
using namespace std;
template <class T>
class ConvexHull{
public:
vector<Point<T>> points;
vector<Point<T>> con... | [
"f20150759@hyderabad.bits-pilani.ac.in"
] | f20150759@hyderabad.bits-pilani.ac.in |
b86a0733373f6d65128a65916ee3f8f659b53b03 | e635966d6923f86f83844f7edf915dfd04cfb2e4 | /nonMemberBeginEnd/main.cc | 2962b4858465c18b8e51e15ea3c794955f9f96e8 | [] | no_license | MaximeGaudin/0xExperiments | cf63e264529a2fae6d3955f8c909ee0aed80202b | 32142d28307c4a359f7e77f435bd4bd857e85f08 | refs/heads/master | 2020-07-03T12:28:02.806210 | 2014-08-19T13:54:19 | 2014-08-19T13:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cc | #include <iostream>
#include <string>
#include <map>
#include <utility>
#include <iterator>
int main ( ) {
std::map < std::string, std::string > alias;
alias.insert ( std::pair < std::string, std::string > ( "ll", "ls -al" ) );
alias.insert ( std::pair < std::string, std::string > ( "sl", "ls" ) );
alias.inser... | [
"gaudin.maxime@gmail.com"
] | gaudin.maxime@gmail.com |
4f401b02c166fdf68fe8b4c656768ceb2bb4ac96 | 2dad85cbc253010d650e205ebdcf413c3c9d7494 | /placement count the no. of inversions int the array/main.cpp | cad8fd338a0a5712b5164262bb08b854c45fb24f | [] | no_license | ashutosh0305/Geeks-for-Geeks-Must-do-coding-Questions-Bootcamp | e70bac635bd19123f32ca8c679e6a0e03c385b83 | a83aaa624c0ba5bd287319b89182522b3e9390a4 | refs/heads/master | 2023-02-12T02:43:56.911014 | 2021-01-13T15:45:41 | 2021-01-13T15:45:41 | 328,281,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include <iostream>
using namespace std;
int countinversions(int arr[],int n)
{
int count=0;
for(int i=0;i<n-1;i++)
{
for(int j=i+1;j<n;j++)
{
if(arr[i]>arr[j])
{
count++;
}
}
}
return count;
}
int main()
{
int arr[]=... | [
"ashutoshbisht0305@gmail.com"
] | ashutoshbisht0305@gmail.com |
476fe2c9f324828185acee60d459d5e1b9e87115 | 5522582d2b75066bdb9157ba5a35b8f686b2f787 | /doc/v0.1/f/test.cpp | 01390f5a1e0225a2acd1012a1b5d3d3194090bf5 | [] | no_license | 337529542/EngineLite | 58915c9e64150ab129566a8117de1f43b45d2e12 | 57ee545ee0ad0a3db16d5f664e43f4a706115fbc | refs/heads/master | 2021-01-10T21:27:56.767119 | 2013-05-05T04:25:14 | 2013-05-05T04:25:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,025 | cpp | #include "ELEntity.h"
#include "ELMath.h"
#include "ELDaeMeshLoader.h"
#include "ELLog.h"
#include "ELRoot.h"
#include <stdlib.h>
#include <windows.h>
void dump_matrix(ELMatrix4x4 m)
{
printf("\n");
printf(" |%f %f %f %f|\n", m.m[0][0], m.m[0][1], m.m[0][2], m.m[0][3]);
printf(" |%f %f %f ... | [
"337529542@qq.com"
] | 337529542@qq.com |
61a9deab99f4c861d675f364c993dfc1e451a1ef | a679eaaa38b76ae34e39fa209d176b522022a4ba | /Competitive programming.cpp | 56f02c68faccb51c3395036f4a57b8e6c74f4450 | [] | no_license | pawarspeaks/HacktoberFest2021-Accepted | 91a837f30df53b70308559e16cf628be90765a99 | 2ae1771125eaf234339b99368c39d00c8fe1b7bf | refs/heads/main | 2023-09-05T12:29:20.273311 | 2021-10-28T18:59:18 | 2021-10-28T18:59:18 | 422,321,531 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include<iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> vec = {0, 1, 2, 3, 4};
for (const auto &value : vec)
cout << value << ' ';
cout << '\n';
int array[]= {1, 2, 3, 4, 5};
for (const auto &value: array)
cout << value << " ";
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
2a3b55bff6ce7e779626610955a62cd328cca315 | 30f5fb4ee5b8d444381b6b370926d5a40ff9a1e5 | /test_bench.cpp | 699bb8984f2340b0c0a8843dd3dca70363b348b3 | [] | no_license | Shubhranshu153/LZWCompression | 1d8c54153fae9111ccb1335f97ad41821084244f | 7f37b454b09b8974392fe773371f79d6e66c6d30 | refs/heads/master | 2022-11-15T03:43:54.404306 | 2020-07-11T12:03:08 | 2020-07-11T12:03:08 | 276,956,002 | 0 | 0 | null | 2020-07-11T11:26:38 | 2020-07-03T17:40:00 | C++ | UTF-8 | C++ | false | false | 4,708 | cpp |
#include <iostream>
#include <cstdint>
#include <string.h>
#include <vector>
#include "LZW.h"
#include <list>
#include <pthread.h>
#include <chrono>
#define FILEIN "./input_data"
using namespace std;
unsigned int load_data(char *Data)
{
//Opening a file in byte read mode
FILE *data_file= fopen(FILEIN,"r"... | [
"subhu@seas.upenn.edu"
] | subhu@seas.upenn.edu |
4f9748a24727e7bc9904bc55e96bc8f8ea0187f0 | 68572da614e34b418daab726a4075fd62eea2375 | /practice/9/drills/3_date_in_9.4.3.cpp | c25050c6997395c9e5489d4754517feabb0dfeea | [] | no_license | samkots/ppp2e | 25ff5e7d2562476f670b439d75bde3564a66e3b7 | b84cfa056600415b8136d773427f11f104e32c5e | refs/heads/master | 2022-01-24T04:16:55.444701 | 2019-08-06T16:36:56 | 2019-08-06T16:36:56 | 113,661,884 | 1 | 0 | null | 2017-12-31T16:15:44 | 2017-12-09T10:44:22 | C++ | UTF-8 | C++ | false | false | 1,827 | cpp |
#include "std_lib_facilities.h"
//------------------------------------------------------------------------------
bool is_date_valid(int y, int m, int d)
{
// assume the year is valid
if (d < 0)
return false;
if (m < 0 || m > 12)
return false;
int number_of_days = 31;
switch (m) {
case 4: case 6:
case 9:... | [
"samkots@gmail.com"
] | samkots@gmail.com |
8ce1371cadaa8ef999a638a6f392f51276a74c91 | 587ed7c6ce391ec519f35db39cc82dca0f480f7b | /remove _loop.cpp | b8a7f958bfcc1673d7dadab038320fc9055bb5ac | [] | no_license | rish-av/Data-Structures-and-Algorithm | 250caa10f713f6cab86080bd98222ab90313a4aa | c3c520344bc14df4dcb27537f3322fecef4b6ea4 | refs/heads/master | 2021-09-21T21:50:11.806846 | 2018-08-31T22:16:25 | 2018-08-31T22:16:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | void removeTheLoop(Node *node)
{
Node* tort=node;
Node* hare = node;
int flag = 0;
if(!node || !node->next){ //handle trivial cases
return;
}
while(tort && hare){
tort = tort->next;
hare = hare->next->next;
if(tort == hare){
flag=1;
break;
... | [
"rkdx007@rediffmail.com"
] | rkdx007@rediffmail.com |
1b95e7d0600cbfa858566c269a1144b611969ca8 | e8717f54486d13ea334945386714b825ab125de4 | /CF/363C.cpp | 1991cda38ae535fca71ef54a6d11688b445707a6 | [] | no_license | prajwal1721/Competitve-Programming | a6a6de9c8a6c8e9fd3bf382166a53aa49d562551 | 39e5049e16044830396d6ff504f739e71dbec3bb | refs/heads/master | 2023-02-10T05:26:24.143539 | 2020-12-21T03:45:59 | 2020-12-21T03:45:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main()
{
cin.tie(nullptr);
ios::sync_with_stdio(false);
string s;cin>>s;
ll p[s.length()+1]={0};
ll flag=0,n=s.length();
if(n<2)cout<<s<<"\n";
else
{
for(ll i=1;i<n;i++)
... | [
"pkssfs1721@gmail.com"
] | pkssfs1721@gmail.com |
28789c63a78cc50fd6269054002d386f469864d1 | 7a281a0c389dfe5be6275958cef018d15801cdc3 | /main.cpp | 57a93c5c2d1169ad13d4d919d0dff1558d37f71a | [] | no_license | ignatiy/demo | bb525f827068e186d7608c246f2fbc641f8e77b2 | 04a62f4d05b6ceda874db8c2d200e02271bfe4ef | refs/heads/master | 2021-01-19T06:37:29.200028 | 2015-02-27T16:13:38 | 2015-02-27T16:13:38 | 30,457,478 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | cpp | /*ะะณะฝะฐัะธะน ะจะธะปะตะฝะธะฝ.ะฟัะพะตะบั ะบะฐะปัะบัะปััะพั. ะบะฐะปัะบัะปััะพั ัะฐะฑะพัะฐะตั ะฒ ะบะพะฝัะพะปัะฝะพะผ ัะตะถะธะผะต. ะฒัะฟะพะปะฝัะตั 4 ะดะตะนััะฒะธั.
ัะผะฝะพะถะตะฝะธะต,ะดะตะปะตะฝะธะต,ะฒััะธัะฐะฝะธะต ะธ ัะปะพะถะตะฝะธะต
ะฟัะธ ะทะฐะฟััะบะต,ัะฝะฐัะฐะปะฐ ะฝัะถะฝะพ ะฒะฒะตััะธ ะทะฝะฐะบ ะดะตะนััะฒะธั,ะฐ ะดะฐะปะตะต ะฒัะฑัะฐัั ะฝัะถะฝัะต ะฒะฐะผ ัะธััั.
ะตัะต ะผะพะผะตะฝั.ะฟัะธ ะฒะฒะพะดะต ัะธััั ะฒ ะฟะพะปะต "znak"(ะทะฝะฐะบ) ,ะฟัะพะณัะฐะผะผะฐ ะดะฐะตั ะฒะฐะผ ะทะฝะฐัั,ััะพ ะฝัะถะฝะพ ะฒะฒะตััะธ ะทะฝ... | [
"ignatii1994-23-10.ru@mail.ru"
] | ignatii1994-23-10.ru@mail.ru |
b3473b9e3d305d4adc4eff140aac655d57e05691 | c41b3bc268b23c6f40ed089ee52bd45c600b8069 | /test/11-28/YL-X503-C02/color/color.cpp | da41d7d473003abf6639d5a77be5768808c558d0 | [] | no_license | xzj213/code | 5889530ad89a38d7353e742acf94fd085aca6a44 | 46ed1e792b3a75b56e71eba86b12fcd9c4765523 | refs/heads/master | 2023-01-20T17:16:03.536237 | 2020-12-01T01:26:23 | 2020-12-01T01:26:23 | 315,528,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | /************************************************
*Author : xzj213
*Created Time : 2020.11.28.08:13
*Mail : xzj213@qq.com
*Problem : color
************************************************/
#include <bits/stdc++.h>
using namespace std;
int n;
void chkmax(int &a,int b) {if (a<b)a=b;}
void chkmi... | [
"xzj213@qq.com"
] | xzj213@qq.com |
d05af9eea29c1e59af3f3937fb93754187556258 | 0aa3a037233e05905aa6aa751201458f2417a651 | /Test/moflow_test_console/moflow_test_console.cpp | 9eb19d4278e27382cedfcd738106b7644274dfa2 | [] | no_license | cherry-wb/moflow | 6a0ad94abbe74a6b00b5f02102e5e9b7a2f4f517 | fb3797376416c61d7defcf70f231c8754941ba6a | refs/heads/master | 2020-12-11T05:33:31.328233 | 2013-09-30T05:45:08 | 2013-09-30T05:45:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | #include <Windows.h>
#include <stdio.h>
#include <time.h>
extern int test_file_io();
extern int test_network_io();
extern int test_direct_overwrite();
int main(int argc, char **argv)
{
printf("Moflow test console v0.1\n");
if(argc == 2)
{
if(!strcmp("file", argv[1]))
test_file_io();
else if(!strcmp("networ... | [
"rjohnson@sourcefire.com"
] | rjohnson@sourcefire.com |
229d32f267eca91e6fe9bf52db11ba382ab1c177 | 8a874f1e8f95c18332ebea4cef4d28549c0edb7b | /FinalProjectDataCompression/Huffman.cpp | eb7f5669b122df5eb5f07809be2eaf40b9e16036 | [] | no_license | SamFeig/CSCI-2275 | d24dca3011a05285016d13098ed5bb7435c488ac | d455b056570dd071f181e0ad80bdba948e48dcb9 | refs/heads/master | 2020-03-28T11:12:46.624473 | 2018-12-14T17:03:46 | 2018-12-14T17:03:46 | 148,188,992 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,802 | cpp | //
// Created by Sam Feig on 12/3/18.
//
#include "Huffman.h"
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <iomanip>
#include <map>
#include <queue>
#include <algorithm>
#include <cassert>
#include <stdexcept>
using namespace std;
Huffman::Huffman(const string& data) {
init(... | [
"sam.feig@frogforce503.org"
] | sam.feig@frogforce503.org |
13ec41ac04665eb910f3637455fb5f057b36235c | 9b6eced5d80668bd4328a8f3d1f75c97f04f5e08 | /bluetoothapitest/bluetoothsvs/T_BTSdpAPI/inc/T_DataSdpAttrValueBoolean.h | 59fb9b6dbbcab1fdc92261e4f062a3f368bbffab | [] | no_license | SymbianSource/oss.FCL.sf.os.bt | 3ca94a01740ac84a6a35718ad3063884ea885738 | ba9e7d24a7fa29d6dd93808867c28bffa2206bae | refs/heads/master | 2021-01-18T23:42:06.315016 | 2010-10-14T10:30:12 | 2010-10-14T10:30:12 | 72,765,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | h | /*
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
f03b463880b071b7191f5fc9c647c4bb3ec4f769 | dc980bbd2bd6078f1e49004afcc710a89ed12565 | /src/test/skiplist_tests.cpp | 81526220cde8badf5b49e2aa1f36ec566956b9ed | [
"MIT"
] | permissive | frankjardel/isocoin | c21408225399b33f941c303d0e66e0db264a03c2 | 36e3ce6d64839a37c45b6e17aedfb2238c3a5257 | refs/heads/master | 2020-03-28T10:11:59.484529 | 2019-07-17T17:06:11 | 2019-07-17T17:06:11 | 148,090,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,701 | cpp | // Copyright (c) 2014-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
#include <util.h>
#include <test/test_isocoin.h>
#include <vector>
#include <boost/test/unit_test.hpp>
... | [
"jardelfrank42@gmail.com"
] | jardelfrank42@gmail.com |
feab8d879cb6084fdf0aaa4cfa4ba0cd0fb41a75 | 27eeaa70596da4c524d57af9b473b951333ef7fd | /Virtual Function.cpp | 84b0ec04e9e75b3164351ece7408c4fe03fd7d94 | [] | no_license | vishalpatil0/CPP-programs | b4f1e7289781af6ebbca61816efed085f52e16c2 | 67c21d33bd7c64ea7b63095bc2bf5b109b648496 | refs/heads/master | 2023-02-08T07:02:58.534329 | 2023-01-28T14:49:17 | 2023-01-28T14:49:17 | 219,329,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | /*
A virtual function is a member function which is declared within a base class and is re-defined(Overriden) by a derived class. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived classโs version of the func... | [
"vishalgpatil10@gmail.com"
] | vishalgpatil10@gmail.com |
497f1fbe75864ecc4e5f5042b0886de48154c1b1 | 331dd70986c34acb8c1cbd8d5b257424732ee431 | /common_protocol.h | 3dca166468823dfec2c104bc4a0f3a756f4bf277 | [] | no_license | camiboj/tp3_7542_fiuba | 7e4adad50ceefb5cbb12d44d5ccfb19e227b3f27 | dce4b14432c1a8c6df74658d965ad47d2b8fa327 | refs/heads/master | 2022-05-22T06:33:33.468983 | 2019-05-14T15:29:45 | 2019-05-14T15:29:45 | 182,813,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | #ifndef COMMON_PROTOCOL_H
#define COMMON_PROTOCOL_H
#include "common_socket.h"
#include <string>
/*
* Encapsulaciรณn del socket que conoce el protocolo de comunicaciรณn pedido
*/
class Protocol {
private:
Socket skt;
public:
Protocol();
explicit Protocol(Socket& _skt);
~Protocol... | [
"camiboj@gmail.com"
] | camiboj@gmail.com |
765d31921205ea7af29fd2abcb5d380ee9d1037c | 2d932a7156fb02290bc98cb2cc3df857c5dbd0a6 | /Section13/DefaultConstructor/DefaultConstructor/main.cpp | bf784eb9e6112ecc34f56eb320243f8e6662b155 | [] | no_license | djedjethai/learn-c- | 495a87bbf25d2e28f4280b8701d64d7976f47695 | a3b1df1afb97bd597d76d5f150bce8996139dc7d | refs/heads/master | 2022-12-24T07:22:07.442168 | 2020-09-19T12:54:23 | 2020-09-19T12:54:23 | 296,869,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include "Player.h"
#include <string>
using std::cin;
using std::cout;
using std::endl;
int main()
{
Player anna("Bob", 90, 3);
// Player anna("Simon");
// anna.setName("Anna");
std::string joueur = anna.getName();
cout << joueur << endl;
return 0;
}
| [
"djedje.thai.ok@gmail.com"
] | djedje.thai.ok@gmail.com |
0190fa5a072375e6829bba1c6a985815e43a2807 | b0d1bc4da0d85c1656531c15b838f45f0d87462d | /GalagaSDL/Timer.h | 559fe0ecb2f4823cd1d9d212fe73f3b42faff1ce | [] | no_license | nbhlong/GalagaSDL | daeb24a52b096fb565707e1efd274f51373472d2 | 2d8e36c65bd20cd56ca5ff14628f0c0de1d3b9cf | refs/heads/master | 2020-10-02T00:48:07.984815 | 2018-10-02T00:45:13 | 2018-10-02T00:45:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | h | //----------------------------------------------------//
// Timer.h //
// Singleton //
// Used to keep track of the time between each reset //
// A reset is usually called after each frame //
// ... | [
"hairpull@gmail.com"
] | hairpull@gmail.com |
3a4afc8a6238cbf7e0f7baaca4f1347accc1191e | dcb7dae56932f62292fd0d607e32dc2f238d5551 | /158B/main.cpp | 5a8e398badc2c186e03ba420b4109c5065e86541 | [] | no_license | alielrafeiFCIH/Problem_Solving | b5f330d115d3ca1c34613eb2639226c271f0052b | 15863cd43012831867fa2035fc92733a059dcfbf | refs/heads/master | 2020-06-27T03:33:15.668655 | 2019-09-03T09:49:26 | 2019-09-03T09:49:26 | 199,831,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int no;
string name[]={"ali","ahmed","omar","mohamed"};
string names;
map <string,int> mymap;
map <string,int> ::iterator it;
for(int i=0;i<4;i++){
no=i;
names=name[i];
mymap[names]=no;
}
for(it=mymap.begin();it... | [
"alielrafei.fcih@gmail.com"
] | alielrafei.fcih@gmail.com |
cf990306acce623dc375e47e0cca64a74f41821f | 1e785b0c901087910c07b64b5161984863c4887c | /MCAD/Mn/stdafx.cpp | 4a67c0df16bbde1ab70b6298f0dd92747258eed1 | [] | no_license | pinery2004/mcad01s | 487eee3e27945d83540a0548777ca6f58d1ff33d | 1b01c200aefc8cd89c958bd42df3900250c6827d | refs/heads/master | 2022-07-18T23:49:10.011615 | 2020-05-20T03:38:59 | 2020-05-20T03:39:13 | 265,440,358 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 254 | cpp | // stdafx.cpp : ๆจๆบใคใณใฏใซใผใ Mn.pch ใฎใฟใ
// ๅซใใฝใผใน ใใกใคใซใฏใใใชใณใณใใคใซๆธใฟใใใใผใซใชใใพใใ
// stdafx.obj ใซใฏใใชใณใณใใคใซๆธใฟๅๆ
ๅ ฑใๅซใพใใพใใ
#include "stdafx.h"
| [
"pinery2004@yahoo.co.jp"
] | pinery2004@yahoo.co.jp |
bc7ffda9aa454cbd108d1ffaea770a1dd1fe0af4 | 320a8916cf8fc52de5f92f1004eb25a06806f768 | /src/TicTacToe.cpp | 4bd6f6f55271f001114dd0a660a2d394dcee07ee | [
"MIT"
] | permissive | jwfunk/Untitled-AI | 59e4e477e8aea8009325980f2272c03155094bc5 | 7cc50e5dcb6e3744bda9601274a925403e25d248 | refs/heads/master | 2023-02-01T17:42:01.975617 | 2020-10-02T00:43:46 | 2020-10-02T00:43:46 | 275,935,487 | 0 | 0 | MIT | 2020-10-02T00:43:47 | 2020-06-29T22:02:44 | C++ | UTF-8 | C++ | false | false | 9,606 | cpp |
//TicTacToe.cpp
#include "TicTacToe.h"
TicTacToe::TicTacToe(){
for(int i = 0;i < 9;i++)
board[i] = 0;
}
int TicTacToe::winner(){
if(board[0] != 0 && board[0] == board[1] && board[0] == board[2])
return board[0];
if(board[3] != 0 && board[3] == board[4] && board[3] == board[5])
return b... | [
"JWFunk@outlook.com"
] | JWFunk@outlook.com |
43426650c009924a1947532b666de5d2513d9f29 | 774de37368ad58f423dea9fe9ded5c600c14725a | /GetOffMyLawn/WaterBlast.h | 05a09a940a94f8f7d7ab7de5c0be211012bd5c71 | [] | no_license | JamesPreston1993/GetOffMyLawn | 6b77d0826941147fbe6f275c92868ef1644f1246 | 90dfe46cb73829ad60742a33132be0c0add3cef6 | refs/heads/master | 2021-01-17T05:58:22.334893 | 2015-03-08T18:15:53 | 2015-03-08T18:15:53 | 31,622,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | h | #pragma once
#include "Entity.h"
class WaterBlast : public Entity
{
public:
WaterBlast(short x, short y);
void update();
}; | [
"jamescpreston93@gmail.com"
] | jamescpreston93@gmail.com |
b96cbb772f61620bde5eac8c4f5cc471d16ca114 | 6e07650759032733aa327f69689ac7989fabe627 | /dmc.cpp | cb82efa8dee38b7d493991a5d2eb9029c65ebd54 | [] | no_license | alainpetit21/CompTest | d6754ae9e9c8d7f60c9ef66124df6c554dc7c789 | 3659b42822cbc543e099d94e983831c5503b04c5 | refs/heads/master | 2020-03-20T18:06:44.126351 | 2018-06-16T10:05:41 | 2018-06-16T10:05:41 | 137,571,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,603 | cpp | #include <malloc.h>
#include <memory.h>
#include <stdio.h>
typedef struct nnn {
float count[2];
struct nnn *next[2];
}node;
static node *p;
static node nodes[256][256];
int nbNodeNeeded;
float DMC_Redict();
void DMC_Init(int memsize);
void DMC_Update(int b);
void DMC_Flush();
void DMC_Reset();
... | [
"alainpetit@hotmail.com"
] | alainpetit@hotmail.com |
39680f4e203b7f1bfd898488b7c4c6734cb5aa06 | d0544410448794664464e293cfd5085b23e2dede | /c-plus-plus/OCT-15/MGCHGYM.cpp | e267c7266b187eb0a9691117cd023d67f0b3a3c4 | [] | no_license | amal1994/Codechef | b85060a2707428485c1cea52f7f11acb95045336 | 602d63427016722abc5e3098aabc45848478cd3f | refs/heads/master | 2021-01-10T14:30:01.601623 | 2015-11-20T13:05:44 | 2015-11-20T13:05:44 | 46,259,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,697 | cpp | #include <iostream>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
using namespace std;
vector<int> w;
void reversal(int l,int r)
{
int num = (r-l+1)/2;
for(int i=l;i<l+num;i++)
{
w[i]=w[i]+w[r];
w[r]=w[i]-w[r];
w[i]=w[... | [
"amal1994@users.noreply.github.com"
] | amal1994@users.noreply.github.com |
ccf2221fe080114fa3a76c523ec7b70ed379681e | ca41f590230bd741361bf5ddc6b46ed16455d2a2 | /Mesher3d/Mesher3d/Include/Pslg.h | 69928d4c66ae446ba6a3864d8627808bbf672632 | [] | no_license | tikeshwar/Mesher3D | 613bcb6a4062782341bdf5de12e0e70561e4a7ea | da00980ce39c3e22f76c0af0583a85796e2bf392 | refs/heads/master | 2021-01-12T06:00:44.376362 | 2017-02-21T19:30:14 | 2017-02-21T19:30:14 | 77,271,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | h | #pragma once
#include <vector>
#include "Defines.h"
#include "BBox.h"
namespace M3d
{
class Pslg
{
public:
typedef std::vector<GCore::Vec3d> PointList;
typedef std::vector<GCore::Vec3d> SegmentList;
typedef std::vector<size_t> Polygon;
typedef std::vector<Polygon> FaceList;
public:
Psl... | [
"tikeshwar@cctech.co.in"
] | tikeshwar@cctech.co.in |
f376a4b2bd67766a077867cc51799ca59083e4c7 | d87a64d5a7fbb80658f97d75e7ac148fe5e99ac7 | /coding-blocks-course/character-arrays/remove-consecutive-duplicates.cpp | c10887d46e3a4dca4d2da4932774539748a012ac | [] | no_license | Ctrl-Code/Files | 435a9a517611bc9cad6564e0349e3dbed6bc07cf | c3fae0168a8c2fb2f0b028348d5d0cc536d70b28 | refs/heads/master | 2021-07-06T05:18:49.339047 | 2020-07-29T20:18:38 | 2020-07-29T20:18:38 | 135,023,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include <iostream>
#include <cstring>
#define newLine std::cout << std::endl;
void remove_consecutive_duplicates(char str[])
{
int stringLength = strlen(str);
// i.e. string is either of 1 character or does not exist
if (stringLength <= 1)
return;
// now process
else
{
int i... | [
"chebomsta@gmail.com"
] | chebomsta@gmail.com |
d42ecdc314e29cd2a733bfb88ed2182843719f50 | 24f26f85f379676764c05f92f1ec75c6354f2a05 | /Language-Tools/Repeat-and-Missing-Number -Array.cpp | 2fca5ac9458bbc659ad7783fb41ea2ec09ec3745 | [] | no_license | Mehulcoder/Coding-ninjas-competitive | 09fcbf2267da521eabeda112ed803c76c782d7ed | a167d473c9d2c7df45a38d5c4454f8e651964fb7 | refs/heads/master | 2022-02-27T12:35:34.657228 | 2021-09-02T16:37:23 | 2021-09-02T16:37:23 | 201,101,214 | 290 | 183 | null | 2022-02-16T02:08:20 | 2019-08-07T17:54:08 | C++ | UTF-8 | C++ | false | false | 1,055 | cpp | /*
Name: Mehul Chaturvedi
IIT-Guwahati
*/
/*
PROBLEM STATEMENT
You are given a read only array of n integers from 1 to n.
Each integer appears exactly once except A which appears twice and B which is missing.
Return A and B.
Note: Your algorithm should have a linear runtime complexity. Could you impl... | [
"mehul355180@gmail.com"
] | mehul355180@gmail.com |
5798b21fef06002781d85e09bdf117d4b66ffa37 | 9499275511d94dc1d6b0cec5e4020cab74670427 | /ะฅะฐะบะฐัะพะฝ/wifi_azure/wifi_azure.ino | 4708ad7a04a94d7e002c1ada87e9d866ab65162f | [] | no_license | yozka/robot_education | 0cd793a71b473d281c933ae8b3e667738ac957ea | 7be062a7f1ee68d05cee312ecb1cb2d72d0cbf6e | refs/heads/master | 2021-04-04T12:12:40.902562 | 2018-07-25T04:40:57 | 2018-07-25T04:40:57 | 124,536,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,364 | ino | #include <ESP8266WiFi.h> //ะฒะฐะนัะฐะน
#include <WiFiClientSecure.h> //ะบะปะธะตะฝั ะดะปั ะฟะพะดะบะปััะตะฝะธั
#include <AzureIoTHubMQTTClient.h>
#include <DHTesp.h> //DHT sensor library for ESPx by beege_tokyo
#define PINLED 5
#define IOTHUB_HOSTNAME "iotTemperature3291.azure-devices.net"//ะฐะดัะตั ะฟะพะดะบะปััะตะฝะธั ะบ ะพ... | [
"yozka@tigraha.com"
] | yozka@tigraha.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.