repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
mehdi149/OF_COMPILER_0.1 | gen-src/main/java/org/projectfloodlight/openflow/protocol/ver14/OFOxmTunnelIdMaskedVer14.java | 10644 | // Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | apache-2.0 |
zhichao-li/BigDL | dl/src/test/scala/com/intel/analytics/bigdl/optim/RefLocalOptimizer.scala | 2358 | /*
* Licensed to Intel Corporation under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Intel Corporation licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use t... | apache-2.0 |
nkolosnjaji/generator-jhipster | generators/server/templates/src/main/java/package/repository/search/_package-info.java | 815 | <%#
Copyright 2013-2018 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... | apache-2.0 |
iperdomo/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/migration/MigrationTest.java | 8668 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | apache-2.0 |
peridotperiod/isis | tck/tck-fixture/src/main/java/org/apache/isis/core/tck/fixture/scalars/ApplibValuedEntityFixture.java | 1690 | /*
* 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")... | apache-2.0 |
salyh/javamailspec | geronimo-jta_1.2_spec/src/main/java/javax/transaction/TransactionRolledbackException.java | 1391 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
skinzer/governator | governator-annotations/src/main/java/com/netflix/governator/annotations/WarmUp.java | 1126 | /*
* Copyright 2013 Netflix, 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 ... | apache-2.0 |
RohanHart/camel | camel-core/src/main/java/org/apache/camel/model/cloud/ServiceCallDefinition.java | 33347 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
stewartpark/presto | presto-main/src/test/java/com/facebook/presto/cost/StatsCalculatorAssertion.java | 4683 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
tonybaloney/st2contrib | packs/orion/actions/node_remanage.py | 1372 | # Licensed to the StackStorm, Inc ('StackStorm') 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 use th... | apache-2.0 |
brix-cms/brix-cms | brix-core/src/main/java/org/brixcms/web/admin/AdminPanel.java | 5576 | /**
* 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
* distribu... | apache-2.0 |
xoofx/roslyn | src/VisualStudio/Core/Impl/Options/Style/NamingPreferences/NamingStyleOptionPageViewModel.cs | 10402 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.LanguageServ... | apache-2.0 |
Cyan3/oodt | catalog/src/main/java/org/apache/oodt/cas/catalog/server/channel/rmi/RmiCommunicationChannelClientInterface.java | 4565 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
meggermo/jackrabbit-oak | oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/SegmentParserTest.java | 17820 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
gemxd/gemfirexd-oss | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/impl/sql/compile/ResultColumn.java | 60459 | /*
Derby - Class com.pivotal.gemfirexd.internal.impl.sql.compile.ResultColumn
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 thi... | apache-2.0 |
11xor6/presto | plugin/trino-raptor-legacy/src/main/java/io/trino/plugin/raptor/legacy/metadata/H2ShardDao.java | 1840 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
osct/IDPPublic | src/java/it/infn/ct/security/entities/UserConfirmUpdate.java | 2152 | /***********************************************************************
* Copyright (c) 2011:
* Istituto Nazionale di Fisica Nucleare (INFN), Italy
* Consorzio COMETA (COMETA), Italy
*
* See http://www.infn.it and and http://www.consorzio-cometa.it for details on
* the copyright holders.
*
* Licensed ... | apache-2.0 |
jamiepg1/jetty.project | jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/frames/GoAwayGenerateParseTest.java | 3373 | /*
* Copyright (c) 2012 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 appl... | apache-2.0 |
smarthi/DataflowJavaSDK | sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/GroupingShuffleReader.java | 15532 | /*******************************************************************************
* Copyright (C) 2015 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.... | apache-2.0 |
pcmoritz/arrow | java/flight/src/main/java/org/apache/arrow/flight/FlightEndpoint.java | 1935 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
jinghaomiao/apollo | modules/planning/open_space/trajectory_smoother/dual_variable_warm_start_ipopt_interface_test.cc | 3994 | /******************************************************************************
* Copyright 2018 The Apollo 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
... | apache-2.0 |
biospi/seamass-windeps | src/boost_1_57_0/libs/units/test/test_output.cpp | 27493 | // Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2009 Steven Watanabe
// Copyright Paul A. Bristow 2010
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http... | apache-2.0 |
CaoLP/tranhviet | Code/tranhviet/gocart/language/english/filter_lang.php | 882 | <?php
/******************************************
US English
Admin filter Language
******************************************/
$lang['filters'] = 'Filters';
$lang['error_not_found'] = 'The requested filter could not be found.';
$lang['filter_id'] = 'ID';
$lang['filter_form'] = 'Filter Form';
$lang['desc_name'] = 'Desc... | apache-2.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-sagemaker/source/model/Endpoint.cpp | 6313 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/Endpoint.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace ... | apache-2.0 |
dzimine/mistral | mistral/openstack/common/exception.py | 3315 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack Foundation.
# 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.apac... | apache-2.0 |
arvindsv/gocd | common/src/main/java/com/thoughtworks/go/remote/work/artifact/ArtifactPlanFilter.java | 2157 | /*
* Copyright 2020 ThoughtWorks, 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 agr... | apache-2.0 |
Bogatinov/angular | modules/angular2/test/render/dom/view/view_spec.js | 2570 | import {
AsyncTestCompleter,
beforeEach,
ddescribe,
xdescribe,
describe,
el,
dispatchEvent,
expect,
iit,
inject,
beforeEachBindings,
it,
xit,
SpyObject, proxy
} from 'angular2/test_lib';
import {IMPLEMENTS, isBlank} from 'angular2/src/facade/lang';
import {ListWrapper} from 'angular2/src/fac... | apache-2.0 |
aws/aws-sdk-cpp | aws-cpp-sdk-greengrass/source/model/GetSubscriptionDefinitionVersionResult.cpp | 1579 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/greengrass/model/GetSubscriptionDefinitionVersionResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUti... | apache-2.0 |
ingorichtsmeier/camunda-bpm-platform | engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/AuthorizationRestServiceQueryTest.java | 10055 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
bestlingna/test | 极客学院任务学习/任务八/server/update.php | 941 | <?php
require_once 'dbconfig.php';
// header("Content-type: application/json;charset=utf-8");
// //连接myqul
// $link = mysqli_connect('localhost','bestlingna','lingnazheng','baidunews',8889);
if($link){
//要发出的数据
$newstitle = $_POST['newstitle'];
$newstype = $_POST['newstype'];
$newsimg = $_POST['newsimg'];
$newstim... | apache-2.0 |
simondi88/schoolbus | Server/src/SchoolBusAPI/Models/City.cs | 6613 | /*
* REST API Documentation for the MOTI School Bus Application
*
* The School Bus application tracks that inspections are performed in a timely fashion. For each school bus the application tracks information about the bus (including data from ICBC, NSC, etc.), it's past and next inspection dates and results, contac... | apache-2.0 |
googlearchive/android-AutofillFramework | Application/src/main/java/com/example/android/autofill/app/commoncases/StandardAutoCompleteSignInActivity.java | 5355 | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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... | apache-2.0 |
mdunker/usergrid | stack/core/src/main/java/org/apache/usergrid/batch/service/JobRuntimeService.java | 1614 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
myfreecomm/fixofx | lib/ofx/validators.py | 3726 | #coding: utf-8
# Copyright 2005-2010 Wesabe, 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 a... | apache-2.0 |
wapalxj/Android_C2_UI | C2_UI_2/chart/src/main/java/com/github/mikephil/charting/formatter/PercentFormatter.java | 1228 |
package com.github.mikephil.charting.formatter;
import com.github.mikephil.charting.components.AxisBase;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.utils.ViewPortHandler;
import java.text.DecimalFormat;
/**
* This IValueFormatter is just for convenience and simply puts a "%... | apache-2.0 |
bryanriddle/ha-jobs | ha-jobs-core/src/main/scala/de/kaufhof/hajobs/package.scala | 886 | package de.kaufhof
import org.slf4j.LoggerFactory._
import scala.concurrent.{ExecutionContext, Future}
package object hajobs {
private val logger = getLogger("de.kaufhof.hajobs")
type Jobs = Map[JobType, Job]
// scalastyle:off method.name We allow an upper case method name to mimic a Jobs apply method
def... | apache-2.0 |
scala-js/scala-js | junit-test/shared/src/test/scala/org/scalajs/junit/AsyncTest.scala | 987 | /*
* Scala.js (https://www.scala-js.org/)
*
* Copyright EPFL.
*
* Licensed under Apache License 2.0
* (https://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package org.scalajs.junit
import scala.concur... | apache-2.0 |
plxaye/chromium | src/chrome/browser/policy/async_policy_provider.cc | 4970 | // 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/policy/async_policy_provider.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/message_loop.h"
#includ... | apache-2.0 |
samrobin/database-enterprise | pages/js/easyui/jquery.edatagrid.js | 11998 | /**
* edatagrid - jQuery EasyUI
*
* Licensed under the GPL:
* http://www.gnu.org/licenses/gpl.txt
*
* Copyright 2011 stworthy [ stworthy@gmail.com ]
*
* Dependencies:
* datagrid
* messager
*
*/
(function($){
// var oldLoadDataMethod = $.fn.datagrid.methods.loadData;
// $.fn.datagrid.methods.load... | apache-2.0 |
sshrdp/mclab | lib/antlr-3.0.1/src/org/antlr/tool/RecursionOverflowMessage.java | 2991 | /*
[The "BSD licence"]
Copyright (c) 2005-2006 Terence Parr
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 ... | apache-2.0 |
LaphiLee/bi-platform | queryrouter/src/main/java/com/baidu/rigel/biplatform/queryrouter/queryplugin/plugins/model/ColumnCondition.java | 2388 | /**
* Copyright (c) 2014 Baidu, 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 r... | apache-2.0 |
raehalme/keycloak | examples/providers/federation-provider/src/main/java/org/keycloak/examples/federation/properties/ReadonlyUserModelProxy.java | 1290 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | apache-2.0 |
datanucleus/tests | jdo/json/src/test/org/json/JSONArray.java | 29103 | package org.json;
/*
Copyright (c) 2002 JSON.org
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, merge, publish,... | apache-2.0 |
rancher/rancher | pkg/controllers/management/auth/register.go | 4115 | package auth
import (
"context"
"github.com/rancher/rancher/pkg/clustermanager"
"github.com/rancher/rancher/pkg/types/config"
"github.com/rancher/rancher/pkg/wrangler"
v1 "k8s.io/api/rbac/v1"
"k8s.io/client-go/tools/cache"
)
func RegisterWranglerIndexers(config *wrangler.Context) {
config.RBAC.ClusterRoleBind... | apache-2.0 |
huguesv/PTVS | Python/Tests/TestData/FormattingTests/async.py | 153 | async def f(x):
async for i in await x:
pass
# comment before
async with x:
pass
[ x async for x in await x] | apache-2.0 |
dremio/arrow | java/vector/src/main/java/org/apache/arrow/vector/UInt4Vector.java | 9017 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
openstack/magnum | magnum/tests/functional/api/v1/models/bay_model.py | 1014 | # 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 under the Li... | apache-2.0 |
xuliugen/mina-project | mina-core/src/test/java/org/apache/mina/transport/vmpipe/VmPipeTrafficControlTest.java | 1942 | /*
* 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")... | apache-2.0 |
hferentschik/hibernate-validator | engine/src/test/java/org/hibernate/validator/test/internal/engine/DefaultParameterNameProviderTest.java | 3468 | /*
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | apache-2.0 |
chef-partners/knife-vsphere | spec/vsphere_connection_handling_spec.rb | 2431 | require "spec_helper"
require "chef/knife/helpers/base_vsphere_command"
describe Chef::Knife::BaseVsphereCommand do
describe "#password" do
before do
expect(subject).to receive(:get_config).with(:vsphere_pass).at_least(:once).and_return(password)
end
context "password is in config file" do
l... | apache-2.0 |
yoinx/kernel_adiutor | app/src/main/java/com/grarak/kerneladiutor/fragments/tools/BuildpropFragment.java | 11600 | /*
* Copyright (C) 2015 Willi Ye
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
mlperf/training_results_v0.7 | Google/benchmarks/transformer/implementations/transformer-research-TF-tpu-v3-8192/lingvo/core/batch_major_attention.py | 98986 | # Lint as: python2, python3
# Copyright 2020 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
#
... | apache-2.0 |
radicalbit/ambari | ambari-agent/src/main/python/ambari_agent/FileCache.py | 10789 | #!/usr/bin/env python
'''
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")... | apache-2.0 |
allotria/intellij-community | java/java-impl/src/com/intellij/codeInspection/java18api/OptionalGetWithoutIsPresentInspection.java | 8013 | // Copyright 2000-2018 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.codeInspection.java18api;
import com.intellij.codeInsight.PsiEquivalenceUtil;
import com.intellij.codeInspection.*;
import com.intellij.codeInspection.dataFl... | apache-2.0 |
sparkslabs/kamaelia_ | Sketches/MPS/Experiments/AlphaTests.py | 3281 | #!/usr/bin/python
#
# USAGE OF THIS IS DEPRECATED SINCE THIS CAN NOW BE USED IN THE MAIN CODE
# TREE
#
#
import pygame
import pygame.font
import time
from pygame.locals import *
from Axon.Scheduler import scheduler
from Axon.Component import component
from Kamaelia.Util.PipelineComponent import pipeline
from Subtitle... | apache-2.0 |
manstis/drools | drools-test-coverage/test-compiler-integration/src/test/java/org/drools/compiler/integrationtests/StreamsTest.java | 32008 | /*
* Copyright 2018 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... | apache-2.0 |
koo-taejin/pinpoint | web/src/main/angular/src/app/core/components/inspector-chart/agent-tps-chart-container.ts | 3747 | import { PrimitiveArray, Data, areaSpline } from 'billboard.js';
import { Observable } from 'rxjs';
import { IInspectorChartContainer } from './inspector-chart-container-factory';
import { makeYData, makeXData, getMaxTickValue, getStackedData } from 'app/core/utils/chart-util';
import { IInspectorChartData, InspectorC... | apache-2.0 |
y-higuchi/onos | web/api/src/main/java/org/onosproject/rest/resources/MetersWebResource.java | 8249 | /*
* 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... | apache-2.0 |
growthbeat/growthanalytics-java | src/main/java/com/growthbeat/analytics/query/filter/SegmentFilterQuery.java | 781 | package com.growthbeat.analytics.query.filter;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.growthbeat.analytics.query.segment.SegmentQuery;
@JsonDeserialize(using = JsonDeserializer.None.class)
public class SegmentFilterQuery ext... | apache-2.0 |
feargswalsh92/feargswalsh92.github.io | node_modules/caniuse-lite/data/features/css-matches-pseudo.js | 842 | module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"16":"3 RB PB OB","548":"0 2 4 F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x y z s r"},D:{"16":"F I J C G E B A D X g","164":"0 2 4 8 H L M N O P Q R S T U V W t Y Z a b c d e f K h i j k l m n o p q v w x... | apache-2.0 |
palecur/elasticsearch | modules/reindex/src/main/java/org/elasticsearch/index/reindex/BulkIndexByScrollResponse.java | 6830 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
osdu/anmpserver-manager | src/Util/Temp/SelfUpdateCommand.php | 8189 | <?php
/*
* This file is part of the Symfony Installer package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Installer;
use Symfony\Component\Console\Input\InputI... | apache-2.0 |
box/t3js | lib/dom-jquery.js | 1919 | /**
* @fileoverview DOM abstraction to use jquery to add and remove event listeners
* in T3
* @author jdivock
*/
/* eslint-env jquery */
Box.JQueryDOM = (function() {
'use strict';
return {
type: 'jquery',
/**
* Returns the first element that is a descendant of the element
* on which it is invoked ... | apache-2.0 |
BigBoss424/portfolio | v8/development/node_modules/gatsby/dist/schema/types/pagination.js | 2909 | "use strict";
const {
getFieldsEnum
} = require(`./sort`);
const {
addDerivedType
} = require(`./derived-types`);
const {
distinct,
group
} = require(`../resolvers`);
const getPageInfo = ({
schemaComposer
}) => schemaComposer.getOrCreateOTC(`PageInfo`, tc => {
tc.addFields({
currentPage: `Int!`,
... | apache-2.0 |
SignalK/signalk-server-node | packages/server-admin-ui/src/routes.js | 109 | const routes = {
'/': 'Home',
'/dashboard': 'Dashboard',
'/webapps': 'Webapps'
}
export default routes
| apache-2.0 |
oscarbou/isis | core/metamodel/src/test/java/org/apache/isis/objectstore/jdo/metamodel/facets/object/auditable/GivenAuditableFacetMarkerInterfaceFactoryTest.java | 3600 | /*
* 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")... | apache-2.0 |
heuermh/eggo | setup.py | 1810 | # Licensed to Big Data Genomics (BDG) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The BDG licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file ... | apache-2.0 |
rouazana/james | mailet/mailets/src/main/java/org/apache/james/transport/mailets/RecipientRewriteTable.java | 3440 | /****************************************************************
* 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 ... | apache-2.0 |
apache/kylin | core-metadata/src/main/java/org/apache/kylin/measure/dim/DimCountDistincSerializer.java | 2263 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
tadeegan/eiger-application-aware | src/java/org/apache/cassandra/gms/EndpointState.java | 4767 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
internetisalie/lua-for-idea | testdata/non-test-system-files/lua5.1-tests/pm.lua | 9250 | print('testing pattern matching')
function f(s, p)
local i,e = string.find(s, p)
if i then return string.sub(s, i, e) end
end
function f1(s, p)
p = string.gsub(p, "%%([0-9])", function (s) return "%" .. (s+1) end)
p = string.gsub(p, "^(^?)", "%1()", 1)
p = string.gsub(p, "($?)$", "()%1", 1)
local t = {str... | apache-2.0 |
gradle/gradle | subprojects/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/ArchiveTaskBasedIvyArtifact.java | 2460 | /*
* 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... | apache-2.0 |
cushon/error-prone | check_api/src/main/java/com/google/errorprone/fixes/AppliedFix.java | 4791 | /*
* Copyright 2011 The Error Prone 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 ... | apache-2.0 |
diennea/majordodo | majordodo-core/src/test/java/majordodo/task/FileCommitLogSimpleTest.java | 4316 | /*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... | apache-2.0 |
request/request | tests/test-isUrl.js | 2291 | 'use strict'
var http = require('http')
var request = require('../index')
var tape = require('tape')
var s = http.createServer(function (req, res) {
res.statusCode = 200
res.end('ok')
})
tape('setup', function (t) {
s.listen(0, function () {
s.port = this.address().port
s.url = 'http://localhost:' + s.... | apache-2.0 |
Thingee/cinder | cinder/tests/zonemanager/test_brcd_fc_zone_client_cli.py | 12985 | # (c) Copyright 2014 Brocade Communications Systems Inc.
# All Rights Reserved.
#
# Copyright 2014 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# ... | apache-2.0 |
gpiotti/tsflask | jqueryui/development-bundle/ui/minified/jquery.ui.effect-slide.min.js | 775 | /*! jQuery UI - v1.10.3 - 2013-10-05
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
(function(e){e.effects.effect.slide=function(t,i){var o,s=e(this),n=["position","top","bottom","left","right","width","height"],r=e.effects.setMode(s,t.mode||"show"),f="show"===r,c=t.di... | apache-2.0 |
drusellers/MassTransit | src/MassTransit/Configuration/PipeConfigurators/LogPipeSpecification.cs | 1702 | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | apache-2.0 |
drunklite/spring-loaded | springloaded/src/test/java/org/springsource/loaded/test/InterfaceExtractorTest.java | 4681 | /*
* Copyright 2010-2012 VMware and contributors
*
* 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... | apache-2.0 |
Pluckypan/bigAndroid | api/src/main/java/com/example/android/apis/content/MediaContentJob.java | 4048 | /**
* Copyright (c) 2016, The Android Open Source Project
*
* 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... | apache-2.0 |
Rikkola/kie-wb-common | kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/test/java/org/kie/workbench/common/screens/library/client/settings/sections/knowledgebases/KnowledgeBasesPresenterTest.java | 4605 | package org.kie.workbench.common.screens.library.client.settings.sections.knowledgebases;
import java.util.HashMap;
import java.util.Map;
import javax.enterprise.event.Event;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.kie.workbench.common.scre... | apache-2.0 |
petehunt/react | docs/_js/examples/timer.js | 677 | /**
* @jsx React.DOM
*/
var TIMER_COMPONENT = "\
var Timer = React.createClass({\n\
getInitialState: function() {\n\
return {secondsElapsed: 0};\n\
},\n\
tick: React.autoBind(function() {\n\
this.setState({secondsElapsed: this.state.secondsElapsed + 1});\n\
}),\n\
componentDidMount: function() {\n\... | apache-2.0 |
apache/incubator-taverna-workbench | taverna-report-impl/src/main/java/org/apache/taverna/workbench/report/config/impl/ReportManagerConfigurationImpl.java | 2787 | /**
*
*/
package org.apache.taverna.workbench.report.config.impl;
/*
* 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 Yo... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201508/TargetingValue.java | 4372 | /**
* TargetingValue.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201508;
/**
* Contains a {@link Targeting} value.
* <p>
* <b>This object is experimental!
* ... | apache-2.0 |
simplegeo/hadoop-pig | src/org/apache/pig/newplan/logical/optimizer/LogicalPlanPrinter.java | 8151 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
massakam/pulsar | pulsar-client/src/test/java/org/apache/pulsar/client/impl/RoundRobinPartitionMessageRouterImplTest.java | 5523 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
gustavoanatoly/hbase | hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/policies/TestNoWritesCompactionsViolationPolicyEnforcement.java | 2015 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... | apache-2.0 |
afeiluo/twitter-kit-android | tweet-ui/src/debug/java/com/twitter/sdk/android/tweetui/TestTweetRepository.java | 940 | /*
* Copyright (C) 2015 Twitter, 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 agr... | apache-2.0 |
sacjaya/siddhi | modules/siddhi-extensions/eval-script/src/main/scala/org.wso2.siddhi.extension.evalscript/ScalaEvaluationEngine.scala | 956 | /*
* Copyright (c) 2015, 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.or... | apache-2.0 |
justinsb/kops | vendor/github.com/jetstack/cert-manager/pkg/client/clientset/versioned/typed/certmanager/v1alpha2/fake/fake_issuer.go | 5217 | /*
Copyright The cert-manager 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, sof... | apache-2.0 |
plusplusjiajia/hadoop | hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java | 15088 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
GoogleCloudPlatform/sap-deployment-automation | third_party/github.com/ansible/awx/awx/ui_next/src/components/ErrorDetail/getErrorMessage.test.js | 1743 | import getErrorMessage from './getErrorMessage';
describe('getErrorMessage', () => {
test('should return data string', () => {
const response = {
data: 'error response',
};
expect(getErrorMessage(response)).toEqual('error response');
});
test('should return detail string', () => {
const res... | apache-2.0 |
dain/presto | core/trino-main/src/main/java/io/trino/metadata/AbstractPropertyManager.java | 7289 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | hostinfo/network.lua | 1790 | --[[
Copyright 2015 Rackspace
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
dis... | apache-2.0 |
joshualitt/incubator-beam | sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/MaxTest.java | 2518 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
appcelerator/titanium_mobile_tizen | tests/samples/KitchenSink/Resources/ui/handheld/ios/baseui/coverflow_remote.js | 1873 | function cf_remote() {
var win = Titanium.UI.createWindow();
var images = [];
var prefix = 'http://grin.hq.nasa.gov/IMAGES/SMALL/GPN-2000-0000';
var start = 38;
for (var c=0;c<30;c++)
{
var name = prefix + (start+c) + '.jpg';
images[c]= {image:name, width:225, height:225};
}
// create coverflow view wi... | apache-2.0 |
sohaniwso2/devstudio-tooling-esb | plugins/org.wso2.developerstudio.esb.form.editors/src/org/wso2/developerstudio/esb/form/editors/article/providers/TaskPropertyDialog.java | 14688 | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* Un... | apache-2.0 |
dsrbecky/gapid | gapis/memory/types.go | 2297 | // Copyright (C) 2017 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... | apache-2.0 |
romartin/dashbuilder | dashbuilder-client/dashbuilder-common-client/src/test/java/org/dashbuilder/common/client/editor/list/DropDownEditorTest.java | 3893 | /**
* Copyright 2016 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 ... | apache-2.0 |
lxp521125/weixin | game/more/games/pigu/js/touch.js | 5957 | // Zepto.js
// (c) 2010-2014 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.
;(function($){
var touch = {},
touchTimeout, tapTimeout, swipeTimeout, longTapTimeout,
longTapDelay = 750,
gesture
function swipeDirection(x1, x2, y1, y2) {
return Math.abs(x1 - x2) >... | apache-2.0 |