repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
ksa46/work | library/Bisna/Application/Resource/Doctrine.php | 3109 | <?php
/**
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS... | unlicense |
enj/origin | vendor/github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/resources/mgmt/features/models.go | 2807 | // +build go1.9
// Copyright 2019 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 License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | apache-2.0 |
joelschuster/fuse | components/examples/camel-example-sap/src/main/java/org/fusesource/sap/example/bean/FlightCustomerInfo.java | 3065 | /**
* Copyright 2013 Red Hat, Inc.
*
* Red Hat licenses this file to you 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... | apache-2.0 |
christophd/camel | components/camel-xmpp/src/test/java/org/apache/camel/component/xmpp/XmppTestUtil.java | 2359 | /*
* 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 ... | apache-2.0 |
dlwh/breeze | math/src/main/scala/breeze/linalg/NumericOps.scala | 13690 | package breeze.linalg
/*
Copyright 2012 David Hall
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 i... | apache-2.0 |
mindthegab/SFE-Minuet-DesktopClient | minuet/CefGlue/Enums/CefMenuItemType.cs | 357 | //
// This file manually written from cef/include/internal/cef_types.h.
// C API name: cef_menu_item_type_t.
//
namespace Xilium.CefGlue
{
/// <summary>
/// Supported menu item types.
/// </summary>
public enum CefMenuItemType
{
None,
Command,
Check,
Radio,
S... | apache-2.0 |
nevenr/jolokia | src/site/resources/js/jolokia.js | 31506 | /*
* Copyright 2009-2012 Roland Huss
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
j * You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | apache-2.0 |
modocache/swift | lib/SILOptimizer/Utils/CheckedCastBrJumpThreading.cpp | 24773 | #define DEBUG_TYPE "sil-simplify-cfg"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Allocator.h"
#include "swift/SIL/SILInstruction.h"
#include "swift/SIL/InstructionUtils.h"
#include "swift/SILOptimizer/Analysis/DominanceAnalysis.h"
#include "swift/SILOptimizer/Utils/CFG.h"... | apache-2.0 |
jayvansantos/scalagen | scalagen/src/main/scala/PlaceHolder.java | 62 | //hack to generate package javadoc
public class PlaceHolder {} | apache-2.0 |
mariomarin/kubernetes | contrib/submit-queue/github/github.go | 8441 | /*
Copyright 2015 The Kubernetes Authors All rights reserved.
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 ag... | apache-2.0 |
stevekuznetsov/origin | pkg/user/generated/clientset/typed/user/v1/fake/fake_user.go | 2852 | package fake
import (
v1 "github.com/openshift/origin/pkg/user/api/v1"
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
testing "k8s.io/client-go/test... | apache-2.0 |
ptkool/spark | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/DataTypeParserSuite.scala | 5602 | /*
* 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 ... | apache-2.0 |
luhanhan/horizon | horizon/static/framework/widgets/metadata-tree/metadata-tree.module.js | 8158 | (function () {
'use strict';
/**
* @ngdoc overview
* @name horizon.framework.widgets.metadata-tree
* @description
*
* # horizon.framework.widgets.metadata-tree
*
* The `horizon.framework.widgets.metadata-tree` provides widgets and service
* with logic for editing metadata.
*
* | Direc... | apache-2.0 |
sarvex/tensorflow | tensorflow/core/kernels/mlir_generated/gpu_op_atan2.cc | 1021 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
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 a... | apache-2.0 |
salguarnieri/intellij-community | platform/platform-impl/src/com/intellij/openapi/project/DumbPermissionServiceImpl.java | 1560 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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 agre... | apache-2.0 |
joinany/phoenix-for-cloudera | bin/traceserver.py | 6884 | #!/usr/bin/env python
############################################################################
#
# 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 A... | apache-2.0 |
kaviththiranga/developer-studio | esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/commands/SendMediatorInputConnectorCreateCommand.java | 2878 | package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResu... | apache-2.0 |
vineetgarg02/hive | service/src/test/org/apache/hive/service/auth/ldap/LdapAuthenticationTestCase.java | 5514 | /*
* 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 ... | apache-2.0 |
lodengo/openfire_src | src/plugins/jitsivideobridge/src/java/org/ifsoft/rtp/Vp8Packet.java | 12033 | package org.ifsoft.rtp;
import java.util.ArrayList;
public class Vp8Packet
{
private Boolean _extendedControlBitsPresent;
private byte _keyIndex;
private Boolean _keyIndexPresent;
private Boolean _layerSync;
public static Integer _maxPacketSize = Integer.valueOf(1050);
private Boole... | apache-2.0 |
imikushin/rancher-compose | Godeps/_workspace/src/github.com/rancherio/go-rancher/client/generated_service_consume_map.go | 3712 | package client
const (
SERVICE_CONSUME_MAP_TYPE = "serviceConsumeMap"
)
type ServiceConsumeMap struct {
Resource
AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"`
ConsumedServiceId string `json:"consumedServiceId,omitempty" yaml:"consumed_service_id,omitempty"`
Created string `json:"cr... | apache-2.0 |
travismc1/azure-sdk-for-net | src/TrafficManagerManagement/Generated/TrafficManagerManagementClientExtensions.cs | 1357 | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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 requi... | apache-2.0 |
WIgor/hadoop | hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/MapAttemptFinishedEvent.java | 9324 | /**
* 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... | apache-2.0 |
Miciah/origin | vendor/github.com/aws/aws-sdk-go/service/sns/errors.go | 5963 | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sns
const (
// ErrCodeAuthorizationErrorException for service response error code
// "AuthorizationError".
//
// Indicates that the user has been denied access to the requested resource.
ErrCodeAuthorizationErrorException = "Authorizat... | apache-2.0 |
RyanCavanaugh/TypeScript | tests/cases/fourslash/protoVarInContextualObjectLiteral.ts | 2177 | /// <reference path='fourslash.ts' />
////var o1 : {
//// __proto__: number;
//// p: number;
////} = {
//// /*1*/
//// };
////var o2: {
//// __proto__: number;
//// p: number;
////} = {
//// /*2*/
//// };
////var o3: {
//// "__proto__": number;
//// p: number;
///... | apache-2.0 |
davidroberts63/chutzpah | Facts/Testable.cs | 1201 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Moq;
using StructureMap.AutoMocking;
namespace Chutzpah.Facts
{
public class Testable<TClassUnderTest> where TClassUnderTest : class
{
protected MoqAutoMocker<TClassUnderTest> autoMocker = new MoqAut... | apache-2.0 |
ingvagabund/origin | vendor/gonum.org/v1/gonum/graph/graphs/gen/duplication.go | 3242 | // Copyright ©2015 The Gonum 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 gen
import (
"fmt"
"math"
"sort"
"golang.org/x/exp/rand"
"gonum.org/v1/gonum/graph"
"gonum.org/v1/gonum/graph/internal/ordered"
)
// Undir... | apache-2.0 |
cshannon/activemq-artemis | artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/nullpm/NullStorageManager.java | 18140 | /*
* 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 n... | apache-2.0 |
google-code-export/protostuff | protostuff-json/src/test/java/com/dyuproject/protostuff/JsonXNumericRuntimeObjectSchemaTest.java | 1138 | //========================================================================
//Copyright 2007-2011 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance wit... | apache-2.0 |
tnachen/kafka | core/src/main/scala/kafka/producer/Partitioner.scala | 1080 | /**
* 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... | apache-2.0 |
Stacey-Gammon/elasticsearch | test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java | 16767 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
guo7711/offline-editor-js | lib/tiles/FileSaver.js | 10047 | /* FileSaver.js
* A saveAs() FileSaver implementation.
* 2013-10-21
*
* By Eli Grey, http://eligrey.com
* License: X11/MIT
* See LICENSE.md
*/
/*global self */
/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,
plusplus: true */
/*! @source http://purl.eligrey.com/git... | apache-2.0 |
shuainie/azure-sdk-for-net | src/DataFactoryManagement/Generated/IDataFactoryOperations.cs | 5999 | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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 requi... | apache-2.0 |
alivecor/tensorflow | tensorflow/contrib/seq2seq/python/ops/helper.py | 26000 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# 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 applica... | apache-2.0 |
YolandaMDavis/nifi | nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/test/java/org/apache/nifi/processors/azure/storage/ITFetchAzureDataLakeStorage.java | 17042 | /*
* 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 ... | apache-2.0 |
mingderwang/angr | angr/variableseekr.py | 13439 | import itertools
import logging
from collections import defaultdict
from simuvex import SimIRSB, SimProcedure
l = logging.getLogger(name="angr.variableseekr")
class Variable(object):
def __init__(self, idx, size, irsb_addr, stmt_id, ins_addr, custom_name=None, type_=None):
self._idx = idx
self._i... | bsd-2-clause |
koala-framework/koala-framework | Kwc/Directories/List/EventItemInserted.php | 102 | <?php
class Kwc_Directories_List_EventItemInserted extends Kwc_Directories_List_EventItemAbstract
{
}
| bsd-2-clause |
Ant59/Elkarte | attachments/index.php | 331 | <?php
/**
* This file is here solely to protect your attachments directory.
*/
// Look for Settings.php....
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
{
// Found it!
require(dirname(dirname(__FILE__)) . '/Settings.php');
header('Location: ' . $boardurl);
}
// Can't find it... just forget it.
... | bsd-3-clause |
ecalvovi/AliRoot | PYTHIA8/pythia8205/share/Pythia8/phpdoc/ColourReconnection.php | 21946 | <html>
<head>
<title>Colour reconnection</title>
<link rel="stylesheet" type="text/css" href="pythia.css"/>
<link rel="shortcut icon" href="pythia32.gif"/>
</head>
<body>
<script language=javascript type=text/javascript>
function stopRKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target)... | bsd-3-clause |
UCL-ShippingGroup/cartodb-1 | lib/assets/javascripts/cartodb/table/basemap/basemap_dropdown/pattern_basemap.js | 1729 |
/**
* Pattern image base layer
*
* - It extends from color basemap
*/
cdb.admin.BackgroundMapImageView = cdb.admin.BackgroundMapColorView.extend({
events: {
'click': '_openImagePicker'
},
initialize: function() {
_.bindAll(this, 'setPattern');
this.map = this.options.map;
this.user = thi... | bsd-3-clause |
chromium/chromium | third_party/blink/web_tests/external/wpt_automation/file-system-access/showDirectoryPicker-manual.https-automation.sub.js | 138 | const path =
String.raw`{{fs_path(resources/data)}}`.replace('wpt_automation', 'wpt');
testRunner.setFilePathForMockFileDialog(path);
| bsd-3-clause |
chromium/chromium | third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment_test.cc | 2844 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/ng/inline/ng_physical_line_box_fragment.h"
#include "third_party/blink/renderer/core/layout/ng/inline/ng... | bsd-3-clause |
yusuke2255/dotty | src/dotty/tools/dotc/transform/Pickler.scala | 3886 | package dotty.tools.dotc
package transform
import core._
import Contexts.Context
import Decorators._
import tasty._
import config.Printers.{noPrinter, pickling}
import java.io.PrintStream
import Periods._
import Phases._
import Symbols._
import Flags.Module
import util.SourceFile
import collection.mutable
/** This ph... | bsd-3-clause |
dim-dimus/hozdvor | protected/modules/rbac/components/ModuleManager.php | 3816 | <?php
/**
* Class ModuleManager
*/
class ModuleManager extends \yupe\components\ModuleManager
{
/**
* Функция преобразует роут в предполагаемое название правила.
* Поэтому для правильной автоматической фильтрации стоит придерживаться правила в именовании
* правил в виде Module.ControllerBackend.Ac... | bsd-3-clause |
eider-i128/fullserver | panelwww/player/engine/fsdomy/p/libs/plugins/modifier.markdown.php | 50497 | <?php
#
# Markdown - A text-to-HTML conversion tool for web writers
#
# PHP Markdown
# Copyright (c) 2004-2009 Michel Fortin
# <http://michelf.com/projects/php-markdown/>
#
# Original Markdown
# Copyright (c) 2004-2006 John Gruber
# <http://daringfireball.net/projects/markdown/>
#
define( 'MARKDOW... | mit |
hotchandanisagar/odata.net | src/Microsoft.Spatial/OrcasExtensions.cs | 1108 | //---------------------------------------------------------------------
// <copyright file="OrcasExtensions.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------... | mit |
microlv/vscode | src/typings/windows-process-tree.d.ts | 2208 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
ycsoft/FatCat-Server | LIBS/boost_1_58_0/libs/unordered/doc/src_code/point1.cpp | 1197 |
// Copyright 2006-2009 Daniel James.
// 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)
#include <boost/unordered_set.hpp>
#include <boost/detail/lightweight_test.hpp>
//[point_example1
struct point {
... | mit |
PacktPublishing/Mastering-Mesos | Chapter4/Singularity/SingularityClient/src/main/java/com/hubspot/singularity/client/ProviderUtils.java | 337 | package com.hubspot.singularity.client;
import javax.inject.Provider;
class ProviderUtils
{
public static <T> Provider<T> of(final T instance) { // XXX: this seems like it should be in a base library somewhere?
return new Provider<T>() {
@Override
public T get()
{
return instance;
... | mit |
alecspopa/rails | actionview/test/template/text_helper_test.rb | 22043 | # frozen_string_literal: true
require "abstract_unit"
class TextHelperTest < ActionView::TestCase
tests ActionView::Helpers::TextHelper
def setup
super
# This simulates the fact that instance variables are reset every time
# a view is rendered. The cycle helper depends on this behavior.
@_cycles... | mit |
agencja-acclaim/gulp-bower-webapp | wp-content/plugins/wordpress-seo/admin/notifiers/class-configuration-notifier.php | 4908 | <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\Notifiers
*/
/**
* Represents the logic for showing the notification.
*/
class WPSEO_Configuration_Notifier implements WPSEO_Listener {
/**
* @var string
*/
const META_NAME = 'wpseo-dismiss-configuration-notice';
/**
* @var string
*/
const MET... | mit |
gero3/three.js | examples/jsm/nodes/core/NodeLib.js | 872 | const NodeLib = {
nodes: {},
keywords: {},
add: function ( node ) {
this.nodes[ node.name ] = node;
},
addKeyword: function ( name, callback, cache ) {
cache = cache !== undefined ? cache : true;
this.keywords[ name ] = { callback: callback, cache: cache };
},
remove: function ( node ) {
delete... | mit |
bholmes/XamarinComponents | Util/NugetAuditor/Mono.Security/Mono.Security.X509.Extensions/BasicConstraintsExtension.cs | 4183 | //
// BasicConstraintsExtension.cs: Handles X.509 BasicConstrains extensions.
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any... | mit |
duodraco/ophpen | src/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/Fixtures/Bundles/YamlBundle/YamlBundle.php | 177 | <?php
namespace DoctrineBundle\Tests\DependencyInjection\Fixtures\Bundles\YamlBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class YamlBundle extends Bundle
{
} | mit |
Ecuacion/Pokemon-Showdown-Node-Bot | data/games-words-example.js | 340 | /*
* Words for Hangman and Anagrams
*
* Rename this file to games-words.js
* Add here your topics and words in the same format as the example
*/
exports.words = {
"Colors": ['Red', 'Orange', 'Blue', 'Yellow', 'Pink', 'Black', 'White'],
"Days of Week": ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturd... | mit |
lxe/babel | packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/general/switch-callbacks/actual.js | 173 | function fn() {
switch (true) {
default:
let foo = 4;
if (true) {
let bar = () => foo;
console.log(bar());
}
}
}
| mit |
jskenney/calendar-core | ace-builds/src-noconflict/snippets/twig.js | 503 | ace.define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText =undefined;
exports.scope = "twig";
}); (function() {
ace.require(["ace/snippets/twig"], function(m) {
if (typeof module == "... | mit |
pcphashimoto/codezine_tizenapp_sample1 | tizen-web-ui-fw/latest/js/modules/jqm/jquery.mobile.navigation.pushstate.js | 5626 | //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>description: history.pushState support, layered on top of hashchange.
//>>label: Pushstate Support
//>>group: Navigation
define( [ "jquery", "./jquery.mobile.navigation", "./jquery.hashchange" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(... | mit |
vascogaspar/ember-cli-pagination | tests/helpers/start-app.js | 571 | import Ember from 'ember';
import Application from '../../app';
import Router from '../../router';
import config from '../../config/environment';
import PaginationAssertions from './assertions';
export default function startApp(attrs) {
var application;
var attributes = Ember.merge({}, config.APP);
attributes =... | mit |
dsebastien/DefinitelyTyped | types/semver/functions/major.d.ts | 241 | import SemVer = require('../classes/semver');
import semver = require('../');
/**
* Return the major version number.
*/
declare function major(version: string | SemVer, optionsOrLoose?: boolean | semver.Options): number;
export = major;
| mit |
pedromarquesalmeida/A | lib/cc/analyzer/filesystem.rb | 1204 | module CC
module Analyzer
class Filesystem
def initialize(root)
@root = root
end
def exist?(path)
File.exist?(path_for(path))
end
def source_buffer_for(path)
SourceBuffer.new(path, read_path(path))
end
def read_path(path)
File.read(path... | mit |
jeremybuehler/aqua | test/client/pages/admin/components/accounts/Search.js | 4854 | var React = require('react/addons');
var Lab = require('lab');
var Code = require('code');
var Proxyquire = require('proxyquire');
var StubRouterContext = require('../../../../fixtures/StubRouterContext');
var lab = exports.lab = Lab.script();
var TestUtils = React.addons.TestUtils;
var stub = {
Actions: {
... | mit |
cdnjs/cdnjs | ajax/libs/amcharts4/4.9.34/.internal/core/formatters/NumberFormatter.js | 30542 | /**
* Number formatting-related functionality.
*/
import { __extends } from "tslib";
import { Language } from "../utils/Language";
import { BaseObject } from "../Base";
import { getTextFormatter } from "../formatters/TextFormatter";
import { registry } from "../Registry";
import * as $strings from "../utils/S... | mit |
kaloyan-raev/che | plugins/plugin-machine/che-plugin-machine-ext-client/src/main/java/org/eclipse/che/ide/extension/machine/client/processes/ProcessDataAdapter.java | 3448 | /*******************************************************************************
* 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 |
hrishiko/gavkiwp | wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare.php | 2677 | <?php
/**
* Main class
*
* @author Your Inspiration Themes
* @package YITH Woocommerce Compare
* @version 1.1.4
*/
if ( !defined( 'YITH_WOOCOMPARE' ) ) { exit; } // Exit if accessed directly
if( !class_exists( 'YITH_Woocompare' ) ) {
/**
* YITH Woocommerce Compare
*
* @since 1.0.0
*/
... | gpl-2.0 |
solidhex/kendahls-kitchen | wp-content/plugins/subscribe2/include/s2_colorpicker.js | 1643 | // version 1.0 - original version
jQuery(document).ready(function () {
var version = jQuery.fn.jquery.split('.');
if (parseFloat(version[1]) < 7) {
// use .live as we are on jQuery prior to 1.7
jQuery('.colorpickerField').live('click', function () {
if (jQuery(this).attr('id').search("__i__") === -1) {
var... | gpl-2.0 |
urokuta/cspoker | external/plcafe/generated-src/jp/ac/kobe_u/cs/prolog/builtin/PRED_atom_1.java | 1196 | package jp.ac.kobe_u.cs.prolog.builtin;
import jp.ac.kobe_u.cs.prolog.lang.Predicate;
import jp.ac.kobe_u.cs.prolog.lang.Prolog;
import jp.ac.kobe_u.cs.prolog.lang.Term;
/*
This file is generated by Prolog Cafe.
PLEASE DO NOT EDIT!
*/
/**
<code>atom/1</code> defined in builtins.pl<br>
@author Mutsunori Banbara (ban... | gpl-2.0 |
urokuta/cspoker | external/plcafe/generated-src/jp/ac/kobe_u/cs/prolog/builtin/PRED_$log_2.java | 1545 | package jp.ac.kobe_u.cs.prolog.builtin;
import jp.ac.kobe_u.cs.prolog.lang.Arithmetic;
import jp.ac.kobe_u.cs.prolog.lang.BuiltinException;
import jp.ac.kobe_u.cs.prolog.lang.Predicate;
import jp.ac.kobe_u.cs.prolog.lang.Prolog;
import jp.ac.kobe_u.cs.prolog.lang.Term;
/*
This file is generated by Prolog Cafe.
PLEASE... | gpl-2.0 |
mmzgit/zen_boutique | app/code/core/Mage/ProductAlert/Block/Email/Price.php | 1991 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-2.0 |
FFMG/myoddweb.piger | monitor/api/python/Python-3.7.2/Lib/xml/etree/ElementTree.py | 57266 | """Lightweight XML support for Python.
XML is an inherently hierarchical data format, and the most natural way to
represent it is with a tree. This module has two classes for this purpose:
1. ElementTree represents the whole XML document as a tree and
2. Element represents a single node in this tree.
In... | gpl-2.0 |
Gurgel100/gcc | gcc/testsuite/g++.dg/debug/dwarf2/fesd-baseonly.C | 7807 | // { dg-do compile }
// { dg-options "-gdwarf-2 -dA -femit-struct-debug-baseonly -fno-eliminate-unused-debug-symbols" }
// { dg-final { scan-assembler "timespec.*DW_AT_name" } }
// { dg-final { scan-assembler-not "tv_sec.*DW_AT_name" } }
// { dg-final { scan-assembler-not "tv_nsec.*DW_AT_name" } }
// { dg-final { scan-... | gpl-2.0 |
ogajduse/spacewalk | java/code/src/com/redhat/rhn/frontend/action/configuration/ssm/SubscribeSubmit.java | 4445 | /**
* Copyright (c) 2009--2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | gpl-2.0 |
b-jesch/service.fritzbox.callmonitor | resources/lib/PhoneBooks/pyicloud/vendorlibs/certifi/__init__.py | 63 | from .core import where, old_where
__version__ = "2016.02.28"
| gpl-2.0 |
fsxchen/WhatWeb | plugins/RackStar-Server-Appliance-OS.rb | 1006 | ##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
Plugin.define "RackStar-Server-Appliance-OS" do
author "Brendan Coles <bcol... | gpl-2.0 |
JKT-OSSCLUB/ProActio | Proactio Front/php/pear/HTML/Template/Flexy/Token/Foreach.php | 2140 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | gpl-2.0 |
avpreserve/nfai | app/plugins/Cataloging/controllers/lookup/EntityController.php | 1711 | <?php
/* ----------------------------------------------------------------------
* app/controllers/lookup/EntityController.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------... | gpl-2.0 |
ogajduse/spacewalk | java/code/src/com/redhat/rhn/frontend/xmlrpc/serializer/PackageSourceOverviewSerializer.java | 1758 | /**
* Copyright (c) 2016 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have received a... | gpl-2.0 |
Badcreature/cspoker | external/plcafe/generated-src/jp/ac/kobe_u/cs/prolog/builtin/PRED_$003D$002E$002E_2.java | 1163 | package jp.ac.kobe_u.cs.prolog.builtin;
import jp.ac.kobe_u.cs.prolog.lang.Predicate;
import jp.ac.kobe_u.cs.prolog.lang.Prolog;
import jp.ac.kobe_u.cs.prolog.lang.Term;
/*
This file is generated by Prolog Cafe.
PLEASE DO NOT EDIT!
*/
/**
<code>=.. /2</code> defined in builtins.pl<br>
@author Mutsunori Banbara (ban... | gpl-2.0 |
khalidhoffman/wp-spa | vendor/paquettg/php-html-parser/tests/Node/ParentTest.php | 5735 | <?php
use PHPHtmlParser\Dom\MockNode as Node;
class NodeParentTest extends PHPUnit_Framework_TestCase {
public function testHasChild()
{
$parent = new Node;
$child = new Node;
$parent->addChild($child);
$this->assertTrue($parent->hasChildren());
}
public function tes... | gpl-2.0 |
percy-g2/Novathor_xperia_u8500 | 6.1.1.B.0.253/external/webkit/Source/WebCore/loader/DocumentThreadableLoader.cpp | 17006 | /*
* 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 conditio... | gpl-2.0 |
CISC181/cspoker | common/common/src/main/java/org/cspoker/common/api/lobby/action/GetHoldemTableInformationAction.java | 1703 | /**
* 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 will be u... | gpl-2.0 |
RedRightHand/llvm-analyses | cse231-proj1/llvm/src/utils/TableGen/AsmWriterEmitter.cpp | 35672 | //===- AsmWriterEmitter.cpp - Generate an assembly writer -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | gpl-2.0 |
jadref/buffer_bci | java/SignalViewer/src/org/jfree/chart/renderer/xy/CyclicXYItemRenderer.java | 17319 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | gpl-3.0 |
Dynamic-Business/moodle | mod/forum/classes/event/subscription_deleted.php | 3330 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | gpl-3.0 |
sameesh/Myrepos | Ris/Application/Common/Manifest/RisServerManifestVerification.cs | 2186 | #region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the term... | gpl-3.0 |
LyndonMarques/devdollibar | htdocs/includes/ckeditor/_source/plugins/format/lang/ka.js | 701 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'format', 'ka', {
label: 'ფიორმატირება',
panelTitle: 'ფორმატირება',
tag_address: 'მისამართი',
tag_div: 'ჩვეულებრივი (DIV)',
tag_h1: 'სათაური 1',
... | gpl-3.0 |
LyndonMarques/devdollibar | htdocs/includes/ckeditor/_source/plugins/forms/lang/es.js | 1617 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'forms', 'es', {
button: {
title: 'Propiedades de Botón',
text: 'Texto (Valor)',
type: 'Tipo',
typeBtn: 'Boton',
typeSbm: 'Enviar',
typeRs... | gpl-3.0 |
aaujon/dolibarr | htdocs/includes/ckeditor/_source/plugins/div/lang/gu.js | 936 | /*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'gu', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'એડવાઈઝર શીર્ષક',
cssClassInputLabel: 'સ્ટાઈલશીટ કલાસીસ',
edit: 'ડીવીમાં ફેરફાર કરવો',
... | gpl-3.0 |
martinep/OpenFOAM-2.2.X | src/lagrangian/distributionModels/distributionModel/distributionModel.C | 3729 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | gpl-3.0 |
syncany/syncany-plugin-dropbox | core/syncany-lib/src/main/java/org/syncany/operations/status/StatusOperation.java | 8965 | /*
* Syncany, www.syncany.org
* Copyright (C) 2011-2015 Philipp C. Heckel <philipp.heckel@gmail.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 3 of the License, or
... | gpl-3.0 |
mban94/mixerp | src/Libraries/Logic/MixERP.Net.Common/Helpers/CatalogHelper.cs | 808 | using MixERP.Net.Framework;
using MixERP.Net.i18n.Resources;
using System.Collections.Generic;
using System.Linq;
namespace MixERP.Net.Common.Helpers
{
public static class CatalogHelper
{
public static void ValidateCatalog(string catalog)
{
if (string.IsNullOrWhiteSpace(catalog))
... | gpl-3.0 |
wormzjl/PneumaticCraft | api/powercrystals/minefactoryreloaded/api/HarvestType.java | 1112 | package powercrystals.minefactoryreloaded.api;
/**
* @author PowerCrystals
*
* Determines what algorithm the Harvester uses when it encounters this IFactoryHarvestable in the world.
*/
public enum HarvestType
{
/**
* Just break the single block - no special action needed. e.g. Carrots, flowers, wheat.
*/
Nor... | gpl-3.0 |
ozit/dolibarr | htdocs/includes/ckeditor/_source/plugins/scayt/lang/en-ca.js | 1734 | /*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'scayt', 'en-ca', {
about: 'About SCAYT', // MISSING
aboutTab: 'About', // MISSING
addWord: 'Add Word', // MISSING
allCaps: 'Ignore All-Caps Word... | gpl-3.0 |
michath/ConMonkey | js/src/jit-test/tests/ion/bug889186.js | 110 | function f()
{
return (4 >>> 0) > ((0 % (1 == 2)) >>> 0);
}
assertEq(f(), true);
assertEq(f(), true);
| mpl-2.0 |
JasonGross/mozjs | js/src/jit-test/tests/basic/testBug637014.js | 47 | var o = newGlobal();
o.makeFinalizeObserver();
| mpl-2.0 |
NeverMin/wuxiapptec | var/httpd/htdocs/js/Core.Form.ErrorTooltips.js | 5492 | // --
// Core.Form.ErrorTooltips.js - provides provides Tooltip functions
// Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, see http://www.gnu.o... | agpl-3.0 |
zidootech/xbmc4zidoo | kodi_14.1_release/xbmc/NfoFile.cpp | 4888 | /*
* 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.
*
* ... | lgpl-2.1 |
PatidarWeb/opencms-core | modules/org.opencms.workplace/resources/system/workplace/resources/components/widgets/multiselector.js | 547 | function toggleMultiSelectWidget(source) {
function onChange(evt){
var value=$(this).val();
// set the value on the hidden input
$(this).siblings("input:hidden").val(value);
}
// check if the checkbox is checked
if ($(source).attr("checked")) {
// the checkbox is checked, enable select box
$... | lgpl-2.1 |
afsinka/jet_jsp | src/main/webapp/js/libs/oj/v1.1.2/resources/nls/ja/localeElements.js | 5835 | define({main:{ja:{identity:{version:{_cldrVersion:"24",_number:"$Revision: 9287 $"},generation:{_date:"$Date: 2013-08-28 21:32:04 -0500 (Wed, 28 Aug 2013) $"},language:"ja"},dates:{calendars:{gregorian:{months:{format:{abbreviated:{1:"1月",2:"2月",3:"3月",4:"4月",5:"5月",6:"6月",7:"7月",8:"8月",9:"9月",10:"10月",11:"11月",12:"12月... | lgpl-2.1 |
JiriOndrusek/wildfly-core | host-controller/src/main/java/org/jboss/as/domain/controller/operations/coordination/DomainControllerLockIdUtils.java | 1990 | /*
*
* * JBoss, Home of Professional Open Source.
* * Copyright 2013, Red Hat, Inc., and individual contributors
* * as indicated by the @author tags. See the copyright.txt file in the
* * distribution for a full listing of individual contributors.
* *
* * This is free software; you can redistribute it and... | lgpl-2.1 |
JiriOndrusek/wildfly-core | testsuite/rbac/src/test/java/org/jboss/as/test/integration/mgmt/access/StandardUsersSetupTask.java | 1781 | /*
*
* JBoss, Home of Professional Open Source.
* Copyright 2014, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it... | lgpl-2.1 |