text
stringlengths
7.55k
41.9k
#include "php_tarantool.h" #include "tarantool_tp.h" #include "tarantool_proto.h" #include "tarantool_msgpack.h" #include "third_party/msgpuck.h" static size_t php_tp_sizeof_header(uint32_t request, uint32_t sync) { return php_mp_sizeof_hash(2) + php_mp_sizeof_long(TNT_CODE) + php_mp_sizeof_l...
#include "ME_common.h" #include "ME_RLI_IR.h" #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <netdb.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/time.h> #include <stdbo...
/* * Copyright (c) 2014 Jonas '<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 copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
#include "postgres.h" #include "funcapi.h" #include "libpq-fe.h" #include "miscadmin.h" #include "pgstat.h" #include "access/htup_details.h" #include "access/relscan.h" #include "access/xact.h" #include "catalog/catversion.h" #include "catalog/dependency.h" #include "catalog/index.h" #include "catalog/namespace.h" #...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <float.h> #define NUM_CLASSES 2 #define MAXDISTANCE DBL_MAX #define sqr(x) ((x) * (x)) void parallel_0(float knownFeatures[250][64], float xFeatures[64], float distance_array[250]) { // Step 2: Initialize local variables flo...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <stdint.h> #include <stdlib.h> #include <string.h> #include <cpuid/cache.h> #include <cpuid/cpuid.h> #...
#include <stdio.h> #include "util.h" #include "vpr_types.h" #include "globals.h" #include "net_delay.h" /***************** Types and defines local to this module ********************/ struct s_linked_rc_edge { struct s_rc_node *child; short iswitch; struct s_linked_rc_edge *next; }; typedef struct s_linked_rc_edg...
/* * Copyright 2013, Regents of the University of Minnesota * * comm.c * * Various functions for dealing with communicators. * * Started 4/4/2013 * George * */ #include "bdmprun.h" /*************************************************************************/ /*! Setup the communicator information and create...
/* * nghttp2 - HTTP/2.0 C Library * * 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...
/* 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" volatile int32_t x95 = -1; uint64_t t3 = 36277LLU; static uint32_t x697 = 52824103U; uint32_t x698 = UINT32_MA...
/* * Copyright (C) 2016 Etnaviv Project. * Distributed under the MIT software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. */ #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "viv_compat.h" #include "xf86drm.h" #include ...
// Copied from https://github.com/kalven/sha-2 and converted to // the arcane language known only as "C" // Adapted from LibTomCrypt. This code is Public Domain #include "sha.h" #include <string.h> typedef uint32_t u32; typedef uint64_t u64; static u32 min32(u32 x, u32 y) { return x < y ? x : y; } static u32 lo...
typedef float ai_real; typedef signed int ai_int; typedef unsigned int ai_uint; struct aiVector3D { ai_real x, y, z; }; struct aiVector2D { ai_real x, y; }; struct aiColor4D { ai_real r, g, b, a; }; struct aiMatrix3x3 { ai_real a1, a2, a3; ai_real b1, b2, b3; ai_real...
/* * Copyright (c) 2012 <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, or (at your option) any later vers...
/* GStreamer * Copyright (C) <2008> <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <time.h> #include <unistd.h> #include <errno.h> #include <signal.h> #include <pthread.h> #include <syslog.h> #include <hiredis/hiredis.h> #include <json/json.h> #include <libpq-fe.h> #define HOSTNAME_LEN 65 #define KEY_LEN 255 ...
/* Copyright (c) 2013 Insollo Entertainment, LLC. 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 ri...
/*------------------------------------------------------------------------- * * pruneheap.c * heap page pruning and HOT-chain management code * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION ...
/*++ Copyright (c) 1996 Microsoft Corporation Module Name: lookmon.c Abstract: This module contains the NT/Win32 Lookaside List Monitor Author: <NAME> (davec) 8-Jun-1996 Revision History: --*/ #include "perfmtrp.h" #include <search.h> #include <malloc.h> #include <limits.h>...
#include "util/input.h" #include "../graphics.h" #include "../defs.h" #include "util/menus.h" #include "../dr.h" #include "../asset/bpaUtil.h" #include <SDL_stdinc.h> #include "licenseScreen.h" #include "../imageUtil.h" #include "../drivers.h" #include "../config.h" #include "../cars.h" #include "util/popup.h" #include...
/* * Copyright (C) 2015-2021 S[&]T, The Netherlands. * 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...
#include "bbc.h" #include "config.h" #include "cpu_driver.h" #include "keyboard.h" #include "log.h" #include "os_channel.h" #include "os_poller.h" #include "os_sound.h" #include "os_terminal.h" #include "os_window.h" #include "render.h" #include "serial.h" #include "sound.h" #include "state.h" #include "test.h" #includ...
/* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */ #pragma once #define ENABLE_DEBUG #define DEBUG_PORT Serial #define DEBUG_BAUD 115200 #define DEFAULT_ESP8266 // #define NODEMCU // #define WEMOS_D1_MINI // #define DISPLAY_EXAMPLE_I2C // #define DISPLAY_EXAMPLE...
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. 2015 <NAME> 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...
/* * ws protocol handler plugin for "lws-minimal" * * Written in 2010-2019 by <NAME> <<EMAIL>> * * This file is made available under the Creative Commons CC0 1.0 * Universal Public Domain Dedication. * * This version holds a single message at a time, which may be lost if a new * message comes. See the minimal...
/* fpcurf.f -- translated by f2c (version 20190311). 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...
/* * Copyright (c) 1999 <NAME> * * Copyright (c) 1992, 1995 <NAME> and <NAME>. * * Copyright (c) 1992, 1994 <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. Redistribut...
/* -*- mode: c; c-basic-offset: 4; -*- * * main9.c - Main ARM9 source file for the Wifi EZ4 Loader * * Copyright (C) 2006 <NAME> <<EMAIL>> * * 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 Sof...
// Copyright (C) 2016 Google Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distribut...
/* ATIDAQ F/T C Library * v1.0.2 * Copyright (c) 2001 ATI Industrial Automation * * The MIT License * * 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 w...
// ------------------------------------------------------------------ // sam_bam.c // Copyright (C) 2020-2022 Black Paw Ventures Limited // Please see terms and conditions in the file LICENSE.txt #include "genozip.h" #include "profiler.h" #include "digest.h" #include "buffer.h" #include "vblock.h" #include "txtf...
/* * nsplitd.c * --------- * * $Id: nsplitd.c,v 2.6 1998/09/17 14:28:37 sde1000 Exp $ * * Copyright (c) 1995, University of Cambridge Computer Laboratory, * Copyright (c) 1995, <NAME>, All Rights Reserved. * * * A complete re-implementation of DME's nsplitd for use from inetd * */ /* The basic stream comes...
/* * midifile 1.11 * * Read and write a MIDI file. Externally-assigned function pointers are * called upon recognizing things in the file. * * Original release ? * June 1989 - Added writing capability, <NAME>. * * The file format implemented here is called * Standard MIDI Files, and is pa...
/* Copyright Statement: * * (C) 2005-2016 MediaTek Inc. All rights reserved. * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens...
/* ITU-T G.729 Software Package Release 2 (November 2006) */ /* ITU-T G.729A Speech Coder with Annex B ANSI-C Source Code Version 1.3 Last modified: August 1997 Copyright (c) 1996, AT&T, France Telecom, NTT, Universite de Sherbrooke, Lucent Technologies, Rockwell International All rights ...
/* * Copyright 2014 Google Inc. 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 * * Unless required by applica...
#include <gsl/gsl_matrix.h> #include <gsl/gsl_vector_double.h> #include <gsl/gsl_vector.h> #include "cimple_mpc_computation.h" /** * Set up weight matrices for the quadratic problem */ polytope * set_cost_function(gsl_matrix *P, gsl_vector *q, gsl_matrix *L, ...
/* XPM */ static const char *const xpm_icon_0[] = { /* columns rows colors chars-per-pixel */ "16 16 156 2", " c black", ". c #010101", "X c #020201", "o c #020202", "O c gray1", "+ c #040404", "@ c #060606", "# c #070707", "$ c gray3", "% c #090909", "& c #1A1919", "* c #1D1D1C", "= c #212020", "- c #23...
/* * Option encoding routines for libppd. * * Copyright © 2007-2019 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products. * * Licensed under Apache License v2.0. See the file "LICENSE" for more * information. */ /* * Include necessary headers... */ #include "ipp-private.h" #include "debug-intern...
#include "spn.h" void SCN_construct(SCN *self, int p, int d) { self->p = p; self->d = d; self->Pa_h_A = (DCOMPLEX*)malloc(sizeof(DCOMPLEX)*2*d); if( self->Pa_h_A == NULL){ printf("MEM_ERROR\n"); } self->Pa_omega = (DCOMPLEX*)malloc(sizeof(DCOMPLEX)*2*d); if( self->Pa_omega == NULL){ printf("M...
#include "lcd_ili93xx_driver.h" #include "stdbool.h" #include "stdlib.h" #define ILI93XX_LCD_WIDTH 240 #define ILI93XX_LCD_HEIGTH 320 /* LCD models */ #define ILI93XX_LCD_MODEL_ILI9320 0 /* 0x9320 */ #define ILI93XX_LCD_MODEL_ILI9325 1 /* 0x9325 */ #define ILI93XX_LCD_MODEL_ILI9328 2 /* 0x9328 */ #define I...
/* FindMinimum.c find minimum (maximum) of hyperrectangular region this file is part of Divonne last modified 7 Mar 05 th */ #define EPS 0x1p-52 #define RTEPS 0x1p-26 #define QEPS 0x1p-13 #define DELTA 0x1p-16 #define RTDELTA 0x1p-8 #define QDELTA 0x1p-4 /* #define DELTA 1e-5 #define RTDELTA 3.16227766016837...
/* * sad_ike_initiator_st.c * * Copyright: * Copyright (c) 2002-2005 SFNT Finland Oy. * All rights reserved. * * Quick-Mode initiator. * */ #include "sshincludes.h" #include "quicksecpm_internal.h" #define SSH_DEBUG_MODULE "SshPmStQmInitiator" /************************** Static help functions **...
/* * MIT/X Consortium License * * © 2013 <NAME> <kuba.klinkovsky at gmail dot com> * © 2010-2011 <NAME> * © 2006-2008 <NAME> <garbeam at gmail dot com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to d...
/* * Copyright (c) 2016-2018, MIPS Tech, LLC and/or its affiliated group companies * (“MIPS”). * 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 re...
/* Tabular (parsable) output of pipeline results. */ #include "p7_config.h" #include <stdio.h> #include <string.h> #include "easel.h" #include "base/p7_tophits.h" #include "search/p7_pipeline.h" /* Function: p7_tophits_TabularTargets() * Synopsis: Output parsable table of per-sequence hits. * * Purpose: Out...
#include "opaque_join.h" #include "Enclave_t.h" #include "Enclave.h" #include "oblidb/definitions.h" #include "enclave_data_structures.h" #include <sgx_trts.h> //for keeping track of structures, should reflect the structures held by the untrusted app; extern int oblivStructureSizes[NUM_STRUCTURES]; //actual size, not...
/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * lib/gssapi/krb5/k5unsealiov.c * * Copyright 2008 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 th...
/* $OpenBSD: sha2.c,v 1.6 2004/05/03 02:57:36 millert Exp $ */ /* * FILE: sha2.c * AUTHOR: <NAME> <<EMAIL>> * * Copyright (c) 2000-2001, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ...
/* magick/magick_config.h. Generated from magick_config.h.in by configure. */ /* magick/magick_config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* Define if coders and filters are to be built as modules. */ ...
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_KbdMap.c,v 1.5 2006/04/19 13:02:38 dawes Exp $ */ /* * Slightly modified xf86KbdLnx.c which is * * Copyright 1990,91 by <NAME>, Dinkelscherben, Germany. */ #include <X11/X.h> #include <X11/Xmd.h> #include "input.h" #include "scrnintstr.h" #include ...
// Memcached fake, benchmarking server. #include "connections.h" #include "fsm.h" #include "items.h" #include "protocol.h" #include "server.h" #include "settings.h" #include "threads.h" #include <assert.h> #include <errno.h> #include <event.h> #include <fcntl.h> #include <netinet/tcp.h> #include <pthread.h> #include <...
/********************************************************************* * Filename: des.c * Author: <NAME> (brad AT radconte.com) * Copyright: * Disclaimer: This code is presented "as is" without any guarantees. * Details: Implementation of the DES encryption algorithm. Modes of operation (such as...
/* * main.c - Example project for UT.6.02x Embedded Systems - Shape the World * <NAME> and <NAME> * June 21, 2019 * Hardware requirements MSP432 LaunchPad, switches, LEDs, debugging output to PC (UART) CC3100 wifi booster and an internet access point with OPEN, WPA, or WEP security TI CC3100 sim...
/* bson.c */ /* Copyright 2009, 2010 10gen 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 b...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <fcntl.h> #include <unistd.h> #include <stropts.h> #include <sys/mman.h> #include <linux/i2c-dev.h> #include "font.inc" typedef uint8_t u8; typedef uint32_t u32; typedef uint64_t u64; #define nil NULL // from...
/* PDCurses */ #include "pdcx11.h" #include <xpm.h> #include <stdlib.h> #include <string.h> /* Default icons for XCurses applications. */ #include "../common/icon64.xpm" #include "../common/icon32.xpm" #ifdef PDC_WIDE # define DEFNFONT "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1" # define DEFIFON...
/** * @file feedback.c * */ #include <stdio.h> #include <math.h> #include <rc/math/filter.h> #include <rc/math/kalman.h> #include <rc/math/quaternion.h> #include <rc/math/other.h> #include <rc/start_stop.h> #include <rc/led.h> #include <rc/mpu.h> #include <rc/servo.h> #include <rc/time.h> #include <feedback.h> #in...
/* * ili9341.c * * Created on: Jun 01, 2020 * Author: <NAME> */ #include "ili9341.h" //Sinus uint16_t sinus[] = {0, 4, 8, 13, 17, 22, 26, 31, 35, 40, 44, 49, 53, 57, 62, 66, 71, 75, 80, 84, 88, 93, 97, 102, 106, 110, 115, 119, 123, 128, 132, 136, 141, 145, 149, 153, 158, 162, 166, 170, 175, 179, 183, 1...
/* _ _ |_) (_ | \ed_)quare Authored by abakh <<EMAIL>> To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. You should have received a copy of the CC0 Publi...
/* <:copyright-broadcom Copyright (c) 2002 Broadcom Corporation All Rights Reserved No portions of this material may be reproduced in any form without the written permission of: Broadcom Corporation 16215 Alton Parkway Irvine, California 92619 All information contained in th...
/* * Copyright (c) 2014 <NAME> <<EMAIL>> * Copyright (c) 2014 <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 I...
#include "common.h" #include "hCommon.h" #include "linefile.h" #include "hash.h" #include "options.h" //#include "jksql.h" #include "hdb.h" #include "dnautil.h" #include "chain.h" #include "chainNet.h" #include "axt.h" #include "bed.h" #include "axtInfo.h" #include "rmskOut.h" #include "binRange.h" #include "obscure.h"...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* * Copyright (c) 2011-2013 <NAME>. All rights reserved. * * Developed by: <NAME> * http://github.com/klange/nyancat * http://nyancat.dakko.us * * 40-column support by: <NAME> * http://github.com/Peetz0r/nyancat * ...
#include <string.h> #include <stdio.h> #include <stdlib.h> #include "player.h" #include <gst/video/videooverlay.h> #include <gdk/gdk.h> #if defined (GDK_WINDOWING_X11) #include <gdk/gdkx.h> #elif defined (GDK_WINDOWING_WIN32) #include <gdk/gdkwin32.h> #elif defined (GDK_WINDOWING_QUARTZ) #include <gdk/gdkquartz.h> #...
/* * file: cluster.c * * (c) <NAME> 1998 - 2007 * * This 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, * or (at your option) any later version. * */ #define my_VERSION "1.27" #d...
#include <arpa/inet.h> #include <ctype.h> #include <errno.h> #include <getopt.h> #include <inttypes.h> #include <netdb.h> #include <netinet/in.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include "jsmn.h" // The ...
/* * vtsh - A mashup of virtual terminal and shell * Copyright (c) 2021, <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. * * ...
/* * Copyright 2020 Advanced Micro Devices, 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 use, copy, modify, m...
/* * Copyright 2012-2014 Google Inc. 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 * * Unless required by ap...
/* $NetBSD: darwin_syscall.h,v 1.37 2003/12/31 02:55:04 manu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * created from NetBSD: syscalls.master,v 1.20 2003/12/16 16:13:59 manu Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ #define DARWIN_SYS_syscall 0...
#include <stdint.h> #include <stdbool.h> #include <string.h> #include <memory.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <ctype.h> #include "html.h" #include "elem_stack.h" #include "utils.h" /* Parser */ typedef struct html_dom_node html_dom_node_t; typedef struct tcp_lexer { uint32_t...
#include <stdlib.h> #include <string.h> #include <direct.h> #include "lx.h" void lx_read(exe *e, uint16_t object, uint32_t offset, unsigned char *buf, int length) { long page_idx = (e->object_records[object-1].mapidx-1) + (offset / e->lx.page_size); long page_off = offset % e->lx.page_size; memcpy(buf, e->pages[pag...
/* * Copyright 2018 <NAME> * * This file is part of HackRF. * * 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, or (at your option) * any later version. * * This progra...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include "test.h" #include "account.h" #include "block.h" #include "hash.h" #include "message.h" #include "operation.h" #include "signature.h" #include "state.h" #include "utils.h" #include "ed25519.h" void test_read_hex_string() { c...
#include <platform.h> #include <stdlib.h> #include <adc.h> ADC_HandleTypeDef AdcHandle; const PinMap PinMap_ADC[] = { {PA_0, (int)ADC1_BASE, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // ADC1_IN0 {PA_1, (int)ADC1_BASE, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // ADC1_...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
/* This file is in the public domain. */ /* Origin: $OpenBSD: search.c,v 1.38 2011/01/21 19:10:13 kjell Exp $ */ /* * Search commands. * * The functions in this file implement the incremental search commands * and the query-replace command. * * The incremental search code is by <NAME>. * The incremental serch ...
# include <iverilog/ivl_target.h> # include "aiger.h" # include <stdio.h> # include <stdlib.h> # include <string.h> /* -- Logging -- */ # define LOG_LEVEL_DEBUG0 //# define LUT_DEBUG 1 # ifdef LOG_LEVEL_DEBUG0 # define DEBUG0(...) printf("\e[1;32mIFV AIG TARGET DEBUG \e[0m | \t" __VA_ARGS__) # else # define DEBUG...
/* /* * File: winpmc-p3.c * CVS: $Id$ * Author: <NAME> * <EMAIL> * Mods: <name> * <email address> * * This file is heavily derived from perfctr-p3.c circa 03/2006 */ /* PAPI stuff */ #include "papi.h" #include "papi_internal.h" #include "papi_vector.h" #include "winpmc-p3.h" #include "pap...
/** * The CAT protocol is used by many radios to provide remote control to comptuers through * the serial port. * * This is very much a work in progress. Parts of this code have been liberally * borrowed from other GPLicensed works like hamlib. * * WARNING : This is an unstable version and it has worked...
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "nrsrc/nr.h" #include "nrsrc/nrutil.h" #include "gsl/gsl_errno.h" #include "gsl/gsl_odeiv.h" #include "prototypes.h" #include "globvars.h" void dump_gas_density(char* gsdfile) { FILE *fd; int si, rbin; ...
#define _GNU_SOURCE /* strnlen() */ #include <errno.h> #include <stdlib.h> #include <string.h> #include "common.h" #include "compat.h" #include "framelist.h" #include "frm_comm.h" #include "id3v2.h" #include "output.h" #include "params.h" #include "textframe.h" /* get_id3v2_tag_encoding_name() */ #include "u32_cha...
#include "Bitmap.h" #include "Platform.h" #include "PackedCol.h" #include "ExtMath.h" #include "Deflate.h" #include "ErrorHandler.h" #include "Stream.h" void Bitmap_Create(Bitmap* bmp, Int32 width, Int32 height, UInt8* scan0) { bmp->Width = width; bmp->Height = height; bmp->Stride = width * Bitmap_PixelByt...
#include "required.h" #include "helpers.h" #include "filters.h" #include "bridge.h" #include "advancedio.h" char SIG_PNG[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A }; char SIG_JPG[] = { 0xFF, 0xD8, 0xFF }; void OnEnvStart() { // No op } void OnEnvDestroy() { // No op } int Crop(IplImage** pointer, char*...
/* * * Copyright (C) 2011 Novell 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/slab.h> #include <linux/cred.h> #include <linux...
/***************************************************************************//** * @file * @brief Host EZSP layer. Provides functions that allow the Host * application to send every EZSP command to the EM260. The command and response * parameters are defined in the datasheet. **************************************...
/* tabix.c -- Generic indexer for TAB-delimited genome position files. Copyright (C) 2009-2011 Broad Institute. Copyright (C) 2010-2012, 2014-2017 Genome Research Ltd. Author: <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do...
/* Decimal 128-bit format module for the decNumber C Library. Copyright (C) 2005-2018 Free Software Foundation, Inc. Contributed by IBM Corporation. Author <NAME>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
/*----------------------------------------------------------------------------*/ /* Hobbit application launcher. */ /* */ /* This is used to launch various parts of the Hobbit system. Some programs ...
/* ----------------------------------------------------------------- * Programmer(s): <NAME>, <NAME> and * <NAME> @ LLNL * ----------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2020, Lawrence Livermore National Security * and Southern Meth...
#include <stdarg.h> #include <stdio.h> #include <stdint.h> // for intptr_t #include <stdlib.h> #include <gmp.h> #include "pbc_utils.h" #include "pbc_field.h" #include "pbc_fp.h" #include "pbc_fieldquadratic.h" #include "pbc_param.h" #include "pbc_pairing.h" #include "pbc_poly.h" #include "pbc_curve.h" #include "pbc_mem...
/******************************************************************************* * * Font metric data for ITC Bookman Demi * * Copyright 2001 <NAME> * * * See dlls/wineps/data/COPYRIGHTS for font copyright information. * */ #include "psdrv.h" #include "data/agl.h" /* * Glyph metrics */ static const AFMM...
/* $Id: entity.c,v 1.5 2021/03/13 09:35:21 kristaps Exp $ */ /* * Copyright (c) 2020, <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 copie...
#include "pixz.h" #include <archive.h> #include <archive_entry.h> #pragma mark DECLARE WANTED typedef struct wanted_t wanted_t; struct wanted_t { wanted_t *next; char *name; off_t start, end; off_t size; }; static wanted_t *gWantedFiles = NULL; static bool spec_match(char *spec, char *name); stati...
/* Copyright 2021 <NAME> (Xelus) * * 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 distribute...
#include <unistd.h> #include <sys/stat.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <syslog.h> #include <pthread.h> typedef unsigned long long uint64_t; const unsigned char BIT_HEX[] = {0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01}; #define _isset(bt,idx) (bt->b[(idx) / 8 ] & BIT_HEX[(idx) % 8]...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* ghn_cacbCTP.c 3D HNCACB gradient sensitivity enhanced version. C...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* gNfhsqcHDA.c Fast N15 hsqc using watergate suppression and optional ...