text stringlengths 4 6.14k |
|---|
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
* 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,
* including without limitation the rights to use, copy, modify, merge,... |
#include <stdio.h>
#include <stdlib.h>
#include "quicksort.h"
int main(void){
int *arr = malloc(5 * sizeof(int));
int i;
if(arr == NULL)
return 1;
arr[0] = 10;
arr[1] = 2;
arr[2] = 1;
arr[3] = 30;
arr[4] = 25;
printf("Quick Sort\n");
printf("----------\n");
print... |
#ifndef _UNISTD_H
#define _UNISTD_H 1
/* This file intended to serve as a drop-in replacement for
* unistd.h on Windows
* Please add functionality as neeeded
*/
#include <stdlib.h>
#include <io.h>
//#include <getopt.h> /* getopt at: https://gist.github.com/ashelly/7776712 */
#include <process.h> /* for getp... |
// RedMon
// Copyright (c) 2014 Tiaan Louw
//
// 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, including without limitation the rights
// to use, copy, modify, me... |
//Display_Functions.h
/*
* Sets the display brightness depending on if the headlights are on
*
*/
void setBrightness() {
byte b = brightnessBoost;
if (digitalRead(pinLightsOn))
{
b = 2 * brightnessBoost;
pixelBrightness = int(0.5 * brightnessBoost);
if (debug == 1)
{
Serial... |
/* ------------------------------------------------------------------------- */
/* */
/* Copyright (c) 2006 The Open Group */
/* */
... |
/****************************************************************
*
* Copyright 2013, Big Switch Networks, Inc.
*
* Licensed under the Eclipse Public License, Version 1.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* ... |
/*
* uirrnetmk3.h - RRNET MK3 UI interface for MS-DOS.
*
* Written by
* Marco van den Heuvel <blackystardust68@yahoo.com>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under t... |
/*
* ircd-ratbox: A slightly useful ircd.
* m_help.c: Provides help information to a user/operator.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
* Copyright (C) 1996-2002 Hybrid Development Team
* Copyright (C) 2002-2005 ircd-ratbox development team
*
* This program is free so... |
/***************************************************************************
* TestBackup.h
*
* Sat Aug 12 14:01:01 2006
* Copyright 2006-2007 Chris Wilson
* Email chris-boxisource@qwirx.com
****************************************************************************/
/*
* This program is free so... |
/* drivers/misc/fsync_control.c
*
* Copyright 2012 Ezekeel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/init.h>
#include <linux/device.h>
#include <linux/miscd... |
/* $Id: xpseudo_asm_rvct.h,v 1.1.4.1 2011/10/24 09:35:18 sadanan Exp $ */
/*******************************************************************************
*
* (c) Copyright 2009 Xilinx, Inc. All rights reserved.
*
* This file contains confidential and proprietary information of Xilinx, Inc.
* and is protected under U.S... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType.h"
// <PrivateImplementationDetails>/$ArrayType$48
#pragma pack(push, tp, 1)
struct U24ArrayTypeU2448_t735
{
union
{
struct
{
union
... |
#ifndef __ARCH_I960_POSIX_TYPES_H
#define __ARCH_I960_POSIX_TYPES_H
/*
* This file is generally used by user-level software, so you need to
* be a little careful about namespace pollution etc. Also, we cannot
* assume GCC is being used.
*/
/* for i960, set all int's to short's, since m68k int is 2 bytes */
typed... |
/*
Copyright (C) 1999 Free Software Foundation, Inc.
Written by Thomas Bushnell, BSG.
This file is part of the GNU Hurd.
The GNU Hurd 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... |
/*
* Copyright (c) 2009, Code Aurora Forum. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... |
/* Copyright (C) 1993-2014 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 Foundation; either
version 2.1 of the ... |
/* Open a file by name. Stub version.
Copyright (C) 1991-2015 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... |
/*
*
* (C) COPYRIGHT ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU licence.
*
* A c... |
#ifndef MTX_MKVTOOLNIX_GUI_HEADER_EDITOR_TAB_H
#define MTX_MKVTOOLNIX_GUI_HEADER_EDITOR_TAB_H
#include "common/common_pch.h"
#include <QDateTime>
#include "common/qt_kax_analyzer.h"
#include "mkvtoolnix-gui/header_editor/page_model.h"
class QAction;
class QMenu;
namespace mtx { namespace gui { namespace HeaderEdit... |
#ifndef _TVIDEOCODECLIBMPEG2_H_
#define _TVIDEOCODECLIBMPEG2_H_
#include "TvideoCodec.h"
#include "libmpeg2/include/mpeg2.h"
class Tdll;
struct Textradata;
class TccDecoder;
class TvideoCodecLibmpeg2 : public TvideoCodecDec
{
private:
Tdll *dll;
uint32_t (*mpeg2_set_accel)(uint32_t accel);
m... |
#ifndef __ASMPARISC_AUXVEC_H
#define __ASMPARISC_AUXVEC_H
#endif
|
/*
* Copyright (c) 2009, 2011 Pekka Enberg
*
* This file is released under the 2-clause BSD license. Please refer to the
* file LICENSE for details.
*/
#include "runtime/sun_misc_Unsafe.h"
#include "jit/exception.h"
#include "arch/atomic.h"
#include "vm/reflection.h"
#include "vm/preload.h"
#include "vm/object.... |
/* $Id: bootstr.c,v 1.1.1.1 2007-05-25 06:50:19 bruce Exp $
* bootstr.c: Boot string/argument acquisition from the PROM.
*
* Copyright(C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
#include <linux/string.h>
#include <asm/oplib.h>
#include <asm/sun4prom.h>
#include <linux/init.h>
#define BARG_LEN 256
stati... |
/* guestfish - guest filesystem shell
* Copyright (C) 2010-2015 Red Hat 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 2 of the License, or
* (at your option) any la... |
/******************************************************************************/
/* Copyright (c) Crackerjack Project., 2007 */
/* */
/* This program is free software; you can redistribute it and/or modify ... |
/*
* Samsung Exynos5 SoC series Sensor driver
*
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef FIMC_IS_DEVIC... |
/*
* Copyright 2007, Intel Corporation
*
* This file is part of PowerTOP
*
* This program file 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 of the License.
*
* This program is distributed... |
#ifndef __LINUX_COMPILER_H
#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
#endif
/* GCC 4.1.[01] miscompiles __weak */
#ifdef __KERNEL__
# if __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ <= 1
# error Your version of gcc miscompiles the __weak directive
# endif
#endif... |
//
// RootTabBarController.h
// Seafood
//
// Created by btw on 14/12/9.
// Copyright (c) 2014年 beautyway. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 根标签栏控制器,一切普通签栏控制器都继承此类。
*/
@interface RootTabBarController : UITabBarController
@end
|
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.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 2 of the License, ... |
#ifndef __REG_BLE_EM_WPB_H_
#define __REG_BLE_EM_WPB_H_
#define REG_BLE_EM_WPB_SIZE 6
#define REG_BLE_EM_WPB_BASE_ADDR 0x80000
#endif // __REG_BLE_EM_WPB_H_
|
// Combined include file for esp8266
// Actually misnamed, as it also works for ESP32.
// ToDo: Figure out better name
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <user_interface.h>
#ifdef FREERTOS
#include <stdint.h>
#ifdef ESP32
#include <esp_common.h>
#else
#include <es... |
/***************************************************************************
z80daisy.h
Z80/180 daisy chaining support functions.
***************************************************************************/
#ifndef Z80DAISY_H
#define Z80DAISY_H
/* daisy-chain link */
struct z80_irq_daisy_ch... |
/*
*
Copyright (c) Eicon Networks, 2005.
*
This source file is supplied for the use with
Eicon Networks range of DIVA Server Adapters.
*
Eicon File Revision : 2.1
*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2017 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* 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
* ... |
/* -*- c-basic-offset: 8 -*-
FreeRDP: A Remote Desktop Protocol client.
Protocol services - Remote Applications Integrated Locally (RAIL)
Copyright (C) Marc-Andre Moreau <marcandre.moreau@gmail.com> 2009
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU ... |
/* Interpolation from a regular grid in 1-D.
January 2014 program of the month:
http://ahay.org/rsflog/index.php?/archives/373-Program-of-the-month-sfinttest1.html
*/
/*
Copyright (C) 2004 University of Texas at Austin
This program is free software; you can redistribute it and/or modify
it under the terms of t... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2013 Google, Inc
*/
#include <common.h>
#include <dm.h>
#include <fdtdec.h>
#include <spi.h>
#include <spi_flash.h>
#include <asm/state.h>
#include <dm/test.h>
#include <dm/util.h>
#include <test/ut.h>
/* Test that sandbox SPI flash works correctly */
static i... |
/****************************************************************************
** libebml : parse EBML files, see http://embl.sourceforge.net/
**
** <file/class description>
**
** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved.
**
** This file is part of libebml.
**
** This library is free software; you can ... |
/*
* viking -- GPS Data and Topo Analyzer, Explorer, and Manager
*
* Copyright (C) 2003-2005, Evan Battaglia <gtoevan@gmx.net>
* Copyright (C) 2013, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
* Copyright (C) 2015, Rob Norris <rw_norris@hotmail.com>
*
* This program is free software; you can redistribute i... |
#ifndef configure_file
#define configure_file
#define ASSCOMPRESSOR_Signature "AssCompressor"
/*==========================================================================*/
/*class netFetcher */
/*=================================================================... |
/*
d_modech.c
called when mode has just changed
Copyright (C) 1996-1997 Id Software, 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 2
of the License, or (at your option... |
/*
Copyright (C) 2001 Tensilica, Inc. All Rights Reserved.
Revised to support Tensilica processors and to improve overall performance
*/
/* Generated automatically by the program `genconfig'
from the machine description file `md'. */
#define MAX_RECOG_OPERANDS 10
#define MAX_DUP_OPERANDS 2
#ifnd... |
/*
* Low-Level PCI Support for PC
*
* (c) 1999--2000 Martin Mares <mj@ucw.cz>
*/
#include <linux/sched.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <asm/acpi.h>
#include <asm/segment.h>
#include <asm/io.h>
#include <asm/smp.h>
#include "pci.h"
#ifdef CONFIG_PCI_BIOS
exter... |
/* @(#)defaults.h 1.25 13/02/14 joerg */
/*
* Header file defaults.h - assorted default values for character strings in
* the volume descriptor.
*
* Copyright (c) 1999-2013 J. Schilling
*/
#define PREPARER_DEFAULT NULL
#define PUBLISHER_DEFAULT NULL
#ifndef APPID_DEFAULT
#ifdef APPLE_HYB
#define APPID_DEFAULT ... |
/* arch/arm/mach-msm/include/mach/memory.h
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2009-2012, The Linux Foundation. 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, dist... |
/**
* @file
*
* @ingroup mpc55xx
*
* @brief BSP startup code.
*/
/*
* Copyright (c) 2008-2013 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Dornierstr. 4
* 82178 Puchheim
* Germany
* <rtems@embedded-brains.de>
*
* The license and distribution terms for this file may be
* f... |
/* ES40 emulator.
* Copyright (C) 2007-2008 by the ES40 Emulator Project
*
* WWW : http://www.es40.org
* E-mail : camiel@es40.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 Foundation; ei... |
/*
* PearPC
* sysvaccel.h
*
* Abstraction for video conversion function acceleration
*
* Copyright (C) 2004 Stefan Weyergraf
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.... |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@iahu.ca, http://lib... |
/* $USAGI: icmpv6.h,v 1.10 2001/05/06 23:52:50 yoshfuji Exp $ */
#ifndef _LINUX_ICMPV6_H
#define _LINUX_ICMPV6_H
#include <asm/byteorder.h>
struct icmp6hdr {
__u8 icmp6_type;
__u8 icmp6_code;
__u16 icmp6_cksum;
union {
__u32 un_data32[1];
__u16 un_data16[2];
__u8 un_data8[4];
struct icmpv6_e... |
#ifndef _FS_CEPH_DEBUGFS_H
#define _FS_CEPH_DEBUGFS_H
#include "ceph_debug.h"
#include "types.h"
#define CEPH_DEFINE_SHOW_FUNC(name) \
static int name##_open(struct inode *inode, struct file *file) \
{ \
struct seq_file *sf; \
int ret; \
\
ret = single_open(file, name, ... |
//--------------------------------------------------------------------------
// Copyright (C) 2014-2015 Cisco and/or its affiliates. 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 Version 2 as published
// by the Fr... |
/*****************************************************************************\
* opt.h - definitions for sattach option processing
* $Id$
*****************************************************************************
* Copyright (C) 2002-2006 The Regents of the University of California.
* Produced at Lawrence ... |
/*-
* BSD LICENSE
*
* Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* 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 ... |
/* cpuid.c
*
* Copyright (C) 2006-2021 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL 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)... |
/* Copyright 2013 David Axmark
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
/*
*
* debugger.c
*
* (C)2006 by Friedrich Gräter
*
* This file is distributed under the terms of
* the GNU General Public License, Version 2. You
* should have received a copy of this license (e.g. in
* the file 'copying').
*
* Debugger initialization
*
*/
#include <hydrixos/types.h>
#include <hydrixo... |
#pragma once
#include <libethereum/Executive.h>
#include "DebugFace.h"
namespace dev
{
namespace eth
{
class Client;
}
namespace rpc
{
class SessionManager;
class Debug: public DebugFace
{
public:
explicit Debug(eth::Client const& _eth);
virtual RPCModules implementedModules() const override
{
return RPCModu... |
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... |
#ifndef __LINUX_PM_H
#define __LINUX_PM_H
struct device;
typedef struct pm_message {
int event;
} pm_message_t;
#define PM_EVENT_INVALID (-1)
#define PM_EVENT_ON 0x0000
#define PM_EVENT_FREEZE 0x0001
#define PM_EVENT_SUSPEND 0x0002
#define PM_EVENT_HIBERNATE 0x0004
#define PM_EVENT_QUIESCE 0x0008
#define PM_EVENT... |
#include <linux/smp.h>
#include <linux/timex.h>
#include <linux/string.h>
#include <linux/seq_file.h>
#include <linux/cpufreq.h>
#include <linux/sched.h>
/*
* Get CPU information for use by the procfs.
*/
static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c,
unsigned int cpu)
{
#ifdef CON... |
/* mySQL I/O routines for GTimeTracker
* Copyright (C) 2001 Thomas Langaas <tlan@initio.no>
*
* 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
... |
/*
* statdb_dump.c -- dump contents of statd's monitor DB
*
* Copyright (C) 2010 Red Hat, Jeff Layton <jlayton@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 versio... |
/*
* Interface.h
*
* Created on: 2008-12-28
* Author: victor
*/
#ifndef INTERFACE_H_
#define INTERFACE_H_
#include <map>
#include <string>
using namespace std;
namespace InfoDTV
{
namespace DynamicBuilder
{
namespace FileBuilder
{
class ITSBuilder
{
public:
map<string,unsigned short> F... |
///=============================================================================
/// itoa.h - A C++ header to implement itoa()
/// Created: 11 Feb 2015 5:08:51pm
/// Author: Jeff-Russ
///=============================================================================
#pragma once
#include <iostream>
using name... |
/* This file is part of the KDE project
Copyright (C) 2002-2004 Ariya Hidayat <ariya@kde.org>
(C) 2002-2003 Norbert Andres <nandres@web.de>
(C) 2000-2003 Laurent Montel <montel@kde.org>
(C) 2002 John Dailey <dailey@vt.edu>
(C) 2002 Philipp Mueller <philipp.mueller@... |
#ifndef Py_FILEUTILS_H
#define Py_FILEUTILS_H
#ifdef __cplusplus
extern "C" {
#endif
PyAPI_FUNC(wchar_t *) _Py_char2wchar(
const char *arg,
size_t *size);
PyAPI_FUNC(char*) _Py_wchar2char(
const wchar_t *text,
size_t *error_pos);
#if defined(HAVE_STAT) && !defined(MS_WINDOWS)
PyAPI_F... |
/*
This file is part of Darling.
Copyright (C) 2019 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... |
/*
Copyright (C) 2015 Matthew Lai
Giraffe 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.
Giraffe is distributed in the hope that it... |
/* these are just in a sereate file to make it easier to merge into
* the stock tkWm.c */
void TkWmSetWmProtocols _ANSI_ARGS_((
TkWindow *winPtr
));
void TkWmProtocolEventProc _ANSI_ARGS_((
TkWindow *winPtr,
XEvent *eventPtr
));
int WmProtocolCmd _ANSI_ARGS_((
Tcl_Interp *interp,
char **CmdPtr,
... |
// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com>
//
// 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, including without limitation the rights
// to use, cop... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2014-2015 - Jean-André Santoni
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* 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, ... |
/* rc5.h */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.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 Foundation, either version 3 of th... |
/*
* Copyright (C) 2006,2007 Christoph Sommer <christoph.sommer@informatik.uni-erlangen.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 2 of the License, or
* (at... |
#ifdef TI83P
# include <ti83pdefs.h>
# include <ti83p.h>
unsigned char IBounds(unsigned char x, unsigned char y) __naked
{
x; y;
__asm
push iy
push bc
push hl
ld iy,#flags___dw
ld hl,#8
add hl,sp
ld b,(hl)
inc hl
ld c,(hl)
BCALL(_IBounds___db)
pop hl
pop bc
pop iy
ld l,#1
ret c
dec l
ret
__endasm;
}
#endif
|
/*****************************************************************
*
* This file is part of the FLIRTLib project
*
* FLIRTLib Copyright (c) 2010 Gian Diego Tipaldi and Kai O. Arras
*
* This software is licensed under the "Creative Commons
* License (Attribution-NonCommercial-ShareAlike 3.0)"
* and is copyrig... |
/***********************************/
/* Theta neuron simulation library */
/***********************************/
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#include<gsl/gsl_rng.h>
#include<gsl/gsl_randist.h>
#include<ctype.h>
#include<limits.h>
/* Additional libraries (custom libraries)... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... |
/*
*********************************************************************************************************
*
* Ä£¿éÃû³Æ : ´°¿Ú¿´ÃŹ·³ÌÐòÍ·Îļþ
* ÎļþÃû³Æ : bsp_wwdg.h
* °æ ±¾ : V1.0
* ˵ Ã÷ : IWDGÀý³Ì¡£
* Ð޸ļǼ :
* °æ±¾ºÅ ÈÕÆÚ ×÷Õß ËµÃ÷
* v1.... |
/*
* Broadcom Proprietary and Confidential. Copyright 2016 Broadcom
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* writt... |
// Copyright 2010 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_CIRCULAR_QUEUE_H_
#define V8_CIRCULAR_QUEUE_H_
#include "atomicops.h"
#include "v8globals.h"
namespace v8 {
namespace internal {
// Lock-... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
#include <crypto/aes128.h>
#include <string.h>
#include <printf.h>
#include <util.h>
uint8_t kek[16] = {
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F
};
uint8_t crypt[24] = {
0x1F,0xA6,0x8B,0x0A,0x81,0x12,0xB4,0x47,
0xAE,0xF3,0x4B,0xD8,0xFB,0x5A,0x7B,0x82,
0x9D,0x3E,0x86,0x23,... |
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: mods/shared_logic/lua/CLuaMain.h
* PURPOSE: Lua virtual machine container class
*
* Multi Theft Auto is available fro... |
#ifndef MANTID_KERNEL_CACHE_H_
#define MANTID_KERNEL_CACHE_H_
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include <map>
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/MultiThreaded.h"
#includ... |
// ADOBE SYSTEMS INCORPORATED
// Copyright 1993 - 2002 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this
// file in accordance with the terms of the Adobe license agreement
// accompanying it. If you have received this file from a source
// other t... |
/**
******************************************************************************
* @file Camera/Camera_To_USBDisk/Inc/USBH_conf.h
* @author MCD Application Team
* @version V1.5.0
* @date 17-February-2017
* @brief General low level driver configuration
************************************... |
#pragma once
#undef USE_SETMODE
#undef USE_FDOPEN
|
/* -*- c++ -*- */
/*
* Copyright 2008-2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 o... |
/*
* Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2005-2012 MaNGOS <http://www.getmangos.com/>
* Copyright (C) 2008-2012 Trinity <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 ScriptDev2 <http://http://www.scriptdev2.com/>
*
* This program is free software; you... |
/*
Unix SMB/CIFS implementation.
ID Mapping
Copyright (C) Simo Sorce 2003
Copyright (C) Jeremy Allison 2006
Copyright (C) Michael Adam 2010
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 Softwar... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... |
///////////// Copyright © 2008 LodleNet. All rights reserved. /////////////
//
// Project : Server (GES)
// File : npc_scientist.h
// Description :
// [TODO: Write the purpose of npc_scientist.h.]
//
// Created On: 12/27/2008 1:53:29 PM
// Created By: Mark Chandler <mailto:admin@lodle.net>
///... |
/* -*- mode: C; c-basic-offset: 2; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2009-2011 Tiger Soldier
*
* This file is part of OSD Lyrics.
* OSD Lyrics 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... |
//
// netconfig.h
//
// Circle - A C++ bare metal environment for Raspberry Pi
// Copyright (C) 2015 R. Stange <rsta2@o2online.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 ... |
/***************************************************************************
begin : Wed Apr 14 2010
copyright : (C) 2010 by Martin Preuss
email : martin@aqbanking.de
***************************************************************************
* This file is part of the project "AqBanking". ... |
/* -*- c++ -*-
* Copyright (C) 2007-2016 Hypertable, Inc.
*
* This file is part of Hypertable.
*
* Hypertable 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 any l... |
/*
* SaveLoadException.h
*
* Created on: Mar 29, 2012
* Author: Simon
*/
#ifndef SAVELOADEXCEPTION_H_
#define SAVELOADEXCEPTION_H_
#include <string>
#include <exception>
using namespace std;
struct GameModelException: public exception {
string message;
public:
GameModelException(string message_): messag... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.