repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
exabon/godot | thirdparty/opus/silk/ana_filt_bank_1.c | 479 | 3770 | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... | mit |
RyuKojiro/StormLib | src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c | 237 | 2258 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | mit |
safaricoin/trenchcoin | src/crypter.cpp | 1264 | 3943 | // Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <openssl/aes.h>
#include <openssl/evp.h>
#include <vector>
#include <string>
#ifdef WIN32
#include <windows.h>
#endif... | mit |
cyberegoorg/cetech | src/celib/os/private/os_window_sdl2.c | 1 | 6721 | #include <celib/id.h>
#include <celib/macros.h>
#include "celib/log.h"
#include "celib/memory/allocator.h"
#include "celib/api.h"
#include "include/SDL2/SDL.h"
#include "include/SDL2/SDL_syswm.h"
#include <celib/os/window.h>
#define LOG_WHERE "os_window_sdl"
//======================================================... | cc0-1.0 |
CyanogenMod/lge-kernel-msm7x30 | drivers/gpu/drm/drm_drv.c | 256 | 17153 | /**
* \file drm_drv.c
* Generic driver template
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*
* To use this template, you must at least define the following (samples
* given for the MGA driver):
*
* \code
* #define DRIVER_AUTHOR "VA Linux Systems, Inc."... | gpl-2.0 |
liqiang199105/linux | drivers/gpu/drm/radeon/radeon_object.c | 256 | 22576 | /*
* Copyright 2009 Jerome Glisse.
* 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 limitation the rights to use, copy,... | gpl-2.0 |
segment-routing/sr-ipv6 | drivers/net/can/m_can/m_can.c | 256 | 32169 | /*
* CAN bus driver for Bosch M_CAN controller
*
* Copyright (C) 2014 Freescale Semiconductor, Inc.
* Dong Aisheng <b29396@freescale.com>
*
* Bosch M_CAN user manual can be obtained from:
* http://www.bosch-semiconductors.de/media/pdf_1/ipmodules_1/m_can/
* mcan_users_manual_v302.pdf
*
* This file is licensed... | gpl-2.0 |
Shabbypenguin/Cayman-Island-Kernel | drivers/ata/libata-core.c | 512 | 177307 | /*
* libata-core.c - helper library for ATA
*
* Maintained by: Jeff Garzik <jgarzik@pobox.com>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2003-2004 Red Hat, Inc. All rights reserved.
* Copyright 2003-2004 Jeff Garzik
*
*
* This program is free software; you... | gpl-2.0 |
MassStash/htc_m9_kernel_sense_5.0.2 | drivers/power/bq28400_battery.c | 768 | 25239 | /* Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ... | gpl-2.0 |
ffzg/rhel-3.10-zram | drivers/video/console/fbcon_cw.c | 1792 | 10761 | /*
* linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 90 degrees
*
* Copyright (C) 2005 Antonino Daplas <adaplas @pol.net>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive for
* more details... | gpl-2.0 |
whoi-acomms/linux | fs/ecryptfs/main.c | 2304 | 24957 | /**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2003 Erez Zadok
* Copyright (C) 2001-2003 Stony Brook University
* Copyright (C) 2004-2007 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
* Michael C. Thompson <mcthomps@us.ibm.com... | gpl-2.0 |
evan6200/cirrfy_pos | drivers/mmc/host/wbsd.c | 2816 | 40832 | /*
* linux/drivers/mmc/host/wbsd.c - Winbond W83L51xD SD/MMC driver
*
* Copyright (C) 2004-2007 Pierre Ossman, 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; eit... | gpl-2.0 |
ModADroid/android-omap-tuna | drivers/mmc/host/wbsd.c | 2816 | 40832 | /*
* linux/drivers/mmc/host/wbsd.c - Winbond W83L51xD SD/MMC driver
*
* Copyright (C) 2004-2007 Pierre Ossman, 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; eit... | gpl-2.0 |
voidz777/omap | sound/sound_core.c | 3072 | 16327 | /*
* Sound core. This file is composed of two parts. sound_class
* which is common to both OSS and ALSA and OSS sound core which
* is used OSS or emulation of it.
*/
/*
* First, the common part.
*/
#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/kdev_t.h>
#include <li... | gpl-2.0 |
EmmanuelU/wild_kernel_lge_gproj | net/can/proc.c | 5120 | 15199 | /*
* proc.c - procfs support for Protocol family CAN core module
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
* 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. Re... | gpl-2.0 |
elisam98/android_kernel_lge_x5 | drivers/staging/vt6655/vntwifi.c | 8192 | 20104 | /*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* 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; either version 2 of the License, or
* (at your opt... | gpl-2.0 |
Tesla-Redux-Devices/kernel_apq8064 | arch/cris/arch-v32/mach-fs/cpufreq.c | 9472 | 3546 | #include <linux/init.h>
#include <linux/module.h>
#include <linux/cpufreq.h>
#include <hwregs/reg_map.h>
#include <arch/hwregs/reg_rdwr.h>
#include <arch/hwregs/config_defs.h>
#include <arch/hwregs/bif_core_defs.h>
static int
cris_sdram_freq_notifier(struct notifier_block *nb, unsigned long val,
void *data);
stat... | gpl-2.0 |
n3ocort3x/Kernel_one_x_sense | arch/arm/mach-tegra/cpu-tegra3.c | 1 | 23550 | /*
* arch/arm/mach-tegra/cpu-tegra3.c
*
* CPU auto-hotplug for Tegra3 CPUs
*
* Copyright (c) 2011, NVIDIA 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... | gpl-2.0 |
google-code/aten | src/gui/messages_funcs.cpp | 1 | 1803 | /*
*** Messages Dock Widget
*** src/gui/messages_funcs.cpp
Copyright T. Youngs 2007-2015
This file is part of Aten.
Aten is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or... | gpl-2.0 |
jeffegg/beaglebone | fs/stack.c | 1 | 2659 | #include <linux/module.h>
#include <linux/fs.h>
#include <linux/fs_stack.h>
/* does _NOT_ require i_mutex to be held.
*
* This function cannot be inlined since i_size_{read,write} is rather
* heavy-weight on 32-bit systems
*/
void fsstack_copy_inode_size(struct inode *dst, struct inode *src)
{
loff_t i... | gpl-2.0 |
camelguo/linux-2.6-trimedia | drivers/crypto/sec2test/testSG.c | 1 | 14055 |
/****************************************************************************
* testSG.c - Simulates scatter-gather buffer test for SEC2 device driver
****************************************************************************
* Copyright (c) 2004-2005 Freescale Semiconductor
* All Rights Reserved.
*
* This p... | gpl-2.0 |
drazenzadravec/nequeo | Tools/Math/MathGL/mathgl-2.2.2.1/mgllab/mathgl.cpp | 1 | 4683 | /* mathgl.cpp is part of UDAV
* Copyright (C) 2007-2014 Alexey Balakin <mathgl.abalakin@gmail.ru>
*
* This program 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
*
* This program is distributed ... | gpl-2.0 |
ultrasystem/kernel | drivers/media/video/samsung/mfc5x/mfc_dec.c | 1 | 63846 | /*
* linux/drivers/media/video/samsung/mfc5x/mfc_dec.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Decoder interface for Samsung MFC (Multi Function Codec - FIMV) driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | gpl-2.0 |
kanpol/bibo | miscutils/adjtimex.c | 1 | 3637 | /* vi: set sw=4 ts=4: */
/*
* adjtimex.c - read, and possibly modify, the Linux kernel `timex' variables.
*
* Originally written: October 1997
* Last hack: March 2001
* Copyright 1997, 2000, 2001 Larry Doolittle <LRDoolittle@lbl.gov>
*
* busyboxed 20 March 2001, Larry Doolittle <ldoolitt@recycle.lbl.gov>
*
* L... | gpl-2.0 |
kraj/gcc | gcc/testsuite/gcc.target/i386/avx512f-broadcast-pr87767-1.c | 1 | 1321 | /* PR target/87767 */
/* { dg-do compile } */
/* { dg-options "-O2 -mavx512f -mavx512dq" } */
/* { dg-additional-options "-fno-PIE" { target ia32 } } */
/* { dg-additional-options "-mdynamic-no-pic" { target { *-*-darwin* && ia32 } } }
/* { dg-final { scan-assembler-times "\[^\n\]*\\\{1to8\\\}" 2 { target { ! ia32 } } ... | gpl-2.0 |
YOlodfssdf/evolution3d | Tools/Medusa/Plugin/DemoPlugin/DemoPlugin.cpp | 1 | 3780 | // DemoPlugin.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include "DemoPlugin.h"
#include "Resource.h"
#include <BaseLib/xEvol3DBaseInc.h>
#include <Application/xPluginMgr.h>
#include <BaseLib/xStringHash.h>
#include "xMedusaEditor.h"
using namespace nsMedusaEditor;
#pragm... | gpl-2.0 |
YOlodfssdf/evolution3d | xEvol3D/mem/MemPool.cpp | 1 | 8618 | /*
XEvol3D Rendering Engine . (http://gforge.osdn.net.cn/projects/xevol3d/) .
Stanly.Lee 2006
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 opt... | gpl-2.0 |
tricky1997/boa-libevent | extras/scandir.c | 1 | 2390 |
/*
Copyright (c) 2000 Petter Reinholdtsen
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, merg... | gpl-2.0 |
AlexAltea/nucleus | nucleus/system/scei/cellos/lv2/sys_fs.cpp | 1 | 3996 | /**
* (c) 2014-2016 Alexandro Sanchez Bach. All rights reserved.
* Released under GPL v2 license. Read LICENSE for more details.
*/
#include "sys_fs.h"
#include "nucleus/emulator.h"
#include "nucleus/filesystem/filesystem_virtual.h"
#include "nucleus/logger/logger.h"
#include "../lv2.h"
#include <cstring>
namespa... | gpl-2.0 |
MS3FGX/libmackerel | example.c | 1 | 1141 | // Simple example program using libmackerel
#include <stdio.h>
#include "libmackerel.h"
int main()
{
// Misc variables
int i;
char *addr_buffer = {0};
// How many MACs to create
int runs = 5;
// Get libmackerel ready
mac_init();
// Working with a static MAC
addr_buffer = "F0:DE:F1:B7:0E:F6";
printf... | gpl-2.0 |
Megamouse/rpcs3 | rpcs3/Emu/Cell/lv2/sys_memory.cpp | 1 | 7150 | #include "stdafx.h"
#include "sys_memory.h"
#include "Emu/Memory/vm_locking.h"
#include "Emu/CPU/CPUThread.h"
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/SPUThread.h"
#include "Emu/IdManager.h"
#include "util/vm.hpp"
#include "util/asm.hpp"
LOG_CHANNEL(sys_memory);
//
static shared_mutex s_memstats_mtx;
st... | gpl-2.0 |
ethan2014/calories-lib | src/testing.cpp | 1 | 5799 | #include <iostream>
#include <limits>
#include "ct.hpp"
void prompt_user() {
std::string name;
int sex;
int age;
int height_ft;
int height_in;
int height_cm;
int weight_lb;
int weight_kg;
int exercise_level;
int weight_goal;
float weight_gain_goal;
float weight_lose_goal;
int measurement_system;
std::co... | gpl-2.0 |
zhaoxianpeng/linux-mini2440 | drivers/input/s3c2410_ts.c | 1 | 5686 | #include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/init.h>
#include <linux/serio.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/plat-s... | gpl-2.0 |
kofemann/linux-redpatch | drivers/net/atlx/atlx.c | 1 | 7241 | /* atlx.c -- common functions for Attansic network drivers
*
* Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
* Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
* Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com>
* Copyright(c) 2007 Atheros Corporation. All rights reserved.
*
... | gpl-2.0 |
skyinsky/cobaya | librcfproto/swig/RCFProto_Java_impl.cpp | 1 | 266550 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficie... | gpl-2.0 |
klaussilveira/flQuake | engine/cvar.c | 1 | 6587 | /*
Copyright (C) 1996-1997 Id Software, 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; either version 2
of the License, or (at your option) any later version.
This program is distribut... | gpl-2.0 |
iwtwiioi/OnlineJudge | wikioi/Run_304904_Score_60_Date_2013-10-23.cpp | 1 | 1973 | #include <iostream>
#include <algorithm>
#include <cstring>
#include <iomanip>
#include <cmath>
using namespace std;
const int oo = 100000000;
#define CTOA(x) ((x-1)<<2)+1
struct city{int x[4], y[4];}ct[12];
inline double dis(int x1, int y1, int x2, int y2)
{
if(x1 == x2) return abs(y1-y2);
if(y1 ==... | gpl-2.0 |
hajuuk/R7000 | ap/gpl/lsync/source/lsyncd.c | 1 | 50232 | /*
| lsyncd.c Live (Mirror) Syncing Demon
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| This is Lsyncd's core.
|
| It contains as minimal as possible glues to the operating system needed
| for Lsyncd's operation. All high-level logic is coded (when feasable)
| into ls... | gpl-2.0 |
wjin/algorithm | leetcode/binary_tree_level_order_traversal.cpp | 1 | 2462 | /*
Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values.
(ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ \
9 20
/ \
15 7
return its level order traversal as:
[
[3],
[9,20],
[15,7]
]... | gpl-2.0 |
zyzil/zhed | src/zhed/PhysicalDrive.cpp | 1 | 5414 | /*
zhed - Free hex editor based on Frhed
Copyright (C) 2000 Raihan Kibria
Copyright (C) 2016 Kevin Mullins
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.
This program is distri... | gpl-2.0 |
kchau101/libHD44780 | src/libhd44780.c | 1 | 2839 | #include "libhd44780.h"
#include "delay.h"
void lcd_init(struct HD44780_Device *device)
{
if (device->config.datalength == LCD_4BIT_MODE)
{
lcd_func_set(device);
lcd_func_set(device);
lcd_func_set(device);
}
else
{
lcd_func_set(device);
}
}
void lcd_clear_display(struct HD44780_Device *device)
{
lcd_wri... | gpl-2.0 |
FLOWERCLOUD/PCM2015plus | PCM/graph_cut_node_old.cpp | 1 | 17280 | #include "graph_cut_node.h"
#include <stdio.h>
#include <engine.h>
#ifdef WIN32
#include <direct.h>
#define get_current_dir _getcwd
#else
#include <unistd.h>
#define get_current_dir getcwd
#endif
#include <cstring>
#include"sample_set.h"
void GraphNodeCtr::run()
{
Logger<<"Start!.\n";
IndexType nbCluster = 5;
//r... | gpl-2.0 |
evolver56k/xpenology | fs/reiserfs/fix_node.c | 1 | 79018 | /*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
/**
** old_item_num
** old_entry_num
** set_entry_sizes
** create_virtual_node
** check_left
** check_right
** directory_part_size
** get_num_ver
** set_parameters
** is_leaf_removable
** are_leaves_removable
** get_empty_nodes
... | gpl-2.0 |
lordaragorn/infinity_335 | src/game/BattleGroundRV.cpp | 1 | 5139 | /*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* 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.
*
... | gpl-2.0 |
martinvanzijl/pencil | core_lib/src/interface/timecontrols.cpp | 1 | 8221 | /*
Pencil - Traditional Animation Software
Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
Copyright (C) 2012-2018 Matthew Chiawen Chang
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; vers... | gpl-2.0 |
fschaper/netcell | core/extensions/function/src/function_nper.cpp | 1 | 3968 | /**
* \file
* Copyright (C) 2006-2010 Jedox AG
*
* 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 at http://www.gnu.org/copyleft/gpl.html.
*
* This program is dis... | gpl-2.0 |
n-soda/linux | fs/binfmt_elf.c | 1 | 38414 | /*
* linux/fs/binfmt_elf.c
*
* These are the functions used to load ELF format executables as used
* on SVr4 machines. Information on the format may be found in the book
* "UNIX SYSTEM V RELEASE 4 Programmers Guide: Ansi C and Programming Support
* Tools".
*
* Copyright 1993, 1994: Eric Youngdale (ericy@cais.c... | gpl-2.0 |
kevinzhang1986/xvisor | arch/arm/cpu/arm32/cpu_vcpu_helper.c | 1 | 27117 | /**
* Copyright (c) 2011 Anup Patel.
* 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; either version 2, or (at your option)
* any later version.
*
* This progra... | gpl-2.0 |
MinoaveDev/EccoDev | src/ChannelServer/PetHandler.cpp | 1 | 7497 | /*
Copyright (C) 2008-2011 Vana Development Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT... | gpl-2.0 |
sergei/minigui | src/newgal/dummy/nullvideo.c | 1 | 5571 | /*
** $Id: nullvideo.c 7348 2007-08-16 04:53:34Z xgwang $
**
** Copyright (C) 2003 ~ 2007 Feynman Software.
** Copyright (C) 2001 ~ 2002 Wei Yongming.
*/
/* Dummy GAL video driver implementation; this is just enough to make an
* GAL-based application THINK it's got a working video driver, for
* applications t... | gpl-2.0 |
kh007im/ngawi-ics | drivers/spi/spi_txx9.c | 513 | 12302 | /*
* spi_txx9.c - TXx9 SPI controller driver.
*
* Based on linux/arch/mips/tx4938/toshiba_rbtx4938/spi_txx9.c
* Copyright (C) 2000-2001 Toshiba Corporation
*
* 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
* terms of the GNU General Public License version 2. This program is
* licensed ... | gpl-2.0 |
fards/hannspree_Oem_2.6.32.9- | drivers/block/paride/pf.c | 513 | 24545 | /*
pf.c (c) 1997-8 Grant R. Guenther <grant@torque.net>
Under the terms of the GNU General Public License.
This is the high-level driver for parallel port ATAPI disk
drives based on chips supported by the paride module.
By default, the driver will autop... | gpl-2.0 |
Zenfone2-Dev/Flare-AEL-X | drivers/gpu/drm/nouveau/core/core/parent.c | 2561 | 3307 | /*
* Copyright 2012 Red Hat Inc.
*
* 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, d... | gpl-2.0 |
MoKee/android_kernel_motorola_msm8960-common | drivers/net/hp-plus.c | 3585 | 15316 | /* hp-plus.c: A HP PCLAN/plus ethernet driver for linux. */
/*
Written 1994 by Donald Becker.
This driver is for the Hewlett Packard PC LAN (27***) plus ethercards.
These cards are sold under several model numbers, usually 2724*.
This software may be used and distributed according to the terms
of the GNU General... | gpl-2.0 |
cricard13/linux-raspberry-nfc | drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 4353 | 31969 | /*
* Copyright © 2010 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | gpl-2.0 |
lawnn/caf_kernel_msm | drivers/ata/pata_artop.c | 5121 | 12604 | /*
* pata_artop.c - ARTOP ATA controller driver
*
* (C) 2006 Red Hat
* (C) 2007,2011 Bartlomiej Zolnierkiewicz
*
* Based in part on drivers/ide/pci/aec62xx.c
* Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
* 865/865R fixes for Macintosh card version from a patch to the old
* driver by Thib... | gpl-2.0 |
tamirda/G900F_PhoeniX_Kernel_Lollipop_OLD | arch/arm/mach-prima2/clock.c | 5121 | 11214 | /*
* Clock tree for CSR SiRFprimaII
*
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/clkdev.h>
#include <... | gpl-2.0 |
TV-LP51-Devices/kernel_lge_g3 | drivers/staging/rts_pstor/sd.c | 5121 | 121425 | /* Driver for Realtek PCI-Express card reader
*
* Copyright(c) 2009 Realtek Semiconductor Corp. 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; either version 2, or ... | gpl-2.0 |
anoane/ville-4.2.2-sense5-evitaul_porting | tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c | 5633 | 6992 | /*
* x86_energy_perf_policy -- set the energy versus performance
* policy preference bias on recent X86 processors.
*/
/*
* Copyright (c) 2010, Intel Corporation.
* Len Brown <len.brown@intel.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the... | gpl-2.0 |
yatto/xteam31 | arch/sparc/kernel/us2e_cpufreq.c | 7425 | 9847 | /* us2e_cpufreq.c: UltraSPARC-IIe cpu frequency support
*
* Copyright (C) 2003 David S. Miller (davem@redhat.com)
*
* Many thanks to Dominik Brodowski for fixing up the cpufreq
* infrastructure in order to make this driver easier to implement.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linu... | gpl-2.0 |
Fusion-Devices/android_kernel_samsung_jf | drivers/spi/spi-pxa2xx.c | 7937 | 48160 | /*
* Copyright (C) 2005 Stephen Street / StreetFire Sound Labs
*
* 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.
... | gpl-2.0 |
bilalliberty/depricated-kernel-villec2--3.4- | sound/oss/vwsnd.c | 8193 | 97691 | /*
* Sound driver for Silicon Graphics 320 and 540 Visual Workstations'
* onboard audio. See notes in Documentation/sound/oss/vwsnd .
*
* Copyright 1999 Silicon Graphics, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | gpl-2.0 |
btolfa/kernel_tion_pro28 | drivers/staging/wlan-ng/p80211wep.c | 9217 | 9824 | /* src/p80211/p80211wep.c
*
* WEP encode/decode for P80211.
*
* Copyright (C) 2002 AbsoluteValue Systems, Inc. All Rights Reserved.
* --------------------------------------------------------------------
*
* linux-wlan
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "Licen... | gpl-2.0 |
klquicksall/Ace-GB-DHD | arch/cris/arch-v32/mach-a3/cpufreq.c | 9473 | 3532 | #include <linux/init.h>
#include <linux/module.h>
#include <linux/cpufreq.h>
#include <hwregs/reg_map.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/clkgen_defs.h>
#include <hwregs/ddr2_defs.h>
static int
cris_sdram_freq_notifier(struct notifier_block *nb, unsigned long val,
void *data);
static struct notifier_blo... | gpl-2.0 |
AOKP/kernel_sony_msm8x60 | drivers/ide/ide-cd_verbose.c | 12545 | 13840 | /*
* Verbose error logging for ATAPI CD/DVD devices.
*
* Copyright (C) 1994-1996 Scott Snyder <snyder@fnald0.fnal.gov>
* Copyright (C) 1996-1998 Erik Andersen <andersee@debian.org>
* Copyright (C) 1998-2000 Jens Axboe <axboe@suse.de>
*/
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/cdrom... | gpl-2.0 |
MSM8226-Samsung/kernel_samsung_msm8226 | drivers/ide/ide-cd_verbose.c | 12545 | 13840 | /*
* Verbose error logging for ATAPI CD/DVD devices.
*
* Copyright (C) 1994-1996 Scott Snyder <snyder@fnald0.fnal.gov>
* Copyright (C) 1996-1998 Erik Andersen <andersee@debian.org>
* Copyright (C) 1998-2000 Jens Axboe <axboe@suse.de>
*/
#include <linux/kernel.h>
#include <linux/blkdev.h>
#include <linux/cdrom... | gpl-2.0 |
omor1/linux-430 | arch/powerpc/platforms/pasemi/idle.c | 13569 | 2410 | /*
* Copyright (C) 2006-2007 PA Semi, Inc
*
* Maintained by: Olof Johansson <olof@lixom.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.
*
* This program is distributed ... | gpl-2.0 |
mbernasocchi/QGIS | src/app/qgsmaptooladdcircularstring.cpp | 2 | 7915 | /***************************************************************************
qgsmaptooladdcircularstring.h - map tool for adding circular strings
---------------------
begin : December 2014
copyright : (C) 2014 by Marco Hugentobler
email : marco dot hugento... | gpl-2.0 |
xIchigox/ArkCORE-NG | src/server/scripts/EasternKingdoms/Deadmines/boss_captain_cookie.cpp | 2 | 2044 | /*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2011-2016 ArkCORE <http://www.arkania.net/>
*
* 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 versio... | gpl-2.0 |
hkimura/foedus_code | foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp | 2 | 2325 | /*
* Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
* 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 versi... | gpl-2.0 |
apollos/Quantum-ESPRESSO | lapack-3.2/BLAS/SRC/zdrot.f | 2 | 2692 | SUBROUTINE ZDROT( N, CX, INCX, CY, INCY, C, S )
*
* .. Scalar Arguments ..
INTEGER INCX, INCY, N
DOUBLE PRECISION C, S
* ..
* .. Array Arguments ..
COMPLEX*16 CX( * ), CY( * )
* ..
*
* Purpose
* =======
*
* Applies a plane rotation, where the cos and sin (... | gpl-2.0 |
0x20c24/linux-psec | drivers/clk/clk-mux.c | 2 | 4735 | /*
* Copyright (C) 2011 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
* Copyright (C) 2011 Richard Zhao, Linaro <richard.zhao@linaro.org>
* Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <mturquette@linaro.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | gpl-2.0 |
fzqing/linux-2.6 | drivers/video/fbcmap.c | 2 | 7767 | /*
* linux/drivers/video/fbcmap.c -- Colormap handling for frame buffer devices
*
* Created 15 Jun 1997 by Geert Uytterhoeven
*
* 2001 - Documented with DocBook
* - Brad Douglas <brad@neruo.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING i... | gpl-2.0 |
yellowtd/SRB2-PLUS | src/p_spec.c | 2 | 223797 | // SONIC ROBO BLAST 2
//-----------------------------------------------------------------------------
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 1998-2000 by DooM Legacy Team.
// Copyright (C) 1999-2016 by Sonic Team Junior.
//
// This program is free software distributed under the
// terms of the... | gpl-2.0 |
tb-303/GFRG110 | arch/arm/plat-feroceon/mv_hal/voiceband/slic/silabs/arch_marvell/timer.c | 2 | 1183 | /*
** $Id: dummy_timer.c 109 2008-10-22 19:45:09Z lajordan@SILABS.COM $
**
** system.c
** System specific functions implementation file
**
** Author(s):
** laj
**
** Distributed by:
** Silicon Laboratories, Inc
**
** File Description:
** This is the implementation file for the system specific functions l... | gpl-2.0 |
gioman/QGIS | src/gui/qgscodeeditorsql.cpp | 2 | 2419 | /***************************************************************************
qgscodeeditorsql.cpp - A SQL editor based on QScintilla
--------------------------------------
Date : 06-Oct-2013
Copyright : (C) 2013 by Salvatore Larosa
Email : lrssvtml (at) gma... | gpl-2.0 |
jobovy/nemo | src/nbody/evolve/kawai/nbody/second.c | 2 | 3875 | /*
#define RETURN_CPU
*/
/*
* SECOND.c : returns the CPU time
*
* Jun Makino 89/09/20 Ver. 1.00 (created)
* 89/10/02 Ver. 1.01 debugged on UNIX system.
*
* functions :
* void timer_init() : reset the timer
* void second(&double): returns the cpu seconds
* void cp... | gpl-2.0 |
lbt/hijack | drivers/scsi/sr_ioctl.c | 2 | 18479 | #include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/blk.h>
#include "scsi.h"
#include "hosts.h"
#include <scsi/scsi_ioctl.h>
#include <linux/cdrom.h>
#include "sr.h"
#if 0
# define D... | gpl-2.0 |
wwhyte-si/libgcrypt-ntru | sample/test_ntru_gcrypt.cpp | 2 | 4437 | /* test_ntru_gcrypt.cpp
* Copyright (C) 2015, Security Innovation.
* Author Zhenfei Zhang <zzhang@securityinnovation.com>
*
* 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 Public License as
* published by the ... | gpl-2.0 |
hackndev/linux-hnd | sound/soc/s3c24xx/rx3000.c | 2 | 10774 | /*
* rx3000.c -- ALSA Soc Audio Layer
*
* Copyright (c) 2007 Roman Moravcik <roman.moravcik@gmail.com>
*
* Based on smdk2440.c and magician.c
*
* Authors: Graeme Gregory graeme.gregory@wolfsonmicro.com
* Philipp Zabel <philipp.zabel@gmail.com>
*
* This program is free software; you can redistribut... | gpl-2.0 |
timattox/lammps_USER-DPD | src/REPLICA/fix_event_hyper.cpp | 2 | 2977 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | gpl-2.0 |
a1an1in/libcdf | src/libbus/bus.c | 2 | 21395 | /**
* @file bus.c
* @synopsis
* @author alan(a1an1in@sina.com)
* @version
* @date 2016-10-28
*/
/* Copyright (c) 2015-2020 alan lin <a1an1in@sina.com>
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Red... | gpl-2.0 |
teamfx/openjfx-10-dev-rt | modules/javafx.web/src/main/native/Source/WebCore/html/RadioInputType.cpp | 2 | 7069 | /*
* Copyright (C) 2005, 2011, 2016 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* 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
... | gpl-2.0 |
Spade17/4.3.4-Core | src/server/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp | 2 | 13272 | /*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | gpl-2.0 |
sjp38/linux.doc_trans_membarrier | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 | 8904 | /*
* Copyright 2008 Advanced Micro Devices, Inc.
* Copyright 2008 Red Hat Inc.
* Copyright 2009 Jerome Glisse.
*
* 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, in... | gpl-2.0 |
OpenEngineDK/openengine | src/Logging/ColorStreamLogger.cpp | 2 | 2351 | // Generic stream logger.
// -------------------------------------------------------------------
// Copyright (C) 2007 OpenEngine.dk (See AUTHORS)
//
// This program is free software; It is covered by the GNU General
// Public License version 2 or any later version.
// See the GNU General Public License for more detail... | gpl-2.0 |
gotm-model/code | src/turbulence/potentialml.F90 | 2 | 5728 | #include"cppdefs.h"
!-------------------------------------------------------------------------
!BOP
!
! !ROUTINE: Algebraic length-scale with two master scales \label{sec:potentialml}
!
! !INTERFACE:
subroutine potentialml(nlev,z0b,z0s,h,depth,NN)
! !DESCRIPTION:
! Computes the length scale by defining two master
... | gpl-2.0 |
Biktorgj/Android_b2_Kernel | drivers/media/video/exynos/jpeg/jpeg_regs.c | 2 | 17039 | /* linux/drivers/media/video/exynos/jpeg/jpeg_regs.c
*
* Copyright (c) 2012~2013 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Register interface file for jpeg v2.x driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | gpl-2.0 |
popazerty/SDG-e2 | lib/gdi/gpixmap.cpp | 2 | 25410 | #include <cstdlib>
#include <cstring>
#include <lib/gdi/gpixmap.h>
#include <lib/gdi/region.h>
#include <lib/gdi/accel.h>
#include <byteswap.h>
#ifndef BYTE_ORDER
#error "no BYTE_ORDER defined!"
#endif
// #define GPIXMAP_DEBUG
#ifdef GPIXMAP_DEBUG
# include "../base/benchmark.h"
#endif
gLookup::gLookup()
:size(0),... | gpl-2.0 |
milodky/tegra_git | arch/arm/mm/copypage-v6.c | 514 | 3877 | /*
* linux/arch/arm/mm/copypage-v6.c
*
* Copyright (C) 2002 Deep Blue Solutions Ltd, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux... | gpl-2.0 |
danbarsor/linux_kernel-2.6.35 | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 514 | 39381 | /******************************************************************************
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2010 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License... | gpl-2.0 |
eric8810/openwrt_chaos_calmer_mt7621 | tools/firmware-utils/src/encode_crc.c | 770 | 3662 | /* **************************************************************************
This program creates a CRC checksum and encodes the file that is named
in the command line.
Compile with: gcc encode_crc.c -Wall -o encode_crc
Author: Michael Margraf (michael.margraf@freecom.com)
Copyright: Freeco... | gpl-2.0 |
ziozzang/linux | arch/arm/kernel/dma-isa.c | 1538 | 5160 | /*
* linux/arch/arm/kernel/dma-isa.c
*
* Copyright (C) 1999-2000 Russell King
*
* 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.
*
* ISA DMA primitives
* Taken from variou... | gpl-2.0 |
Jackeagle/kernel | drivers/gpu/drm/nouveau/core/engine/graph/nv20.c | 2562 | 12283 | #include <core/client.h>
#include <core/os.h>
#include <core/class.h>
#include <core/engctx.h>
#include <core/handle.h>
#include <core/enum.h>
#include <subdev/timer.h>
#include <subdev/fb.h>
#include <engine/graph.h>
#include <engine/fifo.h>
#include "nv20.h"
#include "regs.h"
/************************************... | gpl-2.0 |
Tasssadar/kernel_nexus | arch/arm/mm/nommu.c | 2818 | 2262 | /*
* linux/arch/arm/mm/nommu.c
*
* ARM uCLinux supporting functions.
*/
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/io.h>
#include <linux/memblock.h>
#include <asm/cacheflush.h>
#include <asm/sections.h>
#include <asm/page.h>
#include <asm/setup.h>
#include <asm/mach... | gpl-2.0 |
altcrauer/linux | arch/mips/mti-sead3/sead3-console.c | 4098 | 1177 | /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
*/
#include <linux/init.h>
#include <linux/console.h>
#include <linux/se... | gpl-2.0 |
heptalium/rpi-sources-3.2 | tools/perf/util/ctype.c | 4354 | 1466 | /*
* Sane locale-independent, ASCII ctype.
*
* No surprises, and works with signed and unsigned chars.
*/
#include "cache.h"
enum {
S = GIT_SPACE,
A = GIT_ALPHA,
D = GIT_DIGIT,
G = GIT_GLOB_SPECIAL, /* *, ?, [, \\ */
R = GIT_REGEX_SPECIAL, /* $, (, ), +, ., ^, {, | * */
P = GIT_PRINT_EXTRA, /* printable - al... | gpl-2.0 |
armani-dev/kernel_test | fs/nilfs2/dat.c | 4866 | 13261 | /*
* dat.c - NILFS disk address translation.
*
* 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 ... | gpl-2.0 |
garwedgess/LuPuS_honami_stock | drivers/media/video/mt9t001.c | 4866 | 23073 | /*
* Driver for MT9T001 CMOS Image Sensor from Aptina (Micron)
*
* Copyright (C) 2010-2011, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*
* Based on the MT9M001 driver,
*
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
*
* This program is free software; you can redistribute it and/... | gpl-2.0 |
CyanideL/android_kernel_samsung_jf | fs/nilfs2/sufile.c | 4866 | 24904 | /*
* sufile.c - NILFS segment usage file.
*
* 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 the... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.