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 |
|---|---|---|---|---|---|
<?php
namespace Drupal\admin_toolbar_tools\Controller;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\CronInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\Core\Menu\Contex... | hook42/towel | modules/contrib/admin_toolbar/admin_toolbar_tools/src/Controller/ToolbarController.php | PHP | gpl-2.0 | 4,942 |
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 opt... | apnfq/oxid_test | out/azure/src/js/widgets/oxcenterelementonhover.js | JavaScript | gpl-3.0 | 1,679 |
<?php
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 yo... | OXIDprojects/oxid-ce-hot-offer | core/oxfb.php | PHP | gpl-3.0 | 3,426 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* 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 v... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/go/vendor/PHPExcel/PHPExcel/Shared/Date.php | PHP | gpl-3.0 | 12,755 |
// Generated by CoffeeScript 1.5.0
var auth, changeDashboard, createGraph, dashboard, dataPoll, default_graphite_url, default_period, description, generateDataURL, generateEventsURL, generateGraphiteTargets, getTargetColor, graphScaffold, graphite_url, graphs, init, metrics, period, refresh, refreshSummary, refreshTime... | Stub-O-Matic-BA/stubo-app | stubo/static/giraffe/js/giraffe.js | JavaScript | gpl-3.0 | 20,491 |
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 you... | cwalther/Plasma-nobink-test | Sources/Plasma/NucleusLib/pnMessage/plServerReplyMsg.cpp | C++ | gpl-3.0 | 2,654 |
package org.whispersystems.signalservice.api.storage;
import org.whispersystems.libsignal.util.guava.Preconditions;
import org.whispersystems.signalservice.internal.storage.protos.ManifestRecord;
import java.util.Arrays;
import java.util.Objects;
public class StorageId {
private final int type;
private final ... | Turasa/libsignal-service-java | service/src/main/java/org/whispersystems/signalservice/api/storage/StorageId.java | Java | gpl-3.0 | 2,421 |
// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2020 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope tha... | mvo5/snappy | kernel/validate.go | GO | gpl-3.0 | 2,124 |
<?php
/*
* @copyright 2015 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
$isPrototype = ($form->vars['name'] == '__name__');
$filterType = $form['field']->vars['value'];
$inGroup = $... | PatchRanger/mautic | app/bundles/LeadBundle/Views/FormTheme/Filter/_leadlist_filters_entry_widget.html.php | PHP | gpl-3.0 | 2,233 |
package org.limewire.collection;
import java.util.Iterator;
/**
* A convenience class to aid in developing iterators that cannot be modified.
*/
public abstract class UnmodifiableIterator<E> implements Iterator<E> {
/** Throws UnsupportedOperationException */
public final void remove() {
throw new Unsupp... | alejandroarturom/frostwire-desktop | src/org/limewire/collection/UnmodifiableIterator.java | Java | gpl-3.0 | 355 |
//===-- XCoreISelDAGToDAG.cpp - A dag to dag inst selector for XCore ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | vinutah/apps | tools/llvm/llvm_39/opt/lib/Target/XCore/XCoreISelDAGToDAG.cpp | C++ | gpl-3.0 | 10,390 |
/*
Copyright (C) 2010,2011,2012,2013,2014 The ESPResSo project
Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
Max-Planck-Institute for Polymer Research, Theory Group,
This file is part of ESPResSo.
ESPResSo is free software: you can redistribute it and/or modify
it under the terms of th... | Smiljanic/Esspresso-Code | src/core/lb-boundaries.cpp | C++ | gpl-3.0 | 25,248 |
/* -*- c++ -*- */
/*
* Copyright 2006 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 opti... | GREO/GNU-Radio | gr-atsc/src/lib/atsc_rs_decoder.cc | C++ | gpl-3.0 | 1,900 |
<?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 ... | nagyistoce/moodle | lib/dml/tests/dml_test.php | PHP | gpl-3.0 | 256,559 |
/*
* Copyright (C) 2010-2015 JPEXS, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later versio... | Jackkal/jpexs-decompiler | libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/MorphShapeExporter.java | Java | gpl-3.0 | 6,261 |
<?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... | vuchannguyen/web | mod/lesson/pagetypes/shortanswer.php | PHP | gpl-3.0 | 15,979 |
#include <AP_HAL/AP_HAL.h>
#include "AC_PrecLand.h"
#include "AC_PrecLand_Backend.h"
#include "AC_PrecLand_Companion.h"
#include "AC_PrecLand_IRLock.h"
#include "AC_PrecLand_SITL_Gazebo.h"
#include "AC_PrecLand_SITL.h"
extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AC_PrecLand::var_info[] = {
// @Param:... | farmer-martin/ardupilot | libraries/AC_PrecLand/AC_PrecLand.cpp | C++ | gpl-3.0 | 8,721 |
--TEST--
IntlTimeZone::createEnumeration(): variant with country
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$tz = IntlTimeZone::createEnumeration('NL');
var_dump(get_class($tz));
$count = count(iterator_to_array($tz));
... | tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/php-5.5.11/ext/intl/tests/timezone_createEnumeration_variation2.phpt | PHP | gpl-3.0 | 504 |
function rewriteTaskTitles(blockid) {
forEach(
getElementsByTagAndClassName('a', 'task-title', 'tasktable_' + blockid),
function(element) {
disconnectAll(element);
connect(element, 'onclick', function(e) {
e.stop();
var description = getFirstEl... | eireford/mahara | htdocs/artefact/plans/blocktype/plans/js/plansblock.js | JavaScript | gpl-3.0 | 963 |
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, an... | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/lookup/ClassScope.java | Java | gpl-3.0 | 40,473 |
# Copyright (C) 2007, One Laptop Per Child
#
# 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.
#
# This program is distrib... | AbrahmAB/sugar | src/jarabe/journal/__init__.py | Python | gpl-3.0 | 679 |
// 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 <jni.h>
#include <vector>
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/android/content_view_statics.cc | C++ | gpl-3.0 | 4,753 |
#!/usr/bin/python
# Copyright (c) 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.
"""Certificate chain with 1 intermediate and a non-self-signed trust anchor.
Verification should succeed, it doesn't matter that the ro... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/net/data/verify_certificate_chain_unittest/generate-unconstrained-non-self-signed-root.py | Python | gpl-3.0 | 1,019 |
var searchData=
[
['matrix_5fbase',['MATRIX_BASE',['../memorymap_8h.html#a096dcc80deb3676aeb5d5b8db13cfeba',1,'memorymap.h']]]
];
| Aghosh993/TARS_codebase | libopencm3/doc/sam3x/html/search/defines_7.js | JavaScript | gpl-3.0 | 132 |
namespace MissionPlanner
{
partial class GridUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | marcoarruda/MissionPlanner | ExtLibs/Grid/GridUI.Designer.cs | C# | gpl-3.0 | 60,645 |
/* eslint-disable jest/no-export, jest/no-disabled-tests */
/**
* Internal dependencies
*/
const {
shopper,
merchant,
createVariableProduct,
} = require( '@woocommerce/e2e-utils' );
let variablePostIdValue;
const cartDialogMessage = 'Please select some product options before adding this product to your cart.';
... | Ninos/woocommerce | tests/e2e/core-tests/specs/shopper/front-end-variable-product-updates.test.js | JavaScript | gpl-3.0 | 2,776 |
<?php
/*
* Copyright 2014 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 t... | Merrick28/delain | web/vendor/google/apiclient-services/src/Google/Service/DataFusion/DataAccessOptions.php | PHP | gpl-3.0 | 837 |
package module
// no syscall.Stat_t on windows, return 0 for inodes
func inode(path string) (uint64, error) {
return 0, nil
}
| grange74/terraform | config/module/inode_windows.go | GO | mpl-2.0 | 128 |
package profitbricks
import (
"encoding/json"
"errors"
"fmt"
"strconv"
"strings"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"github.com/profitbricks/profitbricks-sdk-go"
)
type stepCreateServer struct{}
func (s *stepCreateServer) Run(state multistep.StateBag) multistep.Ste... | dayglojesus/packer | builder/profitbricks/step_create_server.go | GO | mpl-2.0 | 6,663 |
/**
* <p>
* The scrollview module does not add any new classes. It simply plugs the ScrollViewScrollbars plugin into the
* base ScrollView class implementation provided by the scrollview-base module, so that all scrollview instances
* have scrollbars enabled.
* </p>
*
* <ul>
* <li><a href="../classes/Scro... | co-ment/comt | src/cm/media/js/lib/yui/yui3-3.15.0/src/scrollview/js/scrollview.js | JavaScript | agpl-3.0 | 556 |
<?php
/*
* Spring Signage Ltd - http://www.springsignage.com
* Copyright (C) 2015 Spring Signage Ltd
* (CommandFactory.php)
*/
namespace Xibo\Factory;
use Xibo\Entity\Command;
use Xibo\Entity\User;
use Xibo\Exception\NotFoundException;
use Xibo\Service\LogServiceInterface;
use Xibo\Service\SanitizerServiceInter... | alexhuang888/xibo-cms | lib/Factory/CommandFactory.php | PHP | agpl-3.0 | 4,638 |
/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
Copyright (C) 2009 Red Hat, Inc.
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 Lic... | Open365/spice-web-client | misc/spice-0.12.0/client/red_channel.cpp | C++ | agpl-3.0 | 27,728 |
<?php
namespace Safe;
use Safe\Exceptions\SwooleException;
/**
*
*
* @param string $filename The filename being written.
* @param string $content The content writing to the file.
* @param int $offset The offset.
* @param callable $callback
* @throws SwooleException
*
*/
function swoole_async_write(string $f... | Irstea/collec | vendor/thecodingmachine/safe/generated/swoole.php | PHP | agpl-3.0 | 2,407 |
/*
* BrainBrowser: Web-based Neurological Visualization Tools
* (https://brainbrowser.cbrain.mcgill.ca)
*
* Copyright (C) 2011
* The Royal Institution for the Advancement of Learning
* McGill University
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Gener... | rdvincent/brainbrowser | build/brainbrowser-2.1.1/workers/mniobj.intensity.worker.js | JavaScript | agpl-3.0 | 1,377 |
/*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | onursumer/cbioportal | core/src/main/java/org/mskcc/cbio/portal/util/SessionServiceRequestWrapper.java | Java | agpl-3.0 | 6,093 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* 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 Free Software Foundation, eithe... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/period/GenerateBudgetPeriodEvent.java | Java | agpl-3.0 | 1,109 |
odoo.define('website_slides/static/src/tests/activity_tests.js', function (require) {
'use strict';
const components = {
Activity: require('mail/static/src/components/activity/activity.js'),
};
const {
afterEach,
beforeEach,
createRootComponent,
start,
} = require('mail/static/src/utils/test_utils... | rven/odoo | addons/website_slides/static/src/components/activity/activity_tests.js | JavaScript | agpl-3.0 | 3,940 |
"""
WSGI config for OIPA project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` set... | schlos/OIPA-V2.1 | OIPA/OIPA/wsgi.py | Python | agpl-3.0 | 1,413 |
<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | egoistIT/shopware | recovery/install/src/Service/ShopService.php | PHP | agpl-3.0 | 4,461 |
/**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008-2011 Juho Vähä-Herttua
*
* 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
* v... | juhovh/tapcfg | src/demos/TAPNetTest.cs | C# | lgpl-2.1 | 1,388 |
##############################################################################
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | EmreAtes/spack | var/spack/repos/builtin/packages/psi4/package.py | Python | lgpl-2.1 | 4,596 |
/*****************************************/
/* Written by andrew.wilkins@csiro.au */
/* Please contact me if you make changes */
/*****************************************/
#include "RichardsExcavFlow.h"
#include "Function.h"
#include "Material.h"
template<>
InputParameters validParams<RichardsExcavFlow>()
{
Inp... | cpritam/moose | modules/richards/src/postprocessors/RichardsExcavFlow.C | C++ | lgpl-2.1 | 1,375 |
/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full restrictions ... | gleicher27/Tardigrade | moose/modules/richards/src/postprocessors/RichardsExcavFlow.C | C++ | lgpl-2.1 | 1,602 |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.contactlist.contactsource;
import java.util.*;
import net.java.sip.communicator.impl.gui.*;
import net.java.sip.communicat... | marclaporte/jitsi | src/net/java/sip/communicator/impl/gui/main/contactlist/contactsource/StringContactSourceServiceImpl.java | Java | lgpl-2.1 | 6,347 |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2002 Florian Loitsch
*
* 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 optio... | cfallin/soot | src/soot/jimple/toolkits/scalar/pre/BusyCodeMotion.java | Java | lgpl-2.1 | 6,656 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/alfresco-repository | src/main/java/org/alfresco/repo/cache/InMemoryCacheStatistics.java | Java | lgpl-3.0 | 8,474 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | edwinspire/VSharp | class/dlr/Runtime/Microsoft.Scripting.Core/Ast/NewArrayExpression.cs | C# | lgpl-3.0 | 10,491 |
/**
* Created : Mar 26, 2012
*
* @author pquiring
*/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ProgrammerPanel extends javax.swing.JPanel implements Display, ActionListener {
/**
* Creates new form MainPanel
*/
public ProgrammerPanel(Backend backend) {
initCompo... | ericomattos/javaforce | projects/jfcalc/src/ProgrammerPanel.java | Java | lgpl-3.0 | 20,790 |
/*
Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about)
Dual licensed under the MIT or LGPL Version 2 licenses.
*/
/**
* @file Spell checker
*/
// Register a plugin named "wsc".
OMEDITOR.plugins.add( 'wsc',
{
requires : [ 'dialog' ],
init : function( editor )
{
var commandName = 'checkspell';
var c... | yonghuang/fastui | samplecenter/basic/timeTest/operamasks-ui-2.0/development-bundle/ui/editor/_source/plugins/wsc/plugin.js | JavaScript | lgpl-3.0 | 1,027 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export default [
[
[
'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.',
'அந்த... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/ta-MY.js | JavaScript | apache-2.0 | 1,346 |
/*
* Copyright (c) 2014 Wael Chatila / Icegreen Technologies. All Rights Reserved.
* This software is released under the Apache license 2.0
* This file has been modified by the copyright holder.
* Original file can be found at http://james.apache.org
*/
package com.icegreen.greenmail.imap;
/**
* @author... | buildscientist/greenmail | greenmail-core/src/main/java/com/icegreen/greenmail/imap/ProtocolException.java | Java | apache-2.0 | 610 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("uicolor","et",{title:"Värvivalija kasutajaliides",preview:"Automaatne eelvaade",config:"Aseta see sõne oma config.js faili.",predefined:"Eelmääratud ... | viticm/pfadmin | vendor/frozennode/administrator/public/js/ckeditor/plugins/uicolor/lang/et.js | JavaScript | apache-2.0 | 344 |
/*
* 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... | wuranbo/elasticsearch | core/src/test/java/org/elasticsearch/index/mapper/GeoPointFieldTypeTests.java | Java | apache-2.0 | 1,095 |
/*
* Copyright 2015, Yahoo Inc.
* Copyrights licensed under the Apache License.
* See the accompanying LICENSE file for terms.
*/
package com.yahoo.dba.perf.myperf.common;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
public class MyDatabases implements java.io.Serializable{
... | wgpshashank/mysql_perf_analyzer | myperf/src/main/java/com/yahoo/dba/perf/myperf/common/MyDatabases.java | Java | apache-2.0 | 1,264 |
/*
* Copyright 2010 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 ap... | droolsjbpm/droolsjbpm-tools | drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/actions/EditConnectionAction.java | Java | apache-2.0 | 3,786 |
#
# 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 not us... | mrchristine/spark-examples-dbc | src/main/python/ml/index_to_string_example.py | Python | apache-2.0 | 1,615 |
/*******************************************************************************
* Copyright (c) 2015-2016, WSO2.Telco Inc. (http://www.wso2telco.com) All Rights Reserved.
*
* WSO2.Telco Inc. licences this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in co... | WSO2Telco/component-dep | components/oneapi-validation/src/main/java/com/wso2telco/dep/oneapivalidation/service/impl/smsmessaging/northbound/ValidateNBDeliveryInfoNotification.java | Java | apache-2.0 | 4,034 |
/*
* 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.
*/
package org.elasticsearch.xpack.core.ml.dataframe;
import org.elas... | robin13/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/DataFrameAnalyticsSource.java | Java | apache-2.0 | 10,456 |
/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may not use t... | MRNAS/NTRT | src/core/tgSimView.cpp | C++ | apache-2.0 | 5,374 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <cctype>
#include "BodyOnlyXmlParser.hh"
#include "MdsException.hh"
using namespace mdsd::details;
void
BodyOnlyXmlParser::ParseFile... | Azure/azure-linux-extensions | Diagnostic/mdsd/mdscommands/BodyOnlyXmlParser.cc | C++ | apache-2.0 | 1,350 |
/*
* Copyright (c) 2005-2014, 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... | callkalpa/product-mss | samples/stockquote/deployable-jar/src/main/java/org/wso2/msf4j/stockquote/example/exception/EntityNotFoundMapper.java | Java | apache-2.0 | 1,196 |
/*
* 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... | sneivandt/elasticsearch | client/rest/src/test/java/org/elasticsearch/client/RestClientBuilderIntegTests.java | Java | apache-2.0 | 4,718 |
<?php
/*
Copyright 2016 Rustici Software
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... | RusticiSoftware/TinCanPHP | tests/DocumentTest.php | PHP | apache-2.0 | 1,020 |
/*
* Copyright 2018 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 applica... | gradle/gradle | subprojects/language-native/src/main/java/org/gradle/swiftpm/internal/DefaultTarget.java | Java | apache-2.0 | 2,004 |
/*
* Copyright 2010 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 ... | ehsan/js-symbolic-executor | js-symbolic-executor/src/symbolicexecutor/CompareFiles.java | Java | apache-2.0 | 3,614 |
#
# Cookbook Name:: bork
# Recipe:: configure
#
# Copyright 2015, GING, ETSIT, UPM
#
# 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
#
# Unles... | Fiware/ops.Validator | extras/ChefCookBook/bork/recipes/0.0.1_configure.rb | Ruby | apache-2.0 | 702 |
/*
* Copyright 2016 The Closure Compiler 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 ... | MatrixFrog/closure-compiler | externs/browser/intersection_observer.js | JavaScript | apache-2.0 | 6,017 |
// PSI_ELEMENT: com.intellij.psi.PsiMethod
// OPTIONS: usages
// PLAIN_WHEN_NEEDED
public class JavaWithGroovyInvoke_0 {
public void <caret>invoke() {
}
public static class OtherJavaClass extends JavaWithGroovyInvoke_0 {
}
}
// CRI_IGNORE | smmribeiro/intellij-community | plugins/kotlin/idea/tests/testData/findUsages/java/findJavaMethodUsages/JavaWithGroovyInvoke.0.java | Java | apache-2.0 | 257 |
/*
* 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/licens... | lakshani/carbon-identity | components/application-mgt/org.wso2.carbon.identity.application.common/src/test/java/org/wso2/carbon/identity/application/common/model/test/ProvisioningConnectorConfigTest.java | Java | apache-2.0 | 2,091 |
/*
* 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 ... | sdmcraft/jackrabbit | jackrabbit-jca/src/test/java/org/apache/jackrabbit/jca/test/ConnectionRequestInfoTest.java | Java | apache-2.0 | 2,835 |
// 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... | chhsia0/mesos | src/tests/resource_provider_validation_tests.cpp | C++ | apache-2.0 | 3,426 |
package rolebinding
import (
apierrors "k8s.io/apimachinery/pkg/api/errors"
metainternal "k8s.io/apimachinery/pkg/apis/meta/internalversion"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/conversion"
"k8s.io/apimachinery/pkg/runtime"
apirequest "k8s.io/apiserver/pkg/endpoints/request"
"k... | raffaelespazzoli/origin | pkg/authorization/registry/rolebinding/proxy.go | GO | apache-2.0 | 4,978 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/recoveryServicesBackupManagement/lib/models/dPMProtectedItemExtendedInfo.js | JavaScript | apache-2.0 | 5,048 |
//===-- FreeBSDSignals.cpp --------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | apple/swift-lldb | source/Plugins/Process/Utility/FreeBSDSignals.cpp | C++ | apache-2.0 | 5,613 |
define([
"dojo/_base/declare", // declare
"dojo/dom-construct", // domConstruct.destroy domConstruct.place
"dojo/keys", // keys.ENTER
"dojo/_base/lang",
"dojo/on",
"dojo/sniff", // has("ie") has("mozilla") has("webkit")
"dojo/_base/window", // win.withGlobal
"dojo/window", // winUtils.scrollIntoView
"../_Plugi... | denov/dojo-demo | src/main/webapp/js/dijit/_editor/plugins/EnterKeyHandling.js | JavaScript | apache-2.0 | 22,062 |
/**
* Copyright (C) 2012 Iordan Iordanov
* Copyright (C) 2010 Michael A. MacDonald
*
* This 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) ... | x-hansong/aSpice | src/com/iiordanov/bVNC/COLORMODEL.java | Java | apache-2.0 | 3,262 |
/*
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... | danmcp/source-to-image | vendor/k8s.io/kubernetes/pkg/api/v1/conversion.go | GO | apache-2.0 | 21,451 |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ui;
import org.jetbrains.annotations.NotNull;
import org.junit.Assert;
import org.junit.Test;
import java.awt.*;
public final class MixedColorProducerTest {
@Test
public v... | smmribeiro/intellij-community | platform/util/testSrc/com/intellij/ui/MixedColorProducerTest.java | Java | apache-2.0 | 4,269 |
/*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | ilovesoup/hyracks | hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/edu/uci/ics/hyracks/hdfs/api/IKeyValueParser.java | Java | apache-2.0 | 1,862 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.11 at 12:17... | knadikari/developer-studio | common/org.wso2.developerstudio.eclipse.artifact.security/src/org/wso2/developerstudio/eclipse/security/project/model/ServiceGroup.java | Java | apache-2.0 | 5,773 |
/* jshint globalstrict:false, strict:false, unused : false */
/* global assertEqual */
// //////////////////////////////////////////////////////////////////////////////
// / @brief tests for dump/reload
// /
// / @file
// /
// / DISCLAIMER
// /
// / Copyright 2010-2012 triagens GmbH, Cologne, Germany
// /
// / License... | wiltonlazary/arangodb | tests/js/server/recovery/collection-duplicate.js | JavaScript | apache-2.0 | 2,684 |
/**
* 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... | mehant/drill | exec/java-exec/src/main/java/org/apache/drill/exec/store/avro/AvroRecordReader.java | Java | apache-2.0 | 13,522 |
/*
* 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 ... | nishantmonu51/druid | server/src/main/java/org/apache/druid/guice/RouterProcessingModule.java | Java | apache-2.0 | 3,537 |
/**
* 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... | arenadata/ambari | contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java | Java | apache-2.0 | 8,219 |
/**
* @copyright
* ====================================================================
* 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. ... | centic9/subversion-ppa | subversion/bindings/javahl/native/org_apache_subversion_javahl_types_Version.cpp | C++ | apache-2.0 | 2,343 |
/****************************************************************
* 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 ... | chibenwa/james | protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/netty/SMTPChannelUpstreamHandler.java | Java | apache-2.0 | 2,858 |
<?php
/**
* The foo test class
*
* @author mepeisen
*/
class FooTest extends PHPUnit_Framework_TestCase
{
/**
* tests the bar function
*/
public function testFoo()
{
include "folderA/MyClassA.php";
$o = new folderA\MyMavenTestClassA();
$this->assertEquals("foo", $o->getFoo());
include "folderB/My... | Vaysman/maven-php-plugin | maven-plugins/it/src/test/resources/org/phpmaven/test/projects/mojos-phar/phar-with-dep1-folders/src/test/php/FooTest.php | PHP | apache-2.0 | 423 |
/*
*
* 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"); y... | hasinitg/airavata | modules/credential-store/credential-store-service/src/main/java/org/apache/airavata/credential/store/store/impl/db/CommunityUserDAO.java | Java | apache-2.0 | 9,093 |
'use strict';
(function (scope) {
/**
* Shape erased
*
* @class ShapeErased
* @extends ShapeCandidate
* @param {Object} [obj]
* @constructor
*/
function ShapeErased(obj) {
scope.ShapeCandidate.call(this, obj);
}
/**
* Inheritance property
*/
Sha... | countshadow/MyScriptJS | src/output/shape/shapeErased.js | JavaScript | apache-2.0 | 532 |
/*
* Copyright (c) 2009 Mozilla Foundation
*
* 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, merg... | googlearchive/caja | third_party/java/htmlparser/src/nu/validator/htmlparser/annotation/Inline.java | Java | apache-2.0 | 1,211 |
// -------------------------------------------------------------------------
// @FileName : NFCGameServerScriptModule.cpp
// @Author : LvSheng.Huang
// @Date : 2013-01-02
// @Module : NFCGameServerScriptModule
// @Desc :
// --------------... | MRunFoss/NoahGameFrame | NFServer/NFGameServerScriptPlugin/NFCGameServerScriptModule.cpp | C++ | apache-2.0 | 1,286 |
/*
* Copyright 2000-2017 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 | RegExpSupport/src/org/intellij/lang/regexp/RegExpLanguageHost.java | Java | apache-2.0 | 4,005 |
/**
* 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... | JingchengDu/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ManagedParentQueue.java | Java | apache-2.0 | 18,592 |
/* 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... | dbmalkovsky/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti/engine/impl/jobexecutor/TimerDeclarationImpl.java | Java | apache-2.0 | 8,975 |
/*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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... | madhav123/gkmaster | appdomain/src/main/java/org/mifos/customers/checklist/business/CheckListBO.java | Java | apache-2.0 | 5,902 |
"use strict";
const HTMLElementImpl = require("./HTMLElement-impl").implementation;
const Document = require("../generated/Document");
const DocumentFragment = require("../generated/DocumentFragment");
const { cloningSteps, domSymbolTree } = require("../helpers/internal-constants");
const { clone } = require("../nod... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js | JavaScript | apache-2.0 | 2,038 |
/*
* 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 ... | atul-bhouraskar/closure-templates | java/src/com/google/template/soy/types/SoyObjectType.java | Java | apache-2.0 | 3,172 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.harvard.iq.dataverse.api.imports;
/**
*
* @author ellenk
*/
public interface ImportUtil {
public enum ImportType{ NE... | quarian/dataverse | src/main/java/edu/harvard/iq/dataverse/api/imports/ImportUtil.java | Java | apache-2.0 | 352 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/incubator-asterixdb-hyracks | hyracks/hyracks-tests/hyracks-storage-am-btree-test/src/test/java/org/apache/hyracks/storage/am/btree/BTreeStatsTest.java | Java | apache-2.0 | 8,109 |
require 'support/shared/integration/integration_helper'
describe "Recipe DSL methods" do
include IntegrationSupport
module Namer
extend self
attr_accessor :current_index
end
before(:all) { Namer.current_index = 1 }
before { Namer.current_index += 1 }
context "with resource 'base_thingy' declared... | andrewpsp/chef | spec/integration/recipes/recipe_dsl_spec.rb | Ruby | apache-2.0 | 55,483 |