text stringlengths 5.8k 28.2k |
|---|
#include <netinet/in.h>
#include <errno.h>
#include <netdb.h>
#include <stdbool.h>
#include <stdio.h> //For standard things
#include <stdlib.h> //malloc
#include <string.h> //strlen
#include <netinet/ip_icmp.h> //Provides declarations for icmp header
#include <netinet/udp.h> //Provides declarations for udp header
#in... |
/*
* Copyright (C) 2009-2021 <NAME>
*
* 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 AUTHOR DISCLAI... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 <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 ... |
/**
* Copyright (c) 2021, <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 a... |
/* OggEnc
**
** This program is distributed under the GNU General Public License, version 2.
** A copy of this license is included with this source.
**
** Copyright 2000-2002, <NAME> <<EMAIL>>
**
** Portions from Vorbize, (c) <NAME> <<EMAIL>>
** and libvorbis examples, (c) Monty <<EMAIL>>
**/
#incl... |
// Copyright 2020 Espressif Systems (Shanghai) 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 appli... |
/* Cheat Engine of Five
* Authors:
* <NAME>
* PSP_Lord
*/
//Crt0_prx
//Includes
//#define _PSP_FW_VERSION 150
#include "crt0_prx.h"
#define MAX_THREAD 64
PSP_MODULE_INFO("CEFive", 0x3007, CEFIVE_VERSION_MAJ, CEFIVE_VERSION_MIN);
PSP_MAIN_THREAD_ATTR(0); //0 for kernel mode too
extern SceUID sceK... |
#include <Python.h>
#include <numpy/arrayobject.h>
#include <stdlib.h>
#include <stdint.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "readingdb_py.h"
#include "c6/readingdb.h"
#include... |
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <arpa/inet.h>
#define MAX_SIZE 300
int sndsock,rcvsock;
int clen;
struct sockaddr_in s_addr,r_addr,r_info;
int L2_Sresult[4];//save parsing value (option1)
int L2_Dresult[4];
int L... |
/*
* ngtcp2
*
* Copyright (c) 2016 ngtcp2 contributors
* Copyright (c) 2012 nghttp2 contributors
*
* 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 <math.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <thread.h>
#include <xtimer.h>
#include "imu.h"
#include "biotIdentify.h"
#define CHECK_BIT(var,pos) ((var) & (1<<(pos))) != 0
uint64_t t0;
myQuat_t currentQ;
imuData_t lastIMUData;
int16_t magMinMax[6] = { 0,... |
/**
* Author: <NAME> (<EMAIL>)
* <NAME> (<EMAIL>)
* Date: July 2013
* Description: CC2538-specific definition of the "radio" bsp module.
*/
#include <stdio.h>
#include <string.h>
#include <headers/hw_ana_regs.h>
#include <headers/hw_ints.h>
#include <headers/hw_rfcore_sfr.h>
#include <headers/hw_rfcore... |
/*
* prob1csol.c
*
* Created on: Jan 20, 2010
* Author: dweller
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* the include file for the SQLite library */
/* do not use sqlite.h or sqlite3ext.h */
#include <sqlite3.h>
/* T defines minimum number of children in non-root nodes
* 2*T is max... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
/* Programa : spellcheck
Descrição: Este programa gera um dicionário de palavras a partir de um livro e ordena-o; procura por
palavras de um Tweet neste, e caso não as encontre, imprime-as separadas por um espaço.
Palavra... |
/*************************************************************************/ /*!
@File pvr_gputrace.c
@Title PVR GPU Trace module Linux implementation
@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
@License Dual MIT/GPLv2
The contents of this file are subject t... |
/*-
* Copyright (c) 2015 <NAME> <<EMAIL>>
* Copyright (c) 2011 <NAME> <<EMAIL>>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above... |
/*
Copyright (c) 2015, 2018-2019 Genome Research Ltd.
Author: <NAME> <<EMAIL>>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of condit... |
/*
Copyright 2019 Triad National Security, LLC. All rights reserved.
This file is part of the MSTK project. Please see the license file at
the root of this repository or at
https://github.com/MeshToolkit/MSTK/blob/master/LICENSE
*/
/* Translator between mesh formats */
#include <stdio.h>
#include <stdlib.h>
#includ... |
// TFS_LIB
// Written 2019 by <NAME>, <EMAIL>
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwide. This software is
// distributed without any warranty. Please see CC0 Public Domain Dedication.
#include <p... |
/*
* Copyright (c) 2015 The WebM project authors. All Rights Reserved.
*
* 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 rights grant can be found
* in the file PATENTS. All contributin... |
/*!
* \file spx.c
*
* \brief SPX module decode-side utility functions.
*
* Part of the Spectral Extension Module.
*/
#include "debug.h"
#include "ac3dec.h"
#define SPXONEOVERSQRT3 FRACT(0.577350269190) /*!< Used in signal scale factor calucation 1/sqrt(3) */
#define SPXSCLSBNDRMS FRACT(0.288675134595) /*!< Used in ... |
/* Shifter, Copyright (c) 2015, The Regents of the University of California,
## through Lawrence Berkeley National Laboratory (subject to receipt of any
## required approvals from the U.S. Dept. of Energy). All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, a... |
/******************************************************************************
* Copyright (C) 2017 Broadcom. The term "Broadcom" refers to Broadcom Limited
* and/or its subsidiaries.
*
* This program is the proprietary software of Broadcom and/or its licensors,
* and may only be used, duplicated, modified or... |
/**
* @file test_values.c
* @author <NAME> <<EMAIL>>
* @brief Cmocka tests for correct resolving of types and values of the data nodes.
*
* Copyright (c) 2016 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the L... |
/*
* Copyright (c) 1998 Metro Link Incorporated
*
* 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, cpy, modify, m... |
/*
* author : prife (<EMAIL>)
* date : 2013/01/14 01:18:50
* version: v 0.2.0
*/
#include <rtthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
#include <semaphore.h>
#include <time.h>
#include <sys/time.h>
//#define TRACE printf
#define TRACE(...)... |
/*
Copyright 2016 Vanderbilt University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... |
// Use --help after compilation to see how this program it works.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <endian.h>
#include <argp.h>
#include "../lib/glassy.c"
#define IS_BIG_ENDIAN (!*(unsigned char *)&(uint16_t){1})
//
// Things to parse command line arguments
... |
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <errno.h>
#include "query_handler.h"
#define TRACE_SOCKET_DATA 1
#define TR... |
/* Copyright (c) 2008 CSIRO
Copyright (c) 2008-2009 Xiph.Org Foundation
Written by <NAME> */
/*
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 copyrig... |
/* ----------------------------------------------------------------------- *
*
* Universidade Federal de Minas Gerais
* Departamento de Ciência da Computação
* Programa de Pós-Graduação em Ciência da Computação
* Projeto e Análise de Algoritmos
*
* Trabalho Prático - Grafos
*
* Autor: <NAME>
* ... |
/* vim:set ft=c ts=4 sw=4 et fdm=marker: */
#include "ngx_http_gm_module.h"
#include "ngx_http_gm_common.h"
#include "ngx_http_gm_auto_orient.h"
#include "ngx_http_gm_blur.h"
#include "ngx_http_gm_composite.h"
#include "ngx_http_gm_crop.h"
#include "ngx_http_gm_define.h"
#include "ngx_http_gm_filter.h"
#include "ngx_h... |
/*
* Copyright (c) 2006-2007, Apple 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 con... |
/*
* Copyright 2006, 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 applica... |
/*
File: main.c
Author: <NAME>
License: MIT
MIT License
Copyright (c) 2017, 2018, 2019, 2020 <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, inc... |
/*
* Copyright (C) <EMAIL>
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_codec_module.h"
#include "ngx_rtmp_gop_module.h"
#include "ngx_rtmp_live_module.h"
typedef struct {
ngx_array_t frames;
uint8_t skip:1;
uint8_t ... |
/*
* cache-inprocess.c: in-memory caching for Subversion
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional informa... |
/* Copyright © 2020 <NAME> (<EMAIL>) */
/* Simple demonstration program for
NCP (Network Control Program) implementing Chaosnet transport layer
for cbridge, the bridge program for various Chaosnet implementations. */
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this fi... |
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/netlink.h>
#include <sched.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/un.h>
... |
/* Copyright (C) 1996-2001 Id Software, Inc.
Copyright (C) 2002-2009 <NAME> and others
Copyright (C) 2011-2016 OldTimes Software
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
... |
/*
* 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... |
/**
****************************************************************************
* @file rtc.c
* @author ADI
* @version V0.1
* @date 20-June-2020
* @brief This source file is used to implement rtc functions
****************************************************************************
* @attention
*********... |
/*---------------------------------------------------------------------------
pngquant: RGBA -> RGBA-palette quantization program rwpng.c
---------------------------------------------------------------------------
Copyright (c) 1998-2000 <NAME>. All rights reserved.
This software is p... |
/* hgLoadWiggle - Load a Wiggle track "bed" file into database. */
/* Copyright (C) 2013 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "options.h"
#include "linefile.h"
#include "obscure.h"
#include "hash.h"
#include "c... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < ... |
/* Teensyduino Core Library
* http://www.pjrc.com/teensy/
* Copyright (c) 2013 PJRC.COM, LLC.
*
* 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... |
/*
* Copyright (c) 2005-2007 <NAME>, Inc. All rights reserved.
* Proprietary and Confidential Material.
*
*/
#include "wave.h"
#include "wavelogger.h"
#include <stdio.h>
#include <ctype.h>
#include <time.h>
#include <signal.h>
#include <stdlib.h>
#include <ifaddrs.h>
#include <string.h>
#include <errno.h>
#includ... |
/*
* Copyright (C) 1997 Massachusetts Institute of Technology
*
* This software is being provided by the copyright holders under the
* following license. By obtaining, using and/or copying this software,
* you agree that you have read, understood, and will comply with the
* following terms and conditions:
*
*... |
/**
heap.c
A (min) heap with generic contiguous priorities, generic contiguous or
non-contiguous elements, and a hash table parameter.
The implementation provides a dynamic set in the min heap form for any
elements in memory associated with contiguous priority values (e.g. basic
types). The only re... |
/************************************************************************/
/* Copyright (c) 1998-2014 <NAME>. All rights reserved. */
/* */
/* %@%LICENSE */
/* */
/************************************************************************/
#include "Prolog.h"
#include "pl-status.h"
#include "pl-at... |
/** @file
* Copyright (c) 2016-2021, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
/* $Id$ */
/*
* 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 Free Software Foundation; either version 2 of ... |
/* **************************************************************** *
* *
* APRX -- 2nd generation APRS iGate and digi with *
* minimal requirement of esoteric facilities or *
* libraries of any kind beyond... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <unistd.h>
#include <string.h>
#include <getopt.h>
#include "bmp.h"
// gcc -Wall ~/ifs/ifs.c -o ifs -lm
#define STARTPOINT 1000000
// 3840 * 6
#define XRES 23040
// 2160 * 6
#define YRES 12960
#define FOR_REAL 1
#define DRY_RUN 0
// ... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2013. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public License alo... |
/*
* Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
* Copyright 2017 NXP
*
* 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 ... |
/*
Copyright (c) 2013, Broadcom Europe Ltd
Copyright (c) 2013, <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
no... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 <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 ... |
/*
* e2fsck.c - superblock checks
*
* Copyright (C) 1993, 1994, 1995, 1996, 1997 <NAME>.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
*/
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#ifndef EXT2_SKIP_UUID
#include "uuid/uuid.h"
#endif
#incl... |
/*
* Copyright (c) 2019-2020 Amazon.com, Inc. or its affiliates.
* All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main ... |
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <types.h>
#include <e820.h>
#include <mmu.h>
#include <per_cpu.h>
#include <trampoline.h>
#include <reloc.h>
#include <ld_sym.h>
#include <acrn_hv_defs.h>
/**
* @addtogroup hwmgmt_cpu
*
* @{
*... |
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYIN... |
#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... |
/*
Fast Access Linked List
Linked Lists are an alternative to Arrays to store and arrange values.
Linked lists are preferred over Arrays when you need to re-arrange values.
Arrays cost time complexity of O(n) for re-arranging values as we will have
to shift all the values in an array. While... |
/* FreeTDS - Library of routines accessing Sybase and Microsoft databases
* Copyright (C) 2014 <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 published by the Free Software Foundation; either
* version 2 of the L... |
//@ #include "nat.gh"
//@ #include "listex.gh"
#include "treerec_list.h"
#include "treerec_tree.h"
/*@
fixpoint list<int> depths(int d, tree t) {
switch (t) {
case leaf: return cons(d, nil);
case node(l, r): return append(depths(d+1, l), depths(d+1, r));
}
}
inductive result =... |
/* $OpenBSD: pxa2x0_i2s.c,v 1.7 2006/04/04 11:45:40 pascoe Exp $ */
/*
* Copyright (c) 2005 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... |
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <math.h>
#include <display.h>
#include <display/dsp.h>
#include <display/record.h>
#include <display/dtile.h>
#include <display/dpenguin.h>
#include <display/animator.h>
#include <d3v.h>
#include <d3v/mouse_projection.h>
#include <utils/vec.h>
#inc... |
/* abc-iw.c: Configure wireless card using iw-tools */
#include <stdio.h> /* perror, printf, snprintf */
#include <stdlib.h> /* exit */
#include <string.h> /* strlen */
#include <unistd.h> /* fork, dup2, execvp */
#include <sys/socket.h> /* struct sockaddr */
#include <net/if.h> /* IFNAMSIZ */
#include... |
#include "Interrupts.h"
#include "Intrinsics.h"
#include "Log.h"
IDT_ENTRY gHostIdt[IDT_ENTRY_COUNT];
extern VOID Isr0();
extern VOID Isr1();
extern VOID Isr2();
extern VOID Isr3();
extern VOID Isr4();
extern VOID Isr5();
extern VOID Isr6();
extern VOID Isr7();
extern VOID Isr8();
extern VOID Isr9();
extern VOID Isr1... |
#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... |
#pragma once
#include <windows.h>
struct VKeyInfo {
USHORT VKey;
LPTSTR VKname;
};
#define AddVKey(VK, VKName) {(VK), (VKName)}
static VKeyInfo vkis[] = {
AddVKey(VK_LBUTTON, L"Left mouse button"),
AddVKey(VK_RBUTTON, L"Right mouse button"),
AddVKey(VK_CANCEL, L"Control-break processing"),
AddVKey(0x04... |
/*==========================================================
* Copyright 2020 QuickLogic Corporation
*
* 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/licens... |
#include <atmel_start.h>
#include <util/delay.h>
#include <stdio.h>
#include "main.h"
#include "twihelper.h"
typedef enum {IDLE, START, RUN, STOP, WAIT, OFF} pump_mode_t;
const char *pump_mode_names[] = {"IDLE", "START", "RUN", "STOP", "WAIT", "OFF"};
pump_mode_t pump_mode = IDLE;
pump_mode_t pump_mode_next... |
/* OX: Open-Channel NVM Express SSD Controller
*
* - OX-Block Block Metadata Management
*
* Copyright 2018 IT University of Copenhagen
*
* Written by <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... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <nfc/nfc.h>
#include "messages.h"
#include "socket_infos.h"
// By default ... |
// Statboost meta-classifier. Copyright 2001-2010 <NAME>.
//
// This file is part of the CRM114 Library.
//
// The CRM114 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 3 o... |
/* +-------------------------------------------------------------------+ */
/* | Copyright 1992, <NAME>. | */
/* | Permission to use, copy, modify, and distribute this software | */
/* | and its documentation for any purpose and without fee is hereby | */
/* | granted, provid... |
/*
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2013-... |
/* $Id: proxy_pollmgr.c $ */
/** @file
* NAT Network - poll manager.
*/
/*
* Copyright (C) 2013-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the t... |
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <inttypes.h>
#define limb_t_(bitwidth) limb_t__(bitwidth)
#define PRIxlimb_(bitwidth) PRIxlimb__(bitwidth)
#define PRIulimb_(bitwidth) PRIulimb__(bitwidth)
#define limb_t__(bitwidth) uint ## bitwidth ## _t
#define PRIxlimb__(bitwidth) PRIx ## bitwidth... |
#include <yaul.h>
#include <assert.h>
#include <stdlib.h>
#include "svin.h"
#define MENU_ENTRY_COUNT 16
//extern uint32_t JumpLinks[512];
extern uint32_t MenuLinks[512];
extern int _svin_filelist_size;
extern char *_svin_filelist;
#define UNUSED(x) (void)(x)
extern vdp1_cmdt_list_t *_svin_cmdt_list;
typedef str... |
#pragma once
#ifndef _GNU_SOURCE
#define _GNU_SOURCE // put this here too, to make clangd happy
#endif
#include <kinc/display.h>
#include <kinc/log.h>
#include <kinc/memory.h>
#include <kinc/string.h>
#include <kinc/system.h>
#include <wayland-client-core.h>
#include <wayland-cursor.h>
#define KINC_WL_CHECK_VERSION(x... |
/* camellia-set-encrypt-key.c
*
* Key setup for the camellia block cipher.
*/
/*
* Copyright (C) 2006,2007
* NTT (Nippon Telegraph and Telephone Corporation).
*
* Copyright (C) 2010 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/* xscreensaver, Copyright (c) 1993-2017 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
* the above copyright notice appear in all copies and that both that
* copyright notice and this ... |
#define CGLTF_IMPLEMENTATION
#include "cgltf.h"
#include "watt_buffer.h"
#include "watt_input.h"
#include "watt_math.h"
#include <assert.h>
#include <math.h>
#define SOKOL_IMPL
#include "sokol_app.h"
#include "sokol_gfx.h"
#include "demo.glsl.h"
#define SAMPLE_COUNT 4
#define MAX_BUFFER_COUNT 64
#define MAX_SUBME... |
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│
│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│
╚──────────────────────────────────────────────────────────────────────────────╝
│ ... |
/*
* MikroSDK - MikroE Software Development Kit
* Copyright© 2020 MikroElektronika d.o.o.
*
* 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 ... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*
* peafowl_l2_parsing.c
*
* Created on: 6/10/2018
* =========================================================================
* Copyright (c) 2018, <NAME> (<EMAIL>)
* Copyright (c) 2016-2019 <NAME> (<EMAIL>)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software a... |
/* Copyright (c) 2019, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... |
#include <stdio.h>
#include <stdlib.h>
// Função que aloca uma matriz
long long int** alocaMatriz(int ordem) {
long long int** matriz = malloc(sizeof(long long int*) * ordem);
for(int i = 0; i < ordem; i++) {
matriz[i] = malloc(sizeof(long long int) * ordem);
}
return matriz;
}
// Função que... |
#include "processing.h"
#include "align.h"
#include "alignlen.h"
#include "alignstats.h"
#include "coverage.h"
#include "err.h"
#include "filter.h"
#include "htslib/hts.h"
#include "htslib/sam.h"
#include "insertsize.h"
#include "logging.h"
#include "pairstats.h"
#include "report.h"
#include "print.h"
#include "string.... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <fcntl.h>
#include <unistd.h>
#include "../include/codes.h"
#include "../include/input.h"
#include "../include/statements.h"
#include "../include/interface.h"
#include "../include/commands.h"
#include "../include/table.h"
#include... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include "prime.h"
const ui_t prime_table[NUM_PRIMES] =
{
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151,
1... |
#include <kernel/types.h>
#include <kernel/proc.h>
#include <kernel/i386/i386.h>
#include <kernel/utility.h>
#include <kernel/i386/init.h>
extern void DoubleFaultHandler (void);
extern void ExceptionDE (void);
extern void ExceptionDB (void);
extern void ExceptionNMI (void);
extern void ExceptionBP (void);
... |
/* 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 under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details. */
#in... |
/* $Id$ */
/*
* Copyright (c) 2004-2011 <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, th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.