text stringlengths 3.12k 18.7k |
|---|
/*******************************************************************************
* list.c *
* *
* Copyright (C)1996-2009 by cheungmine <<EMAIL>>. *
* Al... |
/*--------------------------------------------------------------------
* $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... |
/*============================================================================
* Autor:
* Licencia:
* Fecha:
*===========================================================================*/
/*==================[inclusiones]============================================*/
#include "sapi.h" // <= Biblioteca sAPI... |
/*
* Simple webserver for MATLAB Coder
* <NAME> August 2018
*/
#include <stdio.h>
#include <string.h>
//#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#ifndef _WIN32
#include <sys/select.h>
#include <sys/socket.h>
#else
#include <winsock2.h>
#endif
#include ... |
#include "skewb_algorithm.h"
#include "face_symbols.h"
#include "skewb_coordinate.h"
#include "skewb_state.h"
#include "utils.h"
static ID move_id;
static ID rotation_id;
static VALUE SkewbAlgorithmClass = Qnil;
typedef enum {
MOVE,
ROTATION,
} SkewbMoveType;
typedef union {
Corner corner;
face_index_t face... |
#include "../include/czmq.h"
void
assert_status (zactor_t *actor, int count)
{
zstr_sendx (actor, "STATUS", NULL);
// Get STATUS reply and check it
bool ready = false;
while (!ready) {
char *command, *status;
zstr_recvx (actor, &command, &status, NULL);
if (streq (command, "STA... |
/*
* wipefs - utility to wipe filesystems from device
*
* Copyright (C) 2009 Red Hat, Inc. All rights reserved.
* Written by <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Founda... |
/*
* Copyright (c) 2009-2012, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this... |
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <error.h>
#include <stdlib.h>
#include <errno.h>
#include <limits.h>
#include <unistd.h>
#include <string.h>
#include "linux/input.h"
#define INPUT_DEV_NODE "/dev/input/by-path/platform-ffc04000.i2c-event"
#define SYSFS_DEVICE_... |
/*********************************************************************
* Copyright (c) 2010 Massachusetts Institute of Technology *
* *
* Permission is hereby granted, free of charge, to any person *
* obtaining a copy of this software... |
/*******************************************************************************
* Copyright (C) Marvell International Ltd. and its affiliates
*
* This software file (the "File") is owned and distributed by Marvell
* International Ltd. and/or its affiliates ("Marvell") under the following
* alternative licensing t... |
/*Daala video codec
Copyright (c) 2012 Daala project contributors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this
list o... |
/*
* Copyright (c) 2003-2008, <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 condit... |
/*
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditio... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Broadcom.
* All rights reserved.
*/
#include <inttypes.h>
#include <rte_atomic.h>
#include <rte_bitmap.h>
#include <rte_common.h>
#include <rte_dev.h>
#include <rte_malloc.h>
#include <rte_memzone.h>
#include <rte_prefetch.h>
#include <rte_string_fns.h>
... |
/*
* FRR switchable defaults.
* Copyright (c) 2017-2019 <NAME>, for NetDEF, Inc.
*
* 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 SOFTWAR... |
/* ULP-RISC-V 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.
This code runs on ULP... |
// Example of training the model created by model.py using the TensorFlow C API.
//
// To run use c.sh in this directory.
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <tensorflow/c/c_api.h>
typedef struct model_t {
TF_Graph* graph;... |
#include <string.h>
#include <stdlib.h>
#include "frameproc.h"
static uint8_t filter_frame_management(const uint8_t*, uint16_t, const struct mac80211_control*, struct loki_state*);
static uint8_t filter_frame_data(const uint8_t*, uint16_t, const struct mac80211_control*, struct loki_state*);
static struct beacon_ssi... |
/* mbed Microcontroller Library
* Copyright (c) 2006-2020 ARM Limited
* SPDX-License-Identifier: Apache-2.0
*
* 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.o... |
/*
* Wildcard table.
*
* This is a simple key-value table that associates a key (\0-terminated
* string) with a value (void *).
*
* The keys can end in a wildcard ('*'), and then a lookup will match them as
* expected.
*
* The current implementation is a very simple dynamic array, which is good
* enough for ... |
#include "functions.h"
#include <stdio.h> // fprintf sprintf stderr
#define NS_INADDRSZ 4
#define NS_IN6ADDRSZ 16
#define NS_INT16SZ 2
void sleep(unsigned int Sec)
{
Sleep(Sec * 1000);
}
int inet_aton(const char *AddrStr, struct in_addr *Addr)
{
Addr->s_addr = inet_addr(AddrStr);
return 1;
}
char * StrErr... |
/* vcard.c
* strophe XMPP client library -- vCard example
*
* Copyright (C) 2016 <NAME> <<EMAIL>>
*
* This software is provided AS-IS with no warranty, either express
* or implied.
*
* This program is dual licensed under the MIT and GPLv3 licenses.
*/
#include <assert.h>
#include <libgen.h> /* basename */
... |
/* -*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*- */
/* vim: set filetype=c tabstop=8 shiftwidth=4 expandtab: */
/*
legacy.h -- Legacy macros, functions and names.
*/
/*
Copyright (c) 2011, <NAME>
ECL is free software; you can redistribute it and/or
modify it under the terms of the GNU Libr... |
/*!
* @file main.c
* @brief USBCSource Click example
*
* # Description
* This is an example that demonstrates the use of the USB-C Source Click board.
*
* The demo application is composed of two sections :
*
* ## Application Init
* Initialization driver enables - I2C, set hardware reset and default configurat... |
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <locale.h>
// memchr - searches num bytes for value, returns pointer to first value or null
// const void * memchr ( const void * ptr, int value, size_t num );
void memchr_ex ()
{
char s1[] = "Hello World";
char ... |
/*
* Copyright 2018-2019 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "ast.h"
#include "../util/arr.h"
#include "../util/rmalloc.h"
#include "../arithmetic/arithmetic_expression.h"
#include <assert.h>
//---------------------------... |
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fft.h"
#include "hannwindow.h"
#include "spectralimages.h"
#define N_THREADS 8
struct frames_to_bins_job {
float* samples;
float* bins;
float* hann_window;
unsigned int first_frame;
unsign... |
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#define OP_CONST 0x00 // CONST <X> - 00 XX XX XX RR XX
#define OP_LOAD8 0x01 // LOAD <SLOT S> - 01 SS SS 00 RR 00
#define OP_LOAD16 0x02
#define OP_LOAD32 0x03
#define OP_LOADP 0x04
#define OP_PLOAD8 0x05 // parameter load
#define... |
/* GStreamer
* Copyright (C) <1999> <NAME> <<EMAIL>>
* Copyright (C) <2003> <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, o... |
/*! \file noMac.c
\brief No Medium Access Control Workshop MAC.
@version 16.1
@author <NAME> & <NAME>
The easiest MAC. Forwards all traffic from
ethernet to the radio medium and vice versa.
No address filtering... no retransmissions.
Medium access is completely dependent on
the source traffic, so there is no ... |
#include <scheduler.h>
typedef enum {ERROR, BLOCKED, KILLED, READY}State;
typedef struct {
uint64_t *BP;
uint64_t *SP;
uint64_t *EP;
char **argv;
uint64_t argc;
uint64_t pid;
State state;
char *name;
uint8_t foreground;
uint8_t priority;
int fds[2];
}process;
int equals(v... |
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/sockios.h>
#include <linux/types.h>
#include <linux/ethtool.h>
#include "system_stats.h"
#include "net_stats.h"
#ifndef DUPLEX_UNKNOWN
#define DUPLEX_UNKNOWN 0xFF
#endif /* DUPLEX_UNKNOWN */
extern system_stat system_stats_old;
static net_stats net_stats_o... |
/*
* Copyright (c) 2004-2008 Voltaire Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source... |
#include "matrix_lib.h"
unsigned char matrixvariable[matrix_pixel];/*Hauptvariable, die die Farbe für jeden Pixel enthält*/
void matrix(unsigned short spalte,unsigned short zeile,unsigned char farbe){
if(spalte > matrix_breite)
return;
else if(spalte < 1)
return;
if(zeile > matrix_hohe)
return;
el... |
/* Core configuration registers. */
#word CORCON = getenv("SFR:CORCON")
#word MODCON = getenv("SFR:MODCON")
#word ADCON1 = getenv("SFR:ADCON1")
#word ADCON2 = getenv("SFR:ADCON2")
#word ADCON3 = getenv("SFR:ADCON3")
#word XMODSRT = getenv("SFR:XMODSRT")
#word XMODEND = getenv("SFR:XMODEND")
#word YMODSRT = getenv("SFR... |
/*
MyWAV 0.1.1
by <NAME>
e-mail: <EMAIL>
web: aluigi.org
Copyright 2005,2006 <NAME>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
... |
/*
* Copyright (c) 2021, NVIDIA Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* Driver for GIC-600AE Fault Management Unit
*/
#include <assert.h>
#include <arch_helpers.h>
#include <common/debug.h>
#include <drivers/arm/gic600ae_fmu.h>
#include <drivers/arm/gicv3.h>
/* GIC-... |
/*
* Copyright (c) 2016, <NAME>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
* This module contains functions for parsing and scanning C++ source files
*/
#include "cxx_keyword.h"
#include "keyword... |
/* STP - Simple Time Protocol - This program makes the uCsimm contact the US National Institute of Technology(NIST) and get the current time via the Internet. This program uses no non-standard libraries.
Programming by <NAME> <EMAIL> and systems analysis and complaining by <NAME> <EMAIL>
Completion date 3-14-00
Dayt... |
// -*- mode: c; tab-width: 4; indent-tabs-mode: 1; st-rulers: [70] -*-
// vim: ts=8 sw=8 ft=c noet
/*
* Copyright (c) 2015 Pagoda Box Inc
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v.
* 2.0. If a copy of the MPL was not distributed with this file, You can obtain one
* at http... |
#include "proto.h"
void generate_GIF_data (struct context * context) {
if (context -> source -> width > 0xffffu || context -> source -> height > 0xffffu) throw(context, PLUM_ERR_IMAGE_TOO_LARGE);
// technically, some GIFs could be 87a; however, at the time of writing, 89a is over three decades old and supported by... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* File: pHSystemRead.c
*
* Code generated for Simulink model 'pHSystemRead'.
*
* Model version ... |
/*
* Copyright 2020 Xilinx, 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... |
#pragma once
// #version:5#
// machine generated, do not edit!
#include <stdint.h>
extern unsigned char dump__start[3438];
extern unsigned char dump_adca[842];
extern unsigned char dump_adcax[865];
extern unsigned char dump_adcay[865];
extern unsigned char dump_adcb[846];
extern unsigned char dump_adcix[859];
extern un... |
/****************************************************************************
* Project: P-touch printer driver library
* Developer: <NAME>
* Purpose: Make Brother P-touch (PT-series) printers do something besides
* gather dust.
*
* Currently supports:
* PT-2450DX
********... |
/* $OpenBSD: if_xl_pci.c,v 1.18 2004/01/09 21:32:24 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* <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. Redistributi... |
// Copyright 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 to ... |
/*
* Copyright (c) 2012 <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, merge, publish, dis... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 <NAME> for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... |
/* hgExperiment - Load experimental data into two tables --
one containing the data (comma-separated experiment values), and
the other describing the experiments. This uses expression experiment
table types, so suitable for display with "expRatio" track type */
#include "common.h"
#include "linefile.h"
#incl... |
/* pnmmontage.c - build a montage of portable anymaps
*
* Copyright 2000 <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 that
* copyri... |
#include <stm32l0xx.h>
#include <bc_spi.h>
#include <bc_tca9534a.h>
#include <bc_scheduler.h>
#include <bc_module_lcd.h>
#define _BC_MODULE_LCD_DISP_ON 0x04
#define _BC_MODULE_LCD_LED_GREEN 0x10
#define _BC_MODULE_LCD_LED_RED 0x20
#define _BC_MODULE_LCD_LED_BLUE 0x40
#define _BC_MODULE_LCD_DISP_CS 0x80
typed... |
/* Written by Dr <NAME> (<EMAIL>) for the OpenSSL
* project 2006.
*/
/* ====================================================================
* Copyright (c) 2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided... |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Core private header for the pin control subsystem
*
* Copyright (C) 2011 ST-Ericsson SA
* Written on behalf of Linaro for ST-Ericsson
*
* Author: <NAME> <<EMAIL>>
*/
#include <linux/kref.h>
#include <linux/mutex.h>
#include <linux/radix-tree.h>
#include <linux/pi... |
/*
* Copyright © 2015 Intel Corporation
*
* 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... |
/*
* Copyright (c) 2021 Huawei Device 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 applica... |
//https://github.com/naroom/OpenSyringePump/blob/master/syringePump/syringePump.ino
//https://hackaday.io/project/1838-open-syringe-pump
// Controls a stepper motor via an LCD keypad shield.
// Accepts triggers and serial commands.
// To run, you will need the LCDKeypad library installed - see libraries dir.
// Seri... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdio.h>
#include <stdlib.h>
#include "iothub_client.h"
#include "iothub_client_options.h"
#include "iothub_message.h"
#include "azure_c_shared_utility/thread... |
/*
* pulsedlight-lidar-lite-v2.c - Support for PulsedLight LIDAR sensor
*
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the L... |
/*****************************************************************************
* XMODEM File Transfer Module
*
* This module is a receive only implemenation of the xmodem protocol
* defined by <NAME>. www.textfiles.com/programming/ymodem.txt
*
**********************************************************************... |
/**
* (C) Copyright 2016-2020 Intel 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 l... |
/* dmpath.c
*
* Name: dmpath
* Description: tool to add elements to PATH style variables
*
* Author: <NAME>, brinkqiang
* Source: http://tony.aiu.to/sa https://github.com/tonyaiuto/addpath https://github.com/brinkqiang/dmpath
*
* Copyright <NAME> (c) 1990-2015
*/
#ifndef WIN32
#include <unistd.h>
#endif
#inc... |
// ---------------------------------------------------------------------------
// Copyright <NAME> 2010 - 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt... |
#include <binnedBLAS.h>
#include <binned.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "../common/test_opt.h"
#include "../../config.h"
#include "wrap_saugsum.h"
#include "../common/test_vecvec_header.h"
static opt_option augsum_func;
static opt_option fold;
static opt_option norm;
static void... |
/*
* Copyright (C) 2011-2013 by
* <NAME> (<EMAIL>, <EMAIL>)
* ... and other members of the Reconstruction Team of <NAME>'s
* lab (BME Dept. UCSC).
*
* 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... |
/*-
* Public Domain 2014-present MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* bina... |
/*
* Copyright 2010 <NAME> for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This l... |
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_REGISTER(net_test, CONFIG_NET_SOCKETS_LOG_LEVEL);
#include <stdio.h>
#include <ztest_assert.h>
#include <net/socket.h>
#include "../../socket_helpers.h"
#define BUF_AND_SIZE(buf) buf, sizeof(bu... |
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/string.h>
#include <list.h>
#include <list_sort.h>
/*
* Returns a list organized in an intermediate format suited
* to chaining of merge() calls: null-terminated, no reserved or
* sentinel head node, "prev" links not maintained.
*/
__att... |
// SPDX-License-Identifier: GPL-2.0
/*
* This file is based on code from OCTEON SDK by Cavium Networks.
*
* Copyright (c) 2003-2007 Cavium Networks
*/
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <net/dst.h>
#include "octeon-ethernet.h"
#include "ethernet-defines.h"... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/* Copyright (c) (2010,2011,2012,2014,2015,2016,2017,2018,2019) Apple Inc. All rights reserved.
*
* corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which
* is contained in the License.txt file distributed with corecrypto) and only to
* people who accept that license. IMPORTANT: Any licen... |
/* $NetBSD: externs1.h,v 1.20 2002/11/02 20:09:27 perry Exp $ */
/*
* Copyright (c) 1994, 1995 <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 ... |
/*
* Image creator for the littlefs
*
* This file is part of the MicroPython ESP32 project, https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo
*
* Copyright (c) 2018 LoBo (https://github.com/loboris)
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a co... |
/*
Copyright 2014 <NAME> <<EMAIL>>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope tha... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) SUSE LLC, 2019
* Author: <NAME> <<EMAIL>>
*/
/*
* This tests if the kernel writes correct data to the
* process accounting file.
*
* First, system-wide process accounting is turned on and the output gets
* directed to a defined file. After that a... |
#include <math.h>
#include "synth/formant.h"
// http://www.musicdsp.org/showArchiveComment.php?ArchiveID=110
static const double formant_filter_coeff[5 * 11] = {
// A
3.11044e-06, 8.943665402, -36.83889529, 92.01697887, -154.337906,
181.6233289, -151.8651235, 89.09614114, -35.10298511, 8.388101016,
-0... |
/* C Standard Includes */
#include <stdio.h>
#include <wifi_openat.h>
/* BSP & Xilinx INcludes */
#include "xil_types.h"
/* Project includes */
#include "wifi_cfg.h"
#include "buffer.h"
#include "http_client.h"
#include "scheduler.h"
#include "wifi_esp8266.h"
/* Function prototypes */
scheduler_callback http_client_... |
/*
* Copyright (C) 2016 The CyanogenMod Project
*
* 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 ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free So... |
#include <lib9.h>
#include "dat.h"
#include "fns.h"
#include "mcp.h"
#include "ucbtouch.h"
TouchCal newtouchcal;
int touch_raw_count = 0;
int touch_valid_count = 0;
extern int touch_read_delay;
extern int touch_l2nreadings;
extern int touch_minpdelta;
extern int touch_filterlevel;
static TouchPnt vp[1]; // valid poin... |
//
// hexgraph - routines to manage turtle graphics for generating paths
//
#include "hex.h"
#include "hexgraph.h"
#define HEXGRAPH_NUMBER_BUF_SIZE 50
#define MAX_DOUBLE_IMAGE 30 /* this is longer than necessary s/b 20 something digits */
struct _hexgraph {
HexList *points;
double direction; ... |
/*
================================================================================================#=
MAIN
apps/freertos/main.c
SPDX-License-Identifier: MIT-0
================================================================================================#=
*/
#include <stdint.h>
#include <string.h>
#i... |
/*
$Id$
Copyright 1989-2014 MINES ParisTech
Copyright 2009-2010 HPC-Project
This file is part of PIPS.
PIPS is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later... |
/*
* Copyright 1994 by OpenVision Technologies, 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 appears in all copies and
* that both that copyright notice and this permi... |
/* Id: tbl_data.c,v 1.28 2014/01/05 18:37:53 joerg Exp */
/*
* Copyright (c) 2009, 2010, 2011 <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 notic... |
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static unsigned int gappih = 10; /* horiz inner gap between windows */
static unsigned in... |
#include <errno.h>
#include <sys/file.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <dirent.h>
#include <limits.h>
#include "common.h"
#include "RStream.h"
#include "WStream.h"
#define RSTREAM_DIR_IS_EMPTY -1
#define RSTREAM_NO_MORE_NOT_ACQUIRED_FILES -2... |
/**
* This software is released into the public domain.
*/
#define NDEBUG
#define _DEFAULT_SOURCE
#include "mpscfifo.h"
#include "msg_pool.h"
#include "dpf.h"
#include <sys/types.h>
#include <pthread.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
bool MsgP... |
/*
* lib/krb5/krb/ser_auth.c
*
* Copyright 1995 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.
* It is the responsibility of any person or organization cont... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/*
* Copyright(c) 2007 - 2019 Realtek Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.or... |
/**
* collectd - src/redis.c, based on src/memcached.c
* Copyright (C) 2010 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at... |
/*
* $OpenLDAP: pkg/ldap/libraries/liblunicode/ucstr.c,v 1.40 2008/03/04
* 06:24:05 hyc Exp $
*/
/*
* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2008 The OpenLDAP Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... |
// 0x0700DEF8 - 0x0700DFF8
static const Vtx rr_seg7_vertex_0700DEF8[] = {
{{{ 307, -50, -306}, 0, { 0, 990}, {0x8a, 0x6b, 0x00, 0xff}}},
{{{ 307, 154, -306}, 0, { 0, 0}, {0x8a, 0x6b, 0x00, 0xff}}},
{{{ 307, 154, 307}, 0, { 3034, 0}, {0x8a, 0x6b, 0x00, 0xff}}},
... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "mp5.h"
#include "mp10.h"
#define MY_INFINITY 1000000000
//introduction:
//This file is used to find the nearest dist from a set of points to a set of points
//find_nodes:
//inputs: locale_t *loc, vertex_set_t *vs, pyr_tree_t *p, int32_t nnum
//out... |
/*
* Copyright (c) Medical Research Council 1994. All rights reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation for any purpose is hereby granted without fee, provided that
* this copyright and notice appears in all copies.
*
* This file was written by <NAME>, <NAM... |
/************************************************************************
* LEGALESE: "Copyright (c) 2015, Dell Inc. All rights reserved."
*
* This source code is confidential, proprietary, and contains trade
* secrets that are the sole property of Dell Inc.
* Copy and/or distribution of this source code or disassemb... |
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.