text stringlengths 7.55k 41.9k |
|---|
/*****************************************************************************
*
* XVID MPEG-4 VIDEO CODEC
* - SSIM plugin: computes the SSIM metric -
*
* Copyright(C) 2005 <NAME> <<EMAIL>>
*
* This program is free software ; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
#include "wvfobj.h"
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <scene_asset.h>
#include "hashtable.h"
#define OBJ_FLAG_TRIANGULATE (1 << 0)
#define OBJ_MAX_FACES_PER_F_LINE (64)
/*----------------------------------------------------------------------
* Parsing helpers
*---------------------... |
#include <stdio.h> /*printf()*/
#include <stdlib.h> /*exit()*/
#include <string.h> /*strcmp(),strcpy()*/
#include <unistd.h> /*close()*/
#include <sys/types.h> /*setsockopt()*/
#include <sys/socket.h> /*socket(),bind(),connect(),accept()*/
#include <arpa/inet.h> /*sockaddr_in,inet_ntoa()*/
#include <... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define this to enable BIND8 like NSTATS & XSTATS. */
#define BIND8_STATS /**/
/* NSD default chroot directory */
/* #undef CHROOTDIR */
/* NSD config dir */
#define CONFIGDIR "/etc/nsd"
/* P... |
/*
Reads in UDP payload templates.
This supports two formats. The first format is the "nmap-payloads" file
included with the nmap port scanner.
The second is the "libpcap" format that reads in real packets,
extracting just the payloads, associated them with the destination
UDP port.
*/
#incl... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include <errno.h>
#include <sys/time.h>
#include <mpd/async.h>
#include <mpd/status.h>
#include <mpd/song.h>
#include <mpd/entity.h>
#include <mpd/search.h>
#include <mpd/tag.h>
#include <mpd/client.h>
#include "libs/... |
/*
* Live HDS fragmenter
* Copyright (c) 2013 <NAME>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "betray.h"
#include "seduce.h"
#include "s_draw_3d.h"
#include "c_internal.h"
extern void c_editor_type(BInputState *input, CSession *session, CEntity *entity, CType *type, CTypeType base_type, uint *ref, float *stack, float x, float y, RMatrix *matrix,... |
// encoding: UTF-8
/******************************************************************************
* *
* *
* Notepad3 ... |
/*
* Copyright (C) 1989-95 GROUPE BULL
*
* 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, publ... |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 app... |
/*
Copyright (c) 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 conditions and the following discl... |
/*
*
*/
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "np_helper/np_helper.h"
#include "vhf/fblas.h"
typedef struct {
double *cache[6];
short a;
short b;
short c;
short _padding;
} CacheJob;
size_t _ccsd_t_gen_jobs(CacheJob *jobs, int nocc, int nvir,
... |
/*
* CWAVE (RWAVE==WAV) input plugin / quad modulator for WinAmp (XMPlay) player
*
* adv_modulator.c -- advanced analitic signal modulator
* (there is no any "simple" renders / mods from in_cwave V1.5.0)
*
* Copyright (c) 2010-2021, Rat and Catcher Technologies
* All rights reserved.
*
* Redistr... |
/*
* Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com)
*
* 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... |
#include <stdlib.h>
#include <string.h>
#include "parser.h"
#include "scanner.h"
#include "ast.h"
#include "memory.h"
#include "value_array.h"
#include "value.h"
typedef struct {
Token current;
Token previous;
const char* file_path;
} Parser;
static Parser parser;
typedef enum {
PREC_NONE,
PREC_... |
/*
_ _
(_ | :
_)NAKE |.'UEL
Authored by abakh <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy o... |
/*
* Phoenix-RTOS
*
* IMX6ULL NAND tool.
*
* Writes image file to flash
*
* Copyright 2018 Phoenix Systems
* Author: <NAME>
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#include <ctype.h>
#include <errno.h>
#include <unistd.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include ... |
/**
* \file fsw_ext2.c
* ext2 file system driver code.
*/
/*-
* Copyright (c) 2006 <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... |
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "extract.h"
#include "placer.h"
#include "router.h"
#include "base_router.h"
// mass movement routines
struct coordinate placements_top_left_most_point(struct cell_placements *cp)
{
/* select the first placement for a baseline point */
int unfound ... |
/* $OpenBSD: cgfourteen.c,v 1.36 2008/12/26 22:30:21 miod Exp $ */
/* $NetBSD: cgfourteen.c,v 1.7 1997/05/24 20:16:08 pk Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... |
/* ====================================================================
* Copyright (c) 1995-2004 Carnegie Mellon University. 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. Redi... |
/*
* "Build Engine & Tools" Copyright (c) 1993-1997 <NAME>
* Ken Silverman's official web site: "http://www.advsys.net/ken"
* See the included license file "BUILDLIC.TXT" for license info.
* This file has been modified from Ken Silverman's original release
*/
#if PLATFORM_DOS
#include <io.h>
#endif
#include <fcn... |
/*
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... |
/*
* Copyright (C) 2004-2010 NXP Software
* Copyright (C) 2010 The Android Open Source Project
*
* 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/... |
/**
* VampirTrace
* http://www.tu-dresden.de/zih/vampirtrace
*
* Copyright (c) 2005-2013, ZIH, TU Dresden, Federal Republic of Germany
*
* Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
* Centre, Federal Republic of Germany
*
* See the file COPYING in the pa... |
/*
* General notice:
* This code is part of a boot-monitor package developed as a generic base
* platform for embedded system designs. As such, it is likely to be
* distributed to various projects beyond the control of the original
* author. Please notify the author of any enhancements made or bugs found
* so t... |
/* $OpenBSD: mpcpcibus.c,v 1.47 2015/06/03 08:41:43 mpi Exp $ */
/*
* Copyright (c) 1997 <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 copyrigh... |
#include "compressibleFlow.h"
#include "fvSupport.h"
static inline void NormVector(PetscInt dim, const PetscReal* in, PetscReal* out){
PetscReal mag = 0.0;
for (PetscInt d=0; d< dim; d++) {
mag += in[d]*in[d];
}
mag = PetscSqrtReal(mag);
for (PetscInt d=0; d< dim; d++) {
out[d] = in... |
#include "memory_profile.h"
/***********************************************************/
int main (int argc, char *argv[]) {
hwloc_topology_t topo;
hwloc_obj_t obj;
int i,j,opt;
int fast = FALSE;
int diff_input = FALSE;
int diff_output = FALSE;
int plain = FALSE;
int artificial = FALSE... |
/*
* Setup.c
*
* Created on: 19 mar. 2020
* Author: <NAME>
*/
#include "Setup_FC.h"
char uartTX[101];
uint8_t eeprom_data_test[12];
static bool error;
uint8_t roll_axis, pitch_axis, yaw_axis;
uint8_t receiver_check_byte, gyro_check_byte;
int center_channel_1, center_channel_2, center_channel_3, center_c... |
/*
* $LastChangedRevision: 1036 $
* $LastChangedDate:: 2016-10-10 15:41:10 +0200#$
*
* This file is part of X2C. http://www.mechatronic-simulation.org/
*
* Copyright (c) 2013, Linz Center of Mechatronics GmbH (LCM) http://www.lcm.at/
* All rights reserved.
*/
#include "Services.h"
/* monitor program... |
////////////////////////////////////////////////////////////////////////////////////////
// Spherical Harmonic Surface
// Copyright (c) 2004,5 adresd <<EMAIL>>
//
// calculated with each point, as done.
// as drawn re-uses previous strip for making the tri strips, so
// first strip may not be correct first run.
//
... |
/*
Copyright (c) 2002,2003 <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 option) any later version.
This progr... |
/*
Copyright (c) 2007-2011 VMware, Inc. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the
disclaimer below) provided that the following conditions are met:
* Redistributions of source code must retain the above copyri... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2008, 2007, 2006, 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Ge... |
//*****************************************************************************
// MT9D111.c
//
// Micron MT9D111 camera sensor driver
//
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
//
//
// Redistribution and use in source and binary forms, with or without
// modification,... |
/****************************************************************
Copyright (C) 2015 <NAME>. All rights reserved.
> File Name: < nand.c >
> Author: < <NAME> >
> Mail: < <EMAIL> >
> Created Time: < 2015/10/20 >
> Last Changed: < 201... |
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include "skinny_mutex.h"
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "logger.h"
#define CAS(p, a, b) __sync_bool_compare_and_swap(p, a, b)
/* Atomically exchange the value of a pointer in memory.
*
* ... |
/*
* nginx.c
*
* Copyright (C) 2013 NGinX for Tomato RAF
* ***** <NAME>, roadkill AT tomatoraf DOT com
* ***** <NAME>, victek AT tomatoraf DOT com
*
* No part of this program can be used out of Tomato Firmware without owners permission.
* This code generates the configurations files for NGINX. You can... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/****************************************************************************
* Read in a cert chain from one or... |
/*
* smpl_amd64_ibs.c - AMD64 Family 10h IBS sampling
*
* Copyright (c) 2007 Hewlett-Packard Development Company, L.P.
* Contributed by <NAME> <<EMAIL>>
*
* Copyright (c) 2008 Advanced Mirco Devices Inc.
* Contributed by <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining... |
/*
*
* moglcore.cc -- MATLAB MEX and GNU/OCTAVE OCT file interface to OpenGL.
*
* 08-May-2005 -- created (RFM)
* 08-Dec-2005 -- reworked into direct interface to gl, glu, and glm functions (RFM)
* 05-Mar-2006 -- reworked to make inclusion of glm optional (for Psychtoolbox) (MK)
* 20-Mar-2006 -- Included support ... |
/* #include <string.h> */
extern volatile unsigned long *debug;
/* Cheapo filesystem / malloc replacements */
#define NULL 0
typedef int FILE;
unsigned char *file_data = (unsigned char *)0x10000;
int where_in_file;
FILE *fs_open(char *fn, char *mode) {
where_in_file = 0;
return (FILE*)1;
}
void fs_close(FILE *f)... |
/*
* fiwix/mm/memory.c
*
* Copyright 2018-2021, <NAME>. All rights reserved.
* Distributed under the terms of the Fiwix License.
*/
#include <fiwix/kernel.h>
#include <fiwix/asm.h>
#include <fiwix/mm.h>
#include <fiwix/mman.h>
#include <fiwix/bios.h>
#include <fiwix/ramdisk.h>
#include <fiwix/process.h>
#include ... |
#include <common.h>
//
// defines
//
//
// variables
//
//
// prototypes
//
// ----------------- GAME BOARD SUPPORT -----------------------------------------
// 0 1 2 3 4 5 6 7
static int r_incr_tbl[8] = {0, -1, -1, -1, 0, 1, 1, 1};
static int c_incr_tbl[8] = {1, 1, 0, -1... |
#include <assert.h>
#include <string.h>
#include <time.h>
#include "../spectrum.h"
#define F_LORAM 1
#define F_HIRAM (1<<1)
#define F_CHAREN (1<<2)
#define CIA_IRQ_TIMA (1<<0)
#define CIA_IRQ_TIMB (1<<1)
#define CIA_IRQ_ALARM (1<<2)
#define CIA_IRQ_SP (1<<3)
#define CIA_IRQ_FLAG (1<<4)
#define CIA_CR_START (1<<0)... |
/*
* Copyright (c) 2011 Mellanox Technologies. 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 2, available from the file
* COPYING in the main directory of this sou... |
/*
* Copyright (c)1996-2002 by <NAME>
* All rights reserved.
*
* Author: <NAME>
*
* Redistribution of this software and documentation 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 or do... |
/******************************************************************************
* Copyright (C) 2017 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/****************************************************************... |
/*
* Copyright (C) 2012 <NAME> <<EMAIL>>
* Copyright (C) 2012-2014 <NAME> <<EMAIL>>
*
* This file may be distributed under the terms of the
* GNU Lesser General Public License.
*/
#include <assert.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <ctype.h>
#include "c.h"
#include "colo... |
// file: decoder.h
/******************************************************************************
header file for all readtape c files
In addition to defining the common data structures,
this also controls whether various debugging modes are enabled.
---> See readtape.c for the merged change log.
*... |
// SIMPLE COUNT DOWN THEN COUNT UP TIMER.
/* base headers */
#include "stdint.h"
#include "stm32l1xx_gpio.h"
#include "stm32l1xx_adc.h"
#include "stm32l1xx_lcd.h"
#include "stm32l1xx_rcc.h"
#include "stm32l1xx_rtc.h"
#include "stm32l1xx_exti.h"
#include "stm32l1xx_pwr.h"
#include "stm32l1xx_syscfg.h"
#include "stm32l... |
#include "transport.h"
#include "simul_udt.h"
#include "window.h"
#include "queue.h"
#include "adaptive.h"
#include "cb_utils.h"
#include "timespec_utils.h"
//#define EMPTY_LIMIT 20
//#define SEND_LIMIT 10
/* shared structures */
struct circular_buffer recv_cb;
struct circular_buffer send_cb;
struct event e;
... |
/* Copyright (C) agentzh */
#define DDEBUG 0
#include "ddebug.h"
#include "ngx_http_chunkin_util.h"
#include "chunked_parser.h"
#include "ngx_http_chunkin_filter_module.h"
#include "ngx_http_chunkin_request_body.h"
enum {
MAX_CHUNKS_PER_DISK_WRITE = 512
};
static ngx_int_t ngx_http_test_expect(ngx_http_request... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* render.c :+: :+: :+: ... |
/* ndhc.c - DHCP client
*
* Copyright 2004-2020 <NAME> <njkain at gmail dot com>
* 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 ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "pack.h"
#include <ctype.h>
/* This must be updated with each new release. */
char *version="1.7";
/* Cognizant Programmer: <NAME> April 15, 1991 */
/* Revision History: ... |
#include <string.h>
#include "phase.h"
#include "codegen/phase.h"
#include "codegen/pcode.h"
struct test {
struct stmt_test* stmt_test;
struct inline_asm* inline_asm;
const char* format;
const char* repeat;
};
struct mnemonic {
const char* name;
int opcode;
};
static void test_name( struct semanti... |
/* ebt_ip6
*
* Authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Summary:
* This is just a modification of the IPv4 code written by
* <NAME> <<EMAIL>>
* with the changes required to support IPv6
*
*/
#include <errno.h>
#include <arpa/inet.h>
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#inc... |
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <ngx_log.h>
#include <ngx_times.h>
#include "ngx_http_json_kss_module.h"
#include "parson.h"
// Module and configuration initialization functions.
static ngx_int_t ngx_http_json_kss_init(ngx_conf_t *cf);
static void *ngx_http_json_kss_create... |
/* Definitions of target machine for GNU compiler, for m68k NetBSD platforms
using the ELF object format.
Largely derived from alpha/netbsd.h, i386/netbsd-elf.h and m68k/linux.h.
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redist... |
#include "msam.h"
void mFilterFileWrapper(samfile_t *input, samfile_t *output, int uniqbesthit_only, int besthit_only, int rescore, int invert);
void mFilterFile(samfile_t *input, samfile_t *output, int (*filter)(mAlignmentSummary*), void (*writer)(samfile_t*, mBamPool*), int rescore, int invert);
void mFilterFileLite... |
#pragma once
/*
Copyright (C) 2020 <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, d... |
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* Feature : H-VPLS with MPLS at access-layer
* i.e Spoke & Hub with MPLS backbone
*
* Usage : ... |
/**************************************************************************
*
* Copyright 2014 Advanced Micro Devices, Inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in ... |
#include "xmfract.h"
#include "fractype.h"
#include "macros.h"
#include "helpdefs.h"
#include "mpmath.h"
#include "globals.h"
#include "prototyp.h"
#ifndef NO_IDENT
#ident "$Id: loadfile.c,v 1.400 1995/06/20 15:39:23 darryl Exp $"
#endif
/* static functions */
static int find_fractal_info(char *gif_file, struct frac... |
#include <stdio.h>
#include "esp_system.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_wifi.h"
#include "nvs.h"
#include "esp_event_loop.h"
#include "esp_log.h"
#include "esp_err.h"
#include "interna... |
/*
* Licensed to Systerel under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Systerel licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this
* file except ... |
/*
* Copyright © 2016 Red Hat.
* Copyright © 2016 <NAME>
*
* based in part on anv driver which is:
* Copyright © 2015 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 Softw... |
/*****************************************************************************
*
* Original Author: <NAME>
* Creation Date:
* Description:
*
* Copyright (C) 2018 by <NAME>. All Rights Reserved.
* Unauthorized reproduction, modification, distribution, transmission,
* republication, display or performance ... |
/*-------------------------------------------------------------------------
*
* cdb_dump_util.c
*
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*------------------------------------------------------------------... |
#include <glib.h>
#include <gst/gst.h>
#include <stdlib.h>
#include <time.h>
#include "pipestats.h"
GST_DEBUG_CATEGORY_STATIC (pipestats_debug);
#define GST_CAT_DEFAULT pipestats_debug
/* Filter signals and args */
enum
{
/* FILL ME */
LAST_SIGNAL
};
enum
{
PROP_SILENT = 1,
PROP_BUS,
PROP_PERIOD,
/* Acce... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 <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,... |
/*! \mainpage Arduino ENC28J60 EtherShield Library
\section Introduction
This library is derived from original code by <NAME> and <NAME>, and hence licensed as GPL2. See http://www.gnu.org/licenses/gpl.html
It comprises a C++ class wrapper and a number of C files. It still follows pretty much the same structure as t... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2012 The PHP Group |
+--------------... |
/*
* Copyright 2019-present, Synopsys, Inc.
* All rights reserved.
*
* Synopsys modifications to this source code is licensed under
* the ITU-T SOFTWARE TOOLS' GENERAL PUBLIC LICENSE found in the
* LICENSE.md file in the root directory of this source tree.
*/
/* 02... |
/* Program that takes a directory name and a key string.
* Finds key in all files in the directory and creates an output file includes
* line and column information of where the key found.*/
/* Written by <NAME>, on 10 may 2016*/
/* Student ID:141044058 for Homework 6 */
/* Includes */
#include <stdio.h>
#includ... |
/*
* ***** 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 d... |
/*
* Copyright © 2014-2017 Broadcom
* Copyright (C) 2012 <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 righ... |
# 1 "/home/jenkins/workspace/RUI_Release/rui-v3/external/STM32CubeWL/Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_ll_rtc.c"
# 1 "/home/jenkins/workspace/RUI_Release/rui-v3//"
# 1 "<built-in>"
#define __STDC__ 1
#define __STDC_VERSION__ 199901L
#define __STDC_HOSTED__ 1
#define __GNUC__ 10
#define __GNUC_MINOR__ 2
#define... |
/*-
* Copyright (c) 2014-2017 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* __ref_index_slot --
* Return the page's index and slot for a reference.
*/
static inline void
__ref_inde... |
/*
* SSA/ASS spliting functions
* Copyright (c) 2010 <NAME> <<EMAIL>>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Li... |
#include <stdlib.h>
#include <sms.h>
unsigned char pal1[] = {0x00, 0x01, 0x02, 0x03, 0x10, 0x20, 0x30, 0x2B,
0x14, 0x24, 0x39, 0x0F, 0x00, 0x15, 0x2A, 0x3F};
unsigned char pal2[] = {0x00, 0x01, 0x02, 0x03, 0x10, 0x20, 0x30, 0x2B,
0x15, 0x35, 0x1D, 0x3D, 0x00, 0x15, 0x2A, 0x3F};
unsigned int bkg_bottom[] = {0... |
//***********************************************************
// plads.c
//
// PLADS, version 1.0
//
// Date Name Description
// ======== ========= =======================================
// 08/07/17 Eberle Initial version.
//
//*************************************************************
#include "... |
/**
* This examples demonstrates demuxing a data stream from the Transport-Stream.
*/
#include <stdio.h>
#include <string.h>
#include <tsdemux.h>
#define PRINT_PIDS_LEN (16)
// prints out the data assoicated with certain PIDs (up to 16)
uint16_t print_pids[PRINT_PIDS_LEN];
// demux callback (see tsd_set_event_c... |
/*!
*****************************************************************************
@file: Impedance.c
@author: <NAME>
@brief: standard 4-wire or 2-wire impedance measurement sequences.
-----------------------------------------------------------------------------
Copyright (c) 2017-2019 Analog Devices, Inc. A... |
/*-
* Copyright (c) 2005-2011 <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 ... |
/******************************************************************************
*
* M4RI: Linear Algebra over GF(2)
*
* Copyright (C) 2008 <NAME> <<EMAIL>>
*
* Distributed under the terms of the GNU General Public License (GPL)
* version 2 or higher.
*
* This code is distributed in the hope tha... |
#include "mdnsd.h"
#include <string.h>
// size of query/publish hashes
#define SPRIME 108
// size of cache hash
#define LPRIME 1009
// brute force garbage cleanup frequency, rarely needed (daily default)
#define GC 86400
/* messy, but it's the best/simplest balance I can find at the moment
Some internal data types, a... |
/*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
/*++
Copyright (c) 2017, <NAME> <<EMAIL>>
All rights reserved.
This software may be modified and distributed under the terms of the BSD
license. See the LICENSE file for details.
--*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#include <errno.h>
#include "ceed.h"
//
// Standard... |
/* spkw09.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__27 = 27;
static integer c__2 = 2;
static integer c__6 = 6;
static integer c__1 = 1;
/* $Procedure SPKW... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* sortIdx.c
*
* Code generation for function 'sortIdx'
*
*/
/* Include files */
#include "mwmathutil.h"
#inc... |
#define ORIGIN_DATE "2012.01.05"
#define ORIGIN_VERSION "2.1"
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <pthread.h>
#include <assert.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include "common.h"
#include "ivector.h"
#include "species.h"
#include "specieslist.h"
#inclu... |
/*
* main.c
*
* SD card information
*
* Author: <NAME>
*
*/
#include "stm32f10x_conf.h"
#include "delay.h"
#include <string.h>
#include <stdio.h>
#include "LGDP4532.h"
#include "colors.h"
#include "sd_card_func.h"
#include "stm3210e_eval_sdio_sd.h"
extern SD_CardInfo SDCardInfo;
int main (void) {
SD_Err... |
/** snake API for C **/
// need to add the elongating of snek after nomming
#include "snek_api.h"
#include <string.h>
#include <time.h>
//int CYCLE_ALLOWANCE;
//int BOARD_SIZE;
int CURR_FRAME = 0;
int SCORE = 0;
int MOOGLE_FLAG = 0;
int MOOGLES_EATEN = 0;
int TIME_OUT = ((BOARD_SIZE * 4) - 4) * CYCLE_ALLOWANCE;
//int... |
/*
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 program is distributed in the hope that it will be useful,
but WITHOUT ... |
/*
* Copyright (c) 1996, <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.