text stringlengths 5.8k 28.2k |
|---|
/*
* Phoenix-RTOS
*
* USB Mass Storage host driver
*
* Copyright 2019, 2020 Phoenix Systems
* Author: <NAME>, <NAME>
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/platform.h>
#include <... |
/* <NAME> and <NAME>
* 1/13/12
* University of Washington
*/
#include <stdlib.h>
#include <time.h>
#include "hash.h"
#include "ht_macros.h"
#define HT_EXPECTED_SIZE 1000000 //arbitrary...
/* Set HT_EXPECTED_SIZE to 10 to test bucket chaining: "oops" will hash
* to same value (5) as "yek3".
*/
typedef str... |
/* $OpenBSD: vgafb_pci.c,v 1.21 2010/05/22 21:30:26 deraadt Exp $ */
/* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
* All rights reserved.
*
* Author: <NAME>
*
* Permission to use, copy, modify and distribute this software and
* its docume... |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static complex c_b1 = {0.f,0.f};
static complex c_b2 = {1.f,0.f};
static integer c__3 = 3;
static integer c__1 = 1;
/* Subroutine */ int claghe_(integer *n, integer *k, real *d__, complex *a,
integer *lda, integer *iseed, complex *work, integer ... |
//------------------------------------------------------------------------------
// shadows-sapp.c
// Render to an offscreen rendertarget texture, and use this texture
// for rendering shadows to the screen.
//------------------------------------------------------------------------------
#include "sokol_app.h"
#incl... |
/*-
* Copyright (c) 2008-2011 Varnish Software AS
* All rights reserved.
*
* 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 ... |
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <3ds.h>
#include "action.h"
#include "../resources.h"
#include "../task/uitask.h"
#include "../../core/core.h"
#include "../../core/stringutil.h"
typedef enum content_type_e {
CONTENT_CIA,
CONTENT_TICKET,
CONTENT_3DSX_SMDH
} content_type... |
#define _XOPEN_SOURCE 800
#include <ucontext.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <pthread.h>
#include <pony.h>
#include <dtrace_encore.h>
#include "encore.h"
#include "future.h"
#include "../libponyrt/actor/messageq.h"
#include "../libponyrt/sched/scheduler.h"
... |
#include "../API/Printing.h"
#include "../includes.h"
const GUI_POINT printinfo_points[6] = {
{START_X + PICON_LG_WIDTH*0 + PICON_SPACE_X*0, ICON_START_Y + PICON_HEIGHT*0 + PICON_SPACE_Y*0},
{START_X + PICON_LG_WIDTH*1 + PICON_SPACE_X*1, ICON_START_Y + PICON_HEIGHT*0 + PICON_SPACE_Y*0},
{START_X + PICON_LG_WIDTH*2 + P... |
#include <math.h>
#include "esp_err.h"
#include "esp_log.h"
#include "error.h"
#include "lcd.h"
#include "rm68090_regs.h"
#include "rm68090.h"
#include "utils.h"
static const char *TAG = "rm68090";
// Init registers adapted from https://github.com/prenticedavid/MCUFRIEND_kbv/blob/master/MCUFRIEND_kbv.cpp
static co... |
/**
* @file Json.c
* In this source, json is decoded using the following library.
* - Jansson : https://github.com/akheron/jansson
*/
#include <bolib.h>
#include <string.h>
#include <jansson.h>
#include <setjmp.h>
#include <assert.h>
#include "common/strres.h"
#include "common/Observer.h"
#include "common/Inser... |
/* Low level Unix child interface to ptrace, for GDB when running under Unix.
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
1998, 1999, 2000, 2001, 2002, 2004
Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
// Copyright (c) 2001-2016, Altera Corporation.
// 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 directory of thi... |
/*
* (C) Copyright 2008, 2009 <NAME>,
* DENX Software Engineering, <EMAIL>.
* (C) Copyright 2009 <NAME>,
* DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under ... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 22