text stringlengths 3.12k 18.7k |
|---|
/**
******************************************************************************
* File Name : main.c
* Description : Main program body
******************************************************************************
* This notice applies to any and all portions of this file
* that are not b... |
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
// reserved. See files LICENSE and NOTICE for details.
//
// This file is part of CEED, a collection of benchmarks, miniapps, software
// libraries and APIs for effic... |
/*
* Copyright (c) 2013-2014, Newcastle University, UK.
* 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, ... |
/******************************************************************************
** RANGES -- Simple range-specification package to decode lists of numbers
** or ranges of the form:
**
** <start> '-' <end> [ 'x' <stride>]
**
** Sample code using this package might look like:
**
**
** #include <stdlib.h>
** #in... |
/*-
* Copyright (c) 2010 <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 a... |
/***************************************************************************//**
* @file
* @brief This file handle how the application can configure and interact with the OTA
* cluster.
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laborato... |
#include "20161634.h"
#include "shell_cmd.h"
#include "mem_cmd.h"
#include "opcode.h"
#include "defines.h"
#include "loader.h"
#include "assembler.h"
//head of linked list for ESTAB
extern struct ESTNODE *est_head;
//head of linked list for history cmd
extern struct NODE *head;
extern struct NODE *symbol;
extern stru... |
#include <sha256.h>
#define ror(value, bits) (((value) >> (bits)) | ((value) << (32 - (bits))))
#define shr(value, bits) ((value) >> (bits))
static const uint32_t K[64] =
{
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,
0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
0xd807aa98, 0x12835b01, 0x243185be, 0... |
/*
* inteltool - dump all registers on an Intel CPU + chipset based system.
*
* Copyright (C) 2008-2010 by coresystems GmbH
*
* 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; version 2 of ... |
#define BUFSIZE 16384
#include <stdio.h>
#include <sys/types.h>
#include <sys/time.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <math.h>
#include <unistd.h>
#include <string.h>
#include <termios.h>
#include <errno.h>
#include <netinet/in.h>
#include "m.h"
static const char *helpmsg =
"\n"
... |
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or dis... |
/*
poly1305 implementation using 32 bit * 32 bit = 64 bit multiplication and 64 bit addition
assumes the existence of uint32_t and uint64_t
*/
#include "config.h"
#include "poly1305.h"
enum {
POLY1305_BLOCK_SIZE = 16
};
typedef struct poly1305_state_ref_t {
uint32_t r[5];
uint32_t h[5];
uint32_t pad[4];
unsi... |
/*************************************************************************
* *
* Module: Output *
* *
* Management: disp... |
// Copyright 2013 Google Inc. 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 required by appl... |
#include "common.h"
#include "console.h"
#include "keyboard.h"
#include "memory.h"
#include "interrupt.h"
#include "task.h"
#include "pci.h"
#include "ne2k.h"
#include "ata.h"
#include "entry.h"
#include "process.h"
#include "fs/vfs.h"
#include "service/http.h"
#include "service/echo.h"
#include "service/clock.h"
st... |
/* Create an ELF file with all the DT_* flags set.
Copyright (C) 2011 Red Hat, Inc.
This file is part of elfutils.
Written by <NAME> <<EMAIL>>, 2011.
This file 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 Softwar... |
/*
* PicoDrive
* (C) notaz, 2009,2010
*
* This work is licensed under the terms of MAME license.
* See COPYING file in the top-level directory.
*/
#include <string.h>
#include <stddef.h>
#include "sh2.h"
#include "../debug.h"
#include "compiler.h"
#define I 0xf0
int sh2_init(SH2 *sh2, int is_slave, SH2 *other_... |
/* $OpenBSD: tty.c,v 1.19 2009/10/27 23:59:40 deraadt Exp $ */
/* $NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... |
/*
* <NAME>
* A4 C File
* 11/8/2016
*
* This is from Prof. Moloney's help file at the following URL:
* http://www.cs.uml.edu/~bill/cs308/call_help_assign4.txt
*
*/
#include "pc_threads.h"
// Global Variables
struct donut_ring shared_ring;
pthread_mutex_t prod [NUMFLAVORS];
pthread_mutex_t cons [NUMF... |
// Copyright 2021 <NAME>
// SPDX-License-Identifier: Apache-2.0
#include <string.h>
#include "crypto/iota_crypto.h"
#include "utf8proc.h"
#include "wallet/bip39.h"
#ifndef BIP39_ENGLISH_ONLY
#include "wallet/wordlists/chinese_simplified.h"
#include "wallet/wordlists/chinese_traditional.h"
#include "wallet/wordlists/... |
/*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* This is script-generated code (for the most part). */
/* See dataObjCopy.h for a description of this API call.*/
#include "dataObjCopy.h"
#include "rodsLog... |
// 0x0700AED8 - 0x0700AEF0
static const Lights1 ttc_seg7_lights_0700AED8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700AEF0 - 0x0700AFE0
static const Vtx ttc_seg7_vertex_0700AEF0[] = {
{{{ -861, -8703, 2081}, 0, { 5078, -5012}, {0x20, 0x00, 0x86, 0x00}}},
{{{ ... |
/*
* This header file provides a polyphony implementation.
* Polyphony allows to play several notes simultaneously, each played note is called a voice.
* A note stops at a certain moment and this is called "voice stealing".
* It is based on Acratone with minimal changes.
*
* https://github.com/Saegor/acratone
*/... |
#include<mpi.h>
#include<stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#define CONVERGENCE_COEF 100
#define MAX(a, b) ((a) > (b)) ? (a) : (b)
/**
* Run: mpirun -np 12 ./a.out
*/
static int num_neigh;
static int *neigh;
void read_neighbours(int rank) {
FILE *fp;
char file_n... |
/* GStreamer
*
* Copyright (C) 2007 <NAME> <<EMAIL>>
* Copyright (C) 2007-2009 <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 Licen... |
/*
* Author: <NAME> <<EMAIL>>
*
* Copyright (c) 1997 <NAME>
* Copyright (c) 1998-2002 <NAME>
* Copyright (c) 2000-2002 <NAME>
* All rights reserved
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/file.h>
#include "mech.h"
#include "mech.events.h"
#include "create.h"
#include ... |
/* libwmf (convert/wmf2gd.c): library for wmf conversion
Copyright (C) 2000 - various; see CREDITS, ChangeLog, and sources
The libwmf 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; ei... |
#include "appstate/common.h"
#include "appstate/transition_table.h"
#include "client.h"
#include "config.h"
#include "glthread.h"
#include "gui.h"
#include "window.h"
#include <hammer/error.h>
#include <hammer/net.h>
#include <hammer/time.h>
#include <hammer/worldgen/world_opts.h>
#include <string.h>
#define NUM_EDIT_... |
/*-
* Copyright (c) 1998, 2001 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... |
/* ===========================================================================
FILE CMmeters.c
MEMBER OF process XSPICE
Copyright 1991
Georgia Tech Research Corporation
Atlanta, Georgia 30332
All Rights Reserved
PROJECT A-8503
AUTHORS
9/12/91 <NAME>
MODIFICATIONS
<date> <person name> <nature of modif... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2003 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/*
* This file defines routines that can be called by the pre and postamble
* functions in MPIE_ForkProcesses to add output line labeling to stdout
* and to stderr.
*
* The... |
/*
*
* \file calcSO.c
* \brief
*
*
*/
#include "base.h"
#include "typedef.h"
#include "archive.h"
#include "catalog.h"
#include "simulation.h"
//#include <mpi.h>
#include <time.h>
typedef struct Options
{
int iVerbose;
int iExtract;
int iSO;
int nsnap;
... |
/*-
* Copyright (c) 1998 <NAME> <<EMAIL>>
* Copyright (c) 1998 <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 (C) 1999-2001, 2008 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV 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; eit... |
/*
* Copyright (c) 2015
* The President and Fellows of Harvard College.
* Written by <NAME>.
*
* 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 copyr... |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <aos/kernel.h>
#include "yunit.h"
#include <ulog/ulog.h>
#define TAG "yunit"
typedef struct yunit_test_case_node_s {
struct yunit_test_case_node_s *next;
con... |
/**
* \file
*
* \brief Main functions for MSC unit test
*
* Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip produc... |
/* -*- c-basic-offset: 2 -*- */
/* Copyright(C) 2012-2015 Brazil
This library 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 published by the Free Software Foundation.
This library is distributed in the hope that it will be us... |
/*D***********************************************************
* Modul: DBI - database select
* date select for _DATUM fields
*
* Copyright: yafra.org, Basel, Switzerland
*************************************... |
/*
* Copyright 2011 Tresys Technology, 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:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list ... |
/*
* Copyright (c) 2009 ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
*/
#include <kernel.h>
#include <in... |
/*
* Copyright (c) 2012 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* SRPC-based test for simple rpc based access to name services.
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#inclu... |
/**
* filename : hook.c
* description : elf hook engine
* author : <EMAIL>
*/
#include <stdio.h>
#include <stdlib.h>
#include <elf.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <android/log.h>
#define LOGI(...) ((void)__android_log_pr... |
// uvscpd.c : Mainfile for the application.
//
// 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 file is pa... |
/** @file
* Copyright (c) 2018, Arm Limited or its affiliates. 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://... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <rdma/rdma_cma.h>
#define TEST_NZ(x) do { if ( (x)) die("error: " #x " failed (returned non-zero)." ); } while (0)
#define TEST_Z(x) do { if (!(x)) die("error: " #x " failed (returned zero/null)."); } while (0)
const int BUFFER_S... |
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <db.h>
#include <rpmtag.h>
#define RPMDB_HOME "/tmp/rpm"
#define RPMDB_Packages "Packages"
#define RPMDB_Dirnames "Dirnames"
#define RPMDB_Basenames "Basenames"
st... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/*
* (C) Copyright 2016-2022 Intel Corporation.
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
/**
* This is a simple example of cart test_group client running with no pmix.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
#include <assert.h>
#include <getopt.h>
#include <sem... |
/*
* Copyright (c) 2009-2018 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
*/
#include "parsec/parsec_config.h"
#include "parsec/parsec_internal.h"
#include "parsec/utils/debug.h"
#include "parsec/data_dis... |
/**************************************************************************//**
* @file main.c
* @version V3.00
* @brief
* Demonstrate SPI data transfer with PDMA.
* SPI0 will be configured as Master mode and SPI1 will be configured as Slave mode.
* Both TX PDMA function and RX ... |
/* ============================================================ */
/* */
/* pchip: Piecewice Cubic Hermite Interpolating Polynomial */
/* */
/* =================================================... |
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#in... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <termios.h>
#include <sched.h>
char * cat(char * file_name);
int virt_to_phys_user(uintptr_t *paddr, pid_t pid, uintptr_t vaddr);
int count_chars(const char* string, char ch)
{
int c... |
// Include the AccelStepper library:
#include <AccelStepper.h>
#include <MultiStepper.h>
// Define stepper motor connections and motor interface type. Motor interface type must be set to 1 when using a driver:
#define dirPinLowerArm 2
#define stepPinLowerArm 3
#define dirPinUpperArm 4
#define stepPinUpperArm 5
#define... |
/*
* 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... |
/*
* Copyright 2018 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Author <NAME> <<EMAIL>>
*/
#include <platform_def.h>
#include <assert.h>
#include <debug.h>
#include <firmware_image_package.h>
#include <io_driver.h>
#include <io_fip.h>
#include <io_memmap.h>
#include <io_storage.h>
#include <io_block.h>
#in... |
#include "stdlibc.h"
unsigned int __last_rand = RAND_INIT;
unsigned int _sprintf(char *str, char *format, ...) {
my_va_list args;
char *s_org = str;
char disp_digit;
int pad_flg;
unsigned int conv_len;
char tmp[16];
int i;
int data_int;
char pad_char;
my_va_start(args, forma... |
/*
* Backtrace support for Microblaze
*
* Copyright (C) 2010 Digital Design Corporation
*
* Based on arch/sh/kernel/cpu/sh5/unwind.c code which is:
* Copyright (C) 2004 <NAME>
* Copyright (C) 2004 <NAME>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file... |
/*-
* Copyright 2003-2011 Netlogic Microsystems (Netlogic). 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
* no... |
/*
* keyboard.c
*
* This module contains the low-level part of the keyboard TTY driver.
*/
#include "keyboard.h"
#include "io.h"
#include "debug.h"
#include "locks.h"
#include "tty.h"
#include "vga.h"
#include "lib/termios.h"
#include "lib/ctype.h"
#include "pm.h"
#include "lib/os/signals.h"
#include "lib/string.h... |
/*
* MIT/X Consortium License
* Copyright (c) 2014 <NAME>
*
* gcc -Wall -o bar bar.h bar.c -lX11
*
*/
#include "config.h"
static void X_init();
static void X_cleanup();
static void render_left_colors(int, int, int);
static void render_right_colors(int);
static void update_output_left();
static Display *dis;
... |
#include <asf.h>
#include <tc.h>
#include "d_timer.h"
#ifdef ENABLE_TC_WAVEFORM_INTERRUPT
#include "conf_interrupts.h"
#endif // ENABLE_TC_WAVEFORM_INTERRUPT
// #include "globals.h"
#include "misc/debug_gpio.h"
#ifdef DEBUG
//#define TIMER_DEBUG
//#define TIMER_IO_DEBUG
#endif // DEBUG
#ifdef TIMER_IO_DEBUG
#if (BOAR... |
/* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME>
*
* Software repository: LuaJack, https://github.com/stetre/luajack
*
* 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 re... |
/* telnetcat.c - (C) 2015, <NAME>
* telnetcat - telnet scrape base
* See README for contact-, COPYING for license information. */
#if HAVE_CONFIG_H
# include <config.h>
#endif
#define LOG_MODULE MOD_CORE
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
#include ... |
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include "base.h"
#include "robustats.h"
/**
* Weighted median.
*
* For arrays with an even number of elements, this function calculates the
* lower weighted median.
*
* Arguments:
* x: array of values
* w: array of weights
* begin: Beginnin... |
/*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* 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 requir... |
#include "main.h"
#include "stm32l4xx_hal.h"
ADC_HandleTypeDef hadc1;
UART_HandleTypeDef huart1;
DMA_HandleTypeDef hdma_usart1_tx;
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
static void MX_USART1_UART_Init(void);
//-------------Implicit function declaration-------------------
int UART_Print_Strin... |
/*
* FreeRTOS Kernel V10.4.1
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, includ... |
/**********************************************************************
Copyright 1998, 1999 by Precision Insight, Inc., Cedar Park, Texas.
All Rights Reserved
Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fe... |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This code can be compiled and used to test the otr package against libotr.
// See otr_test.go.
// +build ignore
#include <stdio.h>
#include <stdl... |
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <time.h>
#include "mempool.h"
#include "mp3.h"
#include "thread_pool.h"
#include "db.h"
#include "mstring.h"
#include "display.h"
#include "hash.h"
#include "event.h"
typedef struct ... |
/* Simple Plugin API
*
* Copyright © 2020 <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 Software without restriction, including without limitation
* the rights to use, copy... |
/*
** Splint - annotation-assisted static program checker
** Copyright (C) 1994-2003 University of Virginia,
** Massachusetts Institute of Technology
**
** 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 Sof... |
/***************************************************************************/
/* */
/* QR_decomp.c - LU Decomposition class for mruby */
/* Copyright (C) 2015 <NAME> */
/* paolo[dot]bo... |
/*
* Triangle.c
*/
#include <stdlib.h>
#include <Accelerate/Accelerate.h>
#include "SceneObjects.h"
#include "Scene.h"
#include "Triangle.h"
#include "Sol.h"
Triangle *TriangleNew()
{
Triangle *newTri = malloc(sizeof(Triangle));
newTri->type = SCENE_OBJ_TRIANGLE;
newTri->material = 0;
return newTri;
}
int Tria... |
#include "gridstore.h"
#include <stdlib.h>
#include <stdio.h>
#define SAMPLE5_CONTAINER_COUNT 5
#define SAMPLE5_ROW_COUNT 2
// Bulk operation on multiple containers
int sample5(const char *addr, const char *port, const char *clusterName,
const char *user, const char *password) {
static const int8_t personLob[] =... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/... |
/*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SLEPc - Scalable Library for Eigenvalue Problem Computations
Copyright (c) 2002-2016, Universitat Politecnica de Valencia, Spain
This file is part of SLEPc.
SLEPc is free software: you can redistribute it and/or modify it un... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <complex.h>
#include <time.h>
#define thisprog "xe-matrixsplit1"
#define TITLE_STRING thisprog" v 1: 13.October.2014 [JRH]"
#define MAXLINELEN 1000
#define MAXLABELS 1000
/*
<TAGS>signal_processing dt.matrix</TAGS>
TO DO:
- add ch... |
/** @file pcs.c
* @brief Functions relative to the Parallel Collision Search algorithm.
*
* Created by <NAME> on 03/12/2015.
* Copyright © 2015 <NAME>. All rights reserved.
*/
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <gmp.h>
#include <omp.h>
#include <stdlib.h>
#include <time.h>
#includ... |
#ifndef __sun
#define _POSIX_C_SOURCE 200809L
#else
#define __EXTENSIONS__ 1
#endif
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include "replxx.h"
#include "util.h"
void modify_callback(char** line, int* cursorPosition, void* ud) {
char* s = ... |
/* ppmdither.c - Ordered dithering of a color ppm file to a specified number
** of primary shades.
**
** Copyright (C) 1991 by <NAME>.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above ... |
/* GStreamer
* Copyright (C) 2011 Axis Communications <<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 later v... |
/***************************************************************************
Video Hardware for MAGMAX.
Driver by <NAME> (<EMAIL>) 1999/11/05 -
Additional tweaking by <NAME>
***************************************************************************/
#include "emu.h"
UINT16 *magmax_scroll_x;
UINT16 *magmax_scroll_... |
/*
* Copyright (C) 2003-2004 by <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 c... |
#include "banks.h"
#define MYBANK BANK(6)
#include "commands.h"
#include "b0_globals.h"
#include "b10_parsing.h"
#include "b1_strutil.h"
#include "b2_dsrutil.h"
#include "b2_tifloat.h"
#include "b2_lvl2.h"
#include "b8_terminal.h"
#include <string.h>
#include <vdp.h>
/*
* VDP Address | Purpose
* ----------- | ---... |
/* -*- c-basic-offset: 4; -*- */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <errno.h>
#include <signal.h>
#include <sys/utsname.h>
#include <cligen/cligen.h>
#include <clixon/clixon.h>
#include <clixon/clixon_backend.h>
#include <clixon/clixon_xml.h>
#include <clixon/clixo... |
/*
* power-manager
* Copyright (c) 2012 Samsung Electronics 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 requi... |
/*
* Copyright 2019-present MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
/* $NetBSD: clnt_raw.c,v 1.20 2000/12/10 04:12:03 christos Exp $ */
/*-
* Copyright (c) 2009, Sun Microsystems, 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 ... |
/* tab:8
*
* mp2photo.c - utility program for producing adventure game room photos
* and object images
*
* "Copyright (c) 2011 by <NAME>."
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is... |
/*
* Copyright (c) 2018, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <arch_helpers.h>
#include <assert.h>
#include <bl1.h>
#include <debug.h>
#include <drivers/io/io_fip.h>
#include <errno.h>
#include <image_loader.h>
#include <io_storage.h>
#include <mmio.h>
#include <n... |
/*
* Copyright (c) 2020, <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 condition... |
/*
* This file is part of the bladeRF project:
* http://www.github.com/nuand/bladeRF
*
* Copyright (C) 2013 Nuand LLC
*
* 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
*... |
#define POSIXLY_CORRECT
#include <unistd.h>
#include "../src/vgmstream.h"
#include "../src/util.h"
#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#endif
#define BUFSIZE 4000
extern char * optarg;
extern int optind, opterr, optopt;
void usage(const char * name) {
fprintf(stderr,"vgmstream test decoder " VERSION ... |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 <NAME>
* Copyright (C) 2009-2013 <NAME>
* Copyright (C) 2010-2012 <NAME>
* Copyright (C) 2010-2013 <NAME>
* Copyright (C) 2012-2013 <NAME>
* See AUTHORS file for a more comprehensive list of co... |
extern char __VERIFIER_nondet_char(void);
extern void __VERIFIER_assume(int);
/*
This package 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; version 2 dated June, 1991.
This package is distributed in... |
#include <stdlib.h> //for malloc
#include <stdio.h> //for printf
#include <stdint.h> //for uint16_t
#include <string.h> //for memset
#include <unistd.h> //for close
#ifdef WIN32
#include <winsock.h>
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <arpa/inet.h>
#endif
#include "utils.h"
#include "event.h"... |
/*
* Copyright (c) 2016-2017 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 required by applicable law or a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.