text stringlengths 5.8k 28.2k |
|---|
/* normal.c
*
* Copyright (C) 2015, 2016 <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 3 of the License, or (at
* your option) any later version.
*
* This p... |
/*
Dapper Miser: lightweight CMSIS-DAP implementation
Copyright (C) 2013-2018 <NAME>.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... |
/* $VER: vbcc (cse.c) V0.8 */
/* verfuegbare Ausdruecke und common subexpression elimination */
#include "opt.h"
static char FILE_[]=__FILE__;
/* fuer verfuegbare Ausdruecke */
struct IC **elist;
unsigned int ecount;
size_t esize;
bvtype *ae_globals,*ae_statics,*ae_address,*ae_drefs;
bvtype **ae_kills;
stati... |
#include <stddef.h>
#include "st7789.h"
#include "stm32f1xx_hal.h"
#define DMA_BUFFER_SIZE 64U
#define ST7789CMD_NOP 0x00U
#define ST7789CMD_SWRESET 0x01U
#define ST7789CMD_RDDID 0x04U
#define ST7789CMD_RDDST 0x09U
#define ST7789CMD_RDDPM 0x0aU
#define ST7... |
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_log.h"
#include "driver/uart.h"
#include "string.h"
#include "driver/gpio.h"
#include "driver/adc.h"
#include "HUGS.h"
#include "hugsIO.h"
static const char *TAG = "hugs";
static const bool verbose = true;
static const bo... |
#include <string.h>
#include <stdio.h>
// Говорим SDL, что не нужно переписывать main
#define SDL_MAIN_HANDLED
#include <SDL.h>
#include "main.h"
#ifdef USE_SDL_IMAGE
#include <SDL_image.h>
#endif
int windowWidth = 0, windowHeight = 0;
static SDL_Surface *ReencodeSurface(SDL_Surface *old) {
SDL_Surface *new = old;
... |
/*
*
Copyright 1989, 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 in all copies and that both that
copyright notice and this permission notice appear in sup... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
#include "dbg.h"
#include "type.h"
#include "lib.h"
#include "drivers/fs/dinode.h"
#include "drivers/fs/directory.h"
#include "drivers/fs/fs_lib.h"
/*
# Parse a path (TODO: support relative path, currently only full path is supported)
* path : full file path
* mode : file open mode
* ptr_descript... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/*
*/
/*******************************************************************... |
/* config.h. Generated by configure. */
/* config.hin. Generated from configure.ac by autoheader. */
/* $FreeBSD$ */
/* Define to 1 if the `closedir' function returns void instead of `int'. */
/* #undef CLOSEDIR_VOID */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This fu... |
/*
* Copyright (c) 2021 <NAME>
*
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL... |
// string library
// - rlyeh, public domain
#ifndef STRING_H
#define STRING_H
// temporary strings api (stack)
#define strtmp(fmt, ...) va(fmt, __VA_ARGS__)
// allocated strings api (heap)
#define strnew(fmt, ...) STRDUP(va(fmt,__VA_ARGS__))
#define strdel(s) ((is_va(s) ? (void)0 : REALLOC((s), 0)), (s)=0)... |
/*
* 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 (c) 2018, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <context_mgmt.h>
#include <common/debug.h>
#include <errno.h>
#include <platform.h>
#include <smccc.h>
#include <smccc_helpers.h>
#include <spci_alpha2.h>
#include <spinlock.h>
#incl... |
#include "driver/i2c.h"
#include "esp_err.h"
#include "buses.h"
#include "error.h"
#include "ext_gpio.h"
#define EXT_GPIO_INITIAL_PORT_A 0xff // Set all to ON since the relays are active-low.
#define EXT_GPIO_INITIAL_PORT_B 0x00 // Set all to OFF.
#define EXT_GPIO_INITIAL_IODIRA 0x00 // Set all as OUTPUTS.
#defin... |
#include "config.h"
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "bn.h"
#include "chain.h"
#include "constants.h"
#include "error.h"
#include "header.h"
#include "map.h"
#include "msg.h"
#include "timedata.h"
#incl... |
// 16 integer registers:
// 0 1 2 (0: not saved, 1: callee saves, 2: caller saves)
// 0 rax result x
// 1 rcx arg 4 x
// 2 rdx arg 3 x
// 3 rbx x
// 4 rsp stack x
// 5 rbp base x
// 6 rsi arg 2 x
// 7 rdi arg 1 x
// 8 r8 arg 5 x
// 9 r9 arg 6 x
// . r10 ... |
/**
* This file is part of Rotatory Inverted Pendulum.
*
* Copyright 2016, 2017 Institute of Parallel and Distributed Systems (IPVS).
*
* 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... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/*
* https.c
*
* Copyright (c) 2011 Duo Security
* All rights reserved, all wrongs reversed.
*/
#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <poll.h>
#include <fcntl.h>
#include <netdb.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <st... |
/*
* Page Frame Allocator
*/
#include "common/include/data.h"
#include "common/include/memory.h"
#include "kernel/include/hal.h"
#include "kernel/include/mem.h"
#define PALLOC_ORDER_BITS 4
#define PALLOC_MAX_ORDER 15
#define PALLOC_MIN_ORDER 0
#define PALLOC_ORDER_COUNT (PALLOC_MAX_ORDER - PALLOC_MIN_ORD... |
/*
* OpenAL Convolution Reverb Example
*
* Copyright (c) 2020 by <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation th... |
/* ksf.c (Kanji Statistics Filter)
* Time-stamp: "2019-01-11 13:21:06 yamagen"
* <NAME> <<EMAIL>>
*
* <NAME> 03-July-1998 <<EMAIL>>
* Pipe redirection
* <NAME> 02-July-1998 <<EMAIL>>
* EUC version. The fraction algorithm is neat.
*
* <NAME> 18-Sep.-1991 <<EMAIL>>... |
/*
*
*/
#include <assert.h>
#include <errno.h>
/* #include <setjmp.h> - included in png.h */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <png.h>
#include "image.h"
#include "log.h"
#include "util.h"
static inline size_t calc_rowbytes(unsigned width, unsigned bpp) {
return... |
/*
* Copyright (c) 2010 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... |
/*
* Copyright [1999-2017] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
*
* 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.o... |
//
// Created by boris on 26.10.2021.
//
#include "mgos_system.h"
#include "mgos_timers.h"
#include "mgos_debug.h"
#include "mgos_gpio.h"
#include "mgos-spi-ade7880.h"
#include "mgos-spi-ade7880-impl.h"
#include "mgos-uns-pa-data.h"
#include "mgos-uns-pa-sizing-algo.h"
#define _PERIOD_MS_ 10
static void ati_spi_ade78... |
/*
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 agr... |
#include <stdlib.h>
#include <openair1/PHY/impl_defs_top.h>
#include "executables/softmodem-common.h"
#include "executables/nr-softmodem-common.h"
#include <forms.h>
#include <openair1/PHY/TOOLS/calibration_scope.h>
#define TPUT_WINDOW_LENGTH 100
#define ScaleZone 4
const FL_COLOR rx_antenna_colors[4] = {FL_RED,FL_BL... |
#include <stdlib.h>
#include <gtk/gtk.h>
#include <epoxy/gl.h>
#include <gthree/gthree.h>
#include "utils.h"
GthreeEffectComposer *composer;
GthreeScene *scene;
GthreeMesh *mesh;
GthreePerspectiveCamera *camera;
GthreeMesh *wire;
GthreeMesh *mesh2;
GthreeScene *scene2;
GthreePerspectiveCamera *camera2;
GthreeMeshBas... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "mpi.h"
#undef DEBUG
#define TOTAL_RUNS 100
#define MAX_RANDOM_NUM (1<<20)
#define MASTER 0
#define EPSILON 1e-9
#include "mmio-wrapper.h"
#include "util.h"
#include "partition.h"
/* Partition policy selection {EQUAL_NZ, EQUAL_R... |
/*
* Program: 09
* Author: <NAME>
* Description: Disjktra Algorithm using heap
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <errno.h>
#include <string.h>
#include <malloc.h>
#include <limits.h>
#define MAX_EDGES 100001
#define MAX_VERTICES 500001
#define LEFT(i) ((i << 1) + 1)
#define R... |
/*******************************************************************/
/* slibtool: a skinny libtool implementation, written in C */
/* Copyright (C) 2016--2021 <NAME> */
/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
/******************************************... |
/*
* Easy to modify to work on any target.
*/
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include "salt.h"
void randombytes(unsigned char *p_bytes, unsigned long long length)
{
(void) p_bytes;
(void) length;
}
static uint8_t client_sk_sec[64] = {
0x55, 0xf4, 0xd1, 0... |
#include "platform.h"
#include <signal.h>
#include <stdlib.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <string.h>
#include <unistd.h>
#include "../ponyrt.h"
#include "../messageq.h"
#include "../scheduler.h"
#include "../actor.h"
#incl... |
/* uFAT -- small flexible VFAT implementation
* Copyright (C) 2012 TracMap Holdings Ltd
*
* Author: <NAME> <<EMAIL>>, www.dlbeer.co.nz
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of... |
/*
* CMUCS AFStools
* dumpscan - routines for scanning and manipulating AFS volume dumps
*
* Copyright (c) 1998, 2001 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
*... |
/*
* Google virtual Ethernet (gve) driver
*
* Copyright (C) 2015-2018 Google, Inc.
*
* 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
* version 2, as published by the Free Software Foundation, and may be c... |
/*$Header: /data/petsun4/data1/src_solaris/crop_4dfp/RCS/crop_4dfp.c,v 1.10 2010/11/12 05:54:27 avi Exp $*/
/*$Log: crop_4dfp.c,v $
* Revision 1.10 2010/11/12 05:54:27 avi
* correct call to errr -> errw in case of write failure
*
* Revision 1.9 2010/10/19 03:51:51 avi
* preseerve mmppix and center in output ... |
// Generated by HLC 4.2.1 (HL v4)
#define HLC_BOOT
#include <hlc.h>
#include <hxd/App.h>
extern hl_type t$h3d_Engine;
void h3d_Engine_new(h3d__Engine);
void hl_types_ArrayObj___expand(hl__types__ArrayObj,int);
void hxd_App_setup(hxd__App);
extern hl_type t$fun_5794eed;
void h3d_Engine_init(h3d__Engine);
#include <h3d/... |
/************************************************************
This file contains the code for the L2 cache. It is a 32KB, 32B,
8 Way set associative with Write Back, Look Through mechanisms,
and LRU Counter as its replacement policy
Given cache line size = 32B = 16 words per cache line
32KB = 16K Words... |
/* eth_pcap_line.c: Ethernet PCAP line
------------------------------------------------------------------------------
Copyright (c) 2014, <NAME>
Portions <NAME>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to... |
/*
* Copyright (c) 2001-2004 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 retain the above copyright not... |
//
// Book: OpenGL(R) ES 2.0 Programming Guide
// Authors: <NAME>, <NAME>, <NAME>
// ISBN-10: 0321502795
// ISBN-13: 9780321502797
// Publisher: Addison-Wesley Professional
// URLs: http://safari.informit.com/9780321563835
// http://www.opengles-book.com
//
// Stencil_Test.c
//
/... |
/*
* This file is part of wl1271
*
* Copyright (C) 2008-2009 Nokia Corporation
*
* Contact: <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This progr... |
// Console input and output.
// Input is from the keyboard or serial port.
// Output is written to the screen and serial port.
#include "console.h"
#include "types.h"
#include "defs.h"
#include "param.h"
#include "traps.h"
#include "spinlock.h"
#include "sleeplock.h"
#include "fs.h"
#include "file.h"
#include "memlayo... |
/*************************************************************************\
* Copyright (C) <NAME>, 2020. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the terms of the ... |
/*! \file bcmltm_md_lta_validate.c
*
* Logical Table Manager - LTA Field Validation.
*
* This file contains implementation to support metadata construction
* for logical tables with Field Validation.
*
* FA Field Validation Cluster
* ---------------------------
*
* The Field Validate cluster (for Keys and Val... |
#include <u.h>
#include <libc.h>
#include "vga.h"
/*
* ATI Mach64. Some hope. Kind of like a Mach32.
* No support for accelerator so can only do up to 1024x768.
*
* All ATI Extended Registers are addressed using the modified index
* index = (0x02<<6)|(index & 0x3F);
* so registers 0x00->0x3F map to 0x80->0xBF, ... |
/* Copyright (c) 2009-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "hex-dec.h"
#include "istream.h"
#include "ostream.h"
#include "message-size.h"
#include "dbox-storage.h"
#include "dbox-file.h"
#include <stdio.h>
#define DBOX_MAIL_FILE_BROKEN_COPY_SUFFIX ".broken"
static int
db... |
/*
Copyright (c) 2015
<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, modify, merge, publish, distribut... |
/*
* 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... |
/*
* A state-based scripting engine implemented as a CZMQ actor using Lua
*/
#include <czmq.h>
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <jansson.h>
#include "engine.h"
#include "../lib/se97.h"
#include "../lib/tmp116.h"
#include "../lib/pca9536.h"
#include "../lib/pca9632.h"
#include "../li... |
/*
A basic implementation of an unzip utility that conforms to the DEFLATE specifications (RFC 1951, 1952 for format)
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <utime.h>
#include "ryunzip.... |
/*
SRC Name: Audio Sample
This SRC will grab the data from a MP3 file and send it via UDP
Pipeline:
Send audio data
gst-launch-1.0 multifilesrc location=sample.mp3 loop=true \
! tee name=t \
! queue \
! mpegaudioparse \
! mpg123audiodec \
! audioconvert \
! audioresample \
! capsfilter caps="audio/x-ra... |
/* The Omzlo USB controller
* http://omzlo.com/one
* Copyright (c) 2017 <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 r... |
/*
*
* Copyright 2017 gRPC authors.
*
* 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 agree... |
// Copyright 2009 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.
/*
* portable half of code generator.
* mainly statements and control flow.
*/
#include "go.h"
Node*
sysfunc(char *name)
{
Node *n;
n = newname(pkglooku... |
/*
* IdDetection_Startrampe.c
*
* Created on: 24.10.2013
* Author: ernst
*
* Calling IDDetection_detect(IdAssignmentTypeDef *result) will start the ID detection process.
* The function returns the ID Results through the IdAssignmentTypeDef struct result points to.
* The detection will be done... |
/*
* Copyright 2017, Allied Telesis Labs New Zealand, Ltd
*
* 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... |
#include <math.h>
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include "yavalath.h"
#include "tables.h"
#ifndef YAVALATH_C
# define YAVALATH_C 0.5f
#endif
#define REWARD_WIN 1.0f
#define REWARD_DRAW -0.1f
#define REWARD_LOSS -1.0f
#define DRAW 100
static int
hex_to_bit(int q, int r)
{
if (q... |
#include <ruby.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <stdbool.h>
#include <uv.h>
#include <arpa/inet.h>
#include "http_parser.h"
#define SERVER_SOFTWARE "Racer"
#define MAX_HEADER_SIZE 4096
typedef enum last_callback {
CB_U... |
#include "character.c"
#include "constant.h"
#include "degrade.h"
/*
* character check
*/
static int test_isbasechar(void)
{
test(! isbasechar(1), "isbasechar1");
test( isbasechar(2), "isbasechar2");
test( isbasechar(8), "isbasechar3");
test( isbasechar(16), "isbasechar4");
test( isbasechar(36), "isbasecha... |
/**
* MK4duo Firmware for 3D Printer, Laser and CNC
*
* Based on Marlin, Sprinter and grbl
* Copyright (c) 2011 <NAME> / <NAME>
* Copyright (c) 2020 <NAME> @MagoKimbra
*
* 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
... |
/******************************************************************************
NAME: remap
SYNOPSIS:
remap <infile> <outfile>
[-rotate <deg>][-scale <sX> <sY>][-translate <tX> <tY>]
[-matrix <matrixFile>][-ppf <ppfFile>][-deltas <deltaFile>]
[-quadratic <quadFile>][-war... |
/***********************************************************************************
Copyright (c) Bluenodes GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are not permitted.
************************************************************************************... |
/* -*-Mode: C;-*-
* Module: cdunif DRS driver functions
*
* Copyright: 1994, Regents of the University of California
* This software may not be distributed to others without
* permission of the author.
*
* Author: <NAME>, Lawrence Livermore National Laboratory
* <EMAIL>
*
* Version: ... |
#include <stdint.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#ifdef __linux__
#include <sys/mman.h>
#elif _WIN32
#include <windows.h>
#endif
#include "fir_predictive_filter.h"
#include "stream_encoder.h"
#include "data_format.h"
#include "encode.h"
#define BLO... |
/*
*
* 1 tab == 2 spaces!
*/
/*
* A sample implementation of pvPortMalloc() and vPortFree() that combines
* (coalescences) adjacent memory blocks as they are freed, and in so doing
* limits memory fragmentation.
*
* See heap_1.c, heap_2.c and heap_3.c for alternative implementations, and the
* memo... |
/* $NetBSD: aica_arm.c,v 1.1 2003/08/24 17:33:30 marcus Exp $ */
/*
* Copyright (c) 2003 <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 sourc... |
/*
* iterator/iter_hints.c - iterative resolver module stub and root hints.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... |
/*
* Copyright (c) 2017, 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 program is distributed in the hope it will be useful, but... |
/*
* Copyright 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 to use, copy, modify, merge, publish, distrib... |
/* testIntersect - Test some ideas on intersections. */
/* Copyright (C) 2011 The Regents of the University of California
* See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "localmem.h"
#include... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
... |
/* IMPORTATION DES MODULES */
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <stdbool.h>
/* FONCTION JEU DU NOMBRE CACHE */
int nbrcache() {
int VMAX; /* VMAX -> borne supérieur de l'intervalle dans lequel le nombre caché est généré */
bool victoire = false;
int diff = 0; /* diff selecti... |
#include <assert.h>
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Modules to include */
#define INSR
#define NN
#define PSSM
/* Define size of the alphabet */
#define na 21
/* Define max number of neurons */
#define maxwindow 99
#define center_of_maxwindow 49
#def... |
/*
* ***** 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 (at your option) any later version.
*
* This program is ... |
#include <mpi.h>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
# define NO_OF_CHARS 256
// A utility function to get maximum of two integers
int max (int a, int b) { return (a > b)? a: b; }
// The preprocessing function for Boyer Moore's
// bad character heuristic
void b... |
/* P N G - F B . C
* BRL-CAD
*
* Copyright (c) 1998-2019 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 ... |
//---------------------------------------------------------------------------
// Copyright (C) 2003 Dallas Semiconductor Corporation, 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 dea... |
/*
* Copyright (c) 2007, 2008 University of Tsukuba
* 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 ... |
struct omap_mmchs_registers;
struct omap_mmchs {
vir_bytes io_base;
vir_bytes io_size;
phys_bytes hw_base;/* HW address */
int irq_nr;
struct omap_mmchs_registers * regs;
};
struct omap_mmchs_registers {
/* SD system configuration */
vir_bytes SYSCONFIG;
/* SD system status */
vir_bytes SYSSTATUS;
/* Confi... |
#include <stdio.h>
#include <stdlib.h>
#include <vicNl.h>
static char vcid[] = "$Id$";
int initialize_lake (lake_var_struct *lake,
lake_con_struct lake_con,
soil_con_struct *soil_con,
cell_data_struct *cell,
double airtemp,
int skip_hydro)
/*****... |
/*
The MIT License (MIT)
Copyright (c) 2016 silverx
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, publi... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
/*-
* Copyright (c) 2001,2002,2003 <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 ... |
/*
* IguanaWorks USB IR Transceiver support
*
* Copyright (C) 2012 <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 version 2 of the License, or
* (at your optio... |
/*
* evaluation_utils.c
*
* utility functions for network evaluation
*
* Copyright (c) 2012-2018 Huawei Technologies Co., Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modifie... |
/**
ECAN Generated Driver File
@Company
Microchip Technology Inc.
@File Name
ecan.c
@Summary
This is the generated driver implementation for the ECAN driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
@Description
This source file provides APIs for CAN.
Generation Information :
P... |
/*
* rundiff.c -- read and decode the XML file headers from two MJD raw data files
* and look for differences in the important parameters
*
* rundiff <file1> <file2>
* returns: -1 on file open/read error, or number of differences found
* i.e. 0 for no significant difference
*
... |
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <event.h>
#include <signal.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include "grok.h"
#include "grok_program.h"
#include "grok_input.h"
#include "grok_matchconf.h"
... |
/*
* Copyright 2016 Rockchip 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 required by applicable... |
// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#define _RTL8723BS_RECV_C_
#include <drv_types... |
/*
* Copyright © 2006 Intel Corporation
*
* 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, pub... |
/****************************************************************************
*
* Copyright (c) 2012-2014 PX4 Development Team. 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. Red... |
/* V L S _ V P R I N T F. C
* BRL-CAD
*
* Copyright (c) 2011-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* 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.... |
/*
** Zabbix
** Copyright (C) 2001-2015 Zabbix SIA
**
** 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 pro... |
/* S P E C T R U M . C
* BRL-CAD
*
* Copyright (c) 2004-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 a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.