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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23c7f77c3b5efb60954c7eb05babedd743669623 | b897f900b1ab18689aa381d18eee060bf8e53988 | /GameFrame.cpp | 9f0c0efd4deab3e47d62436ce23e739e0be94f84 | [] | no_license | Ndumisosizwe/-Advanced-Programming---OpenGL-Project | 79627ba86ba163ece15f88671009a451585c7462 | 1616b09b444cce2051f057d7cf179ef62c8d61cd | refs/heads/master | 2021-03-27T14:26:27.132724 | 2017-08-08T19:30:25 | 2017-08-08T19:30:25 | 99,961,618 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,665 | cpp | #include "GameFrame.h"
GameFrame::GameFrame(){
initVariables();
glClearColor(1,1,1,1);
Title.Load("GameTitle.obj");//Load the Obj file, to render it's Normals,Faces, Verteces
Shotgun.Load("SMG.obj");
glEnable(GL_DEPTH_TEST);
glEnable(GL_LIGHTING);
}
void GameFrame::initVariables(){
//
... | [
"ndumisosizwe@gmail.com"
] | ndumisosizwe@gmail.com |
17ed0be568d3c596bb792034e8dee97539d52a2a | 3e6e683fb86843a4c5298fd2564bd4c8d77957ac | /old_code/rs485master-n3/rs485master-n3.ino | 4123bcaa2e24c3467035e34e16275afe083c5d43 | [
"MIT"
] | permissive | ChiShengChen/pure_agri_bugcan_pest-counter | 6a06e04d878aff639bbcd24f02b9ae933efe98f0 | 292db87988c21d56e8a7af115326842d823b77d0 | refs/heads/master | 2021-04-26T23:09:17.120397 | 2018-08-08T09:31:30 | 2018-08-08T09:31:30 | 123,937,552 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | ino | #include <SoftwareSerial.h>
#define SSerialRX 0 //Serial Receive pin
#define SSerialTX 1 //Serial Transmit pin
#define SSerialTxControl 3 //RS485 Direction control
#define RS485Transmit HIGH
#define RS485Receive LOW
#define Pin12LED 12
SoftwareSerial RS485Serial(SSerialRX, SSerialTX); // RX, TX
int byteRece... | [
"m50816m50816@gmail.com"
] | m50816m50816@gmail.com |
4aa766740225c6ac890223a0dd88eca021392442 | 410f0d89081833f7dd08dcb93a983bec7e4fb79c | /ch6/list.cpp | 8f8a0b4b9fc0e523f29dba7711a1d0cd2d006128 | [] | no_license | alexbrinister/concurrency-in-action | 647b0b83ad6cfeacf90adddd4c935dc0c0086708 | fffe4528da8e10136372b7222805e159588f8bc9 | refs/heads/master | 2021-01-13T15:27:16.348893 | 2016-11-01T04:22:15 | 2016-11-01T04:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,729 | cpp | #include <iostream>
#include <thread>
#include <memory>
#include <cstdio>
template <typename T>
class list
{
struct node
{
std::mutex m;
std::shared_ptr<T> data;
std::unique_ptr<node> next;
node()
: next()
{}
node(T const& value)
: data(std::m... | [
"wangbomsu@gmail.com"
] | wangbomsu@gmail.com |
9da4b9e326a855d78533e513bd101a8f2bd0e072 | a4270da987bf827c09d8c0793cb1961621c98a7d | /src/tx_ring_qpl.h | e6a0f79275b69f275e32322f824639ee4e195630 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | Deger123/compute-virtual-ethernet-windows | e0779b754a5989122f7831ff53240cee0a86c671 | 242c3bdf2a78ad080bfe2bcfb8473bae2d45d7c3 | refs/heads/master | 2023-03-16T00:22:51.821207 | 2021-03-04T00:13:37 | 2021-03-04T00:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,742 | h | /*
* Copyright 2019 Google LLC
*
* 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 ... | [
"gce-guest-driver-github@google.com"
] | gce-guest-driver-github@google.com |
7525adb5be21fee188f1653ae6f80460a1b44026 | b8194fee4ddf498b2c1bd302ec4ba9466746250d | /build/Android/Debug/app/src/main/include/Fuse.Triggers.LayoutT-3aa69d98.h | 1b36a0297d73956f577be5799c29bdbefa8941d6 | [] | no_license | color0e/Fabric_Fuse_Project | e49e7371c9579d80c9ec96c1f2d3a90de7b52149 | 9b20a0347e5249315cf7af587e04234ec611c6be | refs/heads/master | 2020-03-30T16:49:34.363764 | 2018-10-03T16:26:28 | 2018-10-03T16:26:28 | 151,428,896 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | // This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Elements/1.9.0/Triggers/LayoutAnimation.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Delegate.h>
namespace g{
namespace Fuse{
namespace Triggers{
// internal delegate void LayoutTran... | [
"limjangsoon@naver.com"
] | limjangsoon@naver.com |
4b79a13294916659727a8fe19d6e3fb0a832a7ba | 21d7916225755c091f2043775b519202b6336e88 | /src/health.cpp | a070356159f4174fd596f5a465350b4ef336e80a | [] | no_license | jordantf/5w | d856990f1fb877e824b9f5ec8249a0d3c27b87ef | 78dff012e7b13b834e75bd08bec85c7982b946a3 | refs/heads/main | 2023-05-02T22:45:51.086002 | 2021-05-24T23:03:45 | 2021-05-24T23:03:45 | 370,506,225 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,142 | cpp | // internal
#include "turn.hpp"
#include "render.hpp"
#include "health.hpp"
// TODO: For debug purposes for now
#include <iostream>
#include <utility>
void Health::createHealthBar(ECS::Entity& parent, const float healthPct, vec2 grid_position) {
if(healthPct <= 0.f) return;
ShadedMesh& resource = cache_reso... | [
"jordantfong3@gmail.com"
] | jordantfong3@gmail.com |
b264109aea145bf744dba5764688344c96a57940 | ac640fd88a31962f9778b98a84498780466180a6 | /Week 7/mirteRemix/src/testApp.cpp | 8c112165aceeda2300b360d5ece957007fef3fb7 | [] | no_license | SafetyOrange/Algorithmic-Animation-2013 | a989b8b75bf5e35d0ee350617b2f30f399417f89 | 1c10a92d442a326bba2de4e9d72f287c69625e59 | refs/heads/master | 2021-01-13T01:54:11.962208 | 2013-11-19T16:08:56 | 2013-11-19T16:08:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,154 | cpp | #include "testApp.h"
//??WHAT IS THIS PLACE
//--------------------------------------------------------------
void testApp::setup(){
ofSetVerticalSync(true);
ofSetBackgroundAuto(false);
ofBackground(0);
ofEnableAlphaBlending();
jam.loadSound("song.mp3");
// Particles
steps = 13;
... | [
"marefatk@gmail.com"
] | marefatk@gmail.com |
c920e7c048a2316d7ea614f5a588ef4e07807ffe | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_patch_hunk_549.cpp | 48bc9ab19355924968496fabcdc3540ecf5682a1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | #include "cache_cf.h"
#include "ConfigParser.h"
#include "Debug.h"
#include "fatal.h"
#include "globals.h"
+char *ConfigParser::lastToken = NULL;
+std::queue<std::string> ConfigParser::undo;
+
+int ConfigParser::RecognizeQuotedValues = true;
+
void
ConfigParser::destruct()
{
shutting_down = 1;
fatal... | [
"993273596@qq.com"
] | 993273596@qq.com |
dc0d6fa1a1ddb7c4bd79744d4b159ef940d70adc | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/media/history/media_history_keyed_service_unittest.cc | 7771b7ea40ab485c04b193e17f554a5117c680f2 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 36,670 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/history/media_history_keyed_service.h"
#include <memory>
#include "base/bind.h"
#include "base/files/scoped_temp_dir.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
91635dced13b8dea9f34f756111557a7f248e9cc | a6d9e69467f53e5e947fefac76388a24ada6d77c | /include/Common/IInstanceManager.h | 14ffffef8b677299b861e2d9c8ce43d62066dc44 | [] | no_license | briteming/ShadowSocks_cpp | 29c3cf16498e3de130872e0dedae134d2493e3af | 912d9d9b67a4dd1025af2ce011109efa9a13578e | refs/heads/master | 2021-10-11T22:51:49.318874 | 2019-01-30T08:51:57 | 2019-01-30T08:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | //
// Created by patteliu on 2018/10/19.
//
#ifndef SHADOWSOCKSR_CPP_IINSTANCEMANAGER_H
#define SHADOWSOCKSR_CPP_IINSTANCEMANAGER_H
#include "Interface.h"
class IInstanceManager : public Interface
{
public:
virtual void AddRef() = 0;
virtual void Release() = 0;
};
template <class T>
inline void AddRef(T * I... | [
"490021209@qq.com"
] | 490021209@qq.com |
4be918987e69910f2eb6d8cba09142ba17fbac6c | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/ppapi/thunk/ppb_input_event_thunk.cc | 5a0927da68d1fd27e3239bb162166cd6e1f87294 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-khronos"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 18,703 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ppapi/c/pp_errors.h"
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/ppb_input_event_api.h"
#include "ppapi/thunk/ppb_instance_api.h"
#... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
d17475cc0aed39fdec752940ce18aae2b1409573 | 471fe2f513f4be7ad7656f5dccb8a085c946a14b | /YandexIntroCpp/1_4/1_4_11.cpp | b03f7655ef518ae76a1a0499b7d404665000906a | [] | no_license | AlexanderPro/Stepik | c848a034f4a7dab165be70b42a00932e62414cd9 | 876579724f4d5adb5c064e7279bf37746d325255 | refs/heads/master | 2023-07-21T06:59:13.993728 | 2023-07-09T15:28:11 | 2023-07-09T15:28:11 | 239,999,599 | 30 | 40 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | cpp | /*
Шахматный ферзь ходит по диагонали, горизонтали или вертикали. Даны две различные клетки шахматной доски, определите, может ли ферзь попасть с первой клетки на вторую одним ходом.
Формат входных данных
Программа получает на вход четыре числа от 1 до 8 каждое, задающие номер столбца и номер строки сначала для первой... | [
"Illarionov.pro@gmail.com"
] | Illarionov.pro@gmail.com |
37fde21b8b9a209f49cd9c826cf105bf982a74fb | 964b3d6008f7ba371ca23e3f6552a654add618dd | /coin-change-ways-recursive.cpp | 6e311ea733bd64d5b8eea5cfb1ffcfde1194c445 | [] | no_license | SarasArya/Dynamic-Programming | 8b1e9a9769627e31c111c0d7265e87a0f72bd586 | 5e218308e4ff3000060367af4c4b588c5aa12b76 | refs/heads/master | 2020-12-30T13:39:27.048509 | 2017-05-14T22:58:36 | 2017-05-14T22:58:36 | 91,237,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <iostream>
using namespace std;
//here S is the coin array, m is the size of coin array and n is the desired denomination.
int count(int S [], int m, int n){
//Case 1 : n==0 It means we have a solution
cout<<m<<" "<<n<<"\n";
if(n==0){
return 1;
}
//Case 2 : n<0 It means a solution is not possible re... | [
"saras.arya@gmail.com"
] | saras.arya@gmail.com |
e11d25624993041c31510cd69e76426b11cf9974 | 3f7bcbd53bceb82cfd97384c49438ba54a8dbbaf | /source/vector_numeric.h | 217a9d3297c32f929c5bf919b65b0ff2ef257450 | [] | no_license | johanofverstedt/libaxl | 7775ee1eaa8d1c51deb50e547ba92166fed93058 | 5832a6c42ceb9ff151f13a73051ce56f5c3ab603 | refs/heads/master | 2020-04-07T02:23:10.159997 | 2015-05-05T23:45:37 | 2015-05-05T23:45:37 | 33,613,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | h |
/**
* General operations supported on all numeric vectors.
*/
#ifndef LIBAXL_VECTOR_NUMERIC_GUARD
#define LIBAXL_VECTOR_NUMERIC_GUARD
#include "vectors.h"
namespace libaxl {
template <typename T1, typename T2>
inline
vector<T1>& operator+=(vector<T1> &a, vector<T2> b) {
auto a_array = a.array;
auto a_count = a... | [
"johan_over@hotmail.com"
] | johan_over@hotmail.com |
f252383063512daa58a3fd44d859f5c48490269d | a3a942e6839b05b0e0032cc7245e64f5646751af | /circular-cylinder_basic/processor2/35.001/p | 619d6611d9a7a3925173657a545c181b458bef9d | [] | no_license | carsumptive/OF-2 | 8826dc120b8a1f6b9fbd70e47cda6976f80d6ca7 | dfb46ab301dfded517b579cb59df02df14bcfd2f | refs/heads/main | 2023-04-08T18:45:15.811682 | 2021-04-08T14:51:19 | 2021-04-08T14:51:19 | 355,948,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117,119 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"carsonlansdowne@gmail.com"
] | carsonlansdowne@gmail.com | |
65e8ff594f095e59b6bd98bd6f7ef84ae4940247 | 3d3755305f1071914295aaf5d7e0d74934e42d02 | /canecrosssectionrender.h | 197d4217ca20d2f502c208ca23f3439c6a988447 | [
"MIT"
] | permissive | tanminggang/virtualglass | 7569ee0786ff737b7775819697340b025008ad28 | f81f2d13e12f80d3bdbff802f72570e9e3e77f21 | refs/heads/master | 2021-09-20T18:28:30.749849 | 2018-08-13T23:52:40 | 2018-08-13T23:52:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h |
#ifndef CANECROSSECTIONRENDER_H
#define CANECROSSECTIONRENDER_H
#include "primitives.h"
#include "shape.h"
class QPainter;
class Cane;
namespace CaneCrossSectionRender
{
void paintShape(float x, float y, float size, enum GeometricShape s, QPainter* p);
void setBoundaryPainter(QPainter* painter, bool outermostLeve... | [
"andrewwinslow@gmail.com"
] | andrewwinslow@gmail.com |
a238f76d73541e7fbfed6698c7fcc242ec181012 | f982f7678fbb21dc6f2696617a1aed6348961cab | /Sorting/HeapSort/HeapSort.h | e7ab9cc4f0078098ea8d66946d81b6d3ad7a49dd | [] | no_license | saha-somnath/Data-Structure | 8337dc26a9b9faddc2fab619e9d5e1de8a27fa9b | 158d8731c1aa7733f6b69db4035bd67674b806c9 | refs/heads/master | 2021-01-14T09:52:17.211635 | 2020-09-02T15:34:51 | 2020-09-02T15:34:51 | 54,695,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | //
// HeapSort.h
//
// Created by Somnath Saha on 3/13/16.
// Copyright © 2016 Somnath Saha. All rights reserved.
//
#ifndef HeapSort_h
#define HeapSort_h
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include<sys/time.h>
#include<ctime>
using namespace std;
void heapify(int* A, size_t start, size_... | [
"saha.somnath@gmail.com"
] | saha.somnath@gmail.com |
0d9b2d5d8db65c492aa7096548645b3bb9ff81d4 | ce47c0df901621caeddc4ac05b8abe58cb31dfd3 | /SanGuo_Layout/Classes/GeneralTotalData.h | 1d6ee851ce1cf8d778804e8cd748483726765127 | [] | no_license | playddt/SanGuo_Layout | 234706e411edb48a2ef7e7392f8d61b4abd2d683 | d6f24aff1a400a57b6afc365b592da45f06a3a47 | refs/heads/master | 2021-01-01T06:32:14.483367 | 2013-04-23T10:52:32 | 2013-04-23T10:52:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | //
// GeneralTotalData.h
// SanGuo_Layout
//
// Created by liliang on 13-3-29.
//
//
#ifndef __SanGuo_Layout__GeneralTotalData__
#define __SanGuo_Layout__GeneralTotalData__
#include <iostream>
#endif /* defined(__SanGuo_Layout__GeneralTotalData__) */
| [
"120131637@qq.com"
] | 120131637@qq.com |
0a9246dbdd257eb0f53d3341bdff5534057a36a0 | 20f00077799f5231aee0230702403b46b87a1cfd | /radio_uno/radio_uno.ino | 9c7d8ad247959dd94662b865f5f3490cde7206f1 | [] | no_license | CharlesFructuoso/Arduino-Drone-Quadcoptere | c31c9096f4c139a12f692e8680e209b420438e79 | f21a4fb12910ed5e6731311b4d6e4fc74e973e98 | refs/heads/master | 2022-12-28T18:41:16.504324 | 2020-09-26T13:59:15 | 2020-09-26T13:59:15 | 298,696,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,281 | ino | /* http://www.youtube.com/c/electronoobs
*
* This is an example where we control two axis drone with PID
* and data from the radio receiver and the MPU6050 module
*
* Arduino pin | MPU6050
* 5V | Vcc
* GND | GND
* A4 | SDA
* A5 | SCL
*
* F_ Left... | [
"71795917+CharlesFructuoso@users.noreply.github.com"
] | 71795917+CharlesFructuoso@users.noreply.github.com |
4f8d21d06cefb5f8dfe37f898e2a18d170d4d1c7 | 85e98f05ef6ef01dbc5da5c8105ac1495aee1b64 | /base/bubbles.cpp | 174c6d938e7922bc62479b3291026f8720d33cc9 | [] | no_license | andersoncarlosfs/pokebattle | 460890ebafc65b341f24f1f81e708dbb0309741b | c7f2d2c662dc316769bd083f4f0747358f82f685 | refs/heads/master | 2023-06-20T23:08:48.375109 | 2021-07-27T13:23:17 | 2021-07-27T13:23:17 | 84,546,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,773 | cpp | /*
File: http://cs.indstate.edu/~jkinne/cs440-f2012/code/bubbles.cpp
Author: Jeff Kinne
Contents: relatively simple OpenGL program that implements a little
bubble game. Many "bubbles" are displayed on the screen, and the
user can "pop" them by shooting a "laser". The purpose of the
program is to demo... | [
"lsdfusion@lstaff-OptiPlex-9020"
] | lsdfusion@lstaff-OptiPlex-9020 |
c67cf824d2f96b9856d9e9ce211688e0ec4ff4e1 | 8aa470059cacf58dd34b29737fe2fbc671697c11 | /InputSheetBM/SpreadsheetWidget.h | a55be0712499175ced9ef3382428ea2fffe64a74 | [
"BSD-2-Clause-Views"
] | permissive | sweetta/widgets | 700a361ac6f75a55d5324c2422a45113b7e48736 | b2cecb6be69437f0e4bbff8a256ac30ee772cb15 | refs/heads/master | 2021-05-10T18:23:06.451643 | 2018-01-05T23:43:39 | 2018-01-05T23:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,314 | h | #ifndef SPREADSHEETWIDGET_H
#define SPREADSHEETWIDGET_H
// http://www-cs.ccny.cuny.edu/~wolberg/cs221/qt/books/C++-GUI-Programming-with-Qt-4-1st-ed.pdf
#include <QTableWidget>
#define SIMPLESPREADSHEET_QString 0
#define SIMPLESPREADSHEET_QDouble 1
#define SIMPLESPREADSHEET_QInt 2
class Cell;
class SpreadsheetC... | [
"maurice.manning@gmail.com"
] | maurice.manning@gmail.com |
24bfd3dc93c14b8c0a8f6bed79dd3b0564d35dc1 | 4b250da9813bd51979b7211778f720c0757eb82e | /gkickstart/2021/round-D/C/C1.cpp | 28cb8876b0ca3408537156952de29421096e6912 | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,140 | cpp | /* ========================================
ID: mathema6
TASK: C
LANG: C++14
* File Name : C.cpp
* Creation Date : 11-07-2021
* Last Modified : Sun 11 Jul 2021 08:42:39 AM CEST
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://codingcompetitions.withgoogle.com/kickstart/round/00000... | [
"mathemage@gmail.com"
] | mathemage@gmail.com |
9fa71f43dd86841e3719796fa65e16f1684fcd98 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/corelib/io/qfilesystemwatcher.h | 30a0b2cf0809ba5df0ccbd52489334b4b282c879 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-refe... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 2,786 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
383060c11f450670769c161fa494146fefa6be54 | e5614c36fd324f2e214ff05aaf2bf7230443e0b5 | /CodeForces/799A - Carrot Cakes - 27047124.cpp | 206a7ba94472fa23b63561d1ffb606a2853c3a43 | [] | no_license | njrafi/Competitive-Programming-Solutions | a9cd3ceae430e6b672c02076f80ecb94065ff6d8 | 86d167c355813157b0a0a8382b6f8538f29d4599 | refs/heads/master | 2020-07-30T22:18:46.473308 | 2019-10-06T18:12:36 | 2019-10-06T18:12:36 | 210,377,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | cpp | #include <bits/stdc++.h>
#ifndef ONLINE_JUDGE
#define gc getchar
#define pc putchar
#else
#define gc getchar_unlocked
#define pc putchar_unlocked
#endif
using namespace std;
#define vi vector<int>
#define si set<int>
#define vs vector<string>
#define pii pair<int, int>
#define vpi vector<pii>
#define pri priority_queue... | [
"njrafibd@gmail.com"
] | njrafibd@gmail.com |
ba20494ee6d2580f7e3bc5048a7d6e816ba0c225 | 171939de0a904c90f9af198b8e5d65f8349429d7 | /CQ-00040/palin/palin.cpp | 1bc9993e62aebe8f7b08d20218e23d56d8c88e6c | [] | no_license | LittleYang0531/CQ-CSP-S-2021 | 2b1071bbbf0463e65bfc177f86a44b7d3301b6a9 | 1d9a09f8fb6bf3ba22962969a2bac18383df4722 | refs/heads/main | 2023-08-26T11:39:42.483746 | 2021-10-23T14:45:45 | 2021-10-23T14:45:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N=1e6+5;
int n,a[N],b[N];
char s[N];
bool dfs(int k,int l,int r)
{
if(r<l)
{
for(int i=1;i<=n;i++)
if(b[i]!=b[(n<<1)-i+1])
return 0;
return 1;
}
s[k]='L';
b[k]=a[l];
if(dfs(k+1,l+1,r))
return 1;
s[k]='R';
b[k]=a[r];
if(dfs(k+1,l,r-1))
return... | [
"3286767741@qq.com"
] | 3286767741@qq.com |
62737032af9509c2a6891097072fa4525e4deb70 | 12e66e5fa377908b9bdd616c6d17bd8445a8eafe | /src/sudoku/sudoku.cpp | 5dcfd3b5e562017a31f88205ce45ed472c8fcb96 | [
"BSD-2-Clause"
] | permissive | funkyfred84/sudoku-solver | 4db0a58fe2dd229d72d6ddc86b5ab127972e4301 | 3e6793f9542046471968f31c9c57ed56f63aef3c | refs/heads/master | 2021-01-19T10:15:06.808769 | 2017-04-22T21:42:27 | 2017-04-22T21:42:27 | 87,844,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,368 | cpp | #include "sudoku.h"
#include <algorithm>
#include <iostream>
Index::Index(const size_t row, const size_t column) : _row(row), _column(column){}
size_t Index::row() const {
return _row;
}
size_t Index::column() const {
return _column;
}
Sudoku::Sudoku() {
for (size_t i = 0; i < _fields.size(); ++i) {
... | [
"u.schwaeke@web.de"
] | u.schwaeke@web.de |
970325bf08c5568fb528a6d6dc6df4b5f39b81f0 | e212351b7d29b0631ff980f56faa257ba2ae89da | /mac/MacUDP.h | 00b99e3e8b9b4519374683a62b1d0bb1860fad2a | [] | no_license | drony/m8rscript | a84e9634a0359eaee88a38ecc64cc40f5ddb2fed | 2fc879eea2a89f6bd15f0355b7c941eedc0aec57 | refs/heads/master | 2021-05-08T19:53:29.373888 | 2017-09-01T22:27:49 | 2017-09-01T22:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,348 | h | /*-------------------------------------------------------------------------
This source file is a part of m8rscript
For the latest info, see http://www.marrin.org/
Copyright (c) 2016, Chris Marrin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... | [
"chris@marrin.com"
] | chris@marrin.com |
1437f8f7fe98ca77acb7048a3d2383c8c0a0be33 | 85d483cc05b71314acf449a3004f44d84e0aadb2 | /Source/Michelangelo/NonUnreal/MichelangeloAPI/CurlList.cpp | 4afeb77a8863a505c2edc248903f8b7510d11048 | [] | no_license | JPMMaia/michelangelo-frontend | d5c3d4fd34f7c99887e40807bb8c622ba8409602 | 4141d249bc14acda4c5975582bd4078d7767586c | refs/heads/master | 2021-01-20T11:09:33.857014 | 2017-07-18T16:32:18 | 2017-07-18T16:32:18 | 72,037,322 | 0 | 0 | null | 2017-04-21T17:15:46 | 2016-10-26T19:28:07 | C++ | UTF-8 | C++ | false | false | 508 | cpp | #include "Michelangelo.h"
#include "CurlList.h"
#include "IncludeCurl.h"
using namespace MichelangeloAPI;
CurlList::CurlList() :
m_list(nullptr, &curl_slist_free_all)
{
}
void CurlList::Append(const std::string& value)
{
m_list = CurlListHandle(curl_slist_append(m_list.get(), value.c_str()), &curl_slist_free_all);... | [
"jpmmaia@gmail.com"
] | jpmmaia@gmail.com |
e51b9264a5fa16e073b96d364b127931c00349ca | 60b26dcbe31bd9a1ce9d5bf3e1c1574e86251fd6 | /src/SpaceWireBridges.hpp | 0493b88ae1f0e136ac54e4e885451e13abadff51 | [] | no_license | SocExplorer/SpaceWireZMQ | 147bf1144a6350955efd1622636edecfe0aa3424 | cc98afea15fa33846be4aff2d28ccf145f16b500 | refs/heads/main | 2023-02-15T03:37:41.260075 | 2021-01-13T12:49:32 | 2021-01-13T12:49:32 | 326,070,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,143 | hpp | /*------------------------------------------------------------------------------
-- This file is a part of the SocExplorer Software
-- Copyright (C) 2021, Plasma Physics Laboratory - CNRS
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public Licen... | [
"alexis.jeandet@member.fsf.org"
] | alexis.jeandet@member.fsf.org |
be651ec6cd12003e7347c2a515811a0f5e1bc141 | a6dae8297f906f55cbdc4ac94c09e5438eae34e4 | /Classes/WinDialog.h | 24e961c4215cd351e0131d13a1d78cd8352de692 | [] | no_license | phamtanlong/greedy-mouse | 1cd67209f51e56aa3a5b30df945a36d9b9d51c9f | a25e6997e126e73a9a0f83a2a7e28389afb67ed3 | refs/heads/master | 2020-12-01T11:48:08.644109 | 2013-12-06T16:11:34 | 2013-12-06T16:11:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | h | #ifndef __WINDIALOG_H__
#define __WINDIALOG_H__
#include "cocos2d.h"
#include "MainGameScene.h"
USING_NS_CC;
#include "Global.h"
class WinDialog : public cocos2d::CCLayerColor
{
public:
WinDialog(){}
~WinDialog(){}
virtual bool init();
static cocos2d::CCScene* scene();
CREATE_FUNC(WinDialog);
CCSprite* m... | [
"longpham.uit@gmail.com"
] | longpham.uit@gmail.com |
a30b673e8e26b1ecd5431604bd2c2ab8ca625267 | 4d43c3aae6b739a0bc718222e4681ceb4ed4b98c | /c-src/Fl_Copy_SurfaceC.cpp | 8d57b81112e1725bdea852fdff46fd1928157888 | [
"MIT"
] | permissive | ericu/fltkhs | 44f43c7def765166270e132911fc6585198a5fe0 | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | refs/heads/master | 2020-06-02T08:04:27.786233 | 2019-10-31T18:31:28 | 2019-10-31T18:36:23 | 191,092,321 | 0 | 0 | MIT | 2019-06-10T03:44:47 | 2019-06-10T03:44:47 | null | UTF-8 | C++ | false | false | 760 | cpp | #include "Fl_Copy_SurfaceC.h"
#ifdef __cplusplus
EXPORT {
#endif
FL_EXPORT_C(void,Fl_Copy_Surface_set_current)(fl_Copy_Surface copy_surface){
(static_cast<Fl_Copy_Surface*>(copy_surface))->set_current();
}
FL_EXPORT_C(void,Fl_Copy_Surface_draw)(fl_Copy_Surface copy_surface,fl_Widget widget,int delta_x,int del... | [
"aditya siram at gmail dot com"
] | aditya siram at gmail dot com |
d721ad4f1cfc4f911afb70b0b538fb949a8aee08 | eb84024410d6587574f97a521ed93a45f54384dd | /src/lib/ecl/EKF/estimator_interface.cpp | db1f8ba5c567260812bab65029c002928614f282 | [
"BSD-3-Clause"
] | permissive | softwarecyz/test1 | 650f4a390205fbc4571a202f51a36fc0e22cc0d0 | 6ac62c420fdfdecb55b24efaa20376c46e72cee6 | refs/heads/master | 2020-08-10T14:31:19.696095 | 2019-10-11T07:05:24 | 2019-10-11T07:05:24 | 214,360,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,308 | cpp | /****************************************************************************
*
* Copyright (c) 2013 Estimation and Control Library (ECL). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | [
"1538725213@qq.com"
] | 1538725213@qq.com |
fc9ee607e870ac84d64a7054e4110fbfc4d1bb5d | ef1e794906d7caa41e2d2b70a763ff2adcc2ea3f | /Source/GamedevNosatov3dP/Private/Core/Actors/BaseBuilding.cpp | 116ebb28165e2109d737ab101288f92fdb4033df | [] | no_license | Synoecium/GamedevNosatov3dP | 139d9d4627d855f1c85e84d65d11dd36d4a89d9d | 41075a56dbf9082f658265e48ca2bfea7965858d | refs/heads/main | 2023-06-03T05:01:58.722922 | 2021-06-22T04:58:48 | 2021-06-22T04:58:48 | 344,588,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Core/Actors/BaseBuilding.h"
#include "Core/Configs/BaseUnitConfig.h"
// Sets default values
ABaseBuilding::ABaseBuilding()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you d... | [
"Synoecium@gmail.com"
] | Synoecium@gmail.com |
666779c039c61106c5d40ec9293a1e47c62c53ab | 4ed09e2a9f168f9bacec2d4a3a10efb9a5ec643b | /src/testbot/src/planner_to_ST_modify.cpp | 81480af657603cde14a343f2a7fd92624a3f98ca | [] | no_license | npinghuang/little_chicken | aee7d371537d3858029570f010685d0fa201551c | 2ab27eb7f246e744e40eb290a8b96c20aaf27316 | refs/heads/master | 2023-07-05T03:37:17.495320 | 2021-08-11T10:40:48 | 2021-08-11T10:40:48 | 394,953,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cpp | //版本:整合底盤、通訊、導航用
//用處:把cmd_vel轉換成txST1的topic
#include <ros/ros.h>
#include <typeinfo>
#include <stdio.h>
#include <std_msgs/Int32MultiArray.h>
#include <geometry_msgs/TransformStamped.h>
#include <geometry_msgs/Twist.h>
using namespace std;
float current_speed[2] = {0.0,0.0};
void cmd_callback(const geometry_msgs::Tw... | [
"huangenping0512@gapp.nthu.edu.tw"
] | huangenping0512@gapp.nthu.edu.tw |
4fa0d8b5a5ef35a0ff9f6dd80ed7b1a110e0b278 | decd7531321b9aff2dd3373383e46a0c9d615f2c | /函数的链接/ConsoleApplication6/main.cpp | 6cd86d11ccb3f7f6b0fd5ee77de484e9d4ce5346 | [] | no_license | laincarl/cpp-backup | a8b5c3e1a99b6b61dd442dcb25c6604279d6d876 | 673603c9c79c0c6534e919cd4ebdde801bb62bb4 | refs/heads/master | 2020-03-07T14:15:14.232301 | 2018-03-31T10:42:21 | 2018-03-31T10:42:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | #include<iostream>
#include"student.h"
using namespace std;
int main()
{
Student stud;
stud.Input();
stud.Display();
return 0;
} | [
"1047972853@qq.com"
] | 1047972853@qq.com |
b8d3d3144dc8024f8100a95ff23aac77d366ffd6 | b45dbcc0fc07414af9b3ffcec52e4d063dc9f3ff | /sprite-test/Pyramid.h | 68ea5d286e3661f29ac36fa2794702defe93e163 | [] | no_license | asdln/sprite-test | 86f5c82b02ef12f2cf0c115ae4a6fab9e124e87b | bdf173d51a2c99815fdfba36114400cc137020aa | refs/heads/master | 2023-04-18T08:15:48.785960 | 2021-04-21T01:25:59 | 2021-04-21T01:25:59 | 351,629,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | h | #pragma once
#include "PrimitiveSetCollection.h"
class Pyramid : public PrimitiveSetCollection
{
public:
Pyramid();
void initImplemetation(GLuint program) override;
protected:
};
| [
"93347786@qq.com"
] | 93347786@qq.com |
6b3cbbba5cea10e1f9d76e0f838bc76d45db99d4 | 1d0d55cafd874e066da08d6c0d8002ded0cf4d95 | /Lecture 8/Sort 0 1.cpp | 0c439e4b1a2c51c27d694be8eda79addbb424f0c | [] | no_license | Sumit1608/CodingNinjas-C-Foundation-Solution | 8a126c05f7b2493db6e01529cc0c6b83467fe833 | 42a419b606103a8e2020bb23149e925aeb55bb3e | refs/heads/master | 2023-01-23T14:12:59.900911 | 2020-11-28T09:11:45 | 2020-11-28T09:11:45 | 316,694,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cout<<"Enter the number of elements in array : ";
cin>>n;
int arr[100];
cout<<"The elements of array are"<<endl;
for(int i=0; i<n; i++){
cin>>arr[i];
}
for(int i=0; i<n; i++){
for(int j=i+1; j<n; j++){
if(arr[i]>arr[j]){
int temp = 4;
... | [
"manjeetsumit16@gmail.com"
] | manjeetsumit16@gmail.com |
c753143a616d2f885b07a022aece34fdd56c711f | 147f5c5e5d7b83737157ed45e8957b85aac6ed9e | /p1/src_c++/address.cpp | 0710657724344abc3dd43e5f2f5bc1de3e637713 | [] | no_license | michaelsoren/architecture | 06c4f1a5a262322a7a8e6e105ffc64a45042c80b | 2bcb820ef5d5031d8e1f6887f0dc60e9c5939be5 | refs/heads/master | 2020-04-17T13:33:14.959213 | 2019-02-03T23:04:06 | 2019-02-03T23:04:06 | 166,620,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | /* Michael LeMay, 1/13/19 */
#include <iostream>
#include <cmath>
#include "address.h"
/* Address implementation */
/*
* Basic constructor
*/
Address::Address(int newAddr, int newAddrBits, int newNumSets, int newNumBlocks) {
addr = newAddr;
addrBits = newAddrBits;
numSets = newNumSets;
numBlocks = newNum... | [
"mjlemay@cs.uchicago.edu"
] | mjlemay@cs.uchicago.edu |
a374966f40bb91a421dc2e9c05d1f9d16ab995b9 | 399b5e377fdd741fe6e7b845b70491b9ce2cccfd | /LLVM_src/libcxx/test/std/containers/unord/unord.set/iterators.pass.cpp | 73b1a4c5402879e4530e65faf976e2bf3c9b0aca | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | zslwyuan/LLVM-9-for-Light-HLS | 6ebdd03769c6b55e5eec923cb89e4a8efc7dc9ab | ec6973122a0e65d963356e0fb2bff7488150087c | refs/heads/master | 2021-06-30T20:12:46.289053 | 2020-12-07T07:52:19 | 2020-12-07T07:52:19 | 203,967,206 | 1 | 3 | null | 2019-10-29T14:45:36 | 2019-08-23T09:25:42 | C++ | UTF-8 | C++ | false | false | 3,854 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"tliang@connect.ust.hk"
] | tliang@connect.ust.hk |
a7dd8263756c570a5c371f15f698165be5a9c2c7 | a0967fb856ef54124187716b39523d1206a1c007 | /2019-9-1(日期)/2019-9-1(日期)/main.cpp | 0a4225348e08ce649128e164636767abee716ee7 | [] | no_license | yyaihh/Cpp | 21b4d0da4ef351b9d97f1fb47c11f055b6690622 | dbfa2361ae8e1a31ce6c29bb286507d36da5099d | refs/heads/master | 2020-09-21T23:22:23.464218 | 2020-04-20T15:31:30 | 2020-04-20T15:31:30 | 224,968,447 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 278 | cpp | #include"Date.h"
int main() {
int n;
Date a, b;
cout << "请输入日期\n";
cin >> a;
cout << "你想知道多少天后的日期,请输入\n";
cin >> n;
b = a + n;
cout << a << endl;
cout << "在" << n << "天后是";
cout << b << endl;
system("pause");
return 0;
} | [
"1903870154@qq.com"
] | 1903870154@qq.com |
55fc8bde80414f2f920821821fde1ae0fd516e13 | 4eafbd14853bca2381a32f3ef4d1ced1129ba0ae | /include/mpakogre.h | f4658c219172e04f414dace22426cdc739d338c1 | [
"Zlib"
] | permissive | thektulu/funguloids | a1d27b59dfcd9290d78305163de42ef65beb5b9b | 391b1c5160ec4a7ec39d9ac1da88753a61f3f2bb | refs/heads/master | 2021-07-11T23:05:33.493629 | 2017-05-05T18:23:47 | 2017-05-05T18:23:47 | 89,935,954 | 1 | 2 | NOASSERTION | 2021-04-10T13:57:01 | 2017-05-01T15:27:20 | C++ | UTF-8 | C++ | false | false | 3,144 | h | //****************************************************************************
// "Those Funny Funguloids!"
// http://funguloids.sourceforge.net
// Copyright (c) 2006-2007, Mika Halttunen
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liab... | [
"michal.s.zukowski@gmail.com"
] | michal.s.zukowski@gmail.com |
b8c60927621f74885147d76f4ab13cb8f50636c8 | 6522e532b7c657a6085053e223a9b18e5dcf0e6b | /src/GameObject/Components/PowerUp/PowerUp.cpp | f360fab44a6f8b516a890dab3719e2746cf7f6e7 | [] | no_license | Mthomas3/Bomberman | 19ceef98d8bb144248d60a26954320554f1aafb4 | f028670c2456dfee1209a0bee39163058ffd84fa | refs/heads/master | 2020-05-25T19:54:02.770618 | 2016-09-09T22:40:50 | 2016-09-09T22:40:50 | 60,961,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include "IS/GameObject/Components/PowerUp/PowerUp.h"
IS::GameObject::Component::PowerUp::PowerUp(Ogre::SceneNode * sceneNode, IS::Scene::Scene * scene, PowerUpEnum powerUpEnum) : IS::GameObject::Component::AComponent(sceneNode, scene)
{
_powerUpEnum = powerUpEnum;
_time = 0.01f;
_timer = _time;
_timeInstan... | [
"thomas.martins@epitech.eu"
] | thomas.martins@epitech.eu |
ddee6ae7f8ee61e338b624adc039aa6e7ec33e34 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIComDayCqDamScene7ImplScene7FlashTemplatesServiceImplProperties.h | 8853cf71ef78eb92d7ffb7401d5a48c694ebe6c6 | [
"Apache-2.0",
"MIT"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,896 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
7dd5c66824ae45127b7e4620efa1100745069f95 | f7ec5cbc4c628a595b8a0c074d353332c8b52055 | /ActiveContour/src/arraynd.h | ce92e0565cf2faa9488b6ea2a3207af015ebad98 | [] | no_license | sonnysk76/modules | ba6cef9dabc3afcac9cd86dd7ca51dded382c742 | 62339f4b0aa0fef1ae9e696daea3d6e555243744 | refs/heads/master | 2020-06-05T08:39:26.912796 | 2018-07-26T07:40:34 | 2018-07-26T07:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,822 | h | #ifndef _ARRAYND_H_
#define _ARRAYND_H_
#include <limits.h>
#include <iostream>
#include "couple.h"
// #define ARRAYND_RUNTIME_CHECK
using namespace std;
template <class T> class CArray1D;
template <class T> class CArray2D;
template <class T> class CArray1D
{
// Static members
#ifdef ARRAYND_RUN... | [
"eric@elaptop2"
] | eric@elaptop2 |
13bff9f54fd626d2c4bcbc5c83ed2a1b09caf676 | bd5656727b8990bcdb4a5e70958481d8645106c7 | /src/screen.cpp | 2c28c4d5b2e55ca4fcb3533b316629a7ff521750 | [] | no_license | michprev/flyhero-esp32-client | 40f6c7cbe2622c5693e656f0a5b2a748cfb8e2c4 | 07029ece10049426a2fa39408969625b71d7eba6 | refs/heads/master | 2021-08-23T12:59:23.013165 | 2017-12-05T00:45:04 | 2017-12-05T00:45:04 | 107,179,621 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | cpp | //
// Created by michal on 16.10.17.
//
#include <ncurses.h>
#include <cstdlib>
#include "screen.h"
#include "shared_data.h"
int init_screen()
{
// initialize ncurses
initscr();
// disable console buffering
if (cbreak() != OK)
return -1;
// do not show typed characters
if (noecho() !=... | [
"michprev@gmail.com"
] | michprev@gmail.com |
4ca627c0ce92b42c6933babdbdbd36704826ac66 | 53360319eaf69ff75f34e1c2c45cbcdfd12842c9 | /groups/bsl/bslma/bslma_deallocatorproctor.cpp | 36d99e4f28e8bfc3b4ea51fb9fb0660d8e2babfd | [
"Apache-2.0"
] | permissive | bloomberg/bde | 229de23237d9cc0937ec2d0b69ef7dfcb1fa2154 | 7cc8e30c7218eaffbc31f518bd40794cc79f7282 | refs/heads/main | 2023-09-01T08:52:24.600136 | 2023-08-31T17:43:40 | 2023-08-31T17:43:40 | 6,619,178 | 1,429 | 338 | Apache-2.0 | 2023-05-20T13:33:26 | 2012-11-09T20:00:30 | C++ | UTF-8 | C++ | false | false | 1,092 | cpp | // bslma_deallocatorproctor.cpp -*-C++-*-
#include <bslma_deallocatorproctor.h>
#include <bsls_ident.h>
BSLS_IDENT("$Id$ $CSID$")
#include <bslma_allocator.h> // for testing only
#include <bslma_default.h> // for testing only
#include <bslma_testallocator.h> // for t... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
ff51c6c8a89963b27af0e6056756562bc4d3793f | e8e6d0c9358052fa97b83c899bef3869a6abb805 | /src/PaymentGate/WalletServiceErrorCategory.cpp | 559a40b6261ec00edbbf598498c8f07635490276 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cryptonoteclub/4xbitcoin-V-1.1 | a59dc865e39b9f340c2c16e7a09c69f5a69d374e | 8c70d63b052d5a440f1a92a50c4bc6b81070532b | refs/heads/master | 2020-07-14T04:08:50.901770 | 2019-09-28T20:22:11 | 2019-09-28T20:22:11 | 205,234,452 | 0 | 0 | null | 2019-08-29T19:16:47 | 2019-08-29T19:16:47 | null | UTF-8 | C++ | false | false | 379 | cpp | // Copyright (c) 2011-2017, The ManateeCoin Developers, The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "WalletServiceErrorCategory.h"
namespace CryptoNote {
namespace error {
WalletServi... | [
"mybtcfx@gmail.com"
] | mybtcfx@gmail.com |
971f9f417641893dd5c061788dd8bb795d3e3cad | e099f3450ccb982c9fa06f6d411a3b1d99b5c8d1 | /test/project_test/Buffer.h | c34a55c1845ca947cd7244cb58104b8c85d4444c | [] | no_license | Request2609/summer2019 | 71d9370edd9be3d703a86695400201cee11b34ef | 2e621b2d9c7278c7f897cc1cd98ad01ea950b661 | refs/heads/master | 2022-02-18T04:08:58.495086 | 2019-09-04T15:18:45 | 2019-09-04T15:18:45 | 197,857,588 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | h | #ifndef _BUFFER_H_
#define _BUFFER_H_
#include<iostream>
#include<vector>
#include<string>
#include<assert.h>
#include<errno.h>
#include<string.h>
#include"ReadWrite.h"
class Buffer
{
//用户缓冲区应该和套接字进行绑定
public:
Buffer(std::string buf) ;
Buffer(const char* buf) ;
Buffer() ;
~Buffer() {}
public :
v... | [
"1433882609@qq.com"
] | 1433882609@qq.com |
8fe715a99af035375c854841334129cb85b74bbe | 9edbbde0fa31feb4c42a3c935301c5ed1211b1f2 | /krab/Practice/RIGHTRI.cpp | fecef51f696ca44c436ef9add15a255bf9dda8b3 | [] | no_license | Raman077/Codechef | 4aa057ef9a86d73cbb1258463a630a9a16106575 | 3a4ea75eea424d79f91373d32ea7b062c3a09b84 | refs/heads/master | 2020-03-23T00:03:25.702902 | 2018-07-13T12:02:29 | 2018-07-13T12:02:29 | 140,841,324 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 568 | cpp | #include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int main()
{
int t;
cin>>t;
int count =0;
while(t--)
{
int vert[6];
for (int x=0;x<6;x++)
{
cin>>vert[x];
}
int d1,d2,d3;
d1=pow((vert[2]-vert[0]),2)+pow((vert[1]-vert[3]),2);
int max=d1;
d2=pow((ver... | [
"ramanprabhakar007@gmail.com"
] | ramanprabhakar007@gmail.com |
d8d37d19a4a4a4424c86026d31acd8bde1091a2b | ab64c72b421125590a9eb9449d678d7db4f7610a | /Hieroglyph3/Source/Rendering/MatrixParameterDX11.h | 743abd4ce88c81478b7747bff4bb78e5307964ac | [
"MIT"
] | permissive | xzwang2005/DX11_tutorials_with_hieroglyph3 | 03220106c9d762bfccdbf098c42821bf25bb2b46 | 611e273dafe099875e86222e75420920ca2c49bf | refs/heads/master | 2020-05-17T13:44:24.834766 | 2018-03-22T11:03:50 | 2018-03-22T11:03:50 | 28,190,906 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | h | //--------------------------------------------------------------------------------
// This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed
// under the MIT License, available in the root of this distribution and
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.ph... | [
"xzwang2005@gmail.com"
] | xzwang2005@gmail.com |
1f43fcb8633183d1199be8b9a1b9e1bf4b740728 | 09249e21308cada2a7d6631a1ac5aedacc69c9ec | /cos_lgb_strip/cos_lgb_strip.ino | 2ab470bfac3186281a78786bd17a2ade2a6ea698 | [] | no_license | sgall17a/Arduino_old | 1ad4414ed15983631f22517e2a66e8adf314e8d3 | f0e20708e2d490cf10fc4059d79ff1abbf17bab7 | refs/heads/master | 2021-01-10T04:16:37.916006 | 2015-10-18T03:53:05 | 2015-10-18T03:53:05 | 44,464,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | ino |
const int redPin = 9;
const int greenPin = 10;
const int bluePin = 11;
void setup() {
// Start off with the LED off.
setColourRgb(0,0,0);
}
void loop() {
static float p = 3.14/200 ;
static int i = 0;
float th = p * i;
i++;
if (i>20) i = 0;
int red = cos(th*11) * 256;
if (red <0) red = 0;
int blue = cos(th *13)... | [
"sgall@sent.com"
] | sgall@sent.com |
86bab7dd7ac9e0e40d4835f3a3e35ea1fd13749d | 1f24fe23bdc4ebfe7e588d5e962e16ec9fc99327 | /SurroundedRegions/main.cpp | 9ce16a15041a43f31f3c026e9bfdc78cda6559e4 | [] | no_license | AotY/Play_Interview | 40a9efd3dbe9e16a2490ed98d1277df941efd6e7 | 868029e3cb195ccf254ab964eb73224719e38230 | refs/heads/master | 2020-03-22T11:05:48.926563 | 2018-10-14T07:37:51 | 2018-10-14T07:37:51 | 139,946,339 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
private:
// 边界值
int m, n;
vector<vector<bool>> mark;
int moveArr[4][2] = {{-1, 0},
{0, 1},
{1, 0},
{0, -1}};
vector<vector<int>> memo; // -1 没... | [
"694731929@qq.com"
] | 694731929@qq.com |
56234e947efec90be6a6549d2d065be6c2a0f047 | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /contracts/libc++/upstream/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp | e477f5298e893ba09d1105d422f32198c6ebcc98 | [
"NCSA",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 612 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
90ab6dee1801c702a008c9d2acfb57bbb703375a | 3f290607d56904b755b924b4e8e39e39e5d0a653 | /Source/Prototypes_v24/Prototypes_v24GameModeBase.cpp | 67d58613c3e4295713e06b1cff51a780cf2ac84b | [] | no_license | vzPrototypes/Prototypes | 6ddd1f76630a6cd28388049f3ac53e0ef3f0ae07 | dbb40b9a85efcbaa87fa83edf734f9db3c63a2df | refs/heads/master | 2021-04-21T00:39:21.264229 | 2020-03-24T14:17:23 | 2020-03-24T14:17:23 | 249,731,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "Prototypes_v24GameModeBase.h"
| [
"linight@yandex.ru"
] | linight@yandex.ru |
9a98b591ba5445f45cea2f963554a2a92fa0e385 | 4d77398fc24009f483f2b2abc028a135e09fc9eb | /Assignment4/Solid_plate/19.9/uniform/time | 2dbbfa457540b0383c4364bee645cf84b19d37f3 | [] | permissive | Naveen-Surya/CFD-Lab-1 | 12c635b72c611d83080ed6dd316b1b0016f2f86f | c38b0bfe43c7135f4a10e744ea1ac6cf6e9d4a1a | refs/heads/master | 2020-04-05T16:43:39.651232 | 2018-08-23T12:10:06 | 2018-08-23T12:10:06 | 157,026,052 | 0 | 1 | MIT | 2018-11-10T22:11:51 | 2018-11-10T22:11:51 | null | UTF-8 | C++ | false | false | 995 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"sarthakgarg1993@gmail.com"
] | sarthakgarg1993@gmail.com | |
c69adbe1ab593234cd61e17c48e67cc575230c4e | d997162ab87f8e59c4efd7d809668cd6c44d5572 | /examples/AVLTree.cxx | e981f34bb48d24265943c18b00d1be27cf560a34 | [] | no_license | razmikTovmas/BinarySearchTrees | f72cc067101aa1c1481952574ec30794020bb1ea | 711f1234cc45344b9359613d9988cfaf094dc6bb | refs/heads/master | 2023-01-07T04:08:24.233147 | 2020-11-07T13:42:37 | 2020-11-07T13:42:37 | 144,564,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cxx | #include "AVLTree.h"
int main()
{
AVLTree bt;
bt.Insert(1);
bt.Insert(5);
bt.Insert(2);
bt.Insert(3);
bt.Insert(7);
bt.Insert(10);
bt.Insert(13);
bt.Insert(8);
bt.Insert(9);
bt.Insert(0);
bt.Inorder();
bt.Remove(0);
bt.Inorder();
return 0;
} | [
"razmik.tovmas@gmail.com"
] | razmik.tovmas@gmail.com |
eb67ff4ab28915780e9101bec53865d93bed99e0 | f2ca77661da9c4580c90f16b241d3d145215ea6a | /servo_controller.h | 384dbc073caff619c707e285a60eae4eed502ba1 | [
"MIT"
] | permissive | firebird72/3dayrobot_lancer_micro | 703ce5ddb2ef020d03e0c20e7857f0bb20d8ecc7 | b361c9fd8a95897c7236e43602d8554206c2a9ff | refs/heads/master | 2021-04-29T19:18:05.335754 | 2018-04-29T18:55:33 | 2018-04-29T18:55:33 | 121,711,099 | 0 | 2 | null | 2018-04-29T13:01:07 | 2018-02-16T03:25:52 | C++ | UTF-8 | C++ | false | false | 2,577 | h | #include <Servo.h>
class ServoController
{
public:
ServoController(uint8_t debug, char* class_name);
void log(String message);
void setPin(uint8_t servo_pin);
void setRange(uint16_t min_pos, uint16_t max_pos);
void setDefaultPosition(uint16_t default_pos);
uint16_t clipValue(uint16_t target... | [
"mic@micslab.com"
] | mic@micslab.com |
835e90f064694900e2ad1f1718adde9817095799 | 4df08a71e73fb06debae296caf126f6f2e8291ad | /lab03/Node.hpp | fadd76ad4ab7b102f160991b6cb2aa49e2400b63 | [] | no_license | EvanBrown96/560labs | 60f985ea7ac32a59debe03a34eee630da4c069e1 | 9b2d9950c328580a226ea6468a7f2fbbc874a901 | refs/heads/master | 2020-04-18T21:55:19.074220 | 2019-05-07T03:55:11 | 2019-05-07T03:55:11 | 167,779,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | hpp | /**
* @author: Evan Brown
* @file: Node.hpp
* @date: 1/25/19
* @brief: header file for Node object
* adapted from 560 lab 2
*/
#ifndef Node_hpp
#define Node_hpp
template <typename A>
class Node{
public:
/**
* constructor
* @param value: value to put in the node
* @post: node is created with... | [
"evan.br96@yahoo.com"
] | evan.br96@yahoo.com |
0b0e22b0908a0868dd5cb3cbe23c393d2d1f0170 | ccc36739c169402f45fab29d410add3f4ea3a0c8 | /mirootlib/src/cont.cc | 55a9bf94495b97a1bec09f2ea8a3414a7f620cab | [] | no_license | moriiism/mitool | 663eebf1b73b33001db1ecbce28c4bcf0371265d | 701566c7a70016545a8a28079b42d927bef64cd9 | refs/heads/master | 2023-04-13T00:47:03.018649 | 2023-04-12T01:52:53 | 2023-04-12T01:52:53 | 63,654,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,177 | cc | #include "mir_cont.h"
//
// MirCont
//
// public
void MirCont::Init(int ngraph)
{
Null();
ngraph_ = ngraph;
gd2d_arr_ = new GraphDataNerr2d* [ngraph_];
for(int igraph = 0; igraph < ngraph_; igraph ++){
gd2d_arr_[igraph] = new GraphDataNerr2d;
}
}
void MirCont::SetGd2dArr(int ngraph, con... | [
"morii@ism.ac.jp"
] | morii@ism.ac.jp |
d02a3ca10583d5c9f450222e5adc0836efc4e2a2 | dbf16f6522ae46d6cffd75577d76bffd1cbeaeb1 | /Src/Tools/Optimization/DownhillSimplex.h | 56c414136c4047b3ab9112879c9639015523c5c4 | [] | no_license | RomanMichna/diplomovka | df6e48f43f2b91407f63e7f100f7e10e16b5d52c | c3f090fe2662cc34f8ecc65ee14e1555695c0f54 | refs/heads/master | 2021-01-10T15:31:48.017316 | 2013-04-09T11:32:41 | 2013-04-09T11:32:41 | 8,552,952 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | h | /**
* @file Tools/Optimization/DownhillSimplex.h
* Declaration of a downhill simplex optimization algorithm
* @author Colin Graf
*/
#pragma once
#include <vector>
#include <list>
/**
* @class DownhillSimplex
* An optimizer that uses a downhill simplex algorithm to minimize a rating of a parameter set
*/
class Downhi... | [
"roman.michna@student.tuke.sk"
] | roman.michna@student.tuke.sk |
b4f5dd7ac6890a46a1a139316577a20c080cd98f | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/activec/nodemgr/moreutil.cpp | 6a88160711e401caeedab753cd03ab7f26759ea8 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 508 | cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 1999
//
// File: moreutil.cpp
//
//--------------------------------------------------------------------------
/*
moreutil.cpp
Utility... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
98c400ea7d51d237addacacdb6cf1035710f39c9 | e3c7024b5af415a8ee9e79e8cea94bbc410084ec | /project/Haaris/Haaris/Haaris/solution1/syn/systemc/start_for_CalCim1Xh4.h | 7bb9046b15d15eb2b0b57b4a59a599a4e36986b4 | [] | no_license | lh9171338/HLS | 6fa5e5f981f04f476e99a7d2e61ec385bd671998 | 0d3165c42abe86650a05d568d5c2518956d83ba9 | refs/heads/master | 2022-04-09T15:27:35.605761 | 2020-04-05T09:48:16 | 2020-04-05T09:48:16 | 175,017,352 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | h | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.2
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ==============================================================
#ifndef start_for_Ca... | [
"2909171338@qq.com"
] | 2909171338@qq.com |
b674d7d26da49147ab023e0468a83cd1aff684fc | 408fcd5c6b48e5c5a3b0aa54c7413da857992fb9 | /SimulationWorld/test/TestMvp.hpp | da481b2e781c29fcd1093ba19911cd64621d871e | [] | no_license | Sunbvert/Chuang | fd3e8d24e935646260501626ca4ca4829cef5fa0 | e584330d5b833d30c54b515ffdb66b68e973bd7a | refs/heads/master | 2020-08-12T12:32:52.892008 | 2019-12-31T04:08:05 | 2019-12-31T04:08:05 | 214,768,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | hpp | //
// TestMvp.hpp
// Chuang
//
// Created by 孙川 on 2019/10/14.
// Copyright © 2019 孙川. All rights reserved.
//
#pragma once
#include "Test.hpp"
namespace test {
class TestMvp : Test {
public:
TestMvp();
~TestMvp();
void OnRender() override;
void OnUpdate(floa... | [
"sunchuanop@outlook.com"
] | sunchuanop@outlook.com |
875fbf1d999da73712883aa740fcfb2b78f3a356 | 2ba4618d95e3972c509aeb8dca402f7f865f04a5 | /OpenHome/Av/Playlist/DeviceListMediaServer.cpp | 396579ae4364647b27915e8efc272aae23cebdfd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | openhome/ohPipeline | 0eb34b13c10542af99a97eb7b326763a48fbaa0d | 21a19c100d51ad8ea51b1d2e826436bd9a468b84 | refs/heads/master | 2021-12-27T10:16:57.080104 | 2021-12-01T11:44:41 | 2021-12-01T11:44:41 | 48,424,774 | 10 | 11 | NOASSERTION | 2020-08-14T14:50:52 | 2015-12-22T10:05:56 | C++ | UTF-8 | C++ | false | false | 4,584 | cpp | #include <OpenHome/Av/Playlist/DeviceListMediaServer.h>
#include <OpenHome/Types.h>
#include <OpenHome/Buffer.h>
#include <OpenHome/Json.h>
#include <OpenHome/ThreadPool.h>
#include <OpenHome/Av/Pins/Pins.h>
#include <OpenHome/Av/OhMetadata.h>
#include <OpenHome/Av/Playlist/TrackDatabase.h>
#include <OpenHome/Net/Core/... | [
"simon.chisholm@linn.co.uk"
] | simon.chisholm@linn.co.uk |
d4d6cc70ff3656c428ae537746b63aef32e69136 | 20ec1ffcb2cf45459b6abc81492331014f503878 | /http/RequestParser.cpp | 720a4ace1f3b2b18dba3739bf019ddefd853e6fb | [] | no_license | love19862003/fly-server | e5dd5bc57ecc9dc7c9f557989d8cfbc1f5ced7c3 | 02413ef5bb8ced32b7820028817e740272e667ce | refs/heads/master | 2021-01-10T08:17:09.052383 | 2017-01-16T09:35:23 | 2017-01-16T09:35:23 | 45,825,761 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,050 | cpp | //
// request_parser.cpp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "http/RequestParser.hp... | [
"love19862003@163.com"
] | love19862003@163.com |
03702cf278df0ccd7762a21418e09b9bc7369cf1 | 0bee97c44f4666ecbebfc672d2d42c2151ea43c4 | /3. Estructuras Condicionales/ejercicio2/main.cpp | 7aa86f95b41a2867444965224801c7653e53c997 | [] | no_license | Juandavid9909/CplusplusCourse | 9aa831cf0b18073965ce7e80527a621757f8cb77 | fff014b6e84d99ffca61e21b652d8ed9c037524a | refs/heads/master | 2023-03-03T10:34:42.886101 | 2021-01-27T20:42:10 | 2021-01-27T20:42:10 | 330,029,639 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 522 | cpp | /*2. Escriba un programa que lea tres números y determine cuál
de ellos es el mayor.*/
#include <iostream>
using namespace std;
int main() {
int n1, n2, n3;
cout << "Digite 3 numeros: ";
cin >> n1 >> n2 >> n3;
if((n1 >= n2) && (n1 >= n3)) {
cout << "\nEl mayor es: " << n1 << e... | [
"juandavid918@gmail.com"
] | juandavid918@gmail.com |
cc84f85cdc75950d805eb1054177de098d6f36c4 | 2abb5b2237e5b879e2fcf414e0400c70099291de | /Flood/TrainingAlgorithm/NewtonMethod.h | 74614112a2c6d7cd8803c43656ff305f41f7703b | [] | no_license | dimitarpg13/FloodV3 | 860e6e3fc726def8851408aea573ebe531d406d1 | d816a635161656b65b0edc9675336f10fadc8f27 | refs/heads/master | 2021-01-11T04:19:49.944314 | 2017-04-03T18:06:31 | 2017-04-03T18:06:31 | 71,177,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,585 | h | /****************************************************************************************************************/
/* */
/* Flood: An Open Source Neural Networks C++ Library ... | [
"dimitar_pg13@hotmail.com"
] | dimitar_pg13@hotmail.com |
c020b301265d491e1d9d6447d62d267c728236fc | b9fdb879845ee5679e19fcdb25385f765dab34e8 | /URI_1182_ColumnInArray.cpp | 3c65eef81b199a2fd6b224b6e4e698e3c7d351e9 | [] | no_license | baharulIslamRocky/competitive-programming | c635503983851024c6d004d02996eb6ed4a631f2 | 7b67eca795366ec3ad8ee4c7ac03f55a562c877d | refs/heads/master | 2023-01-03T22:29:10.877173 | 2020-11-02T02:40:58 | 2020-11-02T02:40:58 | 309,234,249 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include<bits/stdc++.h>
#include <iomanip>
using namespace std;
main(void)
{
char T;
float M[12][12];
int i,j;
float sum=0,avr=0;
int C;
cin>>C;
cin>>T;
for(i=0;i<12;i++)
{
for(j=0;j<12;j++)
{
cin>>M[i][j];
}
}
if(T=='S')
{
... | [
"rockey.huawei@gmail.com"
] | rockey.huawei@gmail.com |
5892c8b3b78631f53dcabeff60dcf18a64acd0e4 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DmgType_Melee_Dino_Carnivore_Small_Electrocute_Eel_Boss_parameters.hpp | aa7fcd88ff69bdeb71aa78f26da75f0bf0363361 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DmgType_Melee_Dino_Carnivore_Small_Electrocute_Eel_Boss_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//--------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
a1eb0d37ac889a74424cbdcd2ace7eba66cc3c9c | e9c02bb0df7ad3a928cf7c97b8294451eaa8dbc8 | /graph-source-code/404-C/6075625.cpp | 10c670454fed0ad531347c5c5583cdc32cf969e5 | [
"MIT"
] | permissive | AmrARaouf/algorithm-detection | b157a534545fa8920bbe94e7307d4b937a74aa60 | 59f3028d2298804870b32729415d71eec6116557 | refs/heads/master | 2021-01-13T14:37:04.074339 | 2015-12-06T21:14:31 | 2015-12-06T21:14:31 | 45,905,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | cpp | //Language: GNU C++
#include <cstdio>
#include <queue>
#include <cstring>
#include <functional>
#include <algorithm>
const int N = 100010;
std::pair<int,int> d[N];
int dis[N];
int degree[N];
int totEdge;
int edge[1000010][2];
void add(int a,int b) {
edge[totEdge][0] = a;
edge[totEdge++][1] = b;
}
v... | [
"amr.abdelraouf93@gmail.com"
] | amr.abdelraouf93@gmail.com |
8f1178a0f711e15626069bedfbdbd421cd0f1134 | 7829b7012906515b21f6391fe25cd7323165afef | /fresnel/gpu/GeometryCylinder.h | 2b3841b37d2219b441cb7751db7f9b1b9c1cc06f | [
"BSD-3-Clause"
] | permissive | syedazkarul/fresnel | b3d201284e62842dee197983e6a394074e323850 | eaf3fa9dccf0b15fca9161d789e6f7003a4c911b | refs/heads/master | 2023-02-01T02:07:51.567681 | 2020-12-10T15:41:25 | 2020-12-10T15:41:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | h | // Copyright (c) 2016-2020 The Regents of the University of Michigan
// This file is part of the Fresnel project, released under the BSD 3-Clause License.
#ifndef GEOMETRY_CYLINDER_H_
#define GEOMETRY_CYLINDER_H_
#include <optixu/optixpp_namespace.h>
#include <pybind11/pybind11.h>
#include "Array.h"
#include "Geome... | [
"joaander@umich.edu"
] | joaander@umich.edu |
dd8a13619abf7a99339302909df85c2365e90b7a | cb3ee5186856576cc2d0aacbea87aa33904b0760 | /2/learn_data_structures/2 线性表/2 链表/1 单链表/1.cpp | ee2a2c491ef9d3e7eb3bd373918bc60d8af7fd74 | [] | no_license | fz-marchen/learn_data_structures | 2820ecca89839f42248dbcf2798de6a9b6bef1e5 | 75c950d6a804d15ae4aca6af5cc899ef5c4d5bb0 | refs/heads/master | 2023-08-05T19:08:07.712832 | 2021-10-10T15:50:49 | 2021-10-10T15:50:49 | 371,297,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include <stdlib.h>
#include <iostream>
using namespace std;
typedef struct LNode {
int data;
struct LNode* next;
} LNode, *LinkList;
bool InitList(LinkList &L) {
L = NULL;
return true;
}
bool Empty(LinkList L) {
retutrn(L == NULL);
}
bool ListInsert(LinkList& L, int i, int e) {
if (i < 1)... | [
"fz_marchen@163.com"
] | fz_marchen@163.com |
8d7825b31ad20888653274bb0b85bfe29da63c56 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/stepwise/screener/StepWiseScreenerType.hh | bcbc3d29911ad962a9e3b10a7124c80712fb1711 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
af295a59549971ef81b3e4d26976c87c4c5477d6 | 534cd3948c3bc665363e04826e1a42200e81cb1b | /code/aliasMethod.cpp | 791a2af82d258197be2095812a61194b64967299 | [] | no_license | yunpeng5/UpdateRandom | 191a27e7e5619133e9c2d86da93dbc2855e212f7 | d7a6f6260ab908bb4767617beebfc0e7e8eddcd0 | refs/heads/master | 2020-09-25T06:28:43.712826 | 2019-12-05T04:48:28 | 2019-12-05T04:48:28 | 225,938,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | #include "aliasMethod.h"
#include <queue>
using namespace std;
aliasMethod::aliasMethod(int num,double p[]) : gen(rd()), d(0,num-1), dr(0.0,1.0)
{
dstore=new double[num];
alias=new int[num];
prob=new double[num];
for(int i=0;i<num;i++)dstore[i]=p[i];
n=num;
init();
flag=0;
}
void aliasMet... | [
"yunpeng5@ualberta.ca"
] | yunpeng5@ualberta.ca |
fa7b804bd5dce4936cf9254ef50595494340929c | 41eff316a4c252dbb71441477a7354c9b192ba41 | /src/PhysX/physx/source/physxextensions/src/ExtD6JointCreate.cpp | ae93c2c066992bd9dc71847ebcee4429b3089309 | [] | no_license | erwincoumans/pybullet_physx | 40615fe8502cf7d7a5e297032fc4af62dbdd0821 | 70f3e11ad7a1e854d4f51992edd1650bbe4ac06a | refs/heads/master | 2021-07-01T08:02:54.367317 | 2020-10-22T21:43:34 | 2020-10-22T21:43:34 | 183,939,616 | 21 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,044 | cpp | //
// 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 conditions and the following disclaimer.
// * Redistributions in bin... | [
"erwincoumans@google.com"
] | erwincoumans@google.com |
9d8acc82305f6f1fd8575f789da81431c4098fd1 | 48912cf648925058f704083a52f0fd5994be9c7a | /Source/AfterTheStorm/Private/Actors/PickupBase.cpp | 8427a8760fb7e39cfe0c9c26ae1cf80bc0615765 | [] | no_license | Cesea/UE4PortfolioRepo | 94155470d5f5ae08a5169e48678129c2316e94fa | f441b7a85c0643573364f26471c4412ea4364085 | refs/heads/master | 2020-07-08T06:45:37.202329 | 2019-08-21T14:27:02 | 2019-08-21T14:27:02 | 203,596,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,250 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Public/Actors/PickupBase.h"
#include "Components/SphereComponent.h"
#include "Components/BoxComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "Kismet/GameplayStatics.h"
#include "Public/ASGameInstance.h"
#in... | [
"cltnmm@gmail.com"
] | cltnmm@gmail.com |
a37d83b55df5010106c33eaef211704a779c3490 | 0ddf138344814c4f67a910d44eb6ec40f08f7be3 | /RC5.h | 9e96ca42039e8e08b5165f87e3ad787e5a27f810 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | hasepompase/RC5 | 68b87b5b135aa17195fa67d81f0833fb7bd91e84 | 51d9fb860771a47c88d810c5b663d7860cbf8c41 | refs/heads/master | 2022-04-16T20:18:55.642106 | 2020-04-17T15:21:59 | 2020-04-17T15:21:59 | 256,538,378 | 0 | 0 | NOASSERTION | 2020-04-17T15:18:55 | 2020-04-17T15:18:55 | null | UTF-8 | C++ | false | false | 728 | h | /*
* RC5 Arduino Library
* Guy Carpenter, Clearwater Software - 2013
*
* Licensed under the BSD2 license, see LICENSE for details.
*
* All text above must be included in any redistribution.
*/
#ifndef RC5_h
#define RC5_h
#include <Arduino.h>
class RC5
{
public:
unsigned char pin;
unsigned char st... | [
"guy@clearwater.com.au"
] | guy@clearwater.com.au |
9c3744666bf0d675552ad5d57f27f77e9e15038d | 75223dad5d6a6fe4540c8d7d093b08ef0a4cee52 | /obdlib.h | 6de4394bfcaa3d60a1b454748111ba02e724d1cd | [] | no_license | malcom2073/libobd | d5ae941179a6d38579cc70d6cfb46adb4e82c6ef | dc1a1fcf7b6e5fa7a80961f70ea80baa04352709 | refs/heads/master | 2021-01-16T23:25:39.144820 | 2017-11-09T11:15:57 | 2017-11-09T11:15:57 | 16,178,378 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,267 | h | /**************************************************************************
* Copyright (C) 2010 by Michael Carpenter (malcom2073) *
* malcom2073@gmail.com *
* *
* This file is... | [
"malcom2073@gmail.com"
] | malcom2073@gmail.com |
2e9a3157f44cd3adf74d295b7e1ae5654de86385 | 518f6b544416d2103e4160a03d2d3fa71011c6eb | /test_code_ultrasonic_distance.ino | b20d696f61a39b58ac1f27beffb7304fa66c6eec | [] | no_license | ogdibie/Arduino_Controller_codes | 3fd57e8acc5b40a5edee8249d2d428180c2abf29 | a1543c25e6b172b622a7116857155528520be8e9 | refs/heads/master | 2021-01-10T21:15:24.639094 | 2015-06-09T04:31:45 | 2015-06-09T04:31:45 | 37,109,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | ino |
/*
Dibie Ogheneruona
Test to be used in measuring distance using ultrasonic sensor SR04
*/
#define trigPin 3
#define echoPin 2
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
pinMode(trigPin,OUTPUT);
pinMode (echoPin,INPUT);
}
void loop() {
int durati... | [
"ogheneruona.dibie@maine.edu"
] | ogheneruona.dibie@maine.edu |
ec35616159ebf6a6dd5df28943219c4234c11840 | a1822ff5bfd6293a6a3d9810661b66ec2ff2065c | /all-stack-operation.cpp | 17eaddb9c5a36ffb4ad24745fea8646f4d6cb509 | [] | no_license | DebanjanBarman/CPP-Programs | a6be8dcb1f8eb2c89ac1343f7988bbc2c72bc552 | d24f565016d22ed4428b42203f5622571bec9ba3 | refs/heads/master | 2020-07-25T18:35:06.680155 | 2019-11-28T09:50:56 | 2019-11-28T09:50:56 | 208,387,907 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | #include<iostream>
using namespace std;
#define MAX 10
int push();
int pop();
int traverse();
int top = -1, stack[MAX];
int main() {
int n;
while (1) {
cout << "_____STACK MENU_____\n1-PUSH()\n2-POP()\n3-TRAVERSE()\n4-EXIT\n\n>>";
cin >> n;
switch (n) {
case 1:
... | [
"debanjanbarman123456789@gmail.com"
] | debanjanbarman123456789@gmail.com |
5bf7a33e8562fd9a00aab89ed65dbf99ed097672 | a22889870b372f1f5ea0f92570ea48766528ca37 | /src/Open3D/Geometry/TetraMeshFactory.cpp | 16b9193ca2d91afccd9b1ddda7af3140a9e05b85 | [
"MIT"
] | permissive | theNded/Open3D | c5da8d8e9af83b4de065121cc1eca96b79992831 | 15fbc87038fe21fa71d4beeeba6012704adb5c53 | refs/heads/cuda | 2023-08-23T13:19:43.296303 | 2021-06-09T02:26:21 | 2021-06-09T02:26:21 | 121,087,708 | 127 | 28 | NOASSERTION | 2020-06-03T02:37:54 | 2018-02-11T05:18:04 | C++ | UTF-8 | C++ | false | false | 2,088 | cpp | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | [
"yixing.lao@gmail.com"
] | yixing.lao@gmail.com |
f59b226ef2c17482940666ac3f159b515a0ecc77 | 5adec71b5927f3da801f8ec6a97e347141fde1a0 | /LaiOffer/Word Pattern.cpp | 51d8f715a841a1fde698d53496898b971ba63101 | [] | no_license | FangLiu68/OldCode2016 | bbb0d2b5dfbf660013cbe3384fedbb7189eee139 | 37cef0c01c217cc145317298477cfc57598565f5 | refs/heads/master | 2021-01-12T07:06:29.455232 | 2016-12-20T21:21:16 | 2016-12-20T21:21:16 | 76,911,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | //
// Word Pattern.cpp
// LaiOffer
//
// Created by Fang Liu on 5/11/16.
// Copyright © 2016 Fang Liu. All rights reserved.
//
/*
Given a pattern and a string str, find if str follows the same pattern.
Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty wo... | [
"FL7272@yp.com"
] | FL7272@yp.com |
55ac0588d5eb6549a9750a96be9ba9b58a30347a | 633842301cd36cad562767da691ed5297ccd559f | /Accepted/NPSC/b226. E. 鋪地磚 .cpp | cbc2b7a9500871355803c03e4cd8c35667c9757d | [] | no_license | turtle11311/Codes | c5b87864f59802241b6784ccd5cd553fe5533748 | 7711679dffb421323ab2cc389662d106d50ab16c | refs/heads/master | 2020-04-06T05:20:33.810466 | 2014-12-24T12:20:13 | 2014-12-24T12:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | #include <iostream>
using namespace std;
int main () {
int L, W, x, y;
while (cin >> L >> W >> x >> y,L && W && x && y) {
if (L%x==0 && W%y==0 || L%y==0 && W%x==0)
cout << (L*W)/(x*y) << endl;
else
cout << -1 << endl;
}
} | [
"turtle11311@hotmail.com"
] | turtle11311@hotmail.com |
2205b5fdfb6a658d1d1cb64e409f445e8e05fa2e | 3efa07d0359ec6430c504ac42bad7397294f353f | /src/server/echosrv.cpp | bea798f7d783a76ccf67ccc939397d5e47bcdc65 | [] | no_license | AleksandrBelokurov/local_socket | 938dc835a7e5adc75ade61b20a7e203105c2c02d | f53848ed299657cd0d9d43ffb30b744fcd6c49be | refs/heads/master | 2023-07-29T11:40:52.757682 | 2021-09-04T12:04:30 | 2021-09-04T12:04:30 | 285,709,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include "application.h"
int main(int argc, char *argv[])
{
Application app(argv[0]);
int ii = app.init();
if (ii > 0)
return ii;
return app.run();
}
| [
"Aleksandr Belokurov"
] | Aleksandr Belokurov |
39375a0006eed6de617c78cd6373c4259933ff27 | 8e82da8f300dbdb2183e450c9c6d3c48104e79a3 | /handout/Game/Source/Font.cpp | 21f6a71343e14b8dd01fb1bf5dbb419817a2237b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | WaylandGod/Assets-ZIP-Manager-PhysFS | 8309c4b8638a1548705906933e10bfd4a18b2f3e | 57e54943615cf7342ca5ddd05db4f5bc77ff74ba | refs/heads/master | 2023-05-01T10:07:32.370606 | 2021-05-16T18:15:31 | 2021-05-16T18:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | #include "Font.h"
#include "App.h"
#include "AssetsManager.h"
#include "Textures.h"
#include "Log.h"
#include "PugiXml/src/pugixml.hpp"
Font::Font(const char* rtpFontFile)
{
fontLoaded = false;
// (SOLVED) TODO 9: Load a Font XML document using a buffer. Get the size and load the XML document. Then, release the ... | [
"ytarifa2001@gmail.com"
] | ytarifa2001@gmail.com |
557d9b25350aa1a22219ff2254594b75dd69104f | 4653ed43fbae1e523ce7d38cc4bb60d45cdcc66c | /code/图/最大流dinic.cpp | f9332819691f2cc4fa260c0576a22bfe6c88f6f4 | [] | no_license | PlayerY102/MyCode | 408d2ac81a72deb036efe58b43f8078c994d0295 | 45075a422fe9c235154c0647dbfc16dab8970e52 | refs/heads/master | 2020-03-28T15:48:58.228184 | 2019-07-07T04:35:49 | 2019-07-07T04:35:49 | 148,628,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | cpp | #include<stdio.h>
#include<algorithm>
#include<memory.h>
#include<algorithm>
#include<queue>
#include<vector>
using namespace std;
#define maxN 10007
vector<int>points[maxN];
int edge_w[maxN*2];
int edge_to[maxN*2];
int s,t;
int point_depth[maxN];
int cur[maxN];
bool bfs(){
memset(point_depth,0,sizeof(point_depth))... | [
"920491799@qq.com"
] | 920491799@qq.com |
053400e5cade207e0f3370ad98d9c662c7ce261d | ff8d07e63783780cd2b25e0a58242f592b7aa941 | /链表/203-移除链表的元素.cpp | ed70569c6c878d045ddf32fc5932d2ba5399bcb3 | [] | no_license | MrChaxs/leetcode_CPP | d9b2877137a436e0c612d37ad297ec79d0ce2c35 | 8a154adfa56bf419afbbc6d6df23f0d6a9de00c4 | refs/heads/master | 2023-07-15T05:07:56.321464 | 2021-08-22T07:38:55 | 2021-08-22T07:38:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | /*
删除链表中等于给定值 val 的所有节点。
示例:
输入: 1->2->6->3->4->5->6, val = 6
输出: 1->2->3->4->5
*/
#include <stdio.h>
struct ListNode{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution{
public:
ListNode* removeElements(ListNode* head, int val){
/*
哨兵节点:此处的作用是伪... | [
"ldx2703@gmail.com"
] | ldx2703@gmail.com |
422131e0306148644b54d63fe35605e493e2edd3 | 757c29b9f49427f7116972d84c08d87d8aa4e333 | /standard_algorithm/min.cpp | 2866afa576eebd27894c7aca6dfcf7b23cb6ac63 | [] | no_license | jKhurana/competitive_coding | 4ed3a8aa8b32b05b8a32c50bfe84bffdb64dc679 | 37fd652e5ba925596f41094014b51665a8f6ba0e | refs/heads/master | 2020-06-13T16:53:29.684831 | 2019-03-18T19:05:56 | 2019-03-18T19:05:56 | 75,524,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | int findmin(int *arr,int n)
{
int m=arr[0];
for(int i=1;i<n;i++)
{
if(m>arr[i])
m=arr[i];
}
return m;
}
| [
"jatinkhurana9@gmail.com"
] | jatinkhurana9@gmail.com |
db14d1537c5d42c37cf3165eee2988a6850b9320 | adc6ec6f7845f5c3ca81a17c09a938b6c399c8a7 | /Chapter 7 - Lockfree queue with split reference counting.cpp | 2820dba9d5e491ce5e985b22695da5fe4ea3a554 | [] | no_license | CyberExplosion/Concurrency-In-Action | 57d9eb7cd885c3bb01a2618d94fbfd105239894c | a5786650874bdec36d5dffe34cb677be819c0d7b | refs/heads/main | 2023-06-02T11:44:05.662065 | 2021-06-18T10:49:02 | 2021-06-18T10:49:02 | 324,660,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,159 | cpp | #include <atomic>
#include <memory>
using namespace std;
template <typename T>
class lockfree_queue {
private:
struct node;
struct counted_node_ptr {
int external_count;
node* ptr;
};
atomic<counted_node_ptr> head; //This will lead to we have 2 counters to count the external access
... | [
"minhkhoi632000@gmail.com"
] | minhkhoi632000@gmail.com |
077e1cbc4852bcb6311716c3b444f0242fb0a38b | 7410f47f0b1b07d79d1b0bbcddcdf035598bdb55 | /Source/Surround/Private/DgGenerator.cpp | 9a01afb7d0d8b32c512a805c12e14f59344c9c17 | [] | no_license | Yuishun/Roguelike_Surround | 1127d9c0bcf974dc81e5d3955599578afc27e0b5 | d91cdb6beb4b283e00a21be238e7734b8df4931f | refs/heads/master | 2023-07-17T23:49:55.645471 | 2021-09-08T15:13:12 | 2021-09-08T15:13:12 | 365,128,097 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 19,620 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "DgGenerator.h"
#include "Surround_GameInstance.h"
// Sets default values
ADgGenerator::ADgGenerator()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryA... | [
"shun0ego@gmail.com"
] | shun0ego@gmail.com |
a4be75a59b155611bd7284c807b00698d7f84957 | 377fc057b7a5a1ef9b48c909a72ee01956d4fb5d | /src/HWaterMark/widget.h | 981a4ecda03b34d10adc204c6022e947f925b9b1 | [] | no_license | linxiaokexiaoke/HWaterMark | 83874ff81840b4b9b096e967e7ed9d242c13fb01 | 47734a3ad078cee96ae0eb2f8abdf03e28b70d33 | refs/heads/master | 2021-01-14T18:07:47.872420 | 2020-03-02T13:06:36 | 2020-03-02T13:06:36 | 242,705,399 | 0 | 0 | null | 2020-02-24T10:19:13 | 2020-02-24T10:19:12 | null | UTF-8 | C++ | false | false | 892 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QLabel>
#include <QGridLayout>
#include <QPushButton>
#include <QLineEdit>
#include <QPoint>
#include <QComboBox>
#include <QSlider>
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
~Widget();
signals:
public ... | [
"linxiaokexiaoke@sina.com"
] | linxiaokexiaoke@sina.com |
6f255a2741297f7a9443af2258a03f710ef83e83 | 6db234cc231fcde44e6855ebdf8cf7c8c3612072 | /Dist/Windows Installer/Application Folder/Headers/FEZ Lynx/Core/SoftwareI2C.h | 339dc91ec0ebfd62aeb796e3dcce681aa47900a8 | [
"Apache-2.0"
] | permissive | ghi-electronics/Gadgeteering | 4303567cb2aebccc182362a457dc944ffe30d8ed | d3f5076c4e0b62e0a9dc65f1e7cabe545159ccc4 | refs/heads/master | 2021-03-22T01:16:32.331479 | 2017-06-01T18:38:47 | 2017-06-01T18:38:47 | 92,886,409 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | h | /*
Copyright 2013 GHI Electronics LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | [
"john.brochue@ghielectronics.com"
] | john.brochue@ghielectronics.com |
aea65e07bf355f17c624378e266b52dbdba6b248 | b17b253b5f12903ce0d2531541fd390247379394 | /03/main1.cpp | 9fdee151f9f8b509984c39c652bf6001df26440f | [] | no_license | Worthy-Wang/Sword2Offer | 5fa73636448c0dbdb8f82a769e1792d28f3c32de | 6e69bca7318784c3debb569ea24c72e70fb7effb | refs/heads/master | 2022-11-27T14:29:40.106119 | 2020-08-05T06:23:05 | 2020-08-05T06:23:05 | 283,200,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | #include <iostream>
#include <algorithm>
#include <map>
#include <unordered_map>
#include <queue>
#include <set>
#include <vector>
#include <fstream>
#include <sstream>
#include <string.h>
#include <memory>
#include <limits>
#include <list>
using namespace std;
/*
begin: 11:40
end: 12:23
Time Complexity: O(... | [
"you@example.com"
] | you@example.com |
54716e1cde71bc4e5869394c6287c8c670efef2d | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /evs/include/huaweicloud/evs/v2/model/ListVersionsRequest.h | 220c426a383b620637c431fb7d4de4b2ef9267c9 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,209 | h |
#ifndef HUAWEICLOUD_SDK_EVS_V2_MODEL_ListVersionsRequest_H_
#define HUAWEICLOUD_SDK_EVS_V2_MODEL_ListVersionsRequest_H_
#include <huaweicloud/evs/v2/EvsExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
namespace HuaweiCloud {
namespace Sdk {
namespace Evs {
nam... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
e430ccd1203a50cccd9be7255d26dc9c892e12b2 | b0328bba13064d61762657869bfb060f519f8a10 | /Frame/Primitives.h | c97a3a5754703c04c12bfa7f532805422827b5e3 | [
"MIT"
] | permissive | rbruinier/Aardbei_SouthsideExploration | a2c9176f5126acadba3f74c1b7d5688915013ef2 | cead610de95fb87b5aab60b4ec834a8c814a3c12 | refs/heads/master | 2021-05-26T15:26:22.892421 | 2014-01-16T02:24:09 | 2014-01-16T02:24:09 | 15,955,505 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | /*
Pyramid Tools - Primitives Class
2006, Robert Jan Bruinier (rob / aardbei)
*/
#ifndef __Primitives_H__
#define __Primitives_H__
class Object;
class Primitives
{
public:
static Object* Plane(int iSegments, float fWidth);
static Object* Plane(int iSegmentsX, int iSegmentsZ, float fWidth, fl... | [
"robertjan@crunding.com"
] | robertjan@crunding.com |
fd76efcd405d997145ad3b51b4c4faf353ad789a | 7289539b048d76c1846ffe21c92b9903de238a0d | /ESP_Webserer.ino | 0dd988d31c9e5f8c179566f0ee88dc7b74e472c0 | [] | no_license | moh-C/microprocessorSmartWatch | 6161c4b0a47cf8c5ec595e4670d9449933e52d93 | 6b7744163fb87b23322ac7401d50d890ec9b5a75 | refs/heads/master | 2020-12-20T17:14:40.281363 | 2020-08-13T06:51:35 | 2020-08-13T06:51:35 | 236,150,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | ino | //This example will set up a static IP - in this case 192.168.1.99
#include <ESP8266WiFi.h>
const char* ssid = "MC";
const char* password = "MC2168514";
WiFiServer server(80);
IPAddress ip(192, 168, 1, 99); // where xx is the desired IP Address
IPAddress gateway(192, 168, 1, 1); // set gateway to match your network
... | [
"mohammad.chegini@hotmail.com"
] | mohammad.chegini@hotmail.com |
bfa3fe63abfdcd7f95819ade2f7ed5d01f734c83 | 1af49694004c6fbc31deada5618dae37255ce978 | /content/web_test/browser/web_test_devtools_bindings.cc | 97ae54848550a158fc708970afb7de86a17c2a90 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 4,143 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/web_test/browser/web_test_devtools_bindings.h"
#include <memory>
#include "base/callback_helpers.h"
#include "base/command_line.h"
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
dd4791329a934f397183bafdd0c2c226409fb33a | 8911fce30df9da3f6176357143a508c9e375f951 | /proj2/app/proj2.cpp | b6515807d66e78349e372e140a9b86f62f3979ac | [] | no_license | parth2844/Algorithms-260P | 414097fdd5faa3ca5e040b79bc1805909073afcb | 36db0e5a7564a3aa95cee437003c8108e54cfeab | refs/heads/master | 2021-05-17T17:11:56.249441 | 2020-03-28T20:53:52 | 2020-03-28T20:53:52 | 250,889,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,298 | cpp | #include "proj2.hpp"
#include <queue> // This is where std::priority_queue lives.
#include <stack> // you may want std::stack for your depth-first traversal.
#include <iostream>
#include <limits>
#include <iostream>
#include <utility>
#include <list>
// Your function MAY assume that this is a complete graph (as that ... | [
"parth2844@gmail.com"
] | parth2844@gmail.com |
331e29317576dec58fa8b4315604741e81c1a536 | 342e026a7b921003f8f3b3e3e1e8304b478f45d0 | /HackBookCode64/Charp2/自启动功能的实现/svchost.exe启动/autorun/autorun.cpp | b545a3d89e8829c2df188c72fc2f88586e74799f | [] | no_license | Jasey/hook | b62b22fa562272483382ab8a23e7b02c539e13f0 | e7af50003c5fdd35cb358dfc2105dc31ad9da18f | refs/heads/master | 2021-01-01T17:07:49.875590 | 2018-02-07T13:08:46 | 2018-02-07T13:08:46 | 98,004,529 | 15 | 11 | null | null | null | null | GB18030 | C++ | false | false | 5,754 | cpp | // autorun.cpp : Defines the entry point for the DLL application.
//
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
SERVICE_STATUS ServiceStatus;
SERVICE_STATUS_HANDLE ServiceStatusHandle;
DWORD WINAPI CmdService(LPVOID lpParam)
{
//...............后门代码
return 0;
}
//服务控制函数
v... | [
"hufangjie@meituan.com"
] | hufangjie@meituan.com |
c4843dece919c7440fcd5ee52972d0e8b45d9e03 | 894a963e66326a96b3702025df7dc607478a14e2 | /AcWing/423采药(01背包).cpp | b453dca48317fe9fe2578c1cf71b257acd6ba741 | [] | no_license | Mr-Poseidon/CFile | b332babbb6c184386e7d30cda7f0347b3ba847dc | f134102463b0de3995f0cc99401de46aef8fd030 | refs/heads/master | 2023-08-18T09:41:36.175646 | 2021-10-05T03:52:21 | 2021-10-05T03:52:21 | 361,354,240 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 489 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
const int N=1010;
int f[N];//f[i]维护体积为i时背包可装的最大价值
int n,m;//n-物品个数,m-背包体积
int main()
{
cin>>m>>n;
for(int i=0;i<n;i++)//遍历物品个数
{
int v,w;
cin>>v>>w;//输入体积、权值
for(int j=m;j>=v;j--)//更新01背包
... | [
"850690145@qq.com"
] | 850690145@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.