text
stringlengths
5.8k
28.2k
/* Do not edit: automatically built by gen_rec.awk. */ #include "db_config.h" #include "db_int.h" #include "dbinc/crypto.h" #include "dbinc/db_page.h" #include "dbinc/db_dispatch.h" #include "dbinc/db_am.h" #include "dbinc/hash.h" #include "dbinc/txn.h" DB_LOG_RECSPEC __ham_insdel_desc[] = { {LOGREC_ARG, SSZ(__ham_i...
/* * Copyright (c) 2008 - 2012, <NAME>, All Rights Reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specifi...
/** @copyright 2020 <NAME> */ #pragma once #include "disasm.h" enum Addressing { IMP, IMM, IMMM, IMMX, IMMS, ABS, ABL, ABX, ABY, ABLX, AIX, ZP, ZPX, ZPY, ZPS, IND, INZ, INL, INX, INY, INLY, INS, REL, RELL, BANK, DB, DW, DD, }; struct Opcode { const char *inst; Addressing addressing; InsType type; }; #de...
/* * Copyright (C) 1988 Research Institute for Advanced Computer Science. * All rights reserved. The RIACS Software Policy contains specific * terms and conditions on the use of this software, and must be * distributed with any copies. This file may be redistributed. This * copyright and notice must be preserve...
/* $XConsortium: rgb.c,v 1.7 94/04/17 20:39:31 rws Exp $ */ /**** module rgb.c ****/ /****************************************************************************** Copyright (c) 1993, 1994 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docu...
/* * Copyright 2021 FUJIFILM 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://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed ...
/***********************************************************************************/ /* FTB:ftb-info */ /* This file is part of FTB (Fault Tolerance Backplance) - the core of CIFTS * (Co-ordinated Infrastructure for Fault Tolerant Systems) * * See http://www.mcs.anl.gov/research/cifts for more information. * */...
/* BSD 2-Clause License */ /* Copyright (c) 2020, <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...
/* vi.h */ /* Author: * <NAME> * 14407 SW Teal Blvd. #C * Beaverton, OR 97005 * <EMAIL> */ /* This is the header file for my version of vi. */ #define VERSION "ELVIS 1.4, by <NAME>" #define COPYING "This version of ELVIS is freely redistributable." #include <errno.h> extern int errno; #if TOS #define ENOENT (...
#include "hash.h" #include <stdio.h> #include "funcname1.h" static HashItem_si MyHashItem[] = { /* 0 */ {"SUSPEND", FUNCNAME_susp, &MyHashItem[1]}, /* 1 */ {"SET_OPTION", FUNCNAME_setOpt, &MyHashItem[2]}, /* 2 */ {"END", FUNCNAME_goLineL, NULL}, /* 3 */ {"VIEW", FUNCNAME_vwSrc, NULL}, /* 4 */ {"PREV_VISITED",...
/* This example, or test, is a moron test where the library is being hammered in all the possible ways randomly over time */ #include <libusockets.h> const int SSL = 1; #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define PBSTR "||||||||||||||||||||||||||||||||||||||||||||||||||||||||...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" #include "ip.h" #define DPRINT if(0)print enum { UDP_PHDRSIZE = 12, UDP_HDRSIZE = 20, UDP_IPHDR = 8, IP_UDPPROTO = 17, UDP_USEAD6 = 36, UDP_USEAD4 = 12, Udprxms = 200, Udptickms = 100, Udp...
/* * FFM (ffserver live feed) demuxer * Copyright (c) 2001 <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 Licens...
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published b...
#include <linux/pci.h> #include <linux/acpi.h> #include <linux/slab.h> #include <acpi/acpi_drivers.h> #include <acpi/acpi_bus.h> #include <acpi/video.h> #include <acpi/acpi.h> #include <linux/mxm-wmi.h> #include <linux/vga_switcheroo.h> #include <drm/drm_edid.h> #include "nouveau_drm.h" #include "nouveau_acpi.h" #d...
/* * elf/elf.c */ #include <xboot.h> //#include <fs/fileio.h> #include <xboot/module.h> #include <elf/elf.h> struct elf_image_t { char * name; void * data; size_t size; }; struct elf_image_t * elf_image_alloc(char * path) { struct stat st; struct elf_image_t * image; char * name; void * ...
extern double fabs(double ); typedef int __int32_t; typedef long long __int64_t; typedef long unsigned int __darwin_size_t; typedef long __darwin_time_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_suseconds_t; typedef __darwin_size_t size_t; struct timeval { __darwin_time_t tv_sec; __darwin_su...
// // genvmdk.c // // Convert raw device to vmware virtual disk format (.vmdk) // // Copyright (C) 2013 <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. Redistribut...
/************************************************************************** * * Copyright 2007 VMware, Inc. * 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 wit...
/* * net/tipc/discover.c * * Copyright (c) 2003-2006, 2014, Ericsson AB * Copyright (c) 2005-2006, 2010-2011, Wind River Systems * 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. Re...
/////////////////////////////////////////////////////////////////////////////// // Lesson 19 code by <NAME> // Modified to run on Irix using GLUT by <NAME> // Date: 28/03/00 /////////////////////////////////////////////////////////////////////////////// #include <stdio.h> #include <stdlib.h> #include <s...
/* * Copyright 2013-2016 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, p...
/* encodeExp - manage ENCODE Experiment table (hgFixed.encodeExp) */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "jksql.h" #include "...
/** * @file server_cmd.c * @author ruskonert * @brief 클라이언트에서 요청한 명렁을 처리하는 기능을 구현합니다. * @version 1.0 * @date 2022-02-21 */ #include <unistd.h> #include <string.h> #include <strings.h> #include "server_net.h" #include "server_broad.h" #include "../comm.h" #include "../connection.h" #include "../util.h" #include...
/* * Copyright (C) 2014 <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 ...
/* * The Shadow Simulator * See LICENSE for licensing information */ #include <errno.h> #include <glib.h> #include <netinet/in.h> #include <pthread.h> #include <stddef.h> #include <sys/resource.h> #include "main/core/logger/shadow_logger.h" #include "main/core/controller.h" #include "main/core/scheduler/scheduler....
#include <stdio.h> #include "xparameters.h" #include "platform.h" #include "xil_printf.h" #include "xtmrctr.h" #include "xil_exception.h" #include "xscugic.h" #include "xgpio.h" #include "xtime_l.h" // Defines: #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID #define TMRCTR_DEVICE_ID XPAR_TMRCTR_0_DEVICE_ID #defi...
/* * wpa_supplicant - Wi-Fi Display * Copyright (c) 2011, Atheros Communications, Inc. * Copyright (c) 2011-2012, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "includes.h" #include "common.h" #include "p2p/p2p.h" #inc...
/* $XConsortium: mefax.c,v 1.7 94/04/17 20:34:21 rws Exp $ */ /* $XFree86: xc/programs/Xserver/XIE/mixie/export/mefax.c,v 3.1 1996/08/20 13:16:16 dawes Exp $ */ /**** module mefax.c ****/ /****************************************************************************** Copyright (c) 1993, 1994 X Consortium Permission ...
/* */ /* This is damv2, fixing the unrealistic location of write_log, added */ /* timestamps and discarding of frames from prior periods. */ /* */ /* Implementation of DAM protocol from the paper: */ /* "Lightweight Sensing and Communication Protocols */ /* for Target Enumeration and Aggrega...
/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author <NAME> <<EMAIL>> */ #include <assert.h> #include <err.h...
/* * Copyright 2004 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditi...
/** * * @copyright &copy; 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der * angewandten Forschung e.V. All rights reserved. * * BSD 3-Clause License * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. R...
#include "6b-interpret-output.h" #include "alloc.h" #include <stdio.h> #include <stdlib.h> #include <string.h> struct range { uint32_t start; uint32_t end; }; struct line { struct range *row_ranges; struct range offset_range; size_t end_offset; size_t end_offset_buffer; // This array mus...
/* $Header: /home/hjcvs/OB-CCM-1.0/postgresql/src/interfaces/ecpg/lib/connect.c,v 1.2 2004/07/05 08:56:08 SuLiang Exp $ */ #include "postgres_fe.h" #include "ecpgtype.h" #include "ecpglib.h" #include "ecpgerrno.h" #include "extern.h" #include "sqlca.h" static struct connection *all_connections = NULL, *actual_c...
/* handy hash variants */ #include "nyara.h" #include <ruby/st.h> #include <assert.h> #include "inc/str_intern.h" #include "inc/ary_intern.h" #include <ctype.h> VALUE nyara_param_hash_class; VALUE nyara_header_hash_class; VALUE nyara_config_hash_class; // stolen from hash.c static bool nyara_rb_hash_has_key(VALUE ha...
/* ************************************************************************************* Copyright (c) 2021, <NAME> All rights reserved. This file is part of APG Version 7.0. APG Version 7.0 may be used under the terms of the BSD 2-Clause License. Redistribution and use in source and bina...
/* Synonym - print out other names for this gene. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "hdb.h" #include "linefile.h" #include "dystring.h" #include "hgGene.h" #includ...
#include "../test.h" #include "../helpers.h" enum cleri_grammar_ids { CLERI_NONE, // used for objects with no name CLERI_GID_ARRAY, CLERI_GID_ASSIGN, CLERI_GID_BLOCK, CLERI_GID_CHAIN, CLERI_GID_CLOSURE, CLERI_GID_COMMENTS, CLERI_GID_END_STATEMENT, CLERI_GID_ENUM_, CLERI_GID_EX...
// This file is part of Deark. // Copyright (C) 2020 <NAME> // See the file COPYING for terms of use. // CRUSH archive (PocketWare) // Format is documented (CRUSH18.ZIP/MANUAL.DOC), though not in full detail. #include <deark-config.h> #include <deark-private.h> DE_DECLARE_MODULE(de_module_crush); #define CRUSH_HEADE...
/* * Copyright (C) 2012 by egnite GmbH * Copyright (C) 2001-2004 by <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...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/*++ Copyright (c) 1990-2003 Microsoft Corporation All rights reserved Module Name: MsNull.c Abstract: Implements lanman's msnull type parsing for FFs. Author: Environment: User Mode -Win32 Revision History: --*/ #include <windows.h> #include "winprint.h" #include "msnul...
/* Copyright 2015, 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 in writi...
/*- * Copyright 2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
/** * \file wwwutils.c * \author <NAME>, <<EMAIL>> * \brief WWW utilities for the Classic Forum * * This file contains some WWW utility functions for the Classic Forum, e.g. GET-request, POST-request, * etc */ /* {{{ Initial headers */ /* * $LastChangedDate$ * $LastChangedRevision$ * $LastChangedBy$ * */ /...
/* FUSE: Filesystem in Userspace Copyright (C) 2001-2007 <NAME> <<EMAIL>> This program can be distributed under the terms of the GNU LGPLv2. See the file COPYING.LIB. */ #include "config.h" #include "fuse_i.h" #include "fuse_misc.h" #include "fuse_opt.h" #include "fuse_lowlevel.h" #include "fuse_common_compa...
#include "ch8.h" // TODO: remove these /// Defaults. #define CH8_VSYNC true #define CH8_CLOCK 10 /// Helper macros. #define CH8_opcode ch8->var.opcode #define CH8_ram ch8->mem.ram #define CH8_stack ch8->mem.stack #define CH8_PC ch8->reg.pc #define CH8_SP ch8->reg.sp #define CH8_I ch8->reg.i #d...
/* * Copyright 2013, <NAME>. * Copyright 2013, <NAME>. * Copyright 2016 <NAME> * Copyright 2019 <NAME> * SPDX-License-Identifier: BSL-1.0 * * OpenHMD - Free and Open Source API and drivers for immersive technology. */ /* Oculus Rift Driver - Packet Decoding and Utilities */ #include <stdio.h> #include <strin...
/* * atascii.c * * qodem - Qodem Terminal Emulator * * Written 2003-2017 by <NAME> * * 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 any * warranty. * *...
#include "LSMtree.h" // Init first elements of an LSM_tree: // - name // - buffer // - C0 // - filename_size (size of name) // - Ne (initliazed to 0) void init_lsm(LSM_tree *lsm, char* name, int filename_size){ lsm->name = (char*)calloc(filename_size, sizeof(char)); strcpy(lsm->name, name); lsm->buffe...
/*-*- mode:c; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=c ts=8 tw=8 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright (c) 1989 The Regents of the University of California. ...
#include "defs.h" #include "fns.h" typedef ushort Parcel; typedef struct { char *mnemonic; void (*f0)(Parcel, WORD); void (*f1)(Parcel, WORD); } Opcode; static Opcode onepop[32]; static Opcode stackop[4]; static Opcode nilop[10]; static Opcode threepop[64]; static Opcode monop[16]; static char *addrmode[16]; static...
/* Created by Team 11 */ #include "syscalls.h" #include "paging.h" #include "lib.h" #include "x86_desc.h" #include "terminal.h" //#include "syscalls.S" #include "utils/arg_util.h" #include "utils/file_util.h" #include "utils/char_util.h" #include "filesys.h" static uint32_t process_count = 0; /* File operation stru...
/* * GStreamer * Copyright (C) 2009 <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 option) any later version. * * This ...
/* Copyright 2001, 2002, 2003 <NAME> and <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 */ /* (at your...
/** * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a> */ /** * \mainpage L2CAP PERIPHERAL Example * \section Introduction * **************************** Introduction ********************************* * ***************************** Modules ******************************...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* moulitest_tests.c :+: :+: :+: ...
// // tftps.c // Adapted by <NAME> & <NAME> on 15/16 // Adapted by <NAME> on 2016 // #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <fcntl.h> #include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> ...
/* SPDX-License-Identifier: Apache-2.0 * Copyright (c) 2021, Silicon Labs * Main authors: * - <NAME> <<EMAIL>> */ #include <stdint.h> #include <fcntl.h> #include <unistd.h> #include <termios.h> #include "log.h" #include "utils.h" #include "os_types.h" #include "bus_uart.h" #include "spinel_buffer.h" // width=...
/* * Copyright (c) 2011 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compl...
/* * Copyright (c) by <NAME> <<EMAIL>> * Universal interface for Audio Codec '97 * * For more details look to AC '97 component specification revision 2.2 * by Intel Corporation (http://developer.intel.com). * * * This program is free software; you can redistribute it and/or modify * it under the terms ...
/* ======================================================================== * Copyright 1988-2007 University of Washington * * 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:...
/* adt routines */ void c_adt_lfree(ctype_node *); ctype_node *c_adt_lnew(void *, usize); ctype_node *c_adt_lpop(ctype_node **); ctype_status c_adt_lpush(ctype_node **, ctype_node *); void c_adt_lsort(ctype_node **, ctype_cmpfn); ctype_status c_adt_ltpush(ctype_node **, ctype_node *); ctype_node *c_adt_ltpop(ctype_node...
#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <unistd.h> #include <errno.h> #define ISVALIDSOCKET(s) ((s) >= 0) #define CLOSESOCKET(s) close(s) #define SOCKET int #define GETSOCKETERRNO() (errno) #include <stdio.h> #include <string.h> #incl...
#include "ble_stuff.h" #define TAG "ble" static uint8_t service_uuid[16] = { /* LSB <--------------------------------------------------------------------------------> MSB */ //first uuid, 16bit, [12],[13] is the value | | 0xfb, 0x34, 0x9b, 0x5f, 0x80, 0x00, 0x00, 0x80, ...
/* 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 may not...
/* * 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...
/* $Id: sip_tel_uri.c 5170 2015-08-25 08:45:46Z nanang $ */ /* * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) * Copyright (C) 2003-2008 <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 * t...
#include <stdio.h> #include <stdlib.h> #include <omp.h> #include <windows.h> //This block of codes was made by <NAME>// //------------------------------------------------ struct amalan{ //variabel amanalan ibadah harian int tahajud; int dhuha; int wajib; int tilawah; int tahfidz; struct amalan *next; }; ...
#include "x86-qemu.h" #include <klib.h> // TODO: delete // UART // ==================================================== #define COM1 0x3f8 static int uart_init() { outb(COM1 + 2, 0); outb(COM1 + 3, 0x80); outb(COM1 + 0, 115200 / 9600); outb(COM1 + 1, 0); outb(COM1 + 3, 0x03); outb(COM1 + 4, 0); outb(CO...
#include <stdio.h> #include <mpi.h> #include <time.h> #include <stdlib.h> typedef struct Node{ int succ; int pred; int has_token; int is_sending; int is_receiving; char state; }node; void initialize_mpi(){ MPI_Init(NULL, NULL); } int get_world_size(){ printf("[INFO] Main - Main: Retr...
// Lab 4, terrain generation #ifdef __APPLE__ #include <OpenGL/gl3.h> // Linking hint for Lightweight IDE // uses framework Cocoa #endif #include "MicroGlut.h" #include "GL_utilities.h" #include "VectorUtils3.h" #include "loadobj.h" #include "LoadTGA.h" mat4 projectionMatrix; Point3D lightSourcesColorsArr[] = ...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * BNO_055.c * * Created: 27.03.2018 18:47:25 * Author: flola */ #include "BNO055.h" #define BNO_TRANSMISSION_STARTBYTE 0xAA #define BNO_TRANSMISSION_WRITE 0x00 #define BNO_TRANSMISSION_READ 0x01 #define BNO_TRANSMISSION_READ_SUCCESS_RESPONSE 0xBB #define BNO_TRANSMISSION_ACK_RESPONSE 0xEE ...
/*! * \brief Interactive console interface between an user and the function for drawing triangles (in assembly). * \author <NAME> * \date 2020-05-15 */ #include <stdio.h> #include <stdint.h> #include <string.h> #include <math.h> #include <stdlib.h> #include <stdbool.h> #include <ctype.h> //maximal p...
// // gravity_token.c // gravity // // Created by <NAME> on 31/08/14. // Copyright (c) 2014 CreoLabs. All rights reserved. // #include "gravity_token.h" #include "gravity_utils.h" const char *token_string (gtoken_s token, uint32_t *len) { if (len) *len = token.bytes; return token.value; } const char *token_nam...
/* Copyright (c) 2012-2015, <NAME> <<EMAIL>> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of con...
/**************************************************************************** ** Copyright (C) 2020 MikroElektronika d.o.o. ** Contact: https://www.mikroe.com/contact ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"...
/** @file Fine Offset WH1080/WH3080 Weather Station */ /** \fn int fineoffset_wh1080_callback(r_device *decoder, bitbuffer_t *bitbuffer) This module is based on <NAME> ('viraptor' https://github.com/viraptor) code stub for the Digitech XC0348 Weather Station, which seems to be a rebranded Fine Offset WH1080 Weather...
/*------------------------------------------------------------------------------------------- * hydrorain.c * * Author: <NAME>, March 2006 * * Calculates the daily rain fall and rain derived runoff for each altitude bin. Also * calculates the rain derived groundwater flow, evaporation and time lag. * * Physica...
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by <NAME> <<EMAIL>>, <NAME> <<EMAIL>>, <...
/* * alsa audio handling * * Written in 2010-2020 by <NAME> <<EMAIL>> * * This file is made available under the Creative Commons CC0 1.0 * Universal Public Domain Dedication. */ #include <libwebsockets.h> #include <string.h> #include <signal.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #i...
/* * File: app.c * Project: app_src * Created Date: 29/06/2020 * Author: <NAME> * ----- * Last Modified: 09/12/2021 * Modified By: <NAME> (<EMAIL>) * ----- * Copyright (c) 2020-2021 Hapis Lab. All rights reserved. * */ #include "app.h" #include "iodefine.h" #include "utils.h" #define CPU_VERSION (0x0014) ...
#include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include "main.h" #include "stars.h" #include "util.h" static int blend = 1; static int light0_on = 1; static int light1_on = 1; static int lookat0 = 0; static int frame_count = 0; ...
#include "Driver.h" #include "Globals.h" #include "KernelModules.h" #include <Wdm.h> #include <wdmsec.h> #define IOCTL_SEND_PACKET CTL_CODE(FILE_DEVICE_UNKNOWN, 0x1, METHOD_BUFFERED, FILE_WRITE_ACCESS) #define NVSP_RNDIS_PKT_SIZE (0x28) #define COMPLETION_BUFFER_SIZE (0x1000) #define HARNESS_POOL_TAG 'SNRH' #define DO...
/* * Copyright (c) 2002-2014 Balabit * Copyright (c) 1998-2012 <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...
#include "Block.h" uint8_t BLOCK_TEXTURES[][6] = { //lft rgt top bot bck frt { 0, 0, 0, 0, 0, 0}, //0: AIR_BLOCK {239, 239, 239, 239, 239, 239}, //1: PLAYER_HAND_BLOCK {241, 241, 241, 241, 241, 241}, //2: STONE_BLOCK {242, 242, 242, 242, 242, 242}, //3: DIRT_BLOCK {243, 243, 254, 242, 243...
/* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #if (NGX_TEST_BUILD_RTSIG) #if (NGX_DARWIN) #define SIGRTMIN 33 #define si_fd __pad[0] #else #ifdef SIGRTMIN #define si_fd _reason.__spare__.__spare2__[0] #e...
/* $OpenBSD: bss_conn.c,v 1.32 2014/11/26 05:37:26 bcook Exp $ */ /* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME> (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commerc...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "debug.h" #include "x86emu_private.h" #include "x87emu_private.h" #include "x86run_private.h" void reset_fpu(x86emu_t* emu) { memset(emu->x87, 0, sizeof(emu->x87)); memset(emu->fpu_ld, 0, sizeof(emu->fpu_...
/* Handle details pages for rna fold (evofold) tracks. */ /* Copyright (C) 2013 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "jksql.h" #include "hgMaf.h" #include "maf.h" #include "cart.h" #include "hgc.h" #include "h...
/* $OpenBSD: fpu_implode.c,v 1.7 2010/05/23 11:40:30 deraadt Exp $ */ /* $NetBSD: fpu_implode.c,v 1.3 1996/03/14 19:41:59 christos Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group *...
/********************************************************************************************************************* * COPYRIGHT NOTICE * Copyright (c) 2018,逐飞科技 * All rights reserved. * 技术讨论QQ群:179029047 * * 以下所有内容版权均属逐飞科技所有,未经允许不得用于商业用途, * 欢迎各位使用并传播本程序,修改内容时必须保留逐飞科技的版权声明。 * * @file NRF24L01无线模块 * ...
/* * Copyright 1995-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...
#include "chalfedge.h" #include "cprimitives.h" #define PORTABLEGL_IMPLEMENTATION #include "portablegl.h" #define CVECTOR_ivec3_IMPLEMENTATION #include "cvector_ivec3.h" #define CVECTOR_vec2_IMPLEMENTATION #include "cvector_vec2.h" #define CVECTOR_vec3_IMPLEMENTATION #include "cvector_vec3.h" #define CVECTOR_IMPLEME...
/* * Copyright (C) 2018 ETH Zurich and University of Bologna * * 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...
#define _GNU_SOURCE #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <assert.h> #include "skinny_mutex.h" /* The alternative definition of cas can be used to induce random * failures in CAS operations. This is only useful in situations * which can recover from false negatives. So in the cases ...
/* chainTrack - stuff to load and display chain type tracks in * browser. Chains are typically from cross-species genomic * alignments. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #in...