text stringlengths 5.8k 28.2k |
|---|
#include "pmtr.h"
#include "job.h"
#include "net.h"
pmtr_t cfg = {
.logger_fd = -1,
};
void usage(char *prog) {
fprintf(stderr, "usage: %s [options]\n\n", prog);
fprintf(stderr, " options:\n");
fprintf(stderr, " -v (verbose)\n");
fprintf(stderr, " -c <file> (config file)\n");
fprintf(std... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include "bigen.h"
#include "../generator/gen.h"
/* Code Cache Prototype:
void cc(char **rIP, int32_t *rA, int32_t *rL) {
// [prolog]
char *IP=*rIP; int A=*rA; int L=*rL;
// [CLRA]
A = 0; IP += 1;
// [INC3A]
A += ... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - <NAME>
* Copyright (C) 2014-2017 - <NAME>
* Copyright (C) 2016-2017 - <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 Foun... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the ADLINK Software License Agreement Rev 2.7 2nd October
* 2014 (the "License... |
/*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version... |
/// @file sha256.c
///
/// FIPS-180-2 compliant SHA-256 implementation
/// GPL by <NAME>, applies to older version.
/// Modified for md5deep, in public domain.
/// Modified For Vim, <NAME>, http://www.cs.albany.edu/~mosh
/// <NAME> states this work is distributed under the VIM License or GPL,
/// at your choice.
///
//... |
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <curl/curl.h>
#include <jansson.h>
#include <sqlite3.h>
#include <mhash.h>
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
#include "log.h"
#include "notams.h"
typedef struct __DateTime
{
int year, month, d... |
#include "htslib/sam.h"
#include "htslib/faidx.h"
#include "htslib/kstring.h"
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <assert.h>
#include <limits.h>
#include <pthread.h>
#include "MethylDackel.h"
void print_version(void);
void addRead(kstring_t *os... |
/*
* Copyright 2014 Advanced Micro Devices, Inc.
*
* 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, m... |
/* tc-ia64.h -- Header file for tc-ia64.c.
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008,
2009, 2010 Free Software Foundation, Inc.
Contributed by <NAME> <<EMAIL>>
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it unde... |
/*
* Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
* 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 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it woul... |
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*******************... |
/* zbesi.f -- translated by f2c (version 20190311).
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 end of ... |
var imgui_begin_popup_modals(char *name);
var imgui_begin_popup_modals_params(char *name, void *p_open, long flags);
void imgui_close_current_popup();
var imgui_begin_popup(char *label, long flags);
void imgui_end_popup();
var imgui_begin_popup_context_item(char *label);
void imgui_open_popup(char *str_id);
VECTOR *img... |
/*
* 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... |
/* */
/* INCLUDE FILES NEEDED FOR ROUTINES */
/* */
#include <math.h> /* Standard math library include */
#include <stdio.h> /* Standard C I/O Include File */
#include <stdlib.h> /* C Memory Management Include File */
#include <string.h>
#include <time.h>
#include "mp_routines.h"
#include <ctyp... |
/*
Copyright 2010, Volca
Licenced under Academic Free License version 3.0
Review OpenUsbLd README & LICENSE files for further details.
*/
#include <stdio.h>
#include <kernel.h>
#include "include/renderman.h"
#include "include/ioman.h"
#include "include/opl.h"
// Allocateable space in vram, as indicated in GsKi... |
/*
* (C) Copyright 2002
* MAZeT GmbH <www.mazet.de>
* <NAME> <<EMAIL>>, <<EMAIL>>
*
* The most stuff comes from PPCBoot and Linux.
*
* IMMS gGmbH <www.imms.de>
* <NAME> <<EMAIL>>
*
* Modifications for ModNET50 Board
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This progr... |
/*
* Copyright 2015, International Business Machines
*
* 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 applica... |
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This progra... |
/* Copyright (c) 2001-2004, <NAME>.
* Copyright (c) 2004-2006, <NAME>, <NAME>.
* Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/*
* Tests for confmgt.c's features that support multiple configuration
* formats and configuration objects.
*/
#define CONFMGT_PRIVATE
#i... |
#include <stdint.h>
#include <math.h>
#include <string.h>
#include "gb.h"
#undef max
#define max(a,b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a > _b ? _a : _b; })
#undef min
#define min(a,b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })
#define APU_FREQUENCY 0x8... |
/*
* Copyright (c) 2004, 2005, <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... |
/** @file cchannel.c
* BRL-CAD
*
* Copyright (c) 2013-2014 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 published by the Free... |
#include "first.h"
#include "base.h"
#include "keyvalue.h"
#include "log.h"
#include "buffer.h"
#include "burl.h"
#include "plugin.h"
#include "stat_cache.h"
#include <stdlib.h>
#include <string.h>
typedef struct {
pcre_keyvalue_buffer *rewrite;
pcre_keyvalue_buffer *rewrite_NF;
} plugin_config;
enum { REW... |
//* Brother CUPS wrapper tool
//* Copyright (C) 2005-2012 Brother. Industries, Ltd.//*
//* Ver1.00
//*
//* 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; ... |
/*************************************************************************/
/* */
/* Language Technologies Institute */
/* Carnegie Mellon University */
/* ... |
#ifndef lint
static const char RCSid[] = "$Id: interp2d.c,v 2.13 2013/02/16 00:41:12 greg Exp $";
#endif
/*
* General interpolation method for unstructured values on 2-D plane.
*
* <NAME> 2013
*/
#include "copyright.h"
/***************************************************************
* This is a general method fo... |
/*
** Implementation of LISA algorithm
** for statistical inference of fMRI images
**
** 1st level analysis using GLM (general linear model) with pre-coloring
**
** G.Lohmann, April 2017
*/
#include "viaio/Vlib.h"
#include "viaio/file.h"
#include "viaio/mu.h"
#include "viaio/option.h"
#include "viaio/os.h"
#include <vi... |
#ifndef lint
static const char RCSid[] = "$Id: rv3.c,v 2.43 2020/01/23 19:20:54 greg Exp $";
#endif
/*
* rv3.c - miscellaneous routines for rview.
*
* External symbols declared in rpaint.h
*/
#include "copyright.h"
#include <string.h>
#include "ray.h"
#include "rpaint.h"
#include "otypes.h"
#include "otspe... |
/* functions that have CODE for new CRISP caller using genotype likelihood approach (EM based) */
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
#include "crispcaller.h"
#include "../FET/contables.h"
#include "../FET/chisquare.h"
#include "allelecounts.h"
//#define MLMETHOD... |
/*-
* Copyright (c) 1997, 1998, 1999
* <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, t... |
/* safeexec (safe execution environment)
*
* Idea:
* we use stdin and stdout to passing and receiving information to
* the program we are about to execute, and report statistics on
* FILE *redirect
*/
#include <errno.h>
#include <ctype.h>
#include <sys/select.h>
#include <signal.h>
#include <time.h>
#inclu... |
/* packet-btsmp.c
* Routines for Bluetooth Security Manager Protocol dissection
*
* Copyright 2012, <NAME> <<EMAIL>>
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* This program... |
/*******************************************************************************/
/* aln2wig: converts psl and shrimp files to wig format */
/* see http://genome.ucsc.edu/goldenPath/help/customTrack.html#PSL */
/* and http://genome.ucsc.edu/goldenPath/help/wiggle.html fo... |
/* $Xorg: Varargs.c,v 1.4 2001/02/09 02:03:59 xorgcvs Exp $ */
/*
Copyright 1985, 1986, 1987, 1988, 1989, 1994, 1998 The Open Group
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... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
#include <math.h>
#include <string.h>
#include <stdbool.h>
#include <assert.h>
#include <omp.h>
#define MAX_BRIGHTNESS 255
// C99 doesn't define M_PI (GNU-C99 does)
// #define M_PI 3.14159265358979323846264338327
/*
* Loading part taken f... |
#include <ctype.h> // isdigit()
#include <elf.h> // EI_NIDENT, Elf64_Ehdr, Elf64_Shdr, ELFMAG, SHN_UNDEF,
#include <inttypes.h> // intN_t, PRIuN, uintN_t
#include <math.h> // floor()
#include <sys/stat.h> // chmod()
#include <stdio.h> // fp, fclose(), fopen(), fprintf(), fread(), fseek(),
... |
/*
kjv: Read the Word of God from your terminal
License: Public domain
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#include <signal.h>
#include <readline/readline.h>
#include <readline/history.h>
#include <regex.h>
#include <sys/types.h>
#... |
/******************************************************************************
* Universal Analytics for C
* Copyright (c) 2013, Analytics Pros
*
* This project is free software, distributed under the BSD license.
* Analytics Pros offers consulting and integration services if your firm needs
* assistance in strate... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 <NAME>
*
* 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 ... |
/* Copyright Massachusetts Institute of Technology 1985 */
#include "copyright.h"
/*
Copyright (C) 2001-2019 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, eit... |
/**
******************************************************************************
* @file usb_desc.c
* @author MCD Application Team
* @version V4.1.0
* @date 26-May-2017
* @brief Descriptors for Virtual Com Port Demo
******************************************************************************
... |
#include "sst.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
void attakreport(void) {
if (future[FCDBAS] < 1e30) {
proutn("Starbase in ");
cramlc(1, batx, baty);
prout(" is currently under attack.");
proutn("It can hold out until Stardate ");
cramf(future[FCDBAS], 0,1);
prout("."... |
// The Computer Language Benchmarks Game
// http://benchmarksgame.alioth.debian.org/
//
// Contributed by <NAME>
// This controls the initial size used for the hash tables. This needs to be a
// power of two because a mask is also calculated from this by using
// INITIAL_HASH_TABLE_SIZE-1.
#define INITIAL_HASH_TABLE_S... |
#include "lpsend.h"
// Configuration entries.
static long hold_time_msec = HOLD_TIME_MSEC_DEFAULT;
static long drain_time_msec = DRAIN_TIME_MSEC_DEFAULT;
static long write_stall_limit_msec = WRITE_STALL_LIMIT_MSEC_DEFAULT;
static long read_stall_limit_msec = READ_STALL_LIMIT_MSEC_DEFAULT;
static long readback_wait_mse... |
/*
* GStreamer
* 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 License, or (at your option) any later versi... |
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
static void imagereclaim(void);
static void imagechanreclaim(void);
#include "io.h"
/*
* Attachable segment types
*/
static Physseg physseg[10] = {
{ SG_SHARED, "shared", 0, SEGMAXSIZE, 0, 0 },
... |
/* zxlibenc.c - XML encoder
* Copyright (c) 2010-2011 <NAME> (<EMAIL>), All Rights Reserved.
* Copyright (c) 2006-2009 Symlabs (<EMAIL>), All Rights Reserved.
* Author: <NAME> (<EMAIL>)
* This is confidential unpublished proprietary source code of the author.
* NO WARRANTY, not even implied warranties. Contains ... |
#include "MSPd.h"
static t_class *sarec_class;
#define MAXBEATS (256)
#define OBJECT_NAME "sarec~"
#define SAREC_RECORD 1
#define SAREC_OVERDUB 2
#define SAREC_PUNCH 3
#define SAREC_LOCK 4
#define WAVEFORM_UPDATE (22050)
typedef struct _sarec
{
t_object x_obj;
t_float x_f;
long b_valid;
long b_frames... |
/* ----------------------------------------------------------------------------
* SAM Software Package License
* ----------------------------------------------------------------------------
* Copyright (c) 2012, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source and binary fo... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "constants.h"
#include "structures.h"
#include "prototypes.h"
void Process_Data() /* Central Function Calling Routine */
{
extern struct Info *VAR;
extern struct Myosin *MY;
extern struct C_Protein *CP;
extern struct Titin *TT;
extern struct B... |
/*
* Parts of this program has been derived from mrouted. It is covered
* by the license in the accompanying file named "LICENSE".
*/
#include "defs.h"
#define PIM_QUERY 0
#define PIM_REGISTER 1
#define PIM_REGISTER_STOP 2
#define PIM_JOIN_PRUNE 3
#define PIM_RP_REACHABLE 4
#define PIM_... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
*
@verbatim
==============================================================================
##### IMPORTANT NOTE... |
/**
******************************************************************************
* @file STLINK-V3MINI_BSP.c
* @author RadioOperator
* @brief STLINK-V3MINI Board Support Package
* for STM32F723 Bootloader only
* @version V1.0
* @date 2020-07-17
***************************************... |
/*
Program: Spectrogram display routines
Author: <NAME>
Version: 10/4/94
*/
#include "display.h"
#include "lang.h"
#include "parallel.h"
#include <exec/ports.h>
#include <exec/memory.h>
void display_PROCESS(void);
bool display_ABORT;
/* power spectrum (last values) */
typedef struct POWER {
bool active,changed... |
/* Copyright 2017, <NAME> - Facet UNT, Fi UNER
* Copyright 2014, 2015 <NAME>
* Copyright 2014, <NAME>
* Copyright 2014, <NAME>
* Copyright 2014, <NAME>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
/*
* 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 <ncurses.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#define SNAKE_DELAY_MAX 100000
#define SNAKE_DELAY_MIN 40000
#define SNAKE_GETCH_TIMEOUT 0.1
#define SNAKE_MAX_LENGTH 100
#define SNAKE_END_SCORE 10
#define SNAKE_MAX_LOGO_LEN 128
char *snake_menu[] = {
... |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not betwe... |
/******************************************************************************
* File Name: main.c
*
* Description: This is the source code for the XMC MCU: SPI DMA Example for
* ModusToolbox. This example demonstrates SPI transfer using DMA.
*
* Related Document: See README.md
*
**************... |
/*
* Copyright (c) 2018-2020 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2020 <NAME>. All rights reserved.
* Copyright (c) 2020 Cisco Systems, Inc. All rights reserved.
* $COPY... |
/** @file slic.c
** @brief SLIC superpixels - Definition
** @author <NAME>
**/
/*
Copyright (C) 2007-12 <NAME> and <NAME>.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/
/**
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... |
#include "game.h"
/*
BOMB PART
*/
void InitBombs(BOMBS bombs[5],ALLEGRO_BITMAP* bombSprite,ALLEGRO_BITMAP* expSprite, bool first){
int i = 0;
while(i<5){
bombs[i].isLive = bombs[i].explosion.isLive = false;
bombs[i].maxTime = MAX_TIME;
bombs[i].currTime = 0;
bombs[i].radius = bombs[i].explosion.r... |
#include <SDL2/SDL.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
typedef struct
{
float x;
float y;
}
Point;
typedef struct
{
int tile;
Point where;
}
Hit;
typedef struct
{
Point a;
Point b;
}
Line;
typedef struct
{
SDL_Window* window;
SDL_Renderer* renderer;
SDL_T... |
/*
* Copyright (C) 2020-2021 <NAME>, VK3KYY / G4KYF
*
*
* 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 ... |
/**
******************************************************************************
* @file usart.c
* @brief This file provides code for the configuration
* of the USART instances.
******************************************************************************
* @attention
*
* <h2><center>&c... |
/*
* This code contains changes by
* <NAME>, Freiburg i. Br., Germany, 2002. All rights reserved.
*
* Conditions 1, 2, and 4 and the no-warranty notice below apply
* to these changes.
*
*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution ... |
#include <mm/pmm.h>
#include <debug_utils/printf.h>
bool pushAllPMM(free_mem_t m, bool merge);
free_mem_t popAllPMM();
bool defrag = false;
/**
* Get and anylize the GRUB memory map to count the RAM size.
*
* @param mbt The physical address of GRUB's multiboot structure
* @return RAM Size in KiB.
*/
uint32_t f... |
#include "../include/myfs.h"
#include "../include/ata.h"
#include "../include/malloc.h"
/*
first sector | N sectors | last sectors
empty secotr | saved files | file table
saved files:
first file sector:
size of the data segment (3 bytes)
address of the next data segment (3 bytes)
last sector size (2 bytes) (on... |
/*
* Copyright © 2007 <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... |
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... |
/*
Copyright 2010-2013 SourceGear, LLC
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, softwar... |
/*
* ndpi_community_id.c
*
* Copyright (C) 2011-20 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Pu... |
/*
*
***** 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... |
/*
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013 Semtech
Description: Ping-Pong implementation
License: Revised BSD License, see LICEN... |
/*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2000-2011 Free Software Foundation Europe e.V.
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
License as published by the Free Software Foundation... |
/**
* Copyright (c) 2017 emekoi
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the MIT license. See LICENSE for details.
*/
/*===========================================================================
* IO funcs
*=============================================... |
#include "MSPd.h"
#include "fftease.h"
#if MSP
void *cavoc_class;
#endif
#if PD
static t_class *cavoc_class;
#endif
#define OBJECT_NAME "cavoc~"
typedef struct _cavoc
{
#if MSP
t_pxobject x_obj;
#endif
#if PD
t_object x_obj;
float x_f;
#endif
int R;
int N;
int N2;
int Nw;
... |
/*
* vtsh - A mashup of virtual terminal and shell
* Copyright (c) 2021, <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* ... |
#include <stdlib.h>
#include "shotgun/lib/shotgun.h"
#include "shotgun/lib/cpu.h"
#include "shotgun/lib/machine.h"
#include "shotgun/lib/tuple.h"
#include "shotgun/lib/methctx.h"
#include "shotgun/lib/object.h"
#include "shotgun/lib/bytearray.h"
#include "shotgun/lib/string.h"
#include "shotgun/lib/module.h"
#include ... |
/* main.c - Application main entry point
*
* Copyright (c) 2019 Laird Connectivity
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
#define LOG_LEVEL LOG_LEVEL_DBG
LOG_MODULE_REGISTER(oob_main);
#include <stdio.h>
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
#include <zephy... |
/*
* pkt.c
* ptunnel is licensed under the BSD license:
*
* Copyright (c) 2004-2011, <NAME> <<EMAIL>>,
* Yellow Lemon Software. All rights reserved.
*
* Copyright (c) 2017-2019, <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... |
#include <lapacke.h>
#include <mpi.h>
#include <stdio.h>
#include "../include/paralleltt.h"
#include <unistd.h>
// X is r1 x n x r2, transpose is r2 x n x r1
double* train_transpose(const double* X, int r1, int n, int r2){
double* X_T = (double*) calloc(r1*n*r2, sizeof(double));
for (int ii = 0; ii < r1; +... |
/*********************************************************************
* openNetVM
* https://sdnfv.github.io
*
* BSD LICENSE
*
* Copyright(c)
* 2015-2019 George Washington University
* 2015-2019 University of California Riverside
* 2010-2019... |
/*------------------------------------------------------------------------------
Copyright (c) 2008 The Khronos Group Inc.
All Rights Reserved. This code is protected by copyright laws and contains
material proprietary to the Khronos Group, Inc. This is UNPUBLISHED
PROPRIETARY SOURCE CODE that may not be disclosed i... |
/* Author: <NAME> <<EMAIL>>
* Date : May 2009
*
* Copyright 2010 Howard Hughes Medical Institute.
* All rights reserved.
* Use is subject to Janelia Farm Research Campus Software Copyright 1.1
* license terms (http://license.janelia.org/license/jfrc_copyright_1_1.html).
*/
#include "compat.h"
#include <assert.... |
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* This file is part of ToaruOS and is released under the terms
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2013-2015 <NAME>
*
* Wallpaper renderer.
*
*/
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include <math.h>
#in... |
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<windows.h>
#include<conio.h>
#include<time.h>
// ASCII ART FOR minesweeper_LOGO
const char minesweeper_LOGO[10][100] = {
" ___ ___ ____ ____ ___ _____ __ __ ___ ___ ____ ___ ____",
"| | || || \\ / _]/ ___/| |__| | /... |
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <rrd.h>
#include <gmetad.h>
#include <errno.h>
#include <pthread.h>
#include <time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb... |
/*
* Copyright (C) 2020 <NAME> <<EMAIL>>.
*
*/
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <esp_log.h>
#include <driver/gpio.h>
#include <freertos/queue.h>
#include <esp_err.h>
#include <driver/gpio.h>
#include <string.h>
#include "clrc663.h"
static const char* TAG = "heimdall-iso14443";
... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <assert.h>
#include <memory.h>
typedef struct vec2
{
int x;
int y;
} vec2;
typedef struct Row
{
int *values;
} Row;
typedef struct Matrix
{
Row *rows;
vec2 size;
} Matrix;
typedef s... |
// feed.c-- operations on series of nucleotide sequences.
#include <stdlib.h>
#define true 1
#define false 0
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "seq_ops.h"
#include "utilities.h"
#define feed_owner // (make this the owner of its globals)
#include "feed.h" // interface to this... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include "data.h"
int fitness[POP_SIZE]; //Keeps track of the fitness of each chromosome
int port; //Used ... |
/* stelab.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__3 = 3;
/* $Procedure STELAB ( Stellar Aberration ) */
/* Subroutine */ int stelab_(doublereal *pob... |
/*-
* Copyright (c) 2012 The FreeBSD Foundation
* All rights reserved.
*
* This software was developed by <NAME> under sponsorship
* from the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
/**
* \file edio24sim.c
* \brief a E-DIO24 device simulator
* \author <NAME> <<EMAIL>>
* \version 1.0
*/
#define EDIO24SIM_MAIN 1
#define EDIO24SIM_MINOR 0
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h> // STDERR_FILENO
#include <libgen.h> // basename()
#include <string.h> // memmove
#include ... |
#include "ml_debugger.h"
#include "ml_runtime.h"
#include "ml_compiler.h"
#include "ml_macros.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#undef ML_CATEGORY
#define ML_CATEGORY "debugger"
typedef struct interactive_debugger_info_t interactive_debugger_info_t;
struct interactive_debugger_info_t {
v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.