text
stringlengths
3.12k
18.7k
#include <u.h> #include <libc.h> #include <bio.h> #include "sky.h" struct { char name[9]; char offset; } Hproto[] = { "ppo1", Pppo1, "ppo2", Pppo2, "ppo3", Pppo3, "ppo4", Pppo4, "ppo5", Pppo5, "ppo6", Pppo6, "amdx1", Pamdx1, "amdx2", Pamdx2, "amdx3", Pamdx3, "amdx4", Pamdx4, "amdx5", Pamdx5, "amdx...
/* Algorithm 3 is based on the infection-based countermeasure assumption when the fault location and its value are known and its purpose is to recover the keys $sk_n,\cdots,sk_1$ on DES block cipher. To simulate Algorithm 3, about 10,000 random keys are been selected. Then for each of the selected keys, the aver...
/* dqag.f -- translated by f2c (version 20190311). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of t...
/* Copyright (C) 2008-2010 Association of Universities for Research in Astronomy (AURA) 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...
# include <stdio.h> # include <stdlib.h> /* calloc */ # include <string.h> # include "hstio.h" # include "xtables.h" # include "stis.h" # include "stisdef.h" # include "calstis6.h" # include "hstcalerr.h" # include "stispht.h" typedef struct { IRAFPointer tp; /* pointer to table descriptor */ IRAFPointer cp_spo...
/* * Copyright (C) 2006-2012 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ //Cache functions #include "sonLibGlobalsInternal.h" struct _lru; typedef struct _cacheRecord { /* * A little object for storing records in the cache. */ int64_t key, start, size; char *...
#include "LDE.h" dList* createList(){ dList* newList = (dList*) calloc(1,sizeof(dList)); newList->head = (node*) calloc(1,sizeof(node)); return newList; } node* createNode(data info){ node* newNode = (node*) calloc(1,sizeof(node)); newNode->info = (data*) calloc(1,sizeof(data)); *(newNode->info) = info; return...
/* * M_APM - mapm_set.c * * Copyright (C) 1999 - 2003 <NAME> * * Permission to use, copy, and distribute this software and its * documentation for any purpose with or without fee is hereby granted, * provided that the above copyright notice appear in all copies and * that both that copyright notic...
/* * Copyright (c) 2020, NVIDIA CORPORATION. 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 rights to use...
#include<stdlib.h> #include<stdio.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include<string.h> // On-disk file system format. // Both the kernel and user programs use this header file. // Block 0 is unused. // Block 1 is super block. // Inodes start a...
/* * This file is part of the bladeRF project * * bladeRF flash image creator and viewer * Copyright (C) 2013 Nuand LLC * * 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...
#include <stddef.h> #include <stdint.h> #include "RP2040.h" // ---------------------------------------------------------------------------- // Config section // ---------------------------------------------------------------------------- // It should be possible to support most flash devices by modifying this section...
/** * @file motion.c * @brief * * Copyright (C) 2009 Gummi Developers * 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 wit...
/* Copyright (c) 2009-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 list o...
/* * Copyright (c) 2015, ETH Zuerich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. */ #include <errno.h> #include <s...
#include <stdlib.h> #include <gtk/gtk.h> #include <epoxy/gl.h> #include <gthree/gthree.h> #include "utils.h" GthreeScene *scene; GthreePerspectiveCamera *camera; GthreeObject *intersected; graphene_vec3_t intersected_color; cairo_surface_t *texture_surface; GthreeTexture *texture; void update_surface (float u, flo...
/* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * Copyright (C) 2005-2014, <NAME> <<EMAIL>> * * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Li...
/* * Copyright (C) 2009-2013 by <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 conditions and the followi...
/* $Id: $ */ /* DO NOT EDIT - file generated by ObitTables.pl */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2014 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; ...
#include "trout.h" #include "util.h" #include <string.h> /* */ /* legacy globals */ /* */ #define ICMP_ECHOREPLY 0 /* Echo Reply */ #define ICMP_DEST_UNREACH 3 /* Destination Unreachable */ #define ICMP_SOURCE_QUENCH 4 /* Source Quench */ #define ICMP_RE...
// // srmon monitor program // 2007/11/27 // 2010/06/27 // 2015/10/ mm8 // 2016/01/ sbin // 2020/03/01 dtc #include "stdio.h" #include <stdlib.h> #include <string.h> #include "ulib.h" #include "tfacc.h" #define limit(x, min, max) ((x)<(min)?(min):((x)>(max)?(max):(x))) #undef f_clk static float f_clk = 100...
/* This file is part of ParTI!. ParTI! is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ParTI! is distributed...
/* * Copyright 2018 Red Hat Inc. * * 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, d...
//======================================================================= // Project Polyphony // // File: // pl_matrix3.c // // Abstract: // matrix3 class implementation // // Created: // 22 July 2008 // // Copyright (c) 2008 <NAME>, All rights reserved. // //==================================================...
/** \file * \brief The data vault implementation */ /* * Copyright (c) 2019-2021 <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 l...
/* * SPDX-License-Identifier: BSD-2-Clause * * Copyright 2010-2022, Tarantool AUTHORS, please see AUTHORS file. */ #include "prbuf.h" #include "bit/bit.h" /** * Partitioned ring buffer. Each entry stores size before user data. * So the typical buffer looks like: * HEADER uint32 DATA uint32 DATA ... * * We hav...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* plugins/preauth/test/kdctest.c - Test kdcpreauth module */ /* * Copyright (C) 2015, 2017 by the Massachusetts Institute of Technology. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
// Peripheral usage #include "stm32L4xx_hal.h" extern TIM_HandleTypeDef htim2; extern DMA_HandleTypeDef hdma_tim2_ch1; #include "sk6812.h" #define PWM_HI (57) // dutycycle 64% total 89 #define PWM_LO (28) // dutycycle 32% total 89 // LED parameters #define NUM_BPP (3) // WS2812B //#define NUM_BPP (4) // SK6812 #d...
/** * Copyright 2013-2015 by 2013-2015 by Explorer OS Developers. All rights reserved. * made by Lab Explorer Developers<<EMAIL>> * Explorer FAT32文件系统支持代码 * Explorer/fs/fat32/fat32.c * version:Alpha * 7/18/2014 12:06 AM */ #include "fat32.h" #include <lib/mem.h> #include <stdlib.h> #include <memory.h> #include ...
/***************************************************************************** * * * freecell.c - functions for initialising and playing freecell. * * * * ...
/* $NetBSD: wsemul_vt100var.h,v 1.4 1998/12/04 20:48:04 drochner Exp $ */ /* * Copyright (c) 1998 * <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 ...
#define _XOPEN_SOURCE 600 #include <ctype.h> #include <fcntl.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/select.h> #include <sys/stat.h> #include <sys/types.h> #include <termios.h> #include <unistd.h> #include <X11/Xutil.h> #include <X11/Xlib.h...
/* * Copyright (c) 2014 Cisco Systems, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ /* This code is derived from similar code in libusnic_verbs. Consider porting * any future bug fixes from that code to this code. The original version of * this code was writt...
/* $NetBSD: matcher.c,v 1.1.1.1 2008/12/22 00:18:36 haad Exp $ */ /* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. * * This file is part of the device-mapper userspace tools. * * This copyrighted material is made available to ...
#include "sift.h" int const max_iter = 5; /** SIFTREFINEMX Subpixel localization, thresholding and on-edge test Q = SIFTREFINEMX(P, OCTAVE, SMIN) refines, thresholds and performs the on-edge test for the SIFT frames P extracted from the DOG octave OCTAVE with parameter SMIN (see GAUSSIANSS()). Q = SIFTREFINEMX(P, OC...
/* * Copyright 2018, Intel Corporation * * 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 conditions and the f...
#include <jni.h> #include <gst/gst.h> #include <gio/gio.h> #include <android/log.h> #define CAT_FMT "%s:%d:%s" static GstClockTime _priv_gst_info_start_time; /* Declaration of static plugins */ GST_PLUGIN_STATIC_DECLARE(coreelements); GST_PLUGIN_STATIC_DECLARE(coreindexers); GST_PLUGIN_STATIC_DECLARE(adder); ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> typedef unsigned char BYTE; typedef unsigned short WORD; typedef unsigned long LONGWORD; #define HEXLEN 0 #define DATATYPE 1 #define CHECKSUM 2 BYTE checksum; WORD col, row; LONGWORD err; BYTE s[256], s1[256]...
/** * This file is the entry point to the server. */ #include <ctype.h> #include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/un.h> #include "sm.h" #define SOCKET_NAME ...
// // game.c // Main game function that runs the mario sokoban game // Mario_Sokoban // // Created by <NAME> on 25/01/2020. // Copyright © 2020 <NAME>. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <SDL2/SDL.h> #include <SDL2_image/SDL_image.h> #include "constants.h" #include "files.h" ...
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
// Copyright 2021 <NAME> // SPDX-License-Identifier: Apache-2.0 #include <stdio.h> #include <stdlib.h> #include "client/api/json_utils.h" #include "client/api/v1/get_node_info.h" #include "client/network/http.h" #include "core/utils/iota_str.h" res_node_info_t *res_node_info_new() { res_node_info_t *res = malloc(s...
/* $Id: apropos.c,v 1.30 2012/03/24 02:18:51 kristaps Exp $ */ /* * Copyright (c) 2011, 2012 <NAME> <<EMAIL>> * Copyright (c) 2011 <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 ...
/**************************************************************************//** * @file main.c * @version V3.00 * @brief * Demonstrate SPI half-duplex mode. * SPI0 will be configured as Master mode and SPI1 will be configured as Slave mode. * Both SPI0 and SPI1 will be configure...
/* * pngseg.c * * Created on: 2019年6月19日 * Author: ec */ #include <stddef.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include "png.h" typedef struct _pngfile_ { FILE *fp; png_structp png_ptr; png_infop info_ptr; } pngfile; // info on input png file png_uint_32 width, height; int bit...
/* * Samsung Exynos SoC series FIMC-IS driver * * exynos fimc-is core functions * * Copyright (c) 2013 Samsung Electronics Co., Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Found...
#include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <errno.h> #include <sys/time.h> #include <unistd.h> #include <time.h> #include <ctype.h> #include <string.h> #include "db.h" #include "externs.h" #include "interface.h" #include "config.h" #include "text.h" #include "log.h" #include "mem.h" #includ...
#define MAX_READINGS 120 #define T 2 #define REPEAT 0 #ifndef SEPARATE_HEADERS #define SEPARATE_HEADERS 0 #endif #ifndef DUMMY_DATA #define DYMMY_DATA 0 #endif #if DUMMY_DATA #include "schedule.h" #endif // to sting-ize pre-processor values // in order to print them with #pragma message // or pass to include...
/* $Source: /var/local/cvs/gasnet/vapi-conduit/gasnet_core_fwd.h,v $ * $Date: 2011/05/14 00:01:51 $ * $Revision: 1.52 $ * Description: GASNet header for vapi conduit core (forward definitions) * Copyright 2002, <NAME> <<EMAIL>> * Terms of use are as specified in license.txt */ #ifndef _IN_GASNET_H #error...
/* * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2006 The University of Tennessee and The University * of Tennessee Resea...
#include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <string.h> #include <openssl/ssl.h> #include <openssl/err.h> #include <openssl/rand.h> #include <pthread.h> #include "CryptChatServer.h" #define CONFIG "server_config" #define MAX_MESSAGE 1024 #define KE...
/*---------------------------------------------------------------------------- * Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd> * 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...
#include <twr_exti.h> #include <twr_irq.h> #include <stm32l0xx.h> static bool _twr_exti_initialized = false; static struct { twr_exti_line_t line; void (*callback)(twr_exti_line_t, void *); void *param; } _twr_exti[16]; static inline void _twr_exti_irq_handler(void); void twr_exti_register(twr_exti_lin...
/****************************************************************************/ /****************************************************************************/ /** **/ /** TU Muenchen - Institut fuer Informatik **/ /** ...
// make student_list && ./student_list #include "pointer_list.h" // Data definition for a student typedef struct { String name; String sex; int mat_nr; double debts; } Student; // String, String, int, double -> City* // Create a student (constructor). Student* new_student(String name, String se...
/* filp - Embeddable, Reverse Polish Notation Programming Language <NAME> <<EMAIL>> This software is released into the public domain. NO WARRANTY. See file LICENSE for details. */ #include <stdio.h> /* data types */ typedef enum { FILP_SCALAR, /* scalar */ FILP_CODE, /* fi...
/* * Copyright 2021 Kontain 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 ...
/** * This is the main file for the Data Structures project (CEID) * * Copyright 2013 George "papanikge" Papanikolaou * * This is experimental software. Beware of Dragons. * * This project is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERC...
/* ** mouse:~ppr/src/interfaces/parallel.c ** Copyright 1995--2006, Trinity College Computing Center. ** Written by <NAME>. ** ** 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 ...
/* * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright © 2012 inria. All rights reserved. * $COPYRIGHT$ */ #include "cci/private_config.h" #include "cci.h" #include <stdio.h> #include <string.h> #include "ltdl.h" #include "util/argv.h" #include "plugins/base/public.h" #include "plugins/ba...
/** ****************************************************************************** * File Name : main.c * Description : Main program body ****************************************************************************** * * COPYRIGHT(c) 2016 STMicroelectronics * * Redistribution and use in ...
#include "bzlib_private.h" /* ------------------------------------------------------------------ This file is part of bzip2/libbzip2, a program and library for lossless, block-sorting data compression. bzip2/libbzip2 version 1.0.6 of 6 September 2010 Copyright (C) 1996-2010 <NAME> <<EMAIL>> Please rea...
/* Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory Written by <NAME>, <NAME>, <NAME>, <NAME>, and <NAME> (email: <EMAIL>, <EMAIL>, <EMAIL>, <EMAIL>, <EMAIL>) LLNL-CODE-732144 All rights reserved. This file is part of DataRaceBench. For details, see ...
/* * Tencent is pleased to support the open source community by making * WCDB available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. * All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use * this file except in compliance with the License. You may obtai...
/****************************************************************************** * Copyright (c) 2010-2015 Texas Instruments Incorporated - http://www.ti.com * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
/* * 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...
/*++ /* NAME /* master_avail 3 /* SUMMARY /* Postfix master - process creation policy /* SYNOPSIS /* #include "master.h" /* /* void master_avail_listen(serv) /* MASTER_SERV *serv; /* /* void master_avail_cleanup(serv) /* MASTER_SERV *serv; /* /* void master_avail_more(serv, proc) /* MASTER_SERV *serv; /* MASTER_PROC *p...
/* * vectors.c * Copyright (C) 2016 xent * Project is distributed under the terms of the MIT License */ void defaultHandler(void) __attribute__((weak)); static void emptyHandler(void); /*----------------------------------------------------------------------------*/ /* Core Cortex-M3 IRQ handlers */ void RESET_ISR(...
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2002 Open Source Development Lab, Inc. * 2002-2022 <NAME> */ /* Using GNU extensions for pinning to processors. */ #define _GNU_SOURCE #...
/* * Copyright 2009 The Board of Trustees of the University * of Illinois. See the LICENSE file for detailed license information. * * Portions, specifically myproxy_log_usage_stats(), myproxy_usage_stats_init(), * myproxy_usage_stats_close(), myproxy_usage_ent_s, myproxy_usage_tag_e and * TAG #defines were based...
/* =============================================================== * Baremetal File System - A file system designed for BareMetal OS * Copyright (C) 2008 - 2018 Return Infinity * See COPYING for license information. * =============================================================== */ #include <bmfs/entry.h> #incl...
/* ** EPITECH PROJECT, 2019 ** my.h ** File description: ** contains prototype of all functions in libmy */ #include "main.h" int main(int argc, char **argv, char **env); int launch_game(dfd_t *dfd); void menu(dfd_t *dfd); void timed(dfd_t *dfd); void analyse_events(dfd_t *dfd); void skip_intro(dfd_t *dfd); void in...
#include "tmvaluetype.h" #include "tmtrace.h" #include "tmmem.h" #include "tmlist.h" #include "tmutil.h" #include "tmassert.h" #include "tmbasictypes.h" static int locatorset_equal(TMValueType, const void *, const void*); static int locatorset_to_string(TMValueType, const void *set, char* buf, size_t size); /* static...
#include <stdio.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include <syslog.h> #include <errno.h> #include <stdlib.h> #define MAX_LISTEN_NUM 5 #define SEND_BUF_SIZE 100 #define RECV_BUF_SIZE 100 #define SERVER_PORT 8000 #include "reportblock.h" struct report_block buildReportBlock() { ...
/* Changed for Lab5 2015. */ /* Standard includes. */ #include <stdio.h> #include <string.h> /* Scheduler includes. */ #include "FreeRTOS.h" #include "task.h" #include "semphr.h" #include "lab4.h" /* uip includes. */ #include "hw_types.h" #include "uip.h" #include "uip_arp.h" #include "httpd.h" #include "timer.h" #in...
/* * Copyright © 2008 Red Hat, Inc * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without * fee, provided that the above copyright notice appear in all copies * and that both that copyright notice and this permission notice * appe...
// SPDX-License-Identifier: GPL-2.0+ /* * Sunxi ehci glue * * Copyright (C) 2015 <NAME> <<EMAIL>> * Copyright (C) 2014 <NAME> <<EMAIL>> * * Based on code from * Allwinner Technology Co., Ltd. <www.allwinnertech.com> */ #include <common.h> #include <asm/arch/clock.h> #include <asm/io.h> #include <dm.h> #include...
/* * Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (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/l...
#include "freertos/FreeRTOS.h" #include "esp_wifi.h" #include "esp_system.h" #include "esp_event.h" #include "esp_event_loop.h" #include "nvs_flash.h" #include "driver/gpio.h" #include "freertos/portmacro.h" #include "freertos/event_groups.h" #include "esp_log.h" #include "tcpip_adapter.h" static EventGroupHandle_t wif...
/* * Copyright (c) 2013-2015, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC) * 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 r...
/* * Copyright (c) 2015, 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, * this list of...
/* Released under MIT License Copyright (c) 2021 <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, c...
/* $NetBSD: sbp2.c,v 1.1 2002/02/27 05:12:11 jmc Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by <NAME>. * * Redistribution and use in source and binary forms, with or without * modification, ar...
/* Copyright (c) 2017, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disc...
/***************************************************************************//** * @file main_tg11.c * @brief Use the ADC to take periodic scan measurements in EM2 ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.co...
// SPDX-License-Identifier: GPL-2.0-or-later /* * atmel_wm8904 - Atmel ASoC driver for boards with WM8904 codec. * * Copyright (C) 2012 Atmel * * Author: <NAME> <<EMAIL>> */ #include <linux/clk.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> #include <sound/soc.h> #include "../c...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
#define MAX_ARR_SIZE 1024 #define MAX_CMD_SIZE 1024 #define ANSI_ESCAPE_SEQUENCE(EscapeSeq) "\33[" EscapeSeq #define CTRLL 0xOC void clear_input() { fflush(stdin); return; } // function to show prompt void show_prompt(){ int i; char * user; char host[MAX_ARR_SIZE]; char cwdir[MAX_ARR_SIZE]; ...
# 1 "fir.c" # 1 "fir.c" 1 # 1 "<built-in>" 1 # 1 "<built-in>" 3 # 149 "<built-in>" 3 # 1 "<command line>" 1 # 1 "/afs/ece/support/xilinx/xilinx.release/Vivado-2017.2/Vivado_HLS/2017.2/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1 /* autopilot_ssdm_op.h*/ /* #- (c) Copyright 2011-2017 Xilinx, Inc. All righ...
#define WIN32_LEAN_AND_MEAN // kind of important #include <ntdef.h> #include <stdio.h> #include <stdlib.h> #include <lmcons.h> #include <windows.h> #include <winbase.h> #include <wtsapi32.h> #include <tlhelp32.h> #include <winternl.h> #include <versionhelpers.h> #include <processthreadsapi.h> // our local stuff #i...
/* * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 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 * * U...
/* synth.c Copyright (c) 2012-2015,2016,2020 The Linux Foundation. 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 ...
/* $OpenBSD: progressmeter.c,v 1.45 2016/06/30 05:17:05 dtucker Exp $ */ /* * Copyright (c) 2003 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code ...
/* * Copyright (c) 2015 Intel, Inc. All rights reserved. * Copyright (c) 2015 Mellanox Technologies, Inc. * All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ * */ #include "utils.h" #include "test_common.h" #include "pmix_server.h" #includ...
/* * Copyright 2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
/*! \file Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 University Corporation for Atmospheric Research/Unidata. See \ref copyright file for more info. */ /* This example program is part of Unidata...
/* $Id$ */ #include "utilities.h" #include <unistd.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <sys/resource.h> #include <errno.h> #include <sys/time.h> #include <sys/times.h> #include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <wordexp.h> #ifndef __APPLE__ #include <mall...
/* * Copyright (c) 2015-2016 DeNA Co., Ltd., <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...
/* * File: outputuino.c * Author: Yahe <<EMAIL>> * Version: 0.4.0 * * Created on 24. April 2013 * * Release 0.1.0 on 26. April 2013 * initial implementation * * Release 0.2.0 on 10. May 2013 * introduced PROGMEM * introduced password-check option * enhanced chunk API * * Release 0.3.0 on 12. May 2013...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/rcache/rc_file2.c - file-based replay cache, version 2 */ /* * Copyright (C) 2019 by the Massachusetts Institute of Technology. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, a...