repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
markogresak/DefinitelyTyped | types/carbon__icons-react/lib/reply--all/32.d.ts | 59 | import { ReplyAll32 } from "../../";
export = ReplyAll32;
| mit |
brunolauze/openpegasus-providers-old | src/Providers/UNIXProviders/SwitchService/UNIX_SwitchService_VMS.hpp | 12290 | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | mit |
VelocityRa/scummvm | backends/platform/iphone/osys_events.cpp | 13276 | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | gpl-2.0 |
htakeo/drupal8 | modules/contrib/rules/src/Plugin/Condition/UserHasEntityFieldAccess.php | 3408 | <?php
namespace Drupal\rules\Plugin\Condition;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\rules\Core\RulesConditionBase;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Entity\ContentEntityInterface;
use Symfony\Component\DependencyI... | gpl-2.0 |
joshuaspence/ThesisCode | MATLAB/Lib/matlab_bgl-4.0.1/libmbgl/boost1.36/include/boost/iostreams/checked_operations.hpp | 4469 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2005-2007 Jonathan Turkanis
// 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.)
// See http://www.boost.org/libs/iostreams for docume... | gpl-3.0 |
palerdot/calibre | src/calibre/gui2/store/stores/pragmatic_bookshelf_plugin.py | 940 | # -*- coding: utf-8 -*-
from __future__ import (unicode_literals, division, absolute_import, print_function)
store_version = 1 # Needed for dynamic plugin loading
__license__ = 'GPL 3'
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
from calibre.gui2.store.basic_con... | gpl-3.0 |
SSNico/XLParser | lib/Irony/Irony.GrammarExplorer/fmSelectGrammars.cs | 3205 | #region License
/* **********************************************************************************
* Copyright (c) Roman Ivantsov
* This source code is subject to terms and conditions of the MIT License
* for Irony. A copy of the license can be found in the License.txt file
* at the root of this distribution.
... | mpl-2.0 |
ErikSchierboom/roslyn | src/Compilers/CSharp/Portable/FlowAnalysis/RegionAnalysisContext.cs | 2335 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Micro... | apache-2.0 |
johan/closure-library | closure/goog/structs/prioritypool.js | 4645 | // Copyright 2006 The Closure Library 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 requ... | apache-2.0 |
kdwink/intellij-community | java/java-tests/testSrc/com/intellij/ide/fileTemplates/EmbeddedLiveTemplatesTest.java | 2666 | /*
* 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 |
stevesloka/kubernetes | cmd/kubeadm/app/componentconfigs/fakeconfig_test.go | 23187 | /*
Copyright 2020 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
Yuriy-Leonov/nova | nova/db/sqlalchemy/migrate_repo/versions/161_fix_system_metadata_none_strings.py | 1505 | # Copyright 2013 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | apache-2.0 |
dev-ab/marketplace | vendor/zf-commons/zfc-user/src/ZfcUser/Factory/Controller/Plugin/ZfcUserAuthenticationFactory.php | 1103 | <?php
namespace ZfcUser\Factory\Controller\Plugin;
use Zend\Authentication\AuthenticationService;
use Zend\Mvc\Controller\PluginManager;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Authentication\Adapter;
use ZfcUser\Controller\Plugin\ZfcUserAuthentication;
c... | bsd-3-clause |
markogresak/DefinitelyTyped | types/carbon__pictograms-react/lib/document--security/index.d.ts | 71 | import { DocumentSecurity } from "../../";
export = DocumentSecurity;
| mit |
mravinale/micro-cms | node_modules/sails/node_modules/i18n/i18n.js | 12712 | /**
* @author Created by Marcus Spiegel <marcus.spiegel@gmail.com> on 2011-03-25.
* @link https://github.com/mashpie/i18n-node
* @license http://opensource.org/licenses/MIT
*
* @version 0.4.1
*/
// dependencies and "private" vars
var vsprintf = require('sprintf').vsprintf,
fs = require('f... | mit |
Android-leak/android-vts | app/src/main/java/android/framework/org/apache/harmony/security_custom/asn1/BerOutputStream.java | 6083 | /*
* 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... | mit |
darkdukey/sdkbox-facebook-sample-v2 | external/emscripten/tests/poppler/utils/pdfimages.cc | 4895 | //========================================================================
//
// pdfimages.cc
//
// Copyright 1998-2003 Glyph & Cog, LLC
//
// Modified for Debian by Hamish Moffatt, 22 May 2002.
//
//========================================================================
//============================================... | mit |
aurimas-darguzis/react-intro | node_modules/lodash-es/_updateWrapDetails.js | 1218 | import arrayEach from './_arrayEach.js';
import arrayIncludes from './_arrayIncludes.js';
/** Used to compose bitmasks for function metadata. */
var BIND_FLAG = 1,
BIND_KEY_FLAG = 2,
CURRY_FLAG = 8,
CURRY_RIGHT_FLAG = 16,
PARTIAL_FLAG = 32,
PARTIAL_RIGHT_FLAG = 64,
ARY_FLAG = 128,
REARG_FLA... | mit |
him2him2/cdnjs | ajax/libs/elfinder/2.1.25/js/extras/editors.default.js | 30912 | (function(editors, elFinder) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], editors);
} else if (elFinder) {
var optEditors = elFinder.prototype._options.commandsOptions.edit.editors;
elFinder.prototype._options.commandsOptions.edit.editors = optEditors.concat(editors(elFinder));
}
}(... | mit |
DaneTheory/SuperMarioRedux | node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/createlink-base/createlink-base-min.js | 874 | YUI.add("createlink-base",function(e,t){var n={};n.STRINGS={PROMPT:"Please enter the URL for the link to point to:",DEFAULT:"http://"},e.namespace("Plugin"),e.Plugin.CreateLinkBase=n,e.mix(e.Plugin.ExecCommand.COMMANDS,{createlink:function(t){var r=this.get("host").getInstance(),i,s,o,u,a=prompt(n.STRINGS.PROMPT,n.STRI... | mit |
yangdd1205/spring-boot | spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/reactive/server/package-info.java | 832 | /*
* Copyright 2012-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | mit |
parameshbabu/samples | ExternalProcessLauncher/CS/ProcessLauncherSample/Properties/AssemblyInfo.cs | 1062 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pr... | mit |
falcontersama/chatbot | node_modules/caniuse-lite/data/features/flac.js | 805 | module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"1":"0 2 4 v z t s","2":"1 RB F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x PB OB"},D:{"1":"4 8 s DB AB SB BB","2":"F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m","16":"n ... | mit |
yangdd1205/spring-boot | spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedMapPropertySource.java | 2508 | /*
* Copyright 2012-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | mit |
mjsolidarios/openhab | bundles/binding/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/RFXComValueSelector.java | 4083 | /**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | epl-1.0 |
pspanja/ezpublish-kernel | eZ/Publish/Core/Persistence/Doctrine/Tests/SelectDoctrineQueryTest.php | 3017 | <?php
namespace eZ\Publish\Core\Persistence\Doctrine\Tests;
class SelectDoctrineQueryTest extends TestCase
{
public function testSimpleSelect()
{
$query = $this->handler->createSelectQuery();
$query->select(
'val1',
'val2'
)->from(
'query_test'
... | gpl-2.0 |
CTSATLAS/wordpress | wp-content/plugins/constant-contact-api/vendor/giggsey/libphonenumber-for-php/src/libphonenumber/geocoding/data/fr/32.php | 412 | <?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/
return array (
3212 => 'Tongres',
3215 => 'Malines',
3216 => 'Louvain',
322 => 'Bruxelles',
323 => 'Anvers',
3251 => 'Roulers',
3252 => 'Termonde',
3253 => 'Alost',
3255 => '... | gpl-2.0 |
clembells/nerdyNummies | wp-content/plugins/advanced-custom-fields-pro/fields/google-map.php | 5822 | <?php
/*
* ACF Google Map Field Class
*
* All the logic for this field type
*
* @class acf_field_google_map
* @extends acf_field
* @package ACF
* @subpackage Fields
*/
if( ! class_exists('acf_field_google_map') ) :
class acf_field_google_map extends acf_field {
/*
* __construct
*
* This function ... | gpl-2.0 |
dmlloyd/openjdk-modules | langtools/test/tools/javac/limits/ArrayDims5.java | 1961 | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | gpl-2.0 |
kvar/ansible | lib/ansible/modules/cloud/azure/azure_rm_networkinterface.py | 39110 | #!/usr/bin/python
#
# Copyright (c) 2016 Matt Davis, <mdavis@ansible.com>
# Chris Houseknecht, <house@redhat.com>
# Yuwei ZHou, <yuwzho@microsoft.com>
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_imp... | gpl-3.0 |
jumbucks/go-jumbucksee | Godeps/_workspace/src/github.com/gizak/termui/linechart_others.go | 264 | // Copyright 2016 Zack Guo <gizak@icloud.com>. All rights reserved.
// Use of this source code is governed by a MIT license that can
// be found in the LICENSE file.
// +build !windows
package termui
const VDASH = '┊'
const HDASH = '┈'
const ORIGIN = '└'
| gpl-3.0 |
shakuzen/spring-boot | spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/src/test/java/smoketest/data/ldap/SampleLdapApplicationTests.java | 1275 | /*
* Copyright 2012-2019 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
nibin/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/util/io/StringStreamSource.java | 1020 | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
raehalme/keycloak | model/infinispan/src/main/java/org/keycloak/models/cache/infinispan/RealmCache.java | 2256 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | apache-2.0 |
liangpengfei/UltimateAndroid | UltimateAndroidNormal/UltimateAndroid/src/com/marshalchen/common/usefulModule/standuptimer/dao/CannotUpdateMeetingException.java | 321 | /*
* Copyright (c) 2014. Marshal Chen.
*/
package com.marshalchen.common.usefulModule.standuptimer.dao;
public class CannotUpdateMeetingException extends RuntimeException {
private static final long serialVersionUID = 1L;
public CannotUpdateMeetingException(String message) {
super(message);
}
}... | apache-2.0 |
headwirecom/sling | bundles/extensions/discovery/base/src/test/java/org/apache/sling/discovery/base/connectors/announcement/AnnouncementRegistryImplTest.java | 18905 | /*
* 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 |
rainkinste/memdb | test/app/database.js | 4354 | // Copyright 2015 The MemDB Authors.
//
// 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... | apache-2.0 |
uschindler/elasticsearch | libs/x-content/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContent.java | 4614 | /*
* 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 |
pasitive/zapad | protected/extensions/tinymce/assets/tiny_mce/plugins/advhr/langs/tw_dlg.js | 104 | tinyMCE.addI18n('tw.advhr_dlg',{size:"\u9ad8\u5ea6",noshade:"\u7121\u9670\u5f71",width:"\u5bec\u5ea6"}); | bsd-3-clause |
honix/godot | thirdparty/graphite/src/gr_slot.cpp | 4519 | /* GRAPHITE2 LICENSING
Copyright 2010, SIL International
All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of License, or
(at yo... | mit |
dylanh724/tol-node-public | tol2-test/node_modules/forever/lib/forever.js | 28771 | /*
* forever.js: Top level include for the forever module
*
* (C) 2010 Charlie Robbins & the Contributors
* MIT LICENCE
*
*/
var fs = require('fs'),
path = require('path'),
events = require('events'),
exec = require('child_process').exec,
spawn = require('child_process').spawn,
cliff = requir... | mit |
ssmiech/fastlane | screengrab/example/src/androidTest/java/tools/fastlane/localetester/JUnit3StyleTests.java | 1475 | package tools.fastlane.localetester;
import android.test.ActivityInstrumentationTestCase2;
import tools.fastlane.screengrab.Screengrab;
import tools.fastlane.screengrab.locale.LocaleUtil;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click... | mit |
cemalkilic/che | plugins/plugin-java/che-plugin-java-ext-lang-server/src/test/resources/RenameNonPrivateField/test4/in/A.java | 103 | package p;
class A{
protected int f;
void m(){
f++;
}
}
class B extends A{
void m(){
f= 0;
}
} | epl-1.0 |
cmuartfab/statuevision | Unity/StatueVisionTestProject/Assets/Standard Assets/Scripts/Hands/DebugHand.cs | 1395 | /******************************************************************************\
* Copyright (C) Leap Motion, Inc. 2011-2014. *
* Leap Motion proprietary. Licensed under Apache 2.0 *
* Available at http://www.apache.org/licenses/LICENSE-2.0.html ... | gpl-2.0 |
samdunne/terraform | vendor/github.com/xanzy/go-gitlab/tags.go | 4326 | //
// Copyright 2015, Sander van Harmelen
//
// 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... | mpl-2.0 |
finetjul/CTK | Applications/ctkSimplePythonShell/Testing/Python/wrappedQPropertyTest.py | 226 |
import qt
if (_testWrappedQPropertyInstance.value != 0):
qt.QApplication.exit(1)
_testWrappedQPropertyInstance.value = 74
if (_testWrappedQPropertyInstance.value != 74):
qt.QApplication.exit(1)
qt.QApplication.exit(0)
| apache-2.0 |
aospx-kitkat/platform_external_chromium_org | chrome/renderer/translate/translate_helper_browsertest.cc | 20156 | // Copyright (c) 2012 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 "base/time/time.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/render_messages.h"
#include "chrome/renderer/translate... | bsd-3-clause |
allquixotic/opensim-autobackup | OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/TestModule.cs | 3535 | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | bsd-3-clause |
4ad/go | test/fixedbugs/bug328.go | 252 | // cmpout
// Copyright 2011 The Go 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 main
import "unsafe"
func main() {
var p unsafe.Pointer
println(p)
}
| bsd-3-clause |
ltilve/ChromiumGStreamerBackend | device/hid/hid_device_info_linux.cc | 869 | // Copyright 2015 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 "hid_device_info_linux.h"
namespace device {
HidDeviceInfoLinux::HidDeviceInfoLinux(
const HidDeviceId& device_id,
const std::string& d... | bsd-3-clause |
cuboxi/android_external_chromium_org | chrome/android/java/src/org/chromium/chrome/browser/contextmenu/EmptyChromeContextMenuItemDelegate.java | 1293 | // Copyright 2013 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.
package org.chromium.chrome.browser.contextmenu;
/**
* An empty implementation of {@link ChromeContextMenuItemDelegate} to make overriding subsets of
*... | bsd-3-clause |
deek87/concrete5 | concrete/src/Service/Configuration/StorageInterface.php | 748 | <?php
namespace Concrete\Core\Service\Configuration;
use Exception;
interface StorageInterface
{
/**
* Determine whether the configuration can be read.
*
* @return bool
*/
public function canRead();
/**
* Read the configuration.
*
* @return string
*
* @throws ... | mit |
codydaig/hub | Godeps/_workspace/src/github.com/octokit/go-octokit/octokit/releases_test.go | 3712 | package octokit
import (
"net/http"
"testing"
"github.com/github/hub/Godeps/_workspace/src/github.com/bmizerany/assert"
)
func TestReleasesService_All(t *testing.T) {
setup()
defer tearDown()
mux.HandleFunc("/repos/jingweno/gh/releases", func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, "GET")... | mit |
ShionRyuu/sproto | testall.lua | 741 | local sproto = require "sproto"
local print_r = require "print_r"
local sp = sproto.parse [[
.foobar {
.nest {
a 1 : string
b 3 : boolean
c 5 : integer
}
a 0 : string
b 1 : integer
c 2 : boolean
d 3 : *nest(a)
e 4 : *string
f 5 : *integer
g 6 : *boolean
h 7 : *foobar
}
]]
local obj = {
a = "hello",
... | mit |
fonea/connections | core/modules/block_content/src/Tests/BlockContentTranslationUITest.php | 5678 | <?php
/**
* @file
* Contains \Drupal\block_content\Tests\BlockContentTranslationUITest.
*/
namespace Drupal\block_content\Tests;
use Drupal\Component\Utility\Unicode;
use Drupal\content_translation\Tests\ContentTranslationUITestBase;
/**
* Tests the block content translation UI.
*
* @group block_content
*/
c... | gpl-2.0 |
louishust/mysql5.6.14_tokudb | storage/tokudb/ft-index/src/tests/hotindexer-bw.cc | 18672 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Softwar... | gpl-2.0 |
jagnoha/website | libraries/jquery.intl-tel-input/examples/js/hiddenInput.js | 242 | $("#phone").intlTelInput({
utilsScript: "../../build/js/utils.js" // just for formatting/placeholders etc
});
// update the hidden input on submit
$("form").submit(function() {
$("#hidden").val($("#phone").intlTelInput("getNumber"));
}); | gpl-2.0 |
MikeThomsen/nifi | nifi-toolkit/nifi-toolkit-cli/src/test/java/org/apache/nifi/toolkit/cli/impl/command/CommandA.java | 2237 | /*
* 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 |
liwangdong/UltimateAndroid | UltimateAndroidNormal/UltimateAndroidUi/src/com/marshalchen/common/uimodule/tileView/layouts/FixedLayout.java | 2211 | package com.marshalchen.common.uimodule.tileView.layouts;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
public class FixedLayout extends ViewGroup {
public FixedLayout(Context context) {
super(context);
}
@Override
protected void onMeasure(int widthMeasureSpec, int... | apache-2.0 |
pchico83/i2kit | cli/vendor/github.com/aws/aws-sdk-go/service/alexaforbusiness/errors.go | 1521 | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package alexaforbusiness
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The resource being created already exists. HTTP Status Code: 400
ErrCodeAlreadyExistsException = "AlreadyExist... | apache-2.0 |
sethpollack/kubernetes | vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs2/io.go | 2929 | // +build linux
package fs2
import (
"bufio"
"os"
"path/filepath"
"strconv"
"strings"
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runc/libcontainer/cgroups/fscommon"
"github.com/opencontainers/runc/libcontainer/configs"
)
func setIo(dirPath string, cgroup *configs.Cgroup... | apache-2.0 |
Plantain/sms-mailinglist | lib/google/apputils/setup_command.py | 5191 | #!/usr/bin/env python
# Copyright 2010 Google Inc. 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... | apache-2.0 |
maropu/spark | sql/catalyst/src/main/java/org/apache/spark/sql/connector/write/streaming/StreamingWrite.java | 4291 | /*
* 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 |
tmckayus/oshinko-cli | vendor/github.com/openshift/origin/pkg/oc/bootstrap/docker/dockermachine/errors.go | 714 | package dockermachine
import (
"errors"
starterrors "github.com/openshift/origin/pkg/oc/bootstrap/docker/errors"
)
var (
// ErrDockerMachineExists is returned if a Docker machine you are trying to create already exists
ErrDockerMachineExists = errors.New("Docker machine exists")
// ErrDockerMachineNotAvailable... | apache-2.0 |
phpwutz/homebrew-cask | Casks/massreplaceit.rb | 279 | cask 'massreplaceit' do
version '2.9.1'
sha256 '1ab3482f7568953899474397fa401342daec56d4efe4a856de8e387294f7c667'
url 'http://www.hexmonkeysoftware.com/files/mri.dmg.zip'
name 'MassReplaceIt'
homepage 'http://www.hexmonkeysoftware.com/'
app 'MassReplaceIt.app'
end
| bsd-2-clause |
jrwesolo/homebrew-cask | Casks/cloudytabs.rb | 385 | cask :v1 => 'cloudytabs' do
version '1.4'
sha256 '7ba67b0f7415fe2d2cb545866eb0e9c7c2bea8980445921a9da5d2bf55711d76'
url "https://github.com/josh-/CloudyTabs/releases/download/v#{version}/CloudyTabs.zip"
appcast 'https://github.com/josh-/CloudyTabs/releases.atom'
name 'CloudyTabs'
homepage 'https://github.c... | bsd-2-clause |
android-ia/platform_external_chromium_org | content/browser/renderer_host/render_message_filter.cc | 49233 | // Copyright (c) 2012 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 "content/browser/renderer_host/render_message_filter.h"
#include <map>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base... | bsd-3-clause |
joone/chromium-crosswalk | ui/webui/resources/js/parse_html_subset.js | 3331 | // Copyright (c) 2012 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.
/**
* Parse a very small subset of HTML. This ensures that insecure HTML /
* javascript cannot be injected into the new tab page.
* @param {string... | bsd-3-clause |
bauhouse/Bugaroo | symphony/lib/toolkit/class.alert.php | 2922 | <?php
/**
* @package toolkit
*/
/**
* The Alert class drives the standard Symphony notices that
* appear at the top of the backend pages to alert the user of
* something. Their are three default alert styles, notice, error
* and success.
*/
Class Alert{
/**
* Represents a notice, usually used for... | mit |
rafaelcastelani/novomaq | lib/Zend/Gdata/Media/Extension/MediaKeywords.php | 1466 | <?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 a... | mit |
drupal-ukraine/csua_d8 | drupal/core/modules/system/src/Tests/Block/SystemMenuBlockTest.php | 10669 | <?php
/**
* Contains \Drupal\system\Tests\Block\SystemMenuBlockTest
*/
namespace Drupal\system\Tests\Block;
use Drupal\Core\Render\Element;
use Drupal\simpletest\KernelTestBase;
use Drupal\system\Tests\Routing\MockRouteProvider;
use Drupal\Tests\Core\Menu\MenuLinkMock;
use Drupal\user\Entity\User;
use Symfony\Cmf\C... | gpl-2.0 |
phproberto/joomla-cms | libraries/src/Cache/Storage/MemcacheStorage.php | 9325 | <?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Cache\Storage;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\Cache\Cache;... | gpl-2.0 |
pavel-else/komplect-ug | jssource/src_files/modules/Project/Project.js | 4019 | /*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
*... | agpl-3.0 |
thahemp/osg-android | src/osgWrappers/serializers/osg/Depth.cpp | 818 | #include <osg/Depth>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( Depth,
new osg::Depth,
osg::Depth,
"osg::Object osg::StateAttribute osg::Depth" )
{
BEGIN_ENUM_SERIALIZE... | lgpl-2.1 |
thahemp/osg-android | src/osgWrappers/serializers/osgSim/DOFTransform.cpp | 2676 | #include <osgSim/DOFTransform>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
static bool checkPutMatrix( const osgSim::DOFTransform& dof )
{ return !dof.getPutMatrix().isIdentity(); }
static bool readPutMatrix( osgDB::InputStream& is, osgSim::DOFTransform& dof )
{
osg::... | lgpl-2.1 |
RossLieberman/NEST | src/Nest/Cat/ICatRecord.cs | 53 | namespace Nest
{
public interface ICatRecord {}
} | apache-2.0 |
GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/ci-info/index.js | 1739 | 'use strict'
var vendors = require('./vendors.json')
var env = process.env
// Used for testing only
Object.defineProperty(exports, '_vendors', {
value: vendors.map(function (v) { return v.constant })
})
exports.name = null
exports.isPR = null
vendors.forEach(function (vendor) {
var envs = Array.isArray(vendor.... | apache-2.0 |
atpham256/azure-powershell | src/ResourceManager/Dns/Commands.Dns/Models/DnsRecordSet.cs | 19103 | // ----------------------------------------------------------------------------------
//
// Copyright 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.apa... | apache-2.0 |
GBGamer/rust | src/test/rustdoc/issue-29584.rs | 635 | // Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
ibinti/intellij-community | python/ipnb/src/org/jetbrains/plugins/ipnb/format/cells/output/IpnbStreamOutputCell.java | 605 | package org.jetbrains.plugins.ipnb.format.cells.output;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.Map;
public class IpnbStreamOutputCell extends IpnbOutputCell {
@NotNull private final String myStream;
public IpnbStreamOutputCell... | apache-2.0 |
GBGamer/rust | src/test/ui/issues/issue-6801.rs | 905 | // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
basho-labs/riak-cxx-client | deps/boost-1.47.0/libs/test/test/prg_exec_fail1.cpp | 1601 | // (C) Copyright Gennadiy Rozental 2001-2008.
// (C) Copyright Beman Dawes 2001.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// Fi... | apache-2.0 |
epiqc/ScaffCC | clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp | 3098 | //==- ObjCPropertyChecker.cpp - Check ObjC properties ------------*- C++ -*-==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | bsd-2-clause |
Slaffka/moodel | mod/glossary/tests/generator/lib.php | 5271 | <?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 |
quyse/inanity | deps/icu/repo/source/common/utypes.cpp | 7211 | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
*
* Copyright (C) 1997-2015, International Business Machines
* Corporation and others. All Rights Reserved.
*
***********... | mit |
imrandomizer/Algorithm-Implementations | Sieve_of_Eratosthenes/Ruby/mitogh/sieve.rb | 293 | def sieve(n)
primes = Array.new(n, true)
limit = Math.sqrt(n).floor
primes[0], primes[1] = nil, nil
for i in 2..limit
if primes[i]
j, k = 0, 0
while( j <= n ) do
j = i ** 2 + (k * i)
k += 1
primes[j] = nil
end
end
end
primes
end
| mit |
iamjasonp/corefx | src/System.Threading/tests/InterlockedTests.cs | 1308 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace System.Threading.Tests
{
... | mit |
bbernardoni/dolphin | Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp | 4927 | // Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Common/Arm64Emitter.h"
#include "Common/Common.h"
#include "Common/StringUtil.h"
#include "Core/Core.h"
#include "Core/CoreTiming.h"
#include "Core/PowerPC/PowerPC.h"
#include "Core/PowerPC/PPCTabl... | gpl-2.0 |
asridharan/stitch-click | tools/lib/eclasst.cc | 9455 | // -*- c-basic-offset: 4 -*-
/*
* eclasst.{cc,hh} -- tool definition of element classes
* Eddie Kohler
*
* Copyright (c) 1999-2000 Massachusetts Institute of Technology
* Copyright (c) 2000 Mazu Networks, Inc.
* Copyright (c) 2001-2003 International Computer Science Institute
*
* Permission is hereby granted, f... | gpl-2.0 |
benwa/librenms | vendor/amenadiel/jpgraph/Examples/examples_theme/softy_example.php | 1793 | <?php
require_once 'jpgraph/jpgraph.php';
require_once 'jpgraph/jpgraph_bar.php';
require_once 'jpgraph/jpgraph_line.php';
$theme = isset($_GET['theme']) ? $_GET['theme'] : null;
$data = array(
0 => array(0 => 79, 1 => -25, 2 => -7, 3 => 85, 4 => -26, 5 => -32),
1 => array(0 => 76, 1 => 51, 2 => 86, 3 => 12, ... | gpl-3.0 |
together-web-pj/together-web-pj | node_modules/faker/lib/locales/tr/phone_number/formats.js | 70 | module["exports"] = [
"+90-###-###-##-##",
"+90-###-###-#-###"
];
| gpl-3.0 |
lopezloo/mtasa-blue | vendor/google-breakpad/src/common/solaris/guid_creator.cc | 2965 | // Copyright (c) 2007, 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 conditi... | gpl-3.0 |
PangZhi/flink | flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/pregel/ComputeFunction.java | 8797 | /*
* 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 |
mive93/Smemorata | JLayer1.0.1/src/javazoom/jl/converter/RiffFile.java | 12752 | /*
* 11/19/04 1.0 moved to LGPL.
* 02/23/99 JavaConversion by E.B
* Don Cross, April 1993.
* RIFF file format classes.
* See Chapter 8 of "Multimedia Programmer's Reference" in
* the Microsoft Windows SDK.
*
*-----------------------------------------------------------------------
* This program is... | apache-2.0 |
bemosior/CaptiveResponse | lib/Cake/Test/Case/Model/ModelTestBase.php | 3500 | <?php
/**
* ModelTest file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistri... | apache-2.0 |
ASMlover/study | 3rdparty/boost/include/boost/math/special_functions/detail/lgamma_small.hpp | 23234 | // (C) Copyright John Maddock 2006.
// Use, modification and distribution are subject to 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)
#ifndef BOOST_MATH_SPECIAL_FUNCTIONS_DETAIL_LGAMMA_SMALL
#define BOOST_MATH_SPECIAL_FUNCTIO... | bsd-2-clause |
jgcaaprom/android_external_chromium_org | tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bypass.py | 807 | # Copyright 2014 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.
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
class BypassPage(page_module.Page):
def __init__(s... | bsd-3-clause |
Jonekee/chromium.src | chrome/browser/extensions/api/vpn_provider/vpn_service_factory.cc | 2169 | // Copyright 2014 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 "extensions/browser/api/vpn_provider/vpn_service_factory.h"
#include "base/memory/singleton.h"
#include "chrome/browser/chromeos/profiles/profil... | bsd-3-clause |
mohitbhatia1994/cdnjs | ajax/libs/angularSubkit/1.0.2/angularsubkit.js | 101154 | // - 1.0.2
// https://github.com/subkit
// Copyright 2012 - 2015 http://subkit.io
// MIT License
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Subkit=e():"undefined"!=typeof global?global.Subkit=e():"undefined"!=typeof self&&... | mit |
Tsingbo-Kooboo/Kooboo.CMS.Toolkit | Web/Areas/Sites/Scripts/inlineEdit/inline/htmlBlock.js | 713 | /*
* htmlBlock edit
* author: ronglin
* create date: 2011.04.02
*/
(function (ctx, $) {
var htmlBlockClass = function (config) {
htmlBlockClass.superclass.constructor.call(this, config);
};
ctx.extend(htmlBlockClass, ctx.htmlClass, {
createMenu: function () {
htmlBlock... | mit |