text
stringlengths
5.8k
28.2k
/* * (C) 2003-17 - ntop * * 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, distribut...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017-2020 NXP */ /* System headers */ #include <stdio.h> #include <inttypes.h> #include <unistd.h> #include <sys/types.h> #include <dpaa_ethdev.h> #include <dpaa_flow.h> #include <rte_dpaa_logs.h> #include <fmlib/fm_port_ext.h> #include <fmlib/fm_vsp_ext.h> #def...
#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...
/************************************************************************************************************* Copyright 2015-2019, Silicon Laboratories, 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 Li...
#ifndef lint static const char RCSid[] = "$Id: genbox.c,v 2.13 2021/04/15 23:51:04 greg Exp $"; #endif /* * genbox.c - generate a parallelepiped. * * 1/8/86 */ #include "rtio.h" #include "rtmath.h" #include "objutil.h" #include <stdlib.h> char *progname; int verbose = 0; char let[]="0123456789._ABCDE...
/* A C implementation of some dungeon generator, or at least an attempt. Based mainly on http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes (C)2019 <NAME>, UnSX Team. Released under the MIT license. */ #include <stdlib.h> #include <stdint.h> #include <string.h> #include <time.h> #include <SDL2/SDL.h> // ...
/* vim: tabstop=4 shiftwidth=4 noexpandtab * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2017 <NAME> */ #include <module.h> #include <logging.h> #include <printf.h> #include <pci.h> #include <mem.h> #include <list.h> #i...
bool x11_init(XRESOURCES* res, CFG* config){ Window root; XSetWindowAttributes window_attributes; unsigned width, height; Atom wm_state_fullscreen; int xdbe_major, xdbe_minor; XTextProperty window_name; pid_t pid = getpid(); //allocate some structures XSizeHints* size_hints = XAllocSizeHints(); XWMHints* wm_...
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> enum { MAX_SECTIONS = 16, NUM_DATA_DIRECTORIES = 16, IMPORT_DIRECTORY = 1, MAX_IMPORT_DESCRIPTORS = 64, MAX_SECTION_NAME = 8, MAX_DLL_NAME = 128 }; enum { OK, ERR_CANT_OPEN, ERR_CANT_READ, ERR_BLACK_MAGIC, ...
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 2013 Free Software Foundation, Inc. * * GRUB 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 * (...
#include <stdint.h> #define one_arg_fn_int(name) \ void BMAS_s##name(const long n, \ float* x, const long incx, \ long* out, const long inc_out); \ void BMAS_d##name(const long n, \ double* x...
/* See LICENSE file */ #include <ctype.h> #include <curses.h> #include <errno.h> #include <locale.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <utf.h> #include "util.h" /* macros */ #define ISBS(c) (c == 127) #define ISESC(c) (c == 27) #define CURLINE getcury(stdscr) /* o...
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 2010 Free Software Foundation, Inc. * * GRUB 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...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* ################################################################################ # # r8101 is the Linux device driver released for Realtek Fast Ethernet # controllers with PCI-Express interface. # # Copyright(c) 2013 Realtek Semiconductor Corp. All rights reserved. # # This program is free software; you can redistri...
/********************************************************************** * * PostGIS - Spatial Types for PostgreSQL * Copyright 2011 <NAME> <<EMAIL>> * * This is free software; you can redistribute and/or modify it under * the terms of the GNU General Public Licence. See the COPYING file. * *********************...
/** * Copyright (c) 2015 Google 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 list of conditions an...
/* <NAME> (a2gs) * <EMAIL> * * PAINEL * * Apache License 2.0 * */ /* select_html.c * Creates a HTML report to a given User Level (office responsibility) * * Who | When | What * --------+------------+---------------------------- * a2gs | 13/08/2018 | Creation * | | */ ...
/*- * Copyright (c) 2014-2016 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
/* ChibiOS SDC low-level driver for BCM2835 eMMC peripheral * * <NAME>, 2017 * * References: * https://github.com/raspberrypi/linux/blob/rpi-4.9.y/drivers/mmc/host/sdhci.h * https://github.com/jncronin/rpi-boot/blob/master/emmc.c * Broadcom BCM2835 Peripherals Guide */ #include "ch.h" #includ...
/* * * * Copyright 2016 by the Trustees of Dartmouth College and Clemson University, * and * distributed under the terms of the "Dartmouth College Non-Exclusive Research * Use * Source Code License Agreement" (for NON-COMMERCIAL research purposes only), * as * detailed in a file named LICENSE.pdf within this re...
/** @file oyranos_color.c * * Oyranos is an open source Color Management System * * @par Copyright: * 2008-2019 (C) <NAME> * * @internal * @brief misc color APIs * @author <NAME> <<EMAIL>> * @par License: * new BSD <http://www.opensource.org/licenses/BSD-3-Clause> * @since...
int addfile(File*); void addfnptrs(Decl*, int); void addiface(Decl*, Decl*); void addinclude(char*); char *addrprint(char*, char*, int, Addr*); Typelist *addtype(Type*, Typelist*); Node *adtdecl(Decl *ids, Node *fields); void adtdecled(Node *n); void adtdefd(Type*); Decl *adtmeths(Type*); void adtstub(Decl*); long alig...
/* * ESPRESSIF MIT License * * Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to dea...
/* * Copyright (c) 2011-2012, 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 ...
/* Dipole.c */ /********************************************************************************************************** Copyright (c) 2002-2013 <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 Gabedit), ...
/* * Copyright (c) 2003-2014 <NAME> * Copyright (c) 2003-2006 <NAME> * Copyright (c) 2005-2007 Josef '<NAME> * Copyright (c) 2005-2006 <NAME> * Copyright (c) 2005 <NAME> * Copyright (c) 2004-2006 <NAME> * Copyright (c) 2003-2004 <NAME> * Copyright (c) 2003 <NAME> * Copyright (c) 2003 <NAME> * C...
/* =============================================== * pipebm.c * synthetic phased workload benchmark * maintainer: <EMAIL> * =============================================== */ #undef LOCAL_DEBUG #ifndef LOCAL_DEBUG #include <linux/config.h> #include <linux/version.h> #include <linux/module.h> #if defined(MODVERSION...
/*------------------------------------------------------------------------- * * split.c * Routines for implementation of splitting B-tree page. * * Copyright (c) 2021-2022, Oriole DB Inc. * * IDENTIFICATION * contrib/orioledb/src/btree/split.c * *------------------------------------------------------------...
/* update-game-score.c --- Update a score file Copyright (C) 2002-2015 Free Software Foundation, Inc. Author: <NAME> <<EMAIL>> This file is part of GNU Emacs. GNU Emacs 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 Foun...
/* * Copyright (c) 2009-2015 <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, publis...
/************************************************************************** * * Copyright 2008 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")...
/** * Enhanced Seccomp PPC64 Specific Code * * Copyright (c) 2014 Red Hat <<EMAIL>> * Author: <NAME> <<EMAIL>> * */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of version 2.1 of the GNU Lesser General Public License as * published by the Free Software Foundat...
/* tz_locseg_chain.c * * 06-May-2008 Initial write: <NAME> */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "tz_trace_utils.h" #include "tz_locseg_chain_exp.h" #include "tz_math.h" Pixel_Feature* Get_Pixel_Feature(double pos[3], const Stack *stack, const Trace_Workspace *tw) { int x = irou...
/* * GStreamer * Copyright (C) 2009 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. *...
/* $NetBSD: bmd.c,v 1.3 2003/09/07 04:24:05 isaki Exp $ */ /* * 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 th...
#include <math.h> #include <stdlib.h> #include <stdio.h> #include "betray.h" #include "seduce.h" #include "testify.h" #include "s_draw_3d.h" #include "c_internal.h" extern float c_editor_popup_animation_get(); extern void confuse_point_editor_set(CEntity *entity, uint param); uint c_editor_type_overlay = -1; uint c_e...
/****************************************************************************** Copyright (c) 1992, 1995, 1996 Xerox Corporation. All rights reserved. Portions of this code were written by <NAME>, aka ghond. Use and copying of this software and preparation of derivative works based upon this software are permi...
/* * 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, distribute, sublicense, and/or s...
/** * Copyright (c) 2018, Nordic Semiconductor ASA * * 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 * ...
/* * security.c * * Created on: Mar 17, 2017 * Created by: <NAME> <<EMAIL>> * * One MMT-Probe worker thread will create n security thread by calling security_worker_alloc_init. * Number of security thread is designed by config->threads_size when passing to the function above. * * +--------+ +------...
//<NAME> /* Game of Life */ #include <stdio.h> #include <stdlib.h> #include "twoD.h" /** * Translates the x's in the given grid by a given x and y amount and puts the new board onto * the new grid parameter * @param rows The number of rows the grids have * @param The number of columns the grids have * @param xN...
/* $NetBSD: kdigest.c,v 1.1.1.2 2014/04/24 12:45:28 pettai Exp $ */ /* * Copyright (c) 2006 - 2007 <NAME> * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
/***************************************************************************** * demux_rtp.c * this file is part of https://github.com/ouistiti-project/putv ***************************************************************************** * Copyright (C) 2016-2017 * * Authors: <NAME> <<EMAIL>> * * Permission is her...
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> // No headers? Are you serious?! #define MAIN #include "state.c" #include "dict.c" #include "node.c" // Where's the makefile? Oh, you gotta be kidding me. // gcc -std=gnu99 -Wall -O3 solver.c -o solver; solver 4 4 #define PRISONER_VA...
/* * 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...
// crcpp.rl - a simple CRC-32 macro inserter for C++ or other CPP-preprocessed languages // Future improvements: // Support string concatenation with quote-quote (right now only backslashed newlines are supported). // Handle too-long-line error (but for now the line length is long enough there will be no problem...
#include<stdio.h> #include<string.h> #include<stddef.h> #include<stdbool.h> #include"EventSystem.h" #include"Includes.h" /* Includes.h is a file for including Lua header files */ /* Connection system for Lua 5.4 */ #define E_CONNECTION_NAME "Connection" /* Connection uses 3 bools to store its state, a pointer for a str...
typedef unsigned __int8 u8; typedef unsigned __int16 u16; typedef unsigned __int32 u32; typedef unsigned __int64 u64; typedef __int8 s8; typedef __int16 s16; typedef __int32 s32; typedef __int64 s64; typedef __int32 size_t; typedef void * (*SifRpcFunc_t)(int fno, void *buffer, int length); typedef void (*SifRpcEndFu...
//Secure Hash Standard Link for references https://www.nist.gov/publications/secure-hash-standard //Student Name: <NAME> Student No: G00340138 #include <stdio.h> #include <stdint.h> #include <stdlib.h> // Adapted from // https://stackoverflow.com/questions/2182002/convert-big-endian-to-little-endian-in-c-without-usi...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <amqp.h> #include <amqp_tcp_socket.h> #include <pthread.h> #include <syslog.h> #include <sys/epoll.h> #include <zconf.h> #include <pwd.h> #include <limits.h> #include "list.h" #include "confread.h" #include "utils.h" #include "apue...
#include <math.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <pthread.h> #include "game.h" #include "ui.h" #include "map.h" #include "debug.h" #include "camera.h" #include "player.h" #include "drawing.h" #include "terminal.h" #include "saved_games.h" #d...
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <unistd.h> #include <memory.h> #include <sys/time.h> #include "../include/chine.h" extern int32_t chine_unix_sys(chine_t* mp, int32_t sysop, int32_t* revarg, int32_t* npop, int32_t* value); int32_t test_code_pop(uint8_t* prog, size...
#include "lexer.h" #include <stdio.h> #include <stdbool.h> #include <string.h> #include <assert.h> void lexer_init(Lexer *lexer, const char *source) { lexer->source = source; lexer->start = source; lexer->current = source; lexer->line = 1; lexer->column = 0; } void lexer_reset(Lexer *lexer) { ...
/* stm32flash - Open Source ST STM32 flash program for *nix Copyright (C) 2010 <NAME> <<EMAIL>> ..Copyright (C) 2011 <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 ...
#include <stdio.h> #include <stdlib.h> // Initial Permutation int IP[64] = { 57, 49, 41, 33, 25, 17, 9, 1, 59, 51, 43, 35, 27, 19, 11, 3, 61, 53, 45, 37, 29, 21, 13, 5, 63, 55, 47, 39, 31, 23, 15, 7, 56, 48, 40, 32, 24, 16, 8, 0, 58, 50, 42, 34, 26, 18, 10, 2, 60, 52, 44, 36, 28, 20...
// Generic parser support in C. Public domain. #include "parser.h" #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> // The maximum number of bytes allowed to be allocated during a single action. enum { MAX = 120 }; // A type for values pushed on the output stack, where R is a store-relat...
/* $Id: ml_SN_intr.c,v 1.1 2002/02/28 17:31:25 marcelo Exp $ * * 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) 1992-1997, 2000-2003 Silicon Graphics, Inc. All Rights Reserve...
/* * Copyright (c) 2014 Intel Corporation, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this s...
/* smime-qry.c - Get string representations of various certificate parameters * * Copyright (c) 1999 <NAME> <<EMAIL>>, All Rights Reserved. * License: This software may be distributed under the same license * terms as openssl (i.e. free, but mandatory attribution). * * 27.9.1999, Created. --Sampo * 30...
/** * This is taken out of OPENSSL. I removed most of al preprocessor * stuff and cleaned this a bit up. All credits goes there! */ #include <stdlib.h> #include <string.h> #include "sha1.h" #include "sha1defines.h" #define SHA_LONG unsigned int #define SHA_LBLOCK 16 #define SHA_CBLOCK (SHA_LBLOCK*4)/* SH...
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <assert.h> #include "sam.h" typedef struct __linkbuf_t { bam1_t b; uint32_t beg, end; struct __linkbuf_t *next; } lbnode_t; /* --- BEGIN: Memory pool */ typedef struct { int cnt, n, max; lbnode_t **buf; } mempool_t; static mempool_t *mp_init() ...
/*------------------------------------------------------------------------- * * genam.c * general index access method routines * * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/backend...
/* Copyright (c) 2015-2017, 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 of cond...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#include "geometry.h" void free_sources(source_t *sources) { source_t *src, *tmp; src = sources; while(src != NULL){ tmp = src->next; if(src->id != NULL) xmlFree(src->id); if(src->array != NULL){ if(src->array->id != NULL) xmlFree(src->array->id); if(src->array->count != NULL) ...
/* Copyright 2004,2007-2010,2012,2014,2018,2019 Universite de Bordeaux, INRIA & CNRS ** ** This file is part of the Scotch software package for static mapping, ** graph partitioning and sparse matrix ordering. ** ** This software is governed by the CeCILL-C license under French law ** and abiding by the rules of distri...
#include "loadSaveGameScreen.h" #include <SDL_stdinc.h> #include "../savegame.h" #include "blackMarketScreen.h" #include "util/menus.h" #include "../imageUtil.h" #include "../config.h" #include "../defs.h" #include "../drivers.h" #include "../dr.h" #include "../graphics.h" #include "util/input.h" #include "util/popup.h...
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited */ #include <stdlib.h> #include <string.h> #include "iot_import.h" #include "iotx_log.h" #include "iot_infra.h" #include "utils_sha256.h" /* Shift-right (used in SHA-256, SHA-384, and SHA-512): */ #define R(b,x) ((x) >> (b)) /* 32-bit Rotate-right (u...
#include <stdarg.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #define _LIBCPP_HAS_MERGED_TYPEINFO_NAMES_DEFAULT 1 #define _LIBCPP_DEBUG_LEVEL 0 #define __STDCPP_THREADS__ 1 typedef struct Nonce_l { uint32_t nonce[4]; } Nonce_l; typedef struct RevLock_l { uint32_t revlock[8]; } RevLock_l; ty...
/* * Copyright 2019 University of Washington, Max Planck Institute for * Software Systems, and The University of Texas at Austin * * 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 withou...
/* * <NAME>, DENX Software Engineering, <EMAIL>. * based on: * FIPS-180-1 compliant SHA-1 implementation * * Copyright (C) 2003-2006 <NAME> * * This library 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 published ...
/* Copyright (c) 2008-2011 Octasic Inc. Written by <NAME> */ /* 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 conditio...
/* go-signal.c -- signal handling for Go. Copyright 2009 The Go 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 <signal.h> #include <stdlib.h> #include <unistd.h> #include <sys/time.h> #include <ucontext.h> #include...
#define __USE_MINGW_ANSI_STDIO 1 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include "umka_vm.h" #include "umka_types.h" #include "umka_ident.h" static const char *spelling [] = { "none", "forward", "void", "null", "int8", "int16", ...
/* i1620_tty.c: IBM 1620 typewriter 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 rig...
/***************************************************************************** * * * File: espi.c * * $Revision: #1 $ * * $Da...
/* * Copyright (c) 2005-2017 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
/* * Copyright (C) 2018 ETH Zurich and University of Bologna * * 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...
/* $Id$ */ /* * Copyright (c) 2004-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, th...
/* * Copyright 1996-2020 Cyberbotics Ltd. * * 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 ...
/** * * Set Heap Size in ldscript.ld to 0x1000000 (16MB) * */ #include "xanomaly_detector_axi.h" /* accelerator */ #include "stdio.h" /* printf */ #include "unistd.h" /* sleep */ #include "stdlib.h" #include "malloc.h" #include "xil_io.h" /* peripheral read/write wrappers */ #include "xtime_l.h" ...
/* * Copyright 2007 <NAME> * Copyright 2007 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * ...
/* * %CopyrightBegin% * * Copyright Ericsson AB 2004-2016. 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 * ...
/* * ATI Mach64 Hardware Acceleration */ #include <linux/delay.h> #include <asm/unaligned.h> #include <linux/fb.h> #include <video/mach64.h> #include "atyfb.h" /* * Generic Mach64 routines */ /* this is for DMA GUI engine! work in progress */ typedef struct { u32 frame_buf_offset; u32 system_mem...
// SPDX-License-Identifier: GPL-2.0 /* * xapic_ipi_test * * Copyright (C) 2020, Google LLC. * * This work is licensed under the terms of the GNU GPL, version 2. * * Test that when the APIC is in xAPIC mode, a vCPU can send an IPI to wake * another vCPU that is halted when KVM's backing page for the APIC access ...
#include <curl/curl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <jansson.h> #define V_HTTP 1 #define V_PROFILE 1 #define V_APP 1 #define V_INSECURE 1 #define V_MAX_APPNAME 256 #define V_URL_BASE "https://api.test.vements.io" #define V_URL_MAX 2048 #define V_AUTH_USERNAME "7...
/* $OpenBSD: prcm.c,v 1.5 2011/03/14 15:16:46 jasper Exp $ */ /* * Copyright (c) 2007,2009 <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 ...
/* crypto/ec/ec_lcl.h */ /* * Originally written by <NAME> for the OpenSSL project. */ /* ==================================================================== * Copyright (c) 1998-2010 The OpenSSL Project. All rights reserved. * * ==================================================================== * * This pro...
/* * eat_example_psa.c * * Copyright 2019-2020, <NAME> * * SPDX-License-Identifier: BSD-3-Clause * * See BSD-3-Clause license in README.md */ /** * \file t_cose_basic_example_psa.c * * \brief Example code for signing and verifying a COSE_Sign1 message using PSA * * This file has simple code to sign a pa...
/* * Copyright (C) 2009-2010 <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 use, cop...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2015 STMicroelectronics * * Redistribution and use in ...
#include "ultra.h" #include "elf/elf.h" #include "common/bug.h" #include "common/cpuid.h" #include "common/helpers.h" #include "common/constants.h" #include "common/format.h" #include "common/log.h" #include "filesystem/filesystem_table.h" #include "allocator.h" #include "virtual_memory.h" #include "handover.h" struct...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <assert.h> #include <malloc.h> #include <myst/elf.h> #include <myst/eraise.h> #include <myst/round.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> static int _compare_segments(const void* s1, const void* s2) { con...
/*============================================================================ FILE MIFsetup.c MEMBER OF process XSPICE Copyright 1991 Georgia Tech Research Corporation Atlanta, Georgia 30332 All Rights Reserved PROJECT A-8503 AUTHORS 9/12/91 <NAME> MODIFICATIONS <date> <person name> <nature of modif...
/* Extended Module Player * Copyright (C) 1996-2018 <NAME> and <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...
/* * This file is part of GNUnet * Copyright (C) 2013 GNUnet e.V. * * GNUnet 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, or (at your * option) any later version. * * GNUnet is di...
/** * @file input.c * @brief Parse command line options and read retart files. * @author <NAME> <<EMAIL>> * * @section LICENSE * Copyright (c) 2011 <NAME>, <NAME> * * This file is part of rebound. * * rebound is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
/************************************************************ Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all ...