text stringlengths 5.8k 28.2k |
|---|
// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
/*
* Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <rdma/ib_user_verbs.h>
#include "efa.h"
#define PCI_DEV_ID_EFA_VF 0xefa0
static const struct pci_device_id efa_pci_tbl... |
#include <stdio.h>
#include <string.h>
#include "m_pd.h"
// Pattern types
#define format_LITERAL 1
#define format_MINSLOTTYPE 2
#define format_INT 2
#define format_FLOAT 3
#define format_CHAR 4
#define format_STRING 5
/* Numbers: assuming max 62 digits preceding a decimal point i... |
/*----------------------------------------------------------------------------*/
/* Xymon monitor library. */
/* */
/* This is a library module, part of libxymon. ... |
/***************************************************************************
* Copyright (C) 2012 by <NAME> *
* <NAME> - <EMAIL> *
* *
* Copyright (C) 2011 by Broadcom Corporation ... |
/* PipeWire
*
* Copyright © 2018 <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, pu... |
/*
* Copyright (C) 2016 <NAME> <<EMAIL>>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Test application for the sd-card spi dr... |
#include "common/include/inttypes.h"
#include "common/include/mem.h"
#include "loader/include/lib.h"
#include "loader/include/loader.h"
#include "loader/include/firmware.h"
#include "loader/include/boot.h"
#include "loader/include/arch.h"
#include "loader/include/firmware.h"
/*
* Mac EESC
*/
#define EESC_BASE ... |
/**
* watchdog_fsevents.c: Python-C bridge to the OS X FSEvents API.
*
* Copyright 2010 <NAME> <<EMAIL>>
* Copyright 2011 <NAME> <<EMAIL>>
* Copyright 2012 Google, Inc.
* Copyright 2018 Nuxeo.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <sys/time.h>
#include <omp.h>
int collapse_cluster(FILE *input_fptr, FILE *output_fptr, int rank, int subcircuit_idx, int num_instance, int cluster_circ_size, int **correspondece_map, int num_... |
/*
* OMAP2/3/4 DPLL clock functions
*
* Copyright (C) 2005-2008 Texas Instruments, Inc.
* Copyright (C) 2004-2010 Nokia Corporation
*
* Contacts:
* <NAME> <<EMAIL>>
* <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version... |
/*********************************************************************
*
* ANSI C Example program:
* GraphAcquiredCompactedData.c
*
* Example Category:
* Professional
*
* Description:
* This example reads from binary files created by other DAQmx
* Compressed Streaming examples. It first reads the header fro... |
/*
*
* 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.
*
* INFO: this module implement a dump functionality for the SW State infrastructure layer,
*/
#include <shared... |
#include <pogo.h>
#include "../window.h"
#include "textreader.h"
#include "../users.h"
#define VRAM ((uint16 *)0x06000000)
extern int CurrentUser;
// Offsets for lines of current page
int lines[25];
// Offset for each page in text
static int *pages = (int *)(0x02000000 + 256*1024 - 1024*4);
static... |
/* File: D:\WACKER\tdll\termcpy.c (Created: 24-Jan-1994)
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 2 $
* $Date: 2/05/99 3:21p $
*/
#include <windows.h>
#pragma hdrstop
#include "stdtyp.h"
#include "mc.h"
#include "tdll.h"
#include "tchar.h"
#include... |
/*! \file
*
* \brief Kernel for electron repulsion integrals of gaussian orbitals
*/
/***********************************************************
* The method here is inspired from the test/benchmark code
* from the libint2 package by <NAME>.
*
* See also the tech report
* "Fundamentals of Molecular Integral... |
#include "psrfits.h"
#include "pulse_dm.h"
#include "/home/pulsar_software/pgplot/cpgplot.h"
float max(float a, float b)
{
if ( a < b) return (b);
else return (a);
}
/* ****************************************
* Use pgplot draw a dedispersion picture*
* ****************************************/
/*int draw_dmpic(... |
/* ssl/s23_srvr.c */
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME> (<EMAIL>).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the ... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* pf_channel_drdynvc
*
* Copyright 2022 <NAME> <<EMAIL>>
*
* 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.a... |
#include "common.h"
#include "jksql.h"
#include "hgTracks.h"
#include "rnaPLFoldTrack.h"
/* ------ BEGIN RNAplfold ------ */
/*******************************************************************/
#define RNAPLFOLD_DATA_SHADES 10
/* Declare our color gradients and the the number of colors in them */
Color plShadesPo... |
/* <NAME> : Lab4 */
/* Job Scheduler */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//#include <conio.h>
#undef DEBUG
//#ifndef DEBUG
// #define DEBUG
//#endif
// Data structures
typedef struct {
unsigned int burst;
unsigned int wait;
} cpuTime;
struct process {
char name[10];
cpuTime processTim... |
/*! \file bcmpkt_bpool.c
*
* BCMPKT buffer pool library is to provide simple packet buffer pool solution
* for user to get efficiency. Each pool contains same size buffers. To create a
* buffer pool, the user need to assign buffer size and total buffer number
* supported in this pool.
*
* The user may create one... |
/*********************************************************************************
* Copyright (c) 2012, <NAME> *
* All rights reserved. *
* ... |
/*****************************************************************************
* Made with beer and late nights in California.
*
* (C) Copyright 2017-2020 AND!XOR LLC (https://andnxor.com/).
*
* PROPRIETARY AND CONFIDENTIAL UNTIL AUGUST 11th, 2020 then,
*
* Licensed under the Apache License, Version 2.0 (the "Li... |
//*********************************************************************//
// N-Body Simulation
//
// Author: <NAME>
//
// Imperial College Summer School, July 2012
//
//*********************************************************************//
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
... |
/*
*
* Package : GenCAD Utility Header
* Date : 11/03/19
*
*/
#ifndef __libutil_HEADER_H_
#define __libutil_HEADER_H_
#undef PKGNAME
#undef OKGVERN
#define PKGNAME_UTIL "libutil"
#define PKGVERN_UTIL "V2017.9"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>... |
/*-
* BSD LICENSE
*
* Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* 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 cod... |
/*
* Copyright 1994 by OpenVision Technologies, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appears in all copies and
* that both that copyright notice and this... |
#include <stddef.h>
#include <stdint.h>
#include "kyber512r3_params.h"
#include "kyber512r3_indcpa.h"
#include "kyber512r3_poly.h"
#include "kyber512r3_polyvec.h"
#include "kyber512r3_fips202.h"
#include "kyber512r3_symmetric.h"
#include "pq-crypto/s2n_pq_random.h"
#include "utils/s2n_safety.h"
/**********************... |
/**
** yafcollect.c
** Yet Another Flow IPFIX collector
**
** ------------------------------------------------------------------------
** Copyright (C) 2006-2021 Carnegie Mellon University. All Rights Reserved.
** ------------------------------------------------------------------------
** Authors: <NAME>
** -----------... |
/*-
* Copyright (c) 2009 <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... |
#include "gl.h"
#include "render/render.h"
#include <math.h>
void identity(Transform3x2 dst)
{
dst[0][0] = 1;
dst[0][1] = 0;
dst[0][2] = 0;
dst[1][0] = 0;
dst[1][1] = 1;
dst[1][2] = 0;
}
void mul(Transform3x2 dst, Transform3x2 a, Transform3x2 b)
{
Transform3x2 result;
result[0][0] = a[... |
/*********************************************
* vim:sw=8:ts=8:si:et
* To use the above modeline in vim you must have "set modeline" in your .vimrc
* Author: <NAME>
* Copyright: GPL V2
* http://www.gnu.org/licenses/gpl.html
*
* Based on the enc28j60.c file from the AVRlib library by <NAME>.
* For AVRlib See ht... |
/*! @file codebooks.c
*
* @brief Implementation of the routines for computing the encoding tables from a codebook.
*
* (C) Copyright 2018 GoPro Inc (http://gopro.com/).
*
* Licensed under either:
* - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
* - MIT license, http://opensource.... |
/*
* (C) Copyright 2005- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an int... |
/*
* DBD::mysql - DBI driver for the MySQL database
*
* Copyright (c) 2005 <NAME>
* Copyright (c) 2003 <NAME>
* Copyright (c) 1997-2003 <NAME>
*
* Based on DBD::Oracle; DBD::Oracle is
*
* Copyright (c) 1994,1995 <NAME>
*
* You may distribute this under the terms of either the GNU General... |
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <mpi.h>
#include "tsp.h"
/*******************************************************************************
* tsp_t
* The data that describe an instance of the TSP.
******************************************************************************/
tsp_... |
#define MAX 100
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <time.h>
#include "../include/controller.h"
#include "../include/SGV.h"
#include "../include/view.h"
/* http://cs.ecs.baylor.edu/~donahoo/tools/valgrind/messages.html -> site sobre mensagens do valgrind */
/** ----... |
// license:BSD-3-Clause
// copyright-holders:<NAME>, superctr
/*
c352.c - Namco C352 custom PCM chip emulation
v2.0
By <NAME>
Rewritten and improved by superctr
Additional code by cync and the hoot development team
Thanks to Cap of VivaNonno for info and The_Author for preliminary reverse-engin... |
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: Trog, <NAME>
*
* 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
* p... |
/* -*- mode: c; c-basic-offset: 3 -*- */
/*
* Copyright 1999, 2000 ATI Technologies Inc. and Precision Insight, Inc.,
* Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and a... |
//port of ooPo's ps2sdk math3d library
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "math3d.h"
unsigned long times(void *);
#define cpu_ticks() times(0)
//vector functions
void vector_apply(VECTOR output, VECTOR input0, MATRIX input1)
{
VECTOR work;
work[_X]=input... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/*
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... |
#include <time.h>
#include <stdio.h>
#include <stdbool.h>
#include "include/sqlite3/sqlite3.h"
#include <celib/memory/allocator.h>
#include <celib/log.h>
#include <celib/memory/memory.h>
#include <cetech/kernel/kernel.h>
#include <celib/id.h>
#include <celib/module.h>
#include <celib/api.h>
#include <celib/cdb.h>
#i... |
/* Custom space-pong library's header file */
#include "pong_lib.h"
/* PBM765 allowed libraries */
#include <sys/socket.h>
#include <arpa/inet.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <netdb.h>
#include <stdlib.h>
#include <GL/glut.h>
/* Default connection parameters *... |
/* GStreamer
* Copyright (C) 2007 Nokia Corporation (contact <<EMAIL>>)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... |
/*
* Copyright (C) 2020 Semihalf
* Author: <NAME> <<EMAIL>>
*
* 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... |
/*
** STUNClient
*/
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <inttypes.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
/* #include <netinet/ip6.h> */
/* #include <netinet/icmp6.h> */
#include <arpa/inet.h>... |
/*
* 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... |
/*******************************************************************************
WILC1000 Wireless Driver Main Task
File Name:
wilc1000_task.c
Summary:
Entry point of WILC1000 core driver.
Description:
Entry point of WILC1000 core driver.
*********************************************************... |
#include <gui.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tty.h>
static inline void syscall(unsigned int syscall_num) { asm volatile("mov %0,%%eax;int $0x80" ::"r"(syscall_num)); }
char file[1024 * 32]; // Reserve 32KiB for file. That is max size.
char lines[2048][1024]; // File... |
/*
* Copyright (c) 2005-2011 Imperas Software Ltd., www.imperas.com
*
* YOUR ACCESS TO THE INFORMATION IN THIS MODEL IS CONDITIONAL
* UPON YOUR ACCEPTANCE THAT YOU WILL NOT USE OR PERMIT OTHERS
* TO USE THE INFORMATION FOR THE PURPOSES OF DETERMINING WHETHER
* IMPLEMENTATIONS OF THE ARM ARCHITECTURE INFRINGE ANY ... |
#include "combat.h"
#include "item.h"
#include "gpl.h"
#include "entity.h"
#include "gff.h"
#include "rules.h"
#include "port.h"
#include "gfftypes.h"
#include "gff-map.h"
#include "region-manager.h"
#include <string.h>
extern char *strdup(const char *s); // Not in standard.
static void apply_combat(dude_t *dude, ds1... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h> /* needed for time() function */
#include <unistd.h> /* needed for getpid() function */
#define thisprog "xe-makedata1"
#define TITLE_STRING thisprog" v 11: 23.January.2017 [JRH]"
#define MAXLINELEN 1000
#define MAXLABELS ... |
/**
* 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 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, distribute, sublicense,... |
#include "ch.h"
#include "temp_control.h"
#include "sensor.h"
#include "common.h"
#include "message.h"
#include "app_cfg.h"
#include "temp_profile.h"
#include "pid.h"
#include "board.h"
#include <stdlib.h>
typedef enum {
TC_IDLE,
TC_ACTIVE,
TC_SENSOR_TIMED_OUT
} temp_controller_state_t;
s... |
/* Id: man_macro.c,v 1.144 2019/01/05 18:59:46 schwarze Exp */
/*
* Copyright (c) 2008, 2009, 2010, 2011 <NAME> <<EMAIL>>
* Copyright (c) 2012-2015, 2017-2019 <NAME> <<EMAIL>>
* Copyright (c) 2013 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without... |
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <<EMAIL>> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a be... |
/*
* Reading a date in string format
* Copyright (c) 2001-2005 Pertimm by <NAME>
* Dev : July 2001, February 2004, April 2005
* Version 1.2
*/
#include <loggen.h>
static int GetMonthNumber(int, char *);
static int GetZoneDifferential(int, char *, int *);
/*
* RFC 2616:
* HTTP applicati... |
/*
* Http put/get mini lib
* written by <NAME>
* (c) 1998 <NAME> - http://www.demailly.com/~dl/
* (c) 1996 Observatoire de Paris - Meudon - France
* see LICENSE for terms, conditions and DISCLAIMER OF ALL WARRANTIES
*
* $Id: http_lib.c,v 3.5 1998/09/23 06:19:15 dl Exp $
*
* Description : Use http protoco... |
/* PEKAT VISION api */
/* */
/* A .NET module for communication with PEKAT VISION 3.10.2 and higher */
/* */
/* Author: <EMAIL> ... |
/*
* OpenBOR - http://www.LavaLit.com
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in OpenBOR root for details.
*
* Copyright (c) 2004 - 2011 OpenBOR Team
*/
#include <SDL/SDL_framerate.h>
#include <math.h>
#include "types.h"
#include "vi... |
/*
Copyright 2017 UL TS B.V. The Netherlands
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, publis... |
// TerraPresets
#include "TerraPresets.h"
#include <assert.h>
TerraFloat3 terra_fresnel ( const TerraFloat3* F_0, const TerraFloat3* view, const TerraFloat3* half_vector ) {
float VoH = terra_maxf ( 0.f, terra_dotf3 ( view, half_vector ) );
TerraFloat3 a = terra_f3_set ( 1 - F_0->x, 1 - F_0->y, 1 - F_0->z );
... |
/*
hny_extraction_cpio.c
Copyright (c) 2018, <NAME>
This file is part of the honey package manager
subject the BSD 3-Clause License, see LICENSE
*/
#include "hny_extraction_cpio.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cpio.h>
#include <errn... |
/* main.c */
#include <string.h>
#include <math.h>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "debug.h"
#include "gl_error.h"
#include "matrix.h"
#include "shader.h"
#include "model.h"
#include "dir.h"
#include "mouse_camera.h"
#include "key_camera.h"
#define WINDOW_WIDTH 1024
#define WINDOW_HEIGHT 8... |
// Should print 63C0AB20EB2F30CB9F93AF2BA092C732
#include <stdlib.h>
#include <stdio.h>
#include <x86intrin.h>
#include <stdint.h>
void print128hex (const __m128i v) {
uint8_t a[16];
_mm_store_si128 ((__m128i*)a, v);
for (int i = 0; i < 16; i++)
printf("%02X",a[i]);
puts("");
}
void print64bin (const u... |
/*
* Copyright (c) 2019-2020 Arm Limited. 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
*
* www.apache.org/licenses/LICEN... |
/*! \file bcmltm_ha_state_upgrade.c
*
* Logical Table Manager
*/
/*
* 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.
*/
#include <sal/sal_libc.h>
#include <shr/shr_deb... |
/*
* Simplified BSD License
*
* Copyright (c) 2017, <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:
*
* o Redistributions of source code must retain the abov... |
/*
========================================================================
D O O M R e t r o
The classic, refined DOOM source port. For Windows PC.
========================================================================
Copyright © 1993-2012 id Software LLC, a ZeniMax Media c... |
//
// Created by zoomo on 16.07.2021.
//
#define _XOPEN_SOURCE 600
#define _DEFAULT_SOURCE
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <string.h>
#include <tty.h>
#include <tools.h>
//https://stackoverflow.com/... |
/*
* linux/drivers/s390/scsi/zfcp_qdio.c
*
* FCP adapter driver for IBM eServer zSeries
*
* QDIO related routines
*
* Copyright (C) 2003 IBM Entwicklung GmbH, IBM Corporation
* Authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* This program is free... |
/* 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... |
/**
******************************************************************************
* @file usart.c
* @brief This file provides code for the configuration
* of the USART instances.
******************************************************************************
* @attention
*
* <h2><center>&c... |
/* mlfs file system interface
*
* Implement file-based operations with file descriptor and
* struct file.
*/
#include "mlfs/mlfs_user.h"
#include "global/global.h"
#include "global/util.h"
#include "filesystem/file.h"
#include "log/log.h"
#include "concurrency/synchronization.h"
#if MLFS_LEASE
#include "experiment... |
/*
* sfnedit/uiglyph.c
*
* Copyright (C) 2020 bzt (<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, co... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2017 <NAME> for Adafruit Industries
* SPDX-FileCopyrightText: Copyright (c) 2016 <NAME>
* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a ... |
/**
******************************************************************************
* @file can_if.c
* @author <NAME>
* @version 0.1
* @date 2018-05-31
* @brief CanDybug USB interface
*
* Copyright (c) 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
... |
/* S U 2 - G . C
*/
/** @file su2-g.c
*
* Converting su2 mesh format into BRL-CAD .g binary format
* Based on stl-g.c file
*
*/
#include "common.h"
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "bnetwork.h"
#include "bio.h"
#i... |
/* -*- C -*-
* main.c -- the bare scullv char module
*
* Copyright (C) 2001 <NAME> and <NAME>
* Copyright (C) 2001 O'Reilly & Associates
*
* The source code in this file can be freely used, adapted,
* and redistributed in source or binary form, so long as an
* acknowledgment appears in derived source files. Th... |
/*
* Copyright (c) 2022, <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 conditio... |
/*
* simh sim_video support for XY display simulator
* <NAME> <<EMAIL>>
* January 2016
* Based on win32.c module by <NAME>
*/
/*
* Copyright (c) 2016, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "... |
#include "gc.h"
#include "desc-tab.h"
#include <ctype.h>
/*
* Tree pattern-matching algorithm,
* based on the one described in the SICP video
* about pattern-matching ("4A: Pattern Matching and
* Rule-based Substitution").
*
* The nasty extensions are not from SICP.
*/
#include "tree.h"
extern void write_tre... |
/*
* S6D0154X.h
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (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/lice... |
// REQUIRES: aarch64-registered-target
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +neon \
// RUN: -ffp-contract=fast -S -O3 -o - %s | FileCheck %s
// Test new aarch64 intrinsics and types
#include <arm_neon.h>
float32_t test_vmuls_lane_f32(float32_t a, float32x2_t b) {
// CHECK: test_vmul... |
/*
* $RISS: if_arl/arlconfig/arlconfig.c,v 1.5 2004/03/16 05:00:21 count Exp $
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/usr.sbin/arlcontrol/arlcontrol.c,v 1.4 2005/05/20 12:44:04 charnier Exp $");
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/ether... |
/*
* 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, modify, merge, publish, dis... |
/*
*++
* listings.c - Output handling for listings
*
* This module implements compiler listing output,
* including tracing, assembly listings, etc.
*
* Copyright © 2012, <NAME>.
* All rights reserved.
* Distributed under license. See LICENSE.TXT for details.
*--
*/
#include <stdio.h>
#include "blissc/listin... |
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "cgns_io.h"
#include "getargs.h"
#ifndef CGNSTYPES_H
# define cgsize_t int
#endif
static int nocase = 0;
static int nospace = 0;
static int quiet = 0;
static int follow_links = 0;
static int recurse = 0;
static i... |
/*
* Copyright (C) 1985-1992 New York University
*
* This file is part of the Ada/Ed-C system. See the Ada/Ed README file for
* warranty (none) and distribution info and also the GNU General Public
* License for more details.
*/
/* pack.c: translation of pack.stl */
#define GEN
#include "hdr.h"
#include "li... |
/*
* (C) Copyright 2005- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an int... |
/* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2010, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source and... |
/**********************************************************************************************************
天穹飞控 —— 致力于打造中国最好的多旋翼开源飞控
Github: github.com/loveuav/BlueSkyFlightControl
技术讨论:bbs.loveuav.com/forum-68-1.html
* @文... |
/*! \file stepper.c
\brief Tarea, timers, y funciones asociado al control
de los motores paso a paso.
\author <NAME>
\version 1.0
\date Julio 2020
*/
/* Utilidades includes */
#include <stdlib.h>
#include <string.h>
/* EDU-CIAA firmware_v3 includes */
#include "sapi.h"
/* Aplicación includes */
#... |
/*******************************************************************
COPYRIGHT NOTIFICATION
********************************************************************
Copyright © 2021, UChicago Argonne, LLC
All Rights Reserved
Software Name: ENPEP- Balance
By: Argonne National Laboratory
OPEN SOURCE LICENSE
... |
/* unixSerialPort2Ops.c -- Scratch operations for unix based OSes. Support
* for SerialPort2 primitives under Unix, including OSX and Linux.
*
*
* Copyright (C) 2011 Massachusetts Institute of Technology
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
... |
/******************************************************************************
*
* Copyright (C) 2018 Xilinx, 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 the So... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.