text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h>
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef char int8;
typedef short int16;
typedef int int32;
typedef int bool;
#define true 1
#define false 0
#define TILE_INDEX_MULTIPLIER 24
typedef struct __attribute((packed))__{
short fileTag;
int fileS... |
/**
* @file ipu_disp.c
* @brief Configure channels, waves etc
* @author <NAME> <<EMAIL>>
* @version
* @date 28.08.2018
*/
#include <util/log.h>
#include <errno.h>
#include <stdint.h>
#include <drivers/lvds/imx/ldb.h>
#include <drivers/clk/ccm_imx6.h>
#include <drivers/video/fb.h>
#include "ipu_regs.h"
#includ... |
/*
* Copyright (c) 2014 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH... |
/* Handle OSF/1, Digital UNIX, and Tru64 shared libraries
for GDB, the GNU Debugger.
Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2007, 2008,
2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
... |
/*
* Copyright © 2020 Microsoft
*
* 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, publi... |
/*
* Copyright (C) 2015-2021 IoT.bzh Company
* Author "<NAME>"
*
* $RP_BEGIN_LICENSE$
* Commercial License Usage
* Licensees holding valid commercial IoT.bzh licenses may use this file in
* accordance with the commercial license agreement provided with the
* Software or, alternatively, in accordance with the... |
//
// File: %sys-core.h
// Summary: "Single Complete Include File for Using the Internal Api"
// Project: "Rebol 3 Interpreter and Run-time (Ren-C branch)"
// Homepage: https://github.com/metaeducation/ren-c/
//
//=////////////////////////////////////////////////////////////////////////=//
//
// Copyright 2012 REBO... |
/* markers for the CFFI parser. Replaced when the string is read. */
#define GEVENT_STRUCT_DONE int
#define GEVENT_ST_NLINK_T int
#define GEVENT_UV_OS_SOCK_T int
#define UV_EBUSY ...
#define UV_VERSION_MAJOR ...
#define UV_VERSION_MINOR ...
#define UV_VERSION_PATCH ...
typedef enum {
UV_RUN_DEFAULT = 0,
UV_RUN_ONC... |
/*
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/
or send a letter to
Creative Commons,
171 Second Street,
Suite 300,
San Francisco,
California,
... |
/************************************************************************************************//**
* @file matrix.c
*
* @copyright Copyright 2022 <NAME>.
* @license Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obt... |
#include <FreeRTOS.h>
#include <task.h>
#include <timers.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <vfs.h>
#include <aos/kernel.h>
#include <aos/yloop.h>
#include <event_device.h>
#include <cli.h>
#include <lwip/tcpip.h>
#include <lwip/sockets.h>
#include <lwip/netdb.h>
#include <lwip/tcp... |
#include <stdio.h>
#include <stdlib.h>
#include <linux/limits.h>
#include <errno.h>
/* prctl / waitpid */
#include <sys/prctl.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
/* Open */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
/* Unshare */
#include <sched.h>
#include <unist... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/*
* linux/drivers/video/omap2/dss/fifothreshold.c
*
* Copyright (C) 2011 Texas Instruments
*
* 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.
*
* This program is distributed i... |
/* GStreamer data:// uri source element
* Copyright (C) 2009 Igalia S.L
* Copyright (C) 2009 <NAME> <<EMAIL>>
*
* 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 ... |
/*
* CGlib
*
* A Low-Level GPU Graphics and Utilities API
*
* Copyright (C) 2011 Intel Corporation.
*
* 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, includin... |
/*! \file enc28j60.c \brief Microchip ENC28J60 Ethernet Interface Driver. */
//*****************************************************************************
//
// File Name : 'enc28j60.c'
// Title : Microchip ENC28J60 Ethernet Interface Driver
// Author : <NAME> (c)2005
// Created : 9/22/2005
// Revised : 9/22/2005... |
/*! \file bcmfp_lt_policy.c
*
* APIs for LT policy template
*
* This file contains function definitions for policy LT template
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
* This license g... |
#include <stdio.h>
#include <xcb/xcb.h>
#include <xcb/xcb_event.h>
#include <xcb/xcb_image.h>
#include <string.h>
#include <stdlib.h>
#include <sys/poll.h>
#include <time.h>
#include <locale.h>
#include <iconv.h>
#include <langinfo.h> // nl_langinfo()
#include <x86intrin.h> // __rdtsc()
#include <fontconfig/fontconfig... |
/*
* Copyright 2004-2009 Freescale Semiconductor, Inc. All rights reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020-21 Intel Corporation.
*/
#include "iosm_ipc_protocol.h"
#include "iosm_ipc_protocol_ops.h"
/* Get the next free message element.*/
static union ipc_mem_msg_entry *
ipc_protocol_free_msg_get(struct iosm_protocol *ipc_protocol, int *index)
{
u32 head =... |
#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/hdreg.h>
#include <linux/kdev_t.h>
#include <linux/blkdev.h>
#include <linux/mutex.h>
#include <linux/mmc/ioctl.h>
#includ... |
/*! \file halfmac_server.c
\brief Server for halfmac workshop exercise
@version 16.1
@author <NAME>
This code is a simple manipulation of csmaMac.c that allows for addressing
multiple WARP nodes based upon the IP address of the packet being sent.
*/
#include "warpmac.h"
#include "warpphy.h"
#include "halfm... |
/* Copyright (C) <NAME>
* See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing.
*/
/* Portions of this file are Copyright (C) 9front's team.
* See /doc/license/9front-mit for details about the licensing.
* See http://code.9front.org/hg/plan9front/ for a list of authors.
*/
/*
* ACPI 5.0 support. ... |
/*
* Parse and rearrange a svnadmin dump.
* Create the dump with:
* svnadmin dump --incremental -r<startrev>:<endrev> <repository> >outfile
*
* Licensed under a two-clause BSD-style license.
* See LICENSE for details.
*/
#include "cache.h"
#include "repo_tree.h"
#include "fast_export.h"
#include "line_buffer.h"... |
/*
* lcd2usb.c - test application for the lcd2usb interface
* http://www.harbaum.org/till/lcd2usb
*
* Modified for use in FIREBrick by <NAME>, DigitalFIRE
* http://digitalfire.ucd.ie/firebrick
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <usb.h>
/* vendor and pr... |
/*
* Directshow capture interface
* Copyright (c) 2010 <NAME>
*
* This file is part of FFmpeg.
*
* FFmpeg 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... |
/* $NetBSD: md.c,v 1.1.2.2 1997/12/05 14:57:01 simonb Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
* All rights reserved.
*
* Based on code written by <NAME> for Piermont Information
* Systems Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... |
#pragma once
#include "../../shapes/line.h"
#include "../../scene/box.h"
#include "../../render/AABB.h"
#include "../../math/mat3.h"
#include "../../math/vec3.h"
typedef struct {
AABB *aabbs;
f32 *surface_areas;
} PartitionSide;
typedef struct {
PartitionSide left, right;
u32 left_node_count, *sort... |
//
// gart.c - Xen Windows PV WDDM Miniport Driver GART routines.
//
// Copyright (c) 2010 Citrix, Inc.
//
/*
* 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,... |
#if 0
#include <linux/usb.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#else
#include "../usb_wrapper.h"
#endif
#define USB_MAXALTSETTING 128 /* Hard limit */
#define USB_MAXENDPOINTS 30 /* Hard limit */
/* these maximums are arbitrary */
#define USB_MAXCON... |
/******************************************************************************/
/* Important Fall 2020 CSCI 402 usage information: */
/* */
/* This fils is part of CSCI 402 kernel programming assignments at USC. ... |
/*
Compilar PGI: pgcc -mp -Minfo=all -o Trab3_Strassen_OMP Trab3_Strassen_OMP.c
Executar: ./Trab3_Strassen_OMP 2000
*/
#include<stdio.h>
#include<stdlib.h>
#include<omp.h>
int** alocarMatriz(int Tam);
void soma(double **A, double **B, double **C, int Tam);
void subtracao(double **A, double **B, double **C, int Tam);... |
#include "main.h"
#define DISP_CLR (1<<0) // DB0: clear display
#define DISP_RST (0x30) // Reset Display
#define DISP_HOME (1<<1) // DB1: return to home position
#define DISP_ENTRY_MODE (1<<2) // DB2: set entry mode
#define DISP_ENTRY_INC ... |
/*
* Portions created by SGI are Copyright (C) 2000 Silicon Graphics, 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 co... |
/*
* Copyright (C) 2010. See COPYRIGHT in top-level directory.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
#include <armci.h>
#include <armci_internals.h>
#include <debug.h>
#include <gmr.h>
#ifdef HAVE_PTHREADS
#include <pthread.h>
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif... |
/*
* Copyright 2022 <NAME>/KSS Technologies (Pty) Ltd.
*/
#include <string.h>
#include "lis2hh12.h"
#include "hal_gpio.h"
#include "hal_variables.h"
#include "endpoints.h"
#include "options.h"
#include "printfx.h"
#include "syslog.h"
#include "systiming.h"
#include "x_errors_events.h"
#define debugFLAG 0xF000... |
// This file is part of Deark.
// Copyright (C) 2016 <NAME>
// See the file COPYING for terms of use.
// Windows FNT font format
#include <deark-config.h>
#include <deark-private.h>
#include <deark-fmtutil.h>
DE_DECLARE_MODULE(de_module_fnt);
struct char_table_entry {
int pixel_width;
u8 is_abs_space;
i64 v1_pixe... |
/*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... |
/* sha2.c */
/*
This file was part of the AVR-Crypto-Lib.
Copyright (C) 2011 <NAME> (<EMAIL>)
Copyright (C) 2019 <NAME>
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 ... |
/*
* Copyright (c) 2013-2015, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC)
* 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 r... |
/* Roaming-blobs-on-mars-collect-some-dust-on-a-tropical-island-and-go-pearl-
diving-before-population-goes-out-of-control. */
/* Each frame, a background virtual screen is copied to a virtual screen; */
/* sprites (well, pixels) are written on that virtual screen; and the */
/* virtual screen is copied to video me... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: ... |
/* $ReOpenLDAP$ */
/* Copyright 1999-2018 ReOpenLDAP AUTHORS: please see AUTHORS file.
* All rights reserved.
*
* This file is part of ReOpenLDAP.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy... |
/*
httperf -- a tool for measuring web server performance
Copyright 2000-2007 Hewlett-Packard Company
This file is part of httperf, a web server performance measurment
tool.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public Licens... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 <NAME>. "Chip" Pearson (aka CmdrZin)
*
* 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 limita... |
#include "Xstation86.h"
#include <time.h>
#include "libgpu.h"
#include <dirent.h>
#define FPS 60.0
#define FPS_D 1000/FPS
SDL_Surface *sdl_screen;
SDL_Surface *sdl_screen_m;
unsigned char *mem_v30;
unsigned char *flash_v30;
int vmode = 0;
int def_ss;
int fps_flag = 0;
int sclk = 0;
extern int c... |
/***********************************************************************************************************************
* Copyright [2020-2021] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved.
*
* This software and documentation are supplied by Renesas Electronics America Inc. and may on... |
/* dispatch.c
*
* Copyright (c) 2018 Apple Computer, Inc. All rights reserved.
*
* 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
*
*... |
/* Target-dependent code for OpenBSD/i386.
Copyright (C) 1988-2017 Free Software Foundation, Inc.
This file is part of GDB.
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 ver... |
/* md5.c - Foundation library - Public Domain - 2013 <NAME> /
* Rampant Pixels
*
* This library provides a cross-platform foundation library in C11 providing
* basic support data types and functions to write applications and games in a
* platform-independent fashion. The latest source code is always availabl... |
/*-
* Copyright (c) 2014-2016 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* __wt_block_truncate --
* Truncate the file.
*/
int
__wt_block_truncate(WT_SESSION_IMPL *session, WT_BLOCK *bl... |
/*----------------------------------------------------------------------------*/
/* Xymon alert acknowledgment CGI tool. */
/* */
/* This is a CGI script for handling acknowledgments of alerts. ... |
/********************************************************************************************
* SIDH: an efficient supersingular isogeny cryptography library
*
* Abstract: Pohlig-Hellman with optimal strategy
*********************************************************************************************/
void ... |
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2020 Intel Corporation. All rights reserved.
*
* Author: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elf_defs.h"
#include "elf.h"
stati... |
#include "redis.h"
#include <signal.h>
/*-----------------------------------------------------------------------------
* C-level DB API
*----------------------------------------------------------------------------*/
robj *lookupKey(redisDb *db, robj *key) {
dictEntry *de = dictFind(db->dict,key->ptr);
if (... |
/*
* test-dbs.c
*
* Created on: May 12, 2009
* Author: laarman
*/
#include <hre/config.h>
#include <pthread.h>
#include <stdlib.h>
#include <strings.h>
#include <sys/stat.h>
#include <sys/times.h>
#include <sys/types.h>
#include <unistd.h>
#include <hre/user.h>
#include <hre-io/user.h>
#include <mc-lib/at... |
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
This software is licensed as OpenSource, under the Apache License, Version 2.0.
This license is available at: http://opensource.org/licenses/Apache-2.0. */
#include <string.h>
#include "tto.h"
#include "sfnt_GDEF.h"
#incl... |
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "str.h"
#include "strerr.h"
#include "error.h"
#include "sgetopt.h"
#include "open.h"
#include "env.h"
#include "buffer.h"
#include "fmt.h"
#include "scan.h"
#include "tai.h"
#include "taia.h"
#include "wait.h"
#define USAGE " [-v] [-w sec] comm... |
/******************************************************************************\
* *
* SimpleCUDD library (www.cs.kuleuven.be/~theo/tools/simplecudd.html) *
* SimpleCUDD was developed at Katholieke Universiteit Leuven(www.kuleuven.be... |
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr.h>
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
#define LOG_MODULE_NAME bt_ctlr_ull_adv_iso
#include "common/log.h"
#include "hal/debug.h"
#include "hal/cpu.h"
#include "hal/ccm.h"
#includ... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Mupen64plus - cached_interp.c *
* Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
* Copyright (C) 2002 Hacktarux *
* ... |
/* $NetBSD: if_le_ledma.c,v 1.26 2005/12/11 12:23:44 christos Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME>; <NAME> of the Numerical Aerospace
* Simulation Facility, NASA Ames Rese... |
#include <stdio.h>
#include <stdlib.h>
#include <vicNl.h>
#include <string.h>
static char vcid[] = "$Id$";
out_data_file_struct *set_output_defaults(out_data_struct *out_data) {
/*************************************************************
set_output_defaults.c <NAME> September 08, 2006
This routine se... |
/*
* $Id: wm_subwindow.c 39358 2011-08-13 09:22:14Z campbellbarton $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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 L... |
/******************************************************************************
* @file main.c
* @version V3.00
* $Revision: 3 $
* $Date: 20/07/07
* @brief Show FMC dual bank capability. Non-blocking program APROM bank1
* while program is running on APROM bank0.
* is running on bank0... |
#define HAVE_STRUCT_TIMESPEC
#include <pthread.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "barcode.h"
#include "io_utils.h"
#include "kmhash.h"
#include "verbose.h"
#include "utils.h"
#define CUT_OFF_THRES 0.01
#define __get_gene(x) ((int)((x) & GENE_MASK))
#define __get_umi(x) ((x) >>... |
/* ../netlib/v3.9.0/zsytrf_rk.f -- translated by f2c (version 20160102). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order,... |
/* ---------------------------------------------------------------------------
moonphas.c
Notes:
This file contains routines for performing moon phase calculations.
The following suite of routines are to calculate the phase of the moon
for a given month, day, year. They compute the phase... |
/*****************************************************************************
* h264.h:
*****************************************************************************
* Copyright (C) 2012-2014 L-SMASH project
*
* Authors: <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and/or distribute this software for a... |
#include <stdio.h>
#include "liste.h"
#ifndef SDL_H
#define SDL_H
#include <SDL.h>
#include <SDL_ttf.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
#endif
/**
* \file structs.h
* \brief Ensemble de structures utilisées dans le projets
* \author <NAME> & <NAME> L2 Info Le Mans
* \version 3.0
... |
#if !defined(_GNU_SOURCE)
#define _GNU_SOURCE
#endif
#if !defined(_LARGEFILE_SOURCE)
#define _LARGEFILE_SOURCE
#endif
#if !defined(_LARGEFILE64_SOURCE)
#define _LARGEFILE64_SOURCE
#endif
#if !defined(_FILE_OFFSET_BITS)
#define _FILE_OFFSET_BITS 64
#endif
#include <stdio.h>
#include <string.h>
#include <errno.h>
#inclu... |
/* Attempts to test all the datatypes supported by ProtoBuf when used as callback fields.
* Note that normally there would be no reason to use callback fields for this,
* because each encoder defined here only gives a single field.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <pb_decode.h>... |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "sw/device/lib/arch/device.h"
#include "sw/device/lib/base/mmio.h"
#include "sw/device/lib/dif/dif_flash_ctrl.h"
#include "sw/device/lib/dif/dif_lc_ctrl.h"
#inc... |
/********************************************************************
Find large changes between two data streams
<NAME> 2003,2004
Last modified: 2004-09-19
This shows off the routines in the library change.c
It creates two streams synthetically from zipf distributions, and then
calls various routines on those strea... |
/*
* libpostscriptbarcode - postscriptbarcode.c
*
* Barcode Writer in Pure PostScript
* https://bwipp.terryburton.co.uk
*
* Copyright (c) 2004-2015 <NAME>
*
* Permission is hereby granted, free of charge, to any
* person obtaining a copy of this software and associated
* documentation files (the "Software"), ... |
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this per... |
/* anno_bed.c -- annotate bed databases
Copyright (C) 2016,2017 BGI Research
Author: <NAME> (<EMAIL>)
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, i... |
#include "net.h"
#include "ikcp.h"
#include "mem.h"
#include "trophy.h"
#include "ui.h"
#include "lang.h"
#include "debug.h"
#include "util.h"
#include <vitasdk.h>
#include <stdlib.h>
#include <stdio.h>
#define NET_SIZE 0x4000 // Size of net module buffer
static char net_buffer[NET_SIZE];
static char vita_ip... |
/**
* \file
* A TDMA RDC implementation
* \author
* <NAME> <<EMAIL>>
*/
//#include "project-conf.h"
#include "node-id.h"
#include "net/mac/tdmardc.h"
#include "lib/assert.h"
#include "net/packetbuf.h"
#include "net/netstack.h"
#include "sys/rtimer.h"
#include "net/queuebuf.h"
#include "dev/cc2420.h"
#include "d... |
/*
This file is part of ParTI!.
ParTI! 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.
ParTI! is distributed... |
/* Copyright 1998 <NAME>
*
* $Id$
*
* hsplit.c -- program that shuffles code into the static area.
*
* DESCRIPTION
* The input is a single or split heap image; the output is a split
* heap image. The output image must be garbage collected and re-dumped
* from inside Larceny to get rid of the obsolete cod... |
/*
Atmel driver for interfacing to Dynamixel Servos.
- Performs continous querying of multiple servos.
At 1Mbit/s a single query takes about 1.1ms
- Performs period sync-write operation to multiple servos
- Uses a memory map (control table), in similar fashion as Dynamixel
servos do (adapted f... |
/* Copyright (c) <NAME>, 1998. */
/* This program is freely distributable without licensing fees
and is provided without guarantee or warrantee expressed or
implied. This program is -not- in the public domain. */
/* rtsmap.c - real-time generation and use of a sphere map with libglsmap */
#include <stdlib.h>... |
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
struct object {
enum object_type {
OBJECT_NUMBER,
OBJECT_INDIRECT_REFERENCE,
OBJECT_NAME,
OBJECT_DICTIONARY,
OBJECT_ARRAY,
OBJECT_STRING,
OBJECT_STREAM,
OBJECT_BOOLEAN,
OBJECT_NULL
} type;
union {
... |
/*
Tomato Firmware
Copyright (C) 2006-2009 <NAME>
*/
#include "tomato.h"
#include <ctype.h>
#include <sys/sysinfo.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <dirent.h>... |
/*
Pokemon Sword & Shield Fast Egg Hatching
Logic by kirbunkle aka <NAME>
Based on the LUFA library's Low-Level Joystick Demo
(C) Dean Camera
Based on the HORI's Pokken Tournament Pro Pad design
(C) HORI
This project implements a modified version of HORI's Pokken Tournament Pro Pad
USB descriptors to allow for the cr... |
/* Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by <NAME> <<EMAIL>>, 1995.
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;... |
//
// main.c
// FoundationBasedAlgorithms
//
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <uchar.h>
#include "zenny_foundation/zenny_foundation_api.h"
#include "zenny_foundation/zf_sys/zf_sys.h"
#include "zenny_foundation/zf_sys/zf_directory.h"
#include "zenny... |
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "vicmain_c"
#include "zifmessage.h"
#define PI 3.14159265358979
#define MAXTASKS 200 /* Number of label levels to search */
#define TRUE 1
void labelvalue(int unit, char *key, char *type, void *value, int size);
float degppi... |
/*----------------------------------------------------------------------------
* Copyright (c) <2016-2019>, <Huawei Technologies Co., Ltd>
* 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. R... |
/*-------------- Telecommunications & Signal Processing Lab ---------------
Routine:
AFILE *AFrdAIhead(FILE *fp)
Purpose:
Get file format information from an AIFF or AIFF-C sound file
Description:
This routine reads the header for an AIFF or AIFF-C sound file. The header
information is used to set the file d... |
/* -*- tab-width: 4; -*- */
/* vi: set sw=2 ts=4: */
/* $Id: 69ed7398ae9a35fd5e0797e1358a0ba6ca083152 $ */
/**
* @file at.c
* @brief Simple interface to build applications using renderion.
*/
/*
* Copyright (c) 2008 HI Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* ... |
#include "dvi.h"
#include "dvi_timing.h"
#include "hardware/dma.h"
// This file contains:
// - Timing parameters for DVI modes (horizontal + vertical counts, best
// achievable bit clock from 12 MHz crystal)
// - Helper functions for generating DMA lists based on these timings
// Pull into RAM but apply unique sect... |
#include "tendryl.h"
#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include <stddef.h>
#include <string.h>
#define REALLOC(X,N) (ops->realloc((X), (N)))
#define ALLOC(N) REALLOC(NULL, N)
#define FREE(X) REALLOC(X, 0)
#define ALLOC_UPTO_LEN(C,F,N) ALLOC(offsetof(C##_info,info.F) + ... |
/*
Copyright (c) 2008 Instituto Nokia de Tecnologia
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 conditio... |
/* $OpenBSD: sbreg.h,v 1.6 2002/07/02 19:38:55 nate Exp $ */
/* $NetBSD: sbreg.h,v 1.24 1997/08/24 23:24:51 augustss Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... |
/*
Author - <NAME>
MD5 Message Digest Algorithm
Termonology and Notation
word - represents a 32bit space in memory
byte - represents a 8bit space in memory
x_i - represents x sub i
x^i - represents x to the i-th power
+ - Addition of words(modulo-2^32 addition)
... |
/*
* Copyright (c) 2012-2017 <NAME>.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLA... |
/**
* @file
* @brief Application Timer module
*
* @copyright 2018 Silicon Laboratories Inc.
*/
/* Z-Wave includes */
#include <AppTimer.h>
#include <SwTimerLiaison.h>
#include <SizeOf.h>
#include <ZW_system_startup_api.h>
#include <ZAF_RetentionRegisterBank.h>
//#define DEBUGPRINT
#include "DebugPrint.h"
#include <F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.