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
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
Bloodknight/Torque3D
Engine/source/T3D/fps/guiClockHud.cpp
C++
mit
6,994
import { Omit } from '@material-ui/types'; import { CreateCSSProperties, StyledComponentProps, WithStylesOptions, } from '@material-ui/styles/withStyles'; import { Theme as DefaultTheme } from './createMuiTheme'; import * as React from 'react'; // These definitions are almost identical to the ones in @material-u...
cdnjs/cdnjs
ajax/libs/material-ui/4.9.9/styles/styled.d.ts
TypeScript
mit
1,273
/******************************************************************************* * 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 ...
slemeur/che
wsmaster/che-core-api-auth/src/main/java/org/eclipse/che/security/oauth/shared/User.java
Java
epl-1.0
939
/* * Copyright (c) 2002 Frodo * Portions Copyright (c) by the authors of ffmpeg and xvid * Copyright (C) 2002-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 * ...
gripped/xbmc
xbmc/storage/IoSupport.cpp
C++
gpl-2.0
7,593
<?php if (! interface_exists ( 'PostmanZendMailTransportConfigurationFactory' )) { interface PostmanZendMailTransportConfigurationFactory { static function createConfig(PostmanTransport $transport); } } if (! class_exists ( 'PostmanBasicAuthConfigurationFactory' )) { class PostmanBasicAuthConfigurationFactory imp...
jasonglisson/susannerossi
wp-content/plugins/postman-smtp/Postman/Postman-Mail/PostmanZendMailTransportConfigurationFactory.php
PHP
gpl-2.0
4,937
<?php /** * Image select field class which uses images as radio options. */ class RWMB_Image_Select_Field extends RWMB_Field { /** * Enqueue scripts and styles */ static function admin_enqueue_scripts() { wp_enqueue_style( 'rwmb-image-select', RWMB_CSS_URL . 'image-select.css', array(), RWMB_VER ); wp_enq...
davydavv/carodech2
wp-content/themes/oshin/meta-box/inc/fields/image-select.php
PHP
gpl-2.0
1,589
/* * jQuery Plugin: Tokenizing Autocomplete Text Entry * Version 1.6.2 * * Copyright (c) 2009 James Smith (http://loopj.com) * Licensed jointly under the GPL and MIT licenses, * choose which one suits your project best! * */ ;(function ($) { var DEFAULT_SETTINGS = { // Search settings method: "GET", ...
younisd/domjudge
www/js/jquery.tokeninput.js
JavaScript
gpl-2.0
39,820
/* 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 ...
vanfanel/scummvm
engines/dragons/midimusicplayer.cpp
C++
gpl-2.0
5,842
// PR c++/91353 - P1331R2: Allow trivial default init in constexpr contexts. // { dg-do compile { target c++20 } } // In c++2a we don't emit a call to _ZN3FooI3ArgEC1Ev. struct Arg; struct Base { int i; virtual ~Base(); }; template <class> struct Foo : Base { }; Foo<Arg> a;
Gurgel100/gcc
gcc/testsuite/g++.dg/cpp2a/constexpr-init10.C
C++
gpl-2.0
280
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'button', 'sq', { selectedLabel: '%1 (Përzgjedhur)' } );
SeeyaSia/www
web/libraries/ckeditor/plugins/button/lang/sq.js
JavaScript
gpl-2.0
246
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
alexsh/Telegram
TMessagesProj/jni/voip/webrtc/media/engine/multiplex_codec_factory.cc
C++
gpl-2.0
4,111
<?php /** * @file * Contains \Drupal\locale\Tests\LocaleConfigTranslationImportTest. */ namespace Drupal\locale\Tests; use Drupal\simpletest\WebTestBase; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Core\Url; /** * Tests translation update's effects on configuration translations. * * @group loc...
webflo/d8-core
modules/locale/src/Tests/LocaleConfigTranslationImportTest.php
PHP
gpl-2.0
2,966
/* * Copyright (c) 2004, 2018, 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 ...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA10/ma10t001/ma10t001.cpp
C++
gpl-2.0
6,032
<?php return [ 'actions' => "действия", 'author' => "Автор", 'cancel' => "Отмена", 'create' => "Создать", 'delete' => "Удалить", 'deleted' => "Удаленный", 'description' => "Описание", 'edit' => "Редактир...
MontanaBanana/unidescription.com
vendor/riari/laravel-forum/translations/ru/general.php
PHP
gpl-2.0
1,886
<?php /** * This file is part of the Tmdb PHP API created by Michael Roterman. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package Tmdb * @author Michael Roterman <michael@wtfz.net> * @copyright (c) 2013, Michael Roterman *...
yorkulibraries/vufind
web/vendor/php-tmdb/api/lib/Tmdb/Model/Change.php
PHP
gpl-2.0
1,217
<?php // # Get Sale sample // Sale transactions are nothing but completed payments. // This sample code demonstrates how you can retrieve // details of completed Sale Transaction. // API used: /v1/payments/sale/{sale-id} /** @var Payment $payment */ $payment = require __DIR__ . '/../payments/CreatePayment.php'; use...
jhonrsalcedo/sitio
wp-content/plugins/realia/libraries/PayPal-PHP-SDK/sample/sale/GetSale.php
PHP
gpl-2.0
1,041
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP Version 4 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997-2002 The PHP ...
wassemgtk/OpenX-using-S3-and-CloudFront
lib/pear/HTML/Template/Flexy/Compiler/Flexy.php
PHP
gpl-2.0
29,721
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
dwango/quercus
src/main/java/com/caucho/quercus/marshal/JavaByteObjectArrayMarshal.java
Java
gpl-2.0
2,241
<?php /** * Base class that represents a row from the 'cc_smemb' table. * * * * @package propel.generator.airtime.om */ abstract class BaseCcSmemb extends BaseObject implements Persistent { /** * Peer class name */ const PEER = 'CcSmembPeer'; /** * The Peer class. * Instance provides a conven...
martin-craig/Airtime
airtime_mvc/application/models/airtime/om/BaseCcSmemb.php
PHP
gpl-3.0
23,769
L.Polyline.Measure = L.Draw.Polyline.extend({ addHooks: function() { L.Draw.Polyline.prototype.addHooks.call(this); if (this._map) { this._markerGroup = new L.LayerGroup(); this._map.addLayer(this._markerGroup); this._markers = []; this._map.on('click'...
sephiroth6/nodeshot
nodeshot/ui/default/static/ui/lib/js/leaflet.measurecontrol-customized.js
JavaScript
gpl-3.0
5,309
/************************************************************************ ** ** Copyright (C) 2012 John Schember <john@nachtimwald.com> ** Copyright (C) 2012 Dave Heiland ** Copyright (C) 2012 Grant Drake ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> ** ** This file is par...
uchuugaka/Sigil
src/Tabs/FlowTab.cpp
C++
gpl-3.0
47,948
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. // Code generated. DO NOT EDIT. package core import ( "github.com/oracle/oci-go-sdk/common" "net/http" ) // ListCrossConnectLocationsRequest wrapper for the ListCrossConnectLocations operation type ListCrossConnectLocationsRequest stru...
bryson/packer
vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_locations_request_response.go
GO
mpl-2.0
2,903
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Fre...
ua-eas/ua-kfs-5.3
work/src/org/kuali/kfs/module/tem/batch/service/impl/PerDiemFileParsingServiceImpl.java
Java
agpl-3.0
3,883
/* * re-quote.js * * Copyright (C) 2009-13 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FITNESS FOR A ...
rstudio/shiny-server
lib/core/re-quote.js
JavaScript
agpl-3.0
656
/* * eXist Open Source Native XML Database * Copyright (C) 2001-2009 The eXist Project * http://exist-db.org * * This program 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 * o...
MjAbuz/exist
src/org/exist/xquery/functions/fn/FunCurrentDateTime.java
Java
lgpl-2.1
4,868
/* * Copyright 2016 Red Hat, 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 ...
xasx/wildfly
testsuite/integration/manualmode/src/test/java/org/wildfly/test/manual/elytron/seccontext/WhoAmI.java
Java
lgpl-2.1
1,040
// --------------------------------------------------------------------- // // Copyright (C) 2009 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
lue/dealii
tests/fe/cell_similarity_dgp_nonparametric_01.cc
C++
lgpl-2.1
5,812
<?php class AddReviewedWordsCountToChunkReviews extends AbstractMatecatMigration { public $sql_up = <<<EOF ALTER TABLE `qa_chunk_reviews` ADD COLUMN `reviewed_words_count` integer NOT NULL DEFAULT 0 ; EOF; public $sql_down = <<<EOF ALTER TABLE `qa_chunk_reviews` DROP COLUMN `reviewed_words_count` ; EOF; ...
danizero/MateCat
migrations/20160124101801_add_reviewed_words_count_to_chunk_reviews.php
PHP
lgpl-3.0
322
#include <private/qmetaobjectbuilder_p.h> #include <QtOpenGL/QtOpenGL> #include <QtOpenGL/QGLFunctions> #include <QtQml/QtQml> #include <QQmlEngine> #include <QDebug> #include "govalue.h" #include "capi.h" class GoValueMetaObject : public QAbstractDynamicMetaObject { public: GoValueMetaObject(QObject* value, Go...
Ouroboros/goqml
src/cpp/govalue.cpp
C++
lgpl-3.0
8,198
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..utils import ( int_or_none, float_or_none, qualities, ) class GfycatIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?gfycat\.com/(?P<id>[^/?#]+)' _TEST = { 'url': 'http://gfycat.com/Deadly...
apllicationCOM/youtube-dl-api-server
youtube_dl_server/youtube_dl/extractor/gfycat.py
Python
unlicense
2,868
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * 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 ...
msrader/zap-extensions
src/org/zaproxy/zap/extension/exampleRightClickMsg/ExtensionRightClickMsgMenu.java
Java
apache-2.0
3,011
using System; using System.Data.Entity; using System.Transactions; namespace Nop.Data.Initializers { /// <summary> /// An implementation of IDatabaseInitializer that will <b>DELETE</b>, recreate, and optionally re-seed the /// database only if the model has changed since the database was created. This i...
jornfilho/nopCommerce
source/Libraries/Nop.Data/Initializers/DropCreateCeDatabaseIfModelChanges.cs
C#
apache-2.0
2,276
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You c...
OSVR/OSVR-Core
vendor/eigen/test/product_selfadjoint.cpp
C++
apache-2.0
3,502
/* * 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...
robin13/elasticsearch
server/src/test/java/org/elasticsearch/action/termvectors/TransportMultiTermVectorsActionTests.java
Java
apache-2.0
11,980
/* * 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 ...
jeffmart/incubator-trafficcontrol
traffic_monitor/datareq/version.go
GO
apache-2.0
1,170
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
jomarko/kie-wb-common
kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/widgets/grid/BaseExpressionGridTest.java
Java
apache-2.0
4,021
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.IO; using System.Xml; using System.Text; using System.Linq; using System.Collections.Generic; namespace Soomla { public class SoomlaManifestTools { #if UNITY_EDITOR public static void GenerateManifest() { var o...
john-gu/TuneSoomlaUnity
TuneSoomla/Assets/Plugins/Soomla/Core/Config/android/SoomlaManifestTools.cs
C#
apache-2.0
5,762
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package sqs import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/protocol/query" ) cons...
xiaozhu36/terraform-provider
vendor/github.com/hashicorp/terraform/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go
GO
apache-2.0
191,506
/* * 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...
miniway/presto
presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/organization/OrganizationJobFactory.java
Java
apache-2.0
1,784
/* * Copyright 2012-2017 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...
bclozel/spring-boot
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java
Java
apache-2.0
2,844
package network // 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 // // Unl...
Miciah/origin
vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-11-01/network/routefilterrules.go
GO
apache-2.0
20,757
/* * Copyright 2000-2013 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...
asedunov/intellij-community
plugins/google-app-engine/jps-plugin/src/org/jetbrains/jps/appengine/model/impl/AppEngineModuleExtensionProperties.java
Java
apache-2.0
1,360
define( //begin v1.x content { "months-format-narrow": [ "E", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D" ], "field-weekday": "día de la semana", "dateFormatItem-yyQQQQ": "QQQQ 'de' yy", "dateFormatItem-yQQQ": "QQQ y", "dateFormatItem-yMEd": "EEE d/M/y", "dateFormatItem-MMMEd": ...
sulistionoadi/belajar-springmvc-dojo
training-web/src/main/webapp/js/dojotoolkit/dojo/cldr/nls/es/gregorian.js
JavaScript
apache-2.0
3,916
/* Copyright 2016 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, ...
yaxinlx/apiserver-builder
cmd/vendor/k8s.io/kubernetes/cmd/kubeadm/app/images/images.go
GO
apache-2.0
1,741
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.javascript; ...
abdullah38rcc/closure-compiler
lib/rhino/src/org/mozilla/javascript/NativeGlobal.java
Java
apache-2.0
26,767
/** * 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...
kevinearls/camel
components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/ZooKeeperOperation.java
Java
apache-2.0
3,582
/* * Copyright 2019 The Netty Project * * The Netty Project 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
doom369/netty
codec-dns/src/main/java/io/netty/handler/codec/dns/TcpDnsResponseDecoder.java
Java
apache-2.0
2,622
/* * Copyright (c) 2005-2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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.ap...
thariyarox/product-is
modules/migration/migration-5.0.0_to_5.1.0/wso2-is-migration-client/src/main/java/org/wso2/carbon/is/migration/MigrationDatabaseCreator.java
Java
apache-2.0
11,693
// Copyright 2011 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 "cc/trees/layer_sorter.h" #include <algorithm> #include <deque> #include <limits> #include <vector> #include "base/logging.h" #include "cc/base...
plxaye/chromium
src/cc/trees/layer_sorter.cc
C++
apache-2.0
17,413
import unittest import os from os.path import abspath, join from robot.running.importer import ImportCache from robot.errors import FrameworkError from robot.utils.asserts import assert_equal, assert_true, assert_raises from robot.utils import normpath class TestImportCache(unittest.TestCase): def setUp(self): ...
alexandrul-ci/robotframework
utest/running/test_importer.py
Python
apache-2.0
2,640
/* 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, ...
tallclair/kubernetes
cmd/kube-apiserver/app/testing/testserver.go
GO
apache-2.0
10,075
/** * 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...
jmandawg/camel
components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java
Java
apache-2.0
21,922
# Copyright 2018 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...
jendap/tensorflow
tensorflow/compiler/tests/xla_ops_test.py
Python
apache-2.0
12,658
/* * 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...
goodwinnk/intellij-community
xml/xml-analysis-impl/src/com/intellij/codeInspection/htmlInspections/RemoveExtraClosingTagIntentionAction.java
Java
apache-2.0
4,261
/* * 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 ...
ShellyLC/nifi
nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/test/java/org/apache/nifi/hbase/TestPutHBaseJSON.java
Java
apache-2.0
22,814
/* * Copyright 2000-2013 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...
apixandru/intellij-community
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/ExternalSystemStartupActivity.java
Java
apache-2.0
3,059
/** * 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...
CandleCandle/camel
components/camel-testng/src/main/java/org/apache/camel/testng/CamelTestSupport.java
Java
apache-2.0
25,944
"""Support Wink alarm control panels.""" import pywink import homeassistant.components.alarm_control_panel as alarm from homeassistant.components.alarm_control_panel.const import ( SUPPORT_ALARM_ARM_AWAY, SUPPORT_ALARM_ARM_HOME, ) from homeassistant.const import ( STATE_ALARM_ARMED_AWAY, STATE_ALARM_AR...
sdague/home-assistant
homeassistant/components/wink/alarm_control_panel.py
Python
apache-2.0
2,276
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace OpacityBindingXaml.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally respon...
YOTOV-LIMITED/xamarin-forms-book-preview-2
Chapter16/OpacityBindingXaml/OpacityBindingXaml/OpacityBindingXaml.iOS/AppDelegate.cs
C#
apache-2.0
1,111
steal("jquerypp/event/hover", 'funcunit/syn', 'funcunit/qunit', function ($, Syn) { module("jquerypp/dom/hover") test("hovering", function () { $("#qunit-test-area").append("<div id='hover'>Content<div>") var hoverenters = 0, hoverinits = 0, hoverleaves = 0, delay = 15; $("#hover").bind("hoverinit", ...
willametteuniversity/webcirc2
static/jquerypp/event/hover/hover_test.js
JavaScript
apache-2.0
2,166
<?php /** * @file * Definition of Drupal\views\Tests\TokenReplaceTest. */ namespace Drupal\views\Tests; /** * Tests core view token replacement. */ class TokenReplaceTest extends ViewUnitTestBase { public static $modules = array('system'); /** * Views used by this test. * * @var array */ pub...
nickopris/musicapp
www/core/modules/views/lib/Drupal/views/Tests/TokenReplaceTest.php
PHP
apache-2.0
1,734
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
jabbrwcky/selenium
java/client/src/org/openqa/selenium/support/ui/Clock.java
Java
apache-2.0
1,621
/* Copyright 2015 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, ...
djosborne/kubernetes
staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/defaults.go
GO
apache-2.0
4,758
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; namespace MandelbrotProgress.WinPhone { public partial class MainPage : global::Xa...
YOTOV-LIMITED/xamarin-forms-book-preview-2
Chapter20/MandelbrotProgress/MandelbrotProgress/MandelbrotProgress.WinPhone/MainPage.xaml.cs
C#
apache-2.0
658
// 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 ma...
apache/reef
lang/cs/Org.Apache.REEF.Bridge.Core.Tests/Fail/Driver/NoopTask.cs
C#
apache-2.0
4,885
using System.Web.Mvc; using System.Web.Routing; using Nop.Web.Framework; using Nop.Web.Framework.Mvc; namespace Nop.Admin.Models.Shipping { public partial class ShippingRateComputationMethodModel : BaseNopModel { [NopResourceDisplayName("Admin.Configuration.Shipping.Providers.Fields.FriendlyName")] ...
jornfilho/nopCommerce
source/Presentation/Nop.Web/Administration/Models/Shipping/ShippingRateComputationMethodModel.cs
C#
apache-2.0
1,179
package com.crawljax.browser; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Patte...
mmayorivera/crawljax
core/src/main/java/com/crawljax/browser/WebDriverBackedEmbeddedBrowser.java
Java
apache-2.0
26,622
package com.wangjie.recyclerview.example; import com.wangjie.androidinject.annotation.present.AIAppCompatActivity; /** * Author: wangjie * Email: tiantian.china.2@gmail.com * Date: 7/10/15. */ public class BaseActivity extends AIAppCompatActivity{ }
jackyglony/RecyclerViewSample
example/src/main/java/com/wangjie/recyclerview/example/BaseActivity.java
Java
apache-2.0
256
/* * Copyright 2021 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...
thomasdarimont/keycloak
services/src/main/java/org/keycloak/services/clientpolicy/condition/ClientUpdaterContextConditionFactory.java
Java
apache-2.0
3,749
package com.linkedin.databus2.producers.ds; import org.apache.avro.Schema; /* * * Copyright 2013 LinkedIn Corp. 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 * * htt...
rahuljoshi123/databus
databus2-relay/databus2-event-producer-common/src/main/java/com/linkedin/databus2/producers/ds/KeyPair.java
Java
apache-2.0
1,479
// 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 // distributed ...
ruhip/mesos1.0.1_20170518
3rdparty/libprocess/include/process/metrics/metric.hpp
C++
apache-2.0
2,391
<?php /** * Directory utilities. * * Copyright: © 2009-2011 * {@link http://www.websharks-inc.com/ WebSharks, Inc.} * (coded in the USA) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory,...
Juni4567/meritscholarship
wp-content/plugins3/s2member/includes/classes/utils-dirs.inc.php
PHP
apache-2.0
8,976
/* * Copyright 2012 The Netty Project * * The Netty Project 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
NiteshKant/netty
example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerHandler.java
Java
apache-2.0
2,044
// 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 "components/data_reduction_proxy/content/browser/content_lofi_decider.h" #include <string> #include "components/data_reduction_proxy/core/commo...
js0701/chromium-crosswalk
components/data_reduction_proxy/content/browser/content_lofi_decider.cc
C++
bsd-3-clause
3,602
// 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 "chrome/browser/search_engines/search_provider_install_state_message_filter.h" #include "base/bind.h" #include "base/logging.h" #include "ch...
boundarydevices/android_external_chromium_org
chrome/browser/search_engines/search_provider_install_state_message_filter.cc
C++
bsd-3-clause
3,699
// 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 "components/policy/core/browser/browser_policy_connector_base.h" #include <stddef.h> #include <utility> #include <vector> #include "base/check....
chromium/chromium
components/policy/core/browser/browser_policy_connector_base.cc
C++
bsd-3-clause
5,589
// 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 "gpu/command_buffer/service/test_helper.h" #include <algorithm> #include <string> #include "base/strings/string_number_conversions.h" #incl...
jaruba/chromium.src
gpu/command_buffer/service/test_helper.cc
C++
bsd-3-clause
29,937
# 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. import collections import logging import os import tempfile import types from pylib import cmd_helper from pylib import constants from pylib.utils import de...
mxOBS/deb-pkg_trusty_chromium-browser
build/android/pylib/utils/md5sum.py
Python
bsd-3-clause
2,266
/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #ifndef GRAPHLAB_SFRAME_QUERY_ENGINE_INFER_OPERATOR_FIELD_H_ #define GRAPHLAB_SFRAME_QUERY_ENGINE_INFER_OPERATOR_FIELD_H_ #includ...
jasonyaw/SFrame
oss_src/sframe_query_engine/operators/operator_properties.hpp
C++
bsd-3-clause
4,422
//===- llvm/unittest/ADT/FoldingSetTest.cpp -------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
endlessm/chromium-browser
third_party/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/FoldingSet.cpp
C++
bsd-3-clause
4,642
# Licensed under a 3-clause BSD style license - see LICENSE.rst from urllib.parse import parse_qs from urllib.request import urlopen from astropy.utils.data import get_pkg_data_contents from .standard_profile import (SAMPSimpleXMLRPCRequestHandler, ThreadingXMLRPCServer) __all__ = []...
pllim/astropy
astropy/samp/web_profile.py
Python
bsd-3-clause
5,583
/* CertificatePolicies.java -- certificate policy extension. Copyright (C) 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/libjava/classpath/gnu/java/security/x509/ext/CertificatePolicies.java
Java
bsd-3-clause
7,046
// 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. #include "chrome/browser/themes/theme_service_aurax11.h" #include "base/bind.h" #include "base/prefs/pref_service.h" #include "chrome/browser/profiles/pr...
TeamEOS/external_chromium_org
chrome/browser/themes/theme_service_aurax11.cc
C++
bsd-3-clause
2,910
// 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 "chrome/common/extensions/event_filtering_info.h" #include "base/values.h" #include "base/json/json_writer.h" namespace extensions { Event...
leiferikb/bitpop-private
chrome/common/extensions/event_filtering_info.cc
C++
bsd-3-clause
1,160
#include <string> #if !defined (STLPORT) || !defined (_STLP_USE_NO_IOSTREAMS) # include <fstream> # include <iostream> # include <iomanip> # include <sstream> # include <vector> # include <memory> # include "full_streambuf.h" # include "cppunit/cppunit_proxy.h" # if !defined (STLPORT) || defined(_STLP_USE_NA...
jdrider/rhodes
platform/shared/stlport/test/unit/fstream_test.cpp
C++
mit
15,172
# encoding: utf-8 module Mongoid #:nodoc module Hierarchy #:nodoc extend ActiveSupport::Concern included do attr_accessor :_parent end # Get all child +Documents+ to this +Document+, going n levels deep if # necessary. This is used when calling update persistence operations from # the ...
alexmreis/mongoid
lib/mongoid/hierarchy.rb
Ruby
mit
3,640
<?php /** * Go! OOP&AOP PHP framework * * @copyright Copyright 2011, Lissachenko Alexander <lisachenko.it@gmail.com> * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ namespace Go\Aop\Framework; class MethodAfterInterceptorTest extends AbstractMethodInterceptorTest { ...
clausche/laragit
vendor/lisachenko/go-aop-php/tests/Go/Aop/Framework/MethodAfterInterceptorTest.php
PHP
mit
1,467
require 'spec_helper' describe 'homebrew::formula' do let(:facts) do { :boxen_home => '/opt/boxen', :boxen_user => 'testuser', } end let(:title) { 'clojure' } context 'with source provided' do let(:params) do { :source => 'puppet:///modules/whatever/my_special_formula.rb...
joebadmo/puppet-reattachtousernamespace
spec/fixtures/modules/homebrew/spec/defines/homebrew__formula_spec.rb
Ruby
mit
764
require File.expand_path "../test_helper", __FILE__ context "ShowOff Utils tests" do setup do end # create, init - Create new showoff presentation test "can initialize a new preso" do files = [] in_temp_dir do ShowOffUtils.create('testing', true) files = Dir.glob('testing/**/*') end ...
travisvalentine/7.27_showoff
test/utils_test.rb
Ruby
mit
2,616
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Umbraco.Core; using Umbraco.Core.PropertyEditors; using umbraco; using ClientDependency.Core; using Constants = Umbraco.Core.Constants; namespace Umbraco.Web.PropertyEditors { /// <summary> /// A property editor to allow the individual selecti...
abryukhov/Umbraco-CMS
src/Umbraco.Web/PropertyEditors/DropDownPropertyEditor.cs
C#
mit
1,386
//--------------------------------------------------------------------- // <copyright file="IEdmIntegerConstantExpression.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //------------------------...
hotchandanisagar/odata.net
src/Microsoft.OData.Edm/Interfaces/Expressions/IEdmIntegerConstantExpression.cs
C#
mit
651
// Copyright (c) 2009-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif #include <arith_uint256.h> #include <clientversion.h> #...
pstratem/bitcoin
src/bitcoin-util.cpp
C++
mit
6,424
using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(UWPHolsService.Startup))] namespace UWPHolsService { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureMobileApp(app); } } }
Windows-Readiness/WinDevWorkshop
RU/!RU 05. Cloud Integration/05. Exercise 1/Begin-Cloud/UWPHolsService/Startup.cs
C#
mit
273
<?php // Start of uploadprogress v.1.0.3.1 function uploadprogress_get_info () {} function uploadprogress_get_contents () {} // End of uploadprogress v.1.0.3.1 ?>
AsaiKen/phpscan
tools/language/php5.4/uploadprogress.php
PHP
mit
167
require 'action_controller' require 'action_controller/test_process' require 'will_paginate' WillPaginate.enable_actionpack ActionController::Routing::Routes.draw do |map| map.connect 'dummy/page/:page', :controller => 'dummy' map.connect ':controller/:action/:id' end ActionController::Base.perform_caching = fal...
technoweenie/mephisto
vendor/gems/will_paginate-2.2.2/test/lib/view_test_process.rb
Ruby
mit
1,244
package com.googlecode.goclipse.ui.navigator; import java.net.URI; import org.eclipse.core.filesystem.EFS; import org.eclipse.core.filesystem.IFileStore; import org.eclipse.core.resources.IFile; import org.eclipse.core.runtime.CoreException; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jf...
fredyw/goclipse
plugin_ide.ui/src/com/googlecode/goclipse/ui/navigator/NavigatorLinkHelper.java
Java
epl-1.0
2,207
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * 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 */...
johannrichard/openhab2-addons
addons/binding/org.openhab.binding.nibeheatpump/src/main/java/org/openhab/binding/nibeheatpump/internal/protocol/NibeHeatPumpProtocolState.java
Java
epl-1.0
721
<?php /** * File containing the TextLine Value class * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * @version //autogentag// */ namespace eZ\Publish\Core\FieldType\TextLine; use eZ\Publi...
vidarl/ezpublish-kernel
eZ/Publish/Core/FieldType/TextLine/Value.php
PHP
gpl-2.0
855
package org.wordpress.android.util; import android.test.InstrumentationTestCase; import java.util.HashMap; import java.util.Map; public class UrlUtilsTest extends InstrumentationTestCase { public void testGetDomainFromUrlWithEmptyStringDoesNotReturnNull() { assertNotNull(UrlUtils.getDomainFromUrl("")); ...
AftonTroll/WordPress-Android
libs/utils/WordPressUtils/src/androidTest/java/org/wordpress/android/util/UrlUtilsTest.java
Java
gpl-2.0
3,008
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | ...
Tate-ad/revive-adserver
plugins_repo/demoExtension/www/admin/plugins/demoUserInterface/demoUI-page.php
PHP
gpl-2.0
2,592