text stringlengths 4 6.14k |
|---|
#ifndef GRAPHICS_H
#define GRAPHICS_H
#include "Arduino.h"
#define FONT_MAIN_ELEMENT_SIZE 16
struct Bitmap
{
public:
Bitmap(const byte* bitmapArray);
Bitmap(byte* bitmapArray);
~Bitmap() { delete [] value; }
uint8_t arrayLength() { return arrayLength(width, height); }
static uint8_t arrayLength(uint8_t... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "user_message.h"
int MAX_MESS_SIZE;
message_data * request;
message_data * reply;
struct message_data{
int id;
size_t mess_len;
char mess_data[0];
};
message_data * create_rcv_message(void){
return create_message(NULL, MAX_MESS_SIZE, -1);
}
... |
/*
* SmartPID Controller hardware diagnostic tool
*
* Copyright (C) 2016 Arzaman
*/
#ifndef HWTEST_H_
#define HWTEST_H_
/* Initialize the diagnostic task
* This function is called at the start of firmware execution.
* Parameters: none
* Returns: none
*/
void hwTestSetup();
/* Process the diagnostic task
* ... |
#ifndef NODE_DETAIL_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define NODE_DETAIL_NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
#pragma once
#endif
#include "yam... |
#ifndef SAVE_TRAINER_H
#define SAVE_TRAINER_H
#include <inttypes.h>
#include "save_common.h"
union save_unpacked_t;
enum save_exit_code_t save_trainer_money_get(union save_unpacked_t* save,
uint32_t* money);
enum save_exit_code_t save_trainer_gender_get(
union save_u... |
/* zxatasp.h: ZXATASP interface routines
Copyright (c) 2003-2004 Garry Lancaster,
2004 Philip Kendall
$Id: zxatasp.h 4972 2013-05-19 16:46:43Z zubzero $
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 ... |
/*
* Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
*
* This file is part of mpblocks.
*
* mpblocks 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 ... |
#include <stdio.h>
#include <stdlib.h>
#define addr 0xffffffff80000000+0xb8100
int main(int argc, char* argv[], char* envp[])
{
/*
for(int i=0; i<2000; i++)
write(1, "3\n\0", 2);
*/
int pid = 0;
pid=fork();
if(pid>0){
while(1) {
write(1, "THIS IS PARENT 2\n\0", 20);... |
#include<stdio.h>
#include<string.h>
main()
{
char s1[20]="hello world";
s1[5]='\0';
printf("%d\n",strlen(s1));
}
|
/* dataset.h */
/*
Copyright (C) 2015 Scott A. Czepiel
This file is part of mlelr.
mlelr 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 _COMMON_DEFINES_H
#define _COMMON_DEFINES_H
#include "bOS/bOS.h"
#include "bOS/bOSStringUtils.h"
#include "bOS/bOSStringBuffer.h"
using namespace bOS::CoreString;
#include "bOS/Tracer.h"
#endif
|
/*
* Copyright (C) 2010-2011 Daniel Richter <danielrichter2007@web.de>
*
* 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 ve... |
//##################################################################################################
//
// Custom Visualization Core library
// Copyright (C) 2011-2013 Ceetron AS
//
// This library may be used under the terms of either the GNU General Public License or
// the GNU Lesser General Public License a... |
/*
* pins.h
*
* Created on: Feb 8, 2015
* Author: shaun
*/
#ifndef PINS_H_
#define PINS_H_
#define SET_DIRECTION_INNER(port, pin, out) if (out) {\
DDR##port |= _BV(DD##port##pin); \
} else { \
DDR##port &= ~_BV(DD##port##pin); \
}
#define SET_DIRECTION(port, pin, out) SET_DIRECTION_INNER(port, pin, out... |
/*
File: leasurfaceboxprivate.h
Project: leafhopper
Author: Douwe Vos
Date: Nov 17, 2014
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2014 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 b... |
class CInput
{
public:
char _pad0[0xB4];
bool m_fCameraInterceptingMouse;
bool m_fCameraInThirdPerson;
bool m_fCameraMovingWithMouse;
Vector m_vecCameraOffset;
bool m_fCameraDistanceMove;
int m_nCameraOldX;
int m_nCameraOldY;
int m_nCameraX;
int m_nCameraY;
bool m_CameraIsOrthographic;
};
|
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2020 <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... |
#pragma once
class Lattice;
// Override this class to create different lattice behaviours
class Generator
{
public:
Generator()
{}
virtual ~Generator()
{}
virtual void Update(Lattice &xLattice);
virtual UCHAR GenerateValue(Lattice &xLattice, int i, int j, int k)
{
return 0;
}
private:... |
/*
* Copyright (c) 2010-2011 Tanguy Krotoff.
* 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 copyright
* notice, this list of... |
/******************************************************************************
Utility to create a pcap file of a 6in4 stream present in an origin pcap file
Copyright (C) 2013 Samuel Jero <sj323707@ohio.edu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General P... |
#include<sys/types.h>
#include<unistd.h>
#include<fcntl.h>
#include<linux/rtc.h>
#include<linux/ioctl.h>
#include<stdio.h>
#include<stdlib.h>
void main()
{
int fd;
char data[256];
int retval;
fd=open("/dev/fgj",O_RDWR);
if(fd==-1)
{
perror("error open\n");
exit(-1);
}
printf("open /dev/fgj successfully\... |
/**
******************************************************************************
* @file RNG/RNG_MultiRNG/Src/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief Main Interrupt Service Routines.
* This file provides template for all ... |
#ifndef CANA_INTEGRATE_H
#define CANA_INTEGRATE_H
#include <cmath>
#include <vector>
#include <cstddef>
// limit of bins for simpson integration by precision
#define MAX_SIMPSON_BINS 50000
// limit of bin size for simpson method (relative diff. b/a - 1.)
#define MIN_SIMPSON_SIZE 1e-15
namespace cana
{
// weight ... |
#pragma once
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/video/background_segm.hpp>
#include "IBGS.h"
#include "QDir"
class MixtureOfGaussianV1BGS : public IBGS
{
private:
bool firstTime;
cv::BackgroundSubtractorMOG mog;
cv::Mat img_foreground;
do... |
#include "intrinsics.h"
#include "swihook.h"
#include "core.h"
#include "remap.h"
#include "string.h"
unsigned int *__swihook_lib = 0;
void __swihook_bxlr(){};
void __swihook_abort(unsigned short swinum, unsigned int swi_call_lr_address)
{
__core_lprintf("*** swihandler: no function %d (%03X) LR = ... |
#ifndef _DEBUG_H_
#define _DEBUG_H
#include <kos.h>
/*
* Several debug methods:
* - debug_log: display a general message (no severity).
* - debug_warn: display a warning message (average severity).
* - debug_error: display a potentially game breaking message (high severity).
*/
void debug_log(const cha... |
// Copyright (C) Explorer++ Project
// SPDX-License-Identifier: GPL-3.0-only
// See LICENSE in the top level directory
#pragma once
#include "Plugins/LuaPlugin.h"
#include "PluginInterface.h"
namespace std
{
namespace filesystem
{
class path;
}
}
namespace Plugins
{
class PluginManager
{
... |
/*
Copyright © 2014-2015 by The qTox Project
This file is part of qTox, a Qt-based graphical interface for Tox.
qTox is libre 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 L... |
/*
* catregexpnoderepeater.h
*
* Created on: Jun 24, 2010
*/
#ifndef CATREGEXPNODEREPEATER_H_
#define CATREGEXPNODEREPEATER_H_
#include "catregexpnode.h"
G_BEGIN_DECLS
#define CAT_TYPE_REGEXP_NODE_REPEATER (cat_regexp_node_repeater_get_type())
#define CAT_REGEXP_NODE_REPEATER(obj) (G_TYPE... |
/***************************************************************
* Name: CompilerDlg.h
* Purpose: Defines Compiler Dialog Class
* Author: kushagra gour a.k.a chin chang (chinchang457@gmail.com)
* Created: 2010-11-21
Copyright 2010 Kushagra Gour (http://kushagragour.in)
This file is p... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
*
* RetroArch 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 Found-
* ation, either version 3 of the License, or (at your... |
/**
* @file problem.c
* @brief Example problem: Radiation forces
* @author Hanno Rein <hanno@hanno-rein.de>
* @detail This example provides an implementation of the
* Poynting-Robertson effect. The code is using the IAS15 integrator
* which is ideally suited for this velocity dependent force.
*
* @section ... |
//
// Created by Guillaume LAROYENNE on 06/11/16.
//
#ifndef PROJETALGOC_QUEUE_H
#define PROJETALGOC_QUEUE_H
typedef struct queue {
void **elements;
int nbElements;
} queue_t;
queue_t *createQueue();
void *poll(queue_t *q);
void offer(queue_t *q, void *n);
int isEmpty(queue_t *q);
void clear(queue_t *qu... |
/* vim: set expandtab ts=4 sw=4: */
/*
* You may redistribute this program 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 is distributed in the hope that it... |
#ifndef CYGONCE_HAL_VAR_INTR_H
#define CYGONCE_HAL_VAR_INTR_H
//==========================================================================
//
// imp_intr.h
//
// TX49 Interrupt and clock support
//
//==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
//... |
/****************************************************************************/
/// @file PCLoaderVisum.h
/// @author Daniel Krajzewicz
/// @author Michael Behrisch
/// @date Thu, 02.11.2006
/// @version $Id: PCLoaderVisum.h 13811 2013-05-01 20:31:43Z behrisch $
///
// A reader of pois and polygons stored in VIS... |
//----------------------------------------------------------------------------
/** @file RlFuegoPlayout.h
Policy wrapper for Fuego playouts
*/
//----------------------------------------------------------------------------
#ifndef RLFUEGOPLAYOUT_H
#define RLFUEGOPLAYOUT_H
#include "RlUtils.h"
#include "GoUctPlayou... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/xaa/xaaCpyPlane.c,v 1.13 2001/10/01 13:44:15 eich Exp $ */
/*
A CopyPlane function that handles bitmap->screen copies and
sends anything else to the Fallback.
Also, a PushPixels for solid fill styles.
Written by Mark Vojkovich (markv@valinux.com)
*/
#include ... |
/* 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... |
/**
******************************************************************************
* @file FMC/FMC_SDRAM_DataMemory/Inc/main.h
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief Header for main.c module
*******************************************************... |
#ifndef FILEHASHCALCULATORTHREAD_H
#define FILEHASHCALCULATORTHREAD_H
#include "common.h"
#include "components/tfilterwidget.h"
#include <QCryptographicHash>
#include <QDateTime>
#include <QDir>
#include <QFileInfo>
#include <QHeaderView>
#include <QLabel>
#include <QProgressBar>
#include <QSqlError>
#include <QThrea... |
/*
Copyright 2017 Benjamin Vedder benjamin@vedder.se
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 pr... |
/*
# PostgreSQL Database Modeler (pgModeler)
#
# Copyright 2006-2021 - Raphael Araújo e Silva <raphael@pgmodeler.io>
#
# 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 version 3.
#
# This program ... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "internal_group_id_range.h"
OpenAPI_internal_group_id_range_t *OpenAPI_internal_group_id_range_create(
char *start,
char *end,
char *pattern
)
{
OpenAPI_internal_group_id_range_t *internal_group_id_range_local_var = OpenAPI_malloc... |
/***************************************************************************
* *
* This file is part of DSOrganize. *
* *
* DSOr... |
/*
* Copyright (c) 2012 Vladimir Serbinenko
*
* This file is part of the libisofs project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
* or later as published by the Free Software Foundation.
* See COPYING file for details.
*/
/**
* Declare HFS+ re... |
/*
* scroll-extension.c
*
* Copyright (C) 2017 - 2018 Fabio Colacio
*
* Marker is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later v... |
/*
* Copyright (C) 2015 Florent Pouthier
* Copyright (C) 2015 Emmanuel Pouthier
*
* This file is part of SIGMAE.
*
* Aye-Aye 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... |
#ifndef __CRIS_MMU_CONTEXT_H
#define __CRIS_MMU_CONTEXT_H
#include <asm-generic/mm_hooks.h>
extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
extern void get_mmu_context(struct mm_struct *mm);
extern void destroy_context(struct mm_struct *mm);
extern void switch_mm(struct mm_struct *prev, st... |
/*
* androlirc.c
*
* Interface between Lirc functions and Android
*
* Copyright (C) 2010 Zokama <contact@zokama.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 o... |
/*
* Register.h
*
* Created on: 2016. 12. 9.
* Author: ygcho
*/
#ifndef INC_REGISTER_H_
#define INC_REGISTER_H_
#include "ctocpp.h"
enum
{
SP = 13,
LR,
PC,
psrN = 0,
psrZ,
psrC,
psrV,
REG_SIZE = 16,
PSR_SIZE = 4,
};
class Register
{
public :
Register()
{
... |
/*
* Copyright (C) 2020 Niek Linnenbank
*
* 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 is di... |
/*
* This file was generated by orbit-idl-2 - DO NOT EDIT!
*/
#include <string.h>
#define ORBIT2_STUBS_API
#include "poatest.h"
static ORBitSmallSkeleton get_skel_small_poatest(POA_poatest *servant,
const char *opname,gpointer *m_data, gpointer *impl)
{
switch(opname[0]) {
case 't':
if(strcmp((opname + 1), "est")) ... |
#ifndef FILESCOMBOBOXMODEL_H
#define FILESCOMBOBOXMODEL_H
#include "datahash.h"
#include <QAbstractItemModel>
#include <vector>
class FilesComboBoxModel : public QAbstractItemModel
{
public:
class Item {
public:
const QString path;
const QString id;
const DataHash hash;
Item(const QString &path, ... |
#pragma once
#include "USART_BitNames.h"
#define USART_Baud_to_UBRR(BAUD) (rounddiv(F_CPU, (BAUD)*16UL) - 1)
|
/**********************************************************************
****** GNU GPL ********************************************************
Copyright 2011 Pierre Gradot
This file is part of DiskDB.
DiskDB is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License ... |
#include "kheap.h"
#include "physmem.h"
#include "console.h"
unsigned int * kheap;
unsigned int * kheap_top;
extern unsigned int * kernel_end;
void kheap_init() {
kheap_top = (unsigned int *) pmm_get_memory_size();
kheap = kheap_top - KHEAP_SIZE;
pmm_remove_memory_region((unsigned int)kheap, (unsigned int... |
/**
* This file is part of Arglyzer.
*
* Copyright (c) 2015 Juan Jose Salazar Garcia jjslzgc@gmail.com
*
* Arglyzer 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, ... |
/*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
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 ap... |
/*
* traps.h: Format of entries for the Sparc trap table.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
#ifndef _UAPI_SPARC_TRAPS_H
#define _UAPI_SPARC_TRAPS_H
#define NUM_SPARC_TRAPS 255
#ifndef __ASSEMBLY__
#endif /* !(__ASSEMBLY__) */
/* For patching the trap table at boot time, we nee... |
/*
* Copyright Droids Corporation, Microb Technology, Eirbot (2005)
*
* 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 2 of the License, or
* (at your option) any lat... |
#include<stdio.h>
main()
{
int i,j,p=1;
printf("Enter the number");
scanf("%d",&i);
printf("Enter the number for power");
scanf("%d",&j);
for(j=1;j<=j;j++)
{
p=i*i;
}
printf("Power is %d \n",p);
}
|
#include <stdio.h>
// #include "makeheader.h"
/******************************************************
Name : make_general_hdl
Input : n bit multiplier
Output : void
Comment: Generate verilog code for an n bit general
karatsuba multiplier
******************************************************/
void m... |
//
// Tones and buzzer output for Pixhawk Lite
//
// Lauren Weinstein (lauren@vortex.com, http://lauren.vortex.com)
// 11/2015
//
#include "PHL_Tunes.h"
// Audio device settings, via usually
// available "borrowed" parameters
// Audio device type (e.g. piezo)
// Passive devices can play melodies, active are fixe... |
// //////////////////////////////////////////////////////////
// sha1.h
// Copyright (c) 2014,2015 Stephan Brumme. All rights reserved.
// see http://create.stephan-brumme.com/disclaimer.html
//
#pragma once
#include "hash.h"
#include <string>
// define fixed size integer types
#ifdef _MSC_VER
// Windows
typedef uns... |
#ifndef __ENDINGTRIGGER_H__
#define __ENDINGTRIGGER_H__
#include "Trigger.h"
class EndingTrigger :
public Trigger
{
public:
EndingTrigger();
~EndingTrigger();
void Shot();
};
#endif // __ENDINGTRIGGER_H__ |
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use ... |
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... |
/* set_volume.c
* simple volume control using configurable interface
*/
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "set_volume_alsa.h"
#include "set_volume_mpd.h"
#include "set_volume.h"
static void update_... |
#include "interfac.h"
#include "gp2021.h"
#include "gpsisr.h"
extern long code_ref, carrier_ref;
extern int d_freq;
int dop_sign = 1;
struct debug_struct debug_data;
int debug_ready;
struct interface_channel ichan[N_channels];
struct measurement_set measurements;
int ICP_CTL = DOP_ICP;
/* These three flags indicat... |
#ifndef CGIMAGEDESTINATION_H_
#define CGIMAGEDESTINATION_H_
#define CGIMAGEDESTINATION_FALLBACK 1
typedef struct CGImageDestination *CGImageDestinationRef;
#endif
|
#ifndef __VGMVGFILEREADERVGABSTRACT_H__
#define __VGMVGFILEREADERVGABSTRACT_H__
#include <vgKernel/vgkStreamReader.h>
#include <vgMod/vgFileDefinitionVG.h>
#include <vgMod/vgNode.h>
namespace vgMod{
using namespace vgCore;
/**
@action creation
@date 2009/03/04 13:38
@author lss
... |
/******************************************************
*
* ©keithhedger Tue 16 Jul 20:46:19 BST 2013
* kdhedger68713@gmail.com
*
* spellcheck.h
*
******************************************************/
#ifndef _SPELLCHECK_
#define _SPELLCHECK_
#ifdef _ASPELL_
void checkWord(GtkWidget* widget,gpointer da... |
//
// MineHeadView.h
// YH-IOS
//
// Created by 钱宝峰 on 2017/6/8.
// Copyright © 2017年 com.intfocus. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Person.h"
#import "UserCountView.h"
#import "User.h"
@protocol MineHeadDelegate <NSObject>
-(void)ClickButton:(UIButton *)btn;
@end
@interface MineHeadVi... |
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
*******************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011.
*
* Al... |
/*
* Copyright (C) 2010-2013 by RoboLab - University of Extremadura
*
* This file is part of RoboComp
*
* RoboComp 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 ... |
/* $Id: AclFeed.h 3643 2013-04-17 10:50:31Z IMPOMEZIA $
* IMPOMEZIA Simple Chat
* Copyright © 2008-2013 IMPOMEZIA <schat@impomezia.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 Foundati... |
/* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, 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
t... |
#include <stdlib.h>
#include "ndf1.h"
size_t ndf1Len( const char *str ){
/*
*+
* Name:
* ndf1Len
* Purpose:
* Return the declared length of a character string.
* Synopsis:
* size_t ndf1Len( const char *str )
* Description:
* This function returns the number of characters in the string
* supp... |
#ifndef CLINKEDQUEUE_H_INCLUDED
#define CLINKEDQUEUE_H_INCLUDED
#include "CLinkedNode.h"
#include <iostream>
using namespace std;
template <typename T>
class CLinkedQueue{
public:
CLinkedQueue();
~CLinkedQueue();
void Print();
void MakeEmpty();
bool IsEmpty();
... |
/*
* (C) 2009-2014 see Authors.txt
*
* This file is part of MPC-HC.
*
* MPC-HC 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.
... |
#pragma once
#include <vector>
#include "Matrix2D.h"
#include "Point.h"
#include <algorithm>
#include "TransformationMetaInfo.h"
using namespace std;
class Descriptor:public vector<double>
{
public:
Descriptor(vector<double> value, Point location,double angle = 0,double sigma = 0);
Point GetPoint() const;
double A... |
#include <stdlib.h>
#include <stdio.h>
#include "tokenize.h"
#include "parse.h"
#include "mem.h"
#include "types.h"
#include "lists.h"
#include "eval.h"
#include "builtins.h"
#include "io.h"
int
main(int argc, char* argv[])
{
pscm_init_types();
ps_v* env = initial_env();
//printf("%s\n", pscm_show(env))... |
/*
File: jagpjcassign.c
Project: jaguar-parser
Author: Douwe Vos
Date: May 4, 2017
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2017 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... |
// This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.3.2/Source/Uno/Int.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
// public intrinsic struct Int :15
// {
uStructType* Int_typeof();
void Int__Equals_fn... |
/*
Copyright (C) 2012-2013 Sarvaritdinov R.
This file is part of REXLoader.
REXLoader 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.
REX... |
#ifndef MUSICWEBDJRADIOCATEGORYWIDGET_H
#define MUSICWEBDJRADIOCATEGORYWIDGET_H
/***************************************************************************
* This file is part of the TTK Music Player project
* Copyright (C) 2015 - 2022 Greedysky Studio
* This program is free software; you can redistribute it and/... |
/* PhDirStore
*
* Copyright (C) 2016 Jente Hidskes
*
* Author: Jente Hidskes <hjdskes@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 2 of the License, or
* ... |
#include <serpent/shx.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
int
main(int argc, char *argv[])
{
struct shx s;
unsigned long x[32];
const uint8_t *key = "0000000000000000000000000000000000000000000000000000000000000000"
"0000000000000000000000000000... |
#ifndef STL_XSPDEQUE_H_
#define STL_XSPDEQUE_H_
#include<semaphore.h>
#include<errno.h>
#include"thread/XSPMutex.h"
#include<bits/local_lim.h>
#include<stl/xdeque.h>
#include<thread/XSPTime.h>
#ifndef errno
extern int errno;
#endif
template<class V, class MUTEX=THREAD_MUTEX>
class CXSPDeque
{
public:
CXSPDeque(con... |
// $Id$ -*- C++ -*-
// Panned Graph Editor (private part)
// Copyright (C) 1995 Technische Universitaet Braunschweig, Germany.
// Copyright (C) 2000 Universitaet Passau, Germany.
// Written by Andreas Zeller <zeller@gnu.org>.
//
// This file is part of DDD.
//
// DDD is free software; you can redistribute it and/or... |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2010 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_MDALGORITHMS_WS_SELECTOR... |
#pragma once
#include <mutex>
#include <condition_variable>
#include <queue>
#include <memory>
namespace messaging
{
struct message_base
{
message_base()
{
msgid = -1;
};
int msgid;
virtual ~message_base()
{}
};
template<typename Msg>
struct wrapped_message:
message_base
... |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtSystems module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licens... |
/****************************************************************************
**
** Copyright (C) 2014 Jolla Ltd, author: <robin.burchell@jollamobile.com>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the config.tests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** ... |
/*
* Copyright (C) 2016, Mike Walters <mike@flomp.net>
*
* This file is part of inspectrum.
*
* 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
* ... |
/* ide-clang-private.h
*
* Copyright © 2015 Christian Hergert <christian@hergert.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 optio... |
/**
* Mandelbulber v2, a 3D fractal generator ,=#MKNmMMKmmßMNWy,
* ,B" ]L,,p%%%,,,§;, "K
* Copyright (C) 2017-18 Mandelbulber Team §R-==%w["'~5]m%=L.=~5N
* ,=mm=§M ]=4 yJKA"/-Nsaj "Bw,==,,
* This file is part of Mandelbul... |
/*
Copyright (C) 2013 Jakub Woźniak
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 is di... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.