code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * 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 ...
dennishuo/hadoop
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestFindClass.java
Java
apache-2.0
6,169
/* * 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...
tiarebalbi/spring-boot
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/AutoConfigureMockMvc.java
Java
apache-2.0
2,989
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
e-gob/plataforma-kioscos-autoatencion
scripts/ansible-play/.venv/lib/python2.7/site-packages/ansible/modules/files/acl.py
Python
bsd-3-clause
11,261
<?php /** * * This file is part of the phpBB Forum Software package. * * @copyright (c) phpBB Limited <https://www.phpbb.com> * @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\template; interface temp...
kivi8/ars-poetica
www/forum/phpbb/template/template.php
PHP
bsd-3-clause
5,881
//################################################################################################################## // #TOOLBAR# /* global CMS */ (function ($) { 'use strict'; // CMS.$ will be passed for $ $(document).ready(function () { /*! * Toolbar * Handles all features relat...
josjevv/django-cms
cms/static/cms/js/modules/cms.toolbar.js
JavaScript
bsd-3-clause
22,476
from __future__ import absolute_import import psycopg2 as Database # Some of these imports are unused, but they are inherited from other engines # and should be available as part of the backend ``base.py`` namespace. from django.db.backends.postgresql_psycopg2.base import ( # NOQA DatabaseWrapper, DatabaseFeatur...
Kryz/sentry
src/sentry/db/postgres/base.py
Python
bsd-3-clause
2,640
import foo from "foo"; import {default as foo2} from "foo";
hawkrives/6to5
test/fixtures/transformation/es6-modules-umd/imports-default/actual.js
JavaScript
mit
60
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-onclickoutside"), require("moment")); else if(typeof define === 'function' && define.amd) define(["react", "react-onclickoutside", "mo...
tholu/cdnjs
ajax/libs/react-datepicker/0.59.0/react-datepicker.js
JavaScript
mit
229,566
// { dg-options "-std=gnu++0x" } // { dg-do compile } // Copyright (C) 2007-2013 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 // Fre...
Xilinx/gcc
libstdc++-v3/testsuite/23_containers/unordered_multiset/requirements/explicit_instantiation/3.cc
C++
gpl-2.0
953
<?php /** * OG behavior handler. */ class OgBehaviorHandler extends EntityReference_BehaviorHandler_Abstract { /** * Implements EntityReference_BehaviorHandler_Abstract::access(). */ public function access($field, $instance) { return $field['settings']['handler'] == 'og' || strpos($field['settings']['...
johnlaine1/installer
sites/all/modules/og/plugins/entityreference/behavior/OgBehaviorHandler.class.php
PHP
gpl-2.0
9,888
// 2005-12-20 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2005-2013 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 Sof...
skristiansson/eco32-gcc
libstdc++-v3/testsuite/23_containers/deque/modifiers/swap/2.cc
C++
gpl-2.0
3,966
<?php require_once($CFG->libdir.'/simpletest/testportfoliolib.php'); require_once($CFG->dirroot.'/portfolio/download/lib.php'); /* * TODO: The portfolio unit tests were obselete and did not work. * They have been commented out so that they do not break the * unit tests in Moodle 2. * * At some point: * 1. These ...
dhamma-dev/SEA
web/portfolio/download/simpletest/testportfolioplugindownload.php
PHP
gpl-3.0
1,151
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
hungld87/live555-for-win32
liveMedia/include/VP8VideoRTPSink.hh
C++
lgpl-2.1
1,917
/* * 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...
a2lin/elasticsearch
core/src/test/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramAggregatorTests.java
Java
apache-2.0
18,412
/* * Copyright 2013 Google 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 ...
ITVlab/neodash
module-dashclock/src/main/java/com/google/android/apps/dashclock/phone/SmsExtension.java
Java
apache-2.0
16,299
/* * Copyright 2014-present Facebook, 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...
mread/buck
src/com/facebook/buck/util/ThriftWatcher.java
Java
apache-2.0
1,473
/** * 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...
curso007/camel
components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/NettyHttpEndpoint.java
Java
apache-2.0
10,739
function getElements(className) { return Array.from(document.getElementsByClassName(className)); } window.onload = function() { // Force a reflow before any changes. document.body.clientWidth; getElements('remove').forEach(function(e) { e.remove(); }); getElements('remove-after').forEach(function(e) { ...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-ruby/support/ruby-dynamic-removal.js
JavaScript
bsd-3-clause
374
// 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 "ash/metrics/task_switch_time_tracker.h" #include <string> #include "ash/test/task_switch_time_tracker_test_api.h" #include "base/test/histogra...
Chilledheart/chromium
ash/metrics/task_switch_time_tracker_unittest.cc
C++
bsd-3-clause
3,152
// { dg-do assemble { target fpic } } // { dg-options "-O0 -fpic" } // Origin: Jakub Jelinek <jakub@redhat.com> struct bar { bar() {} double x[3]; }; static bar y[4]; void foo(int z) { bar w; y[z] = w; }
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
C++
bsd-3-clause
215
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ 'use strict'; ( function() { var template = '<img alt="" src="" />', templateBlock = new CKEDITOR.template( '<figure class="{captionedClass}">' + ...
quepasso/dashboard
web/bundles/ivoryckeditor/plugins/image2/plugin.js
JavaScript
mit
58,206
<?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...
hansbonini/cloud9-magento
www/lib/Zend/Ldap/Filter/Logical.php
PHP
mit
2,952
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ package im.actor.core; import com.google.j2objc.annotations.ObjectiveCName; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; import im.actor.runtime.mtproto.ConnectionEndpoint; /** * Configuration builder for starting up messenger ob...
luoxiaoshenghustedu/actor-platform
actor-apps/core/src/main/java/im/actor/core/ConfigurationBuilder.java
Java
mit
8,199
using Microsoft.IdentityModel.Clients.ActiveDirectory; using Office365Api.Graph.Simple.MailAndFiles.Helpers; using Office365Api.Graph.Simple.MailAndFiles.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace Office365...
yagoto/PnP
Samples/MicrosoftGraph.Office365.Simple.MailAndFiles/Office365Api.Graph.Simple.MailAndFiles/Controllers/HomeController.cs
C#
mit
3,267
from random import shuffle def bogosort(arr): while not sorted(arr) == arr: shuffle(arr) return arr
warreee/Algorithm-Implementations
Bogosort/Python/jcla1/bogosort.py
Python
mit
116
// 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. /*============================================================================= ** ** ** ** Purpose: The exception c...
bartonjs/coreclr
src/mscorlib/src/System/InsufficientExecutionStackException.cs
C#
mit
1,547
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2009 INESC Porto // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation; // // This program is distr...
Viyom/Implementation-of-TCP-Delayed-Congestion-Response--DCR--in-ns-3
src/flow-monitor/test/histogram-test-suite.cc
C++
gpl-2.0
2,452
<?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...
dhamma-dev/SEA
web/grade/export/ods/export.php
PHP
gpl-3.0
2,057
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
xuzha/aws-sdk-java
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceStatus.java
Java
apache-2.0
2,846
/* * 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 ...
tknandu/CommonsMath_Modifed
math (trunk)/src/test/java/org/apache/commons/math3/optimization/general/RandomCirclePointGenerator.java
Java
apache-2.0
3,637
# Copyright 2011 James McCauley # Copyright 2008 (C) Nicira, Inc. # # This file is part of POX. # # POX 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) an...
srijanmishra/RouteFlow
pox/pox/lib/packet/udp.py
Python
apache-2.0
5,386
cask "air-connect" do version "2.0.1,26526" sha256 "e8f93fbcb626241f9cbe0f934cf9dada319f3f80399ec83558aa696988575b2a" url "https://www.avatron.com/updates/software/airconnect_mac/acmac#{version.before_comma.no_dots}.zip" name "Air Connect" homepage "https://avatron.com/get-air-connect/" livecheck do u...
stephenwade/homebrew-cask
Casks/air-connect.rb
Ruby
bsd-2-clause
446
// Copyright 2017 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 iface_b import "testshared/iface_i" //go:noinline func F() interface{} { return (*iface_i.T)(nil) } //go:noinline func G() iface_i.I { return (*ifa...
akutz/go
misc/cgo/testshared/testdata/iface_b/b.go
GO
bsd-3-clause
335
// Copyright (c) 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. #include "chrome/browser/chromeos/login/hwid_checker.h" #include <cstdio> #include "base/chromeos/chromeos_version.h" #include "base/command_line.h"...
windyuuy/opera
chromium/src/chrome/browser/chromeos/login/hwid_checker.cc
C++
bsd-3-clause
4,448
export { VolumeMuteFilled16 as default } from "../../";
markogresak/DefinitelyTyped
types/carbon__icons-react/es/volume--mute--filled/16.d.ts
TypeScript
mit
56
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.CompilerServices; using Tests.ExpressionCompiler...
comdiv/corefx
src/System.Linq.Expressions/tests/HelperTypes.cs
C#
mit
4,525
<?php require_once('HTML/QuickForm/submit.php'); /** * HTML class for a submit type element * * @author Jamie Pratt * @access public */ class MoodleQuickForm_cancel extends MoodleQuickForm_submit { // {{{ constructor /** * Class constructor * * @since 1.0 * @access ...
feniix/moodle
lib/form/cancel.php
PHP
gpl-2.0
1,501
package teammates.test.pageobjects; public class EntityNotFoundPage extends AppPage { public EntityNotFoundPage(Browser browser) { super(browser); } @Override protected boolean containsExpectedPageContents() { return getPageSource().contains("TEAMMATES could not locate what you were t...
LiHaoTan/teammates
src/test/java/teammates/test/pageobjects/EntityNotFoundPage.java
Java
gpl-2.0
349
/* * Copyright (C) 2012-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. * * ...
Shine-/xbmc
xbmc/pvr/dialogs/GUIDialogPVRGuideOSD.cpp
C++
gpl-2.0
3,993
/* Copyright (C) 2015 Daniel Preussker <f0o@devilcode.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 3 of the License, or * (at your option) any later version. * * Thi...
NetworkNub/librenms
includes/alerts/transport.victorops.php
PHP
gpl-3.0
1,967
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: mods/deathmatch/logic/packets/CPlayerStatsPacket.cpp * PURPOSE: Player statistics packet class * DEVELOPERS: Jax <> ...
zneext/mtasa-blue
Server/mods/deathmatch/logic/packets/CPlayerStatsPacket.cpp
C++
gpl-3.0
2,217
/** * 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...
dennishuo/hadoop
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/PacketHeader.java
Java
apache-2.0
7,020
/** * Modules in this bundle * @license * * opentype.js: * license: MIT (http://opensource.org/licenses/MIT) * author: Frederik De Bleser <frederik@debleser.be> * version: 0.6.7 * * tiny-inflate: * license: MIT (http://opensource.org/licenses/MIT) * author: Devon Govett <devongovett@gmail.com> * ...
joeyparrish/cdnjs
ajax/libs/opentype.js/0.6.7/opentype.js
JavaScript
mit
295,992
/* * Copyright (c) 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 Softwa...
FauxFaux/jdk9-nashorn
test/src/jdk/nashorn/test/models/VarArgConsumer.java
Java
gpl-2.0
1,400
import { onBlur } from "../display/focus" import { setGuttersForLineNumbers, updateGutters } from "../display/gutters" import { alignHorizontally } from "../display/line_numbers" import { loadMode, resetModeState } from "../display/mode_state" import { initScrollbars, updateScrollbars } from "../display/scrollbars" imp...
AfrikaBurn/Main
web/libraries/codemirror/src/edit/options.js
JavaScript
gpl-2.0
6,874
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Serbian (Cyrillic) language. */ /**#@+ @type String @example */ /** * Cont...
noskill/Firesoft
src/main/webapp/ckeditor/lang/sr.js
JavaScript
gpl-3.0
3,935
/* * DarkTooltip v0.4.0 * Simple customizable tooltip with confirm option and 3d effects * (c)2014 Rubén Torres - rubentdlh@gmail.com * Released under the MIT license */ (function($) { function DarkTooltip(element, options){ this.bearer = element; this.options = options; this.hideEvent; this.mouseOverMo...
gtison/kf
src/main/resources/static/js/jquery.darktooltip.js
JavaScript
apache-2.0
6,675
/** * 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...
Guavus/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/StoreFileListGenerator.java
Java
apache-2.0
1,237
/* * 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 ...
mcgilman/nifi
nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-standard-record-utils/src/main/java/org/apache/nifi/schema/validation/StandardSchemaValidationResult.java
Java
apache-2.0
1,648
/* * 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...
gfyoung/elasticsearch
server/src/test/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeResponseTests.java
Java
apache-2.0
1,679
/* * 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 ...
alexzaitzev/ignite
modules/core/src/main/java/org/apache/ignite/configuration/OdbcConfiguration.java
Java
apache-2.0
7,131
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test logic for setting nMinimumChainWork on command line. Nodes don't consider themselves out of "init...
afk11/bitcoin
test/functional/feature_minchainwork.py
Python
mit
4,122
import * as Boom from '@hapi/boom'; import * as http from 'http'; import * as https from 'https'; export interface Host { name: string; port: number; } export interface CustomRequest { authorization: string; contentType: string; host: string; method: string; port: number; url: string; ...
markogresak/DefinitelyTyped
types/hawk/lib/utils.d.ts
TypeScript
mit
1,362
/* * Copyright (c) 1996, 2005, 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 ...
rokn/Count_Words_2015
testing/openjdk/jdk/test/sun/nio/cs/X11CNS11643P2.java
Java
mit
1,335
module.exports = function(client, test) { test.ok(typeof client == 'object'); this.testPageAction = function() { return this; }; };
miguelangel6/nightwatchbamboo
tests/extra/pageobjects/SimplePageFn.js
JavaScript
mit
142
package builder import ( "os" "github.com/spf13/cobra" kcmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util" "github.com/openshift/origin/pkg/build/builder/cmd" ocmd "github.com/openshift/origin/pkg/cmd/cli/cmd" "github.com/openshift/origin/pkg/cmd/templates" ) var ( s2iBuilderLong = templates.LongDesc(` Perf...
rawlingsj/gofabric8
vendor/github.com/openshift/origin/pkg/cmd/infra/builder/builder.go
GO
apache-2.0
1,590
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
young-zhang/Lean
Common/Util/ReaderWriterLockSlimExtensions.cs
C#
apache-2.0
3,963
/* * Copyright 2002-2014 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
ractive/spring-security
test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/WithUserDetailsClassLevelAuthenticationTests.java
Java
apache-2.0
4,216
// runoutput // Copyright 2017 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 "fmt" // Check that expressions like (c*n + d*(n+k)) get correctly merged by // the compiler into (c+d)*n + d*k (with c+d an...
codestation/go
test/mergemul.go
GO
bsd-3-clause
3,236
// 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.Linq.Expressions; namespace System.Dynamic { /// <summary> /// Represents a dynamic object, th...
iamjasonp/corefx
src/System.Dynamic.Runtime/src/System/Dynamic/IDynamicMetaObjectProvider.cs
C#
mit
1,145
// tslint:disable:no-unnecessary-generics import { ComponentType } from 'react'; import { EditorColor } from '../../'; declare namespace withColorContext { interface Props { colors: EditorColor[]; disableCustomColors: boolean; hasColorsToChoose: boolean; } } // prettier-ignore declare...
markogresak/DefinitelyTyped
types/wordpress__block-editor/components/color-palette/with-color-context.d.ts
TypeScript
mit
777
<?php /* $Id$ */ /** * translated by: Pietro Danesi <danone at users.sourceforge.net> 2002-03-29 * Revised by: "DPhantom" <dphantom at users.sourceforge.net> 2002-04-16 * Revised by: "Luca Rebellato" <rebeluca at users.sourceforge.net> 2007-07-26 */ $charset = 'iso-8859-1'; $text_dir = 'ltr'; $number_tho...
mwhitlaw/openemr
phpmyadmin/lang/italian-iso-8859-1.inc.php
PHP
gpl-2.0
70,896
/* Copyright (c) 2003, 2005 MySQL AB Use is subject to license terms 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; version 2 of the License. This program is distributed in the hope ...
fengshao0907/mysql
storage/ndb/test/odbc/client/SQLTransactTest.cpp
C++
gpl-2.0
8,798
/** * 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...
Guavus/hbase
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/RestartRandomRsAction.java
Java
apache-2.0
1,416
// Copyright JS Foundation and other contributors, http://js.foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
slaff/jerryscript
tests/jerry-test-suite/11/11.07/11.07.02/11.07.02-003.js
JavaScript
apache-2.0
674
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
plugins/examples/custom-settings/src/test/java/org/elasticsearch/example/customsettings/ExampleCustomSettingsConfigTests.java
Java
apache-2.0
1,583
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ /** * Contains the action definitions for SLM. For the transport ...
GlenRSmith/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/slm/action/package-info.java
Java
apache-2.0
490
// 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/basictypes.h" #include "base/strings/stringprintf.h" #include "chrome/browser/sync/profile_sync_service_harness.h" #include "chrome/bro...
espadrine/opera
chromium/src/chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc
C++
bsd-3-clause
4,017
<?php namespace Sabre\VObject\Recur\EventIterator; use DateTime; use DateTimeZone; use Sabre\VObject\Reader; class ExpandFloatingTimesTest extends \PHPUnit_Framework_TestCase { use \Sabre\VObject\PHPUnitAssertions; function testExpand() { $input = <<<ICS BEGIN:VCALENDAR VERSION:2.0 BEGIN:VEVENT UI...
ArcherSys/ArcherSys
vendor/sabre/vobject/tests/VObject/Recur/EventIterator/ExpandFloatingTimesTest.php
PHP
mit
2,389
/* Copyright 2017 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, ...
pragkent/aliyun-disk
vendor/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/well_known_annotations.go
GO
mit
913
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesRvHookup = (props) => ( <SvgIcon {...props}> <path d="M20 17v-6c0-1.1-.9-2-2-2H7V7l-3 3 3 3v-2h4v3H4v3c0 1.1.9 2 2 2h2c0 1.66 1.34 3 3 3s3-1.34 3-3h8v-2h-2zm-9 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1...
ichiohta/material-ui
src/svg-icons/places/rv-hookup.js
JavaScript
mit
534
/** * @abstract * @class Ext.chart.series.Cartesian * @extends Ext.chart.series.Series * * Common base class for series implementations which plot values using x/y coordinates. * * @constructor */ Ext.define('Ext.chart.series.Cartesian', { extend: 'Ext.chart.series.Series', config: { /** ...
DawidMyslak/native-vs-html5_android-performance
www/TakePhoto/touch/src/chart/series/Cartesian.js
JavaScript
mit
3,929
package cloudhsm import ( "github.com/awslabs/aws-sdk-go/aws" "github.com/awslabs/aws-sdk-go/internal/protocol/jsonrpc" "github.com/awslabs/aws-sdk-go/internal/signer/v4" ) // CloudHSM is a client for CloudHSM. type CloudHSM struct { *aws.Service } // Used for custom service initialization logic var initService ...
askreet/howiroll
vendor/src/github.com/awslabs/aws-sdk-go/service/cloudhsm/service.go
GO
mit
1,559
package registry import ( "fmt" "sort" "strings" "text/tabwriter" "golang.org/x/net/context" "github.com/docker/docker/api/types" registrytypes "github.com/docker/docker/api/types/registry" "github.com/docker/docker/cli" "github.com/docker/docker/cli/command" "github.com/docker/docker/opts" "github.com/do...
Originate/exosphere
vendor/github.com/moby/moby/cli/command/registry/search.go
GO
mit
3,550
/* * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.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 of the License, or (at your * option) any later ve...
Keldo/TrinityCore
src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp
C++
gpl-2.0
3,723
<?php /** * Test LocoAdmin::resolve_file_domain */ class ResolveFileDomainTest extends PHPUnit_Framework_TestCase { public function testDomainOnlySeparatesFromFileExtension(){ $domain = LocoAdmin::resolve_file_domain( '/foo.pot' ); $this->assertEquals( 'foo', $domain ); } p...
trungdovan87/bongda69
wp-content/plugins/loco-translate/lib/test/tests/ResolveFileDomainTest.php
PHP
gpl-2.0
1,625
/* Copyright 2017 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, ...
lojies/kubernetes
cmd/kubeadm/app/util/apiclient/init_dryrun.go
GO
apache-2.0
6,278
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
wseyler/pentaho-kettle
ui/src/main/java/org/pentaho/di/ui/spoon/SpoonPerspective.java
Java
apache-2.0
3,197
package liquibase.change.core.supplier; import liquibase.change.Change; import liquibase.change.ColumnConfig; import liquibase.change.core.CreateTableChange; import liquibase.change.core.RenameTableChange; import liquibase.diff.DiffResult; import liquibase.sdk.supplier.change.AbstractChangeSupplier; import liquibase.s...
tjardo83/liquibase
liquibase-core/src/main/java/liquibase/change/core/supplier/RenameTableChangeSupplier.java
Java
apache-2.0
1,575
// Copyright (C) 2004-2014 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...
xinchoubiology/gcc
libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc
C++
gpl-2.0
2,726
'use strict'; var grunt = require('grunt'); exports.concat_sourcemap = { setUp: function(done) { // setup here if necessary done(); }, default_options: function(test) { test.expect(2); var actual = grunt.file.read('tmp/default_options.js'); var expected = grunt.file.read('test/expected/defa...
alexsmander/alexmattorr
wp-content/themes/portfolio/node_modules/grunt-concat-sourcemap/test/concat_sourcemap_test.js
JavaScript
gpl-2.0
5,041
#!/usr/bin/python """ Ansible module to manage the ssh known_hosts file. Copyright(c) 2014, Matthew Vernon <mcv21@cam.ac.uk> This module 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 Li...
andreaso/ansible
lib/ansible/modules/system/known_hosts.py
Python
gpl-3.0
12,710
// Package logging provides access to the Google Cloud Logging API. // // See https://cloud.google.com/logging/docs/ // // Usage example: // // import "google.golang.org/api/logging/v1beta3" // ... // loggingService, err := logging.New(oauthHttpClient) package logging // import "google.golang.org/api/logging/v1be...
BradErz/kops
vendor/google.golang.org/api/logging/v1beta3/logging-gen.go
GO
apache-2.0
174,915
/* 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...
socaa/kubernetes
pkg/registry/thirdpartyresourcedata/codec_test.go
GO
apache-2.0
5,038
/* * 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")...
aaronzirbes/incubator-groovy
src/main/org/codehaus/groovy/ast/stmt/ReturnStatement.java
Java
apache-2.0
2,280
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
Helena-High/school-app
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java
Java
apache-2.0
4,366
# encoding: utf-8 module Mongoid module Validatable # Validates whether or not a field is unique against the documents in the # database. # # @example Define the uniqueness validator. # # class Person # include Mongoid::Document # field :title # # validates_uniqu...
charliehq/mongoid
lib/mongoid/validatable/uniqueness.rb
Ruby
mit
10,323
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ package im.actor.runtime.js.crypto; import com.google.gwt.core.client.JavaScriptObject; public class RsaKey extends JavaScriptObject { protected RsaKey() { } public final native String getPrivateKey()/*-{ return this.privateKey; }-*/; publ...
luoxiaoshenghustedu/actor-platform
actor-apps/runtime-js/src/main/java/im/actor/runtime/js/crypto/RsaKey.java
Java
mit
393
// 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. // /*============================================================================= ** ** ** ** Purpose: This class i...
swgillespie/coreclr
src/mscorlib/src/System/Threading/ThreadStart.cs
C#
mit
862
<?php /** * @file * Contains \Drupal\migrate_drupal\Tests\Table\d7\FieldDataFieldInteger. * * THIS IS A GENERATED FILE. DO NOT EDIT. * * @see core/scripts/migrate-db.sh * @see https://www.drupal.org/sandbox/benjy/2405029 */ namespace Drupal\migrate_drupal\Tests\Table\d7; use Drupal\migrate_drupal\Tests\Dump\...
komejo/d8demo-dev
web/core/modules/migrate_drupal/src/Tests/Table/d7/FieldDataFieldInteger.php
PHP
mit
2,545
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Build.Logging.StructuredLogger { /// <summary> /// Class representation of a logged item group entry. /// </summary> internal class...
cdmihai/msbuild
src/Samples/XmlFileLogger/ObjectModel/ItemGroup.cs
C#
mit
909
// ---------------------------------------------------------------------------------- // // 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...
AzureAutomationTeam/azure-powershell
src/StackAdmin/Resources/Commands.ResourceManager/Cmdlets/SdkModels/Deployments/PSResourceGroupDeployment.cs
C#
apache-2.0
2,004
// Copyright 2012 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 by applicabl...
esacosta/u-mooc
edu-courses/assets/js/activity-1.4.js
JavaScript
apache-2.0
3,756
//// [noImplicitReturnsWithoutReturnExpression.ts] function isMissingReturnExpression(): number { return; } function isMissingReturnExpression2(): any { return; } function isMissingReturnExpression3(): number|void { return; } function isMissingReturnExpression4(): void { return; } function isMissin...
plantain-00/TypeScript
tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js
JavaScript
apache-2.0
820
// 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 "sync/util/cryptographer.h" #include <algorithm> #include "base/base64.h" #include "base/basictypes.h" #include "base/logging.h" #include "...
KitKatXperience/platform_external_chromium_org
sync/util/cryptographer.cc
C++
bsd-3-clause
10,916
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\ResourceBundle\Tests; use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTes...
Ejobs/Sylius
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Configuration/ConfigurationTest.php
PHP
mit
1,925
/** * @author TristanVALCKE / https://github.com/Itee */ /* global QUnit */ import { PointLightHelper } from '../../../../src/helpers/PointLightHelper'; export default QUnit.module( 'Helpers', () => { QUnit.module( 'PointLightHelper', () => { // INHERITANCE QUnit.todo( "Extending", ( assert ) => { assert...
Aldrien-/three.js
test/unit/src/helpers/PointLightHelper.tests.js
JavaScript
mit
745
// 2001-11-25 Phil Edwards <pme@gcc.gnu.org> // // Copyright (C) 2001-2014 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 Sof...
xinchoubiology/gcc
libstdc++-v3/testsuite/ext/mt_allocator/check_delete.cc
C++
gpl-2.0
1,085
/** * @license * Copyright 2013 Palantir Technologies, 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...
mo-norant/FinHeartBel
website/node_modules/tslint/lib/rules/memberAccessRule.d.ts
TypeScript
gpl-3.0
1,404
'use strict'; var fs = require('fs'); var path = require('path'); var readdirp = require('readdirp'); var handlebars = require('handlebars'); var async = require('./async'); /** * Regex pattern for layout directive. {{!< layout }} */ var layoutPattern = /{{!<\s+([A-Za-z0-9\._\-\/]+)\s*}}/; /** * Constructor */ ...
vietpn/ghost-nodejs
node_modules/express-hbs/lib/hbs.js
JavaScript
mit
17,800