text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "hash.h"
#include <assert.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Chromium OS cros_ec driver
*
* Copyright (c) 2016 The Chromium OS Authors.
* Copyright (c) 2016 National Instruments Corp
*/
#include <common.h>
#include <command.h>
#include <cros_ec.h>
#include <dm.h>
#include <flash.h>
#include <log.h>
#include <dm/device-internal.h>
#... |
/*------------------------------------------------------------------------*/
/* STM32F100: MMCv3/SDv1/SDv2 (SPI mode) control module */
/*------------------------------------------------------------------------*/
/*
/ Copyright (C) 2014, ChaN, all right reserved.
/
/ * This software is a free softwar... |
/******************************************************************************
Copyright (c) 2017 <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 restricti... |
/*
* Copyright (c) 2012-2019
* See LICENSE for details.
*
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*/
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include "gdb.h"
#include "sh2.inc"
#define IS_POW_2_ALIGNED(t, addr,len... |
#include <driftsync.h>
#include <assert.h>
#include <errno.h>
#include <float.h>
#include <netdb.h>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <time.h>
#include <unistd.h>
#define SCALE_US 1.0
#define SCALE_MS SCALE_US / 1000
#... |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "face_detect.h"
#include "platform.h"
#include "sysctl.h"
#include "w25qxx.h"
#include "lcd.h"
#include "dmac.h"
#include "plic.h"
#include "region_layer.h"
// #include "coprocessor.h"
#define AI_DMA_CHANNEL 1
#define __AI_DMA_INTERRUPT(x) IRQN_DMA##x... |
/*////////////////////////////////////////////////////////////////////////
Copyright (c) 1996-2000 <NAME> and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST)
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Permission to use this mate... |
/*
* 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) 2013-2018 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
*
* @precisions normal z -> s d c
*
*/
#include "common.h"
#include "dplasma/include/dplasmatypes.h"
#include "parsec/data_dist/... |
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/**
* This is Gowser, a Gopher Browser.
* https://bitbucket.org/tux_/gowser/
*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
#include <stdio.h... |
/*
* Copyright (c) 2013 Genome Research Ltd.
* Author(s): <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 l... |
//Name: <NAME>
//GitHub username : akaldhafer
//Email : <EMAIL>
//System title : ALDhafer Car Service Management System
#include <stdio.h> /*header files*/
#include <string.h>/*string function*/
#include <stdlib.h>/*for improtant function such as strcmp*/
#include <windows.h>/*system function such as pause and cls*/
... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2014 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distri... |
/*
Copyright 2010-2013 SourceGear, LLC
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, softwar... |
/* Copyright (c) 2007-2009, UNINETT AS
* Copyright (c) 2012, NORDUnet A/S */
/* See LICENSE for licensing information. */
#include <signal.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#ifdef SYS_SOLARIS9
#include <fcntl.h>
#endif
#in... |
/*
******************************************************************************
*
* COPYRIGHT(c) 2020, China Mobile IOT
*
* 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 co... |
#define UD_FORTRAN_SOURCE
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#ifndef PATH_MAX
# define PATH_MAX 255
#endif
#include <string.h>
#include <time.h>
#include <assert.h>
#include "ulog.h"
/*
... |
/* Copyright (C) 1999 <NAME>.
Ghostscript laser printer driver supporting Library.
This software is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particul... |
/* multirobust.c
*
* Copyright (C) 2013 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This pr... |
#include "./Includes.h"
/*
* Note:
* Globals are being used as Emscripten really wants functional programming so yeah I don't really
* know another way
*/
/* Declaring the global variables I need */
#define SCREEN_W 640
#define SCREEN_H 480
/* Initializing game, mainly variables needed and the litt... |
/** @file actor.c
@brief
This file contains scene actor routines
TwinEngine: a Little Big Adventure engine
Copyright (C) 2013 The TwinEngine team
Copyright (C) 2008-2013 Prequengine team
Copyright (C) 2002-2007 The TwinEngine team
This program is free software; you can redistribute it and/or
modify it under... |
/*
* drv_bme280.c
*
* Created on: Oct 9, 2020
* Author: kimi
*/
/********** Include **********/
#include <math.h>
#include "main.h"
#include "drv_bme280.h"
/********** Define **********/
#define BME280_I2C_SLAVE_ADDRESS ((uint8_t)(0x76 << 1))
#define I2C_TIMEOUT (1000) /* [ms] */
#define BME280_MODE (0b... |
/*
* Acess2 VIA Video Driver
* - By <NAME>
*
* main.c
* - Driver core
*
* NOTE: Based off the UniChrome driver for X, http://unichrome.sourceforge.net/
* - OGPM_UniChrome_ProII_R108a_Part1_Core_2D.pdf
*/
#define DEBUG 0
#include <acess.h>
#include <fs_devfs.h>
#include <drv_pci.h>
#include <modules.h>
#includ... |
////////////////////////////////////
// clock AND protoThreads configure!
// You MUST check this file!
#include "config.h"
// threading library
#define use_uart_serial
#include "pt_cornell_1_2_3.h"
////////////////////////////////////
////////////////////////////////////
// graphics libraries
// SPI channel 1 connecti... |
/**
* tagcrypt/tagcryptsignature.c
* Copyright (C) 2006-2012 Opersys inc., All rights reserved.
*
* tagcrypt signature management function.
*
* @author <NAME>
*/
/*
* FIXME: Per version 2.1 of the KSP, each subpackets now have its
* length written in the subpackets byte array. Each subpackets
* should then ... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas at Austin
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Re... |
/*
Copyright 2009, jimmikaelkael
Licenced under Academic Free License version 3.0
Review open-ps2-loader README & LICENSE files for further details.
*/
#include "cdvdfsv-internal.h"
typedef struct
{
u32 lsn;
u32 sectors;
void *buf;
sceCdRMode mode;
void *eeaddr1;
void *eeaddr2;
} RpcCdvd... |
/*
* SCLP Support
*
* Copyright IBM, Corp. 2012
*
* Authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2 or (at your
* option) any later version. See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include "qemu/uni... |
/*
Copyright (c) IBM Corporation 2000, 2018
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, softw... |
/* blink2.c
*
* Copyright 2003 <NAME> <<EMAIL>>
*
* 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.
*
* Th... |
/* Copyright (C) 2017 alexh.name */
/* I2C code by twartzek 2017 */
/*
* Read the BME680 sensor with the BSEC library by running an endless loop in
* the bsec_iot_loop() function under Linux.
*
*/
/*#define _POSIX_C_SOURCE 200809L*/
#define _XOPEN_SOURCE 700
/* header files */
#include <stdio.h>
#include <stdli... |
#include "../bridge/struct.h"
#include "stdint.h"
#include "string.h"
#include <stdbool.h>
#define AudioContext void
#define AudioChannel void
typedef struct AudioStreamConfig {
int32_t device_index;
uint32_t desired_channels;
float desired_samplerate;
} AudioStreamConfig;
typedef struct AudioDeviceInd... |
/* ----------------------------------------------------------------------------
* PalmSens MethodSCRIPT SDK
* ----------------------------------------------------------------------------
Name : MSComm.c
Copyright :
* ----------------------------------------------------------------------------
* C... |
/*
* The Gubbins Microcontroller Operating System
*
* Copyright 2020-2021 Zynaptic 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-... |
#include "plugin/file/job.h"
#include "plugin/file/attribute.h"
#include "common/file.h"
#include "common/sglib.h"
#include "common/text_util.h"
#include "common/settings.h"
#include "common/thread.h"
#include "common/compression.h"
#include "file_reader.h"
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#in... |
/******************************************************************************
* @file HIDTransfer_Main.c
* @brief Nano1xx Touch Key configuration sample code (USB interface)
* @version 1.0.1
* @date 04, December, 2012
*
* @note
* Copyright (C) 2012-2014 Nuvoton Technology Corp. All rights re... |
/*
* FMDefs.c
* FountainMusic
*
* Copyright 2003-2011 <NAME>
*
*/
#pragma mark Declarations/Prototypes
#include "FMDefs.h"
#include "FountainModes.h"
#include "Textures.h"
#include "FMPrefs.h"
#include "Drawing.h"
#include "hsbrgb.h"
#define GRAV (-10.0)
#define FMImageIndex(x, y, c, width, height, comps) ... |
//metadoc PNGImage copyright <NAME> 2002
//metadoc PNGImage license BSD revised
#include "PNGImage.h"
#include <png.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef _WIN32
#include <unistd.h>
#endif
#include <string.h>
PNGImage *PNGImage_new(void)
{
PNGImage *self = (PNGImage *)calloc(1, sizeof(PNGImage));
PNGI... |
/*
libdeep - a library for deep learning
Copyright (C) 2013 <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
notice, this list of c... |
/* Copyright 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, ... |
// This file is part of Deark.
// Copyright (C) 2018 <NAME>
// See the file COPYING for terms of use.
// AppleSingle and AppleDouble
#include <deark-config.h>
#include <deark-private.h>
#include <deark-fmtutil.h>
DE_DECLARE_MODULE(de_module_applesd);
typedef struct localctx_struct {
u32 version;
int is_appledouble... |
/*
* xenpmd.c
*
* xen power management daemon - Facilitates power management
* functionality within xen guests.
*
* Copyright (c) 2008 <NAME>
* Copyright (c) 2008 Citrix Systems, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... |
/*
Copyright, Samsung 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 copyright
notice, this list of conditions and the following disclaimer.
... |
/*
Parses DNS response information
The scanner sends a CHAOS TXT query for "version.bind". This module parses
DNS in order to find the response string.
*/
#include "proto-udp.h"
#include "proto-dns.h"
#include "proto-dns-parse.h"
#include "proto-preprocess.h"
#include "syn-cookie.h"
#include "logger.h"
#i... |
/*
** $Id: drawtext.c 13762 2011-04-29 07:49:15Z humingming $
**
** drawtext.c: Implementation of DrawTextEx2
**
** Copyright (C) 2003 ~ 2008 Feynman Software.
** Copyright (C) 2000 ~ 2002 <NAME>.
**
** Create date: 2008/02/02
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "common.h"
#include ... |
/* $OpenBSD: df.c,v 1.60 2019/06/28 13:34:59 deraadt Exp $ */
/* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */
/*
* Copyright (c) 1980, 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
* All or some portions of this file are deri... |
/*
* The MIT License (MIT)
* Copyright (c) 2018 Novel Bits
*
* 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, modi... |
/*
* sds.c
*
* Created on: 06.04.2017
* Author: seven
*/
#include "esp/gpio.h"
#include "esp/uart.h"
#include "espressif/esp_common.h"
#include <stdio.h>
#include <string.h>
#include "FreeRTOS.h"
#include "queue.h"
#include "task.h"
#include "softwareUart.h"
#include "sds.h"
#define SDS_UART_BAUDRATE ... |
/*
* MIT License
*
* Copyright (c) 2021 Murachue
*
* 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,... |
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* lib/krb5/os/changepw.c
*
* Copyright 1990,1999 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a spec... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
//
#ifdef WIN64
#include <windows.h>
#include <WinBase.h>
#include <strsafe.h>
#include <Psapi.h> // Windows Process State API
#else
#include <errno.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#i... |
#if HAVE_CONFIG_H
# include "config.h"
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#elif defined(_MSC_VER)
# define SCNd64 "I64d"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "m4af.h"
#include "me... |
/* See LICENSE file for copyright and license details. */
/* Mostly Posix.1-2008 compatible, but also relies on the following extensions:
* reallocarray(3), ffsl(3), ffsll(3). */
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
#... |
/*******************************************************************************
* @file implicit.c
* @author <NAME>
* @brief
* @version 1.0.0
* @date 2022-02-22
* @copyright Copyright (c) 2022 by <NAME>.
* This work is licensed under terms of the MIT license (<LICENSE>).
**************************************... |
#include "ili9225.h"
#include <linux/delay.h> // msleep
#include <linux/slab.h>
#define DATA KMTERM_HIGH
#define CMD KMTERM_LOW
/* ILI9225 LCD Registers */
#define ILI9225_DRIVER_OUTPUT_CTRL (0x01) // Driver Output Control
#define ILI9225_LCD_AC_DRIVING_CTRL (0x02) // LCD AC Driving Control
#define ... |
/*
* etherhelpertool.c - Reads and writes raw ethernet packets usng bpf
* interface.
*
* Copyright (C) 2010, <NAME>
*
* Basilisk II (C) 1997-2008 <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 ... |
/*
The MIT License (MIT)
Copyright (c) 2014-2015 CSAIL, MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merg... |
/* vim: set expandtab ts=4 sw=4: */
/*
* You may redistribute this program and/or modify it under the terms of
* the GNU General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it... |
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "jksql.h"
#include "hdb.h"
#include "web.h"
#include "cdsEvidence.h"
#include "txInfo.h"
#include "trackDb.h"
#include "hgc.h"
static char const rcsid[] = "$Id: txCdsInfo.c,v 1.9 2009/01/30 23:48:49 fanhsu Exp $";
void showTxInfo(char *geneName, str... |
// SPDX-License-Identifier: GPL-2.0-or-later
/**
* eCryptfs: Linux filesystem encryption layer
* This is where eCryptfs coordinates the symmetric encryption and
* decryption of the file data as it passes between the lower
* encrypted file and the upper decrypted file.
*
* Copyright (C) 1997-2003 <NAME>
* Copyrig... |
/*
* Copyright (c) 2017 <NAME>
*
* SPDX-License-Identifier: Apache-2.0
*/
/** @file
* @brief I2C bus (TWIHS) driver for Atmel SAM MCU family.
*
* Only I2C Master Mode with 7 bit addressing is currently supported.
*/
#include <errno.h>
#include <sys/__assert.h>
#include <kernel.h>
#include <device.h>
#include... |
/*
* Driver for the SWIM (Super Woz Integrated Machine) IOP
* floppy controller on the Macintosh IIfx and Quadra 900/950
*
* Written by <NAME> (<EMAIL>)
* based on the SWIM3 driver (c) 1996 by <NAME>.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... |
/**********************************************************************
*
* PostGIS - Spatial Types for PostgreSQL
* Copyright 2009 <NAME> <<EMAIL>>
* Modifications Copyright (c) 2017 - Present Pivotal Software, Inc. All Rights Reserved.
*
* This is free software; you can redistribute and/or modify it under
* th... |
/*
* This file and its contents are licensed under the Timescale License.
* Please see the included NOTICE for copyright information and
* LICENSE-TIMESCALE for a copy of the license.
*/
#include <postgres.h>
#include <funcapi.h>
#include <miscadmin.h>
#include <utils/acl.h>
#include <utils/builtins.h>
#include <... |
//
// fd.c
//
// Floppy disk driver
//
// Copyright (C) 2002 <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
// ... |
//OXOOOO OOOO - 0X001F FFFF ROM 2MB
//OXOO20 OOOO - 0X0021 FFFF Flash Memory 128 KB
//OXOO5F 68OO - 0X005F 69FF System Control Reg 512B
//OXOO5F 6COO - 0X005F 6CFF Maple i/f Control Reg 256B
//OXOO5f 7000 - 0X005F 70FF GD-ROM 256B
//OXOO5f 74OO - 0X005F 74FF G1 i/f Control Reg 256B
//OXOO5F 7800 - 0X005F 78FF G2 i/f ... |
// SPDX-License-Identifier: GPL-2.0+
// Copyright (c) 2016-2017 Hisilicon Limited.
#include "hclge_mbx.h"
#include "hclgevf_main.h"
#include "hnae3.h"
#define CREATE_TRACE_POINTS
#include "hclgevf_trace.h"
static int hclgevf_resp_to_errno(u16 resp_code)
{
return resp_code ? -resp_code : 0;
}
#define HCLGEVF_MBX_MA... |
/*
* Copyright (c) 2003-2006 <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 conditio... |
/*
** 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.
**
*************************... |
// Inferno libmach/a.out.h and libmach/mach.h
// http://code.google.com/p/inferno-os/source/browse/utils/libmach/a.out.h
// http://code.google.com/p/inferno-os/source/browse/utils/libmach/mach.h
//
// Copyright © 1994-1999 Lucent Technologies Inc.
// Power PC support Copyright © 1995-2004 <NAME> (<EMAIL>).
// Portio... |
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
* Copyright 2017 NXP
*
* 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 ... |
/********************************************************************************/
/* */
/* TCPA Migration */
/* Written by <NAME> */
/* IBM Thomas J. Watson Research Center */
/* $Id: cmk_migrate.c 4702 2013-01-03 21:26:29Z kgoldman $ */
/* */
/* (c) Copyrig... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
//********... |
/*************************************************************************
This file is part of 'Mercenaries of Astonia v2'
Copyright (c) 1997-2001 <NAME> (<EMAIL>)
All rights reserved.
**************************************************************************/
// -- server --
void xlog(char *format,...) __attribute... |
/*
* Copyright (c) 1983, 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 following conditions
* are met:
* 1. Redistributions of source code must retain the above copyr... |
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1988 <NAME>, <NAME>, <NAME>
**********/
#include "ngspice/ngspice.h"
#include "ngspice/smpdefs.h"
#include "ngspice/cktdefs.h"
#include "bsim2def.h"
#include "ngspice/const.h"
#include "ngspice/sperror.h"
#include "ngspic... |
/*-
* Copyright (c) 2005 <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... |
/*
* Copyright (C) 2020 <NAME> <<EMAIL>>
*
* Type Inference Analyzer
*/
#include "sema/analyzer.h"
#include "clib/hash.h"
#include "clib/hashset.h"
#include "clib/hashtable.h"
#include "clib/symboltable.h"
#include "clib/util.h"
#include "tool/cmodule.h"
#include "parser/m_grammar.h"
#include <assert.h>
#include <l... |
/* hgMaf.c - Stuff to load up mafs from the browser database. */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "dystring.h"
#include "options.h"
#include "j... |
/* Module: qresult.c
*
* Description: This module contains functions related to
* managing result information (i.e, fetching rows from the backend,
* managing the tuple cache, etc.) and retrieving it.
* Depending on the situation, a QResultClass wil... |
/*
* Copyright (C) 2012 <NAME> <<EMAIL>>
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use,... |
/*
Copyright (c) 2016 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to al... |
#include "zuc.h"
#if defined(_M_IX86) || defined(_M_X64)
# include <immintrin.h>
#endif
#include <string.h>
#include <stdlib.h>
// Constants.
// The S-boxes.
static const uint8_t S0[256] = {
0x3E,0x72,0x5B,0x47,0xCA,0xE0,0x00,0x33,0x04,0xD1,0x54,0x98,0x09,0xB9,0x6D,0xCB,
0x7B,0x1B,0xF9,0x32,0xAF,0x9D,0x6A,0x... |
/* $OpenBSD: vacation.c,v 1.32 2009/10/27 23:59:46 deraadt Exp $ */
/* $NetBSD: vacation.c,v 1.7 1995/04/29 05:58:27 cgd Exp $ */
/*
* Copyright (c) 1983, 1987, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifi... |
/*
* lthor - Tizen Linux Thor Downloader
* Copyright (c) 2012 Samsung Electronics Co., 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/LICENS... |
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#define INCL_BASE
#define INCL_DOSDEVIOCTL
#include <os2.h>
/* ------------------------------------------------------------------------ */
#define READ_SOURCE 1
#define COPY_TARGET 2
#define EXIT_DSKCPY -1
#define DSKC... |
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <fcntl.h>
#include <sys/time.h>
#include <time.h>
#include "util.h"
#include <stdbool.h>
#include <unistd.h>
#include <signal.h>
#define MAX_THR... |
/*
Little Smalltalk version 3
Written by <NAME>, Oregon State University, July 1988
bytecode interpreter module
given a process object, execute bytecodes in a tight loop.
performs subroutine calls for
a) finding a non-cached method
b) executing a primitive
otherwise simply loops until time slice has ended
... |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
#include <stdio.h>
#include <math.h>
#include "pico/stdlib.h"
#include "pico/binary_info.h"
#include "hardware/adc.h"
#include "hardware/dma.h"
#include "hardware/gpio.h"
#include "hardware/i2c.h"
#include "kissfft/kiss_fftr.h"
#include "font8x8_basic.h"
#define FONT_WIDTH 8
#define LED_GPIO 13
#define IMPULSE_GP... |
/*
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2019 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... |
/*
* ICM20600 device driver
*
* log: 11:09 2018/12/26 Initial version
* Base on https://github.com/Seeed-Studio/Seeed_ICM20600_AK09918.git
*
* The MIT License (MIT)
*
* Copyright (C) 2018 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
/*
* $Id: spm_cat.c 5720 2013-10-31 13:46:05Z guillaume $
* Copyright 2012 <NAME> <<EMAIL>>
*/
#include "mex.h"
#include <math.h>
#include <string.h>
#if defined(NAN_EQUALS_ZERO)
#define IsNonZero(d) ((d)!=0.0 || mxIsNaN(d))
#else
#define IsNonZero(d) ((d)!=0.0)
#endif
struct s_m {
mwSize *jc;
mwSize *ir;... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/**
* \file blood_pressure_monitor.c
* \brief Blood Pressure Monitor Specialization Implementation
*
* Copyright (C) 2010 Signove Tecnologia Corporation.
* All rights reserved.
* Contact: Signove Tecnologia Corporation (<EMAIL>)
*
* $LICENSE_TEX... |
#include "screen.h"
#include <assert.h>
#include <string.h>
#include <SDL2/SDL.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include "config.h"
#include "common.h"
#include "compat.h"
#include "icon.xpm"
#include "tiny_xpm.h"
#include "video_buffer.h"
#include "util/lock.h"
#include "util/log.... |
// tokenize.c: assembler lexical analysis, syntax checking and program statement collection
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "asm.h"
int get_arguments(char *, char *, int, Args *);
int get_argument(char *, Arg *);
int get_token(char *, Token *);
int getword(char *... |
/*
* lib_general_a2560.c
*
* Created on: Feb 19, 2022
* Author: micahbly
*/
/*****************************************************************************/
/* Includes */
/*******************************************************************... |
#include "bcm283x_machdep.h"
#include "dev/bcm283x_io.h"
#include "dev/bcm283x_systimer.h"
#include "dev/bcm283x_pl011.h"
#include "dev/bcm283x_irq.h"
#include "dev/bcm283x_mbox.h"
#include "dev/bcm283x_gpio.h"
#include "kstddef.h"
#include "arm1176jzfs.h"
#include "page_tables.h"
#include "vfp.h"
#include "../h/type... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.