text stringlengths 4 6.14k |
|---|
#ifndef __NETIF_ETHERNETIF_H__
#define __NETIF_ETHERNETIF_H__
//#include "lwip/netif.h"
#include <rtthread.h>
#define NIOCTL_GADDR 0x01
#define ETHERNET_MTU 1500
#if 0
struct pbuf
{
rt_uint16_t len;
};
struct eth_device
{
/* inherit from rt_device */
struct rt_device parent;
//struct eth_addr *ethaddr;
//... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2015 Advanced Micro Devices, Inc.
* Copyright (C) 2015 Intel Corp.
*
* 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; ver... |
/*
* LCD panel driver for Sharp LQ043T1DG01
*
* Copyright (C) 2009 Texas Instruments Inc
* Author: Vaibhav Hiremath <hvaibhav@ti.com>
*
* 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 Foun... |
/**
* @file
*/
/*
Copyright (C) 2002-2015 UFO: Alien Invasion.
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... |
// license:BSD-3-Clause
// copyright-holders:Curt Coder
#pragma once
#ifndef __COSMICOS__
#define __COSMICOS__
#include "emu.h"
#include "cpu/cosmac/cosmac.h"
#include "imagedev/cassette.h"
#include "machine/ram.h"
#include "imagedev/snapquik.h"
#include "machine/rescap.h"
#include "sound/cdp1864.h"
#include "sound/s... |
#ifndef __GL_UTILITY_H__
#define __GL_UTILITY_H__
#include "./common.h"
class GL_Utility
{
public:
static void polarview(float distance, float twist, float elevation, float azimuth);
static void reshape(int width, int height);
};
#endif |
#ifndef LIVELINESSDAO_H
#define LIVELINESSDAO_H
#include "AnalysisDao.h"
#include "Cluster.h"
#include "DBInfo.h"
using namespace spikestream;
namespace spikestream {
class LivelinessDao : public AnalysisDao {
public:
LivelinessDao(const DBInfo& dbInfo);
LivelinessDao();
virtual ~LivelinessDao();
vir... |
/* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2004 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: ./src/external/zlib-1.2.3/adler32.c, 2011/09/08 dcid Exp $
*/
#define ZLIB_INTERNAL
#include "zlib.h"
#define BASE 65521UL ... |
#include <linux/module.h>
#include <linux/rbtree_augmented.h>
#include <linux/random.h>
#include <asm/timex.h>
#define NODES 100
#define PERF_LOOPS 100000
#define CHECK_LOOPS 100
struct test_node {
struct rb_node rb;
u32 key;
/* following fields used for testing augmented rbtree functionality */
u32 val;
... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2013 Lucas Stach <l.stach@pengutronix.de>
*
* Based on the Linux Tegra clock code
*/
#include <common.h>
#include <io.h>
#include <malloc.h>
#include <linux/clk.h>
#include <linux/err.h>
#include "clk.h"
#define pll_out_enb(p) (BIT(p->enb_bit_idx))
#def... |
#ifndef WRAPPER_H
#define WRAPPER_H
/* Usage */
void usage(const char *err);
void die(const char *err, ...);
int error(const char *err, ...);
void warning(const char *warn, ...);
void info(const char *info, ...);
/* X-series */
char *xstrdup(const char *str);
char *xstrndup(const char *str, size_t len);
void *xmalloc... |
/*
* Header file for db_berkeley MI functions
*
* Copyright (C) 2007 Cisco Systems
*
* This file is part of opensips, a free SIP server.
*
* opensips 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... |
/*
* $Id$
*
* Copyright (c) 2008 Vyacheslav Frolov
*
* 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 ... |
/*
smbus.c - SMBus level access helper functions
Copyright (C) 1995-1997 Simon G. Vogl
Copyright (C) 1998-1999 Frodo Looijaard <frodol@dds.nl>
Copyright (C) 2012-2013 Jean Delvare <jdelvare@suse.de>
This program is free software; you can redistribute it and/or modify
it under the terms of t... |
/*
* Copyrigtht 2014 Georgios Karagiannis
*
* This file is part of PISAA_Rastrigin.
*
* PISAA_Rastrigin 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.
*
* PISAA_Rastrigin is ... |
#include "vdec_verify_mpv_prov.h"
#include <mach/mt_typedefs.h>
#ifdef SATA_HDD_FS_SUPPORT
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
#inclu... |
#ifndef _KBD_KERN_H
#define _KBD_KERN_H
#include <linux/tty.h>
#include <linux/interrupt.h>
#include <linux/keyboard.h>
extern struct tasklet_struct keyboard_tasklet;
extern char *func_table[MAX_NR_FUNC];
extern char func_buf[];
extern char *funcbufptr;
extern int funcbufsize, funcbufleft;
/*
* kbd-... |
/*
* vacm.h
*
* SNMPv3 View-based Access Control Model
*/
#ifndef VACM_H
#define VACM_H
#ifdef __cplusplus
extern "C" {
#endif
#define VACM_SUCCESS 0
#define VACM_NOSECNAME 1
#define VACM_NOGROUP 2
#define VACM_NOACCESS 3
#define VACM_NOVIEW 4
#define VACM_NOTINVIEW 5
#de... |
/* Copyright (C) 1991,93,95,96,97,98,2001,02 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
v... |
// Emacs style mode select -*- C++ -*-
//---------------------------------------------------------------------------
//
// $Id: swutil.c,v 1.2 2003/06/04 16:02:55 fraggle Exp $
//
// Copyright(C) 1984-2000 David L. Clark
// Copyright(C) 2001-2003 Simon Howard
//
// This program is free software; you can redistribute it... |
/* FreeTDS - Library of routines accessing Sybase and Microsoft databases
* Copyright (C) 1998-1999 Brian Bruns
*
* 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 ... |
/*-
* Copyright (c) Peter Wemm
* 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 an... |
#include "eeprom.h"
#include "i2c.h"
#include <string.h>
int eeprom_write_page(int address, uint8_t *buf, size_t len)
{
uint8_t data[EEPROM_PAGESIZE+1];
int result;
if (!buf || len <= 0)
return 0;
data[0] = (uint8_t)(address & 0xff);
len = len > EEPROM_PAGESIZE ? EEPROM_PAGESIZE : len;
memcpy(data+1, buf, l... |
/*
* ======== imports ========
*/
/*
* ======== forward declarations for intrinsics ========
*/
void test66_Test_08_pollen__reset__E();
void test66_Test_08_pollen__ready__E();
void test66_Test_08_pollen__shutdown__E(uint8 i);
/*
* ======== extern definition ========
*/
extern struct test54_PrintImpl_ test54... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/CoreDAV.framework/CoreDAV
*/
#import <CoreDAV/CoreDAVTaskDelegate.h>
@protocol CoreDAVMkcolTaskDelegate <CoreDAVTaskDelegate>
@optional
- (void)mkcolTask:(id)task parsedPropStats:(id)stats error:(id)error;
@end
|
/***************************************************************************
* Copyright (C) 2013 OPENTIA Group http://opentia.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... |
static void ini_ii(int maxp, int **ii, int **ii0, int **ii_hst) {
Dalloc(ii, maxp);
Dalloc(ii0, maxp);
EMALLOC(maxp, ii_hst);
}
void flu_ini(bool colors, bool ids, int3 L, int maxp, FluQuants *q) {
q->n = 0;
q->maxp = maxp;
Dalloc(&q->pp, maxp);
Dalloc(&q->pp0, maxp);
UC(clist_ini(L.x, ... |
// Copyright (c) 2012 The Chromium 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 NET_HTTP_HTTP_STATUS_CODE_H_
#define NET_HTTP_HTTP_STATUS_CODE_H_
#include "net/base/net_export.h"
namespace net {
enum HttpStatusCode {
#... |
#if !defined (NETSHARE_98_H)
#define NETSHARE_98_H
//---------------------------
// (c) Reliable Software 2000
//---------------------------
#include "NetShareImpl.h"
#include <Sys/Dll.h>
#include <lmcons.h>
namespace Net
{
class Share98: public ShareImpl
{
typedef NET_API_STATUS (__stdcall *ShareAdd) (char const ... |
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb/input.h>
#include <linux/hid.h>
/* for apple IDs */
#ifdef CONFIG_USB_HID_MODULE
#include "../hid-ids.h"
#endif
#define DRIVER_VERSION "v1.6"
#define DRIVER_AUTHOR "Vojtech Pavlik <vojtech@ucw.cz... |
/***************************************************************
FronTier is a set of libraries that implements different types of
Front Traking algorithms. Front Tracking is a numerical method for
the solution of partial differential equations whose solutions have
discontinuities.
Copyright (C) 1999 by The Unive... |
/* 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.
*
* Additional copyright for this file:
* Copyright (C) 1994-1998 Revolution Software Ltd.
*
* ... |
// Copyright (c) 2013 The Chromium 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 CHROME_BROWSER_CHROMEOS_DBUS_DISPLAY_POWER_SERVICE_PROVIDER_H_
#define CHROME_BROWSER_CHROMEOS_DBUS_DISPLAY_POWER_SERVICE_PROVIDER_H_
#includ... |
/* $Id: getfiles.h,v 1.7 2004/07/21 11:32:07 yooden Exp $ */
/*******************************************************************************
* *
* getfiles.h -- Nirvana Editor File Handling Header File *
* ... |
#ifndef dvsdef_h
#define dvsdef_h
#define DVS$_DEVCLASS 1
#define DVS$_DEVTYPE 2
#endif
|
/*
* This file is part of roccat-tools.
*
* roccat-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 2 of the License, or
* (at your option) any later version.
*
* roccat-tools is di... |
/* Copyright (C) 2003-2010 Jesper K. Pedersen <blackie@kde.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 2 of the License, or (at your option) any later version.
... |
/*
* ClusterTypeFactory.h
*
* Created on: 29/lug/2014
* Author: Paolo Achdjian
*/
#ifndef CLUSTERTYPEFACTORY_H_
#define CLUSTERTYPEFACTORY_H_
#include <memory>
#include "zigbee/ZigbeeDevice.h"
#include "zcl/Cluster.h"
#include "ClustersEnum.h"
#include "zigbee/EndpointID.h"
namespace zigbee {
class Clust... |
/****************************************************************************
**
** 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 Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:BSD$
** You may u... |
/* common.c - Common functions */
/* Written 1995-1999 by Werner Almesberger, EPFL-LRC */
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
#include "atmd.h"
void *alloc(size_t size)
{
void *n;
n = malloc(size);
if (n) return n;
perror("malloc");
exit(1);
}
uint32_t read_netl... |
#ifndef STDAFX_H
#define STDAFX_H
#ifdef _WIN32
#define DEFFILEMODE (0)
#endif
#ifndef __APPLE__
#include "config.h"
#endif /* __APPLE__ */
#include "afxgen.h"
#ifdef AMIGA
typedef UBYTE uint8_t;
typedef LONG SDWORD;
typedef ULONG UDWORD;
typedef ULONG uint32_t;
typedef unsigned long long UQUAD;
#el... |
/*
* Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef _SQUID_SRC_COMM_OPENERSTATEDATA_H
#d... |
/*
* FLV decoding.
* This file is part of Libav.
*
* Libav 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.
*
* Libav ... |
/*
* comm_hdr.h
*
* Created on: Oct 1, 2012
* Author: ch
*/
#ifndef COMM_HDR_H_
#define COMM_HDR_H_
#include "const.h"
#include "error_code.h"
#include "log.h"
#include "util.h"
#endif /* COMM_HDR_H_ */
|
#include "drmP.h"
#include "drm.h"
#include "nouveau_drv.h"
#include "nouveau_drm.h"
void
nv40_fb_set_tile_region(struct drm_device *dev, int i)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct nouveau_tile_reg *tile = &dev_priv->tile.reg[i];
switch (dev_priv->chipset) {
case 0x40:
... |
#ifndef SAIL_H
#define SAIL_H
#define SAIL_APPKEY "/SAIL"
#define SAIL_COMPANYKEY "Biluna"
#endif // SAIL_H
|
#pragma once
#include <Eigen/Sparse>
#include <vector>
using namespace Eigen;
using namespace std;
// Forward Grad x (forward-differenced grad)
SparseMatrix<double> fGradX (const int N, const int off = 0) {
vector<Triplet<double>> tripletList;
tripletList.reserve (2 * N);
int jb, jf;
jb = off; jf = 1 + off... |
/* expert_comp_dlg.h
* expert_comp_dlg 2005 Greg Morris
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*... |
#ifndef __PPC_FSL_SOC_H
#define __PPC_FSL_SOC_H
#ifdef __KERNEL__
#include <asm/mmu.h>
#include <asm/prom.h>
extern phys_addr_t immrbase;
extern u32 brgfreq;
extern u32 fs_baudrate;
extern phys_addr_t get_immrbase(void);
extern u32 get_brgfreq(void);
extern u32 get_baudrate(void);
extern u32 fsl_get_sys_freq(void);
... |
#ifndef _MONGOOSE_REQUEST_HANDLER_H
#define _MONGOOSE_REQUEST_HANDLER_H
#include "Request.h"
#include "Response.h"
#include <string>
namespace Mongoose
{
class RequestHandlerBase
{
public:
virtual Response *process(Request &request)=0;
};
template<typename T, typename R>
class... |
/*
* AreaCodeView.h
*
* Copyright (C) 2017 SNRB Labs LLC
*
* 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.... |
#ifndef ENGINE_H
#define ENGINE_H
#include "engine_global.h"
class ENGINESHARED_EXPORT TEngine {
public:
TEngine();
};
#endif // ENGINE_H
|
/*
* Copyright (C) 2022-2022 Colin Ian King.
*
* 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 ... |
// Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
#define CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
#include "ui/gfx/native_widget_types.h"
class ConfirmBubbleM... |
#ifndef FNNLM_LOGBILINEAR_FNNLM_H_
#define FNNLM_LOGBILINEAR_FNNLM_H_
#include <cstdio>
#include <string>
#include <vector>
#include <boost/random/mersenne_twister.hpp>
#include "../neuralnet/full_circular_buffer.h"
#include "../neuralnet/neuralnet_types.h"
#include "../neuralnet/neuralnet_connection.h"
#include "../n... |
/*IBM 5150 cassette nonsense
Calls F979 twice
Expects CX to be nonzero, BX >$410 and <$540
CX is loops between bit 4 of $62 changing
BX is timer difference between calls
*/
#include "ibm.h"
#include "pit.h"
#include "plat-keyboard.h"
#include "plat-mouse.h"
void ppi_reset()
{
ppi.pa=0x0;//0x1D;... |
// Copyright (c) 2012 The Chromium 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 MEDIA_FILTERS_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_
#define MEDIA_FILTERS_H264_TO_ANNEX_B_BITSTREAM_CONVERTER_H_
#include "base/basictypes.h... |
/*
* $Id: impa7.c,v 1.1 2003/01/09 22:17:04 ahennessy Exp $
*
* Handle mapping of the NOR flash on implementa A7 boards
*
* Copyright 2002 SYSGO Real-Time Solutions GmbH
*
* 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
... |
/* init.c --- Entry point for libgsasl.
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
*
* This file is part of GNU SASL Library.
*
* GNU SASL Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as publis... |
#ifndef CLAIRE_RENDERING_PLATFORM_H
#define CLAIRE_RENDERING_PLATFORM_H
namespace Claire
{
#if CLAIRE_PLATFORM == CLAIRE_PLATFORM_WIN32
# if defined(CLAIRE_RENDERING_NONCLIENT_BUILD)
# define CLAIRE_RENDERING_EXPORT __declspec(dllexport)
# else
# define CLAIRE_RENDERING_EXPORT __declspec(dllimport)
# endif
#endif
}
... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kprobes.h>
#include <linux/kallsyms.h>
#include <linux/fs.h>
#include <asm/uaccess.h>
#include <linux/mm.h>
#include <linux/writeback.h>
#include <linux/sysctl.h>
#include <linux/gfp.h>
void jext3_truncate(struct inode *inode)
{
{
... |
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/statfs.h>
#include <linux/security.h>
#include <linux/uaccess.h>
#include "internal.h"
static int flags_by_mnt(int mnt_flags)
{
int flags = 0;
if (mnt... |
#include <stdio.h>
int main()
{
int n, count;
long unsigned int factorial;
factorial = 1;
n = 10;
for (count=1; count<=n; count++)
{
factorial*=count;
}
printf("Factorial of %d = %lu\n",n, factorial);
return 0;
}
|
#ifndef _SCSI_DISK_H
#define _SCSI_DISK_H
/*
* More than enough for everybody ;) The huge number of majors
* is a leftover from 16bit dev_t days, we don't really need that
* much numberspace.
*/
#define SD_MAJORS 16
/*
* This is limited by the naming scheme enforced in sd_probe,
* add another character to it i... |
/*
* DBMS Implementation
* Copyright (C) 2013 George Piskas, George Economides
*
* 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 ... |
/* 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 ASMARM_PCI_H
#define ASMARM_PCI_H
#ifdef __KERNEL__
#include <asm-generic/pci-dma-compat.h>
#include <asm/mach/pci.h> /* for pci_sys_data */
#include <mach/hardware.h> /* for PCIBIOS_MIN_* */
#ifdef CONFIG_PCI_DOMAINS
static inline int pci_domain_nr(struct pci_bus *bus)
{
struct pci_sys_data *ro... |
#include "hooks-internal.h"
int _rename (const char *old, const char *new)
{
filesystem_hook_t *old_hook = get_filesystem_hook(old);
filesystem_hook_t *new_hook = get_filesystem_hook(new);
if (old_hook && new_hook) {
if (old_hook == new_hook) {
if (old_hook->rename) {
return old_ho... |
#ifndef UTIL_PLAT_H
#define UTIL_PLAT_H
#if defined(_WIN32) || defined(WIN32)
# ifdef _MSC_VER
# if defined(_M_64) || defined(_WIN64)
# define MSVC64
# else
# define MSVC32
# endif
# else
# if defined(__MINGW64__)
# define MINGW64
# else
# if defined(__MINGW32__)
# define M... |
//Person.c
person* new_Person(const char* const pFirstName, const char* const pLastName)
{
Person* pObj = NULL;
//allocating memory
pObj = (Person*)malloc(sizeof(Person));
if (pObj == NULL)
{
return NULL;
}
pObj->pFirstName = malloc(sizeof(char)*(strlen(pFirstName)+1));
if (pObj-... |
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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 version 2.
*
* This program is distributed "as is" WITHOUT ANY... |
int main(void)
{
int i=0;
int count = 1000000000;
int a[1000] = {0};
for(i=0;i<count;i++)
{
a[i%1000] = i;
}
return 0;
}
|
/*******************************************************************************
* Copyright (c) 2012-2014, The Microsystems Design Labratory (MDL)
* Department of Computer Science and Engineering, The Pennsylvania State University
* All rights reserved.
*
* This source code is part of NVMain - A cycle accurate timing... |
/**
* Copyright (C) 2015 Andrew Kallmeyer <fsmv@sapium.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Lesser GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ... |
#include "sec_osal_light.h"
#include "sec_typedef.h"
#include "rsa_def.h"
#include "alg_sha1.h"
#include "bgn_export.h"
#include "sec_cust_struct.h"
#include "sec_auth.h"
#include "sec_error.h"
#include "sec_rom_info.h"
#include "sec_boot_lib.h"
#include "sec_sign_header.h"
#include "sec_key_util.h"
#include "sec_log.h... |
#include <stdio.h>
#define MAX 100000000
main()
{
long i, sum;
sum = 0;
for (i = 0; i <= MAX; ++i)
{
sum = sum + i;
}
printf("%ld\n",sum);
}
|
/* -*- c-file-style: "java"; indent-tabs-mode: nil -*-
*
* distcc -- A simple distributed compiler system
*
* Copyright (C) 2002, 2003 by Martin Pool <mbp@samba.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... |
/*
* Copyright (C) 2001-2003 FhG Fokus
*
* This file is part of opensips, a free SIP server.
*
* opensips 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 ... |
/* wolfmath.c
*
* Copyright (C) 2006-2016 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 opti... |
// Copyright (C) 2005 Dave Griffiths
//
// 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 distri... |
/* music player command (mpc)
* Copyright (C) 2003-2008 Warren Dukes <warren.dukes@gmail.com>,
Eric Wong <normalperson@yhbt.net>,
Daniel Brown <danb@cs.utexas.edu>
* Copyright (C) 2008-2009 Max Kellermann <max@duempel.org>
* Project homepage: http://musicpd.org
* This program is free software; you can red... |
/*
* Copyright (C) 2015 BIO-DIKU.
*
* 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 distribu... |
typedef int SDL_dummy_uint8 [3] ;
|
/**
* $Id$
* @file decrypt.c
* @brief Authentication for yubikey OTP tokens using the yubikey library.
*
* @author Arran Cudbard-Bell <a.cudbardb@networkradius.com>
* @copyright 2013 The FreeRADIUS server project
* @copyright 2013 Network RADIUS <info@networkradius.com>
*/
#include "rlm_yubikey.h"
#ifdef HAVE_... |
/*
* puresu3gaugesim.h - class for pure SU(3) gauge sim inherited from
* GenericSimClass - header
*
* Copyright © 2013 H.-P. Schadler <hanspeter.schadler@uni-graz.at>
*
* 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
... |
/* Copyright (C) 2007 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your option) any later
version.
In addition to the pe... |
#ifndef _ROS_geometry_msgs_PoseWithCovariance_h
#define _ROS_geometry_msgs_PoseWithCovariance_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "geometry_msgs/Pose.h"
namespace geometry_msgs
{
class PoseWithCovariance : public ros::Msg
{
public:
geometry_msgs::... |
/* ManPage_enums.h
*
* Copyright (C) 1996-2009,2015 Paul Boersma
*
* This code 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.
... |
/**
* D-LAN - A decentralized LAN file sharing software.
* Copyright (C) 2010-2012 Greg Burri <greg.burri@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 ... |
/*
* Copyright (c) 2013, Fraunhofer FKIE
*
* Authors: Bastian Gaspers
*
* 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 o... |
// Copyright (c) 2016 - 2017 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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... |
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/LabelG.h>
#include <Xm/PushBG.h>
#include <Xm/Scale.h>
#include <Xm/TextF.h>
#include <Xm/RowColumn.h>
#include <Xm/ToggleBG.h>
#include <Xm/ScrolledW.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
/... |
/*
* Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use th... |
/*
* Copyright (c) 2012-2016 Cisco Systems, Inc. All rights reserved.
*
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "opal_config.h"
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_UNISTD_H... |
//
// DJIMediaManager.h
// DJISDK
//
// Copyright © 2015, DJI. All rights reserved.
//
#import <DJISDK/DJISDKFoundation.h>
NS_ASSUME_NONNULL_BEGIN
@class DJIMedia;
@class DJIMediaManager;
@class DJIMediaVideoPlaybackState;
/**
* This protocol provides a delegate method to receive the updated video playback
* ... |
/*
This file is part of tinyfpp.
tinyfpp 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.
Foobar is distributed in the hope that it will be ... |
#include <assert.h>
#include "base64.h"
static const char base64_alphabet[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
size_t base64_encode_step(const unsigned char *in, size_t len, char *out,
int *state, int *save)
{
char *outptr;
const unsigned char *inptr;
if(len == 0... |
/*
* init.c
* iyell
*
* Created by Michel DEPEIGE on 10/10/07.
* Copyright (c) 2007 Michel DEPEIGE.
*
* 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, or (at your o... |
//
// CBUIView.h
// CBIntrospector
//
// Created by Christopher Bess on 5/2/12.
// Copyright (c) 2012 C. Bess. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CBIntrospectConstants.h"
@interface CBUIView : NSObject
@property (nonatomic, copy) NSString *syncFilePath;
@property (nonatomic, assign... |
/*
* Copyright (C) 2013 Ron Pedde <ron@pedde.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) any later version.
*
* This pro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.