text
stringlengths
5.8k
28.2k
#include <assert.h> #include <stdio.h> #define _XOPEN_SOURCE 600 /* for posix_memalign */ #include <stdlib.h> #include <string.h> #include <unistd.h> #include <netdb.h> #include <infiniband/verbs.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> struct exchange_params { in...
/* * $Id: hex.c,v 1.2 2006-05-27 23:08:18 dhmunro Exp $ * generic tools for dealing with a hex mesh */ /* Copyright (c) 2005, The Regents of the University of California. * All rights reserved. * This file is part of yorick (http://yorick.sourceforge.net). * Read the accompanying LICENSE file for details. */ #i...
/* * Copyright (c) 2003 <NAME> <<EMAIL>> * Copyright (c) 1995-1998 <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 ab...
// RealTimeMotionServer.c /* * Software License Agreement (BSD License) * * Copyright (c) 2020, Norwegian University of Science and Technology (NTNU) * All rights reserved. * * Redistribution and use in binary form, with or without modification, * is permitted provided that the following conditions are met: * ...
/* * Copyright 2022 <NAME>/KSS Technologies (Pty) Ltd. */ #include "si70xx.h" #include <string.h> #include "hal_variables.h" #include "endpoints.h" #include "options.h" #include "printfx.h" #include "syslog.h" #include "systiming.h" // timing debugging #include "x_errors_events.h" #define debugFLAG 0xF000 ...
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/internal/cccap/gcc.h * * Purpose: Compiler feature discrimination for GNU C/C++. * * Created: 7th February 2003 * Updated: 22nd November 2013 * * Thanks: To <NAME>, for PowerPC (BSD) comp...
/* * Copyright 2008, The Android Open Source Project * * 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 applica...
/*------------------------------------------------------------------------- * * chunk.c-- * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.1.1.1 1996/07/09 06:22:03 scrappy Exp $ * *-----------------------...
/* * Copyright 2014, 2015 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
#include <stdio.h> #include <string.h> #include <math.h> #include <ruby.h> #include "Stata.h" #include "Write.h" #ifndef RUBY_19 #ifndef RFLOAT_VALUE #define RFLOAT_VALUE(v) (RFLOAT(v)->value) #endif #ifndef RARRAY_LEN #define RARRAY_LEN(v) (RARRAY(v)->len) #endif #ifndef RARRAY_PTR #define RARRAY_PTR(v) (RARRAY(v)->...
/* * Unsorted Block Image commands * * Copyright (C) 2008 Samsung Electronics * <NAME> <<EMAIL>> * * Copyright 2008-2009 <NAME> <<EMAIL>>, DENX Software Engineering * * 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 * ...
/* vim:set ft=c ts=4 sw=4 et fdm=marker: */ #include "ngx_http_gm_filter_module.h" #include "ngx_http_gm_filter_convert.h" #include "ngx_http_gm_filter_composite.h" static ngx_int_t ngx_http_gm_image_send(ngx_http_request_t *r, ngx_http_gm_ctx_t *ctx, ngx_chain_t *in); static ngx_uint_t ngx_http_gm_image_test(n...
/* * 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 that it will be use...
/* * libwebsockets - small server side websockets and web server implementation * * Copyright (C) 2010 - 2021 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software withou...
/* Copyright 2019, <NAME> License: ISC License limitations: May only be used for security testing and with permission of target device. */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif /* I can't seem to remember which onse I actually use... */ #include <ctype.h> #include <errno.h> #include <limits.h> #include <pth...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "vr_os.h" #include "vr_types.h" #include "vr_packet.h" #include "vr_interface.h" #include "vr_sandesh.h" #include "vr_message.h" #include "vr_mirror.h" #include "vr_offloads_dp.h" struct vr_mirror_entry * vrouter_get_mirror(unsigned int...
/* * Image format * Copyright (c) 2000, 2001, 2002 <NAME> * Copyright (c) 2004 <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 * vers...
/* * Copyright (c) 2010, Texas Instruments Incorporated * 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...
/* * snmpdelta.c - Monitor deltas of integer valued SNMP variables * */ /********************************************************************** * * Copyright 1996 by Carnegie Mellon University * * All Rights Reserved * * Permission to use, copy, modify, and distribute this sof...
/*********************************************************************** * $Id$ * Copyright 2009 Aplix Corporation. 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 * ...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * arcus-memcached - Arcus memory cache server * Copyright 2010-2014 NAVER Corp. * Copyright 2015 JaM2in Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi...
/* * Copyright (C) 2017 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ #include "margin.h" /* * Allele alphabet and substitutions */ uint16_t *stSite_getSubstitutionProb(stSite *site, int64_t from, int64_t to) { /* * Gets the (log) substitution probability of getting the de...
/* * Utility program for the Linux OS SCSI generic ("sg") device driver. * Copyright (C) 2000-2017 <NAME> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your o...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2010-2011 <NAME> <<EMAIL>> * Copyright (c) 2004 <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: *...
/* * Copyright (c) 2019 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <sys/sys_heap.h> #include <sys/util.h> #include <kernel.h> #include <string.h> #include "heap.h" static void *chunk_mem(struct z_heap *h, chunkid_t c) { chunk_unit_t *buf = chunk_buf(h); uint8_t *ret = ((uint8_t *)&buf[...
/* dlaed8.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of...
/* Some wrappers around operating-system specific stuff. * * This file is copyright 2002 <NAME>, but license is hereby * granted for all use - public, private or commercial. */ #include "common.h" #include <dirent.h> #include <sys/utsname.h> #include <sys/time.h> #include <pwd.h> #include <termios.h> #include "por...
/* * This file is part of the Nice GLib ICE library. * * (C) 2008-2009 Collabora Ltd. * Contact: <NAME> * (C) 2008-2009 Nokia Corporation. All rights reserved. * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance w...
/** @example ex/RRGuaranteedReplier.c */ /* * This sample shows how to implement a Replier for guaranteed Request-Reply messaging, where * * RRGuaranteedRequester: A message Endpoint that sends a guaranteed request message and waits to receive * a reply message as a response. * R...
/* * Copyright (C) 2018 HAW Hamburg * Copyright (C) 2015–2017 <NAME> <<EMAIL>> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * * @author <NAME> <<EMAIL>>...
/* * * Copyright (c) 2011, Code Aurora Forum. 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 c...
#include <assert.h> #include <stdarg.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cargs.h" #include "config.h" #include "emulation.h" #include "main.h" #include "utils.h" #define BASIC_TOP (0x12) // C-style string maintained by driver_oswrch() to reflect the current lin...
/* Copyright 2012 Red Hat, Inc. * Copyright IBM, Corp. 2012 * * Based on Linux 2.6.39 vhost code: * Copyright (C) 2009 Red Hat, Inc. * Copyright (C) 2006 <NAME> IBM Corporation * * Author: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Inspiration, some code, and most witty comments come from * Documentatio...
typedef int size_t; extern struct _iobuf { int _cnt; unsigned char *_ptr; unsigned char *_base; int _bufsiz; short _flag; char _file; } _iob[]; typedef struct _iobuf FILE; extern struct _iobuf *fopen(const char *, const char *); extern struct _iobuf *fdopen(int, const char *); extern struct _iobuf *freopen(const char *...
/* ====================================================================== Regcode generation and verification Authors: <NAME> and <NAME> Original date: March 7, 1999 Copyright 1999, 2000 QUALCOMM Inc. Copyright (c) 2016, Computer History Museum All rights reserved. Redistribution and use in sourc...
/* */ /* P1 - MI amb sockets TCP/IP - Part I */ /* Fitxer t.c que "implementa" la capa de transport, o més ben dit, que */ /* encapsula les funcions de la interfície de sockets, en unes altres */ /* funcions ...
/* Copyright 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in suppor...
/******************************************************************************************************** * @file bit.h * * @brief This is the header file for bit * * @author Driver & Zigbee Group * @date 2021 * * @par Copyright (c) 2021, Telink Semiconductor (Shanghai) Co., Ltd. ("TELINK") * * ...
/* * Chico.c * Chico The Robot */ /******************************************************************************************************************/ /*! \file Chico.c * * \author <NAME>, <NAME>, <NAME>, * <NAME>, <NAME> & <NAME>. * * \date March 13th, 2016 * * \brief Main program of Chico the robot. ...
// // Copyright (c) 2016-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // #pragma on...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 cop...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "./vm.h" #include "./static_symbols.h" #include "./static_procs.h" #include "../src/micro_vm.h" #define MAX_IREP 256 #define MAX_OUTPUT_BUFF (1024*32) static uint8_t irep_output_buff[MAX_IREP][MAX_OUTPUT_BUFF]; static uint16_t ire...
/* ebt_arp * * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * April, 2002 */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include <xtables.h> #include <netinet/ether.h> #include <xtables.h> #include <net/if_arp.h> #include <linux/netfilter_bridge/ebt_arp.h> #include "ipta...
/* * 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...
/** * * Copyright 2016-2020 Netflix, Inc. * * Licensed under the BSD+Patent License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/BSDplusPatent * * Unless required by ap...
/* usbtrans.c - USB Transfers and Transactions. */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2008 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 Foundati...
/* * Unix SMB/Netbios implementation. * SEC_DESC handling functions * Copyright (C) <NAME> 1992-1998, * Copyright (C) <NAME> 1995-2003. * Copyright (C) <NAME> 1996-1998, * Copyright (C) <NAME> 1997-1998. * * This program is free software; you can redistribute i...
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
#define MDB_C #define SLOG_PREFIX "MDB: " #include <gdbm.h> #include "mdb.h" #include <string.h> #include <syslog.h> #include <errno.h> #include <unistd.h> #include <stdarg.h> #include <fcntl.h> #include <sys/authorization.h> #include <sys/stat.h> #include <types/bool_ss.h> #include <str/sizes.h> #include <str/strdupa....
// (c) flatz // http://web.archive.org/web/20141118220924/http://pastie.org/private/9hjpnaewxg5twytosnx4w // http://web.archive.org/web/20141118183317/http://pastie.org/private/pmnmsnqg6zbfnk9xactbw // http://web.archive.org/web/20141117072342/http://pastie.org/private/yltlfwubsz8w5pyhmojyfg // // Dasanko (C#) // https...
#include "common.h" #include <ctype.h> #include <plumb.h> #include <libsec.h> #include <auth.h> #include <thread.h> #include "dat.h" #pragma varargck type "M" uchar* #pragma varargck argpos pop3cmd 2 typedef struct Pop Pop; struct Pop { char *freep; /* free this to free the strings below */ char *host; char *user...
/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */ /* * Copyright © 2012 Texas Instruments, Inc * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without rest...
/* * Copyright (c) 2019 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * d...
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
#include "automGenTerr.h" #include "bgddl.h" #include "bgdrtm.h" #include "stdio.h" #include "libdraw.h" #include "mod_map.h" #include "librender.h" #include "dlvaracc.h" #include "Arreglos.h" #include "globales.h" #include "inl.h" void eliminaVect(void *ptr, void *data){ modChipmunk_destruyeArreglo((modChipmunk...
#include "fpicker.h" #include <sys/stat.h> #include <fcntl.h> #ifdef __APPLE__ #include <sys/mman.h> #include <sys/types.h> #else #include <sys/shm.h> #include <sys/ipc.h> #endif int64_t millis() { struct timespec now; timespec_get(&now, TIME_UTC); return ((int64_t) now.tv_sec) * 1000 + ((...
/* * Boa, an http server * Copyright (C) 1995 <NAME> <<EMAIL>> * Some changes Copyright (C) 1996,99 <NAME> <<EMAIL>> * Some changes Copyright (C) 1996-2002 <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 pub...
/* * engine_trigger.c * * Copyright: * Copyright (c) 2002, 2003 SFNT Finland Oy. * All rights reserved. * * Code to send trigger messages to the policy manager. This file * also includes the code to rate-limit such messages, so that * triggers related to "similar" packets are limited to about one ...
/* * Copyright 2019 Huawei Technologies Co.,Ltd.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 req...
/* $TOG: readdir.c /main/7 1997/03/31 13:53:34 dbl $ */ /* * Motif * * Copyright (c) 1987-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Fr...
/* * Copyright (C) 2019 Collabora, Ltd. * * 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, pub...
/* * This file is part of the coreboot project. * * Copyright (C) 2009 One Laptop per Child, Association, Inc. * * 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; version 2 of the License. ...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2009, The GROMACS Development Team * Copyright (c) 2012,2013, by the GROMACS development team, led by * <NAME>, <NAME>, <NAME>, and including many * othe...
/* * Mesa 3-D graphics library * Version: 4.1 * * Copyright (C) 1999-2002 <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, includ...
/** * Time Slime - Command Line Time Sheet * * Authors: <NAME> */ #include "timeslime.h" /* Row result for internal library use */ struct TIMESLIME_INT_ROW_STRUCT { int ID; float HoursAdded; float TotalHours; char HoursAddedDate[TIMESLIME_DATETIME_STR_LENGTH]; char ClockInTime[TIMESLIME_DATETIM...
// // Created by moqi on 2019-08-28. // #include "video_tool_box_utils.h" #include <libavcodec/bytestream.h> #include <libavcodec/h264_parse.h> #include <libavcodec/hevc_parse.h> #include <VideoToolbox/VideoToolbox.h> #include <utils/frame_work_log.h> #include <utils/ffmpeg_utils.h> #ifndef kVTVideoDecoderSpecificati...
/* * Copyright (c) 2015,2016 <NAME> * * This file is part of vergifac * * vergifac 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 vers...
#ifndef lint static const char RCSid[] = "$Id: pabopto2bsdf.c,v 2.36 2019/07/19 17:37:56 greg Exp $"; #endif /* * Load measured BSDF data in PAB-Opto format. * Assumes that surface-normal (Z-axis) faces into room unless -t option given. * * <NAME> */ #define _USE_MATH_DEFINES #include <stdlib.h> #include <ctype.h...
/* lex.c - lexical analyzer ncc, the new c compiler Copyright (c) 2021 <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: * Redistributions of source code mus...
/* -*- Mode: C; c-basic-offset: 4; -*- * * Time zone lookup. * gcc -Wall -W json.c tz_lookup_1.c -o tz_lookup_1 -lm * */ /** * @file tz_lookup_1.c Time zone lookup utility implementation. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <string.h> #include <time.h> #i...
/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * Copyright 2009 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 States Government. * It is the responsibility of any person or o...
/* * Copyright (C) 2014 <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; version 2 or (at your option) any later version of the License. * * This program is distributed in the hop...
/* * Copyright (c) 2016, Technische Universität Dresden, Germany * 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...
#include "chip.h" #include "tui.h" #include <stdlib.h> #include <stddef.h> #include <stdio.h> #include <errno.h> #define vm_fatal(format, ...) \ printf("[FATAL] " format, __VA_ARGS__); \ exit(1); uint8_t C8FONT[] = { 0xF0, 0x90, 0x90, 0x90, 0xF0, /* 0 */ 0x20, 0x60, 0x20, 0x20, 0x70, /* 1 */ 0xF...
/* Copyright 2019, Gurobi Optimization, LLC */ /* Facility location: a company currently ships its product from 5 plants to 4 warehouses. It is considering closing some plants to reduce costs. What plant(s) should the company close, in order to minimize transportation and fixed costs? Since the plant fixe...
#include <stdbool.h> #include <device.h> #define SERIAL true #define MATRIX_ROWS 8 #define MATRIX_COLS 8 #define OFF 0x00 #define RED 0x01 #define GREEN 0x02 #define YELLOW 0x03 #define BLUE 0x04 #define MAGENTA 0x05 #define CYAN 0x06 #define WHITE 0x07 #define MATRIX_MARQUEE...
#pragma config(Sensor, in1, autoPot, sensorPotentiometer) #pragma config(Sensor, dgtl1, sensor_lift, sensorQuadEncoder) #pragma config(Sensor, dgtl5, rightFront, sensorQuadEncoder) #pragma config(Sensor, dgtl11, leftFront, sensorQuadEncoder) #pragma config(Motor, port1, clawRight, ...
/* * File: state.c * * This file manages the renderer state and performs other useful functions. * * Most of these functions are called from the input parser * */ /* * * MIT License * * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of thi...
#pragma once ////////////////////////////////////////////////////////////////////////////////// #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> #include <fcntl.h> #include <strings.h> #include <unistd.h> #include <sys/errno.h> #include <arpa/inet.h> #include <netdb.h> #include <pthread.h> #include...
/* * Copyright 2018 The Hafnium Authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * lwpr_sfun.c: Based on matlabroot/simulink/src/sfuntmpl_doc.c * <NAME>, February 2003 */ #define S_FUNCTION_NAME lwpr_sfun #define S_FUNCTION_LEVEL 2 enum S_FUNCTION_PARMS { N_STATES = 0, N_COMMANDS, N_TARGETS, N_PREDICTIONS, T_SAMPLE, LWPR_SCRIPT, LWPR_ID, ALPHA_TRACK, PART_MAT, NEW_LWPR,...
#include "../include/find.h" //macros used during output file analyzing #define WORD_STR "WORD" #define WORD_LEN 4 #define FILE_STR "FILE" #define FILE_LEN 4 #define OCCURRENCES_STR "OCCURRENCES" #define OCCURRENCES_LEN 11 //pointers used to manage the fWord struct which store the list of word to analyze. fWord *w...
#include <cce.h> #include <pthread.h> #include "lib_ccx.h" #include "ccx_common_option.h" #include "activity.h" #include "file_buffer.h" #include "android_log.h" long FILEBUFFERSIZE = 1024 * 1024 * 16; // 16 Mbytes no less. Minimize number of real read calls() #ifdef _WIN32 WSADATA wsaData = {0}; int iResult = 0; #e...
#include "impi_router.h" #include "impi_common.h" #include <mpi.h> #include <metaconfig.h> #include "connection.h" #include "mpi_router.h" #include "conn_common.h" #include "mpid.h" #include "../../mpid/ch2/packets.h" #include "rhlist.h" #include "prof_timer.h" #include "reqalloc.h" #include "sendq.h" #undef IMPI_...
/**********************************************************************/ /* */ /* Copyright 2001, <NAME>, All rights Reserved */ /* Redistribition without written permission strictly prohibited */ /* ...
/** * @file para.c * * <JA> * @brief 特徴量抽出条件の扱い * * 音響分析の設定パラメータを保持する Value 構造体を扱う. * </JA> * * <EN> * @brief Acoustic analysis condition parameter handling * </EN> * * Value structure holds acoustic analysis configuration parameters. * * @author <NAME> * @date Fri Oct 27 14:55:00 2006 * * $R...
#include <stdio.h> #include "csr.h" #include "display.h" #include "font8x8_basic.h" #define DISPLAY_NOOP (*((volatile uint32_t *) (0xC2000000))) #define DISPLAY_CMD (*((volatile uint32_t *) (0xC2000004))) #define DISPLAY_DATA (*((volatile uint32_t *) (0xC2000008))) #define DISPLAY_BUFF (*((volatile uint...
/****************************************************************** * * * File : cvspgmr.c * * Programmers : <NAME> and <NAME> @ LLNL * * Version of : 25 February 2000 ...
#include "../cpu_dec/op_dec.h" typedef struct { int (*decode) (uint16 code[OP_DECODE_MAX], OpDecodedCodeType *decoded_code); } OpDecoderType; static int OpDecode1(uint16 code[OP_DECODE_MAX], OpDecodedCodeType *decoded_code); static int OpDecode2(uint16 code[OP_DECODE_MAX], OpDecodedCodeType *decoded_code); static i...
/** * @file turn.c Turn Server Allocation * * Copyright (C) 2010 Creytiv.com */ #include <string.h> #include <re.h> #include <restund.h> #include "turn.h" enum { PERM_HASH_SIZE = 16, CHAN_HASH_SIZE = 16, PORT_TRY_MAX = 32, TCP_MAX_TXQSZ = 8192, }; static uint8_t sa_stunaf(const struct sa *sa) { switch (s...
/// @file blas_comm.c /// @brief The standard implementations for blas_comm.h /// #include "blas_comm.h" #include "blas.h" #include "rainbow_keypair.h" #include "rainbow_blas.h" #include <assert.h> // FIXME(js): don't use assert() and don't deal with NDEBUG #include <stdint.h> #include <string.h> /// This implement...
#include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdint.h> #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/types.h> #include "elf.h" #include "macho.h" #include "macro.h" #include "memory.h" #include "objformat.h" #include "pe.h" #define SIGPT_...
/** * @file main.c * * @author <NAME> * @date 19/02/2022 * @brief Driver PAD DDR USB * * @details Code source du programme driver PAD DDR PS2 à base de ATmega164p * * @copyright Copyright © 2022 <NAME> */ // // ATmega164p / ATmega324p / ATmega644p // // ...
/* * Project 64 - A Nintendo 64 emulator. * * (c) Copyright 2001 zilmar (<EMAIL>) and * Jabo (<EMAIL>). * * pj64 homepage: www.pj64.net * * Permission to use, copy, modify and distribute Project64 in both binary and * source form, for non-commercial purposes, is hereby granted without fee, * providi...
/*****************************************\ * multic - aligning two blocksets which * are topped by reference, no * single coverage requirement. * ver 12.1 * * Language: C * Platform: Linux Debian * Application: independent executable, TBA * Author: <NAME>, Ph.D Candidate * ...
/* * MIDI byte <-> sequencer event coder * * Copyright (C) 1998,99 <NAME> <<EMAIL>>, * <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; e...
/* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> typedef struct { ngx_str_t name; ngx_array_t *lengths; ngx_array_t *values; } ngx_http_index_t; // typedef struct { ngx_array_t ...
// // _startup.c -- Reset initialization // // Copyright (c) 2012-2013 <NAME> <<EMAIL>> // #include "freedom.h" #include "common.h" #include <stdio.h> #include <string.h> void _reset_init(void) __attribute__((naked, aligned(8))); extern void _start(void); // newlib C lib initializati...
// Copyright (C) 2013 - <NAME>. All rights reserved. #include <stdlib.h> #include <string.h> #include "script.h" #include "http_parser.h" #include "stats.h" #include "zmalloc.h" #include <sys/time.h> typedef struct { char *name; int type; void *value; } table_field; static int script_addr_tostring(lua...
/*! \file io_main.c this file has the functions used by the i/o cluster process. *This process retrieves problems from the host and forwards them to clusters. Afterwards, it retrieves the results. */ #include <math.h> #include <float.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #in...