text stringlengths 5.8k 28.2k |
|---|
/* Copyright (c) 2018-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... |
/* Coex demo for wifi/bt/ble mesh
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include... |
/* coap-server.c - Erbium REST engine example */
/*
* Copyright (c) 2015 Intel 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/licenses/LICE... |
/*
* Copyright (C) 2018 Xilinx, Inc.
* Amazon FreeRTOS V1.1.4
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the So... |
/*
* Copyright (C) 2010-2012 Free Software Foundation, Inc.
*
* Author: <NAME>
*
* Based on certder.c, written by <NAME>
*
* This file is part of GnuTLS.
*
* GnuTLS 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 Softwa... |
/*
* Copyright (c) 2018
* IoTech Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
*/
/* Based on code from https://github.com/BoschSensortec/BME680_driver */
/**\mainpage
* Copyright (C) 2017 - 2018 Bosch Sensortec GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are p... |
/*=======================================================================
// USB Host Library
//
// File:
// usbh_hid.c
//
// Title:
// USB host hid body
//
// Created:
// 30 April 2013
//
//======================================================================*/
//
// Copyright (c) 2013, <NAME>
// All rights re... |
/**
@file
@brief implementation of the Aho-Corasick pattern matching algorithm.
most of this code was taken from another module by <NAME>
with his permission.
2005/03/20: I [<NAME> (<EMAIL>)] munged this code a
bit to make it more useful for my Python wrapper. I modified the output
state to ma... |
/*
Copyright 2003, CyberTAN Inc. All Rights Reserved
This is UNPUBLISHED PROPRIETARY SOURCE CODE of CyberTAN Inc.
the contents of this file may not be disclosed to third parties,
copied or duplicated in any form without the prior written
permission of CyberTAN Inc.
This software should be used as a reference... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdarg.h>
#include <assert.h>
#include "ndarray.h"
#include "ndshape.h"
#include "loss.h"
#include "grad.h"
#include "activation.h"
int AND(double x1, double x2) {
double x[] = { x1, x2 };
double w[] = { 0.5, 0.5 };
double b = -0.7;
Nd... |
#include <twr_system.h>
#include <twr_scheduler.h>
#include <twr_irq.h>
#include <twr_i2c.h>
#include <twr_timer.h>
#include <stm32l0xx.h>
#include <stm32l0xx_hal_conf.h>
#include <twr_rtc.h>
#include <twr_sleep.h>
#define _TWR_SYSTEM_DEBUG_ENABLE 0
static const uint32_t twr_system_clock_table[3] =
{
RCC_CFGR_SW_... |
/* ==== LIB-ML C INTERFACE ====
*
* Copyright 2013 Ravenbrook Limited <http://www.ravenbrook.com/>.
* 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 ... |
/*
* This file Copyright (C) 2008 <NAME> <<EMAIL>>
*
* This file is licensed by the GPL version 2. Works owned by the
* Transmission project are granted a special exemption to clause 2(b)
* so that the bulk of its code can remain under the MIT license.
* This exemption does not extend to derived works not owned ... |
/******************************************************************************
Copyright (C) 2014 by Nibbles
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 y... |
/* encoding.c: Functions to read the level data.
*
* Copyright (C) 2001-2006 by <NAME>, under the GNU General Public
* License. No warranty. See COPYING for details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "defs.h"
#include "state.h"
#include "err.h"
#include "encoding.h"
/* Read a ... |
/*
* usb_driver.c
*
* Created on: 23 Apr 2021
* Author: hari
*/
#include <usbd_driver.h>
#include "logger.h"
#include "string.h"
#include "usb_standards.h"
static void initialize_gpio_pins() {
// Enables the clock for GPIOA.
SET_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOAEN);
// Sets alternate function 10 ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/*
* Copyright (c) 2001-2007 pinc Software. All Rights Reserved.
* Distributed under the terms of the MIT license.
*/
/*! Device hooks for SiS 900 networking */
#include "device.h"
#include "driver.h"
#include "interface.h"
#include "sis900.h"
#include <directories.h>
#include <driver_settings.h>
#include <stdl... |
/* This is DVIPDFMx, an eXtended version of DVIPDFM by <NAME>.
Copyright (C) 2003-2014 by <NAME> and <NAME>,
the dvipdfmx project team.
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 Fo... |
/******************************************************************************
* Copyright (c) 2004, 2008 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http:... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2007, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* Copyright (c) 2012,2013, by the GROMACS development team, l... |
/*
* Copyright (c) 2014-2018 Cesanta Software Limited
* 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
*
* ... |
/* cdok -- Calcudoku solver/generator
* Copyright (C) 2012 <NAME> <<EMAIL>>
*
* 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... |
/* GStreamer
* Copyright (C) 2011 <NAME> <<EMAIL>>
*
* gstallocator.c: memory block allocator
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License,... |
/* <NAME> (a2gs)
* <EMAIL>
*
* inotify(7) full sample
*
* MIT License
*
*/
/* inotify.c
* inotify(7) full sample
*
* Who | When | What
* --------+------------+----------------------------
* a2gs | 22/01/2019 | Creation
* | |
*/
/* *** INCLUDES ***********************... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Mupen64plus - pi_controller.c *
* Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
* Copyright (C) 2014 <NAME> *
* ... |
/*
* Copyright (C) 2019 <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 ... |
/*
** Copied from:
** File: opusdec.c
** Copyright (c) 2002-2007 <NAME>
** Copyright (c) 2008 CSIRO
** Copyright (c) 2007-2012 Xiph.Org Foundation
*
* opus_decoder.c
*
* Copyright (c) 2013, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... |
/*
* Copyright (c) 2012-2014, <NAME> / Forsvarets Forskningsinstitutt
* 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 copyrigh... |
/*************************************************************************************************************
Copyright 2015-2019, Silicon Laboratories, 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 Li... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/*
* Copyright (c) 2021, Moonflow <<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 ... |
/* OX: Open-Channel NVM Express SSD Controller
*
* - OX-App Flash Translation Layer (core)
*
* 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.
*... |
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// 2016-12-07
// 10:43:46
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
#include "App.h"
static void Do_Signal_dignostics(uint8_t keycode);
const T_VT100_Menu_item MENU_BASE_ITEMS[] =
{
{ '1', Do_Signal_dignostics, 0 },
{ 'R', 0, 0 },
{ 'M', 0,(void *)&MENU_MAIN },
... |
/*
* THEC64 Mini
* Copyright (C) 2017 <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 3 of the License, or
* (at your option) any later version.
*
* This ... |
#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... |
/**
@file gameviewrunner.c
@brief 게임 화면과 함께 인게임 이벤트 핸들링에 관련된 함수들이 구현된 소스 파일
*/
#include "gameviewrunner.h"
/**
* @brief select_stone_position 내부에서 호출되는 키 핸들러
* @param c key value
* @param param 자유형 매개변수 포인터
*/
int handle_ssp_key_input(int c, void *param)
{
void **list = (void **) param;
GameData *data ... |
/* $OpenBSD: pass1.c,v 1.43 2015/08/22 06:00:27 deraadt Exp $ */
/* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifi... |
////////////////////////////////////////////////////////////////////////
//
// Copyright 2014 PMC-Sierra, 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/lic... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2008, 2007, 2006, 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Ge... |
//GROUP 10
//2017A7PS0179P - <NAME>
//2017A7PS0143P - <NAME>
//2017A7PS0157P - <NAME>
//2017A7PS0101P - <NAME>
#include "lexer.h"
#include "parser.h"
gnode* createNode(char* str){
gnode *node = (gnode*)malloc(sizeof(gnode));
node->term = getEnumVal(str);
node->next = NULL;
node->tag = (str[0] >= 65 &&... |
// Initialization //
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <assert.h>
#include <sys/time.h>
#include "nrutil.h"
#include "kdtree.h"
// Definitions
#define OMEGA_M 0.25
#define PI 3.141592741
#define RHO_CRIT 2.775E+11
#define DELTA_HALO 200
#define SPE... |
#include"ShortestPath.h"
#include"Stack.h"
void s_gets(char str[], int length, FILE* stream) {
fgets(str, length, stream);
for (int i = length - 1;i >= 0;i--) {
if (str[i] == '\n') {
str[i] = '\0'; break;
}
}
}
struct ListDemo NewListDemo(unsigned ID, char country[], char city[], double longitude, double la... |
/*************************************************************************//**
* @file
* @brief This file is part of the AFBR-S50 API.
* @details This file provides drivers for SLCD display
*
* @copyright
*
* Copyright (c) 2021, Broadcom Inc
* All rights reserved.
*
* Redistribution and use in source ... |
/*
* <NAME>
* Tue Apr 28, 2020 21:52
*
* Chat Macro Program
*
* This is honestly just built to facilitate chat macros while playing video games, but it could
* probably have other uses too.
*
* Currently, only Win32 is supported as a platform; however, it wouldn't be too much effort to
* swap out the Win32 ca... |
/**
MOVELATR v1.02, (c)2000-2008 <NAME>
All Rights Reserved.
<EMAIL>
http://www.bitsum.com
Freeware from Bitsum Technologies.
Use of this code must be accompanied with credit. Commercial use prohibited
without authorization from <NAME>.
---------------------------------------------------------------------... |
/* File generated by gen_cfile.py. Should not be modified. */
#include "TestMaster.h"
/**************************************************************************/
/* Declaration of mapped variables */
/**************************************************************************/
... |
#include "pam_email_extractor.h"
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <pwd.h>
#ifndef NO_LDAP
#include <ldap.h>
//#include <sasl.h>
int pam_sasl_interact(LDAP *ld, unsigned flags, void *defaults, void *in)
{
/**
char *saslconfigstr=(char*)d... |
#include <lcl.h>
#include <lualib.h>
#include <lauxlib.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
int lcl_absindex(lua_State *L, int idx){
if(idx > 0 || idx <= LUA_REGISTRYINDEX){ return idx; }
return lua_gettop(L) + 1 + idx;
}
int lcl_len(lua_State *L, int idx){
int len = 0;
#if LUA_VERSION_NUM ... |
/*
* Copyright 2011-2014, EDF. This software was developed with the collaboration of INRIA (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
/*
* Copyright 2002-2011, The TenDRA Project.
* Copyright 1997, United Kingdom Secretary of State for Defence.
*
* See doc/copyright/ for the full copyright terms.
*/
#include <stddef.h>
#include <limits.h>
#include <shared/bool.h>
#include <shared/check.h>
#include <local/exp.h>
#include <tdf/shape.h>
#includ... |
/*!
http://www.cse.psu.edu/~deh25/cmpsc473/programs/semaphore_sample.c
*/
/* POSIX threads and semaphores demonstration program */
/* Warning: this example does not check the status return of all Pthread or
* semaphore library functions, and therefore merits a lowered grade.
* Also, this example doesn't actual... |
enum
{
Qdir,
Qacme,
Qcons,
Qconsctl,
Qdraw,
Qeditout,
Qindex,
Qlabel,
Qnew,
QWaddr,
QWbody,
QWctl,
QWdata,
QWeditout,
QWerrors,
QWevent,
QWrdsel,
QWwrsel,
QWtag,
QWxdata,
QMAX
};
enum
{
Blockincr = 256,
Maxblock = 8*1024,
NRange = 10,
Infinity = 0x7FFFFFFF /* huge value for regexp addres... |
/*s: sh/sh.c */
/* sh - simple shell - great for early stages of porting */
#include <u.h>
#include <libc.h>
/*s: constant [[MAXLINE]] */
#define MAXLINE 200 /* maximum line length */
/*e: constant [[MAXLINE]] */
/*s: constant [[WORD]] */
#define WORD 256 /* token code for words */
/*e: constant [[WORD]] */
/*s: con... |
#include "Python.h"
#include "anneal_quso.h"
#include "anneal_puso.h"
/*
Here we wrap the source code in the src folder so that it can be called
directly from Python. This file creates the ``qubovert.sim._canneal`` module.
*/
// Module info
static char _canneal_name[] = "_canneal";
static char _canneal_docstring[] ... |
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
/*
* Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/**
* \file pm_app_main.c
*
* \brief This is an Example application to demonstrate the basic
* PM functionailty.
*
* Application Use-case:
* 1. Setting Time and Date to intitiate the Suspend/Resume sequence
* 2. Demonstrate the working of Deep Sleep functionality
*
* ... |
/* $OpenBSD: pass2.c,v 1.11 2005/04/30 13:56:16 niallo Exp $ */
/* $NetBSD: pass2.c,v 1.6 2000/01/28 16:01:46 bouyer Exp $ */
/*
* Copyright (c) 1997 <NAME>.
* Copyright (c) 1980, 1986, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms,... |
/* hash.c April 2012
* Groestl ANSI C code optimised for 32-bit machines
* Author: <NAME>
*
* This work is based on the implementation of
* <NAME> and <NAME>
*
*
*/
#include <stddef.h>
#include "groestl.h"
#include "groestl_tables.h"
#define P_TYPE 0
#define Q_TYPE 1
const uint8_t shi... |
/******************************************************************************
* Copyright 2020 The Firmament Authors. 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 ... |
/*
* 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... |
/*
* このファイルは tecsgen によりテンプレートとして自動生成されました
* このファイルを編集して使用することが意図されていますが
* tecsgen の再実行により上書きされてしまうため、通常
* gen/tIPv4Input_template.c => src/tIPv4Input.c
* のように名前, フォルダを変更してから修正します
*/
/* #[<PREAMBLE>]#
* #[<...>]# から #[</...>]# で囲まれたコメントは編集しないでください
* tecsmerge によるマージに使用されます
*
* 呼び口関数 #_TCPF_#
* call port: c... |
//------------------------------------------------------------------------------
// LAGraph_cc_fastsv5b: connected components
//------------------------------------------------------------------------------
/*
LAGraph: graph algorithms based on GraphBLAS
Copyright 2020 LAGraph Contributors.
(see Contrib... |
/*********************************************************************
8042kbdc.c
Code specific to fun IBM AT stuff
PeT's notes about various Power On Self Tests (POSTs)
at post
-------
f81d2 01
f82e6 05
f8356 07
f83e5 0a
f847e 0e
... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
//network interface and socket
#include <sys/types.h>
#include <ifaddrs.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <sys/socket.h>
#include <sys/epoll.h>
#include <netdb.h>
#include <arpa/inet.h>
//usleep
#include <unistd.h>
#in... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <argp.h>
//#define DBG
char* iso4217[] =
{
"GBX", //United Kingdom pence
"EUR", //Euro Member Countries
"USD", //United States Dollar
"CAD", //Canada Dollar
"SEK", //Sweden Krona
"NOK", //Norway Krone
"AED", //United ... |
/* Copyright (c) 2014-2015, 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... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Slabs memory allocation, based on powers-of-N. Slabs are up to 1MB in size
* and are divided into chunks. The chunk sizes start off at the size of the
* "item" structure plus space for a small key and value. They increase by
* a mult... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/*
** Copyright 2005-2018 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of version 2 of the GNU General Public License ... |
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: <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;... |
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* %sccs.include.redist.c%
*
* @(#)mscp.h 7.5 (Berkeley) 06/28/90
*/
/*
* Definitions for the Mass Storage Control Protocol
* I WISH I KNEW WH... |
/*******************************************************************************
* (c) 2019 ZondaX GmbH
*
* 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/lic... |
/* ztgex2.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... |
/*
* Gramado Operating System - The main file for the kernel.
* (c) Copyright 2015~2019 - <NAME>.
*
* File: kernel/entry/x86/x86main.c
*
* Description:
* This is the Kernel Base.
* It's the mains file for a 32 bit x86 Kernel.
* The type is 'hybrid'.
* The entry point is in 'head.s'.
*
*
... |
/*
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
/****************************************... |
#include <client.h>
#include <define.h>
#include <clib.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include <strings.h>
#include <string.h>
#define CONFIG_FILE_DEFAULT "config.ini"
static void handle_int(int sign);
static void print_help();
static void running_chicken();
static v... |
/* $FreeBSD$ */
/* $OpenBSD: if_iwnvar.h,v 1.18 2010/04/30 16:06:46 damien Exp $ */
/*-
* Copyright (c) 2013 <NAME> <<EMAIL>>
* Copyright (c) 2011 Intel Corporation
* Copyright (c) 2007, 2008
* <NAME> <<EMAIL>>
* Copyright (c) 2008 <NAME>, Errno Consulting
*
* Permission to use, copy, modify, and distribute thi... |
/* $Id: md5.c,v 1.3 2007/03/26 04:21:07 fcusack Exp $
*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to <NAME>. This code was
* written by <NAME> in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available f... |
/*
* IEEE 1394 for Linux
*
* kernel ISO transmission/reception
*
* Copyright (C) 2002 Maas Digital LLC
*
* This code is licensed under the GPL. See the file COPYING in the root
* directory of the kernel sources for details.
*/
#include <linux/pci.h>
#include <linux/slab.h>
#include "hosts.h"
#include "iso.h... |
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* C MEX-file for performing WLS control allocation.
*
* To build this C MEX file, different commands should be used for
* different platforms.
*
* On SGI, LINUX, Solaris, Alpha, and Macintosh platforms, LAPACK and
* BLAS function names end... |
/*
* 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... |
// Read a configuration file.
// Config files are formatted as several sections, each containing key = value pairs.
// e.g.:
// [section1]
// thing1 = 33
// thing2 = 454
// [section2]
// asdf = 123
typedef enum {
SECTION_NONE,
SECTION_CORE,
SECTION_KEYBOARD,
SECTION_COLORS,
SECTION_EXTENSIONS
} Section;
// all w... |
/* test.c -- test and example for sieve version 2 api
* <NAME>
* $Id$
*
* usage: "test message script"
*/
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* As an exception to the LGPL license which applies to the... |
/*
* Copyright (c) 2016 <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 all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL... |
/**********************************************************/
/* */
/* math.c */
/* */
/* author: d. <NAME> */
/* id: $Id: tensor.... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
#include "chiffrage.h"
#include "test_harness/test_harness.h"
#include <stdlib.h>
#include <string.h>
// Valeurs pour le harnais de test spécifiques à ce programme.
int const tests_total = 68;
int const test_column_width = 80;
#define TAILLE_CHAINE 128
int main()
{
char clair[TAILLE_CHAINE], chi... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/**
* membase.c - Main program for PC Engine MB128-compatible peripheral
*
* Copyright (c) 2021 <NAME>
*
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "pico/stdlib.h"
#include "pico/time.h"
#include "pico/multicore.h"
#include "hardware/flash.h"
#include "hardware/pio.h"
#include "membas... |
/*
* Copyright (c) 2015 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, including without limitation
* the rights to use, copy, modify, merge, p... |
// Linux 4.10 < 5.1.17 PTRACE_TRACEME local root (CVE-2019-13272)
// Uses pkexec technique
// ---
// Original discovery and exploit author: <NAME>
// - https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
// ---
// <<EMAIL>>
// - added known helper paths
// - added search for suitable helpers
// - added autom... |
//
// memstrike
//
// Copyright (c) 2008-2010 <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... |
/*
* candlestick.c
*
* FUNCTION:
* Draws a skewed candlestick shape using the Lathe primitive
*
* HISTORY:
* -- created by <NAME> October 1991
* -- C++ and OO playing around Linas Vepstas June 1993
* -- converted to use GLUT -- December 1995, Linas
*
*/
/* required include files */
#include <stdlib.h>
#i... |
/* refreshNamedSessionCustomTracks -- cron robot for keeping alive custom
* tracks that are referenced by saved sessions. */
/* 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 "h... |
/*
ucg_com_msg_api.c
Universal uC Color Graphics Library
Copyright (c) 2014, <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:
* Redistributions of source code must retain th... |
/*
* Amazon FreeRTOS V1.4.4
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. 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, includi... |
#include <sys/prctl.h>
#include <sys/ioctl.h>
#include <sys/syscall.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <asm/bitsperlong.h> /* for __BITS_PER_LONG */
#include <linux/filter.h>
#include <linux/seccomp.h>
#include <linux/audit.h>
#include <endian.h>
#include <errno.h>
#incl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.