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
var expect = require('expect.js'), defaultOpts = require('..').prototype.options, _ = require('lodash'), parse = require('../lib/parse'), render = require('../lib/render'); var html = function(str, options) { options = _.defaults(options || {}, defaultOpts); var dom = parse(str, options); return ...
JHand93/WebPerformanceTestSuite
webpagetest-charts-api/node_modules/cheerio/test/render.js
JavaScript
mit
2,628
"use strict"; var path = require('canonical-path'); var packagePath = __dirname; var Package = require('dgeni').Package; // Create and export a new Dgeni package called angularjs. This package depends upon // the ngdoc, nunjucks, and examples packages defined in the dgeni-packages npm module. module.exports = new Pa...
JonFerrera/angular.js
docs/config/index.js
JavaScript
mit
5,289
//--------------------------------------------------------------------- // <copyright file="CustomizeNamingTest.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------------------...
abkmr/odata.net
test/EndToEndTests/Tests/Client/Build.Desktop/CodeGenerationTests/CustomizeNamingTest.cs
C#
mit
24,396
var debug = require('debug')('keystone:core:openDatabaseConnection'); module.exports = function openDatabaseConnection (callback) { var keystone = this; var mongoConnectionOpen = false; // support replica sets for mongoose if (keystone.get('mongo replica set')) { if (keystone.get('logger')) { console.log('...
andreufirefly/keystone
lib/core/openDatabaseConnection.js
JavaScript
mit
2,539
#ifndef NUMEXPR_OBJECT_HPP #define NUMEXPR_OBJECT_HPP /********************************************************************* Numexpr - Fast numerical array expression evaluator for NumPy. License: MIT Author: See AUTHORS.txt See LICENSE.txt for details about copyright and rights to use. ****...
Alwnikrotikz/numexpr
numexpr/numexpr_object.hpp
C++
mit
1,069
// Zepto.js // (c) 2010-2015 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice, document = window.document, element...
nongfadai/front_demo
web/src/notuse/app/lib/zepto/zepto.js
JavaScript
mit
69,690
var kunstmaanbundles = kunstmaanbundles || {}; kunstmaanbundles.datepicker = (function($, window, undefined) { var init, reInit, _setDefaultDate, _initDatepicker; var _today = window.moment(), _tomorrow = window.moment(_today).add(1, 'days'); var defaultFormat = 'DD-MM-YYYY', defaultColl...
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Resources/ui/js/_datepicker.js
JavaScript
mit
4,312
/* * Copyright 2012 Evernote Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of co...
daimajia/EverMemo-EverNote
src/com/evernote/client/android/AsyncLinkedNoteStoreClient.java
Java
mit
9,741
// 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 Xunit; namespace System.Collections.Sequences.Tests { public class Sequ...
KrzysztofCwalina/corefxlab
tests/System.Collections.Sequences.Tests/BasicUnitTests.cs
C#
mit
2,965
package de.hilling.maven.release.testprojects.versioninheritor; import org.junit.Assert; import org.junit.Test; public class CalculatorTest { @Test public void testAdd() throws Exception { Assert.assertEquals(3, new Calculator().add(1, 2)); System.out.println("The Calculator Test has run"); ...
guhilling/smart-release-plugin
test-projects/parent-as-sibling/core-utils/src/test/java/de/hilling/maven/release/testprojects/versioninheritor/CalculatorTest.java
Java
mit
369
<?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/Collection/QueryParametersCollection.php
PHP
gpl-2.0
555
using System; using System.Collections.Generic; using System.Text; namespace Rssdp { /// <summary> /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events. /// </summary> public sealed class DeviceEventArgs : EventArgs { #region Fields private read...
gerrit507/Emby
RSSDP/DeviceEventArgs.cs
C#
gpl-2.0
1,125
// { dg-do compile { target c++11 } } #include "../abi/mangle55.C"
Gurgel100/gcc
gcc/testsuite/g++.dg/analyzer/pr93899.C
C++
gpl-2.0
67
<?php namespace Drupal\KernelTests\Core\Datetime; use Drupal\KernelTests\KernelTestBase; use Drupal\language\Entity\ConfigurableLanguage; /** * Tests date formatting. * * @group Common * @coversDefaultClass \Drupal\Core\Datetime\DateFormatter */ class DateFormatterTest extends KernelTestBase { /** * {@inh...
tobiasbuhrer/tobiasb
web/core/tests/Drupal/KernelTests/Core/Datetime/DateFormatterTest.php
PHP
gpl-2.0
6,727
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
armenrz/adempiere
base/src/org/compiere/model/I_AD_WF_Responsible.java
Java
gpl-2.0
6,101
/* * Copyright (C) 2008-2018 TrinityCore <https://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 v...
Golrag/TrinityCore
src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
C++
gpl-2.0
12,484
package com.codename1.ui.layouts.mig; import com.codename1.ui.Display; import java.util.ArrayList; import java.util.HashMap; /* * License (BSD): * ============== * * Copyright (c) 2004, Mikael Grev, MiG InfoCom AB. (miglayout (at) miginfocom (dot) com) * All rights reserved. * * Redistribution and u...
JrmyDev/CodenameOne
CodenameOne/src/com/codename1/ui/layouts/mig/LinkHandler.java
Java
gpl-2.0
6,705
require 'test/unit' require 'soap/rpc/driver' require 'soap/rpc/standaloneServer' require 'soap/header/simplehandler' module SOAP module Header class TestAuthHeader < Test::Unit::TestCase Port = 17171 PortName = 'http://tempuri.org/authHeaderPort' MyHeaderName = XSD::QName.new("http://tempuri.org/authHeader",...
jacques/connector
vendor/gems/soap4r-1.5.5.20061022/test/soap/header/test_authheader.rb
Ruby
gpl-2.0
5,284
####################################################################### # # Author: Malte Helmert (helmert@informatik.uni-freiburg.de) # (C) Copyright 2003-2004 Malte Helmert # # This file is part of LAMA. # # LAMA is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public Li...
PlanTool/plantool
wrappingPlanners/Deterministic/LAMA/seq-sat-lama/lama/translate/pddl/pretty_print.py
Python
gpl-2.0
2,178
<?php namespace Drupal\KernelTests\Core\Extension; use Drupal\KernelTests\KernelTestBase; /** * @coversDefaultClass \Drupal\Core\Extension\ThemeExtensionList * @group Extension */ class ThemeExtensionListTest extends KernelTestBase { /** * @covers ::getList */ public function testGetlist() { \Drupa...
tobiasbuhrer/tobiasb
web/core/tests/Drupal/KernelTests/Core/Extension/ThemeExtensionListTest.php
PHP
gpl-2.0
1,189
<?php /** * @package com_zoo Component * @file category.php * @version 2.4.9 May 2011 * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) 2007 - 2011 YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ /* Class: Category Category related attributes and...
berkeley-amsa/amsa
tmp/install_4e730b9d77cb3/admin/classes/category.php
PHP
gpl-2.0
8,168
/* * Copyright (C) 2016 Team Kodi * http://kodi.tv * * 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. * * This P...
hackthis02/xbmc
xbmc/input/joysticks/dialogs/GUIDialogNewJoystick.cpp
C++
gpl-2.0
1,952
#!/usr/bin/env python """ turtle-example-suite: xtx_lindenmayer_indian.py Each morning women in Tamil Nadu, in southern India, place designs, created by using rice flour and known as kolam on the thresholds of their homes. These can be described by Lindenmayer systems, which can easily be implemented w...
teeple/pns_server
work/install/Python-2.7.4/Demo/turtle/tdemo_lindenmayer_indian.py
Python
gpl-2.0
2,432
/* * Copyright (C) 2005-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #include "platform/Filesystem.h" #include "platform/win32/CharsetConverter.h" #include <Windows.h> namespace win = KODI::PLAT...
asavah/xbmc
xbmc/platform/win32/Filesystem.cpp
C++
gpl-2.0
2,486
// Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "VideoCommon/Fifo.h" #include <atomic> #include <cstring> #include "Common/Assert.h" #include "Common/Atomic.h" #include "Common/BlockingLoop.h" #include "Common/ChunkFile.h" #include "Common/Event...
LAGonauta/dolphin
Source/Core/VideoCommon/Fifo.cpp
C++
gpl-2.0
18,046
<?php /** * Copyright 2013 Go Daddy Operating Company, LLC. All Rights Reserved. */ // Make sure it's wordpress if ( !defined( 'ABSPATH' ) ) die( 'Forbidden' ); /** * Class GD_System_Plugin_Config * Handle reading system and reseller configurations * @version 1.0 * @author Kurt Payne <kpayne@godaddy.com> ...
amyevans/davmschool
wp-content/mu-plugins/gd-system-plugin/class-gd-system-plugin-config.php
PHP
gpl-2.0
1,813
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
keegan2149/magento
sites/default/app/code/core/Mage/Core/Model/Website.php
PHP
gpl-2.0
13,740
// Test that g++ complains about referring to a builtin type in a // mem-initializer. // Contributed by Kevin Buhr <buhr@stat.wisc.edu> int r = 0; struct foo { // ERROR - candidate foo(int x) { r = 1; } // ERROR - candidate }; struct bar : foo { typedef int an_int; bar() : bar::an_int(3) {} // ERROR ...
nslu2/Build-gcc-3.2.1
gcc/testsuite/g++.old-deja/g++.robertl/eb69.C
C++
gpl-2.0
373
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
keegan2149/magento
sites/default/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Design/Package.php
PHP
gpl-2.0
1,419
# encoding: utf-8 import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): objs = orm.ProjectApplication.objects apps = objs.filter(chain__chained_project=None).order_by( 'chain', '-...
grnet/synnefo
snf-astakos-app/astakos/im/migrations/old/0043_uninitialized_projects.py
Python
gpl-3.0
25,194
#!/usr/bin/python # This file is part of Ansible # # Ansible 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. # # Ansible is distributed...
wimnat/ansible-modules-core
cloud/amazon/ec2.py
Python
gpl-3.0
61,472
// ReSharper disable All using System; using System.Diagnostics; using System.Linq; using MixERP.Net.Api.Transactions.Fakes; using MixERP.Net.ApplicationState.Cache; using Xunit; namespace MixERP.Net.Api.Transactions.Tests { public class GetPurchaseTests { public static GetPurchaseController Fixture() ...
gguruss/mixerp
src/Libraries/Web API/Transactions/Tests/GetPurchaseTests.cs
C#
gpl-3.0
720
using System; using System.Collections.ObjectModel; using System.Globalization; using System.Linq; using MixERP.Net.Common; using MixERP.Net.Core.Modules.Sales.Data.Data; using MixERP.Net.DbFactory; using MixERP.Net.Entities.Core; using MixERP.Net.Entities.Transactions.Models; using Npgsql; namespace MixERP.Net.Core....
mixerp/mixerp
src/FrontEnd/Modules/Sales.Data/Transactions/GlTransaction.cs
C#
gpl-3.0
4,220
/** * Copyright 2015 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 to in wr...
lemio/w-esp
w-esp-node-red/red/runtime/nodes/flows/Flow.js
JavaScript
gpl-3.0
16,004
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'removeformat', 'en-gb', { toolbar: 'Remove Format' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js
JavaScript
gpl-3.0
227
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'flash', 'ku', { access: 'دەستپێگەیشتنی نووسراو', accessAlways: 'هەمیشه', accessNever: 'هەرگیز', accessSameDomain: 'هەمان دۆمەین', alignAbsBottom:...
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/flash/lang/ku.js
JavaScript
gpl-3.0
1,731
// Copyright 2010 the V8 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. #ifdef ENABLE_GDB_JIT_INTERFACE #include "src/v8.h" #include "src/base/platform/platform.h" #include "src/bootstrapper.h" #include "src/compiler.h" #in...
xushiwei/fibjs
vender/src/v8/src/gdb-jit.cc
C++
gpl-3.0
63,323
#-- # Copyright (c) 2004-2010 David Heinemeier Hansson # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, m...
mzemel/kpsu.org
vendor/gems/ruby/1.8/gems/activerecord-3.0.3/lib/active_record.rb
Ruby
gpl-3.0
3,626
package org.thoughtcrime.securesms.push; import android.content.Context; import org.thoughtcrime.securesms.BuildConfig; import org.thoughtcrime.securesms.util.TextSecurePreferences; import org.whispersystems.signalservice.api.SignalServiceAccountManager; public class TextSecureCommunicationFactory { public static...
IBobko/signal
src/org/thoughtcrime/securesms/push/TextSecureCommunicationFactory.java
Java
gpl-3.0
1,107
/* 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/>. */ const path = require("path"); const util = require("util"); const _ = require("lodash"); const webpack = require...
darkwing/debugger.html
test/mochitest/examples/sourcemapped/builds/webpack4-babel7/index.js
JavaScript
mpl-2.0
2,374
<?php return array( 'about_asset_depreciations' => 'Over afschrijving van materiaal', 'about_depreciations' => 'U kan de materiaalafschrijving instellen om materiaal af te schrijven op basis van lineaire afschrijving.', 'asset_depreciations' => 'Materiaalafschrijvingen', 'create' ...
madd15/snipe-it
resources/lang/nl/admin/depreciations/general.php
PHP
agpl-3.0
528
# Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra # # This file is part of Essentia # # Essentia 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 Free # Software Foundation (FSF), either version 3 of the ...
GiantSteps/essentia
src/examples/python/streaming_extractor/level.py
Python
agpl-3.0
4,852
require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) require_relative '../app/lib/exceptions' require_relative '../lib/paperclip/lazy_thumbnail' require_relative '../lib/paperclip/g...
SerCom-KC/mastodon
config/application.rb
Ruby
agpl-3.0
2,782
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
fionakim/biojava
biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmcif/model/PdbxNonPolyScheme.java
Java
lgpl-2.1
2,607
/* * JBoss, Home of Professional Open Source. * Copyright 2008, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
xasx/wildfly
iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/LocalIDLType.java
Java
lgpl-2.1
1,319
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.formatting; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile...
siosio/intellij-community
platform/code-style-api/src/com/intellij/formatting/FormattingModelBuilder.java
Java
apache-2.0
3,839
/* * Copyright 2014 JBoss 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 i...
jasonchaffee/apiman
manager/api/beans/src/main/java/io/apiman/manager/api/beans/clients/ClientStatus.java
Java
apache-2.0
790
/* * Copyright 2015-present Open Networking Laboratory * * 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 appli...
VinodKumarS-Huawei/ietf96yang
core/api/src/main/java/org/onosproject/ui/table/TableRequestHandler.java
Java
apache-2.0
5,111
/* * Copyright (c) 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.apache.org/licenses...
SupunS/carbon-identity
components/identity/org.wso2.carbon.identity.entitlement.ui/src/main/java/org/wso2/carbon/identity/entitlement/ui/PolicyEditorConstants.java
Java
apache-2.0
8,025
package health; import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache; import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater; import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStatisticsClient; import com.ning.http.client.AsyncHttpClient; import com.ning.http.cl...
dneuman64/traffic_control
traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
Java
apache-2.0
1,971
/* * Copyright 2000-2014 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...
ivan-fedorov/intellij-community
python/src/com/jetbrains/python/psi/impl/PyFunctionImpl.java
Java
apache-2.0
26,495
/* * 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
server/src/main/java/org/elasticsearch/common/settings/ConsistentSettingsService.java
Java
apache-2.0
13,526
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using DocumentFormat.OpenXml.Validation; using Sy...
JesseQin/Open-XML-SDK
src/ofapi/Validation/SemanticValidation/SemanticConstraint/RelationshipExistConstraint.cs
C#
apache-2.0
1,905
# 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 agreed to in...
HybridF5/nova
nova/tests/unit/virt/test_block_device.py
Python
apache-2.0
45,741
/* * 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 ...
irudyak/ignite
examples/src/test/java/org/apache/ignite/examples/MemcacheRestExamplesMultiNodeSelfTest.java
Java
apache-2.0
1,462
// RUN: %clang_cc1 -fsyntax-only -verify %s // Errors export class foo { }; // expected-error {{expected template}} template x; // expected-error {{C++ requires a type specifier for all declarations}} \ // expected-error {{does not refer}} export template x; // expected-error...
jeltz/rust-debian-package
src/llvm/tools/clang/test/Parser/cxx-template-decl.cpp
C++
apache-2.0
4,541
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use t...
terryturner/VRPinGMapFx
jsprit-master/jsprit-io/src/main/java/com/graphhopper/jsprit/io/algorithm/AlgorithmConfig.java
Java
apache-2.0
1,141
# Copyright (c) 2014 VMware, 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 requir...
zhimin711/nova
nova/tests/unit/virt/vmwareapi/test_network_util.py
Python
apache-2.0
9,191
require 'fog/libvirt' require 'fog/compute' require 'fog/libvirt/models/compute/util/util' require 'fog/libvirt/models/compute/util/uri' module Fog module Compute class Libvirt < Fog::Service requires :libvirt_uri recognizes :libvirt_username, :libvirt_password recognizes :libvirt_ip_command...
luna1x/chef-server
vendor/ruby/1.9.1/gems/fog-1.15.0/lib/fog/libvirt/compute.rb
Ruby
apache-2.0
3,975
# # Author:: AJ Christensen (<aj@opscode.com>) # Cookbook Name:: database # Recipe:: snapshot # # Copyright 2009-2010, Opscode, 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 # # ht...
dagolden/opscode-cookbooks
database/recipes/snapshot.rb
Ruby
apache-2.0
2,156
/* * 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 ...
lukecwik/incubator-beam
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/stableinput/NonKeyedBufferingElementsHandler.java
Java
apache-2.0
2,224
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
nicoben/pentaho-kettle
engine/src/org/pentaho/di/job/entries/simpleeval/JobEntrySimpleEval.java
Java
apache-2.0
46,419
#!/usr/bin/env python """ @package ion.agents.platform.rsn.simulator.oms_values @file ion/agents/platform/rsn/simulator/oms_values.py @author Carlos Rueda @brief Platform attribute value generators for the RSN OMS simulator. """ __author__ = 'Carlos Rueda' __license__ = 'Apache 2.0' import time import ntplib ...
janeen666/mi-instrument
mi/platform/rsn/simulator/oms_values.py
Python
bsd-2-clause
7,128
cask "operadriver" do version "96.0.4664.45" sha256 "fe712310d8577056442bf7146cde2b1db69181873ff3cb2311335b784829cac6" url "https://github.com/operasoftware/operachromiumdriver/releases/download/v.#{version}/operadriver_mac64.zip" name "OperaChromiumDriver" desc "Driver for Chromium-based Opera releases" h...
malob/homebrew-cask
Casks/operadriver.rb
Ruby
bsd-2-clause
501
cask 'wifispoof' do version '3.0.2' sha256 'ee0b4e0941f20f4cd71b7f6fa4f56da695cd1d6e1c4e49daec3a460463bd9946' # sweetpproductions.com/products was verified as official when first introduced to the cask url "https://sweetpproductions.com/products/wifispoof#{version.major}/WiFiSpoof#{version.major}.dmg" appcas...
jiashuw/homebrew-cask
Casks/wifispoof.rb
Ruby
bsd-2-clause
579
cask 'arduino' do version '1.8.7' sha256 'bc5fae3e0b54f000d335d93f2e6da66fc8549def015e3b136d34a10e171c1501' url "https://downloads.arduino.cc/arduino-#{version}-macosx.zip" appcast 'https://www.arduino.cc/en/Main/ReleaseNotes' name 'Arduino' homepage 'https://www.arduino.cc/' app 'Arduino.app' binary ...
bosr/homebrew-cask
Casks/arduino.rb
Ruby
bsd-2-clause
418
// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics namespace DeduceVsMember { template<typename T> struct X { template<typename U> int &operator==(const U& other) const; }; template<typename T, typename U> float &operator==(const T&, const X<U>&); void test(X<int> xi, X<float>...
santoshn/softboundcets-34
softboundcets-llvm-clang34/tools/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp
C++
bsd-3-clause
574
# Copyright 2019 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 applicable law or ag...
scheib/chromium
third_party/pyjson5/src/tests/host_test.py
Python
bsd-3-clause
1,346
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.gradient.interpolate.solid // Description: // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canvas-tests.js"); var t = async_test(""); var t_pass = t.done.bin...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js
JavaScript
bsd-3-clause
758
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
miranov25/AliRoot
TEvtGen/EvtGen/EvtGenBase/EvtVector3R.hh
C++
bsd-3-clause
3,395
from django.db.backends.ddl_references import Statement, Table from django.db.models import F, Q from django.db.models.constraints import BaseConstraint from django.db.models.sql import Query __all__ = ['ExclusionConstraint'] class ExclusionConstraint(BaseConstraint): template = 'CONSTRAINT %(name)s EXCLUDE USIN...
kaedroho/django
django/contrib/postgres/constraints.py
Python
bsd-3-clause
4,221
<?php // Copyright 2004-present Facebook. 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 b...
hamidgoharjoo/test
vendor/facebook/webdriver/lib/WebDriverWindow.php
PHP
bsd-3-clause
3,841
// 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 "components/web_modal/modal_dialog_host.h" namespace web_modal { ModalDialogHostObserver::~ModalDialogHostObserver() { } ModalDialogHost::~Mod...
scheib/chromium
components/web_modal/modal_dialog_host.cc
C++
bsd-3-clause
437
// 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 ...
yesudeep/puppy
tools/google-closure-library/closure/goog/ui/customcolorpalette.js
JavaScript
mit
4,792
/** * Utility to register editors and common namespace for keeping reference to all editor classes */ import Handsontable from './browser'; import {toUpperCaseFirst} from './helpers/string'; export {registerEditor, getEditor, hasEditor, getEditorConstructor}; var registeredEditorNames = {}, registeredEditorCla...
Growmies/handsontable
src/editors.js
JavaScript
mit
2,723
"use strict"; var index_1 = require("../../models/types/index"); function createReferenceType(context, symbol, includeParent) { var checker = context.checker; var id = context.getSymbolID(symbol); var name = checker.symbolToString(symbol); if (includeParent && symbol.parent) { name = checker.sym...
glamb/TCMS-Frontend
node_modules/typedoc/lib/converter/factories/reference.js
JavaScript
mit
505
<?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. */ declare(strict_types=1); namespace Sylius\Behat\Service; use Sylius\Behat\Service\Setter\CookieSette...
rainlike/justshop
vendor/sylius/sylius/src/Sylius/Behat/Service/SecurityService.php
PHP
mit
2,802
package md5530bd51e982e6e7b340b73e88efe666e; public class FormsApplicationActivity extends android.app.Activity implements mono.android.IGCUserPeer { static final String __md_methods; static { __md_methods = "n_onCreate:(Landroid/os/Bundle;)V:GetOnCreate_Landroid_os_Bundle_Handler\n" + "n_onStart:()V:G...
fabianwilliams/aalpix
XamarinPagesDemo/Droid/obj/Debug/android/src/md5530bd51e982e6e7b340b73e88efe666e/FormsApplicationActivity.java
Java
mit
3,159
using Abp.Dependency; using Abp.Configuration.Startup; using Abp.Modules; using Abp.Net.Mail; using Abp.Reflection.Extensions; namespace Abp.MailKit { [DependsOn(typeof(AbpKernelModule))] public class AbpMailKitModule : AbpModule { public override void PreInitialize() { IocMana...
carldai0106/aspnetboilerplate
src/Abp.MailKit/AbpMailKitModule.cs
C#
mit
670
/** * */ package org.junit.internal.runners.statements; import java.util.ArrayList; import java.util.List; import org.junit.runners.model.FrameworkMethod; import org.junit.runners.model.MultipleFailureException; import org.junit.runners.model.Statement; public class RunAfters extends Statement { private final St...
MarkAufdencamp/junit
src/main/java/org/junit/internal/runners/statements/RunAfters.java
Java
epl-1.0
948
/* =========================================================================== Copyright (C) 2000 - 2013, Raven Software, Inc. Copyright (C) 2001 - 2013, Activision, Inc. Copyright (C) 2013 - 2015, OpenJK contributors This file is part of the OpenJK source code. OpenJK is free software; you can redistribute it and/or...
Yberion/stats_mod
codemp/rd-dedicated/tr_skin.cpp
C++
gpl-2.0
8,848
/** * Copyright (c) 2012--2014 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
xkollar/spacewalk
java/code/src/com/redhat/rhn/frontend/action/systems/sdc/SystemPendingEventsAction.java
Java
gpl-2.0
4,067
/* * Copyright (c) 2003, 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/GetThreadCpuTimerInfo/thrtimerinfo001.java
Java
gpl-2.0
3,506
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
dvh11er/mage-cheatcode
magento/app/code/core/Mage/Checkout/controllers/MultishippingController.php
PHP
gpl-2.0
20,321
//=================================================================================== // // (C) COPYRIGHT International Business Machines Corp., 2002 All Rights Reserved // Licensed Materials - Property of IBM // US Government Users Restricted Rights - Use, duplication or // disclosure restricted by GS...
cory-ko/KBWS
gsoap/Symbian/interop2test.cpp
C++
gpl-2.0
11,395
/* * * Copyright 2003, 2004 Blur Studio Inc. * * This file is part of the Resin software package. * * Resin 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 yo...
perryjrandall/arsenalsuite
cpp/lib/classes/base/shotgroupbase.cpp
C++
gpl-2.0
1,325
/* * Copyright (c) 2002, 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/jdi/VirtualMachine/redefineClasses/redefineclasses012/newclass01/redefineclasses012b.java
Java
gpl-2.0
1,616
<?php /** * @file * Contains \Drupal\Console\Command\Generate\PluginFieldWidgetCommand. */ namespace Drupal\Console\Command\Generate; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Drupal\Console\Genera...
sgrichards/BrightonDrupal
vendor/drupal/console/src/Command/Generate/PluginFieldWidgetCommand.php
PHP
gpl-2.0
5,154
/* * Copyright (c) 2011, 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...
greghaskins/openjdk-jdk7u-jdk
src/macosx/classes/java/net/DefaultInterface.java
Java
gpl-2.0
3,499
/* Copyright (C) 2011-2012 de4dot@gmail.com This file is part of de4dot. de4dot 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 l...
hjlfmy/de4dot
de4dot.code/deobfuscators/MaxtoCode/DecrypterInfo.cs
C#
gpl-3.0
1,256
from __future__ import absolute_import import time class KafkaMetric(object): # NOTE java constructor takes a lock instance def __init__(self, metric_name, measurable, config): if not metric_name: raise ValueError('metric_name must be non-empty') if not measurable: rai...
OpenBankProject/OBP-Kafka-Python
lib/kafka/metrics/kafka_metric.py
Python
agpl-3.0
933
""" Help has buttons and menu items to open help, blog and forum pages in your primary browser. """ from __future__ import absolute_import #Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. import __init__ from...
nophead/Skeinforge50plus
skeinforge_application/skeinforge_utilities/skeinforge_help.py
Python
agpl-3.0
3,508
#!/usr/bin/env python # Copyright (c) 2006-2007 XenSource, Inc. # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND ...
anoobs/xen-api
scripts/examples/python/vm_start_async.py
Python
lgpl-2.1
2,335
//Draw ellipses //Author: Rene Brun TCanvas *ellipse(){ TCanvas *c1 = new TCanvas("c1"); c1->Range(0,0,1,1); TPaveLabel *pel = new TPaveLabel(0.1,0.8,0.9,0.95,"Examples of Ellipses"); pel->SetFillColor(42); pel->Draw(); TEllipse *el1 = new TEllipse(0.25,0.25,.1,.2); el1->Draw(); TEllipse *el2 = ...
perovic/root
tutorials/graphics/ellipse.C
C++
lgpl-2.1
765
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="es_VE"> <context> <name>DesktopSwitch</name> <message> <location filename="../desktopswitch.cpp" line="83"/> <source>Switch to desktop %1</source> <translation type="unfinished"></translation> </message>...
rbazaud/lxqt-panel
plugin-desktopswitch/translations/desktopswitch_es_VE.ts
TypeScript
lgpl-2.1
1,622
/* Copyright 2012 - 2015 pac4j organization 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 agr...
ganquan0910/pac4j
pac4j-oauth/src/test/java/org/pac4j/oauth/profile/facebook/TestFacebookRelationshipStatusConverter.java
Java
apache-2.0
5,452
/** * 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...
bruthe/hadoop-2.6.0r
src/common/org/apache/hadoop/crypto/key/kms/ValueQueue.java
Java
apache-2.0
12,143
package version // 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...
sethpollack/kubernetes
vendor/github.com/Azure/azure-sdk-for-go/version/version.go
GO
apache-2.0
865
/* 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, ...
github-co/kubernetes
pkg/client/clientset_generated/release_1_5/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go
GO
apache-2.0
4,098
package datastore import ( "fmt" "log" "reflect" "strings" "sync" "time" "github.com/docker/docker/libnetwork/discoverapi" "github.com/docker/docker/libnetwork/types" "github.com/docker/libkv" "github.com/docker/libkv/store" ) //DataStore exported type DataStore interface { // GetObject gets data from dat...
jthelin/docker
libnetwork/datastore/datastore.go
GO
apache-2.0
16,439