text stringlengths 7.55k 41.9k |
|---|
/*******************************************************************************
*
* Font metric data for ITC Zapf Chancery Medium Italic
*
* Copyright 2001 <NAME>
*
*
* See dlls/wineps/data/COPYRIGHTS for font copyright information.
*
*/
#include "psdrv.h"
#include "data/agl.h"
/*
* Glyph metrics
*/
st... |
/*
* Copyright (c) 2013 - 2014, Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
*
* 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,... |
/*
* Copyright (c) 2012-2016, Juniper Networks, Inc.
* All rights reserved.
*
* You may distribute under the terms of :
*
* the BSD 2-Clause license
*
* Any patches released for this software are to be released under these
* same license terms.
*
* BSD 2-Clause license:
*
* Redistribution and use in source... |
/*
* AppArmor security module
*
* This file contains AppArmor mediation of files
*
* Copyright (C) 1998-2008 Novell/SUSE
* Copyright 2009-2012 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Fr... |
/*
* Copyright 2000 by <NAME>, licensing governed by reiserfs/README
*/
#include "debugreiserfs.h"
reiserfs_bitmap_t what_to_pack;
reiserfs_bitmap_t what_packed;
int packed_leaves, bad_leaves, full_blocks, internals, descs, full_of_journal;
/* these are to calculate compression */
unsigned long sent; /* how ... |
/*
* Copyright 2004 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/********************************************************************************************
*
... |
#include <driver/gpio.h>
#include <driver/spi_master.h>
#include <string.h>
#include "esp32/rom/tjpgd.h"
#include "esp_log.h"
#include "fontx.h"
#include "freertos/task.h"
#include "st7789.h"
#include "graphics.h"
#include "images_registry.h"
#include "palette.h"
#define TJPGD_WORK_SZ 3100
typedef struct {
FILE... |
/*
* File: TransformationMath.cpp
* Author: joemotyka
*
* Created on May 8, 2016, 12:35 AM
*/
#include <math.h>
#include "algorithm.h"
#include "TransformationMath.h"
#include "MatrixMath.h"
#include "VectorMath.h"
#include "MagAlign.h"
#include "Indices.h"
#include "EKF_Algorithm.h" // for gKalmanFilter... |
#include<stdio.h>
#include<stdlib.h>
#define NMAXCHAMADOS 100
#define NMAXPROBLEMAS 100
#define NMAXPCS 300
typedef struct net{
unsigned char dig1;
unsigned char dig2;
unsigned char dig3;
unsigned char dig4;
}IP;
typedef struct maquin{
unsigned int id;
char marca[30];
char modelo[30];
... |
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... |
// 0x0700C92C - 0x0700CE5A
const Collision jrb_seg7_collision_in_sunken_ship_3[] = {
COL_INIT(),
COL_VERTEX_INIT(0x4F),
COL_VERTEX(-613, 717, -48),
COL_VERTEX(-716, 1126, -91),
COL_VERTEX(-716, 717, -48),
COL_VERTEX(717, 1126, -91),
COL_VERTEX(-613, 1126, -91),
COL_VERTEX(-716, 1229, -10... |
/* generic_attribs.c - OpenGL-based example for use of generic vertex
attributes in both assembly and GLSL profiles. */
/* Requires the OpenGL Utility Toolkit (GLUT) and Cg runtime (version
1.5 or higher). */
#include <stdio.h> /* for printf and NULL */
#include <stdlib.h> /* for exit */
#include <string.... |
#ifdef _WIN32
#define _CRT_SECURE_NO_WARNINGS 1
#endif
#define MAX_SRV_COUNT 64
#define MAX_SOCKETS 32
#include <stdio.h>
#include <errno.h>
#ifdef _WIN32
#include <winsock2.h>
#include <iphlpapi.h>
#define sleep(x) Sleep(x * 1000)
#else
#include <netdb.h>
#include <ifaddrs.h>
#include <net/if.h>
#endif
#include ... |
/*
* Copyright 2017, DornerWorks
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See ... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <math.h>
#include <sys/types.h>
#include <time.h>
#include <argp.h>
#include <pthread.h>
#include "cmnalib/traffic_curl.h"
#include "cmnalib/traffic_types.h"
#include "cmnalib/gps_transform.h"
#include "cmnalib/trace_logger.h"
#... |
/*___________________________________________
| |
| SNMP Text Traffic Grapher --- Version 2.2 |
| Copyright (c) 2005-2018 by <NAME> |
| Copyright (c) 2019 by Google LLC |
| Homepage - https://github.com/tenox7/ttg/ |
| Released under Apache 2.0 License |
... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2018 - <NAME>
* Copyright (C) 2011-2017 - <NAME>
*
* RetroArch 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 Found-
* ation, either version 3 of the... |
#include "inc/odt.h"
/* extern global variables */
extern int kres,larea;
extern int igraph,drawTR,drawTW,drawCI,iword,ograph,owind,idomain;
extern char scenetype[10][6],hfile[200],lserver[100];
extern logical oremote,ographtemp;
extern char hfile[200],iout[200];
int getdatetime( char *,int *,int * );
int readsatda... |
/**
This TLS dissector parse the pkt and extract the handshake (if present)
Copyright (C) 2016-2019 <NAME> <<EMAIL>>
This file is part of decoder.
decoder 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... |
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2002 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... |
/**************************************************************************
* File: act.comm.c Part of tbaMUD *
* Usage: Player-level communication commands. *
* *
* All rights re... |
/*
* usernat.c
*
* Author: <NAME>
*/
#include <android/log.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <sys/socket.h>
#include <linux/in.h>
#include <sys/un.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <poll.h>
#include <signal.h>
#inclu... |
/*
* BSD LICENSE
*
* Copyright(c) 2007-2017 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... |
#include "task_small.h"
#include <std/timer.h>
#include <kernel/boot_info.h>
#include <kernel/multitasking/std_stream.h>
#include <kernel/util/mutex/mutex.h>
#include <kernel/segmentation/gdt_structures.h>
#include <kernel/util/amc/amc.h> // For reaper
#include <kernel/pmm/pmm.h>
#include "mlfq.h"
#define TASK_Q... |
/*
File: x_kbd.c
COPYING: Full text of the copyrights statement at the bottom of the file
Project: WW
Started: 3rd February, 2003
Descrition:
Keyboard manipulation functions. Implemented for X Windows.
*/
#include "global.h"
#include "options.h"
#include "kbd.h"
#include "scr.h"
#include "xscr_i.h"
#define XK_MI... |
#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <microhttpd.h>
#include <regex.h>
#include <err.h>
#include <sysexits.h>
#include <htslib/kstring.h>
#include <math.h>
#include <getopt.h>
#include <ctype.h>
#i... |
/* $Id: dns_test.c 6025 2019-06-12 05:04:32Z ming $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 <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 Fr... |
#include "sys/fcntl.h"
#include "include/opl.h"
#include "include/lang.h"
#include "include/gui.h"
#include "include/supportbase.h"
#include "include/hddsupport.h"
#include "include/util.h"
#include "include/themes.h"
#include "include/textures.h"
#include "include/ioman.h"
#include "include/system.h"
#include "include... |
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#define xstreq(x, y) !strcmp(x, y)
#include <err.h>
#include <getopt.h>
#include <sys/types.h>
#include <unistd.h>
#include <selinux/selinux.h>
#include <selinux/context.h>
#define TRUE 1
#define FALSE 0
#define SECON_CONF_PROG_NAME ... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Request To Send (RTS) PDU Signatures
*
* Copyright 2012 <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
*
... |
/***************************************************************************//**
* @file
* @brief Direct Test Mode core logic.
*******************************************************************************
* # License
* <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
******************************... |
#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... |
/* San Angeles Observation OpenGL ES version example
* Copyright 2004-2005 <NAME>
* All rights reserved.
* Web: http://iki.fi/jetro/
*
* This source is free software; you can redistribute it and/or
* modify it under the terms of EITHER:
* (1) The GNU Lesser General Public License as published by the Free
* ... |
/**
* Copyright ? 深圳市谷米万物科技有限公司. 2009-2019. All rights reserved.
* File name: applied_math.c
* Author: 王志华
* Version: 1.0
* Date: 2019-02-28
* Description: 应用数学运算
* Others:
* Function List:
1. 获取数值的符号
2. 四舍五入取整
3. 三维向量取模
4. 二维向量取模
5... |
/*
Copyright (c) <2007-2012> <<NAME> - <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... |
/*
Copyright (c) 2015 by <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, subli... |
/*----------------------------------------------------------------------------*/
/* Xymon monitor library. */
/* */
/* This is a library module, part of libxymon. ... |
/*
* initialize.c --- initialize a filesystem handle given superblock
* parameters. Used by mke2fs when initializing a filesystem.
*
* Copyright (C) 1994, 1995, 1996 <NAME>.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Library
* General Public License, version 2.
* %End-Head... |
//zhangshaoyan +8613522296239.
//TechServo motor control in Profile Position mode.
//sudo /etc/init.d/ethercat restart
//gcc ppm_slave01.c -I/opt/ethercat/include -lethercat -o ppm_slave01.bin
//run script to enable servo before running this.
/*
#!/bin/bash
#Profile Position mode.
#clear fault.
ethercat download -p ... |
/*
* Copyright (c) 2010 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND TH... |
/*
* 1394-Based Digital Camera Control Library
*
* Mac OS X Digital Camera Capture Code
*
* Written by <NAME> <<EMAIL>>
*
* 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
... |
/*
* Copyright (c) 2018-2020 <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:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... |
/*
tephra2
Copyright (C) 2003 <NAME>, <NAME>, <NAME>, <NAME>
By: <NAME>, <NAME>, <NAME>, <NAME>
This file, new_tephra.c, is part of tephra2.
tephra2 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 versi... |
/*
* pfmlib_intel_snbep_unc.c : Intel SandyBridge-EP uncore PMU common code
*
* Copyright (c) 2012 Google, Inc
* Contributed by <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 t... |
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/eventfd.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/timerfd.h>
#include <time.h>
#include <unistd.h>
#include "wlpinyin.h"
static int32_t get_miliseconds() {
struct timespec time;
clock_gettime(CLOCK_MONOTONIC, &time);
return... |
/* h316_mt.c: H316/516 magnetic tape simulator
Copyright (c) 2003-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 without limitation
... |
/*********************************************************************\
MODULE NAME: b64.c
AUTHOR: <NAME> 08/04/01
PROJECT: Crypt Data Packaging
COPYRIGHT: Copyright (c) Trantor Standard Systems Inc., 2001
NOTES: This source code may be used as you wish, subject to
... |
/******************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
*
... |
#include <u.h>
#include <libc.h>
#include <bin.h>
#include <bio.h>
#include <regexp.h>
#include "../../../libregexp/regcomp.h"
#include "dfa.h"
void rdump(Reprog*);
void dump(Dreprog*);
/*
* Standard NFA determinization and DFA minimization.
*/
typedef struct Deter Deter;
typedef struct Reiset Reiset;
void ddump(D... |
/* Locate source files and line information for given addresses
Copyright (C) 2005-2010, 2012, 2013, 2015 Red Hat, Inc.
This file is part of elfutils.
Written by <NAME> <<EMAIL>>, 2005.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License... |
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME>ung (<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 following c... |
/***************************************************************
T-Rex a tiny regular expression library
Copyright (C) 2003-2004 <NAME>
see copyright notice in TRex.h
****************************************************************/
#include <malloc.h>
#include <string.h>
#include <ctype.h>
#include <set... |
#include "global.h"
#include "qspi.h"
// Core system clock speed.
uint32_t SystemCoreClock = 64000000;
// Global systick counter.
volatile uint32_t systick = 0;
// Reset handler: set the stack pointer and branch to main().
__attribute__( ( naked ) ) void reset_handler( void ) {
// Set the stack pointer to the 'end ... |
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#in... |
/*
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#include "GlobalData.h"
#include "generic.h"
#include <string.h>
#define T_POSITIVE_SYNC (B_POSITIVE_HSYNC | B_POSITIVE_VSYNC)
#define MODE_FLAGS (B_SCROLL | B_8_BIT_DAC | B_HARDWARE_CU... |
/***************************************************************************
* *
* 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... |
/*
* lib/crypto/des/string2key.c
*
* based on lib/crypto/des/string2key.c from MIT V5
* and on lib/des/afs_string_to_key.c from UMD.
* constructed by <NAME>, Cygnus Support, 1995.
* made thread-safe by <NAME>, MIT, 2001.
*/
/*
* Copyright 2001 by the Massachusetts Institute of Technology.
* All Rights Reserv... |
/* $Id: gencore.c,v 1.7 2004/11/10 23:14:52 till Exp $ */
/* Utility to create a (elf) core file from a raw memory image.
* For selected architectures (currently ppc32, i386 and m68k),
* recording registers in the core file (netbsd layout) is supported.
*
* The netbsd layout was chosen because it is always support... |
/*
* Copyright (c) 2006 <NAME>
*/
#include "cache.h"
#include "config.h"
#include "archive.h"
#include "streaming.h"
#include "utf8.h"
#include "object-store.h"
#include "userdiff.h"
#include "xdiff-interface.h"
static int zip_date;
static int zip_time;
/* We only care about the "buf" part here. */
static struct st... |
#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <rpc/rpc.h>
#include "fs_interf.h"
#include "inode.h"
#include "fs.h"
#include "libbyz.h"
#ifdef NO_REPLICATION
#define Byz... |
/* Copyright (c) 2011-2013, The Linux Foundation. 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 o... |
/**********************************************************************************************************
天穹飞控 —— 致力于打造中国最好的多旋翼开源飞控
Github: github.com/loveuav/BlueSkyFlightControl
技术讨论:bbs.loveuav.com/forum-68-1.html
* @文... |
/* $Id$
*
* 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 "Lice... |
/* kex.c
*
* SSH key exchange conforming to RFC 4253 section 7
*
* TODO: handle first_kex_packet_follows set to 1 in
* SSH_MSG_KEXINIT sent by the server
*/
#include <stdlib.h>
#include <string.h>
#include "ssh/kex_i.h"
#include "ssh/kex_dh_i.h"
#include "ssh/connection_i.h"
#include "ssh/hash_i.h"
#include "s... |
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC 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 3 of the Licens... |
#include "ormcc.h"
uint32 _totalOrmccCiSent = 0, _totalOrmccCiSupp = 0;
/***********************************
O R M C C S O U R C E
***********************************/
Agent * OrmccSrcInit (int nodeId, uint16 agentId,
uint32 pktDstAddr, uint16 pktDstAgentId, int8 trackStat)
{
Agent * a... |
/*
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"
int32_t t3 = 4601;
int32_t t4 = 423;
static uint32_t x488 = UINT32_MAX;
int16_t x539 = INT16_MAX;
int8_t x540 ... |
#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... |
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include "erl_nif.h"
#include "discodb.h"
#include "queue.h"
/* Static Erlang Terms */
#define ATOM(Val) (enif_make_atom(env, Val))
#define PAIR(A, B) (enif_make_tuple2(env, A, B))
#define TERM_EQ(lhs, rhs) (enif_compare(lhs, rhs) == 0)
#de... |
/*
* $Id: node_composite_glare.c 39944 2011-09-05 22:04:30Z gsrb3d $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the L... |
/**
* @file zz_load.c
* @author <NAME> AKA Ben/OVR
* @date 2017-07-04
* @brief quartet files loader.
*/
#define ZZ_DBG_PREFIX "(lod) "
#include "zz_private.h"
#include "zingzong.h"
zz_err_t
song_parse(song_t *song, vfs_t vfs, uint8_t *hd, u32_t size)
{
zz_err_t ecode;
zz_assert( sizeof(songhd_t) == 16... |
/*******************************************************************************
* Copyright 2010 Broadcom Corporation. All rights reserved.
*
* @file drivers/video/broadcom/displays/lcd_HX8347_TFT1P5158.c
*
* Unless you and Broadcom execute a separate written software license agreement
* governing use of this softwar... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
#include "util.h"
struct {
float a[23], b[4], c[23], x[23], y[23], ee[23], alpha[23];
float e1, e2;
int ns, l, n, np;
} hgd;
int iloop(void);
int swap_bytes_i(int *);
int swap_bytes_r(float *);
int fit(void);
in... |
#include "bootpack.h"
void console_task(struct SHEET *sheet, unsigned int memtotal) {
struct TIMER *timer;
struct TASK *task = task_now(); // 自分自身をつかっていないときにスリープさせる -> アドレス欲しい
struct MEMMAN *memman = (struct MEMMAN *) MEMMAN_ADDR;
int i, fifobuf[128], *fat = (int *) memman_alloc_4k(memman, 4 * ... |
/*
Copyright (C) 1994-2016 Lawrence Livermore National Security, LLC.
LLNL-CODE-425250.
All rights reserved.
This file is part of Silo. For details, see silo.llnl.gov.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* R... |
// Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier : Apache-2.0
//
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <c_api/ie_c_api.h>
#include "object_detection_sample_ssd.h"
#include <opencv_c_wraper.h>
#ifdef _WIN32
#include "c_w_dirent.h"
#else
#includ... |
/* Copyright 2018 Canaan Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#in... |
#include<libtransistor/ipcserver.h>
#include<libtransistor/ipc/sm.h>
#include<libtransistor/svc.h>
#include<libtransistor/err.h>
#include<libtransistor/util.h>
#include<libtransistor/thread.h>
#include<libtransistor/loader_config.h>
#include<stdio.h>
#include<malloc.h>
bool destroy_server_flag = false;
static result... |
/*
* Copyright (c) 2013-2014 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*
*/
/**
*/
#define _GNU_SOURCE
#include <ucontext.h>
#include <execinfo.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <syslog.h>
#include <string.h>
#include <dlfcn.h>
#include <s... |
/*-
* Public Domain 2014-2018 MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary,... |
/* ====================================================================
* Copyright (c) 1996-2004 Carnegie Mellon University. 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. Red... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <getopt.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include <libgen.h>
#include <dirent.h>
#include <sys/fcntl.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/wait.h>
#ifdef D... |
/*******************************************************************************************
*
* Challenge 02: DUNGEON GAME
* Lesson 06: tilemap
* Description: Tilemap loading and drawing
*
* NOTE: This example requires OpenGL 3.3 or ES2 for shaders support,
* OpenGL 1.1 does not support shaders... |
#include "sfc_6502.h"
#include <assert.h>
#include <string.h>
/// <summary>
/// 命令名称
/// </summary>
struct sfc_opname {
// 3字名称
char name[3];
// 寻址模式
uint8_t mode;
};
/// <summary>
/// 反汇编用数据
/// </summary>
static const struct sfc_opname s_opname_data[256] = {
{ 'B', 'R', 'K', SFC_AM... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "mcce.h"
int refresh_prot(PROT prot);
int make_matrices(PROT prot, char *dir)
{ int i, j, kr, kc, counter;
int n_conf, n_dummies;
char fnam... |
/*
* Copyright 2015 Rockchip Electronics 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... |
/*
Copyright (c) 2020, <NAME>. (<EMAIL>)
All rights reserved.
This file is part of the topaz project (https://github.com/jcorks/topaz)
topaz was released under the MIT License, as detailed below.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated ... |
/*-
* BSD LICENSE
*
* Copyright (c) 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 code must retain the above cop... |
#include <u.h>
#include <lib9.h>
#include <libsec.h>
enum{
Bsz = 8,
};
typedef struct Testvector Testvector;
struct Testvector{
uint8_t key[Bsz];
uint8_t plain[Bsz];
uint8_t cipher[Bsz];
};
/*
* Blowfish test vectors from https://www.schneier.com/code/vectors.txt
*/
Testvector vector [] = {
{{0x00, 0x00, 0x0... |
#include <stdio.h>
#include <stdlib.h>
#include "tc_conio.h"
#include "tc_graphics.h"
#include "header.h"
#include "screen.h"
#include "io.h"
void update_full_text_screen(void);
void (*update_screen)(void) = update_full_text_screen; // initialise update
// screen function
uint screen_start = 0x7C00; // init s... |
/*
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* 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
*
* If any of the... |
#include <math.h>
#include <stdbool.h>
#include "core/assert_api.h"
#include "core/compat_api.h"
#include "core/fa_api.h"
#include "core/fileutils_api.h"
#include "core/str_api.h"
#include "core/undef_api.h"
#include "core/unused_api.h"
#include "core/xansi_api.h"
#include "gth/gthdef.h"
#include "gth/gthoutput.h"
#inc... |
/*
* https.c
*
* Copyright (c) 2011 Duo Security
* All rights reserved, all wrongs reversed.
*/
#include "config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netdb.h>
#include <poll.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <u... |
/******************************************************************************
* Projekt - Zaklady pocitacove grafiky - IZG
* <EMAIL>
*
* $Id: render.c 264 2013-02-20 12:27:25Z spanel $
*
* Opravy a modifikace:
* -
*/
#include "render.h"
#include "transform.h"
#include <memory.h>
/*********... |
/*
* sha2.c: An implementation of the SHA-2 secure hash function as
* specified in FIPS 180-2 (available from the NIST site, nist.gov).
*
* Currently only the 256-bit variant (SHA-256) is implemented.
*
* Although SHA-2 is specified for arbitrary bitstreams, this
* implementation (like many) allows only streams ... |
/*
* Copyright (C) 2010-2013 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License v.2.
*
* You should have received a... |
/***************************************************************************\
|* *|
|* Copyright 2003 NVIDIA, Corporation. All rights reserved. *|
|* *|
|... |
/* CONIO.H style Text mode support for the Mega65 libC
Copyright (c) 2020-2021 <NAME>
This program 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 3 of the License, ... |
/*
* MNG file demuxer for MPlayer
*
* Copyright (C) 2008 <NAME> <stefan blinkenarea org>
*
* This file is part of MPlayer.
*
* MPlayer 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.