text stringlengths 4 6.14k |
|---|
/*
* Copyright 2013 Arx Libertatis Team (see the AUTHORS file)
*
* This file is part of Arx Libertatis.
*
* Original source is copyright 2010 - 2011. Alexey Tsoy.
* http://sourceforge.net/projects/interpreter11/
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, fre... |
//ETRT-RangefinderS1
//Driver for the ET-RT Sharp Distance sensor head
//Creative Robotics Ltd 2016
#include <inttypes.h>
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
const uint8_t rangefinder_ch = 0; //Analog Chanel
const uint8_t lightSensor_ch = 1; //Analog Chanel
const ui... |
#pragma once
#include "storm/storage/expressions/Expression.h"
#include "storm/storage/expressions/Variable.h"
namespace storm {
namespace pgcl {
class VariableDeclaration {
public:
VariableDeclaration(storm::expressions::Variable const& var, storm::expressions::Expression const& exp)... |
#ifndef lint
static char *RCSid = "$Header: strcar.c,v 1.1 87/08/21 16:34:11 rnovak Exp $";
#endif
/*
*------------------------------------------------------------------
*
* $Source: /u3/syseng/rnovak/src/lib/RCS/strcar.c,v $
* $Revision: 1.1 $
* $Date: 87/08/21 16:34:11 $
* $State: Exp $
* $Author: rnovak $
*... |
#ifndef EL__ECMASCRIPT_ECMASCRIPT_H
#define EL__ECMASCRIPT_ECMASCRIPT_H
/* This is a trivial ECMAScript driver. All your base are belong to pasky. */
/* In the future you will get DOM, a complete ECMAScript interface and free
* plasm displays for everyone. */
#include "main/module.h"
#include "util/time.h"
struct f... |
/*!
* \file pdb_format.h
*
* \brief PDB data format interface
*
* \author B.Dudson
* \date April 2009
*
**************************************************************************
* Copyright 2010 B.D.Dudson, S.Farley, M.V.Umansky, X.Q.Xu
*
* Contact: Ben Dudson, bd512@york.ac.uk
*
* This file is part of... |
/*
craftIk - A custom Minecraft server written in C.
Copyright (C) 2012, SI Cyrusian. All Rights Reserved.
Minecraft is a trademark of Mojang AB.
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,... |
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
// global var
static char *str = NULL;
// linux/seq_file.h
// void * (*start) (struct seq_file *m, loff_t *pos);
// void (*stop) (struct seq_file *m, void *v);
/... |
#ifndef LINE_H
#define LINE_H
#include "Object3D.h"
class Line : public Object3D
{
int indexList;
public:
explicit Line();
explicit Line(const Line& rhs);
~Line();
virtual Object3D* copy() const;
private:
virtual void drawGeometry(void) const;
void storeList();
};
#endif // LINE_H
|
/**
******************************************************************************
* @file USB_Host/DualCore_Standalone/Src/msc_menu.c
* @author MCD Application Team
* @version V1.4.0
* @date 17-February-2017
* @brief Mass Stoarge Process
**************************************************... |
/*
Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
Governed by the TrueCrypt License 3.0 the full text of which is contained in
the file License.txt included in TrueCrypt binary and source code distribution
packages.
*/
#ifndef GST_HEADER_Main_Forms_KeyfilesPanel
#define GST_H... |
class RTSPServerCleanup : Thread
{
public:
RTSPServerCleanup();
~RTSPServerCleanup();
void Start(GstRTSPServer *server);
void Stop();
private:
void Run();
bool m_started;
bool m_exit;
Mutex m_mutex;
GstRTSPSessionPool *m_pool;
};
|
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.1.0/38413-g10.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "NGAP_CompletedCellsInTAI-NR-Item.h"
#include "NGAP_ProtocolExtensionContainer.h"
asn_T... |
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
#import "_ABCreateStringWithAddressDictionary.h"
#import "NSCoding-Protocol.h"
@class ABKSession, NSMutableArray;
@interface ABKEventLog : _ABCreateStringWithAddressDictionary <NSCodin... |
#ifndef QMARKER_H
#define QMARKER_H
#include "QtAddons_global.h"
#include <QPainter>
#include <QPoint>
#include <QColor>
#include <logging/logger.h>
#include "qglyphs.h"
namespace QtAddons {
class QTADDONSSHARED_EXPORT QMarker
{
kipl::logging::Logger logger;
public:
QMarker();
QMarker(ePlotGlyph g, QPo... |
/* 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[2];
atomic_int atom_1_r1_1;
atomic_int atom_1_r4_0;
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 1, memo... |
/*
* 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... |
#include <linux/ceph/types.h>
#include <linux/module.h>
/*
* Robert Jenkin's hash function.
* http://burtleburtle.net/bob/hash/evahash.html
* This is in the public domain.
*/
#define mix(a, b, c) \
do { \
a = a - b; a = a - c; a = a ^ (c >> 13); \
b = b - c; b = b - a; b = b ^ (a << 8); \
c ... |
/* pgmbentley.c - read a portable graymap and smear it according to brightness
**
** Copyright (C) 1990 by Wilson Bent (whb@hoh-2.att.com)
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright ... |
#include <stdio.h>
void foo(void)
{
int i;
printf("%d\n",i);
i = 777;
}
int main(void)
{
foo();
printf("hello\n");
foo();
return 0;
}
|
/*
* bsp_fcgi.h
*
* Copyright (C) 2014 - Dr.NP
*
* 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 later version.
*
* This prog... |
#include <stdlib.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#define F_CPU 16000000UL
#include <util/delay.h>
#include "usbbuf.h"
#include "lcd.h"
int main(void)
{
lcd_init(LCD_DISP_ON);
lcd_clrscr();
usbBufInit();
//enable global interrupts
sei();
usb_puts_P("Hallo, ... |
/**
* RobotQt - Robot Simulation
* Copyright (C) 2010 Felipe Ferreri Tonello
*
* This file is part of RobotQt.
*
* RobotQt 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 Licens... |
/*=========================================================================
Program: ParaView
Module: vtkSMObject.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 WITHOUT ANY WARRANTY; wit... |
/*Вариант2 Задание1 Багаев */
#include<stdio.h>
#include<math.h>
#include <time.h>
#define SIZE 10
void my_func(int A[SIZE]);
int generate();
int A[SIZE];
int main()
{
generate();
printf("\n");
my_func(A);
printf("\n");
return 1;
}
int generate()
{
int i;
srand(time(NULL));
for(i=0... |
#pragma once
#include <string>
#include <ctime>
#include <memory>
#include <vector>
#include "ai_config.h"
#include "authorized_users.h"
#include "listeners/Listener.h"
// TODO update Biicode config
//#include "network_io.h"
#include "cyrillrx/cross_api/src/network_io.h"
#include "network_io/server_config.h"
class ... |
/*
* Copyright 2013 Tilera Corporation. All Rights Reserved.
*
* 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 2.
*
* This program is distributed in the hope that it will ... |
#ifndef D0VZ_H
#define D0VZ_H
#define PROGNAME "d0vz"
#define VZ_SPOOLFMT "%s%llu_%s_%s"
//#define DEBUG
#ifdef DEBUG
#define DPRINT(format, args...) printf("%s: "format"\n", __FUNCTION__, ##args)
#else
#define DPRINT(format, args...) do { /* nothing */ } while (0)
#endif
struct port_t {
char *path;
pid_t pid; //... |
/**
* This file is part of the "clip" project
* Copyright (c) 2018 Paul Asmuth
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the ... |
/*
Unix SMB/CIFS implementation.
Copyright (C) Ralph Boehme 2014
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 vers... |
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011- Statoil ASA
// Copyright (C) 2013- Ceetron Solutions AS
// Copyright (C) 2011-2012 Ceetron AS
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GN... |
#include <stdio.h>
#include <dis.h>
#include <dic.h>
char str[10][80];
void rout( tag, buf, size )
char *buf;
int *tag, *size;
{
printf("%s Received for Server %d\n", buf, *tag);
}
main(argc,argv)
int argc;
char **argv;
{
char aux[80];
int n;
sscanf(argv[1], "%d", &n);
sprintf(aux,"TEST_SL... |
#ifndef _mggencc0nf
#define _mggencc0nf
// #define REST_SIMPLE
#endif |
/*
Safe Ramdisk:
A simple Windows driver to emulate a FAT32 formatted disk drive
backed by paged memory in the Windows kernel.
Copyright (C) 2014 Rian Hunter <rian@alum.mit.edu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... |
#ifndef RUNNER_H
#define RUNNER_H
#include <QObject>
namespace CorpusAnalyser
{
class Runner : public QObject
{
Q_OBJECT
public:
explicit Runner(QObject *parent = 0);
void Update(const int& updateType, const QString& message);
signals:
void update(const int& updateType, const QString& message);
pub... |
#ifndef VIDEO_H
#define VIDEO_H
#include "image.h"
/* Video data structure
DELAY_HI, DELAY_LO
RESERVED
RESERVED
FRAME_COUNT_HI, FRAME_COUNT_LO
TABLE_ENTRY_HI, TABLE_ENTRY_M1, TABLE_ENTRY_M2, TABLE_ENTRY_LO
...
IMAGE_DATA
...
*/
enum VideoDisposeMethod {
VIDEO_REDRAW,
};
enum VideoCompressionMethod {
VIDE... |
/*
* Copyright (C) 2017 Riccardo De Benedictis <riccardo.debenedictis@istc.cnr.it>
*
* 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) ... |
/*
* || ____ _ __
* +------+ / __ )(_) /_______________ _____ ___
* | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \
* +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/
* || || /_____/_/\__/\___/_/ \__,_/ /___/\___/
*
* Crazyflie control firmware
*
* Copyright (C) 2015... |
/*
* Copyright 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and t... |
/**********************************************************
* Version $Id$
*********************************************************/
///////////////////////////////////////////////////////////
// //
// SAGA //
// ... |
/*
This file is part of Desperion.
Copyright 2010, 2011 LittleScaraby, Nekkro
Desperion 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 is an abstract base class for varies of works.
*/
#ifndef WORKBASE_H
#define WORKBASE_H
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "core_lib.h"
#include <QDebug>
namespace CAIGA {
class WorkBase
{
public:
enum WorkTypes {Raw, AptBilateralFilter, Binaryzation, BoxF... |
/* 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 can obtain one at http://mozilla.org/MPL/2.0/. */
#include "blaze.h"
#include <stdarg.h>
#include <ctype.h>
int errors=0, warnings=0;
static void find_line(const ... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* This file is part of the libetonyek project.
*
* 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 can obtain one at http://mozill... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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 can obtain one at http://mozilla.org/MPL/2.0... |
#include <deai/deai.h>
#include <deai/helper.h>
#include <assert.h>
#include "common.h"
DEAI_PLUGIN_ENTRY_POINT(di) {
auto object = di_new_object_with_type(struct di_object);
auto handler = di_new_object_with_type(struct di_object);
auto listen_handle = di_listen_to(object, di_string_borrow("some_event"), handler... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... |
/* This code is subject to the terms of the Mozilla Public License, v.2.0. http://mozilla.org/MPL/2.0/. */
#pragma once
#include "File.h"
#include <fstream>
#include <functional>
#include <sstream> // for now
#include <utility>
class StateSaver
{
public:
StateSaver(std::string filename)
: _filename(std::move(filen... |
/*
* Embedded Radio Tracker
*
* Copyright (C) 2017 Mikael Nousiainen
*
* 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 can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef __ERT_GPS_LISTENER_H
#define ... |
#if 0
''' '
#endif
#ifdef __cplusplus
template <typename T>
using MaybeUninit = T;
#endif
#if 0
' '''
#endif
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
typedef struct NotReprC______i32 NotReprC______i32;
typedef struct NotReprC______i32 Foo;
typedef struct MyStruct {
const... |
/*-------------------------------------------------------------------------
*
* qualify_sequence_stmt.c
* Functions specialized in fully qualifying all sequence statements. These
* functions are dispatched from qualify.c
*
* Fully qualifying sequence statements consists of adding the schema name
* to the... |
#ifndef OpenKAI_src_Primitive_vFloat4_H_
#define OpenKAI_src_Primitive_vFloat4_H_
#include "vFloat2.h"
#include "vFloat3.h"
namespace kai
{
struct vFloat4
{
float x;
float y;
float z;
float w;
void init(void)
{
x = 0.0;
y = 0.0;
z = 0.0;
w = 0.0;
}
void init(float v)
{
... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.4.0/38413-g40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
*/
#include "NGAP_RATRestrictionInformation.h"
int... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.4.0/38413-g40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
*/
#include "NGAP_WarningAreaCoordinates.h"
int
NG... |
/*------------------------------------------------------------------
* wmemcmp_s.c - Compares memory
*
* September 2014, D. Wheeler
*
* Copyright (c) 2014 Intel Corp
* All rights reserved.
*
* Based on memcmp32_s.c, October 2008, by Bo Berry
*
* Permission is hereby granted, free of charge, to any person
* o... |
/*
* Copyright (c) 2007-2010 Digital Bazaar, Inc. All rights reserved.
*/
#ifndef bitmunk_bfp_BfpModule_H
#define bitmunk_bfp_BfpModule_H
#include "bitmunk/node/BitmunkModule.h"
#include "bitmunk/bfp/IBfpModule.h"
// module logging category
extern monarch::logging::Category* BM_BFP_CAT;
namespace bitmunk
{
namespa... |
/**
******************************************************************************
* @file LCD_DSI/LCD_DSI_CmdMode_SingleBuffer/Inc/stm32f4xx_it.h
* @author MCD Application Team
* @version V1.0.3
* @date 29-January-2016
* @brief This file contains the headers of the interrupt handlers.
**... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "../support/ngap-r16.4.0/38413-g40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER`
*/
#ifndef _NGAP_MobilityInformation_H_
#define _NG... |
/*********************************************************************************
*
* This file is part of ZelosOnline.
*
* ZelosOnline is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either vers... |
#ifndef SERVER_SYS_LOGGING_H_
#define SERVER_SYS_LOGGING_H_
#include "util/sstring.h"
enum LogSeverity {
LOG_SILENT = -2, // Log is recoreded but not echoed to immortals (anti-spam)
LOG_NONE = -1, // Empty
LOG_MISC = 0, // Anything not yet defined below
LOG_LOW = 1, // LOW Errors
LOG_FILE = ... |
/*
** $Id: lctype.h,v 1.12.1.1 2013/04/12 18:48:47 roberto Exp $
** 'ctype' functions for Lua
** See Copyright Notice in lua.h
*/
#ifndef lctype_h
#define lctype_h
#include "lua.h"
/*
** WARNING: the functions defined here do not necessarily correspond
** to the similar functions in the standard C ctype.h. They are
**... |
//
// Copyright 2010-2015 Jacob Dawid <jacob@omg-it.works>
//
// This file is part of QtWebServer.
//
// QtWebServer is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License,... |
#include <stdio.h>
#include "../include/libsimplelog_level.h"
#define LOG_LEVEL LOG_LEVEL_DEBUG
#include "../include/libsimplelog.h"
int main() {
LogSetLevel(NULL, Info);
LogTrace("This should compile away");
LogDebug("This should not show");
LogInfo("This should show on stderr");
LogSetOutputFile(NULL, stdout);... |
/**
* Copyright 2016 The Open Source Research Group,
* University of Erlangen-Nürnberg
*
* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gn... |
// This file is part of the HörTech Open Master Hearing Aid (openMHA)
// Copyright © 2005 2013 2016 2017 2018 HörTech gGmbH
//
// openMHA is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, version 3 of t... |
/*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGP... |
/*
* Copyright (C) 2010, 2013 Red Hat, Inc.
* Copyright IBM Corp. 2008
*
* lxc_conf.h: header file for linux container config functions
*
* 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 Software Found... |
/*!
* \file DGColumnHeatDispersion.h
* \brief Discontinous Galerkin kernel for energy dispersion in a fixed-bed column
* \details This file creates a discontinous Galerkin kernel for the dispersive heat transfer in a fixed-bed column.
* The dispersion portion of the energy transport equations involves the therma... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** N... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... |
/*
* Copyright (C) 2017 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @{
*
* @file
* @brief Implements various POSIX syscalls
* @author Martine Len... |
/**********************************************************************
* $Id: PolygonizeDirectedEdge.h 1820 2006-09-06 16:54:23Z mloskot $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* Th... |
/*
* lxc: linux Container library
*
* Authors:
* Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
*
* 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 Software Foundation; either
* version 2.1 of the License... |
/*
Copyright (C) 2012 Fredrik Johansson
This file is part of Arb.
Arb is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) ... |
#include <bonobo/bonobo-main.h>
#include <stdlib.h>
#include <libebook/e-book.h>
int
main (int argc, char **argv)
{
EContact *contact;
EContactDate date, *dp;
if (bonobo_init (&argc, argv) == FALSE)
g_error ("Could not initialize Bonobo");
contact = e_contact_new ();
date.year = 1999;
date.month = 3;
date.... |
#pragma once
#include <string>
#include <map>
#include "StatefulFeatureFunction.h"
#include "FFState.h"
#include "moses/Phrase.h"
namespace Moses
{
enum ControlRecombinationType {
// when to recombine
SameOutput = 1,
Never = 2
};
class ControlRecombination;
class ControlRecombinationState : public FFState
{
p... |
#include <stdio.h>
#include <stdlib.h>
#include "enemy.h"
#include "util.h"
#define COLOR_MAGENTA "\033[35m" /* Magenta */
#define COLOR_RESET "\033[0m"
void Enemy_Init(Enemy* e)
{
e->heading = e->distance = 0;
e->alive = false;
Torpedo_Init(&e->torpedo);
}
void Enemy_Spawn(Enemy* e)
{
e->heading = (r... |
/***************************************************************************
* Copyright (C) 2003 by Hans Karlsson *
* karlsson.h@home.se *
* *
* This ... |
/*---------------------------------------------------------------------------*\
* OpenSG *
* *
* *
* ... |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of th... |
/*
Copyright (C) 2020 Fredrik Johansson
This file is part of Arb.
Arb is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) ... |
/**
* @file dynrng.h
* A/52 Dynamic Range Compression header
*/
#ifndef DYNRNG_H
#define DYNRNG_H
#include "common.h"
#include "a52.h"
#if 0
void a52_dynrng_init(void);
#endif
int a52_dynrng_calc_block(double *samples[A52_MAX_CHANNELS], int num_ch,
int dialnorm, DynRngProfile profile)... |
/*
* Copyright (C) 2007 Tommi Maekitalo
*
* 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 Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* As a spec... |
/*******************************************************************************
* File Name: scsi_data.c
*******************************************************************************/
#include "usb_scsi.h"
#include "memory.h"
u8 Page00_Inquiry_Data[] =
{
0x00, // PERIPHERAL QUALIFIER & PERIPHERAL DEV... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Co... |
/*
Copyright (C) 2001,2002,2005 Dmitry V. Levin <ldv@altlinux.org>
A privileged helper for utmp/wtmp updates.
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 Software Foundation; either
version 2.1 ... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQml module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... |
/*
Copyright (C) 2001-2008 Ulric Eriksson <ulric@siag.nu>
This library 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 2 of the Licence, or (at your option) any later versi... |
/*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup inria_industry_demo
* @{
*
* @file udp.h
* @brief INRIA-Ind... |
/*
* LFC Library - Linux toolkit
*
* Copyright (C) 2012, 2013 Daniel Mosquera Villanueva
* (milkatoffeecuco@gmail.com)
* This file is part of LFC Library.
*
* 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... |
/*
© 2011 CloudSixteen.com do not share, re-distribute or modify
this file without the permission of its owner(s).
*/
#ifndef CPHYSJOINT_H
#define CPHYSJOINT_H
#include <ClanLib/core.h>
#include <Box2D/Box2D.h>
#include "CPhysBody.h"
#include "Lua.h"
class CPhysJoint
{
public:
static void LuaBind(luabind::object&... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** N... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2014 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser... |
/* -*- c-basic-offset: 2 -*- */
/*
Copyright(C) 2009-2018 Brazil
Copyright(C) 2020 Sutou Kouhei <kou@clear-code.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
... |
/*
* 1394-Based Digital Camera Control Library
*
* Written by Damien Douxchamps <ddouxchamps@users.sf.net>
*
* 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 Software Foundation; either
* versi... |
/***********************************************************************
*
* This file is part of Anthaxia.
*
* Anthaxia 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, ... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 Foundation, either version 3 of the License, or
(at your option) any later v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 Foundation, either version 3 of the License, or
(at your option) any later v... |
// Created file "Lib\src\ehstorguids\guids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.