text stringlengths 5.8k 28.2k |
|---|
#include <stdlib.h>
#include <string.h>
#include "cpp.h"
#define NSTAK 32
#define SGN 0
#define UNS 1
#define UND 2
#define UNSMARK 0x1000
struct value {
long val;
int type;
};
/* conversion types */
#define RELAT 1
#define ARITH 2
#define LOGIC 3
#define SPCL 4
#define SHIFT 5
#define UNARY 6
/* operator priori... |
/*-------------------------------------------------------------------------
*
* ginutil.c
* utilities routines for the postgres inverted index access method.
*
*
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* ... |
/*-------------------------------------------------------------------------
*
* combocid.c
* Combo command ID support routines
*
* Before version 8.3, HeapTupleHeaderData had separate fields for cmin
* and cmax. To reduce the header size, cmin and cmax are now overlayed
* in the same field in the header. Tha... |
/*
* 4X Technologies .4xm File Demuxer (no muxer)
* Copyright (c) 2003 The FFmpeg project
*
* This file is part of FFmpeg.
*
* FFmpeg 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
* v... |
/*
* Copyright 2003 Tungsten Graphics, inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* on the rights t... |
#include <media/saa7146_vv.h>
static u32 saa7146_i2c_func(struct i2c_adapter *adapter)
{
//fm DEB_I2C(("'%s'.\n", adapter->name));
return I2C_FUNC_I2C
| I2C_FUNC_SMBUS_QUICK
| I2C_FUNC_SMBUS_READ_BYTE | I2C_FUNC_SMBUS_WRITE_BYTE
| I2C_FUNC_SMBUS_READ_BYTE_DATA | I2C_FUNC_SMBUS_WRITE_BYTE_DATA;
}
/* this fun... |
/*
* diff_pristine.c -- A simple diff walker which compares local files against
* their pristine versions.
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See t... |
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include "tdigest.h"
#ifndef TD_MALLOC_INCLUDE
#define TD_MALLOC_INCLUDE "td_malloc.h"
#endif
#include TD_MALLOC_INCLUDE
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
static inline double weighte... |
/* hgGenome is a CGI script that produces a web page containing
* a graphic with all chromosomes in genome, and a graph or two
* on top of them. This module just contains the main routine,
* the routine that dispatches to various page handlers, and shared
* utility functions. */
/* Copyright (C) 2013 The Regents o... |
/*
* demuxer for PVA files, such as the ones produced by software to manage
* DVB boards like the Hauppauge WinTV DVBs
* copyright (c) 2002 <NAME>
*
* Uses info from the PVA file specifications found at
* http://www.technotrend.de/download/av_format_v1.pdf
*
* This file is part of MPlayer.
*
* MPlayer is free... |
/* SPDX-License-Identifier: MIT */
#include "adt.h"
#include "pcie.h"
#include "pmgr.h"
#include "tunables.h"
#include "utils.h"
/*
* The ADT uses 17 register sets:
*
* 0: 90000000 00000006 10000000 00000000 ECAM
* 1: 80000000 00000006 00040000 00000000 RC
* 2: 80080000 00000006 00090000 00000000 PHY
* 3:... |
/*
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... |
/* mpiio.c - C source code for multiprecision integer I/O routines.
Implemented Nov 86 by <NAME>
Last revised 13 Sep 91 by PRZ
Boulder Software Engineering
3021 Eleventh Street
Boulder, CO 80304
(303) 541-0140
(c) Copyright 1986-1994 by <NAME>. All rights reserved.
The author assumes no ... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2020 Facebook */
#include <test_progs.h>
#include <bpf/btf.h>
static int duration = 0;
void test_btf_write() {
const struct btf_var_secinfo *vi;
const struct btf_type *t;
const struct btf_member *m;
const struct btf_enum *v;
const struct btf_param *p;
struct ... |
/*
* 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 <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
#include "texture.h"
/* Some <math.h> files do not define M_PI... */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef __sgi
/* Most math.h's do not define float versions of the trig functions. */
#define sinf(x) ((float)sin((... |
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <fcntl.h>
#include <ctype.h>
#include <limits.h>
#include "htscodecs/fqzcomp_qual.h"
#include "htscodecs/varint.h"
#ifndef MAX_REC
#define MAX_REC 1000000
#endif
#ifndef MAX_SEQ
# define M... |
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2003 Internet Software Consortium.
*
* 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... |
// Microsoft Foundation Classes C++ library.
// Copyright (C) 1992 Microsoft Corporation,
// All rights reserved.
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// QuickHelp and/or WinHelp documentation provided with the library.
// See these ... |
/* $OpenBSD: otto.c,v 1.8 2003/08/07 20:19:10 jolan Exp $ */
/* $NetBSD: otto.c,v 1.2 1997/10/10 16:32:39 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 permitt... |
#define __DBL_MIN_EXP__ (-1021)
#define __cpp_attributes 200809
#define __pentiumpro__ 1
#define __UINT_LEAST16_MAX__ 0xffff
#define __ATOMIC_ACQUIRE 2
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __GCC_IEC_559_COMPLEX 2
#define __cpp_aggregate_nsdmi 201304
#define __UINT_LEAST8_TYPE__ unsigned char
#define ... |
/*
* This file is part of <NAME> Ripper password cracker,
* Copyright (c) 1998,1999,2002,2003,2005,2006,2011 by Solar Designer
* Copyright (c) 2011 by <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted.
*
* There's ABSOLUTELY NO WARRANTY, express or impli... |
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* Explicitly include common.h to populate predefined macros in test_config.h
* early. e.g. CONFIG_FPU, which is needed in math_util.h
*/
#inc... |
#define UNSIGNED_BYTE
#include "cfortran.h"
/************************************************************************
DEC C creates longs as 8-byte integers. On most other machines, ints
and longs are both 4-bytes, so both are compatible with Fortrans
default integer which is 4-bytes. To support DECs, we mu... |
/* vax_stddev.c: VAX 3900 standard I/O devices
Copyright (c) 1998-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... |
/*
* Copyright (C) 1985-1992 New York University
*
* This file is part of the Ada/Ed-C system. See the Ada/Ed README file for
* warranty (none) and distribution info and also the GNU General Public
* License for more details.
*/
/* load.c - procedures to load to libraries and axq files */
#include <stdlib.h... |
/*-
* dgreg.h $Id: dgreg.h,v 1.4.2.1 1996/12/19 14:57:36 davidg Exp $
*
* Digiboard driver.
*
* Stage 1. "Better than nothing".
*
* Based on sio driver by <NAME> and on Linux driver by Troy
* <NAME> <<EMAIL>> or <<EMAIL>>
* which is under GNU General Public License version 2 so this driver
* is forc... |
/* ASNS */
#include <ctype.h>
#include "header.h"
#include "layer.h"
#include "pseudo-graphics.h"
#include "setup.h"
#include "state.h"
#include "output.h"
#define MAX_MEM_CELLS 5
#define DEBUG
/*swap(unsigned char*,unsigned char*) - swaps to counts */
void swap (unsigned char* x, unsigned char* y){
*x = *x ... |
/*
* Copyright © 2006 <NAME> <<EMAIL>>
* based on code © 2000-2002 Red Hat, Inc. and others.
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at yo... |
/*
Copyright (c) 2008-2009, <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... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2014 Couchbase, 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
*
* ht... |
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <math.h>
#include <time.h>
#include <X11/Xlib.h> // X11 library headers
#include <X11/Xutil.h>
#include <X11/Xos.h>
#define X_RESN 1000 /* x resolution */
#define Y_RESN 1000 /* y resolution */
#define UNIVERSE_SIZE 1000 // Universe width/heig... |
/*
* Copyright (C) 2013-2015 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 by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This progra... |
/**
*
* Copyright (c) 2017, King Abdullah University of Science and Technology
* All rights reserved.
*
**/
/**
*
* @file pdgesvd.c
*
* KSVD is a high performance software framework for computing
* a dense SVD on distributed-memory manycore systems provided by KAUST
*
* @version 1.0.0
* @author <NAME>
... |
// genlnr_code.c CANOST線形表記を生成する関数
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "main_canost.h"
// #define TEST_GENLNR_CODE 1
extern int iatm;
extern int ibnd;
extern struct atom *a1st;
extern struct bond *b1st;
extern int new_atm;
extern int start;
extern struct level *top,*down;
extern stru... |
/* MPEG-PS muxer plugin for GStreamer
* Copyright 2008 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... |
// SPDX-License-Identifier: BSD-3-Clause
/**
* @file test-commands.c
*
* @brief mptcpd commands API test.
*
* Copyright (c) 2019-2022, Intel Corporation
*/
#include <unistd.h>
#include <errno.h>
#include <error.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <ell/main.h>
#include <ell... |
/*
* 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 that it will be use... |
#include "include/raylib.h"
#include "include/rlgl.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#ifdef __EMSCRIPTEN__
#include "include/emscripten.h"
#endif
#include "recpp.h"
#include "animation.h"
#include "vector2pp.h"
#include "wallPattern.h"
#include "checkColliders_Float.h"
#include "checkCol... |
/**************************************************************************************************
* \file APP_ALGO.c
* \brief Application level algorithm management
*
* \par Copyright Notice
* Copyright 2021 charity: water
*
* Licensed under the Apache License, Version 2.0 (the "Licens... |
/**
* \file dss_app.c
*
* \brief Source file containing the DSS IP related configuration functions.
* These functions will be called by example application.
*
* \copyright Copyright (C) 2013 Texas Instruments Incorporated -
* http://www.ti.com/
*/
/*
* Redistribution and use in source ... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>
#include <signal.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include <sys/mman.h>
#include <jpeglib.h>
#include <halgal.h>
#include <vtcapture/vtCaptureApi_c.h>
#define CRLF() f... |
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <gmp.h>
#include "steps.h"
#include "tedwards.h"
#include "uintbig.h"
#include "poly.h"
// a*x^2+y^2=1+d*x^2*y^2
// a = A.x + 2, d = A.z - 2
bool ted_is_on_curve(point const *P, proj const *E) {
fp2 x2, y2, z2, tmp1, tmp2;
fp2_sq2(&x2,&P->x... |
// Meridian 59, Copyright 1994-2012 <NAME> and <NAME>.
// All rights reserved.
//
// This software is distributed under a license that is described in
// the LICENSE file that accompanies it.
//
// Meridian is a registered trademark.
/*
* graphics.c: Routines for creating, moving, and resizing main graphics window.
*... |
/*-
* Copyright (c) 2007, 2008 <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... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include "cunit/Basic.h"
#include "nb/memory_bot.h"
#include "nb/container_bot.h"
#include "nb/io_bot.h"
#include "nb/geometric_bot.h"
#include "nb/pde_bot.h"
#define INPUTS_DIR "../utest/sources/nb/... |
//
// StartupSound.c
// Clover
//
// Created by Slice on 02.01.2019.
//
// based on AudioPkg by Goldfish64
// https://github.com/Goldfish64/AudioPkg
/*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... |
/*
* Functions for further XIM control
*
* Copyright 2003 CodeWeavers, <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 Foundation; either
* version 2.1 of the License, or (at your op... |
/*
** mouse:~ppr/src/include/lprsrv.h
** Copyright 1995--2005, Trinity College Computing Center.
** Written by <NAME>.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are met:
**
** * Redistributions of source code must retai... |
/*
twi.c - TWI/I2C library for Wiring & Arduino
Copyright (c) 2006 <NAME>. All right reserved.
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, o... |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "sfmm.h"
/**
* All functions you make for the assignment must be implemented in this file.
* Do not submit your assignment with a main function in this file.
* If you submit with a main function in this file, you will get a zero.
*/
sf_free_header... |
/*
* sysfs.c sysfs ABI access functions for TMON program
*
* Copyright (C) 2013 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 or later as published by the Free Software Foundation... |
/*
* $Id: rna_screen.c 40710 2011-09-30 08:10:53Z mont29 $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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... |
#include <types.h>
#include <math.h>
#include <kernel/symbols.h>
#include <kernel/kprintf.h>
#include <kernel/list.h>
#include <kernel/panic.h>
#include <kernel/mm/slab.h>
#include <kernel/mm/virtual_pages.h>
#include <kernel/mm/physical_pages.h>
#include <x86/paging.h>
static inline void _ppage_set_free(Ppage *ppa... |
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYIN... |
#include <stddef.h>
#include <string.h>
#include "dw1000.h"
#include "deca_device_api.h"
#include "deca_regs.h"
#include "timer.h"
#include "delay.h"
#include "SEGGER_RTT.h"
#include "host_interface.h"
#include "firmware.h"
#include "app_calibration.h"
// APPLICATION STATE -----------------------------------------... |
/*-
* Copyright (c) 2015 <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 an... |
#include "driver/sdi12.h"
#include "driver/uart.h"
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "string.h"
#define SDI12_UART_NUM UART_NUM_1
#define SDI12_UART_BAUD 4800
#define SDI12_UART_BUF_SIZE 256
#define SDI1... |
/*
* base58.c
*
* Copyright 2020 <NAME> <<EMAIL>>
*
* The MIT License (MIT)
*
* 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 t... |
//
// ACME - a crossassembler for producing 6502/65c02/65816 code.
// Copyright (C) 1998-2006 <NAME>
// Have a look at "acme.c" for further info
//
// Macro stuff
#include <string.h> // needs strlen() + memcpy()
#include "platform.h" // done first in case "inline" is redefined
#include "acme.h"
#include "alu.h"
#inclu... |
/* Copyright (c) 2009-2011 Open Source Medical Software Corporation,
* University of California, San Diego.
*
* All rights reserved.
*
* Portions of the code Copyright (c) 1998-2007 Stanford University,
* Rensselaer Polytechnic Institute, <NAME>,
* <NAME>.
*
* See SimVascular Acknowl... |
/* $OpenBSD: bpp.c,v 1.2 2008/06/26 05:42:18 ray Exp $ */
/* $NetBSD: bpp.c,v 1.25 2005/12/11 12:23:44 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME>.
*
* Redistribution and use... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <getopt.h>
#include <time.h>
#include <signal.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <vtcapture/vtCaptureApi_c.h>
#include <halgal.h>
#include <libyuv.h>
... |
/*
jeu.c
<NAME>
*/
/*=== externe ================================================================*/
#include <GL/glut.h>
#include <setjmp.h>
#include "hazlab.h"
#include "textures.h"
#include "dimlab.h"
extern GLuint IdTextures[]; /*textures.c*/
#ifdef UTIL_MIPMAPS
extern... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2021 - <NAME>
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later ve... |
#include <stdio.h>
#include <malloc.h>
#include <memory.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
#include "list.h"
BOOL IsValidKey (PINPUT_RECORD pRecord);
int set_mode1(PCONSOLE_SCREEN_BUFFER_INFO pMode, int mono);
void
ShowHelp (
void
)
{
static struct {
int ... |
/**
* \file
*
* \brief Common Sensor Service Data Visualizer
*
* Copyright (c) 2011-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/*
* Copyright (c) 2003-2010,2012,2014 Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exce... |
/*
* 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... |
/**
*
* Synaptics Register Mapped Interface (RMI4) Function $11 support for 2D.
* Copyright (c) 2007 - 2011, Synaptics Incorporated
*
*/
/*
* This file is licensed under the GPL2 license.
*
*#############################################################################
* GPL
*
* This program is free software;... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
#include <openssl/md5.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "cgi_conf.h"
#include "libcgi.h"
#include "cgierr.... |
/*
* colordlg.c
*
* color select dialog with non-regular window.
*
* wangjian<<EMAIL>>
*
* 2008-8-15
*
*/
#include <minigui/common.h>
#include <minigui/minigui.h>
#include <minigui/gdi.h>
#include <minigui/window.h>
#include <minigui/fixedmath.h>
#include "colordlg.h"
#include "mask_pic.c"
#define MASK_PI... |
/* This program is public domain. */
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <math.h>
#ifdef SGI
#include <ieeefp.h>
#endif
#include "reflcalc.h"
/* What to do at the endpoints --- USE_TRUNCATED_NORMALIZATION will
* avoid the assumption that the data is zero where it hasn't be... |
/************************************************************************************
Filename : edid.c
Content : EDID generation
Created :
Authors : <NAME>
Copyright : Copyright (c) 2013-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-... |
#include <stdio.h>
#include "bytecode.h"
const char* op_name[] = {
"NOP",
"LOAD",
"MOV",
"MOVI",
"ADD",
"ADDI",
"SUB",
"SUBI",
"MUL",
"MULI",
"DIV",
"DIVI",
"NEG",
"SHL",
"SHLI",
"SHR",
"SHRI",
"AND",
"OR",
"XOR",
"NOT",
"EQ",
... |
/*
* Copyright (c) 2019 <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 ... |
/*
* Copyright 2013 Google Inc.
* Copyright (C) 2012 Samsung Electronics
*
* Author: <NAME> <<EMAIL>>
* 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; either... |
/*
* Copyright (c) 2017, NVIDIA CORPORATION. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
/*
============================================================================
Name : test_spMSV.c
Author : <NAME>
Version : 0.1
Description : Sparse matrix matrix product
Date : Sept 27, 2016
============================================================================
*/
#include <st... |
/******************************************************************************
*
* NWSCRIPT.H
*
* This module contains typedefs and defines required for the
* NetWare script utility.
*
* Copyright (c) 1995 Microsoft Corporation
*
* $Log: N:\NT\PRIVATE\NW4\NWSCRIPT\INC\VCS\NWSCRIPT.H $
*
* R... |
// 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 writing, software
// distributed ... |
#include "config.h"
#include <syslog.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <math.h>
#include <string.h>
#include <gtk/gtk.h>
#include <libgnome/libgnome.h>
#include <librsvg/rsvg.h>
#include "vicious.h"
#... |
/* ********************************************************************************************* */
/* * C Template for Kernel Execution * */
/* * Author: <NAME> * */
/* ********************************... |
/* dgelsy.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the e... |
#include "clapack.h"
/* Table of constant values */
static integer c__0 = 0;
static real c_b11 = 0.f;
static real c_b12 = 1.f;
static integer c__1 = 1;
static integer c__2 = 2;
/* Subroutine */ int slasda_(integer *icompq, integer *smlsiz, integer *n,
integer *sqre, real *d__, real *e, real *u, integer *ldu, real ... |
/**
*
* @file testing_cgebrd.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author <NAME>
* @date 2010-11-15
* @generated c Tue Jan 7 11:45:17 2014
*
**/
#include <stdlib.h>
#... |
/*
* sound.c
*
* Created on: May 27, 2019
* Author: maartenweyn
*/
#include "sound.h"
#include "tatysoundservice.h"
#include <stdlib.h>
#include <recorder.h>
#include <Ecore.h>
#include <app_event.h>
static audio_in_h input;
static sound_stream_info_h g_stream_info_h = NULL;
static void *g_buffer = NULL... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/* Copyright 2004,2007-2009,2011,2013,2014 IPB, Universite de Bordeaux, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distri... |
/*******************************************************************************
PIC32MZW1 PMU MLDO TRIMMING
File Name:
pmu_init.c
Summary:
PIC32MZW1 boot time PMU mode and output Configuration.
Description:
This interface helps configure the PMU in either DC-DC/MLDO mode and also trim
the vo... |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... |
/*
* Copyright (C) 2014 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... |
/*
* Copyright 2009-2011 Freescale Semiconductor, Inc.
*
* This file is derived from arch/powerpc/cpu/mpc85xx/cpu.c and
* arch/powerpc/cpu/mpc86xx/cpu.c. Basically this file contains
* cpu specific common code for 85xx/86xx processors.
* See file CREDITS for list of people who contributed to this
* project.
*
... |
/******************************************************************************
* ECHOER CLIENT PROGRAM
* TODO- WRITE THIS PROLOGUE
*****************************************************************************/
/* Standard includes */
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
/* This header is requir... |
// board enforces
// in-state
// accel set/resume
// out-state
// cancel button
// regen paddle
// accel rising edge
// brake rising edge
// brake > 0mph
typedef struct {
uint32_t current_ts;
CAN_FIFOMailBox_TypeDef current_frame;
uint32_t stock_ts;
CAN_FIFOMailBox_TypeDef sto... |
/*
* Copyright (c) 2003 <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... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <sys/stat.h>
#include <math.h>
#include <errno.h>
#include "grd_config.h"
#include "grd.h"
/* Maximum number of grds to allow */
#define GRD_MAX_GRDS 100
/* DATA header list */
int num_datas = 0;
grd_info_t datalist[GRD_MAX_GRDS]... |
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* User interfaces for developer and recovery mode menus.
*/
#include "2api.h"
#include "2common.h"
#include "2misc.h"
#include "2nvstorage.h"
#inc... |
/*! \file bcma_mcs.c
*
* "mcs" command implementation
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#include <bsl/bsl.h>
#include <shr/shr_error.h>
#inclu... |
/* W I R E . C
* BRL-CAD
*
* Copyright (c) 2004-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.