text
stringlengths
5.8k
28.2k
/* * Copyright (c) 2020 Baidu.com, Inc. 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 required by app...
/* * Functions managing stream_interface structures * * Copyright 2000-2009 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at y...
/* * Copyright (c) 2019-2020 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * This code uses concepts and configuration based on 'synth', by * <NAME> <<EMAIL>>, which was written in ada. * * Redistribution and use...
// Copyright 2018 Gravitational, 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 law or agreed to...
/*------------------------------------------------------------------------- * * Image similarity extension * * Copyright (c) 2013, PostgreSQL Global Development Group * * This software is released under the PostgreSQL Licence. * * Author: <NAME> <<EMAIL>> * * IDENTIFICATION * imgsmlr/imgsmlr_idx....
/* floatlog.c: logarithm and friends, based on floatnum. */ /* Copyright (C) 2007, 2008 <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 ...
#pragma ident "$Id: purge.c 165 2005-12-23 12:34:58Z andres $" /* -------------------------------------------------------------------- Program : Any Task : Archive Library API functions. File : purge.c Purpose : Purge functions. Host : CC, GCC, Microsoft Visual C++ 5.x, MCC68K 3.1 Target : Solaris...
//******************************************************************* //Author: <NAME> // <NAME> //Description: SNSv3 Functionality Tests // Derived from SNSv3_test_v2 // Optimizing delay parameters and LDO settings // Now going to sleep after enabling LDO // Only resets CDC once per wakeup //******...
/*************************************************************************** * * ftclParse.c: C jacket for the ftcl TCL command line parsing. * <NAME> * * ftclParse provides a parsing capability for TCL procs and C functions. * See the description in ftclParse.tcl for a full description. * * The work is actuall...
/* * Copyright 2008-2013 Freescale Semiconductor, Inc. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include "flib/rta.h" #include "test_common.h" enum rta_sec_era rta_sec_era; LABEL(aaa); REFERENCE(ref1_jump_aaa); REFERENCE(ref2_jump_aaa); REFERENCE(ref1_job_aaa); REFERENCE(ref1_shr_aaa); REF...
#include <pebble.h> #include <time.h> #include <stdio.h> #define PERSIST_KEY_COUNT 255 #define PERSIST_KEY_BASE 32 #define MARKER_SIZE 4 #define HI_FROM_WATCH 9 #define HI_FROM_PHONE 10 #define CONN_TO_WATCH 11 #define DISCONN_TO_WATCH 12 #define ACK_TO_WATCH 13 #define NACK_TO_WATCH 14 #define KEY_TO_WATCH 15 #def...
// SPDX-License-Identifier: GPL-2.0-only /* * Cryptographic API. * * Support for OMAP AES GCM HW acceleration. * * Copyright (c) 2016 Texas Instruments Incorporated */ #include <linux/errno.h> #include <linux/scatterlist.h> #include <linux/dma-mapping.h> #include <linux/dmaengine.h> #include <linux/omap-dma.h> #...
/***************************************************************************//** * @file * @brief processes commands incoming over the serial port. * Originally written for the eval-kit application. * * @deprecated command-interpreter is deprecated and will be removed in a * future release. Use command-interpr...
/** * @file obdeque.c * @brief obdeque Method Implementation * @author theck */ #include "../../include/obdeque.h" #include "../../include/private/obdeque_private.h" /* PUBLIC METHODS */ obdeque * obdeque_new(void){ return obdeque_create_default(); } obdeque * obdeque_copy(const obdeque *to_copy){ obj *e...
/* * libgit2 "status" example - shows how to use the status APIs * * Written by the libgit2 contributors * * To the extent possible under law, the author(s) have dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed without an...
// SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE #include <arpa/inet.h> #include <errno.h> #include <error.h> #include <linux/in.h> #include <netinet/ip.h> #include <netinet/ip6.h> #include <netinet/udp.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #includ...
#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...
/********************************************************************* Blosc - Blocked Shuffling and Compression Library Author: <NAME> <<EMAIL>> Creation date: 2015-07-30 See LICENSE.txt for details about copyright and rights to use. **********************************************************************/ #...
#include "StubCode.h" #include "Heap.h" #include "Lookup.h" #include "CodeGenerator.h" #include "CodeDescriptors.h" #include "AssemblerX64.h" #include "Thread.h" #include "StackFrame.h" #include "Handle.h" #include "Smalltalk.h" static void initCodeGenerator(CodeGenerator *generator); static CompiledMethod *createDoes...
/* * Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. * * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. * * Tests gleaned from <NAME>'s UTF-8 and Unicode FAQ, * and specifically, his UTF-8-test.txt decoder stress t...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright 2008 by <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 2020-2021 Intel Corporation * * 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://ww...
// // Created by akatsarakis on 12/02/19. // #include <getopt.h> #include "../../include/hades/hades.h" typedef struct { hades_view_t* ctx_last_local_view; uint8_t dst_id; } hades_view_wrapper_w_dst_id_t; int hades_skip_or_get_dst_id(uint8_t *req) { return ((hades_view_wrapper_w_dst_id_t*)req)->dst_id; } ...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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...
#include "web_debugger.h" #include <stdlib.h> #include <stdbool.h> #include "cJSON.h" #include "mongoose.h" #include "SDL.h" #include "trs.h" static struct mg_mgr www_mgr; static SDL_Thread* thread; static SDL_Thread* emu_run_thread; static struct mg_connection* status_conn = NULL; static TRX_Context* ctx = NULL; st...
/* ----------------------------------------------------------------------- * * Z80C : Z80 Engine - GENERIC * * Copyright by <NAME> 1999-2000,2004 * *------------------------------------------------------------------------ */ #include "compiler.h" #include "z80core.h" #include "z80c.h...
/* * Copyright 2009-2015 Freescale Semiconductor, Inc. All Rights Reserved. */ /* * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-li...
#include <stdlib.h> #include <stdio.h> #include <stdint.h> int32_t table_from_exe_1[] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000002, 0x00000004, 0x00000006, 0x00000008, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000002, 0x00000004, 0x00000006, 0x00000008 }; int32_t table_from_...
/* ----------------------------------------------------------------------------- * This file is part of SWIG, which is licensed as a whole under version 3 * (or any later version) of the GNU General Public License. Some additional * terms also apply to certain portions of SWIG. The full details of the SWIG * licen...
/* MPI-CHECKPOINT — C library that implements user-level MPI checkpoints. © 2021 <NAME> This file is part of MPI-CHECKPOINT. This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or ...
/* * */ #define F_CPU 4000000UL #include <avr/interrupt.h> #include <stdint.h> /* #include <util/atomic.h> */ #include <util/delay.h> #include "unix/constant.h" #include "debug.h" #include "encode.h" #include "key-board.h" #include "twi.h" /* registers we want to access */ #define REG_CONTROL_1 0x1C #define REG_...
// // find.c // // Find files in a directory hierarchy // // Copyright (C) 2013 <NAME>. All rights reserved. // Original version by <NAME>. // POSIX compliant version by <NAME>. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions...
#define _POSIX_C_SOURCE 200809L #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <assert.h> #include <time.h> #include <errno.h> #include <unistd.h> #include <cairo/cairo.h> #include <linux/input-event-codes.h> #include <pml.h> #include "shared.h" #include "display.h" #include "...
/** * Shared memory implementation of heartbeat-accuracy-power.h * * @see heartbeat-util-shared.c * @author <NAME> * @author <NAME> */ #include "heartbeat-accuracy-power.h" #include "heartbeat-util-shared.h" #include "hb-energy.h" #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h...
/* File: mpi_conjugate_gradient.c * Purpose: Implement the iterative method known as * "method of conjugate gradients" with C and MPI. * The method of cojugate gradients is used to solve linear systems * when the coefficient matrix is symmetric and positive definite. * * Comp...
/* * Copyright (c) 2018 XLAB d.o.o. * * 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 ...
//############################################################################# //! \file /2837x_vcu2_viterbi_k4cr12/main.c //! //! \brief Demo code for Viterbi K=4 CR=1/2 routine(VCU) //! //! \date July 25, 2013 //! //! This example shows how to use the vcu2 supported VITERBI routines from the //! library //! // /...
/* -*- mode: c; c-basic-offset: 4; 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...
/****************************************************************************** * ledbox.c * * ======== * * * ...
/* Info: Feel free to use these lines as you wish. This program iterates over all k-cliques. This is an improvement of the 1985 algorithm of Chiba And Nishizeki detailed in "Arboricity and subgraph listing". To compile: "gcc kClist.c -O9 -o kClist". To execute: "./kClist k edgelist.txt". "edgelist.txt" should contai...
/* * Copyright (c) 2017-2018 Qualcomm Technologies, Inc. * Copyright (c) 2004-2005 Qualcomm Atheros, Inc. * All Rights Reserved. */ // Copyright (c) 2018 Qualcomm Technologies, Inc. // All rights reserved. // Redistribution and use in source and binary forms, with or without modification, are permitted (subject to ...
/*********************************************************************************************************************** * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No * other uses are authorized. This software is owned by Renesas El...
// SPDX-FileCopyrightText: Copyright (c) 2021 Electronics and Telecommunications Research Institute // // SPDX-License-Identifier: GPL-3.0-or-later /**************************************************************************** * Included Files **************************************************************************...
/**************************************************************************** * PROJECT: Common include * FILE: sq.h * CONTENT: * * AUTHOR: * ADDRESS: * EMAIL: * RCSID: $Id$ * * 03/26/04 tim - add primitive dispatch macro/typedef * 11/12/03 nedkonz - float bug fix for gcc 3.3 optimization * 05...
/*! \file Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy) All rights reserved. The source code is distributed under BSD license, see the file License.txt at the top-level director...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2018 Marvell International Ltd. */ #include <dm.h> #include <dm/of_access.h> #include <malloc.h> #include <memalign.h> #include <nand.h> #include <pci.h> #include <pci_ids.h> #include <time.h> #include <linux/bitfield.h> #include <linux/ctype.h> #include <lin...
/* $Id: emulexmt02.c,v 1.4 2007/08/25 22:54:59 fredette Exp $ */ /* scsi/emulexmt02.c - Emulex MT-02 SCSI tape emulation: */ /* * Copyright (c) 2003 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/* * Unit test for timespec's * */ #include <stdlib.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> /* required by C99, for int32_t */ #include <time.h> /* for time_t */ #include <math.h> #include <unistd.h> #include "compiler.h" #include "revision.h" #include "ppsthread.h" ...
/** Copyright (C) 2003-2004 <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...
// Copyright 2021 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
#include "glguts.h" #include "gfx_m64p.h" #include "parallel_imp.h" #include <string.h> #include <stdint.h> #include <stdbool.h> #include <math.h> #if !defined(GLES) #include <GL/gl.h> #include <GL/glext.h> #else #include <GLES3/gl3.h> #include <GLES3/gl3ext.h> #include <EGL/egl.h> #define GL_MAP_PERSISTENT_BIT ...
/* * Copyright 2022 <NAME>/KSS Technologies (Pty) Ltd. */ #include "mpl3115.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 0xF001...
# include <stdio.h> # include <stdlib.h> # include <string.h> #include "hstcal.h" # include "hstio.h" # include "wf3.h" # include "wf3rej.h" # include "hstcalerr.h" # include "wf3info.h" # include "rej.h" static void closeSciDq (int, IODescPtr [], IODescPtr [], clpar *); /* rej_do -- Perform the co...
/* * @file yapp_siftpulses.c * Program to generate a single-pulse diagnostic plot from given dedispersed * time series data. * * @verbatim * Usage: yapp_siftpulses [options] <data-file-dm0> ... <data-file-dmN-1> * -h --help Display this usage information * -n --nsamp <sample...
/* ** task_dotsj.c ** ** Standard 2-alternative forced-choice ** dots task for Jeff's MT LIP fine discrimintion experiment ** also for Yin's motion-saccade tasks (can be used for mapping MT RFs) ** ** Modified from task_dots.c on 12/08/08 ** 2011/05/11 yl - fixed ecode issue w/ t1_x ** 2011/05/17 yl - use joy...
/* * MagAdventure * Text-based adventure game by @kostasvs, a christmas gift for @anastmag * 28/12/2018 */ #include <stdio.h> #include <string.h> #include <ctype.h> #include "adshell.h" #define SAME(A,B) (!strcmp(A,B)) #define TRUE 1 #define FALSE !(TRUE) #define NULL (char *)0 #define OpDoor 1 #define OpDoorL...
/* * Random ipv4/ipv6/MAC address generator, version 1 * * Public domain: whole code or it's snippets can be taken from there without any permission. */ #include <stdio.h> #include <string.h> #include <sys/time.h> #include <stdlib.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <libg...
/* * Copyright 2012 <NAME> <<EMAIL>> * Copyright 2013-2014 <NAME> <<EMAIL>> * * This file is part of HackRF. * * 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 yo...
/* Mood Tracker v1.2 https://github.com/alni/MoodTracker/ ---------------------- The MIT License (MIT) Copyright (c) 2015-2016 <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 restr...
/* * Tegra host1x Syncpoints * * Copyright (c) 2010-2013, NVIDIA Corporation. * * 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 distribute...
/* * (c) 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 of the License, or (at your option) any later version. * ...
/* ** Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved. ** Copyright (C) 2005-2013 Sourcefire, Inc. ** ** 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. You m...
/** * \file * \brief Architecture-independent bootstrap code. */ /* * Copyright (c) 2007, 2008, 2009, 2010, 2011, 2013, ETH Zurich. * 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 ...
# 1 "a4.c" void test0(void); void test1(void); a=b+c; # 1 "a1.h" 1 void test2(void); void test3(void); a=b+c; # 1 "a11.h" 1 void test4(void); void test5(void); a=b+c; # 856 "a11.h" void test6(void); void test7(void); a=b+c; # 105 "a1.h" 2 void test8(void); void test9(void); a=b+c; # 1 "a13.h" 1 void test10(void); void ...
//private implementation #include "pc.h" #include <driver/vga.h> #include <intr.h> #include <zjunix/syscall.h> #include <zjunix/utils.h> #include <assert.h> //need to allocate memory #include <zjunix/slab.h> #include <auxillary/defs.h> #include <auxillary/error.h> /* * 为了管理系统中所有的进程控制块, 维护了如下全局变量 */ task_struct pc...
// Naive implementation of F_p. // Uses lowlevel GMP routines (mpn_* functions). // // Within an element_t, ''data'' field of element holds pointer to array of // mp_limb_t, which is allocated on init and freed on clear. // Its size is fixed and determined by the number of limbs in the modulus. // This simplifies code ...
// SPDX-License-Identifier: GPL-2.0 /* * usb-serial driver for Quatech SSU-100 * * based on ftdi_sio.c and the original serqt_usb.c from Quatech * */ #include <linux/errno.h> #include <linux/slab.h> #include <linux/tty.h> #include <linux/tty_driver.h> #include <linux/tty_flip.h> #include <linux/module.h> #include...
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* * flatex.c - * Flatten a latex file into a single file, by explicitly including * the files inclued by \include and \input commands. Also, if bibtex is * beeing used, then includes the .bbl file into the resulting file. Thus, * creat...
/* * Copyright (c) 2002, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2005 <NAME> Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as...
#include <stdlib.h> #include <stddef.h> #include <string.h> #include <stdio.h> #include <sys/stat.h> #include "emmpm/common/EMMPM_Math.h" #include "emmpm/common/random.h" #include "emmpm/common/EMTime.h" #include "emmpm/public/EMMPM.h" #include "emmpm/private/curvature_mpm.h" #include "emmpm/opencl/OpenCLUtils.h" //...
// Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <assert.h> #include <fcntl.h> #include <getopt.h> #include <pthread.h> #include <signal.h> #include <stdbool.h> #include <stdio.h...
/* Cell SPU GNU/Linux multi-architecture debugging support. Copyright (C) 2009-2015 Free Software Foundation, Inc. Contributed by <NAME> <<EMAIL>>. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
/****************************************************************************** * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER * * This file is part of Open PHIGS * Copyright (C) 2011 - 2012 Surplus Users Ham Society * * Open PHIGS is free software: you can redistribute it and/or modify * it under ...
#ifdef __MINGW32__ #include <ctype.h> #endif #include "rendertext.h" #define CHAR_WIDTH 5 #define CHAR_HEIGHT 7 #define TEXTURE_HEIGHT (CHAR_HEIGHT * 1) #define TEXTURE_WIDTH (CHAR_WIDTH * 0x60) // Text Area origin => debug area int xPos = 0; int yPos = 0; // font texture SDL_Texture *fontTexture; int textureInitial...
/* * Ancient UNIX File Systems for MacFUSE * <NAME> * http://osxbook.com */ #include "ancientfs_v7.h" #include "unixfs_common.h" #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/stat.h> #if V10_4K DECL_UNIXFS...
/** @file dialog.h @brief Interactive, modal data entry tools @author Alexios Original banner, legalese and change history follow. @par @verbatim ***************************************************************************** ** ...
/* * ex: set tabstop=4 ai expandtab softtabstop=4 shiftwidth=4: * -*- mode: c-basic-indent: 4; tab-width: 4; indent-tabls-mode: nil -*- * $Id$ */ /************************************************************************ * * * ...
/* * 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 ...
/* $OpenBSD: aac_pci.c,v 1.24 2009/04/06 15:18:45 kettenis Exp $ */ /*- * Copyright (c) 2000 <NAME> * Copyright (c) 2000 BSDi * Copyright (c) 2000 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
/* * This file is part of project l3roamd. It's copyrighted by the contributors * recorded in the version control history of the file, available from * its original location https://github.com/freifunk-gluon/l3roamd. * * SPDX-License-Identifier: BSD-2-Clause */ #include "ipmgr.h" #include "alloc.h" #include "erro...
/* * Copyright 2016 Google 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 law or agreed to...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
/* $OpenBSD: asc_tcds.c,v 1.1 2002/05/02 22:56:06 miod Exp $ */ /* $NetBSD: asc_tcds.c,v 1.5 2001/11/15 09:48:19 lukem Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME> of the Numerical Aeros...
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
/* Copyright (c) 2014 <NAME>. All rights reserved. * License: This code is licensed under a 3-clause BSD license. See * the file named "LICENSE" for a full copy of the license. */ /** This file is similar to kuhl-util.c, however these are functions * that do not depend on any other libraries. Therefore, it shou...
/* * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
/* * Copyright 2005-2018 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
//------------------------------------------------------------------------------ // imgui-usercallback-sapp.c // // Demonstrate rendering inside an ImGui window with sokol-gfx and // sokol-gl using ImGui's UserCallback command. // // Uses cimgui instead of the ImGui C++ API (C vs C++ API is not relevant // for the...
// Copyright 2018 The Wuffs 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 agreed...
#define _POSIX_C_SOURCE 200809L #include "action.h" #include <pthread.h> #include <signal.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/stat.h> #include <sys/select.h> #include <fcntl.h> #include <errno.h> #include <pcre.h> #include <semaphore.h> #include "commo...
#include<stdio.h> #include<unistd.h> #include<stdlib.h> #include<sys/socket.h> #include<sys/wait.h> #include<arpa/inet.h> #include<errno.h> #include<string.h> #include<sys/mman.h> #include "headers.h" #include "network.h" char *shared_memory = NULL; int *client_count = NULL; int *shared_data = NULL; void get_share...
/* * Soft: Keepalived is a failover program for the LVS project * <www.linuxvirtualserver.org>. It monitor & manipulate * a loadbalanced server pool using multi-layer checks. * * Part: Healthcheckers dynamic data structure definition. * * Author: <NAME>, <<EMAIL>> * ...
/* Copyright (c) 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 the rights * to use, copy, modify, merge, publish, distri...
/* * Dallas DS2153, DS21x54 single-chip E1 tranceiver registers. * * Copyright (C) 1996 Cronyx Engineering. * Author: <NAME>, <<EMAIL>> * * This software is distributed with NO WARRANTIES, not even the implied * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * Authors grant any other per...
/* Portable C implementation of SHA256 hashing. The implementation is part of the raaz cryptographic network library and is not meant to be used as a standalone sha256 function. Copyright (c) 2012, <NAME> and <NAME> All rights reserved. This software is distributed under the terms and conditions of the BSD3 license...
/* mpc_atan -- arctangent of a complex number. Copyright (C) 2009, 2010, 2011, 2012 INRIA This file is part of GNU MPC. GNU MPC 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...
/********************************************************************* * G450: This is for Dual Head. * Matrox Graphics * Author : <NAME> **********************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* All drivers should typically include these...
#include "../include/chip8.h" #include <assert.h> #include <stdint.h> #include <string.h> #include "defs.h" // clang-format off const u8 chip8_fontmap[80] = { 0xF0, 0x90, 0x90, 0x90, 0xF0, // 0 0x20, 0x60, 0x20, 0x20, 0x70, // 1 0xF0, 0x10, 0xF0, 0x80, 0xF0, // 2 0xF0, 0x10, 0xF0, 0x10, 0xF0, // 3 0x90, 0x90, 0...
/* * IPv6 fragment reassembly * Linux INET6 implementation * * Authors: * <NAME> <<EMAIL>> * * $Id: reassembly.c,v 1.1.1.1 2001/02/22 14:59:03 serg Exp $ * * Based on: net/ipv4/ip_fragment.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gene...