text stringlengths 7.55k 41.9k |
|---|
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
//#include "common.h"
#include "wifi_mgmr_ext.h"
#include <hal/base.h>
#include <hal/wifi.h>
#include <k_api.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <blog.h>
#include "wifi_mgmr.h"
typedef enum {
SCAN_NORMAL,
SCAN_ADV
}... |
/*
Copyright (C) 2020. <NAME> <<EMAIL>>
Copyright (C) 2020. <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.
T... |
/*******************************************************************************
* PRIMME PReconditioned Iterative MultiMethod Eigensolver
* Copyright (C) 2015 College of William & Mary,
* <NAME>, <NAME>, <NAME>, <NAME>
*
* This file is part of PRIMME.
*
* PRIMME is free software; you can redistribute ... |
/* pdp11_dl.c: PDP-11 multiple terminal interface simulator
Copyright (c) 1993-2012, <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 withou... |
/*
* Copyright 2017 International Business Machines
*
* 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 applicab... |
#include "main.h"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "lwrb/lwrb.h"
/* System private function */
void SystemClock_Config(void);
static void SystemPower_Config(void);
/* USART related functions */
void usart_init(void);
void usart_rx_check(void);
void usart_process_data(const void* da... |
#include "f2c.h"
#include "blaswrap.h"
/* Common Block Declarations */
struct {
integer infot, nunit;
logical ok, lerr;
} infoc_;
#define infoc_1 infoc_
struct {
char srnamt[6];
} srnamc_;
#define srnamc_1 srnamc_
/* Table of constant values */
static integer c__2 = 2;
static integer c__0 = 0;
static... |
/*
* Copyright (c) 2010 Broadcom Corporation
*
* 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 copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... |
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2007-2009 <NAME>
* (C) Copyright 2003 Xilinx Inc.
*
* <NAME> <<EMAIL>>
*/
#include <common.h>
#include <log.h>
#include <net.h>
#include <config.h>
#include <dm.h>
#include <console.h>
#include <malloc.h>
#include <asm/global_data.h>
#include <asm/io.h>
#inc... |
#include "common.h"
int lock_file(char *filename)
{
int fd;
if (!filename)
return -1;
if ((fd = open(filename,O_RDONLY | O_CREAT , S_IRWXU)) < 0) {
print_error("lock_file","open",modsec_rpc_log_file,errno);
return -1;
}
flock(fd,LOCK_EX);
return fd;
}
int unlock_file(int fd)
{
flock(fd,LOCK_UN);
ret... |
/*
* 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... |
/*
* CGlib
*
* A Low-Level GPU Graphics and Utilities API
*
* Copyright (C) 2009,2010,2011 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction... |
#include "lcd_edp_anx6345.h"
#include "panels.h"
static void LCD_power_on(__u32 sel);
static void LCD_power_off(__u32 sel);
static void LCD_bl_open(__u32 sel);
static void LCD_bl_close(__u32 sel);
static void LCD_panel_init(__u32 sel);
static void LCD_panel_exit(__u32 sel);
#define LCD_RESET(v) (LCD_GPIO_write(0, 0... |
/* AUTORIGHTS
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along... |
/*
* Copyright(c) 2019 Netflix, Inc.
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE fi... |
/*
* Copyright (C) 2000-2007 <NAME>, <NAME> and various contributors
* Copyright (C) 2007-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 wi... |
#include "vao.h"
#include "../de_struct.h"
void dvao_free(dvao* vao){
if( !vao ) return;
if( vao->ref ){ vao->ref--; return; }
for( int i = 0; i < vao->vaps->num_buffers; i++){
dvbo_free(vao->vbos[i]);
darr_free(vao->vertex_data[i]);
}
free(vao->vbos);
free(vao->vertex_data);
free(vao->format);
dvaps_fre... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
ZEsarUX ZX Second-Emulator And Released for UniX
Copyright (C) 2013 <NAME>
This file is part of ZEsarUX.
ZEsarUX 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 th... |
/* Copyright (c) 2020, Samsung Electronics Co., 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 ... |
/* functions for comparing an aligned sequence read to the set of variants to identify alleles and haplotype-informative reads */
#include "nw.c"
#include <assert.h>
#include <stdlib.h>
int MINLEN= 10;
int COMPLEXITY_K = 5; // anchor sequences must have unique kmers of this length
// find the variants that are covere... |
/*
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#include "param.h"
#include "signalvar.h"
#include "systm.h"
#include "user.h"
#include "proc.h"
#include "vm.h"
#in... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/i128/i128accel.c,v 1.7 2000/12/06 01:07:34 robin Exp $ */
/*
* Copyright 1997-2000 by <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* ... |
/**************************************************************
*
* IOKit support for the Darwin X Server
*
* HISTORY:
* Original port to Mac OS X Server by <NAME>
* Port to Darwin 1.0 by <NAME>
* Significantly rewritten for XFree86 4.0.1 by <NAME>
*
************************************************************... |
#include <u.h>
#include <libc.h>
# include "stdio.h"
# include "defines.h"
# include "object.h"
# include "operator.h"
struct oobject Op_tab[] = {
{OB_OPERATOR, XA_EXECUTABLE, trapOP},
{OB_OPERATOR, XA_EXECUTABLE, showOP},
{OB_OPERATOR, XA_EXECUTABLE, movetoOP},
{OB_OPERATOR, XA_EXECUTABLE, transformOP},
{OB_OPERATOR,... |
#include "np.h"
#include "main.h"
#include "argv.h"
#include "memory.h"
#include "utf8.h"
#include "module_categorical.h"
#include "module_lde.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <gsl/gsl_sf.h>
#include "gslsupp.h"
#include "sort.h"
#ifndef TEST_DEACTIVATE
# ... |
/*-------------- Telecommunications & Signal Processing Lab ---------------
McGill University
Routine:
CopyAudio [options] AFileA AFileB ... AFileO
Purpose:
Copy audio files (combine/concatenate, scale and shift data)
Description:
This program copies samples from one or more input ... |
/********************************************************************
* *
* THIS FILE IS PART OF THE Ogg CONTAINER SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
#include "include.h"
#include <stdio.h>
#include <string.h>
#include <lwip/inet.h>
#include "netif/etharp.h"
#include "lwip/netif.h"
#include <lwip/netifapi.h>
#include <lwip/tcpip.h>
#include <lwip/dns.h>
#include <lwip/dhcp.h>
#include "lwip/prot/dhcp.h"
#include <lwip/sockets.h>
#include "ethernetif.h"
#include... |
/* Copyright (c) 2016 <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... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* DRA752 thermal data.
*
* Copyright (C) 2013 Texas Instruments Inc.
* Contact:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* This file is partially autogenerated.
*/
#include "ti-thermal.h"
#include "ti-bandgap.h"
#include "dra752-bandgap.h"
/*
* DRA752 has five inst... |
/* Copyright (c) 2002-2007 <NAME>
Copyright (c) 2007-2009 Xiph.Org Foundation
Copyright (c) 2008-2009 <NAME>
File: celtenc.c
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of sour... |
/**************************************************************************
*
* Copyright 2007 VMware, Inc.
* Copyright 2012 <NAME> <<EMAIL>>
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Sof... |
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
/* System Headers */
#include <stdlib.h> /* for malloc/free/etc */
#include <stdio.h> /* for printf() */
#include <unistd.h> /* for getpagesize() */
/* Qthreads Headers */
#include <qthread/qthread.h> /* for qthread_incr() and qthread_cas() */
#include <qthread/qpool.... |
/* Copyright (c) 2013-2015 <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... |
/*
* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... |
/* $OpenBSD: blambert $ */
/* $NetBSD: nsclpcsio_isa.c,v 1.5 2002/10/22 16:18:26 drochner Exp $ */
/*
* Copyright (c) 2002 <NAME>. All rights reserved.
* Copyright (c) 2004 <NAME>. All rights reserved.
* Copyright (c) 2004 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with... |
/*
Copyright (c) 2019-21 <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, distribu... |
#include <math.h>
#include "mech.h"
#include "mech.events.h"
#include "p.mech.utils.h"
#include "p.mech.combat.h"
#include "p.mech.los.h"
#include "p.mech.update.h"
#include "p.crit.h"
#include "p.btechstats.h"
#include "p.bsuit.h"
/* 2 battlesuit-specific attacks:
- attackleg
- swarm
*/
#def... |
#include <tistdtypes.h>
#include <coecsl.h>
#include "user_includes.h"
#include "math.h"
// These two offsets are only used in the main file user_CRSRobot.c
// You just need to create them here and find the correct offset and then these offset will adjust the encoder readings
float offset_Enc2_rad = -0.3834; ... |
/*
* Copyright (C) 2005 <NAME> <fabiany at gmx.net>
* Copyright (C) 2004 <NAME> <sasha at aftercode.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, ... |
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <unistd.h>
#include <math.h>
#include "lightcurves.h"
#include "cvtunit.h"
#include "util.h"
int lightcurves (struct buffer_info *buf, struct lc_mef *mefinfo,
int norenorm, int noastr... |
/* Copyright 2013 <NAME> <<EMAIL>>, see COPYING for license */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_ext.h>
#include "gss_ntlmssp.h"
static int hex_to_key(const char *hex, struct ntlm_key *key)
{
size_t len = strlen(hex);... |
/*-
* Copyright (c) 2016 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int8_t x43 = 3;
uint64_t t1 = 108652370009LLU;
volatile int32_t t2 = 12857;
int32_t x198 = 9035673;
static int... |
/*
* datalogger.c - 2016 <NAME> <<EMAIL>>
*
* NOIE: Being a child process to daemon, this MUST user _exit()
* (instead of exit()) in order to avoid calling atexit()
* registered functions!
*
* Portion that actually retrieves and stores line data from the modem.
* Also known as "worker" or... |
/******************************************************************************
*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
... |
#include <stdio.h>
#include <string.h>
#include "debug.h"
#include "records.h"
#include "context.h"
#include "memory.h"
#ifndef DEBUG_DATABASE
#undef DEBUG_PRINT
#define DEBUG_PRINT(...)
#endif
char
database_ptbl_get(
Context_main *ctx_main,
Record_database *rec_database,
int bucket
) {
DEBUG... |
/*******************************************************************************
Copyright(c) 1999 - 2003 Intel Corporation. All rights reserved.
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 F... |
// MIT License
// Copyright (c) 2021 <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, p... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/msg.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <netdb.h>
#include <gtk/gtk.h>
#include <glib.h>
#inc... |
/*
* kmscon - Configuration Parser
*
* Copyright (c) 2012 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction, including
* without limitation the ri... |
/* $NetBSD: mdtest.c,v 1.1.1.2 2014/04/24 12:45:30 pettai Exp $ */
/*
* Copyright (c) 1995 - 2002 <NAME>
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... |
#if !defined(FALSE)
#define FALSE 0
#endif
#if !defined(TRUE)
#define TRUE 1
#endif
#define NEWENTY -1
#define HCCAPX_SIGNATURE 0x58504348
#define HCCAPX_VERSION 4
#define MAC_SIZE_ACK (10)
#define MAC_SIZE_RTS (16)
#define MAC_SIZE_NORM (24)
#define MAC_SIZE_QOS (26)
#define MAC_SIZE_LONG (30)
#define MAC_TYPE_M... |
/*-------------------------------------------------------------------------
*
* menu.c
* holds menu related code
*
* Portions Copyright (c) 2017-2021 <NAME>
*
* IDENTIFICATION
* src/menu.c
*
*-------------------------------------------------------------------------
*/
#include <stdbool.h>
#include "pspg... |
/********************************************************************************
pbrt source code is Copyright(c) 1998-2015
<NAME>, <NAME>, and <NAME>.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condit... |
/************************************************************
Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all ... |
/*
Copyright (c) 1995 - 2006 Cycorp, Inc. All rights reserved.
file: doom3.c
created: 2006/06/05 11:36:07
source file: CynD
*/
#include "rtl.h"
#ifdef CYCL_PROFILING
#define CynD_PROFILING
#endif
#ifdef CynD_PROFILING
#define PROFILING
#endif
#include "code-flow-hooks.h"
/* referenced gl... |
/* Exercise mpz_*_kronecker_*() and mpz_jacobi() functions.
Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as pu... |
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2020 The Pybricks Authors
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <pbio/math.h>
#include <pbio/trajectory.h>
static int64_t as_mcount(int32_t count, int32_t count_ext) {
return ((int64_t)count) * 1000 + count_... |
/**
* @file
*
* @author <EMAIL>
*
* Copyright (c) 2015 Battelle Memorial Institute.
*/
#include "config.h"
#include <stdlib.h>
#include "parasail.h"
#include "parasail/memory.h"
#include "parasail/internal_neon.h"
#ifdef PARASAIL_TABLE
static inline void arr_store_si128(
int *array,
simde__... |
#define DEV_PATH_NAME_LEN 16
#define FILE_PATH_NAME_LEN 3
#ifndef QEMU
#define FILE_RECT_START_X 10
#define FILE_RECT_START_Y 20
#else
#define FILE_RECT_START_X 90
#define FILE_RECT_START_Y 80
#endif /* QEMU */
#define RECT_WIDTH_PER_CH 12
#define FILE_RECT_HEIGHT 20
#define FILE_MARGIN_WIDTH 7
#define WAIT_MOUSE_POL... |
/*C
(c) 2005 bl<EMAIL>
**/
#include "conf.h"
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "mp3.h"
#include "bv.h"
/*@-boolops@*/
/*M
\emph{Read the MP3 frame side information.}
**/
int mp3_read_si(mp3_frame_t *frame) {
assert(f... |
/******************************************************************************
* *
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... |
/* Copyright 2014-2018 The PySCF Developers. 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 License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requi... |
///////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT NOTICE
//
// The following open source license statement does not apply to any
// entity in the Exception List published by FMSoft.
//
// For more information, please visit:
//
// https://www.fmsoft.... |
/*
* RAW sockets for IPv6
* Linux INET6 implementation
*
* Authors:
* <NAME> <<EMAIL>>
*
* Adapted from linux/net/ipv4/raw.c
*
* $Id: raw.c,v 1.42 2000/11/28 13:38:38 davem Exp $
*
* Fixes:
* Hideaki YOSHIFUJI : sin6_scope_id support
*
* This program is free software; you can redistribute it and/or
* ... |
/* nvstusb.c
* Copyright (C) 2010 <NAME>
* Copyright (C) 2010 <NAME>
*
* This program comes with ABSOLUTELY NO WARRANTY.
* This is free software, and you are welcome to redistribute it
* under certain conditions. See the file COPYING for details
* */
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#... |
#include <stdio.h>
unsigned int mem[] = {
0x121f1e1f, 0, 3, -1,
0x232f2e2f, 0x242c2b2b, 0x252a2e2b, 0x262d2d2a,
0x3f343f3e, 0x3e353d3c, 0x363a3c3b, 0x3b373b3a,
0x454f4e45, 0x4e464d46, 0x474d474c, 0x4a484a4c
};
unsigned int mem1[] = {
0, 0, 0, 0,
0, 0, 0, 0,
0xffffffff, 0, 0, 0,
0, 0, 0, 0
};
... |
//#include "lcd_hd44780.h"
//#include "pin.h"
//#include "tick.h"
#include "macro.h"
#include "intrinsics.h"
#include "spi_flash.h"
//#include <libprintf/printf.h>
#include <libopencm3/cm3/cortex.h>
#include <libopencm3/cm3/nvic.h>
#include <libopencm3/stm32/gpio.h>
//#include <libopencm3/stm32/flash.h>
#include <libo... |
// Copyright(c) 2017-2019, Intel Corporation
//
// 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 ... |
/* functions for comparing an aligned sequence read to the set of variants to identify alleles and haplotype-informative reads */
#include "hapfragments.h"
// only for comparing read to SNP (or block substitution with multiple SNPs that don't change length of haplotype)
int compare_read_SNP(struct alignedread* read,... |
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2008 The University of Tennessee and The University
* of Tennessee Resea... |
/*!
\file
\brief A parallel SGD matrix -factorization program using 2D distribution of
the matrix
\date Started 6/1/2013
\author George
*/
#define _LARGEFILE64_SOURCE
#include <GKlib.h>
#include <bdmpi.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys... |
#include "p7_config.h"
/* SIMD-vectorized acceleration filters, local only: */
#include "dp_vector/msvfilter.h" // MSV/SSV primary acceleration filter
#include "dp_vector/vitfilter.h" // Viterbi secondary acceleration filter
#include "dp_vector/fwdfilter.h" // Sparsification w/ checkpointed ... |
#include "PVCJPEGDecode.h"
uchar* GetImage(Context* ctx){
return (ctx->compNum == 1) ? ctx->comp[0].pixels : ctx->rgb;
}
int GetWidth(Context* ctx){
return ctx->width;
}
int GetHeight(Context* ctx){
return ctx->height;
}
uint GetImageSize(Context* ctx){
return ctx->width * ctx->height * ctx->compNu... |
/**********************************************************************
Copyright(c) 2011-2017 Intel Corporation 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 co... |
/***
*ifstrip.c - Ifdef stripping tool
*
* Copyright (c) 1988-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Strip in/out conditional code from sources.
* Refer to ifstrip.doc for more information.
*
*Revision History:
* ??-??-88 PHG Initial version
* 05-10-90 JCR Accept .cxx/.hxx files, ... |
/*
******************************************************************************
File: main.c
Info: Generated by Atollic TrueSTUDIO(R) 9.0.0 2020-02-01
The MIT License (MIT)
Copyright (c) 2018 STMicroelectronics
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software a... |
/*
*
* WKTRaster - Raster Types for PostGIS
* http://trac.osgeo.org/postgis/wiki/WKTRaster
*
* Copyright (C) 2011-2013 Regents of the University of California
* <<EMAIL>>
* Copyright (C) 2010-2011 <NAME> <<EMAIL>>
* Copyright (C) 2010-2011 <NAME> <<EMAIL>>
* Copyright (C) 2009-2011 <NAME> <<EMAIL>>
* Copyri... |
/*-------------------------------------------------------------------------
*
* checkpoint.c
*
* The checkpoint server process handles periodically doing checkpoints and regular checkpoint
* requests. Previously, the background writer use to do this duty. But we ended up with
* a deadlock with the new FileRep f... |
/**
* @file process58.c
* @brief process58 probe
* @author "<NAME>" <<EMAIL>>
*
* 2010/06/13 <EMAIL>
* This probe is able to process58 an process58_object as defined in OVAL 5.4 and 5.5.
*
*/
/*
* Copyright 2009-2011 Red Hat Inc., Durham, North Carolina.
* All Rights Reserved.
*
* This library is free ... |
/*
* Copyright (C) 2000-2012 Free Software Foundation, Inc.
*
* Author: <NAME>
*
* This file is part of GnuTLS.
*
* The GnuTLS 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... |
/*
todo:
- add WACHDOG timer;
- add and check stepper_y;
*/
#include "main.h"
int main()
{
RCC_INIT();
GPIO_INIT();
ADC_INIT();
TIM_INIT();
EXTI_INIT();
__enable_irq ();
ADC1->CR |= ADC_CR_ADSTART; // Start conversion
TIM2->CR1 |= TIM_CR1_CEN; // Hall inpu... |
//
// cdfs.c
//
// ISO-9660 CD-ROM Filesystem
//
// Copyright (C) 2002 <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 cop... |
/*
* Copyright (c) 2014-2020 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include "ompi/mca/pml/pml.h"
#inc... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <io.h>//for Linux, changing for <unistd.h>
#include "SFD_Muxer_Error.h"
#include "MPEG_block_print.h"
#include "Sofdec_block_print.h"
#include "file_feature_read.h"
#include "KMP_search.h"
void overwrite_question(char *f... |
/*----------------------------------------------------------------------
| Copyright 2020 Mersenne Research, Inc. All rights reserved
|
| This file contains routines to certify a PRP proof.
+---------------------------------------------------------------------*/
/* Cert state to be written to / read from certif... |
/* init.c High-level Initialisation functions (included from mochimo.c)
*
* Copyright (c) 2018 by Adequate Systems, LLC. All Rights Reserved.
* See LICENSE.PDF **** NO WARRANTY ****
*
* Date: 11 February 2018
*
*/
int hex2bnum(byte *bnum, char *hex)
{
byte *bp;
static char hextab[] = "0123456789abcdef... |
#include "dcc.h"
#include "letter_analysis.h"
#include "opcode.h"
#include "symbol_table.h"
#include "instruction.h"
#include "syntactic_analysis.h"
#include "parse.h"
#include "misc.h"
#include "malloc.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
int getLowestPriorityIdx(int st, int end) {
if (st ==... |
/*
* 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... |
/*
****************************************************************************
* Copyright (C) 2008 - 2015 Bosch Sensortec GmbH
*
* bmp180.c
* Date: 2015/03/27 Revision: 2.0.3 $
* Date: 30/4/2021 Revision: 2.0.4
* Usage: Sensor Driver file for BMP180
*
****************************************************************... |
/*
* Copyright (c) 2014 Intel Corporation. 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 Software without restriction, including
* without limitation the rights to use, ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <syslog.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <err.h>
#include <sys/uio.h>
#include <stdint.h>
#include <pthread.h>
#include <arpa/inet.h>
#i... |
/******************************************************************************
Copyright (c) 2001-2014, Intel Corporation
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. Redistribu... |
/*
This is a Optical-Character-Recognition program
Copyright (C) 2000-2010 <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 versi... |
//-----------------------------------------------------------------------------
// Copyright (C) 2017 Merlok
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//---------------------------------... |
/**
* @file lv_draw_img.c
*
*/
/*********************
* INCLUDES
*********************/
#include "lv_draw_img.h"
#include "lv_img_cache.h"
#include "../lv_hal/lv_hal_disp.h"
#include "../lv_misc/lv_log.h"
#include "../lv_core/lv_refr.h"
#include "../lv_misc/lv_mem.h"
#include "../lv_misc/lv_math.h"
/*******... |
/***********************************************************************
HiSIM (Hiroshima University STARC IGFET Model)
Copyright (C) 2014 Hiroshima University & STARC
MODEL NAME : HiSIM_HV
( VERSION : 2 SUBVERSION : 2 REVISION : 0 )
Model Parameter 'VERSION' : 2.20
FILE : hsmhvtemp_eval.h
DATE : 2014.6.1... |
/*
* Copyright 1999-2001 <NAME> <<EMAIL>>
* Copyright 2016 <NAME> <<EMAIL>>
* Copyright 2020 <NAME> <<EMAIL>>
* Copyright 2021 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.