text
stringlengths
7.55k
41.9k
/* * Author: <NAME> <<EMAIL>> * * Copyright (c) 1996 <NAME> * Copyright (c) 1998-2002 <NAME> * Copyright (c) 2000-2002 <NAME> * Copyright (c) 1999-2005 <NAME> * All rights reserved */ #include <math.h> #include "mech.events.h" #include "mech.notify.h" #include "p.aero.move.h" #include "p.mech.utils.h...
/* FreeTDS - Library of routines accessing Sybase and Microsoft databases * Copyright (C) 2004 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License,...
/*************************************************************************** * Copyright 2014,2015 azimoff/kacangbawang.com * * Description: JSONRPC implementation built on top * of the JSMN JSON parser * * License: MIT License ***********************************************************************...
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* The normal alignment of `guint32', in bytes. */ #define ALIGNOF_GUINT32 4 /* The normal alignm...
/* * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. * Copyright (c) 2011 Mellanox Technologies LTD. All rights reserved. * Copyright (c) 2011 Lawrence Livermore National Lab. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be li...
// Copyright 2011 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 applicable...
/****************************************************************************** * $Id$ * * Project: MapServer * Purpose: RGB(A) to Palette Support Functions * Author: <NAME> * ****************************************************************************** * Copyright (c) 1996-2005 Regents of the University o...
/*++ /* NAME /* cleanup 8 /* SUMMARY /* canonicalize and enqueue Postfix message /* SYNOPSIS /* \fBcleanup\fR [generic Postfix daemon options] /* DESCRIPTION /* The \fBcleanup\fR(8) daemon processes inbound mail, inserts it /* into the \fBincoming\fR mail queue, and informs the queue /* manager of its arrival. /* /* Th...
/* * at32f435_regs.h * * Core and peripheral register definitions. * * Written & released by <NAME> <<EMAIL>> * * This is free and unencumbered software released into the public domain. * See the file COPYING for more details, or visit <http://unlicense.org>. */ /* Flash memory interface */ struct flash_ba...
/************************************************************************** * * Copyright 2003 Tungsten Graphics, Inc., <NAME>, Texas. * 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")...
#include "common/c_math/util.h" #include <assert.h> #include <float.h> #include <math.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include "common/c_math/cal_params.h" #include "common/c_math/mat3.h" #include "common/c_math/vec2.h" #include "common/c_math/vec3.h" int32_t MinIn...
/* $Id$ */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2003-2008 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; */ /*; This program...
/* * * Name : pcd8544.c * * Description : This is a driver for the PCD8544 graphic LCD. * Based on the code written by <NAME> * This driver is buffered in 504 bytes memory be sure * that your MCU having bigger memory * * Author : <NAME> <<EMAIL>...
/* * (C) Copyright 2002, <NAME>. * You may freely use this program, but: it offered strictly on an AS-IS, AT YOUR OWN * RISK basis, there is no warranty of fitness for any purpose, and the rest of the * usual yada-yada. Please keep this notice and the copyright in any distributions * or modifications. * *...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2018-2021 NXP * <NAME> <<EMAIL>> */ #include <linux/clk-provider.h> #include <linux/err.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> #include <linux/slab.h> #include "clk-...
/***************************************************************************** * xyuv.c: a SDL yuv 420 planer viewer. ***************************************************************************** * Copyright (C) 2004 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it un...
/***************************************************************************** / / SPACE (SPArse Cholesky Elimination) Library: gbipart.c / / author <NAME>, University of Paderborn / created 00dec26 / / This file contains functions dealing with bipartite graphs / *******************************************...
// // (C) 2004 <NAME> aka Tursi aka HarmlessLion.com // This software is provided AS-IS. No warranty // express or implied is provided. // // This notice defines the entire license for this code. // All rights not explicity granted here are reserved by the // author. // // You may redistribute this software provided th...
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Copyright (C) 2012-2014, 2018-2021 Intel Corporation * Copyright (C) 2013-2014 Intel Mobile Communications GmbH * Copyright (C) 2015-2017 Intel Deutschland GmbH */ #include <linux/devcoredump.h> #include "iwl-drv.h" #include "runtime.h" #include "dbg.h" #incl...
/* * Copyright 2013 Red Hat 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, merge, publish, d...
// Standard libraries #include <stdlib.h> // lib-common libraries #include <pex/pex.h> #include <spi/spi.h> #include <uart/uart.h> #include <adc/adc.h> #include <test/test.h> #include <can/data_protocol.h> #include <conversions/conversions.h> // PAY libraries #include "../../src/general.h" #define ASSERT_BETWEEN(lea...
/* * 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. * * EOM.c * * Code generation for function 'EOM' * */ /* Include files */ #include "EOM.h" #inclu...
#include <stdio.h> #include <stddef.h> #include <limits.h> #include <math.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <time.h> #include "awesome.h" #include <gl.h> #include "rasterizer.h" #include "connection.h" #undef DEBUG_PRINT #undef COVERAGE_PRINT // See the ../NOTES file: #undef DUMP_...
/* ya-median.c =============== This function returns the median of an array of numbers without changing the array. If the order of items in the input array can be changed then yaMedian() (in ya-select.c) is approx 35% faster overall with my test program. Type type of data used is defined in yamedian.h (...
/***************************************************************************** * Copyright (c) 2019, Nations Technologies Inc. * * All rights reserved. * **************************************************************************** * * Redistribution and use in source and binary forms, with or without * modificat...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/*--------------------------------------------------------------------------- rpng2 - progressive-model PNG display program readpng2.c --------------------------------------------------------------------------- Changelog: - 1.01: initial public release - 1.02: added code to skip unu...
/* Copyright (c) 2011, Yahoo! Inc. All rights reserved. Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. Author: <NAME> */ /* To Compile: R CMD SHLIB util.c MCEM_EStep.c -o MCEM_EStep.so */ #include <R.h> #include <Rmath.h> #include <R_e...
/* * FreeRTOS Kernel V10.3.1 * 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, ...
/* Add mask line to a multiple sequence alignment */ #include "p7_config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #undef HMMER_THREADS #include "easel.h" #include "esl_alphabet.h" #include "esl_getopts.h" #include "esl_mpi.h" #include "esl_msa.h" #include "esl_msafile.h" #include "esl_msaweight...
#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "gridref.h" static void debprintf(const char *format, ...); #define MIN_SHEET 64 #define MAX_SHEET 190 struct sheet {int num, e, n;} sheets[MAX_SHEET - MIN_SHEET + 1]; char *gridref_to_nums(char *gridref, double...
// To keep this file independent on a // users system we will define all types here // instead of trying to parse system headers typedef unsigned long int size_t; typedef long int ssize_t; typedef int div_t; typedef int ldiv_t; typedef int lldiv_t; typedef int wchar_t; int main(int argc, const char **argv); // stdli...
/* * Copyright 2014-2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * @file TM4C_RTC_trim_overflow.c * @date 9 Jul 2017 * @author <NAME> * @brief Test program to investigate the behaviour of the Hibernation RTC around the point at which the RTC trim value is applied. * @details The program can run on TM4C123 or TM4C129 class devices, using TivaWare. * * The se...
/* * blocklist.c * Copyright (C) 1998-2005 <NAME>; Released under GNU GPL * * Description: * Build, read and destroy the lists of Word "text" blocks */ #include <stdlib.h> #include "antiword.h" /* * Private structure to hide the way the information * is stored from the rest of the program */ typedef struct ...
/* * 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...
/* Fine Offset Electronics sensor protocol * * Copyright (C) 2017 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later...
/* * ARM Versatile Express emulation. * * Copyright (c) 2010 - 2011 B Labs Ltd. * Copyright (c) 2011 Linaro Limited * Written by <NAME>, <NAME>, <NAME> * * 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 ...
/* * \file spg-solve.c * * Created on: 23 Jan 2012 * Author: kant */ #include <limits.h> #if HAVE_PROFILER #include <gperftools/profiler.h> #endif #include <assert.h> #include <hre/config.h> #include <hre/user.h> #include <bignum/bignum.h> #include <util-lib/dfs-stack.h> #include <util-lib/treedbs.h> #inclu...
// MIT License // // Copyright © 2017 <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 us...
/* * 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...
/** * Author: <NAME> <<EMAIL>>, <NAME> <<EMAIL>> * Copyright: UC Santa Cruz, SSRC */ #include <crypto/hash.h> #include <dm_afs.h> #include <dm_afs_io.h> #include <dm_afs_modules.h> #include <linux/crypto.h> #include <linux/errno.h> #include <linux/random.h> /** * Binary search for use in finding a superblock * re...
/* * * z88dk Application Generator (appmake) * * This file contains the driver and routines used by multiple * modules * * $Id: appmake.c,v 1.50 2016/08/26 05:35:33 aralbrec Exp $ */ #define MAIN_C #include "appmake.h" #include <stdlib.h> #include <stdint.h> #include <time.h> #if (__GNUC__ || _BSD...
/* $Id: utility.c,v 1.18 2009-04-20 07:17:00 pkubanek Exp $ ** * Copyright (C) 1999, 2000 <NAME> * Copyright (C) 2002 <NAME> <<EMAIL>> * * 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 Foun...
/**************************************************************************** * arch/x86_64/src/linux_subsystem/tux_mm.c * * 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 c...
/* * joymouse.c * * Test the two standard 9-pin general-purpose controller ports. * Supports three-button mouse, two-button joystick, seven-button gamepad, * and analog (aka proportional) controllers. * * Written & released by <NAME> <<EMAIL>> * * This is free and unencumbered software released into the p...
/** * \file mcaspPlayBk.c * * \brief Sample application for McASP. This application loops back the input * at LINE_IN of the EVM to the LINE_OUT of the EVM. * * Application Configuration: * * Modules Used: * McASP1 * UART0 * EDMA0 * ...
#include <string.h> #include <ctype.h> #include "dpi/dpi_module.h" #define MAX_LABEL_LEN 256 #define MAX_RECORD_NUM 256 typedef struct dns_wing_ { uint32_t seq; } dns_wing_t; typedef struct dns_data_ { dns_wing_t client, server; } dns_data_t; typedef struct dns_question_ { char question[MAX_LABEL_LEN];...
/* * Convert text files from any cyrillic encoding to UTF-8. * Accepted input encodings are KOI8-R, CP-866 and CP-1251. * * Copyright (GPL) 2008 <NAME>, <<EMAIL>> * * This file is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ...
#include "stm32f10x.h" // Device header #include "stdio.h" #include "misc.h" #include "string.h" #define UP 0 #define DOWN 1 #define LEFT 2 #define RIGHT 3 #define TRIANGLE 4 #define CIRCLE 5 #define CROSS 6 #define SQUARE 7 /* <NAME> 18078696D AVR and ARM Test 2021 Sem 2 Q2: W...
/* MicroBit Bot Firmware Dev with Reset Monitor v0_4_0.c 3/7/19 This is a development version of the 0.3 firmware that uses circuits connected to P14 and P15 to emulate circuits on the next board revision that will have similar circuits on P24 and P25. This version of the firmware works with: cyberbo...
#pragma ident "$Id: common.c,v 1.10 2003/11/21 20:09:51 dechavez Exp $" /*====================================================================== * * IDA data exchange protocols, routines common to client and server. * * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * Copyright (c) 1997 Rege...
#include <jinet/vmx.h> #include <jinet/msr.h> #include <jinet/tty.h> #include <jinet/debug.h> #include <jinet/regs.h> #include <jinet/gdt.h> #include <jinet/idt.h> #include <jinet/memory.h> #include <jinet/module.h> #include <jinet/paging.h> #include <jinet/printf.h> #include <jinet/vmaddr.h> // TODO: stop being stupi...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "mpi.h" /* Based on "Exascale Algorithms for Generalized MPI_Comm_split", * EuroMPI 2011, <NAME>, <NAME>, and <NAME> * * Executes an MPI_Comm_split operation using bitonic sort, a double * inclusive scan to find color boundaries and left and righ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "sem_parser.h" #include "sem_serialize_railpro.h" #include "sem_strings.h" #include "sem_game.h" sem_success read_railpro_tile(sem_world* world, sem_tile* tile, uint8_t code); sem_success parse_railpro_tile(sem_tile* tile, char* tile_description, sem...
// Copyright (c) 2010-2016 The YP-Spur Authors, except where otherwise indicated. // // 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 /...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <vicNl.h> static char vcid[] = "$Id$"; void write_model_state(all_vars_struct *all_vars, global_param_struct *gp, int Nveg, int cellnum, filep_struct *filep, so...
#include <genesis.h> #include "resources.h" #define PLAYER_FRAME_COUNT 16 #define MAX_ROTATION_INDEX FIX32(15) #define MIN_ROTATION_INDEX FIX32(0) #define PLAYER_WIDTH 24 #define PLAYER_HEIGHT 24 #define PLAYER_SHOT_WIDTH 8 #define PLAYER_SHOT_HEIGHT 8 #define MAX_PLAYER_SHOTS 4 #define MAX_R...
#include "iobuf.h" #include "textint.h" #include "http.h" #include "http-headers.h" #include <errno.h> #include <stddef.h> /* RFC: 2616 */ typedef enum http_header http_header; typedef enum { http_unknown_keyword = 0, http_proto } http_keywords; typedef struct patricia { const char *prefix; unsigned char ...
/* * * ============================================================================ * Copyright (c) 2008-2010 Marvell International Ltd. All Rights Reserved. * * Marvell Confidential * ============================================================================ */ /* This file contains ...
/* * Intel Cannon Lake PCH pinctrl/GPIO driver * * Copyright (C) 2017, Intel Corporation * Author: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #incl...
/* fastmodelmaker.c * * Construct a covariance model from an alignment, using an approximate * but fast algorithm. Complexity is N^2 in memory, N^3 in time. Get * back a covariance model, and information contents in bits for * both primary and secondary structure. * * - use Stormo/Gutell MIXY algorithm to cal...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* ================================================================================================= (c) Copyright 1995-2013 By <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. Redist...
/* * Copyright (C) <2015> <NAME> * Copyright (C) <2009> Collabora Ltd * @author: <NAME> <<EMAIL> * Copyright (C) <2009> Nokia Inc * * 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 Foundati...
/* Copyright 2019 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * The utility functions for firmware updater. */ #include <assert.h> #include <limits.h> #include <unistd.h> #include "2common.h" #include "cross...
/* * The MIT License (MIT) * * Copyright (c) 2020-2021 <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 Software without restriction, including without limitation the rights ...
/***************************************************************************/ /* */ /* Copyright (C) 1991-1998 <NAME> and <NAME> */ /* See file "README" for information about commercial use of this system */ /* ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #include <math.h> #include <stdbool.h> //#include <glad/gl.h> //#define GLFW_INCLUDE_GLEXT #include <GLFW/glfw3.h> #include "iqm.h" #include "common.h" #include "stb_easy_font.h" #define VSYNC 0 #define WINDOW_TITLE "IQM Demo" extern GLu...
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2020 The University of Tennessee and The University * ...
/* * Kernel Debugger Architecture Independent Console I/O handler * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved. *...
#include "geminc.h" #include "gemprm.h" #include "scnfll.h" #include "cpgcmn.h" #include "Nxm.h" /************************************************************************ * nfax.c * * * * This is the main routine for the NFAX application. This module * * contains only low level X manipulation fucti...
// // Copyright (c) 2017 The Khronos Group 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 la...
#define _GNU_SOURCE #include <assert.h> #include <sched.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <myst/config.h> #include <myst/eraise.h> #include <myst/fsgs.h> #include <myst/printf.h> #include <myst/process.h> #include <myst/signal.h> #include <myst/time.h> //#define TRACE #define MY...
/* * 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 version. * * FFmpeg is distributed...
/* * sfnedit/m_glyphs.c * * Copyright (C) 2020 bzt (<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 Software without * restriction, including without limitation the rights to use, c...
/* zpipe.c: example of proper use of zlib's inflate() and deflate() Not copyrighted -- provided to the public domain Version 1.4 11 December 2005 <NAME> */ /* * Copyright 2016, International Business Machines * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exc...
#include <stdlib.h> #include <string.h> #include "proj2sorter.h" #include "proj2sorter_impl.h" static size_t numKeysLocalOriginal; static uint64_t *keysOriginal; /* A basic strategy to choose a pivot is to have the root broadcast its * median entry, and hope it will be close to the median for all processes */ // stati...
// esp_dev_os.cpp : Defines the entry point for the console application. // #include "windows.h" #include "esp/esp.h" #include "esp/apps/esp_mqtt_client_api.h" #include "esp/apps/esp_cayenne.h" #include "mqtt_client.h" #include "mqtt_client_api.h" #include "http_server.h" #include "station_manager.h" #include "netcon...
//----------------------------------------------------------------------------- // dwflow.c // // Project: EPA SWMM5 // Version: 5.1 // Date: 03/20/14 (Build 5.1.001) // 03/19/15 (Build 5.1.008) // 03/14/17 (Build 5.1.012) // 05/10/18 (Build 5.1.013) // Author...
/* * pydasm -- Python module wrapping libdasm * (c) 2005 ero / dkbza.org * */ #include <Python.h> #include "../libdasm.h" #define INSTRUCTION_STR_BUFFER_LENGTH 256 /* Instruction types borrowed from "libdasm.h" */ char *instruction_types[] = { "INSTRUCTION_TYPE_ASC", "INSTRUCTION_TYPE_DCL", "INSTR...
/* $Id$ Part of SWI-Prolog Author: <NAME> E-mail: <EMAIL> WWW: http://www.swi-prolog.org Copyright (C): 1985-2009, University of Amsterdam This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
/* * Nuvoton NPCM7xx MFT Module * * Copyright 2021 Google LLC * * 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. ...
/* * common functions * Copyright (c) LubinLew * */ #define __EXCLUDE_EXTERN_TBL #include "tf_common.h" /*------------------------------------------- DEC CHARSET -------------------------------------------*/ /* * 0 ~ 9 */ const uint8_t g_dec_charset[] = { /* 0x00~0x0F */ _NG, _NG, _NG, _NG, _NG, ...
/* * name-hash.c * * Hashing names in the index state * * Copyright (C) 2008 <NAME> */ #include "cache.h" #include "thread-utils.h" struct dir_entry { struct hashmap_entry ent; struct dir_entry *parent; int nr; unsigned int namelen; char name[FLEX_ARRAY]; }; static int dir_entry_cmp(const void *unused_cmp_...
/* cmstat: display summary statistics for a CM or CM database. * * EPN, Tue Aug 21 12:50:34 2007 * Based on SRE's hmmstat.c from HMMER3. */ #include "esl_config.h" #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "easel.h" #include "esl_exponential.h" #inc...
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * * Copyright (C) 2017-21 Corellium LLC * All rights reserved. * */ #include "libc.h" #include "dtree.h" #include "adtree.h" #include "tunable.h" #define BOOT_LINE_LENGTH 256 struct iphone_boot_args { uint16_t revision; uint16_t version; ...
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <malloc.h> #include <string.h> #include <ctype.h> #define MAXSTR 51200 typedef struct vcf_info vcf_info; typedef struct contig_info contig_info; typedef struct mut_info mut_info; typedef struct gtf_info gtf_info; typedef struct gtf_metadata gtf_metada...
/** * @file * * @brief Relation between keys. * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #include <tests.h> static void test_keyCmp (void) { printf ("check keyCmp\n"); Key * k1 = keyNew ("user:/valid", KEY_END); Key * k2 = keyNew ("user:/valid", KEY_END); succeed_if (key...
/* gratio.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...
/* * 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...
/* jozov.c by <NAME> This program uses the tessellation from the voz* programs to produce ZOBOV results (possibly, subject to subsequent post-processing with zobovpostproc.py) */ /* jovoz.c by <NAME> */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "voz.h" #define ...
/* * 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 ...
#include "common.h" #include "umonitor.h" #include "save.h" #include "load.h" #include "autoload.h" #include <getopt.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include <sys/stat.h> /*! \mainpage Main Page * * \section intro_sec Introduction * * This program is intended to manage monitor hotplugg...
/** @file vl_svmpegasos.c ** @brief vl_svmpegasos MEX definition ** @author <NAME> ** @author <NAME> **/ /* Copyright (C) 2012 <NAME>. Copyright (C) 2011-12 <NAME>. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #in...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * OSPF AS external route calculation. * Copyright (C) 1999, 2000 <NAME>, <NAME> * * This file is part of GNU Zebra. * * GNU Zebra 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...
/******************************************************************************* * This file contains the implementation of the algorithms that are used to * calculate or estimate the Social Security benefits for a retiree. * * Here's a simple description of how it all works: * - The AWI Table contains the AWI for...
#include "abi.h" #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> //=============================================== // HELPERS //=============================================== // Get the u32 that is represented in big endian in a 32 byte word (i.e. last 4 bytes). // Returns a little en...
/** * @file pubkeys.c * @brief Test public keys * @author <NAME> <<EMAIL>> * @copyright Copyright 2020 Crypto Advance GmbH. All rights reserved. */ #include "bootloader.h" // List of Vendor public keys static const bl_pubkey_t vendor_pubkey_list[] = { // The following public keys are exported...