text
stringlengths
3.12k
18.7k
/* * <NAME> <<EMAIL>> * 2014-09-20 */ #include "tappet.h" int tunnel(int listen, const struct sockaddr *server, socklen_t srvlen, int tap, int udp, uint32_t nonce_prefix, unsigned char oursk[KEYBYTES], unsigned char theirpk[KEYBYTES]); int send_keepalive(int listen, int udp, uint16...
/* This code is written by <<EMAIL>>. (C) 2010 mlpy Developers. 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) a...
/* * DOS Virtual Machine * * Copyright 1998 <NAME> * Copyright 2002 <NAME> * * 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.1 of the License, or (at your opti...
/** * \file main.c * * \brief Main file for CEDSCOPE Project * * \mainpage Main Project Page * \section title CEDSCOPE * * This project still under development. * * Some important project information is contained in the following pages: * - [Hardware Pinouts](\ref HardwarePinouts) - pinouts for the CEDSCOPE-...
/*++ Copyright (c) 1994-1998, Microsoft Corporation All rights reserved. Module Name: intlid.h Abstract: This module contains the resource ids for the Regional Options applet. Revision History: --*/ // // Text String Constants. // // // Make sure the next two definitions are ...
/* Target-dependent code for the GNU Hurd. Copyright (C) 2002-2021 Free Software Foundation, Inc. This file is part of GDB. 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 vers...
/* * Copyright (C) 2011 Novell Inc. * Copyright (C) 2016 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <linux/fs.h> #include <linux/cred.h> #inclu...
/************************************************************************/ /* */ /* エミュモード */ /* */ /************************************************************************/ #include <stdio.h> #include "quasi88.h" #includ...
/* $NetBSD: acpi_tz.c,v 1.9 2004/03/24 09:14:58 martin Exp $ */ /* * Copyright (c) 2003 <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 co...
/* Copyright 2004,2007,2008,2011,2014,2018 IPB, 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 distri...
/*+ * United States Geological Survey * * PROJECT : Modular Modeling System (MMS) * NAME : reset_dim.c * AUTHOR : CADSWES * DATE : * FUNCTION : * COMMENT : * REF : * REVIEW : * PR NRS : * * $Id: reset_dim.c 3058 2007-01-25 22:25:59Z rsregan $ * $Revision: 3058 $ $Log: rese...
/* Copyright (C) 1999. The XFree86 Project Inc. Written by <NAME> (<EMAIL>) Based largely upon the xf8_16bpp module which is Mark Vojkovich's work. */ /* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32wid/cfbscrinit.c,v 1.3 2006/02/18 03:31:39 dawes Exp $ */ #include <X11/X.h> #include <X11/Xmd.h> #inc...
/**********************************************************************************************/ /* The MIT License */ /* */ /* Copyright 2016-2017 Twitch...
/* * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope t...
/* * 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 "shaderlib.h" #include "util.h" #include "util/sha256.h" #include "rwops/rwop...
/*************************************************************************** * Copyright (C) 2013 by <NAME> * * <EMAIL> * * * * This program is free softw...
#define _GNU_SOURCE #include "server.h" #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <ctype.h> #include <string.h> #include <signal.h> #include <poll.h> #include <pwd.h> #include <termios.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "whereami....
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1996, 1997, 1998 * Sleepycat Software. All rights reserved. */ #include "config.h" #ifndef lint static const char sccsid[] = "@(#)mp_fget.c 10.53 (Sleepycat) 11/16/98"; #endif /* not lint */ #ifndef NO_SYSTEM_INCLUDES #include <sys/typ...
/* * Watchdog device driver for DA9062 and DA9061 PMICs * Copyright (C) 2015 Dialog Semiconductor Ltd. * * 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...
/* Copyright 2012 exMULTI, Inc. * Distributed under the MIT/X11 software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. */ #include "libbitc-config.h" // for VERSION, _LARGE_FILES, etc #include "bitc/net/netbase.h" // for is_ipv4_mapped #ifdef...
/* BSD 2-Clause License Copyright (c) 2021, libpwntools 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 conditi...
// jue 21 abr 2022 18:28:43 CST // problema4.c // <NAME> (<EMAIL>) // Prorama que implementa diferentes operaciones con matrices. // Codificado del texto: UTF8 // Compiladores probados: GNU gcc (Ubuntu 20.04 Linux) 9.3.0 // Instruciones de Compilacion: no requiere nada mas // gcc -Wall -pedantic -std=c11 -c -o proble...
/* * $QNXLicenseC: * Copyright 2009, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICE...
/* * lib/krb4/send_to_kdc.c * * Copyright 1987-2002 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibility of any person or organization ...
/* $NetBSD: pci_machdep.c,v 1.10 2003/11/07 17:12:56 augustss Exp $ */ /* * Copyright (c) 1996 <NAME>. All rights reserved. * Copyright (c) 1994 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
/****************************************************************************** * Copyright (C) 2021 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /********************************************************************...
/* * Embedded_III_Final_Assignment.c * * Created: 11/23/2015 6:43:31 PM * Author: <NAME> * Using the blink.c from the Resources Directory as the initial framework built from * there. * * * Circuit setup: * Please refer to schematic image for setup. * * I have added a Diagnostic LED to digital ...
/****************************** Module Header ******************************\ * Module Name: hsplit.h * * Copyright (c) 1985-96, Microsoft Corporation * * 09/05/96 GerardoB Created \***************************************************************************/ #include <stdio.h> #include <stddef.h> #include <win...
/**************************************************************************** * Ralink Tech Inc. * Taiwan, R.O.C. * * (c) Copyright 2010, Ralink Technology, Inc. * * All rights reserved. Ralink's source code is an unpublished work and the * use of a copyright notice does not imply otherwise. This source code * ...
#include "main.h" static int split_args(char ***args, char *str) { char **res = NULL, *p = strtok(str, " "); int n_spaces = 0, i = 0; while (p) { res = realloc(res, sizeof (char*) * ++n_spaces); if (res == NULL) return GITORIUM_MEM_ALLOC; res[n_spaces-1] = p; i++; p = strtok(NULL, " "); } res = ...
#include <pebble.h> #include <pebble_fonts.h> #include "moonPhaseCalc.c" #define KEY_LAT 0 #define KEY_LNG 1 static Window *window; static Window *phase_window; static TextLayer *text_layer; static TextLayer *title_layer; static TextLayer *push_button_layer; static GBitmap *moon_phase_image; static RotBitmapLayer *m...
/* * HVM ROMBIOS support. * * <NAME>, <EMAIL> * Copyright (c) 2005, International Business Machines Corporation. * Copyright (c) 2006, <NAME>, XenSource Inc. * Copyright (c) 2011, Citrix Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU...
// Copyright (c) 2018 - for information on the respective copyright owner // see the NOTICE file and/or the repository https://github.com/micro-ROS/rcl_executor. // // 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 ...
/*- * Copyright (c) 2011-2012 <NAME> * Copyright (c) 2011 <NAME> * Copyright (c) 2012 <NAME> * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 * ("CTSRD"), as part of the DARPA CRASH resear...
/*** ** Created by <NAME> on 14/11/2018. ***/ #include <libraries/timer/app_timer.h> #include <boards.h> #include <ble_bas.h> #include "nrf_log.h" #include "nrf_log_ctrl.h" #include "nrf_log_default_backends.h" #include "nrfx_saadc.h" #include "nrfx_timer.h" #include "nrfx_rtc.h" #include "nrfx_clock.h" #include "nrf...
#ifndef CEE_JSON_AMALGAMATION #include <stdlib.h> #include <ctype.h> #include "cee.h" #include "cee-json.h" #include "tokenizer.h" #endif static const uint32_t utf_illegal = 0xFFFFFFFFu; static bool utf_valid(uint32_t v) { if(v>0x10FFFF) return false; if(0xD800 <=v && v<= 0xDFFF) /* surragates */ return f...
/** * gps.c * <NAME> * May 26, 2020 */ #include "gps.h" #include "stm32f4xx_hal.h" #include "string.h" #include "stdlib.h" // for strtoul #ifndef TRUE #define TRUE UINT8_C(1) #endif #ifndef FALSE #define FALSE UINT8_C(0) #endif #define GPS_STATE_UNKNOWN 0 #define GPS_STATE_READY 1 #define GPS_MAX_BUFFER_LENGTH ...
#include "./timing.h" #include <chameleon.h> #include <math.h> double cWtime(void) { struct timeval tp; gettimeofday( &tp, NULL ); return tp.tv_sec + 1e-6 * tp.tv_usec; } int check_solution(int N, double *E1, double *E2, double eps); #define maxx(a, b) ((a) > (b) ? (a) : (b)) #define minn(a, b) ((a) < (b) ? (a) :...
/************************************************************************* * Name : dlmater.h * Title : Display List Material node structures * Author : <NAME> * Created : 1/05/1995 * * Copyright : 1995-2022 Imagination Technologies (c) * License : MIT * * Description : Definition of all the material node stuctures * ...
/* Unix SMB/CIFS implementation. security access checking routines Copyright (C) <NAME> 2004 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 ...
/*++ /* NAME /* postconf_dbms 3 /* SUMMARY /* legacy support for database-defined main.cf parameter names /* SYNOPSIS /* #include <postconf.h> /* /* void pcf_register_dbms_parameters(param_value, flag_parameter, /* local_scope) /* const char *param_value; /* const char *(flag_parameter) (const char *, int, PCF_MAST...
/** * tapcfg - A cross-platform configuration utility for TAP driver * Copyright (C) 2008-2009 <NAME> * * 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.1 ...
/* * dhcpcd - DHCP client daemon * Copyright (c) 2006-2010 <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 copyri...
/* * $Id$ * * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2014, Professor <NAME> * Copyright (c) 2010-2011, <NAME> * Copyright (c) 2011, <NAME>, GSoC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificat...
/* Copyright (C) 2005 <NAME> <mmj at mmj.dk> * * $Id$ * * 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, mod...
/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "string.h" /* Private function prototypes -----------------------------------------------*/ void SystemClock_Config(void); static void MX_GPIO_Init(void); /* LCD Function prototypes */ void LCD_init(void); void...
/********************************************************************* "5-bit" collision transient execution attack PoC This source code shows a Proof-of-Concept of "5-bit" collision transient attack. For proof-of-concept we use a simple attack scenario: There are two functions, f1 and f2 located next to eac...
#include "tty.h" #include <ctype.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <stream.h> #include "cpu.h" #include "memory.h" enum tty_ansi_state { ANSI_ESC, ANSI_BRACKET, ANSI_ATTR, ANSI_ENDVAL, }; struct tty_ansi_arg { int value; bool empty; }; struct tty_ansi_parser { enum tty_a...
/* anagrhash v0.1 - an anagram generator/hash reverser Copyright (C) 2008 <NAME> See LICENSE. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <glib.h> #include "main.h" #include "result.h" #include "anagram.h" /* Global variables */ char* program_name = "anagrhash"; char* program_...
/************************************************* * Perl-Compatible Regular Expressions * *************************************************/ /* PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. ...
// == About This Program == // Reads a panoramic photo e.g. taken on a smartphone from Google Street app // and writes out 6 PNGs making faces of a cubemap // // == Author / Licence / History == // Copyright Dr <NAME> <<EMAIL>> // first version: 28 June 2016. 15 April 2018: additional Makefile for Win64. // This file ...
/* tuxctl-ioctl.c * * Driver (skeleton) for the mp2 tuxcontrollers for ECE391 at UIUC. * * <NAME> 2006 * <NAME> 2007 * <NAME> 12-13 Sep 2009 * <NAME> 2013 */ #include <asm/current.h> #include <asm/uaccess.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/fs.h> #inc...
/******************************************************************************* * @file rsi_hal_mcu_ioports.c * @brief ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b> ******************************************...
/* * * Copyright 2017, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is ...
#include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> #include <time.h> #include <syslog.h> #include "ydefs.h" #include "ystr.h" #define YLOG_IS_YLOG #include "ylog.h" /* ****** global log variable ******* */ ylog_main_t _ylog_gl = {NULL, YLOG_STDE...
/// /// @file HCColor.c /// @ingroup HollowCore /// /// @author <NAME> /// @date 3/6/19 /// @copyright © 2020 HollowCore Contributors. MIT License. /// #include "HCColor.h" #include <math.h> //-----------------------------------------------------------------------------------------------------------------------------...
/* * Register bitfield emulation. * * Copyright (c) 2015 <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 2 of the License, or * (at your option) any later versio...
/* * intel_pmic.c - Intel PMIC operation region driver * * Copyright (C) 2014 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 as published by the Free Software Foundation. * * Thi...
// Copyright (c) 2021 Cesanta // All rights reserved #include "tcpip.h" #include <string.h> #include "sdk.h" struct lcp { uint8_t addr, ctrl, proto[2], code, id, len[2]; } __attribute__((packed)); struct eth { uint8_t dst[6]; // Destination MAC address uint8_t src[6]; // Source MAC address uint16_t type; ...
/* * Copyright 1997,1998 by <NAME> * * 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 this permission notice appear ...
#include "stddefx.h" /* algoritm is taken from * Holub's compiler design in C (or something like that) * Bentley's Programming Pearls (2nd ed. or vol. 2) also has * a few words on this one * More good bit counting stuff in DDJ sept 2000 p.133, with * reply in oct/nov 2001 on an improvement */ /******...
#pragma config(UART_Usage, UART2, uartNotUsed, baudRate4800, IOPins, None, None) #pragma config(Sensor, in1, armPot, sensorPotentiometer) #pragma config(Sensor, dgtl1, cLimit, sensorTouch) #pragma config(Sensor, dgtl2, leftE, sensorQuadEncoder) #pragma config(Sensor, dgtl4, rightE, ...
/******************************************************** * * * Build up my own memory control system. Problem is with * * bugs in chunk_alloc, and I'd rather have the ram be process * * controlled rather than on the heap anyway. I'll let the experts * * fix egcs and Linux. * * * ...
/* vi: set sw=4 ts=4: */ /* * Copyright (C) 2001 <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: * * - Redistributions of source code must retain the above copyright noti...
/* GStreamer streamiddemux element * * Copyright 2013 LGE Corporation. * @author: <NAME> <<EMAIL>> * @author: <NAME> <<EMAIL>> * @author: <NAME> <<EMAIL>> * * gststreamiddemux.c: Simple stream-id-demultiplexer element * * This library is free software; you can redistribute it and/or * modify it under the t...
#pragma once #include<Windows.h> //crypt IT extern const char *_szKernel32; extern const char *_szLoadLibrary; extern const char *_szGetProcAddress; extern const char *_szGetModuleHandle; extern const char *_szUser32; extern const char *_szGetKeyboardType; extern const char *_szWindowFromPoint; extern c...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012-2017 Altera Corporation <www.altera.com> */ #include <common.h> #include <asm/io.h> #include <errno.h> #include <fdtdec.h> #include <linux/libfdt.h> #include <altera.h> #include <miiphy.h> #include <netdev.h> #include <watchdog.h> #include <asm/arch/misc....
/** * \file * * \brief SAM XOSC32K Runtime Failure Detector Application * * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. * * \license * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclu...
#include "zcode.h" #include "zcode_struct.h" #include "code_common.h" #include "file_operations.h" #include "mcoding.h" int z_encode(z_info_t *pzinfo, /* input */ const char *orig_data, int data_size, /* input */ char **encoded_data, /* output */ char **enc...
/* ======================================================================== * Copyright 2008-2010 <NAME> * ======================================================================== */ /* * Program: TOPS-20 TCP/IP routines * * Author: <NAME> * * Date: 1 August 1988 * Last Edited: 19 November 2008 * * Previous...
/** \file * \brief Spin control * * See Copyright Notice in "iup.h" */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "iup.h" #include "iupcbs.h" #include "iupkey.h" #include "iup_object.h" #include "iup_attrib.h" #include "iup_str.h" #include "iup_stdcontrols.h" #include "...
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // // bsc.c // // BCM2835 BSC driver. // // Language: GCC4 gnu89 // // History: // // 2012-10-24 <NAME>, Axiris // // * Created. // // ---------------------------------------------------------------------------- // // Copyright (c)...
/****************************************************************************** * * Copyright(c) 2007 - 2017 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundat...
/* * Copyright (C) 2019 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author <NAME> <<EMAIL>> */ #include <stdio.h> #include <string.h> #include "...
#include <locale.h> #include <limits.h> #include <stdio.h> #include <string.h> #include "_locale.h" #include "ctype/_ctype.h" #define setall(_map, _input, _mask) do { \ size_t _i; \ for (_i = 0; _i < sizeof(_input) - 1; _i++) { \ _map[(int)_input[_i]] |= _mask; \ } \ } while (0) char * __load_locale(struct __lo...
/* Name : PalindromeGUI Author : <NAME> Start Date : 2014-04-06 End Date : 2014-04-06 Description: This is a GUI for the popular problem to find palindromes written in the C language using OpenGL and Glut. This GUI is compiled in a Unix environment and is guarenteed to run...
/****************************************************************************** Copyright (c) 1996 - 2004 -- University of Washington ******************************************************************************/ #include "../include/Cgen.h" #include "../include/Dgen.h" #include "../include/Mgen.h" #...
/* $OpenBSD: pkey.c,v 1.15 2019/07/14 03:30:46 guenther Exp $ */ /* Written by Dr <NAME> (<EMAIL>) for the OpenSSL * project 2006 */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binar...
#include "topol.h" #include <stdio.h> #include <stdlib.h> #include <math.h> #include "utils.h" #include "file_utils.h" #include "math_utils.h" #include "string_c.h" #include "boundary.h" struct topol_t { int32_t num_bonds; pair* bond_top; int32_t num_angles; triple* angle_top; }; static void copyPair(pair* ...
/* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
/* * 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 ...
/* * uifontscbm2.c - generate fonts used by the xcbm2 ui * * Written by * groepaz <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
#include "test_hopscotch.h" #include "type_info_graph.h" #include <inttypes.h> static enum theft_trial_res prop_evaluate_and_check(struct theft *t, void *arg); static void solve_cb(uint32_t group_id, size_t group_count, const uint32_t *group, void *udata); static bool postcondition_checks(struct test_env *env);...
#include <stdio.h> #include <stdlib.h> #include <string.h> // Forward declaration. struct HashTable_; // Forward declaration. struct Hasher_; // Type alias for hash function. typedef int(*hasher_t)(int, void*); // Type alias for hash function updator. typedef void(*update_hasher_t)(struct Hasher_*, struct HashTable_...
/* Copyright 2008-2012 <NAME> Copyright 2008-2011 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
/* * Copyright (c) 2000-2001 Silicon Graphics, Inc. * All Rights Reserved. * * 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. * * This program is distributed in the hope that it would be ...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/* file: am_sevensegment.c */ #include "am_sevensegment.h" #define PIN(X) (1ul << X) void sevensegment_init(struct SevenSegment* ss, bool a, bool b, bool c, bool d, bool e, bool f, bool g, bool h) { ss->a = a; ss->b = b; ss->c = c; ss->d = d; ss->e = e; ss->f = f; ss->g = g; ss->h = h; } ...
/* * Copyright (C) 2017 - 2018 Texas Instruments Incorporated - http://www.ti.com/ * * * 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 * ...
/* Copyright 2020 oscillo 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, ...
/* * $XConsortium: skyHdwr.c /main/7 1995/12/05 15:44:46 matt $ * * Copyright IBM Corporation 1987,1988,1989,1990,1991 * * All Rights Reserved * * License to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above c...
/* * hostapd / EAP-TLS (RFC 2716) * Copyright (c) 2004-2005, <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 Foundation. * * Alternatively, this software may be distribu...
/* This is where manage destination functions The following functions are used for managing destinations: * manageDestination() * addDest() * editDest() * deleteDest() * displayDest() */ // this function adds destination in the `destinationFile` void addDest(Information (*arrayCategories)[]...
/* <NAME> CS360 - Systems Programming - Instructor: <NAME>, Ph.D README: compiled and tested with -g -Wall -pedantic -ansi -std=c99 Write program readable:  Takes one or zero command line arguments.  Argument, if present, is a pathname (relative or absolute). If no argument is present, the pathname of the pre...
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> #include <io.h> typedef struct result { char *filename; int count; char str_location[50]; } Result; int get_file_size(FILE *fp); void cut_filename(char *H); int compare_with_size(const void *a, const void *b); char *cut_en...
/* $Id: semevent-r0drv-linux.c $ */ /** @file * IPRT - Single Release Event Semaphores, Ring-0 Driver, Linux. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can red...
/* COPYRIGHT AND PERMISSION NOTICE Copyright (c) 2000, 2001 Nokia Home Communications 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 ...
#include "defs.h" #ifdef _OPENMP int NUM_THREADS; #endif int main(int argc, char** argv) { /* Data structure for storing generated tuples in the * Scalable Data Generation Stage -- see defs.h */ graphSDG* SDGdata; /* The graph data structure -- see defs.h */ graph* G; /* Kernel 2 outpu...
/* mspeld.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 integer c__0 = 0; /* $Procedure MSPELD ( Misspelling diagnosis ) */ /* Subroutine *...