text stringlengths 7.55k 41.9k |
|---|
/*
* Pin controller and GPIO driver for Amlogic Meson GXBB.
*
* Copyright (C) 2016 Endless Mobile, Inc.
* Author: <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundat... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <vm.h>
#include "vm.h"
#include "c_unit.h"
#include "loader.h"
static VM *run(char *code, bool trace);
// globals so we can free them upon failure (which bails out of test functions)
static char *diff = NULL;
static VM *vm;
static void setup() {
... |
#define _POSIX_C_SOURCE 200809L
#define _GNU_SOURCE
//#define KB_DEBUG //KB, as <NAME>, like my own namespace
#ifdef KB_DEBUG
#define Debug(x) printf(x)
#else
#define Debug(x)
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/poll.h>
#include <sys/epoll.h>
#include <sys/ioctl.h>
#inclu... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/* $FreeBSD: src/sys/pci/if_wxreg.h,v 1.3.2.6 2001/10/20 17:44:12 mjacob Exp $ */
/*
* Principal Author: <NAME>
* Copyright (c) 1999, 2001 by Traakan Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... |
/*
* Copyright (c) 2017, <NAME> and <NAME>, BYU MAGICC Lab
*
* 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, th... |
/* Copyright (c) 2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <odp_api.h>
#include <odp/helper/odph_api.h>
#define MAX_WORKERS 64... |
// Copyright 2015 <NAME>ics 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 applicable law or agreed to i... |
/* ya.bot */
extern const int xorkey;
extern const char *botid;
extern const char *botnick;
extern const bool botnickextended;
extern const char *commandprefix;
extern const char *versionreply;
extern const int botnickmaxrandom;
extern const DWORD botpassword;
extern const char *hostauth[];
extern const bool crypt... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "MJDSort.h"
#define VERBOSE 0
#define HIS_COUNT 400 // number of spectra in his[][] array
/* ------------------------------------------------------------ */
void signalselect(FILE *f_in, MJDetInfo *detInfo, MJRunInfo *runInfo, i... |
#pragma once
#include <nnpack/simd.h>
#include <nnpack/fft-defs.h>
#include <psimd/butterfly.h>
static inline void v4f_mul_soa(
v4f real[restrict static 1],
v4f imag[restrict static 1],
v4f cr, v4f ci)
{
const v4f xr = *real;
const v4f xi = *imag;
const v4f new_xr = xr * cr - xi * ci;
const v4f new_xi = xi * ... |
/*
* Copyright (c) 2016-2018, NVIDIA CORPORATION. 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 ... |
/*
* VPC-XT Revision 2.0
*
* Title : High Density Floppy BIOS Definitions
*
* Description : Definitions used in the floppy diskette BIOS emulation
*
* Author : <NAME>
*
* Notes :
*
*
*
*/
/* @(#)floppy.h 1.9 08/25/93 */
/*
* FLOPPY DATA AREAS: we maintain the same data variables as the real
... |
// test routines - faster to compile
#include <stdlib.h>
#include <stdio.h>
#include "pgm2asc.h"
#include "unicode.h"
#include "amiga.h"
#include "gocr.h"
// for learn_mode/analyze_mode high, with, yoffset, num of pattern_i,
// - holes (center,radius in relative coordinates) etc. => cluster analyze
// num_hole => min... |
/*
* Copyright (c) 2017, <NAME> (<EMAIL>)
* All rights reserved.
*
* License: BSD/MIT
*
* 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, thi... |
/* --------------------------------------------------------------------------------------------- */
/* Small System Framework */
/* */
/* ssfaesgcm.c ... |
/*
* Copyright 1993, 1995 <NAME>.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/* This file is ALSO:
* (C) Copyright <NAME> 2001. Permission to copy, use,
* modify, sell and distribute this software is granted provided this
* copyright notice appears in all copies. This ... |
#include "mydatalink.h"
/* 全局变量解耦合太麻烦了,全写一起好了 反正也不会重构了~ */
int isACKNAKdelayed = 0; //标注是否已经存在被延迟的ack或nak
int ACK_or_NAK = 0; //标注被延迟的是ack还是nak 若为1是ack,0是nak
int isACKNAKranged = 0; //标注被延迟的是不是范围ack
unsigned char ACKNAKseq1 = 0;//被延迟的序号
unsigned char ACKNAKseq2 = 0; //在范围ack中用的
int isPackageDelayed = 0;//用于突发帧,采用Nagl... |
/*
3DKIT version 1.3
High speed 3D graphics and rendering library for Linux.
Copyright (C) 1996, 1997 <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 Found... |
#include "proto.h"
void load_PNG_data (struct context * context, unsigned flags, size_t limit) {
struct PNG_chunk_locations * chunks = load_PNG_chunk_locations(context);
// load basic header data
if (chunks -> animation) {
context -> image -> type = PLUM_IMAGE_APNG;
if (*(chunks -> data) < *(chunks -> fr... |
/*
* Copyright (c) 2015-2017, Texas Instruments Incorporated
* 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
* n... |
/* ppAnalyse - Analyse paired plasmid reads. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "psl.h"
#include "portable.h"
void usage()
/* Explain usage and exit. */
{
errAbort(
"ppAnalyse - Analyse paired plasmid reads.\n"
"usage:\n"
" ppAnalyse headers insertSizes pairs.psl finDir pa... |
/*
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
* Copyright (c) 2017-2018 Cisco Systems, Inc. All rights reserved
* Copyright (c) 2017 Inria. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#define OPAL_HWLOC_WANT_SHMEM 1
#include "orte_config.h"
... |
#include "model_common.h"
#include <assert.h>
#include <stdlib.h>
#include "ten_tusscher_3_Fig4b.h"
#define ENDO
GET_CELL_MODEL_DATA(init_cell_model_data) {
assert(cell_model);
if(get_initial_v)
cell_model->initial_v = INITIAL_V;
if(get_neq)
cell_model->number_of_ode_equations = NEQ;
}... |
/**
* surfgrid.c - simple test of polygon offset
*
* GLUT distribution version $Revision: 1.8 $
*
* usage:
* surfgrid [-f]
*
* options:
* -f run on full screen
*
* keys:
* p toggle polygon offset
* F increase polygon offset factor
* f decrease polygon offset factor
* B i... |
/* Copyright (C) 2006 <NAME> <tim centricular net>
*
* 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.
*
* ... |
/*-------------------------------------------------------------------------
*
* catalog.c
* routines concerned with catalog naming conventions and other
* bits of hard-wired knowledge
*
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the Univ... |
/* genomeSpace - stuff related to GenomeSpace. */
#include "common.h"
#include "hgTables.h"
#include "cart.h"
#include "net.h"
#include "textOut.h"
#include "base64.h"
#include "md5.h"
#include "obscure.h"
#include "net.h"
#include "hgConfig.h"
#include <sys/wait.h>
// Declare external global variables that must be ... |
// <NAME>
//
// Paper with equations: arXiv:1803.02620
//
// Compile with gcc-7 -O2 mimetic_evolve.c -o mimetic_evolve.exe
// Run with ./mimetic_evolve.exe
//
//
// NOTE: The scale factor is defined as F, and the derivative of the scale factor as A
// NOTE: Units of measurement with 16 \pi G = 1, as in the paper
//
// ... |
/**********************************************************************
File : cmpsc473-disk.c
Description : File system function implementations
(see .h for applications)
***********************************************************************/
/**********************************... |
/*
* Copyright (C) 2016 BlueKitchen GmbH
*
* 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 follo... |
/**
* FUSB302_UFP.c
*
* Updated on: Jan 4, 2021
* Author: <NAME>
*
* Minimalist USB PD implement with only UFP(device) functionality
* Requires only stdint.h and string.h
* No use of bit-field for better cross-platform compatibility
*
* FUSB302 can support PD3.0 with limitations and workarounds
* - Do... |
#include <stdint.h>
#include <math.h>
#include "FreeRTOS.h"
#include <queue.h>
#include <task.h>
#include <event_groups.h>
#include "platform_defs.h"
#include "flexray_registers.h"
#include "flexray_driver.h"
#include "flexray_state_machine.h"
#include "packet.h"
#include "tcp_interface.h"
#include "event.h... |
// lsframebuffer.c
// gcc -mmacosx-version-min=10.5 -Wall -o lsframebuffer lsframebuffer.c -framework IOKit -framework ApplicationServices
// References:
// http://www.osx86.net/notebooks/18599-success-enable-vga-hdmi-video-intel-hd-3000-a.html
// http://www.insanelymac.com/forum/topic/259705-editing-custom-... |
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
/*
... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2011 The University of Tennessee a... |
/**
* \file rob.c
*
* \brief Kill and give.
*
* This file is called rob.c for historical reasons, and one day it'll
* probably get folded into some other file.
*
*
*/
#include "copyrite.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "attrib.h"
#include "case.h"
#include "conf.h"
#inc... |
#ifndef lint
static const char RCSid[] = "$Id: raytrace.c,v 2.85 2021/06/09 18:21:10 greg Exp $";
#endif
/*
* raytrace.c - routines for tracing and shading rays.
*
* External symbols declared in ray.h
*/
#include "copyright.h"
#include "ray.h"
#include "source.h"
#include "otypes.h"
#include "otspecial.h"
#... |
/* CUJ2K - JPEG2000 Encoder on CUDA
http://cuj2k.sourceforge.net/
Copyright (c) 2009 <NAME>, <NAME>, <NAME>, <NAME>, <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 restrict... |
//#undef __STRICT_ANSI__
#include "DegUtils.h"
#include "rtools.h"
#include "Htools.h"
#include "Ftools.h"
#include "ranH.h"
#include "exp_ranF.h"
#include "matutls/matutl.h"
#include <stdlib.h>
#include <string.h>
//#include <stdio.h>
#include <math.h>
//#include <mex.h>
#include <time.h>
#include <matutls/ccmath.h>
... |
#include "json_element.h"
#include "test_json.h"
static int TestJsonElementSetUp(void)
{
tJsonElement Element;
int ok;
JsonElementSetUp(&Element);
ok = (JsonElementGetType(&Element) == json_TypeRoot);
ok = ok && (JsonElementGetChild(&Element, 0) == NULL);
ok = ok && (JsonElementGetNext(&El... |
/**
*******************************************************************************
* @file system_TMPM46B.c
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer Source File for the
* TOSHIBA 'TMPM46B' Device Series
* @version V2.0.2.4
* @date 2018/3/15
*
* DO NOT USE THIS SOFTWARE WITHOUT T... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Should chfn and chsh require the user to enter the password? */
#define CHFN_CHSH_PASSWORD 1
/... |
/**
******************************************************************************
* @file spi.c
* @brief This file provides code for the configuration
* of the SPI instances.
******************************************************************************
* @attention
*
* <h2><center>©... |
/*
* Copyright (c) 2004, Intel Corporation.
* Copyright (c) 2006, <NAME>, XenSource Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License, version
* 2, as published by the Free Software Foundation.
*
* This program is... |
/* $OpenBSD: radeonfb.c,v 1.5 2013/10/20 20:07:27 miod Exp $ */
/*
* Copyright (c) 2009 <NAME>.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
... |
/*
* Copyright 2003 through 2004 by <NAME> (TSI @ UQV), <EMAIL>
*
* 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
* notice and t... |
/*
* (C) Gražvydas "notaz" Ignotas, 2006-2012
*
* This work is licensed under the terms of any of these licenses
* (at your option):
* - GNU GPL, version 2 or later.
* - GNU LGPL, version 2.1 or later.
* - MAME license.
* See the COPYING file in the top-level directory.
*/
#include <stdio.h>
#include <stdl... |
/**
* Copyright (c) 2009 - 2019, 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, th... |
#include "kernel.h"
#include <string.h>
#include "../rand.h"
#include "functions.h"
#include "internal.h"
#include "misc.h"
// sk0_J is a result of multiplication of derived key and generator J
void switch_commitment_get_sk1(const secp256k1_gej* commitment,
const secp256k1_gej* sk0_j,
... |
/**
******************************************************************************
* File Name : USART.c
* Description : This file provides code for the configuration
* of the USART instances.
******************************************************************************
... |
/*
* interface.c
* Copyright 2012 <NAME>
*
* 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 follow... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2008,2010 Freescale Semiconductor, Inc
* <NAME>
*
* Based (loosely) on the Linux code
*/
/* SD/MMC version bits; 8 flags, 8 major, 8 minor, 8 change */
#define SD_VERSION_SD (1U << 31)
#define MMC_VERSION_MMC (1U << 30)
#define MAKE_SDMMC_VERSION(a, b, c) \
... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <omp.h>
#include <cuda_runtime.h>
#include "cublas_v2.h"
#ifndef N
#define N (1 << 10)
#endif
#pragma omp declare target
#define SM 64
#define NTHRDS7 (1 << 0x7) /* 2^{7} */
#define NTHRDS8 (1 << 0x8) /* 2^{8} */
#define NTHRDS9... |
/*
* 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... |
/* Common stage 2 for ECM, P-1 and P+1 (improved standard continuation
with subquadratic polynomial arithmetic).
Copyright 2001-2015 <NAME>, <NAME>, <NAME>.
This file is part of the ECM Library.
The ECM Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Pu... |
/* $OpenBSD: vpci.c,v 1.20 2016/05/19 09:18:42 kettenis Exp $ */
/*
* Copyright (c) 2008 <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 co... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
/* id_fd.c: Interdata floppy disk simulator
Copyright (c) 2001-2012, <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 ri... |
#include "f2c.h"
#include "blaswrap.h"
/* Common Block Declarations */
struct {
integer infot, nunit;
logical ok, lerr;
} infoc_;
#define infoc_1 infoc_
struct {
char srnamt[6];
} srnamc_;
#define srnamc_1 srnamc_
/* Table of constant values */
static integer c__3 = 3;
static integer c__0 = 0;
static... |
/* dpfmt.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__1 = 1;
static logical c_true = TRUE_;
/* $Procedure DPFMT ( Format a double precision number ) */
... |
/*
* Copyright (C) 2012-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... |
/**
* original author: <NAME><<EMAIL>>
* modification for STM32f10x: <NAME><<EMAIL>>
----------------------------------------------------------------------
Copyright (C) <NAME>, 2016
Copyright (C) <NAME>, 2015
This program is free software: you can redistribute it and/or modify
it under the term... |
/*********************************************************************
Homework 5
CS 110: Computer Architecture, Spring 2021
ShanghaiTech University
* Last Modified: 03/28/2021
* Copyright Notice: This file is dervived from work of <NAME> at
https://github.com/B-Con/crypto-algorithms/
*******************************... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "helpers.h"
#include "VL53L0X.h"
#include "animation.h"
#include "nrf24.h"
#include "ee.h"
#define PEGGING_VALUE 1770
#define BASELINE_SAMPLE_SIZE 16
#define CHOP_SIZE 3
#define STM32F0_UUID0 ((uint32_t *)0x1FFFF7AC)
#define STM32F0_UUID1 ((uint32_... |
/*
* OpenVPN -- An application to securely tunnel IP networks
* over a single TCP/UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2010... |
//
// Created by sachetto on 30/09/17.
//
#include <assert.h>
#include "cell.h"
#include "../../3dparty/stb_ds.h"
/**
* Decides if the bunch should be derefined. A bunch will not be derefined if
* the highest of all directional fluxes coming into its six directions is
* greater than derefinement_bound.
*
* @param... |
/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... |
/* Copyright (c) 2015 <NAME>. All rights reserved.
* License: This code is licensed under a 3-clause BSD license. See
* the file named "LICENSE" for a full copy of the license.
*/
/** @file Demonstrates inverse kinematics using a Jacobian transpose approach.
*
* @author <NAME>
*/
#include <stdlib.h>
#include <st... |
/**
* Kinesis Video Producer Response functionality
*/
#define LOG_CLASS "Response"
#include "Include_i.h"
/**
* Create Response object
*/
STATUS createCurlResponse(PCurlRequest pCurlRequest, PCurlResponse* ppCurlResponse)
{
ENTERS();
STATUS retStatus = STATUS_SUCCESS;
PCurlResponse pCurlR... |
/**************************************************************************//**
* @file main.c
* @version V1.00
* @brief NuMicro Series I2S Driver Sample Code
* This is a I2S demo with PDMA function connected with codec.
*
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
*
*... |
// -------------------------------------------------------------------------------------------------
// File main.c
//
// Copyright (c) 2016, 2017 DexLogic, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software... |
#include <dirent.h>
#include <limits.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <time.h> /* asctime / localtime */
#include <pwd.h> /* for getpwent */
#include <grp.h> /* for getgrent */... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
* (C) 2014 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/* style:allow:snprintf:9 sig:0 */
/* style:allow:strncpy:3 sig:0 */
/* style:allow:fprintf:26 sig:0 */
/* style:allow:free:3 sig:0 */
/* style:allow:malloc... |
/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, <NAME> <<EMAIL>>.
* Copyright (c) 2012-2019, <NAME> <<EMAIL>>.
*/
#include "taisei.h"
#include "texture.h"
#include "resource.h"
#include "global.h"
#include "video.h"
#incl... |
/*------------------------------------------------------------------
* us1060.c - Unit Tests for User Story 1060 - TLS SRP support (Server/Proxy)
*
* May, 2014
*
* Copyright (c) 2014-2016 by cisco Systems, Inc.
* All rights reserved.
*------------------------------------------------------------------
*/
#includ... |
/*
* Copyright 2020 u-blox
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
/*
* 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) 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... |
/*
* hpet.c: HPET emulation for HVM guests.
* Copyright (c) 2006, Intel Corporation.
* Copyright (c) 2006, <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Softwar... |
/* $OpenBSD: setup.c,v 1.30 2016/04/28 12:17:15 krw Exp $ */
/* $NetBSD: setup.c,v 1.1 1997/06/11 11:22:01 bouyer Exp $ */
/*
* Copyright (c) 1997 <NAME>.
* Copyright (c) 1980, 1986, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, wi... |
/**********************************************************************
* pdasm.c
* P-Code Disassembler
*
* Copyright (C) 2008-2009 <NAME>. All rights reserved.
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f... |
/* Opcode table for the ARC.
Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
Contributed by <NAME> (<EMAIL>).
Copyright 2008-2012 Synopsys Inc.
This file is part of GAS, the GNU Assembler, GDB, the GNU debugger, and
the GNU Binutils.
... |
/* Routines to transform a given set of points to a Gastner-Newman cartogram
*
* Written by <NAME>
*
* See http://www.umich.edu/~mejn/ for further details.
*/
/* Inclusions */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <fftw3.h>
#include "cart.h"
/* Constants */
#def... |
/*
* flow.c -- flow handling utility
*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <malloc.h>
#include <fcntl.h>
#include <getopt.h>
#include <stdbool.h>
#include <assert.h>
#include <t... |
/*
// AEZ v1.1 reference code. AEZ info: http://www.cs.ucdavis.edu/~rogaway/aez
//
// ** This version is slow and susceptible to side-channel attacks. **
// ** Do not use for any purpose other than to understand AEZ. **
//
// Written by <NAME> (<EMAIL>). Last modified 10 May 2014.
//
// This is free and unencumbe... |
/******************************************************************************
* The MIT License
*
* Copyright (c) 2011 LeafLabs LLC.
*
* 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... |
/*******************************************************************************
* main.c
*
* (c)2015 LimiFrog / CYMEYA
* This program is licensed under the terms of the MIT License.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
* Please refer to the License File LICENSE.txt located at ... |
/*
* 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, software
*... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#define _UTHREAD_PRIVATE
#include "disk.h"
#include "fs.h"
// Very nicely display "Function Source of error: the error message"
#define fs_error(fmt, ...) \
fprintf(stderr, "%s: ERROR-"fmt"\n", __func__, ##__VA_ARGS__... |
#include "bpt.h"
// DELETION
// Find the matching record and delete it if found.
// If success, return 0. Otherwise, return non-zero value.
int db_delete( int table_id, keyval_t key ){
if (tables.in_use[table_id] == false){
return FAILURE;
}
BufferBlock_t * header_frame = buffer_read... |
/****************************************************************************
* *
* cryptlib Key Database Routines *
* Copyright <NAME> 1995-1999 *
* *
****************************************************************************/
#include <stdlib.h>
#incl... |
/**
@file pmenu
@author <NAME> - <EMAIL>
*/
#include "ext.h"
#include "ext_obex.h"
#include "ext_dictionary.h"
#include "ext_dictobj.h"
#include "jpatcher_api.h"
#include "jpatcher_syms.h"
#include "jgraphics.h"
#include "ext_boxstyle.h"
#include "common/commonsyms.c"
static t_symbol *ps_pmenu_dict;
static t_... |
// Licensed to Pioneers in Engineering under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Pioneers in Engineering licenses
// this file to you under the Apache License, Version 2.0 (the
// "License"); you ... |
/*
* @file ice68_pack.c
* @brief Ice Packer 2.35 (native version)
* @author http://sourceforge.net/users/benjihan
*
* Copyright (c) 1998-2016 <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 S... |
// rfm69.c 23/05/2021 D.J.Whale
// Interface to an Industrial/Scientific/Medical band radio
// based on: hrf69.h 03/04/2016 D.J.Whale
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include "rfm69.h"
#include "spi.h"
#include "ser.h"
// CONFIG
#define DEFAULT_TIMES 2
//===== PRIVATE =============... |
#include "syscall.h"
#include "types.h"
#include "x86_desc.h"
#include "lib.h"
#include "rtc.h"
#include "keyboard.h"
#include "filesystem.h"
#include "paging.h"
#include "IDT.h"
#include "i8259.h"
#include "keyboard.h"
#define HEADER_SIZE 40
#define PROG_IMAGE_LOCATION 0x08048000
#define COM_BUF_SIZE 128 /... |
/* sim.h: Main include file
*
* Micropolis, Unix Version. This game was released for the Unix platform
* in or about 1990 and has been modified for inclusion in the One Laptop
* Per Child program. Copyright (C) 1989 - 2007 Electronic Arts Inc. If
* you need assistance with this program, you may contact:
* h... |
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <avahi-common/domain.h>
#include <avahi-common/timeval.h>
#include <avahi-common/malloc.h>
#include <avahi-common/err... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.