text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h>
#include "board_config.h"
#include "sysctl.h"
#include "fpioa.h"
#include "plic.h"
#include "dmac.h"
#include "i2s.h"
#include "uarths.h"
#include "ff.h"
#include "bsp.h"
#include "syslog.h"
#include "sdcard.h"
#include "wav_decode.h"
#include "es8374.h"
static int sdcard_... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <sys/socket.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <dc_application/command_line.h>
#include <dc_application/options.h>
#include <dc_posix/dc_stdlib.h>
#include <dc_posix/dc_stri... |
/*
* Test-Driven Development Framework 7 for C
*
* Copyright (C) 2018 <NAME>
* This file is part of T7. T7 may be freely distributed under the MIT
* license. For more information, see https://github.com/tronkko/t7
*/
#include "t7/types.h"
#include "t7/allocator.h"
#include "t7/memory.h"
#include "t7/static-allo... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ARXEIO "bus.txt"
//Dilosi domis me hrisi tis typedef
typedef struct bus_struct{
char name[40];
unsigned short num[10];
unsigned int th;
} bus_t;
//Akolouthoun oi prosthies diloseis ton sunartiseon pou tha hrisimopoiisoume sti main
voi... |
#include <omp.h>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "util.h"
static inline
void OMP_MatMatMul(FLOAT *A, FLOAT *B, FLOAT *C, int coldim, int rowdim, int tmpdim) {
int i=0, j=0, k=0, tid=-1;
FLOAT tot_tstart = omp_get_wtime();
FLOAT max_elapsed... |
#define thisprog "xe-O2-readchart2"
#define TITLE_STRING thisprog" v 3: 19.October.2015 [JRH]"
#define MAXLINELEN 1000
#define MAXLABELS 1000
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
/*
<TAGS> file O2 </TAGS>
v 3: 19.October.2015 [JRH]
- allow detection of manual comments beginni... |
/*
* 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 "commands.h"
#include "connection.h"
#include "utils.h"
#include <string.h>
#include <stdlib.h>
/* command definitions */
#define STARTPROGRAM 0x00
#define STOPPROGRAM 0x01
#define PLAYSOUNDFILE 0x02
#define PLAYTONE 0x03
#define SETOUTPUTSTATE 0x04
#define SETI... |
/* Copyright (C) 2018 SCARV project <<EMAIL>>
*
* Use of this source code is restricted per the MIT license, a copy of which
* can be found at https://opensource.org/licenses/MIT (or should be included
* as LICENSE.txt within the associated archive or repository).
*/
#include "kernel_imp.h"
#include "kernel_im... |
/* USB Keyboard Example for Teensy USB Development Board
* http://www.pjrc.com/teensy/usb_keyboard.html
* Copyright (c) 2009 PJRC.COM, LLC
* Copyright 2018 <EMAIL>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... |
/*
* vr_uvhost_msg.c - handlers for messages received by the user space
* vhost thread.
*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
#include <sys/poll.h>
#include "vr_dpdk.h"
#include "vr_dpdk_virtio.h"
#include "vr_dpdk_usocket.h"
#include "vr_uvhost_client.h"
#include "vr_uvhost_msg.h... |
#define _XOPEN_SOURCE /* drand48() */
#include <stdlib.h> // drand48()
#include <string.h>
#include <assert.h>
#include "carrays.h"
//
// Generic C Arrays
//
// All functions have the gca_ prefix
//
// 2015-10-24 <NAME> (<EMAIL>)
//
//
// TODO:
// 1. quickselect using median of medians
//
// Get Greatest Common Divi... |
#include<stdio.h> // define the header file
#include <stdlib.h>
#include <string.h>
#include "ruby.h"
uint A;
uint B;
uint C;
uint D;
const int S11 = 7;
const int S12 = 12;
const int S13 = 17;
const int S14 = 22;
const int S21 = 5;
const int S22 = 9;
const int S23 = 14;
const int S24 = 20;
const int S31 = 4;
const ... |
/*******************************************************************************
* - FILE: hmm_parser.h
* - DESC: Parses .hmm files into HMM_PROFILE object
*******************************************************************************/
/* imports */
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>... |
// Copyright 2013 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#define _GNU_SOURCE // asprintf
#include <stdio.h> // for NULL, fprintf, snprintf, stderr, BUFSIZ, fclose, etc
#undef _GNU_SOURCE
#include <ctype.h> // for isdigit... |
/* $OpenBSD: playit.c,v 1.8 2003/06/11 08:45:25 pjanzen Exp $ */
/* $NetBSD: playit.c,v 1.4 1997/10/20 00:37:15 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
#include "blaswrap.h"
/* -- translated by f2c (version 19990503).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__1 = 1;
static integer c__2 = 2;
static integer c__10 = 10;
static integer c__3 = 3;
stati... |
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/r200/r200_texmem.c,v 1.2 2008/04/02 21:02:29 tsi Exp $ */
/**************************************************************************
Copyright (C) Tungsten Graphics 2002. All Rights Reserved.
The Weather Channel, Inc. funded Tungsten Graphics to develop the
initial ... |
/*============================================================================*/
/*==[ st4th - a minimalistic Forth interpreter/compiler ]=====================*/
/*==[ written by <NAME> <<EMAIL>> ]===============*/
/*============================================================================*/
#include <stdlib.h>
#inc... |
/*====================================================================*
- 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... |
/*
* clock_ti816x.c
*
* Clocks for TI816X based boards
*
* Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com>
* <NAME>, <<EMAIL>>
*
* Based on TI-PSP-04.00.02.14 :
*
* Copyright (C) 2009, Texas Instruments, Incorporated
*
* This program is free software; you can redistribute it and/or
* modify i... |
/*
* page.c - buffer/page management specific to NILFS
*
* Copyright (C) 2005-2008 Nippon Telegraph and Telephone 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 by
* the Free Software Foundation; either ver... |
/* 78696 - -fprintf-return-value misoptimizes %.Ng where N is greater than 10
Test to verify the correctness of ranges of output computed for floating
point directives.
{ dg-do compile }
{ dg-require-effective-target double64plus }
{ dg-options "-O2 -Wformat -Wformat-overflow -ftrack-macro-expansion=0" }... |
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: <NAME> <<EMAIL>>
*
* Derived from drivers/spi/mpc8xxx_spi.c
*/
#include <common.h>
#include <dm.h>
#include <malloc.h>
#include <spi.h>
#include <asm/io.h>
#include <asm/arch/soc.h>
#ifdef CONFIG_... |
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<unistd.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h>
#include"dataset.h"
#include"cluster.h"
#include"binary_array.h"
#include"volumes.h"
double* array_deltas(double* array, int array_length) {
int i;
double* diffs = (double*)m... |
/******************************************************************************
* NTRU Cryptography Reference Source Code
*
* Copyright (C) 2009-2016 Security Innovation (SI)
*
* SI has dedicated the work to the public domain by waiving all of its rights
* to the work worldwide under copyright law, including all... |
/*
* Copyright (c) 2011-2013 <NAME>.
* All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the BSD_LICENSE file.
*/
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <limits.h>
#include... |
/*--------------------------------------------------------------------
This source distribution is placed in the public domain by its author,
<NAME>. You may use it for any purpose, free of charge,
without having to notify anyone. I disclaim any responsibility for any
errors.
Optionally, please be nice and tell me if ... |
/*
* Copyright (c) 2011 The Chromium OS Authors.
* (C) Copyright 2010,2011 NVIDIA Corporation <www.nvidia.com>
*
* 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 Licens... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#define HUBBLE 0.678
typedef struct {
double ScaleFactor;
double Sfr;
} SfrData;
SfrData *data;
char *mopt_command(char *command, int zopt, int Zopt, doub... |
/*! \file heading_tracker.c
* \brief heading tracker source code
*
* \details The heading tracker is a classical PI design that tracks pitch angle (theta), roll angle (phi),
* heading angle (psi), altitude (h), and airspeed (ias).
* A yaw damper and roll damper are used for the lateral axis, and a pitch damper is ... |
/*
3DKIT version 1.3
High speed 3D graphics and rendering library for Linux.
1996 <NAME> <EMAIL>
This file is an example program demonstrating the use of the
3dkit library. It is not part of the library and is not copyright.
The author takes no responsibility, for the results
of c... |
/*
* Copyright 2007, 2010-2011 Freescale Semiconductor, Inc
* <NAME>
*
* Based vaguely on the pxa mmc code:
* (C) Copyright 2003
* <NAME>, Nexus Technologies, Inc. <EMAIL>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and... |
/*
* (C) 2020 <NAME>
* This code is licensed under MIT license (see LICENSE in top dir for details)
*/
/** @file json_formatter.c
* @brief Json Message formatting and output
* @details The json output is an array of records. The record objects are:
*
* - isoDateTime The message timestamp - include... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Allwinner DE2 display driver
*
* (C) Copyright 2017 <NAME> <<EMAIL>>
*/
#include <common.h>
#include <display.h>
#include <dm.h>
#include <edid.h>
#include <efi_loader.h>
#include <fdtdec.h>
#include <fdt_support.h>
#include <video.h>
#include <asm/global_data.h>
#include ... |
/**
* Copyright 1993 Network Computing Devices, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that the above copyright notice appear in all copies and that both that
* copyright notice and this permiss... |
#include "geminc.h"
#include "gemprm.h"
#define SHP_GLOBAL
#include "shpprm.h"
typedef struct shpexception_t {
char id[64]; /* unique id of the shape */
unsigned long fips; /* Fips code of the shape */
float clat; /* lat of centroid point */
float clon; /* lon of centroid point... |
/*********************************************************************
Copyright (C) 2021 The Blosc Developers <<EMAIL>>
https://blosc.org
License: BSD 3-Clause (see LICENSE.txt)
Small benchmark for testing basic capabilities of Blosc.
You can select different degrees of 'randomness' in input buffer, as
... |
/*
* Make a file system. Run by 'newfs' and not directly by users.
* usage: mkfs -s size -i byte/ino -n num -m num filsys
*
* NOTE: the size is specified in filesystem (1k) blocks.
*/
#include <sys/param.h>
/*
* Need to do the following to get the larger incore inode structure
* (the kernel might be built wit... |
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 <NAME>, <NAME> and <NAME>
* Copyright (C) 1998-1999 <NAME>
*
* 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 F... |
/*
* Gretchen internal helper
*
* Copyright (c) 2018 - 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
* t... |
/**
* \file
*
* \brief Sound sample and sinewave playback driver definitions.
*
* 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 followi... |
/*
* Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
* Copyright (c) 2006 IBM Corp.
* Contributed by <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Softwar... |
/*
FreeRTOS.org V6.0.4 - Copyright (C) 2003-2009 <NAME>.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org 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 and modified by the FreeR... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <time.h>
#include <pthread.h>
#include <semaphore.h>
#include <sys/stat.h>
#include "Server.h"
#include "../consoleManagement.h"
#include "../requests.h"
//mutex
static sem_t serverDataAccess;
/*
* fonction désérialisant un nom/pr... |
#define compile \
{ gcc -o su_md5 -O2 -g -Wall -DTEST -I. su_md5.c } ; exit 0
/* -*- c-style: java -*- */
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under t... |
/* Copyright (C) 1997, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 ... |
/*
<NAME> and <NAME>, University of Manchester.
Copyright (c) 2002-3. 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
co... |
/* public domain Simple, Minimalistic, No Allocations MPEG writer - http://jonolick.com
*
* Latest revisions:
* 1.02 (22-03-2017) Fixed AC encoding bug.
* Fixed color space bug (thx r- lyeh!)
* 1.01 (18-10-2016) warning fixes
* 1.00 (25-09-2016) initial release
*
* Basic usage:
* char *fr... |
/**
* File: command-interpreter2-util.c
* Description: Common functionality for ASCII and Binary command interpreter2s
*
* Copyright 2013 by Silicon Laboratories. All rights reserved. *80*
*/
#include PLATFORM_HEADER
#ifdef EZSP_HOST
// Includes needed for ember related functions for the EZSP host
... |
// module_manager.c
//
// Created on: Jul 10, 2020
// Author: <NAME>
#include "vm/module_manager.h"
#include "alloc/arena/intern.h"
#include "entity/class/class.h"
#include "entity/class/classes.h"
#include "entity/function/function.h"
#include "entity/module/module.h"
#include "entity/object.h"
#inc... |
/*
* 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... |
//Generated by the Argon Build System
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Re... |
/* $OpenBSD: cgtwelve.c,v 1.4 2002/09/23 18:13:38 miod Exp $ */
/*
* 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 of source code must ret... |
/*
Copyright (C) 1997-2020 <NAME> <<EMAIL>>
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 commer... |
// Copyright 2020 Espressif Systems (Shanghai) 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 appli... |
/***************************************************************************//**
* @file
* @brief Throughput test application.
*******************************************************************************
* # License
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
******************************... |
/*
* $Id$
*
* Fanimae MIREX 2010 Edition
* Search (Pitch and IOI)
*
* Copyright 2010 by RMIT MIRT Project.
* Copyright 2010 by <NAME>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include <assert.h>
#include "oakpark.h"
#define DEFAULT_NUM_OF_ANSWERS 1... |
/*
* 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... |
#include <stdint.h>
#include <string.h>
#include <limits.h>
#include "../common/bip32.h"
#include "../common/buffer.h"
#include "../common/segwit_addr.h"
#include "../common/wallet.h"
#include "../common/script.h"
#include "../boilerplate/sw.h"
#ifndef SKIP_FOR_CMOCKA
#include "../crypto.h"
#else
// disable problema... |
// tab_size:4
#include <stdio.h>
#include <stdlib.h>
#include "tso.h"
//@ #include "listex.gh"
typedef struct object *object;
/*@
predicate_ctor object(list<object> os)(void *o) =
[_]object_class(o, ?c) &*&
[_]c->inv |-> ?inv &*&
[_]c->print |-> ?print &*&
inv(o, ?os0) &*& subset(os0,... |
#include "mltaln.h"
#define DEBUG 0
#if DEBUG
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
double getrusage_sec()
{
struct rusage t;
struct timeval tv;
getrusage(RUSAGE_SELF, &t);
tv = t.ru_utime;
return tv.tv_sec + (double)tv.tv_usec*1e-6;
}
#endif
int intcmp( int *str1, i... |
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "engine.h"
/* For MATLAB Engine functions, see
http://www.mathworks.co.uk/access/helpdesk/help/techdoc/apiref/index.html?/acce... |
/*******************************************************************************
*
* This file is part of the General Hidden Markov Model Library,
* GHMM version __VERSION__, see http://ghmm.org
*
* Filename: ghmm/ghmm/sfoba.c
* Authors: <NAME>, <NAME>
*
* Copyright (C) 1998-2004 <NAME>
*... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Implementation of chip-to-host event (aka indications) of WFxxx Split Mac
* (WSM) API.
*
* Copyright (c) 2017-2019, Silicon Laboratories, Inc.
* Copyright (c) 2010, ST-Ericsson
*/
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include "hif_rx.h"
#include "... |
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... |
#include <stdio.h>
#include <assert.h>
#include <time.h>
#include <GeneralizedTime.c>
#include <math.h> /* for pow(3) */
static void
recognize(char *time_str, time_t expect, int as_gmt) {
GeneralizedTime_t gt;
struct tm tm;
time_t tloc;
int fv, fp;
gt.buf = (uint8_t *)time_str;
gt.size = strlen(time_str);
tl... |
/*****************************************************************************
FILE: analbeat.cpp
AUTHOR: <NAME>
REVISED: 5/13/2002
___________________________________________________________________________
analbeat.cpp: Analyze Beat
Copywrite (C) 2001 <NAME>
This file is free software; you can redistribute it and/... |
/*-
* Copyright (c) 2008, 2009 <NAME> <<EMAIL>>
* Copyright (c) 2009 <NAME> <<EMAIL>>
* Copyright (c) 2009 <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. Redistri... |
/* $Id$ */
/*
* Copyright (c) 2019 <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 copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE A... |
#include "RS232_serial.h"
#include "term_serial.h"
#include <stdlib.h>
#include <math.h>
#include "commands.h"
#define JS_DEV "/dev/input/js0"
#define HEADER 0xFF
#define SAFE 0x00
#define PANIC 0x01
#define MANUAL 0x02
#define CALIBRATE 0x03
#define YAW_CONTROL 0x04
#define FULL_CONTROL 0x05
#define RAW 0x06
#def... |
/***************************************************
* File: tash.c -- A mini command line interpreter.
*
* Author Year Description
*
* 1. <NAME> 1975 Create on Unix V6
* 2. <NAME> 2013 Porting on Linux
*
***************************************************/
#include <stdi... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/*
* digit.c
*
* Created on: May 11, 2021
* Author: Dan
*/
#include "digit.h"
#include "dtc.h"
#include "iodriver.h"
#include "utils/ledDefs.h"
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/hal/Timer.h>
#... |
/*
* Copyright 2013-2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
*
***** BEGIN LICENSE BLOCK *****
Copyright (C) 2009-2018 <NAME> and <NAME>
This file is part of CLIXON.
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... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/int10/generic.c,v 1.28 2003/09/08 14:25:30 eich Exp $ */
/*
* XFree86 int10 module
* execute BIOS int 10h calls in x86 real mode environment
* Copyright 1999 <NAME>
*/
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include ... |
/*
Copyright (c) 2006-2016, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy) and the <NAME>
Institut (Switzerland). All rights reserved.
License: see file COPYING in top level of source dis... |
/*
HapCodecGL.c
Hap Codec
Copyright (c) 2012-2013, <NAME> and Vidvox LLC. 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... |
#include "phy_val.h"
#include <common.h>
#include <command.h>
int mii_mgr_read(u32 phy_addr, u32 phy_register, u32 *read_data);
int mii_mgr_write(u32 phy_addr, u32 phy_register, u32 write_data);
typedef struct {
unsigned char lch_sig_detect;
unsigned char lch_rx_linkpulse;
unsigned char lch_linkup_10... |
/**********************************************************************************
Avatar Tools
Copyright (c) 2019, National Technology and Engineering Solutions of Sandia, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... |
// Stew's paired heap implementation
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "ph.h"
// Uncomment (or define at compile time) to turn on use of recursive pair merging
// instead of the (slightly) faster iterative pair merging
// #define __PH_USE_RECURSIVE_MERGE
// Uncomment (or define at c... |
/* $Id$ */
/* Copyright (c) 2012-2018 <NAME> <<EMAIL>> */
/* This file is part of DeforaOS Desktop Locker */
/* 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 abo... |
/* $NetBSD: tcp-comms.c,v 1.1.1.2 2009/12/02 00:27:06 haad Exp $ */
/*
* Copyright (C) 2002-2003 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* m... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int64_t x30 = INT64_MIN;
int64_t x221 = INT64_MAX;
uint8_t x596 = 2U;
uint16_t x618 = 4U;
uint8_t x619 = 15U;
... |
/*
* @XMHF_LICENSE_HEADER_START@
*
* eXtensible, Modular Hypervisor Framework (XMHF)
* Copyright (c) 2009-2012 Carnegie Mellon University
* Copyright (c) 2010-2012 VDG Inc.
* All Rights Reserved.
*
* Developed by: XMHF Team
* Carnegie Mellon University / CyLab
* VDG Inc.
* ... |
#include <stdio.h>
#include <math.h>
#include "renderers.h"
static int mouse_x;
static int mouse_y;
static int mouse_down;
static int mouse_right_down;
static int object_id = 1;
static bool use_deferred = true;
static void swap_renderer() {
camera* cam = entity_get("camera");
light* sun = ent... |
/*
* Copyright (c) 2009, Google Inc.
* All rights reserved.
* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source cod... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include "settings_menu.h"
#include "subscription_menu.h"
#include "utils.h"
#include "debug/logging.h"
#include "message/message.h"
#include "ui/config_window/config_window.h"
#include "ui/progress_window/progress_window.h"
#include <pebble.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
typedef enu... |
/*
* @file ibv_time_rnr.c
* @date 2 Aug 2020
* @author <NAME>
* @brief Test to measure the effect of the receiver-not-ready timer
* @details Repeats a test of posting recv after send while IBV_WR_SEND opcode for RC connection using all possible
* values of the rnr_timer in the queue-pair.
*
* ... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 <NAME> <<EMAIL>>
* Copyright (C) 2007 <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 ver... |
/*
Copyright (C) 1997-2001 Id Software, Inc.
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 distribut... |
#include <android_native_app_glue.h>
#include <android/log.h>
#include <jni.h>
//--
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
//--
#include <MiniFB.h>
#include <WindowData.h>
#include "WindowData_Android.h"
#define LOG_TAG "MiniFB"
#define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, LOG_... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* An SPI driver for the Philips PCF2123 RTC
* Copyright 2009 Cyber Switching, Inc.
*
* Author: <NAME> <<EMAIL>>
* Maintainers: http://www.cyberswitching.com
*
* based on the RS5C348 driver in this same directory.
*
* Thanks to <NAME> <<EMAIL>> for
* the sysfs contri... |
/* $Id$
*
* 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 "Lice... |
/*
* Copyright (c) 2016, ARM Limited, 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.org/licenses/LICE... |
/** ***************************************************************************
* @file driverGPSAllentrance.c GPS Driver for Internal/GPS NAV.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF ME... |
// REQUIRES: aarch64-registered-target
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon -target-cpu cyclone \
// RUN: -ffp-contract=fast -S -O3 -o - %s | FileCheck %s
// Test new aarch64 intrinsics and types
#include <arm_neon.h>
float32_t test_vmuls_lane_f32(float32_t a, float32x2_t b) {
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.