text stringlengths 4 6.14k |
|---|
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: core/CDebugView.h
* PURPOSE: Header file for debug view class
*
* Multi Theft Auto is available from http://ww... |
#include <stdio.h>
#include <math.h>
double w=-2.0/3.0;
void point(double Qx, double Qy, double Qz, double vx, double vy, double vz, double bx, double by, double bz)
{
double Q[3];
double v[3],b[3];
double rn[3];
double fv[3];
double fb[3];
double vv[3][3];
double vb[3][3];
double bv[3][3];
double bb[3][3];
double ... |
#ifndef _SERVERPROXY_H_INCLUDED
#define _SERVERPROXY_H_INCLUDED
#include <Sensoria.h>
#include <SensoriaCore/Communicator.h>
//~ #include <SensoriaCore/Server.h>
class TransducerProxy;
class SensorProxy;
class ActuatorProxy;
class Stereotype;
class ServerProxy {
public:
char name[MAX_SERVER_NAME];
byte protocolV... |
#include "gsl_gsl_math.h"
#include "gsl_gsl_cblas.h"
#include "cblas_cblas.h"
void
cblas_srotg (float *a, float *b, float *c, float *s)
{
#define BASE float
#include "cblas_source_rotg.h"
#undef BASE
}
|
/*
* 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`
*/
#ifndef _NGAP_CauseMisc_H_
#define _NGAP_CauseMisc_H_
#include <asn_application.h>
/* Includin... |
#ifndef _PIT_C_
#define _PIT_C_
#include <stdint.h>
#include <stdbool.h>
extern bool pit_oneshot_done;
void prime_pit(uint32_t time);
void fire_pit();
void square_pit();
void oneshot_handler();
static inline bool is_oneshot_done()
{
return pit_oneshot_done;
}
#endif
|
static int
power_of_two(size_t n)
{
size_t k = 1;
while (1) {
if (n == k) return 1;
k *= 2;
if (n < k || k==0) break;
}
rb_raise(nary_eShapeError,"array size is not 2**n");
return 0;
}
static VALUE
wavelet_array_check(VALUE v1, int nd, size_t *size)
{
size_t n1, n2;
... |
/* tmpl-template-locator.c
*
* Copyright (C) 2016 Christian Hergert <chergert@redhat.com>
*
* This file 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... |
/*
* Copyright 2011 Anand Bose <anandbose@in.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
* (at your option) any later version.
*
* This pro... |
/**
* Copyright 2010-2015 Cenan Ozen <betik@cenanozen.com>
* This file is part of Betik.
*
* Betik 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) ... |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class MyNewString */
#ifndef _Included_MyNewString
#define _Included_MyNewString
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: MyNewString
* Method: getString
* Signature: ([CI)Ljava/lang/String;
*/
JNIEXPORT jstring J... |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "common.h"
#include "gfx.h"
#include "conf.h"
//tokens must be array or pre-allocated pointer
int conf_parse(const char* data, conftok_t* token){
int len;
len = data[0];
token->townname = calloc(len+1, 1); //1 = '\0'
sprintf(t... |
/*
* This file is part of game.
*
* game 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.
* game is distributed in the hope th... |
#include <dlfree/dlfree.h>
#include <dlfree/gxp.h>
#include <stdio.h>
#include <stdlib.h>
#include "collective.h"
static void
myabort(char** argv, const char *msg){
fprintf(stderr, "%s\n", msg);
fprintf(stderr, "usage: %s <xml> <msg size[MB]> [<iter:10> [<seed:1>]]\n", argv[0]);
exit(1);
}
static void
parseopt(... |
/* 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];
void *t0(void *arg){
label_1:;
atomic_store_explicit(&vars[0], 2, memory_order_seq_cst);
atomic_store_explicit(&vars[... |
/*
* Copyright 2014 Christopher Nilsen
*
* 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 d... |
/* Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
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.
... |
#include "motor.h"
#include "pwm.h"
void MOTOR_Init(){
GPIO_InitTypeDef GPIO_InitStruct;
// GPIO Ports Clock Enable
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
// Configure GPIO pin : PB6 PB7 PB3
GPIO_InitStruct.Pin = MOTOR_R_IN1|MOTOR_R_IN2|MOTOR_L_IN1;
GPIO_InitStruct.Mo... |
#pragma once
#include <sys/cdefs.h>
#include <stddef.h>
__BEGIN_DECLS
struct lconv {
char *currency_symbol;
char *decimal_point;
char frac_digits;
char *grouping;
char *int_curr_symbol;
char int_frac_digits;
char int_n_cs_precedes;
char int_n_sep_by_space;
char int_n_sign_pos... |
/*
Copyright (C) 2012-2014 AC SOFTWARE SP. Z O.O.
(p.zygmunt@acsoftware.pl)
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 versi... |
/*
* UI.h
*
* Created on: May 10, 2014
* Author: seregia
*/
#ifndef PAGEINDEX_H_
#define PAGEINDEX_H_
#include <stdint.h>
#include <U8glib.h>
#include "PageBase.h"
#include "Utils.h"
class PageIndex : public PageBase
{
public:
PageIndex(IO& io, U8GLIB_PCF8812& u8gl);
virtual void DrawImpl(uint8_t unDraw... |
/*
* (C) 2003-2006 Gabest
* (C) 2006-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... |
/**
* @author Michele Tomaiuolo - http://www.ce.unipr.it/people/tomamic
* @license This software is free - http://www.gnu.org/licenses/gpl.html
*/
#ifndef POLYGON_H
#define POLYGON_H
#include "point.h"
#include <vector>
#include <iostream>
using namespace std;
class Polygon
{
public:
Polygon();
~Polygon... |
/*
This file is part of AutoQuad.
AutoQuad 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.
AutoQuad is distributed ... |
/*
This file is part of Mac Eve Tools.
Mac Eve Tools 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.
Mac Eve Tools is distributed i... |
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
printf("In exitTest . . .\n");
exit(1);
return 0;
}
|
// wake.h - originally written and placed in the public domain by Wei Dai
/// \file wake.h
/// \brief Classes for WAKE stream cipher
#ifndef CRYPTOPP_WAKE_H
#define CRYPTOPP_WAKE_H
#include "seckey.h"
#include "secblock.h"
#include "strciphr.h"
NAMESPACE_BEGIN(CryptoPP)
/// \class WAKE_OFB_Info
/// \brief WAKE str... |
//=============================================================================
// Copyright © 2015 Point Grey Research, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of
// Point Grey Research, Inc. ("Confidential Information"). You shall not
// disclose such Confidentia... |
/*
* Copyright (c) 2016 Maxime Ripard. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that... |
/* vsprintf with automatic memory allocation.
Copyright (C) 2002-2004 Free Software Foundation, Inc.
This program 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, or (at ... |
#include <stdio.h>
#define START_NUM 2
typedef unsigned long long Big;
Big get_factor(Big num)
{
Big cur;
for (cur = 2; cur < num; ++cur)
if (num % cur == 0)
return cur;
return 0;
}
int main()
{
Big num = 6321246989923;
if (Big factor = get_factor(num))
{
print... |
/*
* Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat 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 ve... |
#ifndef _FORMAL_PARAMETER_DATAMODEL_H_
#define _FORMAL_PARAMETER_DATAMODEL_H_
//TO_BE_EXPORTED
#include "bOS/bOS.h"
#include "bOS/bOSStringUtils.h"
using namespace bOS::CoreString;
#include "bOS/bOSXMLNode.h"
#include "bOS/bOSXMLObject.h"
#include "bOS/bOSStringUtils.h"
using namespace bOS::CoreString;
#include ... |
/*
Copyright (c) 2013 James McLean
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 dis... |
../../../linux-headers-3.0.0-12/include/linux/cpufreq.h |
#define _CRT_SECURE_NO_WARNINGS
#include <stdlib.h>
#include <string.h>
#include "ChessMoves.h"
// This is a hacky-horrible way of hard-coding a test case.
Game *testcase17(void)
{
int i;
char *moves[10];
Game *g = NULL;
i = 0;
moves[i++] = "1. d3 d6";
moves[i++] = "2. e3 e6";
moves[i++] = "3. f3 f6";
moves... |
//
// C++ Interface: IServerAdapter
//
// Description:
//
//
// Author: Erik Hjortsberg <erik.hjortsberg@gmail.com>, (C) 2006
//
// 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... |
//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose: Expose things from GameInterface.cpp. Mostly the engine interfaces.
//
// $NoKeywords: $
//=============================================================================
#ifndef GAMEINTERFACE_H
#define GAMEINTERFACE_H
#ifdef... |
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2011, Teo Mrnjavac <teo@kde.org>
*
* Tomahawk 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, ei... |
/*
* Copyright(C) 2011-2018 Pedro H. Penna <pedrohenriquepenna@gmail.com>
* 2016-2018 Davidson Francis <davidsondfgl@gmail.com>
*
* This file is part of Nanvix.
*
* Nanvix is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published ... |
/*
* 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 ... |
/***************************************************************************
* Copyright (C) 2011 by Hramchenko *
* v.hramchenko@gmail.com *
* *
* Thi... |
/*
* Copyright (C), 2000-2007 by the monit project group.
* 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, either version 3 of the License, or
* (at your option) a... |
/*
Copyright 2010 Alex Margarit <alex@alxm.org>
This file is part of Faur, a C video game framework.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3,
as published by the Free Software Foundation.
This program i... |
#ifndef __VGMMESHRENDERWAY_H__
#define __VGMMESHRENDERWAY_H__
#include <vgMesh/vgmDefinition.h>
#include <vgKernel/vgkForward.h>
#include <vgKernel/vgkRay.h>
#include <vgKernel/vgkSegment3.h>
#include <vgKernel/vgkRgbaQuad.h>
namespace vgMesh {
/**
@date 2008/07/17 15:06
@author leve... |
//
// C++ Interface: ModelMount
//
// Description:
//
//
// Author: Erik Ogenvik <erik@ogenvik.org>, (C) 2008
//
// 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 Licens... |
#pragma once
#include "defines.h"
typedef struct SList_tag
{
void* value;
struct SList_tag* prev;
struct SList_tag* next;
} SListElement;
typedef struct
{
uint32 size;
SListElement* first; /* head */
SListElement* last; /* tail */
} SList;
SList* ListCr... |
/***********************************************************************
HiSIM (Hiroshima University STARC IGFET Model)
Copyright (C) 2003 STARC
VERSION : HiSIM 1.2.0
FILE : hsm1mdel.c of HiSIM 1.2.0
April 9, 2003 : released by STARC Physical Design Group
*********************************************************... |
/*
* 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 Alessandro Muntoni (muntoni.alessandro@gmail.com)
*/
#ifndef CG3_DRAWABLE_SEGMENT2_H
#define CG3_DRAWABLE_SEGMENT2_H
#include <cg3/geometry/segment2.h>
#include "../ope... |
// Copyright (c) 2005,2006,2007,2008,2009,2010,2011 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 ... |
/* Glom
*
* Copyright (C) 2001-2004 Murray Cumming
*
* 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 p... |
//---------------------------------------------------------------------------
/*
Hometrainer, exercise and survey suite
Copyright (C) 2009-2015 Richel Bilderbeek
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 F... |
/* ide-device-info.h
*
* Copyright 2018 Christian Hergert <chergert@redhat.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 License, or
* (at your option) an... |
/*
Copyright (C) Cfengine AS
This file is part of Cfengine 3 - written and maintained by Cfengine AS.
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 is di... |
#ifndef __OPTIONS_H__
#define __OPTIONS_H__
#include "common.h"
#include <inttypes.h>
#include <stdbool.h>
typedef struct tca_address {
char *address_str;
uint16_t port;
} tca_address;
tca_address *allocate_tca_address(void);
void free_tca_address(void *t);
#define NUMBER_OF_ENDPOINTS 2
typedef struct tca_o... |
/*******************************************************************************#
# guvcview http://guvcview.sourceforge.net #
# #
# Paulo Assis <pj.assis@gmail.com> ... |
#ifndef FTRL_MODELUNIT_H
#define FTRL_MODELUNIT_H
#include <string>
#include <mutex>
#include <atomic>
/*struct ModelUnit{
std::atomic<double> w;
std::atomic<double> g;
std::atomic<double> s;
std::atomic<double> z;
std::atomic<double> n;
std::mutex mtx;
ModelUnit(double w_i,double g_i,double... |
/* fmemopen tests for BZ#1930 and BZ#20005.
Copyright (C) 2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 Fo... |
#ifndef STCARETVIEW_H
#define STCARETVIEW_H
#include <QGraphicsObject>
class STCaretView : public QGraphicsObject
{
Q_OBJECT
QSizeF m_size;
float m_oldFadeOpacity;
float m_newFadeOpacity;
unsigned int m_fadeDuration;
quint64 m_fadeStartTime;
int m_timer;
quint64 m_blankStartTime;
... |
// Copyright 2010 Jan Anlauff <jan at 23t.de>
//
// This file is part of Soldering Skaters Nokia Push Project.
//
// Soldering Skaters Nokia Push Project 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, eithe... |
/**
* Copyright (C) 2011 Eric Huang
*
* This file is part of rectpack.
*
* rectpack 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... |
/* newwordlexicon.hh
* author: Johan Carlberger
* last change: 2000-05-15
* comments: NewWordLexicon class
*/
#ifndef _newwordlexicon_hh
#define _newwordlexicon_hh
#include "newword.h"
#include "hashtable.h"
class NewWordLexicon : public HashTable<NewWord> {
public:
NewWordLexicon();
~NewWordLexicon();
New... |
/*
Copyright 2010-2012 Mark Boots, David Chevrier, and Darren Hunter.
Copyright 2013-2014 David Chevrier and Darren Hunter.
This file is part of the Acquaman Data Acquisition and Management framework ("Acquaman").
Acquaman is free software: you can redistribute it and/or modify
it under the terms of the GNU General P... |
/*
* linux/fs/nfs/iostat.h
*
* Declarations for NFS client per-mount statistics
*
* Copyright (C) 2005, 2006 Chuck Lever <cel@netapp.com>
*
*/
#ifndef _NFS_IOSTAT
#define _NFS_IOSTAT
#include <linux/percpu.h>
#include <linux/cache.h>
#include <linux/nfs_iostat.h>
struct nfs_iostats
{
unsigned long long by... |
//
// XmlParser.h
// JasperReportiOS
//
// Created by Martin Krasnočka on 5/11/13.
// Copyright (c) 2013 Digireport. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "org/oss/pdfreporter/xml/parsers/AbstractXmlParser.h"
@interface XmlParser : OrgOssPdfreporterXmlParsersAbstractXmlParser <NSXMLPa... |
/*
* Copyright (C) 2006-2009 Daniel Prevost <dprevost@photonsoftware.org>
*
* This file is part of Photon (photonsoftware.org).
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 or version 3 as published by the
* Free Software Foundation and appearing... |
/*
* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG 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 ... |
/*
* Sample program from
* Compiler Design in C
* Allen I. Holub
*
* Based on program: p. 21 - An improved parser
*/
/**============================================================================
** TEST = t11_cdiC_2_improved_parser.c
** SOURCE = file
** TESTSUITE = cdiC_programs
** TEST 1 = check... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
_Static_assert( (sizeof(size_t) == 8 ) , "Invalid `size_t` type size");
_Static_assert( (sizeof(long) == 8 ) , "Invalid `long` type size");
#define NOL 0UL
#define ONE 1UL
#define TEN 10UL
#define SIZE_T_MAX (~(size_t)0)
#define BSI ... |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
* categories.h
* Copyright (C) Thura Hlaing 2010 <trhura@gmail.com>
*
* rookie 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 Foundatio... |
/* Locale-specific memory comparison.
Copyright (C) 2002-2004, 2006, 2009-2018 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
the Free Software Foundation; either version 3 of the Lice... |
#ifndef __dovo_searchStatus__
#define __dovo_searchStatus__
/**
@file
Subclass of searchStatus, which is generated by wxFormBuilder.
*/
#include "gui.h"
//// end generated include
#include "dicomscanner.h"
#include <wx/timer.h>
/** Implementing searchStatus */
class dovo_searchStatus : public searchS... |
// XtraBYtes - The Proof of Signature Blocktech Superchain - http://xtrabytes.global
// Copyright (c) 2017, Zoltan Szabo. All rights reserved.
// Copyright (c) 2017, XtraBYtes Founders and Developers ( see AUTHORS )
// Licensed under GNU General Public License Version 3 or later (the "GPL")
// REDFAT Database - REdund... |
/*
* Copyright (C) 2012 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
#pragma once
#include "DrawCommon.h"
#include "CPlayerUIBase.h"
class CPlayerUI : public CPlayerUIBase
{
public:
CPlayerUI(UIData& ui_data, CWnd* pMainWnd);
~CPlayerUI();
//virtual void RButtonUp(CPoint point) override;
virtual void MouseMove(CPoint point) override;
//virtual void OnSizeRedraw(i... |
/* src/config.h. CHORDII config.h for Microsoft Windows. */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* #undef CRAY_STACKSEG_END */
/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */
/* D... |
/*
* 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 program is distributed in the hope that it will be useful,
... |
#pragma once
#include "core/Common.h"
#include "geometry/Mesh.h"
#include <filesystem/path.h>
#include <ostream>
#include <istream>
#include <memory>
namespace pbs {
class Cache {
public:
Cache(const filesystem::path &dir);
void clear();
void commit();
bool valid() const { return _valid; }
i... |
/* Grapheme cluster break property function.
Copyright (C) 2010-2014 Free Software Foundation, Inc.
Written by Ben Pfaff <blp@cs.stanford.edu>, 2010.
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 ... |
#include <stdio.h>
#include "RngStream.h"
// random generator state
typedef struct {
struct rng_state g;
double prev_normal;
} RndState;
typedef struct {
struct rng_jump j;
int e;
} RndJump;
int randomise_from(FILE *p, RndState *S);
int spawn_gen(RndState *S0, RndState *S1);
void InitRndState(RndState *S);
doub... |
/*
* 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... |
/* Optimized string comparison.
Copyright (C) 2001-2002, 2007, 2009-2016 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 Foundation; either version 3 of the Lice... |
/*
MzScheme
Copyright (c) 2004-2007 PLT Scheme Inc.
Copyright (c) 1995-2001 Matthew Flatt
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 License... |
/*
Copyright (C) 2016-18 Diego Darriba, Alexey Kozlov
This program 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, or (at your option) any later version.
This progra... |
/*
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 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 Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... |
/* log.c - Messaging routines.
*
* Copyright (C) 2017 Daniele Cattaneo
*
* 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 v... |
/* 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/. */
#pragma once
#include <cstdint>
#include <map>
#include <memory>
#include "nl_l3_interfaces.h"
extern "C" {
str... |
#pragma once
#include "../software_global.h"
#include "Color.h"
namespace paysages {
namespace software {
/**
* Abstract class for all cloud models (cirrus, cumulus...).
*/
class SOFTWARESHARED_EXPORT BaseCloudsModel {
public:
BaseCloudsModel(CloudLayerDefinition *layer);
virtual ~BaseCloudsModel();
... |
//
// Aspia Project
// Copyright (C) 2021 Dmitry Chapyshev <dmitry@aspia.ru>
//
// 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 lat... |
/* 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 mozilla_dom_MessagePortChild_h
#define mozilla_dom_MessagePortChild_h
#include "mozilla/Assertions.h"
#in... |
#ifndef SYSTEM_DYNALIB_DEFINE_H_
#define SYSTEM_DYNALIB_DEFINE_H_
// #define USER_FIRMWARE_IMAGE_SIZE 0x40000
// #define USER_FIRMWARE_IMAGE_LOCATION 0x80C0000
// #define MODULAR_FIRMWARE 1
// #define MODULE_VERSION 2
// #define MODULE_FUNCTION ... |
#ifndef ORZ_BASE_CONTROL_H_INCLUDED
#define ORZ_BASE_CONTROL_H_INCLUDED
#include "orz_base_math.h"
#include "orz_base_ui.h"
#define WRITER_DISTANCE 1000.0f
#define SPRITE_DISTANCE 500.0f
namespace Orz
{
//const long SHORT_SIGN_DELTA_TIME = 150;
//const long DOUBLE_CLICK_DELTA_TIME = 150;
// »ù´¡¿Ø¼þÀà - ´¿ÐéÀà
... |
#ifndef VersionInfoIdeInteractionH
#define VersionInfoIdeInteractionH
extern void PACKAGE __fastcall EnableVersionInfoInIDE(void);
#endif
|
{#-
# Jinja2 template for generating server header. for Legato APIs.
#
# Copyright (C) Sierra Wireless Inc.
#}
{% extends "TEMPLATE_header.h" %}
{%- block InterfaceHeader %}
{%- if args.async %}
//--------------------------------------------------------------------------------------------------
/**
* Command re... |
/*
* 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/.
*
* Copyright 2008-2015 MonetDB B.V.
*/
#ifndef _SEEN_GLOB_H
#define _SEEN_GLOB_H 1
char glob(const char *exp... |
/* This file is part of VoltDB.
* Copyright (C) 2008-2018 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* This program is free software: you can redistribute it and/or modi... |
#ifndef _CHARCODER_H_
#define _CHARCODER_H_
#include <string>
namespace restonce{
// encode every char to 16-step number's string
std::string encoder(const std::string& );
// decode from a 16-step number's string,
// if not hex, return front covert out
std::string decoder(const std::string& );
}
#endif // _CHAR... |
/*SPEL virtual machine
Copyright (C) 2016 Logan Streondj
This program 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, or
(at your option) any later version.
This program ... |
/* symbol: Constants and prototypes for symbol functions. */
#define T new_symbol("T")
#define NIL NULL
symbol *new_symbol (char *);
symbol *symbolic_equality (symbol *, symbol *);
symbol *symbol_p (value *);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.