text stringlengths 5.8k 28.2k |
|---|
/*
The MIT License (MIT)
Copyright (c) 2016 silverx
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... |
/*
C library for equilibrium chemistry calculations
References:
"Computer Program for Calculation of Complex Equilibrium Compositions and Applications"
Nasa Reference Publication 1311, October 1995
<NAME> and <NAME>
"NASA Glenn Coefficients for Calculating Thermodynamic Properties o... |
/*
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... |
#include <stdio.h>
#include <common/cfgparse.h>
#include <common/errors.h>
#include <common/http.h>
#include <common/initcall.h>
#include <types/global.h>
#include <proto/arg.h>
#include <proto/http_fetch.h>
#include <proto/http_htx.h>
#include <proto/log.h>
#include <proto/proto_http.h>
#include <proto/sample.h>
#inc... |
/*
* Copyright (c) 2020 Institute of Parallel And Distributed Systems (IPADS), Shanghai Jiao Tong University (SJTU)
* OS-Lab-2020 (i.e., ChCore) is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
* ... |
/*
* (C) Copyright 2013
* <NAME>, Guntermann & Drunck GmbH, <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 Fou... |
// __________ ___ ______ _
// / ____/ __ \____ / (_)___ ___ / ____/___ ____ _(_)___ ___
// / /_ / / / / __ \/ / / __ \/ _ \ / __/ / __ \/ __ `/ / __ \/ _ \
// / __/ / /_/ / / / / / / / / / __/ / /___/ / / / /_/ / / / / / __/
// /_/ \____/_/ /_/_/_/_/ /_/\_... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <time.h>
#include <signal.h>
#include <unistd.h>
#include <sys/stat.h>
#include "core_allvars.h"
#include "core_proto.h"
void construct_galaxies(int halonr, int tree)
{
static int halosdone = 0;
int prog, f... |
/* X3F_SPATIAL_GAIN.C
*
* Library for adjusting for spatial gain in X3F images.
*
* Copyright 2015 - Roland and <NAME>
* BSD-style - see doc/copyright.txt
*
*/
#include "x3f_spatial_gain.h"
#include "x3f_meta.h"
#include "x3f_printf.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h... |
#include "gy80.h"
#include "stdlib.h" // HMC5883_Correction
#define I2C_ADDRESS 0x00
#define I2C_TIMING 0x00D00E28
#define I2C_TIMEOUT 50
#define L3G4200_X_OFFSET 0
// 28
#define L3G4200_Y_OFFSET 0
// -228
#define L3G4200_Z_OFFSET 0
// 104.5
#define L3G4200_ACTIVE 0
#define HMC5883_X_OFFSET 90
#define HMC5883_Y_OF... |
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2014, <NAME> <<EMAIL>>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Li... |
#include <stdlib.h>
#include <threading.h>
//@ #include "ghost_cells.gh"
#include "queues.h"
#include "prophecies.h"
#include "channels_local.h"
// Some auxiliary theory on interleavings
/*@
lemma void contains_interleavings_apply<t>(fixpoint(nat, t) seq1, fixpoint(nat, t) seq2, fixpoint(nat, t) seq3)
requires c... |
/*==========================================================
* Copyright 2020 QuickLogic 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
*
* http://www.apache.org/licens... |
#include "recorderppg.h"
#include <sensor.h>
#include <time.h>
#include <sap.h>
#include <sap_message_exchange.h>
// NOTE: Added privilege for HealthInfo, and mediastorage
#define LOGFILENAMEPATH "/opt/usr/media/ppg_recorder_logs/"
#define LOGFILENAME "_log.txt"
/*
Structure to store the data for application logi... |
/*
* $XConsortium: ptyx.h,v 1.62 93/02/25 17:21:26 gildea Exp $
*/
/*
* Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
*
* All Rights Reserved
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and witho... |
/* FluidSynth - A Software Synthesizer
*
* Copyright (C) 2003 <NAME> and others.
*
* 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 ... |
/*
* stdenc.c
*
* Standard encoder
*/
#include <string.h>
#include <stdio.h>
#include <crtdbg.h>
#include "deflate.h"
//
// Update hash variable "h" with character c
//
#define UPDATE_HASH(h,c) \
h = ((h) << STD_ENCODER_HASH_SHIFT) ^ (c);
//
// Insert a string into the hash chain at locat... |
//
// rvmon monitor program
//
// 2021/
#include "stdio.h"
#include <stdlib.h>
#include <string.h>
#include "ulib.h"
#include "tfacc.h"
#include "readline.h"
#define limit(x, min, max) ((x)<(min)?(min):((x)>(max)?(max):(x)))
#undef f_clk
static float f_clk = 100e6f;
//CACHECTRL:flreq[3:0],clreq[3:0]
int d_cache_... |
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
#include <signal.h>
#include <linux/vt.h>
#include <linux/kd.h>
#include <assert.h>
#include <termios.h>
#include "fb.h"
#include "fbse... |
/******************************************************************************
*
* File: issimplepoly.c
*
* Created: 24/02/2003
*
* Author: <NAME>
* CSIRO Marine Research
*
* Description: Testing a polygon on self-intersections by using Shamos-Hoey
* ("sweep-line") ... |
#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... |
#include <string.h>
#include <stdio.h>
#include <avahi-common/timeval.h>
#include <avahi-common/malloc.h>
#include "log.h"
#include "rr-util.h"
#include "verify.h"
static void check_established (AvahiSEntryGroup *group) {
assert(group);
assert(group->type == AVAHI_GROUP_LLMNR);
/* Check for the state *... |
/*
* Copyright (c) 2013-2014, University of Lugano
* 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, thi... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../core/api.h"
#include "test_helper.h"
/* mainloop related functions */
static const char *const WINDOW_TITLE = "Viewer";
static const int WINDOW_WIDTH = 800;
static const int WINDOW_HEIGHT = 600;
static const vec3_t CAMERA_POSIT... |
/*
* Copyright (C) CloudFlare, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <brotli/encode.h>
typedef struct {
ngx_flag_t enable;
ngx_hash_t types;
ngx_bufs_t bufs;
ngx_int_t level;
ssize_t min_leng... |
/*****************************************************************************
* Copyright 2004, 2005 <NAME>, <NAME>. *
* Modified 2012 by <NAME> *
* Modified 2018 by <NAME>
* *
* ... |
/* LTO plugin for gold.
Copyright (C) 2009 Free Software Foundation, Inc.
Contributed by <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, or (at your option)
... |
#include "includes.h"
enum {
SS_IDLE = 0,
SS_PREPARING_ACTUATOR = 1,
SS_ACTUATOR_READY_TO_SEND = 2,
SS_SENDING_DATA = 3,
SS_RECEIVING_DATA = 4,
SS_ERROR_TIME_IN_BUFFER_OF = 5,
};
typedef struct {
motor_type currentActuator;
volatile uint32_t actuatorState; //... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#include <stdint.h>
#include <drm/drm.h>
#include <drm/drm_mode.h>
struct modeset_dev;
static int mode_set_open(... |
/*
This file is part of FFTS -- The Fastest Fourier Transform in the South
Copyright (c) 2012, <NAME> <<EMAIL>>
Copyright (c) 2012, The University of Waikato
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following con... |
/*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 l... |
#include "builtin-widgets.h"
static int create_widget_private(struct widget *w, struct config_format_entry *e,
struct config_format_tree *tree);
static void destroy_widget_private(struct widget *w);
static void draw(struct widget *w);
static void button_click(struct widget *w, XButtonEvent *e);
static void prop_chan... |
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <alsa/asoundlib.h>
#include <alsa/pcm_external.h>
#include <cras_client.h>
#include <sys/socket.h>
/* Holds configuration for the als... |
#include <errno.h>
#include <pthread.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "myMalloc.h"
#include "printing.h"
/* Due to the way assert() prints error messges we use out own assert function
* for deteminism when testing assertions
*/
#ifdef TES... |
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not betwe... |
typedef char ALboolean;
typedef char ALchar;
typedef char ALbyte;
typedef unsigned char ALubyte;
typedef short ALshort;
typedef unsigned short ALushort;
typedef int ALint;
typedef unsigned int ALuint;
typedef int ALsizei;
typedef int ALenum;
typedef float ALfloat;
typedef double ALdouble;
typede... |
/*
* Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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 v... |
/*
* Big thanks to <NAME>'s documentation at:
* http://mc.pp.se/dc/vms/flashmem.html
*/
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
/*
* The VMS flash memory contains 128 kilobytes of storage. These are divided
* into 256 blocks of 512... |
/*--------------------------------------------------------------------
* $Id$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by <NAME>, <NAME>,
* <NAME>, <NAME>
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program is free software; you can... |
/*
* Ficheiro: main.c
* Autor: <NAME>
* Descrição: Projeto 1 de IAED 2020/2021.
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
/* - Declaração de constantes ----------------------------------------------- */
/* Tamanhos de strings */
#define DESCRIPTION_SIZE 51 /* tamanho d... |
/* Copyright 2016-2021, Laboratorio de Microprocesadores
* Facultad de Ciencias Exactas y Tecnología
* Universidad Nacional de Tucuman
* http://www.microprocesadores.unt.edu.ar/
* Copyright 2016-2021, <NAME> <<EMAIL>>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or withou... |
#include <string.h>
#define GSL_PARANOID
/*
* The appropriate lock counter implementation must be included before
* this.
*
* Required definitions:
*
* gslProc_t *GSL_CURPROC(void) - Return the current process.
*
* void GSL_INC_COUNTER(token counter) - Increment the given
* statistics counter. Can be a no-o... |
/*
* 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... |
/*
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of the BSD License("BSD")(the "License").
You can obtain a copy of the License at: http://www.opensparc.net/pubs/t1/licenses/BSD+_Lice... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Support for jumbograms (packets up to 9000 bytes) */
/* #undef ENABLE_JUMBOGRAMS */
/* Support for tunemu */
/* #undef ENABLE_TUNEMU */
/* Support for UML */
/* #undef ENABLE_UML */
/* Suppo... |
/*
* librdkafka - Apache Kafka C library
*
* Copyright (c) 2012-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... |
/* geoToTagStorm - Convert from GEO soft format to tagStorm.. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "tagStorm.h"
#include "csv.h"
#include "localmem.h"
#include "obscure.h"
boolean clExpandArrays = FALSE;
void usage()
/* Explain usage and exit. */
{
errAbort(
... |
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include "Client.h"
#include "../Style.h"
#include "../requests.h"
static Client client;
// -------- Creation des duos Nom/Prenom dans Buffer -------- //
size_t serializeId(char *name, char *surname, void *buffer) {
uint64_t nameLen =... |
/*
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, DISPLAYING, A... |
/*
* Copyright (c) 1997, 1998, 1999
* <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, th... |
/*
* Copyright © 2008 <NAME> <<EMAIL>>
* Copyright © 2008 Red Hat, Inc
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without
* fee, provided that the above copyright notice appear in all copies
* and that both that copyright noti... |
/* ncdc - NCurses Direct Connect client
Copyright (c) 2011-2019 <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 us... |
/** Copyright © 2021 The Things Industries B.V.
*
* 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 la... |
#include "network.h"
#include "detection_layer.h"
#include "cost_layer.h"
#include "utils.h"
#include "parser.h"
#include "box.h"
#include "video.h"
#include "demo.h"
char *voc_names[] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", ... |
/* Specification blocks for the different file formats: (These values are
* passed to the save routine and recorded in pspec[] by the load routine).
* +---+---+---+---+---+---+---+---+---+---+ Image#:number of image within file. High bit set if additional images available.
* Byte|BMP|CUR|GIF|GRO|ICO|JPG|PPM|P... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2012,2013, by the GROMACS development team, led by
* <NAME>, <NAME>, <NAME>, and including many
* others, as listed in the AUTHORS file in the top-level source
* directory and at http://www.gromacs.org.
*
* GROMACS is free sof... |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... |
/* PDCurses */
#if defined(__EMX__) || defined(__WATCOMC__) || defined(__IBMC__) || \
defined(__TURBOC__)
# define HAVE_SIGNAL
# include <signal.h>
#endif
#include "pdcos2.h"
/*man-start**************************************************************
pdckbd
------
### Synopsis
unsigned long PDC_get_input_fd(voi... |
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/avfilter.h>
#include <libavutil/md5.h>
#include "extras.h"
#include "logging.h"
struct match_info {
int width;
int height;
uint64_t bit_rate;
int packetcount; //video total packet count
uint64_t timest... |
/* Write an image to a disc file.
*
* 19/3/10
* - from im_wbuffer.c
* - move on top of VipsThreadpool, instead of im_threadgroup_t
* 23/6/10
* - better buffer handling for single-line images
*/
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or modify
it u... |
#include "EditLexer.h"
#include "EditStyleX.h"
// https://docs.microsoft.com/en-us/cpp/assembler/masm/microsoft-macro-assembler-reference
// https://sourceware.org/binutils/docs/as/
static KEYWORDLIST Keywords_ASM = {{
// 0 Instruction
"aaa aad aam aas adc add and arpl bound bsf bsr bswap bt btc btr bts call ... |
/*
* Copyright (c) 2011-2017 The DragonFly Project. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by <NAME> <<EMAIL>>
* by <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
/*
** 2005 May 23
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
************************... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS... |
/* BEGIN_ICS_COPYRIGHT5 ****************************************
Copyright (c) 2015-2020, Intel Corporation
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 copyrig... |
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <plumb.h>
#include <regexp.h>
#include <bio.h>
#include <9pclient.h>
#include "faces.h"
enum /* number of deleted faces to cache */
{
Nsave = 20
};
static Facefile *facefiles;
static int nsaved;
static char *facedom;
static char *libface;
static char *home... |
/* $FreeBSD: src/usr.sbin/setkey/setkey.c,v 1.1.2.3 2003/04/26 23:53:54 sumikawa Exp $ */
/* $DragonFly: src/usr.sbin/setkey/setkey.c,v 1.6 2005/12/05 02:40:28 swildner Exp $ */
/* $KAME: setkey.c,v 1.18 2001/05/08 04:36:39 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
* All right... |
#include "nvfx_context.h"
#include "nvfx_state.h"
#include "nvfx_resource.h"
#include "draw/draw_context.h"
void
nvfx_state_viewport_validate(struct nvfx_context *nvfx)
{
struct nouveau_channel *chan = nvfx->screen->base.channel;
struct nouveau_grobj *eng3d = nvfx->screen->eng3d;
struct pipe_viewport_state *vpt = &... |
/* -*- c-basic-offset: 8 -*-
rdesktop: A Remote Desktop Protocol client.
RDP licensing negotiation
Copyright (C) <NAME> <mat<EMAIL>> 1999-2008
Copyright (C) <NAME> <<EMAIL>> 2011
Copyright (C) <NAME> <<EMAIL>> 2014
This program is free software: you can redistribute it and/or modify
it under the ... |
#include<stdio.h>
int disassemble8080(unsigned char *buffer, int pc){
int byte=1;
printf("%04x ", pc);
unsigned char *code=&buffer[pc];
switch(*code){
case 0x00: printf("NOP"); break;
case 0x01: printf("LXI B,#$%02x%02x", code[2], code[1]);
byte=3; break;
ca... |
/*
* Copyright (C) 2015-2021 IoT.bzh Company
* Author: <NAME> <<EMAIL>>
*
* $RP_BEGIN_LICENSE$
* Commercial License Usage
* Licensees holding valid commercial IoT.bzh licenses may use this file in
* accordance with the commercial license agreement provided with the
* Software or, alternatively, in accordance... |
///
/// @file
///
/// @author <NAME> (<EMAIL>), Umeå University
///
/// @internal LICENSE
///
/// Copyright (c) 2019-2020, Umeå Universitet
///
/// Redistribution and use in source and binary forms, with or without
/// modification, are permitted provided that the following conditions are met:
///
/// 1. Redistribution... |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: sbrfft.c,v 1.1 2005/02/26 01:47:35 jrecker Exp $
*
* Portions Copyright (c) 1995-2005 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version o... |
/********************************************************************
* File : gcHeap.c
* Author : <NAME> Copyright (C) 1994-2021
* Purpose: heap garbage collector
* 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
*... |
#define VGA_REG_CRTINDEX0 0x03B4
#define VGA_REG_CRTDATA0 0x03B5
#define VGA_REG_FCMCTRL 0x03BA
#define VGA_REG_ARINDEX 0x03C0
#define VGA_REG_ARINDEX_AR00 0x00
#define VGA_REG_ARINDEX_AR01 0x01
#define VGA_REG_AR... |
/*
* Copyright (c) 1991 <NAME>
*
* Disclaimer: No guarantees of performance accompany this software,
* nor is any responsibility assumed on the part of the authors. All the
* software has been tested extensively and every effort has been made to
* insure its reliability.
*/
/*
* pshalftone.c - display images... |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
FLA_Error FLA_Hess_UT_un... |
/* All the *_{succ|fail|econ} functions belong here */
#include "mech.h"
#include "event.h"
#include "mech.events.h"
#include "mech.tech.h"
#include "p.econ.h"
#include "p.mech.tech.h"
#include "p.mech.status.h"
#include "p.mech.utils.h"
#define PARTCHECK_SUB(m,a,c) \
AVCHECKM(m,a,c); \
GrabPartsM(m,a,c)... |
// Copyright 2017 Espressif Systems (Shanghai) PTE LTD
//
// 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 applicab... |
/* $Source: bitbucket.org:berkeleylab/gasnet.git/tests/testsegment.c $
* Copyright (c) 2020, The Regents of the University of California
*
* Description: GASNet "disaggregated Attach" test.
*
* This test binds a segment to a primordial endpoint using
* gex_Segment_Create(), gex_EP_BindSegment(), and gex_EP_Publis... |
/*
* HID driver for THQ PS3 uDraw tablet
*
* Copyright (C) 2016 Red Hat Inc. All Rights Reserved
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This ... |
//
//
// ////////////////////////////////////////////////////////////////////////////////////
// ///////// ///////////
// ////// SSS PPPP I N N DDDD U U M M PPPP //////
// // S P P I NN N D... |
/*
* CLI graph handling
*
* --
* Copyright (C) 2016 Cumulus Networks, Inc.
* Copyright (C) 1997, 98, 99 <NAME>
* Copyright (C) 2013 by Open Source Routing.
* Copyright (C) 2013 by Internet Systems Consortium, Inc. ("ISC")
*
* This program is free software; you can redistribute it and/or modify it
* under the ... |
/* Copyright (c) 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:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the... |
/*
USB control block. See Firmware.graphml
Interface:
SetUsbSerial(uint32_t) - set USB serial
USB_InitAndCheck() - Initialization of USB control block
SendToUsb() - Indicates to USB control that there is new data in Tx buffer
I2C rudiments;
*/
// Each file must start with this include. Containes global settings... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
/*
* Surface2.0/SUR40/PixelSense input driver
*
* Copyright (c) 2013 by Florian 'floe' Echtler <<EMAIL>>
*
* Derived from the USB Skeleton driver 1.1,
* Copyright (c) 2003 <NAME> (<EMAIL>)
*
* and from the Apple USB BCM5974 multitouch driver,
* Copyright (c) 2008 <NAME> (<EMAIL>)
*
* and from the generic hid... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: ... |
/*
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <syscon.h>
#include <asm/io.h>
#include <asm/arch/grf_rk3399.h>
#include <asm/arch/hardware.h>
#include <asm/arch/periph.h>
#include <asm/arch/clock.h>
#inc... |
/*
* 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... |
/*
** Copyright (C) 2007-2020 by Carnegie Mellon University.
**
** @OPENSOURCE_LICENSE_START@
** See license information in ../../LICENSE.txt
** @OPENSOURCE_LICENSE_END@
*/
/*
** rwipfix2silk.c
**
** IPFIX to SiLK translation filter application
**
** <NAME>
**
*/
#include <silk/silk.h>
RCSIDENT("$SiLK: rwipf... |
/*
* Copyright 2019-present MongoDB, 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 applicable law or ag... |
// Copyright (C) 2015-2020 Virgil Security, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// (1) Redistributions of source code must retain the above copyright
// ... |
#ifndef __APPLE__
#define _GNU_SOURCE
#endif
#include "server.h"
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <signal.h>
#include "../common/map.h"
#include "../common/list.h"
#include "../common/common.h"
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <pthread.h>
... |
#include "all.h"
#include "io.h"
#include "mem.h"
typedef struct Ctrl Ctrl;
typedef struct Unit Unit;
static int dbg;
#define DBG if(dbg)print
enum
{
MaxCtrl = 1,
NTargetID = 8,
CtrlID = 7,
ScsiOut = 0x00,
ScsiIn = 0x01,
DmaAlign = 4, /* 0x00000004 */
DmaBank = 16*1024*1024, /* 0x01000000 */
MaxDm... |
/******************************************************************************
*
* Copyright (C) 2014 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://ww... |
/**
* SUP2PGM
* Converts BluRay presentation graphics streams (SUP subtitles) to PGM
* images one can later transcode or OCR into text.
*
* Copyright (c) 2013, <NAME> <<EMAIL>>
* All rights reserved.
* Released under 3-clause BSD License.
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <s... |
/* Compiler and system dependent definitions: */
#define NUMBER_OF_RUNS 100 /* Default number of runs */
#define Ident_1 0
#define Ident_2 1
#define Ident_3 2
#define Ident_4 3
#define Ident_5 4
/* General definitions: */
/* for strcpy, strcmp */
#include <stdio.h>
#include <string.h>
/* Value of a Null pointer */... |
typedef struct BIOS32si BIOS32si;
typedef struct BIOS32ci BIOS32ci;
typedef struct Conf Conf;
typedef struct Confmem Confmem;
typedef struct FPsave FPsave;
typedef struct ISAConf ISAConf;
typedef struct Label Label;
typedef struct Lock Lock;
typedef struct MMU MMU;
typedef struct Mach Mach;
typedef struct Notsave Notsa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.