text stringlengths 7.55k 41.9k |
|---|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// JsonLibTests
//
// Unit tests for JsonLib - RoundTrip
// Tests json round tripping through the parser and writer
//
// This is free and unencumbered software released into the public domain - ... |
/*
* 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.
*/
/* gh2cnA.c
This pulse sequence will allow one to correlate HE, CE, NZ ... |
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <sys/timeb.h>
#include <ctype.h>
#include <termios.h>
#include <unistd.h>
#include <stdarg.h>
#include <sys/select.h>
#define SCREENWIDTH 90
#define FILENAME_LIMIT 80
#define MAX_DOMAIN_LENGTH 100
#define NB_ENABLE 1
#define NB_DISAB... |
/*
* randname.c - random name generation
* Copyright (c) 2007 <NAME> and others,
* Based on W. Sheldon Simms name generator originally in randart.c
*
* This file is distributed under the terms of both the Angband licence and
* under the GPL licence (version 2 or any later version). It may be
* redistrib... |
/** \ingroup rpmcli
* \file lib/rpmrollback.c
*/
#include "system.h"
#include <rpmio.h>
#include <rpmiotypes.h>
#include <rpmcb.h>
#include <argv.h>
#include <rpmtypes.h>
#include <rpmtag.h>
#include <pkgio.h>
#include <rpmdb.h>
#include <rpmds.h>
#include "manifest.h"
#include "misc.h" /* XXX rpmGlob() */
#def... |
/*----------------------------------------------------------------
// //
// boot-loader-ethmac.c //
// //
// This file is part of the Amber project ... |
/**********************************************************************
* Code Generation for ARM v6-M (Cortex-M0)
**********************************************************************/
/* constants */
unsigned buf_size;
/* global variables */
unsigned char *buf;
unsigned code_pos;
unsigned syms_head;
unsigned sta... |
/*
* This file is part of the Palacios Virtual Machine Monitor developed
* by the V3VEE Project with funding from the United States National
* Science Foundation and the Department of Energy.
*
* The V3VEE Project is a joint project between Northwestern University
* and the University of New Mexico. You can ... |
#include "display.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include <stdlib.h>
#if defined TARGET_GLUT
#if defined(__MACH__)
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#include <OpenGL/glext.h>
#else
#include <GL/fre... |
//
// BREthereumMessageP2P.c
// Core
//
// Created by <NAME> on 9/1/18.
// Copyright © 2018-2019 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#include "BREthereumMessageP2... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <math.h>
#include <unistd.h>
#include <limits.h>
#include <sys/time.h>
#include <zlib.h>
#ifdef INTEL_COMPILER
#include "mkl.h"
#else
#include <cblas.h>
#endif
//#define FIBS_UNIT 1000
#define DEFAULT_NDIGITS 10
#define SZBUF 1024... |
#include "mir_task.h"
#include "mir_defines.h"
#include "mir_types.h"
#include "mir_worker.h"
#include "mir_recorder.h"
#include "mir_runtime.h"
#include "scheduling/mir_sched_pol.h"
#include "mir_utils.h"
#include "mir_memory.h"
#include "mir_task_queue.h"
#include "mir_loop.h"
#include "mir_mem_pol.h"
#include <stdi... |
/* Produced by CVXGEN, 2012-08-15 14:08:14 -0700. */
/* CVXGEN is Copyright (C) 2006-2011 <NAME>, <EMAIL>. */
/* The code in this file is Copyright (C) 2006-2011 <NAME>. */
/* CVXGEN, or solvers produced by CVXGEN, cannot be used for commercial */
/* applications without prior written permission from <NAME>. */
/* Fi... |
#include "esphttpd.h"
#include "freertos/FreeRTOS.h"
#include "esp32/sha.h"
#include "esp_system.h"
#include "mbedtls/base64.h"
#include "esp_log.h"
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include <lwip/netdb.h>
#include <arpa... |
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "cd.h"
#include "cd_comd.h"
#include "cd_def_common.h"
#define PRINTON 0
unsigned int preserveSimFlat(cd_handle_t *cdh, uint32_t knob, SimFlat *sim) {
uint32_t size = sizeof(SimFlat);
#ifdef DO_PRV
// Preserve SimFlat object ... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
* File: psgolayp.c
*
* MATLAB Coder version : 3.3
* C/C++ source code generated on : 22-Jan-2019 16:5... |
/* World Magnetic Model (WMM) File processing program. The program can accept
the input parameters from a user specified file. Then WMM program is called
to compute the magnetic fields. The results are then printed to the specified
output file.
The Geomagnetism Library is used in this program. The program expects the ... |
/*-------------------------------------------------------------------------
*
* nbtdedup.c
* Deduplicate items in Postgres btrees.
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* src/bac... |
/*
FreeRTOS V8.2.0 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... |
/******************************************************************************
* Copyright (c) 2019 Lenguaje-Latino, programación con sintaxis al Español. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
... |
/*
* 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.
*/
/* T2D.c
This pulse sequence will allow one to perform the following
... |
/*
* Copyright (C) 2011 Collabora Ltd.
*
* 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 conditions and the
... |
/*
* Copyright 2020 Makani Technologies 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 ... |
/*
* emv-tools - a set of tools to work with EMV family of smart cards
* Copyright (C) 2012, 2015 <NAME>
*
* This 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 Free Software Foundation; either
* version 2.1 of t... |
/*
* Copyright (c) 2010-2012, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this... |
/*************************************************************************//**
*
* Copyright © 2019 AT&T Intellectual Property. All rights reserved.
*
* 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... |
#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... |
// SPDX-License-Identifier: GPL-2.0+
/*
* common.c
*
* common board functions for B&R boards
*
* Copyright (C) 2013 <NAME> <<EMAIL>>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
*/
#include <version.h>
#include <common.h>
#include <environment.h>
#include <errno.h>
#include <as... |
/*
* The Shadow Simulator
* Copyright (c) 2010-2011, <NAME>
* See LICENSE for licensing information
*/
#include <errno.h>
#include <glib.h>
#include <math.h>
#include <netinet/in.h>
#include <poll.h>
#include <pthread.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/select.h>
#include <sys/socket.h>
#inclu... |
#pragma once
#include <libsystem/utils/Slice.h>
//////////////////////////////////////////////////////////////////////////////
//
// TEXTURE BAKING API
//
// If you use this API, you only have to call two functions ever.
//
typedef struct
{
unsigned short x0, y0, x1, y1; // coordinates of bbox in bitmap
floa... |
/**
* @defgroup DRIVERS ata
*
* @brief This file implements the ata driver.
*
* @author <NAME>
* @date 2019
*/
#include <cpu/io.h>
#include <drivers/disk.h>
#include <drivers/pci.h>
#include <errno.h>
#include <kernel.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#include <k... |
/* -*- mode: c; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*********************************************************************
* Clustal Omega - Multiple sequence alignment
*
* Copyright (C) 2010 University College Dublin
*
* Clustal-Omega is free software; you can redistribute it and/or
* ... |
/*
+--------------------------------------------------------------------+
| libmemcached-awesome - C/C++ Client Library for memcached |
+--------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modificatio... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <float.h>
#include <time.h>
#include <omp.h>
#define BUFF_SIZE 16777216 // 16 * 1024 * 1024
#define MAX_FILE_NAME 2048
#define MAX_LINE_LENGTH 131072
#define MAX_WORD_LENGTH 64
#define ALPHA_INIT 0.1
#define MAX_ITER 50
... |
/*
* Copyright (c) 2020 Intel Corporation. All Rights Reserved.
* Copyright (c) 2020 <NAME> <<EMAIL>>
*
* Author: <NAME> <<EMAIL>>
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property ri... |
/*-----------------------------------------------------------------------*/
/* MMC/SDC (in SPI mode) control module (C)ChaN, 2007 */
/*-----------------------------------------------------------------------*/
/* Only rcvr_spi(), xmit_spi(), disk_timerproc() and some macros */
/* are platform ... |
/*
Copyright (c) 2017, Plume Design 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 conditions and the... |
/* ################################################################################## */
/* ### ### */
/* ### sigvel.c ### */
/* ### ... |
/*
stepper.c - stepper motor driver: executes motion plans using stepper motors
Part of Grbl
The MIT License (MIT)
GRBL(tm) - Embedded CNC g-code interpreter and motion-controller
Copyright (c) 2009-2011 <NAME>
Copyright (c) 2011-2012 <NAME>
Permission is hereby granted, free of charge, to any person o... |
/* required for Visual Studio to compile */
#ifdef _MSC_VER
# define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdbool.h>
#include <errno.h>
#include <string.h>
#include <stdint.h>
#ifndef _MSC_VER
# include <fcntl.h>
# include <unistd.h>
# include <sys/reso... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* initbalance.c
*
* This file contains code that computes an initial partitioning
*
* Started 3/4/96
* George
*
* $Id: initbalance.c 10592 2011-07-16 21:17:53Z karypis $
*/
#include <parmetislib.h>
/*********************************************... |
#include "minidns/raft_service.h"
#include <assert.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "database.h"
#include "minidns/protobuf_wrapper.h"
#include "minidns/rpc2.h"
#include "minidns/thread_pool.h"
#include "minidns/utils.h"
#ifndef _WIN32
#include <sys/socket.h>... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
/*
* Architecture-specific setup.
*
* Copyright (C) 1998-2000 Hewlett-Packard Co
* Copyright (C) 1998-2000 <NAME> <<EMAIL>>
*/
#define __KERNEL_SYSCALLS__ /* see <asm/unistd.h> */
#include <linux/config.h>
#include <linux/pm.h>
#include <linux/elf.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <li... |
/*******************************************************************************
*
* demoFtm.c
*
* Simple ftm demo.
*
* <NAME>
*
* Copyright (C) 2012 www.laswick.net
*
* This program is free software. It comes without any warranty, to the extent
* permitted by applicable law. You can redistribute it and/or modify it ... |
#include <stdbool.h>
#include "mpc/mpc.h"
// if compiling in windows, compiling with these functions
#ifdef _WIN32
#include <string.h>
static char buffer[2048];
// fake readline functions
char* readline(char* prompt) {
fputs(prompt, stdout);
fgets(buffer, 2048, stdin);
char* copy = malloc(strlen(buffer)+1... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <unistd.h>
#define MaxV 1500 // Nb. max de sommets
#define SupCar 21 // Nb. max de caracteres pour une etiquette
FILE *FichCar;
FILE *FichClas;
short **TT, *Dg, *Clas, *Kard, *Part, *Q, *PartMax;
int N=0, ... |
/*Norman and Kustas 2 source model */
/* code by <NAME> 2002 */
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <omp.h>
#include <math.h>
#include <gdal.h>
#include <string.h>
#include "tseb_eta.h"
void usage()
{
printf( "-----------------------------------------\n");
printf( "--M... |
/* This is part of the CCR package. Copyright 2020.
Test performance by reading an existing climate data file, and
rewriting some of the data in netCDF/HDF5 with filters. All 2D
(time, ncol) and 3D (time, lve, ncol) float fields are copied.
This requires a sample data file:
20180129.DECKv1b_piControl.n... |
/*
*----------------------------------------------------------------------
* Copyright (C) <NAME>, 2018
*
* 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, inc... |
#define _GNU_SOURCE
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "misc.h"
#include "kernel/calls.h"
#include "kernel/random.h"
#include "kernel/errno.h"
#include "fs/fd.h"
#include "kernel/elf.h"
#include "kernel/vdso.h"
static inline... |
/**
******************************************************************************
* @file Src/modbusrtu.c
* @author <NAME>
* @version V1.0.0
* @date 05-July-2018
* @brief Based on my MODBUS RTU driver, I just dumped the crc and called
* Text based parser to search for MQTT topics. Rec... |
/*******************************************************************************
* Copyright 2016-2019 Intel Corporation.
*
* This software and the related documents are Intel copyrighted materials, and
* your use of them is governed by the express license under which they were
* provided to you (License). ... |
#define _GNU_SOURCE
#include <stdio.h>
#include <libintl.h>
#include <math.h>
#include <poll.h>
#include <stdarg.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <ncurses.h>
#include "error.h"
#include "colors.h"
#include "gen.h"
#include "main.h"
#include "kalman.h"
#ifd... |
/*
* File: fft.c
*
* MATLAB Coder version : 4.3
* C/C++ source code generated on : 14-Oct-2020 16:14:36
*/
/* Include Files */
#include "fft.h"
#include "Embedded_MBSS.h"
#include "Embedded_MBSS_emxutil.h"
#include "rt_nonfinite.h"
#include <math.h>
/* Function Declarations */
static void dobluestein... |
/*
* @file ym_puls.c
* @brief YM-2149 emulator - YM-2149 pulse engine
* @author http://sourceforge.net/users/benjihan
*
* Copyright (c) 1998-2016 <NAME>
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Fr... |
/*
* If not stated otherwise in this file or this component's Licenses.txt file
* the following copyright and licenses apply:
*
* Copyright 2019 RDK Management
*
* 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 ... |
/*
* General DV muxer/demuxer
* Copyright (c) 2003 <NAME>
*
* Many thanks to <NAME> <<EMAIL>> for providing wealth
* of DV technical info.
*
* Raw DV format
* Copyright (c) 2002 <NAME>
*
* 50 Mbps (DVCPRO50) support
* Copyright (c) 2006 <NAME> <<EMAIL>>
*
* This file is part of FFmpeg.
*
* FFmpeg is free... |
/*
* libtcod 1.6.3
* Copyright (c) 2008,2009,2010,2012,2013,2016,2017 Jice & Mingos & rmtew
* 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 retai... |
// See microvium.c for design notes.
#pragma once
#include "stdbool.h"
#include "stdint.h"
#include "assert.h"
#include "string.h"
#include "stdlib.h"
#include "setjmp.h"
#include "microvium.h"
#include "microvium_port.h"
#include "microvium_bytecode.h"
#include "microvium_opcodes.h"
#define MVM_ENGINE_VERSION 2
#de... |
/// \file
/// Functions to maintain link cell structures for fast pair finding.
///
/// In CoMD 1.1, atoms are stored in link cells. Link cells are widely
/// used in classical MD to avoid an O(N^2) search for atoms that
/// interact. Link cells are formed by subdividing the local spatial
/// domain with a Cartesian ... |
#include <hre/config.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include <fdd.h>
#include <hre/user.h>
#include <vset-lib/vdom_object.h>
static int fdd_bits=16;
static int cacheratio=64;
static int maxincrease=1000000;
static int minfreenodes=20;
static const char *fdd_reorder_opt=... |
/*
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FreeJ2ME is distributed in the hope that i... |
#include <sys/types.h>
#include <kernel/fat.h>
#include <kernel/kernutil.h>
#include <kernel/console.h>
#include <kernel/heap.h>
//#include <kernel/list.h>
#include <string.h>
#include <kernel/partition.h>
#include <kernel/vfs.h>
#include <path.h>
#include <sys/errno.h>
#include <kernel/pmm.h>
#include <kernel/time.h>
... |
/*-------------------------------------------------------------------------
*
* buildargv.c
* a routines for parsing string to argc, argv format
*
* Portions Copyright (c) 2017-2021 <NAME>
*
* IDENTIFICATION
* src/buildargv.c
*
*-------------------------------------------------------------------------
*/... |
/*
* art_render_gradient.c: Gradient image source for modular rendering.
*
* Libart_LGPL - library of basic graphic primitives
* Copyright (C) 2000 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as publishe... |
/* $Id: sw-full-ls.c,v 1.16 2009/06/12 21:27:35 rumble Exp $ */
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <zlib.h>
#include <sys/types.h>
#include <sys/sta... |
/* Copyright 2012-2014 AOL Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this Software 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 appl... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h> // for strlen, memset
#include "elecanisms.h"
#include "adafruit_led.h"
#include "i2c_reg.h"
#include "lcd.h"
#include "ajuart.h"
#include "i2c_address_space.h"
#include "bs_headers.h"
#include "master.h"
#define STRIKE1_RLED D0
#define STRIKE1_GLED ... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
#include"STD_Types.h"
/*Speed of the Ecternal clock */
#define EXTERNAL_CLK_SPEED 8000000
/*Speed of the Internal clock */
#define INTERNAL_CLK_SPEED 8000000
#define RCC_STATUS_ON ... |
/*
* 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, merge, publish, distribut... |
/*
* Copyright (c) 2011 Borqs Ltd.
* 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 condition... |
/* Simulator for MIPS R3000 architecture.
THIS SOFTWARE IS NOT COPYRIGHTED
Cygnus offers the following for use in the public domain. Cygnus
makes no warranty with regard to the software or it's performance
and the user accepts the software "AS IS" with all faults.
CYGNUS DISCLAIMS ANY WARRANTIES, EXPR... |
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> (<EMAIL>) at
* Carlstedt Research & Technology.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... |
#include <windows.h>
#include <ntverp.h>
#include <stdio.h>
#include <windef.h>
#include <wchar.h>
typedef FILE *PFILE;
typedef WCHAR *PWCHAR;
typedef USHORT *PUSHORT;
typedef SHORT *PSHORT;
typedef UINT *PUINT;
typedef UCHAR *PUCHAR;
#include <ctype.h>
#include <errno.h>
#include <io.h>... |
/*! @file GraffitiCLI.c
*
* @brief Extract GoPro TAGS from an MP4
*
* @version 0.1
*
* (C) Copyright 2018 OrbisTerrae
*
* Licensed under either:
* - Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0
* - MIT license, http://opensource.org/licenses/MIT
* at your option.
*
* U... |
// SPDX-License-Identifier: GPL-2.0
/*
* Vidtv serves as a reference DVB driver and helps validate the existing APIs
* in the media subsystem. It can also aid developers working on userspace
* applications.
*
* This file contains the code for an AES3 (also known as AES/EBU) encoder.
* It is based on EBU Tech 3250... |
/*
* ALSA parameter test program
*
* Copyright (c) 2007 <NAME> (alsacap at the domain volkerschatz.com)
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all... |
/* $NetBSD: getnetconfig.c,v 1.3 2000/07/06 03:10:34 christos Exp $ */
/*-
* Copyright (c) 2009, Sun Microsystems, 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:
* - Redistributions ... |
#define _GNU_SOURCE
#include <gtk/gtk.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <regex.h>
#include "structs/types.h"
//-Globais-//
GtkWidget *window;
GtkWidget *grid;
GtkEntryBuffer *bufferS;
GtkTextBuffer *bufferConsole, *bufferInput;
GtkWidget *viewC;
GtkListStore *storeCode, *storeHe... |
void glClearIndex( GLfloat c );
void glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
void glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z );
void glTranslated( GLdouble x, GLdouble y, GLdouble z );
void glScaled( GLdouble x, GLdouble y, GLdouble z );
void glLoadMatrixd( const GLd... |
/**************************************************************************
*
* Copyright 2003 T<NAME>, Inc., <NAME>, Texas.
* 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 ... |
/*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* rsDataObjRename.c - rename a data object.
*/
#include "dataObjRename.h"
#include "objMetaOpr.h"
#include "dataObjOpr.h"
#include "collection.h"
#include "res... |
/*************************************
Copyright (c) 2015-2050, JD Smart All rights reserved.
*************************************/
#include <stdio.h>
#include <string.h>
#include "joylink_smnt.h"
#include "joylink_auth_aes.h"
#include "cryptoApi.h"
#ifdef USING_TINY_AES
#include "tiny_aes.h"
#endif
#define STEP_... |
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8... |
/**********************************************************/
/* Serial Bootloader for Atmel megaAVR Controllers */
/* */
/* tested with ATmega644 and ATmega644P */
/* should work with other mega's, see code for details */
/* ... |
/*
* Copyright (c) 2020, SUSE LLC.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
/*
* simple, standalone, and not very fast ed25519 signature verification
* no external libraries... |
/*
* PS2 erom dump files extractor
* copyright (c) 2010-2011 - jimmikaelkael <<EMAIL>>
*
* licensed under WTFPL, please review the LICENSE file for details
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <config.h>
#define PROGRAM_NAME "eromdir"
#define PROGRAM_D... |
/* VirtualBox driver - by <NAME> */
#include <machine/vmparam.h>
#include <minix/drivers.h>
#include <minix/vboxtype.h>
#include <minix/vboxif.h>
#include <assert.h>
#include "vmmdev.h"
#include "proto.h"
#define MAX_CONNS 4 /* maximum number of HGCM connections */
#define MAX_REQS 2 /* number of concurrent requests... |
#include <stdio.h>
#include <dsballegro.h>
#include "objects.h"
#include "global_data.h"
#include "uproto.h"
#include "keyboard.h"
struct dsbkbinfo kbi;
extern int CurrentKey;
extern CRITICAL_SECTION Queue_CS;
extern BITMAP *soft_buffer;
extern struct global_data gd;
extern int windowed;
extern int dynamicswitch;
ex... |
#include <stdint.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#include "mbedtls/sha256.h"
#include "wish_platform.h"
#include "wish_rpc.h"
#include "wish_app.h"
#include "wish_protocol.h"
#include "wish_debug.h"
#include "app_service_ipc.h"
#include "bson.h"
#include "bson_visit... |
//
// uvcCapture.c
// PICS
//
// Created by <NAME> on 02.11.17.
// Copyright © 2017 <NAME>. All rights reserved.
//
#include "uvcCapture.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include "cHelper.h"
#defin... |
/* Forward propagation of expressions for single use variables.
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 ver... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
/**
* Copyright (C) 2011-2012 <NAME>
*
* This 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 Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This ... |
/*
Program Name:
Author(s)/Contact(s):
Abstract:
History Log:
Usage:
Parameters: <Specify typical arguments passed>
Input Files:
<list file names and briefly describe the data they include>
Output Files:
<list file names and briefly describe the information they include>
Condition ... |
/*
TSL2561 for ChibiOS/RT - Copyright (C) 2016 <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 appl... |
#include <libakrypt-internal.h>
#include <libakrypt.h>
typedef ak_uint32 ak_belt_keys[56];
// матрица для преобразования H
const static linear_matrix matrix_h = {
{ 0xB1, 0x94, 0xBA, 0xC8, 0x0A, 0x08, 0xF5, 0x3B, 0x36, 0x6D, 0x00, 0x8E, 0x58, 0x4A, 0x5D, 0xE4 },
{ 0x85, 0x04, 0xFA, 0x9D, 0x1B, 0xB6, 0xC7, 0xAC, 0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.