text stringlengths 5.8k 28.2k |
|---|
/**
* Copyright (c) 2016 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:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions an... |
/*
** mouse:~ppr/src/ppr/ppr_simplify.c
** Copyright 1995--2005, 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 re... |
#include "tcp_client_demo.h"
#include "delay.h"
#include "usart.h"
#include "led.h"
#include "key.h"
#include "lcd.h"
#include "malloc.h"
#include "stdio.h"
#include "string.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//ALIENTEK 战舰开发板 V3
//TCP Clie... |
/* Copyright 1998, Merit Network, Inc. and the University of Michigan */
/* $Id: pgpchk.c,v 1.18 2002/10/17 20:16:14 ljb Exp $*/
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <regex.h>
#include <stdlib.h>
#include <errno.h>
#include... |
/*
* Copyright Acxiom Corporation, 2005
*
* See COPYING in top-level directory.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
#include <time.h>
#include <pwd.h>
#include <grp.h>
#include <assert.h>
#include <getopt.h>... |
/*
Copyright (C) 2019-2020 JingWeiZhangHuai <<EMAIL>>
Licensed under the Apache License, Version 2.0; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di... |
/**
******************************************************************************
* File Name : SPI.c
* Description : This file provides code for the configuration
* of the SPI instances.
******************************************************************************
* @... |
#include "parse.h"
#define NUMBER 0
/* Definitions */
// Working on chars
static void return_char (int c, char** inp);
static int read_char (char** inp);
// Returns number or func(x) or constant
static Expr* read_value (char** inp, int* error, char* message);
// Grammar not terminals
static Expr* expre... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "tisean_cec.h"
typedef double doublereal;
typedef int integer;
#define abs(x) (((x)>=0.0)?(x):-(x))
#define min(x,y) (((x)<=(y))?(x):(y))
#define max(x,y) (((x)>=(y))?(x):(y))
static doublereal c_b10 = 1.;
extern void check_alloc(void*);
double d_si... |
#include <stdio.h>
#include <stdlib.h>
#include "pico/stdlib.h"
#include "hardware/spi.h"
// PINS
#define SCK_PIN 10 //SClock
#define MOSI_PIN 11 //SData
#define RES_PIN 12 //Reset
#define DC_PIN 13 //Data/Command
#define BK_PIN 14 //Backlight
#define SPI_PORT spi1
// Display Settings
#define DISP_WI... |
/** @file paex_sine.c
@ingroup examples_src
@brief Play a sine wave for several seconds.
@author <NAME> <<EMAIL>>
@author <NAME> <<EMAIL>>
*/
/*
* $Id$
*
* This program uses the PortAudio Portable Audio Library.
* For more information see: http://www.portaudio.com/
* Copyright (c) 1999-2000 <NAME> and <N... |
/* Copyright (c) 2018 <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 t... |
/* $OpenBSD: acpithinkpad.c,v 1.26 2011/04/27 20:55:42 jcs Exp $ */
/*
* Copyright (c) 2008 <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... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <omp.h>
#include "H2Pack_config.h"
#include "H2Pack_typedef.h"
#include "H2Pack_aux_structs.h"
#include "H2Pack_matmul.h"
#include "H2Pack_matmul_periodic.h"
#include "H2Pack_utils.h"
#include "utils.... |
/***********************************************************************
**
** REBOL [R3] Language Interpreter and Run-time Environment
**
** Copyright 2012 REBOL Technologies
** REBOL is a trademark of REBOL Technologies
**
** Additional code modifications and improvements Copyright 2012 Saphirion AG
**
** Licens... |
/*
* Copyright 2020 <NAME>
* SPDX-License-Identifier: BSL-1.0
*
* OpenHMD - Free and Open Source API and drivers for immersive technology.
*/
#define __STDC_FORMAT_MACROS
#include <hidapi.h>
#include <string.h>
#include <assert.h>
#include <inttypes.h>
#include "rift-s.h"
#include "rift-s-hmd.h"
#include "rift-s... |
//////////////////////////
/* SERVER UTILITIES . C */
//////////////////////////
#include <assert.h>
#include <unistd.h>
#include <string.h>
#include <poll.h>
#include <netinet/in.h>
#include <netdb.h>
#include <time.h>
#include <sys/select.h>
#include <arpa/inet.h>
#include "ServerUtil.h"
#include... |
/* This file contains the multithreaded driver interface.
*
* Changes:
* Aug 27, 2011 created (<NAME>)
*
* The entry points into this file are:
* blockdriver_mt_task: the main message loop of the driver
* blockdriver_mt_terminate: break out of the main message loop
* blockdriver_mt_sleep: put the curr... |
///////////////////////////////////////////////////////////////////////////////
// Headers:
#include <stdint.h>
#include "system.h"
#include <stdio.h>
#include <math.h> // remove this library and use our own sin() and cos() functions
///////////////////////////////////////////////////////////////////////////////
// ... |
/*
* Copyright (c) 2004-2006 <NAME> <<EMAIL>>
* Copyright (c) 2006-2007 Sippy Software, Inc., http://www.sippysoft.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
#include "main.h"
#include <pthread.h>
//#define DEBUG_IGNORE_GPS
//#define DEBUG_IGNORE_IMU
int zl_conf;
zlog_category_t *zl_prog;
zlog_category_t *zl_data;
#define STANDBY_TIME_MIN_MS 450 //delay between tranmissions in ms
#define STANDBY_TIME_MAX_MS 500 //5000
int standby_time = STANDBY_TIME_MAX_MS;
//Payload v... |
/*
* Copyright (c) 2018 SURFnet bv
* Copyright (c) 2018 <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
* n... |
/* Copyright (c) 1992 AT&T - All rights reserved. */
struct latin
{
unsigned short l;
unsigned char c[2];
}latintab[] = {
0x00a1, '!','!', /* spanish initial ! */
0x00a2, 'c','$', /* cent */
0x00a3, 'l','$', /* pound sterling */
0x00a4, 'g','$', /* general currency */
0x00a5, 'y','$', /* yen */
0x00a6, '|','|'... |
/**
* @file aps3_eth.c
* @brief Cortus APS3 Ethernet MAC controller
*
* @section License
*
* Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved.
*
* This file is part of CycloneTCP Open.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gene... |
/**
* This is the source file for the experiment to compare the RSS of WPT and RSSI iofBLE
*/
#include "nrf_gpio.h"
#include "nrf_gpiote.h"
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include "nrf_delay.h"
#include "radio_config.h"
#include "boards.h"
#include "nordic_common.h"
#inclu... |
/* Copyright 2019, 2021 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 ... |
/*
* Copyright (c) 2007 Open Kernel Labs, Inc. (Copyright Holder).
* All rights reserved.
*
* 1. Redistribution and use of OKL4 (Software) in source and binary
* forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* (a) Redistributions of source code must r... |
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (c) 1985 Sun Microsystems, Inc.
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/epoll.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <signal.h>
#include <pthread.h>
/* Buffer sizes */
#define REQUEST_BUFFER_SIZ... |
/*
ITS kernel LWIP port main file.
*/
/* INCLUDES */
#include "itslwip.h"
#include <internal/syscall/syscalls.h>
#include <threading/lock.h>
#include <threading/thread.h>
#include "itsnetif.h"
#include "lwip/inet.h"
#include "lwip/tcp.h"
#include "lwip/udp.h"
#include "lwip/netif.h"
#include "lwip/init.h"
#include "... |
#define BGBBTJ_JPG_RGBA 0 //RGBA(32)
#define BGBBTJ_JPG_RGB 1 //RGB(24)
#define BGBBTJ_JPG_BGRA 3 //BGRA(32)
#define BGBBTJ_JPG_BGR 4 //BGR(24)
#define BGBBTJ_JPG_YUVA 5 //YUVA(32)
#define BGBBTJ_JPG_YUV 6 //YUV(24)
#define BGBBTJ_JPG_Y 7 //Y(8)
#define BGBBTJ_JPG_YA 8 //YA(16)
#define BGBBTJ_JPG_YUV422... |
/* interrupt.c */
/* Do not change this file */
#include "common.h"
#include "kernel.h"
#include "memory.h"
#include "printf.h"
#include "scheduler.h"
#include "util.h"
#include "interrupt.h"
#include "cp0regdefs.h"
#define EBASE 0xbfc00000
#define EBASE_OFFSET 0x380
int line = 0;
enum ExcCode {
INT,
MOD, // ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include "eon.h"
#include "vector.h"
#include "jsmn.h"
void load_plugin_api(lua_State *luaMain);
/*-----------------------------------------------------*/
// #define ARRAY_SIZE(x) ... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - <NAME>
* Copyright (C) 2011-2017 - <NAME>
* Copyright (C) 2016-2019 - <NAME>
*
* RetroArch 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 Foun... |
/*
* usbn960x.c
*
* Created on: Dec 14, 2017
* Author: steff
*/
#include "usbn960x.h"
#include "board.h"
#include <usb/usb.h>
#include <usb/usb_device.h>
#include <usb/usb_request.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include <util/delay_basic.h>
#include <stdint.h>
typedef struct _usbn960... |
/*
* Copyright (c) 2014 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... |
/**
* @author <NAME> 2016
*
* Input and output pin related arguments.
*/
#pragma once
#include "common/PortADefinition.h"
#include "common/PortBDefinition.h"
#include "common/PortCDefinition.h"
#include "uc-core/configuration/Leds.h"
#if defined(__AVR_ATmega16__)
# include "common/PortDDefinition.h"
#endif
#... |
/*
* Copyright (c) 2020 Sprint
* Copyright (c) 2020 T-Mobile
*
* 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 ... |
/*==========================================================
* Copyright 2020 QuickLogic 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/licens... |
/*
* Progressive Mesh type Polygon Reduction Algorithm
*
* Original version by <NAME> (c) 1998
* C version by <NAME> (c) 2020
*
* The function ProgressiveMesh() takes a model in an "indexed face
* set" sort of way. i.e. Array of vertices and Array of triangles.
* The function then does the polygon re... |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2013 ARM Limited. All rights reserved.
*
* $Date: 17. January 2013
* $Revision: V1.4.1
*
* Project: CMSIS DSP Library
* Title: arm_cos_q31.c
*
* Description: Fast cosine calculation f... |
/*
* CANopen trace interface.
*
* @file CO_trace.c
* @author <NAME>
* @copyright 2016 <NAME>
*
* This file is part of CANopenNode, an opensource CANopen Stack.
* Project home page is <https://github.com/CANopenNode/CANopenNode>.
* For more information on CANopen see <http://www.can-cia.org/>.
*
... |
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <assert.h>
#include "bam.h"
#include "bam_endian.h"
#include "kstring.h"
#include "sam_header.h"
int bam_is_be = 0, bam_verbose = 2;
char *bam_flag2char_table = "pPuUrR12sfdS\0\0\0\0";
/**************************
* CIGAR related routines *
**********... |
//
// transforms.c
// C-ray
//
// Created by <NAME> on 07/02/2017.
// Copyright © 2017-2021 <NAME>. All rights reserved.
//
#include "../includes.h"
#include "transforms.h"
#include "../utils/logging.h"
#include "vector.h"
#include "bbox.h"
#include "lightray.h"
#include "quaternion.h"
//For ease of use
float to... |
/*
Copyright (c) 2016, <NAME>
Copyright (c) 2008-2016, <NAME>
Copyright (c) 2011, <NAME>
Copyright (c) 2011-2013, <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, inclu... |
/*
* Copyright (C) 2011 by <NAME> <RichSelian at g<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice... |
/**
* 实时加水印
*/
#include <stdio.h>
#include <libavformat/avformat.h>
#include <libavutil/mathematics.h>
#include <libavutil/time.h>
#include <libavfilter/avfilter.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
#include <libavcodec/avcodec.h>
#include <libavutil/avutil.h>
#include <libavut... |
/*******************************************************************************
* Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to d... |
/*
* Copyright (C) 2003 <NAME>
*
* NEVERBALL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This program is distribu... |
/*
* Copyright 2021 FUJIFILM Corporation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed ... |
/*
* print PPP statistics:
* pppstats [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]
*
* -a Show absolute values rather than deltas
* -d Show data rate (kB/s) rather than bytes
* -v Show more stats for VJ TCP header compression
* -r Show compression ratio
* -z Show compression statistics instead... |
/*
* MACM : Multi-Precision Arithmetic Coder Module
*
* A Virtual Queue Based General Arithmetic Encoder
*
* by <NAME>
*
* <EMAIL>
* <EMAIL>
*
*
* commented by <NAME> ( <EMAIL> )
*
* 6-14-96
*
* posted to comp.compression.research
*
* posted to http:/ /wwwvms.utexas.edu/~cbloom/src/macm.zip
*
... |
/* gbase64.c - Base64 encoding/decoding
*
* Copyright (C) 2006 <NAME> <<EMAIL>>
* Copyright (C) 2000-2003 Ximian Inc.
*
* 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
*... |
// Copyright (c) 2019-present, iQIYI, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... |
/*
============================================================================
Name : Hello.c
Author : bsoelch
Description : Brainfuck Interpreter and Debugger
============================================================================
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#... |
/* 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 ... |
/*
* ssd1360.c
*
* Created on: 4 Nov 2017
* Author: Kjetil
*/
#include <string.h>
#include <stdlib.h>
#include "ssd1360.h"
uint8_t CHARACTER_A[] = { 0x00, 0x7C, 0x12, 0x12, 0x7C, 0x00 };
uint8_t CHARACTER_B[] = { 0x00, 0x7E, 0x4A, 0x4A, 0x3C, 0x00 };
uint8_t CHARACTER_C[] = { 0x00, 0x3C, 0x4... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/*
Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved.
The Weather Channel (TM) funded Tungsten Graphics to develop the
initial release of the Radeon 8500 driver under the XFree86 license.
This notice must be preserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of t... |
/*
* EAP peer method: EAP-SAKE (RFC 4763)
* Copyright (c) 2006-2008, <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may be... |
/**
* Copyright (c) 2018 - 2018, Nordic Semiconductor ASA
*
* 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,... |
/*
* (C) Copyright 2009
* <NAME>, esd gmbh germany, <EMAIL>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; ... |
/* dasac.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static logical c_false = FALSE_;
/* $Procedure DASAC ( DAS add comments ) */
/* Subroutine */ int dasac_(integer *handle,... |
/*****************************************************************************
* PSRGEOM
* <NAME>, 2018
*
* This program attempts to simulate the spread of polarisation angles
* observed from a pulsar with given angles α and ζ, and period P.
* Here, the idea is that emission is allowed to originate on any open fi... |
/* Target definitions for GCC for Intel 80386 running Interix
Parts Copyright (C) 1991, 1999, 2000, 2002, 2003, 2004, 2007, 2008, 2009,
2010 Free Software Foundation, Inc.
Parts:
by <NAME> (<EMAIL>).
by <NAME> (<EMAIL>).
by <NAME> (<EMAIL>).
by <NAME> (<EMAIL>).
This file is part of GCC.
... |
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│
│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│
╞══════════════════════════════════════════════════════════════════════════════╡
│ Copyright 2021 <NAME> │
│ ... |
/*
* This file is part of <NAME>per password cracker,
* Copyright (c) 1996-2001,2012,2015,2017 by Solar Designer
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted.
*
* There's ABSOLUTELY NO WARRANTY, express or implied.
*/
#include <stdint.h>
#include <string.... |
/******************************************************************************
*
* Copyright (c) 2019, 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. Redistribu... |
#include "stm32f10x.h"
#include "config.h"
#include "def.h"
#include "types.h"
#include "MultiWii.h"
#include "IMU.h"
#include "Sensors.h"
#include "math.h"
#include "timer.h"
int16_t sonarAltMy; //平滑后的超声波高度
int16_t PressAltMy;//平滑后的气压计高度
uint8_t alt_switch=0;//测距模块标志
int16_t alt_diff;//气压和超声波的差值
extern uint8_t ... |
/*-
* Public platform independent Near Field Communication (NFC) library
*
* Copyright (C) 2010, <NAME>, <NAME>
* Copyright (C) 2011, <NAME>, <NAME>
*
* This program 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... |
/*****************************************************************************
*
* \file
*
* \brief HMATRIX example for AVR UC3.
*
* Copyright (c) 2009-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use M... |
/*
* Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <platform_def.h>
#include <common/bl_common.h>
#include <common/debug.h>
#include <drivers/io/io_dr... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
#pragma warning (disable : 4005)
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by dvdplay.rc
//
#define IDD_ABOUTBOX 100
#define IDP_OLE_INIT_FAILED 100
#define IDR_MAINFRAME 128
#define IDD_VIDEO_WINDOW 130
#... |
/*
* Copyright(c) 2019 Netflix, Inc.
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause Licen... |
// vim: noet:ts=4:sts=4:sw=4:et
#define FUSE_USE_VERSION 26
#define _GNU_SOURCE
#include <assert.h>
#include <endian.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <fuse.h>
#include <iconv.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#incl... |
/**
File: lem1802.c
Project: DCPU-16 Tools
Component: LibDCPU-vm
Authors: <NAME>
<NAME>
<NAME>
<NAME>
Description: Handles LEM1802 functions
**/
#define PRIVATE_VM_ACCESS
#include <stdio.h>
#include <string.h>
#include <bstring.h... |
typedef struct Vec2 Vec2;
typedef struct Vec3 Vec3;
typedef struct Vec4 Vec4;
typedef struct Vec2i Vec2i;
typedef struct Color Color;
typedef struct Rect2 Rect2;
typedef struct Rect3 Rect3;
typedef struct Rect2i Rect2i;
typedef struct MemoryArena MemoryArena;
typedef struct PoolHandle PoolHandle;
typedef struct MemoryP... |
/* $Xorg: pmdb.c,v 1.5 2001/02/09 02:05:34 xorgcvs Exp $ */
/*
Copyright 1996, 1998 The Open Group
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 (c) 2018, SICS, RISE AB
* Copyright (c) 2021, Uppsala universitet
* 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... |
/*
Mouse Switching Software
for Linux and Unix based operating systems
BSD 3-Clause License
Copyright (c) 2020, WEY Technology AG
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 ... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* kdc/fast_util.c
*
* Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* ... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "graph.h"
#include "interpolation.h"
#include "geometry.h"
#include "rmsd.h"
#include "spline.h"
zdata_t **
init_zdata(zmatrix_graph_t *graph)
{
int i;
zdata_t **p;
p=(zdata_t **)malloc(sizeof(zdata_t *)*graph->nbranch);
... |
/*
MIT License
Copyright (c) <NAME> 2019 miniwin Embedded Window Manager
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... |
//
// osloader.c
//
// Operating system loader
//
// Copyright (C) 2013-2014 <NAME>.
// Copyright (C) 2002 <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 o... |
// 0x07003700 - 0x07003780
static const Vtx bitfs_seg7_vertex_07003700[] = {
{{{ 1659, 164, 297}, 0, { 734, 1754}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1966, 164, 911}, 0, { 352, 606}, {0xc8, 0xc8, 0xc8, 0xff}}},
{{{ 1966, 164, -316}, 0, { 1884, 2138}, {0xc8, 0xc8, 0xc8, 0xff}}},
... |
/* @(#) im_affine() ... affine transform with a supplied interpolator.
* @(#)
* @(#) int im_affinei(in, out, interpolate, a, b, c, d, dx, dy, w, h, x, y)
* @(#)
* @(#) IMAGE *in, *out;
* @(#) VipsInterpolate *interpolate;
* @(#) double a, b, c, d, dx, dy;
* @(#) int w, h, x, y;
* @(#)
* @(#) Forward transform
... |
#include <assert.h>
#include "r/texture.h"
#include "r/ro_text.h"
#include "u/pose.h"
#include "mathc/float.h"
#include "button.h"
#include "camera.h"
#include "brush.h"
#include "brushshape.h"
#include "canvas.h"
#include "canvascamctrl.h"
#include "animation.h"
#include "selection.h"
#include "palette.h"
#include "sa... |
/**
* \file
*
* \brief Sample of IEE11073 Communication Model
*
* Copyright (c) 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 ar... |
/*-
* Copyright (c) 2014-2018 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... |
/* $NetBSD: lfs_balloc.c,v 1.32 2002/05/14 20:03:53 perseant Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> <<EMAIL>>.
*
* Redistribution and use in source and binary forms, with o... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <string.h>
#include "util.h"
#include <assert.h>
#include <stdint.h>
#include <sys/resource.h>
#include <time.h>
#include <string.h>
#include <sys/types.h>
//copyed from kernel
#define PATH_MAX 4096
#define AT_VECT... |
/***
* __ ________ __
* | \ | \ | \
* | $$ ______ _______ ______\$$$$$$$$______ _______ | $$____
* | $$ / \ / \| \ | $$ / \ / \| $$ ... |
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <murphy/common/debug.h>
#include <murphy/common/hashtbl.h>
#include <murphy/common/utils.h>
#include "clients.h"
#include "dbusif.h"
struct clients_s {
srs_client_t *srs_client;
struct {
mrp_... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "lfa.h"
#include "util.h"
#define JPLEPH_NBODY 12
#define JPLEPH_MAXPT 15
static void cheby (double tc, double pfac, double vfac,
double *coef, int ncoef, int ncpt,
double *pos, double *vel);
static int32_t ncpt_body[] =... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* Copyright (c) 2021 STMicroelectro... |
/**
* MIT License
*
* Copyright (c) 2018 <NAME>, https://github.com/ilwoong
*
* 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... |
/**
* @file board.c
* @desc Board specific functions and data for SAME54 MCU board
* @author <NAME>
* @date 2021-06-05
* Last Author:
* Last Edited On:
*/
#include "board.h"
#include "global.h"
#include "variant.h"
#include "target.h"
#include "adc.h"
#include "sercom-uart.h"
#include "sercom-spi.h"
#include... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.