text stringlengths 5.8k 28.2k |
|---|
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions o... |
/*
* This file and its contents are licensed under the Timescale License.
* Please see the included NOTICE for copyright information and
* LICENSE-TIMESCALE for a copy of the license.
*/
#include <postgres.h>
#include <access/xact.h>
#include <catalog/namespace.h>
#include <catalog/pg_type.h>
#include <continuous_... |
/*
* This software is licensed under the terms of the MIT-License
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, <NAME> <<EMAIL>>.
* Copyright (c) 2012-2019, <NAME> <<EMAIL>>.
*/
#include "taisei.h"
#include "stage1.h"
#include "stage1_events.h"
#include "global.h"
#include "stage.h"
#... |
/*
* txiki.js
*
* Copyright (c) 2019-present <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, ... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
/***********************************************************/
/* All rights reserved by <NAME>*/
/******* Created for ADCS system of SSS-P1 Satellite *******/
/*********************** 2018 - 2019 ***********************/
/************ World Magnetic Model 2015 - 2020 *************/
/*********** Original Program By... |
/*
* xbanish
* Copyright (c) 2013-2021 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and 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 ... |
/* jb.c - Jeff Bourdier (JB) library
*
* Copyright (c) 2017-21 <NAME>
*
* Licensed under the MIT License. This file may be used only in compliance with this License.
* Software distributed under this License is provided "AS IS", WITHOUT WARRANTY OF ANY KIND.
* For more information, see the accompanying License f... |
#include "tracepoint/template.h"
#include "match.h"
#include "util/bitops.h"
typedef struct template_values_t {
address_t handler_address;
address_t pc;
address_t next_pc;
insn_t insn;
insn_kind_t insn_kind;
} template_values_t;
typedef struct insn_masks_t {
insn_t cond, rd, rt, rm, rn;
} ins... |
/* $Id$ */
/*
* Copyright (c) 2015, 2017 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and 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... |
// TI File $Revision: /main/6 $
// Checkin $Date: July 6, 2009 14:42:06 $
//###########################################################################
//
// FILE: DSP2803x_SysCtrl.c
//
// TITLE: DSP2803x Device System Control Initialization & Support Functions.
//
// DESCRIPTION:
//
// Example initializat... |
/*
* Copyright (c) 2018 HiSilicon Technologies Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This... |
/* file: sampen.c <NAME> 2 August 2002
Last revised: 1 November 2004 (by <EMAIL>) 1.2
-------------------------------------------------------------------------------
sampen: calculate Sample Entropy
Copyright (C) 2002-2004 <NAME>
This program is free software; you can redistribute it and/or modify it under
the term... |
/** Functions for linear fitting using Singular Value Decomposition
* @file libsvdfit.c
* @author <NAME>, KNMI, adapted for vol2bird by <NAME>
* @date 2010-01-01
*/
/*
* Copyright 2015 <NAME> & Netherlands eScience Centre
* If you want to use this software, please contact me at <EMAIL>
*
* This program calcul... |
/* Name: makejigsaw.c
*
* Description: This program creates a jigsaw puzzle. The output is a set
* of portable bitmap files (.pbm). Each file describes one
* jigsaw puzzle piece.
*
* Copyright: Copyright (C) 2019 by <NAME> (<EMAIL>)
* All rights reserved.
*
* L... |
/*
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio.h>
#include <string.h>
#i... |
#include "headset/headset.h"
#include "event/event.h"
#include "graphics/graphics.h"
#include "graphics/canvas.h"
#include "graphics/texture.h"
#include "core/maf.h"
#include "core/ref.h"
#include <stdbool.h>
#include <OVR_CAPI.h>
#include <OVR_CAPI_GL.h>
static struct {
bool needRefreshTracking;
bool needRefresh... |
/**
* LLVM equivalent of:
*
* int sum(int a, int b) {
* return a + b;
* }
*/
#include <inttypes.h>
#include <llvm-c/Analysis.h>
#include <llvm-c/BitWriter.h>
#include <llvm-c/Core.h>
#include <llvm-c/ExecutionEngine.h>
#include <llvm-c/Target.h>
#include <llvm-c/Transforms/Scalar.h>
#include <llvm-c/Transfor... |
/* arrayExpressStormToHcaStorm - Convert output of arrayExpressToTagStorm to somethng closer to
* what the Human Cell Atlas wants.. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "localmem.h"
#include "tagStorm.h"
#include "csv.h"
void usage()
/* Explain usage and exit. ... |
/*
* Copyright (c) 2014 Intel Corporation, 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 2, available from the file
* COPYING in the main directory of this s... |
/**
* @file vm.c
* @author strah19
* @date June 16 2021
* @version 1.0
*
* @section LICENSE
*
* 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... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <time.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include "common.h"
#include "debug.h... |
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Xen para-virtual sound device
*
* Copyright (C) 2016-2018 EPAM Systems Inc.
*
* Author: <NAME> <<EMAIL>>
*/
#include <xen/xenbus.h>
#include <xen/interface/io/sndif.h>
#include "xen_snd_front.h"
#include "xen_snd_front_cfg.h"
/* Maximum number of supported stre... |
// compile with: gcc -std=c99 -Wall -g islands.c -lpthread -o islands
//
// parent thread: glud
// children threads: people (kids or adults)
//
// licence WTFPL
//
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define bool int
#define true 1
#define false 0
// defining the number of ... |
/****************************/
/* THIS IS OPEN SOURCE CODE */
/****************************/
/**
* @file coretemp_freebsd.c
* @author <NAME>
* <EMAIL>
* @author <NAME>
* <EMAIL>
* @author <NAME>
* <EMAIL>
*
* @ingroup papi_components
*
* @brief
* This component is intende... |
#pragma once
#define MANUFACTURER "MXCHIP Inc."
#define HARDWARE_REVISION "V1.0"
#define MODEL "STM32F412"
#define DEFAULT_NAME "MiCOKit 3166"
#ifdef BOOTLOADER
#define STDIO_UART_BUADRATE 115200
#else
#define STDIO_UART_BUADRATE 115200
#endif
#define HSE_SOURCE RCC_HSE_ON ... |
/*
* Copyright (C) 1999-2001, 2005 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eit... |
/*
* File: uconsole.c
* Author: <NAME>
*
* Created on May 2019
*/
#include <xc.h>
#include "plibs/plib.h"
#include "uconsole.h"
// *****************************************************************************
/* System Objects
Summary:
Structure holding the system's object handles
... |
// SPDX-License-Identifier: GPL-2.0
/* CAN bus driver for Microchip 25XXFD CAN Controller with SPI Interface
*
* Copyright 2019 <NAME> <<EMAIL>>
*/
/* here we define and configure the fifo layout */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/spi/spi.h>
#include "mcp25xxfd_can.h"
#include... |
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include "freertos/FreeRTOS.h"
#include "freertos/timers.h"
#include "driver/gpio.h"
#include "esp_timer.h"
#include "direct_wifi.h"
#include "direct_ethernet.h"
#include "spi_manager.h"
#include "spi_quad_packet.h"
#include "quad_crc.h"
#include "uart_imu... |
/******************************************************************************
*
* Copyright(c) 2009-2013 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... |
/* Mulders' short product, square and division.
Copyright 2005-2020 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General ... |
#include <math.h>
#include <string.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_roots.h>
#include <gsl/gsl_sf_hyperg.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <fastpm/libfastpm.h>
#include <fastpm/prof.h>
#include <fastpm/lightcone.h>
#include <fastpm/logging.h>
#include <gsl/gsl_linalg... |
#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: create_image.c,v 1.400 1995/06/20 15:39:23 darryl Exp $"
#endif
/*ARGSUSED*/
void create_image_cb(
Widget w,
XtPointer client_data,
XtPoint... |
#include "view.h"
#include <errno.h>
#include <locale.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "buffer.h"
struct parts *
partsNew(int height, int width, int curY, int curX)
{
struct parts *ret;
ret = malloc(sizeof *ret);
if (ret) {
ret->ctnr = NULL;
ret->height = height;
... |
#include "postgres.h"
#include <math.h>
#include "fmgr.h"
#include "tsearch/ts_type.h"
#include "tsearch/ts_utils.h"
#include "utils/array.h"
#include "miscadmin.h"
PG_MODULE_MAGIC;
Datum ts_score_wtt(PG_FUNCTION_ARGS);
Datum ts_score_wttf(PG_FUNCTION_ARGS);
Datum ts_score_tt(PG_FUNCTION_ARGS);
Datum ts_score_ttf(... |
#include "display.h"
#include "images.h"
// 00101000 00101000 00101000 c0
// 00111100 00111001 00101011 c1
// 00110010 00101111 00100010 c2
// 00100011 00100001 00010100 c3
// 01001001 01000110 00111000 c4
// 00000000 00000000 00000000 black
// 10110011 11111111 00000000 lit_led
// 00011100 00100011 00001110 off_le... |
/*
* Copyright (C) 1995, 1997-1999 <NAME>
* Modified by <NAME>, Oct. 1996.
* Modified by <NAME>, 1998.
* Modified by <NAME> of Mission Critical Linux, 2000.
*
* NSM for Linux.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sys/stat.h>
#include <limits.h>
#include <signal.h>
#include <unistd.h>
#... |
#include <stdlib.h>
#include <string.h>
#include "dummy_ui_harness.h"
#include <libdstr/libdstr.h>
#include <libcrypto/libcrypto.h>
#include <libditm/libditm.h>
#include <console_input.h>
#include <ui_harness.h>
// ditm.h
bool looked_good;
dstr_t reason_log;
struct ditm_loop_args_t* ditm_loop_args;
bool ditm_called... |
/*
* Copyright (C) 2010-2013 <NAME> <<EMAIL>>
* 2010 <NAME> <<EMAIL>>
* 2010 PortaOne Inc.
* Copyright (C) Tildeslash Ltd. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation file... |
/* v3_utl.c */
/* Written by Dr <NAME> (<EMAIL>) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... |
/*
* upb - a minimalist implementation of protocol buffers.
*
* Copyright (c) 2011 Google Inc. See LICENSE for details.
*
* Test of defs and symtab. There should be far more tests of edge conditions
* (like attempts to link defs that don't have required properties set).
*/
#include "upb/def.h"
#include "upb/p... |
/*
* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of Nordic Semiconductor. The use,
* copying, transfer or disclosure of such information is prohibited except by express written
* agreement with Nordic Semiconductor.
*
*/
/*... |
#include <string.h>
#include <time.h>
#include "std.h"
#include "types.h"
#include "libsym.h"
#define SYMHTSIZ 64 /* hash table entries in symbol table */
/* (must be a power of 2!) */
#define BitsInRandom 31
#define MaxNumberOfLevels 16
#define MaxLevel (MaxNumberOfLevels-1)
#define newNodeOfLevel(l) malloc(size... |
/*
* 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 <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <argp.h>
#include <magick/MagickCore.h>
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)<(b)?(b):(a))
const char* argp_program_version = "Bitmap Util 0.1";
const struct argp_option ... |
#include <Python.h>
#include "numpy/arrayobject.h"
#include <stdlib.h>
#if defined (_OPENMP)
# include <omp.h>
#endif
/*
This file contains a C implementation of the calc_OFTI method and submethods:
- eccentricity_anomaly
- mikkola_solve
- danbySolve
- calc_accel
- scale_and_rotate
- calc_XYZ
- calc_OFTI
Only the cal... |
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.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.tizenopensource.org/license
*
* Unless required by appli... |
/*
Copyright (C) 2006-2009 <NAME>
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/.
*/
#include "util.h"
#define XC_MGGA_X_BR89 206 /* Becke-Roussel 89 */
#defi... |
/***********************************************************************
* $Id:: mw_usbd_hiduser.c 1728 2014-09-19 17:56:35Z nxp73930 $
*
* Project: USB device ROM Stack
*
* Description:
* HID Custom User Module.
*
********************************************************************... |
/*
* Copyright (C) 2017 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... |
#if defined(_WIN32) || defined(_WIN64)
#include <iphlpapi.h>
#include <stdint.h>
#include <windows.h>
#include <winsock2.h>
#else
#include <arpa/inet.h>
#include <netinet/in.h>
#include <resolv.h>
#include <sys/socket.h>
#include <sys/types.h>
#endif
#include "base32.h"
#include <stdio.h>
#include <stdlib.h>
#incl... |
#define G_LOG_DOMAIN "pkcs11-util"
#include "internal.h"
#include "npm/kms/kms.h"
#define MIN_PIN_LEN (4)
#define MAX_PIN_LEN (255)
#define MIN_KEYID_LEN (36)
static GString *
apimodule_utf8_to_char(CK_UTF8CHAR *utf8buf, size_t len)
{
GString *buf = NULL;
if(len <= 0)
return NULL;
while(len && utf8buf[len-1] =... |
/* tshelper - A telnet server helper script for IRC server and services
** developers
**
** Copyright 2004, <NAME> <<EMAIL>>
**
** $Id: tshelper.c,v 1.32 2004/05/18 02:48:40 wcampbel Exp $
*/
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <... |
/*
* pong.c
* (c) 2020 <NAME>
*
* A pong game in C with a minimalist style.
*
* For information about this program, see README.txt
* For copyright information, see COPYING.txt
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <GL/gl.h>
#include <GL/glu.... |
/* $NiH: child.c,v 1.20 2003/10/26 10:10:13 wiz Exp $ */
/*-
* Copyright (c) 2003 <NAME>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain t... |
/* $XConsortium: pctoi.c /main/7 1995/12/02 16:48:00 dpw $ */
/* $XFree86: xc/programs/Xserver/XIE/dixie/process/pctoi.c,v 3.1 1996/08/20 12:21:41 dawes Exp $ */
/* AGE Logic - Oct 15 1995 - <NAME> */
/**** module pctoi.c ****/
/******************************************************************************
Copyright (... |
/**
* @addtogroup ble_gap
* @{
*/
#pragma once
#include <stdint.h>
#include <kernel/packet.h>
#include <bt/bt_uuid.h>
#include <bt/bt_smp.h>
#include <bt/bt_att.h>
#include <bt/bt_hci.h>
/**
* List of errors returned from Bluetooth GAP functions
*/
typedef enum {
/** Operation succeeded with no error */
G... |
/*
gcc -fopenmp -lm -lgsl -lgslcblas -lgad -L ./ mk_id_list.c -o ~/bin/mk_id_list OctTree.o
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "libgad.h"
#include "OctTree.h"
#define USE 63
// #ifdef LONGIDS
// typedef unsigned long long IDtype;
// #else
//... |
#include "stdlib.h"
#include "constants.h"
#include "data_structures.h"
#include "economy.h"
#include "queries.h"
float produce_resource(Nation *nation, State *state, int type);
/*All consumption calculations are applied on the states*/
float calculate_industry_consumptions(Nation *nation);
float calculate_industry_co... |
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define PLAYERS 4
#define DECK_SIZE 52
#define HAND_SIZE 13
#define CARDS_GIVEN 3
#define SLEEP_MULT 0
unsigned int seed;
typedef enum SUITE { HEARTS, SPADES, DIAMONDS, CLUBS, SUITE_COUNT } suite;
char *suite_str[ SUITE_COUNT ] = { "Hearts... |
#include <libdl/graphics.h>
#include <libdl/game.h>
#include <libdl/time.h>
#include <libdl/net.h>
#include <libdl/ui.h>
#include <libdl/common.h>
#include <libdl/stdio.h>
#include <libdl/string.h>
#include <libdl/pad.h>
#include "messageid.h"
const char * SELECT_QUEUE_TITLE = "SELECT QUEUE";
const char * ... |
/*
Copyright (C) 2014 by <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 program is distributed in the h... |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
// Copyright 2019 <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
// https://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, ... |
/*
* $Id: space_node.c 40453 2011-09-22 12:45:25Z blendix $
*
* ***** 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, o... |
/*
* ***** 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... |
#include<rcx_display.h>
/* the digits
numbered right to left
dots are associated with the digit to their left
only digit 2,3,4 have dots
digit 5 can only be used as a minus sign
*/
#define LCD_0_TOP 0xef44,0x4
#define LCD_0_MID 0xef44,0x5
#define LCD_0_BOT 0xef44,0x7
#define LCD_0_TOPR 0xef45,0x5
#... |
/*CosmoSIS interface file for going from shear C(l) to xi+/-
Uses function tpstat_via_hankel from <NAME> nicaea
*/
#include "cosmosis/datablock/c_datablock.h"
#include "cosmosis/datablock/section_names.h"
#include "maths.h"
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <string.h>
const char * sh... |
/**
* Copyright (C) 2013 Netronome Systems, Inc. All rights reserved.
*
* Example code to record packets on egress and save to a PCAP file
*
*/
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unis... |
/*======================================================================
$Revision: 284 $ $Date: 2006-12-17 20:55:25 -0800 (Sun, 17 Dec 2006) $
Matlab MEX interface to BCLS solver.
13 Oct 05: Original version.
<NAME>
<EMAIL>
University of British Columbia
===========... |
/*
* GPIO driver for PIC32.
*
* Copyright (C) 2012 <NAME>, <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for any purpose and without fee is hereby
* granted, provided that the above copyright notice appear in all
* copies and that both that the copyright not... |
#include "wavefront.h"
#include <immintrin.h>
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "bench.h"
#include "error.h"
#include "log.h"
#include "png.h"
#include "texture.h"
#include "utils.h"
#define LINE_SIZE 4096
Wavefront_Content create_wavefront_content() {
Wavefront... |
/*! \file uft_device.c
*
* UFT device specific info
*
* This file contains device specific info which are internal to
* UFT Resource Manager
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
*... |
/*
morph.c - WordNet search code morphology functions
*/
#include "Generic/common/leak_detection.h"
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include "linuxPort/serif_port.h"
#include "Generic/wordnet/wn.h"
#ifdef UNIX
#define EXCFILE "%s/%s.exc"
#endif
#i... |
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:4;tab-width:4;coding:utf-8 -*-│
│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│
╞══════════════════════════════════════════════════════════════════════════════╡
│ Copyright The Mbed TLS Contributors ... |
#include <stdio.h>
#include <stdlib.h>
#include <immintrin.h>
#include <math.h>
#include <omp.h>
#ifndef NUM_THREADS
#define NUM_THREADS 64
#endif
int read_BMP(char* filename, unsigned char *info, unsigned char **dataR, unsigned char **dataG, unsigned char **dataB, int *size, int *width, int *height, int *offset, int... |
/*****************************************************************************
* rtsp_play.c: RAOP Client player
*
* Copyright (C) 2004 <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 Softw... |
/*
* Copyright Samsung Electronics Co.,LTD.
* Copyright (C) 2010 The Android Open Source Project
* Copyright (C) 2016-2020 Intel Corporation
*
* 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 Licens... |
// Name: <NAME>
// Email: <EMAIL>
// Date: 11/10/2018
// Summary: Plays and records the digital signal sent by the FPGA
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <ifaddrs.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <math... |
/*
* Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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 l... |
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <sys/time.h>
#include <unistd.h>
#include <time.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sched.h>
#include <errno.h>
#include "sntp.h"
static int g_udpClientSocket = -1;
static int g_udpServerSocket = -1;
static int g_delayUs = 0;
stat... |
/*
* This file is part of the IOTA Access Distribution
* (https://github.com/iotaledger/access)
*
* Copyright (c) 2020 <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
*
* ... |
/*
Copyright (c) 2009 <NAME> and <NAME>, University of Geneva
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of ... |
#include "Briscola.h"
#include "../Render/GameUtil.h"
#include "../Lib/SDL/include/SDL_ttf.h"
#include "../Render/FPSUtil.h"
#include "../Render/GUIUtil.h"
#include "../Render/RenderUtil.h"
#include "../Render/NetUtil.h"
#include <stdio.h>
//They have to be the same from the main loop
extern SDL_Renderer *mainRenderer... |
/*
Copyright (c) 2020, <NAME>. (<EMAIL>)
All rights reserved.
This file is part of the topaz project (https://github.com/jcorks/topaz)
topaz was released under the MIT License, as detailed below.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentat... |
/*
* kdc/do_as_req.c
*
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization contemp... |
#include "atlas_lvl3.h"
#include "atlas_misc.h"
#include "igen_lib.h"
#include <stdlib.h>
void ATL_dmmJIK2(int K, int nMb, int nNb, int nKb, int ib, int jb, int kb,
f64_I alpha, const f64_I *pA0, const f64_I *B, int ldb,
f64_I *pB0, int incB, MAT2BLK B2blk, f64_I beta, f64_I *C,
... |
/**
* Copyright 2020 Huawei Technologies 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 law... |
/*
* Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2012 ARM Limited. All rights reserved.
*
* $Date: 16/10/14 5:59p $Revision: V1.4.0
*
* Project: CMSIS DSP Library
* Title: arm_convolution_example_f32.c
*
* Description: Example code demonstrating ... |
#include "vm.h"
#include "file.h"
#include "atomic.h"
#include "pk.h"
#include <stdint.h>
#include <errno.h>
typedef struct {
uintptr_t addr;
size_t length;
file_t* file;
size_t offset;
size_t refcnt;
int prot;
} vmr_t;
static const size_t fd_pages = 1; // 1024 fds - 1 x 8K
static const size_t files_... |
/* grabbag - Convenience lib for various routines common to several tools
* Copyright (C) 2006-2009 <NAME>
* Copyright (C) 2011-2016 Xiph.Org Foundation
*
* 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 Soft... |
#include <io.h>
#include <system.h>
#include <sys/alt_irq.h>
#include <stdbool.h>
#include <altera_up_avalon_video_pixel_buffer_dma.h>
#include <altera_avalon_pio_regs.h>
#include <altera_avalon_timer_regs.h>
#include <Altera_UP_SD_Card_Avalon_Interface.h>
#include <altera_up_avalon_rs232.h>
#include "piezo.h"
#defi... |
/*****************************************************************************
* Copyright (c) 1990-1999 Microsoft Corporation
*
* RPC compiler: Pass1 handler
*
* Author : <NAME>
* Created : 01st-Sep-1990
*
************************************************************... |
/************************************************************************/
/* */
/* svm.c */
/* */
/* Functions for k... |
/* memalloc.c - Routines to allocate and deallocate dynamic memory.
* This lets you have a stack of memory handlers. The default
* memory handler is a thin shell around malloc/free. You can
* substitute routines that do more integrety checking with
* pushCarefulMem(), or routines of your own devising with
* pus... |
/*
* Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2018-2019, Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the f... |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
// TODO(maciej): Look at randy gauls tinyc2 to see how he deals with fat_factor
#ifndef INTERSECTION_H
#define INTERSECTION_H
// Main function
float isect_get_overlap_factor( const rs_pointcloud_t* pc_a, const msh_mat4_t pose_a,
const rs_pointcloud_t* pc_b, const msh_mat4_t p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.