text stringlengths 7.55k 41.9k |
|---|
/*
$RCSfile$
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) any later version.
This program i... |
/*
* Acess2 E1000 Network Driver
* - By <NAME> (thePowersGang)
*
* e1000.c
* - Intel 8254x Network Card Driver (core)
*/
#define DEBUG 0
#define VERSION VER2(0,1)
#include <acess.h>
#include "e1000.h"
#include <modules.h>
#include <drv_pci.h>
#include <IPStack/include/adapters_api.h>
#include <timers.h> // Time_D... |
#include "graphics.h"
#include "game_state.h"
static void myDrawRect(camera* cam, int x1, int y1, int x2, int y2);
static void myDrawCirc(int x, int y, int rad);
static void add_surface(char* fn);
static void add_texture(char* fn);
static void init_surfaces();
static void init_textures();
SDL_Surface* get_surface_by... |
/**
* sysinfo.c -- Gather system information from *BSD* based systems
*
*
* nmond -- Ncurses based System Performance Monitor for Darwin (Mac OS X)
* https://github.com/stollcri/nmond
*
*
* Copyright (c) 2015, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or witho... |
/*
comedi/drivers/s526.c
Sensoray s526 Comedi driver
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000 <NAME> <<EMAIL>>
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 Fre... |
#include "enums.h"
char* get_transport_modbus_cmd_name (uint32_t v) {
switch (v) {
case 1: return "MODBUS_READ_COIL_STATUS";
case 2: return "MODBUS_READ_DISCRETE_INPUTS";
case 3: return "MODBUS_READ_HOLDING_REGISTERS";
case 4: return "MODBUS_READ_INPUT_REGISTERS";
case 5: return "MODBUS_WRITE_SINGLE_COIL";
case 6: retu... |
/* Copyright (c) Codethink Ltd. All rights reserved.
Licensed under the MIT License. */
#include "I2CMaster.h"
#include "NVIC.h"
#include "mt3620/i2c.h"
#include "mt3620/dma.h"
#include <stdbool.h>
static inline void fifoClear(volatile uint32_t *fifo, bool tx, bool rx)
{
mt3620_i2c_mm_fifo_con0_t fifo_con0 = ... |
/*
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/*
* Copyright (c) 2006-2013 The StarBED Project All rights reserved.
*
* See the file 'LICENSE' for licensing information.
*
*/
/************************************************************************
*
* QOMET Emulator Implementation
*
* File name: zigbee.c
* Function: Model ZigBee communication and com... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2013 The University of Tennessee a... |
/* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2014, Atmel Corporation
* Copyright (c) 2018, <NAME>
*
* Based on sama5d3_acqua.c (Acqua S... |
/*
* Copyright (c) 2014, LSI Corp.
* All rights reserved.
* Author: <NAME>
* Support: <EMAIL>
*
* 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 copyr... |
/* annoGratorTester -- exercise anno* lib modules (in kent/src as well as kent/src/hg) */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "annoGratorQuery.h"
#include "annoGratorGpVar.h"
#include "annoStreamBigBed.h"
#... |
/*D***********************************************************
* copyright: yafra.org, Switzerland, 2004
*
* modul: travelDB GTK user interface
* GTK func: create window
* describe: MAIN window
*
* menubar consists of:
* File(Open, Save, Save as..., Print, Exit)
* Edit (Undo, Cut, Copy, Paste)
* Reserva... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <limits.h>
#include <math.h>
#include <string.h>
#include <sys/wait.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <grp.h>
#include <pwd.h>
#define rep(i, a, b) for(i = a; i < b; i++)
... |
static char rcsid[] = "@(#)$Id$";
/*
Authors: <NAME>
e-mail: "<EMAIL>"
Revision history:-
=================
10-Oct-1995 MEV created - stolen from ftcl_ParseArgv which was heavily
inspired by the Tk command line parser.
ftt_t_parse() - Parse command line options
ftt_t_print_usage()- Get the usage ... |
#include <stdio.h>
#include <time.h>
#include <Python.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#if LUA_VERSION_NUM == 501
#include "luajit.h"
#endif
#include "_executormodule.h"
#define EXECUTOR_XSTR(s) EXECUTOR_STR(s)
#define EXECUTOR_STR(s) #s
#define abs_index(L, i) \
((i) > 0 || (i) <=... |
/*
* Broadcom BCM590xx regulator driver
*
* Copyright 2014 Linaro Limited
* Author: <NAME> <<EMAIL>>
*
* 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,... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "core.h"
#include "platform.h"
#include "res.h"
#include "util/stb_rect_pack.h"
#include "util/stb_truetype.h"
#include "video.h"
#define batch_size 100
#define els_per_vert 11
#define verts_per_quad 4
#define ind... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file lora_app.c
* @author MCD Application Team
* @brief Application of the LRWAN Middleware
******************************************************************************
* @attention
*... |
/*
* Copyright (c) 2014 The WebM 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... |
typedef struct Conv Conv;
typedef struct Fragment4 Fragment4;
typedef struct Fragment6 Fragment6;
typedef struct Fs Fs;
typedef union Hwaddr Hwaddr;
typedef struct IP IP;
typedef struct IPaux IPaux;
typedef struct Ip4hdr Ip4hdr;
typedef struct Ipfrag Ipfrag;
typedef struct Ipself Ipself;
typedef struct Ipselftab Ipself... |
/**
*****************************************************************************
@addtogroup tia
@{
@file TiaLib.c
@brief Set of Tia peripheral functions.
@internal 002 @endinternal
@version V0.1
@author ADI
@date November 2015
@par Revision History:
- V0.1, August... |
/* iso2utc.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__1 = 1;
static integer c__2 = 2;
static integer c__3 = 3;
static integer c__4 = 4;
static integer c__5 ... |
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <limits.h>
#include <ctype.h>
#include <math.h>
#include "lodepng.h"
struct box_size {
int width;
int height;
int depth;
};
struct primitive {
enum primitive_type {
TRANSLATE, // Δx i... |
/*
* Copyright (C) 2004-2008 <NAME>
*
* 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 2.1 of the License, or (at your option) any later version.
*
* This pr... |
/*---------- Macros ----------*/
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
/*---------- Header Files -----------*/
#include <ctype.h> // iscntrl()
#include <errno.h> // errno, EAGAIN
#include <fcntl.h>
#include <stdio.h> // printf() perror()
#include <stdarg.h>
#include <stdlib.h> // atexit() rea... |
/* progstate.c */
/*
* For !OWW project
* One-wire weather
* Dr. <NAME>
* 1999 - 2000
* Free for non-comercial use
* Dallas parts subject to their copyright and conditions
*
*/
/*
program state machine
*/
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <sys/select.h... |
/*
* Esquilo Secure Tunneling Protocol Daemon (ESTP)
*
* Copyright 2014-2018 Esquilo Corporation - https://esquilo.io/
*
* 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 restri... |
/*
* T04:
* <NAME>
* <NAME>
* <NAME>
* <NAME>
*
* Self Leveling Table Main Program
*/
#define F_CPU 16000000 // AVR clock frequency in Hz, used by util/delay.h
#include <avr/io.h>
#include <util/delay.h>
#include <math.h>
#include "Dotstar.h"
//definitions
#define MIN_ANGLE 0 ... |
/* autlib4.f -- translated by f2c (version 19970805).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "auto_f2c.h"
#include "auto_c.h"
/* ----------------------------------------------------------------------- */
/* ---------------------------------------------... |
#ifndef CRANBERRY_PROCEDURAL
#define CRANBERRY_PROCEDURAL
typedef enum
{
cranp_op_id_circle = 0,
cranp_op_id_translate,
cranp_op_id_max
} cranp_op_id_e;
typedef struct _cranp_vm_t cranp_vm_t;
typedef void(*cranp_opf_t)(cranp_vm_t* vm, unsigned int slotId, unsigned int* inputBuffers, unsigned int inputBufferCount... |
/*
SDL video backend for Windows, *nix and Dingux
Define __DINGUX__ to build for low resolutions like 320x240
*/
#include "m_core.h"
#include "m_gfx.h"
#include "SDL.h"
// forward def of palette in RGBA format
extern unsigned char pal256[1024];
unsigned char Keys[128] = {0};
#ifndef __DINGUX__
int scale2x = 2; ... |
/* MIT (BSD) license - see LICENSE file for details */
/* SHA512 core code translated from the Bitcoin project's C++:
*
* src/crypto/sha512.cpp commit f914f1a746d7f91951c1da262a4a749dd3ebfa71
* Copyright (c) 2014 The Bitcoin Core developers
* Distributed under the MIT software license, see the accompanying
* file... |
#include <GL/glut.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
// gcc -o aula_04 aula_04.c -L/System/Library/Frameworks -framework GLUT -framework OpenGL
#ifndef M_PI
#define M_PI 3.1415926535897932384626433832795
#endif
#define RAD(x) (M_PI * (x) / 180)
#define G... |
/* Target-dependent code for the SPARC for GDB, the GNU debugger.
Copyright 1986, 1987, 1989, 1991, 1992, 1993 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 ... |
/* $Id$Revision: */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... |
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700 /* required for glibc to use getaddrinfo, etc. */
#endif
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <netdb.h>
#include <stdio.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <sys/socket.h>
#inc... |
/*-------------------------------------------------------------------------
*
* hashpage.c
* Hash table page management code for the Postgres hash access method
*
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
... |
/**
\brief This program shows the use of the "quick_cal" bsp module.
Since the bsp modules for different platforms have the same declaration, you
can use this project with any platform.
\author <NAME> <<EMAIL>>, December 2019.
*/
#include "board.h"
#include "radio.h"
#include "leds.h"
#include "sctimer.h"
#include "... |
#define _GNU_SOURCE
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <linux/loop.h>
#ifnde... |
/* mem.c
* <NAME>
* Yulinx
* ECE 2230 Spring 2019
* MP4
*
* Propose: A template for MP4
*
* Assumptions: To allocate memory, frees and test them if the Rover is moving along the list.
*
*
* Bugs: None that I know
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#inclu... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdarg.h>
#include <time.h>
#include <SDL2/SDL.h>
#define _1B bool
#define _8B unsigned char
#define _16B unsigned short
#define WINDOW_WIDTH 640
#define WINDOW_HEIGHT 320
#define GBUFF_SIZE 32*64
#define VERBOSE_OPCODES 1
SDL_Window *wind... |
/*////////////////////////////////////////////////////////////////////////
Copyright (c) 1997-2000 <NAME> and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST)
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Permission to use this mate... |
// SPDX-License-Identifier: GPL-2.0-only
//
// Codec driver for Microsemi ZL38060 Connected Home Audio Processor.
//
// Copyright(c) 2020 <NAME>
// The ZL38060 is very flexible and configurable. This driver implements only a
// tiny subset of the chip's possible configurations:
//
// - DSP block bypassed: DAI r... |
/*
* Copyright 2018 Advanced Micro Devices, 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, including without limitation
* the rights to use, copy, modify, m... |
/****************************************************************************
* Driver for Solarflare Solarstorm network controllers and boards
* Copyright 2006-2010 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Publi... |
/* affine transform with a supplied interpolator.
*
*
* Copyright <NAME>
* Written on: 01/11/1991
* Modified on: 12/3/92 JC
* - rounding error in interpolation routine fixed
* - test for scale=1, angle=0 case fixed
* - clipping of output removed: redundant
* - various little tidies
* - problems remain with s... |
/*
* rev-parse.c
*
* Copyright (C) <NAME>, 2005
*/
#include "cache.h"
#include "commit.h"
#include "refs.h"
#include "quote.h"
#include "builtin.h"
#include "parse-options.h"
#include "diff.h"
#include "revision.h"
#define DO_REVS 1
#define DO_NOREV 2
#define DO_FLAGS 4
#define DO_NONFLAGS 8
static int filter = ~... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include <linux/slab.h>
#include <linux/export.h>
#include "hostap_80211.h"
#include "hostap_common.h"
#include "hostap_wlan.h"
#include "hostap.h"
#include "hostap_ap.h"
/* See IEEE 802.1H for LLC/SNAP encapsulation/decapsulation */
/* Ethernet-II snap header (RFC1042 for most EtherTypes) */
static unsigned char rfc... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*-
* BSD LICENSE
*
* Copyright(c) 2008 - 2011 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 code must retai... |
/*
* Broadcom BCM5325E/536x switch configuration utility
*
* Copyright (C) 2005 <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 version 2
* of the License, or (at... |
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <strings.h>
#include <unistd.h>
#include "sha1/sha1.h"
#include "disk_cache.h"
/*... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*******************************example_joinlink **************************/
#include "autoconf.h"
#include "platform_stdlib.h"
#include "wifi_conf.h"
#include "wifi_structures.h"
#include "osdep_service.h"
#include "lwip_netconf.h"
#include "task.h"
#include "joinlink.h"
#include "cJSON.h"
#include <lwip/sockets.h>
... |
/*
* Copyright 2003 VMware, Inc.
* All Rights Reserved.
*
* 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, m... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* plugins/preauth/spake/spake_kdc.c - SPAKE kdcpreauth module */
/*
* Copyright (C) 2015 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2008, 2007, 2006, 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Ge... |
/*
* linux/fs/ext2/balloc.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* <NAME> (<EMAIL>)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et <NAME> (Paris VI)
*
* Enhanced block allocation by <NAME> (<EMAIL>), 1993
*/
/*
* balloc.c contains the blocks allocation and deallocation routines
*/
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <stdint.h>
#include <time.h>
#include <ctype.h>
#include <errno.h>
#ifdef _WIN32
# include <io.h>
# include <fcntl.h>
#endif
#include "common.h"
#include "fast_tlv.h"
#include "desc.h"
#include "dir.h"
#include "file_io.h"
#defin... |
/*
*******************************************************************************
*
* Copyright (C) 1999-2009, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: derb.c
* encoding: US-... |
/** @file
* Copyright (c) 2020-2021, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* 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:... |
/* $NetBSD: mii_physubr.c,v 1.49 2006/03/29 07:05:24 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> of the Numerical Aerospace Simulation Facility,
* NASA Ames R... |
/*
* Copyright (C) 2010 Citrix Ltd.
* Author <NAME> <<EMAIL>>
*
* 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; version 2.1 only.
*
* This program is distributed in the hope ... |
/*******************************************************************************
License:
This software and/or related materials was developed at the National Institute
of Standards and Technology (NIST) by employees of the Federal Government
in the course of their official duties. Pursuant to title 17 Section 105
of... |
/*
* Copyright (C) 2018 University of Stuttgart
*
* 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 agr... |
// ============================================================================
// Copyright (c) 2013, FORTH-ICS / CARV
// (Foundation for Research & Technology -- Hellas,
// Institute of Computer Science,
// Computer Architecture & VLSI Systems Laboratory)... |
/*
* Copyright (c) 2012 Citrix Systems, 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, including without limitation the rights
* to use, copy, modify, merg... |
//**********************************************************************;
// Copyright (c) 2015, Intel Corporation
// 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 s... |
/*
* linux/drivers/ide/ide-dma.c Version 4.10 June 9, 2000
*
* Copyright (c) 1999-2000 <NAME> <<EMAIL>>
* May be copied or modified under the terms of the GNU General Public License
*/
/*
* Special Thanks to Mark for his Six years of work.
*
* Copyright (c) 1995-1998 <NAME>
* May be copied or modified... |
/*-
* Copyright (c) 2006 <NAME>, <NAME>
* 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 cond... |
/*
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* 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 DISCL... |
/* $Id: hspfilter_culling.c 567053 2018-07-12 13:16:31Z fongah2 $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Governm... |
/*
* Filename: extend.c
*
* Copyright (c) 2010, <NAME> (<EMAIL>)
*
* 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 opti... |
/*
** Copyright 2014-2016 The Earlham Institute
**
** 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... |
/*
* Copyright 2017 <NAME>
*
* 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 writi... |
#include <assert.h>
#include <string.h>
#include "motif-in.h"
#include "motif-in-dreme-xml.h"
#include "motif-in-meme-xml.h"
#include "motif-in-meme-html.h"
#include "motif-in-meme-json.h"
#include "motif-in-meme-text.h"
#include "motif-spec.h"
#include "utils.h"
typedef struct mformat MFORMAT_T;
/*
* Motif Reader
... |
#include "lib.h"
#include "defines.h"
#include "milosUtils.h"
#include "time.h"
#include <complex.h>
#include <fftw3.h> //siempre a continuacion de complex.h
#include <math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_eigen.h>
#include <complex.h>
#include <fftw3.h> //siempre a continuaci... |
/*! \file csmaMac.c
\brief Carrier-Sensing Random Access MAC.
@version 16.1
@author <NAME> and <NAME>
The csmaMac is a modified ALOHA MAC that
serves as an example for novel MAC
development. Nodes transmit whenever
they have information to transmit, and only
move on to the next packet once the original
trans... |
/*
+----------------------------------------------------------------------+
| Zan-Stats |
+----------------------------------------------------------------------+
| Copyright (c) 2017-2017 maben<https://github.com/imaben> |
+--------------... |
/*****************************************************************************
FILE: test_read_level2_qa.c
PURPOSE: Contains test functions for testing the read and manipulation of the
Level-2 QA band.
PROJECT: Land Satellites Data System Science Research and Development (LSRD)
at the USGS EROS
LICENSE TYPE: NAS... |
/*
* Copyright 2015, 2016, International Business Machines
*
* 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 a... |
/*
* Copyright (c) 2016 eSOL TRINITY, www.esol-trinity.co.jp
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* 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
*
* ... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/*
*
* Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/// \file
/// \ingroup PlaytreeParser
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef MP_DEBUG
#include <assert.h>
#endif
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
#include "m_config.h"
#include "play... |
/*
* Copyright (c) 2014, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
* the U.S. Government retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... |
#pragma once
#define CHIPS_IMPL
#include "Z80.h"
#include "Rom.h"
#include "Clock.h"
#include "Memory.h"
#include "Keyboard.h"
#define DISPLAY_WIDTH (320)
#define DISPLAY_HEIGHT (256)
#define DISPLAY_PIXEL_BYTES sizeof(uint32_t)
#define DISPLAY_BYTES (DISPLAY_WIDTH * DISPLAY_HEIGHT * DISPLAY_PIXEL_BYTES)
const int ... |
#include <float.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include "../libraries/gnuplot_i/src/gnuplot_i.h"
/*
PENDING
TODO: Gray Codification
TODO: Implement Error Tolerance (EPSILON)
TODO: Two-point crossover
TODO: define... |
/*
* sh_eth.h - Driver for Renesas SH7763's gigabit ethernet controler.
*
* Copyright (C) 2008 Renesas Solutions Corp.
* Copyright (c) 2008 <NAME>
* Copyright (c) 2007 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... |
/* $Id: term.c,v 1.214 2013/12/25 00:39:31 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 <NAME> <<EMAIL>>
* Copyright (c) 2010, 2011, 2012, 2013 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that th... |
/**
* Very very simple demonstration code written in C language
* @file ysz4_orig_clock.c
*/
///////////////////////////////////////////////////////
// This source code is free of charge! //
// Feel free to use it. //
///////////////////////////////////////////////////////... |
// Copyright (c) 2021 <NAME>
//
// MIT License
//
// 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, merg... |
#include "bolt_native.h"
#include <arpa/inet.h>
#include "ruby/encoding.h"
VALUE rb_mBolt;
VALUE rb_mBolt_packStream;
VALUE rb_mBolt_structure;
VALUE rb_mBolt_basic_structure;
VALUE rb_mBolt_ByteBuffer;
ID id_fields;
ID id_signature;
ID id_from_pack_stream;
static rb_encoding * utf8;
#pragma pack(1)
typedef union {
... |
/*
* (C) Copyright 2009 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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) 2010-2014, NVIDIA CORPORATION. All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/pinmux.h>
#define PIN(pin, f0, f1, f2, f3) \
{ \
.funcs = { \
PMUX_FUNC_##f0, \
PMUX_FUNC_##f1, \
PMUX_FUNC_##f2, \
PMUX_FUN... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.