text stringlengths 5.8k 28.2k |
|---|
/***********************************************************************
Copyright (c) 2006-2010, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
/* Copyright (c) 2019, <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 an... |
/*
* 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... |
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
/******************************************************************************
* Copyright (c) 2020, STMicroelectronics - All Rights Reserved
This file is part of VL53L1 and is dual licensed,
either GPL-2.0+
or 'BSD 3-clause "New" or "Revised" License' , at yo... |
/***************************************************************************
begin : Wed Jan 29 2003
copyright : (C) 2003 - 2014 by <NAME>
email : <EMAIL>
***************************************************************************/
/********************************... |
/* This is an independent implementation of the HPC algorithm */
/* designed by <NAME> as a candidate for the NIST */
/* AES activity. */
/* */
/* Copyright in this implementation is held by Dr <NAME> but */
/* I hereby give permission for its free direct or derivative use */
/* su... |
/** \file
*
* \brief Deals with random and pseudo-random number generation.
*
* At the moment this covers whitening of random inputs (getRandom256()) and
* deterministic private key generation (generateDeterministic256()).
*
* The suggestion to use a persistent entropy pool, and much of the code
* assoc... |
/*
* 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... |
/* tcp.c -*-c-*-
* TCP handler.
* Author: saturnu
*
* This program is part of the SNESoIP project and has has been released
* under the terms of a BSD-like license. See the file LICENSE for
* details. */
#include "tcp.h"
int init_tcp(int port) {
struct sockaddr_in sock;
int listen_fd;
int ret;
int y... |
#include "mupdf/fitz.h"
#include "icc34.h"
#include <string.h>
#define SAVEICCPROFILE 0
#define ICC_HEADER_SIZE 128
#define ICC_TAG_SIZE 12
#define ICC_NUMBER_COMMON_TAGS 2
#define ICC_XYZPT_SIZE 12
#define ICC_DATATYPE_SIZE 8
#define D50_X 0.9642f
#define D50_Y 1.0f
#define D50_Z 0.8249f
static const char desc_name[... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* Copyright (c) 2022 STMicr... |
#include "quakedef.h"
#include "r_shadow.h"
extern cvar_t r_labelsprites_scale;
extern cvar_t r_labelsprites_roundtopixels;
extern cvar_t r_track_sprites;
extern cvar_t r_track_sprites_flags;
extern cvar_t r_track_sprites_scalew;
extern cvar_t r_track_sprites_scaleh;
extern cvar_t r_overheadsprites_perspective;
exter... |
#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... |
/*
* This file is released under the terms of the Artistic License. Please see
* the file LICENSE, included in this package, for details.
*
* Copyright (C) 2003-2006 <NAME> & Open Source Development Labs, Inc.
*
* Based on TPC-C Standard Specification Revision 5.0 Clause 2.8.2.
*/
#include <sys/types.h>
#inclu... |
/*
Arduino Library for Analog Devices ADXL362 - Micropower 3-axis accelerometer
go to http://www.analog.com/ADXL362 for datasheet
License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free
to use and abuse this code however you'd like. If you find it useful
please attribute, and SHARE-ALIKE!
Create... |
/* sig-check.c - Check signatures
* Copyright (C) 1998-2012 Free Software Foundation, Inc.
*
* Author: <NAME>
*
* This file is part of OpenCDK.
*
* The OpenCDK library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Fre... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// See instructions how to generate this file in a header of "ba.c"
/* Generated by TAPENADE (INRIA, Ecuador team)
Tapenade 3.14 (r7259) - 18 Jan 2019 09:35
*/
#include <adBuffer.h>
/*
Differentiation of sqsum in reverse (adj... |
/* Copyright (c) 2006-2012, DNSPod Inc.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditi... |
/* $NetBSD: if_bridgevar.h,v 1.4 2003/07/08 07:13:50 itojun Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
* All rights reserved.
*
* Written by <NAME> for Wasabi Systems, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... |
/**
******************************************************************************
* @file queue.c
* @author MCD Application Team
* @brief Queue management
******************************************************************************
* @attention
*
* <h2><center>© Copyright c 2017 ST... |
/*
* tramp-ia64.c: JIT trampoline code for ia64
*
* Authors:
* <NAME> (<EMAIL>)
*
* (C) 2001 Ximian, Inc.
*/
#include <config.h>
#include <glib.h>
#include <mono/metadata/appdomain.h>
#include <mono/metadata/marshal.h>
#include <mono/metadata/tabledefs.h>
#include <mono/metadata/mono-debug-debugger.h>
#inclu... |
/* $NetBSD: conf.c,v 1.6 2002/01/12 13:37:39 manu Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modi... |
#include <ctype.h>
#include <err.h>
#include <getopt.h>
#include "buffer.h"
#include "formats.h"
#include "util.h"
#include "hash_extender_engine.h"
#define NAME "Hash Extender"
#define VERSION "0.02"
#define AUTHOR "<NAME>"
#define EMAIL "<EMAIL>"
/* Define the various options we can set. */
typedef struct {... |
/**
* \file
* \brief simple udp benchmark
*/
/*
* Copyright (c) 2007-11 ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: ... |
/*
* Copyright (c) 2016-present, <NAME>, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may... |
/**
* \file hash_function.c
*
* \brief Hash functions for hash tables.
*
* The canonical implementation for CityHash, Murmur3, and SpookyHash are
* written in C++. The following C versions are derived from the canonical
* implementations. In general, the derivations follow the coding style of the
* canonical im... |
/*
* << Haru Free PDF Library >> -- hpdf_fontdef_type1.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 <NAME> <<EMAIL>>
* Copyright (c) 2007-2009 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without f... |
/*
* EAP peer method: EAP-TNC (Trusted Network Connect)
* Copyright (c) 2007, <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.
*
* Alternatively, this softwar... |
/*
* MP3 demuxer
* Copyright (c) 2003 <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 you... |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... |
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... |
#include <libvex.h>
#include <stddef.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <libvex_guest_arm.h>
#include "pyvex.h"
void remove_noops(
IRSB* irsb
) {
Int noops = 0, i;
Int pos = 0;
for (i = 0; i < irsb->stmts_used; ++i) {
if (irsb->stmts[i]->tag != Ist_NoOp) {
if (i != pos)... |
/** @file
* Copyright (c) 2016-2019, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* 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... |
#include "tft.h"
// Address bit 0 is used for the 'data / command' pin.
// (That's encoded as bit 1 in 16-bit mode)
volatile uint16_t* tft_cmd = ( volatile uint16_t* )0x64000000;
volatile uint16_t* tft_dat = ( volatile uint16_t* )0x64000002;
// Helper method to send initialization commands to the TFT display.
void tf... |
/* Copyright (C) 2014 <NAME> and contributors
*
* 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... |
/* NeuQuant Neural-Net Quantization Algorithm
* ------------------------------------------
*
* Copyright (c) 1994 <NAME>
*
* NEUQUANT Neural-Net quantization algorithm by <NAME>, 1994.
* See "Kohonen neural networks for optimal colour quantization"
* in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 3... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <setjmp.h>
#include <math.h>
#include <errno.h>
#define STACKSIZE 1000000 // evaluation stack
#define FRAMESIZE 10000
#define BLOCKSIZE 100000
#define MAXBLOCKS 200
#define ... |
#include "dbg.h"
#include "lib.h"
#include "drivers/fs/fs_lib.h"
#include "drivers/fs/file_desc.h"
/* File System Partition Status */
#define FS_INVALID 0 /* Did not open */
#define FS_UNRECOG 1 /* Open, but cannot r/w, limited ioctl */
#define FS_VALID 2 /* Open, all operations are available */
#define COPY_BUF(d... |
/*
* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above cop... |
/*
* SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <clksrc.h>
#include <debug.h>
#include <device.h>
#include <init.h>
#include <kso.h>
#include <memory.h>
#include <object.h>
#include <page.h>
#include <processor.h>
#include <secctx.h>
#include <thread.h>
#inc... |
/*******************************************************************************
*
* Copyright (c) 2018 Dragino
*
* http://www.dragino.com
*
*******************************************************************************/
#include <string>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#includ... |
/*
* Routines used by the file-transfer code.
*
* Copyright (C) 1996 <NAME>
* Copyright (C) 1996 <NAME>
* Copyright (C) 2003, 2004, 2005 <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 Fou... |
/*
* Copyright (c) 2012, Thingsquare, www.thingsquare.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:
* 1. Redistributions of source code must retain the above copyright
* notice... |
/**************************************************************************
* File: spells.c Part of tbaMUD *
* Usage: Implementation of "manual spells." *
* *
* All rights re... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 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 ret... |
/*
* blinky.c
*
* Copyright 2014 <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 p... |
/*
* Copyright (c) 2022 The Khronos Group Inc.
* Copyright (c) 2022 Valve Corporation
* Copyright (c) 2022 LunarG, Inc.
*
* 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:/... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017-2018 Intel Corporation
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>
#include <assert.h>
#include <getopt.h>
#include <rte_malloc.h>
#include <rte_cycles.h>
#include <rte_vhost.h>
#include <rte_cryp... |
/*
* Copyright (c) 2015, 2016 Jonas 'Sortie' Termansen.
*
* 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 T... |
/*RGWAPF V0.3*/
/*RICOH GW Arabic Print Filter*/
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <string.h>
#define TRUE 1
char line_buffer[BUFSIZ];
int lineno = 0;
int error_flag = 0;
int numeralshapes;
/*Maps characters from ISO1256 (index) to IBM-864 (value)*/... |
/*
This program makes an grid of values in frequency-vs-wavenumber (f-k) space
as an array response to a plane wave of given velocity and azimuth crossing
the array.
It is meant to assess the beaming sidelobes of a linear array (or a spatial
array transformed to linear in response to a plane propagating wave from a... |
/* File sky2xy.c
* September 25, 2009
* By <NAME>, Harvard-Smithsonian Center for Astrophysics
* Send bug reports to <EMAIL>
Copyright (C) 1996-2009
Smithsonian Astrophysical Observatory, Cambridge, MA USA
This program is free software; you can redistribute it and/or
modify it under the terms of the GN... |
/*
* Copyright (c) 2012 <NAME> <<EMAIL>>
* Copyright (c) 2002 <NAME>
* Copyright (c) 2001 <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... |
/*
* 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "../../include/qisr.h"
#include "../../include/msp_cmn.h"
#include "../../include/msp_errors.h"
#include "speech_recognizer.h"
#define FRAME_LEN 640
#define ... |
/*
* File: main.c
*
* Client side application for Gramado Network Server.
* Using socket to connect with gns.
* AF_GRAMADO family.
*
*
* O propósito é testar o servidor gns.
*
* 2020 - Created by <NAME>.
*/
// Connecting via AF_INET.
// tutorial example taken from.
// https://www.tutoria... |
/*
*
***** BEGIN LICENSE BLOCK *****
Copyright (C) 2009-2016 <NAME> and <NAME>
Copyright (C) 2017-2019 <NAME>
Copyright (C) 2020 <NAME> and Rubicon Communications, LLC(Netgate)
This file is part of CLIXON.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file excep... |
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include "tuya_log.h"
#include "tuya_config_defaults.h"
#include "system_interface.h"
#include "network_interface.h"
#include "transport_interface.h"
#include "core_http_client.h"
#include "core_json.h"
#include "cJSON.h"
#include "aes_inf.... |
/*
* This file is part of libipc (https://github.com/TheCrypt0/libipc).
* Copyright (c) 2019 roleo.
*
* 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, version 3.
*
* This program is distr... |
/*
* 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... |
/*
* 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... |
// MIT License
// 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 rights
// to use, copy, modify... |
/***************************************************************************
Namco System 21 Video Hardware
- sprite Hardware is identical to Namco System NB1
- there are no tilemaps
- polygons are drawn by DSP processors
The main CPUs populate a chunk of shared RAM with an object display list.
The object d... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
* o... |
/*
messages.c
Message management
Copyright (C) 2004 <NAME>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This pro... |
#include "geminc.h"
#include "gemprm.h"
#include "drwids.h"
#include "vgstruct.h"
#include "cascmn.h"
#include "proto_sigavgf.h"
#define CLOUD_LINE 3
#define LMULT 1
#define LDIR 1
#define LSIZE 0.800F
#define LWID 2
#define LENBUF 256
#define MAX_NCTYP 9
#define MAX_NCDIS ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c)... |
/*
This program displays the contents of used inodes on disk using the ext4 FS layout .
This code is written for this file "/home/saisha/Desktop/Ph.D/lustre/mds" in particular.
-------------------info from superblock-------------------------
total no. of blocks : 12800
no. of blocks per group : 32768
hence, total no. ... |
#include "time_utility_c.h"
/*********************************************************************
* http://stjarnhimlen.se/comp/time.html
* http://www.cv.nrao.edu/~rfisher/Ephemerides/times.html
* http://maia.usno.navy.mil/search/search.html
**********************************************************************/... |
#include "token.c"
#include "bigcons.h"
#include "character.h"
#include "clos.h"
#include "common.h"
#include "control.h"
#include "constant.h"
#include "degrade.h"
#include "object.h"
#include "print.h"
#include "package.h"
#include "pathname.h"
#include "ratio.h"
#include "readtable.h"
#include "stream.h"
#include "s... |
/* $Id: rpc_main.c,v 1.4 2006/05/30 00:00:18 dm Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
* media and as a part of the software program in whole or part. Users
* may copy or modify Sun RPC without charge, bu... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bool.h"
#include "fns.h"
#include "global.h"
#include "list.h"
#include "stack.h"
#include "str.h"
#include "var.h"
typedef enum{
FN_NOP, FN_ABS, FN_ACS,
FN_ASN, FN_ATN, FN_BY,
FN_CAT, ... |
#include <stdio.h>
#include <math.h>
#include <pebble.h>
#include "tinymt32.h"
#include "numbers.h"
#define maximum(a,b) a > b ? a : b
#define minimum(a,b) ((a) < (b) ? (a) : (b))
#define NUM_PARTICLES 140
#define COOKIE_ANIMATION_TIMER 1
#define COOKIE_SWARM_TIMER 2
#define COOKIE_DISPERSE_TIMER 3
#define GOAL_DISTAN... |
/*
* Copyright (C) 2009-2013 by
* <NAME> (<EMAIL>, <EMAIL>)
* ... and other members of the Reconstruction Team of <NAME>'s
* lab (BME Dept. UCSC).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... |
// Copyright (c) 1980 The Regents of the University of California.
// This file is free software, distributed under the BSD license.
#include "spirhunt.h"
//----------------------------------------------------------------------
static void long_range_tractor_beam (void);
static void update_galaxy_snapshot (void);
/... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <setjmp.h>
#include <3ds.h>
#include <3ds/services/cam.h>
#include <arpa/inet.h>
#include <sys/dirent.h>
#include <sys/errno.h>
#include <sys/unistd.h>
#include <fcntl.h>
#include <stdbool.h>
#include "drawing.h"
#include "inet_pto... |
/* Copyright (C) 2001-2018 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license ... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*... |
/*!The Graphic Box Library
*
* 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... |
/* $Id: mandoc-db.c,v 1.5 2011/04/04 16:49:03 kristaps Exp $ */
/*
* Copyright (c) 2011 <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 cop... |
//<NAME>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <pthread.h>
int total_files = 0;
int total_bytes = 0;
int total_subdirectories = 0;
pthread_mutex_t locksubdirstats;
... |
/*
* 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.
*/
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <dirent.h>
... |
/*
* -----------------------------------------------------------------
* $Revision: 4924 $
* $Date: 2016-09-19 14:36:05 -0700 (Mon, 19 Sep 2016) $
* -----------------------------------------------------------------
* Programmer(s): <NAME> @ LLNL
* Based on kinsol_spgmr.c
* ------------------------------------... |
/*$Id$*/
/*
(c) 2000-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, or
(at your option) any later version.
This program is distr... |
/**
* gemm.c: This file is part of the PolyBench/GPU 1.0 test suite.
*
*
* Contact: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU
*
* Updated by <NAME> (http://cTuning.org/lab/people/gfursin)
* to work with Collective Mind, OpenME plugin interf... |
/*
* BMx280
* BME280/BMP280 Bosch pressure sensor library
* by <NAME>
* http://github.com/quard/bmx280/
*
*
* MIT License
* 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 ... |
/*
* Copyright 2012 <NAME>
*
* This file is part of Project Ubertooth.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... |
// Copyright <NAME> 2014-2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// IAPWS-IF97 Region 3: low temperature supercritical and metastable region equations
/* ******************... |
/*--------------------------------------------------------------------
* $Id$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by <NAME>, <NAME>,
* <NAME>, <NAME>
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program is free software; you can... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Command to open a browser on a URL */
#define BROWSER "open"
/* Define for any Darwin-based OS. */
#define DARWIN 1
/* Define for Darwin-style shared library names. */
#define DARWIN_DYLIB ""... |
/* ---------------------------------------------------------------- *\
file : auth_md5.c
author : <NAME> <akira at fluxbox dot org>
copyr : copyright (c) 2005 - 2007 by <NAME>
license : based on: openbsd md5.c/h
This code implements the MD5 message-digest algorithm.
The algorithm is due to Ron ... |
/*
* WS281x DMA
* Copyright (c) 2019 <NAME>
*
* A minimal example of using DMA on the PIC18F25K42 to drive WS281x LEDs.
*
* This is a work in progress.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to ... |
// @file drawing.h
// @brief Main drawing code
//
// Contains all the drawing code for this app.
//
// @author <NAME>
// @date August 29, 2015
// @bugs No known bugs
#include <pebble.h>
#include "animation.h"
#include "main.h"
#include "text_render.h"
#include "timer.h"
#include "utility.h"
// Drawing constants
// Pr... |
/* zpgord.f -- translated by f2c (version 20041007).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the e... |
/* Toy widget for GTK+ for displaying MNG animations.
*
* Copyright (C) 2000 The Free Software Foundation
*
* Author(s): <NAME> <vb :at: dwuj.ichf.edu.pl>
*
* This code 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 Fr... |
/******************************************************************************
Copyright (c) 1996 - 2004 -- University of Washington
******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include ".... |
#include <generic/asm.h>
#include <lib/stdlib.h>
#include <lib/string.h>
#include <lib/syscall.h>
#include <modules/fs.h>
#include <modules/hd.h>
#include <modules/tty.h>
ubyte hd_buf_1[512];
struct FAT32_BS {
u8 jmpBoot[3];
uchar OEMName[8];
u16 BytesPerSec;
u8 SecPerClus;
u16 RsvdSecCn... |
#include "drelease.h"
ID_ CFG_ID[] =
"\0@(#) " __FILE__ " $Revision: 1.17 $ $Date: 2012/05/02 11:45:10 $ CFG";
D_REL_IDSTR;
/*
* GETCFG.C - GetConfig() & GetMsg() functions for use with DRAGON & WF
* Extracted from files.c
* ~~ Copyright (C) 1988-2012 <NAME> and <NAME>
*
* All rights are reserved. Copy... |
#include "global.h"
#include "qspi.h"
// Memory section boundaries which are defined in the linker script.
extern uint32_t _sidata, _sdata, _edata, _sbss, _ebss, _siitcm, _sidtcm, _sitcm, _sdtcm, _eitcm, _edtcm, _estack;
// RAM vector table
__attribute__((aligned(0x200)))
__attribute__((section(".dtcm_vars")))
volati... |
/*-
* Copyright (c) 2016 <NAME>, Inc.
* 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 condit... |
// See LICENSE.BU for license details.
// Writes a binary configuration file suitable for use with the
// accelerator. The format can be found in
// `nnsim-hdl/src/include/types.vh`
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <getopt.h>
#include "fann/src/include/fixedfann.h"
#include "tools/sr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.