text stringlengths 5.8k 28.2k |
|---|
#include "texture.h"
#include "etcpack.h"
#include "dxt.h"
#include "vtf.h"
#include "cache.h"
#include "collection.h"
#include "mempools.h"
#include "common.h"
const char *vtfFormatStr(enum VTFImageFormat fmt) {
switch(fmt) {
case VTFImage_None: return "None";
case VTFImage_RGBA8: return "RGBA8";
case VTFImage... |
//https://github.com/Tyilo/insert_dylib/blob/master/insert_dylib/main.c
#include "insert_dylib.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <copyfile.h>
#include <mac... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2017 IBM Corp.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include "pmbus.h"
enum max31785_regs {
MFR_REVISION = 0x9b,
MFR_FAN_CONFIG = 0xf1,
};
#define MAX31785 0... |
//
// Created by zhangrongxiang on 2017/10/26 10:41
// File log
/**********************************************************************
* 内容摘要:演示日志信息的打印方法
**********************************************************************/
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <sys/t... |
#include "Particle.h"
#include "Block.h"
#include "World.h"
#include "ExtMath.h"
#include "Lighting.h"
#include "Entity.h"
#include "Random.h"
#include "TerrainAtlas.h"
#include "GraphicsAPI.h"
#include "GraphicsCommon.h"
#include "Funcs.h"
#include "Game.h"
#include "Event.h"
void Particle_DoRender(Vect... |
/* A simple Mad Libs game which loads a random story from a file. */
/* Later a configuration pannel may be added. */
/*
Public Domain 2013, 2020 <NAME>
See the file "UNLICENSE" in the top level directory for details.
*/
#define _WINDOWS
#ifdef _WINDOWS
#define F_BIN "b"
#else
#define F_BIN ""
#endif
#ifdef _MSC_V... |
/*
* (C) Copyright 2003
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* 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 Fo... |
/*-
* Copyright (c) 2008-2011 <NAME> <<EMAIL>>
* 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 ... |
#include "geometry.h"
#include "compiler.h"
// Articulate bodies
#include "math2.h"
#include "util.h"
#include "anim.h"
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include <alloca.h>
#include "image.h"
typedef struct{
char *name;
int parent;
v3_t pos;
q_t rotq;
float rotmat[3][3]... |
/*
* launchCtrl.c
*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* Code generation for model "launchCtrl".
*
* Model version : 1.2
* Simulink C... |
/* basic_blocks.c - Basic-block level related code: reading/writing
of basic-block info to/from gmon.out; computing and formatting of
basic-block related statistics.
Copyright (C) 1999-2016 Free Software Foundation, Inc.
This file is part of GNU Binutils.
This program is free software; you can redis... |
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/select.h>
#include <sys/time.h>
#include <signal.h>
#include <string.h>
#include <stdarg.h>
#include <syslog.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "mxhtsp.h"
#include "mxhtspd.h"
/* Jared, the control shou... |
/*
date_strftime.c: based on a public-domain implementation of ANSI C
library routine strftime, which is originally written by <NAME>.
*/
#include "ruby/ruby.h"
#include "date_tmx.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#if defined(HAVE_SYS_TIME_H)
#include <sys/time.h>
... |
/*
** igmpproxy - IGMP proxy based multicast router
** Copyright (C) 2005 <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, or
** (at... |
/**
* @file libaxidma.c
* @date Saturday, December 05, 2015 at 10:10:39 AM EST
* @author <NAME> (bmperez)
* @author <NAME> (jaewonch)
*
* This is a simple library that wraps around the AXI DMA module,
* allowing for the user to abstract away from the finer grained details.
*
* @bug No known bugs.
**/
#includ... |
#include <comando.r>
#include <controlador.r>
#include <float.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "svg_path.h"
#include <algoritmo/dijkstra.h>
#include <model/estrutural/SVG.h>
#include <model/trabalho/mapa_viario/vertice.h>
#include <model/trabalho/mapa_viario/aresta.h>
#incl... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2017 The University of Tennessee and The University
* ... |
/******************************************************************************
* Filename: drv8353.c
* Description: Controls Serial Peripheral Interface (SPI) hardware on the
* STM32G4 for communication with the DRV8353(R)S three-phase
* bridge PWM driver.
*
* Each SP... |
/*-
* SSLsplit - transparent SSL/TLS interception
* https://www.roe.ch/SSLsplit
*
* Copyright (c) 2009-2019, <NAME> <<EMAIL>>.
* 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. Redistr... |
/* X3F_EXTRACT.C
*
* Extracting images from X3F files.
* Also converting to histogram and color image.
*
* Copyright 2015 - Roland and <NAME>
* BSD-style - see doc/copyright.txt
*
*/
#include "x3f_version.h"
#include "x3f_io.h"
#include "x3f_process.h"
#include "x3f_output_dng.h"
#include "x3f_output_tiff.h"
#... |
/* FFTease for Pd */
#include "fftease.h"
static t_class *cavoc_class;
#define OBJECT_NAME "cavoc~"
typedef struct _cavoc
{
t_object x_obj;
float x_f;
t_fftease *fft;
t_float frame_duration;
int max_bin;
t_float fundamental;
short left;
short right;
short center;
short *rule... |
#include <stdio.h>
#include <xio.h>
#include "xbasic_types.h"
#include "xstatus.h"
#include "xparameters.h"
#include "xtft.h"
#include <xparameters.h>
#include "image_lib.h"
#include <hthread.h>
#include "hetero_lib.h"
#include <xcache_l.h>
// Useful definitions
#define DDR_BASEADDR XPAR_DDR2_SDRAM_MPMC_BASEADDR
#... |
/*
* aseqdump.c - show the events received at an ALSA sequencer port
*
* Copyright (c) 2005 <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 th... |
/*
* Copyright (c) 2000-2004 University of Utah and the Flux Group.
* All rights reserved.
*
* This file is part of Frisbee, which is part of the Netbed/Emulab Network
* Testbed. Frisbee is free software, also known as "open source;" you can
* redistribute it and/or modify it under the terms of the GNU General
... |
/* $OpenBSD: route.c,v 1.88 2011/04/06 11:36:26 miod Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificati... |
////////////////////////////////////////////////////////////////////////////////
// //
// MIT X11 license, Copyright (c) 2005-2006 by: //
// ... |
/*!
* c.c - wrapper for lcdb
* Copyright (c) 2022, <NAME> (MIT License).
* https://github.com/chjj/lcdb
*
* Parts of this software are based on google/leveldb:
* Copyright (c) 2011, The LevelDB Authors. All rights reserved.
* https://github.com/google/leveldb
*
* See LICENSE for more information.
*/
#inc... |
// filename으로부터 문자열 읽어서 LIST로 변환
LINK GetExpr(char *filename) {
FILE *fq = fopen(filename, "r");
if(fq == NULL){
printf("Error: Input file not found.\n");
exit(0);
}
char input = getc(fq);
if(input==EOF) {
printf("Error: Input file is empty.\n");
exit(0);
}
... |
/* Prototype of runtime for nBallerina */
/*
Assume (for now):
1. NoGC memory management - malloc and never free
2. No exceptions: panic aborts
*/
#include <assert.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _MSC_VER
// MSC does no... |
// os.c
// Runs on LM4F120/TM4C123/MSP432
// Uses SysTick and TA1_0_IRQHandler
// <NAME>
// March 24, 2016
#include <stdint.h>
#include "os.h"
#include "..\inc\CortexM.h"
#include "..\inc\Clock.h"
#include "msp.h"
// function definitions in osasm.s
void StartOS(void);
#define NUMTHREADS 6 // maximum number of... |
#include "writeverilog_bitonic.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "catf.h"
#include <fcntl.h>
static unsigned ulog2(unsigned n)
{
unsigned i = 0;
while(1) {
if((1 << i) >= n) return i;
++i;
}
}
static unsigned npot(unsigned n)
{
unsigned i = 0;
while(1) ... |
#include <stdio.h>
#include <stdlib.h>
#include <mcheck.h>
#include "../../../../src/memluv.h"
#include "../../../../src/global.h"
#include "dijkstra.h"
// cat memluv_stats_heap-0.txt | tail -n +20 | awk '{ print $2" "$6}' | sed '1d; n; d'> xaxa.txt // remove even lines
// cat memluv_stats_heap-0.txt | tail -n +20 | a... |
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/*
All integeres in systems where <sizeof(int) == 32> will fit in 12 bytes when converted to string.
Therefore we define that as <INT_SIZ>.
*/
#ifndef INT_SIZ
#define INT_SIZ 12
#endif
struct entry
{
int uid; /*... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/*
*/
#include <vxWorks.h>
#include "hostAcqStructs.h"
#include "consoleS... |
/* zzprscor.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__15 = 15;
static integer c__0 = 0;
/* $Procedure ZZPRSCOR ( Parse aberration correction ) */
/* Subro... |
/*
*
* Timing:
* 1. Driving timer from the SMCLK at default 3 MHz (approx)
* 2. Divisor = 3 (ID=0, EX0=2)
* so that the timer goes at about 1MHz.
*
*/
#include "msp.h"
//12 LEDS
#define LED0_PORT P5
#define LED0_BIT BIT6
#define LED1_PORT P2
#define LED1_BIT BIT4
#define LED2_PORT P6
#... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* ghnhb.c
3D HNHB experiment for the measurement of N-HB coupling cons... |
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/wait.h>
#include <signal.h>
#include "parser.h"
#include "color.h"
#include "process_control.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#define MAX_INPUT_SIZE 1000
#define RUNNING ... |
/*
* Copyright (c) 2011-2018, 2020 The Linux Foundation. All rights reserved.
*
* 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 SOFTWA... |
/**************************************************************************/
/*!
@file tsl2561.c
@author <NAME> (microBuilder.eu)
modified for STM32 by <NAME>
@brief Drivers for the TAOS TSL2561 I2C digital luminosity sensor
@section DESCRIPTION
The TSL2561 is a 16-bit digital lumi... |
#include "eq.h"
#include "vec3.h"
#include "matrix.h"
static int find_min_proj(double z[3]){
int i_min = 0;
for(int i=1; i<3; i++){
if( fabs(z[i]) < fabs(z[i_min]) ){
i_min = i;
}
}
return i_min;
}
static void new_xy_axis(int i, double * xx1, double * xx2, double x[3], double y[3], double z[3]){... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "stdio.h"
#include "prtypes.h"
#include "blapi.h"
/*
* what follows is code thrown together to generate... |
/* Copyright (C)2007-2013 Xiph.Org Foundation
File: picture.c
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 condition... |
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include "util.h"
#include "vpr_types.h"
#include "globals.h"
#include "net_delay_types.h"
#include "net_delay_local_void.h"
#include "net_delay.h"
#include "path_delay.h"
/* CLB PIN REMAP */
#include "clb_pin_remap_util.h"
#include "post_place_timing.h"
/* Xifa... |
// Part of dump1090, a Mode S message decoder for RTLSDR devices.
//
// stats.c: statistics helpers.
//
// Copyright (c) 2015 <NAME> <<EMAIL>>
//
// This file is free software: you may copy, redistribute and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundat... |
/*
* FIPS-180-1 compliant SHA-1 implementation
*
* Copyright (C) 2001-2003 <NAME>
* Copyright (C) 2012 <NAME>, Katalix Systems Ltd <<EMAIL>>
*
* Ported into Lorcon, <EMAIL>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
* Copyright (c) 2002-2004 X-ray Instrumentation Associates
* 2005-2011 XIA LLC
* 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 sour... |
/******************************************************************************
* Projekt - Zaklady pocitacove grafiky - IZG
* <EMAIL>
*
* $Id: student.c 265 2013-02-20 16:44:40Z spanel $
*/
#include "student.h"
#include "transform.h"
#include "curve.h"
#include <memory.h>
#include <math.h>
/***... |
#include "sys/sbunix.h"
#include <sys/gdt.h>
//#include "timer.c"
struct pcb_list *ready_queue = NULL;
struct pcb_list *wait_queue = NULL;
struct pcb_list *terminated_queue = NULL;
extern int ticks;
extern uint64_t *table_base_ptr;
void print_list(struct pcb_list **list) {
struct pcb_list *curr = *list;
while(curr ... |
/* Portable aligned memory allocation.
*
* See esl_alloc.md for notes.
*
* Contents:
* 1. Portable(-ish) fallback implementation of aligned allocation.
* 2. esl_alloc_aligned(), esl_alloc_free() API calls
* 3. Benchmark driver
* 4. Unit tests
* 5. Test driver
*/
#include "esl_config.h"
#incl... |
/*-
* Copyright (c) 2014 <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 conditions a... |
#include <stdint.h>
#include <string.h>
#include <kernel/cpu.h>
#include <kernel/cprintf.h>
#include <kernel/drivers/gic.h>
#include <kernel/mm/memlayout.h>
#include <kernel/mm/page.h>
#include <kernel/trap.h>
#include <kernel/types.h>
#include <kernel/drivers/eth.h>
#define ETH_BASE 0x4E000000
// RX an ... |
#include "gml.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
static gml_value_t gml_builtin_print_impl(gml_state_t *gml, gml_value_t *args, size_t nargs, int nl) {
char buffer[4096];
char *data;
for (size_t i = ... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
#include <signal.h>
// ============================================================================
// =====... |
/**
* @file session.c
* @brief RTP session handling
*/
/*****************************************************************************
* Copyright © 2008 <NAME>
*
* This 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... |
/* ********************************************************************************************* */
/* * KK-Algorithm for Strongly Non-Singular Matrices Inversion (PC Version) * */
/* * Authors: <NAME>, <NAME> * */
/* * Based on algorithm developed by <NAME> a... |
/********************************************************
* *
* <NAME> *
* *
* Email: <EMAIL> *
* *
* Github Username: Temeteron *
* ... |
#define _GNU_SOURCE
#include "support.h"
#include <uade/uade.h>
#include <uade/uadeutils.h>
#include <uade/ossupport.h>
#include <uade/amifilemagic.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#i... |
/******************************************************************************
* @file: system_stm32f10x_cl.c
* @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Source File for the
* ST STM32F10x Connectivity Line Device Series
* @version: V1.00
* @date: 18. Jun. 2009
*-------------------... |
/*-
* Copyright (c) 2005, <NAME>
* All rights reserved.
* Copyright (c) 1995, <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... |
/* GStreamer Sub-Picture Unit - VobSub/DVD handling
* 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 of the License, or (a... |
/*
* Copyright 2019 Huawei Technologies Co.,Ltd.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
*
* Unless req... |
/***********************************************************************
The cct 4D Transformation program
************************************************************************
cct is a 4D equivalent to the "proj" projection program.
cct is an acronym meaning "Coordinate Conversion and Transform... |
#include <assert.h>
#include <arpa/inet.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
#include "error.h"
#include <event2/listener.h>
#include <event2/util.h>
#include <event2/event.h>
#include <json-c/... |
// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
*
* Copyright(c) 2007 - 2016 Realtek Corporation.
*
* Contact Information:
* wlanfae <<EMAIL>>
* Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
* Hsinchu 300, Taiwan.
*
* ... |
#include <stdio.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#ifdef sun
#include <sundev/tmreg.h>
#include <sundev/xtreg.h>
#include <sundev/arreg.h>
#endif
/*
* TAPE.C -... |
/*****************************************************************************
* h264_slice.c: h264 slice parser
*****************************************************************************
* Copyright (C) 2001-17 VLC authors and VideoLAN
*
* This program is free software; you can redistribute it and/or modify it... |
#include <arpa/inet.h> /* inet_ntoa */
#include <signal.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/sendfile.h>
#include <sys/socket.h>
#include <sys/stat.h>
#incl... |
/*=========================================================================
GFX EXAMPLE CODE - #7
"starship game, a recap of all things"
Copyright (C) 2004 <NAME>
This example's source code is Public Domain.
WARNING: The author makes no guarantees and holds no responsibility for
any damage, injury or loss that m... |
/* $OpenBSD: inet.c,v 1.92 2005/02/10 14:25:08 itojun Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modificati... |
/*
Copyright (c) 2009 <NAME>
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, publish, distribute... |
/* $OpenBSD: esp.c,v 1.7 2010/06/28 18:31:01 krw 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> and by <NAME> of the Numerical Aerospace
* Simulation Facility, NASA Ames Research Ce... |
/*
* FreeRTOS V202011.00
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. 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, incl... |
/*############################################################################
# Copyright 2016-2017 Intel Corporation
#
# 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
#
# ht... |
/* Finit - Fast /sbin/init replacement w/ I/O, hook & service plugins
*
* Copyright (c) 2008-2010 <NAME> <<EMAIL>>
* Copyright (c) 2008-2021 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), t... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
* o... |
#define DEBUG 0
#include <stdbool.h>
#include <stdint.h>
#include "arm.h"
#include "command.h"
#include "console.h"
#include "dma.h"
#include "float.h"
#include "gic.h"
#include "gtimer.h"
#include "hwinfo.h"
#include "intc.h"
#include "links.h"
#include "mailbox.h"
#include "mailbox-map.h"
#include "panic.h"
#includ... |
/*
* This file is part of the flashrom project.
*
* Copyright (C) 2013 <NAME> - Qtechnology A/S
* Copyright (C) 2011, 2014 <NAME>
*
* Based on nicinctel_spi.c and ichspi.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... |
#define _GNU_SOURCE
#include "tz.h"
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <ctype.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SY... |
/**
* WinPR: Windows Portable Runtime
* Keyboard Input
*
* Copyright 2012 <NAME> <<EMAIL>>
*
* 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/LIC... |
/* ../netlib/claed8.f -- translated by f2c (version 20100827). 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, at the en... |
/* Copyright (c) 1979 Regents of the University of California */
#ifdef V6
#include <retrofit.h>
#endif
/*
* Ex version 2.2, Release 1
*
* <NAME>, UC Berkeley
* May 1979
*
* This file contains most of the declarations common to a large number
* of routines. The file ex_vis.h contains declarations
* which are ... |
/* This is part of the netCDF package. Copyright 2005-2018 University
Corporation for Atmospheric Research/Unidata. See COPYRIGHT file
for conditions of use.
Test handling of formats.
<NAME>, 11/22/17
*/
#include "config.h"
#include <nc_tests.h>
#include "err_macros.h"
#define FILE_NAME_BASE "tst_format... |
/* $OpenBSD: netstat.c,v 1.45 2015/03/12 01:03:00 claudio Exp $ */
/* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modific... |
/*
* ADC.c - Library for using the analog inputs on the Robotis CM-510
* controller. Reads ADC0 for battery voltage and ADC1-ADC6 from
* the external 5-pin ports. By default ports are assigned as follows:
* GyroX = CM-510 Port3 = ADC3 = PORTF3
* GyroY = CM-510 Port4 = ADC4 = PORTF4
* DMS = CM-510 Port5 = A... |
//-----------------------------------------------------------------------------
// Authored by <NAME> <<EMAIL>> based on cmdlfhid.c structure
//
// cmdlfhid.c is Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any lat... |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc., 2016 Google Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public ... |
/***************************************************************************
* Project : shakti devt board
* Name of the file : pwm_driver.c
* Brief Description of file : PWM Driver Code.
* Name of Author : <NAME>
* Email ID : <EMAIL>
Copyright (C) ... |
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYIN... |
// Copyright <NAME> and contributors 2010 - 2020.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <assert.h>
#include <math.h>
#inclu... |
/* ipv4.c - IPV4 code for sendip
* Author: <NAME> <<EMAIL>>
* ChangeLog from 2.0 release:
* 26/11/2001 IP options
* 23/01/2002 Spelling fix (<NAME> <<EMAIL>>)
* 26/08/2002 Put tot_len field in host byte order on FreeBSD
* ChangeLog since 2.2 release:
* 24/11/2002 make it compile on archs that care about alignmen... |
// platform-dependent functions
#include "platform.h"
#include "type.h"
#include "pio.h"
#include "usart.h"
#include "devman.h"
#include "pmc.h"
#include "genstd.h"
#include "tc.h"
#include "stacks.h"
#include "pwmc.h"
#include "board.h"
#include <reent.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#inc... |
/* $NetBSD: keyboard.h,v 1.6 1997/04/09 04:48:57 scottr Exp $ */
/*-
* Copyright (C) 1993 <NAME>, <NAME>,
* <NAME>, <NAME>, and
* <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... |
/* NuRAN Wireless Litecell 1.5 BTS L1 calibration file routines*/
/* Copyright (C) 2015 by <NAME> <<EMAIL>>
* Copyright (C) 2016 by <NAME> <<EMAIL>>
*
* Based on sysmoBTS:
* (C) 2012 by <NAME> <<EMAIL>>
*
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it ... |
/* ckwss.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__3 = 3;
static integer c__11 = 11;
/* $Procedure CKWSS ( CK write segment summary ) */
/* Subroutin... |
/*
* Copyright (C) 2011 <NAME> <<EMAIL>>
* 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,... |
/*
* Copyright (c) 1999, 2000, 2002, 2010, 2011 <NAME> <<EMAIL>>
* Portions Copyright (c) 2002 by Koninklijke Philips Electronics N.V.
* Copyright (C) 1999 <NAME> (<EMAIL>)
* Copyright (c) 1991 <NAME>
* Permission is granted to use, distribute, or modify this source,
* provided that this copyright notice remains ... |
/* VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
* Copyright (C) 1999-2003 Forgotten
* Copyright (C) 2004 Forgotten and the VBA development team
*
* 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... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stm32f10x.h>
#include <core_cm3.h>
#include "common.h"
#include "int.h"
#include "mmio.h"
#include "uart.h"
#include "log.h"
#include "shell.h"
#include "watchdog.h"
#include "flash.h"
#include "24l01.h"
#include "systest.h"
volatile char * volatile ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.