text
stringlengths
7.55k
41.9k
/*- * Copyright (c) 2014 Yandex LLC * Copyright (c) 2014 <NAME> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of con...
/* ===================================================================== * Project: PULP DSP Library * Title: plp_cfft_q16s_rv32im.c * Description: 16-bit fixed point Fast Fourier Transform on Compled Input Data * * $Date: 30. June 2020 * $Revision: V0 * * Target Processor: PULP cores * ...
/*------------------------------------------------------------------------- * * ginfast.c * Fast insert routines for the Postgres inverted index access method. * Pending entries are stored in linear list of pages. Later on * (typically during VACUUM), ginInsertCleanup() will be invoked to * transfer pend...
// Copyright <NAME> and contributors 2010 - 2020. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <time.h> #inclu...
/* * Unit test suite for memory functions * * Copyright 2003 <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 the License, or (at your option) any ...
/* Unwinding of frames like gstack/pstack. Copyright (C) 2013-2014 Red Hat, Inc. This file is part of elfutils. This file 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 Lic...
/* * Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved. * Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved. * Copyright (c) 2014 Research Organization for Information Science * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * ...
/* $OpenBSD: if_de.c,v 1.3 2003/06/02 23:27:58 millert Exp $ */ /* $NetBSD: if_de.c,v 1.11 2001/11/13 07:11:24 lukem Exp $ */ /* * Copyright (c) 1982, 1986, 1989 Regents of the University of California. * Copyright (c) 2000 Ludd, University of Lule}, Sweden. * All rights reserved. * * * Redistribution and use in...
// Implementation for rope library. #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <stdbool.h> #include <assert.h> #include "rope.h" // The number of bytes the rope head structure takes up static const size_t ROPE_SIZE = sizeof(rope_t) + sizeof(rope_node_t) * ROPE_MAX_HEIGHT; // Create a new...
// SPDX-License-Identifier: GPL-2.0 /* * Driver for the Chrontel CH7322 CEC Controller * * Copyright 2020 Google LLC. */ /* * Notes * * - This device powers on in Auto Mode which has limited functionality. This * driver disables Auto Mode when it attaches. * */ #include <linux/cec.h> #include <linux/dmi.h...
/* Copyright (c) 2019, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <string.h> #include <signal.h> #include <stdlib.h> #include <stdint.h> #include <inttypes.h> #include <getopt.h> #include <odp_api.h> #include <odp/helper/odph_api.h> #define MAX_PKTIO...
#include <db.h> #include <db_int.h> #include "dbinc_auto/os_ext.h" #include "dbinc_auto/txn_auto.h" #include "dbinc/db_swap.h" #include "printformats.h" #include <stddef.h> #include <stdlib.h> #include <string.h> #include "list.h" #include "db_int.h" #include "dbinc/db_page.h" #include "dbinc/btree.h" #include "dbinc...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * 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. */ /* gc_co_nhP.c 3D C(CO)NH (or CCH-TOCSY-NNH) gradient se...
/***********************************************************************/ /* */ /* PROJECT NAME : RL78G1A */ /* FILE : iodefine_ext.h */ /* DESCRIPTION : Definition of Extended SFRs ...
/******************************************************************************* * * Font metric data for Palatino Italic * * Copyright 2001 <NAME> * * * See dlls/wineps/data/COPYRIGHTS for font copyright information. * */ #include "psdrv.h" #include "data/agl.h" /* * Glyph metrics */ static const AFMME...
#include "types.h" #include "defs.h" #include "param.h" #include "mmu.h" #include "proc.h" #include "x86.h" #include "traps.h" #include "spinlock.h" #include "gui.h" #include "window.h" #define COLOR_BLACK 0x0000 #define COLOR_RED 0xF800 #define COLOR_GREEN 0x07E0 #define COLOR_BLUE 0x001F #define COLOR_YELLOW 0xFFE0 ...
/* 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 writing, software distr...
//highlight.c contains functions that highlight text //Header information is in general.h #include "general.h" #include "functions.h" #include "parser.h" #include <string.h> /* 0 - Null (no color) 1 - Number (bold) 2 - Variable (not used) 3 - Comment (green) 4 - Error character (red) 5 - Bracket...
/* Copyright (c) 1997-2015, <NAME> All rights reserved. See the LICENSE.TXT file for licensing information. */ #define GRAPHNONPLANAR_C #include "graph.h" /* Imported functions */ extern void _InitIsolatorContext(graphP theGraph); extern int _ClearVisitedFlagsInBicomp(graphP theGraph, int BicompRoot);...
/******************************************************************************* * * Font metric data for Palatino Bold * * Copyright 2001 <NAME> * * * See dlls/wineps/data/COPYRIGHTS for font copyright information. * */ #include "psdrv.h" #include "data/agl.h" /* * Glyph metrics */ static const AFMMETR...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions o...
/* --- From kinit --------------------------------------------------- */ /* allocate two more page table and do some stuff */ page_table1 = (pte_t *)early_alloc_page(); page_table2 = (pte_t *)early_alloc_page(); page_directory[PAGE_DIRECTORY_OFFSET_OF(PAGE_TABLES_ADDR)] = (pte_t)page_table1 | VM_FLAG_PRESENT ...
/* * 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 "sackit_internal.h" void (*(fnlist_itmixer[]))(sackit_playback_t *sackit, int offs, int len) = { sackit_playback_mixstuff_it211, sackit_playback_mixstuff_it211s, sackit_playback_mixstuff_it211l, sackit_playback_mixstuff_it211ls, sackit_playback_mixstuff_it212, sackit_playback_mixstuff_it212s, sackit_pl...
/* $OpenBSD: dir.c,v 1.59 2010/07/19 19:46:44 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* * Copyright (c) 1999 <NAME>. * * Extensive code changes for the OpenBSD project. * * Redistribution and use in source and binary forms, with or without * modification, are permitted prov...
/* multifit_nlinear/subspace2D.c * * Copyright (C) 2016 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version...
/* * Copyright [1999-2017] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * * 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.o...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include <time.h> #include <math.h> #include <pthread.h> #include <semaphore.h> #define MAXLEN 500 // Structure holding description of each box // PENDING - Need to create a destroy function to deallocate memory later. struct Bo...
#define AHCI_BASE 0x400000 // 4M #define AHCI_DEV_NULL 0 #define AHCI_DEV_SATA 1 #define AHCI_DEV_SEMB 2 #define AHCI_DEV_PM 3 #define AHCI_DEV_SATAPI 4 #define ATA_DEV_BUSY 0x80 #define ATA_DEV_DRQ 0x08 #define HBA_PxCMD_ST 0x0001 #define HBA_PxCMD_FRE 0x0010 #define HBA_PxCMD_FR 0x4000 #define HBA_PxCMD_C...
/* lib.c - Some basic library functions (printf, strlen, etc.) * vim:ts=4 noexpandtab */ #include "lib.h" #include "kb.h" #include "syscalls.h" #include "x86_desc.h" #include "i8259.h" #include "pit.h" #define VIDEO 0xB8000 #define PAGE_SIZE 4096 #define ATTRIB 0x7 /* Some helpful constants for the ter...
/* $Id: attacks.c,v 1.13 2003-03-02 13:52:50 martin Exp $ */ #include <assert.h> #include <string.h> /* memset */ #include "chess.h" #include "board.h" #include "movegen.h" /* GET_CAP and GET_PRO macros */ #include "attacks.h" #include "logger.h" #include "chessio.h" /* gives the exclusive bit for each piecetype. re...
/* env.h : managing the BDB environment * * ==================================================================== * 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 * regardi...
/* $NetBSD: vulnerabilities-file.c,v 1.1.1.5 2010/06/26 00:14:33 joerg Exp $ */ /*- * Copyright (c) 2008, 2010 <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. R...
/* * 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...
/* * NMH's Simple C Compiler, 2011--2016 * Expression parser */ #include "defs.h" #include "data.h" #include "decl.h" #include "prec.h" static node *asgmnt(int *lv); static node *cast(int *lv); static node *exprlist(int *lv, int ckvoid); static node *rvalue(node *n, int *lv) { if (lv[LVADDR]) { lv[LVADDR] = 0;...
#include "config.h" #include <math.h> #include <string.h> #include <gtk/gtk.h> #include <libgnome/libgnome.h> #include <librsvg/rsvg.h> #include "vicious.h" #include "gdm.h" #include "gdmcommon.h" #include "greeter.h" #include "greeter_item.h" #include "greeter_events.h" #include "greeter_system.h" #include "greeter_...
/* $Header: /usr/src/games/warp/RCS/score.c,v 1.1.1 95/01/21 02:13:26 games Exp $ */ /* $Log: score.c,v $ * Revision 7.0.1.2a 87/07/03 02:13:26 games * Fixed numerous long vs. int bugs in printfs, etc. * * Revision 7.0.1.2 86/10/20 12:06:56 lwall * Made all exits reset tty. * * Revision 7.0.1.1 86/10/16 ...
/* * C Implementation: hygrochron * * Description: * * * Author: <NAME> <<EMAIL>>, (C) 2005 * * Copyright: See COPYING file that comes with this distribution * */ /* Adapted from Dallas Semiconductor PD Library - humutil.c */ //--------------------------------------------------------------------------- // Copyright...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> //--- The following constants can be changed to obtain more accurate results while a longer computational time is needed. #define MAX_STATE_RANGE 30 // Perform cutoff for the state over MAX_STATE_RANGE for each dimension. #d...
/* Copyright 2016 Vanderbilt University 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...
/* * (C) Copyright 2008 * Texas Instruments, <www.ti.com> * <NAME> <<EMAIL>> * * See file CREDITS for list of people who contributed to this * project. * * 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 Sof...
#include "sx/jobs.h" #include "sx/allocator.h" #include "sx/array.h" #include "sx/atomic.h" // yield, sx_lock_t #include "sx/fiber.h" #include "sx/os.h" // sx_os_minstacksz, sx_os_numcores #include "sx/pool.h" #include "sx/string.h" // sx_snprintf #include "sx/threads.h" #include <alloca.h> // TODO: job sel...
/* * Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/*- * Copyright (c) 1989, 1993, 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
/** @license 2019 <NAME>, distributed under the terms of the [MIT License](https://opensource.org/licenses/MIT). After one has done the parsing, this organizes the report for output to the user. */ #include "division.h" #include "format.h" #include "semantic.h" #include "buffer.h" #include "style.h" #include "imag...
/* program TURN.C *\ \* WARNING: "advent.c" allocates GLOBAL storage space by *\ \* including "advdef.h". *\ \* All other modules use "advdec.h". */ #include <stdio.h> /* drv = 1.1st file 2.def 3.A */ #include <ctype.h> #include <string.h> #include <stdlib.h> #include "advent.h" #include "advdec.h" /* ...
/* Copyright IBM Corp. 2013, 2019 */ #define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <sys/param.h> #include <fcntl.h> #include <string.h> #include "query_capacity_data.h" static const char *qc_sysinfo_delim = "\n"; static void qc_sysinfo_dump(struct qc_handle *hdl, char *sysinfo) { char...
// File: mumps/runtime/runtime_pattern.c // // module runtime - pattern match. Based on the FreeMUMPS code // FreeMUMPS is not to be placed under the GNU General Public Licence. // Anybody who wants to produce a proprietary product with parts of // FreeMUMPS is free to do so: Either with FreeMUMPS as part of // ...
//Copyright <>< 2018 <NAME>, under the MIT-x11 or NewBSD licenses, you choose. #include <string.h> #include <spreadgine.h> #include <spreadgine_util.h> #include <spreadgine_remote.h> #include <stdlib.h> #include <linmath.h> #include <os_generic.h> #include "spatialloc.h" static uint16_t * TVIndices; static float * TV...
#include "patientData.h" RBTNode ** inodeRBTree; RBTNode ** RBTreeArray; char ***filesArray; char * pipename[2]; int bufferSize; char **dirsArray; int numOfDirs; HashTable ** countryHashTable; HashTable * diseaseHashTable; RBTNode * idRBT; volatile sig_atomic_t SIGUSR1_flag=0; volatile sig_atomic_t SIGINT_flag=0; int ...
/* * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dis...
/*++ Copyright (c) 1990 Microsoft Corporation Module Name: p6.c Abstract: Counted events for P6 processor Author: <NAME> Environment: Notes: Revision History: --*/ #include "ntddk.h" #include "..\..\pstat.h" #include "stat.h" #ifdef ALLOC_DATA_PRAGMA #pragma da...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2013 <NAME> <<EMAIL>> * Copyright (c) 2013 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source...
#include "treadmill-spawn-common.h" #include <getopt.h> #include <jansson.h> #include <pwd.h> #include <stdbool.h> #include <sys/poll.h> #include <sys/signalfd.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/uio.h> #include <sys/un.h> #include <time.h> #include <unistd.h> #define DEFAULT_TIMEOUT ...
#include <stdio.h> #include <seccomp.h> #include <string.h> #include <signal.h> #include <stdlib.h> #include <ucontext.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/syscall.h> #include <sys/resource.h> #include <errno.h> #include <dlfcn.h> #include <linux/futex.h> ...
#include "gendesc.h" #include "genexpr.h" #include "genfun.h" #include "genname.h" #include "genopt.h" #include "gentype.h" #include "../type/reify.h" #include "../ast/stringtab.h" #include "../../libponyrt/mem/pool.h" #include "ponyassert.h" #include <string.h> #define DESC_ID 0 #define DESC_SIZE 1 #define DESC_FIELD...
#include <nds.h> #include "level.h" #include "scenes.h" #include "mi.h" #include "io.h" static int g_gameLastTick = 0; //static int textureIds[2]; static int *textureIds = NULL; #define MODE_PLAY 1 /* mode for physics in action*/ #define MODE_LOSE 2 /* mode for losing */ #define MODE_WIN ...
/* Copyright (c) 2017-2019 <NAME> a.k.a mr.DIMAS * * 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, ...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * lib/gssapi/krb5/k5unsealiov.c * * Copyright 2008, 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 ...
// Copyright 2019 <NAME>. All Rights Reservered. // // 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 l...
#include "include/apu.h" #include "include/cpu.h" #include "include/util.h" static void apu_half_frame_tick(apu_t *apu); static void apu_quarter_frame_tick(apu_t *apu); const u8 LC_LENGTHS[32] = {0x0A, 0xFE, 0x14, 0x02, 0x28, 0x04, 0x50, 0x06, 0xA0, 0x08, 0x3C, 0x0A, 0x0E, 0x0C, 0x1A, 0x0E,...
/** * @file arasan.c * @brief Arasan ethernet driver * @author <NAME> <<EMAIL>> * @version 0.1 * @date 27.12.2016 */ #include <errno.h> #include <sys/mman.h> #include <util/log.h> #include <drivers/gpio/gpio.h> #include <drivers/common/memory.h> #include <hal/reg.h> #include <kernel/printk.h> #include <kernel/...
/**************************************************************************//** * @file mmu.c * @brief MMU Configuration for Arm Cortex-A Device Series * @version V1.00 * @date 10. January 2018 * * @note * ******************************************************************************/ /* ...
/* * File: lcdi2c.c * Author: <NAME> * * Created on August 8, 2017, 9:59 AM */ #include "hal.h" #include <i2c.h> #include "utils.h" int I2CError = 0; void initI2C(void) { unsigned int config2, config1; /* Baud rate is set for 100 kHz */ config2 = (FCY / 100000 - FCY / 1111111...
/* Decode Composite, 100MHz PWM bitstream Alternate: 100MHz 3x PCM4 Signal stored as a series of 4-bit PCM samples, LSB first. 60Hz, 262.5 lines per frame (interlace). Line Freq(1) = 15.750 kHz Line Freq(2) = 15.734 kHz Pixel Freq = 5.040 MHz Pixel = ~19.84 bits (320). Pixel = ~9.92 bits (640). Pixel = ~9.92 bits (...
#include <stdio.h> #include <stdlib.h> #include <string.h> const char *set[] = { "GET ", "Host:", "Connection:", "Sec-WebSocket-Key1:", "Sec-WebSocket-Key2:", "Sec-WebSocket-Protocol:", "Upgrade:", "Origin:", "Sec-WebSocket-Draft:", "\x0d\x0a", "Sec-WebSocket-Key:", "Sec-WebSocket-Version:", "Sec-WebSock...
/* * pbi_xld.c - 1450XLD and 1400XL emulation * * Copyright (C) 2007-2008 <NAME> * Copyright (C) 2002-2008 Atari800 development team (see DOC/CREDITS) * * This file is part of the Atari800 emulator project which emulates * the Atari 400, 800, 800XL, 130XE, and 5200 8-bit computers. * * Atari800 is free softwar...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
/* * Copyright (C) 2008 The Android Open Source Project * 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, t...
/* Authored 2016-2018. <NAME>. Additional contributions, 2018 onwards: <NAME>, <NAME>, <NAME>, <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 reta...
/* * Match and query i3/sway window properties and events. * * needed libraries: json-c */ #include "i3util.h" #include "i3ipc.h" #include "i3json.h" #include "debug.h" #include "jsonutil.h" #include "util.h" #include "sb.h" #include <json-c/json_tokener.h> #include <assert.h> #include <getopt.h> #include <unist...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Broadcom * All rights reserved. */ #include <unistd.h> #include <rte_bitmap.h> #include "bcmfs_qp.h" #include "bcmfs_logs.h" #include "bcmfs_dev_msg.h" #include "bcmfs_device.h" #include "bcmfs_hw_defs.h" #include "bcmfs_rm_common.h" /* Ring version */...
/* * XDD - a data movement and benchmarking toolkit * * Copyright (C) 1992-2013 I/O Performance, Inc. * Copyright (C) 2009-2013 UT-Battelle, LLC * * This 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 ...
/* $Id: pointers.c,v 1.1 1998-10-05 22:32:29 cg Exp $ */ /* * Mesa 3-D graphics library * Version: 3.0 * Copyright (C) 1995-1998 <NAME> * * 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 Fo...
// reu-load.c #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "chain-prg.h" #define PROGRAM "/usb0/hello" #define FILESYSTEM "/usb0/filesys.img" /* Settings for RISC-V registers: */ /* Entry point, lower three bytes (upper byte is 0x01) */ #define RISCV_...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <assert.h> #include <io.h> #define ENUM_VAL(_, V, ...) V, #define ENUM_NAME(N, _, ...) N, #define DEF_ENUM(NAME, VALUE_LIST)\ typedef enum NAME NAME;\ enum NAME {\ VALUE_LIST(ENUM_VAL)\ NAME##_Count,\ };\ \ const char* co...
/* * @file bme280.c * @brief BME280 Library Code * @headerfile <bme280.h> * @details Bosch Sensortec BME280 driver library for TI-RTOS using I2C bus * * @author <NAME> * @date 2016 * @version 100 * @copyright (C) 2016 <NAME> spirilis at linux dot com * @n Permission is hereby granted, free of charge, to any ...
/* gtksizerequest.c * Copyright (C) 2007-2010 Openismus GmbH * * Authors: * <NAME> <<EMAIL>> * <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; eithe...
/* cmd_sniffer example. This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <string.h> #...
/* * Copyright 2019 International Business Machines * * 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...
/* * Copyright (c) 2004-2006 <NAME> <<EMAIL>> * Copyright (c) 2006-2007 Sippy Software, Inc., http://www.sippysoft.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. Redistribution...
/*- * Copyright (c) 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, ...
/* code to manage the picture gallery window */ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <dirent.h> #include <ctype.h> #include <math.h> #include <sys/types.h> #include <unistd.h> #include <Xm/Xm.h> #include <Xm/Form.h> #include <Xm/Frame.h> #include <Xm/Label.h> #includ...
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this...
/* The MIT License (MIT) Copyright (c) 2015-? suhetao 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...
/* ** libzbxpgsql - A PostgreSQL monitoring module for Zabbix ** Copyright (C) 2015 - <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 *...
/* Unix SMB/CIFS implementation. Password and authentication handling Copyright (C) <NAME> 1992-1998 Copyright (C) <NAME> 2007. 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; ei...
#define __PIKA_OBJ_CLASS_IMPLEMENT__ #include "PikaCompiler.h" #include "BaseObj.h" #include "PikaObj.h" #include "PikaParser.h" #include "dataQueue.h" #include "dataQueueObj.h" #include "dataStack.h" #include "dataStrs.h" /* const Pool output redirect */ static void __handler_constPool_output_file(ConstPool* self, ...
/* * Mathlib : A C Library of Special Functions * Copyright (C) 1998-2015 <NAME> and the R Core team. * * 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...
#include <allegro.h> #include <stdio.h> #include "foflc/Lyric_storage.h" #include "foflc/Midi_parse.h" #include "foflc/Script_parse.h" #include "foflc/VL_parse.h" #include "foflc/UStar_parse.h" #include "foflc/LRC_parse.h" #include "foflc/ID3_parse.h" #include "foflc/SRT_parse.h" #include "foflc/XML_parse.h" ...
/* * Interrupt driver for RICOH583 power management chip. * * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved. * Author: <NAME> <<EMAIL>> * * based on code * Copyright (C) 2011 RICOH COMPANY,LTD * * This program is free software; you can redistribute it and/or modify it * under the term...
/* NOTE!!! last time we got files with embedded spaces in them. /san/sanvol1/visiGene/gbdb/full/inSitu/XenopusLaevis/nibb/XL013p16_W-2-1b10_r45_28/XL013p16_ St17_dorsal.jpg There is a space just before "St17_dorsal.jpg" and there were several other files like this that had to be manually fixed. Also, for next...
/***************************************************************************** ** ** Name: app_ble_main.c ** ** Description: Bluetooth BLE Main application ** ** Copyright (c) 2015-2016, Broadcom Corp., All Rights Reserved. ** Broadcom Bluetooth Core. Proprietary and confidential. ** ******************...
/** * @file fs.h * @brief Filesystem (fsp-srv) service IPC wrapper. * Normally applications should just use standard stdio not FS-serv directly. However this can be used if obtaining a FsFileSystem, FsFile, or FsStorage, for mounting with fs_dev/romfs_dev, etc. * @author plutoo * @author yellows8 * @copyright lib...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2008, The GROMACS development team, * check out http://www.gromacs.org for more information. * Copyright (c) 2012,2013, by the GROMACS development team, l...
/* * devMotorAsyn.c * * Motor record common Asyn device support layer * * Copyright (C) 2005-6 <NAME>, Diamond Light Source * * This software is distributed subject to the EPICS Open Licence, which can * be found at http://www.aps.anl.gov/epics/licence/open.php * * Notwithstanding the above, explicit perm...