text
stringlengths
5.8k
28.2k
/*- * Copyright (c) 2015, 2016 Spectra Logic 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: * 1. Redistributions of source code must retain the above copyright * notice, ...
/* swat.c */ /* ------------------------------------------------------------------- * miRanda- An miRNA target scanner, aims to predict mRNA targets for microRNAs, * using dynamic-programming alignment and thermodynamics * * Copyright (C) (2003) Memorial Sloan-Kettering Cancer Center, New York * * Distributed und...
/* * Copyright (c) 2011-2018, <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 conditi...
#include "chartScreen.h" #include <stdio.h> #define CHART_POINT_NUM 120 #define CHARTS_QTY 5 static lv_obj_t *mainScreen; static lv_obj_t *_prevScreen; /*chart selector*/ lv_obj_t * ddlist; static lv_obj_t * chart_CO2; static lv_obj_t * chart_eCO2; static lv_obj_t * chart_TVOC; static lv_obj_t * chart_PM25; sta...
/* $Id: sun3-control.c,v 1.3 2009/08/30 14:20:59 fredette Exp $ */ /* machine/sun3/sun3-control.c - implementation of Sun 3 emulation control space: */ /* * Copyright (c) 2003, 2004 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
/* V I E W R A D . C * BRL-CAD * * Copyright (c) 1985-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This program 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...
const int dbg = 0; #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #define MAX_SEGS 20 #define MAX_CHKS 5 typedef struct { char name[17]; long fileofs; unsigned base; unsigned limit; int nameidx; int segidx; } seg_t; typedef enum { CHKS_SUM8 } checksumtype; typ...
/* server.c - Network blast tool - Public Domain - 2013 <NAME> / Rampant Pixels * * This library provides a network abstraction built on foundation streams. The latest source code is * always available at * * https://github.com/rampantpixels/network_lib * * This library is put in the public domain; you can...
/* * STM32 HID Bootloader - USB HID bootloader for STM32F10X * Copyright (c) 2018 <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 3 of the License, or * (at you...
/* * ws2812.c * * Created on: September 21, 2020 * Author: <NAME> * Github: https://github.com/Crazy-Geeks/STM32-WS2812B-DMA * License: MIT * (c) #Crazy_Geeks */ #include "ws2812.h" // include header file //---------------------------------------------------------------------------- extern TIM_Handl...
/********************************************************************* * Copyright (C) 2015, International Business Machines Corporation * All Rights Reserved ********************************************************************/ #include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include ...
#include <stdlib.h> #include "vk_descriptors.h" #include "vk_render.h" #include "vk_image.h" #include "utils.h" VkRenderPass create_render_pass(VkDevice logical_device, VkFormat depth_format, struct swapchain_info state) { VkRenderPass render_pass; VkResult result; VkAttachmentDescription color_attachment = { ....
/* This file is part of libmicrohttpd Copyright (C) 2014-2016 Karlson2k (<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...
/* * usb_pd_driver.c * * Created: 11/11/2017 23:55:12 * Author: jason */ #include "usb_pd_driver.h" #include "usb_pd.h" #include "ugui.h" #ifndef ARRAY_SIZE #define ARRAY_SIZE(t) (sizeof(t) / sizeof(t[0])) #endif extern struct tc_module tc_instance; extern uint32_t g_us_timestamp_upper_32bit; extern uint8_t d...
#include "virtual_alloc.h" BYTE* find_state_of_ptr(BYTE* ptr_allocator,void* ptr_block, void* ptr){ int is_find = 0; while (!(*ptr_allocator == 0 && *(ptr_allocator + 1) == 0)) { if (ptr_block == ptr){ is_find = 1; break; } int size_of_block = *(ptr_allocato...
/* 4 LCD Status */ #define DISPSTAT 0x004 #define DISPSTAT__V_BLANK_INT_ENABLE (1 << 3) #define DISPSTAT__H_BLANK_INT_ENABLE (1 << 4) #define DISPSTAT__V_COUNT_INT_ENABLE (1 << 5) #define VCOUNT 0x006 /* 5 Image System */ #define DISPCNT 0x000 #define DISPCNT__WINDOW_1 (1 << 14) #define DISPCNT__WINDOW_0 (1 << 13) #de...
/** *************************************************************************** * @file processNovAtelGPS.c interface NovAtel OEM4 GPS receiver. * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF M...
#define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 #include <zlib.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <libgen.h> #include <string.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/mman.h> #include <sys/ty...
/***** spin: sym.c *****/ /* * This file is part of the public release of Spin. It is subject to the * terms in the LICENSE file that is included in this source directory. * Tool documentation is available at http://spinroot.com */ #include "spin.h" #include "y.tab.h" extern Symbol *Fname, *owner; extern int lin...
//------------------------------------------------------------------------------ // Sajat UART kezelo driver. A MySercom driverre epul. // // File: MyUart.c //------------------------------------------------------------------------------ #include "MyUart.h" #include <string.h> #include "MyAtomic.h" static void My...
/** * This file is part of maemo-examples package * * Copyright (c) 2007-2008 Nokia Corporation. All rights reserved. * Copyright (c) 2006 INdT. * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * * This maemo code example is licensed under a MIT-style license, * that can be ...
#include <sc_reduce.h> #include <pXest.h> #include <d4est_util.h> #include <d4est_linalg.h> #include <problem.h> #include <d4est_elliptic_data.h> #include <d4est_elliptic_eqns.h> #include <d4est_estimator_bi.h> #include <d4est_solver_cg.h> #include <d4est_solver_fcg.h> #include <d4est_amr.h> #include <d4est_amr_smooth_...
/*********************************************************************** * * * $Id: hpgsimagerop.c 372 2007-01-14 18:16:03Z softadm $ * * * hpgs - HPGl Script, a hpgl/2 interpreter...
/*---------------------------------------------------------------------------* | PDFlib - A library for generating PDF on the fly | +---------------------------------------------------------------------------+ | Copyright (c) 1997-2004 <NAME> and PDFlib GmbH. All rights reserved. | +-------...
/* * Some of the code in this file was copied from ST Micro. Below is their required information. * * @attention * * <h2><center>&copy; COPYRIGHT(c) 2018 STMicroelectronics</center></h2> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
#include <stdint.h> #include <rtosc/arg-val-cmp.h> #include "common.h" enum { gt, lt, eq }; rtosc_arg_val_t l[3], r[3]; // left, right const int tc_len = 1024; char tc_full[1024]; // descr. for full testcase name /* helper functions */ void cmp_1(int exp, rtosc_arg_val_t* lhs, rtosc_arg_v...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* command-line tool to convert PIC16F1454 Intel Hex to DFU binary Copyright (C) 2015 <NAME> This was written to generate binaries to use with this bootloader: https://github.com/majbthrd/PIC16F1-USB-DFU-Bootloader Permission is hereby granted, free of charge, to any person obtaining a co...
/*----------------------------------------------------------------- Copyright (C) 2005 - 2010 Michael "Chishm" Chisholm Dave "WinterMute" Murphy 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...
#include <stdio.h> #include <windows.h> #include <string.h> #include <stdbool.h> #include <stdlib.h> #include <math.h> #define assert(x) if (!x) exit(EXIT_FAILURE); #define OUT_DIST 20 #define ASTEROID_SPW 100 #define PLAYER_VEL 100 #define BULLET_VEL 370 #define ASTEROID_THR 100 typedef struct { float x, y; } float...
// Stub to call mach-o plugin for better project builder debugging. // By <NAME> 2003. (<EMAIL>) // Released under the Squeak-L license // http://www.squeak.org/download/license.html // V1.0 January 2003. // V 1.1 Sept 2003 Add looking in user/local/network/system domains #include "npapi.h" #include "npupp.h" #defi...
#include "erf.h" #include <math.h> #define GET_HIGH_WORD_(i, d) \ do { \ ieee_double_shape_type gh_u; \ gh_u.value = (d); \ (i) = gh_u.parts.msw; \ } while (0) #define SET_LOW_WORD_(d, v) \ do { \ ieee_double_shape_type sl_u; \ sl_u.value = (d); \ sl_u.parts.lsw = (v); \ (d) = sl_u.value; \ } while (0) ...
/* $OpenBSD: xbridgereg.h,v 1.13 2011/04/05 01:17:41 miod Exp $ */ /* * Copyright (c) 2008, 2009 <NAME>. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all co...
/************************************************************************** *** COPYRIGHT (c) 2002 by TransNexus, Inc. *** *** *** *** This software is property of TransNexus, Inc. *** *** This softwar...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #define MAXN 1000 #define MAXMEM 1000 #define FILE_BUFFER_SIZE 1000 #define INSTRUCTION_LOCATION "../ins.txt" #define OPCODE_MASK 0x0000003F #define FUNC_MASK 0x0000003F #define IMM_MASK 0x0000FFFF #define SHAMT_MASK 0x0000003F #define REG...
// SPDX-License-Identifier: BSD-3-Clause // // Copyright(c) 2021 Mediatek // // Author: <NAME> <<EMAIL>> // <NAME> <<EMAIL>> #include <sof/common.h> #include <sof/lib/io.h> #include <sof/lib/alloc.h> #include <ipc/stream.h> #include <ipc/topology.h> #include <sof/lib/uuid.h> #include <errno.h> #include <sof/dr...
/** * @author <NAME> (<EMAIL>) * @license The MIT License (MIT) * * Copyright (c) 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 withou...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" uint64_t t0 = 254LLU; uint16_t x78 = 7281U; uint32_t t1 = 57167U; volatile int64_t x131 = 1LL; int64_t x132 = ...
/******************************************************************************* * Description : implementation of simple delay routines *******************************************************************************/ /******************************************************************************* * ...
/** * FreeRDP: A Remote Desktop Protocol Client * DirectFB Client * * Copyright 2011 <NAME> <<EMAIL>> * Copyright 2014 Killer{R} <<EMAIL>> * * 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 Licens...
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <assert.h> #include <sys/stat.h> typedef struct stat __st; #define stat xv6_stat // avoid clash with host struct stat #include "types.h" #include "fs.h" #include "stat.h" #include "param.h" //#define static_ass...
/* $NetBSD: rtld.c,v 1.5 1997/10/08 08:55:37 mrg Exp $ */ /* * Copyright 1996 <NAME>. * Copyright 1996 <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. Redistributi...
#include <stdio.h> #include <stdlib.h> // exit #include <string.h> // memset #include <errno.h> // errno in realpath #include <fcntl.h> // open #include <sys/param.h> // MAXPATHLEN #include <sys/types.h> // getaddrinfo #include <sys/socket.h> // getaddrinfo #include <netdb.h> // getaddrinfo #in...
// // ffplayer_decoder.c // ffmpegDemo // // Created by 天明 on 2017/11/30. // Copyright © 2017年 天明. All rights reserved. // #include "ffplayer_decoder.h" #include <unistd.h> static VideoState *global_video_state; void packet_queue_init(PacketQueue *q) { memset(q, 0, sizeof(PacketQueue)); q->mutex = SDL_Cr...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "io.h" #include "../port/error.h" #define Image IMAGE #include <draw.h> #include <memdraw.h> #include <cursor.h> #include "screen.h" enum { PCIS3 = 0x5333, /* PCI VID */ SAVAGE3D = 0x8A20, /* PCI DID */ SAVAGE3DM...
/*------------------------------------------------------------------------- * * libpq_source.c * Functions for fetching files from a remote server via libpq. * * Copyright (c) 2013-2020, PostgreSQL Global Development Group * *------------------------------------------------------------------------- */ #includ...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * sqrtm.c * * Code generation for function 'sqrtm' * */ /* Include files */ #include "rt_nonfinite.h" #inclu...
/* * Copyright (c), NXP Semiconductors Bangalore / India * * (C)NXP Semiconductors * All rights are reserved. Reproduction in whole or in part is * prohibited without the written consent of the copyright owner. * NXP reserves the right to make changes without notice at any time. ...
#include "gcnorm.h" int norm_until_converges (enum WINDOWTYPE wt, float *gclookup, float *gclookup_x){ float max; float max_x; float min; float min_x; float p_max; float p_max_x; float p_min; float p_min_x; int i, j; float mean = 0.0; float mean_x = 0.0; float stdev = 0.0; float stdev...
/* * Copyright (c) 2011-2013 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
/* * Interface to display - logical level. * * RED editor for OS DEMOS * <NAME>, Moscow, KIAE, 1984 */ #include "r.defs.h" /* * Draw lines from lo to lf. * In case lo is negative: * - draw only line lf; * - use cline as a source; * - draw only from column -lo. */ void drawlines(lo, lf) int lo, lf; { ...
#include <windows.h> #include <dbghelp.h> #include <stdio.h> #include <time.h> #include <io.h> #undef IMAGE_ORDINAL_FLAG #include "getopt.h" #include "rdp.h" #include <pdir.h> #include <tss.h> #include <syspage.h> #include <pe.h> #define MAX_THREADS 1024 #define MAX_MODULES 1024 #define DIR_SYSINFO 0 #define D...
/*- * Copyright (c) 2017 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* Copyright (c) 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 conditions and the following disclaim...
#include <stdio.h> #include <math.h> #include <string.h> /* R Header Files */ #include <R.h> #include <Rinternals.h> #include <R_ext/Print.h> /* Sundials Header Files */ #include "include/cvodes/cvodes.h" /* prototypes for CVODES fcts. and consts. */ #include "include/cvodes/cvodes_dense.h" /* protot...
/* * TTY-CLOCK Main file. * Copyright © 2009-2018 tty-stopwatch contributors * Copyright © 2008 <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 * ...
//----------------------------------------------------------------------------- // Experiments with the Maxim DS18B20 temperature sensor // // Copyright : <NAME> <<EMAIL>> // Website : w8bh.net // Version : 1.0 // Target : ATTmega328P microcontroller // Language : C, using AVR studio 6 // Size : 1340 bytes, usi...
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <ctype.h> #include <math.h> #include "sam.h" #include "kstring.h" #define QUAL_THRES 20 void *bed_read(const char *fn); int bed_overlap(const void *_h, const char *chr, int beg, int end); static void print_pas...
/* This file was generated by getpir.c, do not modify! (but if you do, please run checkpir on it to verify) Contains the IRQ Routing Table dumped directly from your memory , wich BIOS sets up Documentation at : http://www.microsoft.com/hwdev/busbios/PCIIRQ.HTM */ #include <console/console.h> #include <device/...
#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...
/************************************************************************/ /* Simple perceptron/averaged perceptron library */ /* Author: <NAME> (<EMAIL>) */ /* Copyright 2014 <NAME> */ /* ...
/* Server Fun Tools by <NAME> <<EMAIL>> * * Top Gun + Moving Planets + Send Funny Messages */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include <signal.h> #include <sys/file.h> #include <math.h> #include <sys/ipc.h> #include <sys/sh...
// 0x0702EC3C - 0x0702ECC0 const Trajectory rr_seg7_trajectory_0702EC3C[] = { TRAJECTORY_POS(0, /*pos*/ 4500, -1820, 2050), TRAJECTORY_POS(1, /*pos*/ 5250, -1840, 2050), TRAJECTORY_POS(2, /*pos*/ 5860, -1430, 2070), TRAJECTORY_POS(3, /*pos*/ 6260, -1430, 2070), TRAJECTORY_POS(4, /*pos*/ 697...
/************************************************************************************************** * Procedure: Init boot code/firmware code/data session * * Description: This routine will initialize firmware. If any error occurs during the initialization * process, the routine shall terminate immediately and...
/* * Westwood Studios Multimedia Formats Demuxer (VQA, AUD) * Copyright (c) 2003 The ffmpeg Project * * 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; ei...
/**************************************************************************** * Driver for Solarflare network controllers and boards * Copyright 2007-2011 Solarflare Communications Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License v...
/* * This file and its contents are licensed under the Apache License 2.0. * Please see the included NOTICE for copyright information and * LICENSE-APACHE for a copy of the license. */ #include <postgres.h> #include <utils/builtins.h> #include <postmaster/bgworker.h> #include <access/xact.h> #include <pgstat.h> #in...
#include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include "defines.h" #include "gamesounds.h" #include "input.h" #include "objectcontrol.h" #include "objects.h" #include "packs.h" #include "random.h" #include "roads.h" #include "screen.h" #include "sprites.h" #include "textfx.h" #include "trig.h" #include ...
/************************************************************************************** * * This program implements the ECIES public key encryption scheme based on the * NIST B163 elliptic curve and the XTEA block cipher. The code was written * as an accompaniment for an article published in phrack #63 and is rele...
/* 'ln' program to create links between files. Copyright (C) 1986-2015 Free Software Foundation, 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 3 of the License, or ...
/** <!-- * * Copyright (C) 2014 OpenVCX <EMAIL> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * ...
/******************************************************************** * BenchIT - Performance Measurement for Scientific Applications * Contact: <EMAIL> * * $Id: kernel_main.c 1 2009-09-11 12:26:19Z william $ * $URL: svn+ssh://<EMAIL>@<EMAIL>-d<EMAIL>.de/svn-base/benchit-root/BenchITv6/kernel/communication/reducti...
/* * ESPRESSIF MIT License * * Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to dea...
#include "lws_proto_parser.h" #include <string.h> #include <time.h> #include <sodium.h> #include <openssl/hmac.h> #include "sharedkey.h" typedef struct _Transaction { uint16_t version; uint16_t type; uint32_t timestamp; uint32_t lock_until; unsigned char hash_anchor[32]; uint8_t size0; un...
#define _GNU_SOURCE 1 #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <getopt.h> #include <string.h> /* pull in things like ULLONG_MAX */ #include <limits.h> #include "mpi.h" #include "scr.h" #include "test_common....
/* * Copyright © 2015 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...
/* ======================================== * * Copyright (c) 2014, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copy...
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * main.c --- PX4 sensor test using SMACCM HW library. * * Copyright (C) 2012, Galois, Inc. * All Rights Reserved. * * This software is released under the "BSD3" license. Read the file * "LICENSE" for more information. * * Written by <NAME> <<E...
/* proc_log_keyvalue_parse.c -- parse logs with key=value pairs Copyright 2019 <NAME> THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF YOU MAY OBTAIN A COPY OF THE LICENSE AT https://www.apache.org/licenses/LICENSE-2.0. THIS SOFTWARE IS LICENSED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS ...
/* * joymouse.c * * Test the two standard 9-pin general-purpose controller ports. * Supports three-button mouse, two-button joystick, and seven-button gamepad. * * Written & released by <NAME> <<EMAIL>> * * This is free and unencumbered software released into the public domain. * See the file COPYING for ...
/******************************** Copyright 2008, 2009 Google 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 ...
/* seckey-cert.c - secret key certificate packet handling * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Fre...
#include "TESTS/minimum-definitions.h" #include "test_c/lib/buffer/lexatoms/LexatomLoader.i" #include "test_c/lib/buffer/bytes/ByteLoader_Memory" #include "test_c/lib/buffer/bytes/ByteLoader_Memory.i" #include "test_c/lib/buffer/Buffer_print.i" #include "test_c/lib/buffer/Buffer.i" #include "test_c/lib/quex/MemoryManag...
// CBSD Project 2017-2018 // CBSD Team <<EMAIL>> // 0.2 #include <sys/param.h> #include <sys/jail.h> #include <jail.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/rctl.h> #include <sys/sysctl.h> #include <assert.h> #include <ctype.h> #include <er...
/* * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_log.h" #include "nvs_flash.h" /* BLE */ #include "esp_nimble_hci.h" #include "nimble/nimble_port.h" #include "nimble/nimble_port_freertos.h" #include "host/ble_hs.h" #include "host/util/ut...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "../test-lib.h" #include "test-abi.h" int verbose; int passes; int failures; struct sffff gsffff; // No test is present for a redeclared symbol with default extern and later extern, but this must compile without errors. void redeclared_extern(int s...
// Copyright (c) 2018-2019 <NAME> #include <math.h> #include "./types.h" #include "./tokenlist.h" #include "./langallocator.h" #include "./error.h" #define TMP_STR_MAX 1<<16 bool_t cmp_str(const char* start, const char* end, const char* cmp) { int i; for(i = 0; i < end-start; i++) { if(cmp[i] == '\...
/* Copyright (c) 2009-2020 <NAME> <<EMAIL>> All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at https://www.eclipse....
/*------------------------------------------------------------------------- * * postinit.c * postgres initialization utilities * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $PostgreSQL...
/* * Copyright (c) 2014 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
#include "scalarmult.h" #include "stdio.h" extern void karatsuba226_255(unsigned int *, const unsigned int *, const unsigned int *); extern void square226(unsigned int *, const unsigned int *); extern void mainloop226_asm(unsigned int *, const unsigned int *); // addition of a and b // possibl...
/* * FILE: transmit.c * AUTHOR: <NAME> <<EMAIL>> * <NAME> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright (c)...
/* * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in...
#include "vcr.h" #include "vcrPrivate.h" /* You may define here new functions or #define to be used in this file. Function declarations here must begin with "static". */ // v.v.v.v.v.v.v.v.v.v.v.v.v.v.v begin student code static real lerp(real omin, real omax, real imin, real xx, real imax) { real alpha = (xx-i...
/* * Part of Hashcash Milter version 0.1.3 from <http://althenia.net/hashcash>. * * Copyright 2010 <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the ab...
/* Definitions of target machine for GNU compiler, for 64 bit powerpc linux. Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC 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 Sof...
/* f2c.h -- Standard Fortran to C header file */ /** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed." - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */ #ifndef F2C_INCLUDE #define F2C_INCLUDE #ifdef _WIN32 #include <io.h> /* for real isatty() */ /* * Ne...
/* System headers */ #include <stdio.h> #include <libgen.h> /* Project headers */ #include "roptions.h" #include "sargv.h" #include "rctype.h" #include "plugins.h" #include "rht-test.h" #include "rbattle.h" /* Program name/version */ #define _NAME_ "At the end there is only one" #define _VERSION_ "0.1.0" #d...
/* kalign2.h Released under GPL - see the 'COPYING' file Copyright (C) 2006 <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 of the License, or any lat...
/* app_util.c: utility functions for applications */ /* if ALLNET_USE_FORK, use a UDP socket to send and receive messages * to/from ad. Otherwise, use set_next_local_message to send packets, * and ad will call receiveAdPacket (must be defined in the UI code) * to deliver packets. */ #include <stdio.h> #include <s...