repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
samsymons/SnapchatKit | Example/SnapchatKit-OSX/SnapchatKit-OSX/TBTimer.h | 345 | //
// TBTimeInterval.h
// BU Eats
//
// Created by Tanner on 4/24/15.
// Copyright (c) 2015 Tanner Bennett. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TBTimer : NSObject
+ (void)startTimer;
+ (CGFloat)lap;
@property (nonatomic, readonly) NSDate *startTime;
@property (nonatomic, readonl... | mit |
devosc/mvc5 | src/Plugin/Gem/Copy.php | 142 | <?php
/**
*
*/
namespace Mvc5\Plugin\Gem;
interface Copy
extends Gem
{
/**
* @return object
*/
function config();
}
| mit |
markdev/markandkitty | concrete/blocks/date_nav/tools/preview_pane.php | 898 | <?php
defined('C5_EXECUTE') or die(_("Access Denied."));
Loader::block('page_list');
$previewMode = true;
$nh = Loader::helper('navigation');
$controller = new PageListBlockController($b);
$_REQUEST['num'] = ($_REQUEST['num'] > 0) ? $_REQUEST['num'] : 0;
$_REQUEST['cThis'] = ($_REQUEST['cParentID'] == $controller... | mit |
mmkassem/gitlabhq | app/uploaders/avatar_uploader.rb | 746 | # frozen_string_literal: true
class AvatarUploader < GitlabUploader
include UploaderHelper
include RecordsUploads::Concern
include ObjectStorage::Concern
prepend ObjectStorage::Extension::RecordsUploads
MIME_WHITELIST = %w[image/png image/jpeg image/gif image/bmp image/tiff image/vnd.microsoft.icon].freeze
... | mit |
GawainLynch/bolt | tests/phpunit/unit/Controller/Backend/UsersTest.php | 13704 | <?php
namespace Bolt\Tests\Controller\Backend;
use Bolt\Storage\Entity;
use Bolt\Tests\Controller\ControllerUnitTest;
use Symfony\Component\Form\FormView;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
/**
* Class to test correct operation of src/Controller/Back... | mit |
stewartSG/the_commentable_gem | spec/dummy_app/db/schema.rb | 2876 | # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | mit |
blesh/angular | packages/language-service/src/definitions.ts | 5793 | /**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import * as ts from 'typescript'; // used as value and is provided at runtime
import {locateSymbols} from './locate... | mit |
camperjz/trident | modules/boonex/accounts/updates/8.0.1_8.0.2/source/classes/BxAccntConfig.php | 2465 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup Accounts Accounts
* @ingroup DolphinModules
*
* @{
*/
class BxAccntConfig extends BxBaseModGeneralConfig
{
prote... | mit |
pjhooker/monferratopaesaggi | trunk/wp-content/plugins/jetpack/sal/class.json-api-site-jetpack.php | 7587 | <?php
use Automattic\Jetpack\Sync\Functions;
require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack-base.php';
require_once dirname( __FILE__ ) . '/class.json-api-post-jetpack.php';
// this code runs on Jetpack (.org) sites
class Jetpack_Site extends Abstract_Jetpack_Site {
protected function get_mock_op... | mit |
claudiobm/ClockingIT-In-CapellaDesign | vendor/gems/mongrel-1.1.5/test/test_uriclassifier.rb | 7361 | # Copyright (c) 2005 Zed A. Shaw
# You can redistribute it and/or modify it under the same terms as Ruby.
#
# Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html
# for more information.
require 'test/testhelp'
include Mongrel
class URIClassifierTest < Test::Unit::TestCase
... | mit |
SuzukiMasashi/idobata-hooks | lib/hooks/pivotal_tracker/helper.rb | 1098 | require 'uri'
module Idobata::Hook
class PivotalTracker
module Helper
filters = [
::HTML::Pipeline::MarkdownFilter
]
filters << ::HTML::Pipeline::SyntaxHighlightFilter if defined?(Linguist) # This filter doesn't work on heroku
Pipeline = ::HTML::Pipeline.new(filters, gfm: true, ... | mit |
creative2020/strivela | wp-content/themes/Builder/lib/classes/css/classes.css | 211 | optgroup option {
margin-left: 1em;
}
.valign-top tr {
vertical-align: top;
}
html.thickbox-html,
.thickbox-html body {
min-width: 0;
}
html.thickbox-html,
.thickbox-html body {
margin: 0;
padding: 0;
}
| mit |
cdnjs/cdnjs | ajax/libs/angulartics2/8.3.0/routerlessmodule/fesm2015/angulartics2-routerlessmodule.js | 907 | import { __decorate } from 'tslib';
import { NgModule } from '@angular/core';
import { ANGULARTICS2_TOKEN, RouterlessTracking, Angulartics2, Angulartics2OnModule } from 'angulartics2';
var Angulartics2RouterlessModule_1;
let Angulartics2RouterlessModule = Angulartics2RouterlessModule_1 = class Angulartics2RouterlessMo... | mit |
alastrina123/debrief | org.mwc.asset.comms/docs/docs/api/org/restlet/data/class-use/Preference.html | 15761 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_14) on Wed Nov 03 17:42:23 GMT+01:00 2010 -->
<TITLE>
Uses of Class org.restlet.data.Preference (Restlet API 2.0.2 - JSE)
</TITLE>
<LINK REL ="styl... | epl-1.0 |
drbgfc/mdht | cda/examples/org.openhealthtools.mdht.cda.builder/src/org/openhealthtools/mdht/uml/cda/builder/test/TestCDABuilderFactory.java | 1871 | /*******************************************************************************
* Copyright (c) 2010, 2011 Sean Muir
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available... | epl-1.0 |
drbgfc/mdht | cts2/plugins/org.openhealthtools.mdht.cts2.core/src/org/openhealthtools/mdht/cts2/codesystem/impl/CodeSystemFactoryImpl.java | 5866 | /*******************************************************************************
* Copyright (c) 2012 David A Carlson.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | epl-1.0 |
xiaohanz/softcontroller | opendaylight/sal/yang-prototype/concepts-lang/src/main/java/org/opendaylight/controller/concepts/lang/Acceptor.java | 516 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package or... | epl-1.0 |
kaloyan-raev/che | wsagent/che-core-api-git/src/main/java/org/eclipse/che/api/git/exception/GitInvalidRefNameException.java | 1446 | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | epl-1.0 |
agoncal/core | javaee/api/src/main/java/org/jboss/forge/addon/javaee/jaxws/JAXWSFacet.java | 550 | /*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.javaee.jaxws;
import org.jboss.forge.addon.javaee.JavaEEFacet;
import org.jboss.forge.addon.projects.Project... | epl-1.0 |
liveoak-io/liveoak | modules/scripts/src/main/java/io/liveoak/scripts/resourcetriggered/interceptor/ScriptInterceptor.java | 5830 | package io.liveoak.scripts.resourcetriggered.interceptor;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import io.liveoak.common.DefaultResourceErrorResponse;
import io.liveoak.scripts.objects.Util;
import io.liveoak.scripts.objects.impl.exception.LiveOakException;
impo... | epl-1.0 |
7illusions/Emby | MediaBrowser.WebDashboard/dashboard-ui/scripts/songs.js | 7309 | define(['events', 'libraryBrowser', 'imageLoader', 'listView', 'emby-itemscontainer'], function (events, libraryBrowser, imageLoader, listView) {
return function (view, params, tabContent) {
var self = this;
var data = {};
function getPageData(context) {
var key = g... | gpl-2.0 |
somaen/scummvm | engines/tucker/detection.cpp | 4298 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
MyvarHD/OpenIDE | OpenIDE/OpenIDE.Library/Base/JSON/JsonToken.cs | 2797 | #region License
// Copyright (c) 2007 James Newton-King
//
// 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 |
mambomark/linux-systemsim | tools/perf/tests/hists_output.c | 17900 | #include "perf.h"
#include "util/debug.h"
#include "util/symbol.h"
#include "util/sort.h"
#include "util/evsel.h"
#include "util/evlist.h"
#include "util/machine.h"
#include "util/thread.h"
#include "util/parse-events.h"
#include "tests/tests.h"
#include "tests/hists_common.h"
struct sample {
u32 cpu;
u32 pid;
u64 ... | gpl-2.0 |
maxhutch/quantum-espresso | VdW/Makefile | 189 | # Makefile for VdW
sinclude ../make.sys
default: all
all:
@echo "VdW no longer maintained"
# ( cd src ; $(MAKE) all || exit 1 )
clean :
( cd src ; $(MAKE) clean ; )
distclean: clean
| gpl-2.0 |
borgotech/Infinity_MaNGOS | sql/Tools & Optional/Websites/I_CSwowd/pvpmini/shared/wow-com/includes-client/armorsets/en/pvpsuperior.js | 49796 | var armorSetPvPSuperior = new armorSetObject("pvpsuperior");
armorSetPvPSuperior.slotsArray = new Array();
t = 0;
armorSetPvPSuperior.slotsArray[t] = "head"; t++;
armorSetPvPSuperior.slotsArray[t] = "shoulder"; t++;
armorSetPvPSuperior.slotsArray[t] = "chest"; t++;
armorSetPvPSuperior.slotsArray[t] = "hands"; t++;
ar... | gpl-2.0 |
mearleycf/boltgun2 | wp-content/themes/pilcrow/sidebar-footer.php | 1009 | <?php
/**
* The Footer widget areas.
*
* @package Pilcrow
* @since Pilcrow 1.0
*/
?>
<?php
/* The footer widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
*/
if ( ! is_active_sidebar( 'sidebar-4' )
&... | gpl-2.0 |
taozhijiang/linux | drivers/infiniband/sw/rdmavt/qp.c | 44834 | /*
* Copyright(c) 2016 Intel Corporation.
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 o... | gpl-2.0 |
NicoleRobin/glibc | sysdeps/alpha/soft-fp/ots_nintxq.c | 1608 | /* Software floating-point emulation: convert to fortran nearest.
Copyright (C) 1997-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com) and
Jakub Jelinek (jj@ultra.linux.cz).
The GNU C Library is free software; you can redistrib... | gpl-2.0 |
ryanpeng84/HermitLibrary | doc/index-files/index-11.html | 7522 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Sat Jun 26 10:05:24 PDT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
K-Index
</TITLE>
<META NAME="dat... | gpl-2.0 |
jumpcakes/plunkett | wp-content/themes/genesis-sample/assets/js/bower_components/vue/src/observer/index.js | 4867 | var _ = require('../util')
var config = require('../config')
var Dep = require('./dep')
var arrayMethods = require('./array')
var arrayKeys = Object.getOwnPropertyNames(arrayMethods)
require('./object')
/**
* Observer class that are attached to each observed
* object. Once attached, the observer converts target
* o... | gpl-2.0 |
WellDone/gpsim | src/src/p12f6xx.cc | 16139 | /*
Copyright (C) 2009 Roy R. Rankin
This file is part of the libgpsim library of gpsim
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... | gpl-2.0 |
abirjepatil/iOS | config/module-lite.sh | 15079 | #! /usr/bin/env bash
#--------------------
# Standard options:
export COMMON_FF_CFG_FLAGS=
# export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --prefix=PREFIX"
# Licensing options:
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-gpl"
# export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-version3"
expo... | gpl-2.0 |
ohtacky/ECCUBE3 | src/Eccube/Controller/BlockController.php | 1549 | <?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
*
* http://www.lockon.co.jp/
*
* 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; ei... | gpl-2.0 |
dakcarto/QGIS | src/core/raster/qgsrasterrendererregistry.h | 3450 | /***************************************************************************
qgsrasterrendererregistry.h
---------------------------
begin : January 2012
copyright : (C) 2012 by Marco Hugentobler
email : marco at sour... | gpl-2.0 |
leprechau/freeradius-server | scripts/docker/debian9/Dockerfile | 1168 | ARG from=debian:stretch
FROM ${from} as build
ARG gccver=6
#
# Install build tools
#
RUN apt-get update
RUN apt-get install -y devscripts equivs git quilt g++-${gccver}
#
# Create build directory
#
RUN mkdir -p /usr/local/src/repositories
WORKDIR /usr/local/src/repositories
#
# Shallow clone the FreeRADIUS sourc... | gpl-2.0 |
bondjimbond/bcelnapps | sites/all/modules/quiz/quiz.api.php | 4847 | <?php
/**
* @file quiz.api.php
* Hooks provided by Quiz module.
*
* These entity types provided by Quiz also have entity API hooks. There are a
* few additional Quiz specific hooks defined in this file.
*
* quiz (settings for quiz nodes)
* quiz_result (quiz attempt/result)
* quiz_result_answer (answer to a sp... | gpl-2.0 |
major91/Zeta-Chromium-N5 | arch/arm/mach-msm/peripheral-loader.c | 20309 | /* Copyright (c) 2010-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 |
FrancoisFinfe/bcm2835-1.9 | src/test.c | 559 | // Test program for bcm2835 library
// You can only expect this to run correctly
// as root on Raspberry Pi hardware
//
// Author: Mike McCauley (mikem@open.com.au)
// Copyright (C) 2011 Mike McCauley
// $Id: test.c,v 1.2 2012/06/26 01:40:50 mikem Exp $
#include <bcm2835.h>
#include <stdio.h>
int main(int argc, char ... | gpl-2.0 |
masahir0y/barebox-yamada | arch/arm/boards/nvidia-jetson-tk1/board.c | 1285 | // SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: 2014 Lucas Stach <l.stach@pengutronix.de>
#include <common.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <gpio.h>
#include <i2c/i2c.h>
#include <init.h>
#include <mach/tegra-bbu.h>
#define AS3722_SD_VOLTAGE(n) (0x00 + (n))
#define AS3722_GPIO_... | gpl-2.0 |
neonatura/crotalus | php/ext/opcache/tests/bug67215.phpt | 721 | --TEST--
Bug #67215 (php-cgi work with opcache, may be segmentation fault happen)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.file_update_protection=0
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
$file_c = __DIR__ . "/bug67215.c.php";
$file_p = __DIR__ . "/bug67215.p.php";
file_put_contents... | gpl-2.0 |
CyanogenMod/android_kernel_lge_dory | drivers/input/touchscreen/synaptics_i2c_rmi4.h | 10394 | /*
* Synaptics RMI4 touchscreen driver
*
* Copyright (C) 2012 Synaptics Incorporated
*
* Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
* Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com>
* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* This program is free... | gpl-2.0 |
unicell/redpatch | fs/cifs/cifsglob.h | 29457 | /*
* fs/cifs/cifsglob.h
*
* Copyright (C) International Business Machines Corp., 2002,2008
* Author(s): Steve French (sfrench@us.ibm.com)
* Jeremy Allison (jra@samba.org)
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser Gener... | gpl-2.0 |
RPCS3/rpcs3 | rpcs3/Emu/RSX/GL/GLGSRender.h | 6323 | #pragma once
#include "Emu/RSX/GSRender.h"
#include "GLHelpers.h"
#include "GLTexture.h"
#include "GLTextureCache.h"
#include "GLRenderTargets.h"
#include "GLProgramBuffer.h"
#include "GLTextOut.h"
#include "GLOverlays.h"
#include "GLShaderInterpreter.h"
#include <optional>
#include <unordered_map>
#ifdef _WIN32
#pra... | gpl-2.0 |
linusw/linux-bfq | drivers/mmc/host/sdhci-acpi.c | 14265 | /*
* Secure Digital Host Controller Interface ACPI driver.
*
* Copyright (c) 2012, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* Th... | gpl-2.0 |
CORE-POS/IS4C | documentation/doxy/output/fannie/html/class_hourly_sales_report-members.html | 22579 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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" con... | gpl-2.0 |
DmitryDrozdik/ppdorg | docroot/sites/all/modules/custom/ppgetstat/ppcc/plugins/content_types/ppcc_visualization.js | 1739 | // Example taken from http://bl.ocks.org/mbostock/3883245
jQuery( document ).ready(function() {
var margin = {top: 20, right: 20, bottom: 30, left: 50},
width = 620 - margin.left - margin.right,
height = 330 - margin.top - margin.bottom;
var parseDate = d3.time.format("%d-%b-%y").parse;
var x = d3... | gpl-2.0 |
harshitamistry/calligraRepository | krita/ui/input/config/kis_key_input_editor.h | 1443 | /*
* This file is part of the KDE project
* Copyright (C) 2013 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* 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
* ... | gpl-2.0 |
glocalcoop/activist-network | wp-content/plugins/civicrm/civicrm/CRM/Report/Form/Event/ParticipantListing.php | 30656 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+----------------... | gpl-2.0 |
MichaelQQ/Wireshark-PE | plugins/profinet/packet-pn-ptcp.c | 35467 | /* packet-pn-ptcp.c
* Routines for PN-PTCP (PROFINET Precision Time Clock Protocol)
* packet dissection.
*
* 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 it under the terms ... | gpl-2.0 |
ArrozAlba/huayra | cxp/reportes/sigesp_cxp_rfs_solicitudes_minfra.php | 37861 | <?php
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// REPORTE: Formato de salida de Solicitud de Pago
// ORGANISMO: MINISTERIO DEL PODER POPULAR PARA LA INFRAESTRUCTURA.
///////////////////////////////////////////////////////////... | gpl-2.0 |
paul-chambers/netgear-r7800 | package/qca-ssdk-shell/src/src/fal_uk/fal_nat.c | 8398 | /*
* Copyright (c) 2014, 2015, The Linux Foundation. All rights reserved.
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
* THE SOFTWARE IS PROVIDE... | gpl-2.0 |
skiz/warzone2100 | lib/framework/utf.cpp | 14247 | /*
This file is part of Warzone 2100.
Copyright (C) 2007 Giel van Schijndel
Copyright (C) 2007-2015 Warzone 2100 Project
Warzone 2100 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 th... | gpl-2.0 |
neonatura/crotalus | php/ext/pdo_mysql/tests/bug66141.phpt | 1288 | --TEST--
Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query)
--SKIPIF--
<?php
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
MySQLPDOTest::skip();
?>
--FILE--
<?php
include __DIR__ ... | gpl-2.0 |
ccompiler4pic32/pic32-gcc | gcc/testsuite/g++.dg/cpp0x/defaulted14.C | 326 | // PR c++/39866
// { dg-options "-std=c++0x" }
struct A {
A& operator=(const A&) = delete; // { dg-bogus "" }
void operator=(int) {} // { dg-message "" }
void operator=(char) {} // { dg-message "" }
};
struct B {};
int main()
{
A a;
a = B(); // { dg-error "no match" }
a = 1.0; // { dg-error "ambiguous... | gpl-2.0 |
emiliojsf/sogo | SOPE/NGCards/iCalPerson.h | 2924 | /*
Copyright (C) 2000-2005 SKYRIX Software AG
This file is part of SOPE.
SOPE 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, or (at your option) any
later version.
SOPE i... | gpl-2.0 |
gregorynicholas/houdini-ocean-toolkit | src/3rdparty/src/blitz-0.9/doc/blitz_3.html | 71964 | <HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on October, 14 2005 by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and ma... | gpl-2.0 |
xavierm02/lyx-mathpartir | src/mathed/InsetMathFontOld.cpp | 2314 | /**
* \file InsetMathFontOld.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "InsetMathFontOld.h"
#include "MathData.h"
#include ... | gpl-2.0 |
djwong/linux-xfs-dev | sound/usb/quirks.c | 42173 | /*
* 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 distributed in the hope that it w... | gpl-2.0 |
tstephen/srp-digital | wp-content/plugins/jetpack/_inc/build/shortcodes/js/recipes.min.asset.php | 95 | <?php return array('dependencies' => array(), 'version' => 'a8dca9f7d5fd098db5af94613d2a8ec0'); | gpl-2.0 |
RGray1959/MyParish | CmsWeb/Areas/Search/Models/SavedQuery/SavedQueryModel.cs | 4459 | using System.Collections.Generic;
using System.Data.Linq.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using CmsData;
using CmsWeb.Models;
using UtilityExtensions;
using Query = CmsData.Query;
namespace CmsWeb.Areas.Search.Models
{
public class SavedQueryModel : PagedTableModel<Query, ... | gpl-2.0 |
sevenbot/antispamsevenn | bot/seedbot.lua | 10194 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
tianya3796/linux2.6.9 | sound/parisc/harmony.c | 34487 | /*
* Harmony chipset driver
*
* This is a sound driver for ASP's and Lasi's Harmony sound chip
* and is unlikely to be used for anything other than on a HP PA-RISC.
*
* Harmony is found in HP 712s, 715/new and many other GSC based machines.
* On older 715 machines you'll find the technically identical chip
* ... | gpl-2.0 |
norov/glibc | sysdeps/unix/sysv/linux/ipc_priv.h | 1459 | /* Old SysV permission definition for Linux. Default version.
Copyright (C) 1995-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published... | gpl-2.0 |
slowfranklin/wireshark | epan/dissectors/packet-dcerpc-wkssvc.h | 14030 | /* autogenerated by pidl */
/* DO NOT EDIT
This filter was automatically generated
from wkssvc.idl and wkssvc.cnf.
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at http://wiki.... | gpl-2.0 |
mohammadhamad/mohammsdGeIPSEC | repos/libports/src/test/lwip/Keynote_rpc_app_4444/vp_msg.h | 1575 | //include <sys/types.h>
//#include <sys/stat.h>
//#include <fcntl.h>
//#include <string.h>
#include <stdio.h>
#include <stdlib.h>
//#include <sys/uio.h>
//#include <unistd.h>
#include <regex.h>
//#include <keynote/keynote.h>
#define APP_DOMAIN "vending app"
#define SRV_PORT 4444
/*
* read in message: each message is... | gpl-2.0 |
diydrones/alceosd | firmware/bootloader_updater.X/hex2header.py | 1513 | import sys
if __name__ == "__main__":
if len(sys.argv) < 2:
print "need input file"
sys.exit(1)
fin = open(sys.argv[1], "r")
lines = fin.readlines()
fin.close()
fout = open("bootloader.h", "w")
fout.write("/* File automatically generated by hex2header.py */\n\n")
fout.write("const unsigned int bootload... | gpl-2.0 |
liuyanghejerry/qtextended | qtopiacore/qt/src/gui/text/qfontengine_win.cpp | 43049 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | gpl-2.0 |
aldencolerain/mc2kernel | drivers/net/ethernet/mvebu_net/pp2/net_dev/mv_pp2_netmap.h | 13567 | /*******************************************************************************
Copyright (C) Marvell International Ltd. and its affiliates
This software file (the "File") is owned and distributed by Marvell
International Ltd. and/or its affiliates ("Marvell") under the following
alternative licensing terms. Once yo... | gpl-2.0 |
Alexpux/GCC | gcc/testsuite/gcc.target/i386/avx512vl-vpmovusqw-2.c | 334 | /* { dg-do run } */
/* { dg-options "-O2 -mavx512vl -DAVX512VL" } */
/* { dg-require-effective-target avx512vl } */
#define AVX512F_LEN 256
#define AVX512F_LEN_HALF 128
#include "avx512f-vpmovusqw-2.c"
#undef AVX512F_LEN
#undef AVX512F_LEN_HALF
#define AVX512F_LEN 128
#define AVX512F_LEN_HALF 128
#include "avx512f-v... | gpl-2.0 |
AnduZhang/resource-center | wp-content/plugins/muut/views/widgets/widget-latest-comments.php | 846 | <?php
/**
* The markup for the frontend of the Latest Comments widget
*
* @package Muut
* @copyright 2014 Muut Inc
*/
/**
* This file assumes that we are within the widget() method of the Muut_Widget_Latest_Comments class (which extends WP_Widget).
* Knowing that, `$this` represents that widget instance.
*/
... | gpl-2.0 |
Inter-Trust/Aspect_Weaver | documentation/doc/intertrust/modules/aw/package-tree.html | 4807 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Wed Mar 26 16:47:45 CET 2014 -->
<title>intertrust.modules.aw Class Hierarchy</title>
<meta name="date" content="2014-03-26">
<l... | gpl-2.0 |
kiennd146/nhazz.com | plugins/system/zend/Zend/Amf/Util/BinaryStream.php | 7414 | <?php defined( '_JEXEC') or die( 'Restricted Access' );
/**
* 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
... | gpl-2.0 |
T0MM0R/magento | web/js/mage/adminhtml/tabs.js | 10013 | /**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy... | gpl-2.0 |
xtao/openduckbill | src/helper.py | 3110 | #!/usr/bin/python2.4
# Copyright 2008 Google Inc.
# Author : Anoop Chandran <anoopj@google.com>
#
# openduckbill is a simple backup application. It offers support for
# transferring data to a local backup directory, NFS. It also provides
# file system monitoring of directories marked for backup. Please read
# the READ... | gpl-2.0 |
cifren/opussalon | administrator/components/com_joomailermailchimpintegration/libraries/TwitterZoid.php | 3467 | <?php
/**
* -----------------------------------------------------------------------------
*
* Functions for TwitterZoid PHP Script
* Copyright (c) 2008 Philip Newborough <mail@philipnewborough.co.uk>
*
* http://crunchbang.org/archives/2008/02/20/twitterzoid-php-script/
*
* LICENSE: This program is free software... | gpl-2.0 |
dmacvicar/spacewalk | monitoring/NOCpulsePlugins/SQLServer/SessionsBlocked.pm | 858 | package SQLServer::SessionsBlocked;
use strict;
use SQLServer::Sessions;
sub run {
my %args = @_;
my $result = $args{result};
my %params = %{$args{params}};
my $seconds = $params{sessionTime};
my $millisec = $seconds * 1000;
my $owner = $params{sessionOwner};
my $ss = $args{data_... | gpl-2.0 |
mattstock/binutils-bexkat1 | gdb/testsuite/gdb.python/py-unwind.c | 2643 | /* This test program is part of GDB, the GNU debugger.
Copyright 2015-2020 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License,... | gpl-2.0 |
atmark-techno/atmark-dist | user/ruby/ruby-2.1.2/test/rubygems/test_gem_commands_which_command.rb | 1872 | require 'rubygems/test_case'
require 'rubygems/commands/which_command'
class TestGemCommandsWhichCommand < Gem::TestCase
def setup
super
Gem::Specification.reset
@cmd = Gem::Commands::WhichCommand.new
end
def test_execute
util_foo_bar
@cmd.handle_options %w[foo_bar]
use_ui @ui do
... | gpl-2.0 |
foxsat-hdr/linux-kernel | drivers/media/dvb/frontends/dvb-pll.h | 661 | /*
* $Id: dvb-pll.h,v 1.2 2005/02/10 11:43:41 kraxel Exp $
*/
#ifndef __DVB_PLL_H__
#define __DVB_PLL_H__
struct dvb_pll_desc {
char *name;
u32 min;
u32 max;
void (*setbw)(u8 *buf, int bandwidth);
int count;
struct {
u32 limit;
u32 offset;
u32 stepsize;
u8 cb1;
u8 cb2;
} entries[9];
};
extern... | gpl-2.0 |
orgads/psi | src/contactlistmodelupdater.h | 2389 | /*
* contactlistmodelupdater.h - class to group model update operations together
* Copyright (C) 2008-2010 Yandex LLC (Michail Pishchagin)
*
* 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... | gpl-2.0 |
thisismeonmounteverest/rox | build/places/templates/memberlist.php | 2396 | <?php
echo '<h2 class="paddingtop">' . $words->get('members') . '</h2>';
$User = new APP_User;
$words = new MOD_words();
$layoutbits = new MOD_layoutbits;
$url = '/places/' . htmlspecialchars($this->countryName) . '/' . $this->countryCode . '/';
if ($this->regionCode) {
$url .= htmlspecialchars($this->regionName) .... | gpl-2.0 |
eriser/marsyas | src/marsyas/marsystems/RealvecSource.h | 1968 | /*
** Copyright (C) 1998-2006 George Tzanetakis <gtzan@cs.uvic.ca>
**
** 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 |
marcelo-duffles/linux-rat-2.6.10 | drivers/pci/pci.c | 21181 | /*
* $Id: pci.c,v 1.91 1999/01/21 13:34:01 davem Exp $
*
* PCI Bus Services, see include/linux/pci.h for further explanation.
*
* Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter,
* David Mosberger-Tang
*
* Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
*/
#include <linux/delay.h>
#include <linux/init.h... | gpl-2.0 |
kynesim/wireshark | epan/dissectors/packet-ccsds.c | 26397 | /* packet-ccsds.c
* Routines for CCSDS dissection
* Copyright 2000, Scott Hovis scott.hovis@ums.msfc.nasa.gov
* Enhanced 2008, Matt Dunkle Matthew.L.Dunkle@nasa.gov
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software;... | gpl-2.0 |
id-Software/DOOM-iOS | code/iphone/UIFontLabel.h | 426 | /*
=======================================================================================
Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company. All Right Reserved.
This file is part of the DOOM Classic iOS v2.1 GPL Source Code.
====================================================================... | gpl-2.0 |
project-magpie/tdt-driver | stgfb/stmfb-3.1_stm24_0104/soc/sti7108/sti7108vdp.h | 918 | /***********************************************************************
*
* File: soc/sti7108/sti7108vdp.h
* Copyright (c) 2009 STMicroelectronics Limited.
*
* 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
* ... | gpl-2.0 |
fleeboy/tatt2tatt | core/modules/views/tests/src/Controller/ViewAjaxControllerTest.php | 8895 | <?php
/**
* @file
* Contains \Drupal\views\Tests\Controller\ViewAjaxControllerTest.
*/
namespace Drupal\views\Tests\Controller {
use Drupal\Tests\UnitTestCase;
use Drupal\views\Ajax\ViewAjaxResponse;
use Drupal\views\Controller\ViewAjaxController;
use Symfony\Component\HttpFoundation\Request;
/**
* @coversDefa... | gpl-2.0 |
FPLD/project0 | vendor/magento/framework/View/File.php | 2453 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View;
use Magento\Framework\View\Design\ThemeInterface;
/**
* View file in the file system with context of its identity
*/
class File
{
/**
* File name
*
* @var str... | gpl-2.0 |
Gurgel100/gcc | gcc/selftest-rtl.h | 3235 | /* A self-testing framework, for use by -fself-test.
Copyright (C) 2016-2021 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (... | gpl-2.0 |
dolorespark/android_kernel_hisense_m470bsa | drivers/video/backlight/backlight.c | 11044 | /*
* Backlight Lowlevel Control Abstraction
*
* Copyright (C) 2003,2004 Hewlett-Packard Company
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/backlight.h>
#include <linux/notifier.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <... | gpl-2.0 |
brharp/hjckrrh | profiles/ug/modules/ug/ug_demo/data/images/public/js/js_GWG8O3mHf8xRnabCEJIqQCLluQ1UIMRNp4CIToqq9Ow.js | 17330 | (function ($) {
/**
* Attaches double-click behavior to toggle full path of Krumo elements.
*/
Drupal.behaviors.devel = {
attach: function (context, settings) {
// Add hint to footnote
$('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Double-click... | gpl-2.0 |
dengbiao/tc_kernel_linux | arch/mips/math-emu/cp1emu.c | 29606 | /*
* cp1emu.c: a MIPS coprocessor 1 (fpu) instruction emulator
*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
* Copyright (C) 2000 MIPS Technologies, Inc.
*
* This program is free software; you can dis... | gpl-2.0 |
ysleu/RTL8685 | uClinux-dist/linux-2.6.x/rtk_voip-single_cpu/voip_drivers/iphone/base_i2c_core.c | 5874 | // move to voip_drivers/i2c.c
#if 0
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/string.h>
#include "base_gpio.h"
#include "base_i2c_core.h"
/************************* I2C read/write function ************************/
void i2c_serial_write(... | gpl-2.0 |
FilipBE/qtextended | qtopiacore/qt/src/gui/itemviews/qtreeview_p.h | 7954 | /****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** Commercial Usage
** Licensees holding valid Q... | gpl-2.0 |
omerta/huayra | sno/sigesp_snorh_c_diaferiado.php | 16072 | <?php
class sigesp_snorh_c_diaferiado
{
var $io_sql;
var $io_mensajes;
var $io_funciones;
var $io_seguridad;
var $io_sno;
var $ls_codemp;
//-----------------------------------------------------------------------------------------------------------------------------------
function sigesp_snorh_c_dia... | gpl-2.0 |
juampynr/DrupalCampEs | sites/all/themes/contrib/da_vinci/js/plugins/jquery.actual.min.js | 966 | (function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;
a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist';}var f={absolute:false,clone:false,includeMargin:false};
var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="positio... | gpl-2.0 |
gabi2/yast-yast2 | library/packages/test/product_test.rb | 11801 | #!/usr/bin/env rspec
require_relative "test_helper"
require "yaml"
# Important: Loads data in constructor
Yast.import "Product"
Yast.import "Mode"
Yast.import "Stage"
Yast.import "OSRelease"
Yast.import "PackageSystem"
Yast.import "Pkg"
Yast.import "PackageLock"
Yast.import "Mode"
Yast.import "Stage"
include Yast:... | gpl-2.0 |
djbouche/nucog | Extdeps/ffmpeg/src/libavcodec/vorbis.c | 6921 | /**
* @file
* Common code for Vorbis I encoder and decoder
* @author Denes Balatoni ( dbalatoni programozo hu )
*
* This file is part of FFmpeg.
*
* FFmpeg 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 ... | gpl-2.0 |
cvnhan/ncredmine | public/javascripts/context_menu.js | 6545 | var contextMenuObserving;
var contextMenuUrl;
function contextMenuRightClick(event) {
var target = $(event.target);
if (target.is('a')) {return;}
var tr = target.parents('tr').first();
if (!tr.hasClass('hascontextmenu')) {return;}
event.preventDefault();
if (!contextMenuIsSelected(tr)) {
contextMenuUns... | gpl-2.0 |