text
stringlengths
3.12k
18.7k
/* * SysDB - src/utils/channel.c * Copyright (C) 2013 Sebastian 'tokkee' Harl <<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 th...
void cpp_define_empty(CPP_Context* ctx, const char* key) { size_t len = strlen(key); // TODO(NeGate): Work around to get any of the macro bucket // keys to be at 16bytes aligned size_t pad_len = (len + 15) & ~15; char* newkey = gimme_the_shtuffs(ctx, pad_len); memcpy(newkey, key, len); // ...
/* Sample TCP server */ #include <sys/socket.h> #include <netinet/in.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <signal.h> #include "gps.h" #include "frame.h" static int keepRunning = 1; void intHandler(int dummy) { keepRunning = 0; } void checksum(char * csum, char * buf, uint16_t ...
/*MIT License Copyright (c) 2020 jwachlin 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, distri...
/* Serval Low-bandwidth asychronous Rhizome Demonstrator. Copyright (C) 2015 Serval Project Inc. This program monitors a local Rhizome database and attempts to synchronise it over low-bandwidth declarative transports, such as bluetooth name or wifi-direct service information messages. It is intended to give a high p...
/** * <NAME> * 157986 * * Trabalho complementar * Coleta dos dados * Para o código serial * -arq1: 1169 * -arq2: 32971 * -arq3: 255882 * Para o código paralelo temos: *NThreads| 1 | 2 | 4 | 8 | 16 | * -arq1:| 1385 | 536 | 291 | 333 | 759 | * -arq2:| 35032 ...
/* utrans_2.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 doublereal c_b10 = 1.; /* $Procedure UTRANS_2 ( Translate Units To Default Units ...
/* * dprpwg: a Deterministic Pseudo-Random PassWord Generator * Copyright (c) 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 limita...
/* * BME_customdata.c jan 2007 * * Custom Data functions for Bmesh * * $Id: BME_Customdata.c 35247 2011-02-27 20:40:57Z jesterking $ * * ***** 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 ...
/******************************************************************************* License: This software and/or related materials was developed at the National Institute of Standards and Technology (NIST) by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of...
/* * The MIT License (MIT) * * Copyright (c) 2016 <NAME> (github.com/kanflo) * * 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 ...
/* * 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...
/* mipslabwork.c This file written 2015 by <NAME> Updated 2017-04-21 by <NAME> This file should be changed by YOU! So you must add comment(s) here with your name(s) and date(s): This file modified 2017-04-31 by <NAME> For copyright and licensing, see file COPYING */ #include <pic32mx.h> /* Declar...
/*Copyright (C) 2008-2009 <NAME> (<EMAIL>) You can redistribute this library 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 option) any later version.*/ #include <stdio.h> #include <stdlib...
// This file is free software, distributed under the BSD license. #pragma once #include "../config.h" //{{{ Game constants --------------------------------------------------- #define ADVENTURE_SCOREFILE _PATH_GAME_STATE "adventure.scores" #define ADVENTURE_SAVE_NAME "adventure" #define SCOREFILE_MAGIC "advent" enu...
// // Created by koushiro on 10/18/18. // #include <assert.h> #include <ctype.h> #include <stdarg.h> #include <string.h> #include "xalloc.h" #include "xstr.h" xstr xstr_create_raw(const void* init, size_t init_len) { size_t hdr_size = sizeof(xstr_hdr); void* ptr = xmalloc(hdr_size + init_len + 1); if (!i...
/* $NetBSD: pnpbiosreg.h,v 1.2 2000/05/11 05:54:49 jhawk Exp $ */ /* * Copyright (c) 2000 <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 r...
#include <stdio.h> #include <stdlib.h> #include <locale.h> #include <string.h> #define MAX 200 //*ALTERAR NUMERO LIMITE DE PROJETOS// //*<NAME> NASCIMENTO// typedef struct dados{ int codigo; int ano; int status; int qtdfuncionarios; //*NOVO CAMPO ADICIONADO// float orcamento; //*NOVO CAMPO ADICIONA...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <assert.h> #include "move_detection.h" void rga_ds(unsigned char* pin, unsigned char* pout, int w, int h, int w_ds, int h_ds); void down_sampling(unsigned char* im, unsigned char* img_down_sam, int height, int width); void down_samp...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "utils.h" #include "linked_list.h" int node_count = 0; int retire_count = 0; int print_count = 0; //struct ll_node* ll is pointing to a memory location allocated by user. void ll_init(struct linked_list* ll) { memset(ll, 0, s...
/* * Copyright © 2021 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and ...
/* $Id$ */ /* * 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 code must retain the above copyright * notice, this list of con...
#include "common.h" /* Screen laylout def */ #define SCREEN_WIDTH 100 #define SCREEN_HEIGHT 24 #define MENU_SCREEN_FIRST_PARTITION 21 #define MENU_SCREEN_SECOND_PARTITION 34 // Uncomment if using VS code cmd terminal /* #if defined(_WIN32) #undef KEY_DOWN #define KEY_DOWN 456 #undef KEY_UP #d...
#include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xos.h> #include <X11/Xatom.h> #include <X11/keysym.h> #include <X11/keysymdef.h> #include <math.h> #include <locale.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <si...
#include "scene_1.h" #include "effects.h" #include "utils.h" #include "game.h" #include "palette_bin.h" #include "menu_tiles_bin.h" #include "menu_bg_map_bin.h" #include "menu_misc_map_bin.h" #include "menu_ui_map_bin.h" #include "menu_music_bin.h" #include "cursor.h" #include "font.h" #include "text.h" #include "rabb...
/* * Mesa 3-D graphics library * * Copyright (C) 2013 LunarG, Inc. * * 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 ...
/* Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include "../include/pin_based_cec.h" #define AES128_KEY_SIZE_IN_DWORDS 4 #define AES128_KEY_SIZE_IN_BYTES (AES128_KEY_SIZ...
/****************************************************************************** * * * acpatch.c - Performs Azimuth Compression on a Patch of data. * * Parts of this code are Copyright <NAME> at Stanford University * * Modifications are Copyright Geophysical Institute, Universi...
/* * Copyright (c) 2005-2014 <NAME> <<EMAIL>>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ #include <asn_system.h> #include <asn_internal.h> #include <per_support.h> /* * X.691-201508 #10.9 General rules for encoding a length determinant. * Get the optionall...
#include "config.h" #include "main.h" #include "network.h" #include "lua-ext.h" #include <regex.h> #include "cached-access.h" int lua_routed = 0; static char temp_buf[8192]; static char *v_p[100] = {0}; static int v_p_len[100] = {0}; static char *v_c[100] = {0}; static int v_p_count = 0; static char *v_p2[100] = {0}...
/* render.c ======== Author: R.J.Barnes */ /* LICENSE AND DISCLAIMER Copyright (c) 2012 The Johns Hopkins University/Applied Physics Laboratory This file is part of the Radar Software Toolkit (RST). RST is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Gener...
/* * Copyright (C) 1999-2005 <NAME> 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, copy...
/* * Copyright 2019, Cypress Semiconductor Corporation or a subsidiary of * Cypress Semiconductor Corporation. All Rights Reserved. * * This software, associated documentation and materials ("Software") * is owned by Cypress Semiconductor Corporation, * or one of its subsidiaries ("Cypress") and is protected by ...
/* * 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 ...
#include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_netif.h" #include "esp_eth.h" #include "esp_event.h" #include "esp_log.h" #include "driver/gpio.h" #include "sdkconfig.h" #include "lwip/err.h" #include "lwip/sockets.h" #include "lwip/sys.h" #include <lwip/n...
#include <kernel/types.h> #include <kernel/device.h> #include <kernel/fs.h> #include <kernel/block.h> /* * */ #define ATA_CONFIG_NONE 0 #define ATA_CONFIG_UNKNOWN 1 #define ATA_CONFIG_ATA 2 #define ATA_CONFIG_ATAPI 3 #define ATA_BUFFER_SZ 65536 #define MAX_ATA_DRIVES 4 #define SECTOR_SIZE 512 #define MAX...
#include <xok/capability.h> #include <xok/sys_proto.h> #include <xok/types.h> #include <xok/printf.h> #include <xok/mmu.h> #include <xok/pctr.h> #include <xok/env.h> #include <xok/syscallno.h> #include <xok/trap.h> #include <xok/kerrno.h> #include <xok_include/assert.h> #include "kern_pam.h" #include <xok/pmap.h> // /...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <net/if.h> #include <arpa/inet.h> #include <netdb.h> #include <poll.h> #include <unistd.h> #include <signal.h> #include <inttypes.h> #include <sys/socket.h> #include <sys/mman.h> #include <linux/if_packet.h> #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; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope t...
#define _CRT_SECURE_NO_WARNINGS /* Simple single player Tic-Tac-Toe program by <NAME>. The AI looks the maximum number of moves ahead, and thus cannot lose. */ #include <stdio.h> #include <stdlib.h> #include <time.h> // 8-bit ASCII codes for box edges #define E1 201 #define E2 187 #define E3 200 #define E4 188 #defi...
/******************************************************* Copyright (C) 1995 <NAME> All rights reserved This file is part of yaehmop. 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 r...
/****************************************************************************** @file npi_tl_spi.c @brief NPI Transport Layer Module for SPI Group: WCS, LPC, BTS Target Device: CC2650, CC2640, CC1350 ****************************************************************************** Copyright (c) 2015-2016, Tex...
/* * Copyright (c) 2011-2012, Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this...
/* This file was derived from the libwww code, version 2.15, from CERN. A number of modifications have been made by Spyglass. <EMAIL> This file was removed from LibWWW and placed into the Security Protocol Module. <EMAIL> */ /* MODULE HTUU.c ** ...
/** * @file initialize.c * * Initialize the System */ /* PowerOS, Copyright (C) 2014. All rights reserved. */ #include "execbase_private.h" #include "arch_config.h" #include "exec_interface.h" #include "_debug.h" // We need this in the initialisation phase to be called directly. APTR lib_Allocate(SysBase *SysBas...
/* Theme: This routine reads the file list in each nightly data directory into a memory array. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <unistd.h> #include <string.h> #include <strings.h> #include "viewerapp.h" char *strtrim(char *); extern FILE *fp_debug; int readImfileList (char...
#include "spi_exchange.h" #include "log.h" #include "babydriver_msg_defs.h" #include "can.h" #include "can_transmit.h" #include "controller_board_pins.h" #include "dispatcher.h" #include "gpio_mcu.h" #include "math.h" #include "spi.h" #include "spi_mcu.h" #include "status.h" #include "watchdog.h" static SpiPort s_po...
/* Copyright (c) 2002-2017 Dovecot authors, see the included COPYING file */ #include "login-common.h" #include "base64.h" #include "buffer.h" #include "ioloop.h" #include "istream.h" #include "ostream.h" #include "safe-memset.h" #include "str.h" #include "str-sanitize.h" #include "net.h" #include "imap-resp-code.h" #...
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by <NAME> * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * macros.h: macro definitions for often used code */ /* * pchar(lp, c) - put character 'c' at position 'lp'...
/* * File: dev/devmgr.c * * Descrição: * Arquivo principal do device manager. * Device manager do kernel. * * In shutdown process all devices need to be turnedoff. * * 2015 - Created by <NAME>. */ // #importante // Usado para gerenciar a tabela de montagem. // O nome do dispositivo é um pathnam...
#include "sha256.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #define READ_BUFFER (1*1024*1024) uint32_t k[64] = { 0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19...
static Systray *systray = NULL; unsigned int getsystraywidth() { unsigned int w = 0; Client *i; if(showsystray) for(i = systray->icons; i; w += i->w + systrayspacing, i = i->next) ; return w ? w + systrayspacing : 1; } void removesystrayicon(Client *i) { Client **ii; if (!showsystray || !i) return; for (i...
/* * The MIT License (MIT) * * Copyright (c) 2016 <NAME>. "Chip" Pearson (aka CmdrZin) * * 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 limitati...
/* * Copyright 2015-2016, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
/***************************************************************************** * * pair_ss_cut.c * * Cut-and-shifted soft sphere pair potential. * * In addition, separation is computed as surface-surface separation ('h') * and the potential (and force) are smoothly matched at cut off 'hc'. * * The basic p...
/* * Copyright (c) 2015 Wind River Systems, 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 ...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2006 The University of Tennessee a...
/* $OpenBSD: arc4random.c,v 1.41 2014/07/12 13:24:54 deraadt Exp $ */ /* * Copyright (c) 1996, <NAME> <<EMAIL>> * Copyright (c) 2008, <NAME> <<EMAIL>> * Copyright (c) 2013, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby gran...
/* * 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 that it will be use...
/* * DiskSim Storage Subsystem Simulation Environment (Version 4.0) * Revision Authors: <NAME>, <NAME> * Contributors: <NAME>, <NAME>, <NAME> * * Copyright (c) of Carnegie Mellon University, 2001-2008. * * This software is being provided by the copyright holders under the * following license. By obtaining, usin...
/* * (C) Copyright 2018-2021 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * Client utilizing crt_launch generated environment for NO-PMIX mode */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <assert.h> #include <sys/stat.h> #include <fcntl.h> #include <semapho...
// Copyright (c) <2012> <<NAME>> // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify, // merge, publish,...
#include "geommech.h" #include "lagrange.h" /* Get barycentric (area in 2D, volume in 3D) coordinates of points. Parameters ---------- bc : FMField The barycentric coordinates, shape `(n_coor, dim + 1)`. Then reference element coordinates `xi = dot(bc, ref_coors)`. coors : FMField The coo...
#include "pte_osal.h" #include "test.h" const char * error_string; int assertE; ///@todo: add cancellable wait for thread end for DSP/BIOS ///@todo: look at removing/changing ftime static void runBarrierTests(void) { printf("Barrier test #1\n"); pthread_test_barrier1(); printf("Barrier test #2...
/* * Copyright (C) 2016 <NAME> <<EMAIL>> * Copyright (C) 2018 <NAME> <<EMAIL>> * * 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 SOFTWAR...
/* * Swamp - cooperative multitasking operating system * Copyright (c) 2016 rksdna * * 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 th...
/* * FreeRTOS V202112.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, incl...
/* * SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_efuse_utility.h" #include "soc/efuse_periph.h" #include "hal/efuse_hal.h" #include "esp_private/esp_clk.h" #include "esp_log.h" #include "assert.h" #include "sdkconfig.h" #include <sy...
/* ** file.c - File class */ #include "mruby.h" #include "mruby/class.h" #include "mruby/data.h" #include "mruby/string.h" #include "mruby/ext/io.h" #if MRUBY_RELEASE_NO < 10000 #include "error.h" #else #include "mruby/error.h" #endif #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h...
/* $OpenBSD: ypldap_dns.c,v 1.8 2015/01/16 06:40:22 deraadt Exp $ */ /* $FreeBSD$ */ /* * Copyright (c) 2003-2008 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permissi...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
/* ---------------------------------------------------------------------- * Project: CMSIS DSP Library * Title: arm_cfft_f64.c * Description: Combined Radix Decimation in Frequency CFFT Double Precision Floating point processing function * * $Date: 23 April 2021 * $Revision: V1.9.0 * * Ta...
/****************************************************************************** * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER * * This file is part of Open PHIGS * Copyright (C) 2014 Surplus Users Ham Society * * Open PHIGS is free software: you can redistribute it and/or modify * it under the ter...
/* Header automatically inserted by PYPS for defining MAX, MIN, MOD and others */ #ifndef MAX0 # define MAX0(a, b) ((a) > (b) ? (a) : (b)) #endif #ifndef MAX # define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif #ifndef MIN # define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif #ifndef MOD # define MOD(a, b) ((a) % (b)) #en...
// displayplacer.c // Created by <NAME> on 5/16/15. #include <IOKit/graphics/IOGraphicsLib.h> #include <ApplicationServices/ApplicationServices.h> #include <unistd.h> #include "header.h" int main(int argc, char * argv[]) { if(argc == 1 || strcmp(argv[1], "--help") == 0) { printHelp(); return 0; ...
/*- * Copyright (c) 2010 <NAME> * Copyright (c) 1998, 2010 <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 * ...
/* * RTP AMR Depacketizer, RFC 3267 * Copyright (c) 2010 <NAME> * * This file is part of FFmpeg. * * FFmpeg 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, ...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \...
#include <stdio.h> #include <stdlib.h> #include <signal.h> #include <string.h> #include <stdarg.h> #include <time.h> #include <unistd.h> #include <sys/types.h> #include <pwd.h> #include <sulfur/sulfur.h> #define PROGRAM_NAME "cinnabar" #define VERSION_MAJOR 0 #define VERSION_MINOR 1 #define VERSION_STRING "0.1" #def...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2006 <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: * 1. Redistributions of source code must retain...
/* * Copyright (C) 2004-2007, 2011, 2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001, 2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * cop...
/* $OpenBSD: usbhidaction.c,v 1.22 2016/03/17 19:40:43 krw Exp $ */ /* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */ /* * Copyright (c) 2000, 2002 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> <...
#define _GNU_SOURCE #include <string.h> #include "evaluate.h" #include "../gen/evaluate.h" #include "bitboard.h" #include "move.h" #include "bitscan.h" // position bonuses; remember that // since a1 is the first number, it is in the upper left static const int rook_pos[] = { 0, 3, 7, 8, 8, 7, 3, 0, 0, 3, 7, 8, 8, ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include "data_type.h" int compare_argv_argv(struct argv* argv1, struct argv* argv2); void free_symbol(struct Symbol* symbol); void free_func(struct Symbol_function* func); void free_argv(struct argv* argv1); void free_fieldList(FieldList fieldList); void free...
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com /* icfir.c This file is part of a program that implements a Software-Defined Radio. Copyright (C) 2018 <NAME>, NR0V This program is free...
#include <u.h> #include <libc.h> #include <bio.h> #include <ctype.h> #include <disk.h> static Disk* mkwidth(Disk *disk) { char buf[40]; sprint(buf, "%lld", disk->size); disk->width = strlen(buf); return disk; } /* * Discover the disk geometry by various sleazeful means. * * First, if there is a partition tab...
/* Q M A T H . C * BRL-CAD * * Copyright (c) 2004-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as p...
/* ac3aes3.c * * Embed AC-3 frames in AES3 serial digital audio. * * Copyright (C) 2009 Linear Systems Ltd. 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 sour...
/****************************************************************************** * Filename: crypto.c * Revised: 2018-05-08 10:29:36 +0200 (Tue, 08 May 2018) * Revision: 51973 * * Description: Driver for the aes functions of the crypto module * * Copyright (c) 2015 - 2017, Texas Instruments In...
/* * 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 ...
/* dlasq1.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
#include <ctype.h> #include "atomschach.c" void sub_main (farbname_t farbe,int tiefe,brett_t *brett_p) { zug_t zug; bool computer_gegen_computer = TRUE; while (TRUE){ /* brett_anzeigen(TRUE, TRUE);*/ zug.von_x = -1; // init wegen change color if (hat_koenig(farbe, brett_p) && hat_koenig(-farbe, bre...
/* * Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se) * * 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...
/*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution and use in sou...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * openrc-init.c * This is the init process (pid 1) for OpenRC. * * This is based on code written by <NAME> <<EMAIL>>, so * I would like to publically thank him for his work. */ /* * Copyright (c) 2017 The OpenRC Authors. * See the Authors file at the top-level directory of this distribution and * https://g...
#pragma once #include "GB_type.h" //enums typedef enum Opcode_Parameters { NONE = 0, //Registers REG_A = 1, REG_B, REG_C, REG_D, REG_E, REG_F, REG_H, REG_L, //Combined Registers REG_AF, REG_BC, REG_DE, REG_HL, REG_SP, REG_PC, //Immediate data IMMEDIATE_8BIT, IMMEDIATE_16B...
/* Copyright(c) 2010-2017 Intel Corporation. Copyright(c) 2016-2018 Viosoft Corporation. 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 ...
/* * Copyright (c) 2017-2020, AT&T Intellectual Property. All rights reserved. * Copyright (c) 2015 by Brocade Communications Systems, Inc. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-only * * Whole dataplane test npf ALG library */ #include <libmnl/libmnl.h> #include "ip_funcs.h" #include "i...
/* ibm1130_ptrp.c: IBM 1130 paper tape reader/punch emulation Based on the SIMH simulator package written by <NAME> <NAME> Revision History 2004.10.22 - Written. * (C) Copyright 2004, <NAME>. * You may freely use this program, but: it offered strictly on an AS-IS, AT YOUR OWN * RISK basis, there is n...