text
stringlengths
5.8k
28.2k
#include <stdio.h> /* Copyright (c) 2021 <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 DISCLAIMS ALL ...
/* ** task_dotRT_stim_post.c ** ** <NAME>, modified from task_dotRT_stim.c Nov 2010 ** for electrical stimulation post sac/reward ** use only two levels of task difficulty: specified in coh_lo and coh_hi ** each trial is followed by a 0% coherence trial ** to test for an effect of postdecision stimulation on next choi...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils.h" #include "compare.h" #include "parseur.h" #include "tree.h" /* Fonction qui prend une chaine de caractères (requête) en entrée */ /* Remplis lignes[index] donnée en paramètre par la ligne n° index de la requête */ /* Retourne une liste d'en...
/** * Copyright (C) 2021 Bosch Sensortec GmbH * * SPDX-License-Identifier: BSD-3-Clause */ /*********************************************************************/ /* system header files */ /*********************************************************************/ #include <stdio.h> #include <stdlib.h> #include <stdin...
# include <stdio.h> # include <stdint.h> # include <string.h> # include <stdlib.h> # include <ctype.h> # include <math.h> # include "data_structure_definitions.h" # include "function_definitions.h" long long int total_mapped_reads = 0; void decompressFile ( char *name_of_file_with_quality_scores, char *abridge_in...
//////////////////////////////////////////////////////////////////////////////// // // @file element_cmd_rep.c // // @brief Implements server/response side of commands // // @copy 2018 Elementary Robotics. All rights reserved. // //////////////////////////////////////////////////////////////////////////////// #inclu...
/* $NetBSD: cd18xxreg.h,v 1.1 2001/10/03 04:25:30 mrg Exp $ */ /* * Copyright (c) 1998, 2001 <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 mu...
/* * "Copyright (c) 2006 Stanford University. All rights reserved. * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose, without fee, and without written * agreement is hereby granted, provided that the above copyright * notice, the following two paragraphs and...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include <stddef.h> #include "hashmap.h" static void *(*_malloc)(size_t) = NULL; static void (*_free)(void *) = NULL; #define hmmalloc (_malloc?_malloc:malloc) #define hmfree (_free?_free:free) // hashmap_set_allocator allows...
/* * Copyright (c) 2006-2007 <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
/*- * BSD LICENSE * * Copyright (c) Samsung Electronics Co., Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the a...
/* $Id$ awlfmt.c A format simlar to newfmt, but for the awl pool */ #include "awlfmt.h" #include <string.h> /* some options on the format are controlled by global variables. Of course for efficiency we'd do it in the pre-processor, but that would require recompilation... */ int formatcomments=0; int checkc...
/* * (C) Copyright 2005- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <signal.h> #include <uep_wide.h> #ifndef NETOFF #include <SDL2/SDL.h> #include <SDL2/SDL_net.h> #endif #include "puissance4.h" // Définition des variables globales bool bContreOrdi=false; bo...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2019 <NAME> <<EMAIL>> * * 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 ...
/* $OpenBSD: hosts_access.c,v 1.12 2009/10/27 23:59:30 deraadt Exp $ */ /* * This module implements a simple access control language that is based on * host (or domain) names, NIS (host) netgroup names, IP addresses (or * network numbers) and daemon process names. When a match is found the * search is termina...
/* Copyright (c) 2018, 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 the hope...
/* (c) Copyright 2013 Hewlett-Packard Development Company, L.P. 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 agre...
// ParAd: Parallel Adriana - utilities: toclans // static char Help[] = "Decompose a sparse matrix (with real elements) into clans.\n" ">toclans sparse_matrix_file_name [debug_level]\n" "Matrix Market format (.mtx), header lines (starting from \%) are skipped.\n" "debug_level greater than 0 gives more detailed ...
/* <NAME> N9625313 TEENSY ASSIGNMENT */ //-------------------------------------------------------------------------- //CAB202 Libraries-------------------- #include <avr/io.h> #include <util/delay.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <avr/interrupt.h> #include <stdbool.h> #include "l...
/* * Copyright 2017 NXP * SPDX-License-Identifier: BSD-3-Clause */ #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <memory.h> #include <dlfcn.h> #include "cryptoki.h" #include <tee_slot.h> #include "utils.h" static CK_FUNCTION_LIST *funcs; #define ...
#include <ctype.h> #include <assert.h> #include <string.h> #include "parser.h" typedef struct { GeneratorSettings* settings; FILE* output; } SingleGenUserData; static void generateSingleFunction(NonTerminal nonterminal, SingleGenUserData* data) { fputs("\nParsedToken* parsed_", data->output); fwrite...
// SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2015 - 2021 Intel Corporation */ #include <linux/bitfield.h> #include <linux/spinlock.h> #include <linux/types.h> #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_pfvf_msg.h" #include "adf_pfvf_pf_msg.h" #include "adf_pfv...
/* SmoothWall libsmooth. * * This program is distributed under the terms of the GNU General Public * Licence. See the file COPYING for details. * * (c) <NAME>, 2001 * * filename: net.c * Contains network library functions. */ #include "libsmooth.h" extern FILE *flog; extern char *logname; extern char **ctr;...
// A Squeak VM for RiscOS machines // Suited to RISC OS > 4, preferably > 5 // See www.squeak.org for much more information // // <NAME> <EMAIL> // // License: MIT License - // Copyright (C) <2013> <<NAME>> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and asso...
/** * reader.c * * ADIOS is freely available under the terms of the BSD license described * in the COPYING file in the top level directory of this source distribution. * * Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved. * * Created on: Jul 19, 2013 * Author: <NAME> aka Magic Magg <EMAIL> * ...
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2010 <NAME> * Copyright (c) 2009 litl, LLC (code from open source gjs project) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"),...
/* $XConsortium: flo.c,v 1.7 94/06/03 15:58:13 dpw Exp $ */ /* $XFree86: xc/programs/Xserver/XIE/dixie/request/flo.c,v 3.1 1996/08/20 12:21:52 dawes Exp $ */ /**** module flo.c ****/ /****************************************************************************** Copyright (c) 1993, 1994 X Consortium Permission is he...
/******************************************************************************* * LEVCAN: Light Electric Vehicle CAN protocol [LC] * 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"), t...
// these parameters should match FISHDIM.PAR #define MN 1024 #define MV 99 #define MC 96 #define MW 80 #define MF 8 #define MI 96 char string[180]; // c subroutines void init(); void acmod(int idx); void datset(); int setup(int id,char *filename); int openshare(int channel,char *filename); void closef...
/* * Copyright (c) 2018 IOTA Stiftung * https:github.com/iotaledger/entangled * * MAM is based on an original implementation & specification by apmi.bsu.by * [ITSec Lab] * * Refer to the LICENSE file for licensing information */ #include <string.h> #include <unity/unity.h> #include "mam/v2/mam/mam.h" #include...
/********************************************************************************************** * * Faller Car Controller - NRF52 Firmware * * (c) 2016 * <NAME> * * all rights reserved * * Layer 2: position estimation, reference speed generation * ************************************************************************...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
/* Copyright (c) 2010 <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, distri...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee a...
// // ConstantMacro.h // NIiOS // // Created by ai-nixs on 2018/11/19. // Copyright © 2018年 nixinsheng. All rights reserved. // #ifndef ConstantMacro_h #define ConstantMacro_h //---------------------- ABOUT SYSTYM & VERSION 系统与版本 ---------------------------- //Get the OS version. 判断操作系统版本 #define IOS_VERSIO...
/* $OpenBSD: agten.c,v 1.1 2004/06/21 04:41:10 miod Exp $ */ /* * Copyright (c) 2002, 2003, <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 mus...
#include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #define _GNU_SOURCE #include <getopt.h> #include <unistd.h> #include <time.h> #include "KNT_defaults.h" #include "KNT_arc.h" #include "KNT_lib.h" #include "KNT_closures.h" #include "KNT_io.h" #include "KNT_qhull.h" #include "my_random.h" #inc...
/* report.c - reporting and messaging methods Part of Grbl v0.9 Copyright (c) 2012-2014 <NAME> Grbl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your op...
/*------------------------------------------------------------------------- * Filename: mini_inflate.c * Version: $Id: //DTV/MP_BR/DTV_X_IDTV0801_002200_2_001_2_001_1210_001/chiling/uboot/u-boot-2011.12/fs/jffs2/mini_inflate.c#1 $ * Copyright: Copyright (C) 2001, <NAME> * Author: <NAME> <<EMAI...
/** * * @file testing_zhegv.c * * PLASMA testing routines * PLASMA is a software package provided by Univ. of Tennessee, * Univ. of California Berkeley and Univ. of Colorado Denver * * @version 2.6.0 * @author <NAME> * @author <NAME> * @date 2010-11-15 * @precisions normal z -> c d s * **/ #include <st...
/** * fdtd2d.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <math.h> #ifdef __APP...
/* * Tencent is pleased to support the open source community by making IoT Hub available. * Copyright (C) 2018-2020 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in * compliance with the License. You may obtain a cop...
/* * This file is part of the TREZOR project, https://trezor.io/ * * Copyright (C) 2015 <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 Foundation, either version 3 of the L...
// SPDX-License-Identifier: GPL-2.0+ /* * Novena video output support * * IT6251 code based on code Copyright (C) 2014 <NAME> * from https://github.com/xobs/novena-linux.git commit * 3d85836ee1377d445531928361809612aa0a18db * * Copyright (C) 2014 <NAME> <<EMAIL>> */ #include <common.h> #include <log.h> #includ...
/* * linux/ipc/msg.c * Copyright (C) 1992 <NAME> */ #include <linux/errno.h> #include <linux/sched.h> #include <linux/msg.h> #include <linux/stat.h> #include <linux/malloc.h> #include <asm/segment.h> extern int ipcperms (struct ipc_perm *ipcp, short msgflg); static void freeque (int id); static int newque (key_...
/* File: mpi_nbody_basic.c * Purpose: Implement a 2-dimensional n-body solver that uses the * basic algorithm. This version uses an in-place Allgather * * Compile: mpicc -g -Wall -o mpi_nbody_basic mpi_nbody_basic.c -lm * To turn off output (e.g., when timing), define NO_OUTPUT * ...
// SPDX-License-Identifier: GPL-2.0 /* * KVM dirty page logging test * * Copyright (C) 2018, Red Hat, Inc. */ #define _GNU_SOURCE /* for program_invocation_name */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <time.h> #include <pthread.h> #include <linux/bitmap.h> #include <linux/bitops.h> ...
/*------------------------------------------------------------------------- * * receiver_raw.c * Receive and apply logical changes generated by decoder_raw. This * creates some basics for a multi-master cluster using vanilla * PostgreSQL without modifying its code. * * Copyright (c) 1996-2015, PostgreSQL Glob...
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/i810/i810ioctl.c,v 1.2 2005/03/01 03:48:45 dawes Exp $ */ #include <unistd.h> /* for usleep() */ #include "glheader.h" #include "mtypes.h" #include "macros.h" #include "dd.h" #include "swrast/swrast.h" #include "mm.h" #include "i810screen.h" #include "i810_dri.h" #in...
// // kbd.c // // Keyboard driver // // Copyright (C) 2002 <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 // ...
#define __DBL_MIN_EXP__ (-1021) #define __UINT_LEAST16_MAX__ 65535 #define __ATOMIC_ACQUIRE 2 #define __FLT_MIN__ 1.17549435082228750797e-38F #define __UINT_LEAST8_TYPE__ unsigned char #define _WIN32 1 #define __INTMAX_C(c) c ## LL #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 255 #define _WIN64 1 #define __WINT_MAX__ 6...
/* * Copyright (C) 2018 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
//------------------------------------------------------------------------------ // GB_reduce_to_vector: reduce a matrix to a vector using a binary op //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2019, All Rights Reserved. // http://suitesp...
/* I F . C * BRL-CAD * * Copyright (c) 2004-2016 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as publ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
/* * File: cmd1.c * Purpose: Searching, movement, and pickup * * Copyright (c) 1997 <NAME>, <NAME>, <NAME>, * Copyright (c) 2007 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software ...
/* Copyright (c) 2017 <NAME> <<EMAIL>> */ /* Permission to use, copy, modify, and distribute this software for any */ /* purpose with or without fee is hereby granted, provided that the above */ /* copyright notice and this permission notice appear in all copies. */ /* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI...
/* * "Copyright (c) 2008 <NAME>, <NAME>, <NAME> ("AUTHORS")" * All rights reserved. * (<NAME>, reese_AT_ece.msstate.edu, Mississippi State University) * (<NAME>, bjones_AT_ece.msstate.edu, Mississippi State University) * (<NAME>, jwbruce_AT_ece.msstate.edu, Mississippi State University) * * Permission to use, co...
/* cda.c --- cd into Archive Copyright (C) 2015 Lumin <<EMAIL>> License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/*############################################################################ # Copyright 2016-2017 Intel Corporation # # 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 # # ht...
/* $OpenBSD: mgx.c,v 1.1 2004/06/20 21:28:06 miod Exp $ */ /* * Copyright (c) 2003, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain...
/* Copyright (c) 2012 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. * * IR357x driver. */ #include "board.h" #include "console.h" #include "hooks.h" #include "i2c.h" #include "timer.h" #include "uart.h" #include ...
/** @file parser.c \brief Módulo de User input / Interpertador de comandos. */ #include "estado.h" #include "frontend.h" #include "stdlib.h" #include "stdio.h" #include <string.h> #include "userfiles.h" #include "decide.h" #include "filemanager.h" #include "state.h" #include "solver.h" #include "givehelp.h" // ------...
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
#ifndef _GNU_SOURCE #define _GNU_SOURCE // for strcasestr #endif // comment this below to disable fuzzy search #define FUZZY_SEARCH 1 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include "lib/menu.h" #include <pthread.h> #include <dirent.h> #include <signal.h> #include "../src/t...
/* =========================================================================== * uz80as, an assembler for the Zilog Z80 and several other microprocessors. * * Preprocessor. * =========================================================================== */ #include "pp.h" #include "err.h" #include "expr.h" #include ...
#include "Parameter_files/INIT_PARAMS.H" #include "Parameter_files/ANAL_PARAMS.H" //#include "bubble_helper_progs.c" /* USAGE: perturb_field <REDSHIFT> PROGRAM PERTURB_FIELD uses the first-order Langragian displacement field to move the masses in the cells of the density field. The high-res density field is e...
/* * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope ...
#include "io-apng-animation.h" #include <errno.h> #include <stdio.h> static void gdk_pixbuf_apng_anim_finalize(GObject* object); static gboolean gdk_pixbuf_apng_anim_is_static_image(GdkPixbufAnimation* animation); static GdkPixbuf* gdk_pixbuf_apng_anim_get_static_image(GdkPixbufAnimation* animation); stat...
#include <stdio.h> #include <math.h> #include "corange.h" #include "level.h" #include "character.h" #include "coin.h" #include "platformer.h" /* Some game state variables */ static level* current_level; static vector2 camera_position; static int level_score; static float level_time; /* We store al...
/* Copyright (c) 2012, The Linux Foundation. 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 ...
/* Copyright (C) 2002-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by <NAME> <<EMAIL>>, 2002. The GNU C 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...
/* Test file for mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round. Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. Contributed by the AriC and Caramel projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free softw...
/* pptp_callmgr.c ... Call manager for PPTP connections. * Handles TCP port 1723 protocol. * <NAME> <<EMAIL>> * * $Id: //WIFI_SOC/release/SDK_4_1_0_0/source/user/ppp-2.4.2/pppd/plugins/pppopptp/pptp_callmgr.c#1 $ */ #include <signal.h> #include <sys/time.h> #include <sys/types...
/* * File: usb_device.c * * Copyright (c) 2017-2018 <NAME>, <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 * t...
/****************************************************************** * mexProd2.c : C-MEX file to compute the product of two matrices. * * P = mexProd2(blk,A,B,type) * * input: blk = 1x2 cell array describing the block structure of A and B * A = mxn matrix. * B = nxp matrix. * type ...
#include <gtk/gtk.h> #include <webkit2/webkit2.h> #include <stdio.h> #include <stdlib.h> typedef struct sGhtmlConfiguration { const char * path; const char * name; gboolean set_position, modal, maximize, execute, resizable, auto_hide_titlebar, stay_hidden, force_focus, center, center_on_pare...
/* * Control Trigger Interface module for XenStore * * Authors: <NAME> <<EMAIL>> * * * Copyright (c) 2013-2017, NEC Europe Ltd., NEC Corporation All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
#include "../include/MatrixOp.h" //==================== vector operations =========================== // put random values into the matrix if mode == 0 struct Vector * new_vec(int length, int mode) { struct Vector *vecp = (struct Vector *)malloc(sizeof(struct Vector)); vecp->length = length; vecp->vec = (f...
#pragma once #include "../../include/hax_types.h" #include "../../include/hax_list.h" #include "memory.h" #include "svm.h" #define HAX_NPT_LEVEL_PML4 3 #define HAX_NPT_LEVEL_PDPT 2 #define HAX_NPT_LEVEL_PD 1 #define HAX_NPT_LEVEL_PT 0 #define HAX_NPT_LEVEL_MAX HAX_NPT_LEVEL_PML4 #define HAX_NPT_TABLE_SHIFT 9 #d...
/*-------------------------------------------------------------------- * $Id$ * * This file is part of libRadtran. * Copyright (c) 1997-2012 by <NAME>, <NAME>, * <NAME>, <NAME> * * ######### Contact info: http://www.libradtran.org ######### * * This program is free software; you can...
/* * Xpost - a Level-2 Postscript interpreter * Copyright (C) 2013, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyri...
/* * Copyright (C) 2020 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms of this file, * with or without modification, are permitted. See the Creative * Commons Zero (CC0 1.0) License for more details. */ #include "spitfp.h" #include <stddef.h> #include <string.h> #include <stdio.h> #incl...
#include "aw.h" #include "awos.h" #include <android/log.h> #define ASSERT(e) ((e) ? (void)0 : report("%s:%d: ASSERTION FAILED: %s", __FILE__, __LINE__, #e)) void report(const char * fmt, ...) { va_list ap; va_start(ap, fmt); __android_log_vprint(ANDROID_LOG_ERROR, "aw", fmt, ap); va_end(ap); } static struct andr...
/* * 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...
/* bam_sample.c -- group data by sample. Copyright (C) 2010, 2011 Broad Institute. Copyright (C) 2013, 2016-2018 Genome Research Ltd. Author: <NAME> <<EMAIL>>, <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation file...
#include <glob.h> #include <libgen.h> #include <limits.h> #include <regex.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "INCL/opencl.h" #include <inaccel/runtime.h> struct mem_data { uint8_t m_type; // enum corresponding to mem_type. uint8_t m_used; // if 0 this bank is no...
/*=========================================================================== g3topbm ============================================================================= This program reads a Group 3 FAX file and produces a PBM image. <NAME> wrote this on August 5, 2004 and contributed it to ...
#include <stdio.h> #include <string.h> struct seat { char name[40]; unsigned short tel[10]; unsigned short arithm_seat; }; struct seatNode { struct seat st; struct seatNode * next; }; struct seat * seats; char * pin; int seats_number; struct seatNode *phead; struct seatNode...
/*----------------------------------------------------------------------------- alignments_slow \ author: <NAME>/<NAME> \ version: 5.1 (2014.08.12) \ year: 2014 ...
/* * Copyright (c) 2020, Renesas Electronics Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdint.h> #define RCAR_SA6_TYPE_QSPIFLASH (0) #define RCAR_SA6_TYPE_EMMC (1) #if (RCAR_SA6_TYPE == RCAR_SA6_TYPE_QSPIFLASH) /* Number of content cert for Non-secure Target Prog...
/****************************************************************************** * * IMD -- The ITAP Molecular Dynamics Program * * Copyright 1996-2012 Institute for Theoretical and Applied Physics, * University of Stuttgart, D-70550 Stuttgart * **************************************************************************...
#ifndef lint static char *rcsid = "$Header: lam7.c,v 1.9 87/12/14 18:48:02 sklower Exp $"; #endif /* -[Fri Aug 5 12:51:31 1983 by jkf]- * lam7.c $Locker: $ * lambda functions * * (c) copyright 1982, Regents of the University of California */ #include "global.h" #include <signal.h> lispval Lfork() ...
/* Balanced interleaving through multiple paths * Authors: <NAME>, <NAME> and <NAME> * Date: 22/01/2019 */ #include "bitmp.h" /* Global variables. */ memory *mem = NULL; // Memory pointer for the internal sort. FILE **tapes = NULL; // Tapes array available to the sorting. int recursions = 0; // Recursio...
/* $Id: mp3_writer.c 4483 2013-04-19 09:52:02Z ming $ */ /* * Copyright (C) 2003-2007 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or...
/* i1620_lp.c: IBM 1443 line printer simulator Copyright (c) 2002-2008, <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...
/* *Copyright 2018 <NAME> (@maccoylton) * * Shared functions used all accessories * */ #include <shared_functions.h> bool accessory_paired = false; TaskHandle_t task_stats_task_handle = NULL; TaskHandle_t wifi_check_interval_task_handle = NULL; ETSTimer save_timer; int power_cycle_count = 0; bool sntp_on = fal...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...