repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
eirTony/INDI1 | to/lang/OpenCV-2.2.0/samples/cpp/laplace.cpp | 1792 | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <ctype.h>
#include <iostream>
using namespace cv;
using namespace std;
void help()
{
cout <<
"\nThis program demonstrates Laplace point/edge detection using OpenCV function Laplacian()\n"
"It captures from the camera of you... | mit |
cdnjs/cdnjs | ajax/libs/bootstrap.native/3.0.11/components/tooltip-native.esm.js | 12472 | /*!
* Native JavaScript for Bootstrap Tooltip v3.1.0 (https://thednp.github.io/bootstrap.native/)
* Copyright 2015-2020 © dnp_theme
* Licensed under MIT (https://github.com/thednp/bootstrap.native/blob/master/LICENSE)
*/
var mouseHoverEvents = ('onmouseleave' in document) ? [ 'mouseenter', 'mouseleave'] : [ 'mo... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/8.2.2/modules/datagrouping.js | 8025 | /*
Highstock JS v8.2.2 (2020-10-22)
Data grouping module
(c) 2010-2019 Torstein Hnsi
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/modules/datagrouping",["highcharts"],functi... | mit |
LeapAppServices/LAS-StarterProject-Android | app/src/main/java/com/maxleap/starter/MainActivity.java | 583 | package com.maxleap.starter;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import com.maxleap.GetCallback;
import com.maxleap.MLDataManager;
import com.maxleap.MLObject;
import com.maxleap.MLQuery;
import com.maxleap.MLUserManager;
import com.maxleap.MaxLeap... | cc0-1.0 |
patcao/openhab | html/dashboard/data.php | 1428 | <?php
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);
$servername = "localhost";
$username = "openhab"; // TODO: change to your username
$password = "openhab"; // TODO: change your password
// Create connection
$conn = new mysqli($servername, $username, $password);
... | epl-1.0 |
boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/preferences/JavaEditorColoringPreferencePage.java | 2183 | /*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation 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, an... | epl-1.0 |
rajul/Pydev | plugins/org.python.pydev.shared_interactive_console/src/org/python/pydev/shared_interactive_console/console/codegen/StructuredSelectionScriptConsoleCodeGenerator.java | 3656 | /******************************************************************************
* Copyright (C) 2012-2013 Jonah Graham 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 av... | epl-1.0 |
mwensveen-nl/jenerate | org.jenerate/src/java/org/jenerate/internal/domain/data/impl/AbstractMethodGenerationData.java | 4250 | package org.jenerate.internal.domain.data.impl;
import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.IJavaElement;
import org.jenerate.internal.domain.data.MethodGenerationData;
import org.jenerate.internal.domain.identifier.StrategyIdentifier;
/**
* Abstract implementation of the {@link MethodGen... | epl-1.0 |
maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/ConvertAnonymousToNested/canConvert/A_testGenerics5_in.java | 100 | package p;
//private, static, final
class A<T>{
A(){
}
static <S> void f(){
new A<S>(){};
}
}
| epl-1.0 |
rrimmana/birt-1 | model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/scripts/ArgumentInfoList.java | 2379 | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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 availabl... | epl-1.0 |
lasch/code | skv/server/skv_local_kv_inmem.cpp | 31448 | /************************************************
* Copyright (c) IBM Corp. 2014
* 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-v... | epl-1.0 |
maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/InferTypeArguments/testCuRippleMethods3/out/A.java | 759 | package p;
import java.util.ArrayList;
import java.util.List;
class A {
public List<String> getList() {
List<String> list= new ArrayList<String>();
list.add("X");
return list;
}
}
interface I {
public List<String> getList();
}
class C extends A implements I {
// Inherits getList() from A and I, but does N... | epl-1.0 |
luohoufu/mybatis-shard | shard/src/main/java/org/lysu/shard/parser/ast/expression/string/RegexpExpression.java | 1551 | /*
* Copyright 1999-2012 Alibaba Group.
*
* 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 la... | epl-1.0 |
ControlSystemStudio/cs-studio | applications/snl/snl-plugins/de.desy.language.snl.ui/src/de/desy/language/snl/ui/adapter/ProgramNodeAdapterFactory.java | 1315 | package de.desy.language.snl.ui.adapter;
import org.eclipse.core.runtime.IAdapterFactory;
import org.eclipse.ui.model.IWorkbenchAdapter;
import de.desy.language.snl.parser.nodes.ProgramNode;
/**
* The specialized {@link IAdapterFactory} for {@link ProgramNode}s.
*
* @author C1 WPS / KM, MZ
*
*/
class ProgramNod... | epl-1.0 |
theanuradha/debrief | org.mwc.asset.legacy/src/ASSET/GUI/Editors/Sensors/BaseSensorViewer.java | 3356 | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | epl-1.0 |
dellysunnymtech/bitbake | lib/toaster/bldviewer/api.py | 2770 | #
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Toaster Implementation
#
# Copyright (C) 2013 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# pub... | gpl-2.0 |
amma35/glpi | front/tracking.injector.php | 3211 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2018 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | gpl-2.0 |
localnerve/wpspa-report | node_modules/grunt-plato/node_modules/plato/test/plato_test.js | 2301 | 'use strict';
var plato = require('../lib/plato');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.notEqua... | gpl-2.0 |
jackyhong/esper | esper/src/test/java/com/espertech/esper/epl/approx/TestCountMinSketchStateTopK.java | 5267 | /*
* *************************************************************************************
* Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | gpl-2.0 |
jackyhong/esper | esper/src/main/java/com/espertech/esper/core/context/mgr/ContextPartitionIdManager.java | 1047 | /*
* *************************************************************************************
* Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | gpl-2.0 |
SzwedzikPL/ACE3 | addons/logistics_wirecutter/CfgVehicles.hpp | 2489 | class CfgVehicles {
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_wirecutter,4);
};
};
class Wall_F;
class NonStrategic;
class Land_Net_Fence_4m_F: Wall_F {
GVAR(isFence) = 1;
};
class Land... | gpl-2.0 |
paolodedios/uncrustify | tests/expected/cpp/30245-align_func_params.cpp | 3226 | class SomeClass
{
public:
// Short parameters
TYPE_EXPORT method1(int a,
float b);
TYPE_EXPORT method2(int& d,
float e);
TYPE_EXPORT method3(int* f,
float g);
// Parameters with '&' and '*'
TYPE_EXPORT method4(int a);
TYPE_EXPORT method5(int & a);
TYPE_... | gpl-2.0 |
Rodeo314/vasFMC | vaslib/src/flight_mode_tracker.cpp | 6687 | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005-2008 Alexander Wemmer
//
// 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 versi... | gpl-2.0 |
SpoonLabs/astor | examples/math_106/src/test/org/apache/commons/math/stat/inference/ChiSquareTestTest.java | 7617 | /*
* Copyright 2004 The Apache Software Foundation.
*
* 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 appl... | gpl-2.0 |
Moujimouja/centreon | www/include/common/javascript/centreon/serviceFilterByHost.js | 4294 | /*
* Copyright 2005-2015 Centreon
* Centreon is developped by : Julien Mathis and Romain Le Merlus under
* GPL Licence 2.0.
*
* 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 versi... | gpl-2.0 |
artetxem/mitzuli | libraries/lttoolbox-java/src/main/java/org/apertium/lttoolbox/process/BasicFSTProcessor.java | 5065 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.apertium.lttoolbox.process;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Collection;
import java.util.Map;
import java.util.TreeMa... | gpl-2.0 |
eigentor/tommiblog | vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php | 1128 | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Identifier;
class StaticCall extends Expr
{
/** @var Node\Name|Expr Class name */
public $class;
/** @var Identifier|Expr Method name */
public $name;
/** @var Node\Arg[] ... | gpl-2.0 |
gnu-andrew/qt3 | src/kernel/qeventloop_unix.cpp | 16428 | /****************************************************************************
**
** Implementation of QEventLoop class
**
** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the kernel module of the Qt GUI Toolkit.
**
** This file may be used under the terms of the GNU General
** ... | gpl-2.0 |
CarstenHollmann/series-rest-api | spi/src/main/java/org/n52/io/response/dataset/TimeseriesOutput.java | 1576 | /*
* Copyright (C) 2013-2020 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* 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.
*
* If the program is linked with ... | gpl-2.0 |
ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/pm/je_Jb.java | 2110 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | gpl-2.0 |
rlee1962/diylegalcenter | plugins/system/jat3/base-themes/default/blocks/message.php | 638 | <?php
/*
# ------------------------------------------------------------------------
# JA T3v2 Plugin - Template framework for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license - GNU/GPL V2, http://www.gnu.org/lic... | gpl-2.0 |
handson201403/wp_azure_handson201403 | wp-content/themes/life-photolog/404.php | 1286 | <!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1" />
<title>404 Not Found | <?php bloginfo('name'); ?></title>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('s... | gpl-2.0 |
mcberg2016/graal-core2 | graal/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/InlineDuringParsingPlugin.java | 2863 | /*
* Copyright (c) 2013, 2015, 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 ... | gpl-2.0 |
ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/pm/faddp_ST3_ST7.java | 2015 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | gpl-2.0 |
nekrozar/ygopro-scripts | c94677445.lua | 2800 | --星杯の神子イヴ
function c94677445.initial_effect(c)
--synchro summon
c:EnableReviveLimit()
aux.AddSynchroMixProcedure(c,c94677445.matfilter1,nil,nil,aux.NonTuner(nil),1,99)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94677445,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(... | gpl-2.0 |
Malyngo/jaydata | src/Types/Expressions/EntityExpressions/ServiceOperationExpression.js | 2002 | import $data, { $C, Guard, Container, Exception } from '../../../TypeSystem/index.js';
$C('$data.Expressions.ServiceOperationExpression', $data.Expressions.ExpressionNode, null, {
constructor: function (source, selector, params, cfg, boundItem) {
///<signature>
///<param name="source" type="$data.E... | gpl-2.0 |
iegor/qt | src/widgets/qlistview.cpp | 220284 | /****************************************************************************
**
** Implementation of QListView widget class
**
** Created : 970809
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the widgets module of the Qt GUI Toolkit.
**
** This file may be used under th... | gpl-2.0 |
cheloherrera/joomla32 | components/com_easydiscuss/helpers/assets.php | 6724 | <?php
/**
* @package EasyDiscuss
* @copyright Copyright (C) 2010 - 2012 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasyDiscuss is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of w... | gpl-2.0 |
mirror/vbox | src/VBox/Main/src-client/GuestDirectoryImpl.cpp | 12216 |
/* $Id$ */
/** @file
* VirtualBox Main - Guest directory handling.
*/
/*
* Copyright (C) 2012-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the te... | gpl-2.0 |
ahsparrow/xcsoar_orig | src/Profile/FontConfig.cpp | 4811 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2015 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
... | gpl-2.0 |
kreynen/civicrm-starterkit-drops-7 | profiles/civicrm_starterkit/modules/civicrm/Civi/Api4/Action/Address/Save.php | 660 | <?php
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| |
| This work is published under the GNU AGPLv3 license with some |
| permitted exception... | gpl-2.0 |
mikemcdaid/getonupband | sites/all/themes/getonupband/node_modules/weinre/web/client/ImageView.js | 5162 | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | gpl-2.0 |
UCCS-GDD/CS3350-CustomMetalCarnage | CMC_Project/Assets/Realistic Effects Pack/Scripts/Prefabs/Buffs/WaterWaveUvAnimation.cs | 1045 | using UnityEngine;
using System.Collections;
public class WaterWaveUvAnimation: MonoBehaviour
{
public float speed = 1;
public int fps = 30;
public Color color;
private Material mat;
//private Material mat;
private float offset, offsetHeight;
private float delta;
// Use this for initialization
void ... | gpl-2.0 |
mnottale/openscad | src/cgalutils-tess-old.cc | 23296 | /*
This is our custom tessellator of Nef Polyhedron faces. The problem with
Nef faces is that sometimes the 'default' tessellator of Nef Polyhedron
doesnt work. This is particularly true with situations where the polygon
face is not, actually, 'simple', according to CGAL itself. This can
occur on a bad quality STL... | gpl-2.0 |
Serveurperso/anyterm | libpbe/examples/http_get_gunzip.cc | 1499 | // examples/http_get_gunzip.cc
// This file is part of libpbe; see http://svn.chezphil.org/libpbe/
// (C) 2008 Philip Endecott
// 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 ... | gpl-2.0 |
hardvain/mono-compiler | class/Compat.ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/BZip2/BZip2OutputStream.cs | 40668 | // BZip2OutputStream.cs
// Copyright (C) 2001 Mike Krueger
//
// 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 |
impulze/paludis | doc/api/ruby/example_mask.rb | 1622 | #!/usr/bin/env ruby
# vim: set sw=4 sts=4 et tw=100 :
=begin description
This example demonstrates how to use Mask. It displays all the
mask keys for a particular PackageID.
=end
require 'Paludis'
require 'example_command_line'
include Paludis
exit_status = 0
# We start with an Environment, respecting the user's '... | gpl-2.0 |
translate/translate | translate/search/terminology.py | 1754 | #
# Copyright 2006-2009 Zuza Software Foundation
#
# This file is part of the Translate Toolkit.
#
# 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 ... | gpl-2.0 |
patrickmcguire/WASTE | wxmainframe.cpp | 14470 | /*
WASTE - wxWidgets main application window
Copyright (C) 2005 WASTE Development Team
WASTE is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later v... | gpl-2.0 |
FLOWERCLOUD/PCM2015plus | QGLViewer/camera.cpp | 79836 | /****************************************************************************
Copyright (C) 2002-2013 Gilles Debunne. All rights reserved.
This file is part of the QGLViewer library version 2.5.2.
http://www.libqglviewer.com - contact@libqglviewer.com
This file may be used under the terms of the GNU General Pub... | gpl-2.0 |
jackyhong/esper | esper/src/main/java/com/espertech/esper/epl/spec/GroupByClauseElementExpr.java | 1142 | /*
* *************************************************************************************
* Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | gpl-2.0 |
nordita-stockholm/norweb-hvzm | news/about/archive/issues/nn_1996_4/index.php | 12062 | <HTML>
<HEAD>
<title>Nordita News 1996/4</title>
</HEAD>
<BODY BGCOLOR="#FFFFCC" TEXT="#000000">
<HR>
<H1>NORDITA NEWS 1996 / 4
August 1, 1996</H1>
<HR>
<P> <P>
<B>ASSOCIATE PROFESSORSHIP IN OBSERVATIONAL ASTROPHYSICS</B>
<... | gpl-2.0 |
gnu-andrew/qt3 | qmake/project.cpp | 45363 | /****************************************************************************
**
** Implementation of QMakeProject class.
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of qmake.
**
** This file may be used under the terms of the GNU General
** Public License versions 2.0 or ... | gpl-2.0 |
Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/finiteVolume/fields/fvPatchFields/constraint/empty/emptyFvPatchFieldsFwd.H | 1868 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | gpl-2.0 |
wattazoum/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/ai/worlds/idian_depth/NamelessGraveAI2.java | 1895 | /**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 lat... | gpl-2.0 |
Lsty/ygopro-scripts | c11502550.lua | 3794 | --E・HERO エアー・ネオス
function c11502550.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,89943723,54959865,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(E... | gpl-2.0 |
Sonicadvance1/dolphin | Source/Core/VideoBackends/OGL/PerfQuery.cpp | 3007 | // Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#include "DolphinWX/GLInterface/GLInterface.h"
#include "VideoBackends/OGL/GLUtil.h"
#include "VideoBackends/OGL/PerfQuery.h"
#include "VideoCommon/RenderBase.h"
namespace OGL
{
PerfQuery::PerfQuery()
: m_q... | gpl-2.0 |
jamesmf/recommenderW2V | scripts/keras/keras/layers/core.py | 10178 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division
import theano
import theano.tensor as T
from .. import activations, initializations
from ..utils.theano_utils import shared_zeros, floatX
from ..utils.generic_utils import make_tuple
from theano.sandbox.rng_mrg import MRG_RandomStreams as Rando... | gpl-2.0 |
bislewl/zc-v1-series | admin/option_values.php | 12305 | <?php
/**
* @package admin
* @copyright Copyright 2003-2014 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: option_values.php 18695 2011-05-04 05:24:19Z drbyte $
*/
?>
<?php
require('in... | gpl-2.0 |
jagnoha/website | profiles/varbase/profiles/varbase/libraries/ckeditor/plugins/newpage/lang/sq.js | 215 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'newpage', 'sq', {
toolbar: 'Faqe e Re'
} );
| gpl-2.0 |
ranrolls/refine-ras-admin | components/com_contentbuilder/views/list/tmpl/default.php | 27596 | <?php
/**
* @package ContentBuilder
* @author Markus Bopp
* @link http://www.crosstec.de
* @license GNU/GPL
*/
defined('_JEXEC') or die('Restricted access');
require_once(JPATH_COMPONENT_ADMINISTRATOR . DS . 'classes' . DS . 'contentbuilder_helpers.php');
$language_allowed = contentbuilder::a... | gpl-2.0 |
nadavkav/MoodleTAO | enrol/ldap/enrol.php | 26854 | <?php // $Id$
require_once("$CFG->dirroot/enrol/enrol.class.php");
class enrolment_plugin_ldap {
var $log;
var $enrol_localcoursefield = 'idnumber';
/**
* This function syncs a user's enrolments with those on the LDAP server.
*/
function setup_enrolments(&$user) {
global $CFG;
//error_l... | gpl-2.0 |
mpdf/mpdf | tests/Issues/Issue421Test.php | 335 | <?php
namespace Issues;
use Mpdf\Mpdf;
class Issue421Test extends \Mpdf\BaseMpdfTest
{
public function testCleanupMethod()
{
$this->assertSame('🐙', mb_substr('🐙', 0, 1));
$mpdf = new \Mpdf\Mpdf(['mode' => 'c']);
$mpdf->WriteHTML('');
$mpdf->cleanup();
$this->assertSame('🐙', mb_substr('🐙', 0, 1));... | gpl-2.0 |
abhishekmurthy/Calligra | libs/kotext/KoInlineTextObjectManager.cpp | 9938 | /* This file is part of the KDE project
* Copyright (C) 2006-2009 Thomas Zander <zander@kde.org>
* Copyright (C) 2008 Thorsten Zachmann <zachmann@kde.org>
* Copyright (c) 2011 Boudewijn Rempt <boud@kogmbh.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GN... | gpl-2.0 |
getglossy/schuessler | wp-content/themes/beautyou/admin/tools/custom_menu/custom_menu_admin.js | 2232 | /*
*
* Back-end scripts for custom menu plugin
*
*/
/* Behavior for menu types */
var THEMEREX_admin_icon_field = '';
jQuery(document).ready(function() {
jQuery('.menu_type_select').each(function(){
menu_type_select(jQuery(this));
});
jQuery('.menu_type_select').change(function() {
menu_type_select(jQuery(thi... | gpl-2.0 |
Narrat/eispice | module/plot.py | 14734 | #
# Copyright (C) 2006-2007 Cooper Street Innovations Inc.
# Charles Eidsness <charles@cooper-street.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,... | gpl-2.0 |
humblewebdev/mustang | administrator/components/com_avreloaded/models/tags.php | 1614 | <?php
/**
* @version $Id: tags.php 945 2008-06-09 17:28:15Z Fritz Elfert $
* @copyright Copyright (C) 2008 Fritz Elfert. All rights reserved.
* @license GNU/GPLv2
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
jimport( 'joomla.application.component.model' );
/**
* Tags Mode... | gpl-2.0 |
ardowz/glpi-itams | front/devicegraphiccard.php | 1549 | <?php
/*
* @version $Id: devicegraphiccard.php 14684 2011-06-11 06:32:40Z remi $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2011 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
------... | gpl-2.0 |
stanographer/plover | test/test_config.py | 16727 | # Copyright (c) 2013 Hesky Fisher
# See LICENSE.txt for details.
"""Unit tests for config.py."""
from ast import literal_eval
from contextlib import ExitStack
from pathlib import Path
from site import USER_BASE
from string import Template
import inspect
import json
import os
import subprocess
import sys
import textwr... | gpl-2.0 |
mikemcdaid/getonupband | sites/all/themes/getonupband/node_modules/weinre/web/client/ResourceTreeModel.js | 7483 | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | gpl-2.0 |
ysangkok/JPC | src/org/jpc/emulator/execution/opcodes/pm/jns_Jw.java | 2117 | /*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | gpl-2.0 |
mlvdv/truffle | truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java | 14381 | /*
* Copyright (c) 2013, 2015, 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 ... | gpl-2.0 |
sirikfoll/TrinityCore | src/server/game/Spells/SpellMgr.cpp | 145552 | /*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either ver... | gpl-2.0 |
hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/editor/plugins/nls/zh/Save.js.uncompressed.js | 76 | define(
"dojox/editor/plugins/nls/zh/Save", ({
"save": "保存"
})
);
| gpl-2.0 |
hardvain/mono-compiler | class/System.Web.Mvc3/Mvc/IUnvalidatedRequestValues.cs | 386 | namespace System.Web.Mvc {
using System;
using System.Collections.Specialized;
using System.Web;
// Used for mocking the UnvalidatedRequestValues type in System.Web.WebPages
internal interface IUnvalidatedRequestValues {
NameValueCollection Form { get; }
NameValueCollection QueryS... | gpl-2.0 |
sics-sse/moped | squawk/translator/preprocessed/com/sun/squawk/translator/Translator.java | 19764 | /*
* Copyright 2004-2010 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2011 Oracle Corporation. 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... | gpl-2.0 |
cidesa/roraima-comunal | lib/model/om/BaseFcdefrecdesPeer.php | 9146 | <?php
abstract class BaseFcdefrecdesPeer {
const DATABASE_NAME = 'propel';
const TABLE_NAME = 'fcdefrecdes';
const CLASS_DEFAULT = 'lib.model.Fcdefrecdes';
const NUM_COLUMNS = 3;
const NUM_LAZY_LOAD_COLUMNS = 0;
const CODDES = 'fcdefrecdes.CODDES';
const CODREC = 'fcdefrecdes.CODREC';
... | gpl-2.0 |
SpoonLabs/astor | examples/lang_63/src/test/java/org/apache/commons/lang/math/NumberUtilsTest.java | 55930 | /*
* 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"); you may ... | gpl-2.0 |
scztt/sc3-plugins | source/JoshUGens/JoshGrainUGens.cpp | 211812 | /*
* JoshUGens.cpp
* xSC3plugins
*
* Created by Josh Parmenter on 2/4/05.
* Copyright 2005 __MyCompanyName__. All rights reserved.
*
*/
/*
SuperCollider real time audio synthesis system
Copyright (c) 2002 James McCartney. All rights reserved.
http://www.audiosynth.com
This program is free software... | gpl-2.0 |
Frazurbluu/ServUO | Scripts/Items/Addons/GardenShed.cs | 10911 | using System;
using Server.Gumps;
using Server.Network;
using Server.ContextMenus;
using System.Collections.Generic;
using Server.Engines.VeteranRewards;
namespace Server.Items
{
public class GardenShedComponent : AddonContainerComponent
{
public override int LabelNumber { get { return 1153492; } } // ... | gpl-2.0 |
rex-xxx/mt6572_x201 | tools/motodev/src/plugins/remote.device/src/com/motorola/studio/android/remote/ui/wireless/WirelessPropertiesComposite.java | 16705 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gpl-2.0 |
rokam/xbmc | xbmc/interfaces/legacy/Player.cpp | 14145 | /*
* Copyright (C) 2005-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 version.
*
* ... | gpl-2.0 |
tobiasbuhrer/tobiasb | web/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php | 52229 | <?php
namespace Drupal\KernelTests\Core\Database;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Core\Database\Database;
use Drupal\Core\Database\SchemaException;
use Drupal\Core\Database\SchemaObjectDoesNotExistException;
use Drupal\Core\Database\SchemaObjectExistsException;
use Drupal\KernelTests\KernelT... | gpl-2.0 |
TheGhostGroup/TC-Enhanced | src/server/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp | 42880 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | gpl-2.0 |
ximenesuk/openmicroscopy | components/server/test/ome/server/itests/AbstractManagedContextTest.java | 13141 | /*
* $Id$
*
* Copyright 2006 University of Dundee. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.server.itests;
import java.io.File;
import java.sql.Timestamp;
import java.util.List;
import java.util.UUID;
import javax.sql.DataSource;
import junit.framework.... | gpl-2.0 |
shchiu/openjdk | langtools/test/com/sun/javadoc/testTypeParams/TestTypeParameters.java | 2990 | /*
* Copyright (c) 2003, 2004, 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 ... | gpl-2.0 |
wassemgtk/OpenX-using-S3-and-CloudFront | www/admin/plugins/openXWorkflow/library/OX/Common/Validate/DateNotInPast.php | 947 | <?php
require_once 'Zend/Validate/Abstract.php';
require_once 'Zend/Date.php';
class OX_Common_Validate_DateNotInPast extends Zend_Validate_Abstract
{
const INVALID_DATE_IN_PAST = 'invalidDate';
protected $_messageTemplates = array(
self::INVALID_DATE_IN_PAST => 'Selected date is before today\'s dat... | gpl-2.0 |
librelab/qtmoko-test | qtopiacore/qt/src/3rdparty/webkit/WebCore/generated/JSDocument.cpp | 45865 | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | gpl-2.0 |
CharlesZ-Chen/checker-framework | framework/tests/all-systems/GenericsBounds.java | 854 | import java.util.LinkedList;
import java.util.List;
interface A<ID> {}
@SuppressWarnings("nullness") // Why is there a nullness warning?
class B1<ID> implements A<ID> {}
interface B2 extends A<Long> {}
class C extends B1<Long> implements B2 {}
@SuppressWarnings("nullness") // Why is there a nullness warning?
class... | gpl-2.0 |
dmonakhov/linphone | java/impl/org/linphone/core/LinphoneProxyConfigImpl.java | 4639 | /*
LinphoneProxyConfigImpl.java
Copyright (C) 2010 Belledonne Communications, Grenoble, France
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) an... | gpl-2.0 |
SpoonLabs/astor | examples/Math-issue-309/src/test/java/org/apache/commons/math/linear/FieldLUDecompositionImplTest.java | 13562 | /*
* 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"); you... | gpl-2.0 |
rodrigonegretep/trdv | administrator/components/com_community/views/update/tmpl/default.php | 1169 | <?php
/**
* @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <webmaster@ijoomla.com>
* @url https://www.jomsocial.com/license-agreement
* The PHP code portions are distributed under the GPL li... | gpl-2.0 |
Fayded/crossfitCal | wp-content/themes/twentytwelve/js/theme-customizer.js | 1003 | /**
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
* Things like site title, description, and background color changes.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( val... | gpl-2.0 |
mvesper/invenio | modules/bibindex/lib/bibindex_engine_unit_tests.py | 11622 | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2014 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 th... | gpl-2.0 |
jagnoha/website | profiles/varbase/profiles/varbase/libraries/ckeditor/plugins/docprops/lang/vi.js | 1527 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'docprops', 'vi', {
bgColor: 'Màu nền',
bgFixed: 'Không cuộn nền',
bgImage: 'URL của Hình ảnh nền',
charset: 'Bảng mã ký tự',
charsetASCII: 'ASCII... | gpl-2.0 |
cyrilbornet/3n-tools | mwclient/ex.py | 2605 | import client
import requests
def read_config(config_files, **predata):
cfg = {}
for config_file in config_files:
cfg.update(_read_config_file(
config_file, predata))
return cfg
def _read_config_file(_config_file, predata):
_file = open(_config_file)
exec(_file, globals(), pr... | gpl-2.0 |
lammps/lammps | src/MISC/pair_list.cpp | 11291 | // clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of ... | gpl-2.0 |
popazerty/bh1 | lib/python/Components/FileList.py | 15964 | 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 Components.config import config
from Tools.Directories import SCOPE_CURRENT_SKIN, resolveFilename, fileExists
from enigma import RT_HALIGN_LEFT, eListboxPytho... | gpl-2.0 |
hflynn/bioformats | components/forks/poi/src/loci/poi/hpsf/NoSingleSectionException.java | 3165 | /*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | gpl-2.0 |
Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/OpenFOAM/meshes/polyMesh/zones/faceZone/indirectFaceList.H | 1683 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | gpl-2.0 |