text stringlengths 5.8k 28.2k |
|---|
#include <resamplers.h>
#include <matrix.h>
#include <stdlib.h>
#include <string.h>
#include<stdio.h>
static void default_reporter(const char* msg, const char* expr, const char* file, int line, const char* function,void* usr) {
(void)usr;
printf("%s(%d) - %s()\n\t%s\n\t%s\n",file,line,function,msg,expr);
}
ty... |
/* SESA is a wrapper for the ESA implementation */
/* Copyright (C) 2006 Bioinformatics Centre */
/* Author: <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 ... |
#include <stdio.h>
#include <string.h>
#include "py/runtime.h"
#include "ports/stm32/timer.h"
#include "dcfurs.h"
#define DCF_PIN_ROW_CLK (1 << 4)
#define DCF_PIN_ROW_DATA (1 << 12)
#define DCF_PIN_ROW_ENABLE (1 << 8)
#define DCF_PIN_COL_BANKB 0x03E3
#define DCF_PIN_COL_BANKC 0x1FFC
#define DCF_PIN_ALL_B... |
/**
* Copyright (c) 2015 Google, 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 conditions a... |
#include <errno.h>
#include <math.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <wlc/wlc.h>
#include "sway/commands.h"
#include "sway/layout.h"
#include "sway/focus.h"
#include "sway/input_state.h"
#include "sway/handlers.h"
#include "log.h"
enum resize_dim_types {
RESI... |
// clibpm
#include <clibpm.h>
#include <pthread.h>
pthread_mutex_t pmp_mutex;
static void *pmemalloc_reserve(size_t size);
static void pmemalloc_free(void *abs_ptr_);
void* pmalloc(size_t sz) {
pthread_mutex_lock(&pmp_mutex);
/* if(sz==32){ //32 is the size of vector, and vectors can be appended, so we need to r... |
/** Debug Spawn Object submenu.
*/
#include "main.h"
#define SPAWN_MENU_XPOS 15
#define SPAWN_MENU_YPOS 50
#define SPAWN_MENU_WIDTH 600
#define SPAWN_MENU_HEIGHT 405
#define SPAWN_MENU_NUM_LINES ((SPAWN_MENU_HEIGHT / MENU_LINE_HEIGHT) - 1)
#define SPAWN_MENU_MAX_PARAMS 15
#define SPAWN_MENU_CURSOR_X_OFFS (SPAWN_MENU_... |
/* $OpenBSD: adt7460.c,v 1.21 2007/12/12 16:56:59 deraadt Exp $ */
/*
* Copyright (c) 2005 <NAME>
*
* 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.
... |
#pragma once
//int find_real_roots_sturm(double *p, int order, double *roots, int *nroots, int maxpow, bool non_neg);
// Copyright <NAME>, 2010
static const char *copyright = "Copyright <NAME>, 2010";
// 22.09.2018: <NAME>: Moved to single header
//---------------------------------------------------------------------... |
#include <string.h>
#include <math.h>
#include <stdio.h>
#include "oss_media_hls.h"
#include "oss_media_client.h"
/* delay: 700ms */
#define OSS_MEDIA_HLS_HLS_DELAY (700 * 90)
#define OSS_MEDIA_HLS_HEADER_LENGTH 5
#define OSS_MEDIA_PAT_PID 0
#define OSS_MEDIA_PMT_PID 4097
static uint32_t crc_table[256];
static void... |
/*
* FPDS Archive Conversion Utility
*
* Copyright (c) 2018-2020 <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 right... |
/* Synteny - figure out synteny statistics for cross-species alignment.
* (Synteny - how much order of genes in one species resembles another. */
#include "common.h"
#include "dnautil.h"
#include "portable.h"
#include "dlist.h"
#include "dnaseq.h"
#include "fa.h"
struct contig
/* A contiguously aligned sequence pair... |
/* Extended Module Player
* Copyright (C) 1996-2021 <NAME> and <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... |
/***************************************************************************
* Copyright (C) 2016 by <NAME> *
* <EMAIL> *
* *
* Copyright (C) ST-Ericsson SA 2011 <EMAIL... |
/* $XConsortium: svgaIo.c,v 1.7 93/10/19 16:44:37 rws Exp $ */
/*
* Copyright 1990,91,92,93 by <NAME>, Germany.
* Copyright 1991,92,93 by SGCS (Snitily Graphics Consulting Services), USA.
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby gr... |
#include <sys/stat.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <dirent.h>
#include "strhash.c"
typedef struct entry_s {
struct entry_s *next;
char *fname; // file name
char varname[32]; /... |
/**
* Implementation for generic key and generic value hashmaps.
*
* Optionally maintains a doubly-linked list among all nodes to preserve insertion order, which will also
* speed up iteration, like a LinkedHashMap in Java.
*
* The key must be of a single type, while the value can be of any type. This is do... |
#include <uvsqgraphics.h>
#include <math.h>
#define HORLOGE 0
#define CHRO 1
// Variables globales, définition des structures
//
POINT centre = {450, 400};
POINT b1 = {850, 50}, b2 = {900, 0};
POINT bst1 = {850, 100}, bst2 = {900, 50};
POINT btour1 = {850, 150}, btour2 = {900, 100};
int mode = HORLOGE;
int tab[10][7... |
#define _GNU_SOURCE
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
#include <stdarg.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <dlfcn.h>
#include ... |
/*
* 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... |
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
typedef void* buffer_t;
typedef char* string;
typedef enum bool { false, true } bool;
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) > (b) ? (b) : (a))
#define WHITESPACE " \t\n\r\f\v"
#define PROG... |
/*--------------------------------------------------------------------*/
/*--- Command line options. m_options.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <omp.h>
#define ceild(n,d) ceil(((double)(n))/((double)(d)))
#define max(x,y) ((x) > (y)? (x) : (y))
#define min(x,y) ((x) < (y)? (x) : (y))
#define myabs(x,y) (((x) > (y))? ((x)-(y)) : ((y)-(x)))
#if !defined(point)
#define point 7
#endif... |
//Author: <NAME>
//Date: 4/30/2018
//Description:
//*****************
// This client code is to be run by 2 clients on different machines
// also connected to the main server. The client will connect to the
// server and the user will either choose to send an encrypted message
// to the other client, or wait for a re... |
// this file deals with the tempvars and symbols in cells
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "tbl.h"
#include "structs.h"
#include "arch.h"
#include "debug.h"
#include "req.h"
#include "var.h"
#include "../utils/linkedlist.h"
#include "../utils/gendebug.h"
// at least one of this list... |
/* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* dis... |
/*
* Copyright 2008-2013 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include "flib/rta.h"
#include "test_common.h"
enum rta_sec_era rta_sec_era;
uint32_t shr_addr = 0x089ae500ul;
LABEL(c);
REFERENCE(refc_shr);
LABEL(a);
REFERENCE(ref1_jumpa);
LABEL(h);
REFERENC... |
/* GStreamer NVENC plugin
* Copyright (C) 2015 Centricular Ltd
* Copyright (C) 2018 <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 Li... |
/*
The MIT License
Copyright (c) 2009 UCSC Autonomous Systems Lab
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... |
/*--------------------------------------------------------------------------
* commands.h V Includes file about the command table
*
* V
* University of Illinois at Urbana-Champaign
*
* History:
* - Completed V1.0 August 1994
* - Modified for V2.0 October 1995 (cph)
*
* Id: V.h,v 1.0 199... |
/*
** Copyright 2010, The Android Open-Source Project
** Copyright (c) 2011-2013, 2015 The Linux Foundation. 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
**
** ... |
/* *INDENT-OFF* */
/* M3 language support routines for GDB, the GNU debugger.
Copyright 1992, 1993 Free Software Foundation, Inc.
This file is part of GDB.
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... |
/*
Plain C implementation of the Haraka256 and Haraka512 permutations.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "haraka.h"
#include "immintrin.h"
#define HARAKAS_RATE 32
#define u64 unsigned long
#define u128 __m128i
#define LOAD(src) _mm_load_si128((u128 *)(src))
#define STORE(dest,sr... |
/* $OpenBSD: sxitimer.c,v 1.5 2016/02/01 23:31:34 jsg Exp $ */
/*
* Copyright (c) 2007,2009 <NAME> <<EMAIL>>
* Copyright (c) 2013 <NAME> <<EMAIL>>
* Copyright (c) 2013 <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that th... |
#ifndef lint
static const char RCSid[] = "$Id: eplus_idf.c,v 2.12 2014/03/05 19:49:39 greg Exp $";
#endif
/*
* eplus_idf.c
*
* EnergyPlus Input Data File i/o routines
*
* Created by <NAME> on 1/31/14.
*/
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "eplus_idf.h"
#ifd... |
#if defined(__linux__) || defined(linux) || defined(__unix__) || defined(unix) || defined(__CYGWIN__) || defined(__MACH__)
#define UNIX_LIKE 1
#endif
#if defined(__MSDOS__) || defined(_MSDOS) || defined(__DOS__)
#ifndef MSDOS
#define MSDOS 1
#endif
#endif
#if defined(_M_I86)
#define FASTMODE 0
#define __16BIT__ 1
#en... |
#include <stdbool.h>
#include <stdio.h>
#include <stddef.h>
#include <string.h>
#include <errno.h>
#undef NDEBUG // Always debug
#include <assert.h>
#include <unistd.h>
// TODO: Can we (or should we) include this on Mac too?
#ifndef __APPLE__
#include <sys/wait.h>
#endif
struct parsed_flags {
bool prefer_xonsh... |
// The LOGIN part of protocol_game is ALMOST the same as in protocol_login
// so I left that code mostly uncommented. If something is unclear, check
// the protocol_login.c file.
/*
class ProtocolGame : public Protocol
{
private:
std::list<uint32_t> knownCreatureList;
Player* player;
uint32_t eventConnect;
bo... |
/*
* MD5 message-digest algorithm [RFC-1351]
*
* The MIT License (MIT) Copyright (c) 2015 <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 restricti... |
#define _XOPEN_SOURCE 600
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <signal.h>
#include <stddef.h>
#include <string.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys... |
//Schlumberger 2012 - written by <NAME> (<EMAIL>)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mex.h>
#include "matrix_toolbox_ag.h"
//FILE *f1;
int create_image_allignment_template(double *output_image, double *output_image_label, double *input_image, doubl... |
/*-
* Copyright (c) 2000 <NAME>
* Copyright (c) 2001 <NAME>
* Copyright (c) 2000 BSDi
* Copyright (c) 2001 Adaptec, 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. Redistribu... |
/* Belkin/Silex flashing utility
Copyright (c) 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, m... |
#include <libircclient.h>
#include <libirc_rfcnumeric.h>
#include <stdio.h>
#include <string.h>
#include <threads.h>
#include <time.h>
#include <unistd.h>
#include "typedef.h"
#include "match.h"
/* There should be some unnecesary events;
Will handle them when it is really not needed. */
static void event_connect... |
/* $OpenBSD: print-bootp.c,v 1.17 2009/10/27 23:59:55 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
* 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... |
/**************************************************************************//**
* @file
* @brief efm32g_af_annels.h Register and Bit Field definitions
* @author Energy Micro AS
* @version 3.0.0
******************************************************************************
* @section License
* <b>(C) Copyright 20... |
/*
* Copyright (c) 2008 The DragonFly Project. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... |
/* File: startup_stm32l1xx.c for GNU-ARM
* Purpose: startup file for STM32L1xx Cortex-M3 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
* Version: CMSIS v4.2.0
* Date: 27 March 2015
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
* NOTE... |
#include "common/include/inttypes.h"
#include "common/include/context.h"
#include "common/include/atomic.h"
#include "common/include/msr.h"
#include "common/include/page.h"
#include "loader/include/lib.h"
#include "loader/include/mem.h"
#include "loader/include/boot.h"
#include "loader/include/loader.h"
#include "loade... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
/************************* Constant *************************/
#define MORPHEME_PATH "./outputs/result.txt"
#define SCRIPT_PATH "./outputs/script.txt"
#define KEYWORD_PATH "./outputs/keyword.xml"
#define DIC_PATH "./resource/dic.txt"
#define INFO_PATH "./inpu... |
/**
* Siege, http regression tester / benchmark utility
*
* Copyright (C) 2000-2014 by
* <NAME> - <<EMAIL>>, et al.
* This file is distributed as part of Siege
*
* 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
* th... |
/* $Name $Revision$ $Date$ */
/*************************************************************************
*
* pkttype.c
*
* Recognize a packet type
*
*
* Author: <NAME>
* UCSD, IGPP
* <EMAIL>
************************************************************************/
#include "pkt2.h"
exter... |
/*-----------------------------------------------------------------------------
* Name: Camera_OVM7690.c
* Purpose: Digital camera OVM7690 interface
* Rev.: 1.00
*-----------------------------------------------------------------------------*/
/* Copyright (c) 2013 - 2014 ARM LIMITED
All rights reserved.
... |
/**
*
* 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"... |
const size_t mat3_size = sizeof(mat3_t);
float
mat3_determinant(const mat3_t * m){
return (m->_11*m->_22*m->_33) +
(m->_12*m->_23*m->_31) +
(m->_13*m->_21*m->_32) -
(m->_13*m->_22*m->_31) -
(m->_12*m->_21*m->_33) -
(m->_11*m->_23*m->_32);
}
bool
mat3_equals( const mat3_t * m, const mat3... |
/*
///////////////////////////////////////////////////////////////////////////////
//
// FileName : MD5.c
// Version : 1.0
// Creator : RM
// Create Date : 2006-01-01
// Comment :
//
///////////////////////////////////////////////////////////////////////////////
*/
#include "MD5.h"
/*
////... |
//-----------------------------------------------------------------------------
//
// 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.
//--------------------------------------------------------------... |
// 0x07011BE0 - 0x07011BF8
static const Lights1 ttc_seg7_lights_07011BE0 = gdSPDefLights1(
0x46, 0x46, 0x46,
0x8c, 0x8c, 0x8c, 0x28, 0x28, 0x28
);
// 0x07011BF8 - 0x07011C10
static const Lights1 ttc_seg7_lights_07011BF8 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x070... |
#include <stdio.h>
#include <libgen.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <wiringPi.h> // Gordons Wiring Pi
#include "GUIslice.h"
#include "libs/buttons/buttons.h"
#include "libs/queue/queue.h"
#include "libs/dbg/dbg.h"
void lib_butto... |
///////////////////////////////////////////////////////////////////////////////
// Headers.
#include <stdint.h>
#include "system.h"
#include <stdio.h>
#include<time.h>
#include<stdlib.h>
#include "sprites_rgb333.h"
#include<pthread.h>
#include<unistd.h>
////////////////////////////////////////////////////... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#define CONSOLE_INPUT_LENGTH 64 // Standart input buffer max length
#define MAX_DIST_ALLOWED 3 // Maximum edit distance allowed for 2 words to be considered similar
#define SUBSTITUTION_COST 1 // Distance value for substitution. F... |
/*
Copyright (c) 2015, Plume Design 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 conditions and the... |
#include <linux/config.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/init.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/usb.h>
#include "hcd.h"
/**
* usb_init_urb - initializes a urb so that it can be us... |
#include <inttypes.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include "scion.h"
uint8_t L4PROTOCOLS[] = {L4_SCMP, L4_TCP, L4_UDP};
spkt_t * build_spkt(saddr_t *dst, saddr_t *src, spath_t *path, exts_t *exts, l4_pld *l4)
{
spkt_t *spkt = (spkt_t *)mal... |
#include "u.h"
#include "lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "dosfs.h"
extern char *premature;
/*
* predeclared
*/
static void bootdump(Dosboot*);
static void setname(Dosfile*, char*);
long dosreadseg(Dosfile*, long, long);
/*
* debugging
*/
#define chatty 1
#define chat if(chat... |
//------------------------------------------------------------------------------
// Project: arrayfunc
// Module: arrayparams_base.c
// Purpose: Common functions for arrayfunc.
// Language: C
// Date: 28-Nov-2017
//
//------------------------------------------------------------------------------
//
// Copyrig... |
#include "preprocessor.h"
#include "letter_analysis.h"
#include "misc.h"
#include <stdlib.h>
#include <string.h>
void writeWords(char *words) {
int i;
if (if_nest_ct > 0 && if_nest_table[if_nest_ct-1].ignore == 1)
return;
for (i = 0; *(words+i) != '\0'; i++)
putc(*(words+i), streams[STREAM_SIZE-1]); // N... |
/*
* I H A D
*
* Index Hex Ascii Dump of a (binary) file or stdin.
*
* This is not production code! Consider it only slightly tested.
* PLEASE do not use it for anything serious! Instead use; -
*
* hexdump -C yourFile
* xxd yourFile
* od -A x -t x1z -v yourFile
* OR
* http://www.fileformat.info/tool/hex... |
/*
* Copyright (C) Mellanox Technologies Ltd. 2020. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "config.h"
#include "xccl_sharp_lib.h"
#include "xccl_sharp_collective.h"
#include "xccl_sharp_map.h"
#include <ucs/memory/memory_type.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#i... |
/*
* Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
* 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, including
* without limita... |
/* $NetBSD: elf.c,v 1.4 2000/01/16 03:07:32 takemura Exp $ */
/*-
* Copyright (c) 1999 <NAME>.
* All rights reserved.
*
* This software is part of the PocketBSD.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
#include "cache.h"
#include "commit.h"
#include "tag.h"
#include "diff.h"
#include "revision.h"
#include "list-objects.h"
#include "progress.h"
#include "pack-revindex.h"
#include "pack.h"
#include "pack-bitmap.h"
#include "sha1-lookup.h"
#include "pack-objects.h"
struct bitmapped_commit {
struct commit *commit;
str... |
/**
* rogauracore
* Copyright (c) 2019 <NAME>
*
* Author: <NAME> <<EMAIL>> (WKR)
* Creation Date: 13 March 2019
*
* Description:
* RGB keyboard control for Asus ROG laptops
*
* Revision Information:
*
* (WKR) 13 March 2019
* - Boilerplate header added.
*
* \file rogauracore.c
*/
/... |
// Copyright 2014 Google Inc. All rights reserved.
// Copyright 2017-2018 <NAME>, Shift Devices AG
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
// U2F register / sign compliance test.
// The e... |
/*
* Copyright (c) 2003-2018, Great Software Laboratory Pvt. Ltd.
* Copyright (c) 2017 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... |
/*
* linux/fs/hfs/extent.c
*
* Copyright (C) 1995-1997 <NAME>
* (C) 2003 Ardis Technologies <<EMAIL>>
* This file may be distributed under the terms of the GNU General Public License.
*
* This file contains the functions related to the extents B-tree.
*/
#include <linux/pagemap.h>
#include "hfs_fs.h"
#inclu... |
/****************************************************************************
* arch/arm/src/lpc17xx_40xx/lpc17_40_lowputc.c
*
* 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 regardin... |
/*-
* Copyright (c) 2012 <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, this list of conditions a... |
#include "task.h"
#include "printk.h"
#include "global.h"
#include "memory.h"
#include "trap.h"
#include "lib.h"
struct TaskManage taskManage = {&NullTaskReady,&NullTaskRunning,&NullTaskWait,1};
volatile struct ReeTrantLock reeTrantLock = {0,NULL,&NullReeTrantLock};
//static int volatile * itest = 0;
//
//void test1... |
/*
* GStreamer
* Copyright (C) 2018 <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 your option) any later version.
*... |
#include "3-combine.h"
#include "5-determinize.h"
#include "alloc.h"
#include "construct-actions.h"
#include <assert.h>
#include <stdio.h>
struct rename {
symbol_id from;
symbol_id to;
};
static void substitute_slots(struct grammar *grammar, struct rule *rule,
uint32_t min_rule_index, struct automaton *a,
... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 <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 d... |
#include <stdint.h>
#include "page_table.h"
#include "drv_page_pool.h"
#include "../drv_mem.h"
#include "../drv_util.h"
#define PAGE_SIZE 4096
static uintptr_t page_directory_pool; // always store pa in
uintptr_t ENC_VA_PA_OFFSET;
inverse_map_t inv_map[INVERSE_MAP_ENTRY_NUM];
#define DEBUG_CONDITION(cond) int debug... |
/*
* This file is part of the coreboot project.
*
* Copyright 2015 Google Inc
*
* 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; version 2 of the License.
*
* This program is distributed... |
/*
Simulation of a network of FitzHugh-Nagumo neurons, coupled by excitatory
chemical synapses, receiving decorrelated, random input spiketrains with
both excitatory and inhibitory components.
The simulation was written by <NAME> in 2013.
This is a modified version of E.U.'s original, stand-alone program,
for use as ... |
/*
* This addon adds Tiled map support to the Allegro game library.
* Copyright (c) 2012-2014 <NAME> - www.damienradtke.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* P... |
/*
* Loads contents of 'eagleplayer.conf'. The file formats are
* specified in doc/uade123.1.
*
* Copyright 2005-2007 <NAME> <<EMAIL>>
*
* This source code module is dual licensed under GPL and Public Domain.
* Hence you may use _this_ module (not another code module) in any you
* want in your projects.
*/
#... |
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<malloc.h>
#define SIZE 3
struct product
{
int product_id;
char product_name[100];
int product_price;
struct product *next;
};
struct Bill
{
int probill_id;
char probill_name[100];
int probill_... |
/*
* Copyright (c) 2006-2009 Voltaire, Inc. 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 this source... |
/* System dependent definitions for GNU tar.
Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003,
2004, 2005, 2006, 2007 Free Software Foundation, Inc.
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
... |
/* Copyright (c) 2018, Mellanox Technologies 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 this source... |
/*
* Copyright (C) 2012 <NAME> <<EMAIL>>
* Copyright (C) 2009 <NAME>.
*
* This 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 vers... |
/*
* Lightweight ACPI Implementation
* Copyright (C) 2018-2020 the lai authors
*/
// Internal header file. Do not use outside of LAI.
#pragma once
#include <lai/core.h>
struct lai_amlname {
int is_absolute; // Is the path absolute or not?
int height; // Number of scopes to exit before resolving... |
#include <stdint.h>
#include <stdio.h>
#include <math.h>
#include "AutoTilerLib.h"
#include "nntool_extra_generators.h"
#include "Gap.h"
#define D0 KER_ITER_D0
#define D1 KER_ITER_D1
#define D2 KER_ITER_D2
#define D3 KER_ITER_D3
#define T0 KER_ITER_TILE0
#define T1 KER_ITER_TILE1
#define T2 KER_ITER_TILE2
void LoadNN... |
/*
* 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... |
/***********************************************************************
**
** REBOL [R3] Language Interpreter and Run-time Environment
**
** Copyright 2012 REBOL Technologies
** REBOL is a trademark of REBOL Technologies
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this... |
/* thread_athread.c - thread module (implementation using athread API)
Copyright (c) 2010-2011 <NAME>
Alore is licensed under the terms of the MIT license. See the file
LICENSE.txt in the distribution.
*/
/* Thread module implementation using the cross-platform athread API (similar
to pthread API). */
... |
/*
* Copyright (C) 2018 TeamNexus
*
* 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 o... |
/* MikMod sound library
(c) 1998, 1999 <NAME> and others - see file AUTHORS for
complete list.
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 yo... |
/**
******************************************************************************
* @file AMS_FSM_States.c
* @brief AMS FSM States
******************************************************************************
*/
#include <AMS_FSM_States.h>
extern bool charge;
void BMS_handleVoltage(fsm_t *fsm, AMS_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.