code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?php
namespace Pantheon\Terminus\UnitTests\Collections;
use League\Container\Container;
use Robo\Config;
use Pantheon\Terminus\Request\Request;
/**
* Class CollectionTestCase
* @package Pantheon\Terminus\UnitTests\Collections
*/
abstract class CollectionTestCase extends \PHPUnit_Framework_TestCase
{
/**
... | rloos289/PDXwing | vendor/pantheon-systems/terminus/tests/unit_tests/Collections/CollectionTestCase.php | PHP | gpl-2.0 | 1,230 |
<?php
// redirect to client list page
session_write_close();
header("Location: ../../logout.php");
?> | creative2020/jmc | data/global/lang/index.php | PHP | gpl-2.0 | 103 |
/************************************************************************/
/* author: xy */
/* date: 20110918 */
/************************************************************************/
#ifndef __MRU_CA... | Cyberbeing/xy-VSFilter | src/subtitles/mru_cache.h | C | gpl-2.0 | 34,049 |
#include "includes.h"
#include "hardware.h"
#include "card.h"
board *adapter[MAX_CARDS];
int cinst;
static char devname[] = "scX";
const char version[] = "2.0b1";
const char *boardname[] = { "DataCommute/BRI", "DataCommute/PRI", "TeleCommute/BRI" };
/* insmod set parameters */
static unsigned int io[] = {0,0,0,0};
... | jur/linux-2.2.1-ps2 | drivers/isdn/sc/init.c | C | gpl-2.0 | 14,059 |
/***************************************************************************
qgsglobefrustumhighlight.h
--------------------------------------
Date : 27.10.2013
Copyright : (C) 2013 Matthias Kuhn
Email : matthias dot kuhn at gmx dot ch
********************... | myarjunar/QGIS | src/plugins/globe/qgsglobefrustumhighlight.h | C | gpl-2.0 | 1,662 |
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015 CERN.
#
# Invenio 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... | inspirehep/invenio-records | invenio_records/signals.py | Python | gpl-2.0 | 2,474 |
/**
* @file
* Webform module Gmap admin page script.
*/
(function ($) {
Drupal.behaviors.gmapAdmin = {
attach: function(context, settings) {
var lat = Drupal.settings.gmap.lat;
var lon = Drupal.settings.gmap.lon;
var zoom = Drupal.settings.gmap.zoom;
var icon = Drupal.settings.gmap.pat... | kaypro4/cf-openshift | sites/all/modules/webform_gmap_location/js/gmap_admin.js | JavaScript | gpl-2.0 | 2,158 |
#python
import k3d
k3d.check_node_environment(context, "MeshSourceScript")
# Construct a cube mesh primitive ...
cubes = context.output.primitives().create("cube")
matrices = cubes.topology().create("matrices", "k3d::matrix4")
materials = cubes.topology().create("materials", "k3d::imaterial*")
uniform = cubes.attribu... | barche/k3d | share/k3d/scripts/MeshSourceScript/cubes.py | Python | gpl-2.0 | 771 |
<?php
// process a grant
require_once("grantfuncs.php");
// try to fetch the grant
$id = $_REQUEST["g"];
if(!isGrantId($id))
{
$id = false;
$GRANT = false;
}
else
{
$sql = "SELECT * FROM \"grant\" WHERE id = " . $db->quote($id);
$GRANT = $db->query($sql)->fetch();
}
$ref = "$masterPath?g=$id";
if($GRANT === f... | DownloadTicketService/dl | htdocs/include/grant.php | PHP | gpl-2.0 | 3,994 |
/*
* kernel/sched/core.c
*
* Kernel scheduler and related syscalls
*
* Copyright (C) 1991-2002 Linus Torvalds
*
* 1996-12-23 Modified by Dave Grothe to fix bugs in semaphores and
* make semaphores SMP safe
* 1998-11-19 Implemented schedule_timeout() and related stuff
* by Andrea Arcangeli
* 2002-01... | boa19861105/BOA-Kernel | kernel/sched/core.c | C | gpl-2.0 | 140,285 |
/*
* Copyright (C) 2007-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gp... | houzhenggang/linux-2.6 | arch/arm/mach-mx37/devices.c | C | gpl-2.0 | 27,923 |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Sun8i platform dram controller register and constant defines
*
* (C) Copyright 2007-2015 Allwinner Technology Co.
* Jerry Wang <wangflord@allwinnertech.com>
* (C) Copyright 2016 Theobroma Systems Design und Consulting GmbH
* ... | ev3dev/u-boot | arch/arm/include/asm/arch-sunxi/dram_sun9i.h | C | gpl-2.0 | 11,371 |
<?php
/*
* Copyright 2010 Google Inc.
*
* 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 t... | jmstar003/pronegosyo-local-mu | wp-content/plugins/snapshot/lib/destinations/google-drive/Google/Service/PlusDomains.php | PHP | gpl-2.0 | 85,047 |
/*
* Copyright 1998-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 Fou... | kephale/java3d-core | src/classes/share/javax/media/j3d/DepthComponentRetained.java | Java | gpl-2.0 | 2,057 |
#ifndef __ardour_mackie_control_protocol_fader_h__
#define __ardour_mackie_control_protocol_fader_h__
#include "controls.h"
namespace Mackie {
class Fader : public Control
{
public:
Fader (int id, std::string name, Group & group)
: Control (id, name, group)
, position (0.0)
{
}
MidiByteArray set_positio... | cth103/ardour-cth103 | libs/surfaces/mackie/fader.h | C | gpl-2.0 | 531 |
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2017 Paco Avila & Josep Llort
* <p>
* No bytes were intentionally harmed during the development of this application.
* <p>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the... | Beau-M/document-management-system | src/main/java/com/openkm/frontend/client/bean/form/GWTSeparator.java | Java | gpl-2.0 | 1,470 |
/*
* @test
* @summary Test for Issue #1055
* @library .
* @compile NonN.java
* @compile -XDrawDiagnostics -processor org.checkerframework.checker.nullness.NullnessChecker -Astubs=NonN.astub Wildcards.java
*/
class Wildcards {
NonN<?> f = new NonN<Object>();
class LocalNonN<T extends Object> {}
Loca... | CharlesZ-Chen/checker-framework | checker/jtreg/stubs/wildcards/Wildcards.java | Java | gpl-2.0 | 360 |
/*
* f_fs.c -- user mode file system API for USB composite function controllers
*
* Copyright (C) 2010 Samsung Electronics
* Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
*
* Author: Michal Nazarewicz <mina86@mina86.com>
*
* Based on inode.c (GadgetFS) which was:
* Copyright (C) 2003-2004 ... | Jetson-TX1-AndroidTV/android_kernel_shield_tv_video4linux | drivers/usb/gadget/f_fs.c | C | gpl-2.0 | 59,951 |
/* Copyright (c) 2002-2011 by XMLVM.org
*
* Project Info: http://www.xmlvm.org
*
* This program 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 o... | skyHALud/codenameone | Ports/iOSPort/xmlvm/src/xmlvm2objc/compat-lib/objc/org_xmlvm_iphone_MKAnnotationView.h | C | gpl-2.0 | 2,816 |
<?php
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_... | CoordCulturaDigital-Minc/culturadigital.br | wp-content/plugins/all-in-one-video-pack/lib/Kaltura/Client/Enum/AdminUserOrderBy.php | PHP | gpl-2.0 | 1,562 |
# change engine to InnoDB
ALTER TABLE `cart_inventory` ENGINE = InnoDB;
ALTER TABLE `char_data` ENGINE = InnoDB;
ALTER TABLE `charlog` ENGINE = InnoDB;
ALTER TABLE `worldreg` ENGINE = InnoDB;
ALTER TABLE `accountreg` ENGINE = InnoDB;
ALTER TABLE `globalreg` ENGINE = InnoDB;
ALTER TABLE `guild` ENGINE = InnoDB;
ALTER T... | AurigaProject/root | sql-files/utils/convert_engine_innodb.sql | SQL | gpl-2.0 | 1,504 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated b... | jckarter/tbb | doc/html/a00019.html | HTML | gpl-2.0 | 21,919 |
<?php
function browser()
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') )
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Netscape') )
{
$browser = 'Netscape';
}
else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') )
{
$browser = 'Firefox';
}
else
{
$browser = 'Mozilla';
}... | mehulsbhatt/opensis | functions/browser.fnc.php | PHP | gpl-2.0 | 578 |
/*
* Automatically generated C config: don't edit
* Busybox version: 1.21.1-jb
*/
#define AUTOCONF_TIMESTAMP "2013-07-01 01:04 +0200"
#define CONFIG_HAVE_DOT_CONFIG 1
#define ENABLE_HAVE_DOT_CONFIG 1
#define IF_HAVE_DOT_CONFIG(...) __VA_ARGS__
#define IF_NOT_HAVE_DOT_CONFIG(...)
/*
* Busybox Settings
*/
/*
* G... | MIRAGE-Dev/android_external_busybox | include-full/autoconf.h | C | gpl-2.0 | 127,698 |
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# 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 optio... | veritazx/escience | app/controllers/search_controller.rb | Ruby | gpl-2.0 | 4,063 |
#include <stdio.h>
#include "main_begin.h"
/*-------------------------------------------------------------
* BILGILER
*------------------------------------------------------------*/
// TODO: Ogrenci numaranizi asagidaki degiskene atayin
const long OGRENCI_NO = 130201108;
// TODO: Terminal numaranizi asagidak... | ataniazov/KOU | Trash/billab_bdu_beta_1-linux_gcc_x86_64/main.c | C | gpl-2.0 | 5,595 |
/* include/linux/android_pmem.h
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and m... | TeamFreedom/mecha-2.6.35-gb-mr | include/linux/android_pmem.h | C | gpl-2.0 | 6,623 |
/**
Driver for 3DLabs Permedia 2.
Copyright (C) 2002 Måns Rullgård
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 l... | huceke/xine-lib-vaapi | contrib/vidix/drivers/pm2_vid.c | C | gpl-2.0 | 8,632 |
<?php
global $iclTranslationManagement;
$selected_translator = $iclTranslationManagement->get_selected_translator();
?>
<div class="wrap">
<div id="icon-wpml" class="icon32"><br /></div>
<h2><?php echo __('Translation management', 'wpml-translation-management') ?></h2>
<?php do_action('icl... | RemanenceStudio/StudioSon | wp-content/plugins/wpml-translation-management/menu/main.php | PHP | gpl-2.0 | 2,510 |
/** \file server/main.c
* Contains main(), plus signal callback functions and a help screen.
*
* Program init, command-line handling, and the main loop are
* implemented here. Also, minimal data about the program such as
* the revision number.
*
* Some of this stuff should probably be move elsewhere eventually,... | FamousBonecrusher/lcdproc-0.5.6_MCP23008 | server/main.c | C | gpl-2.0 | 27,057 |
package com.oracle.wsclient;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for countResponse complex type.
*
* <p>The following schema fragment specifies... | brunoborges/glassfish2weblogic | samples/bookmark-javaee6-wsclient/src/main/java/com/oracle/wsclient/CountResponse.java | Java | gpl-2.0 | 1,219 |
CREATE TABLE `wp_aryo_activity_log` ( `histid` int(11) NOT NULL AUTO_INCREMENT, `user_caps` varchar(70) NOT NULL DEFAULT 'guest', `action` varchar(255) NOT NULL, `object_type` varchar(255) NOT NULL, `object_subtype` varchar(255) NOT NULL DEFAULT '', `object_name` varchar(255) NOT NULL, `object_id` int(11) NOT NU... | JDjimenezdelgado/old-mmexperience | wp-content/uploads/backupbuddy_temp/jf9bpm0ioi/wp_aryo_activity_log.sql | SQL | gpl-2.0 | 228,347 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License")... | skyHALud/codenameone | Ports/iOSPort/xmlvm/apache-harmony-6.0-src-r991881/classlib/modules/swing/src/main/java/common/javax/swing/plaf/metal/MetalRadioButtonUI.java | Java | gpl-2.0 | 4,371 |
package vm
import (
"fmt"
"math/big"
)
func newStack() *stack {
return &stack{}
}
type stack struct {
data []*big.Int
ptr int
}
func (st *stack) push(d *big.Int) {
// NOTE push limit (1024) is checked in baseCheck
stackItem := new(big.Int).Set(d)
if len(st.data) > st.ptr {
st.data[st.ptr] = stackItem
} ... | ethereum/gethkey | Godeps/_workspace/src/github.com/ethereum/go-ethereum/core/vm/stack.go | GO | gpl-2.0 | 1,132 |
/**
******************************************************************************
* @file stm32g4xx_hal_fmac.c
* @author MCD Application Team
* @brief FMAC HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the FMAC peripheral:
... | grissiom/rt-thread | bsp/stm32/libraries/STM32G4xx_HAL/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_fmac.c | C | gpl-2.0 | 89,165 |
<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR"
content="Mozilla/4.7 [en] (X11; I; Linux 2.2.12-20 i686) [Netscape]">
<meta ... | petterreinholdtsen/cinelerra-hv | quicktime/thirdparty/lame-3.93.1/doc/html/history.html | HTML | gpl-2.0 | 74,810 |
<?php
/**
* @package WordPress
* @subpackage Your Inspiration Themes
*/
global $is_primary;
if ( ! class_exists( 'RevSlider' ) ) return;
$sliderID = $this->get('slider_name');
$the_slider = new RevSlider();
$the_slider->initByMixed($sliderID);
$slider_class = '';
$slider_cl... | dinhtuan0108/nkhn | wp-content/themes/room09/theme/templates/sliders/revolution-slider/slider.php | PHP | gpl-2.0 | 1,645 |
<?php
namespace Drupal\Tests\facets\Unit\Plugin\processor;
use Drupal\facets\Entity\Facet;
use Drupal\facets\Plugin\facets\processor\ListItemProcessor;
use Drupal\facets\Result\Result;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\Tests\UnitTestCase;
use Drupal\Core\Config\ConfigManager;
/**
* Unit test fo... | quitedensepoint/Devel1 | modules/modified_contrib/facets/tests/src/Unit/Plugin/processor/LimitItemProcessorTest.php | PHP | gpl-2.0 | 3,285 |
/*
* arch/arm/include/asm/pgtable-2level.h
*
* Copyright (C) 1995-2002 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.
*/
#ifndef _ASM_PGTABLE_2LEVEL_H
#define... | Hani-K/H-Vitamin2_trelte | arch/arm/include/asm/pgtable-2level.h | C | gpl-2.0 | 11,401 |
package org.talend.map.output;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.RecordWriter;
import org.apache.hadoop.mapreduce.TaskAttemptContext;
import... | wliu-talend/org.wliu.mr.demo | src/main/java/org/talend/map/output/tHDFSOutput_2StructOutputFormat.java | Java | gpl-2.0 | 1,786 |
require 'spec_helper'
describe 'spotlights requests' do
context ( 'waku' ) {
context ( 'user spotlight' ) {
let ( :u ) { User.first }
describe ( 'post /users/:id/spotlights' ) {
before {
post "#{user_spotlights_path( user_id: u.id )}.json", spotlight: {
title: 'user sp... | hey-krys/curarium | spec/requests/spotlights_spec.rb | Ruby | gpl-2.0 | 590 |
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/ndnSIM-module.h"
#define Strategy "Popcachestat"
#define CS_Capacity "100"
#define Capacity "10000"
#define Alpha "1.0"
#define Rate "200"
#define suffix Strategy"-"Capacity"-"CS_Capacity"-"Rate"-"Alpha".txt"
#define aggregate_trace "res... | moonbeamxp/ns-3 | scenario/ws-model/Replacement Policy/Double/ndn-cache-popcachestat.cc | C++ | gpl-2.0 | 4,899 |
LocalFileSystem
===============
This object provides a way to obtain root file systems.
Methods
----------
- __requestFileSystem:__ Requests a filesystem. _(Function)_
- __resolveLocalFileSystemURI:__ Retrieve a DirectoryEntry or FileEntry using local URI. _(Function)_
Constants
---------
- `LocalFileSystem.PERSIS... | tybor/MoSync | libs/Wormhole/jslib/mdDocs/file/localfilesystem/localfilesystem.md | Markdown | gpl-2.0 | 2,056 |
<?php
/**
* @file
* Contains \Drupal\Console\Command\Config\ValidateDebugCommand.
*/
namespace Drupal\Console\Command\Config;
use Drupal\Core\Config\Schema\SchemaCheckTrait;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\Ou... | nortmas/d8 | vendor/drupal/console/src/Command/Config/ValidateDebugCommand.php | PHP | gpl-2.0 | 3,687 |
/* This file is part of the ScriptDev2 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 opti... | spkansas/mangos-wotlk | src/game/AI/ScriptDevAI/scripts/outland/hellfire_citadel/magtheridons_lair/boss_magtheridon.cpp | C++ | gpl-2.0 | 19,346 |
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
// | C... | byo/piwigo | include/ws_functions/pwg.users.php | PHP | gpl-2.0 | 17,954 |
<?php
if (!defined('WEB_ROOT')) {
exit;
}
$errorMessage = (isset($_GET['error']) && $_GET['error'] != '') ? $_GET['error'] : ' ';
//$sql = "SELECT id, lname, room_name, floor, building FROM tbl_depts";
$sql = "SELECT p.ProjIndex, p.Title, p.ComIndex, c.CompanyName
FROM tbl_companies c, tbl_projects p
... | HongbiaoYang/SummerLean | user/add2.php | PHP | gpl-2.0 | 7,126 |
#
# Makefile for the linux kernel.
#
obj-y = fork.o exec_domain.o panic.o printk.o \
cpu.o exit.o itimer.o time.o softirq.o resource.o \
sysctl.o sysctl_binary.o capability.o ptrace.o timer.o user.o \
signal.o sys.o kmod.o workqueue.o pid.o task_work.o \
rcupdate.o extable.o params.o posix-time... | shreekantsingh/uefi | kernel/Makefile | Makefile | gpl-2.0 | 7,230 |
/*
* init_wslua.c
*
* Wireshark's interface to the Lua Programming Language
*
* (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or... | jfzazo/wireshark-hwgen | src/epan/wslua/init_wslua.c | C | gpl-2.0 | 35,503 |
/*
* Copyright 2012 Vincent Povirk for CodeWeavers
*
* 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 version.
*
... | GreenteaOS/Kernel | third-party/reactos/dll/win32/windowscodecs/bitmap.c | C | gpl-2.0 | 24,064 |
package xxl.container.classic;
import static java.util.Arrays.asList;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static xxl.java.container.classic.MetaMap.*;
import java.util.Arrays;
import java.util.Collection;
import jav... | SpoonLabs/nopol | nopol/src/test/java/xxl/container/classic/MetaMapTest.java | Java | gpl-2.0 | 12,568 |
// Copyright (C) 2000 Tridia Corporation. All Rights Reserved.
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as p... | newmind/uvnc_rds | tabbed_viewer/ClientConnectionUltra.cpp | C++ | gpl-2.0 | 4,132 |
<div data-theme="a" data-role="header">
<a data-role="button" data-rel="back" data-icon="arrow-l" data-iconpos="left" class="ui-btn-left">
Back
</a>
<h3>
Object
</h3>
</div>
<div data-role="content">
<div id="properties" class="tab-content">
<form action="" method="POST">
<div data... | ProyectoTypes/inventariohardware | webapp/src/main/webapp/Content/partials/object.html | HTML | gpl-2.0 | 2,568 |
<span class="tve_options_headline"><span class="tve_icm tve-ic-move"></span><?php echo __( "Default Social Sharing options", "thrive-cb" ) ?></span>
<ul class="tve_menu">
<li class="tve_ed_btn tve_btn_text tve_click" data-ctrl="function:social.openOptions"><?php echo __( "Social Options", "thrive-cb" ) ?></li>
<li cl... | tuffon/imaginewithus | wp-content/plugins/thrive-leads/tcb/editor/inc/menu/social_default.php | PHP | gpl-2.0 | 1,833 |
#include "config.h"
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <libpanel-util/panel-error.h>
#include <libpanel-util/panel-keyfile.h>
#include "panel-ditem-editor.h"
#include "panel-icon-names.h"
#include "panel-util.h"
/* FIXME Symbols needed by panel-util.c - sucky */
#include "app... | flexiondotorg/mate-panel | mate-panel/mate-desktop-item-edit.c | C | gpl-2.0 | 5,661 |
# Fantasdic
# Copyright (C) 2006 - 2007 Mathieu Blondel
#
# 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 progr... | mblondel/fantasdic | lib/fantasdic/ui/browser.rb | Ruby | gpl-2.0 | 4,237 |
/*
* linux/kernel/time/timekeeping.c
*
* Kernel timekeeping code and accessor functions
*
* This code was moved from linux/kernel/timer.c.
* Please see that file for copyright and history logs.
*
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/init.h>
#in... | varunchitre15/thunderzap_canvas2_jb | kernel/time/timekeeping.c | C | gpl-2.0 | 34,767 |
#include <algorithm>
#include <regex>
#include <cctype>
#include <climits>
#include <string>
#include <sstream>
#include <map>
#include <lib/base/eerror.h>
#include <lib/base/encoding.h>
#include <lib/base/estring.h>
#include "freesatv2.h"
#include "big5.h"
#include "gb18030.h"
std::string buildShortName( const std::s... | openatv/enigma2 | lib/base/estring.cpp | C++ | gpl-2.0 | 39,522 |
/* Copyright 2003-2005 Guillaume Duhamel
Copyright 2004-2006 Theo Berkau
This file is part of Yabause.
Yabause 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 ... | adelikat/yabause-rr | src/smpc.c | C | gpl-2.0 | 24,340 |
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Collective.slug'
db.add_column(u'collectives_collective',... | strikedebt/debtcollective-web | be/proj/collectives/migrations/0003_auto__add_field_collective_slug__add_field_action_slug.py | Python | gpl-2.0 | 5,792 |
/* 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... | tybor/MoSync | runtimes/cpp/core/extensions.h | C | gpl-2.0 | 701 |
/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2003 Chris Schoeneman, Nick Bolton, Sorin Sbarnea
*
* 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 this file.
... | wittekm/synergy-multi-monitor | src/lib/synergy/IPrimaryScreen.h | C | gpl-2.0 | 8,659 |
/*
* Copyright (c) 2014, Oracle and/or its affiliates. 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 Softwa... | teamfx/openjfx-10-dev-tests | functional/ControlsTests/src/javafx/scene/control/test/utils/ptables/NodeControllerFactory.java | Java | gpl-2.0 | 9,754 |
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package tenderSpring
* @since tenderSpring 1.0
*/
g... | jayanti/vaw-stories | wp-content/themes/tender-spring/page.php | PHP | gpl-2.0 | 724 |
/* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2010 Gabor Csardi <csardi.gabor@gmail.com>
Rue de l'Industrie 5, Lausanne 1005, Switzerland
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 S... | janschulz/igraph | interfaces/R/src/rinterface.h | C | gpl-2.0 | 890 |
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. 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 ... | netroby/jdk9-shenandoah-hotspot | src/cpu/x86/vm/sharedRuntime_x86_32.cpp | C++ | gpl-2.0 | 120,443 |
/**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: 1.0.8
* Revision: 1250
*
* Copyright (c) 2009-2013 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
* versio... | Mariana3/CultExcelEnterprise | web/js/jqPlot/plugins/jqplot.mekkoRenderer.js | JavaScript | gpl-2.0 | 18,942 |
<?php // $Id$
require_once("../../config.php");
$id = required_param('id', PARAM_INT); // Course module ID
if (! $cm = get_coursemodule_from_id('quiz', $id)) {
print_error('invalidcoursemodule');
}
if (! $quiz = $DB->get_record('quiz', array('id' => $cm->instance))) {
... | cwaclawik/moodle | mod/quiz/grade.php | PHP | gpl-2.0 | 733 |
#!/usr/bin/python
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Typical usage:
# dohtml -r docs/*
# - put all files and directories in docs into /usr/share/doc/${PF}/html
# dohtml foo.html
# - put foo.html into /usr/share/doc/${PF}/html
#
#
# Detailed ... | prometheanfire/portage | bin/dohtml.py | Python | gpl-2.0 | 6,987 |
/* packet-starteam.c
* Routines for Borland StarTeam packet dissection
*
* metatech <metatech[AT]flashmail.com>
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify ... | slowfranklin/wireshark | epan/dissectors/packet-starteam.c | C | gpl-2.0 | 44,191 |
/*
-- Pathing for Magregan Deepshadow
UPDATE `creature` SET `MovementType`=2 WHERE `guid`=8194;
DELETE FROM `creature_addon` WHERE `guid`=8194;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(8194,81940,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=81940;
... | Aokromes/TrinityCore | sql/old/4.3.4/world/34_2018_10_15/2018_10_09_01_world_from_335a_was_2018_10_08_01_world_335.sql | SQL | gpl-2.0 | 2,443 |
{script}{literal}OW.resizeImg($('.ow_oembed_attachment'),{width:'150'});{/literal}{/script}
{style}{literal}
.ow_oembed_attachment {
position: relative;
padding-right: 20px;
}
.ow_oembed_attachment .two_column .attachment_left {
float: left;
max-width: 150px;
margin-righ... | seret/oxtebafu | ow_system_plugins/base/views/components/oembed_attachment.html | HTML | gpl-2.0 | 2,676 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 Hemanth Narra
*
* 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 dis... | richardwhiuk/ns-moose | src/routing/dsdv/examples/dsdv-manet.cc | C++ | gpl-2.0 | 11,284 |
{*<!--
+---------------------------------------------------------------------------+
| OpenX v2.8 |
| ========= |
| |
... | kriwil/OpenX | lib/templates/admin/dashboard/iframe.html | HTML | gpl-2.0 | 3,890 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="cascmd_en.css">
<TITLE>... | hiplayer/giac | giac/giac-1.2.2/doc/en/cascmd_en/cascmd_en364.html | HTML | gpl-2.0 | 2,073 |
<?php
namespace SMW\Test;
use SMW\Tests\Util\SemanticDataValidator;
use SMW\InternalParseBeforeLinks;
use SMW\ExtensionContext;
use Title;
/**
* @covers \SMW\InternalParseBeforeLinks
*
* @ingroup Test
*
* @group SMW
* @group SMWExtension
*
* @licence GNU GPL v2+
* @since 1.9
*
* @author mwjames
*/
clas... | tuxun/smw-funwiki | extensions/SemanticMediaWiki/tests/phpunit/includes/hooks/InternalParseBeforeLinksTest.php | PHP | gpl-2.0 | 5,457 |
/**
* Copyright (c) 2005, 2009 IBM Corporation and others.
* This software is published under the GPL GNU General Public License.
* 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 vers... | scoophealth/oscar | src/main/java/com/quatro/dao/security/SecProviderDao.java | Java | gpl-2.0 | 8,178 |
<?php
/**
* WordPress User Page
*
* Handles authentication, registering, resetting passwords, forgot password,
* and other user handling.
*
* @package WordPress
*/
/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname(__FILE__) . '/wp-load.php' );
// Redirect to https login ... | darynl/test-rcas | wp-login.php | PHP | gpl-2.0 | 29,165 |
/***************************************************************************
esrip.h
Interface file for the Entertainment Sciences RIP
Written by Phil Bennett
***************************************************************************/
#ifndef _ESRIP_H
#define _ESRIP_H
/********************... | Luke-Nukem/mame-144-vector_mod | src/emu/cpu/esrip/esrip.h | C | gpl-2.0 | 2,406 |
<?php
/**
* the file for the sanitizer functions.
*
* @link http://registration_magic.com
* @since 1.0.0
*
* @package Registraion_Magic
* @subpackage Registraion_Magic/includes
*/
class RM_Sanitizer
{
/**
* Sanitizes the request variable
*
* @since 1.0.0
*/
public static function sa... | developmentDM2/The-Haute-Mess | wp-content/plugins/custom-registration-form-builder-with-submission-manager/includes/class_rm_sanitizer.php | PHP | gpl-2.0 | 450 |
/*
* Framebuffer driver for EFI/UEFI based system
*
* (c) 2006 Edgar Hucek <gimli@dark-green.com>
* Original efi driver written by Gerd Knorr <kraxel@goldbach.in-berlin.de>
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fb.h>
#include <linux/platform... | jeffegg/beaglebone | drivers/video/efifb.c | C | gpl-2.0 | 18,814 |
package edu.stanford.nlp.stats;
import edu.stanford.nlp.classify.Classifier;
import edu.stanford.nlp.classify.GeneralDataset;
import edu.stanford.nlp.pipeline.LabeledChunkIdentifier;
import edu.stanford.nlp.util.HashIndex;
import edu.stanford.nlp.util.Index;
import edu.stanford.nlp.util.StringUtils;
import java.io.Bu... | hbbpb/stanford-corenlp-gv | src/edu/stanford/nlp/stats/MultiClassChunkEvalStats.java | Java | gpl-2.0 | 6,350 |
/*
* 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 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be us... | VytautasBoznis/l2.skilas.lt | aCis_gameserver/java/net/sf/l2j/gameserver/idfactory/IdFactory.java | Java | gpl-2.0 | 9,525 |
/*
* Copyright 2013 websudos ltd.
*
* 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 t... | nosheenzaza/phantom-data-centric | phantom-dsl/src/test/scala/com/websudos/phantom/iteratee/IterateeTest.scala | Scala | gpl-2.0 | 2,944 |
package Accounts;
import java.math.BigDecimal;
public class Deposit extends Account {
public void Withdraw(BigDecimal amount) {
setBalance(getBalance().add(amount));
}
}
| MetalDestructor/School-Academy2015-2016 | 2015-11-Java-OOP/05. Inheritance/Problem02/Accounts/Deposit.java | Java | gpl-2.0 | 187 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | tonio-44/tikflak | shop/lib/Zend/Pdf/FileParser/Font/OpenType/TrueType.php | PHP | gpl-2.0 | 2,402 |
angularjs-element-switch
==========================
AngularJS directive to create HTML element which lock like iOS switch element
### USAGE
<div zbx-switch switch-style="switchStyleButton" switch-state="switchState1"></div>
| tsanko/angular-element-switch | README.md | Markdown | gpl-2.0 | 233 |
/*
* OpenVPN -- An application to securely tunnel IP networks
* over a single TCP/UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2010... | imsentinel/openvpn | src/openvpn/ssl_common.h | C | gpl-2.0 | 17,485 |
<!-- -*- c++ -*- -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
<script type="text/javascript" src="../../jsUnit/app/jsUnitCore.js"></script>
<script type="text/javascript" src="wema.js"></script>
<script language="javascript"... | eto/qwik | share/theme/js/test-xp.html | HTML | gpl-2.0 | 2,513 |
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/lockdep.h>
#include <mach/irqs.h>
#include <mach/mt_cirq.h>
#include <mach/mt_spm_idle.h>
#include <mach/mt_cpuidle.h>
#include <mach/wd_api.h>
#include <mach/mt_gpt.h>
#in... | tbalden/android_kernel_htc_m9pw | drivers/misc/mediatek/spm/mt6795/mt_spm_dpidle_64.c | C | gpl-2.0 | 18,839 |
<?php
/*
* This file contains the HTML generated for small calendars. You can copy this file to yourthemefolder/plugins/events/templates and modify it in an upgrade-safe manner.
*
* There are two variables made available to you:
*
* $calendar - contains an array of information regarding the calendar and is us... | hlavina/vava | wp-content/themes/anew/plugins/events-manager/templates/calendar-small.php | PHP | gpl-2.0 | 2,358 |
<div class="easyui-layout" data-options="fit:true" style="width:100%;height:100%;">
<div data-options="region:'center'" style="padding:10px 6px 0px 10px;border:0px;">
<div class="messager-icon messager-question"></div>
<div id="torrent-remove-confirm-confirm-text" style="width:100%;padding:0px;">
</div>
<... | djdeeles/opnwrt_webstatus | torrent/tr-web-control/template/dialog-torrent-remove-confirm.html | HTML | gpl-2.0 | 2,217 |
/*
* NETLINK Kernel-user communication protocol.
*
* Authors: Alan Cox <alan@lxorguk.ukuu.org.uk>
* Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
* Patrick McHardy <kaber@trash.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public... | tescande/linux-nfc-next-stable | net/netlink/af_netlink.c | C | gpl-2.0 | 65,449 |
<!DOCTYPE HTML>
<!--
AJ Tyzack and Company Limited
by Hayden Smith
Skyzack.com
-->
<html>
<head>
<title>News-AJ Tyzack & Co</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]--... | MostUnfabulous/AJTyzack | node_modules/news.html | HTML | gpl-2.0 | 5,660 |
\Sconcordance{concordance:GESISsusc2015_Day5.tex:GESISsusc2015_Day5.Rnw:%
1 143 1 49 0 1 10 65 1 2 0 254 1 4 0 27 1 5 0 31 1 3 0 32 1 1 9 13 %
1 9 0 8 1 14 0 41 1 4 0 64 1}
| BernStZi/SamplingAndEstimation | lecture/GESISsusc2015_Day5-concordance.tex | TeX | gpl-2.0 | 173 |
#!/bin/sh
# Script to rebuild the openhsu installation profile
# This command expects to be run within the openhsu profile.
# To use this command you must have `drush make` and `git` installed.
if [ -f openhsu.make ]; then
echo "\nThis command can be used to rebuild the installation profile in place.\n"
echo " [... | kalamuna/open-hsu-drops-7 | profiles/openhsu/gen.sh | Shell | gpl-2.0 | 702 |
package gie
package object TupleOps {
implicit class TupOps2[A, B](val x: (A, B)) extends AnyVal {
def :+[C](y: C) = (x._1, x._2, y)
def +:[C](y: C) = (y, x._1, x._2)
}
implicit class ExtTupOps3[A, B, C](val x: (A, B, C)) extends AnyVal {
def :+[D](y: D) = (x._1, x._2, x._3, y)
def +:[D](y: D... | gienanesobaka/simple-tarif-calc | src/main/scala/gie/tuple.scala | Scala | gpl-2.0 | 6,071 |
/**********************************************************************
Audacity: A Digital Audio Editor
ImportGStreamer.cpp
Copyright 2008 LRN
Based on ImportFFmpeg.cpp by LRN
Rework for gstreamer 1.0 by LLL
Licensed under the GNU General Public License v2 or later
*//*******************************************... | windinthew/audacity | src/import/ImportGStreamer.cpp | C++ | gpl-2.0 | 43,782 |
/* TrueFunction.java --
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 optio... | unofficial-opensource-apple/gcc_40 | libjava/gnu/xml/xpath/TrueFunction.java | Java | gpl-2.0 | 2,168 |
// RegisterCodec.h
#ifndef __REGISTERCODEC_H
#define __REGISTERCODEC_H
#include "../Common/MethodId.h"
#include "DeclareCodecs.h"
typedef void * (*CreateCodecP)();
struct CCodecInfo
{
CreateCodecP CreateDecoder;
CreateCodecP CreateEncoder;
CMethodId Id;
const wchar_t *Name;
UInt32 NumInStreams;
bool IsFi... | f00barbob/vba-rr-mod | src/win32/7zip/7z/CPP/7zip/Common/RegisterCodec.h | C | gpl-2.0 | 748 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.