repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Azure-Samples/active-directory-dotnet-windowsphone-8.1 | TodoListService/Global.asax.cs | 1488 | //----------------------------------------------------------------------------------------------
// Copyright 2014 Microsoft Corporation
//
// 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 ... | mit |
harsha-mudi/autonpm | readme_gen.js | 184 | var edde = require("edde");
var options = {
start: /^(>>)(ed)/,
end: /^__END__/,
DEBUG: true,
ignores: /(!|\?)\n/,
dir: "."
}
edde.compile("*edde.md", options);
| mit |
unaio/una | modules/boonex/developer/updates/8.0.4_8.0.5/source/classes/BxDevFormView.php | 476 | <?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 Developer Developer
* @ingroup TridentModules
*
* @{
*/
bx_import('BxTemplStudioFormView');
class BxDevFormView ext... | mit |
mindpin/question_bank | lib/question_bank/rails_routes.rb | 266 | module QuestionBank
class Routing
def self.mount(prefix, options)
QuestionBank.set_mount_prefix prefix
Rails.application.routes.draw do
mount QuestionBank::Engine => prefix, :as => options[:as]
end
end
end
end
| mit |
vincentchalamon/core | tests/Bridge/Symfony/Bundle/DependencyInjection/Compiler/GraphQlQueryResolverPassTest.php | 2977 | <?php
/*
* This file is part of the API Platform project.
*
* (c) Kévin Dunglas <dunglas@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\... | mit |
brentstineman/ServiceFabricPubSub | src/ServiceFabricPubSub/TestWebApi/Controllers/TestController.cs | 2191 | using Microsoft.ServiceFabric.Services.Client;
using Microsoft.ServiceFabric.Services.Remoting.Client;
using PubSubDotnetSDK;
using System;
using System.Collections.Generic;
using System.Net;
using System.Runtime.Remoting.Contexts;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using System.Web.Http... | mit |
flarumone/flarumone | extensions/mentions/src/Listeners/UpdatePostMentionsMetadata.php | 3126 | <?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Mentions\Listeners;
use Flarum\Mentions\Notifications\PostMentionedBlueprint;
u... | mit |
manassolanki/frappe | frappe/public/js/frappe/form/controls/link.js | 9698 | // special features for link
// buttons
// autocomplete
// link validation
// custom queries
// add_fetches
frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
make_input: function() {
var me = this;
// line-height: 1 is for Mozilla 51, shows extra padding otherwise
$('<div class="link-field ui-fron... | mit |
tamasflamich/effort | Main/Source/test/Effort.Test/Features/CanonicalFunctions/DateTimeFunctionsFixture.cs | 14257 | // --------------------------------------------------------------------------------------------
// <copyright file="DateTimeFunctionsFixture.cs" company="Effort Team">
// Copyright (C) Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and ass... | mit |
buzzengine/buzzengine | vendor/zend-framework/library/Zend/Service/ReCaptcha/Response.php | 3760 | <?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... | mit |
aspose-slides/Aspose.Slides-for-Cloud | SDKs/Aspose.Slides-Cloud-SDK-for-Python/asposeslidescloud/models/FontScheme.py | 1118 | #!/usr/bin/env python
class FontScheme(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually."""
def __init__(self):
"""
Attributes:
swaggerTypes (dict): The key is attribute name and the value is attribute type.
... | mit |
davialexandre/reino_da_garotada | includes/ckfinder/core/connector/php/php5/Utils/Security.php | 2026 | <?php
/*
* CKFinder
* ========
* http://ckfinder.com
* Copyright (C) 2007-2009, CKSource - Frederico Knabben. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distr... | mit |
dmitrijs/vhosts-manager | web/app/lib/angular/i18n/angular-locale_vi-vn.js | 3144 | 'use strict';
angular.module("ngLocale", [], ["$provide", function ($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"SA",
"CH"
... | mit |
stevedonovan/LDoc | tests/bad.lua | 176 | -------
-- @module bad
local bad = {}
--------
-- inference fails! Have to explicitly
-- declare the function and its arguments
bad['entry'] = function(one)
end
return bad
| mit |
moteus/lua-lluv | examples/uvbook/interfaces/main.lua | 481 | local uv = require "lluv"
local fprintf = function(f, ...) f:write((string.format(...))) end
local stderr, stdout = io.stderr, io.stdout
local info = uv.interface_addresses()
fprintf(stdout, "Number of interfaces: %d\n", #info);
for i, interface in ipairs(info) do
fprintf(stdout, "Name: %s\n", interface.name);
... | mit |
ekinwei/GeoMap | old/geomap-old.js | 9741 | /*
*
* Author: Yang Dongxu
* Date: 12-12-29
* Time: 上午9:59
*
* GeoMap.js 矢量地图展示控件
*
*/
// TODO: 格式化坐标的方法 | 画geoJSON的点和线的方法
(function(){
var GeoMap = function (container, w, h){
var self = this;
self.container = $(container);
self.width = w || self.container.width();
self.height = h || self.container.height... | mit |
mleventi/acts-as-dag | test/dag_test.rb | 21331 | require 'test/unit'
require 'rubygems'
gem 'activerecord', '>= 2.1'
require 'active_record'
require "#{File.dirname(__FILE__)}/../init"
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:")
#Used for basic graph link testing
class Default < ActiveRecord::Base
acts_as_dag_links :node... | mit |
sbeckeriv/prism | test/microformat/rellicense_test.rb | 962 | require File.join(File.dirname(File.absolute_path(__FILE__)),'..','test_helper')
class RelLicenseTest < Test::Unit::TestCase
setup do
@html = get_fixture('rel_license.html')
@doc = Nokogiri::HTML.parse(@html)
end
describe 'Class' do
should 'find itself in a document' do
assert_equal 2, P... | mit |
ocadni/citychrone | node_modules/caniuse-lite/data/features/streams.js | 920 | module.exports={A:{A:{"2":"H D G E A FB","130":"B"},B:{"16":"C p","260":"x J","5124":"L N I"},C:{"2":"0 1 2 3 aB CB F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w YB SB","2626":"4 5 6 8 9 y AB"},D:{"2":"0 F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f ... | mit |
raadhuis/modx-basic | core/components/migx/model/imageupload/languages/de.language.inc.php | 1556 | <?php
$language = array();
$language['notWritable'] = "Serverfehler. Das Uploadverzeichis ist nicht beschreibbar.";
$language['noFile'] = "Es wurde keine Datei hochgeladen.";
$language['emptyFile'] = "Die Datei ist leer.";
$language['largeFile'] = "Die Datei ist zu groß.";
$language['wrongExtension'] = "Die Datei hat e... | mit |
sunnysetia93/competitive-coding-problems | LeetCode/All/cpp/1669.merge-in-between-linked-lists.cpp | 870 | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* mergeInBetw... | mit |
rekyyang/ArtificalLiverCloud | node_modules/redux-thunk/src/index.js | 204 | function thunkMiddleware({ dispatch, getState }) {
return next => action =>
typeof action === 'function' ?
action(dispatch, getState) :
next(action);
}
module.exports = thunkMiddleware
| mit |
greencoin/greencoin | src/qt/askpassphrasedialog.cpp | 8943 | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassphraseDialog),
... | mit |
dpursehouse/gerrit-events | src/test/java/com/sonymobile/tools/gerrit/gerritevents/workers/rest/AbstractRestCommandJobTest.java | 7370 | /*
* The MIT License
*
* Copyright 2013 Sony Mobile Communications AB. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without lim... | mit |
Livven/AngleSharp | AngleSharp/Interfaces/Html/IHtmlQuoteElement.cs | 428 | namespace AngleSharp.Dom.Html
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents the q HTML element.
/// </summary>
[DomName("HTMLQuoteElement")]
public interface IHtmlQuoteElement : IHtmlElement
{
/// <summary>
/// Gets or sets the citation of th... | mit |
tempbottle/libelfin | dwarf/die_str_map.cc | 3515 | #include "internal.hh"
#include <cstring>
#include <unordered_set>
using namespace std;
// XXX Make this more readily available?
namespace std {
template<>
struct hash<dwarf::DW_TAG>
{
typedef size_t result_type;
typedef dwarf::DW_TAG argument_type;
... | mit |
michaelahlers/team-awesome-wedding | vendor/play-2.2.1/framework/test/integrationtest-java/test/test/GlobalTest.java | 852 | package test;
import org.junit.Test;
import org.openqa.selenium.Cookie;
import play.api.mvc.Session$;
import play.libs.F;
import play.test.TestBrowser;
import static org.fest.assertions.Assertions.assertThat;
import static play.test.Helpers.*;
public class GlobalTest {
@Test
public void threadLocalContextSho... | mit |
thogil/MediaBrowser.Theater | MediaBrowser.Theater.Presentation/Controls/Osk/VirtualKeyAction.cs | 4877 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using MediaBrowser.Theater.Presentation.Controls.Osk.Layout;
using Key = System.Windows.Input.Key;
namespace MediaBrowser.Theater.Presentation.Controls.Osk
{
[TemplatePart(Name = "PART_Visual", Type = typeof (ContentPres... | mit |
MYOB-Technology/AccountRight_Live_API_.Net_SDK | MYOB.API.SDK/SDK/Services/Version2/Sale/ServiceOrderService.cs | 1451 | using MYOB.AccountRight.SDK.Communication;
using MYOB.AccountRight.SDK.Contracts.Version2.Sale;
namespace MYOB.AccountRight.SDK.Services.Sale
{
/// <summary>
/// A service that provides access to the <see cref="ServiceOrder"/> resource
/// </summary>
public sealed class ServiceOrderService : PdfServic... | mit |
NRepository/ContosoUniversity | src/ContosoUniversity.Domain.Core/Repository/Migrations/201402242126344_InitialCreate.Designer.cs | 834 | // <auto-generated />
namespace ContosoUniversity.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-beta1-30206")]
public sealed par... | mit |
davehorton/drachtio-server | deps/boost_1_77_0/libs/dll/example/tutorial6/on_unload_lib.cpp | 1221 | // Copyright 2014 Renato Tegon Forti, Antony Polukhin.
// Copyright 2015-2021 Antony Polukhin.
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
// MinGW related workaround
#define BOOST_DLL_FORCE_ALIAS_INSTANT... | mit |
tany/ss | app/models/concerns/gws/portal/portal_model.rb | 1250 | module Gws::Portal::PortalModel
extend ActiveSupport::Concern
extend SS::Translation
include Gws::Addon::Portal::NoticeSetting
include Gws::Addon::Portal::MonitorSetting
include Gws::Addon::Portal::LinkSetting
included do
attr_accessor :portal_type
attr_accessor :cur_group
end
def my_portal?
... | mit |
ZachPhillipsGary/NodeMonsters | node_modules/vue/src/directives/internal/prop.js | 1893 | // NOTE: the prop internal directive is compiled and linked
// during _initScope(), before the created hook is called.
// The purpose is to make the initial prop values available
// inside `created` hooks and `data` functions.
import Watcher from '../../watcher'
import config from '../../config'
import { initProp, upd... | mit |
substance/lens | packages/citations/CitationXMLConverter.js | 389 | 'use strict';
var compact = require('lodash/array/compact');
// This is never used directly
module.exports = {
type: 'citation',
import: function(el, node) {
node.id = el.attr('id') || node.id; // legacy ids
node.targets = compact(el.attr('rid').split(' '));
},
export: function(node, el) {
var ... | mit |
andresrc/jenkins | core/src/main/java/jenkins/security/QueueItemAuthenticatorConfiguration.java | 2712 | package jenkins.security;
import hudson.Extension;
import hudson.model.PersistentDescriptor;
import hudson.model.queue.Tasks;
import hudson.util.DescribableList;
import jenkins.model.GlobalConfiguration;
import jenkins.model.GlobalConfigurationCategory;
import jenkins.model.Jenkins;
import net.sf.json.JSONObject;
impo... | mit |
SirePi/duality | Source/Core/Physics/Collision/TimeOfImpact.cs | 13803 | /*
* Farseer Physics Engine based on Box2D.XNA port:
* Copyright (c) 2010 Ian Qvist
*
* Box2D.XNA port of Box2D:
* Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler
*
* Original source Box2D:
* Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any exp... | mit |
mlocati/concrete5 | concrete/controllers/panel/page/check_in.php | 6139 | <?php
namespace Concrete\Controller\Panel\Page;
use Concrete\Controller\Backend\UserInterface\Page as BackendInterfacePageController;
use Concrete\Core\Form\Service\Widget\DateTime;
use Concrete\Core\Support\Facade\Config;
use Concrete\Core\User\User;
use Permissions;
use CollectionVersion;
use Loader;
use Page;
use C... | mit |
creperju/ProyectoDaw | vendor/symfony/symfony/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleVoterTest.php | 2019 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Security\Core\Tests\Authorization\Voter;
... | mit |
peterkokot/EasyAdminBundle | Twig/EasyAdminTwigExtension.php | 7781 | <?php
/*
* This file is part of the EasyAdminBundle.
*
* (c) Javier Eguiluz <javier.eguiluz@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace JavierEguiluz\Bundle\EasyAdminBundle\Twig;
use Doctrine\ORM\Persist... | mit |
sinnwerkstatt/ecg-balancing | static/js/data/indicators/de/ecg-indicators-d3-data_de.js | 5437 | indicator = {
shortcode: 'D3',
shortcodeSlug: 'd3',
name: 'Ökologische Gestaltung der Produkte und Dienstleistungen',
points: 90,
soleProprietorship: true,
goals: {},
impulsQuestions: {},
table: {
subindicators: [
{
title: 'Produkte / Dienstleistungen... | mit |
RyanBeatty/Steer-Clear-Backend | steerclear/views.py | 134 | """
Import all blueprint and modules views
"""
from .api.views import *
from .driver_portal.views import *
from .login.views import *
| mit |
Azure/azure-sdk-for-java | sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/models/CompositeChildModelCreateObject.java | 989 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.language.luis.authoring.models;
import co... | mit |
fannan1991/pyrocms | core/anomaly/addons-module/resources/lang/zh-tw/field.php | 634 | <?php
return [
'name' => [
'name' => '名稱',
],
'state' => [
'name' => '狀態',
],
'type' => [
'name' => '型別',
],
'status' => [
'name' => '狀態',
],
'location' => [
'name' => '位置',
],
'description' => [
'na... | mit |
malikabhi05/upm | examples/javascript/oled_ssd1306.js | 6702 | /*
* Author: Marc Graham <marc@m2ag.net>
* Copyright (c) 2015 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation t... | mit |
tany/ss | lib/migrations/gws/20200204000000_portal_name.rb | 597 | class SS::Migration20200204000000
include SS::Migration::Base
depends_on "20200203000000"
def change
each_organization_portal do |portal|
portal.set(name: I18n.t("gws/portal.tabs.root_portal"))
end
end
private
def each_organization_portal(&block)
each_portal do |portal|
next unle... | mit |
sufuf3/cdnjs | ajax/libs/falcor/2.0.5/falcor.browser.js | 288524 | /*!
* Copyright 2015 Netflix, 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 to in... | mit |
VasilyStrelyaev/testcafe | test/functional/fixtures/api/es-next/request-hooks/testcafe-fixtures/api/add-remove-request-hook.js | 2052 | import { RequestHook } from 'testcafe';
import path from 'path';
const ReExecutablePromise = require(path.resolve('./lib/utils/re-executable-promise'));
const pageUrl = 'http://localhost:3000/fixtures/api/es-next/request-hooks/pages/index.html';
class TestRequestHook extends RequestHook {
constructor... | mit |
sh-ft/mudwyrm | mudwyrm/static/js/libs/pilot/commands/history.js | 3465 | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | mit |
alomina007/botsgp | plugins/to_photo.lua | 1077 | local function tosticker(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = '/root/BlackPlus/data/stickers/'..msg.from.id..'.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
send_photo(get_receiver(msg), file, ok_c... | mit |
gojarvis/generator | app/templates_old/_app/_controllers/articles.js | 1407 | /**
* Module dependencies.
*/
var mongoose = require('mongoose')
, async = require('async')
, Article = mongoose.model('Article')
, _ = require('underscore')
/**
* Find article by id
*/
exports.article = function(req, res, next, id){
var User = mongoose.model('User')
Article.load(id, function (err, a... | mit |
masterweb121/tracker | src/migrations/2015_03_13_311094_create_tracker_referer_search_term_table.php | 751 | <?php
use PragmaRX\Support\Migration;
class CreateTrackerRefererSearchTermTable extends Migration {
/**
* Table related to this migration.
*
* @var string
*/
private $table = 'tracker_referers_search_terms';
/**
* Run the migrations.
*
* @return void
*/
public function migrateUp()
{
$this->b... | mit |
mmuggli/KOHDISTA | docarray.cpp | 23571 | #include <algorithm>
#include <cctype>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include "docarray.h"
#include "misc/utils.h"
namespace CSA
{
//--------------------------------------------------------------------------
STNode::STNode(uint lcp, pair_type sa_rang... | mit |
hach-que/JSIL | Proxies/BCL/JSIL.Bootstrap.cs | 5762 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Xml.Serialization;
using JSIL.Meta;
using JSIL.Proxy;
namespace JSIL.Proxies.Bcl
{
[JSProxy(t... | mit |
sapk-fork/gitea | vendor/xorm.io/xorm/session_delete.go | 6999 | // Copyright 2016 The Xorm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xorm
import (
"errors"
"fmt"
"strconv"
"xorm.io/xorm/caches"
"xorm.io/xorm/schemas"
)
var (
// ErrNeedDeletedCond delete needs less one condi... | mit |
andyandy1992/MyMOOCs | courses/Other/Nand2Tetris(Partial)/Code/HackPackageSource/Hack/ComputerParts/TextFileGUI.java | 3731 | /********************************************************************************
* The contents of this file are subject to the GNU General Public License *
* (GPL) Version 2 or later (the "License"); you may not use this file except *
* in compliance with the License. You may obtain a copy of the License at... | cc0-1.0 |
stour/che | plugins/plugin-git/che-plugin-git-ext-git/src/main/java/org/eclipse/che/ide/ext/git/client/action/CheckoutReferenceAction.java | 1931 | /*******************************************************************************
* 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 |
rajul/Pydev | plugins/org.python.pydev.shared_core/src/org/python/pydev/shared_core/auto_edit/AutoEditStrategyHelper.java | 10988 | /******************************************************************************
* Copyright (C) 2013 Fabio Zadrozny
*
* 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
* h... | epl-1.0 |
Patricol/che | plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jdt-ui/src/main/java/org/eclipse/jdt/internal/corext/refactoring/util/RefactoringASTParser.java | 7097 | /**
* ***************************************************************************** Copyright (c) 2000,
* 2011 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, a... | epl-1.0 |
Patricol/che | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/editor/codeassist/HasCompletionInformation.java | 529 | /*
* Copyright (c) 2012-2017 Red Hat, Inc.
* 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
*
* Contributors:
* Red H... | epl-1.0 |
jboss-reddeer/reddeer | plugins/org.eclipse.reddeer.core/src/org/eclipse/reddeer/core/reference/DefaultReferencedComposite.java | 1117 | /*******************************************************************************
* Copyright (c) 2017 Red Hat, Inc and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX... | epl-1.0 |
opendaylight/archived-net-virt-platform | cli/c_data_handlers.py | 17883 | #
# Copyright (c) 2011,2012,2013 Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.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.eclipse.org/legal/epl-v10.html
#
# Unless required by ap... | epl-1.0 |
theanuradha/debrief | org.eclipse.nebula.cwt/src/org/eclipse/nebula/cwt/animation/movement/LinearInOut.java | 1224 | /*******************************************************************************
* Copyright (c) 2006-2009 Nicolas Richeton.
* 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 availa... | epl-1.0 |
Pontesegger/codeandme | debugger/12_memory/com.codeandme.debugger.textinterpreter.debugger/src/com/codeandme/debugger/textinterpreter/debugger/events/model/FetchVariablesRequest.java | 241 | package com.codeandme.debugger.textinterpreter.debugger.events.model;
import com.codeandme.debugger.textinterpreter.debugger.events.AbstractEvent;
public class FetchVariablesRequest extends AbstractEvent implements IModelRequest {
}
| epl-1.0 |
Mixajlo/smarthome | bundles/automation/org.eclipse.smarthome.automation.module.script/src/main/java/org/eclipse/smarthome/automation/module/script/ScriptEngineContainer.java | 1033 | /**
* Copyright (c) 2015-2017 Simon Merschjohann 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
*/
pa... | epl-1.0 |
vadimnehta/mdht | cts2/plugins/org.openhealthtools.mdht.cts2.core.edit/src/org/openhealthtools/mdht/cts2/valueset/provider/DocumentRootItemProvider.java | 6713 | /*******************************************************************************
* 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 |
riuvshin/che-plugins | plugin-java/che-plugin-java-ext-java/src/main/java/org/eclipse/che/ide/ext/java/jdt/internal/compiler/flow/FlowInfo.java | 24937 | /*******************************************************************************
* Copyright (c) 2000, 2011 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 |
njcameron/ncmd | core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php | 1856 | <?php
namespace Drupal\Component\Diff\Engine;
use Drupal\Component\Utility\Unicode;
use Drupal\Component\Utility\SafeMarkup;
/**
* Additions by Axel Boldt follow, partly taken from diff.php, phpwiki-1.3.3
*
*/
/**
* @todo document
* @private
* @subpackage DifferenceEngine
*/
class HWLDFWordAccumulator {
... | gpl-2.0 |
Silverdrain/CoreProjekt | src/server/scripts/Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp | 3850 | /*
* Copyright (C) 2008-2012 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 |
chris-allan/openmicroscopy | components/tools/OmeroImporter/test/ome/services/repo/test/AbstractRepoUnitTest.java | 628 | /*
* $Id$
*
* Copyright 2009 Glencoe Software, Inc. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.services.repo.test;
import java.io.File;
import omero.util.TempFileManager;
import org.jmock.MockObjectTestCase;
import org.testng.annotations.BeforeClass;
... | gpl-2.0 |
georgelaughalot/WP-AJAX-EJS-_ | wp-content/plugins/advanced-custom-fields-pro/pro/acf-pro.php | 7702 | <?php
if( !class_exists('acf_pro') ):
class acf_pro {
/*
* __construct
*
*
*
* @type function
* @date 23/06/12
* @since 5.0.0
*
* @param N/A
* @return N/A
*/
function __construct() {
// update setting
acf_update_setting( 'pro', true );
acf_update_setting( 'name', __('Advanced Custom... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/25_algorithms/count/constexpr.cc | 1157 | // Copyright (C) 2019-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 (at your op... | gpl-2.0 |
AntumDeluge/arianne-stendhal | tests/games/stendhal/server/maps/quests/RingMakerTest.java | 15643 | /* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | gpl-2.0 |
softrabbit/lmms | src/core/audio/AudioFileOgg.cpp | 6454 | /*
* AudioFileOgg.cpp - audio-device which encodes wave-stream and writes it
* into an OGG-file. This is used for song-export.
*
* This file is based on encode.c from vorbis-tools-source, for more information
* see below.
*
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforg... | gpl-2.0 |
loveyoupeng/rt | modules/web/src/main/native/Source/WebCore/svg/SVGAnimatedType.cpp | 11144 | /*
* Copyright (C) Research In Motion Limited 2011. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) an... | gpl-2.0 |
Mikeronomicon/PnP | node_modules/orchestrate/test/event.test.js | 1741 | // Copyright 2014 Orchestrate, Inc.
/**
* @fileoverview Test Event methods.
*/
// Module Dependencies.
var assert = require('assert');
var Q = require('kew');
var db = require('./creds')();
var users = require('./testdata')('event.test');
var util = require('util');
suite('Events', function () {
suiteSetup(functi... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc | 1647 | // { dg-do compile { target c++11 } }
// Copyright (C) 2008-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Found... | gpl-2.0 |
cronchinsky/dh-drupal-8 | vendor/commerceguys/addressing/src/Exception/UnknownCountryException.php | 255 | <?php
namespace CommerceGuys\Addressing\Exception;
/**
* This exception is thrown when an unknown country code is passed to the
* CountryRepository.
*/
class UnknownCountryException extends \InvalidArgumentException implements ExceptionInterface
{
}
| gpl-2.0 |
stevenmizuno/QGIS | tests/src/python/test_qgsserver_wfs.py | 12099 | # -*- coding: utf-8 -*-
"""QGIS Unit tests for QgsServer WFS.
From build dir, run: ctest -R PyQgsServerWFS -V
.. note:: 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 Licen... | gpl-2.0 |
lonvia/osm2pgsql | contrib/libosmium/include/osmium/osm/diff_object.hpp | 9133 | #ifndef OSMIUM_OSM_DIFF_OBJECT_HPP
#define OSMIUM_OSM_DIFF_OBJECT_HPP
/*
This file is part of Osmium (https://osmcode.org/libosmium).
Copyright 2013-2020 Jochen Topf <jochen@topf.org> and others (see README).
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to ... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc | 1359 | // { dg-options "-std=gnu++11" }
// { dg-do run { target { c++11_only || c++14_only } } }
// { dg-additional-options "-pthread" { target pthread } }
// { dg-require-gthreads "" }
// Copyright (C) 2010-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// softw... | gpl-2.0 |
YaManicKill/viewfield | web/modules/webform/src/Plugin/WebformElementVariantInterface.php | 150 | <?php
namespace Drupal\webform\Plugin;
/**
* Defines the interface for webform variant elements.
*/
interface WebformElementVariantInterface {
}
| gpl-2.0 |
Mariusz1970/enigma2 | lib/python/Components/NetworkTime.py | 1229 | from Components.Console import Console
from config import config
from enigma import eTimer, eDVBLocalTimeHandler
from Tools.StbHardware import setRTCtime
from time import time
# _session = None
#
def AutoNTPSync(session=None, **kwargs):
global ntpsyncpoller
ntpsyncpoller = NTPSyncPoller()
ntpsyncpoller.start()
cla... | gpl-2.0 |
donniexyz/calligra | stage/part/pageeffects/KPrPageEffectRegistry.cpp | 3653 | /* This file is part of the KDE project
Copyright (C) 2007-2008 Thorsten Zachmann <zachmann@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the Lic... | gpl-2.0 |
jeffgdotorg/opennms | features/measurements/api/src/main/java/org/opennms/netmgt/measurements/model/Source.java | 6393 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2010-2015 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2015 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | gpl-2.0 |
MBoegers/XCSoar | src/Engine/Task/Factory/AATTaskFactory.cpp | 3264 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2014 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 |
JetBrains/jdk8u_jdk | src/share/classes/java/awt/geom/Path2D.java | 104973 | /*
* Copyright (c) 2006, 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 |
pder/mednafen-pandora | src/wswan/rtc.cpp | 2700 | /* Cygne
*
* Copyright notice for this file:
* Copyright (C) 2002 Dox dox@space.pl
*
* 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... | gpl-2.0 |
RuiNascimento/krepo | script.module.lambdascrapers/lib/lambdascrapers/sources_placenta/en_placenta-1.7.8/to_be_fixed/needsfixing/cooltv.py | 4151 | # -*- coding: UTF-8 -*-
#######################################################################
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# @Daddy_Blamo wrote this file. As long as you retain this notice you
# can do whatever you want wi... | gpl-2.0 |
ZHAW-INES/rioxo-uClinux-dist | user/python/python-2.4.4/Mac/Tools/IDE/Wtext.py | 40512 | from Carbon import Evt, Events, Fm, Fonts
from Carbon import Qd, Res, Scrap
from Carbon import TE, TextEdit, Win
from Carbon import App
from Carbon.Appearance import kThemeStateActive, kThemeStateInactive
import waste
import WASTEconst
import Wbase
import Wkeys
import Wcontrols
import PyFontify
import string
from types... | gpl-2.0 |
am-immanuel/quercus | modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java | 32864 | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
EWB/digitalcollections | sites/all/modules/cloud_zoom/cloud-zoom/cloud-zoom.1.0.2/cloud-zoom.1.0.2.js | 15055 | //////////////////////////////////////////////////////////////////////////////////
// Cloud Zoom V1.0.2
// (c) 2010 by R Cecco. <http://www.professorcloud.com>
// MIT License
//
// Please retain this copyright header in all versions of the software
///////////////////////////////////////////////////////////////////////... | gpl-2.0 |
AlexBrown-appnovation/tcrg | forum/install.jan.2010/update/new/includes/functions_template.php | 23175 | <?php
/**
*
* @package phpBB3
* @version $Id: functions_template.php 10064 2009-08-30 11:15:24Z acydburn $
* @copyright (c) 2005 phpBB Group, sections (c) 2001 ispi of Lincoln Inc
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/*... | gpl-2.0 |
shchiu/openjdk | langtools/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java | 7404 | /*
* Copyright (c) 2006, 2007, 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 |
MinecraftOnly/MinecraftOnlyCivCraftPlugin | civcraft/com/avrgaming/civcraft/threading/tasks/ProjectileComponentTimer.java | 1620 | /*************************************************************************
*
* AVRGAMING LLC
* __________________
*
* [2013] AVRGAMING LLC
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of AVRGAMING LLC and its suppliers,
* if any. The intellectual an... | gpl-2.0 |
saintcode/cenotexplore | src/wordpress/wp-content/plugins/updraftplus/methods/dropbox.php | 37511 | <?php
/**
* https://www.dropbox.com/developers/apply?cont=/developers/apps
*/
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.');
// Converted to multi-options (Feb 2017-) and previous options conversion removed: Yes
if (!class_exists('UpdraftPlus_BackupModule')) require_once(UPDRAFTPLUS_DIR.'/metho... | gpl-2.0 |
insfere/cacophony | src/lib/harmony/brushes/sketchy.js | 1493 | function sketchy( context )
{
this.init( context );
}
sketchy.prototype =
{
context: null,
prevMouseX: null, prevMouseY: null,
points: null, count: null,
init: function( context )
{
this.context = context;
this.context.globalCompositeOperation = 'source-over';
this.points = new Array();
this.count = ... | gpl-2.0 |
samowitsch/bCNC | bCNC/lib/stl/base.py | 18323 | from __future__ import (absolute_import, division, print_function,
unicode_literals)
#import enum
import math
import numpy
import logging
import collections
from python_utils import logger
from .utils import s
#: When removing empty areas, remove areas that are smaller than this
AREA_SIZE_THR... | gpl-2.0 |
shchiu/hotspot | src_orig/os_cpu/solaris_sparc/vm/vmStructs_solaris_sparc.hpp | 4498 | /*
* Copyright (c) 2000, 2007, 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 |
thomaszbz/TYPO3.CMS | typo3/sysext/frontend/ext_emconf.php | 503 | <?php
$EM_CONF[$_EXTKEY] = array(
'title' => 'TYPO3 Frontend library',
'description' => 'Classes for the frontend of TYPO3.',
'category' => 'fe',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 1,
'author' => 'Kasper Skaarhoj',
'author_email' => 'kasperYYYY@typo3.com',
'aut... | gpl-2.0 |
emilekott/fitt | plugins/hikashoppayment/eway/bf_rbsbusinessgateway.php | 18177 | <?php
/**
* @package HikaShop for Joomla!
* @subpackage Payment Plug-in for RBS Worldpay Business Gateway.
* @version 0.0.1
* @author brainforge.co.uk
* @copyright (C) 2011 Brainforge derive from Paypal plug-in by HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licens... | gpl-2.0 |