text
stringlengths
3.08k
10.5k
/* * Definition for FDC raw command function * * Copyright (c) 2021 stzlab * * This software is released under the MIT License, see LICENSE. */ /* Command complete with interrupt signal */ #define FDC_CMD_READ_DATA 0x06 /* Read sector data */ #define FDC_CMD_READ_TRACK 0x02 /* Read sector data entire data fiel...
/* Copyright (c) (2015,2016,2019,2020) Apple Inc. All rights reserved. * * corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which * is contained in the License.txt file distributed with corecrypto) and only to * people who accept that license. IMPORTANT: Any license rights granted to you b...
#include <u.h> #include <libc.h> #include <bio.h> #include <mach.h> #include <elf.h> #include <dwarf.h> #include "dat.h" static void ds2acid(Dwarf*, DwarfSym*, Biobuf*, char*); static ulong valof(uint ty, DwarfVal *v) { switch(ty){ default: fmtinstall('H', encodefmt); fprint(2, "valof %d %.*H\n", ty, v->b.len, v->b...
#define HASH_SIZE 10000 #define MALLOC_SIZE_UNIT 20000 typedef struct bucketNodeInfo NODE; struct bucketNodeInfo { char content[51]; int len; int retIdx; NODE *next; }; // Hash Table typedef struct { int size; NODE *bucket[HASH_SIZE]; } HASH; NODE* createNewNode() { NODE *newNode = calloc...
/* SPI Slave Halfduplex 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...
// IGBTQ RR scheduling #include<stdio.h> #include<stdlib.h> #include<stdbool.h> #include<conio.h> void swap(int burst_time[], int process_id[], int i){ int t; t = burst_time[i+1]; burst_time[i+1] = burst_time[i]; burst_time[i] = t; t = process_id[i+1]; process_id[i+1] = process_id...
/* This creates a very basic HTTP server on port 25565. It responds with 200 OK 'bye', regardless of what data the client sends. If data is received on UDP port 25565, a message is sent on UDP port 25566. */ #include <pigeon/assert.h> #include <pigeon/io/http.h> #include <pigeon/io/io_hub.h> #include <pigeon/io/server...
/** * rsacrypt.c * RSA Encrypt/Decrypt & Sign/Verify Test Program for OpenSSL * wrtten by blanclux * This software is distributed on an "AS IS" basis WITHOUT WARRANTY OF ANY KIND. */ #include <stdio.h> #include <string.h> #include <openssl/rsa.h> #include <openssl/sha.h> #include <openssl/objects.h> #include <o...
#include <gtk/gtk.h> GtkWidget *win1; int width, height; GtkExpressionWatch *watch_width; GtkExpressionWatch *watch_height; /* Notify is called when "default-width" or "default-height" property is changed. */ static void notify (gpointer user_data) { GValue value = G_VALUE_INIT; char *title; if (watch_width &&...
/* * ISC License * * Copyright (C) 1990-2018 by * <NAME> * <NAME> * <NAME> * Delft University of Technology * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appea...
/* * 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...
// // obj.c // Radar Simulation Framework // // Created by <NAME> on 11/17/15. // Copyright (c) 2016 <NAME>. All rights reserved. // #include "obj.h" // Private structure typedef struct _obj_mem { ADMHandle adm_h; RCSHandle rcs_h; OBJTable obj_table[256]; int count; } OBJMem; OBJHandle OBJ_init_wi...
static char rcsid[] = "@(#)$Id$"; /* Ftt main test routine Authors: <NAME> e-mail: "<EMAIL>" Revision history:- ================= 10-Oct-1995 MEV created Include files:- =============== */ #include <stdio.h> #include <time.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #ifdef WIN32 ...
/* roots/utility.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 <NAME>, <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 o...
/* $OpenBSD: clit.c,v 1.6 2007/09/02 15:19:33 deraadt Exp $ */ /* * Copyright (c) 2002 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sour...
/* * Copyright (c) 1999, 2000 * Intel Corporation. * 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, * thi...
/* * This is a RANDOMLY GENERATED PROGRAM. * * Generator: csmith 2.0.0 * svn version: exported * Options: --check-global -s 1430 * Seed: 1430 */ #include "random_runtime.h" long __undefined; /* --- Struct/Union Declarations --- */ /* --- GLOBAL VARIABLES --- */ uint32_t g_7 = 0x0FA72C25L; int64_t g_10...
/* ghosd -- OSD with fake transparency, cairo, and pango. * Copyright (C) 2006 <NAME> <<EMAIL>> * * With further development by <NAME> <<EMAIL>> * for the ghosd-based Audacious OSD * - added real transparency with X Composite Extension * - added mouse event handling on OSD window * - added/changed some other stu...
/* Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/*************************************************************************/ /* Copyright (c) 2004 */ /* <NAME>, <NAME>, and <NAME> */ /* All rights reserved */ /* ...
/** * \file * * \brief Unit tests for TRNG driver. * * Copyright (c) 2011-2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
#include <signal.h> #include <stdlib.h> #define _GNU_SOURCE #include "objectview.h" int pthread_yield(void); typedef struct ovw_list { ovwindow *ovw; struct ovw_list *next; } ovw_list; ovw_list *window_list = NULL; ovwindow *ovwindow_from_windowID(uint32_t windowID) { ovw_list *entry; for (entry = window_list; ...
/************************************************************************* * * * ROUTINES IN THIS FILE: * * * * ...
/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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...
/* A Harshad or Niven number is a number that * is divisible by the sum of its digits. * 201 is a Harshad number because it is divisible * by 3 (the sum of its digits.) * When we truncate the last digit from 201, we get 20, * which is a Harshad number. * When we truncate the last digit from 20, we get 2, * which...
// Copyright 2014-2015 <NAME> // MIT licensed (see LICENSE for details) #include <assert.h> #include <regex.h> #include <stdlib.h> #include <string.h> #include "Template.h" // TODO: Get rid of this duplication... #define MAX(a, b) ({ \ __typeof__(a) const __a = (a); \ __typeof__(b) const __b = (b); \ __a > __b ? _...
/* Serval Low-bandwidth asychronous Rhizome Demonstrator. Copyright (C) 2015 Serval Project Inc. This program monitors a local Rhizome database and attempts to synchronise it over low-bandwidth declarative transports, such as bluetooth name or wifi-direct service information messages. It is intended to give a high p...
#include <assert.h> #include <malloc.h> #include <math.h> #include <stdbool.h> #include <stdlib.h> #include <time.h> #include "ball.h" /* * STRUCTURES */ const int BALL_DIM = 1; struct ball { float x, y, velX, velY, speed; grid *g; paddle *p; }; /* * ACCESS */ ball *newBall (grid *...
/* source code courtesy of <NAME> */ /* calc3d.c: Generation of the graph of the syntax tree */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "calc3.h" #include "y.tab.h" int del = 1; /* distance of graph columns */ int eps = 3; /* distance of graph lines */ /* interface for drawing (can be r...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with ...
/** * Copyright (c) 2019-2020 <NAME> * pwrln generic segment functions */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "pwrln.h" #include "config.h" enum Shell { SH_GENERIC, SH_BASH, SH_KSH, SH_ZSH, SH_RC }; static enum Shell target_shell; static char esc_delim[2][3]; static void pri...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <assert.h> #include <oscore_native/message.h> /** Access the coapk_pkt pointer inside a oscore_msg_native_t. * * Doing this through a function makes it easy to move the implementation back * and forth between the native type bei...
#include <stdint.h> #include <stdlib.h> #include <sisci_api.h> #include <pthread.h> #include <string.h> #include <signal.h> #include "reporting.h" #include "common.h" #include "util.h" #include "bench.h" #include "gpu.h" #include "ram.h" #ifdef __GNUC__ #define UNUSED(x) x __attribute__((unused)) #else #define UNUSED(...
/* * Westwood Studios AUD Format Demuxer * Copyright (c) 2003 The FFmpeg project * * 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...
/** * @copyright * Copyright (C) 2020 Assured Information Security, Inc. * * @copyright * 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 limitatio...
#include<stdio.h> #include<time.h> //#include<sqlite3.h> #include<mysql.h> #include<string.h> #include<errno.h> #include<stdlib.h> #include<wiringPi.h> #include<wiringSerial.h> char device[] = "/dev/ttyACM0"; int fd; unsigned long baud = 9600; unsigned long time_val = 0; int count; void insertDataToServer(MYSQL*, s...
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this lis...
/*- * Copyright (c) 1982, 1986, 1991, 1993 * The Regents of the University of California. All rights reserved. * Copyright (c) 2014, Nokia * Copyright (c) 2014, Enea Software AB * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of Cal...
/* Target-dependent code for OpenBSD/vax. Copyright (C) 2005-2017 Free Software Foundation, Inc. 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 published by the Free Software Foundation; either vers...
/* * A simple command line application that shows how to * use libschrift with X11 via XRender. * See LICENSE file for copyright and license details. * Contributed by <NAME>. */ #include <stdio.h> #include <string.h> #include <X11/Xlib.h> #include <X11/extensions/Xrender.h> #include <stdint.h> #include "util/utf...
/* Copyright (c) 2007 <NAME> <<EMAIL>> Copyright (c) 2008 <NAME> <<EMAIL>> Copyright (c) 2007-2008 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyrigh...
#define MCHOST "192.168.3.11" #define MCPORT 60123 #define SERVERSTATUSSIZE 255 #define ERRORMAX 100 #define USER_EXIT_TOT 2 #define GPSDDATA_MAX 2048 #define ESSID_LEN_MAX 32 #define RSN_LEN_MAX 24 #define TIME_INTERVAL 5 #define EAPOLTIMEOUT 150000 #define M1WAITTIME 1000000 #define CHWAITTIME 10000000 #define D...
#include <obs-module.h> #define S_COLOR "color" #define S_SWITCH_POINT "switch_point" #define S_COLOR_TEXT obs_module_text("Color") #define S_SWITCH_POINT_TEXT obs_module_text("SwitchPoint") struct fade_to_color_info { obs_source_t *source; gs_effect_t *effect; gs_eparam_t *ep_tex; gs_eparam_t *ep_swp; gs_epar...
/* * Copyright 2008 Search Solution Corporation * Copyright 2016 CUBRID 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-...
/************************************************************************** * * Copyright 2014-2016 Valve Corporation * Copyright (C) 2014-2016 LunarG, 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...
/* * Copyright (c) 2018,2019 zhtlab * * 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...
#include <kernel/fpu.h> #include <kernel/idt.h> #include <kernel/isr.h> #include <kernel/sys.h> #include <assert.h> #include <stdlib.h> static char* exception_msgs[] = { "Division By Zero", "Debugger", "Non-Maskable Interrupt", "Breakpoint", "Overflow", "Bounds", "Invalid Opcode", "Cop...
/* * gps.c * * Created: 2020-01-12 12:30:51 PM * Author: pandu */ #include "gps.h" #include <avr/io.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <util/delay.h> #include <avr/interrupt.h> #include <stdio.h> #include <math.h> char Latitude_Buffer[15], Longitude_Bu...
/* synMap.c was originally generated by the autoSql program, which also * generated synMap.h and synMap.sql. This module links the database and * the RAM representation of objects. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing informat...
/* Copyright (c) 2017, Massachusetts Institute of Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of condition...
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 2000-2016 The R Core Team * Copyright (C) 2003 The R Foundation * based on AS 89 (C) 1975 Royal Statistical Society * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
/* Processed by ecpg (regression mode) */ /* These include files are added by the preprocessor */ #include <ecpglib.h> #include <ecpgerrno.h> #include <sqlca.h> /* End of automatic include section */ #define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y)) #line 1 "thread_implicit.pgc" /* * Thread test program * by <NAME>. */...
// #include "autopilot.h" #define PPRZ_MODE_MANUAL 0 #define PPRZ_MODE_AUTO1 1 #define PPRZ_MODE_AUTO2 2 #define PPRZ_MODE_HOME 3 #define PPRZ_MODE_NB 4 #define TRIM_PPRZ(pprz) (pprz < MIN_PPRZ ? MIN_PPRZ : \ (pprz > MAX_PPRZ ? MAX_PPRZ : \ ...
// ZMTP v3 decoder class /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.*/ #include <assert.h> #include <stdlib.h> #include "iobuf.h" #include "pdu.h" #include "d...
/* A simple server in the internet domain using TCP The port number is passed as an argument */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <getopt.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> unsigned long djb2(unsigned char *str); void set_...
/* stm32flash - Open Source ST STM32 flash program for *nix Copyright (C) 2010 <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 you...
#include "alum.h" #include <stdlib.h> /* Func: alumpoint Creates a new AlumPoint. */ AlumPoint alumpoint(float x, float y) { AlumPoint result = { x, y }; return result; } /** Makes a new bounds box struct. */ AlumBox alumbox_make(float x, float y, float w, float h) { AlumPoint p = alumpoint(x, y); AlumPoi...
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * client.c -- a client of the messages-ping-pong example * * Please see README.md for a detailed description of this example. */ #include <librpma.h> #include <limits.h> #include <inttypes.h> #include <stdlib.h> #include <stdio.h>...
/* * Simple program to test my stack implementation by converting infix expressions to postfix and prefix expressions. * Created by <NAME> (Talendar). */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "dynamic_stack.h" #define MAX_OPERAND_SIZE 8 #define MAX_INPUT_SIZE 80 cons...
/****************************************************************************** Copyright (c) 1992, 1995, 1996 Xerox Corporation. All rights reserved. Portions of this code were written by <NAME>, aka ghond. Use and copying of this software and preparation of derivative works based upon this software are permi...
/* * GPAC - Multimedia Framework C SDK * * Authors: <NAME> * Copyright (c) <NAME> - GPAC Licensing 2016 * All rights reserved * * This file is part of GPAC / sample m2ts streamer over UDP application * * GPAC is free software; you can redistribute it and/or modify * it under the terms of the GNU ...
#include <stdlib.h> #include <pthread.h> #include <stdio.h> #include <string.h> #include <sys/time.h> #include "control_program.h" #include "global_server_variables.h" #include "dio_handler.h" #include "utils.h" extern int diosock; extern int verbose; extern pthread_mutex_t dio_comm_lock; extern struct tx_status txsta...
/* ============================================================================ Name : disjoint_matrix.c Author : <NAME> Description : Structures and functions to manage the disjoint matrix ============================================================================ */ #include "disjoint_matrix.h" u...
/* Copyright Joyent, Inc. and other Node contributors. 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, including without limitation the * righ...
/** * Copyright (C) Mellanox Technologies Ltd. 2021. ALL RIGHTS RESERVED. * See file LICENSE for terms. */ #include "config.h" #include "ucc_progress_queue.h" #include "utils/ucc_malloc.h" #include "utils/ucc_log.h" #include "utils/ucc_spinlock.h" #include "utils/ucc_atomic.h" // Number of tasks in a single lock ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
// Copyright (c) IGN Entertainment, Inc. All rights reserved. // This software is made available only pursuant to certain license terms offered // by IGN or its subsidiary GameSpy Industries, Inc. Unlicensed use or use in a // manner not expressly authorized by IGN or GameSpy is prohibited. ///////////////////////...
/* * ============================================================================ * * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * ============================================================================ */ #include <stdio.h> #include <stdlib.h> #include <inttypes.h> #include...
#include <stdio.h> #include <math.h> #include "event_service.h" #include "touchscreen.h" #include "awesome.h" #include "device.h" #include "accelerometer.h" #include "gyro.h" typedef struct event { int32_t device; int16_t val; // union here for other events like keys } event; static uint32_t tied_valuator...
/* $OpenBSD: sxidog.c,v 1.7 2016/02/02 21:40:47 jsg Exp $ */ /* * Copyright (c) 2007,2009 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all c...
#include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <signal.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/shm.h> #include <stdbool.h> #...
# include <stdio.h> # include <string.h> # include <hstio.h> /* defines HST I/O functions */ # include "calnic.h" /* defines NICMOS data structures */ # include "calnica.h" /* defines CALNICA data structures */ /* N_CALREPORT: Reports calibration step information to processing log ** and to output SCI header history ...
#include <stdint.h> #include <moduleLoader.h> #include <lib.h> #include <naiveConsole.h> #include <terminal.h> #include <MMU.h> #include <heap.h> #include <pageAllocator.h> #include <process.h> #define GDT_ADDR 0x1000 #define TSS_ADDR 0x50000 //Free space based on Pure64 Manual #define TSS_LIMIT 0x1000 #d...
/* * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list o...
#include "math/camera.h" #include "types/bit.h" #include "types/timer.h" #include "types/assert.h" #include "formats/bmp.h" #include "file/file.h" #include "platforms/platform.h" #include "platforms/thread.h" #include <stdio.h> void *ourAlloc(void *allocator, usz siz) { allocator; return malloc(siz); } void ourFree...
/* $NetBSD: funopen.c,v 1.14 2012/03/28 15:21:11 christos Exp $ */ /*- * Copyright (c) 1990, 1993 * 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 withou...
/* Generated by cobc 2.2.0 */ /* Generated from /Volumes/DeVere/kristofer/Documents/Projects/cobol-lab1-kristofer/sayname.cbl */ /* Generated at May 01 2020 11:26:15 */ /* GnuCOBOL build date Oct 15 2019 14:14:21 */ /* GnuCOBOL package date Sep 06 2017 18:48:43 UTC */ /* Compile command ...
/* * Copyright 2011, The TenDRA Project. * Copyright 1997, United Kingdom Secretary of State for Defence. * * See doc/copyright/ for the full copyright terms. */ /* * functions to allocate register and stack space for a proc. * The following changes are made to the ident tags: * * ident->props contains inreg_...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "X2AP-IEs" * found in "/home/thomas/lwa_ue_working/openair2/X2AP/MESSAGES/ASN1/R11.2/X2AP-IEs.asn" * `asn1c -gen-PER` */ #include "X2ap-ServedCell-Information.h" static asn_TYPE_member_t asn_MBR_X2ap_ServedCell_Information_1[] = { {...
/* * Microsoft busmouse driver based on Logitech driver (see busmouse.c) * * Microsoft BusMouse support by <NAME> (<EMAIL>) (02AUG92) * * Microsoft Bus Mouse support modified by <NAME> (<EMAIL>) * 8/28/92 * * Microsoft Bus Mouse support folded into 0.97pl4 code * by <NAME> (<EMAIL>) (08SEP92) * Changes:...
/* Copyright 2013-2016 by <NAME> All rights reserved. This software is made available under the terms of the ICU License -- ICU 1.8.1 and later. See the LICENSE file at the top-level directory of this distribution and at https://sourceforge.net/p/dps8m/code/ci/master/tree/LICENSE */ // p72archive_bind_to_asci...
/* * Copyright (c) 2014 DeNA Co., Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publ...
//------------------------------------------------------------------------------------------------- //! \file //! \brief Defines a set of signed and unsigned integer types. //------------------------------------------------------------------------------------------------- #pragma once #include "platform.h" //---------...
/* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2010-2015, Intel 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 p...
/* $Id: mkcell.c,v 1.3 1999/05/31 23:35:39 sybalsky Exp $ (C) Copyright Venue, All Rights Reserved */ /************************************************************************/ /* */ /* (C) Copyright 1989-95 Venue. All Rights Reserved. */ /* Manufactured in the United States of America. */ /* */ /*...
/* biossums.c --- written by <NAME>. for the Bochs BIOS */ /* adapted for the LGPL'd VGABIOS by vruppert */ #include <stdlib.h> #include <stdio.h> typedef unsigned char byte; void check( int value, char* message ); #define LEN_BIOS_DATA 0x8000 #define MAX_OFFSET (LEN_BIOS_DATA - 1) #define BIOS_OFFSET 0x7FFF ...
/*------------------------------------------------------------------------------ Copyright (c) 2008 The Khronos Group Inc. All Rights Reserved. This code is protected by copyright laws and contains material proprietary to the Khronos Group, Inc. This is UNPUBLISHED PROPRIETARY SOURCE CODE that may not be disclosed i...
/* * 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 ...
/* * Total Caos test. * Insertions, searches and removes all happening at the same time. * You choose how many total threads, but their operation is randonly chosen every time. * Random keys ranging between 0 and KEY_VAY (1000000) */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <pthread.h> ...
/* * Copyright (c) 2019-2021 <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <libxnvme.h> #include <libxnvmec.h> static int sub_show(struct xnvmec *cli) { struct xnvme_spec_cmd cmd = { 0 }; int err; err = xnvmec_buf_from_file(&cmd, sizeof(cmd), cli->args.cmd_input); if (err) { xnvmec_perr("xnvmec_buf_...
/* * Copyright (C) 2018 Kubos 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 ...
#include "EditLexer.h" #include "EditStyleX.h" // https://en.wikipedia.org/wiki/PowerShell // https://docs.microsoft.com/en-us/powershell/scripting/powershell-scripting static KEYWORDLIST Keywords_PS1 = {{ "begin break catch continue data do dynamicparam else elseif end exit filter finally for foreach " "from...
/*************************************************************************** * nsock_test_timers.c -- A test program to exercise the nsock timer * * routines. * * * ***********...
/* * Copyright 2013-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 "types.h" #include "defs.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "x86.h" #include "traps.h" #include "spinlock.h" #include "fmap.h" #include "sleeplock.h" #include "fs.h" #include "file.h" #define min(a, b) ((a<=b) ? a : b) // Interrupt descriptor table (share...
// Software License Agreement (BSD License) // // Copyright (c) 2010-2016, Deusty, LLC // All rights reserved. // // Redistribution and use of this software in source and binary forms, // with or without modification, are permitted provided that the following conditions are met: // // *Redistributions of source code m...
/*Import external global variables*/ //SPI module extern SPI_HandleTypeDef hspi2; //USB data extern unsigned int indexUSB; extern char bufUSB[100]; #define DIGITAL 0 #define ANALOG 1 uint8_t flushCounter = 0; bool mode = DIGITAL; void digitalMasterRoutine(uint8_t channel){ char RF24buf[100]; //Buffer to rec...
// // VAO.c // JHG-GL // // Created by <NAME> on 6/9/12. // Copyright 2012 __MyCompanyName__. All rights reserved. // /* Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or re...
// Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...