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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a715cfe10e32a08221e989620f280f5014de858 | a4c7b23785ad8d30c950c23cef7c47f846484cbf | /GeneticAlgorithm/Utility.h | 9526c275fd453f92f77720f3a2b379f74ebea576 | [] | no_license | Pandamonium-san/GeneticAlgorithm | 971ca8598a405f63f812df481715499830f98260 | d2770af83d30f3b1ef62624d9b1876f7c3a44109 | refs/heads/master | 2021-01-01T05:20:18.870287 | 2016-04-26T19:34:22 | 2016-04-26T19:34:22 | 57,156,499 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | #pragma once
#include <SFML/System/Vector2.hpp>
#include <sstream>
class Utility
{
public:
template<class T>
static std::string ToString(T x)
{
std::stringstream type;
type << x;
return type.str();
}
static sf::Vector2f AngleToVector(float angle);
static float VectorToAngle(const sf::Vector2f& v);
static... | [
"henrik.p95@gmail.com"
] | henrik.p95@gmail.com |
39aca9a08f91adf1740742b79131682cc2ccbc80 | fdd005e92a5e021a85936e2f4f720dbcadcfd476 | /project-company/EntryIntoEmployment.h | 45f549be9f3a8ffa8cf70ead3cab23e29d1bee95 | [] | no_license | towny56/Company | 8673bf860c91ee52de0bc32c0f40610ce27f8e27 | cf6452733767835b12d913fc187d98c9104263a6 | refs/heads/master | 2022-12-17T07:27:46.209152 | 2020-08-25T19:57:40 | 2020-08-25T19:57:40 | 290,310,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | h | #pragma once
#ifndef __ENTRYINTOEMPLOYMENT_H__
#include<fstream>
using std::ostream;
using std::istream;
using std::ofstream;
using std::ifstream;
#define __ENTRYINTOEMPLOYMENT_H__
#define DAY 1
#define MONTH 1
#define YEAR 1900
struct EntryIntoEmployment
{
private:
unsigned int day;
unsigned int month;
unsig... | [
"a.t.todorova97@gmail.com"
] | a.t.todorova97@gmail.com |
77e05269f6ece6c8e12a745b2de3d3aaa284eaec | 144ccd910eb44cfba1818fb0673d35868cd23893 | /HelloTuiCpp/Classes/tui/tagMap/tuiTag_store.h | f946964cf26437e667626d1a120ea888b1519910 | [] | no_license | cocositachi/Tui-x | b217806b9f5810bb6bc90964921f39c91687c468 | d94c21ad8b96fff0fc9ca10561464de4fe3d105d | refs/heads/master | 2021-01-17T22:29:23.928329 | 2014-07-01T12:23:19 | 2014-07-01T12:23:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #ifndef __TAG_STORE_H__
#define __TAG_STORE_H__
#define PATH_STORE "tui/tui_store.xml"
namespace Store {
static const int PANEL_STORE = 1 ;
static const int ARMBTN_TEST2 = 2 ;
static const int LIST_GOODS = 3 ;
static const int LAYOUT_ITEM = 5 ;
static const int IMG_ITEMBG = 1 ;
static const int BTN_PAY = 2 ;... | [
"342854406@qq.com"
] | 342854406@qq.com |
2d0a29014c6a24432fc5198afd85c243c0d8da67 | 8fcb50a7cf43c27f6c38900555dc448c95ec08cd | /0785-Is Graph Bipartite/0785-Is Graph Bipartite.cpp | fa00ac5370e98b7060abc1d6118255b533bf6960 | [
"MIT"
] | permissive | KevinACoder/LeetCode | 74fc5b0d39283319abe25f2e6ec7180e9597f0e2 | 8b9abb8a69cf949da9cf355b3b73e2ac7840862a | refs/heads/master | 2020-04-24T18:15:51.142862 | 2019-03-09T02:30:38 | 2019-03-09T02:30:38 | 172,174,705 | 1 | 0 | null | 2019-02-23T05:20:14 | 2019-02-23T05:20:14 | null | UTF-8 | C++ | false | false | 912 | cpp | class Solution {
public:
bool isBipartite(vector<vector<int>>& graph) {
int n = graph.size();
vector<int> visited(n);
for (int i = 0; i < n; ++i) {
if (visited[i] == 0) {
visited[i] = 1;
if (dfs(graph, i, -1, visited) == false) {
... | [
"jiadaizhao@gmail.com"
] | jiadaizhao@gmail.com |
19f1c8b065c850d51f13b0f4fcd2ebed664076aa | 258fd9b11370271d605df507fdf9ec00977e9895 | /01130 Arduino sktech/graphicstest/graphicstest.ino | de7ba94d937831cc9ca4f592dfe115059ae54171 | [] | no_license | laploy/IoT | b1e8947a19b0f9e8b5fae3a7a7d2c82b7a025594 | 9e72e19203304660b747a3cbe68b53679b3054a1 | refs/heads/master | 2020-03-20T20:28:08.298909 | 2018-07-26T07:57:49 | 2018-07-26T07:57:49 | 137,689,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,925 | ino | /***************************************************
This is our GFX example for the Adafruit ILI9341 Breakout and Shield
----> http://www.adafruit.com/products/1651
Check out the links above for our tutorials and wiring diagrams
These displays use SPI to communicate, 4 or 5 pins are required to
interface (R... | [
"noreply@github.com"
] | laploy.noreply@github.com |
c9945c316f5f1f704a38b22b90247835f9d4720c | 49fe9dbd5b6ef2374fbdfdb9a3c4b8d44f876a40 | /projects/robots/robotis/bioloid/controllers/bioloid_dog/Robot.cpp | b70a6e30f3a212552d71b0200e3c4abfcc57f9b0 | [
"Apache-2.0"
] | permissive | Thelm76/webots | e47c63c4275592b0c6171b2725f43af66b778f78 | 2617febf233ac5c4a19e60c09398b572934397c8 | refs/heads/master | 2020-05-15T05:17:30.721745 | 2019-04-29T10:24:56 | 2019-04-29T10:24:56 | 182,102,004 | 0 | 0 | Apache-2.0 | 2019-04-29T10:41:21 | 2019-04-18T14:23:19 | C++ | UTF-8 | C++ | false | false | 9,344 | cpp | // Copyright 1996-2019 Cyberbotics Ltd.
//
// 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 agr... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
9b4b4336e7f45d4f0350c264ea0408d11296584a | 66c9d369172413174e8e21ed4049fc7a4fcbcba3 | /EOF.cpp | b8077aaa0d4510fefdcf5b5842f2f64a11628881 | [] | no_license | Xrvitd/C_code | f145d629a0e3fc36eef4721f649ccaa2c0567f5d | caf03c0ccb2413ff4b768f1e7bddc882de3bb825 | refs/heads/master | 2020-03-10T04:56:45.196112 | 2018-04-12T07:02:54 | 2018-04-12T07:02:54 | 129,205,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<vector>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cstdlib>
#include<string>
#include<bitset>
#include<iomanip>
#include<deque>
#define INF 1000000000
#define fi first
#define se... | [
"noreply@github.com"
] | Xrvitd.noreply@github.com |
22449581c538f38237d5d448a74f7d32446a6f03 | d20dac6f857f7405da4620de2744775c53d380c9 | /simulation/src/c++/mc_mixer.cpp | e1c6109100c6d995b6c995be92c8abcf52224ca8 | [] | no_license | RomanBapst/PX4_mavros | 2a2f356989f693a3a7fe83f85534c351bec53b6b | 728104de9bca7d6b06fa3770115b5cf0791b0a45 | refs/heads/master | 2021-05-28T02:12:48.475948 | 2014-09-28T17:06:18 | 2014-09-28T17:06:18 | 23,229,334 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,891 | cpp | /*
* mc_mixer.cpp
*
* Created on: Sep 17, 2014
* Author: roman
*/
#include <math/Vector.hpp>
#include <actuator_controls.h>
namespace {
float constrain(float val, float min, float max)
{
return (val < min) ? min : ((val > max) ? max : val);
}
class MultirotorMixer
{
public:
MultirotorMixer();
~Multi... | [
"romanbapst@yahoo.de"
] | romanbapst@yahoo.de |
ed15d012cf64cb8539bc499fcb026dab1c126de3 | a83e98cf3f3dee6db00425dba50c26602d4338e3 | /car2dc-kiran/src/utilities/Communication.cpp | f390f7bcce07bf4785774ad1e4a22695bcd3af96 | [
"Unlicense"
] | permissive | kirannCS/MasterThesis | ab7f690d3a7b5aab24ef55f1c0c70252464da2e5 | a12771dc40efe77ae7d6e1631ed66c4b9992afd8 | refs/heads/master | 2020-05-28T07:24:10.197248 | 2019-05-28T18:21:59 | 2019-05-28T18:21:59 | 188,920,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,102 | cpp | //
// Created by kiran.narayanaswamy on 8/15/18.
//
#include "Communication.h"
#include "../../lib/pugixml/pugixml.hpp"
#include "../header/car/CarHeader.h"
#include "../header/ap/AP.h"
#include "../header/apps/DCA.h"
#include "../header/ap/DC.h"
#include "../header/apps/TaskD.h"
#include "Stats.h"
class LOGGING_UTI... | [
"kirann@mail.uni-paderborn.de"
] | kirann@mail.uni-paderborn.de |
a503a6f0b55483f41a33b8b47bf7d2cab68a466e | ba0c514c44dd507ce6edec1a7e8e421bea3a6c23 | /project-phase2/src/main.cpp | 60c447a6cc30084019b85012a5c723042727ec4a | [] | no_license | jainapatel/csci3060-sofe3980 | 38c7715ea8b920a09cccccaa71130edb26fa67f3 | cee0893c4e7036dd5f813643f460137b2baef6ff | refs/heads/master | 2021-01-10T10:30:09.338134 | 2016-03-08T05:05:21 | 2016-03-08T05:05:21 | 53,370,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | /*
authors: Khirthana Subramanian - 100453865
Jaina Patel - 100523188
James Morrison - 100524362
*/
#include "account_manager.h"
#include "utilities.h"
#include <string>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
AccountManager account_manager;
bool logged_in;
Util... | [
"jaina.patel@uoit.net"
] | jaina.patel@uoit.net |
37eb8b4adf6b3da0ada017aa587a45c09162db32 | acf6c6b9550b660f59d81be0c78bcac2a4331f94 | /src/3rdparty/grt/GRT/DataStructures/TimeSeriesClassificationData.cpp | aa054fdeab76fce96fe93d6a9b90a70ed4990e7a | [
"MIT"
] | permissive | wangscript007/Miniwin | 95ad9fff4f234cf0235a017e51a7cfb47c0b0353 | 001d8804d9ae7a1b265fc7a62029469b15505b92 | refs/heads/master | 2022-12-15T11:12:01.746551 | 2020-09-04T07:44:39 | 2020-09-04T07:44:39 | 293,456,945 | 2 | 0 | null | 2020-09-07T07:41:31 | 2020-09-07T07:41:30 | null | UTF-8 | C++ | false | false | 37,746 | cpp | /*
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
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... | [
"houzh@21cn.com"
] | houzh@21cn.com |
571c6e164d8d24f99663a155d5fce0ec5e0b7ed2 | 46a55e75d6ebb504d6b1b1949f3b839d33cb932a | /gry/GKiW_Lab5/3rd_party/bitmap/Bitmap.cpp | 566fff0a96377360ec4780e55796aae4d9714b6d | [] | no_license | Acilya/sem6 | 69eac0423ec7a5db77450b400579d68cb8e6fabf | 79f38fe4117ed74ce54f9250830350f910f6401a | refs/heads/master | 2020-04-10T21:54:26.742812 | 2018-06-15T09:50:03 | 2018-06-15T09:50:03 | 124,297,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,601 | cpp | //File: Bitmap.cpp
//Written by: Mark Bernard
//on GameDev.net: Captain Jester
//e-mail: mark.bernard@rogers.com
//Please feel free to use and abuse this code as much
//as you like. But, please give me some credit for
//starting you off on the right track.
//
//The file Bitmap.h goes along with this file
... | [
"noreply@github.com"
] | Acilya.noreply@github.com |
25a013b41622641c0ef3b06612733be312f225ca | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /crack-tutorial/逆向工程核心原理/04/34/src/redirect/redirect.cpp | f018579f1397d27bf9b14e822501d40b1f458a2a | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UHC | C++ | false | false | 16,802 | cpp | // redirect.cpp
#include "windows.h"
#include "wininet.h"
#include "stdio.h"
#include "tchar.h"
#define STR_MODULE_NAME (L"redirect.dll")
#define STATUS_SUCCESS (0x00000000L)
typedef LONG NTSTATUS;
typedef struct _CLIENT_ID {
HANDLE UniqueProcess;
HANDLE UniqueThread;
} CLIENT_ID;
typedef struct _T... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
df3521adb037b6557a11b419e677d82865c09484 | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /Code/GraphicsAnalyse/CTK/Libs/Widgets/ctkTransferFunctionScene.h | 2ac2da60ff7997f32bb9fe7afcf3ecb99def381e | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 1,602 | h | /*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
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
htt... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
8ad66eeb63052908d84507e0b497c9e93de31777 | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/85.9/U | a20847bc4617e1cf2753f5d1176e9d1b7c6b67b8 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,203 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"henry.rossiter@utexas.edu"
] | henry.rossiter@utexas.edu | |
0be57f3ca942eb15dd787ff2d8c42bfc291eea58 | bdc73df1a7b68f2056c1d7c39b3f1aff80cb950d | /OpenXRExtensions/Source/PerformanceSettingsExtension/Private/PerformanceSettingsExtension.cpp | 645de333914ec659508e09a1a80333983c20595a | [
"MIT"
] | permissive | Mystfit/UnrealOpenXRExtensions | 4be3a365e9e3846206bca847d78f3c7426c93460 | 079d39cf2ad03604baac52cc6542164e04069354 | refs/heads/main | 2023-06-07T00:58:56.774517 | 2021-06-28T04:29:21 | 2021-06-28T04:29:21 | 380,900,311 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,403 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "PerformanceSettingsExtension.h"
#include "ISettingsContainer.h"
#include "ISettingsModule.h"
#include "ISettingsSection.h"
#include "OpenXRCore.h"
#include <OpenXRHMD/Private/OpenXRHMD.h>
#define LOCTEXT_NAMESPACE "FPerformanceSettingsExtensionMod... | [
"byronated@gmail.com"
] | byronated@gmail.com |
e5e2a171da93f9d9fd984af66509390d39adccd5 | 514f3814af5e1859482373a6dae41e63b05f9f3f | /Semester2/Object-Oriented Programming/lab11/lab10/UiGUI.h | 826b741b769a862303247a632521fd06add11494 | [] | no_license | eduardAndrei99/University | 19de44d46a35488dfa6d4684b88826fded9de0b7 | 78fdc4e146f4aae4429ee13cbe57169fe42b2b2c | refs/heads/master | 2021-07-07T03:16:10.783635 | 2020-10-22T17:26:06 | 2020-10-22T17:26:06 | 199,618,302 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | h | #pragma once
#include "Service.h"
#include <qwidget.h>
#include <qlistwidget.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qtablewidget.h>
#include <qboxlayout.h>
#include "activity.h"
#include <vector>
#include <qlabel.h>
#include "activitatiCurente.h"
class ConsoleGui : public QWidget{
private:
Servi... | [
"nechifor_eduard@yahoo.com"
] | nechifor_eduard@yahoo.com |
83a53179ded5f96a1c05ba8a140e649c330888ed | d48790e01e1b239331a7e136e692a612c1c47b95 | /src/checkpoints.cpp | 50adf0e46381f4f264fb75797c54d1ba29b48c92 | [
"MIT"
] | permissive | CryptocoinInc/Shares | be1700aedbf5c52fa226a1fdc12d94bf6f0e3e22 | 4088457da10003efc1e297902b1d3b7e57fe497b | refs/heads/master | 2020-05-24T12:10:26.951802 | 2014-09-25T02:05:08 | 2014-09-25T02:05:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,525 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "t... | [
"adamandshandra@server.local"
] | adamandshandra@server.local |
8b2bcc6b4a16c054b92ed5b36ca32e614777559c | 962d13134dd48d6261e56828c8f69bfb575ff3e7 | /kernel/dev/iommu/intel/iommu_impl.h | bab87e90cd497c1492b3666e5fb4dff041dea437 | [] | no_license | saltstar/smartnix | a61295a49450087a7640c76774f15fb38f07e950 | 8cb77436763db43f70dbe49ea035f5f7e29becac | refs/heads/master | 2021-01-17T21:23:58.604835 | 2019-12-27T01:21:38 | 2019-12-27T01:21:38 | 35,830,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,032 | h |
#pragma once
#include <bits.h>
#include <dev/interrupt.h>
#include <dev/iommu.h>
#include <fbl/intrusive_double_list.h>
#include <fbl/macros.h>
#include <fbl/mutex.h>
#include <hwreg/mmio.h>
#include <zircon/syscalls/iommu.h>
#include "domain_allocator.h"
#include "hw.h"
#include "iommu_page.h"
class VmMapping;
na... | [
"376305680@qq.com"
] | 376305680@qq.com |
ad8ada10d66f6e3be1219c6df43b58e47942b9f2 | 364f28061f4295c9d922243cae9edb279c5ebc93 | /funopttoolkit/GoldenSection.h | 34e942831d318e2af9522b4a7ff14f3af8e52060 | [] | no_license | geo000/LinearAlgebra | e831b3c3fff6fb2dcc85cc2bed6b10a917209149 | 33e44312546c21a6ba39c10e2fc8562e7247b3fd | refs/heads/master | 2021-12-02T23:42:48.111987 | 2013-12-20T10:56:22 | 2013-12-20T10:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #ifndef _GOLDEN_SECTION_H_
#define _GOLDEN_SECTION_H_
#include "BracketMethod.h"
namespace funopt {
namespace nonlin {
class GoldenSection : public BracketMethod {
private:
double xmin, fmin;
const double tol;
public:
GoldenSection(const do... | [
"tatsy.mail@gmail.com"
] | tatsy.mail@gmail.com |
cb016e3dbf5d514b4974e6c6420154d51c741a3a | 6cc00c07a75bf18a2b1824383c3acc050098d9ed | /CodeChef/Easy/E0011.cpp | aa13cbe1ae0a3095403e0583879dbe9937876324 | [
"MIT"
] | permissive | Mohammed-Shoaib/Coding-Problems | ac681c16c0f7c6d83f7cb46be71ea304d238344e | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | refs/heads/master | 2022-06-14T02:24:10.316962 | 2022-03-20T20:04:16 | 2022-03-20T20:04:16 | 145,226,886 | 75 | 31 | MIT | 2020-10-02T07:46:58 | 2018-08-18T14:31:33 | C++ | UTF-8 | C++ | false | false | 310 | cpp | // Problem Code: NUKES
#include <iostream>
#include <vector>
using namespace std;
int main()
{
int A, N, K;
cin >> A >> N >> K;
vector<int> chambers(K);
for(int i=0 ; i<K ; i++){
chambers[i] = A % (N+1);
A /= N+1;
}
for(int i=0 ; i<chambers.size() ; i++)
cout << chambers[i] << " ";
return 0;
} | [
"shoaib98libra@gmail.com"
] | shoaib98libra@gmail.com |
5bdd88ff1b59f0fa882af8119509fd49062943ed | 7bf2cd90e353562b518319aed48085a66cb350fb | /src/test/transaction_tests.cpp | 917f7452cf18dc5cc040104487672b24dc253d80 | [
"MIT"
] | permissive | zouied2000/samacoin | 78761e6e7715cc219ed72953374b7866887fa80e | 94d4dfeb9339dd6b10eb8065aaec7fdf47a929d1 | refs/heads/master | 2021-01-01T18:15:15.629889 | 2017-08-30T13:32:13 | 2017-08-30T13:32:13 | 96,932,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,156 | cpp | #include <map>
#include <string>
#include <boost/test/unit_test.hpp>
#include "json/json_spirit_writer_template.h"
#include "main.h"
#include "wallet.h"
using namespace std;
using namespace json_spirit;
// In script_tests.cpp
extern Array read_json(const std::string& filename);
extern CScript ParseScript(string s);
... | [
"zouied2000@gmail.com"
] | zouied2000@gmail.com |
cf60976665560025554f2f6c843291d0f73c20e4 | b279ebb46dec163942cdbaea84ad70cc41f95fd3 | /DA/lab9/BelmanFord/main.cpp | 0932969b6521af4c89d80a0183fe00442c24a23e | [] | no_license | dandachok/MAI | d84a7a8c3bb02a78c8ec541d8e07f4bd4f3ba8b5 | b74ff634b0d854cfa80d167dc82c6b3ca2ba93f8 | refs/heads/master | 2022-11-30T19:03:29.370543 | 2020-08-11T11:30:47 | 2020-08-11T11:30:47 | 286,725,232 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | #include <cstdint>
#include <climits>
#include <iostream>
#include <vector>
const int64_t MAX = LLONG_MAX;
struct TEdge {
TEdge(int v, int64_t w): vertex(v), wieght(w) {}
int vertex;
int64_t wieght;
};
int main() {
std::ios::sync_with_stdio(false);
int countVertex;
int countEdges;
i... | [
"dandachok@gmail.com"
] | dandachok@gmail.com |
ef607fce6d6beb94b78ed388dc0ba3b7a5547f6b | ec026d7109d3743453273667eb723a49ca520042 | /source_header/Fish.cpp | e8cdb5bf6dec2fb0a82de9c481117e755b084dd2 | [] | no_license | weizhiyangq/cpp_train | 35f36454e7fa0277ca98706d15a32ef8751a6c34 | cd76369a15daafc69a7727b16e55911c64b196c5 | refs/heads/master | 2020-07-30T09:35:32.507201 | 2019-09-22T16:15:28 | 2019-09-22T16:15:28 | 210,176,406 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include "Fish.h"
#include <iostream>
using namespace std;
Fish::Fish()
{
}
Fish::Fish(int height,int weight):Animal(0,0)
{
}
int Fish::breathe()
{
cout<<"fish bubble"<<endl;
}
| [
"yang_wei_zhi@163.com"
] | yang_wei_zhi@163.com |
e3aee15b677e09c09a34f42b2dd4765e5ba06716 | fb1059a735e96d4040ee9d9f4fc5a53ad9413c8c | /src/netbase.cpp | c880f2001dc69a27645428fa2a3b8357837593d4 | [
"MIT"
] | permissive | obscuraxofficial/sourcecode | de5720c5a71a50969faf84e9d6e1067c33aa93c9 | a840f4b1de9a2ef66d5b2a9945ed3ca9519aa497 | refs/heads/master | 2020-04-14T19:20:28.406850 | 2019-01-06T04:31:16 | 2019-01-06T04:31:16 | 164,053,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,667 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/obscurax-config.h"
#endif
#include "netbas... | [
"46331315+obscuraxofficial@users.noreply.github.com"
] | 46331315+obscuraxofficial@users.noreply.github.com |
f49c94a6fa13bff43d4db17230d3e7fae2614634 | a7cce5327eb4157a5aa3062deccc79ebdb7de757 | /main.cpp | c5f7889a878481705995736b81328db0cd2ffe6c | [] | no_license | eellaadd/Ex7 | eff1b37dec853c8d9e78fd0cc261eebaafa9e3c9 | 9bcd282549d237b2d021cca5ede237c12cad7d0a | refs/heads/master | 2020-03-18T10:18:54.984840 | 2018-05-23T18:23:05 | 2018-05-23T18:23:05 | 134,606,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,815 | cpp | #include "TicTacToe.h"
#include "DummyPlayers.h"
#include "Champion.h"
void printResults(const TicTacToe& game) {
cout << endl << "The final board is " << endl << game.board();
cout << "And the winner is " << game.winner().name()
<< ", playing as " << game.winner().getChar() << "!" << endl;
}
void pla... | [
"noreply@github.com"
] | eellaadd.noreply@github.com |
838732c212abda7c83c363f663a9d8e61b5f9029 | 2b2c8be18a6c012305169d14e13d03c93bc87ac5 | /merger/combine.cpp | 4ffa0c4962300fb4989f251223b5b578ed66878c | [
"LicenseRef-scancode-hdf4"
] | permissive | HDFGroup/Replayer | 2197d36a371deec47ab28d49afa879adf012d63b | 59030bb72a615d0edca6a58d5006b243b3d6c154 | refs/heads/master | 2016-08-12T21:58:08.193235 | 2016-01-19T17:11:28 | 2016-01-19T17:11:28 | 49,965,100 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,785 | cpp | /* Realize the merging algorithm */
/* Authors:
- Weizhe and his student (for the original algorithm + code)
- Farah Hariri (for the new algorithm and new code)
- Hoang-Vu Dang (for the new algorithm and refactoring */
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <map>... | [
"babakbehzad@gmail.com"
] | babakbehzad@gmail.com |
dfa0ff51e3b983777d3f6fca33f70297f28de7f3 | 46f2e7a10fca9f7e7b80b342240302c311c31914 | /opposing_lid_driven_flow/cavity/0.007/U | c15eff09e1a579ae5ea0022abed0f65d164792db | [] | no_license | patricksinclair/openfoam_warmups | 696cb1950d40b967b8b455164134bde03e9179a1 | 03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9 | refs/heads/master | 2020-12-26T12:50:00.615357 | 2020-02-04T20:22:35 | 2020-02-04T20:22:35 | 237,510,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,824 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"patricksinclair@hotmail.co.uk"
] | patricksinclair@hotmail.co.uk | |
aef79ae7a5759260c65a085bea4842d7e8665fca | a4f995f33d9f2b12ce80f7906ad664b740a15090 | /capstone/arch/ARM/ARMGenInstrInfo.inc | 69296581ab583f914e875de2ae431e37430741a1 | [
"BSD-3-Clause",
"NCSA"
] | permissive | acidanthera/Lilu | 351be22cc9cbee201601a70e5dd4edb7dd131f7d | 472442f344531f88d31628da44f0778655a8e532 | refs/heads/master | 2023-08-27T23:55:36.523357 | 2023-08-13T09:58:29 | 2023-08-13T09:58:29 | 82,815,770 | 3,068 | 506 | BSD-3-Clause | 2023-06-25T23:57:54 | 2017-02-22T14:47:14 | C | UTF-8 | C++ | false | false | 643,151 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|*Target Instruction Enum Values *|
|* ... | [
"vit9696@users.noreply.github.com"
] | vit9696@users.noreply.github.com |
43aac7842eebe7aa76da0a82e3d83d282632dd94 | f676e26c00efe5914936bc6930799d29fb9b28eb | /exercises/C01-Beginner_Exercises/S06-fwcTools2/200_CenteredText.cpp | 47064712fa38dd6612004b4c13f17cbf40ca5e53 | [
"BSD-2-Clause"
] | permissive | rdholder/FeetWetCoding | 4c4f66d9f2b795d3b62327e1e4b3bfc186192ac2 | c0106009eae0ff0fadd7e96b8adfe3a815d5dcfb | refs/heads/master | 2021-01-22T06:54:32.138958 | 2012-04-19T18:16:57 | 2012-04-19T18:16:57 | 3,293,530 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | // copyright (c) 2011 Robert Holder, Janice Dugger.
// See HELP.html included in this distribution.
#include <exercises/C01_S06.h>
// ==========================================
// = THIS IS THE SOLUTION CODE =
// = THIS IS *NOT* THE EXERCISE CODE =
// = (If you meant to look at the exercise =
// ... | [
"robert@feetwetcoding.com"
] | robert@feetwetcoding.com |
ba03838ce4a2d31251842bcfb35ff113c022ce30 | bfbe642d689b5595fc7a8e8ae97462c863ba267a | /src/DesignSpaceHelper/StatusDialog.cpp | 34d59f096472d21004f62661fd0e50ad8a02b883 | [
"LicenseRef-scancode-other-permissive"
] | permissive | mcanthony/meta-core | 0c0a8cde1669f749a4880aca6f816d28742a9c68 | 3844cce391c1e6be053572810bad2b8405a9839b | refs/heads/master | 2020-12-26T03:11:11.338182 | 2015-11-04T22:58:13 | 2015-11-04T22:58:13 | 45,806,011 | 1 | 0 | null | 2015-11-09T00:34:22 | 2015-11-09T00:34:22 | null | UTF-8 | C++ | false | false | 1,958 | cpp | // StatusDialog.cpp : implementation file
//
#include "stdafx.h"
#include "StatusDialog.h"
// CStatusDialog dialog
IMPLEMENT_DYNAMIC(CStatusDialog, CDialog)
CStatusDialog::CStatusDialog(CWnd* pParent /*=NULL*/)
: CDialog(CStatusDialog::IDD, pParent),
processPos(0)
{
m_maxPrg = 100;
m_cancel ... | [
"kevin.m.smyth@gmail.com"
] | kevin.m.smyth@gmail.com |
d0e4c5a22bceeaebc7be4b5a9b9ba6be7a60f592 | 780af24d6c5bf146f0a7b3985fd3a10b65220ff0 | /rx_manchester/rx_manchester.ino | 4a14d14bfcafb7a9d7b8273faa43a46191c972bb | [] | no_license | vedun23/team_sasha_sd | 87f85029855dcf27c2f3c50a99017443399c7340 | 0d5b951086c5b2b218b7bc2794ef8354b1150f02 | refs/heads/master | 2020-05-17T16:32:51.182479 | 2014-09-14T06:32:09 | 2014-09-14T06:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | ino | //Libraries for Program
#include <Manchester.h>
/***Global Vars****/
//RX-TX Manchester
#define RX_PIN 11
#define LED_PIN 13
uint8_t moo = 1;
uint8_t data;
uint8_t id;
void setup(){
Serial.begin(9600);
//setup for the RX/TX
pinMode(LED_PIN, OUTPUT);
digitalWrite(LED_PIN, moo);
man.setupReceive... | [
"alexander.s.makarov@gmail.com"
] | alexander.s.makarov@gmail.com |
668f56fbff4d8f9f9702df84cf0583c094d91ae9 | 18ad206ce03ee50184d9dc9f7e081acc35c6d006 | /complete_runs/run_5_unrefined_again/18/U | 8334bde90169214c322be3ddfac04c7b9a4359b5 | [] | no_license | mars2020/CFD-Final-Project | 32080bdd118a8e16a33f715a8fd38d1187f75fd5 | 55c73d10635f7e6dcc223a812a29519a9d1218cd | refs/heads/master | 2022-01-10T19:44:53.590268 | 2019-05-15T01:42:17 | 2019-05-15T01:42:17 | 180,909,389 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144,858 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"george.newman10@gmail.com"
] | george.newman10@gmail.com | |
5d6a3cd075dba00d84f740a96699789078a548c8 | 3eb9233f0dec92a55da132369644cc3d97d8cb82 | /Include/LIEF/VDEX/hash.hpp | 9e3f92683063b1fe23333cd5428023551ab8be87 | [
"MIT"
] | permissive | jasham/event2Backend | d62069c5a17418eca2caf7a3f5fc87d1c2e5470b | 54e9945676458231cacb6fb8ad62a757a9547b63 | refs/heads/master | 2021-02-07T01:46:07.614544 | 2020-03-23T18:35:15 | 2020-03-23T18:35:15 | 243,967,558 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | hpp | /* Copyright 2017 R. Thomas
* Copyright 2017 Quarkslab
*
* 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... | [
"root@vps281524.vps.ovh.ca"
] | root@vps281524.vps.ovh.ca |
81cefc246904ba98ff74d0c52dcf59be10fdbdac | 5175765b6b77b5078d54d53e1e04c47e1e73356d | /libraries/tmx/MapLayer.hpp | 29ccd2027560fa43f472fc276ea6ca9190c9a78a | [] | no_license | piotrek-szczygiel/newland | 0e6782e234fd6767c8b18c89ece7bd4e4edceba3 | 47425978a476760f48a6514140b07682c69504dc | refs/heads/master | 2022-03-27T22:16:02.493324 | 2019-10-19T14:45:15 | 2019-10-19T14:45:15 | 95,228,030 | 26 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 4,080 | hpp | /*********************************************************************
Matt Marchant 2013 - 2016
SFML Tiled Map Loader - https://github.com/bjorn/tiled/wiki/TMX-Map-Format
http://trederia.blogspot.com/2013/05/tiled-map-loader-for-sfml.html
Zlib License:
This software is provided 'as-is', without any express or
... | [
"szczygiel.p@gmail.com"
] | szczygiel.p@gmail.com |
311086e9bf0f37868fdfb159f33650ddda5db247 | 3e87975e7b6aa06b1815acc529dfabeb79cbfc1e | /DemoProject/edgedataapi/include/edgedata_internal.h | ce22f722a9b172aaeb3899786c171957ccfa4267 | [
"CC0-1.0",
"Apache-2.0",
"MIT"
] | permissive | heyvolker/siapp-sdk | 7437f423aa28796541dfda0d4ebfe3655961c8f0 | 4139bfb93d377a876cea1d409fc9ad141020163f | refs/heads/master | 2023-03-19T10:35:24.520575 | 2021-03-19T09:54:45 | 2021-03-19T09:54:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,212 | h | /*
* siapp-sdk
*
* SPDX-License-Identifier: MIT
* Copyright 2020 Siemens AG
*
* Authors:
* Lukas Wimmer <lukas.wimmer@siemens.com>
*
*/
#pragma once
#include <edgedata.h>
#include "edgedata_generated.h"
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#inc... | [
"lukas.wimmer@siemens.com"
] | lukas.wimmer@siemens.com |
7e7e9655ffa3b33d0673cac0d03ed984f7617a4f | 33181bddaf8d0e08846992adcc437737ff53cec4 | /pb_msg/business/rpc_login.pb.cc | 2ac886a1632bce69ff451dc48e5516679436c433 | [] | no_license | wuqunyong/APie | da82ade6d4f9a39ca79bcc2029a156d29d74266f | 6eb6a15966ac5bf3c59db71a0cc81f1663ccbc3d | refs/heads/master | 2021-08-17T16:50:38.241899 | 2021-08-03T09:59:27 | 2021-08-03T09:59:27 | 255,871,414 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 25,137 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc_login.proto
#include "rpc_login.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include ... | [
"wuqunyongproxy@gmail.com"
] | wuqunyongproxy@gmail.com |
3194446420ed6d93859ab10343f2dafb7a7d399b | 7eb60fcb29e2b91d6e20e62a1cd995654f6889a7 | /RANDOM/COMPETITIVE/power_of2.cpp | 7e3f5edc076ae2e018d3e44498678311679ede4d | [] | no_license | Avi-141/Competitive_Programming | 61a082601f127aa31583f393735f28d50bbaaa9c | 2115a734b21c7d9098ec9c49e36463ea5d623d07 | refs/heads/master | 2021-07-13T10:53:23.357649 | 2020-06-29T13:41:22 | 2020-06-29T13:41:22 | 176,062,072 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
int main()
{
unsigned int n,bit;
cout<<"enter any number: ";
cin>>n;
int count=0;
int arr[2];
for(int i=31;i>=0;i--)
{
bit =(n&(1<<i))>>i;
if(bit!=0)
{
count++;
if(count<3)
{
arr[count-1]=i;
}
else
{
cout<<"incorrect input... | [
"avi27.999@gmail.com"
] | avi27.999@gmail.com |
89a6b22e0e5b05c382f6d7078d9675345b4b20c2 | e51bb6c9efbdec72c5b45409234afb180335aadb | /winternaja.cpp | 69f324d1757cfef3df47281a653751ecf6deb2a8 | [] | no_license | namasawee/skill-subject | 588c9c9f399966d57f896405a25eb15277bd3934 | c21748fb44eb87b35bfc02510ee9c4524dd14365 | refs/heads/main | 2023-04-28T17:57:49.332754 | 2021-05-18T20:15:33 | 2021-05-18T20:15:33 | 368,657,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main(){
int white;
int kill;
int friends;
int total;
cin >>total;
cin >> kill;
cout << "YES";
}
| [
"namasawee@hotmail.com"
] | namasawee@hotmail.com |
4be0113f256870a0cf5f992e1326021e965d4d25 | 0d942330b6407e7d6109812cd03ee2f88a729161 | /interpreter/TCI.h | d8aa9f4a323330e16aa133d109aa741429eff230 | [
"Apache-2.0"
] | permissive | hleclerc/Sane | b54bcdf90f5481d8df7136b64dc89ffb68a65ec8 | 55298a84b9a87100e3c264e130e8c15048687c31 | refs/heads/master | 2021-09-06T05:15:35.642679 | 2018-02-02T17:10:46 | 2018-02-02T17:10:46 | 110,580,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #pragma once
#include <unordered_map>
#include "Variable.h"
/***/
struct TCI {
TCI() : nb_conversions( 0 ) {}
std::unordered_map<Rc_string,Variable> proposals;
unsigned nb_conversions;
};
| [
"hugal.leclerc@gmail.com"
] | hugal.leclerc@gmail.com |
42f9c53bc72b502f35ee0e8a99ad68bf97415eae | bf8ab4a3039f347ac66315f470bebc9bb70cda1c | /queue.cpp | 8dded9486297499d1f02d3058a06e033857da774 | [] | no_license | prityush9304/Data-Structures-and-Algorithms | ad58758fea3fde2ec7a93e202b6998b2edf2a352 | e917647e5da76ad1e62b2d45d19025d341c4258e | refs/heads/main | 2023-08-15T07:28:51.560188 | 2021-10-03T13:36:20 | 2021-10-03T13:36:20 | 302,586,832 | 0 | 3 | null | 2021-10-03T13:36:21 | 2020-10-09T08:56:26 | C++ | UTF-8 | C++ | false | false | 2,405 | cpp | //queue
#include <bits/stdc++.h>
using namespace std;
class node{
public:
int data;
node* next;
};
class myqueue{
public:
int qfront=-1;
int rear=-1;
int qsize=0;
int *Q=NULL;
enqueue(int data){
if(rear!=qsize-1){
Q[++rear]=data;
}
... | [
"noreply@github.com"
] | prityush9304.noreply@github.com |
29e1df89f14b0db0f4ebb65831fa2663db75b9c5 | 0fe5fe32013038e35ecd0158a10801f514186b59 | /lab6/Locked_Map.cpp | 0e7261530e7ea040dd6aeed3de8c946aa53c04fb | [] | no_license | Dyluckk/networks-oregontech | 220a955bd02936b24f49e0ac719398c731b0fbf6 | 44707b205f491cc0750aa3d1a443701126f3bd80 | refs/heads/master | 2021-09-06T18:52:21.353299 | 2018-02-09T22:00:58 | 2018-02-09T22:00:58 | 105,054,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | #include "Locked_Map.h"
Locked_Map::Locked_Map()
{
}
string Locked_Map::Find(string key)
{
string value = "";
mtx.lock();
if(map.find(key) != map.end())
value = map.find(key)->second;
mtx.unlock();
return value;
}
int Locked_Map::Add(string key, string value)
{
mtx.lock();
map[ke... | [
"Dyluckk"
] | Dyluckk |
6edcfa696850e9ef2b84af94164d5a66f0ad6841 | 7c6944317cf348dc14a121deb9f03c818693446c | /Testfunctions/MagOD2/simpleWebServer/simpleWebServer.ino | dd3d1249be99d04e314a9a6acf0d6e1f8481f07a | [
"MIT"
] | permissive | LeonAbelmann/MagOD | 5c963a68c8349553f907409c396326cb716c8761 | a88d2474660202a71cd6f260d6a70742ef228a35 | refs/heads/master | 2022-10-12T05:57:23.801728 | 2022-09-16T13:39:27 | 2022-09-16T13:39:27 | 165,514,993 | 0 | 2 | null | 2020-03-18T11:42:41 | 2019-01-13T14:28:20 | C++ | UTF-8 | C++ | false | false | 2,506 | ino |
#include "simpleWebServer.h"
/* To connect to your wifi network, we expect file a 'password.h' in
local directory with contents:
const char* ssid = "MyWifiNetwork"; //WiFi SSID
const char* password = "PasswordForThatNetwork"; //WiFi Password
*/
#include "src/password.h" //expected in local directory
/* hostname th... | [
"l.abelmann@utwente.nl"
] | l.abelmann@utwente.nl |
63171a4b84c11a8aeff5a79cedb87059caad84e9 | 52bb106f3a55038ae9dbf9b874cc5a579b488346 | /lab4.2/lab4.2/List.h | c3b7f7c2d103e588a80c61bdc25cc6256961ce05 | [] | no_license | hiiike/lab-4 | 5de8187bf8b82570bffc04e78e8aeb163073f6c4 | be0f5d35418b3bea7c9f4f25452036a874c6cd50 | refs/heads/main | 2023-08-29T21:31:08.209332 | 2021-11-15T23:15:32 | 2021-11-15T23:15:32 | 428,448,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #pragma once
#include <cstddef>
using namespace std;
typedef int Info;
struct Elem
{
Info info;
Elem* link;
};
class List
{
public:
virtual void Insert(Elem*& first, Elem*& last, Info value) = 0;
virtual void Remove(Elem*& L) = 0;
};
| [
"noreply@github.com"
] | hiiike.noreply@github.com |
d2d5c36825735d93945095ef01075569ff20c44c | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /inference-engine/src/mkldnn_plugin/utils/general_utils.h | 952bf43dbf579eb2a7b4acb105d199f444029590 | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 1,902 | h | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cassert>
#include <inference_engine.hpp>
namespace MKLDNNPlugin {
template<typename T, typename U>
inline T div_up(const T a, const U b) {
assert(b);
return (a + b - 1) / b;
}
template<typename T, ... | [
"noreply@github.com"
] | mashoujiang.noreply@github.com |
4fcae1fc1c07b9b0a6a87afcc8e7469613973158 | 47f12af0fd4f1496c6ad94846bbd93d9f18dc953 | /Company/cmdadddepartment.cpp | 3f81ec84930edc0eb9cbd1e8a8c460d50df188c8 | [] | no_license | qNickq/AVSoft | 97e0df6ddbd3ffabe411642604b5f39383a93f16 | 200e416edf9f0e5ec3bc8c6e9b79c705bee86a21 | refs/heads/master | 2020-09-12T02:54:52.578167 | 2019-12-05T16:33:48 | 2019-12-05T16:33:48 | 222,278,170 | 0 | 1 | null | 2019-12-04T16:05:46 | 2019-11-17T16:32:56 | C++ | UTF-8 | C++ | false | false | 520 | cpp | #include "cmdadddepartment.h"
CmdAddDepartment::CmdAddDepartment(Company *company, QString name) : Command()
{
_company = company;
_departmentName = name;
_department = nullptr;
}
void CmdAddDepartment::execute()
{
if(!_company->departments()->count(_departmentName))
{
_department = _compa... | [
"qNickq@bk.ru"
] | qNickq@bk.ru |
2850bd1267be8b2d3c633873ca6a6da48c0884b4 | 74a9456b605da15cbce5eefcfc22b2c049925d24 | /mimosa/container-of.hh | 55b4d151682fd144a807f2d0432cc79fc73ede41 | [
"MIT"
] | permissive | abique/mimosa | 195ae693e2270fbfe9129b95b981946fab780d4e | 87fff4dfce5f5a792bd7b93db3f3337e477aae76 | refs/heads/master | 2022-06-30T16:32:55.355008 | 2022-06-07T11:38:47 | 2022-06-07T11:38:47 | 2,087,313 | 27 | 8 | MIT | 2018-01-16T07:20:04 | 2011-07-22T05:40:03 | C++ | UTF-8 | C++ | false | false | 541 | hh | #pragma once
#include <cstdint>
namespace mimosa
{
/**
* Returns the address of the object of type T containing the given member at the address u.
*/
template <typename T, typename U>
T *
containerOf(U * u, U T::*Member) noexcept
{
union {
T * obj;
uint8_t * obj2;
};
unio... | [
"bique.alexandre@gmail.com"
] | bique.alexandre@gmail.com |
2695462306ba91d9a1c7c6b1f2a1151ff6c4fa7c | 924de80dab7907fdb03ab1cafeea6e399d9759c6 | /PROJECTS/GAMES/RUN3D/CODE/UI/MODEL/R3D_PLAYER_SHIP_GEAR_STAGE.cpp | 25fcd7e6cb61b59eb009b15e901269c9c7e49823 | [] | no_license | x-tox-man/xengine | 866fd44d79207c71c6ad2709a66496d392ec0f6d | 81b9445795422969848acfffde59136e1eb66fbe | refs/heads/master | 2021-04-29T10:39:43.257184 | 2020-10-25T10:48:54 | 2020-10-25T10:48:54 | 77,837,329 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | //
// R3D_PLAYER_SHIP_GEAR.cpp
// Run3d
//
// Created by Christophe Bernard on 17/12/17.
// Copyright © 2017 IGZ. All rights reserved.
//
#include "R3D_PLAYER_SHIP_GEAR_STAGE.h"
#include "CORE_DATA_JSON.h"
XS_IMPLEMENT_INTERNAL_MEMORY_LAYOUT( R3D_PLAYER_SHIP_GEAR_STAGE )
XS_DEFINE_ClassMember( "Power", float,... | [
"c.bernard@afelio.be"
] | c.bernard@afelio.be |
3a026faa8c49622cc06b3168821d4902588048ec | ebbf0bf4a3beea9f18778a2e9eb581bcab34901d | /Graph/All-Pairs Shortest Paths/Standard/Commandos.cpp | 02bb0d1d3d68ab27c312578637c00cfdedfd4843 | [
"MIT"
] | permissive | satvik007/uva | 8986d106b13c6c09d2756be346ba8f6cb604d186 | 72a763f7ed46a34abfcf23891300d68581adeb44 | refs/heads/master | 2021-07-19T12:21:03.467773 | 2020-03-27T20:00:20 | 2020-03-27T20:00:20 | 100,093,000 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector <int> vi;
#define inf 100000000
int n, m, a[105][105];
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
//freopen("in.txt", "r", stdin);
//freopen("out.txt", "w", stdout);
int u, v;
int t;
cin... | [
"111601021@smail.iitpkd.ac.in"
] | 111601021@smail.iitpkd.ac.in |
570339820e71148253e0feb9671ebfaeb30fc579 | 0b8515326d4cb6a2e72318d256ed929aa04dff20 | /ui/events/ozone/evdev/touch_noise/touch_noise_finder_unittest.cc | bee8b9ebf3e6d8e6f2c87a7789e872efdcb95a92 | [
"BSD-3-Clause"
] | permissive | wuhengzhi/chromium-crosswalk | 0c6aaec514a3952123616679399f84769019a9de | b5d9bfd4f53d132beab079ed59c6e1ae5d14fe98 | refs/heads/master | 2022-11-11T08:03:41.115014 | 2016-08-25T07:37:50 | 2016-08-25T07:37:50 | 25,424,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,544 | 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 "ui/events/ozone/evdev/touch_noise/touch_noise_finder.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include "base/logging.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ba5b9d1f25a1873009dd633b6b01e94ad0814d91 | 8fc1619aea082639b3a13d607e9e36abd3c91c5e | /include/map.hpp | 9984f762a279eb01158d6e86b36afd038697ea35 | [
"MIT"
] | permissive | RoseLeBlood/aSTL | 2dcf28160b5152c33d3ccf99f91ebc0d4cc2f89f | 5b532499f26cf406e30152bdb6bd51d853fbec03 | refs/heads/master | 2021-07-16T13:06:23.405363 | 2021-02-25T10:11:50 | 2021-02-25T10:11:50 | 77,330,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,116 | hpp | /*
* The MIT License
*
* Copyright 2016 annas.
*
* 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... | [
"annasophia.schroeck@outlook.de"
] | annasophia.schroeck@outlook.de |
403fdf95411d46659ce30c84d22bca8ec8b5eded | 941c21954bcedc96fddf41a09bc71fb1e44e226f | /contest-1133-544/f1.cpp | 2e1e29765ba903d79b0a1c59b7b6cc1efd969117 | [
"MIT"
] | permissive | easimonenko/codeforces-problems-solutions | 9cbf5f73bede40c48915b26d6303e36b11398655 | 36e4ecd7fcdfe1d6a4d2b439f952c5aefa9c0bf4 | refs/heads/master | 2023-08-05T05:06:40.376155 | 2023-07-27T09:10:51 | 2023-07-27T09:10:51 | 69,059,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | #include <iostream>
#include <queue>
#include <vector>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
vector<vector<int>> tree(n);
for (int i = 0; i < m; i++) {
int u, v;
cin >> u >> v;
tree[u - 1].push_back(v - 1);
tree[v - 1].push_back(u - 1);
}
int start = 0, max_degree = t... | [
"easimonenko@mail.ru"
] | easimonenko@mail.ru |
69ce0f1e13c20298c60c33476dbdd7ed6b14a81a | a5bab41a4d4cb33c2e3a685cfee62ab246935b58 | /server/Box.h | 13b4a73c94d67158286a21073e72be97af6de733 | [] | no_license | godzirrasti/azfsm_smartToolBox | ece821568c2ea2fabf165675a8285a732cca5065 | 600e6e371b1c6cb85b8448c3cba437568a247c0d | refs/heads/master | 2021-04-27T00:31:22.264571 | 2018-02-23T17:50:52 | 2018-02-23T17:50:52 | 122,653,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | h | //AZFSM Smart Toolbox Project
//Copyright 2014 - Terry Ulery and Kevin Halliwell
//server/Box.h
#ifndef ServerBoxH
#define ServerBoxH
#include "common.h"
#include "Drawer.h"
#include "UDPSender.h"
class Box
{
private:
int bay;
std::string ID;
int boxID;
std::string ipAddress;
int numberDrawers;
Drawer* drawers... | [
"kevinhalliwell@me.com"
] | kevinhalliwell@me.com |
9b33304714d2b8eaaa35bd94ec8c73567a481505 | 8647e338d2885d036908fdce8abd4f96fa6f1cd7 | /keymaster/3.0/optee/KeymasterDevice.h | 66cfd74c62124e20c90d954c784ea145fe1c675d | [] | no_license | vchong/device-linaro-sks | 32c1a2687933bce0a404346dff4598588c60ccaf | 00c807a2048d0309207fe7830f5fb3ef102344f4 | refs/heads/master | 2018-09-09T22:45:10.893017 | 2018-05-26T14:40:43 | 2018-05-26T14:40:43 | 127,885,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,714 | h | #ifndef ANDROID_HARDWARE_KEYMASTER_V3_0_KEYMASTERDEVICE_H
#define ANDROID_HARDWARE_KEYMASTER_V3_0_KEYMASTERDEVICE_H
#include <android/hardware/keymaster/3.0/IKeymasterDevice.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
namespace android {
namespace hardware {
namespace keymaster {
namespace V3_0 {
names... | [
"victor.chong@linaro.org"
] | victor.chong@linaro.org |
58af75547a965000f419515816160ba1b268625f | 78ee026a068bd43460935a05f18d0ce18ee26bc9 | /practica_1/Weather.cpp | b2965dbf27f1747296c68b3321014bb4dc64f378 | [] | no_license | lgbutad/p1 | df6991c33a659cd4c97aea9d4e2649ad758d9916 | f7ef73362f62efde4c27dd8524c89a2cea63f343 | refs/heads/master | 2021-08-24T10:53:17.411509 | 2017-12-09T10:21:34 | 2017-12-09T10:21:34 | 110,874,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | #include "stdafx.h"
#include <algorithm>
#include "constants.h"
#include "Drop.h"
#include "Weather.h"
CWeather::~CWeather() {
for (auto it = m_drops.begin(); it != m_drops.end(); it++) {
delete *it;
*it = nullptr;
}
}
void CWeather::Update() {
// Update existing drops.
int s_drop_status_size = sizeof(CDro... | [
"luis.gutierrez@live.u-tad.com"
] | luis.gutierrez@live.u-tad.com |
f1eadae33f064856cfaa452873031a3b2c5cf80a | 6fe58026fe3612bf18387650fcc5aa75e3f75fa8 | /pickit2/pk2cmd/pk2cmd/PIC32PE.h | b63fa9e92f70c81f167449547628082925c786c8 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | GBert/misc | 8a4ef2410464b1f1f4595d75789e7b575458d87e | 00c38748880753a853c937439375112ac2839a45 | refs/heads/master | 2023-05-01T16:53:01.965634 | 2023-04-20T10:08:23 | 2023-04-20T10:08:23 | 12,459,444 | 103 | 37 | null | 2021-07-20T10:02:02 | 2013-08-29T12:21:57 | C | UTF-8 | C++ | false | false | 691 | h | #define K_P32_PROGRAM_FLASH_START_ADDR 0x1D000000
#define K_P32_BOOT_FLASH_START_ADDR 0x1FC00000
#define K_PE_LOADER_LEN 42
#define K_PE_LEN_RIPE06 1231
#define K_PE_LEN_RIPE11 422
#define K_PE_LEN_RIPE15 1051
#define K_PIC32_PE_VERSION_RIPE06 0x0109
#define K_PIC32_PE_VERSION_RIPE11 0x0301
#define K_PIC32_PE_VERS... | [
"info@gerhard-bertelsmann.de"
] | info@gerhard-bertelsmann.de |
8abe16a1ef3783fd8825bc66a08fc87405b19966 | 3271c59c0db8082e0ed1701655e2b3070a514bcd | /pointersAdd.cpp | 482941dac08faac59786ab42acca0e22a2b18399 | [] | no_license | ananya-Sharma27/Cpp-Programs | c2fc0f76d6987d8b0641a44272498ce5528148f5 | 29f5f8ad6460af649a929086634898b2d85c1a9e | refs/heads/master | 2023-01-29T03:52:12.795968 | 2020-11-30T14:01:14 | 2020-11-30T14:01:14 | 290,532,793 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | //program for addition of two numbers in pointers
#include<iostream>
using namespace std;
int main()
{
int f,s,*p,*q,sum;
cout<<"Enter two integers to add\n";
cin>>f>>s;
p= &f;
q=&s;
sum= *p + *q;
cout<<"Sum of 2 numbers="<< sum;
}
| [
"noreply@github.com"
] | ananya-Sharma27.noreply@github.com |
a8cd2e5ca3bba0db3d8dbc3a961be1a0f2c0f4ae | 01875288b079bb2d759facc30e768e16f4d24a05 | /src/3rdparty/rand_toolkit.h | a0f21495603b8d2f89c27d7102512b13a6c341ad | [
"CC-BY-3.0",
"MIT"
] | permissive | gitlarryf/wumpus_game | 8232e01ef5fab9fbe9b8e67be1bbf340d2c30e19 | 01d3edbcbba3bb47d5247ff451399fd44c36a3f7 | refs/heads/master | 2023-03-17T09:36:41.879022 | 2018-07-23T22:52:59 | 2018-07-23T22:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | h | // Novoselov Ans @ 2017
#ifndef RAND_TOOLKIT_H
#define RAND_TOOLKIT_H
#include <random>
namespace rand_toolkit {
// Returns reference to random_engine
inline std::default_random_engine & global_urng( )
{
static std::default_random_engine u{};
return u;
}
// Starts random_engine with random_de... | [
"ans.novoselov@gmail.com"
] | ans.novoselov@gmail.com |
a214c04f43265f7963b85c09e9e5668ffff350c8 | 59eafae3bc4d13b9844c47d2e12aaa2b04fb6da0 | /yukicoder/1306.cpp | 4cac0250650d1d05aedca0b1badcff91b63667d3 | [] | no_license | pes-magic/procon | 004d7cd877e1cb56fea8d4b8b6cc8ba564a93a29 | 7afd1564b9228144d53920cc8e6a91012144b530 | refs/heads/master | 2023-08-31T17:29:06.829263 | 2023-08-25T12:32:27 | 2023-08-25T12:32:27 | 228,394,327 | 3 | 0 | null | 2023-08-24T11:48:04 | 2019-12-16T13:33:20 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,263 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int N; cin >> N;
vector<pair<int, int>> dif(N*(N-1));
dif[0] = make_pair(0, 0);
for(int i=1;i<dif.size();i++){
cout << "? " << i+1 << " " << 1 << endl;
cin >> dif[i].first >> dif[i].second;
... | [
"fumiya@soundhound.com"
] | fumiya@soundhound.com |
e7dee92d20da94c03450f85b955f7cc44d950eae | 0cdaaaf0f5454998a1150527bb694fffb14f0cee | /quiz/pascals-triangle.cpp | 8e69d76643c2df1922076b43d271007237ba10b7 | [] | no_license | Misaka-wsx/test | bb87af62a351186a916478050e953fd379e59737 | 2bea2993563ae406fe0b7e2a901d0aa5fc8f4077 | refs/heads/master | 2023-02-23T04:24:59.666907 | 2021-01-26T11:38:14 | 2021-01-26T11:38:14 | 192,742,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | /*
给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。
在杨辉三角中,每个数是它左上方和右上方的数的和。
示例:
输入: 5
输出:
[
[1],
[1,1],
[1,2,1],
[1,3,3,1],
[1,4,6,4,1]
]
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/pascals-triangle
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
class Solution {
public:
vector<vector<int>> generate(int num... | [
"wangsixiamksh@163.com"
] | wangsixiamksh@163.com |
9008fc32a0f5bdc3ac275f54f2ed31cf509edba1 | ad85d7f9f6e203ab12da9a64b34cb4f19187a202 | /Trees/reverse_level_order.cpp | 2aba1498f9615091912c46b016d573943a40e40e | [] | no_license | dheeraj-2000/dsalgo | daeb1219c1f902d9a28f0993b191527d7a257c93 | 2b71317fb372ceefdaaa4310217872abc48c5007 | refs/heads/master | 2022-11-08T09:42:24.106938 | 2022-10-31T14:23:03 | 2022-10-31T14:23:03 | 212,872,334 | 94 | 435 | null | 2022-12-03T11:18:05 | 2019-10-04T17:49:40 | C++ | UTF-8 | C++ | false | false | 390 | cpp | vector<int> Solution::solve(TreeNode* A) {
vector<int> ans;
if(!A) return ans;
queue<TreeNode*> q;
q.push(A);
while(!q.empty()){
TreeNode* curr = q.front();
q.pop();
ans.push_back(curr->val);
if(curr->right)
{
q.push(curr->right);
}
if(curr->left)
{
q.push(curr... | [
"noreply@github.com"
] | dheeraj-2000.noreply@github.com |
126f5148130d1451a682ac7c3c44047209d64ade | 3dc86dd9a7a4159406724124cb280d6f5e5bda29 | /Shared/Runtime/Collision/StaticCollisionDatabase.cpp | 07d57cca4f3aa1b44bddc5fc9ff1026c1488a52a | [] | no_license | hamfirst/StormBrewerEngine | 3e051fb6806277c8273031f0e9ab241659fafba4 | 491ff8e42022e01c43d72b6d7b4f76db439d8745 | refs/heads/master | 2023-03-17T02:23:34.827037 | 2023-03-10T17:24:23 | 2023-03-10T17:24:23 | 53,809,267 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp |
#include "Runtime/RuntimeCommon.h"
#include "Runtime/Collision/StaticCollisionDatabase.h"
#include "Foundation/Math/Intersection.h"
#include "Foundation/Math/LineDrawing.h"
#include "Foundation/Math/Util.h"
#include <sb/vector.h>
StaticCollisionDatabase::StaticCollisionDatabase(std::size_t num_collision_layers) :
... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
8b7821887dddc59d838d9fbbfcce238d06aa1c20 | 1234b4cef98319842ff25b5865eb752216695499 | /sim/src/RichRootEvent.cc | aac9b55ddc31f853929631259585fd0311c22386 | [] | no_license | skononov/farich | cef7291414ed3a93c0359836ae88eae96c904d63 | a9d4aab7199b2e2c013c221c4796e8732ef86e83 | refs/heads/master | 2023-06-23T00:25:36.441896 | 2023-06-09T12:43:54 | 2023-06-09T12:43:54 | 156,022,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cc | #include <cstring>
#include "TClonesArray.h"
#include "RichRootEvent.hh"
ClassImp(RichRootParticle);
ClassImp(RichRootHit);
ClassImp(RichRootEvent);
TClonesArray* RichRootEvent::ghits = 0;
RichRootEvent::RichRootEvent() : TObject(),
capacity(0),
nhits(0),
particle()
{
if( !ghits ) ghits = new TClonesArray("RichR... | [
"S.A.Kononov@inp.nsk.su"
] | S.A.Kononov@inp.nsk.su |
ee4f051a34069a4d0cbfbe9a97d2cfaff78d804b | 133ac731f75df13a210b7a32646158b0e8cdccfb | /apps/prototype_one/components/terrain.cpp | 34a5aa3e9df2a5f552e7de4bbf11363b138e6d27 | [] | no_license | nathanwe/Warigami | 0449a150e8be5b327b22e84eb9d20e896fce587a | 1a5e78cd0e137b6bb5ea7b137c63574f6376cc25 | refs/heads/main | 2023-01-31T09:28:09.668579 | 2020-12-16T00:45:34 | 2020-12-16T00:45:34 | 321,521,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include "terrain.hpp"
#include "component_bits.hpp"
using namespace ecs;
using namespace components;
template<> const component_shift component<terrain>::component_bitshift = (component_shift)component_bits::terrain;
| [
"mtg@weises.org"
] | mtg@weises.org |
41c0a0b3989fd5d8afecdf00f53c99a46918100e | 1ee69feea778a866bab374eb8b1115df19ee5f7b | /MT108KF_BF_TB.cpp | 75a3b2ff4803af431370d9e1c1f32ae6391aee23 | [] | no_license | whtc123/Motion-Detection-and-Tracking | f3fbdecef77ce147568ed4c2ea32ef23c0d6c8ea | 3020f564fb946da96df8d9f69de118561a9cbf6a | refs/heads/master | 2021-07-02T23:25:58.354304 | 2017-09-22T23:52:43 | 2017-09-22T23:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,155 | cpp |
//////////////////////////////////////////////////////////////////////
//. Disclaimer:
// ************************************************************
// Warning! This contains the **WHOLE** workspace over the development (at least most of it) including most of the attempts
// and is NOT the final version that wa... | [
"noreply@github.com"
] | whtc123.noreply@github.com |
b99967c1bb0ab39dc133ef1993400a92bc76ab8b | 3cef31aaad49536ce76a2c92cace2aa4dd3e7030 | /odk/api/src/odkapi_timebase_xml.cpp | b5c5b27c70ffe73f0bd052085fc5ce6681d8b31e | [
"MIT"
] | permissive | KevinZhao1234/OXYGEN-SDK | 9f20845d96bc543226b05691a881656796464a43 | b832687fd0dc5e4fe18d7308e6fc8fc99689943c | refs/heads/master | 2023-06-06T02:34:47.686223 | 2021-07-02T09:40:31 | 2021-07-02T09:40:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | cpp | // Copyright DEWETRON GmbH 2019
#include "odkapi_timebase_xml.h"
#include <cmath>
namespace
{
static const char* const XML_ELEM_SIMPLE_TIMEBASE = "SimpleTimebase";
static const char* const XML_ATTR_FREQUENCY = "frequency";
}
namespace odk
{
Timebase::Timebase()
: m_type(TimebaseType::NONE)
... | [
"Markus.Fauster@dewetron.com"
] | Markus.Fauster@dewetron.com |
e39e13df098b261f52e62dcb7cda7a0dda3ff873 | d28f8fca0767a1ced575ee721d7eda5b5d650ea8 | /uimodel/usercontrol/frminputbox.cpp | 589e000d51286bed2065f8182c6176cdb619c785 | [] | no_license | savage-lg5a/QTControls | 236fbaff4e96ce2858a9b28d9080daaac7826411 | 769c3b6fb4b7ad0c48b8a4fc7e9c6693ded1a379 | refs/heads/master | 2021-12-01T08:04:44.569926 | 2021-11-30T01:17:56 | 2021-11-30T01:17:56 | 208,805,959 | 0 | 0 | null | 2019-09-16T13:24:39 | 2019-09-16T13:24:39 | null | UTF-8 | C++ | false | false | 1,148 | cpp | #include "frminputbox.h"
#include "ui_frminputbox.h"
#include "api/myhelper.h"
frmInputBox::frmInputBox(QWidget *parent) :
QDialog(parent),
ui(new Ui::frmInputBox)
{
ui->setupUi(this);
this->initStyle();
myHelper::moveFormToCenter(this);
}
frmInputBox::~frmInputBox()
{
delete ui;
}
void frmIn... | [
"LG5A-104@sina.com"
] | LG5A-104@sina.com |
ca47b2a5753ab369695fe8980149a806b022fa05 | 1c390cd4fd3605046914767485b49a929198b470 | /luogu/P3152.cpp | 3e264b2174f08d9facf75c5ad9ab6974b7fd6a50 | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include <bits/stdc++.h>
using namespace std;
int n;
int main() {
cin >> n;
cout << (32 - __builtin_clz(n)) << endl;
} | [
"wwwwodddd@gmail.com"
] | wwwwodddd@gmail.com |
fb0c32b1499547d60c2d4d1a92008172454f62d4 | 45b6d682d8d9be6d4bb141f91b4a8850a61a67db | /viva/vertex_buffer.cpp | 0818891d97c1f3fc2f229080474566c4f7fe9b70 | [] | no_license | MaciejSzpakowski/viva | 1d97f798f5abe7a2d12defdfa8b0b4042e424664 | 89d6b3711699514e846144e6dbb845c1a0f4bec0 | refs/heads/master | 2020-04-04T12:01:47.707216 | 2017-08-05T05:14:39 | 2017-08-05T05:14:39 | 48,298,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include "viva.h"
namespace viva
{
class VertexBuffer
{
protected:
uint vertexCount;
bool shared;
public:
virtual void Destroy() = 0;
int GetVertexCount() const
{
return vertexCount;
}
VertexBuffer(uint vertexCount)
: sha... | [
"systemzajety@yahoo.com"
] | systemzajety@yahoo.com |
53eb5100ca07114e8a95a2c213166910ce0dfa76 | 56fad9bc7bc30e8fe00d40ae066419d876c0aeb6 | /Rhombus.cpp | 19abb07f6d1b8bf4eefe7852c0092481446e4017 | [] | no_license | saurabhkumar998/CP2_CIPHERSCHOOLS | 2f1d14fbff7b68e5cb576015218f50c274ae5d27 | dbd046001c91639ca05589e9225bc60f0b0fcc52 | refs/heads/master | 2023-01-07T01:32:01.248465 | 2020-11-08T10:19:52 | 2020-11-08T10:19:52 | 288,430,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | #include <bits/stdc++.h>
using namespace std;
void solidRhombus(int rows)
{
int i, j;
for (i=1; i<=rows; i++)
{
for (j=1; j<=rows - i; j++)
cout << " ";
for (j=1; j<=rows; j++)
cout << "*";
cout << "\n";
}
}
void hollowRhombus(int rows)
{
int i, j;
f... | [
"noreply@github.com"
] | saurabhkumar998.noreply@github.com |
90d50a01488dd948014c14d3b5796682ad34b155 | 948653a21d87000cf1efdee72f538b93a4b3f713 | /hw1/1/main.cpp | da12e4d0cf8d376465faf83b310ae5ea849c37a6 | [] | no_license | feewet/robotics | 013ac056391c073ca498bb63cf3bc9bc969d204d | 877cf49fe42fad1f06670e381fcda1bcf542c168 | refs/heads/master | 2020-04-06T16:20:32.154857 | 2018-11-14T21:53:32 | 2018-11-14T21:53:32 | 157,615,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,240 | cpp | //homework2
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
// prototypes
void prompt(int&, int&);
void dataBytes();
long power(int, int);
int maxNumber(int, int);
void printFormats(int, int);
string toString(int);
string toHex(int);
string toOct(int);
char toChar(int);
int main() {
int... | [
"feewet@feewets-MacBook-Pro.local"
] | feewet@feewets-MacBook-Pro.local |
71c3c9319eba83c4074ee54a07c2a77a4ac1b88e | 7e4694e89fc80d55bbed6b46b66929adfe008dcf | /Class 3/CShape3d.cpp | c227a415d0cbbf67a158822aba1f7c27d701e4d6 | [] | no_license | brunoeiterer/Cpp2017-1 | 86a20ec927883a794cdae50eff0fff727653b361 | 8539fa3741fba1f369202635fd53b0131a5ab64a | refs/heads/master | 2021-01-22T21:59:30.567946 | 2017-04-11T23:42:55 | 2017-04-11T23:42:55 | 85,499,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cpp | class CShape3d{
private:
public:
virtual float volume() = 0;
};
| [
"brunoeiterer@gmail.com"
] | brunoeiterer@gmail.com |
eaa92af0e3a35ec52c8ac64057a8eb753fe148a9 | 68c52be198bd413622cba834ea08aacd5aa3432f | /Source/ImGui/Private/ImGuiInteroperability.cpp | aef13eceac630a3d7777c6028a38bb0cfbcbf2c2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sunpeng1995/UnrealImGui | 2d78ca9916e101725a2a0f82474b7af4172ee8af | bbc3101a58712fd8f75eaa010a5608e45a5c1e14 | refs/heads/master | 2022-11-23T02:28:22.578755 | 2020-06-28T18:44:19 | 2020-06-28T18:44:19 | 282,379,772 | 5 | 2 | null | 2020-07-25T05:44:34 | 2020-07-25T05:44:33 | null | UTF-8 | C++ | false | false | 11,235 | cpp | // Distributed under the MIT License (MIT) (see accompanying LICENSE file)
#include "ImGuiInteroperability.h"
#include "ImGuiInputState.h"
#include "Utilities/Arrays.h"
// If TCHAR is wider than ImWchar, enable or disable validation of input character before conversions.
#define VALIDATE_INPUT_CHARACTERS 1
#if VAL... | [
"sebastian.e.gross@gmail.com"
] | sebastian.e.gross@gmail.com |
400d3b7ec29fc0622aff2cfe690d68f34466fdcd | 421237f99863b349c4d8df8e96bcf2ac8ccc5cf6 | /game.cpp | e82eaf48bd4e636b6ec5dd44cc8660ce0e635eee | [] | no_license | charleyan/Indian-Poker | 296b52b1d670aac7dd8c586ae61c8239a53659cd | 5085faa65fff719798666b829fe4d3e3b0464b61 | refs/heads/master | 2022-12-28T05:41:23.148486 | 2020-10-13T16:16:08 | 2020-10-13T16:16:08 | 257,131,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,436 | cpp | /* game.cpp
Implmentation of game.h
*/
#include "game.h"
#include <assert.h>
#include <iostream>
#include <string>
#include <vector>
using std::cout;
using std::cin;
using std::to_string;
using std::vector;
Game::Game() {
collect_cardNum();
collect_names();
set_win_condition();
for (unsigned int i = 0;... | [
"chayan@umich.edu"
] | chayan@umich.edu |
212066c487a508999d994a77b787bbee35418695 | 526191bdd53d19e652557553f49409494f450835 | /other/re_codecontest2/1.cpp | bee8b41d660bb0e9c55bd170272027ce1edfcd8a | [] | no_license | puneethsaikumar2000/CodeChef | 6f7bd6f3046763c8d3b5457647c7839474d2db63 | d2ab43986324ed0ded9fc27b9e958f8d4e765ed3 | refs/heads/master | 2023-05-07T15:50:44.671020 | 2021-06-03T16:38:31 | 2021-06-03T16:38:31 | 283,202,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n;
cin>>n;
vector<int> a(n);
map<int,int> m, m1;
for (int i = 0; i < n; ++i){
cin>>a[i];
m[a[i]] = 0;
}
vector<int> b;
int max_cnt = 0;
for (auto it : m){
int k = it.first;
int cnt = 0;
int ... | [
"puneethsaikumar2000@gmail.com"
] | puneethsaikumar2000@gmail.com |
cf0a88e85fab396830653fce19aed98faf0cf661 | 83bde29f10c02a7a49b4a1a217281bde91c1acfe | /apcs/11001/p4_sol.cpp | 2b035017ec5c2b9b3fe8f10d6f8b4b12e7e35721 | [] | no_license | topcodingwizard/code | 74a217527f79b2f2ab47f0585798d6d55b92f3c0 | 3a5d3c4d54f84e06625ee4e53b9375bae6eb8275 | refs/heads/master | 2023-09-05T15:56:31.620344 | 2021-11-15T01:07:21 | 2021-11-15T01:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false); cin.tie(0);
int n; cin >> n;
// assert(1 <= n && n <= 200000);
vector<pair<int, int>> ps(n);
set<pair<int, int>> ps_set;
for (auto &v : ps) {
cin >> v.first >> v.second;
ps_set.insert(v);
... | [
"edison1998402@gmail.com"
] | edison1998402@gmail.com |
61fc06d6a32e60732f874cd30fa101932408c685 | f098f26f882d30ec547e61c9c27c645c29f065e6 | /UserDev/DisplayTool/TruthViewer/sample.h | 6407737ae9e9920eb34b6f043dc03f5fbb53b26d | [] | no_license | wddgit/larlite | 59cfaa990c9df23c5645337c171933825339adfb | 8d159ff4259d88e66f769a2ad6df73eee994f306 | refs/heads/trunk | 2021-01-18T08:37:09.297897 | 2016-01-19T21:01:45 | 2016-01-19T21:01:45 | 42,332,618 | 0 | 0 | null | 2015-09-11T21:16:31 | 2015-09-11T21:16:30 | null | UTF-8 | C++ | false | false | 531 | h | /**
* \file sample.h
*
* \ingroup TruthViewer
*
* \brief Class def header for a class sample
*
* @author cadams
*/
/** \addtogroup TruthViewer
@{*/
#ifndef EVENTVIEWER_TRUTHVIEWER_SAMPLE_H
#define EVENTVIEWER_TRUTHVIEWER_SAMPLE_H
/**
\class sample
User defined class TruthViewer ... these comments ... | [
"corey.adams@yale.edu"
] | corey.adams@yale.edu |
cd20b21bf736795480bc920cf8ad78a9db28b39d | ee699f74b0bc0dd76d607f3becd2651ceca6f4ad | /boost/time_series/storage/dense_array.hpp | ccf59048db9608ecdf6b2456ce36fc5ddbf794c3 | [
"BSL-1.0"
] | permissive | ericniebler/time_series | fe26a377230a2d0f003bf421894a8f60791dc864 | 4040119366cc21f25c7734bb355e4a647296a96d | refs/heads/master | 2016-09-06T11:56:21.128720 | 2013-03-19T17:32:56 | 2013-03-19T17:32:56 | 8,884,331 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 14,247 | hpp | ///////////////////////////////////////////////////////////////////////////////
/// \file dense_array.hpp
/// A dense array that satisfies the \c InfiniteRangeRunStorage concept
//
// Copyright 2006 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_... | [
"niebler@industrial-perception.com"
] | niebler@industrial-perception.com |
7f82f8e604af65b179057eccb21a9e997bbcdccd | 1527b1844672df1b28620415433542ecbe0b340a | /segunda_parte/boost_smart_pointers/shared.cpp | b8945fccc9374c4524f710723b644f129672734a | [] | no_license | JoseTomasTocino/boost-workshop | 8bdf84f94d84b3768e0fb53635a6d634107cd50a | 1308c262aa81eea5135cbf03da667c734a95dcd8 | refs/heads/master | 2021-01-01T06:49:38.868088 | 2014-01-02T13:35:21 | 2014-01-02T13:35:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | #include <iostream>
#include <string>
using namespace std;
int tabulados;
#include <boost/shared_ptr.hpp>
/*
Tenemos dos clases. La clase Mirador tiene un shared pointer a
Observado.
*/
string tab(){
return string(tabulados, '\t');
}
struct Observado{
Observado(){ cout << tab() << "+ Creando Observad... | [
"theom3ga@gmail.com"
] | theom3ga@gmail.com |
089455dd593285a7e59fe61cfc42985406866fda | e785ec8eb1edada69ff486561069a81e1c89f39d | /ClassGraphic.cpp | 786695b578e9aa652e8fb0be7e81ad6a1e2b133d | [] | no_license | RaneClowd/CodeMap | f5b3578e49aadb912923c2d36a09bc58c334e445 | c417300ab87ffbd3bea00387e27757c200350833 | refs/heads/master | 2021-01-19T14:04:58.702037 | 2014-12-29T22:59:54 | 2014-12-29T22:59:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | cpp | #include "ClassGraphic.h"
#include <gtk/gtk.h>
ClassGraphic::ClassGraphic() {
BaseObject::BaseObject();
this->paintColor[0] = 0;
this->paintColor[1] = 1;
this->paintColor[2] = 1;
}
ClassGraphic::~ClassGraphic() {
BaseObject::~BaseObject();
for (auto I = methods.begin(); I != methods.end(); ++I) {
... | [
"kskaggs@solstice-consulting.com"
] | kskaggs@solstice-consulting.com |
d69303f194dc0adf8afc3a93dcb6361a0511aa68 | 9184451c9274ae903358d02ed6ea9449409c1a9b | /fudadesign_proc.cpp | 60c846683c432ff373c18c0bbb4cfe88c246a16d | [
"MIT"
] | permissive | pjmtdw/kazesomiso | 0c88758fcb2b729a5d9b9dd6acbc5d4f79d5245f | 8ea53dffb3532bc1a9200ef1981c0f15c8c38076 | refs/heads/master | 2022-06-10T06:29:58.831130 | 2022-05-19T02:57:34 | 2022-05-19T02:57:34 | 12,986,394 | 4 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 20,843 | cpp | #include "kazesomiso.h"
BOOL fixaspectratioflag = TRUE;
BOOL initdialogmode = FALSE;
class BaseDesign * saved_design;
LRESULT CALLBACK BaseDesignProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK ToriDesignProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
HWND h... | [
"hpnpwd@gmail.com"
] | hpnpwd@gmail.com |
d063adf964c7fcd894e25c40090da8c60c0033f3 | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/plugins/intel_gna/tests/functional/pass_tests/conv_with_padding.cpp | e9d941a8aa36dd8b28f38656dd7038ab4b485e83 | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,022 | cpp | // Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "shared_test_classes/base/layer_test_utils.hpp"
#include <util/type_prop.hpp>
#include "ngraph_functions/builders.hpp"
#include "../shared_tests_instances/skip_tests_check.hpp"
typedef std::tuple<InferenceEngine::Precision, ... | [
"noreply@github.com"
] | novakale.noreply@github.com |
ae5abf4074445e2616160cf1230c38c428ee3f00 | 75667c69371e560e00846993e0594198ba5b0271 | /lantern/src/renderer.cpp | b3a9e132f9a4c592af02614c09cbbb2968b29dca | [
"MIT"
] | permissive | fredlim/lantern | 028237401f73ccbe30c28dea1d8712c33bb283b8 | ae968506925f6e28498d0b54850030c47e6a7031 | refs/heads/master | 2023-03-18T00:22:15.644336 | 2015-11-21T12:42:51 | 2015-11-21T12:42:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include "renderer.h"
using namespace lantern;
renderer::renderer()
{
}
geometry_stage& renderer::get_geometry_stage()
{
return m_geometry_stage;
}
rasterizing_stage& renderer::get_rasterizing_stage()
{
return m_rasterizing_stage;
}
merging_stage& renderer::get_merging_stage()
{
return m_merging_stage;
} | [
"loreglean@gmail.com"
] | loreglean@gmail.com |
64e6708dcda2e4d98feae429f5ea8cc842d63a22 | 9adb4f0c0a3cc2bad82fc93bb518e1f6a658b45b | /17Sep2019/modernSmartPointers.cpp | 65c44dd566eb732e9a546de563635286a31e95e3 | [] | no_license | hgarg5072/Training-cpp | eb19715cc73d14d77d0ea3151e0a504213568dab | c213eedafbc7711fc05c9eaa8ea4782d3ce98796 | refs/heads/master | 2020-07-25T14:31:54.188528 | 2019-09-17T11:42:11 | 2019-09-17T11:42:11 | 208,324,084 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | cpp | #include <iostream>
using namespace std;
class cA {
int m_i;
public:
cA(int x = 0) :m_i(x) { cout << " cA Cons: this = " << this << '\n'; }
void disp() const { cout << " cA::disp\n"; }
~cA() { cout << " cA Des: this = " << this << '\n'; }
};
int main() {
shared_ptr<cA> sp1(new cA());
weak_ptr <cA> ... | [
"noreply@github.com"
] | hgarg5072.noreply@github.com |
0acba5fb80109053a79c5c966936593361bfa6bc | ca784a20a78f5d38f27fa9149aa8197a59ed1e9e | /src/dlut_motor_hokuyo/src/motor_hokuyo.cpp | 495ca4e0e0072eb59740562b965b1e07b35ddec1 | [
"MIT"
] | permissive | WuNL/rob_workspace | 53dffa6063eb15b319482274c56b1a2314ca93be | 20bbd21f156306bc41d14fc4d8d127fcd4bee4f6 | refs/heads/master | 2016-09-05T15:20:30.449295 | 2014-11-19T01:02:57 | 2014-11-19T01:02:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,630 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
* Copyright (c) 2013, Intelligent Robotics Lab, DLUT.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... | [
"wunailiang@gmail.com"
] | wunailiang@gmail.com |
7614ffabf184304c860a9898006802f351be4e0a | ca58b005002182934b809049a2e15016a91534ea | /contractapp-core/DatabaseClass/PatternDao.cpp | eaa202a0e2cf6e2131905f999361f1461b4bb60a | [] | no_license | ppitu/ContractApp | df4dc402e26d7515efdcf34826bb1c9c4285d528 | 5e1dca303f2f7b78b516f581a0ca2b2076ba7060 | refs/heads/main | 2023-08-29T10:26:45.268746 | 2021-11-14T12:40:19 | 2021-11-14T12:40:19 | 319,601,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,160 | cpp | #include "PatternDao.h"
#include <QSqlDatabase>
#include <QSqlQuery>
#include "Database/DatabaseManager.h"
#include "Class/Pattern.h"
PatternDao::PatternDao(QSqlDatabase &database) :
mDatabase(database)
{
}
void PatternDao::init() const
{
if(!mDatabase.tables().contains("pattern"))
{
Q... | [
"piotr.chmura.1998@o2.pl"
] | piotr.chmura.1998@o2.pl |
92740bd321bbc44a5549a6b183f65d8702408e4f | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /Qt5.7/VC12/Win32/include/QtGui/qscreen.h | ceff005a00c6c6d38fda5951f167874e611caab7 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 6,905 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid... | [
"deokhyun@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | deokhyun@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
b8110a2ab026cbf6d71d65df235c23c15ad60dde | 2dd293a6ab2189f4269181c99abe2406b7f7349d | /chapter4/ErrorCode/A1016.cpp | ddb7a0af6d344de2a9b85ea331986d9d6ecf2f43 | [] | no_license | leetsura/algorithm | e02aeb5ef7b55ff408ee3292c5b385e30ffede4a | 4290fc2bda8dfc2b928fc30050a435e1182284da | refs/heads/master | 2020-03-10T05:48:02.017448 | 2018-09-07T12:27:37 | 2018-09-07T12:27:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,121 | cpp | /**
* @Author: lee
* @Date: 2018-05-23T21:20:51+08:00
* @Last modified by: lee
* @Last modified time: 2018-05-26T23:23:48+08:00
*/
// 排序
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int RATE_LENGTH = 24;
// 收费标准(美分/分钟),rate[0]表示00:00~01:00之间的费用,以此类推。
int rate[RATE_L... | [
"664275973@qq.com"
] | 664275973@qq.com |
cede9f790261ef7f090338a32dcae10991d6428f | 3d7df1af3a380277a4d921c92c128a51dcccf448 | /src/Process/Settings/WTcLeviathanCoolingVentsSettings.cpp | a84e0cb1d8134024f62e401005fc09437dbc4607 | [] | no_license | Thormidable/Leviathan | 5420bc954606a215af3be85ec684000b923ad6a0 | 8e133254deaf99a9d436582565da1c94eb528dcf | refs/heads/master | 2021-01-10T15:13:25.106325 | 2015-12-14T22:42:42 | 2015-12-14T22:42:42 | 48,005,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | cpp |
#include "../../main.h"
cLeviathanVentSettings::cLeviathanVentSettings(cLeviathanComponentSettings *lpSettings,string lsMesh,string lsCollision,float lfOpenAngle,float lfOpenRate, float lfBaseCool,float lfMaxCool) : cLeviathanComponentSettings(lpSettings)
{
mpVent=_GET_MESH_FILE(lsMesh.c_str());
mpVentColl=_GE... | [
"will.thorley@gmail.com"
] | will.thorley@gmail.com |
e6a396e423c5fe63918b25a314e86f85d2561b37 | afa30ed07f598785f4672347e07529bc0b309118 | /Counting Bits/main.cpp | 2b6efa5f79327336b7fdda5a51b55d5cd51e3aa8 | [] | no_license | joshmainac/Algorithm_cpp | 2772fcf87b7c365136f4500ccfb4803515bb0a5c | 2b7a5026655bb717aea3334a51adcce8775cd3de | refs/heads/master | 2023-08-02T15:23:42.260310 | 2021-09-13T16:08:05 | 2021-09-13T16:08:05 | 384,188,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> countBits(int n);
int main()
{
auto a = countBits(5);
a;
return 0;
}
vector<int> countBits(int n)
{
vector<int> ans;
for (int m = 0; m < n+1; m++)
{
int i = 0;
int temp = m;
while (temp != 0)
{
if (temp % 2 != 0)
{
i ... | [
"josh.mainac@protonmail.com"
] | josh.mainac@protonmail.com |
66665bf891411ec29beb10e3a5ae1f5d7665890d | 93df4d1460bd25ae67bdf931204c1c68a4b25e46 | /Solutions/165.cpp | b174dc375513c295516867dbfd3174e237a0cacd | [] | no_license | raghumdani/typocoder | 22c3d15c68a0a4ddaad42b75a5d8a33c9192e86d | 4a331e8aeee7d2ebad399f36d0a08c178faf96f4 | refs/heads/master | 2021-01-10T04:54:33.635117 | 2017-03-11T22:47:54 | 2017-03-11T22:47:54 | 53,937,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | #include <stdio.h>
int main() {
int t,flag;
long int x;
scanf("%d",&t);
int a[t],b[t];
for(int i=0;i<t;i++)
{ scanf("%ld",&a[i]);
}
for(int i=0;i<t;i++)
{
flag=1;
b[i]=1;
// scanf("%ld",&x);
int y= sqrt(a[i]);
... | [
"ubuntu@ip-172-31-19-161.us-west-2.compute.internal"
] | ubuntu@ip-172-31-19-161.us-west-2.compute.internal |
c542ea92ee70ed63e2d9fc8699624a626e003c30 | 80cc2fd1e2cc3c44f57ec3d54f903a5f8a9044db | /tone.ino | 89d98bdbd3718d0ccdbf01206a0b67d85c7e39eb | [] | no_license | Paulf007/TTG_Alarm_Viewer | dace582dce8ece1baa4f138a73a70d0a290e6679 | 807f4707e7fa02f1676f0db98f7427e4266326b7 | refs/heads/main | 2023-04-07T18:15:19.612727 | 2021-04-20T02:07:26 | 2021-04-20T02:07:26 | 354,712,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | ino | void startTone(int cnt , unsigned long tmr ){
//Serial.print ("Play:");
//Serial.println(linkSwitches[3]);
if (linkSwitches[2] == 1){
// Serial.print ("Run Tone:");
//Serial.println (cnt);
startMTone = millis();
runT = 1;
count = cnt ;
toneTmer = tmr ;
}
}
void runTone (){... | [
"paul@paulf.co.za"
] | paul@paulf.co.za |
fd2353dc9a53b079d0d7a6537023167439e5e84d | 270f6259756f29cd26dd75e46682ff0dfa9ddeb8 | /AthContainers/AthContainers/.svn/text-base/AuxElementComplete.h.svn-base | d21688e908fb4db27151d29874f322b8eca54968 | [] | no_license | atlas-control/control | 79066de6c24dc754808d5cecc11e679520957e00 | 8631c6b8edb576caf247c459c34e158c1b531f50 | refs/heads/master | 2016-08-12T03:03:51.372028 | 2016-02-28T22:29:15 | 2016-02-28T22:29:15 | 52,747,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | // This file's extension implies that it's C, but it's really -*- C++ -*-.
// $Id$
/**
* @file AthContainers/AuxElementComplete.h
* @author scott snyder <snyder@bnl.gov>
* @date Apr, 2013
* @brief Wrapper to automatically create a private store for an element.
*/
#ifndef ATHCONTAINERS_AUXELEMENTCOMPLETE_H
#defin... | [
"dguest@cern.ch"
] | dguest@cern.ch | |
45c8efb8da672605567c7afaa460fe8af5e5afbc | 31a65989dafca3115fb362d4e968333da113b489 | /OctoGL/src/Commands.cpp | 7aed8cd76c67e54d35af6e6f286131e60055a4b0 | [] | no_license | eVillain/OctoGL | 67a4873df8c76c0303433ef26001730710e082d1 | 3d96ca4b3b3afeb3beab9699f8cadb76f8a9d3f0 | refs/heads/master | 2016-08-11T09:13:05.683345 | 2016-02-22T02:13:31 | 2016-02-22T02:13:31 | 51,914,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include "Commands.h"
namespace commands
{
const BackendDispatchFunction Draw::DISPATCH_FUNCTION = &BackendDispatch::draw;
const BackendDispatchFunction BufferVertexData::DISPATCH_FUNCTION = &BackendDispatch::bufferVertexData;
}
| [
"eVillain@eVillAir.local"
] | eVillain@eVillAir.local |
882e81f7c74b50d536d2b587973d4f36f81316a7 | 440f814f122cfec91152f7889f1f72e2865686ce | /src/login_server_informal/server/http_service_handler.cc | b9fdb6bb37bb86e35c0fccd674af6d7060764ec1 | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,153 | cc | //
// Summary: buzz source code.
//
// Author: Tony.
// Email: tonyjobmails@gmail.com.
// Last modify: 2013-03-05 13:44:39.
// File name: http_service_handler.cc
//
// Description:
// Define class HttpServiceHandler.
//
#include "login_server_informal/server/http_service_handler.h"
#include <algorithm>
#include <boos... | [
"251729465@qq.com"
] | 251729465@qq.com |
15fcc4291a8a84970230070d538a59f378b8f8e4 | fa64f459dcfdd650ddfc0daffcd667e18f22467e | /Ranim/connexion.h | 776c0a970cce220ac401e749a97b493f14b1bcd5 | [] | no_license | TopCreation/TopCreation | 91127b4bc90e62ed332852bb27a25ad1a4edee76 | 4b79abf0e1ab9b2c570fb1454d357084fd594234 | refs/heads/master | 2021-05-26T18:08:47.570952 | 2020-06-02T20:55:41 | 2020-06-02T20:55:41 | 254,146,745 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 276 | h | #ifndef CONNEXION_H
#define CONNEXION_H
#include <QSqlDatabase>
#include <QSqlError>
#include <QSqlQuery>
class connexion
{
private:
QSqlDatabase db;
public:
connexion();
bool createconnect();
void closeconnect();
};
#endif // CONNEXION_H
| [
"noreply@github.com"
] | TopCreation.noreply@github.com |
f33c97bde4e434418f964f262dec6ffe7e3a6a78 | 7b42c83758b3a6f73ce5bdd42e9d2a0320df1a58 | /src/KdSplit.cpp | f574579bf63a1dfa886f07a2a6b5624b3a1f797c | [] | no_license | bigtaoo/KDTree | d1c97a5b2a12d03ee9a5649a8eb9ff71c303faf5 | 9a8c284ab9321ccf9994c5a9b55e3de4b3fd1ff9 | refs/heads/master | 2020-08-02T18:56:58.197165 | 2019-10-02T15:58:18 | 2019-10-02T15:58:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,028 | cpp | #include "../include/KdSplit.h"
#include "../include/GlobalData.h"
#include "../include/KdLeaf.h"
KdSplit::KdSplit(int cutDimension, int64_t cutValue, int64_t boundLow, int64_t boundHigh, KdNode* childLow, KdNode* childHigh) :
m_cutDimension(cutDimension), m_cutValue(cutValue)
{
m_bounds[BI_LOW] = boundLow;
m_bound... | [
"twang@bigpoint.net"
] | twang@bigpoint.net |
ab554eab9aef33ca7462b627bd2ef093c500fc57 | 1a3c30771ec7712a8dd7429e4af13dc710cf594f | /triangle/tuboRandom.cpp | 50c8e6c82f13e5473b86af521a60b7c33e1e8499 | [] | no_license | ko19951231/Contest | dc6976fd24c2ae7f25ff7f3ef8a5119eb01fb4b1 | c31be7b4913211175b6c91f3557db6541feb4671 | refs/heads/master | 2021-01-19T14:40:19.023325 | 2018-12-10T17:19:36 | 2018-12-10T17:19:36 | 25,024,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,340 | cpp | #include <vector>
#include <cstdlib>
#include <cmath>
#include <utility>
#include <algorithm>
#include <cstdio>
using namespace std;
class Point
{
public:
double x;
double y;
Point(){}
Point(const Point &P){
x=P.x;
y=P.y;
}
Point(double a, double b)
{
x=a;
y=b;
}
Point operator*(const double coe)const... | [
"ko19951231@gmail.com"
] | ko19951231@gmail.com |
cf302e871774c1746b89494db33b9069ff5d24e3 | c9fb34b4f10d30e71e7acde6f365d356694abf83 | /PBNeo/Source/PBGame/Private/Item/PBItemInfo.cpp | 910fa5837ef2cc764f753ca3fc67e4523d0b40bd | [] | no_license | daekyuuu/DKGame2 | a52311e4df0d67132afada8d226ce45a0bd331ef | e5405499e7dcf02225757888c8fbaf847cb200cd | refs/heads/master | 2020-12-02T06:40:23.579274 | 2017-07-12T05:00:08 | 2017-07-12T05:00:08 | 96,866,994 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PBGame.h"
#include "PBItemInfo.h"
| [
"daekyu.park@zepetto.com"
] | daekyu.park@zepetto.com |
965a6d08f4c9f2772c8cfdd1de05bcd14766129a | 171b17f2be807cf28c2407b13c3e694bbf7f8e09 | /wk05_hw_c/src/ofApp.cpp | 0b1bc6a0e62544395e9448e215a61e5465ecb4d9 | [] | no_license | monkbysea/cotta074_algosims2016 | 5f4914a8bf8c3b5e1dfef3e3173e105fb9dcf6dc | 8df72ec3638c41e5d9bec2c2bdfe00c41297feb9 | refs/heads/master | 2020-05-30T09:52:07.476665 | 2016-12-10T20:10:19 | 2016-12-10T20:10:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,974 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
light.setDiffuseColor(ofFloatColor(1.0,1.0,1.0));
light.setPosition(ofPoint(0.0,0.0,0.0));
for (int i = 0; i < 20; i++)
{
nodes.push_back( new Particle(ofRandom(-400, 400),
... | [
"cotter.andrew.p@gmail.com"
] | cotter.andrew.p@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.