text
stringlengths
5.8k
28.2k
/************************************************************************************************//** * @file main.c * * @copyright Copyright 2022 <NAME>. * @license Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtai...
/* Copyright (c) 2004-2005 Apple Computer, Inc. * * keyStoreLeak.c - simple generate/store key, lookup, delete loop; for malloc * debug testing * */ #include <stdlib.h> #include <stdio.h> #include <time.h> #include <string.h> #include <unistd.h> #include <Security/cssm.h> #include "cspwrap.h" #include "comm...
/* * This file is part of acados. * * acados 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 3 of the License, or (at your option) any later version. * * acado...
#include "quadtree.h" #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include "utils.h" #include "testutils.h" #define FIRST_QUADRANT (0) #define SECOND_QUADRANT (1) #define THIRD_QUADRANT (2) #define FOURTH_QUADRANT (3) #define NUMBER_OF_QUADRANTS (4) #define MAX_DEPTH (15) #defin...
/* * (C) 2011-2012 <NAME> * * BSD license * * A simple library that maps some pcap functions onto netmap * This is not 100% complete but enough to let tcpdump, trafshow * and other apps work. * * $FreeBSD: soc2013/dpl/head/tools/tools/netmap/pcap.c 252336 2013-05-30 11:08:16Z luigi $ */ #define MY_PCAP #incl...
/* * 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 an...
/* * Silicon Graphics Movie demuxer * 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, ...
// Options to control how MicroPython is built for this port, // overriding defaults in py/mpconfig.h. // Board-specific definitions #include "mpconfigboard.h" #include <stdint.h> #include <alloca.h> #if !MICROPY_ESP_IDF_4 #include "rom/ets_sys.h" #endif // object representation and NLR handling #define MICROPY_OBJ_...
/* * Copyright 2017 Uber Technologies, 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 l...
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
/* Utility routines for data type conversion for GNU C. Copyright (C) 1987, 1988, 1991, 1992, 1994 Free Software Foundation, Inc. This file is part of GNU C. 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 Software Foundat...
/***************************************************************************//** * @file * @brief Composes the GATT database using the Dynamic GATT API. ******************************************************************************* * # License * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b> ...
/* * --INFO-- * Address: 800D9E48 * Size: 0001B8 */ void __CARDSeek(void) { /* .loc_0x0: mflr r0 stw r0, 0x4(r1) stwu r1, -0x30(r1) stw r31, 0x2C(r1) addi r31, r6, 0 stw r30, 0x28(r1) addi r30, r5, 0 stw r29, 0x24(r1) addi r29, r4, 0 ...
/* * dname.c -- Domain name handling. * * Copyright (c) 2001-2006, NLnet Labs. All rights reserved. * * See LICENSE for the license. * */ #include "config.h" #include <sys/types.h> #include <assert.h> #include <ctype.h> #include <limits.h> #include <stdio.h> #include <string.h> #include "dns.h" #include "dn...
/** * @file jalls.c This file contains functions the main function of the * jal local store * * @section LICENSE * * Source code in 3rd-party is licensed and owned by their respective * copyright holders. * * All other source code is copyright Tresys Technology and licensed as below. * * Copyright (c) 2012 T...
#include "../engine/include/engine.h" /* * Note: Globals are being used because of Emscripten * i32 init_game() -> initializes games and global variables * emp game_loop() -> game_loop: * frame start * event handling * updating * rendering * frame end & delayer ...
/* * Copyright 2016 <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 in wr...
/* ==================================================================== * Copyright (c) 1996-2000 Carnegie Mellon University. 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. Red...
#include "al.h" static int numPatterns = 0; static PatternInfo *patInfo = NULL; long int lroundf(float x); double **distancematrix; // *** added by ck 11/2/2011 // Keep track of sensors included in each pattern definition void AddPatternInfo(Pattern *pattern, int patNumber) { int i, nl; if (num...
/* * Copyright (C) 1989-94 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, ...
/* * ASoC simple sound card support * * Copyright (C) 2012 Renesas Solutions Corp. * <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. */ #include <linux/clk....
/****************************************************************************** * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Fr...
/*------------------------------------------------------------------------- * * pglogical_conflict.c * Functions for detecting and handling conflicts * * Copyright (c) 2015, PostgreSQL Global Development Group * * IDENTIFICATION * pglogical_conflict.c * *--------------------------------------------------...
/*********************************************************************************************************************** * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No * other uses are authorized. This software is owned by Renesas Elec...
/*********************************************************** Copyright 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that co...
#include "samtools.pysam.h" /* bam_addrprg.c -- samtools command to add or replace readgroups. Copyright (c) 2013, 2015-2017, 2019-2021 Genome Research Limited. Author: <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
/* * Copyright (c) 2015 <NAME> <<EMAIL>> * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT */ /* * COPYRIGHT(c) 2015 STMicroelectronics * * Redistribution and use in source and binary forms, with or without modific...
#include <k_api.h> #include <xtensa/config/core.h> #include <xtensa/tie/xt_interrupt.h> #include <xtensa/tie/xt_timer.h> #include "frxt/xtensa_rtos.h" #include "frxt/xtensa_api.h" #include "c_types.h" #include "ets_sys.h" #undef XT_RTOS_INT_EXIT #define XT_RTOS_INT_EXIT _xt_int_exit #define XT_STK_EXIT ...
/* пул и майнер, T13.744-T13.895 $DVS:time$ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <fcntl.h> #include <errno.h> #include <pthread.h> #include <unistd.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #if...
/* * 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...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* emul_utp.c */ /*- * Copyright (c) 2013 * Nexa Center for Internet & Society, Politecnico di Torino (DAUIN) * and <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 ...
#include <stdio.h> #include <stdlib.h> #define POOL 1 #define LINEAR 2 #define DEFAULT LINEAR void printCls (int* array, int size) { for (int i = 0; i < size; i++) printf ("%i ", array[i]); printf ("0\n"); } int printXOR (int* array, int size, int var, int mode) { if (size < 1) { printf ("0\n"); ...
/* ----------------------------------------------------------------------------- * Copyright (c) 2014 ARM Ltd. * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from * the use of this software. Permission is grant...
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=4 sts=4 sw=4 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright (c) 2008-2016 <NAME>. All rights reserved. │ │...
#include "fs.h" #include <stdlib.h> #include <assert.h> #include "puffs.h" #include "puffs_priv.h" #define SAME 1000 /*===========================================================================* * fs_ftrunc * *======================================...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <math.h> #include "kthread.h" #include "yak-priv.h" #include "bseq.h" #ifndef kroundup32 #define kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x)) #endif int gjdn(double *a, double *b, ...
/* $Id: pcaputil.c 4537 2013-06-19 06:47:43Z riza $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 <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 Fr...
/* * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
#include <math.h> #include <unistd.h> #include "driver.h" #include "vidhrdw/vector.h" #include "video.h" #include "ios.h" extern UINT8 win_trying_to_quit; #define FRAMESKIP_LEVELS 12 int frameskip = 0; int autoframeskip = 1; int throttle = 1; static int allow_sleep = 1; static int video_depth; static double video...
/* * Project: Implementacia interpretu imperativneho jazyka IFJ13 * File: generator.c * Authors: * <NAME>, xlieta00 * <NAME>, xhurta01 * * Created on: 30.10.2013 */ #include <stdio.h> #include <stdlib.h> #include "generator.h" #include "ial.h" #include "str.h" #include "common.h" #define LABEL 10 t...
/** * @file jal_xml_utils.c This file contains utility funtions for dealing * with XML. * * @section LICENSE * * Source code in 3rd-party is licensed and owned by their respective * copyright holders. * * All other source code is copyright Tresys Technology and licensed as below. * * Copyright (c) 2011-2012 ...
/* $Id: VBoxDbgGl.c $ */ /** @file * VBox wine & ogl debugging stuff */ /* * Copyright (C) 2011-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the ...
#define _XOPEN_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <sys/un.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <string.h> #include <netinet/in.h> #include <unistd.h> #include <fcntl.h> #include <arpa/inet.h> #include <netdb.h> #include <pthread.h> ...
/* * 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 ...
/* * Fast 2D Delaunay triangulation in C. Yet another port of Delaunator. * https://github.com/mapbox/delaunator * * Copyright (c) 2017, Mapbox * Copyright (c) 2021, <NAME> * Distributed under the ISC license. * See accompanying LICENSE */ #include "delaunay/delaunay.h" #include "delaunay/helper.h" #include <...
/***************************************************************************//** * @file * @brief Implemented routines for storing prepayment topups. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> *******...
/* * Copyright (c) 2014 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "native_client/src/untrusted/pnacl_dynloader/dynloader.h" #include <errno.h> #include <fcntl.h> #include <stdbool.h> #include <s...
#include <string.h> #include <stdlib.h> #include "tiny_aes.h" /** This file contains standard AES functions taken from tiny-aes AES implementation by kokke, available on GitHub https://github.com/kokke/tiny-AES-c */ #if defined(USE_LOOKUP_TABLE) && USE_LOOKUP_TABLE == 1 #define getSBoxValue(num) (sbox[(num)]) ...
//file: textfile.c /****************************************************************************** Create an interpreted text file from the data with numbers in hex or octal, and/or characters in ASCII, EBCDIC, BCD, Burroughs BIC, or DEC SixBit code, in the style of an old-fashioned memory dump. This is derived from ...
#include "rc_internal.h" #include <stdlib.h> /* malloc/realloc */ #include <string.h> /* memcpy */ #include <math.h> /* INFINITY/NAN */ #define MEMREF_PLACEHOLDER_ADDRESS 0xFFFFFFFF rc_memref_t* rc_alloc_memref(rc_parse_state_t* parse, unsigned address, char size, char is_indirect) { rc_memref_t** next_memref; ...
/* main.c */ #include <Carbon/Carbon.h> #include <QuickTime/ImageCompression.h> #include <QuickTime/QuickTimeComponents.h> #include <ApplicationServices/ApplicationServices.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "main.h" #define kMaxLineSize 256 #define kDefaultInterface "en0"...
#include "apu.h" #include <stdlib.h> #include <stdio.h> static uint8_t duties[4] = {1, 2, 4, 6}; apu_t *apu_new(mem_t *mem) { apu_t *apu = calloc(sizeof(*apu), 1); if (!apu) { fprintf(stderr, "allocation failed\n"); return NULL; } apu->mem = mem; return apu; } void apu_del(apu_t *apu) { if (!apu) retu...
/* ==================================================================== * Copyright (c) 1999-2004 Carnegie Mellon University. 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. Redi...
/* This code was generated by Usuba. See https://github.com/DadaIsCrazy/usuba. */ /* Do NOT change the order of those define/include */ #define NO_RUNTIME #ifndef BITS_PER_REG #define BITS_PER_REG 128 #endif /* including the architecture specific .h */ #include "SSE.h" /* auxiliary functions */ void SubBytes_sing...
/* * Copyright 2010-2018, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/* Produced by gmFortran V30.59(10/26/17) on 9/18/18 at 9:02:32 */ #define LPROTOTYPE #include "fortran.h" void cchol(int *n,int *nd,double *a,int *fail) { static int i,ia,j,k,ka; /* SUBROUTINE CCHOL COMPUTES CHOLESKI DECOMPOSITION OF GIVEN COMPLEX POSITIVE DEFINITE MATRIX A. INPUT DATA N --- O...
/* nuss.c: negacyclic multiplications via Nussbaumer's algorithm Copyright (C) 2007, 2008, <NAME> This file is part of the zn_poly library (version 0.9). 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 ...
/* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager * * © 2009-2011 <NAME> and contributors * * See file LICENSE for license information. * * util.c: Utility functions, which can be useful everywhere. * */ #include <sys/wait.h> #include <stdarg.h> #include <iconv.h> #if defined(__...
/* altGraph - Load database with alt-splicing graphs. */ #include "common.h" #include "dystring.h" #include "obscure.h" #include "hash.h" #include "dnautil.h" #include "dnaseq.h" #include "fa.h" #include "fuzzyFind.h" #include "patSpace.h" #include "supStitch.h" #include "../lib/ggPrivate.h" #include "geneGraph.h" #in...
/* * AMBER. Copyright (c) 2004 <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 conditio...
#include "sctk.h" static int align_one_channel(SCORES *scor, int chan, WTOKE_STR1 *hyp_segs, STM *stm, int h_st, int h_end, int r_st, int r_end, int keep_path, int feedback, char *proc, int case_sense, int char_align, char *lexicon, int infer_word_seg, int inf_no_ascii, int fcorr, int opt_del, int reduce_ref, int redu...
/* * MIT License * * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
#include "vfs.h" #include "fat32.h" #include "allocator.h" #include "list.h" #include "string.h" #include "mini_uart.h" #include "sd.h" struct file_operations *fat32_fops; struct vnode_operations *fat32_vops; struct fat32_metadata sd_metadata; static unsigned int next_cluster(uint32_t cluster_idx); static uint32_t g...
// Micro-less // Copyright (c) 2019 <NAME> // MIT License // Source: https://github.com/aimukhin/uless/blob/879d9940d631b94fc7c1d3d52d4e44aff357b952/uless.c // maximal line width #define BUFSZ 1024 // ANSI escape sequences #define INV "\033[7m" #define NORM "\033[m" #define CLRLINE "\033[2K\r" #include <sys/ioctl.h>...
#include <nginx.h> #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include <jwt.h> #define NGX_HTTP_AUTH_JWT_DISABLED -1 #define NGX_HTTP_AUTH_JWT_ENABLED 1 #define NGX_HTTP_AUTH_JWT_TOKEN 2 static ngx_int_t ngx_http_auth_jwt_init(ngx_conf_t *cf); static void * ngx_http_auth_jwt_create_l...
/* * Copyright (c) 2020 <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 * to use, copy, modify, merge, publ...
/* * libwebsockets-test-server-extpoll - libwebsockets external poll loop sample * * This acts the same as libwebsockets-test-server but works with the poll * loop taken out of libwebsockets and into this app. It's an example of how * you can integrate libwebsockets polling into an app that already has its * own...
// libmylcd - http://mylcd.sourceforge.net/ // An LCD framebuffer and text rendering API // <NAME> // <EMAIL> // Copyright (c) 2005-2009 <NAME> // // This program 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 So...
/* * i386 CMOS starts out with 14 bytes clock data alpha has something * similar, but with details depending on the machine type. * * byte 0: seconds 0-59 * byte 2: minutes 0-59 * byte 4: hours 0-23 in 24hr mode, * 1-12 in 12hr mode, with high bit unset/set * if am/pm. * byte 6: weekday 1-7, Sunday=...
/* -*- tab-width: 4; -*- */ /* vi: set sw=2 ts=4: */ /** * @file writer.c * @~English * * @brief Functions for creating KTX-format files from a set of images. * * @author <NAME>, HI Corporation * * $Revision: 21679 $ * $Date:: 2013-05-22 19:03:13 +0900 #$ */ /* Copyright (c) 2010 The Khronos Group Inc. Per...
#include <getopt.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/syscall.h> #include <unistd.h> #include <sys/select.h> #include <sys/time.h> #include <rga/RgaApi.h> #include "camera_engine_rkisp/interface/rkisp_api.h" #include "rmsl_api.h" #inclu...
/******************************************************************************* * * * pick.c -- Pick tracks on event display by pointing middle mouse button * * * * Copyright (c) 1991 Universities Research Association, Inc. * * All rights reserved. * * ...
/****************************************************************************** * PROCUTIL.C * * This is a scaled down version of procutil.c from utils\citrix\utilsub * that is included here. * * We can not use utilsub.lib unless we modify every user of perflib.lib * to also include this library. Also since...
#include <errno.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/param.h> #include <sys/time.h> #if _AIX #include <sys/select.h> #endif #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <unistd.h> #include <signal.h> #include "utils.h" /* #define DEBUG #define...
/*- * Copyright (c) 2001-2006 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
#include "StronglyCC.h" Component *last = NULL;; SCC* CreateSCC(uint32_t size_of_graph) { uint32_t i; SCC *scc; scc = malloc(sizeof(SCC)); scc->components = NULL; scc->components_count = 0; scc->id_belongs_to_component = malloc(size_of_graph*sizeof(uint32_t)); if(scc->id_belongs_to_component == NULL) return...
/* * Various utilities for command line tools * Copyright (c) 2000-2003 <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 o...
#include <avr/io.h> #include<avr/interrupt.h> #include<util/delay.h> #include<stdlib.h> #define LEFT 1 #define RIGHT 2 #define C1 3 #define C2 4 void moveToDestination(int, int); void processRecievedIp(); struct movement { int distance; int wheel; }; struct coordinateDistance { float left; float right; float ...
/** * ChronoCode watchface for the Pebble Smartwatch * * @version 2.2.4 * @license New BSD License (please see LICENSE file) * @repo https://github.com/rexmac/pebble-chronocode * @author <NAME> <<EMAIL>> */ #include <pebble.h> #define FONT_H 18 #define FONT_W 12 #define FONT_ON RESOURCE_ID_FONT_SOURCECODEPRO_B...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <math.h> #include "MJDSort.h" #include "runBits.h" /* --------------------------------------------- makes get_run_nums = code to list run numbers in a presorted file (in case we need to re-presort from scratch) OR makes ...
/*************************************************************************\ * Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne * National Laboratory. * Copyright (c) 2002 The Regents of the University of California, as * Operator of Los Alamos National Laboratory. * EPICS BASE is distributed subj...
#include "XT_Constants.h" #include <stdio.h> #include "XT_Structures.h" #include "XT_Prior.h" #include "XT_AMatrix.h" #include <math.h> #include "allocate.h" /*finds the maximum in a array 'array_in' with number of elements being 'num'*/ int32_t find_max(int32_t* array_in, int32_t num) { int32_t i, maxnum; maxnu...
/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1992-2010 AT&T Intellectual Property * * and i...
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 Xilinx, Inc. * (C) Copyright 2015 <NAME> <<EMAIL>> * * Xilinx Zynq PS SPI controller driver (master mode only) */ #include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <log.h> #include <malloc.h> #include <spi.h> #include <time.h> #...
/******************************************************************************* * Copyright (c) 2015, 2016 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
/* 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 x171 = 168850178009LLU; uint16_t x501 = 13205U; static volatile int32_t t4 = -17883379; int32_t t5 = ...
/* * Author: <NAME> * * Purpose: implement a Kummer cryptosystem on GF(2^127-eps) * see "Fast genus 2 arithmetic based on Theta functions" by <NAME>. * * The curve is a CM one, computed using Thomas Houtmann's tools. * * Modulus is p=2^127-735 * */ #include <stdio.h> #include <stdlib.h> #include <string.h...
/** * bdb - GDBM database driver. */ #include <errno.h> #include <gdbm.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define MAIN #include "common.h" /* macros */ #define RET_OK (0) #define RET_OKNOEXIST (1) #define RET_NOTOK (2) #define RET_UNKNOWNCOMMAND (128...
/* written by <NAME>, March 1997 */ #include <stdlib.h> #include <memory.h> #include <string.h> #include "fits_header.h" #define FITS_HEADER_BYTES 2880 #define FITS_HEADER_CARDS 36 static char* h_key_END = "END"; static char* fix_key( char* str ); static char* floating( char* type, void* value ); static int is_bla...
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2015-2020 Micron Technology, Inc. All rights reserved. */ #include <hse_util/event_counter.h> #include "bonsai_tree_pvt.h" #define BN_INSERT_FLAG_RIGHT 1 #define BN_INSERT_FLAG_TOMB 2 static inline struct bonsai_node * bn_update( struct bonsai_root...
/* * Copyright(c) 2006 to 2018 ADLINK Technology Limited and others * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License * v. 1.0 which is availabl...
/* transcription.c -- Phonetic transcription related functions * * Copyright (C) 1990, 1991 Speech Research Laboratory, Minsk * Copyright (C) 2005 <NAME> <<EMAIL>> * Copyright (C) 2021 <NAME> <<EMAIL>> * * SPDX-License-Identifier: MIT */ #include <stdint.h> #include <stdlib.h> #include <string.h> #include "tra...
/*- * Copyright (c) 2014-2015 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * * See the file LICENSE for redistribution information. */ #include "wt_internal.h" /* * __wt_search_insert_append -- * Fast append search of a row-store insert list, creating a skiplist stack * as ...
/*- * Copyright (c) 2003-2007 <NAME> * Copyright (c) 2012 <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 * ...
/* * $Id: artillery.c 1.9 03/09/14 16:51:32+02:00 thomas@debian.(none) $ * * Author: <NAME> <<EMAIL>> * * Copyright (c) 1996 <NAME> * Copyright (c) 1998-2002 <NAME> * Copyright (c) 2000-2002 <NAME> * All rights reserved * * Created: Thu Sep 12 17:28:45 1996 fingon * Last modified: Sat Jul 18 01:54:0...
/* GStreamer * Copyright (C) 1999 <NAME> <<EMAIL>> * Copyright (C) 2005 <NAME> <<EMAIL>> * Copyright (C) 2005 Nokia Corporation <<EMAIL>> * Copyright (C) 2007,2008 Axis Communications <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Genera...
/* * Copyright (c) 2014 Netflix, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions a...
/* * Copyright 2021 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 2015 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. * * Kernel verified boot functions */ #include "2common.h" #include "2misc.h" #include "2nvstorage.h" #include "2rsa.h" #include "2secdata.h" #inclu...