text
stringlengths
7.55k
41.9k
/* * Seeking and index-related functions * Copyright (c) 2000, 2001, 2002 <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...
/* display test * * this is meant to be a low level test of the vector display!!! */ #include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #include <SDL2/SDL.h> #include <hashbrown/display/display.h> #define WIDTH 480 #define HEIGHT 360 #define REALTIME false #define FPS 60 /* non real...
/***************************************************************************** Filename: g2100.c Description: Driver for the ZeroG Wireless G2100 series devices ***************************************************************************** Driver for the WiShield 1.0 wireless devices Copyright(c) 2009 Asy...
/* Copyright (C) 1998 <NAME> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope t...
/* * Copyright (c) 2004-2010, <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 copyright notice, * this list ...
/* * Copyright (c) 2018, SICS, RISE AB * 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 condi...
// TODO: Test the flag support. // TODO: Get the 16-bits arithmetic done. /* * VICERA by h34ting4ppliance * * cpu.c * * This is the CPU emulation of the Vicera. * This contains all the instructions and their behavior. */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include "cpu.h" #include "logging...
/* * hi_faac.c * * Created on: May 14, 2014 * Author: root */ //============================================================================ // Name : test.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //==================...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <omp.h> //proyek akhir //dibuat oleh semua sebagai Linked List untuk setiap meja pada restoran struct meja{ char nama[30]; //meja atas nama int nomor_meja; struct meja *next; }; //dibuat oleh semua sebagai Linked List untuk total peng...
/* * This code is part of the tng binary trajectory format. * * Copyright (c) 2010,2013, The GROMACS development team. * Copyright (c) 2020, by the GROMACS development team. * TNG was orginally written by <NAME>, <NAME> and * <NAME>. The API is implemented mainly by <NAME>, * <NAME> and <NAME>. * * Please see ...
// SPDX-License-Identifier: GPL-2.0 /* * Key setup facility for FS encryption support. * * Copyright (C) 2015, Google, Inc. * * Originally written by <NAME>, <NAME>, and <NAME>. * Heavily modified since then. */ #include <crypto/skcipher.h> #include <linux/key.h> #include <linux/random.h> #include "fscrypt_pri...
/* * ed.init.c: Editor initializations */ /*- * Copyright (c) 1980, 1991 The Regents of the University of California. * 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. Redistribution...
/* * MIT License * * Copyright (c) 2016-2017 Kalray * * 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, modi...
/* Copyright 2013-present Barefoot Networks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
#include "jkGUIMultiplayer.h" #include "General/stdBitmap.h" #include "General/stdFont.h" #include "Engine/rdMaterial.h" // TODO move stdVBuffer #include "Engine/sithMulti.h" #include "stdPlatform.h" #include "jk.h" #include "Gui/jkGUIRend.h" #include "Gui/jkGUI.h" #include "Gui/jkGUIBuildMulti.h" #include "Gui/jkGUIN...
/* BFD support for the ARM processor Copyright (C) 1994-2020 Free Software Foundation, Inc. Contributed by <NAME> (<EMAIL>) This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
/* * Copyright (c) 1999 <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 of con...
#include <time.h> #include <errno.h> #include <fcntl.h> #include <netdb.h> #include <stdio.h> #include <libgen.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdbool.h> #include <sys/stat.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <lin...
// 0x07009740 - 0x07009820 static const Vtx thi_seg7_vertex_07009740[] = { {{{ -101, 3482, 102}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}}, {{{ -101, 3482, -101}, 0, { 1398, -168}, {0x00, 0x00, 0x00, 0xff}}}, {{{ 102, 3482, -101}, 0, { 1262, -168}, {0x00, 0x00, 0x00, 0xff}}}, ...
/* * Copyright (C) 2017 <NAME>. All Rights Reserved. * * Disclaimer * * Common: * Bosch Sensortec products are developed for the consumer goods industry. They may only be used * within the parameters of the respective valid product data sheet. Bosch Sensortec products are * provided with the express understand...
/* test_crc32.c -- crc32 unit test * Copyright (C) 2019-2021 IBM Corporation * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * For conditions of distribution and use, see copyright notice in zlib.h */ #include "zbuild.h" #ifdef ZLIB_COMPAT # include "zlib.h" #else # include "zlib-ng.h" #endif #inclu...
/* The authors of this software are <NAME> and <NAME>. * Copyright (c) 2002 by Lucent Technologies. * Permission to use, copy, modify, and distribute this software for any * purpose without fee is hereby granted, provided that this entire notice * is included in all copies of any software which is or includes a...
#include "mfu.h" #include "mpi.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <errno.h> /* initialize fields in param */ static void mfu_param_path_init(mfu_param_path* param) { /* initialize all fields */ if (param != NULL) { param->orig = NULL; par...
/* * Copyright (c) 2014 <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, dis...
/* * File: linearInputBus.c * * * --- THIS FILE GENERATED BY S-FUNCTION BUILDER: 3.0 --- * * This file is an S-function produced by the S-Function * Builder which only recognizes certain fields. Changes made * outside these fields will be lost the next time the block is * used to loa...
/* 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 may not...
/** * MIT License * * Copyright (c) 2017 * <NAME>, <NAME>, <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 right...
/* -*- C -*- * * 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 and The University * of Te...
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc. See the COPYRIGHT file for more information. */ #include "ocinternal.h" #include "ocdebug.h" static const unsigned int MAX_UINT = 0xffffffff; static int mergedas1(OCnode* dds, OCnode* das); static int converttype(OCtype etype, char* value, char* memory); static ch...
/****************************************************************************/ /* */ /* Copyright (C) 1991-2000, all rights reserved */ /* <NAME>, <NAME>, and <NAME> */ /* See file "README" f...
/* -------------------------------------------------------------------------- */ /* --- DEPENDANCIES --------------------------------------------------------- */ #include <pthread.h> #include <assert.h> #include <math.h> #include "jitqueue.h" /* -----------------------------------------------------------------------...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include "display.h" #include <SDL2/SDL.h> #include <math.h> #define BOARD_SIZE 30 #define ROW_SIZE 25 #define COLUMN_SIZE 25 #define WIDTH 600 #define HEIGHT 600 #define CDIM 20 //cell dimension is CDIM * CDIM #define FILENAME "main.c" #d...
#ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #include <time.h> static time_t epoch; /* epoch timestamp (be same for Station A & B) */ #ifdef _WIN32 /* for Windows Visual Studio */ #include <winsock.h> #include <io.h> #include <stdio.h> #include <sys/types.h> #include <sys/timeb.h> #include...
/** \file timer1.c \author <NAME> \date 2013-11-22 \version 0.1 \brief implementation of TIM1 functions/macros (PWM channel) implementation of timer TIM1 functions for generating and measuring PWM signals, receiving SENT protocol etc. */ /*--------------------------------------...
/******************************************************************************* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ /** * @date 03/23/2020 * @brief Internal HW API functions for @ref hw_descriptor...
/***************************************************************************/ /* Name: compute_weights_mex.c */ /* Description: */ /* Date: 08-09-06 */ /* Auth...
/* * filterkit.c (library "filterkit.a"): Kaiser-windowed low-pass filter support. */ /* filterkit.c * * LpFilter() - Calculates the filter coeffs for a Kaiser-windowed low-pass * filter with a given roll-off frequency. These coeffs * are stored into a array of doubles. * wr...
/* * This work is part of the Core Imaging Library developed by * Visual Analytics and Imaging System Group of the Science Technology * Facilities Council, STFC * * Copyright 2017 <NAME> * Copyright 2017 <NAME>, <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <unistd.h> #include <string.h> #include <dirent.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <signal.h> #define PATH_MAX 1024 #define ULL unsigned long long /* ASSOC: this is needed */ /*struct ptrlist;*/ struct mfli...
/* * Copyright (C) <NAME> (Pull) * Copyright (C) 2017-2018 Alibaba Group Holding Limited */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_stream.h> #include "ngx_multi_upstream_module.h" #include "ngx_stream_multi_upstream_module.h" typedef struct { ngx_uint_t max_...
// libmylcd - http://mylcd.sourceforge.net/ // An LCD framebuffer library // <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 Software Foundat...
/* ** Copyright 2007-2018 RTE ** Author: <NAME> ** ** This file is part of Sirius_Solver. ** This program and the accompanying materials are made available under the ** terms of the Eclipse Public License 2.0 which is available at ** http://www.eclipse.org/legal/epl-2.0. ** ** This Source Code may also be made availabl...
/* * Copyright (c) 2013-2014, ARM Limited and Contributors. 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 * l...
#include "shmht.h" #include "shmht_sem.h" #include "shmht_private.h" #include "shmht_debug.h" #include <limits.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> #include <sys/time.h> #include <assert.h> #...
// 0x0701A0F0 - 0x0701A108 static const Lights1 bbh_seg7_lights_0701A0F0 = gdSPDefLights1( 0x20, 0x20, 0x20, 0x50, 0x50, 0x50, 0x28, 0x28, 0x28 ); // 0x0701A108 - 0x0701A120 static const Lights1 bbh_seg7_lights_0701A108 = gdSPDefLights1( 0x66, 0x66, 0x66, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x070...
/*============================================================================== Name : startup_stm32h743xx.c Version : 1.0.0 Description : An independent startup code for STM32H7 MCUs written in C -------------------------------------------------------------------------------- The MIT License (MIT) Co...
#include <types.h> #include <string.h> #include <math.h> #include <kernel/panic.h> #include <kernel/kprintf.h> #include <kernel/list.h> #include <kernel/mm/slab.h> #include <kernel/mm/virtual_pages.h> #include <kernel/mm/physical_pages.h> #include <x86/paging.h> static Objs_cache *caches_clist = NULL; static Objs_...
#include <stddef.h> #include "otp.h" #include "psram_platform.h" #include "rtl876x_lib_platform.h" #include "rtl876x.h" #include "rtl876x_rcc.h" #include "rtl876x_pinmux.h" #include "rtl876x_gdma.h" #include "rtl876x_spic.h" #include "flash_device.h" #include "trace.h" #include "platform_utils.h" #define PSRAM_MAGIC_P...
/*- * main.c * This file is part of methabot * * Copyright (c) 2008, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * ...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* */ #include "starsprog.h" extern FILE *resfile; extern float *cc,*ss; ...
/* * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). * parse.c: The message parser. * * Copyright (C) 2002 by the past and present ircd coders, and others. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
/*------------------------------------------------------------------------- * * copy.c-- * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.17.2.1 1996/12/14 04:55:52 vadim Exp $ * *---------------------------------...
#include "decompress.h" #include <pthread.h> FILE *fastq_=NULL,*meta_=NULL,*qs_=NULL,*ref_g_=NULL; FILE *pos_=NULL,*cigar_=NULL,*add_=NULL,*cor_=NULL; FILE *base_=NULL,*meta_data=NULL,*qscore=NULL; char de_fastq_name[500]={'\0'},qscore_name[500]={'\0'}; char meta_name_[500]={'\0'},qs_name_[500]={'\0'}; char pos_name_[...
#include <stdio.h> #include <stdlib.h> #include <mpi.h> #include "graphs/dynarray.h" #include "graphs/graph.h" #define D 5 #define MAX_DISTANCE 1000 #define TRUE 1 #define FALSE 0 // return true if vertex belongs to processor with id world rand; int vertex_is_mine(int vertex, int world_rank, int world_size, int numbe...
/*- * Copyright (c) 2018 <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 * notice, this list of conditions and the followi...
/* * Copyright (C) 2019-2021 Data Ductus AB * * 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 and the following disc...
/* * Acess2 Kernel (x86) * - By <NAME> (thePowersGang) * * vm8086.c * - Virtual 8086 Mode Monitor */ #define DEBUG 0 #include <acess.h> #include <vm8086.h> #include <modules.h> #include <hal_proc.h> #include <semaphore.h> // === CONSTANTS === #define TRACE_EMU 0 #define VM8086_USER_BASE 0x1000 #define VM8086_M...
// https://tools.ietf.org/html/rfc2929#page-2 // http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6 #include <stdlib.h> #include <string.h> #include <types.h> #include <stdio.h> #include "xpl.h" #include "linkseq.h" #include "sockets.h" #include "dns.h" #include "hmem.h" #include "deb...
#include <string.h> #include "esp_heap_caps.h" #include "dgx_screen.h" #include "drivers/ssd1306.h" // Following definitions are bollowed from // http://robotcantalk.blogspot.com/2015/03/interfacing-arduino-with-ssd1306-driven.html // SLA (0x3C) + WRITE_MODE (0x00) = 0x78 (0b01111000) #define SSD1306_I2C_ADDRESS 0...
#include <math.h> #include <omp.h> #include <stdio.h> #include <stdlib.h> #include "list.h" #include "BlockCorr.h" // compute pearson correlation coefficient between time series at positions i1 and i2 in d (of length l) // NOTE: result may be nan, if the variance of any of the time series is zero, or if // any of the...
/* $Id: ncbi_lbsm.c 378027 2012-10-17 18:48:13Z rafanovi $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work...
/* * Copyright (C) 2005 to 2013 by <NAME> * email: <EMAIL> * Copyright (C) 2015-2016 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at yo...
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
/* * Copyright (c) 2013, 2014, University of Washington, 2017 ETH Zürich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group....
#include "libmodplug.h" #pragma pack(1) typedef struct _MT2FILEHEADER { DWORD dwMT20; // 0x3032544D "MT20" DWORD dwSpecial; WORD wVersion; CHAR szTrackerName[32]; // "MadTracker 2.0" CHAR szSongName[64]; WORD nOrders; WORD wRestart; WORD wPatterns; WORD wChannels; WORD wSamplesPerTick; BYTE bTicksPerLine;...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <mpi.h> #include <unistd.h> #include <sys/time.h> #include <ctype.h> #include "common.h" //#define DEBUG #define ERROR (0.00001f) #define ALPHA (0.85f) void ReadMatrix(char *filename,int *dimension, int *num_entry, ...
// ps2mouse.c // ps/2 mouse support. // ring0, kernel base. // Created by <NAME>. /* #todo enable mouse? See: temple os if (*0x40E(U16 *) == 0x9FC0) { _b = 0x9FC00 + 0x30; *_b = 1; } */ #include <kernel.h> // Screen width and height extern unsigned long SavedX; extern unsigned ...
/* SPDX-License-Identifier: BSD-2 */ /******************************************************************************* * Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG * All rights reserved. ******************************************************************************/ #include "tss2_mu.h...
/////////////////////////////////////////////////////////////////////////////// // /// \file args.c /// \brief Argument parsing /// /// \note Filter-specific options parsing is in options.c. // // Author: <NAME> // // This file has been put into the public domain. // You can do whatever you want...
/* * Copyright (C) 2005 - 2011 Emulex * 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 * as published by the Free Software Foundation. The full GNU General * Public License is included in this distrib...
/* Mixture Dirichlet priors for profile HMMs. * * * SRE, Sat Mar 24 09:12:44 2007 [Janelia] * SVN $Id: p7_prior.c 4102 2012-06-24 02:06:57Z wheelert $ */ #include "p7_config.h" #include "easel.h" #include "esl_alphabet.h" #include "esl_vectorops.h" #include "hmmer.h" /* Function: p7_prior_CreateAmino() * ...
/* Code modified from signify in OpenBSD. Relevant license text: */ /* $OpenBSD: signify.c,v 1.100 2015/01/16 06:16:12 tedu Exp $ */ /* * Copyright (c) 2013 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the ...
/* * linux/fs/lockd/svclock.c * * Handling of server-side locks, mostly of the blocked variety. * This is the ugliest part of lockd because we tread on very thin ice. * GRANT and CANCEL calls may get stuck, meet in mid-flight, etc. * IMNSHO introducing the grant callback into the NLM protocol was one * of the wo...
/* * Copyright 2015 The SageTV Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/krb/t_ser.c - Test serialization */ /* * Copyright 1995 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United S...
#include "types.h" #include "memory.h" #include "io.h" #include "irq.h" #include "video.h" #include "dma.h" #include "timer.h" #include "audio.h" #include "systemcall.h" #include "flappy_background.h" #include "flappy_foreground.h" #include "flappy_sprites.h" #include <string.h> #include <stdlib.h> #define min(a, b)...
#include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX(A, B) ((A) > (B) ? (A) : (B)) #ifdef _MSC_VER #define ANSILIBS #define casecmp stricmp #else #define casecmp strcasecmp #endif int nmodels = 32; struct stressdef { char *name; /* rhythm designator */ char *meter; int nseg; /* number of...
/* $OpenBSD: cmd_hppa64.c,v 1.4 2010/12/06 22:51:45 jasper 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 mus...
/* * ________________________________________________________________________________________________________ * Copyright (c) 2015-2015 InvenSense Inc. All rights reserved. * * This software, related documentation and any modifications thereto (collectively “Software”) is subject * to InvenSense and its licensors'...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program 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 Foundation. This program is distributed in the hope tha...
//Crab statements extern int __CRAB_nd(); extern void __CRAB_assert(int); extern void __CRAB_assume(int); extern void __CRAB_intrinsic_logger(int); extern void __CRAB_intrinsic_access_map(int, int, int); extern void __CRAB_intrinsic_get_wall_distance(int, int, int, int, int, int, int); extern void __CRAB_intrinsic_get_...
#include <net/if_arp.h> #include <netpacket/packet.h> #include <sys/ioctl.h> #include <netinet/in.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <netinet/in.h> #include <string.h> #include <signal.h> #include <time.h> #include <syslog.h> #include <stdarg.h> #include <sys/types.h> #include <sy...
/* * Made after: * CVDump - Parses through a Visual Studio .DBG file in CodeView 4 format * and dumps the info to STDOUT in a human-readable format * * Copyright 2000 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
#undef VERBOSE #include <stdio.h> #include <math.h> #include "odinscan.h" #include "odinlib.h" #include "astrolib.h" #include "attlib.h" #include "vector.h" #define POINTLIMIT 60 /* 60 arcsec */ #define SUNLIMIT (30.0/60.0/180.0*PI) /* 30 arcmin */ #define MOONLIMIT (30.0/60.0/180.0*P...
#define _GNU_SOURCE #include "sandbox.h" #include <unistd.h> #include <sys/wait.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ptrace.h> #include <sys/reg.h> #include <sys/mman.h> #include <sys/time.h> #include <sys/resource.h> #include <asm-generic/resource.h> #include <seccomp.h> #include <errno.h> #i...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <ctype.h> #include <fcntl.h> #include <signal.h> #include <sys/stat.h> #include <curses.h> #include <time.h> #undef reg #include "sim.h" #include "unasm.h" #include "display.h" #include "functions.h" #include "util.h" Word iMem[NUM...
/* * libzultra.c - optimal zlib compression library definitions * * Copyright (C) 2019 <NAME> * * 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 grante...
/* * influx-writer.c * * Created on: Aug 30, 2020 * Author: <NAME> */ #define _POSIX_C_SOURCE 200809L #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdbool.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <stdarg.h> #include <li...
/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ /* ...
// This file is part of Deark. // Copyright (C) 2016 <NAME> // See the file COPYING for terms of use. // PaintShop Pro Browser Cache (JBF) (pspbrwse.jbf) // This module was developed with the help of information from // jbfinspect.c (https://github.com/0x09/jbfinspect), which says: // "The author disclaims all co...
/* * 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...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <sys/fcntl.h> #include <unistd.h> #include <string.h> #include <MsgDialog.h> #include "Header.h" #include <ps4sdk.h> #include <errno.h> int ret; int libnetMemId = 0; int libsslCtxId = 0; int libhttpCtxId = 0; in...
/* * Interactive configuration of blusb controller. * * (c) 2019 <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 abov...
/* KallistiOS ##version## 2ndmix.c (c)2000-2002 <NAME> */ /* The good ol' 2ndmix example that just won't die ^_^ This is probably the worst piece of code I've ever written and actually kept around, but it's an awesome regression test... now ported to the new PVR API. */ #include <kos.h> #include <stdlib.h>...
#include <common.h> #include <rte_eal.h> #include <rte_ethdev.h> #include <rte_cycles.h> #include <rte_lcore.h> #include <rte_timer.h> #include <rte_malloc.h> #include <rte_ether.h> #include <rte_log.h> #include <cmdline_rdline.h> #include <cmdline_parse.h> #include <...
/* * cxbench * * A benchmarking tool for benchmarking HTTP services. * */ /* * Copyright (c) 2011, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission not...
/* * SHA-512 algorithm as described at * * http://csrc.nist.gov/cryptval/shs.html * * Modifications made for SHA-384 also */ #include "ssh.h" #define BLKSIZE 128 /* * Arithmetic implementations. Note that AND, XOR and NOT can * overlap destination with one source, but the others can't. */ #define add(r, x...
/* * linux/fs/jbd2/recovery.c * * Written by <NAME> <<EMAIL>>, 1999 * * Copyright 1999-2000 Red Hat Software --- All Rights Reserved * * This file is part of the Linux kernel and is made available under * the terms of the GNU General Public License, version 2, or at your * option, any later version, incorporat...
/* * (C) Copyright 2001, 2002 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2002 * <NAME> <<EMAIL>>, Delphin Technology AG * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <ioports.h> #include <mpc8260.h> #include "ep8260.h" /* * I/O Port configuration table * * if con...
/* Copyright (c) 2018, Linaro Limited * Copyright (c) 2019-2020, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <odp_posix_extensions.h> #include <odp/api/shared_memory.h> #include <odp/api/ticketlock.h> #include <odp/api/timer.h> #include <odp/api/plat/queue_inlines.h> #...