text stringlengths 4 6.14k |
|---|
/* ====================================
coded by Mikolaj Feliks aka Majuma
mail: majuma@wp.pl
web: http://www.majuma.xt.pl
all rights reserved
==================================== */
void interrupt (*OldKbdInt)(void);
BYTE KeyTable[256];
//------------------------------------------------------------
void i... |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_1_r1_1;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
ato... |
// RUN: %clang -no-canonical-prefixes -### -target sparc-myriad-rtems-elf %s \
// RUN: --gcc-toolchain=%S/Inputs/basic_myriad_tree 2>&1 | FileCheck %s -check-prefix=LINK_WITH_RTEMS
// LINK_WITH_RTEMS: Inputs{{.*}}crti.o
// LINK_WITH_RTEMS: Inputs{{.*}}crtbegin.o
// LINK_WITH_RTEMS: "-L{{.*}}Inputs/basic_myriad_tree/lib... |
/*
* PasswordDialog.h
*
* This file is part of INVERITA.
*
* INVERITA Personal Backup Software
* Copyright (C) 2012-2014 Marc Weidler <marc.weidler@web.de>,
* Ulrichstr. 12/1, 71672 Marbach, Germany.
* All rights reserved.
*
* INVERITA is free software: you c... |
/*
* BLDCHandler.h
*
* Created on: 9 Aug 2019
* Author: xasin
*/
#ifndef ESP32_ONESHOT125_BLDCHANDLER_H_
#define ESP32_ONESHOT125_BLDCHANDLER_H_
#include <stdint.h>
namespace Xasin {
namespace Drone {
class BLDCHandler {
public:
const uint8_t num_channels;
const uint8_t gpio_start;
BLDCHandler(uint8_... |
/****************************************************************************
* This file is part of s3c2440adc, a project for S3C2440A ADC.
* Copyright (C) 2013 Tseesing
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the... |
/**
******************************************************************************
* @file usbd_conf.h
* @author MCD Application Team
* @version V1.4.5
* @date 17-February-2017
* @brief General low level driver configuration
*****************************************************************... |
/**
* This file is part of the "FnordMetric" project
* Copyright (c) 2011-2014 Paul Asmuth, Google Inc.
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License along w... |
/*
* Mesa 3-D graphics library
* Version: 3.5
*
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, i... |
/************************************************************************
* A simple program to show the size of the 4 basic data types in C as
* they are on the architecture where the program is run and compiled.
* by Foo74, March 22, 2016
************************************************************************/
... |
/* Duplicate an open file descriptor to a specified file descriptor.
Copyright (C) 1999, 2004-2007, 2009-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Fo... |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD>
*
* Permission is hereby granted for use on ESPRESSIF SYSTEMS products only, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... |
/**
* \file
*
* Copyright (c) 2015 - 2017 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source cod... |
/**
* This header is generated by class-dump-z 0.1-11o.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*/
#import "UIKit-Structs.h"
#import <Foundation/NSObject.h>
#import <UIKit/UIMenuController.h>
@interface UIMenuController ()
-(instancetype)init;
-(void)setMenuVisible:(BOOL)visible an... |
/** This file is part of Corsair simulation.
*
* Copyright 2011-2013 Finnish Meteorological Institute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* LOOT
A load order optimisation tool for Oblivion, Skyrim, Fallout 3 and
Fallout: New Vegas.
Copyright (C) 2012-2016 WrinklyNinja
This file is part of LOOT.
LOOT is free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License
as publishe... |
#ifndef XMLHEADERFUNCTION_H
#define XMLHEADERFUNCTION_H
//#include <QtGui>
class XmlHeaderFunctions
{
public :
static void replaceInHeader(QString, QString, QString);
static void getDimensionsFromHeader(QString, int&, int&, int&);
static int getSlabsizeFromHeader(QString);
static int getPvlVoxelTypeFromHead... |
struct servent *getservbyport(int port, const char *proto)
{
#ifdef DEBUG
printf("[vlany] getservbyport() called\n");
#endif
HOOK(old_getservbyport, CGETSERVBYPORT);
if(!port || owned()) return old_getservbyport(port, proto);
struct servent *tmp = old_getservbyport(port, proto);
if(tm... |
/* Simple Chat
* Copyright (c) 2008-2014 Alexander Sedov <imp@schat.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any... |
//
// UMGSMMAP_CUG_Subscription.h
// ulibgsmmap
//
// © 2016 by Andreas Fink
//
//
#import <ulibasn1/ulibasn1.h>
#import "UMGSMMAP_asn1_protocol.h"
#import "UMGSMMAP_CUG_Index.h"
#import "UMGSMMAP_CUG_Interlock.h"
#import "UMGSMMAP_IntraCUG_Options.h"
#import "UMGSMMAP_Ext_BasicServiceGroupList.h"
#import "UMGSMM... |
static FTYPE transition_function( FTYPE x, FTYPE x1, FTYPE x2 ) ;
static FTYPE compute_mono_indicator_point_eno5( FTYPE *yin, FTYPE epsilon );
static FTYPE compute_mono_indicator_average_eno5( FTYPE *yin, FTYPE epsilon );
static void set_as_rough(int recontype, int i, FTYPE *yin, FTYPE (*yout)[NBIGM],FTYPE (*youtpolyco... |
// $Id: computeUpAlg.h 962 2006-11-07 15:13:34Z privmane $
#ifndef ___COMPUTE_UP_ALG
#define ___COMPUTE_UP_ALG
#include "definitions.h"
#include "tree.h"
#include "suffStatComponent.h"
#include "sequenceContainer.h"
#include "computePijComponent.h"
class computeUpAlg {
public:
void fillComputeUp(const tree& et,
... |
/*
This file is part of Darling.
Copyright (C) 2020 Lubos Dolezel
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling i... |
#ifndef _CONF_H_
#define _CONF_H_
#include <stdint.h>
#include <QSettings>
#define MAX_CONFIG 256
class Conf {
public:
Conf(QSettings *settings, uint32_t maxIdx);
int32_t set(uint32_t idx, int32_t val);
int32_t set(uint32_t idx, int32_t val, int32_t min, int32_t max);
int32_t get(ui... |
/*
* Copyright (C) 2009, 2010
* Authors (alphabetical) :
* Tom "TAsn" Hacohen <tom@stosb.com>
* Klaus 'mrmoku' Kurzmann <mok@fluxnetz.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Soft... |
/***************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
**
** Non-Open Source Usage
**
** Licensees may use this file in accor... |
#pragma once
#include "math.h"
#include "windows.h"
#include "ScFrustum.h"
#include "ScTerrain.h"
using namespace std;
enum SCK_QT_CORNER
{
SCK_QT_CORNER_BL = 0,
SCK_QT_CORNER_BR = 1,
SCK_QT_CORNER_TL = 2,
SCK_QT_CORNER_TR = 3
};
enum SCK_QT_EDGE
{
SCK_QT_EDGE_UP = 0,
SCK_QT_EDGE_DOWN = 1,
SCK_QT_EDGE_LEFT = 2... |
/*
* ControlOutput.h
*
* Created on: 07.06.2020
* Author: harald
*/
#ifndef APPLICATION_MEASURENCONTROL_CONTROLOUTPUT_H_
#define APPLICATION_MEASURENCONTROL_CONTROLOUTPUT_H_
#include "main.h"
#include <Types/DacOutput.h>
#include <Application/EncodeNButtons/EncodeNButtons.h>
#include "MeasuredData.h"
nam... |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2009 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_DATAHANDLING_SAVERKH_H_
... |
#ifndef SAVEPHX_H_
#define SAVEPHX_H_
#include "MantidAPI/Algorithm.h"
namespace Mantid {
namespace DataHandling {
/**
* Saves a workspace into an ASCII PHX file.
*
* Required properties:
* <UL>
* <LI> InputWorkspace - The workspace name to save. </LI>
* <LI> Filename - The filename for output </LI>... |
/*=========================================================================
Program: ParaView
Module: vtkPVAlgorithmPortsInformation.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOU... |
#pragma once
#include "bma423.h"
#include "i2c_bus.h"
enum {
DIRECTION_TOP_EDGE = 0,
DIRECTION_BOTTOM_EDGE = 1,
DIRECTION_LEFT_EDGE = 2,
DIRECTION_RIGHT_EDGE = 3,
DIRECTION_DISP_UP = 4,
DIRECTION_DISP_DOWN = 5
} ;
typedef struct bma4_dev Bma;
typedef struc... |
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at you... |
/*
* Evol: The non-life evolution simulator.
*
* Copyright 2014-2018 Eric Barrett <arctil@gmail.com>.
*
* This program is distributed under the terms of the GNU General Public
* License Version 3. See file `COPYING' for details.
*/
#ifndef EVOL_RANDOM_H_
#define EVOL_RANDOM_H_
#include <unistd.h>
#include <sy... |
#include "nvme/nvme.h"
#include "nvme_device.h"
struct {
UINT32 ref_count;
} completionQueues[MAX_QUEUES] = {
[NVME_CQID_ADMIN] = 1
};
BOOL Device_CreateIoCompletionQueue(NVME_QID sqid, NVME_QID cqid)
{
ASSERT(NVME_SQID_ADMIN == sqid);
ASSERT(NVME_CQID_ADMIN == cqid);
NVME_STATUS status = eSF_SuccessfulComplet... |
#ifndef I18N_ERROR_H
#define I18N_ERROR_H
const char *i18n_error(int error);
#endif
|
#include<stdio.h>
int main(void)
{
int c=1,n,pass=0,fail=0;
while(c<=10)
{
printf("\nplease enter 1 or 2: "); scanf("%d",&n);
if(1==n)
{
pass=pass+1;
printf("\n\t% d - passes = %d\n",c,pass);
c++;
}
else if(2==n)
... |
/* ISO 9899 6.10.3 Example 3 */
#define debug(...) fprintf(stderr, __VA_ARGS__)
#define showlist(...) puts(#__VA_ARGS__)
#define report(test, ...) ((test)?puts(#test):\
printf(__VA_ARGS__))
debug("Flag");
debug("X = %d\n", x);
showlist(The first, second, and third items.);
report(x>y, "x is %d but y is %d", x, ... |
//
// Copyright 2015
// Bruno Merlo Schurmann bruno290@gmail.com
// Gaston Martinez gaston.martinez.90@gmail.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the Lic... |
/* Interface of a lightweight menubar widget.
Copyright (C) 2002-2019 Free Software Foundation, Inc.
Copyright (C) 1992 Lucid, Inc.
This file is part of the Lucid Widget Library.
The Lucid Widget Library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as p... |
#include<stdio.h>
#include<matrix.h>
#include<stdlib.h>
#include<math.h>
int symmetric_positive_definite_matrix(RMP ap)
{
int i,j,k,m;
double w,g,*b;
int n=ap->row;
double *data=ap->data;
b=malloc(n*sizeof(double));
for(k=0;k<n;k++)
{
w=data[0];
if(fabs(w)<0.0000001)
{
... |
/**
******************************************************************************
* @file spark_wiring_usbserial.h
* @author Satish Nair
* @version V1.0.0
* @date 13-March-2013
* @brief Header for spark_wiring_usbserial.c module
**************************************************************************... |
#ifndef _MANAGED_MEM_H
#define _MANAGED_MEM_H
#include <cuda_runtime.h>
#include <algorithm>
template<typename T>
class ManagedIterator : public std::iterator<std::bidirectional_iterator_tag, T> {
public:
ManagedIterator(T *ptr = NULL) : mptr(ptr) {
}
bool operator==(ManagedIterator const& rh... |
/* -*- c++ -*- */
/*
* Copyright 2017 <+YOU OR YOUR COMPANY+>.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software i... |
/*
* SPDX-License-Identifier: LGPL-2.0-only
* License-Filename: LICENSES/LGPLv2-KDAB
*
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
*/
#ifndef KDTOOLSCORE_PIMPL_PTR_H
#define KDTOOLSCORE_PIMPL_PTR_H
#include "kdtoolsglobal.h"
#ifndef DOXYGEN_RUN
namespace kdtools {
#endif... |
/* Copyright (C) 1998-2000 Matthes Bender RedWolf Design */
/* Fixed point math extracted from ALLEGRO by Shawn Hargreaves */
/* The Source Of Evil Engine uses fixed point math for exact object positions.
This is rather silly. Nowadays we should simply use floats. However,
I never dared changing the whol... |
/*
* Copyright (c) 1985, 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above... |
#include "aroop/aroop_core.h"
#include "aroop/core/xtring.h"
#include "nginz_config.h"
#include "log.h"
#include <signal.h>
#include "plugin_manager.h"
#include "fiber.h"
#include "fiber_internal.h"
#include "fork.h"
#include "db.h"
#include "event_loop.h"
#include "binary_coder_internal.h"
#include "binary_coder_inte... |
#include "rtx_inc.h"
VOID str_copy(BYTE * from, BYTE * to) {
int i;
for(i = 0; from[i] != '\0'; i++) {
to[i] = from[i];
}
}
SINT32 ascii_to_int(CHAR * string)
{
SINT32 value = 0;
// an empty string is an invalid string
if (string[0] == NULL) {
return -1;
}
int i;
for (i = 0; string[i] != NULL; i++) {
... |
/*
* $Revision: 2299 $
*
* last checkin:
* $Author: gutwenger $
* $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $
***************************************************************/
/** \file
* \brief Declaration of class FeasibleUpwardPlanarSubgraph which
* computes an feasible upward planar... |
/*
* AppOS Boot Management System (ABMS)
* Copyright (c) 2002-2008 Spliced Networks LLC.
* All Rights Reserved.
*
* Author: John Buswell <buswellj@splicednetworks.com>
* Release: 4.0.0
*
* LICENSE: GPL v3
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GN... |
/*
Copyright (c) 1993-2008, Cognitive Technologies
All rights reserved.
Разрешается повторное распространение и использование как в виде исходного кода,
так и в двоичной форме, с изменениями или без, при соблюдении следующих условий:
* При повторном распространении исходного кода должны оставаться указанное
... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Charts module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid comme... |
#include <vector>
using namespace std;
union handy{
unsigned char Chars[8];
short samples[4];
long long ID;
void print(){
cout<<"sampleZero "<<samples[0]<<endl
<<"sampleOne "<<samples[1]<<endl
<<"sampleTwo "<<samples[2]<<endl
<<"sampleThree "<<samples[3]<<endl
<<"marID "<<ID<<endl
<<"marChars ";
... |
/**
* CallProcessingEngine: call another processing engine module template. Module
* needs to implement PrepareResource and FinishResource methods and call ReadWrite() as appropriate
*/
#ifndef _LIB_PROCESSING_ENGINE_CALL_PROCESSING_ENGINE_H_
#define _LIB_PROCESSING_ENGINE_CALL_PROCESSING_ENGINE_H_
#include <confi... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/tball/tmp/j2objc/guava/sources/com/google/common/util/concurrent/Uninterruptibles.java
//
// Created by tball on 11/23/13.
//
#import "JreEmulation.h"
#if !ComGoogleCommonUtilConcurrentUninterruptibles_RESTRICT
#define ComGoogleCommonUtilCon... |
//
//
// This source code is part of
//
// TD-ALCOVE
//
// Temporal Difference - ALCOVE
//
// VERSION 1.0.0
// Written by Joshua L. Phillips.
// Copyright (c) 2004-2016, Joshua L. Phillips.
// Check out http://www.cs.mtsu.edu/~jphillips/software.... |
/*******************************************************************
Part of the Fritzing project - http://fritzing.org
Copyright (c) 2007-2010 Fachhochschule Potsdam - http://fh-potsdam.de
Fritzing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... |
#pragma once
#include <rwe/geometry/Ray3f.h>
#include <rwe/math/Matrix4f.h>
#include <rwe/math/Vector2f.h>
namespace rwe
{
Ray3f screenToWorldRayUtil(const Matrix4f& inverseViewProjectionMatrix, const Vector2f& point);
}
|
/*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright (c) 2016 AmLogic, Inc.
* Author: Michael Turquette <mturquette@baylibre.com>
*
* This program is free software; you can redistribute it... |
/******************************************************************************
*
* $Id: configoptions.h,v 1.39 2001/03/19 19:27:40 root Exp $
*
*
* Copyright (C) 1997-2011 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU... |
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2005-2007, 2010-2012 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either vers... |
/*
File: jagpackagerenderer.h
Project: jaguar
Author: Douwe Vos
Date: Nov 23, 2013
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2013 Douwe Vos.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
t... |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.org/
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... |
///////////////////////////////////////////////////////////////////////////////
// Name: dialog/wxm_search_replace_dialog.h
// Description: Search/Replace Dialog
// Copyright: 2013-2019 JiaYanwei <wxmedit@gmail.com>
// 2005-2010 Alston Chen <madedit@gmail.com>
// License: GPLv3
///////////... |
/*
Copyright (c) 2009 Sebastian Steiger, Integrated Systems Laboratory, ETH Zurich.
Comments, suggestions, criticism or bug reports are welcome: steiger@purdue.edu.
This file is part of ANGEL, a simulator for LEDs based on the NEGF formalism.
The software is distributed under the Lesser GNU General Public License (LG... |
/*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2007 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CURVEFITTING_TABULATEDFU... |
/**
* C 语言: AVL树
*
* @author skywang
* @date 2013/11/07
*/
#include <stdio.h>
#include "avltree.h"
static int arr[]= {3,2,1,4,5,6,7,16,15,14,13,12,11,10,8,9};
#define TBL_SIZE(a) ( (sizeof(a)) / (sizeof(a[0])) )
void main()
{
int i,ilen;
AVLTree root=NULL;
printf("== 依次添加: ");
ilen = TBL_SIZE(arr);
for(i=0... |
/**
* \file
*/
#include "utils/mono-poll.h"
static mono_pollfd *poll_fds;
static guint poll_fds_capacity;
static guint poll_fds_size;
static inline void
POLL_INIT_FD (mono_pollfd *poll_fd, gint fd, gint events)
{
poll_fd->fd = fd;
poll_fd->events = events;
poll_fd->revents = 0;
}
static gboolean
poll_init (gin... |
/*
Copyright (C) 2016 Thomas Mijieux
This file is part of libtomtix.
libtomtix is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... |
// term_torsion.h --- CHARMM36/EEF1-SB torsion angle energy term
// Copyright (C) 2014 Anders S. Christensen
//
// This file is part of Phaistos
//
// Phaistos is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation,... |
/*
Este arquivo faz parte do BCM Revox Engine;
BCM Revox Engine é Software Livre; você pode redistribui-lo e/ou
modificá-lo dentro dos termos da Licença Pública Geral GNU como
publicada pela Fundação do Software Livre (FSF); na versão 3 da Licença.
Este programa é distribuído na esperança que possa ser util,
mas... |
//
// SSTV-Beacon is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3, or (at your option)
// any later version.
//
// SSTV-Beacon is distributed in the hope that it will be useful,
// but WITHO... |
#ifndef STATISTICSPLUGINPCA_H
#define STATISTICSPLUGINPCA_H
#include "interfaces/IStatisticsPlugin.h"
#include <QtilitiesCategory>
#include <QObject>
namespace Praaline {
namespace Plugins {
namespace StatisticsPluginPCA {
/*!
\struct StatisticsPluginPCAData
\brief ... |
/*
*******************************************************************************
\file oid_test.c
\brief Tests for object identifiers
\project bee2/test
\author Sergey Agievich [agievich@{bsu.by|gmail.com}]
\created 2013.04.01
\version 2021.04.16
\license This program is released under the GNU General Public License ... |
/*
* This file is part of cg3lib: https://github.com/cg3hci/cg3lib
* This Source Code Form is subject to the terms of the GNU GPL 3.0
*
* @author Stefano Nuvoli (stefano.nuvoli@gmail.com)
*/
#ifndef CG3_TREEGENERICITERATOR_H
#define CG3_TREEGENERICITERATOR_H
namespace cg3 {
/**
* @brief The generic iterator for... |
/*
* Nombre: Bureaucrat.h
*
* Creado en: 02/12/2013
* Versión: v0.003
* Autores: Tinguaro Cubas Saiz
* Juan Henández Hernández
* Miguel Pérez Bello
* Guillermo Rodríguez Pardo
*
* Descripción: Clase encargada de las gestiones y cargas de librerías y los re... |
/*
Copyright (c) 2007-2008 Michael Specht
This file is part of Proteomatic.
Proteomatic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Pr... |
// Copyright 2014 Timothy Castiglia
// This file is part of Tabloid.
// Tabloid is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
/... |
// Adapted from Qt example 'Elastic nodes'
// http://qt-project.org/doc/qt-4.8/graphicsview-elasticnodes.html
#ifndef GRAPHWIDGET_H
#define GRAPHWIDGET_H
#include <QGraphicsView>
class Node;
class GraphWidget : public QGraphicsView
{
Q_OBJECT
public:
GraphWidget(QWidget *parent = 0);
GraphWidget(const GraphW... |
#ifndef FRACTIONS_H
#define FRACTIONS_H
#include <boost/scoped_array.hpp>
#include <exception>
#include <ostream>
/**
* @brief A generic class to handle the fractions of types
*/
class Fractions
{
private:
boost::scoped_array<double> _data;
protected:
size_t _typeCount;
... |
// -----------------------------------------------
// This file is script-generated...
// -----------------------------------------------
#ifndef WS_GR_FOG_STATUS_H
#define WS_GR_FOG_STATUS_H
namespace vdis
{
typedef enum
{
WS_GR_FOG_STATUS_WSGF_FOG_STATUS_OFF = 0,
WS_GR_FOG_STATUS_WSGF_FOG_ST... |
#ifndef TYPE_ITERATOR_MEMBER_M_DECREMENT_H_
#define TYPE_ITERATOR_MEMBER_M_DECREMENT_H_
#include "type/iterator/Base.h"
#include "type/iterator/handle/info/IsType.h"
#include "type/iterator/derived/info/IsType.h"
namespace BrainMuscles
{
namespace type
{
namespace iterator
{
namespace member
{
templat... |
/*
* UCW Library -- Binomial Heaps
*
* (c) 2003 Martin Mares <mj@ucw.cz>
*
* This software may be freely distributed and used according to the terms
* of the GNU Lesser General Public License.
*/
/*
* This is a generic implementation of Binomial Heaps. Each time you include
* this file with parameters set i... |
#ifndef CHOLESKY_H_
#define CHOLESKY_H_
#include "matrix.h"
#define BLOCKSIZE 32
#define CODE -1
#ifdef __cplusplus
extern "C" {
#endif
int cholu(double *A, int N);
int bcholu(double *A, int N);
int chol(double *A, int N);
void chold(double *A, int N);
#ifdef __cplusplus
}
#endif
#endif /* CHOLESKY_H_ */
|
/**
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
*
* Tulip is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licens... |
/*
* DA_Petition.h
* Damsel
*
* Created by Trevor Powell on 11/01/08.
* Copyright 2008 PanicKitten Softworks. All rights reserved.
*
*/
#ifndef DA_PETITION_H
#define DA_PETITION_H
#include "VS_Sprite.h"
class daModeInGame;
class sndSample;
class daPetition : public vsSprite
{
enum State
{
Pickup, //... |
/**
Simple network benchmark tool.
Copyright (C) 2017 Valdemar Lindberg
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) a... |
../../../linux-headers-3.0.0-12/include/linux/ramfs.h |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[4];
atomic_int atom_0_r1_1;
atomic_int atom_2_r1_1;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[... |
#pragma once
#include <string>
#include <list>
#include <utility>
#include <winsock2.h>
#pragma comment(lib, "ws2_32.lib")
class UDPSender
{
public:
UDPSender();
~UDPSender();
void addTarget(std::string adresse, int port);
void send(char * data, int size);
private:
std::list<SOCKADDR_IN> targets;
SOCKET sock;
... |
// -*- C++ -*-
//=============================================================================
/**
* @file Intrusive_Ref_Count_Object_T.h
*
* $Id: Intrusive_Ref_Count_Object_T.h 91741 2010-09-13 18:13:11Z johnnyw $
*
* @authors Yan Dai <dai_y@ociweb.com>
*/
//==============================================... |
/*
* Copyright (C) 2018, 2019 Marios Tsolekas <marios.tsolekas@gmail.com>
*
* This file is part of Corgan.
*
* Corgan is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... |
/*
* Copyright (C) 2017-2018 Olzhas Rakhimov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program ... |
/* applets/clock-applet.c
* Copyright (C) 2015 Trevor Kulhanek <trevor@nocodenolife.com>
*
* This file is part of NyanBar.
*
* NyanBar is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of... |
/** Copyright 2012 Lucas Walter */
#ifndef VIMJAY_SIGNALS_H
#define VIMJAY_SIGNALS_H
#include <iostream>
#include <stdio.h>
#include <boost/thread.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
// #include <random>
#include <deque>
#include <map>
#include <string>
#include "vimj... |
/*
* Copyright (C) 2010- Peer internet solutions
*
* This file is part of mixare.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option)... |
#ifndef MONITORWIDGET_H
#define MONITORWIDGET_H
#include <QTabWidget>
#include <QItemSelection>
#include <QTimer>
#include "SummaryTab.h"
#include "FinishedTaskTab.h"
#include "HistorySummaryTab.h"
#include "IOModuleTab.h"
#include "OngoingTaskTab.h"
#include "SupportedOptTab.h"
QT_BEGIN_NAMESPACE
class QSortFil... |
#include <pcl/point_cloud.h>
#include <pcl/impl/point_types.hpp>
#include <pcl/filters/extract_indices.h>
#include <pcl/ModelCoefficients.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/features/normal_3d.h>
#include <pcl/segmentation/sac_segmentation.h>
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.