code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
multiline_comment|/*&n; * Check-out files from the "current cache directory"&n; *&n; * Copyright (C) 2005 Linus Torvalds&n; *&n; */
macro_line|#include "builtin.h"
macro_line|#include "lockfile.h"
macro_line|#include "quote.h"
macro_line|#include "cache-tree.h"
macro_li... | dmgerman/git-test | builtin/checkout-index.c | C | gpl-2.0 | 17,029 |
/*************************************************************************
Copyright (C) 2005 Joseph D'Errico, Wei Qin
See file COPYING for more 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
... | kagucho/mipsim | jit/mips_gen.hpp | C++ | gpl-2.0 | 9,099 |
package de.zedlitz.opendocument;
import groovy.lang.Closure;
import java.util.ArrayList;
import java.util.List;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
/**
* A row in an OpenDocument table.
*
* @author jzedlitz
*
*/
public class... | jze/opendocument-reader | src/main/java/de/zedlitz/opendocument/Row.java | Java | gpl-2.0 | 2,873 |
# KIGIV(c)
[](https://travis-ci.org/cjbrigato/kigiv-for-proxmark3)[](https://scan.coverity.com/project/cjbrigato-kigiv-for-proxmark3)[![Latest r... | cjbrigato/kigiv-for-proxmark3 | README.md | Markdown | gpl-2.0 | 1,337 |
#include "nexusdefs.h"
#include "nexustoken.h"
#include "nexus.h"
/**
* @class NexusBlock
* @file nexus.h
* @file nexusblock.cpp
* @author Paul O. Lewis
* @copyright Copyright © 1999. All Rights Reserved.
* @variable isDisabled [bool:private] true if this block is currently disabled
* @v... | rdmpage/treeviewx | ncl-2.0/src/nexusblock.cpp | C++ | gpl-2.0 | 6,417 |
/*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 Foundati... | TheTypoMaster/Scaper | openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/BasicNarrowOopField.java | Java | gpl-2.0 | 2,652 |
cmd_sound/soc/atmel/built-in.o := rm -f sound/soc/atmel/built-in.o; ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ar rcs sound/soc/atmel/built-in.o
| venkatkamesh/2.6.35-kernel-for-lg-optimus-me- | sound/soc/atmel/.built-in.o.cmd | Batchfile | gpl-2.0 | 163 |
.bbp-search-form {
float: none;
}
#bbpress-forums #bbp-search-form #bbp_search {
width: 270px;
margin-right: 26px;
}
#bbp_search_submit {
min-width: 170px;
vertical-align: top;
}
div.bbp-breadcrumb {
float: none;
}
#bbpress-forums div.bbp-search-form {
margin: 102px 0 46px;
}
@m... | vswamy/hackathon | wp-content/themes/emmet-lite/css/emmet-bbpress.css | CSS | gpl-2.0 | 9,289 |
package com.teambitcoin.coinwallet;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Gravity;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget... | cwallet/coinwallet | CoinWallet/src/main/java/com/teambitcoin/coinwallet/ForgotPassword.java | Java | gpl-2.0 | 8,528 |
cmd_/home/keithconger/Projects/bbbandroid-bluez/backports-3.18.1-1/drivers/bluetooth/btmrvl.ko := /home/keithconger/Projects/bbbandroid-bluez/prebuilts/gcc/linux-x86/arm/arm-gnueabihf-4.7/bin/arm-linux-gnueabihf-ld -EL -r -T /home/keithconger/Projects/bbbandroid-bluez/kernel/scripts/module-common.lds --build-id -o /h... | kconger/backports-3.18.1-1 | drivers/bluetooth/.btmrvl.ko.cmd | Batchfile | gpl-2.0 | 593 |
#pragma once
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.org
*
* 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 ver... | CharlieMarshall/xbmc | xbmc/pvr/PVRManager.h | C | gpl-2.0 | 22,946 |
#!/bin/sh
# Start telnet server
eval `flash TELNET_ACCESS_PORT WEB_WAN_ACCESS_PORT TR069_ENABLED`
if [ -x "/usr/sbin/telnetd" ]; then
echo -n $TELNET_ACCESS_PORT > /var/telnet_port
/usr/sbin/telnetd -l /bin/cli -p $TELNET_ACCESS_PORT
fi
# Start debug telnet server
#eval `flash DEBUG`
#if [ $DEBUG = 1 ]; then
# teln... | xandlom/keenetic-firmware | package/base-scripts/all/services.sh | Shell | gpl-2.0 | 732 |
//-----------------------------------------------------------------------------
// Class: Block Manager
// Authors: LiXizhi, Clayman
// Emails: LiXizhi@yeah.net
// Company: ParaEngine
// Date: 2012.11.26
//-----------------------------------------------------------------------------
#include "ParaEngine.h"
#include "Sc... | LiXizhi/NPLRuntime | Client/trunk/ParaEngineClient/BlockEngine/BlockWorldClient.cpp | C++ | gpl-2.0 | 113,122 |
from re import compile as re_compile
from os import path as os_path, listdir
from MenuList import MenuList
from Components.Harddisk import harddiskmanager
from Tools.Directories import SCOPE_CURRENT_SKIN, resolveFilename, fileExists
from enigma import RT_HALIGN_LEFT, eListboxPythonMultiContent, \
eServiceReference, ... | openpli-arm/enigma2-arm | lib/python/Components/FileList.py | Python | gpl-2.0 | 14,837 |
<?php
/**
* Form for translation managers to send a notification
* to registered translators.
*
* @file
* @author Amir E. Aharoni
* @author Santhosh Thottingal
* @author Niklas Laxström
* @author Siebrand Mazeland
* @copyright Copyright © 2012, Amir E. Aharoni, Santhosh Thottingal
* @license GPL-2.0-or-later
... | wikimedia/mediawiki-extensions-TranslationNotifications | includes/SpecialNotifyTranslators.php | PHP | gpl-2.0 | 6,870 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: gikach
* Date: 4/4/13
* Time: 2:41 PM
* To change this template use File | Settings | File Templates.
*/
class QS_Smallinvoice_Model_Receipts_Observer extends Mage_Core_Model_Abstract {
protected $_catalogConfig;
public function __construct()
... | miegli/QS_Smallinvoice | app/code/local/QS/Smallinvoice/Model/Receipts/Observer.php | PHP | gpl-2.0 | 4,217 |
<?php // $Id$
/**
* settingstree.php - Tells the admin menu that there are sub menu pages to
* include for this activity.
*
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package quiz
*/
require_once($CFG->dirroot . '/mod/quiz/lib.php');
require_once($CFG->dirroot . '/mod/quiz/settingslib... | cwaclawik/moodle | mod/quiz/settingstree.php | PHP | gpl-2.0 | 7,689 |
/**
* \file
* <!--
* This file is part of BeRTOS.
*
* Bertos 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... | batt/sem | bertos/cpu/avr/drv/sipo.h | C | gpl-2.0 | 1,692 |
var isc_nb = 0;
jQuery(function(){
/**
* Hide/Show image list when post/page is loaded
*/
jQuery('.isc_image_list_title').click(function(){
isc_list = jQuery('.isc_image_list');
if ( isc_list.hasClass('isc-list-up') ) {
jQuery('.isc_image_list_title').attr('title', (isc_jste... | JornalExtraClasse/wordpress | wp-content/plugins/image-source-control-isc/js/front-js.js | JavaScript | gpl-2.0 | 4,876 |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2021 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | sandrinr/XCSoar | src/Device/Port/TTYEnumerator.hpp | C++ | gpl-2.0 | 2,005 |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2006 Sam Lantinga
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 op... | tommythorn/yari | shared/SDL-1.2/src/video/windib/SDL_dibvideo.h | C | gpl-2.0 | 2,206 |
textarea {
min-width:100%;
min-height:100px;
background:#fff;
} | achyutdahal/1234 | wp-content/plugins/wp-spry-menu/SpryAssets/admin-style.css | CSS | gpl-2.0 | 66 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>AboutDialog</name>
<message>
<source>About LMMS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version %1 (%2/%3, Qt %4, %5)</source>
<translation ... | DanielAeolusLaude/lmms | data/locale/fa.ts | TypeScript | gpl-2.0 | 324,101 |
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT 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 Foundatio... | Pold87/paparazzi_clean | sw/airborne/boards/apogee/chibios-libopencm3/board.c | C | gpl-2.0 | 3,345 |
showWord(["","pratikan nan relijyon Vodou.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/vodouyizan.js | JavaScript | gpl-2.0 | 49 |
# Seasonal forecasting of the polar stratosphere and its coupling with the troposphere #
## Figures and captions ##
![Time series of 10 hPa zonal-zonal mean zonal wind ($\overline{U}$) at 60$^{\circ}$S for GloSea5 hindcasts initialised near 1st August (a) and at 60$^{\circ}$N for hindcasts initialised near 1st Novemb... | wseviour/glosea5-paper | figures.md | Markdown | gpl-2.0 | 3,927 |
package tutorial;
/**
* Main class that shows how to create your first working application.
*
* @author Maciej Spiechowicz
*/
public class Main {
public static void main(String[] args) {
// This line is responsible for printing a message
System.out.println("Hello World!");
}
}
| MSpiechowicz/Programming | Java/Lesson01_HelloWorld/src/main/java/tutorial/Main.java | Java | gpl-2.0 | 310 |
<?php
define('SHCMS_ENGINE',true);
include_once('../engine/system/core.php');
$templates->template('SHCMS: Система');
echo engine::admin($users['group']);
if($users['group'] == 15) {
header('Location: ../admin.php');
exit;
} | shcms5/shcms_engine | admin/index.php | PHP | gpl-2.0 | 249 |
/*****************************************************************************\
* proc_req.c - process incoming messages to slurmctld
*****************************************************************************
* Copyright (C) 2002-2007 The Regents of the University of California.
* Copyright (C) 2008-2011 Lawr... | adammoody/slurm | src/slurmctld/proc_req.c | C | gpl-2.0 | 195,794 |
/*
Theme Name: Twenty Twelve
Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
http://codex.wordpress.org/Right_to_Left_Language_Support
*/
b... | justintadlock/wordpress | wp-content/themes/twentytwelve/rtl.css | CSS | gpl-2.0 | 4,792 |
#include "CounterpartyTypeDelegate.h"
CounterpartyTypeDelegate::CounterpartyTypeDelegate(QObject *parent) :
QSqlRelationalDelegate(parent)
{
}
void CounterpartyTypeDelegate::setModelData(QWidget *editor,
QAbstractItemModel *model,
... | tkQCompany/qcompany | qfaktury/src/ui/CounterpartyTypeDelegate.cpp | C++ | gpl-2.0 | 832 |
<?php
/**
* File containing the LogicalNot Criterion parser class
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/gnu_gpl GNU General Public License v2.0
* @version 2012.9
*/
namespace eZ\Publish\Core\REST\Server\Input\Parser\Criterion;
use eZ\Publish\C... | davidrousse/ezpuplish | vendor/ezsystems/ezpublish/eZ/Publish/Core/REST/Server/Input/Parser/Criterion/LogicalNot.php | PHP | gpl-2.0 | 1,678 |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright © 2004 Chris Friesen <chris_friesen@sympatico.ca>
* Copyright © 2009 Canonical Ltd.
* Copyright © 2009 Scott James Remnant <scott@netsplit.com>
*/
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <signal.h>
#include <stdbool.h>
#include <stdd... | pwithnall/systemd | src/udev/udevd.c | C | gpl-2.0 | 63,050 |
/*
pbrt source code Copyright(c) 1998-2009 Matt Pharr and Greg Humphreys.
This file is part of pbrt.
pbrt 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
... | truskhan/ray-hierarchy- | integrators/igi.h | C | gpl-2.0 | 2,730 |
#include "fast.h"
#include <fstream>
#include <strstream>
using namespace std;
AikSaurusFAST::AikSaurusFAST()
{
ifstream fin("thesaurus.in");
string index, words;
while(fin >> index >> words)
{
vector<string> foo;
for(unsigned int i = 0;i < words.size();++i)
{
if (w... | AbiWord/aiksaurus | data/0.12-dev/gen_pms/fast.cpp | C++ | gpl-2.0 | 810 |
/*
Copyright (C) 2003, 2010 - Wolfire Games
This file is part of Lugaru.
Lugaru 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 progr... | MaddTheSane/Lugaru | Source/Skybox.h | C | gpl-2.0 | 1,182 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Thu Apr 14 20:32:35 EEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package com.kodeiin... | kodeiinikooprat/evoluutio | target/site/apidocs/com/kodeiinia/package-use.html | HTML | gpl-2.0 | 4,053 |
package com.ucan.app.common.utils;
import java.io.File;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.provider.MediaStore;
import android.text.TextUtils;
public class ExportImgUtil {
private static final String TAG = ... | sosoyiyi/ucan | src/com/ucan/app/common/utils/ExportImgUtil.java | Java | gpl-2.0 | 1,432 |
<!--#appendFooterCss/css/3.css;stylesheet;text/css;print#-->
<!--#appendFooterCss/css/4.css#-->
<!--#appendFooterJs/js/3.js;async#-->
<footer>
<ul>
<!--{tempRow}-->
<!--@ROW@-->
<li><!--{name}--></li>
<!--@ROW@-->
</ul>
</footer> | teodoroleckie/TBone | Projects/Tpl/Footer.html | HTML | gpl-2.0 | 269 |
#shopp_courtesy .inside hr{
border: none;
border-bottom: 1px solid #DFDFDF;
height: 1px;
}
#shopp_courtesy .inside em{
color: #A80000;
}
#shopp_courtesy p.description{
padding: 5px;
}
#shopp_courtesy .inside ul.option{
padding: 5px;
}
#shopp_courtesy .inside li.option_name{
font-weight: bold;
}
... | sharpmachine/prosperoussoul.com | wp-content/plugins/shopp-google-sitemap/css/stb-courtesy-admin.css | CSS | gpl-2.0 | 587 |
#!/usr/bin/env bash
# Script information
SCRIPT_NAME="WordPress Plugin The Test Suite Installer"
SCRIPT_VERSION="1.0.1"
# Scripts defining custom functions
source $(dirname $0)/include/download.sh
source $(dirname $0)/include/info.sh
source $(dirname $0)/include/downloadWPCLI.sh
source $(dirname $0)/include/downloadC... | michaeluno/custom-scrollbar | test/install.sh | Shell | gpl-2.0 | 13,448 |
/*
* Copyright (C) 2021-2022 Colin Ian King
*
* 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 i... | ColinIanKing/stress-ng | test/test-asm-x86-clflush.c | C | gpl-2.0 | 953 |
<?php
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation program.
* If you make changes to this file, be sure to protect it again after making
* your modifications. Failure to remove write permissions to this file is a... | triharyono333/conext | sites/all/libraries/settings.php | PHP | gpl-2.0 | 26,555 |
package fr.npellegrin.xebia.mower.exceptions;
/**
* Represents and exception thrown by the parser.
*/
public class ParserException extends Exception {
private static final long serialVersionUID = -5690949595972473232L;
public ParserException() {
super();
}
public ParserException(final String message, final T... | npellegrin/MowItNow | src/main/java/fr/npellegrin/xebia/mower/exceptions/ParserException.java | Java | gpl-2.0 | 508 |
/*
* Copyright (c) 2007-2008 NVIDIA Corporation. All rights reserved.
*
* NVIDIA Corporation and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this sof... | DmitryADP/diff_qc750 | vendor/nvidia/tegra/core/drivers/nvrm/nvrmkernel/io/common/nvrm_gpioi2c.c | C | gpl-2.0 | 10,969 |
/*
* linux/drivers/ide/ide.c Version 6.31 June 9, 2000
*
* Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
*/
/*
* Mostly written by Mark Lord <mlord@pobox.com>
* and Gadi Oxman <gadio@netvision.net.il>
* and Andre Hedrick <andre@linux-ide.org>
*
* See linux/M... | hugh712/my_driver_study | Jollen/jk2410/kernel-jk2410/drivers/ide/ide.c | C | gpl-2.0 | 113,381 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AS... | mesutozturk/ASP-Restfull-Api-Service | ASPNetWebApi/ASPNetWebApi/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,360 |
<?php
/**
* Created by PhpStorm.
* User: vlad
* Date: 27.01.15
* Time: 19:09
*/
namespace ModelFramework\FormService\FormField\Strategy;
use ModelFramework\FieldTypesService\FieldType\FieldTypeAwareTrait;
use ModelFramework\FieldTypesService\FieldType\FieldTypeInterface;
use ModelFramework\FormService\FormField\... | modelframework/modelframework | src/ModelFramework/FormService/FormField/Strategy/EmailStrategy.php | PHP | gpl-2.0 | 3,086 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | inspircd/inspircd.github.com | api/4.0/class_numerics_1_1_cannot_send_to.html | HTML | gpl-2.0 | 10,968 |
<?php
class Jaundies_Directory_Manager {
/**
* Singleton Instance
*/
private static $_instance = null;
protected $_directories = array();
private function __construct() {
self::$_instance = $this;
}
public static function getInstance() {
if (self::$_instance === null)
new Jaundies_Directory_Mana... | Jaundies/Jaundies-Game-Framework | src/Directory/Manager.php | PHP | gpl-2.0 | 1,232 |
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
*... | altitudelabs/metisa-wordpress-plugin | metisa.php | PHP | gpl-2.0 | 2,446 |
package org.schlocknet.kbdb.model;
import lombok.Getter;
import lombok.Setter;
/**
*
* @author Ryan
*
* A generic response message that can be used for multiple web service
* responses.
* @param <T> The type of the responseObject
*
*/
public class ResponseMessage<T> extends JsonBase {
private @Get... | lsendel/kbdb | src/main/java/org/schlocknet/kbdb/model/ResponseMessage.java | Java | gpl-2.0 | 1,087 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.LiveTv
{
public class TunerChannelMapping
{
public string Name { get; set; }
public string Number { get; set; }
public string ProviderCh... | neagix/Emby | MediaBrowser.Controller/LiveTv/TunerChannelMapping.cs | C# | gpl-2.0 | 412 |
'''
Copyright (C) 2015 Jacob Bieker, jacob@bieker.us, www.jacobbieker.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.
Thi... | jacobbieker/Insights | insights/google/GPlus2SQLite.py | Python | gpl-2.0 | 825 |
<?php
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
?>
<div class="ui segment tab functions-tab active" data-tab="functions-<?php echo $n; ?>">
<div class="ui top attached tabular menu small G2-tabs">
<a class="item active" data-tab="fun... | azharu53/kuwithome | libraries/cegcore2/admin/extensions/chronofc/functions/php/php_config.php | PHP | gpl-2.0 | 1,828 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2022 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNE... | stweil/glpi | front/apiclient.form.php | PHP | gpl-2.0 | 1,869 |
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Fo... | twobob/buildroot-kindle | output/build/xapp_xlsclients-1.1.1/Makefile | Makefile | gpl-2.0 | 27,506 |
/* ***** BEGIN LICENSE BLOCK *****
* This file is part of Natron <http://www.natron.fr/>,
* Copyright (C) 2013-2017 INRIA and Alexandre Gauthier-Foichat
*
* Natron 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 Fou... | kcotugno/Natron | Gui/PickKnobDialog.cpp | C++ | gpl-2.0 | 15,353 |
/*
* IPv4ll supplicant
*
* Copyright (C) 2010-2012 Olaf Kirch <okir@suse.de>
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/poll.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <getopt.h>
#include <errno.h>
#includ... | pwieczorkiewicz/wicked | autoip4/main.c | C | gpl-2.0 | 13,954 |
/*
* $Id: db_row.c,v 1.13.6.1 2004/03/05 18:00:34 janakj Exp $
*
* MySQL module row related functions
*
* Copyright (C) 2001-2003 Fhg Fokus
*
* This file is part of ser, a free SIP server.
*
* ser is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | scs/uclinux | user/ser/modules/mysql/db_row.c | C | gpl-2.0 | 2,330 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CRAN - Package eLNNpaired</title>
<link rel="stylesheet" type="text/css" href="../../CRAN_web.css" />
<meta http-equiv="Content-Type" content="text/html... | esander91/NamespacePollution | Code/GetMetaDataFromCRAN/raw_html/eLNNpaired.html | HTML | gpl-2.0 | 3,493 |
<?php // $Revision: 2.0 $
/************************************************************************/
/* phpAdsNew 2 */
/* =========== */
/* ... | miller-tamil/openads-plus | language/korean/report.lang.php | PHP | gpl-2.0 | 1,635 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/jsp/java/JspDirectivePage.java | Java | gpl-2.0 | 13,277 |
<?php
/**
* SportsPress Meta Boxes
*
* Sets up the write panels used by custom post types
*
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.3.1
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
/**
* SP_Admin_Meta_Boxes
*/
class SP_Admin_M... | phoebuzz/habsprospect | wp-content/plugins/sportspress/includes/admin/post-types/class-sp-admin-meta-boxes.php | PHP | gpl-2.0 | 13,147 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CompanyDirectoryDF.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About... | Jricklefs/Employee-Directory | CompanyDirectoryDF/Controllers/HomeController.cs | C# | gpl-2.0 | 587 |
/*
* @file glut_window.cpp
* @Brief Glut-based window.
* @author Fei Zhu
*
* This file is part of Physika, a versatile physics simulation library.
* Copyright (C) 2013- Physika Group.
*
* This Source Code Form is subject to the terms of the GNU General Public License v2.0.
* If a copy of the GPL was not dis... | suitmyself/Physika | Physika_Src/Physika_GUI/Glut_Window/glut_window.cpp | C++ | gpl-2.0 | 17,741 |
#
#
#
all: regexrock
@echo DONE
CFLAGS += -Wall
regexrock: main.o
$(CC) $(CFLAGS) -o $@ $^ -lpcre
clean:
rm -f *.o *.d *.dep
rm -rf *.dSYM
rm -f regexrock
.PHONY: all clean
| davll/airspf | regexrock/Makefile | Makefile | gpl-2.0 | 184 |
<?php
/**
* File containing the ezie module definition
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 5.0.0
* @package ezie
*/
$Module = array( 'name' => 'ezie' );
$ViewList = array();
$View... | medbenhenda/migration-ez5 | ezpublish_legacy/extension/ezie/modules/ezie/module.php | PHP | gpl-2.0 | 1,651 |
# Copyright (c) 2009, 2011, 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 the... | jb-boin/mariadb | cmake/plugin.cmake | CMake | gpl-2.0 | 8,467 |
package zeropoint.minecraft.commands.com;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import zeropoint.minecraft.core.GTBaseCommand;
import zeropoint.minecraft.core.util.ChatMsg;
/**
* [/vanish [on|off|toggle]] Control invisibility
*
* @author Zero Point
*/
pub... | ZeroPointMC/GlobalTweaks | zeropoint/minecraft/commands/com/Vanish.java | Java | gpl-2.0 | 1,198 |
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const Signals = imports.signals;
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const Pango = imports.gi.Pango;
const St = imports.gi.St;
const Shell = im... | halfline/gnome-shell | js/ui/shellMountOperation.js | JavaScript | gpl-2.0 | 23,798 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2.
*/
use cpython::*;
use minibytes::Bytes as MiniBytes;
#[cfg(feature = "python3")]
use python3_sys as ffi;
#[cfg(feature = "python2")]
use python... | facebookexperimental/eden | eden/hg-server/edenscmnative/bindings/modules/pybytes/src/lib.rs | Rust | gpl-2.0 | 1,607 |
local combat = {}
for i = 35, 55 do
combat[i] = Combat()
combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS)
combat[i]:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
local condition = Condition(CONDITION_ATTRIBUTES)
condition:setParameter(CONDITION_PARAM_TICKS, 15000)
condition:s... | mattyx14/otxserver | data/scripts/spells/monster/raging_mage_skill_reducer_1.lua | Lua | gpl-2.0 | 725 |
<?php
class Qixol_Promo_Block_Banner extends Mage_Core_Block_Template {
public function _prepareLayout() {
return parent::_prepareLayout();
}
public function getBanner() {
if (!$this->hasData('banner')) {
$this->setData('banner', Mage::registry('banner'));
}
ret... | Qixol/Qixol.Promo.Magento.Extension | Magento_1.9.x/app/code/community/Qixol/Promo/Block/Banner.php | PHP | gpl-2.0 | 1,819 |
<html>
<head>
<title>SE IT-B</title>
<link rel=stylesheet href="quiz_style.css" type="text/css">
<script type="text/javascript">
window.onload=function() {alert('Mambos Quiz!! Hurry up..! to get selected.');};
function validatefield(fieldname,regex,helptext,helpid)
{
if(fieldname.value.length==0)
... | rihbyne/regex | regex.html | HTML | gpl-2.0 | 6,066 |
/* src/threads/native/critical.h - restartable critical sections
Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
J. Wenninger, Institut f. Computersprachen - TU Wien
... | tommythorn/yari | shared/cacao-related/cacao/src/threads/critical.h | C | gpl-2.0 | 2,684 |
package fr.lipn.sts.ir.indexing;
import java.io.File;
import java.io.IOException;
import java.util.Stack;
import java.util.Vector;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.lucene.document.Document;
import o... | dbuscaldi/SOPA | src/fr/lipn/sts/ir/indexing/AquaintXMLHandler.java | Java | gpl-2.0 | 3,298 |
describe("region", function(){
"use strict";
describe("when creating a new region manager and no configuration has been provided", function(){
it("should throw an exception saying an 'el' is required", function(){
expect(
Backbone.Marionette.Region.extend({})
).toThrow("An 'el' must be spec... | RoryDuncan/Idea-Planner | node_modules/backbone.marionette/spec/javascripts/region.spec.js | JavaScript | gpl-2.0 | 11,267 |
/*
* Copyright (c) 1998-2011 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dlitz/resin | modules/resin/src/com/caucho/server/http/StubResponseStream.java | Java | gpl-2.0 | 3,994 |
delete from user_role_assoc where application_user_id = '2';
delete from user_role_assoc where application_user_id = '3';
delete from user_role_assoc where application_user_id = '4';
| lamsfoundation/lams | 3rdParty_sources/tacitknowledge/autopatch/src/test/resources/com/tacitknowledge/util/migration/jdbc/test/patch0001-rollback.sql | SQL | gpl-2.0 | 193 |
#ifndef __LINUX_BIT_SPINLOCK_H
#define __LINUX_BIT_SPINLOCK_H
<<<<<<< HEAD
#include <linux/kernel.h>
#include <linux/preempt.h>
#include <asm/atomic.h>
=======
>>>>>>> 296c66da8a02d52243f45b80521febece5ed498a
/*
* bit-based spin_lock()
*
* Don't use this unless you really need to: spin_lock() and spin_unlock()
*... | Core2idiot/Kernel-Samsung-3.0...- | include/linux/bit_spinlock.h | C | gpl-2.0 | 2,528 |
/**
* Copyright (C) 2015 Chalmers REVERE
*
* 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 d... | chalmers-revere/opendlv.core | code/core/system/proxy-imu/include/ProxyIMU.h | C | gpl-2.0 | 1,647 |
cmd_net/xfrm/built-in.o := arm-arago-linux-gnueabi-ld -EL -r -o net/xfrm/built-in.o net/xfrm/xfrm_policy.o net/xfrm/xfrm_state.o net/xfrm/xfrm_hash.o net/xfrm/xfrm_input.o net/xfrm/xfrm_output.o net/xfrm/xfrm_algo.o net/xfrm/xfrm_sysctl.o
| calixtolinux/linux-2.6.37-AM18x-OMAPL13x-Calixto-Versa-EVM-V1 | net/xfrm/.built-in.o.cmd | Batchfile | gpl-2.0 | 244 |
(function($) {
Drupal.total_gallery_formatter = Drupal.total_gallery_formatter || {};
Drupal.total_gallery_formatter.tgfToBoolean = function(number) {
if (number) {
return true;
}
else {
return false;
}
};
Drupal.behaviors.totalGalleryFormatter = {
attach : function(context, sett... | shweta-sagar/whitemag | sites/all/modules/total_gallery_formatter/js/tgf-gallery-with-carousel.js | JavaScript | gpl-2.0 | 4,474 |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\User;
\defined('_JEXEC') or die;
/**
* Interface defining a factory which c... | astridx/joomla-cms | libraries/src/User/UserFactoryInterface.php | PHP | gpl-2.0 | 825 |
<?php
/**
* radio-image Customizer Control.
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2016, Aristeides Stathopoulos
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
... | vvhuang/Agama2 | framework/admin/kirki/includes/controls/class-kirki-controls-radio-image-control.php | PHP | gpl-2.0 | 1,651 |
----------------------------------------------------------------------------------------
-- Based on oUF_AuraWatch(by Astromech)
----------------------------------------------------------------------------------------
local _, ns = ...
local oUF = ns.oUF
local GUIDs = {}
local PLAYER_UNITS = {
player = true,
vehic... | davymai/CN-QulightUI | Interface/AddOns/QulightUI/Addons/UF/Raid/elements/AuraWatch.lua | Lua | gpl-2.0 | 4,680 |
<?php
/***************************************************************************
* *
* Copyright (c) 2004 Simbirsk Technologies Ltd. All rights reserved. *
* *
* This... | diedsmiling/busenika | payments/chronopay_form.php | PHP | gpl-2.0 | 5,787 |
# Building Angular Apps Using Flux Architecture
##### (In this video, we will take a look at Facebook's Flux design pattern, and how we can use it with Angular.js)
> Flux is the application architecture that Facebook uses for building client-side web applications. It's more of a pattern rather than a formal framewor... | formigone/easylearntutorial | angular/flux/README.md | Markdown | gpl-2.0 | 2,667 |
<?php
/*
* id = ot_billsafe.php
* location = /includes/modules/order_total
*
* 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 in the hope that... | commerceseo/v2next | includes/modules/order_total/ot_billsafe.php | PHP | gpl-2.0 | 6,027 |
<?php
$kses_filter = array(
'input' => array(
'type' => array(),
'name' => array(),
'id' => array(),
'class' => array(),
'value' => array(),
),
);
$clear_api_cache_button = get_submit_button( __( 'Clear Cache', 'wp-rest-api-controller' ), 'secondary', 'clear-wp-rest-a... | yikesinc/wp-rest-api-controller | admin/partials/settings-page.php | PHP | gpl-2.0 | 1,472 |
<?php /*
SLO Cloud - A Cloud-Based SLO Reporting Tool for Higher Education
This is a peer-reviewed, open-source, public project made possible by the Open Innovation in Higher Education project.
Copyright (C) 2015 Jesse Lawson, San Bernardino Community College District
Contributors:
Jesse Lawson
Jason Brady
THIS PR... | lawsonry/slocloud | src/bootstrap.php | PHP | gpl-2.0 | 1,650 |
#ifndef _GTKUTIL_ICONV_H
#define _GTKUTIL_ICONV_H
#include <glib/gconvert.h>
#include <glib/gmessages.h>
#include <glib/gunicode.h>
#include <glib/gmem.h>
#include <string>
#include <cassert>
namespace gtkutil
{
/**
* greebo: This is a wrapper class around the iconv functions.
* Many codeparts have been... | chrisglass/ufoai | src/tools/radiant/libs/gtkutil/IConv.h | C | gpl-2.0 | 4,912 |
CC=sdcc
NO_OPT=--nogcse --noinvariant --noinduction --nojtbound --noloopreverse \
--nolabelopt --nooverlay --peep-asm
DEBUG=--debug
CFLAGS=--model-large $(DEBUG) --less-pedantic \
--no-peep --int-long-reent --float-reent \
--data-loc 0x30
LDFLAGS=--out-fmt-ihx
LDFLAGS_RAM=$(LDFLAGS) --code-loc 0xf000 --xram-loc 0x... | ajtowns/altos | ao-tools/target/serial/Makefile | Makefile | gpl-2.0 | 1,098 |
<table id="table" class="pure-table pure-table-horizontal table">
<thead>
<tr>
<th>#</th>
<th>Handle</th>
<th>Offensive Points</th>
<th>Development Points</th>
<th>Total Points</th>
</tr>
</thead>
<tbody>
{% for leader in leaders %}
<tr onclick="document.location='/user/{{l... | coldwaterq/want2hack | app/templates/injects/_leaderboard.html | HTML | gpl-2.0 | 758 |
<?php
namespace Augwa\ShortUrlBundle\Controller;
/**
* Class UserFactoryController
* @package Augwa\ShortUrlBundle\Controller
*/
class UserFactoryController extends FactoryController
{
/**
* @return UserController
*/
public function make()
{
$user = new UserController;
$user-... | augwa/short-url | src/Augwa/ShortUrlBundle/Controller/UserFactoryController.php | PHP | gpl-2.0 | 383 |
/*
* 3.3.5 Examine and Change Blocked Signals, P1003.1b-1993, p. 73
*
* NOTE: P1003.1c/D10, p. 37 adds pthread_sigmask().
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distrib... | yangxi/omap4m3 | cpukit/posix/src/pthreadsigmask.c | C | gpl-2.0 | 1,475 |
/***************************************************************************
Copyright (C) 2005-2009 Robby Stephenson <robby@periapsis.org>
***************************************************************************/
/***************************************************************************
* ... | KDE/tellico | src/gui/datefieldwidget.cpp | C++ | gpl-2.0 | 2,371 |
---
layout: post
title: "Java Generics"
date: 2016-10-30 14:49:52
categories: java generics
published: true
comments: true
thread: 20161030145055555
---
Java 泛型
---
## 为什么要使用泛型
使用泛型的好处:
- 编译期的强类型检查
- 去除类型的强制转换
- 使程序员能实现通用算法
## 泛型类型(Generic Types)
泛型类型是class/interface的类型参数化。
```java
public class Box {
private Obj... | lanceliu/lanceliu.github.io | _posts/2016-10-30-java-generics.md | Markdown | gpl-2.0 | 1,666 |
/*
* Distributed bus system for robotic applications
* Copyright (C) 2009 University of Cambridge
*
* 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 (... | peter-b/distributed-bus-system | nxt-src/uk/ac/cam/dbs/ClockSync.java | Java | gpl-2.0 | 10,111 |