text stringlengths 3.12k 18.7k |
|---|
/** @file
@brief STM32L152RE Nucleo Initialize
@date 2018.08.11
@author <NAME>
*/
#include "sysconfig.h"
#include "tkprintf.h"
#include "device/i2c_ioctl.h"
#include "device/spi_ioctl.h"
#include "device/sd_ioctl.h"
#include "device/rtc_ioctl.h"
#include "device/video_ioctl.h"
#include "device/vio_ioctl.h... |
/* Cursor motion calculation definitions for GNU Emacs
Copyright (C) 1985, 1989, 2001-2015 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs 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 Foundati... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* mmove.c
*
* This file contains functions that move the graph given a partition
*
* Started 11/22/96
* George
*
* $Id: move.c,v 1.3 2003/07/31 16:23:30 karypis Exp $
*
*/
#include <parmetislib.h>
/**********************************************... |
/* hash-function, T13.654-T13.864 $DVS:time$ */
#include <string.h>
#ifdef SHA256_OPENSSL_MBLOCK
#include <arpa/inet.h>
#endif
#include "algorithms/sha256.h"
#include "hash.h"
#include "system.h"
void xdag_hash(void *data, size_t size, xdag_hash_t hash)
{
SHA256REF_CTX ctx;
sha256_init(&ctx);
sha256_update(&ctx, ... |
/**
\brief openmoteSTM32 definition of the "spi" bsp module.
\author <NAME> <<EMAIL>>, July 2012.
*/
#include "stm32f10x_lib.h"
#include "stdio.h"
#include "stdint.h"
#include "string.h"
#include "spi.h"
#include "leds.h"
#include "rcc.h"
#include "nvic.h"
//=========================== defines ======... |
/*****************************************************************************
* *
* File: mv88x201x.c *
* $Revision: 1.12 $ *
* $... |
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include "t124.h"
#include "rcm.h"
#include "fuse.h"
#include "mini_libusb.h"
#include "mem_dumper_usb_server.h"
void print_hex_memory( void *mem, size_t size ) {
uint8_t *p = (uint8_t *)mem;
for ( int i = 0; i < siz... |
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define _POSIX_C_SOURCE 200809L
#define _GNU_SOURCE
#define _DARWIN_C_SOURCE
#include <stdio.h>
#include <string.h>
#include <arpa/inet.h>
#include <errn... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* File Name : freertos.c
* Description : Code for freertos applications
******************************************************************************
* @attention
*
* <h2><cente... |
/*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license
*/
#include <stdint.h>
#include <stddef.h>
#include "dx_nvm.h"
#include "secureboot_general_hwdefs.h"
#include "secureboot_stage_defs.h"
#include "bsv_error.h"... |
/*-
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*... |
/*
Copyright (c) 2018-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 use, copy, modify, merge, publish, dis... |
#define LOG_LOCAL_LEVEL ESP_LOG_INFO
#include "esp_log.h"
#include "wifiscan.h"
/**************************************
* AccessPoint ListItem widget
*************************************/
uint16_t wscan_get_rssi_color(int rssi)
{
if (rssi <= WSCAN_RSSI_LOW)
return WSCAN_RSSI_LOW_COLOR;
if (rssi <= WSC... |
/*
This file is part of GNUnet.
Copyright (C) 2009, 2010, 2016 GNUnet e.V.
GNUnet 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) any later vers... |
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include <assert.h>
#include <math.h>
#include <string.h>
#include "vx/math/matd.h"
#include "common/zarray.h"
#include "vx_util.h"
static uint64_t atomicLong = 1; //XXX XXX
uint64_t vx_util_alloc_id()
{
return __sync_fetch_and_add(&atomicLong, 1);
}
... |
/*-
* Copyright (c) 1998 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
/*
* Open Surge Engine
* animalprison.c - animal prison (this object appears after the boss fight)
* Copyright (C) 2010 <NAME> <<EMAIL>martf(at)gmail(dot)com>
* http://opensnc.sourceforge.net
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... |
/*
* Copyright (c) 2007, Google Inc.
* All rights reserved.
*
* Copyright (c) 2009-2010, Code Aurora Forum. 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 ... |
///////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT NOTICE
//
// The following open source license statement does not apply to any
// entity in the Exception List published by FMSoft.
//
// For more information, please visit:
//
// https://www.fmsoft.... |
// SPDX-License-Identifier: GPL-2.0-only
/**************************************************************************
* Copyright (c) 2007-2011, Intel Corporation.
* All Rights Reserved.
*
* Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
* develop this driver.
*
******************************... |
// <NAME>
// Program to generate the Buddahbrot
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <assert.h>
#define WIDTH 900
#define HEIGHT 900
#define RGB 3
#define CHANNELS 3
#define BYTES_PER_PIXEL 3
#define MAX_ORBITAL_LENGTH 8000
#define MIN_ORBITAL_LENGTH... |
/*
* Copyright (c) 2001 <NAME>
*/
/*
* Guillemot Digital Interface Protocol driver for Linux
*/
/*
* 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
... |
#pragma ident "$Id: viewer.c,v 1.1.1.1 2000/02/08 20:20:15 dec Exp $"
#include <Xm/Form.h>
#include <Xm/DrawingA.h>
#include <Xm/PushBG.h>
#include <Xm/PushB.h>
#include <Xm/Label.h>
#include <Xm/LabelG.h>
#include <Xm/ToggleB.h>
#include <Xm/TextF.h>
#include <Xm/ArrowBG.h>
#include "nrts.h"
#include "view.h"
extern ... |
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <pthread.h>
#include <dirent.h>
#include "emu.h"
#include "utils.h"
#define LOGTAG "STORAGE"
#ifdef TRACE_STORAGE
#define TRACE
#endif
#include "trace.h"
#define FILENAME_MAX_SIZE 1000
... |
/* Capstone Disassembler Engine */
/* By <NAME> <<EMAIL>>, 2013-2019 */
#include <stdio.h>
#include <stdlib.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
static csh handle;
struct platform {
cs_arch arch;
cs_mode mode;
unsigned char *code;
size_t size;
const char *comment;
int syntax;
};
s... |
/***********
* INCLUDES *
***********/
#include <stdio.h>
#include <curses.h>
#include <string.h>
#include <stdlib.h>
/*************
* PROTOTYPES *
*************/
void CheckScreenSize(); //Make sure resolution is at least 32x29
void CreateWindows(int y, int x, int y0, int x0); //... |
/****************************************************************************//**
* @file main.c
* @version V0.10
* @brief
* Demonstrate how to implement a composite device.(VCOM and HID Transfer)
* It supports one virtual COM port and transfers data between USB device and PC through USB H... |
#include "id_table.h"
#include "wp_uidmapper_lib.h"
#include <sys/types.h> /* opendir */
#include <sys/stat.h> /* stat */
#include <stdlib.h> /* mallloc,free,strtol */
#include <string.h> /* memcpy */
#include <errno.h> /* errno */
#include <dirent.h> /* opendir */
#include <unistd.h> /* stat */
unsigned long hash_f... |
// sap.c
//
#include "babel.h"
#include "sap.h"
#include "aop.h"
#include "mem.h"
#include "bstruct.h"
#include "list.h"
#include "introspect.h"
// sorted array-of-pairs notes:
//
// sap is optimized for read/update on a fixed array.
//
// You can remove an element from the sap by setting its entry to be->nil or
/... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Eina.h>
#include "net.h"
#include "protocol.h"
#include "packet.h"
#include "sql.h"
/*
* Packet ID: 0x37
* Packet Name: sid_unknown_37
*
* Direction: Client to Server
* Used By: Diablo II, Diablo II Lord of Destruction
*
* Format :
* (DWORD... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "uv.h"
#include "util.h"
#include "logger.h"
#include "socks.h"
#include "socksd.h"
static void client_alloc_cb(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf);
static void client_send_cb(uv_write_t *req, int status);
... |
/* Copyright (c) 2015, 2016 Nicira, 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 a... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - <NAME>
* Copyright (C) 2011-2017 - <NAME>
*
* RetroArch 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 Found-
* ation, either version 3 of the... |
//
// requests.c
// requests
//
// Created by hao on 2019/4/25.
// Copyright © 2019 hao. All rights reserved.
//
#include "requests.h"
static void set_servaddr(const char *const hostname, struct sockaddr_in *servaddr_ptr) {
bzero(servaddr_ptr, sizeof(struct sockaddr_in));
servaddr_ptr->sin_family = FAMILY... |
/* ISC license. */
#include <sys/types.h>
#include <limits.h>
#include <skalibs/types.h>
#include <skalibs/sgetopt.h>
#include <skalibs/strerr2.h>
#include <skalibs/exec.h>
#include <s6/config.h>
#include <s6-networking/config.h>
#define USAGE "s6-tlsserver [ -e ] [ options ] ip port prog...\n" \
"s6-tcpserver opt... |
/*
* OpenSplice DDS
*
* This software and documentation are Copyright 2006 to TO_YEAR PrismTech
* Limited, its affiliated companies and licensors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... |
/*
Copyright 2013-2014 bcstack.org
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... |
/*********************************************************************************
OpenMP-3.0 Example Codes Beta-v1.0
File : tree-traverse-alg-openmp3x.c
Date : Aug 2011
Description : The example program demonstrate the use of openmp new feature
task const... |
/* file: siftrefinemx.c
** author: <NAME>
** description: Subpixel localization, thresholding and off-edge test.
**/
/* AUTORIGHTS
Copyright (c) 2006 The Regents of the University of California.
All Rights Reserved.
Created by <NAME>
UCLA Vision Lab - Department of Computer Science
Permission to use, cop... |
/*
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
/* Copyright 2004,2007,2008,2010-2012 Universite de Bordeaux, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distribution of ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
* @brief : igors
******************************************************************************
* @attention
*
* <h2><center>&... |
#include "glbl.h"
#include "fnv.h"
#include "bool.h"
#include "table.h"
/* Internal magic */
uint64_t RadixTable_HashKey(RadixMemoryBlob key)
/* Currently using "hardered" FNV-1A hashes for the keys.
* It may be worth swapping this out for xxHash or SIPHASH24 or something.
* (I think Python maybe uses S... |
/*
* Copyright (c) 2012 The Native Client 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 "native_client/src/include/build_config.h"
#include "native_client/src/include/nacl_assert.h"
#include "native_client/src/include... |
/*
* t_cose_make_psa_test_key.c
*
* Copyright 2019-2020, <NAME>
* Copyright (c) 2021, Arm Limited. All rights reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*
* See BSD-3-Clause license in README.md
*/
#include "t_cose_make_test_pub_key.h" /* The interface implemented here */
#include "t_cose_standard_c... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tice.h>
#include <graphx.h>
#include <debug.h>
#include <compression.h>
#include "misc.h"
#include "gfx/map_gfx.h"
#include "gfx/battle_gfx.h"
#include "gfx/PKMNSD6.h"
int ColorDifference(uint16_t color1, uint16_t color2);
void ... |
/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license ... |
#pragma once
#include "constants.h"
#include <malloc.h>
#include <math.h>
#define uint unsigned int;
//ver. 2.0
// matrix
typedef float** fMatrix;
typedef int** iMatrix;
// For points I will use arrays of integers;
typedef float* Point2d;
typedef float* Point3d;
// Triangle is array [3][X], where X is count of coor... |
/* ev3_led.c was generated by yupp 1.1c3
out of ev3_led.yu-c
*//**
* \file ev3_led.c (ev3_led.yu-c)
* \brief EV3 LEDs.
* \author <NAME> (<EMAIL>)
* \copyright See the LICENSE file.
*/
#define EV3_LED_IMPLEMENT
#include <string.h>
#include <stdio.h>
#include "ev3.h"
#include "ev3_led.h"
static co... |
/*
* Copyright: JessMA Open Source (<EMAIL>)
*
* Author : <NAME>
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* Licensed under the Apache License, Version 2.0 (the "License"... |
#include <string.h>
#include "ibm.h"
#include "ide.h"
#include "io.h"
#include "keyboard_at.h"
#include "mem.h"
#include "pci.h"
#include "sio.h"
#include "x86.h"
#include "i430lx.h"
static uint8_t card_i430lx[256];
static void i430lx_map(uint32_t addr, uint32_t size, int state)
{
switch (s... |
/*
* Copyright 2020 Makani Technologies 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 ... |
/* ************************************************************************** *
/*
/* coleco.h
/*
/* C-Prototypes... |
/****************************************************************************
* Copyright (c) 2015 <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... |
/* syseti.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;
/* $Procedure SYSETI ( Set the value associated with a symbol ) */
/* Subroutine */ int sy... |
/*
* Copyright (c) 1989, 1993, 1995
* 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... |
/*******************************************************************************
* Copyright (C) 2015 Maxim Integrated Products, Inc., 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 d... |
/* regCompanionGraphVsFixedPoints - Given a bunch of fixed point in genome as input
* (promoters perhaps) help make graphs of many features in bins relative to that point. */
/* Copyright (C) 2011 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#in... |
// for finding memory leaks in debug mode with Visual Studio
#if defined _DEBUG && defined _MSC_VER
#include <crtdbg.h>
#endif
#include <stdint.h>
#include <stdbool.h>
#include "pt2_palette.h"
#include "pt2_structs.h"
#include "pt2_helpers.h"
#include "pt2_bmp.h"
#include "pt2_tables.h"
uint32_t *aboutScreenBMP = ... |
/**
* \file bench/matopts.c
* \brief
* \ingroup OFFBENCH
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <oski/oski.h>
#include "abort_prog.h"
#include "readhbpat.h"
#include "testvec.h"
#include "parse_opts.h"
#include "matopts.h"
void
matopts_Init (matopts_t * opts... |
/*-
* Public Domain 2014-2018 MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary,... |
/*
The MIT License (MIT)
Copyright (c) 2017 <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 restriction, including without limitation the rights
to use, co... |
/*
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 restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicen... |
/* Copyright (c) 2013-2014, The Linux Foundation. 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, this list o... |
/*-------------- Telecommunications & Signal Processing Lab ---------------
McGill University
Routine:
int AFsetInputPar(const char String[])
Purpose:
Set defaults for input audio files from a string specification
Description:
This routine sets the default audio file data parameter... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/*
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1996-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission noti... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include "asmheader.h"
#define errbufsize 1024
#define labelbufsize 10
int look;
int lCount = 0;
//Report an error
void error(char *err) {
fprintf(stderr, "Error: %s.\n", err);
}
//Report error and halt
void fail(cha... |
/******************************************************************************
Copyright (C) 2014 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 2... |
/*
* ble_barts.c
*
* Created on: 2016/11/28
* Author: idt12312
*/
#include "sdk_config.h"
#include "ble_barts.h"
#include "ble_srv_common.h"
#include "sdk_common.h"
static void on_connect(ble_barts_t * p_barts, ble_evt_t * p_ble_evt)
{
p_barts->conn_handle = p_ble_evt->evt.gap_evt.conn_handle;
}
st... |
#include "vm_print.h"
#include "vm_util.h"
static inline const char* get_atom(vm_staticmem_t* smem, vm_atom_t atom){
if(smem == NULL || smem->symbols.atom == NULL)
return "_null";
return smem->symbols.atom[atom];
}
static inline const char* get_function(vm_staticmem_t* smem, vm_atom_t atom){
if(smem == NULL || s... |
// I copied this file from Catena's src/catena_test_vectors.c and modified it to call
// TigerKDF. It was written by the Catena team and slightly changed by me.
// It therefore falls under Catena's MIT license.
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "tigerkdf.h"
void... |
/**
* Copyright 2019 Comcast Cable Communications Management, 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 b... |
/****************************************************************************
* Driver for Solarflare Solarstorm network controllers and boards
* Copyright 2005-2006 Fen Systems Ltd.
* Copyright 2006-2008 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* ... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2017-2018. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
/**
* \file timer_hw.c
*
* \brief Handler timer functionalities
*
* Copyright (c) 2017 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2010,2015,2019 The Linux Foundation. All rights reserved.
* Copyright (C) 2015 Linaro Ltd.
*/
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/qcom... |
/***************************************************************************
Atari Cloak & Dagger hardware
***************************************************************************/
#include "driver.h"
#include "cloak.h"
static mame_bitmap *tmpbitmap2;
static UINT8 x,y,bmap;
static UINT8 *tmpvideoram,*tmpvide... |
/*
* Copyright (c) 2013, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
* All rights reserved.
*/
/*
* This file is licensed according to the BSD 3-clause license as follows:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
/*
* Copyright (c) 2021, The UAPKI Project Authors.
*
* 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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*-
* Copyright (c) 2009-2011 <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>
* Copyright (c) 2005-2008 <NAME>, <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... |
// (C) Copyright 2012, <NAME> (khoat [at] jaist [dot] ac [dot] jp)
// This file is part of FSTM.
// FSTM 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
// opti... |
/*
* Copyright (c) 2017, 2018, 2019 <NAME>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ... |
/*
* Copyright © 2010 Intel Corporation
*
* 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, pub... |
/*******************************************************************************
WINBINDER - The native Windows binding for PHP
Copyright Hypervisual - see LICENSE.TXT for details
Author: <NAME> (http://winbinder.org/contact.php)
Tab control
*********************************************************************... |
/**********************************************************************
*
* PROJECT: Mylly GUI - Generic Windows font loader
* FILE: FontLoader.h
* LICENCE: See Licence.txt
* PURPOSE: Shared code for MGUI renderer font loading on Windows.
*
* (c) <NAME> 2013
*
**********************************... |
/* A Bison parser, made by GNU Bison 2.1. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publi... |
/*! \file def_struct.h
\brief typedefs and structures
*/
/*! \typedef type_ptr
\brief Used to identify the object on the undo_stack
Use define instead of enums because quick masking is important
*/
typedef long type_ptr;
typedef long operator; // Added REV401PLUS
/*! \typedef PsiTerm
\brief Type for psi-t... |
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│
│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│
╞══════════════════════════════════════════════════════════════════════════════╡
│ Copyright 2020 <NAME> │
│ ... |
// SPDX-License-Identifier: Apache-2.0
// Copyright 2016 Eotvos Lorand University, Budapest, Hungary
#include "controller.h"
#include "messages.h"
#include "dpdk_controller_dictionary.h"
#include "dpdk_ctrl_common.h"
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <arpa/inet.h>
#define MAX_MACS 6... |
#include <stdint.h>
#include <std/std.h>
#include "macho.h"
#include <kernel/util/vfs/fs.h>
#include <kernel/multitasking/tasks/task.h>
void mach_load_segments(FILE* mach, int* entry_point, uint32_t slide);
void mach_load_file(char* filename) {
printk("Loading Mach-O file \'%s\'\n", filename);
//figure out virtual... |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc., 2016 Google Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public ... |
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
// Copyright (c) 2020 <NAME>
//
// Based on biolatency(8) from BCC by <NAME>.
// 15-Jun-2020 <NAME> Created this.
#include <argp.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include <bpf/libbpf.h>
#include <sys/resource.h>
#i... |
/*
* Copyright (c) 1988, 1992 The University of Utah and the Center
* for Software Science (CSS).
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* the Center for Software Science of the University o... |
#include "fcgi_stdio.h"
#include "lmxsocket.h"
#include <jansson.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
static char *nfo[] = {
"QUERY_STRING", "REQUEST_METHOD", "CONTENT_TYPE", "CONTENT_LENGTH", "SCRIPT_FILENAME", "SCRIPT_NAME", "PATH_INFO",
"PA... |
/*-
* Copyright (c) 2014 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
#define _DEFAULT_SOURCE
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <fcntl.h>
#include <errno.h>
#include <assert.h>
#include "devices.h"
#include "utils.h"
extern int keepRunning;
deviceDetails *addDeviceDetails(const char *fn, deviceDetails **devs, s... |
/*
* Copyright (c) 2006-2008,2010,2012-2013 Apple Inc. All Rights Reserved.
*
* io_sock.c - SecureTransport sample I/O module, X sockets version
*/
#include "ioSock.h"
#include <errno.h>
#include <stdio.h>
#include <Security/SecBase.h>
#include <unistd.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.