text stringlengths 3.12k 18.7k |
|---|
//=============================================================================================//
// FILENAME : animation.c
//
// DESCRIPTION :
// This file defines the animation functions associated with the animation_t
// struct. A note about this is to make sure to define the position, angle, and... |
/**************************************************************************//**
* @file main.c
* @version V3.00
* @brief Capture the BPWM0 Channel 0 waveform by BPWM1 Channel 2.
*
* SPDX-License-Identifier: Apache-2.0
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
*
****************... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
//I know global variables are in general frowned upon, however I was encountering
//difficulties (segfaults) when passing the relevant data structures as parameters
//of functions. Seeing as this is not parallel programming my use c... |
/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license ... |
#include <assert.h>
#include <retro_miscellaneous.h>
#include "gles2N64.h"
#include "Debug.h"
#include "F3D.h"
#include "F3DEX.h"
#include "F3DEX2.h"
#include "N64.h"
#include "RSP.h"
#include "RDP.h"
#include "gSP.h"
#include "gDP.h"
#include "GBI.h"
#include "OpenGL.h"
#include "Config.h"
#include "../../Graphics... |
#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... |
#pragma ident "@(#)__libmcr_mm_mul.c 1.3 04/02/25 SMI"
/* ************************************************************ */
/*
* Copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the... |
#include <stdint.h>
#include "measure.h"
#include "config.h"
#include "freertos/timers.h"
#include "menu_param.h"
#include "parse_cmd.h"
#include "cmd_server.h"
#include "driver/adc.h"
#include "esp_adc_cal.h"
#include "measure.h"
#include "ultrasonar.h"
#define MODULE_NAME "[Meas] "
#define DEB... |
#include "rain.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unwind.h>
/*
DISCLAIMER: Much of this code was borrowed and modified from the Pony language.
Please see the PONY-LICENSE in the repository root, or view it at
https://github.com/ponylang/ponyc
*/
static except... |
/*
Copyright (c) 2017 The University of Edinburgh.
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 agre... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct
{
char in[10][10];
int time;
} hash[500];
hash hashh;
int num2[4],num3[4];
char opcode[500][5];
char nopcode[500][5];
char symtab[100][10];
void jopcode(char opcode[500][5],char nopcode[500][5]);
void copy(int,int,int,int);
... |
#include "list_test.h"
void list_create_test(){
Test.display("List create test", MAGENTA_TEXT);
struct list* myList = List.empty();
Test.assertEqual_Int(0, myList->size, "empty list");
Test.assertFalse(myList->FIRST_NODE, "empty list");
myList = List.of(
Data.of(11, "Jhon", "Doe", 2000, ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifndef WINCE
#include "iothubtransportamqp.h"
#else
#include "iothubtransporthttp.h"
#endif
#include "schemalib.h"
#include "iothub_client.h"
#include "serializer.h"
#... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <ctype.h>
#include <unistd.h>
#include <string.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <dirent.h>
#include "ImpConfig.h"
#include "rqst.h"
#define PORT "8080"
#define... |
/* Copyright (c) 2002-2003 krzYszcz and others.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */
#include <string.h>
#include "m_pd.h"
#include "shared.h"
#include "sic.h"
#include "arsic.h"
#define RECORD_REDRAWPAUSE 10... |
#include <stdio.h>
#include "hardware.h"
#include "fm.h"
#include "mfm.h"
#include "amigamfm.h"
#include "applegcr.h"
#include "gcr.h"
#include "mod.h"
int mod_debug=0;
unsigned long mod_datapos;
unsigned long mod_samplesize;
unsigned long mod_hist[MOD_HISTOGRAMSIZE];
int mod_peak[MOD_PEAKSIZE];
int mod_peaks;
char ... |
#define _GNU_SOURCE
#include <time.h>
#include <pthread.h>
#include <sys/inotify.h>
#include "parrot.h"
int notify_parrot_init(void)
{
struct ParrotGDBusObj *parrot_gdbus_obj;
pthread_t parrot_dbus;
EVENT("%s", "initializing parrot loop");
parrot_gdbus_obj = malloc(sizeof *parrot_gdbus_obj);
... |
/*
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015 Free Software Foundation, Inc.
This file is part of GNU Inetutils.
GNU Inetutils is free software: you can redistribute it and/or modify
it under the terms of the G... |
/*
* axp288_adc.c - X-Powers AXP288 PMIC ADC Driver
*
* Copyright (C) 2014 Intel Corporation
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... |
/*
Copyright 2016 <NAME> (ozdevguy) | <EMAIL>
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 in writ... |
/**
* Copyright (c) 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, t... |
#include "backward_pass.h"
/*
@brief neural network backward propagation
@param[in] input_sample forward pass input sample
@param[in] model ML model
@param[in, out] learning_rate training learning rate
@param[in] out_trg output target value
@details
Backpropagation function updates ML model para... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* g760a - Driver for the Global Mixed-mode Technology Inc. G760A
* fan speed PWM controller chip
*
* Copyright (C) 2007 <NAME> <<EMAIL>>
*
* Complete datasheet is available at GMT's website:
* http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
*/
#include <... |
#include <string.h>
#include "column.h"
#include "common.h"
#include "dataset.h"
#include "eval.h"
#define TABLE_INIT_SIZE 4 // We can very well have few attributes, so
// don't make tables too large per default.
#define TABLE_GROWTH_FACTOR 2 // Must produce powers of two.
s... |
/*
* Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/* UART FIFO LIBRARY
*
* Basic FIFO UART library ported to the RISC-V GD32V microcontroller family
* uart.h
* Version 1
* Created: 12.10.2021
* Author: gfcwfzkm
*/
#include "gfc32vf103_uart.h"
/**
* Diverse defines um das "Porten" zu anderen Mikrokontrollern zu erleichtern
*/
#define _UART_F... |
/*
Copyright 2013 <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 t... |
/*-
* Copyright (C) 2003 WIDE Project.
* 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 condi... |
/*******************************************************************************
This contains the functions to handle the enhanced descriptors.
Copyright (C) 2007-2009 STMicroelectronics Ltd
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU Gen... |
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
... |
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libgen.h>
#include <limits.h>
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <assert.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <hex.h>
#include <log.h>
#define HEX2(x) ... |
// code adapted from <NAME> http://www.newosxbook.com/src.jl?tree=listings&file=6-bonus.c
// clean-up a bit to
// 1. make "clang -Wall" happy
// 2. remove img3 stuff: device tree files are in im4p nowadays
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/conf.h>
#includ... |
/*
* Copyright (c) 2009 NLNet Labs. 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 ... |
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
//
// Copyright (c) 2018 Mellanox Technologies. All rights reserved.
// Copyright (c) 2018 <NAME> <<EMAIL>>
#include <linux/bitops.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/of_device.h>
#inc... |
/*****************************************************************************
Copyright (c) 2020-2021, 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 ... |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/*
* Copyright 2019, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(DATA... |
#include <u.h>
#include <libc.h>
#include <plumb.h>
#include "errors.h"
#undef waitfor
#define waitfor samwaitfor
#undef warn
#define warn samwarn
#undef class
#define class samclass
/*
* BLOCKSIZE is relatively small to keep memory consumption down.
*/
#define BLOCKSIZE 2048
#define RUNESIZE sizeof(Rune)
#defin... |
/*
* Copyright (c) 2021, MediaTek Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <arch_helpers.h>
#include <common/debug.h>
#include <mt_lp_rm.h>
#include <mt_spm.h>
#include <mt_spm_cond.h>
#include <mt_spm_constraint.h>
#include <mt_spm_conservation.h>
#include <mt_spm_idle.h>
#... |
#include "regs.h"
#include "task.h"
#include "sched.h"
#include "../u/syscall.h"
#include "femto.h"
#include "arch/riscv/trap.h"
#include "arch/riscv/csr.h"
#include "arch/riscv/encoding.h"
#include "arch/riscv/machine.h"
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#define USER_PA (0) // user execut... |
/*
*
* Copyright 2015, 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 condi... |
#include <sys/stat.h>
#include <signal.h>
#include <stdlib.h>
#include <math.h>
#include "fbgraphics.h"
int keep_running = 1;
void int_handler(int dummy) {
keep_running = 0;
}
struct _fbg_img *earth_texture;
struct _fbg_img *earth_night_texture;
struct _fbg_img *earth_text_texture;
struct _fbg_img *earth_cycle_... |
/*
Copyright (C) 2017 <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 from the use of
this software.
Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to al... |
/* $Id: clock_thread.c 4106 2012-04-26 23:47:05Z bennylp $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-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 as published by
*... |
/*
* Copyright (c) 1991-2016 Kawahara Lab., Kyoto University
* Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
* Copyright (c) 2005-2016 Julius project team, Nagoya Institute of Technology
* All rights reserved
*/
#include <sent/stddefs.h>
#include <sent/ngram2.h>
// output of an ... |
/**
*
* @copyright © 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/* Narcissus
* © 2015 <NAME>
* This file is redistributable under the terms of the two-clause BSD license;
* see COPYING in the distribution root for the full text.
*/
#include <stdlib.h>
#include <stdint.h>
#include <X11/keysym.h>
#include "devices.h"
#define B0 (1<<0)
#define B1 (1<<1)
#define B2 (1<<2)
#define... |
/*------------------------------------------------------------------------------
Copyright (c) 2008 The Khronos Group Inc.
All Rights Reserved. This code is protected by copyright laws and contains
material proprietary to the Khronos Group, Inc. This is UNPUBLISHED
PROPRIETARY SOURCE CODE that may not be disclosed i... |
/*******************************************************************************
* Copyright 2021 UChicago Argonne, LLC.
* (c.f. AUTHORS, LICENSE)
*
* This file is part of the NRM Benchmarks project.
* For more info, see https://github.com/anlsys/nrm-benchmarks
*
* SPDX-License-Identifier: BSD-3-Clause
********... |
/******************************************************************************
* @file main.c
* @version V1.00
* $Revision: 2 $
* $Date: 16/10/25 4:34p $
* @brief
* Configure USCI_SPI1 as Master mode and demonstrate how to communicate with an off-chip SPI Slave device.
* Needs to w... |
/*
* Copyright 1996-2020 Cyberbotics Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "code_table.h"
#include "output_manager.h"
/**
* File:
* code_table.c implemets a linked list that stores the
* machine code translated from the assembly files.
*/
#define FIELDS 6 /* number of fields in first word struct */
... |
/*
* Copyright (c) 2013 Qualcomm Atheros, Inc.
*
* 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 AUT... |
/* $OpenBSD: a_d2i_fp.c,v 1.10 2014/07/11 08:44:47 jsing Exp $ */
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME> (<EMAIL>).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commerci... |
/* PipeWire
*
* Copyright © 2020 <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, pu... |
/*
(C) 2014 EEMBC(R). All rights reserved.
All EEMBC Benchmark Software are products of EEMBC
and are provided under the terms of the EEMBC Benchmark License Agreements.
The EEMBC Benchmark Software are proprietary intellectual properties of EEMBC and its Members
and is protected under... |
#include <cstdio>
#include <cstdlib>
#include <cstring>
#define MAX_SIZE 2000
/*
Reads the size of the array from the user.
------------------------------------------------
First parameter is a pointer to width variable.
Second parameter is a pointer to height variable.
*/
void readMapSize(int* w, int* h){
if(scanf(... |
/*
* Copyright (C) 2012-2017 <EMAIL>
* This software is distributed under the terms of the MIT license.
* See the included LICENSE file for further information.
*/
/*
* Silicon Graphics IRIS image reader.
*/
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <memory.h>
#include <sys/types.h>... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
#include <linux/init.h>
#include <linux/ip.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netfilter.h>
#undef __KERNEL__
#include <linux/netfilter_ipv4.h>
#define __KERNEL__
#include <linux/skbuff.h>
#include <linux/time.h>
MODULE_AUTHOR("<NAME>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("M... |
/*
* Copyright (c) 1985, 1989 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, a... |
/*
* 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) 2019 <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, distribut... |
/*
* Voltage regulation driver for active-semi ACT8945A PMIC
*
* Copyright (C) 2015 Atmel Corporation
*
* Author: <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; eith... |
#pragma config(Hubs, S2, HTServo, none, none, none)
#pragma config(Hubs, S3, HTMotor, HTMotor, HTMotor, HTMotor)
#pragma config(Sensor, S2, , sensorI2CMuxController)
#pragma config(Sensor, S3, , sensorI2CMuxController)
#pragma config(Sensor, S4, HTSMUX, sens... |
/*
* Copyright (c) 2009, <NAME>
* Copyright (C) 2009 <NAME> <<EMAIL>>
* Copyright (c) 2008-2013, Ruby FFI 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:
* * Redis... |
///////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT NOTICE
//
// The following open source license statement does not apply to any
// entity in the Exception List published by FMSoft.
//
// For more information, please visit:
//
// https://www.fmsoft.... |
/*
* MikroSDK - MikroE Software Development Kit
* Copyright© 2020 MikroElektronika d.o.o.
*
* 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... |
#include "lightweightdatasetprocessor.h"
#include "memorymanager.h"
#include "debug.h"
#include "utils.h"
#include <pthread.h>
#define FREE_LIST_STASH 128
#define TYPES 2
static unsigned long autoincrement = 0UL;
static void *handle (void *args) {
crossbowLightWeightDatasetProcessorP self = NULL;
crossbow... |
/* der-iterator.c
*
* Parses DER encoded objects.
*/
/* nettle, low-level cryptographics library
*
* Copyright (C) 2005 <NAME>
*
* The nettle 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 Foun... |
/******************************************************************************/
/**
@file skip_list.c
@author <NAME>
@brief Implementation of a Skiplist data store
@copyright Copyright 2017
The University of British Columbia,
IonDB Project Contributors (see AUTHORS.md)
@par Redistribution and use in source an... |
/*
* File name: Animations.h
* Author: <NAME>
* How to use:
* The NeoPixel bowtie object is used in the tinkertie.ino code and MUST remain unmodified to display the animations to the bowtie.
* The functions callAnimation, initializeAnimations, nextColourProfile and nextAnimationProfile MUST exist with the ... |
#include <gemm.h>
#define A(i,j) a[(j)*lda+(i)]
#define B(i,j) b[(j)*ldb+(i)]
#define C(i,j) c[(j)*ldc+(i)]
#define mc 256
#define kc 128
#define nb 1000
#define min(i,j) ((i)<(j) ? (i):(j))
typedef union{
__m128d v;
double d[2];
}v2df_t;
void serial_init(int m, int n, double * a, int lda){
int count =... |
#include "defs.hh"
#include "kernel_params.h"
#include <stdint.h>
#include <stdio.h>
/******************************************************************************/
typedef struct node {
ulong_t key; // 4 bytes
struct node *next; // 4 bytes
} node_t;
typedef struct skiplist_node {
ulong_t key; ... |
/*
* Copyright © 2011 Mozilla Foundation
*
* This program is made available under an ISC-style license. See the
* accompanying file LICENSE for details.
*/
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>
#include <AudioToolbox/AudioToolbox.h>
#include "cubeb/cubeb.h"
#include "cubeb-internal.h"
static stru... |
/**
*
* @copyright © 2010 - 2021, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/*
* Copyright (c) 2016 <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 con... |
/*-
* Copyright (C) 1996
* <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... |
/**
* fdtd2d.c: This file was adapted from PolyBench/GPU 1.0 test suite
* to run on GPU with OpenMP 4.0 pragmas and OpenCL driver.
*
* http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU
*
* Contacts: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*/
#include <assert.h>
#... |
#include "local-loop.h"
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <dirent.h>
#include <fcntl.h>
#include <stdbool.h>
#include <math.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/epoll.h>
#include <sys/signalfd.h>
#include "c_bitops.h"
#include "iio_grab.h"
ext... |
//
// Created by lockna on 3/26/20.
//
#include <stdlib.h>
#include <string.h>
#include <hawk/lexer.h>
#include <hawk/token_list.h>
#include <hawk/token.h>
static char *lexer_readFile(const char *path);
static int evaluate_File(struct Lexer *lexer);
static int isDigit(char value);
static int isAlpha(char c);
static s... |
/*
* 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... |
/* Compositor: create a few layers, display as many of them as possible on a
* plane. Iterate over layers that didn't make it into a plane, and fallback to
* composition if necessary. */
#define _POSIX_C_SOURCE 200809L
#include <drm_fourcc.h>
#include <fcntl.h>
#include <libliftoff.h>
#include <stdio.h>
#include <st... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2013-2018 Winlin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use,... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* compress.c
*
* This file contains code for compressing nodes with identical adjacency
* structure and for prunning dense columns
*
* Started 9/17/97
* George
*/
#include <metislib.h>
/************************************************************... |
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <errno.h>
#include <pthread.h>
#include "lws_... |
/*
* Copyright (C) 2017 BlueKitchen GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "BF.h"
#include "sec_hash_table.h"
#include "hash_table.h"
#include "record_struct.h"
#include "error_messages.h"
#define MAX_BUCKETS BLOCK_SIZE / sizeof(int)
/* The first block of a secondary hash table looks like this:
* -------------------------... |
#include "artnet.h"
#include "artnet_variables.h"
#include "string.h"
#include "stdio.h"
#include "esp_log.h"
#include "rdm.h"
#include "settings.h"
#include "version.h"
#include "product_ids.h"
#include "output.h"
#include "indicators.h"
static const char *TAG = "artnet";
const char artnet_id[] = "Art-Net";
int... |
/* this file is created by silc_cli_inst_code_gen.py */
#include "silc_cli_types.h"
extern int is_cli_init();
extern int is_cli_user_init();
/* declare functions */
extern int is_cli_cmd_cli_config(silc_list* p_token_list);
extern int is_cli_cmd_enable_go(silc_list* p_token_list);
extern int is_cli_cmd_exit... |
#include "first.h"
#include "base.h"
#include "log.h"
#include "buffer.h"
#include "plugin.h"
#include "response.h"
#include <stdlib.h>
#include <string.h>
/**
* this is a uploadprogress for a lighttpd plugin
*
*/
typedef struct {
buffer *con_id;
connection *con;
} connection_map_entry;
typedef struct {... |
/* ----------------------------------------------------------------- */
/* The Speech Signal Processing Toolkit (SPTK) */
/* developed by SPTK Working Group */
/* http://sp-tk.sourceforge.net/ */
/* -----------------------------... |
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <mouse.h>
#include <keyboard.h>
#include <thread.h>
#include <plumb.h>
#include "theme.h"
#include "kbd.h"
#include "a.h"
enum
{
Padding = 4,
Scrollwidth = 12,
Scrollgap = 2,
Scrollminh = 5,
Collapsedlines = 10,
};
enum
{
BACK,
TEXT,
HIGH,
SCRL,
NC... |
/*
* Analogy for Linux, configuration program
*
* Copyright (C) 1997-2000 <NAME> <<EMAIL>>
* Copyright (C) 2008 <NAME> <<EMAIL>>
*
* Xenomai 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 versi... |
/* um_perf_sub.c - performance measurement tool. */
/*
Copyright (c) 2021-2022 Informatica Corporation
Permission is granted to licensees to use or alter this software for any
purpose, including commercial applications, according to the terms laid
out in the Software License Agreement.
This source code examp... |
/*
* Copyright (C) 2020-2021 The opuntiaOS Project Authors.
* + Contributed by <NAME> <<EMAIL>>
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <drivers/generic/keyboard.h>
static key_t _scancode_set1[] = {
KEY_UNKNOWN, // 0
KEY_ESCAPE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.