text stringlengths 7.55k 41.9k |
|---|
/*
* hype.c
* Author: sunder
*/
static char help[] = "Parallel Hyperbolic PDE solver upto fourth order accuracy.\n\n";
#include "hype.h"
//----------------------------------------------------------------------------
// Main function of the code
//-----------------------------------------------------------... |
/*
* CWAVE (RWAVE==WAV) input plugin / quad modulator for WinAmp (XMPlay) player
*
* hblpf.h -- all about Half Band Low Pass Elliptic Filters
*
* Copyright (c) 2010-2020, Rat and Catcher Technologies
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modif... |
/************************************************************************************************************
* Sensor fusion of a inertial sensors and a camera through EKF.
*
* @author <NAME>
*
* Obs: Apagar arquivo dos estados estimados na pasta de destino
* antes de executar o programa.
**********************... |
/* $FreeBSD$ */
/*-
* SPDX-License-Identifier: BSD-2-Clause-NetBSD
*
* Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
* Copyright (c) 1998 <NAME>. All rights reserved.
* Copyright (c) 2008-2010 <NAME>. All rights reserved.
* Copyright (c) 2019 <NAME>.
*
* Redistribution and use in source an... |
// SPDX-License-Identifier: GPL-2.0-or-later
/* RxRPC packet transmission
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by <NAME> (<EMAIL>)
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/net.h>
#include <linux/gfp.h>
#include <linux/skbuff.h>
#include <linux/export.h>
#includ... |
/*
* Copyright(c) 2015, 2016 Intel Corporation.
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of versi... |
/*
* MITRE 2021 Collegiate eCTF
* SCEWL Bus Controller implementation
*
* 0xDACC
* <NAME>
* Delaware Area Career Center
*
* This source file is part of our design for MITRE's 2021 Embedded System CTF (eCTF).
* It provides secure networking capabilities to Scewl Enabled Devices including UAVs.
*/
#include "co... |
/* Input event support for Emacs on the Microsoft Windows API.
Copyright (C) 1992-1993, 1995, 2001-2019 Free Software Foundation,
Inc.
This file is part of GNU Emacs.
GNU Emacs 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 S... |
/**
* \addtogroup uip6
* @{
*/
/*
* Copyright (c) 2010, Swedish Institute of Computer Science.
* 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 ... |
#include <3ds.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#define CURRENT_KTHREAD 0xFFFF9000
#define CURRENT_KPROCESS 0xFFFF9004
#define CURRENT_KPROCESS_HANDLE 0xFFFF8001
#define RESOURCE_LIMIT_THREADS 0x2
#define MCH2_THREAD_COUNT_MAX 0x20
#define MCH2_THREAD_STACKS_SIZE 0x... |
/* generate random square orthogonal matrix via QR decomposition */
static void
test_random_matrix_orth(gsl_matrix *m, const gsl_rng *r)
{
const size_t M = m->size1;
gsl_matrix *A = gsl_matrix_alloc(M, M);
gsl_vector *tau = gsl_vector_alloc(M);
gsl_matrix *R = gsl_matrix_alloc(M, M);
test_random_matrix(A, r,... |
/**
* This is a 256 colors palette tool, for coloring HOMM images files.
*
*/
#include <stdio.h>
#include <stdlib.h> //malloc()
#include "yImage_io.h"
#include "palette.h"
/* Heroes of Migth and Magic II palette. to use by default. */
static unsigned char default_pal[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ... |
/*
* Copyright (c) 2003 <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... |
/*
* 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... |
/***************************************************************************************
* Title: Series Elastic Actuator General Library (SEALibgen)
* Dependencies: BCM2835 from airspayce.com/mikem/bcm2835/
* Author: <NAME> (AD-DA Module program is obtained from Waveshare)
* Date: 23.07.2018
* Library v... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "tools.h"
/* Settings which makes the user do a CTRL-C break out of the loop */
#if defined(LIBUT) && (defined(_WIN32) || defined(__WIN32__) )
#define STOPMARK utIsInterruptPending()
#define INITBREAK ;
bool utIsInterruptPending(void);
#else
#include... |
/* $Id$
* tcpproxy - a utility for redirecting tcp connections
* Based on redir:
*
* Author: <NAME>
* <EMAIL>
*
* Based on, but much modified from, code originally written by
* <EMAIL> - original header is below.
*
* redir is released under the GNU General Public license,
* version 2, or at your discretion... |
/* NM registers definitions and macros for access to */
/* PCI_config_space */
#define NMCFG_DEVID 0x00
#define NMCFG_DEVCTRL 0x04
#define NMCFG_CLASS 0x08
#define NMCFG_HEADER 0x0c
#define NMCFG_BASE1FB 0x10
#define NMCFG_BASE2REG1 0x14
#define NMCFG_BASE3REG2 0x18
#define NMCFG_BASE4 0x1c //unknown if used
#defin... |
/*
Copyright (c) 2006 <NAME>
"The MIT license"
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "ofmo-index.h"
#ifdef _OPENMP
#include <omp.h>
#else
#include "omp-dummy.h"
#endif
extern void fmt( double F[],
const int m, const double T, const double cssss );
#ifndef false
#define false 0
#endif
#ifndef true
#define true 1
#endif
#define HALF... |
/*
* Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.h... |
#include <string.h>
#include <stdint.h>
#include <sys/types.h>
#include <stdlib.h>
#include <stdbool.h>
#include <time.h>
#include "chip8.h"
#include "util.h"
void
chip8_init(struct CHIP8 *chip8, keydown_fn_t keydown)
{
srand(time(NULL));
memset((void *)chip8->memory, 0x0, sizeof(chip8->memory));
memset((void *)c... |
/*
Copyright (C) 1997, <NAME>
*/
#include "physics.h"
#include "syst.h"
#include "ghosts.h"
#include "process.h"
#define S_PERMIT 8
#define V_PERMIT 16
#define X_PERMIT 32
#define Y_PERMIT 64
j_lgrptr j_lgrarray[2 * maxvert];
#define maxmark 64
#define undefprtclmark 8
static int sklt[2 * maxvert][MAXVAL... |
/*++
/* NAME
/* mail_params 3
/* SUMMARY
/* global mail configuration parameters
/* SYNOPSIS
/* #include <mail_params.h>
/*
/* char *var_myhostname;
/* char *var_mydomain;
/* char *var_myorigin;
/* char *var_mydest;
/* char *var_relayhost;
/* char *var_transit_origin;
/* char *var_transit_dest;
/* char *var_mail_name;
... |
// Authors:
// <NAME> (<EMAIL>), <NAME> (<EMAIL>)
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include "Maxfiles.h"
#include "MaxSLiCInterface.h"
#include "omp.h"
#include "opencv/highgui.h"
#include "opencv/cv.h"
#include "N... |
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not betwee... |
/* prcinf.f -- translated by f2c (version 19980913).
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__2 = 2;
/* $Procedure PRCINF ( Process an information request ) */
/* Subroutine */ int prcinf_(char *i... |
/*******************************************************************************
* Program: combinesusp
* Purpose: This program will take input individual detection files for MLO and
* CC views of the same breast, and will output new detection files that
* incorporate the suspicion of the detections in the original fil... |
/*
* CTU CAN FD PCI device emulation
* http://canbus.pages.fel.cvut.cz/
*
* Copyright (c) 2019 <NAME> (<EMAIL>)
*
* Based on Kvaser PCI CAN device (SJA1000 based) emulation implemented by
* <NAME> and <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software an... |
/*
* $Id: rna_ID.c 40927 2011-10-11 05:45:59Z campbellbarton $
*
* ***** 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... |
/*
** Copyright (C) 2001-2011 <NAME> <<EMAIL>>
** Copyright (C) 2004 <NAME>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation; either version 2.1 of the License, or
** (at your option)... |
/*
* Copyright 2018-2019 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "./arithmetic_expression.h"
#include "funcs.h"
#include "rax.h"
#include "./aggregate.h"
#include "../util/arr.h"
#include "./repository.h"
#include "../query_ctx.h"... |
/* TA-LIB Copyright (c) 1999-2007, <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:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of co... |
/*
* (C) Copyright 2003
*
* <NAME> <<EMAIL>>
* Intracom S.A.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <watchdog.h>
#include <sed156x.h>
/* configure according to the selected display */
#if defined(CONFIG_SED156X_PG12864Q)
#define LCD_WIDTH 128
#define LCD_HEIGHT 64
#define LCD_LI... |
/*
* Copyright (c) 2015-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2015-2019 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 Cisco Systems, Inc. All rights reserved
* Copyright (c) 2021 <NAME>. All rig... |
#include <malloc.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <3ds.h>
#include <curl/curl.h>
#include "error.h"
#include "prompt.h"
#include "../error.h"
#include "../screen.h"
#include "../../fbi/resources.h"
static const char* level_to_string(Result res) {
switch(R_LEVEL(res)) {
... |
/* sim_timer.c: simulator timer library
Copyright (c) 1993-2010, <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... |
/* Copyright (c) 2008-2010 Atmel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of condit... |
#include "commands.h"
#include <stdbool.h>
#include <stddef.h>
#include "ata.h"
#include "cmos.h"
#include "date.h"
#include "debug.h"
#include "memory.h"
#include "keyboard.h"
#include "interrupts.h"
#include "hardware.h"
#include "floppy.h"
#include "terminal.h"
#include "timer.h"
#include "graphics.h"
#include "ou... |
/*
* Mesa 3-D graphics library
*
* Copyright (C) 1999-2008 <NAME> 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 limit... |
/* du -- summarize disk usage
Copyright (C) 1988-1991, 1995-2003 Free Software Foundation, 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, or (at your option)
an... |
#include "touch.h"
#include "lcd.h"
#include "delay.h"
#include "stdlib.h"
#include "math.h"
#include "24cxx.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//ALIENTEK STM32开发板
//触摸屏驱动(支持ADS7843/7846/UH7843/7846/XPT2046/TSC2046/OTT2001A/GT9147/FT5206等)... |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2012 <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 option) ... |
/**
* BNCSutil
* Battle.Net Utility Library
*
* Copyright (C) 2004-2006 <NAME>
*
* New Logon System (SRP) Implementation
* February 13, 2005
*
* 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 ... |
#include <stdlib.h>
#include <limits.h>
#include <math.h>
#include <memory.h>
#include <matutls/ccmath.h>
#include "lapwrap.h"
/*#include <mex.h> */
#include "../matutls/matutl.h"
#include "Htools.h"
#include "rtools.h"
#include "utools.h"
#include "ranH.h"
#include "ranH2el.h"
Score ransacH2el (double *u10, int l... |
/***********************************************************************/
/* */
/* The Cryptokit library */
/* */
/* <NAME>, <N... |
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <fft/kiss_fftr.h>
#include <arcan_shmif.h>
#include "graphing/net_graph.h"
#include "frameserver.h"
#define AUD_VIS_HRES 2048
#define AUD_SYNC_THRESH 4096
#include <libavcodec/avcodec.... |
/*
* Copyright (c) 2011-2018, <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 conditi... |
/*
* Copyright (c) 2002 <NAME> (<EMAIL>)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form 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)
* ... |
/*
Z-HUNT-2 computer program, Sept.19, 1990
*/
/*
serialized i/o to allow to run against large datasets
Updated i/o permissions to match posix. campt 1/10/2000
*/
/*
Turbo C compiler Ver. 1.5
Compact model, 8086/80286 instruction set, math emulator/8087/80287
Speed option, unsigned char
Run on IBM PC XT/AT or compati... |
//
//
// ////////////////////////////////////////////////////////////////////////////////////
// ///////// ///////////
// ////// SSS PPPP I N N DDDD U U M M PPPP //////
// // S P P I NN N D... |
/*
* Copyright (c) 2009-2012, 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,
* ... |
/***************************************************************************
* Copyright (C) 2013 by <NAME> *
* <NAME> <<EMAIL>> *
* *
* This program is free software; you c... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "datapack.h"
#include "pak.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include <errno.h>
#include <ctype.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef ... |
/* hgGene - A CGI script to display the gene details page.. */
#include "common.h"
#include "hCommon.h"
#include "linefile.h"
#include "hash.h"
#include "dystring.h"
#include "jksql.h"
#include "cheapcgi.h"
#include "htmshell.h"
#include "cart.h"
#include "hui.h"
#include "dbDb.h"
#include "hdb.h"
#include "web.h"
#inc... |
/*******************************************************************************
*
* Font metric data for New Century Schoolbook Bold
*
* Copyright 2001 <NAME>
*
*
* See dlls/wineps/data/COPYRIGHTS for font copyright information.
*
*/
#include "psdrv.h"
#include "data/agl.h"
/*
* Glyph metrics
*/
static... |
/*
NASA/TRMM, Code 910.1.
This is the TRMM Office Radar Software Library.
Copyright (C) 1996, 1997
<NAME>
Space Applications Corporation
Vienna, Virginia
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library Ge... |
/*
htop - Process.c
(C) 2004-2015 <NAME>
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
#include "Process.h"
#include "Settings.h"
#include "CRT.h"
#include "StringUtils.h"
#include "RichString.h"
#include "Platform.h"
#include <stdio.h>
#include <sys/time.h>
#inclu... |
/***
**
** Module: CharStr
**
** Description:
** This is a module of the T1 to TT font converter. The module
** contain one function that interprets the commands in a T1
** CharString and builds a representation of the glyph for the
** it.
**
** Author: <NAME>
**
** Created: ... |
// Copyright 2018 Espressif Systems (Shanghai) PTE 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 applic... |
/*
MIT License
Copyright (c) 2021 <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, distr... |
#include "symtab.h"
#include "gencode.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int depth;
int label_num;
void print(char *instr) { fprintf(stdout, "\t%s\n", instr); }
void genHeader(char *fname) { fprintf(stdout, ".class public %s\n.super java/lang/Object\n", fname); }
int getArraySize(struct Arr... |
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <ctype.h>
#define MAXSTR 51200
#define FASTALEN 70
#define MAXSEQLEN 250000
#define MINLEN 8
typedef enum {
INDEL,
SUB,
NO_CHANGE,
} Mut;
typedef enum {
PLUS,
MINUS,
UNKNOWN,
} Strand;
typedef enum {
DEF... |
/* Unix socket support.
*
* Author: <NAME> (<EMAIL>)
*
* Last edited: Mon Feb 2 17:02:20 1998 by piumarta (<NAME>) on fricotin
*
* Notes:
*
* 1. UDP support is fully implemented here, but is missing in the
* image.
*
* 2. Sockets are completely asynchronous, but the resolver is still
* synchronous.
*
*... |
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include "libp2p/os/utils.h"
#include "libp2p/net/p2pnet.h"
#include "libp2p/net/connectionstream.h"
#include "libp2p/record/message.h"
#include "libp2... |
/*------------------------------------------------------------
* JumboMem memory server: Functions that override existing
* (e.g., libc) functions
*
* By <NAME> <<EMAIL>>
*------------------------------------------------------------*/
/*
* Copyright (C) 2010 Los Alamos National Security, LLC
*
* This material ... |
/* +-------------------------------------------------------------------+ */
/* | Copyright 1990 - 1994, <NAME>. (<EMAIL>) | */
/* | Permission to use, copy, modify, and distribute this software | */
/* | and its documentation for any purpose and without fee is hereby | */
/* | granted, provided that th... |
#include "grid_model.h"
#include "defs.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
//#define NDEBUG
#include <assert.h>
#include "dSFMT/dSFMT.h"
/* This is the state object from the dSFMT random number generator */
dsfmt_t rng_state;
void init_fg(int nthreads, long rng_seed) {
... |
#include "tesi.h"
// tesInterpreter
/*
Interprets TESI escape sequences.
See terminfo definition
*/
#define DEBUG 1
#define DEBUG_SEQ_ACTIONS 1
/*
handleInput
- reads data from file descriptor into buffer
-
interpretSequence
- once sequence has been completely read from buffer, it's passed here
- it is interpret... |
/*
* http_client.c
*
* Created on: 2019.02.03
* Author: zhaohuijiang
*/
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
// #include "freertos/event_groups.h"
#include "freertos/ringbuf.h"
#include "esp_log.h"
#include "esp_syste... |
/*
Copyright 2016 Vanderbilt University
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... |
// All register info is straight from the Linux source (drivers/media/usb/em28xx/em28xx-reg.h)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define URB_ISOC 0
#define URB_INTR 1
#define URB_CTRL 2
#define URB_BULK 3
#define SET_INTERFACE 0xb
typedef unsigned char u8;
typedef unsigned short u16;
typede... |
/************************************************************************/
/* Acorn Computers Ltd, 1992. */
/* */
/* This file forms part of an unsupported source release of RISC_OSLib. */
/* ... |
/*
** Copyright 2007-2018 RTE
** Author: <NAME>
**
** This file is part of Sirius_Solver.
** This program and the accompanying materials are made available under the
** terms of the Eclipse Public License 2.0 which is available at
** http://www.eclipse.org/legal/epl-2.0.
**
** This Source Code may also be made availabl... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdarg.h>
#include <netinet/in.h>
#include <search.h>
#include <pcap.h>
#include <signal.h>
#include "ndpi_main.h"
// cli options
static char *_pcap_file = NULL;
static char *_bpf_filter = NULL;
static char *_protoFilePath = NU... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2003-2015 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; ... |
/*
* July 5, 1991
* Copyright 1991 <NAME> And Sundry Contributors
* This source code is freely redistributable and may be used for
* any purpose. This copyright notice must be maintained.
* Lance Norskog And Sundry Contributors are not responsible for
* the consequences of using this software.
*/
/*
* Sound... |
/*
============================================================================
Name : clevo-indicator.c
Author : AqD <<EMAIL>>
Version :
Description : Ubuntu fan control indicator for Clevo laptops
Based on http://www.association-apml.fr/upload/fanctrl.c by <NAME>
(<EMAIL>)
==================... |
/*
* usb_midi.c
*
* Created on: Jan 31, 2020
* Author: <NAME>, <EMAIL>, Tucson, Arizona
* (c) 2021, please credit and copy me on use in your project!
*
* MOD HISTORY.
* 2020-02-25 andy. We can combine all of the config descriptor parts into one big lump.
* This means the Audio Control and the MIDI S... |
/* Summarizing results of a benchmark by plotting a ROC-like plot,
* including confidence intervals derived by Bayesian bootstrapping.
*
* The <.out file> from a profmark benchmark consists of lines:
* <E-value> <bitscore> <target_sequence> <query_model>
* Target sequence names are either
* decoy\d+ ... |
/* r11 = m_counter, r12 = size_of_k_elements, r13 = kk, r14 = b_head, r15 = a_head */
/* register i/o: %0 = a_ptr, %1 = b_ptr, %2 = c_ptr, %3 = c_tmp, %4 = ldc, %5 = k_counter */
/* memory input: %6 = K, %7 = offset, %8 = {1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0}, %9 = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}, %10 = M */
#define in... |
/***** ltl2ba : buchi.c *****/
/* Written by <NAME>, LIAFA, France */
/* Copyright (c) 2001 <NAME> */
/* */
/* This program is free software; you can redistribute it and/or modi... |
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, in1, gyro, sensorGyro)
#pragma config(Sensor, dgtl12, led, sensorLEDtoVCC)
#pragma config(Sensor, I2C_1, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_2, , sensorQuadEnco... |
#include "cnovrtcc.h"
#include <jsmn.h>
#include "../lib/tinycc/libtcc.h"
#include <cnovrtccinterface.h>
#include <cnovrutil.h>
#include <os_generic.h>
#include <stdint.h>
#include "../cntools/tccengine/tcccrash.h"
#include <cnovr.h>
#include <string.h>
#include <stdio.h>
#include <stretchy_buffer.h>
void CNOVRStopTCC... |
/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.0.0
* svn version: exported
* Options: --check-global -s 1954
* Seed: 1954
*/
#include "random_runtime.h"
long __undefined;
/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
volatile uint16_t g_4 = 0x6158L;/* VOLA... |
/*
** kghelpers.h
** Helper macros and functions for the ground environment
** See Copyright Notice in klisp.h
*/
#ifndef kghelpers_h
#define kghelpers_h
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include "kstate.h"
#include "kobject.h"
#include "klisp.h"
#in... |
/* --------------------------------------------------------------- */
/* The HMM-Based Speech Synthesis System (HTS): version 1.1b */
/* HTS Working Group */
/* */
/* Department ... |
/************************************************************************************
Filename : sequence.c
Content : LED sequence driving
Created :
Authors : <NAME>
Copyright : Copyright (c) 2013-present, Facebook, Inc.
All rights reserved.
This source code is licensed under... |
/* Copyright © Los Alamos National Security, LLC, and others. */
#define _GNU_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <libgen.h>
#include <pwd.h>
#include <sched.h>
#include <semaphore.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
... |
/* Copyright 2019 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.
*/
/**
* ISH aontask is a seprated very small program from main FW, not like main FW
* resides in main SRAM, aontask resides in a small AON memory (... |
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* This notice applies to any and all portions of this file
* that are not betwee... |
#include "col.h"
const Color colors[2][2][12] =
{
{ // normal
{ // normal
{ 0xaa, 0xaa, 0xaa, 0xff }, // COL_DEF
{ 0x00, 0x00, 0x00, 0xff }, // COL_BLACK
{ 0xcc, 0x33, 0x33, 0xff }, // COL_RED
{ 0x33, 0xcc, 0x33, 0xff }, // COL_GREEN
{ 0xcc, 0... |
/**************************************************************************
*
* Copyright 2003 <NAME>, Inc., <NAME>, Texas.
* 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 i... |
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
#define NOT_FOUND -1
#define COMMENT_DELIMITER "!!"
#define WEIGHT_DELIMITER '/'
#define MINIMAL_SCORING_FLAG "-m"
#define VERBOSITY_FLAG "-v"
#define GRANULARITY_FLAG "-g"
#define COARSE_GR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.