text
stringlengths
7.55k
41.9k
/* * 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. */ /* */ /* <NAME> (SVR4 vs. SunOS): Changed UNIX include f...
#include <IL/il.h> /* This program (testil) 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 version. * * This program is distributed ...
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/errno.h> #include <linux/types.h> #include <linux/fcntl.h> #include <linux/proc_fs.h> #include <linux/string.h> #include <linux/ioport.h> #include <linux/ktime.h> #include <linux/hrt...
/* Copyright (C) 2010-2019 The RetroArch team * * --------------------------------------------------------------------------------------- * The following license statement only applies to this file (gfx_thumbnail.c). * --------------------------------------------------------------------------------------- * * Pe...
/* * Copyright (C) 2011-2014, Marvell International Ltd. * All Rights Reserved. */ /** * @brief This is a second stage boot loader for the mc200/mw300 * It provides below features- * -- Reading partition table information and execute the * latest programmed firmware * -- Boot from backup firmware * ...
/* * Extract embedded objects from RTF files. * * Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * Copyright (C) 2007-2013 Sourcefire, Inc. * * Authors: <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
/** ****************************************************************************** * @file stsafe.c * @author SRA/Central LAB * @brief This file provides functions for testing some STSAFE functionalities * ****************************************************************************** * @attention * ...
/*++ /* NAME /* postmap 1 /* SUMMARY /* Postfix lookup table management /* SYNOPSIS /* .fi /* \fBpostmap\fR [\fB-Nfinoprvw\fR] [\fB-c \fIconfig_dir\fR] /* [\fB-d \fIkey\fR] [\fB-q \fIkey\fR] /* [\fIfile_type\fR:]\fIfile_name\fR ... /* DESCRIPTION /* The \fBpostmap\fR command creates or queries one or more Postfix /* l...
/* Copyright 1999 <NAME> -*- indent-tabs-mode: nil -*- * * $Id$ * * Mark/Sweep garbage collection core functionality. * * This is not a mark/sweep collector, but some routines that * the collector could conceivably use. (Right now this module * serves as a subroutine in the whole-heap subcollector in...
/* * Copyright (c) 2016 Linaro Limited. * Copyright (c) 2018 Rainbonic Technology Corporation. * * SPDX-License-Identifier: Apache-2.0 * */ #define SYS_LOG_LEVEL CONFIG_SYS_LOG_DMA_LEVEL #include <board.h> #include <device.h> #include <dma.h> #include <errno.h> #include <init.h> #include <logging/sys_log.h> #in...
#include <stdio.h> #include <stdlib.h> #include <string.h> // for memset, memcmp #include "erasure_code.h" #include "types.h" #include <limits.h> #include "ec_base.h" // for GF tables void ec_init_tables(int k, int rows, unsigned char *a, unsigned char *g_tbls) { int i, j; for (i = 0; i < rows; i++) { for (j = ...
/** * |---------------------------------------------------------------------- * | Copyright (C) <NAME>, 2014 * | * | 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...
/** * This file is part of Rotatory Inverted Pendulum. * * Copyright 2016, 2017 Institute of Parallel and Distributed Systems (IPVS). * * 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 *...
/* $Id: mansearch.c,v 1.42 2014/08/09 14:24:53 schwarze Exp $ */ /* * Copyright (c) 2012 <NAME> <<EMAIL>> * Copyright (c) 2013, 2014 <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 notic...
/* zzinlat.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static doublereal c_b12 = 1e-12; /* $Procedure ZZINLAT ( DSK, in latitudinal element? ) */ /* Subroutine */ int zzinlat...
/** * Copyright (C) 2020 by <NAME>, All rights reserved. * * Assignment 3 of Algorithms * * File name : report3_2018312292_DongwonKim.c * * Summery of this code: * * Written by <NAME> on November 24, 2020 * Student ID number : 2018312292 * School of Electrical Engineering *...
// porres 2020 #include "m_pd.h" #include "g_canvas.h" static t_class *button_class, *edit_proxy_class; static t_widgetbehavior button_widgetbehavior; typedef struct _edit_proxy{ t_object p_obj; t_symbol *p_sym; t_clock *p_clock; struct _button *p_cnv; }t_edit_proxy; type...
/** ****************************************************************************** * @file lib_NDEF_URI.c * @author MMY Application Team * @version V1.0.0 * @date 20-November-2013 * @brief This file help to manage NDEF file that represent URI. **********************************************...
/* * Copyright 2020 Makani Technologies LLC * * 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 ...
#include "la_includes.h" #include "la_particle_fx.h" #include "la_geometry_undo.h" #include "la_projection.h" #include "la_tool.h" #include "la_draw_overlay.h" #include <math.h> #define RING_SECTIONS 17 #define DRAW_CLOSE_RANGE 0.025 #define DRAW_SEGMENT_LENGTH 0.01 struct{ float *array; uint array_length; uin...
/*********************************************************************** HiSIM (Hiroshima University STARC IGFET Model) Copyright (C) 2012 Hiroshima University & STARC MODEL NAME : HiSIM_HV ( VERSION : 1 SUBVERSION : 2 REVISION : 4 ) Model Parameter VERSION : 1.23 FILE : hsmhvtemp.c DATE : 2013.04.30 rel...
/* Modified by <NAME> 2021-10-13 */ /* This program is Copyright © 2011-2013 <NAME> */ /* Licensed under the Academic Free License version 3.0 1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the followi...
#include <mach/mach.h> #include <assert.h> #include <stdlib.h> #include <pthread.h> #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/sysctl.h> #include <errno.h> #include "cicuta_virosa.h" #include "voucher_utils.h" #include "cicuta_log.h" #include "descriptors_utils.h" #include "fake_element...
/* GNU fmt -- simple text formatter. Copyright (C) 1994-2015 Free Software Foundation, 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, either version 3 of the License, or (at your...
/* # RegeneratingCodes/MBR_ProductMatrix.c Copyright (c) 2014, AT&T Intellectual Property. All other 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...
#include "cinterface" typedef TLnat2 FileManager_FileNoType; typedef TLnat4 FileManager_FileTimeStamp; typedef TLint2 FileManager_ResultCode; extern void FileManager_OpenNamedHandle (); extern void FileManager_OpenUnnamedHandle (); extern void FileManager_OpenFileHandle (); extern void FileManager_SetMod...
/*- * Copyright (c) 1997, 1998, 1999 * Nan Yang Computer Services Limited. All rights reserved. * * Parts copyright (c) 1997, 1998 Cybernet Corporation, NetMAX project. * * Written by <NAME> * * This software is distributed under the so-called ``Berkeley * License'': * * Redistribution and use in source...
#include "yolo_layer.h" #include "activations.h" #include "blas.h" #include "box.h" #include "cuda.h" #include "utils.h" #include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> layer make_yolo_layer(int batch, int w, int h, int n, int total, int *mask, int classes, int max_boxes) { int i; ...
/***************************************************************************//** * @file * @brief SoC Certificate Generator ******************************************************************************* * # License * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b> *********************************...
/* IBEX UK LTD http://www.ibexuk.com Electronic Product Design Specialists RELEASED SOFTWARE The MIT License (MIT) Copyright (c) 2013, IBEX UK Ltd, http://ibexuk.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
/** Copyright (C) 2003-2006 <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 to use, copy, modif...
/* * httpread - Manage reading file(s) from HTTP/TCP socket * Author: <NAME> * Copyright 2008 Atheros Communications * * This software may be distributed under the terms of the BSD license. * See README for more details. * * The files are buffered via internal callbacks from eloop, then presented to * an appli...
#define thisprog "xe-cor3" #define TITLE_STRING thisprog" v 10, 20.May.April.2016 [JRH]" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #define MAXLINELEN 1000 /* <TAGS>stats</TAGS> CHANGES: v 10, 20.May.April.2016 [JRH] - bugfix: improper initialization of the correlate_simple functio...
/** * @file jbuf.c Jitter Buffer implementation * * This is an adaptive jitter buffer implementation. See doc/jbuf for further * details! * * Copyright (C) 2010 Creytiv.<EMAIL> */ #include <string.h> #include <stdint.h> #include <re_types.h> #include <re_fmt.h> #include <re_list.h> #include <re_mbuf.h> #include...
/*- * Copyright (c) 2005-2008 <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 ...
#include <stdio.h> #include <math.h> #include "nr_util.h" #include "ad_globl.h" #include "ad_frsnl.h" #include "iad_type.h" #include "iad_util.h" #include "iad_calc.h" #include "iad_find.h" #include "iad_pub.h" #include "iad_io.h" #include "mc_lost.h" void Inverse_RT (struct measure_type m, struct invert_type *r) {...
/**************************************************************************** * * Copyright 2019 Samsung Electronics 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...
/*- * * fileprune - Prune a set of files, removing older copies * * Copyright 2002-2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
/* * 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 <mdsdescrip.h> #include <usagedef.h> #include <ncidef.h> #include <mdsshr.h> #include <treeshr.h> #include <stdlib.h> #include <string.h> #include <strroutines.h> #include <mds_stdarg.h> #include <camdef.h> #include <tdishr.h> #include <camshr.h> extern int GenDeviceSignal(int, unsigned long, unsigned long); ...
#include "stdafx.h" #include <cavestory.h> #include "util.h" #include "player.h" #include "weapon.h" #include "map.h" // custom player control vars int playerIdle = 0; int playerAnimState = 0; int playerAnimTimer = 0; int playerSpecialState = 0; int prevSpecialState = 0; int PrevTileFlags = 0; int treasure = 0; //ac...
/* Software License Agreement (BSD License) Copyright (c) 1997-2011, <NAME>, (LADSoft). All rights reserved. Redistribution and se of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redis...
#include "rtenv.h" #include "romdev.h" #define MAX_CMDNAME 19 #define MAX_ARGC 19 #define MAX_CMDHELP 1023 #define HISTORY_COUNT 8 #define CMDBUF_SIZE 64 #define MAX_ENVCOUNT 16 #define MAX_ENVNAME 15 #define MAX_ENVVALUE 63 extern struct task_control_block tasks[TASK_LIMIT]; void itoa(int n, char *dst, int base); c...
#include "mst.h" #include <assert.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "dsu.h" #include "vecs_io.h" enum { NN_LOADER_BATCH_SIZE = 128 * 1024 // NOTE: vectors }; static int mst_dist_comparator(const void* first, const void* second) { float first_dist = ((const mst_edge_t*) fi...
/*------------------------------------------------------------------------- * * cdbfilerepresyncworker.c * * Portions Copyright (c) 2009-2010 Greenplum Inc. All rights reserved. * Portions Copyright (c) 2012-Present Pivotal Software, Inc. * * * IDENTIFICATION * src/backend/cdb/cdbfilerepresyncworker.c * ...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
/* * ************************************************************************** * **************************** ************************* * *************************** D R O P T R A C E R ************************ * **************************** ************************* * *...
/* pdp1_stddev.c: PDP-1 standard devices Copyright (c) 1993-2012, <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 th...
/* * @Author: HanwGeek * @Github: https://github.com/HanwGeek * @Description: Semantic tranlate & check module. * @Date: 2019-10-25 13:45:45 * @Last Modified: 2020-02-25 20:26:57 */ #include <stdlib.h> #include "semant.h" #include "symbol.h" #include "errormsg.h" #include "types.h" #include "env.h" #include "esca...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <math.h> #include <sys/stat.h> #include "util.h" /* ======================================================================= */ void swapb8(char *buf) { char c; c = buf[7]; buf[7] = buf[0]; buf[0] = c; c = b...
/* Copyright (c) 2020 <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 DISCLAIMS ALL WARRANTIE...
/* * ltrtri_kernel.h * Decl { {u'L': LowerTriangular[L, (4, 4), GenMatAccess]} } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ann: {'part_schemes': {'tril_inv_ow_opt': {'m': 'm1.ll'}}, 'cl1ck_v': 1, 'variant_tag': 'tril_inv_ow_opt_m1'} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Entry 0: Eq: Tile( (1, 1), G(h(1, 4, 0), L[4,4],h(1, 4, 0)) ) ...
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "nr_axiom.h" #include <netdb.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/un.h> #include <errno.h> #include <fcntl.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #...
# include <stdio.h> # include <string.h> # include <xtables.h> # include <hstio.h> # include "../stis.h" # include "../stisdef.h" # include "calstis6.h" # include "../stiserr.h" # include "../stisdq.h" # define SZ_KWD 80 /* size of keyword string buffer */ static int InheritHeader (StisInfo6 *, TblDesc *, int); sta...
/*---------------------------------------------------------------------------* | PDFlib - A library for generating PDF on the fly | +---------------------------------------------------------------------------+ | Copyright (c) 1997-2006 <NAME> and PDFlib GmbH. All rights reserved. | +-------...
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com * * 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 requir...
// Released under the MIT License; see LICENSE // Copyright (c) 2021 <NAME> #include <string.h> #include "apl.h" #include "error.h" #include "token.h" static void AddLabel(LEXER *plex, FUNCTION *pfun, int line); static int CopyNames(char *pdst, char *psrc); static void SwapNames(char *base, char *p...
/* inedpl.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* Table of constant values */ static doublereal c_b32 = 0.; static doublereal c_b33 = 1.; /* $Procedure INEDPL ( Intersection of ellipsoid and pl...
/* * MIT License * * Copyright (c) 2018 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
#include "rnd.h" #include "rndPrivate.h" // for any new functions you write to be used by the rndRay functions below // v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v begin student code real lerp(real omin, real omax, real imin, real xx, real imax) { real alpha = (xx-imin)/(imax-imin); return (1-alpha)*omin+alpha*omax; } ...
/* * mir_cfg.c * <NAME> (2006) * * Control flow graph for medium-level intermediate representation. * This is far easier to build and more useful than the source level CFG. * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "ast.h" #include "symtable.h" #include "scope.h" #include "mir.h" #...
#include "game.h" #include "vars.h" #include "wmapload.h" #include <stdio.h> #include <stdlib.h> #ifdef ANDROID_NDK #include "zlext/android_extras.h" char *obbMountedPath = NULL; JNIEnv *javaEnviron = NULL; #endif void zrmloadtextures(void) { FILE *fp; u32 i, ii, x, y; u8 c, c0; #ifndef ANDROID_NDK ...
// https://github.com/Sobuno/ZKBoo/blob/master/MPC_SHA256/MPC_SHA256.c // https://fr.wikipedia.org/wiki/SHA-2 Algorithme SHA256 // Il le fait pour un seul bloc (N=1) #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include "sha256.h" #define CH(e,f,g) ((e & f) ^ ((~e) & g)) uint32_t getRandom32(unsigned...
/* * Copyright (c) 2014-2018 Cesanta Software Limited * 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 * * ...
//---------------------------------------------------------------------------------------------------------------------- // Module : dzen // Copyright : (c) <NAME> 2014 // License : BSD3-style (see LICENSE) // Maintainer : <NAME> - nnoell3[at]gmail.com // Stability : stable //------------------------...
#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...
#include "client.h" void handleExit(int exitNum) { int retVal; close(mySocketFd); if (threadIds != NULL) { // add nodes to buffer that indicate threads' exit // when each thread will handle each of these nodes, it will exit for (int i = 0; i < workerThreadsNum; i++) { p...
/* * Title * * exe386.h * (C) Copyright Microsoft Corp 1988-1990 * * Description * * Data structure definitions for the OS/2 * executable file format (flat model). * * Modification History * * 91/12/18 <NAME> Windows NT version * 90/07/30 <NAME> Modified linear-executable ...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, <NAME> <<EMAIL>> * * Version: MPL 1.1 * * 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 with * the Li...
/* Generated by Pyrex */ #define PY_SSIZE_T_CLEAN #include "Python.h" #include "structmember.h" #ifndef PY_LONG_LONG #define PY_LONG_LONG LONG_LONG #endif #if PY_VERSION_HEX < 0x02050000 typedef int Py_ssize_t; #define PY_SSIZE_T_MAX INT_MAX #define PY_SSIZE_T_MIN INT_MIN #define PyInt_FromSsize_t(z) PyInt_F...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <dc1394/dc1394.h> #include <math.h> #include <fitsio.h> #include <gsl/gsl_statistics.h> #include <xpa.h> #include <sys/time.h> #include <string.h> #include <inttypes.h> #define NXPA 10 typedef struct _Box { double x; double y; double f...
#include <stdio.h> #include <time.h> #include <curses.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <pthread.h> #include <gtk/gtk.h> #define MAX_MESSAGES 100 #define MAX_MESSAGE_LE...
/* * G.729, G729 Annex D postfilter * Copyright (c) 2008 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
/* * Copyright 2016-2018, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
/* GStreamer * Copyright (C) <1999> <NAME> <<EMAIL>> * Copyright (C) 2012 Collabora Ltd. * Author : <NAME> <<EMAIL>> * Copyright (C) 2013 Collabora Ltd. * Author : <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
/******************************************************************************* * * Font metric data for Times Bold Italic * * Copyright 2001 <NAME> * * * See dlls/wineps/data/COPYRIGHTS for font copyright information. * */ #include "psdrv.h" #include "data/agl.h" /* * Glyph metrics */ static const AFM...
/* * Vhost User Bridge * * Copyright (c) 2015 Red Hat, Inc. * * Authors: * <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU GPL, version 2 or * later. See the COPYING file in the top-level directory. */ /* * TODO: * - main should get parameters from the command line. * - imp...
/* This file is part of PREPRO. Author: Dermott (<NAME> Copyright: (C) International Atomic Energy Agency PREPRO is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. */ /* **********************************************************...
/* * DNS host name to IP address resolver. * This file implements a DNS host name to IP address resolver. * Port to lwIP from uIP * by <NAME> April 2007 * uIP version Copyright (c) 2002-2003, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification...
#include "common.h" #include <assert.h> #include <time.h> /* Test various type from odbc and to odbc */ /* * This test is useful to test odbc_sql2tds function using TestInput * odbc_sql2tds have some particular cases: * (1) char -> char handled differently with encoding problems * (2) date -> * d...
/* * Copyright (C) 2017 <NAME>. 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 it will...
/* rijndael-alg-fst.c v2.0 August '99 * Optimised ANSI C code * authors: v1.0: <NAME> * v2.0: <NAME> */ #include <stdio.h> #include <stdlib.h> #include "rijndael-alg-fst.h" #define SC ((BC - 4) >> 1) #include "boxes-fst.dat" static word8 shifts[3][4][2] = { 0, 0, 1, 3, 2, 2, 3, 1, ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
#include "dw1000.h" #include "deca_regs.h" #include "glossy.h" #include "oneway_common.h" #include "timer.h" #include "prng.h" #include <string.h> void send_sync(uint32_t delay_time); static stm_timer_t* _glossy_timer; static struct pp_sched_flood _sync_pkt; static struct pp_sched_req_flood _sched_req_pkt; static glo...
/* This file is part of FFTS -- The Fastest Fourier Transform in the South Copyright (c) 2012, <NAME> <<EMAIL>> Copyright (c) 2012, The University of Waikato All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditio...
/* * ldns-walk uses educated guesses and NSEC data to retrieve the * contents of a dnssec signed zone * * (c) NLnet Labs, 2005 - 2008 * See the file LICENSE for the license */ #include "config.h" #include <ldns/ldns.h> int verbosity = 0; static int usage(FILE *fp, char *prog) { fprintf(fp, "%s [options] doma...
/* $XConsortium: Mailbox.c,v 1.64 94/04/17 20:43:26 rws Exp $ */ /* Copyright (c) 1988 X Consortium 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 limitat...
/* $XConsortium: miNCurve.c,v 5.3 94/04/17 20:37:10 hersh Exp $ */ /* $XFree86: xc/programs/Xserver/PEX5/ddpex/mi/level2/miNCurve.c,v 3.1 1996/03/29 22:09:40 dawes Exp $ */ /* Copyright (c) 1989, 1990, 1991 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
#include <stdlib.h> #include <string.h> #include <unistd.h> #include "log.h" #include "ixgbe.h" #include "pci.h" #include "memory.h" #include "driver/ixgbe_type.h" #include "driver/device.h" #include "ixgbe_type.h" const char* driver_name = "ixy-ixgbe"; const int MAX_RX_QUEUE_ENTRIES = 4096; const int MAX_TX_QUEUE_E...
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "vidinput.h" #include <stdio.h> #include <stdlib.h> #include <math.h> #if !defined(M_PI) # define M_PI (3.141592653589793238462643) #endif #include <string.h> /*Yes, yes, we're going to hell.*/ #if defined(_WIN32) #include <io.h> #include <fcntl.h> #endif #inclu...
/* libpe - the PE library Copyright (C) 2010 - 2017 libpe authors This file is part of libpe. libpe 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 Lic...
#include <stdlib.h> #include <stdio.h> #include <math.h> #include <assert.h> #include <SDL.h> #include <wchar.h> #include "opengl.h" #include "shaders.h" #include "matrix.h" #include "types.h" #include "microsec.h" #include "gpufont_data.h" #include "gpufont_ttf_file.h" #include "gpufont_layout.h" #include "gpufont_dr...
// Copyright (C) 2015-2021 <NAME>, 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,...
#include <syslog.h> #include <stdlib.h> #include <time.h> #include <jansson.h> #include <curl/curl.h> #include "libs/shared.h" #include "skydiveorbust.h" #include "libs/md5/md5.h" #include "libs/queue/queue.h" #include "libs/mpv/mpv.h" #include "libs/mpv/mpv_info.h" #include "libs/curl-sdob/curl-sdob.h" #include "libs...
/***************************************************************************** * * \file * * \brief TWIM driver for AVR32 UC3. * * This file defines a useful set of functions for TWIM on AVR32 devices. * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \pa...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the Apache License...
/* Copyright © 2018-2019 Atlas Engineer LLC. Use of this file is governed by the license that can be found in LICENSE. */ #pragma once #include <webkit2/webkit2.h> #include <JavaScriptCore/JavaScript.h> #include "javascript.h" typedef struct { int mod; char *name; } Modifier; // See the documentation of "enum Gdk...
/* drvMcaRontec.c Author: <NAME> */ #include <stdlib.h> #include <stddef.h> #include <string.h> #include <stdio.h> #include <errlog.h> #include <iocsh.h> #include <cantProceed.h> #include <epicsString.h> #include <epicsTime.h> #include <asynDriver.h> #include <asynInt32.h> #include <asynFloat6...
/****************************** * simple tcp port scan (no threads) * * linux: gcc -Wall -O2 tsc.c -o tsc * osx: gcc -Wall -O2 tsc.c -o tsc * win32: gcc -Wall -O2 tsc.c -o tsc -lwsock32 * solaris: gcc -Wall -O2 tsc.c -o tsc -lsocket -lnsl * *******************************/ #ifdef WIN32 #include <windows.h> #includ...
/**************************************************************** NAME: stats SYNOPSIS: stats [-mask <value>] [-log <logFile>] [-quiet] [-overmeta] [-nometa] [-overstat] [-nostat] [-startline <line>] [-startsample <sample>] [-width <width>] [-height <height>] ...