text
stringlengths
7.55k
41.9k
/* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ /* snpMaskFlank - Print sequences centered on SNPs, exons only, with SNPs (single base substituions) using IUPAC codes. */ #include "common.h" #include "binRange.h" #include "...
/************************************************************************* * A Post-Quantum Digital Signature Scheme Based on Supersingular Isogenies * * Copyright (c) <NAME>. * * Abstract: Testing the isogeny-based signature scheme. * * Ported to Microsoft's SIDH 2.0 Library by <NAME> (gxiv) **************************...
/* * Copyright (c) 2018, Texas Instruments Incorporated * * SPDX-License-Identifier: Apache-2.0 * */ #define LOG_MODULE_NAME wifi_simplelink_support #define LOG_LEVEL CONFIG_WIFI_LOG_LEVEL #include <logging/log.h> LOG_MODULE_REGISTER(LOG_MODULE_NAME); #include <stdlib.h> #include <string.h> #include <zephyr.h> ...
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
#include "hclib.h" int ____num_tasks[32] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; /** * @file ex_particle_OPENMP_seq.c * @author <NAME> & <NAME> * @brief Particle filter implementation in C/OpenMP */ #include <stdlib.h> #include <stdio.h> #include...
#include "sq.h" #include "SqueakSSL.h" #include "openssl/ssl.h" #include "openssl/err.h" #include "openssl/x509v3.h" #include <strings.h> #include <string.h> #include <stddef.h> #include <arpa/inet.h> #include <sys/param.h> typedef struct sqSSL { int state; int certFlags; int loglevel; char *certName; char *...
/****************************************************************************/ /* */ /* The FreeType project -- a free and portable quality font engine */ /* */ /* ...
/* #[<PREAMBLE>]# * #[<...>]# から #[</...>]# で囲まれたコメントは編集しないでください * tecsmerge によるマージに使用されます * * 呼び口関数 #_TCPF_# * require port : signature: sSysLog context: task * ER write( uint_t prio, const SYSLOG* p_syslog ); * ER_UINT read( SYSLOG* p_syslog ); * ER mask( uint_t logmask, u...
/* * Have fun reading the following: * * http://id3.org/id3v2.4.0-structure * http://id3.org/id3v2.4.0-frames * http://id3.org/d3v2.3.0 * http://id3.org/id3v2-00 * http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm * http://wiki.hydrogenaud.io/index.php?title=MP3#VBRI.2C_XING.2C_and_LAME_headers * http://www.c...
/* ************************************************************************ * File: spells.c Part of CircleMUD * * Usage: Implementation of "manual spells". Circle 2.2 spell compat. * * * * All rights re...
#include <stdio.h> #include <malloc.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <math.h> #include <limits.h> #include <float.h> #define TEST( expr ) if( !( expr ) ) {\ fprintf( stderr, #expr );\ exit( 1 );\ } #define VUL_DEFINE #include "../vul_csp.h" #include "../vul_types.h" #ifdef...
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* ==================================================================== * Copyright (c) 1999-2004 Carnegie Mellon University. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
// based on cyclone/mtr #ifdef _MSC_VER #include <io.h> #else #include <unistd.h> #endif #include <stdlib.h> #include <stdio.h> #include <string.h> #include "m_pd.h" #include "elsefile.h" #ifdef FLT_MAX #define SHARED_FLT_MAX FLT_MAX #else #define SHARED_FLT_MAX 1E+36 #endif #define REC_MAXTRACKS 64 #define...
/* elf.c Embedded ARM ELF32 loader */ /* ELF32 Definitions based on "sys/elf.h" */ #include <stdint.h> /* uint8_t uint16_t uint32_t int32_t uintptr_t */ #define EI_CLASS ( 4 ) #define EI_DATA ( 5 ) #define EI_VERSION ( 6 ) #define EI_NIDENT ( 16 ) #define ELFCLASS32 ( 1 ) #define ELFDATA2LSB ( ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <dirent.h> #include <unistd.h> #include <sys/stat.h> #include <ctype.h> #include "mpi.h" #include "./libs/uthash.h" #define FILENAME_SIZE 256 #define READ_BUF 1024 #define WORD_SIZE 100 #define MASTER 0 #define DEBUG // Structu...
/* gcc boundary.c -o boundary -Wconversion -Wpointer-sign */ #include <msgpack.h> #include <stdio.h> #include <assert.h> static inline unsigned char atohex(char a) { int x; if (a >= 'a') { x = a - 'a' + 10; } else if (a >= 'A') { x = a - 'A' + 10; } else { x = a - '0'; } ...
#pragma once #include <stdlib.h> #include <string.h> #include "globals.h" #include "aabb.h" typedef struct { BVHNode node; u32 depth, parent_id; bool is_first_child, is_collapsed; } BottomUpBvhBuilderNode; typedef struct { AABB overall_aabb; u32 primitive_count, max_primitives_per_leaf;...
// // Created by sachetto on 19/10/17. // #include "domain_helpers.h" #include "../utils/logfile_utils.h" #include "../utils/utils.h" #include <float.h> #include <math.h> #include <time.h> #ifdef _MSC_VER #include <process.h> #define getpid _getpid #else #include <unistd.h> #endif int get_num_refinement_steps_to...
/*------------------------------------------------------------------ * md5.c - MD5 message-digest algorithm * * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. * All rights reserved. * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. *-------------------------------------...
/* csp.c - Utils * Author: <NAME> <<EMAIL>> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "htslib/sam.h" #include "htslib/kstring.h" #include "htslib/faidx.h" #include "config.h" #include "mplp.h" #include "jfile.h" #include "jstring.h" #include "jsam.h" #include "csp.h" /* * Global settin...
/************************************************************************** * Copyright (c) 2021 by <NAME> (www.emb4fun.de). * 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. Redi...
/* pnmscale.c - read a portable anymap and scale it ** ** Copyright (C) 1989, 1991 by <NAME>. ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both tha...
/* $OpenBSD: quotacheck.c,v 1.25 2009/10/27 23:59:34 deraadt Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* * Copyright (c) 1980, 1990, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME...
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * The User Datagram Protocol (UDP). * * Version: @(#)udp.c 1.0.13 06/02/93 * * Authors: <NAME>, <<EMAIL>> *...
/* ==== FOREIGN OBJECT LOADER ==== * * Copyright 2013 Ravenbrook Limited <http://www.ravenbrook.com/>. * 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 ...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/li...
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Renesas RCar Gen3 RPC Hyperflash driver * Based on U-Boot RPC Hyperflash driver * * Copyright (C) 2016 Renesas Electronics Corporation * Copyright (C) 2016 Cogent Embedded, Inc. * Copyright (C) 2017-2019 <NAME> <<EMAIL>> */ #ifdef HAVE_CONFIG_H #include "config.h" #e...
/*- * Copyright (c) 2014 Qualcomm Atheros, Inc. * Copyright (c) 2016 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
/* * Copyright (C) 2012, 2013, 2014 * <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, ...
// // mclib_pluto.c // to read in pluto AMR chombo files // // Created by <NAME> on 11/26/19. // #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <dirent.h> #include <limits.h> #include "hdf5.h" #include <math.h> #include <time.h> #include <gsl/gsl_math.h>...
/* * Copyright (c) 2012-2017, <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 of condition...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <devif/queue_interface_backend.h> #include <devif/backends/net/enet_devif.h> #include <aos/aos.h> #include <aos/deferred.h> #include <driverkit/driverkit.h> #include <dev/imx8x/enet_dev.h> #include <netutil/etharp.h> #include <netu...
#include <stdio.h> #include<stdlib.h> #include<strings.h> int i=0; struct passengerdetails { char pfname[20]; char plname[20]; char aadhar[12]; int covchoice; char cov[20]; char meal[20]; int mchoice; char dep[50]; char des[50]; long long int cont; char tct[100]; int x[5...
/****************************************************************************\ Part of the XeTeX typesetting system Copyright (c) 1994-2008 by SIL International Copyright (c) 2009 by <NAME> SIL Author(s): <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
/* * ptgen - partition table generator * Copyright (C) 2006 by <NAME> <<EMAIL>> * * uses parts of afdisk * Copyright (C) 2002 by <NAME> <<EMAIL>> * * UUID/GUID definition stolen from kernel/include/uapi/linux/uuid.h * Copyright (C) 2010, Intel Corp. <NAME> <<EMAIL>> * * This program is free software; you can ...
#include "multiply-long.h" #include <gba_input.h> #include <gba_interrupt.h> #include <gba_systemcalls.h> #include <stdio.h> #include <string.h> #include "suite.h" struct MultiplyLong { s32 in0; s32 in1; s32 outSmull0; s32 outSmull1; s32 outSmullCpsr; s32 outUmull0; s32 outUmull1; s32 outUmullCpsr; s32 in2...
/* Copyright 2021 <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 in writi...
/* * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source ...
#include "macho.h" #include "memory.h" #include "objformat.h" #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <stdint.h> #include <sys/mman.h> #include <sys/stat.h> uint32_t GUEST_UPPER_UPPER32; extern uint64_t EXPORT(meta_page_ptr); extern uint64_t EXPORT(fd_num); extern cha...
/****************************************************************************** * Copyright (c) Intel Corporation - All rights reserved. * * This file is part of the LIBXSMM library. * * * ...
/* * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.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 License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/...
/* This file is part of libmicrohttpd Copyright (C) 2010, 2011, 2012, 2015 <NAME> and <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of...
/* * "git fast-export" builtin command * * Copyright (C) 2007 <NAME> */ #include "builtin.h" #include "cache.h" #include "commit.h" #include "object.h" #include "tag.h" #include "diff.h" #include "diffcore.h" #include "log-tree.h" #include "revision.h" #include "decorate.h" #include "string-list.h" #include "utf8.h...
#include <string.h> #include <stdlib.h> #include <stdarg.h> #include <stdio.h> #include <X11/Xlib.h> #include <X11/keysym.h> #include <gio/gio.h> #include <libdbusmenu-glib/server.h> #include "DbusMenuWrapper.h" #define DBUS_NAME "com.canonical.AppMenu.Registrar" #define REG_IFACE "com.canonical.AppMenu.Regist...
#include <stddef.h> #include <avr/interrupt.h> #include <avr/io.h> #include <util/atomic.h> #include <util/delay.h> #include "task_tlv.h" #define USART_ERROR_BITS (BV(UPE0) | BV(DOR0) | BV(FE0)) enum { BFR_FLAG_DATA = BV(0), // Bytes have been successfully received or transmitted. BFR_FLAG_DONE = BV(...
/* $OpenBSD: dirs.c,v 1.32 2009/10/27 23:59:34 deraadt Exp $ */ /* $NetBSD: dirs.c,v 1.26 1997/07/01 05:37:49 lukem Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from m...
#include "bridge.h" #include <limits.h> #include <math.h> #include <vitasdk.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "stb_image.h" #include "stb_truetype.h" #include "zlib.h" #include <unicode/ucnv.h> #include <unicode/ustring.h> #include <vitaGL.h> #include "config....
/* Copyright (C) 2000-2001 MySQL AB 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 program is distributed in the hope that it will be useful, but WITHO...
/******************************************************************************/ /* Copyright (C) 2011 Garz&Fricke GmbH */ /* No use or disclosure of this information in any form without */ /* the written permission of the author */ /***********************************************...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018-2019 Hisilicon Limited. */ #include <errno.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <sys/queue.h> #include <inttypes.h> #include <unistd.h> #include <rte_bus_pci.h> #include <rte_common.h> #include <rte_cy...
#include "all.h" typedef struct Class_ Class; typedef struct Insl Insl; typedef struct Params Params; enum { Cstk = 1, /* pass on the stack */ Cptr = 2, /* replaced by a pointer */ }; struct Class_ { char class; char ishfa; struct { char base; uchar size; } hfa; uint size; Typ *t; uchar nreg; uchar ngp...
/* * Copyright � 2008 UChicago Argonne, LLC * NOTICE: This computer software, TEVA-SPOT, was prepared for UChicago Argonne, LLC * as the operator of Argonne National Laboratory under Contract No. DE-AC02-06CH11357 * with the Department of Energy (DOE). All rights in the computer software are reserved * by DOE...
/* Copyright 2011,2012 <NAME> <<EMAIL>> This software is licensed with a Modified BSD License. All of this is supposed to be Free Software, Open Source, DFSG-free, GPL-compatible, and OK to use in both free and proprietary applications. Additions and corrections to this file are welcome. Redistribution and use in so...
/*************************************************************************** This is the SDL XMAME display driver. FIrst incarnation by <NAME> <<EMAIL>>, based on the Linux SVGALib adaptation by <NAME>. updated and patched by <NAME> (<EMAIL>) patched by <NAME> (<EMAIL>)...
/* dasadc.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 integer c__1 = 1; /* $Procedure DASADC ( DAS, add data, character ) */ /* Subroutine */ int dasadc_(integer *hand...
/* * Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/*********************************************************************** * Module: aha154x.c * * Host Adapter Interface routines for the Adaptec AHA154XX series * of host adapters. * * Much of the information used to create this driver was obtained * from the AHA1540B/1542B Technical Reference Manual availa...
#include "matcher.h" #include <gee/collection.h> #include <gee/list.h> #include <gee/iterable.h> #include <gee/iterator.h> #include "string_helper.h" enum { GTK_MATE_MATCHER_DUMMY_PROPERTY }; static gint gtk_mate_matcher_sorted_ix (GeeArrayList* ixs, gint val); static gpointer gtk_mate_matcher_parent_class = NUL...
#include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <sys/stat.h> #include "sam3s/chip.h" #include "sam3s/core_cm3.h" #include "pins.h" #include "params.h" #include "string.h" #include "control.h" #include "halls.h" #include "gpio.h" #include "motors.h" #include "imu.h" #include "pb.h" #include "comms.h...
/*- * Copyright (c) 1991-1997 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
/* * Copyright (C) 2011 xiaomi MIUI ( http://xiaomi.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 required by ...
/** * DLWCS -- WCS Utility procedures. * * Usage: * dlmeta [<opts>] [ <file> | @<file>] .... * * @file dlmeta.c * @author <NAME> * @date 2/23/16 * * @brief WCS Utility procedures. */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <unist...
/* pdp11_io_lib.c: Unibus/Qbus common support routines Copyright (c) 1993-2008, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without lim...
/* Copyright (C) 1996-1997 Id Software, 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 2 of the License, or (at your option) any later version. This program is distributed in th...
static char *get_title(void *arg) { (void)arg; // reduce the maximum size for these, so that we don't over-fill the title string char hostname[BUF_SIZE / 3]; status = gethostname(hostname, BUF_SIZE / 3); halt_and_catch_fire("unable to retrieve host name"); char username[BUF_SIZE / 3]; status = getlogin_r(userna...
#include "snd.h" /* rather than try to track error indications through infinite levels of nested calls, * I think I'll just issue a warning, and let the redirection mechanism deal with it. */ struct snd_io { int fd, chans, bufsize; mus_long_t frames, beg, end; mus_sample_t **arrays; }; mus_long_t io_beg(sn...
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Common code to do UART buffering and printing */ #include <stdarg.h> #include "common.h" #include "console.h" #include "printf.h" #include...
/* $OpenBSD: obj-vms.h,v 1.3 1998/02/28 00:52:18 niklas Exp $ */ /* VMS object file format Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as ...
/***************************************************************************** * * File : i2cMultiMaster.c * Compiler : avr gcc * Description : This is a sample driver for the TWI hardware modules. * It is interrupt driven. All functionality is controlled through * ...
/* This file is part of libmicrohttpd Copyright (C) 2019 Karlson2k (<NAME>) Some ideas are based on Libgcrypt implementation. Copyright (C) 2003, 2006, 2008, 2009 Free Software Foundation, Inc. libmicrohttpd is free software; you can redistribute it and/or modify it under the terms of the...
/*! \file bcma_testcase_cmicx_schanfifo.c * * Broadcom test cases for CMICX SCHANFIFO access */ /* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #include <bsl/bs...
/** * Smarc * * Copyright (c) 2009-2011 Institut Télécom - Télécom Paristech * Télécom ParisTech / dept. TSI * * Authors : <NAME>, <NAME> * * This file is part of Smarc. * * Smarc is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publishe...
/* $OpenBSD: schizo.c,v 1.7 2002/08/01 18:26:35 jason Exp $ */ /* * Copyright (c) 2002 <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 cod...
/****************************************************************************** * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2013 Intel Corporation. All rights reserved. * * This...
/* $OpenBSD: join.c,v 1.27 2015/10/09 01:37:07 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME> of the Computer Science Department, Indiana University, * <NAME> and...
/* dp2hx.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 integer c__2 = 2; /* $Procedure DP2HX ( D.p. number to hexadecimal string ) */ /* Subroutine */ int dp2hx_(doubler...
/* * Copyright © Microsoft Corporation * * 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, publ...
/* * Copyright 2009 <NAME> for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This l...
/******************************************************************************* WILC1000 Wireless Driver Extension File Name: wdrext_wilc1000.c Summary: WILC1000 wireless driver extension. Description: WILC1000 wireless driver extension. **********************************************...
/* multipart muxer plugin for GStreamer * Copyright (C) 2004 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your optio...
/* ------------------------------------------------------------------------------- Copyright (C) 1999-2007 id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or m...
/* * Copyright (c) 2006-2020, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2020-10-30 bigmagic first version */ #include <rthw.h> #include <stdint.h> #include <rtthread.h> #include <lwip/sys.h> #include <netif/ethernetif....
/* * Kernel threads * Copyright (c) 2001,2003,2004 <NAME> <<EMAIL>> * Copyright (c) 2003,2013,2014 <NAME> <<EMAIL>> * * All rights reserved. * * This code may not be resdistributed without the permission of the copyright holders. * Any student solutions using any of this code base constitute derviced work and m...
/* /usr/src/ext2ed/init.c A part of the extended file system 2 disk editor. -------------------------------- Various initialization routines. -------------------------------- First written on: April 9 1995 Copyright (C) 1995 <NAME> */ #include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h>...
/* * Machine Logic * * The MIT License (MIT) * * Copyright (c) 2013, TAG Universal Machine. * * 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...
#include "mds_f.h" #include "mto.h" #include "wbhal.h" #include "wb35tx_f.h" unsigned char Mds_initial(struct wbsoft_priv *adapter) { struct wb35_mds *pMds = &adapter->Mds; pMds->TxPause = false; pMds->TxRTSThreshold = DEFAULT_RTSThreshold; pMds->TxFragmentThreshold = DEFAULT_FRAGMENT_THRESHOLD; return hal_get_...
/* * testcode/dohclient.c - debug program. Perform multiple DNS queries using DoH. * * Copyright (c) 2020, NLnet Labs. All rights reserved. * * This software is open source. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
/* * Copyright (C) <NAME> * Copyright (C) 2007 <NAME> (<EMAIL>) * Copyright (C) 2008 Phusion * * 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 ...
/* VIPS thumbnailer * * 11/1/09 * * 13/1/09 * - decode labq and rad images * - colour management * - better handling of tiny images * 25/1/10 * - added "--delete" * 6/2/10 * - added "--interpolator" * - added "--nosharpen" * - better 'open' logic, test lazy flag now * 13/5/10 * - oops hehe residu...
/* * Copyright © 2016 Intel Corporation * * 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...
const char* tests[] = { "SELECT 1", "SELECT 1; SELECT 2", "SELECT 1 FROM t(1)", "SELECT sum(unique1) FILTER (WHERE unique1 IN (SELECT unique1 FROM onek WHERE unique1 < 100)) FROM tenk1", "SELECT a AS b FROM x WHERE y = 5 AND z = y", "SELECT FROM x WHERE y = 5 AND z = y", "SELECT a AS b FROM public.x WHERE...
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng_clock.c,v 1.19 2004/02/13 23:58:44 dawes Exp $ */ /* * * Copyright 1993-1997 The XFree86 Project, Inc. * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated doc...
/* Zenroom (DECODE project) * * (c) Copyright 2017-2018 Dyne.org foundation * designed, written and maintained by <NAME> <<EMAIL>> * * This source code is free software; you can redistribute it and/or * modify it under the terms of the GNU Public License as published * by the Free Software Foundation; either ...
#include <assert.h> #include <errno.h> #include "shotgun/lib/shotgun.h" #include "shotgun/lib/object.h" #include "shotgun/lib/symbol.h" #include "shotgun/lib/module.h" #include "shotgun/lib/hash.h" #include "shotgun/lib/lookuptable.h" #include "shotgun/lib/regexp.h" #include "shotgun/lib/subtend/ffi.h" #include "shotg...
/*************************************************************************** Philips SAA1099 Sound driver By <NAME> and <NAME> SAA1099 register layout: ======================== offs | 7654 3210 | description -----+-----------+--------------------------- 0x00 | ---- xxxx | Amplitude channel 0 (left) 0x00 | x...
#include <getopt.h> #include <sys/time.h> #include <interface/vcsm/user-vcsm.h> #include "remapvid.h" #include "vcsm_util.h" #include "qpu_util.h" #include "mailbox.h" #include "kernel.h" uint32_t next_pow2(uint32_t x) { x--; x |= x>>1; x |= x>>2; x |= x>>4; x |= x>>8; x |= x>>16; x++; return x; } volatile b...
/* * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause OR Arm's non-OSI source license * */ #include "cc_pal_mem.h" #include "cc_pal_mutex.h" #include "cc_pal_abort.h" #include "cc_common_math.h" #include "cc_ecpki_types.h" #include "cc_ecpki_erro...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*Daala video codec Copyright (c) 2006-2010 Daala project 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: -...
//Inspired by gmpy2 : https://pypi.org/project/gmpy2/ //Used the The GNU Multiple Precision Arithmetic Library : https://gmplib.org/ //Standard: ANSI-X9.31 -1998 Digital Signatures Using Reversible Public Key Cryptography for the Financial Services Industry (rDSA) #include<stdio.h> #include<gmp.h> #include <windows.h>...
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<termios.h> #include<unistd.h> void gotoxy(int x, int y)//Move cursor to desired location { printf("%c[%d;%df", 0x1B, y, x); } int getch(void)//get a character, does not wait for enter, does not echo { struct termios oldattr, newattr; int c...