text
stringlengths
4
6.14k
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_KEYED_SERVICE_IOS_REFCOUNTED_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ #define COMPONENTS_KEYED_SERVICE_IOS_REFCOUNTED_BROWSER_STATE_KEYED...
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_POWER_ML_SMART_DIM_BUILTIN_WORKER_H_ #define CHROME_BROWSER_CHROMEOS_POWER_ML_SMART_DIM_BUILTIN_WORKER_H_ #include <memor...
/**************************************************************************/ /*! @file sysdefs.h @author K. Townsend (microBuilder.eu) @section LICENSE Software License Agreement (BSD License) Copyright (c) 2013, K. Townsend (microBuilder.eu) All rights reserved. Redistribution and...
/* Copyright (c) 2014. The YARA Authors. 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 followi...
#pragma once #include "Control.h" #include "InputHelper.h" class Control; class InputManager; class XInputFetcher; // ======================================================================================= // AnalogueControl // ====================================================...
/** * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <Foun...
/*- * Copyright (c) 2001 Jake Burkholder. * 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 co...
/** * \kernelgroup{SceStat} * \usage{psp2kern/io/stat.h,SceIofilemgrForDriver_stub} */ #ifndef _PSP2_IO_STAT_H_ #define _PSP2_IO_STAT_H_ #include <psp2kern/types.h> #ifdef __cplusplus extern "C" { #endif /** Access modes for st_mode in ::SceIoStat. */ typedef enum SceIoAccessMode { SCE_S_IXUSR = 0x0001, //!<...
/* TestFilePath:testdata/data_structure/Graph/Graph_DFSTraverse/ */ /* 测试文件所在路径,必须放在第一行,相对于Makefile所在路径 */ /* 包含的库函数,会自动展开引号中的文件,相对于Grunfile所在路径 */ #include <stdio.h> #include "clib/types/x64.h" #include "clib/data_structure/Graph/Graph.h" #include "clib/data_structure/Graph/Graph_DFSTraverse.h" int visit(int v){ ...
// RUN: %check -e %s -Wno-implicit -Werror=implicit // make sure -Werror=xyz turns on warning 'xyz' main() // CHECK: error: defaulting type to int { }
// // MGCTimedEventsViewLayout.h // Graphical Calendars Library for iOS // // Distributed under the MIT License // Get the latest version from here: // // https://github.com/jumartin/Calendar // // Copyright (c) 2014-2015 Julien Martin // // Permission is hereby granted, free of charge, to any person obtaining a ...
/* * Invalid calls to chdir() */ #include <unistd.h> #include <errno.h> #include <err.h> #include "test.h" static void chdir_empty(void) { int rv; /* * This is actually valid by some interpretations. */ rv = chdir(""); report_test2(rv, errno, EINVAL, 0, "chdir to empty string"); } void test_chdir(void) ...
/** * This header is generated by class-dump-z 0.1-11o. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. */ #import "UIKit-Structs.h" #import "UIAnimation.h" @interface UITransformAnimation : UIAnimation { CGAffineTransform _startTransform; CGAffineTransform _endTransform; } -(void)setSta...
// // Copyright (c) 2008-2014 the Urho3D project. // // 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, mod...
/* * public domain strtok_r() by Charlie Gordon * * from comp.lang.c 9/14/2007 * * http://groups.google.com/group/comp.lang.c/msg/2ab1ecbb86646684 * * (Declaration that it's public domain): * http://groups.google.com/group/comp.lang.c/msg/7c7b39328fefab9c */ /* This file is only included sin...
// // FFGeoLocation.h // FF-IOS-Framework // // Copyright (c) 2012, 2013 FatFractal, Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreLocation/CoreLocation.h> #import "FatFractal.h" /** \brief The model class for working with location information and the FatFractal Platform. */ /*! The F...
#pragma once #include "Scene.h" #include "EnumSet.h" class SceneResult: public Scene { public: SceneResult(); virtual ~SceneResult( ); virtual void Create(); virtual void Destroy(); virtual void Update(); virtual void Render() const; private: SceneType m_SceneType = SCENE_RESULT; D3DXVECTOR3 m_Position = ...
/**************************************************************************//** * @file efr32fg12p_rtcc_ret.h * @brief EFR32FG12P_RTCC_RET register and bit field definitions * @version 5.4.0 ****************************************************************************** * # License * <b>Copyright 2017 Silicon Labo...
/********************************************************************* * * Power API definitions * ********************************************************************* * FileName: power.h * Dependencies: * Processor: PIC32 * * * Compiler: MPLAB XC32 * ...
int strend(char *s, char *t) { char *bs = s; char *bt = t; for ( ; *s; s++) ; for ( ; *t; t++) ; for (; *s == *t; s--, t--) if (t = bt || s == bs) break; if (*s == *t && t == bt && *s != '\0') return 1; else return 0; }...
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2020, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main(int argc,char **argv) { int fd; if(argc < 2) { fprintf(stderr,"Usage...\n"); exit(1); } fd = open(argv[1],O_WRONLY|O_CREAT|O_TRUNC,0600); if(fd < 0) { perror("open()"); exit(1); } lseek(...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
// // SentryCrashStackCursor_MachineContext.c // // Copyright (c) 2016 Karl Stenerud. 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...
/* * Description: * History: yang@haipo.me, 2016/03/20, create */ # include "nw_timer.h" static void on_timer(struct ev_loop *loop, ev_timer *ev, int events) { struct nw_timer *timer = (struct nw_timer *)ev; timer->callback(timer, timer->privdata); } void nw_timer_set(nw_timer *timer, double interval...
struct sysdir { char name[64]; char path[64]; } sysdir; :int SetAddApplDir(dword tName, tPath) { int i; strcpy(#sysdir.name, tName); strcpy(#sysdir.path, tPath); debug(#sysdir.name); debug(#sysdir.path); $mov eax, 30 $mov ebx, 3 ECX = #sysdir; $int 0x40 }
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_GesturePacker_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_GesturePacker_ExampleVersionString[];
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 ...
#ifndef ANDROIDHELPER_H #define ANDROIDHELPER_H class AndroidHelper { public: AndroidHelper(); void setScreenOrientation(int orientation); }; #endif // ANDROIDHELPER_H
/** * \file * * \brief Unit test configuration * * Copyright (c) 2014 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 conditions are met: * * 1....
/* Copyright (c) 2009 Florian Loitsch 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,...
// // AppDelegate.h // CHXTabBarControllerTransitioning // // Created by Moch Xiao on 7/6/15. // Copyright (c) 2015 Moch Xiao. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // YJZAppDelegate.h // YJZAlbumCollectionView // // Created by YU JOHNNY ZHOU on 18/08/2014. // Copyright (c) 2014 YU JOHNNY ZHOU. All rights reserved. // #import <UIKit/UIKit.h> @interface YJZAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* ClassList.h Written by Matthew Fisher Forward declarations for classes/structures */ //Graphics objects struct RGBColor; class PointSet; class KDTree3; //Math objects struct Vec3f; struct Vec3f; struct Vec4f; struct Plane; struct Line3D; //Mesh objects struct MeshVertex; class BaseMesh; class D3D9Mesh; class D3D...
#ifndef HTMLWRITER_H #define HTMLWRITER_H #include "DocWriter.h" class HTMLWriter : public DocWriter{ public: HTMLWriter(); ~HTMLWriter(); void Write(); void SetFont(const string& fontName, int fontSize, const string& fontColor); protected: string mFontName; int mFontSize; string mFontColor; }; #endif
/** * \file * \brief Kernel logging infrastructure headers. * * All C source in the kernel should include this file first. * This file should contain only definitions and prototypes that are * required for the majority of kernel code. */ /* * Copyright (c) 2016, ETH Zurich. * All rights reserved. * * This f...
// // SYScanCodeViewController.h // // // Created by bcmac3 on 14/12/2016. // Copyright © 2016 ShenYang. All rights reserved. // /* 由于要使用相册+相机权限,所以请先在info.plist 配置以下参数 Privacy - Photo Library Usage Description Or NSPhotoLibraryUsageDescription Privacy - Camera Usage Description Or NSCameraUsageDescription */ ...
/* * Copyright (c) 2014 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group. */ #ifndef DMA_INTERNAL_H #de...
/* ** my_unsetenv.c for 42sh in /u/all/jorge_d/cu/svn/42shsvn/trunk/srcs/builtins ** ** Made by dimitri jorge ** Login <jorge_d@epitech.net> ** ** Started on Fri May 7 17:46:04 2010 dimitri jorge ** Last update Fri May 21 13:40:19 2010 dimitri jorge */ #include <sys/types.h> #include <stdlib.h> #include <unistd....
// // NSArray+Filtering.h // xkcd // // Created by Josh Bleecher Snyder on 6/19/12. // // #import <Foundation/Foundation.h> typedef BOOL (^ObjectTestBlock)(id obj); @interface NSArray (Filtering) - (BOOL)containsObjectPassingTest:(ObjectTestBlock)test; - (NSArray *)objectsPassingTest:(ObjectTestBlock)test; - (B...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
// // RBIBeacon.h // RBIBeacon // // Created by Yifei Chen on 12/30/14. // #import <Foundation/Foundation.h> @interface RBIBeacon : NSObject @property (readonly, nonatomic, strong) NSUUID *proximityUUID; @property (readonly, nonatomic, strong) NSNumber *major; @property (readonly, nonatomic, strong) NSNumber *m...
// // DConnectSpecErrorFactory.h // DConnectSDK // // Copyright (c) 2016 NTT DOCOMO,INC. // Released under the MIT license // http://opensource.org/licenses/mit-license.php // #import <Foundation/Foundation.h> @interface DConnectSpecErrorFactory : NSObject + (NSError *) createError: (NSString *) errorMessage; ...
/* $Id: gquery.c,v 1.2 2005/04/08 20:45:34 erg Exp $ $Revision: 1.2 $ */ /* vim:set shiftwidth=4 ts=8: */ /********************************************************** * This software is part of the graphviz package * * http://www.graphviz.org/ * * ...
/* $NoKeywords:$ */ /** * @file * * Advanced API Interface for HT, Memory and CPU * * Contains additional declarations need to use HT, Memory and CPU Advanced interface, such as * would be required by the basic interface implementations. * * @xrefitem bom "File Content Label" "Release Content" * @e project: ...
/* -*- C++ -*- * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Michael A.G. Aivazis * California Institute of Technology * (C) 1998-2005 All Rights Reserved * * <LicenseText> * * ~~~~~~~~~~~~~~~~~~~~~~~...
#ifndef _ASM_RISCV_UNALIGNED_H #define _ASM_RISCV_UNALIGNED_H /* * FIXME: this file is copy-n-pasted from sandbox's unaligned.h */ #include <linux/unaligned/access_ok.h> #include <linux/unaligned/generic.h> #if __BYTE_ORDER == __LITTLE_ENDIAN #define get_unaligned __get_unaligned_le #define put_unaligned __put_una...
/****************************************************************************************************** * (C) 2018 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * * LICEN...
int recursive_action(const char *fileName, unsigned flags, int (*fileAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), int (*dirAction)(const char *fileName, struct stat *statbuf, void* userData, int depth), void* userData, unsigned depth); //int replace_equal(const char* src_pa...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Hamlib CI-V backend - description of IC-R72 * Copyright (c) 2000-2010 by Stephane Fillod * * * 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; either * version 2.1 of...
/* Time-stamp: <2006-11-23 00:43:34 jcs> | | Copyright (C) 2002 Corey Donohoe <atmos at atmos.org> | Copyright (C) 2004-2005 Jorg Schuler <jcsjcs at users.sourceforge.net> | Part of the gtkpod project. | | URL: http://www.gtkpod.org/ | URL: http://gtkpod.sourceforge.net/ | | This program is free software; you can...
/* Copyright (C) 2007 xyster.net * * 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 Software Foundation. */ #ifndef __UIRT_RAW_H #define __UIRT_RAW_H #define RR_MAX_PULSES 128 typedef struct rr_ctx ...
/* * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/********************************************************************* Filename: util_menu.h Description: UART based one-key menu. *********************************************************************/ #ifndef UTIL_MENU_H #define UTIL_MENU_H #ifdef __cplusplus extern "C" { #endif /***********...
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012 Synergy Si Ltd. * Copyright (C) 2002 Chris Schoeneman * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file COPYING that should have accompanied t...
#ifndef __IVR_HELP_H__ #define __IVR_HELP_H__ #ifdef CONFIG_AUDIOCODES_VOIP // help ACMW to compile pass, but IVR WB function is not workable typedef enum { /* This can help to up/down sampling before/after encode/decode */ SAMPLE_NARROW_BAND, /* 8K sampling rate */ SAMPLE_WIDE_BAND, /* 16k sampling rate */ SAM...
/** * @file mstimer.c * * @author Andy Lindsay * * @copyright * Copyright (C) Parallax, Inc. 2013. All Rights MIT Licensed. * * @brief Code for tracking milliseconds elapsed in another cog. This is part of * a tutorial on adding a Simple Library to the project. */ #include "simpletools.h" // Incl...
/* * psirichtext.h - helper functions to handle Icons in QTextDocuments * Copyright (C) 2006 Michail Pishchagin * * 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; either * version ...
/* * charge_current.c -- charge current control interface for the sgs2/3 * * Copyright (C) 2011 Gokhan Moral * * GT-I9300/N7100 support by simone201 * * 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...
#ifndef LIBMD5WRAPPER_H #define LIBMD5WRAPPER_H #include <libmd5.h> //struct wrapper #define MD5Context LibMD5Context #define MD5_CTX LibMD5_CTX #define EVP_MD_CTX LibMD5_CTX //function wrapper #define MD5Init LibMD5Init #define MD5Update LibMD5Update #define MD5Final LibMD5Final //function wrapper #define MD5_In...
#include <pthread.h> #include <stdio.h> #include <stdlib.h> /* Simple test program, no race. Parent and child both modify x and use the hardware bus lock. */ #undef PLAT_x86_darwin #undef PLAT_amd64_darwin #undef PLAT_x86_freebsd #undef PLAT_amd64_freebsd #undef PLAT_x86_linux #undef PLAT_amd64_linux #undef PLAT...
/* * ================================================================= * * * Description: samsung display panel file * * Author: jb09.kim * Company: Samsung Electronics * * ================================================================ */ /* <one line to give the program's name and a brief idea of what it...
/* SPDX-License-Identifier: GPL-2.0-only */ #include <acpi/acpi.h> #include <acpi/acpi_gnvs.h> #include <acpi/acpigen.h> #include <arch/smp/mpspec.h> #include <console/console.h> #include <device/device.h> #include <device/mmio.h> #include <device/pci_ops.h> #include <intelblocks/acpi.h> #include <intelblocks/cpulib.h...
/* FreeRTOS V7.5.3 - Copyright (C) 2013 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. *************************************************************************** * ...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
/*************************************************************************** * Copyright (c) 1999-2010, Broadcom Corporation * * 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 Software Foundation. ...
/* * profile.c * * Copyright (C) 2008-2011 Samsung Electronics * Sang-bum Suh <sbuk.suh@samsung.com> * JaeMin Ryu <jm77.ryu@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public version 2 of License as published b...
// TABMAC.H Olivier Bertrand 2011-2012 // MAC: virtual table to Get Mac Addresses via GetAdaptersInfo #if defined(_WIN32) #include <windows.h> #include <iphlpapi.h> #else // !_WIN32 #error This is a WINDOWS only table TYPE #endif // !_WIN32 /*******************************************************************...
/* mkvmerge -- utility for splicing together matroska files from component media subtypes Distributed under the GPL v2 see the file COPYING for details or visit http://www.gnu.org/copyleft/gpl.html definitions and helper functions for BluRay playlist files (MPLS) Written by Moritz Bunkus <moritz@bunkus...
/* Copyright (C) 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Bartley <dtbartle@csclub.uwaterloo.ca>, 2008. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publish...
/* Copyright (C) 2010 Brad Hards <bradh@frogmouth.net> 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, either version 2.1 of the License, or (at your option) any later ve...
/* * linux/arch/arm/mach-s5pv310/charger-slp7.c * COPYRIGHT(C) 2011 * MyungJoo Ham <myungjoo.ham@samsung.com> * * SLP7(NURI) Board Charger Support with Charger-Manager Framework * */ #include <asm/io.h> #include <linux/err.h> #include <linux/gpio.h> #include <linux/platform_device.h> #include <linux/platform_d...
/* * Samsung S3C6410 SD/MMC Driver * Based on sdhci.c * Author: JingRi Email:jingr-1@163.com */ #include <common.h> #include <malloc.h> #include <sdhci.h> #include <asm/arch/s3c6410.h> #ifdef CONFIG_MMC_CHANNEL #define MMC_CHANNEL CONFIG_MMC_CHANNEL #else #define MMC_CHANNEL 0 #endif #define ELFIN_HSMMC_BASE 0x...
#ifndef FINITE_FACTORY_H_ #define FINITE_FACTORY_H_ #include <sampler/SingletonFactory.h> namespace base { /** * @short Factory object for finite samplers */ class FiniteFactory : public SingletonFactory { public: bool canSample(StochasticNode *snode, Graph const &graph) const; Sampler *makeSampler(Stoch...
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed in t...
/* crypto/asn1/a_enum.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
/* cpu_asm.c ===> cpu_asm.S or cpu_asm.s * * This file contains the basic algorithms for all assembly code used * in an specific CPU port of RTEMS. These algorithms must be implemented * in assembly language * * NOTE: This is supposed to be a .S or .s file NOT a C file. * * M32C does not yet have inter...
#ifndef SireMove_PROPERTIES_H #define SireMove_PROPERTIES_H void register_SireMove_properties(); #endif
#ifndef __PIKE_RPC_H #define __PIKE_RPC_H #include "../../rpc.h" #include "../../rpc_lookup.h" extern rpc_export_t pike_rpc_methods[]; #endif
/* * Copyright (C) 2009 Juergen Beisert, Pengutronix * * 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 ...
#ifndef __MACH_OMAP4_DEVICES_H #define __MACH_OMAP4_DEVICES_H #include <driver.h> #include <sizes.h> #include <mach/devices.h> #include <mach/omap4-silicon.h> #include <mach/mcspi.h> #include <mach/omap_hsmmc.h> static inline void omap44xx_add_sram0(void) { return omap_add_sram0(OMAP44XX_SRAM_BASE, 48 * SZ_1K); } s...
/* * Copyright (C) 2010 Nokia * Peter De Schrijver <peter.de-schrijver@nokia.com> * * Based on twl4030.c Copyright (C) 2010 Texas Instruments, Inc. * * 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...
/****************************************************************************** Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ****************************************************************************** File Name : drv_win_buffer.h Version : Initial Draft Author : Hisilicon multimedia ...
#ifndef IMAGEUTIL_H #define IMAGEUTIL_H #include <QTextCursor> #include <QWidget> #include <qiterator.h> class ImageUtil { public: ImageUtil(); static void extractImage(QWidget *window, QTextCursor cursor); static bool optimizeSize(QString &html, const QImage& original, QImage &optimized, int maxPixels = -1, int ...
/* * Copyright (C) 2009 Google Inc. All rights reserved. * Copyright (C) 2014 University of Washington. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the ...
// license:BSD-3-Clause // copyright-holders:Aaron Giles /************************************************************************* Driver for Midway Zeus games **************************************************************************/ #define MIDZEUS_VIDEO_CLOCK XTAL_66_6667MHz #include "machine/timekpr.h...
/* Annotation routines for GDB. Copyright (C) 1986, 1989, 1990, 1991, 1992, 1994, 1998, 1999, 2000 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 Fr...
/** * Copyright (C) 2012, 2014 Universidad Simón Bolívar * * @brief Common ancestors * Copying: GNU GENERAL PUBLIC LICENSE Version 2 * @author Guillermo Palma <gpalma@ldc.usb.ve> */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <assert.h> #include <limits.h> #include "dlist.h" #include "t...
/* * Copyright (C) 2008 Michael Niedermayer * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any...
/* Copyright 2013 David Axmark Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
/* ============================================================ * * This file is a part of kipi-plugins project * http://www.digikam.org * * Date : 2011-05-23 * Description : a plugin to create panorama by fusion of several images. * Acknowledge : based on the expoblending plugin * * Copyright (C) 2011-...
/* Copyright 2006-2013 The QElectroTech Team This file is part of QElectroTech. QElectroTech 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 v...
#include <stdio.h> #include "c99ppe.h" int _DEFUN (puts, (s), char _CONST * s) { /* The return value gets written over s */ send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_PUTS, &s); return (int)s; }
/* * Helpers for loads and stores * * Copyright (c) 2007 Jocelyn Mayer * * 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; either * version 2 of the License, or (at your option) a...
/* * $Id$ * * * timer frequency and ticks conversions * * Copyright (C) 2005 iptelorg GmbH * * This file is part of SIP-router, a free SIP server. * * SIP-router 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...
// _________ __ __ // / _____// |_____________ _/ |______ ____ __ __ ______ // \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ // / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ | // /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, pro...
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * 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 ...
/* * Seven Kingdoms 2: The Fryhtan War * * Copyright 1999 Enlight Software Ltd. * * 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) a...