text stringlengths 5.8k 28.2k |
|---|
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... |
/*
* Bluewater Systems Snapper 9260/9G20 modules
*
* (C) Copyright 2011 Bluewater Systems
* Author: <NAME> <<EMAIL>>
* Author: <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <atmel_lcd.h>
#include <atmel_lcdc.h>
#include <atmel_mci.h>
#include <dm.h>
#include <lcd.h>... |
/*
* Copyright (c) 2012, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... |
/*
Copyright (c) 2016 <NAME>.
All rights reserved.
Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and... |
/*
* Copyright (c) 2006, 2010 <NAME>
* (Royal Institute of Technology, Stockholm, Sweden).
* 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 re... |
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <time.h>
#include <argp.h>
#include "../lib/glassy.c"
#define IS_BIG_ENDIAN (!*(unsigned char *)&(uint16_t){1})
// Argument parsing
const char *argp_program_version =
"annealer 5.0";
const char *argp_program_bug_address =
"<<EMAIL>>";
... |
/* *******************************************************************/
/* FILE x11lib.c */
/* */
/* x11.o = x11share.c + x11draw.c + x11lib.c */
/* Motif and Olit incarnations w... |
/*
* Copyright (C) 2014 <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; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... |
/**
* @file ofmo-fragment.c
*
* 入力データを元にして、各モノマーの情報を作成する関数を定義したファイル
*
* */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ofmo-def.h"
#include "ofmo-data.h"
#include "ofmo-prof.h"
extern int ofmo_assign_fragment_basis(
const int nat, const int nsbs, char *basis_name_list[],
const int ato... |
/**
* @file ngx_http_istio_mixer_module.c
* @author <NAME> <<EMAIL>>
* @date Wed Aug 19 2017
*
* @brief Istio Mixer integration module for Nginx.
*
* @section LICENSE
*
* Copyright (C) 2011 by Nginx
*
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
ngx_flag... |
/*
This file contains definitions for functions to compute transforms from
image feature correspondences
Copyright (C) 2006-2012 <NAME> <<EMAIL>>
@version 1.1.2-20100521
*/
#include "xform.h"
#include "imgfeatures.h"
#include "utils.h"
#include <cxcore.h>
#include <stdlib.h>
#include <time.h>
/********... |
/* $NetBSD: conf.c,v 1.4 2002/01/12 15:15:00 manu Exp $ */
/*-
* Copyright (c) 1994 <NAME>, <NAME>
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
/********************************
Copyright 2008 Google Inc.
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 app... |
/*
* Copyright (c) 2010-2013 <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... |
/* Copyright (c) 2010 - 2020, Nordic Semiconductor ASA
* 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
* l... |
/*******************************************************************************
* Copyright (C) 2004-2006 Intel Corp. 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... |
/*
* Copyright (c) 2014-2018 Cesanta Software Limited
* 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
*
* ... |
/*
* Copyright (c) 2002 <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 your option) any later version.
*
* This program is d... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/******************************************************************************
*
* IMD -- The ITAP Molecular Dynamics Program
*
* Copyright 1996-2007 Institute for Theoretical and Applied Physics,
* University of Stuttgart, D-70550 Stuttgart
*
**************************************************************************... |
/*
** Copyright (C) 1999-2009 <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:
**
** * Redistributions of source code must retain the above copyright
** notice,... |
/*
* Odyssey.
*
* Scalable PostgreSQL connection pooler.
*/
#include <stdlib.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <signal.h>
#include <machinarium.h>
#include <shapito.h>
#include "sources/macro.h"
#include "sources/version.h"
#include "... |
#include <stdint.h>
#include <kernel.h>
#include <klib.h>
#include <graphics.h>
#include <cio.h>
#include <tty.h>
#include <panic.h>
#include <mouse.h>
vbe_info_struct_t vbe_info_struct;
edid_info_struct_t edid_info_struct;
vbe_mode_info_t vbe_mode_info;
get_vbe_t get_vbe;
int modeset_done = 0;
int gui_needs_refresh ... |
/*
*
*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
Includes
*/
#include "furia_pkg_cfg.h"
#include "furia_types.h"
/*
* Defines
*/
/*
* Type... |
/******** VAD.C *******/
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include "g_def.h"
#include "ADC.h"
#include "VAD.h"
#define n_thl_ratio 1 //噪声门限系数 n_thl=n_max_mean*n_thl_ratio
#define s_thl_ratio(x) (x * 30 / 10) //短时幅度判决门限系数 s_thl=sum_mean*s_thl_ratio
#define z_... |
// #################################################
// Instituto Federal da Bahia
// Salvador - BA
// Curso de Análise e Desenvolvimento de Sistemas http://ads.ifba.edu.br
// Disciplina: INF029 - Laboratório de Programação
// Professor: <NAME> - <EMAIL>
// ----- Orientações gerais -----
// Descrição: e... |
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>
#include <string.h>
#include "grb2.h"
#include "wgrib2.h"
#include "fnlist.h"
/*
* the set options
*
* set_ftime2, change forecast time
*
* 4/2016 rewrite of -set_ftime and -set_ave
*
*/
struct stat_proc {
int code_4_10; /* ave, ... |
#ifndef INSO_GIST_H
#define INSO_GIST_H
#include <stdbool.h>
typedef struct inso_gist inso_gist;
typedef struct inso_gist_file {
char* name;
char* content;
struct inso_gist_file* next;
} inso_gist_file;
enum {
INSO_GIST_OK,
INSO_GIST_HTTP_ERROR,
INSO_GIST_JSON_ERROR,
INSO_GIST_304 = 304,
};
inso_gist* inso_g... |
/*
(c) Copyright 2012-2013 DirectFB integrated media GmbH
(c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by <NAME> <<EMAIL>>,
<NAME> <<EMAIL>>,
<... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2018 <NAME> <<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 copyright
... |
/*
Copyright 2015 Google 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
Unless required by applicable law or agreed to in wri... |
/**
* Contains all code needed for the local decider's operation
*/
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <pthread.h>
#include <czmq.h>
#include <bsd/stdlib.h>
#include <math.h>
#include <errno.h>
#include <string.h>
#include "power_client.h"
#include "ctx.h"
#include "rapl.h"
#defin... |
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/epoll.h>
#include <sys/un.h>
#include <sys/param.h>
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <limits.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
#include <stdbool.h>
#inclu... |
/*
*
* This code contains changes by
* <NAME>, Freiburg i. Br., Germany, 2002. All rights reserved.
*
* Conditions 1, 2, and 4 and the no-warranty notice below apply
* to these changes.
*
*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistributi... |
/***************************************************************************//**
* @file
*******************************************************************************
* # License
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
*********************************************************************... |
/*-
* Copyright 2013-2015 <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 of c... |
/*
* U-boot - flash.c Flash driver for PSD4256GV
*
* Copyright (c) 2005-2007 Analog Devices Inc.
* This file is based on BF533EzFlash.c originally written by Analog Devices, Inc.
*
* (C) Copyright 2000-2004
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of people who contributed to... |
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <3ds.h>
#include <citro3d.h>
#include "craftus/render/render.h"
#include "craftus/render/vbocache.h"
#include "craftus/entity/player.h"
#include "craftus/render/camera.h"
#include "craftus/render/texturemap.h"
#include "craftus/world/direction.h"
#... |
#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <libopticon/cliopt.h>
#include <libopticon/util.h>
#include <libopticon/datatypes.h>
#include <libopticon/ioport.h>
#include <libopticon/ioport_buffer.h>
#include <libopticon/var_parse.h>
#include <libopticon/var_dump.h>
#include <liboptico... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 - 2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This pro... |
/* serversocket.c
* Author: <NAME>
* Description: This file implements a server to store data for each connection
* */
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <e... |
/*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <sbi/riscv_encoding.h>
#include <sbi/riscv_io.h>
#include <sbi/sbi_const.h>
#include <sbi/sbi_hart.h>
#include <sbi/sbi_platform.h>
#include <sbi/sbi_console.h>
#include <sbi_utils/irqchip/plic.h>
#include <sbi_utils/sys/clint.h>
#include <sbi_utils/serial/sunxi... |
/*
Design and codeing by <NAME> 4/8/2019
<MIT license>
FTP for cpm using the RFC959 as the design document.
The objective is to get the smallest ftp client possible without giving up
any of the things that we really need to process a complete data transfer.
A comment about z80/cpm and z88dk. Parameter passing is ... |
/*
* 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 the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it... |
/*
Author: <NAME>, Open Cells for Nokia
copyleft: OpenAirInterface Software Alliance and it's licence
*/
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>
#include <errn... |
/**
* Copyright 2018 <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 writ... |
/*
Copyright (C) 1997,2006, <NAME>
*/
#include "physics.h"
#include "syst.h"
#include "syst2.h"
#include "reader0.h"
#include "prepdiag.h"
#include "parser.h"
#include "writeF.h"
#include "crt.h"
#include "process.h"
static char momsubst[4], indsubst[4];
static int r_reading0 = 0;
static int maxMom=1000;
static ... |
#include <string.h>
#include "ppu.h"
#include "utils.h"
#include "types.h"
#include "mmu.h"
#include "cpu.h"
#define PPU_SET_MODE(m) mmu.mem[STAT] = (mmu.mem[STAT] & 0xFC) | (m)
#define SET_PIXEL(buf, x, y, color) { *(buf + ((y) * GB_SCREEN_WIDTH * 3) + ((x) * 3)) = ppu_color_palettes[ppu.current_color_palette][(col... |
/* Copyright (C) MOXA Inc. All rights reserved.
This is free software distributed under the terms of the
GNU Public License. See the file COPYING-GPL for details.
*/
/*
mon_p.c
*/
/*****************************************************************************/
/* MON_P.C ... |
/* Macros, definiciones y funciones utiles varias para correr el modelo
*/
// tiempo
#define PASO_T 0.1
#define TMAX 24*30 //sacar el 2 dsp!!!
#define TMIN 0
#define TMAV (TMAX-24*5)
#define TPOR (TMAX-24*4)
// el sistema tiene 10 variables
#define VARS 10
// estamos en un plano
#define DIM 2
// geometria euclidia... |
/*
* Author: <NAME>
*
* Materia: Sistemas operativos de tiempo real 1
*
* Examen recuperatorio
*
* Fecha: 31/08/2018
*
* Revision: 2/09/2018
*/
/*==================[inclusiones]============================================*/
// Includes de FreeRTOS
#include "FreeRTOS.h"
#include "FreeRTOSConfig.h"
#include "t... |
/*
* MIT License
* Copyright (c) 2017 - 2022 _VIFEXTech
*
* 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... |
/*******************************************************************************
Module for Microchip Graphics Library - Graphic Object Layer
Company:
Microchip Technology Inc.
File Name:
gfx_gol_progress_bar.c
Summary:
This implements the progress bar object of the GOL.
Description:
Refer ... |
/*****************************************************************************
* Copyright (c) 2021 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http://www.o... |
/* Precision/recall computation for sGLOH (but also SIFT).
* Code by <NAME> (<EMAIL>),
* refer to: <NAME>, <NAME>, <NAME>,
* "Keypoint descriptor matching with context-based orientation
* estimation", Image and Vision Computing 2014, and
* <NAME>, <NAME>, <NAME>, "Improving SIFT-based Descriptors
* Stabili... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <lua.h>
#include <lauxlib.h>
#define MAX_BLOCKS 16
#define DELIM_SIZE 16
typedef struct Lexer Lexer;
typedef int (*Next)(lua_State*, Lexer*);
typedef enum {
LINE_COMMENT,
BLOCK_COMMENT,
FREE_FORM,
LINE_DIRECTIVE,... |
/*-
* Copyright (c) 2016 <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... |
/* Driver for SB16 ISA card
* Implementing audio/audio_fw.h
*
* February 2006 Integrated standalone driver with audio framework (<NAME>)
* August 24 2005 Ported audio driver to user space (only audio playback) (<NAME>)
* May 20 1995 SB16 Driver: <NAME>
*/
#include "sb16.h"
#include "mixer.h"
sta... |
////////////////////////////////////////////////////////////////////////////////
// //
// MIT X11 license, Copyright (c) 2005-2006 by: //
// ... |
/* Programa: phrases_sf.c
* Autor: <NAME> (RA:139095)
*
* Descrição: Versão em arquivo único do programa Phrases. Contém:
* 1.1 mc202.h
* 1.2 hashtable.h
* 1.3 heap.h
* 1.4 oriented_graph.h
*
* 2.1 mc202.c
* 2.2 hashtable.c
* 2.3 heap.c
* 2.4 oriented_graph.c
* 2.5 phrases.c
*/
#include <stdio.... |
#include "fat32.h"
#include "util.h"
#include "uart.h"
#include "allocator.h"
#include "sdhost.h"
struct fatfs_boot_sector* fat_boot_sector;
struct fatfs_dir_entry* fat_root_dir_entry;
int fat_starting_sector;
int data_starting_sector;
int root_starting_sector;
struct vnode_operations* fatfs_v_ops;
struct file_operat... |
/*
*Compiled by gcc 5.4.0
* - gcc 17011086.c -o 17011086 -lm
*/
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#define MAX_BOOK_NAME_LEN 20
#define MAX_BUFFER_SIZE 1000
void readCSV(FILE*, char**, int**, int**, int, int, int); // reads given .csv file, loads values into book string array... |
/* mpc_tan -- tangent of a complex number.
Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2020 INRIA
This file is part of GNU MPC.
GNU MPC 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 ... |
/* $OpenBSD: imxiic.c,v 1.8 2016/07/10 11:46:28 kettenis Exp $ */
/*
* Copyright (c) 2013 <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 c... |
/*
* test_bitcoin-messages.c
*
* Copyright 2021 chehw <<EMAIL>>
*
* The 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 limi... |
#include "inotify.h"
#include <signal.h>
int fd;
tree **BT,**ST;
i_node **SL,**BL;
char **DP,**SP;
void inthand(int signum)
{
printf("\nSignal to terminate!\n");
printf("\n\n\n\n\t\t\t\t\t\t\t\t\tSOURCE TREE :\n\n\n\n");
print_traverse(*ST,1);
printf("\n\n\n\n\t\t\t\t\t\t\t\t\tBACKUP TREE :\n\n\n\n");
... |
/* stgran - granular sampling
pfields:
0 output start time
1 input start time
2 output duration
3 input duration [ignored for now]
4 overall amplitude multiplier
grain rates (seconds per grain):
5 input file beginning grain rate
6 ... |
/*++
Copyright (c) 2001-2010 Microsoft Corporation
Module Name:
Md5.c
Abstract:
MD5 functions implementations.
Author:
[ported by] <NAME> (sanjayka) 20-Oct-2001
Revision History:
/***********************************************************************
** md5.h -- Header fil... |
/****************************** Module Header ******************************\
* Module Name: winlogon.h
*
* Copyright (c) 1991, Microsoft Corporation
*
* Main header file for winlogon
*
* History:
* 12-09-91 Davidc Created.
* 6-May-1992 SteveDav Added space for WINMM sound function
\***************... |
/*
* GStreamer
* 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 (at your option) any later version.
*... |
#include "tcs34725.h"
extern int min_none_color[3];
extern int max_none_color[3];
int red_struct_min[] = {255, 255, 255};
int red_struct_max[] = {0, 0, 0};
int green_struct_min[] = {255, 255, 255};
int green_struct_max[] = {0, 0, 0};
int blue_struct_min[] = {255, 255, 255};
int blue_struct_max[] = {0, 0, 0};
int ... |
#include "broadcaster.h"
#include "debug.h"
static void printIncompatibleOptions()
{
fprintf(stderr, "Options config file and tcp port are incompatible !\n");
}
extern GF_Err SampleCallBack(void *, u16, char *data, u32 size, u64 ts);
/**
* Returns a port from a char value, will return 0 if port is not valid
*/
st... |
/* ../netlib/dgehrd.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... |
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <stdio.h>
#include <mpi.h>
#include <math.h>
#include <assert.h>
#include "common.h"
#include "population.h"
#include "map.h"
//Each process generates its own sub-population using the pseudo random number generator
int generatePopulation(tspsPopulation... |
#include "genreference.h"
#include "genbox.h"
#include "gencall.h"
#include "gendesc.h"
#include "genexpr.h"
#include "genfun.h"
#include "genname.h"
#include "genopt.h"
#include "gentype.h"
#include "../expr/literal.h"
#include "../reach/subtype.h"
#include "../type/cap.h"
#include "../type/subtype.h"
#include "../typ... |
/*
* -- SuperLU routine (version 3.0) --
* Univ. of California Berkeley, Xerox Palo Alto Research Center,
* and Lawrence Berkeley National Lab.
* October 15, 2003
*
*/
/*
Copyright (c) 1994 by Xerox Corporation. All rights reserved.
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
EXPRESSED ... |
#include "config.h"
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <dlfcn.h>
#include "bar/bar.h"
#include "color.h"
#include "config-verify.h"
#include "module.h"
#include "plugin.h"
#define LOG_MODULE "config"
#define LOG_ENABLE_DBG 0
#include "log.h"
static uint8_t
hex_... |
/* $OpenBSD: ramdisk.c,v 1.50 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: ramdisk.c,v 1.8 1996/04/12 08:30:09 leo Exp $ */
/*
* Copyright (c) 1995 <NAME>, <NAME>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
/*
* time-test.c -- test the time functions
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* re... |
#pragma ident "$Id: q330.c,v 1.31 2016/08/26 20:21:13 dechavez Exp $"
/*======================================================================
*
* Service a Quanterra Q330
*
*====================================================================*/
#include "isidl.h"
#include "qdp.h"
#define MY_MOD_ID ISIDL_MOD_Q330
... |
// 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... |
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8... |
#ifndef lint
static const char RCSid[] = "$Id: tmapcolrs.c,v 3.32 2018/08/02 18:33:42 greg Exp $";
#endif
/*
* Routines for tone mapping on Radiance RGBE and XYZE pictures.
*
* Externals declared in tonemap.h
*/
#include "copyright.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#i... |
/*
* XEN platform fake pci device, formerly known as the event channel device
*
* Copyright (c) 2003-2004 Intel Corp.
* Copyright (c) 2006 XenSource
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
/* vi: set sw=4 ts=4: */
/*
* $Id: ping6.c,v 1.6 2004/03/15 08:28:48 andersen Exp $
* Mini ping implementation for busybox
*
* Copyright (C) 1999 by <NAME> <<EMAIL>>
*
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*
* This version of ping is adapted from the ping in netkit-base ... |
/*
Copyright 2013 <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 writing,... |
/* scrot_selection.c
Copyright 2020-2021 <NAME> <<EMAIL>>
Copyright 2021 <NAME> <<EMAIL>>
Copyright 2021 <NAME> <<EMAIL>>
Copyright 2021 <NAME> <<EMAIL>>
Copyright 2021-2022 <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associate... |
/*
* The olsr.org Optimized Link-State Routing daemon(olsrd)
* Copyright (c) 2003, <NAME> (<EMAIL>)
* 2004, <NAME> (<EMAIL>)
* 2006, for some fixups, sven-ola(gmx.de)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... |
/*****************************************************************************
* mp4_lsmash.c: mp4 muxer using L-SMASH
*****************************************************************************
* Copyright (C) 2003-2019 x264 project
*
* Authors: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <... |
// https://github.com/elgw/edt
// 2018-09-03
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 199309L
#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <time.h>
#include <pthread.h>
#include <unistd.h>
#include <stdint.h>
#include "eudist.h"
#ifndef verbo... |
#include "util.h"
#include "linkedlist.h"
/* <NAME>: Spice support*/
enum e_spice_tech_lib_type {
SPICE_LIB_INDUSTRY,SPICE_LIB_ACADEMIA
};
enum spice_model_delay_type {
SPICE_MODEL_DELAY_RISE,
SPICE_MODEL_DELAY_FALL
};
/*Struct for a SPICE model of a module*/
enum e_spice_model_type {
SPICE_MODEL_CHAN_WIRE... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
#include "dhcp.h"
#include "eth_device.h"
#include "udp.h"
#include "../endian.h"
#include "../kheap.h"
// Uncomment DHCP_DEBUG_ENABLE to enable debugging
// #define DHCP_DEBUG_ENABLE
#ifdef DHCP_DEBUG_ENABLE
#define DHCP_DEBUG(f, ...) printf(f, ##__VA_ARGS__)
#else
#define DHCP_DEBUG(f, ...) // Nothing
#endif
/*
... |
/*--------------------------------------------------------------------*/
/*--- x86-specific (and AMD64-specific) definitions. cg-x86.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Cachegrind, a Valgrind tool for cache
profiling programs.
Copyrig... |
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-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 permissio... |
/*
jq6500cmd.c - JQ6500 Tool to send commands to the JQ6500 serial interface
This tool sends out the commands to the JQ6500 chip
Its currently in alpha stage and still quiet buggy.
Copyright (c) 2017 <NAME> <<EMAIL>>
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this... |
/*
* Routines for reading from an RSX-11 M+ macro library (like RSXMAC.SML)
*/
/*
Copyright (c) 2001, <NAME>
Copyright (c) 2015, 2017, <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:
o Redistri... |
/*
* The Shadow Simulator
* Copyright (c) 2010-2011, <NAME>
* See LICENSE for licensing information
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#if !defined __USE_LARGEFILE64
#define __USE_LARGEFILE64
#endif
#include <errno.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <stddef.h>
#include <unistd.... |
/*
* tcp_metrics.c "ip tcp_metrics/tcpmetrics"
*
* 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;
*
* Authors: <NAME> <<EMAIL>>, August 2012
*/
#include <stdio.h>
#include <... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.