text
stringlengths
5.8k
28.2k
/* * Author: <NAME> <<EMAIL>> * Based on work from: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Copyright (c) 2019 Emutex Ltd. * Copyright (c) 2014 Intel Corporation. * * SPDX-License-Identifier: MIT */ #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h...
/* * Apple Remote input interface * * Copyright (C) 2007 <NAME> <pontscho at kac.poliod.hu> * * (modified a bit by Ulion <ulion2002 at gmail.com>) * * This file is part of MPlayer. * * MPlayer is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
//////////////////////////////////////////////////////////////////////////// // **** WAVPACK **** // // Hybrid Lossless Wavefile Compressor // // Copyright (c) 1998 - 2005 Conifer Software. // // ...
/* * 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 limitation the rights * to use, copy, modify, merge, pub...
/* * curlwireDSO.c * * Created on: 12.12.2011 * Author: <NAME> * Version: 0.3.1 */ #ifndef PI #define PI 3.14159265 #endif // standard #include <math.h> #include <stdlib.h> #include <string.h> #include <stdio.h> // pixar #include <ri.h> #include <rx.h> // smoi #include "smoiLibMath.h" // declarations t...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* tests/responder.c - Test harness for responder callbacks and the like. */ /* * Copyright 2013 Red Hat, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
// Copyright 2018 <NAME> // // The contents of this file may be used under the terms of the Apache License, // Version 2.0. // // (See accompanying file LICENSE-Apache or copy at // http://www.apache.org/licenses/LICENSE-2.0) // // Alternatively, the contents of this file may be used under the terms of // the Bo...
/* * Copyright (c) 1982, 1986, 1989, 1993 * The Regents of the University of California. 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...
/* lzz - lz4 solid file archive a simple to parse/write 32-bit chunk archive format, compressed solid with lz4. <NAME>, muragami, <EMAIL> LICENSE: MIT -> https://opensource.org/licenses/MIT */ /* DEEP DIVE INTO THE FORMAT, you may tldr; -.-; ---- lzz is an lz4 compressed archive format, internally it opera...
#include <arch/arch.h> #include <stdbool.h> #include <errno.h> #include <vcore.h> #include <mcs.h> #include <sys/param.h> #include <parlib.h> #include <unistd.h> #include <stdlib.h> #include <sys/mman.h> #include <stdio.h> #include <event.h> #include <uthread.h> #include <ucq.h> #include <ros/arch/membar.h> #include <p...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. * * Copyright by the Board of Trustees of the University of Illinois. * * All rights reserved. * * ...
/* This library depends on: afni_xml.c NIFTI-2 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <nifti2_io.h> #include <inttypes.h> #include "afni_xml_io.h" /* local protos */ static afni_xml_t * xlist_to_ax1(afni_xml_list * xlist); static int axio_alloc_k...
// SPDX-License-Identifier: GPL-2.0 /* * sl3516-ce-core.c - hardware cryptographic offloader for Storlink SL3516 SoC * * Copyright (C) 2021 <NAME> <<EMAIL>> * * Core file which registers crypto algorithms supported by the CryptoEngine */ #include <linux/clk.h> #include <linux/crypto.h> #include <linux/debugfs.h> ...
/** * @file callZlib.c * @author <NAME> * @date June, 2016 * @brief gzip compressor code: the interface to call zlib * (C) 2016 by Mathematics and Computer Science (MCS), Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include <stdio.h> #include <stdlib.h> #include <zlib.h> #...
/* PR tree-optimization/79327 - wrong code at -O2 and -fprintf-return-value { dg-do compile } { dg-options "-O2 -Wall -Wformat-overflow=1 -ftrack-macro-expansion=0" } { dg-require-effective-target int32plus } */ typedef __SIZE_TYPE__ size_t; typedef __WCHAR_TYPE__ wchar_t; #define INT_MAX __INT_MAX__ #defin...
/*-------------------------------------------------------------------- * $Id$ * * This file is part of libRadtran. * Copyright (c) 1997-2012 by <NAME>, <NAME>, * <NAME>, <NAME> * * ######### Contact info: http://www.libradtran.org ######### * * This program is free software; you can...
/* * (C) Copyright 2007 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2001, 2002 * DENX Software Engineering * <NAME>, <EMAIL> * * SPDX-License-Identifier: GPL-2.0+ */ /* define DEBUG for debugging output (obviously ;-)) */ #if 0 #define DEBUG #endif #include <common.h> #include <i2c.h> #in...
/* * Copyright (c) 2010 The WebM 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 contributin...
/* mdp.c ***** Copyright 1994-1997, Brown University Copyright 1998, 1999 <NAME> All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose other than its incorporation into a commercial product is hereby granted without fee, provided that the above copyr...
/* * Copyright 1993, 1994 University of British Columbia * * 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 appears in all copies and that both that * copyright notice and th...
/* * switch.c: implement 'switch' feature via WC & RA interfaces. * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for addition...
#define _XOPEN_SOURCE #define _POSIX_C_SOURCE 200809L #define _ISOC11_SOURCE #define _DEFAULT_SOURCE #include "jobType.h" #include <signal.h> #include <stdlib.h> #include <malloc.h> #include <assert.h> /** * spit.c * * the main() for ./fuzz, a RAID stripe aware fuzzer * */ #include <stdlib.h> #include <string.h>...
/* Copyright (c) 2011, 2012, <NAME> 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 appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIE...
/** * * @file ece544_implementation.c * * @author <NAME> (<EMAIL>) * @modified by <NAME>(<EMAIL>) * @copyright Portland State University, 2016 * * This file implements a test program for the Nexys4IO and custom Pmod peripherals * used in ECE 544. The peripherals provides access to the Nexys4 pushbuttons * and slide swi...
/* # File : condat_l1ballproj.c # # Version History : 1.0, Aug. 15, 2014 # # Author : <NAME>, PhD, CNRS research fellow in France. # # Description : This file contains an implementation in the C language # of algorithms described in the research paper: # # ...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 1997 <NAME> * 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 so...
/**\ * Copyright (c) 2020 Bosch Sensortec GmbH. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause **/ /******************************************************************************/ /*! Header Files */ #include <stdio.h> #include "bmi270.h"...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" /* * dallas DS1687 real time clock and non-volatile ram */ /* * rtc.h */ #define RTC_ADDR (0x0c800000) #define RTC_DATA (0x0c000000) #define outb(p,v) (*(uchar*)(p)=(v)) #define inb(p) (*(uchar*...
#include "crun.h" #include "assert.h" void outmsg(char *fmt, ...) { #if MPI int process_id; MPI_Comm_rank(MPI_COMM_WORLD, &process_id); if (process_id != 0) fprintf(stderr, "Process %.2d|", process_id); #endif va_list ap; va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); bo...
/* Handling of compressed HTTP responses Copyright (C) 2001-2006, <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 y...
/* * Copyright (c) 2012-2013 Etnaviv Project * * 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...
/* ############################################################# * # # * # pSAT - SLS SAT Solver # * # # * ########################################################...
/* * The MIT License * * Copyright (c) 2014 GitHub, 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, ...
#include "snapconfig.h" /* Station reordering is done to minimize matrix bandwidth. The algorithm used is from <NAME>. (1986): An algorithm for profile and wavefront reduction of sparse matrices: International Journal for Numerical Methods in Engineering, Vol 23, pp239-251. */ /* $Log: reorder.c,v $ ...
/**************************************************************************** ** ** Copyright (C) 2021 MikroElektronika d.o.o. ** Contact: https://www.mikroe.com/contact ** ** This file is part of the mikroSDK package ** ** Commercial License Usage ** ** Licensees holding valid commercial NECTO compilers AI licenses ma...
// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2021, Microchip */ #include <assert.h> #include <at91_clk.h> #include <drivers/atmel_shdwc.h> #include <drivers/pm/sam/atmel_pm.h> #include <drivers/sam/at91_ddr.h> #include <io.h> #include <kernel/boot.h> #include <kernel/dt.h> #include <kernel/pm.h> #incl...
/* mpzspm.c - "mpz small prime moduli" - pick a set of small primes large enough to represent a mpzv Copyright 2005, 2006, 2007, 2008, 2009, 2010 <NAME>, <NAME>, <NAME>, <NAME>. The SP Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pub...
//============================================================================= // This file contains the defines useful for defining the dataset of default // system info to be collected (primarily resource IDs). //============================================================================= #pragma once enum...
/* Fitting Formulae for CDM + Baryon + Massive Neutrino (MDM) cosmologies. */ /* <NAME> & <NAME>, Institute for Advanced Study */ /* There are two primary routines here, one to set the cosmology, the other to construct the transfer function for a single wavenumber k. You should call the former once (per cosmology) an...
/***************************************************************************** * * Copyright (C) 2001 Uppsala University and Ericsson AB. * * 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; ...
// // Created by gunavaran on 9/16/20. // #include <inttypes.h> #include "frigate.h" #include <pthread.h> #include "systemProperties.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <memory.h> #include "fileIO.h" typedef struct data_queue { bool flag[DATA_QUEUE_SIZE]; char queue[DATA_QUEUE...
/* * Copyright (c) 2013-2017 <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 ...
/* * 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...
/******************************************************************************* * Copyright (c) 2017 <NAME> * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE.md for details. ***********************************************************...
#include "parser.h" #include "stack.h" /*http://tibasicdev.wikidot.com/one-byte-tokens*/ struct Identifier token_table[AMOUNT_TOKENS] = { {0, {0}}, {0, {0}}, /*TI_NUMBER, TI_SYMBOL*/ {1, {0x70 }}, {1, {0x71 }}, /*TI_PLUS, TI_MINUS*/ {1, {0x82 }}, {1, {0x83 }}, /*TI_MULTIPLY, TI_DIVIDES*/ {2, ...
#include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <strings.h> #include <unistd.h> #include <stdlib.h> #include <ctype.h> #include <poll.h> #include <arpa/inet.h> #include <pthread.h> #include <fcntl.h> #include <errno.h> #include "ncrypto.c" #define T...
#include "scheme48.h" #include <stdio.h> /* ODBC header files */ #include <sql.h> #include <sqlext.h> #include <sqltypes.h> /* darwin 6.1 sql header files do not define SQLLEN */ #ifndef SQLLEN #define SQLLEN SQLINTEGER #endif #define ERROR_MSG_BUFFER_LEN 255 /* turn debug messages on/off. */ #define ODBC...
/* * This is statsd-router: metrics router for statsd cluster. * * Statsd (https://github.com/etsy/statsd/) is a very convenient way for collecting metrics. * Statsd-router can be used to scale statsd. It accepts metrics and routes them across * several statsd instances in such way, that each metric is processed b...
/******************************************************************************************************** * @file mesh_ota.h * * @brief for TLSR chips * * @author telink * @date Sep. 30, 2010 * * @par Copyright (c) 2010, Telink Semiconductor (Shanghai) Co., Ltd. * All right...
/* xensmall.c - align using dynamic programming. */ /* Copyright 2000-2003 <NAME>. All rights reserved. */ #include "common.h" #include "memalloc.h" #include "cheapcgi.h" #include "dnautil.h" #include "xenalign.h" #include "pairHmm.h" static double calcGcRatio(DNA *a, int aSize, DNA *b, int bSize) /* Figure out per...
/* * RaspberryPi based FM transmitter. For the original idea, see: * * http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter * * All credit to <NAME> and <NAME> for creating the original code. * * I have taken their idea and reworked it to use the Pi DMA engine, so * reduc...
/* retransmit.c: support requesting and resending chat messages */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #include "lib/packet.h" #include "lib/media.h" #include "lib/util.h" #include "lib/priority.h" #include "lib/keys.h" #include "chat.h" #include "message.h" #include "cuti...
/* Copyright 2012, Google Inc. * 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 conditi...
/* * * This file is part of the ALPBench Benchmark Suite Version 1.0 * * Copyright (c) 2005 The Board of Trustees of the University of Illinois * * All rights reserved. * * ALPBench is a derivative of several codes, and restricted by licenses * for those codes, as indicated in the source files and the ALPB...
/* CoAP client 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. */ /* * WARNING * lib...
#include "common/c_math/gsl_linalg_extra.h" #include <assert.h> #include <float.h> #include <math.h> #include <stdint.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_blas_types.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_permute_vec...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <sys/stat.h> #include <sys/unistd.h> #include <fcntl.h> #include "dirent.h" #include "ogg_meta.h" #include "btree.h" #include "meta_db.h" #define META_PATH_LEN 256 #define MAX_NESTED_DIRS 6 #define DB_INDEX_RAM_COUNT 1024 #define D...
// 0x07010930 - 0x07010948 static const Lights1 ttc_seg7_lights_07010930 = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x07010948 - 0x07010A28 static const Vtx ttc_seg7_vertex_07010948[] = { {{{ 0, 0, -74}, 0, { 4566, 0}, {0x00, 0x22, 0x86, 0xff}}}, {{{ ...
/* * gs_all_to_all.c * * Created on: 19.03.2015 * Author: gorlorom */ /* * Note: There is a buffer bypass specifically for the last column, so a whole iteration can still be done in (n*n*(n-1))/2 */ #include "pnaa.h" #include <stdlib.h> #include <string.h> #include <stdio.h> #include <stdbool.h> exter...
#include "ukfCfg.h" #include "ukfCfg1.h" #define cfg0 (uint8)0 #define cfg1 (uint8)1 /*---------------------------------------------*/ /* Function Prototype */ /*---------------------------------------------*/ void show_matrix_obj(tMatrix A); void show_matrix(float64 * A, int n,int ...
/* pnmscale.c - read a portable anymap and scale it ** ** Copyright (C) 1989, 1991 by <NAME>. ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both tha...
/* * GM20B GPC MMU * * Copyright (c) 2014-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 limita...
#include "driver.h" #include <time.h> #if defined (UNIX) || defined (__MWERKS__) #define uclock_t clock_t #define uclock clock #define UCLOCKS_PER_SEC CLOCKS_PER_SEC #endif static struct RunningMachine machine; struct RunningMachine *Machine = &machine; static const struct GameDriver *gamedrv; static ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #define thisprog "xe-readscore1" #define TITLE_STRING thisprog" v 9: 22.February.2016 [JRH]" #define MAXLINELEN 1000 #define MAXLABELS 1000 #define CHANNELMAX 256 /* <TAGS>file</TAGS> v 9: 22.February.2016 [JRH] - BUGFIX selection of epoch...
/* pop (%!) .skipeof */ /* Copyright (C) 1989, 1995 Aladdin Enterprises. All rights reserved. This file is part of Aladdin Ghostscript. Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or distributor accepts any responsibility for the consequences of using it, or for whether it...
/* ***************************************************************** * This code is released under the MIT License. * Copyright (c) 2020 <NAME>, <NAME>, <NAME> * * For latest version of this code or to issue a problem, * please visit: <https://github.com/WalkerLau/DetectHumanFaces> * * Note: the above ...
/* Includes ------------------------------------------------------------------*/ #include "main.h" #include "stm32f4xx_hal.h" /* USER CODE BEGIN Includes */ /* vim: set ai et ts=4 sw=4: */ #include <string.h> #include <stdarg.h> #include <math.h> #include "sdcard.h" #include "st7735.h" #include "ff.h" /* USER CODE END...
#include "logfsos.h" #include "logfs.h" #include "local.h" typedef struct AllocState AllocState; struct AllocState { long oldblock; int markbad; }; Pageset logfsdatapagemask(int pages, int base) { if(pages == BITSPERSET) return ~(Pageset)0; return (((Pageset)1 << pages) - 1) << (BITSPERSET - base - pages); } s...
/* * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdlib.h> #include <string.h> #include <stdbool.h> #include "picoboot_connection.h" #if false && !defined(NDEBUG) #define output(format,...) printf(format, __VA_ARGS__) #else #define output(format,...) ((vo...
/* Unix SMB/CIFS implementation. Winbind daemon for ntdom nss module Copyright (C) <NAME> 2000 Copyright (C) <NAME> 2006 You are free to use this interface definition in any way you see fit, including without restriction, using this header in your own products. You do not need to give any attrib...
// V2X Vanilla Module // <NAME> - Inha Univ Cvlab // Makefile is in the same folder // make clean // make // // FOR UPDATE VERSION // git clone <EMAIL>:han/wave // AUTHORIZATION NEEDED -> CONTACT +821029231680 // // tcprewrite -D 192.168.1.255:127.0.0.1 -i ./2.pcap -o ./3.pcap // udpreplay -i lo 3.pcap -r 10 -c 100 /...
/******************************************************************************* * File: nokia5110.c * Brief: Nokia 5110 LCD screen driver * Author: <NAME> * Version: V1.00 * Date created: 11/02/2017 * Last mod: 09/03/2017 * * Note: * All code necessary for handling the LCD screen with PCD8544 controller ...
/* Extended Module Player * Copyright (C) 1996-2010 <NAME> and <NAME> * * This file is part of the Extended Module Player and is distributed * under the terms of the GNU General Public License. See doc/COPYING * for more information. */ /* Liquid Tracker module loader based on the format description writ...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <sys/stat.h> #include "semantic.h" int analyze_ListExpr(struct ParseTree *node, struct SymbolTable **table, struct Symbol **sym); int analyze_List(struct ParseTree *node, struct SymbolTable **table, struct Symbol **sym); int analyze_ListElem(struct ...
// in here is everything to do with drawing map_env to a cairo canvas #include <stdlib.h> #include <math.h> #include <cairo.h> #include "util/xiwilib.h" #include "common.h" #include "layout.h" #include "force.h" #include "quadtree.h" #include "map.h" #include "mapcairo.h" // maximum number of papers to draw when in ...
/* ---------------------------------------------------- -- Parallel maximal sub-sequence project -- Author: <NAME> Grade: Master I - IFI University: Nice-Sophia-Antipolis Year: 2017-2018 Project subject link: https://sites.google.com/site/fabricehuet/teaching/parallelisme-et-distribution/sous-sequence-maximale...
/********************************************************************************/ /* */ /* policymakerpcr */ /* Written by <NAME> */ /* <NAME> Research Center */ /* */ /* (c) Copyright IBM Corporation 2015 - 2019. */ /* */ /* All rights reserved. */ /*...
/* Copyright (C) 1994-2016 Lawrence Livermore National Security, LLC. LLNL-CODE-425250. All rights reserved. This file is part of Silo. For details, see silo.llnl.gov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * R...
#include <stdio.h> #include <math.h> #include "math.h" #include "../print/print.h" #include "../test.h" long cAdd(long x, long y) { return x + y; } long cSub(long x, long y) { return x - y; } long cMul(long x, long y) { return x * y; } long cModulo(long x, long y) { return x % y; } long cDiv(long x, long y) { ...
/* Copyright Statement: * * (C) 2005-2016 MediaTek Inc. All rights reserved. * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens...
/* * fs/cifs/dir.c * * vfs operations that deal with dentries * * Copyright (C) International Business Machines Corp., 2002,2003 * Author(s): <NAME> (<EMAIL>) * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as ...
/******************************************************* copy from MTK *******************************************************/ /* #include <stdint.h> #include <stdio.h> #include "lwip/opt.h" #include "lwip/netif.h" #include "lwip/tcpip.h" #include "lwip/sys.h" #include "lwip/netdb.h" */ #include "cmmqtt_platform.h" #...
// Copyright © <NAME> and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. #pragma once // Compilers #define ALIMER_COMPILER_CLANG 0 #define ALIMER_COMPILER_CLANG_ANALYZER 0 #define ALIMER_COMPILER_CLANG_CL 0 #define ALIMER_COMPILER_GCC 0 #define ALIMER_C...
#include <stdio.h> #include "platform.h" #include "xparameters.h" #include "xil_exception.h" #include "xstatus.h" #include "xil_mem.h" #include "util.h" #include "xintc.h" #include "constants.h" #include "sleep.h" #include "xgpio.h" //////////////////////// GLOBALS //////////////////////// // LED colors and controlle...
#include <stdlib.h> #include <string.h> #include <time.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include <iotc.h> #include <iotc_jwt.h> #include <iotc_types.h> #include "esp_err.h" #include "esp_log.h" #include "context.h" #include "error.h" #include "mqtt.h" #include "utils.h" #define DEVICE_P...
/* -*- linux-c -*- * * Copyright (c) 2003, 2004 by Intel Corp. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This * file and program are licensed under a BSD style l...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/* * Huawei Touchscreen Driver * * Copyright (c) 2012-2019 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program ...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
// SPDX-License-Identifier: GPL-2.0 /* * Vidtv serves as a reference DVB driver and helps validate the existing APIs * in the media subsystem. It can also aid developers working on userspace * applications. * * This file contains the logic to translate the ES data for one access unit * from an encoder into MPEG T...
//***************************************************************************** // Filename : 'analog.c' // Title : Animation code for MONOCHRON analog clock //***************************************************************************** #include <math.h> #include "../global.h" #include "../glcd.h" #include "../ani...
/* * $QNXLicenseC: * Copyright 2009, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICENSE-2.0...
/* USER CODE BEGIN Header */ /** * * Copyright (c) 2021 <NAME>. Some portions generated by * STMicroelectronics, see below. * ****************************************************************************** * @file : main.c * @brief : Main program body *************************************...
//======================================================================== // Heightmap example program using OpenGL 3 core profile // Copyright (c) 2010 <NAME> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising fro...
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation, Inc. Contributed by <NAME> <<EMAIL>>. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; ei...
/* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Sony Corp. and <NAME> of Software Research Associates, Inc. * * %sccs.include.redist.c% * * from: $Hdr: keyconf.c,v 4.300 91/06/09 06:14:53 root...
/******************************************************************** * * * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
/* * Copyright 2015 Rockchip Electronics 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...
#include <assert.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/wait.h> #include <CUnit/Basic.h> #include "cmds.h" #include "cnct.h" #include "cnct_io.h" #include "db_parallel.h" #include "db_simple.h" #include "errors.h" #...
/* * Copyright 2016, 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...