text stringlengths 3.12k 18.7k |
|---|
/*-----------------------------------------------------------------------/
/ PFF - Generic low level disk control module (C)ChaN, 2014
/------------------------------------------------------------------------/
/
/ Copyright (C) 2014, ChaN, all right reserved.
/ Copyright (c) 2017 MattairTech LLC. All... |
#include "generation_helpers.h"
void initRegisters() {
int i;
for (i = 0; i < 15; i++)
registres[i] = 0;
}
int getRegister() {
int i = 0;
while (registres[i] == 1 && i < 13) i++;
if (i == 13) {
error("Out of registers. Expression to long !");
return -1;
}
registres[i] = 1;
return i;... |
#include <time.h>
#include<stdlib.h>
#include <LedControl.h>
//Defining Constant Values & Handles
//Handles
//Constant Values
//Screen Pins
#define SCREEN_DIN_PIN 2
#define SCREEN_CS_PIN 1
#define SCREEN_CLK_PIN 0
//Joystick Pins
#define JYS_X_PIN 0
#de... |
/*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm's non-OSI source license
*
*/
#include <stdio.h>
#include <stdint.h>
#include "test_engine.h"
#include "cc_util_defs.h"
#include "cc_util_key_derivation.h"
#include "test_proj_otp.h"
... |
/*
* This file is part of the OpenMV project.
* Copyright (c) 2013/2014 <NAME> <<EMAIL>>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* LBPu2⁄8,2 Operator.
*
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "imlib.h"
#include "xalloc.h"
#include "ff.h"
#def... |
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <time.h>
#include <sys/stat.h>
#include "ook.h"
int verbose=0;
// Datum keeps enough information to sum them up and still compute the standard deviation
struct datum {
... |
/*
* gumTerm - A small and lightweight Terminal Application using GTK - Written by Adriano 'Gumball' M. (uwu pls call me Gumball)
* Licensed under The Unlicense.
*
*/
#include <gtk/gtk.h>
#include <signal.h>
#include <stdbool.h>
#include <string.h>
#include <vte/vte.h>
#define CLR_R(x) (((x)&0xff0000) >> 16)
#define... |
/*******************************************************************************
*
* Copyright (C) 2017 Xilinx, Inc. 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 Softw... |
/****
Copyright (C) 1996 McGill University.
Copyright (C) 1996 McCAT System Group.
Copyright (C) 1996 ACAPS Benchmark Administrator
<EMAIL>
This program is free software; you can redistribute it and/or modify
it provided this copyright notice is maintained.
This program... |
/*
* This file is part of the libpayload project.
*
* Copyright (C) 2012 secunet Security Networks AG
* Copyright (C) 2013 <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... |
/*
* Copyright (C) 2008-2018 by <NAME>.
* Copyright (C) 2009-2018 by <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... |
#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... |
/**********************************************************************/
/* */
/* L U U DDDD W W IIIII GGGG */
/* L U U D D W W I G */
/* L U U ... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2015 The University of Tennessee and The University
* of Tennessee Resea... |
#include "definitions.h"
// MODULES (.h)
#include "modules/basic_event_handling/basic_event_handling.h"
#include "modules/basic_key_handling/basic_key_handling.h"
#include "modules/basic_user_control/basic_user_control.h"
#include "modules/pertag/pertag.h"
#include "modules/multimon/multimon.h"
#include "modules/cance... |
#include "prep-screen.h"
extern void ResetPrepScreenHandCursor(ProcPtr);
extern void sub_80AD4A0(int, int);
static void(*PrepDrawHand)(int,int,int,int) = (const void*) 0x80AD51D;
// =======================================================
// =============== Proc Prep Main Menu ===================
// =================... |
#include <immintrin.h>
typedef double a4df[4] __attribute__ ((aligned (32)));
typedef float a8sf[8] __attribute__ ((aligned (32)));
typedef float a4sf[4] __attribute__ ((aligned (32)));
typedef long long a4di[4] __attribute__ ((aligned (32)));
typedef int a8si[8] __attribute__ ((aligned (32)));
typedef short a16... |
/*
Calibrate.c
A program to perform one or all of three tests to count flops.
Test 1. Inner Product: 2*n operations
for i = 1:n; a = a + x(i)*y(i); end
Test 2. Matrix Vector Product: 2*n^2 operations
for i = 1:n; for j = 1:n; x... |
/*************************************************************************************************
*
* avl.c
*
* Algorithms for insertion into and deletion from an AVL tree. The algorithms are called by the
* high level functions of the bst interface declared in bst.h if the balancing strategy is set to
* AVL for... |
#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... |
/*
* cfluviurrh.c
* reference interpreter for
* the Cfluviurrh programming language, version 1.0
* Copyright (c)2012, <NAME>, Cat's Eye Technologies
* covered under a BSD-style license: see LICENSE
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* Note that these are arbitrarily limited in thi... |
/*
* Copyright (c) 2020 Huawei Device 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 law ... |
/* $XdotOrg: xc/programs/Xserver/hw/darwin/quartz/quartz.c,v 1.3 2004/07/30 19:12:17 torrey Exp $ */
/**************************************************************
*
* Quartz-specific support for the Darwin X Server
*
**************************************************************/
/*
* Copyright (c) 2001-2004 <NA... |
// Standard library includes.
#include <stdint.h>
#include <string.h>
// Device header files.
#include "gd32vf103.h"
#include "n200_func.h"
#include "riscv_encoding.h"
// Pre-defined memory locations for program initialization.
extern uint32_t _sidata, _sdata, _edata, _sbss, _ebss;
// Current system core clock speed.... |
/* ecc-ecdsa.c - Elliptic Curve ECDSA signatures
* Copyright (C) 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
* Copyright (C) 2013 g10 Code GmbH
*
* This file is part of Libgcrypt.
*
* Libgcrypt is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Publ... |
#include <stdio.h>
#include <string.h>
#include <sys/ptrace.h>
#include <stdlib.h>
/* Flag : dc91120{n0_one_c4n_reverse_m3} */
#define INVALID_KEY "ERRRRR Wrong KEY!"
#define CORRECT_KEY "WOOOOO Correct KEY"
int main(int, char ** ); // for some reason this was important to avoid warnings
int cstrchk(char, char);
ch... |
/**
* @file
* @brief Terminal driver.
* @details
* Allows us to operate high-level tokens instead of simple chars.
* It also provides some common ANSI/VT100 terminal control sequences.
* This entity is backed by VTParse and VTBuild modules.
*
* @date 04.02.09
* @author <NAME>
*/
#include <stdarg.h>
#include ... |
/*!A dlopen library that bypasses mobile system limitation
*
* 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 ap... |
#include <string.h>
#include "dlite.h"
#include "philibtable.h"
#define STRINGIFY(s) _STRINGIFY(s)
#define _STRINGIFY(s) # s
char* fvname(char* phase){
char* head = "fv(";
char* tail = ")";
char* string = (char*)malloc(1+strlen(head)+strlen(phase)+strlen(tail));
strcpy(string, head);
strcat(string, p... |
/*
notify -- primitive notification service implementing a subset of the SunOS
(sunview/XView) notifier.
Copyright 1993 by AT&T Bell Laboratories; all rights reserved
*/
#include <sys/time.h>
#include <signal.h>
#include <stdio.h> /*DEBUG, fprintf() */
#include <stdlib.h> /* malloc() */
#include ... |
/*
* This file is a part of Poly2Tri-C
* (c) <NAME> <<EMAIL>>
* http://code.google.com/p/poly2tri-c/
*
* 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 cod... |
/*-------------------------------------------------------------------------
*
* lockfuncs.c
* Set-returning functions to view the state of locks within the DB.
*
* Copyright (c) 2002-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/lockfuncs.c,v 1.20 2005... |
/*
* Copyright (c) 2018, Commonwealth Scientific and Industrial Research
* Organisation (CSIRO)
* All rights reserved.
*/
/* Includes -------------------------------------------------*/
#include "unified_comms.h"
#include "unified_comms_bluetooth.h"
#include "unified_comms_gatt.h"
#include "unified_comms_serial.h... |
/*
*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* The contents of this file are provided under the Software License
* Agreement that you accepted before downloading this file.
*
* This source forms part of the Software and can be used for educational,
* training, and demonstration purpos... |
/******************************************************************************/
/* */
/* Copyright (c) International Business Machines Corp., 2006 */
/* ... |
/*
* handlers.c - handlers for worker messages
*/
#define _POSIX_C_SOURCE 200809L
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <time.h>
#include <errno.h>
#include "config.h"
#include "log.h"
#include "state.h"
#include "ui.h"
#include "email/headers.h"... |
/*
* 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... |
/* Copyright 2013, <NAME>.
* Copyright 2016, <NAME>.
* Copyright 2018, <NAME>.
* All rights reserved.
*
* This file is part sAPI library for microcontrollers.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... |
#include "xmame.h"
#include "audit.h"
#include "unzip.h"
#include "driver.h"
#include <dirent.h>
#ifdef BSD43 /* old style directory handling */
#include <sys/types.h>
#include <sys/dir.h>
#define dirent direct
#endif
unsigned int crc32 (unsigned int crc, const unsigned char *buf, unsigned int len);
void romident(con... |
/*******************************************************************************************
Copyright 2010 Broadcom Corporation. All rights reserved.
Unless you and Broadcom execute a separate written software license agreement
governing use of this software, this software is licensed to you under the
terms of the... |
/*** Header: "MENU.H 1.0 copyright 1987 <NAME>" ***/
/*********************************************************************\
**
** MENU -- General-purpose menu interpretor
**
** 870719 SS create PC version.
**
** This is a general-purpose system for 1-line, full-screen, and
** pop-up text menus on the PC. Selection ... |
#include "param.h"
#include "types.h"
#include "defs.h"
#include "x86.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "elf.h"
extern char data[];
pde_t *kpgdir;
// 设置CUP 的内核段描述符,在进入每个 CPU 的时候运行一次。
void
seginit(void) {
struct cpu *c;
// 将逻辑地址映射到虚拟地址
// 因为 CPU 禁止从 CPL=0 到 DPL=3 的中断,所以内核和用户空... |
#include <mex.h>
#include <stddef.h>
#include <math.h>
#include "matrix.h"
#include "ow_homography.h"
/*
Function to do the heavy computation for variational blind deblurring
Single-threaded version
Author: <NAME> <<EMAIL>>
Date: August 2010
Copyright: 2010, <NAME>
Reference: <... |
/** Copyright 2020 The Fuchsia Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifdef ZIRCON_BOOT_CUSTOM_SYSDEPS_HEADER
#include <zircon_boot_sysdeps.h>
#else
#include <assert.h>
#include <string.h>
#endif
#include <lib/zbi/zbi.... |
/*
Copyright (c) 2015 <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 PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRAN... |
//-----------------------------------------------------------------------------
// Copyright (C) 2012 <NAME>
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//---------------------------------... |
/*
* Spin to C/C++ translator
* Copyright 2011-2022 Total Spectrum Software Inc.
*
* +--------------------------------------------------------------------
* ¦ TERMS OF USE: MIT License
* +--------------------------------------------------------------------
* Permission is hereby granted, free of charge, to any... |
/*
* Copyright © 2008 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy,
* modify, merge, p... |
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <sys/syscall.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <stdint.h>
#include <pthread.h>
#include <time.h>
#include ... |
/*
* 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 of the License, or
* (at your option) any later version.
*
* MPlayer is distributed in th... |
/*
* MIT License
*
* Copyright (c) 2019 UCLA NanoCAD Laboratory
*
* 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 ... |
/*
$Id$
*======================================================================
*
* DISCLAIMER
*
* This material was prepared as an account of work sponsored by an
* agency of the United States Government. Neither the United States
* Government nor the United States Department of Energy, nor Battelle,
* nor a... |
/* Teensy Simple Gamepad
* A Gamepad device with one 2-axis D-pad and 1 or more buttons
* Copyright (C) 2013 <NAME>, <EMAIL>
*
* Derived from keyboard and serial examples for Teensy USB Development Board
* http://www.pjrc.com/teensy/usb_keyboard.html
* http://www.pjrc.com/teensy/usb_serial.html
* Copyright (c) 2... |
/**
* \file
*
* \brief SSD1306 OLED display controller driver.
*
* Copyright (c) 2013-2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... |
/* Unit Test File */
/* Files Imported */
#include "tests.h"
/* format these macros as you see fit */
#define TEST_HEADER \
printf("[TEST %s] Running %s at %s:%d\n", __FUNCTION__, __FUNCTION__, __FILE__, __LINE__)
#define TEST_OUTPUT(name, result) \
printf("[TEST %s] Result = %s\n", name, (result) ? "PASS" : "FAIL... |
#include "smmgvpass.h"
#include <assert.h>
#define STMT_COLOR "palegreen"
static uint32_t id(void* n) {
return ((uintptr_t)n) & 0xffff;
}
static const char* typeName(PSmmTypeInfo type) {
if (type) return type->name;
return "noType";
}
static void printNode(void* n, const char* label, const char* color, FILE* f)... |
#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... |
/* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of Nordic
* Semiconductor ASA.Terms and conditions of usage are described in detail
* in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-t... |
#include "control.h"
// =========== Extern Variables ===========
int category = 0;
int dir_cam;
int last_dir_cam;
int circle_dir=0;
// =========== Local Variables ============
//============Motor_PID==============
static s16 last_errL = 0, last_errR = 0, motor_outL = 0, motor_outR = 0, errL2 = 0, errR2 = 0, errL = 0... |
/* GStreamer
*
* unit test for GstToc
*
* Copyright (C) 2010, 2012 <NAME> <<EMAIL>>
*
* 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, or (at y... |
/* $Id$
Part of SWI-Prolog
Author: <NAME>
E-mail: <EMAIL>
WWW: http://www.swi-prolog.org
Copyright (C): 2007-2009, University of Amsterdam
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... |
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <string.h>
#include "serial.h"
static speed_t convert_baud_rate(long baud) {
switch (baud) {
case 300:
return B300;
case 9600:
return B9600;
case 19200:
... |
/*
* osh - A shell for Oracle
*
* <NAME> (<EMAIL>)
* 2Q 2019
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*/
#pragma once
/* System headers */
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <libgen.h>
#... |
#include "util/common.h"
#include "data/array.h"
#include "smMem.h"
#include "smPose.h"
// Destructor
void pose_dtor(pose_s *pose) {
SM_ASSERT(pose != NULL);
SM_ARRAY_DTOR(pose->nodes);
}
void pose_resize(pose_s *pose, size_t size) {
SM_ASSERT(pose != NULL);
size_t nodes_old_size = SM_ARRAY_SIZE(pose->no... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <gtksourceview/gtksource.h>
#include "../lci_mp.h"
extern int lci_file_info(LCITextPort *tp, char *filename);
// extensions
//https://www.webopedia.com/reference/data-formats-and-file-extensions/
//https://en.wikipedia.org/wiki/L... |
/* $Id$ */
/* Copyright (c) 2011-2018 <NAME> <<EMAIL>> */
/* This file is part of DeforaOS Desktop Locker */
/* 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 abo... |
#pragma once
#include "sysstuff.h"
#include "action.h"
#include "dbgcfg.h"
using layer_t = uint8_t;
constexpr layer_t kPushLayer = 1;
constexpr layer_t kPopLayer = 2;
constexpr layer_t kToggleLayer = 3;
constexpr layer_t kSwitchLayer = 4;
#define ___ 0
#define PASTE(a, b) a##b
#if defined(TEENSY)
#define PK(a) ((P... |
#include <src/helpers/opengl/loaders.h>
#include <src/helpers/opengl/quads_structures.h>
#include <myy/helpers/struct.h>
#include <myy/helpers/log.h>
#include <myy.h>
#include <stddef.h>
#include <packed_fonts_parser.h>
struct glsl_programs_shared_data glsl_shared_data = {
.strings = {
"shaders/standard.vert\0s... |
// Standard headers
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
#include <stdarg.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <errno.h>
// For message queue
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
// For signal handling
#include <signal.h>
// For pos... |
//
// Created by <NAME> on 26.10.17.
//
#include <avr/io.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <stdbool.h>
#include "ws2821.h"
#include "internal_led.h"
#ifndef CONCAT_HELPER
#define CONCAT_HELPER(a, b) a ## b
#endif
#ifndef CONCAT
#... |
/*******************************************************************************
MPLAB Harmony Application Source File
Company:
Microchip Technology Inc.
File Name:
app.c
Summary:
This file contains the source code for the MPLAB Harmony application.
Description:
This file contains the sour... |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (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/lice... |
/* --------------------------------------------------------------------------
* Name: match.c
* Purpose: Font matching
* Author: <NAME>
* ----------------------------------------------------------------------- */
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "oslib/fo... |
/*
* hifmc_hi3516dv200.c
*
* The Flash Memory Controller v100 Device Driver for hisilicon
*
* Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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... |
/*
* Copyright (C) 1989-94 GROUPE BULL
*
* 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, publ... |
/*
* Copyright 2009 <NAME>, 2018 savale
* Copyright (c) 2020 UfoCommunity team
* 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 c... |
// SPDX-License-Identifier: GPL-2.0
/*
* User-space helper to sort the output of /sys/kernel/debug/page_owner
*
* Example use:
* cat /sys/kernel/debug/page_owner > page_owner_full.txt
* ./page_owner_sort page_owner_full.txt sorted_page_owner.txt
* Or sort by total memory:
* ./page_owner_sort -m page_owner_full.t... |
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. 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 copy... |
/***************************************************************************//**
* @file main.c
* @brief Demonstrate how to implement a composite device.(Virtual com port and Mass storage device)
* @version 2.0.0
*
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
***********************... |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2016 CNEX Labs
* Initial release: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 as published by the Free Softwa... |
/**
* Copyright (c) 2017 - 2019, Nordic Semiconductor ASA
*
* 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... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define BUFFERSIZE 22
#define INFINITY 4294967295
typedef struct {
unsigned int costo;
int finish; //vale 1 se ho già analizzato le frecce uscenti del nodo
}pq; //priority queue
struct nodo{
unsigned int valore; //valore == costo
unsigned int indice; //i... |
/* pdu.c -- CoAP message structure
*
* Copyright (C) 2010--2014 <NAME> <<EMAIL>>
*
* This file is part of the CoAP library libcoap. Please see
* README for terms of use.
*/
#include "coap_config.h"
#if defined(HAVE_ASSERT_H) && !defined(assert)
# include <assert.h>
#endif
#include <stdlib.h>
#include <stdio.h... |
/*D***********************************************************
* Modul: DBI - database select
* Reisender - Dienstleistungsnehmer
*
* Copyright: yafra.org, Basel, Switzerland
**************************************************************/
#include <mpmain.h>
#include <mpsqlsel.h>
#include <mpprodbi.... |
/* ctest.c
* <NAME>
* 6 Mar 2006
*
* This file contains the code needed to find and launch C unit tests.
*
* Copyright (C) 2007 <NAME>
* This file is released under the MIT License.
* See http://www.opensource.org/licenses/mit-license.php
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include ... |
/******************************************************************************
* addOrder.c *
* Decides the initial addition order of taxa using max_mini method *
* Authors: <NAME> and <NAME> *
*************... |
/*
** Copyright (C) 2021 <NAME> <<EMAIL>>
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and associated documentation files (the "Software"), to deal
** in the Software without restriction, including without limitation the rights
** to use, copy, modify, merge, pu... |
// SPDX-License-Identifier: GPL-2.0
/*
* s390 code for kexec_file_load system call
*
* Copyright IBM Corp. 2018
*
* Author(s): <NAME> <<EMAIL>>
*/
#include <linux/elf.h>
#include <linux/kexec.h>
#include <asm/setup.h>
const struct kexec_file_ops * const kexec_file_loaders[] = {
&s390_kexec_elf_ops,
&s390_kexe... |
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2014, <NAME> <<EMAIL>>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Li... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2018 <NAME> for Adafruit Industries
*
* 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... |
#include "banks.h"
#define MYBANK BANK(8)
#include "b8_terminal.h"
#include "b8_getstr.h"
#include "b0_globals.h"
#include "b10_detect_vdp.h"
#include "b13_honk.h"
#include <conio.h>
#include <string.h>
extern unsigned char colors[];
extern unsigned char isBold;
void resetState();
int getParamA(int def);
int getPara... |
#include "bmp280.h"
#include <fcntl.h>
#include <linux/spi/spidev.h>
#include <linux/types.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
static uint8_t spi_mode = 0;
static uint8_t spi_bits = 8;
static uint32_t spi_speed = 50000;
static uint16_t spi_delay = 100;
static int spi... |
/* MiniDLNA project
*
* http://sourceforge.net/projects/minidlna/
*
* Much of this code and ideas for this code have been taken
* from <NAME>'s proposed Linux kernel patch (which
* apparently never made it upstream), and some from Busybox.
*
* MiniDLNA media server
* Copyright (C) 2009 <NAME>
*
* This file ... |
/*
* direct.c - NILFS direct block pointer.
*
* Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation.
*
* 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 t... |
/* wigAsciiCrunch - Convert wigAscii to denser more flexible format. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "portable.h"
void usage()
/* Explain usage and exit. */
{
errAbort(
"wigAsciiCrunch - Convert wigAscii to denser more flexible format\n"
"usage:\n"
" ... |
/*
* Copyright 1995-2017 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... |
/* Rename SSA copies.
Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
Contributed by <NAME> <<EMAIL>>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; eithe... |
/*
* Copyright (c) 2006 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2006 The Technical University of Chemnitz. All
* rights reserved.
* Cop... |
/* hgKnownMore - Create the knownMore table from a variety of sources.. */
/* Copyright (C) 2013 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "knownMore.h"
#include "linefile.h"
#include "hash.h"
#include "jksql.h"
#in... |
/*****************************************************************************\
** **
** FILE: offline.mail.h **
** AUTHORS: Alexios **
**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.