code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, version 2.0 (the * "License"); you may not use this file except in compliance with the License. You may obtain a * copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
yrcourage/netty
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameListener.java
Java
apache-2.0
11,025
/* * 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...
apixandru/intellij-community
python/src/com/jetbrains/python/psi/impl/PyPrefixExpressionImpl.java
Java
apache-2.0
5,338
//// [typeOfThisInStaticMembers13.ts] class C { static readonly c: "foo" = "foo" static bar = class Inner { static [this.c] = 123; [this.c] = 123; } } //// [typeOfThisInStaticMembers13.js] var C = /** @class */ (function () { function C() { } var _a, _b, _c, _d; _a...
Microsoft/TypeScript
tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).js
JavaScript
apache-2.0
1,288
package com.mapswithme.maps.widget; import android.app.Activity; import android.support.annotation.StringRes; import android.support.v7.widget.Toolbar; import android.view.View; import com.mapswithme.maps.R; import com.mapswithme.util.UiUtils; import com.mapswithme.util.Utils; public class ToolbarController { prote...
programming086/omim
android/src/com/mapswithme/maps/widget/ToolbarController.java
Java
apache-2.0
1,109
/** * 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...
eribeiro/kafka
core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala
Scala
apache-2.0
6,795
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat 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/LICENSE-2.0 * * Unless r...
chirino/fabric8
insight/insight-elasticsearch-discovery/src/main/java/io/fabric8/insight/elasticsearch/discovery/FabricDiscoveryPlugin.java
Java
apache-2.0
1,300
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/InstanceHealthStatus.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Util...
awslabs/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/InstanceHealthStatus.cpp
C++
apache-2.0
2,041
/* * Copyright (C) 2004-2016 ZNC, see the NOTICE file for details. * * 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 requi...
Mikaela/znc
include/znc/Utils.h
C
apache-2.0
11,492
/* * JBoss, Home of Professional Open Source * Copyright 2010 Red Hat Inc. and/or its affiliates and other * contributors as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a full listing of * individual contributors. * * This is free software; you can redistri...
nmldiegues/stibt
infinispan/cachestore/cassandra/src/main/java/org/infinispan/loaders/cassandra/CassandraCacheStoreConfig.java
Java
apache-2.0
7,387
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package lsp import ( "context" "strings" "golang.org/x/tools/internal/lsp/protocol" "golang.org/x/tools/internal/lsp/source" "golang.org/x/tools/internal...
Miciah/origin
vendor/golang.org/x/tools/internal/lsp/diagnostics.go
GO
apache-2.0
3,070
// create table view var tableview = Titanium.UI.createTableView(); Ti.App.fireEvent("show_indicator"); // create table view event listener tableview.addEventListener('click', function(e) { // event data var index = e.index; var section = e.section; var row = e.row; var rowdata = e.rowData; Titanium.UI.createAl...
arnaudsj/titanium_mobile
demos/SmokeTest/Resources/examples/yql_flickr.js
JavaScript
apache-2.0
1,970
package gwt.material.design.client.ui; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 GwtMaterialDesign * %% * 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.ap...
gilberto-torrezan/gwt-material
gwt-material/src/main/java/gwt/material/design/client/ui/MaterialIcon.java
Java
apache-2.0
4,174
# 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...
stackforge/blazar
blazar/monitor/base.py
Python
apache-2.0
3,283
/** * Copyright 2014 * SMEdit https://github.com/StarMade/SMEdit * SMTools https://github.com/StarMade/SMTools * * 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....
skunkiferous/SMEdit
jo_plugin/src/main/java/jo/sm/plugins/all/props/PropsParameters.java
Java
apache-2.0
1,578
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Wed Mar 30 21:34:43 CST 2011 --> <TITLE> Uses of Class org.apache.hadoop.metrics.util.MetricsIntValue (Facebook's realtime distributed databas...
submergerock/avatar-hadoop
docs/api/org/apache/hadoop/metrics/util/class-use/MetricsIntValue.html
HTML
apache-2.0
8,893
// // AuthenticationMethods.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2015 Couchbase, 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 ...
brettharrisonzya/couchbase-lite-net
src/ListenerComponent/Couchbase.Lite.Listener.Shared/PeerToPeer/AuthenticationMethods.cs
C#
apache-2.0
4,263
/* * Copyright 2021 Apollo 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 i...
lepdou/apollo
apollo-client/src/main/java/com/ctrip/framework/apollo/spring/config/ConfigPropertySourceFactory.java
Java
apache-2.0
1,284
/** * 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...
adeelmahmood/lens
lens-cube/src/main/java/org/apache/lens/cube/parse/AggregateResolver.java
Java
apache-2.0
12,371
# ---------------------------------------------------------------------------- # Copyright 2014 Nervana Systems 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.o...
coufon/neon-distributed
neon/data/ticker.py
Python
apache-2.0
13,214
--- layout: example.html title: Realtime Data Example shortdesc: Demonstrates showing realtime data on a map. docs: > <li>Updating a GeoJSON source every 2 seconds</li> <li>Using icon-image in a layer's layout</li> ---
boundlessgeo/sdk
examples/realtime/index.html
HTML
apache-2.0
223
-------------------------------------------------------------------------------- ## Treebank Statistics (UD_Irish) This relation is universal. 85 nodes (0%) are attached to their parents as `neg`. 85 instances of `neg` (100%) are right-to-left (child precedes parent). Average distance between parent and child is ...
fginter/docs-fginterfork
_includes/stats/ga/dep/neg.md
Markdown
apache-2.0
2,936
/* * 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-datafu
datafu-pig/src/main/java/datafu/pig/random/RandomUUID.java
Java
apache-2.0
1,445
package mem import ( "bytes" "encoding/json" "errors" "fmt" "strings" "sync" "sync/atomic" "time" "github.com/portworx/kvdb" "github.com/portworx/kvdb/common" "github.com/sirupsen/logrus" ) const ( // Name is the name of this kvdb implementation. Name = "kv-mem" // KvSnap is an option passed to designa...
libopenstorage/stork
vendor/github.com/portworx/kvdb/mem/kv_mem.go
GO
apache-2.0
20,068
require 'spec_helper' require 'rack/test' include Rack::Test::Methods describe Crono::Web do let(:app) { Crono::Web } before do Crono::CronoJob.destroy_all @test_job_id = 'Perform TestJob every 5 seconds' @test_job_log = 'All runs ok' @test_job = Crono::CronoJob.create!( job_id: @test_job_id...
plashchynski/crono
spec/web_spec.rb
Ruby
apache-2.0
1,684
/* * 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
platform/util/src/com/intellij/util/ref/GCUtil.java
Java
apache-2.0
3,604
/** * * Copyright 2003-2007 Jive 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 o...
igniterealtime/Smack
smack-extensions/src/main/java/org/jivesoftware/smackx/bookmarks/Bookmarks.java
Java
apache-2.0
10,216
# rc-editor-mention --- React Mention Component [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![gemnasium deps][gemnasium-image]][gemnasium-url] [![node version][node-image]][node-url] [![npm download][download-image]][download-ur...
hong1012/FreePay
node_modules/rc-editor-mention/README.md
Markdown
apache-2.0
3,226
/* * Copyright (C) FuseSource, Inc. * http://fusesource.com * * 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 ...
janstey/fuse
bai/bai-core/src/main/java/org/fusesource/bai/config/package-info.java
Java
apache-2.0
1,208
--- external help file: Microsoft.Azure.Commands.SiteRecovery.dll-Help.xml ms.assetid: 07F9EE13-9874-42FC-A17E-7615419F1381 online version: schema: 2.0.0 --- # Get-AzureRmSiteRecoveryPolicy ## SYNOPSIS Gets Site Recovery protection policies. ## SYNTAX ### Default (Default) ``` Get-AzureRmSiteRecoveryPolicy [<Commo...
krkhan/azure-powershell
src/ResourceManager/SiteRecovery/Commands.SiteRecovery/help/Get-AzureRmSiteRecoveryPolicy.md
Markdown
apache-2.0
1,771
/** * 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 ...
ChrisA89/assertj-core
src/test/java/org/assertj/core/error/future/ShouldHaveCompletedExceptionally_create_Test.java
Java
apache-2.0
1,500
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Wed Apr 03 10:03:18 GMT-03:00 2013 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package opennlp.too...
opener-project/nerc-fr
opennlp/docs/apidocs/opennlp-tools/opennlp/tools/tokenize/lang/en/package-use.html
HTML
apache-2.0
5,743
// // This file was pubmed.openAccess.jaxb.generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // 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. ...
alexgarciac/biotea
src/elsevier/jaxb/math/mathml/Mglyph.java
Java
apache-2.0
2,890
// 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.util.indexing; import com.intellij.openapi.application.ReadAction; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.fileTypes.FileT...
ingokegel/intellij-community
platform/lang-impl/src/com/intellij/util/indexing/UnindexedFilesFinder.java
Java
apache-2.0
10,024
'use strict'; let angular = require('angular'); module.exports = angular.module('spinnaker.serverGroup.configure.gce.instanceArchetypeCtrl', []) .controller('gceInstanceArchetypeCtrl', function($scope, instanceTypeService, modalWizardService) { var wizard = modalWizardService.getWizard(); $scope.$watch('c...
zanthrash/deck-1
app/scripts/modules/google/serverGroup/configure/wizard/ServerGroupInstanceArchetype.controller.js
JavaScript
apache-2.0
911
<?php /** * Utility functions for the DrEdit PHP application. * * @author Burcu Dogan <jbd@google.com> * * 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 ...
murat8505/dredit_text_editor_Google-Drive
php/utils.php
PHP
apache-2.0
2,194
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-6.js
JavaScript
apache-2.0
2,446
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
ghchinoy/tensorflow
tensorflow/contrib/distribute/python/keras_multi_worker_test_base.py
Python
apache-2.0
4,173
(function () { "use strict"; var fs = require("fs"), fse = require("fs-extra"), path = require("path"), readline = require("readline"); var _domainManager; function init(domainManager) { _domainManager = domainManager; if (!_domainManager.hasDomain("importNode"...
hyundukkim/WATT
libs/brackets-server/embedded-ext/importfile/node/ImportDomain.js
JavaScript
apache-2.0
5,812
/* * 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 ...
yafengguo/Apache-beam
sdks/java/core/src/main/java/org/apache/beam/sdk/util/PubsubGrpcClient.java
Java
apache-2.0
15,532
'Copyright 2013 Esri '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 u...
Esri/arcgis-templates-silverlight
src/TabbedRibbonVB/TabbedRibbonVB/Actions/ToggleCollapseAction.vb
Visual Basic
apache-2.0
902
package com.planet_ink.coffee_mud.MOBS; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_...
Tycheo/coffeemud
com/planet_ink/coffee_mud/MOBS/Squirrel.java
Java
apache-2.0
2,521
# Changelog: 2016 <th:block th:insert="fragment_changelog.md :: changelog('2016', '2016')"/>
jamesagnew/hapi-fhir
hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/introduction/changelog_2016.md
Markdown
apache-2.0
95
/******************************************************************************* * Copyright 2013 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
debovis/webanno
webanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/controller/ArcCrossedMultipleSentenceException.java
Java
apache-2.0
1,274
/* * Copyright 2000-2016 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...
michaelgallacher/intellij-community
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/JavadocQuarantineStatusCleaner.java
Java
apache-2.0
4,651
/* * Copyright 2014 Commonwealth Computer Research, 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 applicabl...
mmatz-ccri/geomesa
geomesa-core/src/main/scala/org/locationtech/geomesa/core/iterators/RecordTableIterator.scala
Scala
apache-2.0
1,899
.htPicker .add-on { padding: 2px; cursor: pointer; }
GavinGu/kyli_v2
webapp/s/xthena/htpicker/htpicker.css
CSS
apache-2.0
56
/** * 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...
hasinitg/airavata
airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/workspace_model_constants.cpp
C++
apache-2.0
1,201
using System; using Magnum.StateMachine; using MassTransit.Saga; using Serilog; namespace MassTransit.Persistence.MongoDb.Tests.Sagas { public class AuctionSaga : SagaStateMachine<AuctionSaga>, ISaga { public static readonly ILogger Logger = Log.Logger.ForContext<AuctionSaga>(); static Auc...
cwooldridge/MassTransit.Persistence.MongoDb
MassTransit.Persistence.MongoDb.Tests/Sagas/AuctionSaga.cs
C#
apache-2.0
2,517
# `php:7.4.28-zts-buster` ## Docker Metadata - Image ID: `sha256:26c749d3faa43f4ef1d91d75a708f59580a89c200bf7cb16fb4beffde1111169` - Created: `2022-03-03T10:18:06.549558732Z` - Virtual Size: ~ 385.67 Mb (total size of all layers on-disk) - Arch: `linux`/`amd64` - Entrypoint: `["docker-php-entrypoint"]` - Command:...
docker-library/repo-info
repos/php/local/7.4.28-zts-buster.md
Markdown
apache-2.0
119,050
// Copyright 2020 Red Hat, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
coreos/ignition
config/v3_4_experimental/types/ignition.go
GO
apache-2.0
1,335
"""Helpers that help with state related things.""" import asyncio from collections import defaultdict import datetime as dt import logging from types import ModuleType, TracebackType from typing import Dict, Iterable, List, Optional, Type, Union from homeassistant.components.sun import STATE_ABOVE_HORIZON, STATE_BELOW...
leppa/home-assistant
homeassistant/helpers/state.py
Python
apache-2.0
3,813
/* Copyright 2014 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, ...
abdasgupta/kubernetes
plugin/pkg/scheduler/algorithm/predicates/predicates.go
GO
apache-2.0
53,588
<?php /** * LICENSE: 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 ...
chewbaccateam/hackfest
vendor/microsoft/windowsazure/tests/unit/WindowsAzure/ServiceBus/models/SqlRuleActionTest.php
PHP
apache-2.0
2,265
package mil.nga.giat.geowave.cli.geoserver; import java.io.File; import java.util.ArrayList; import java.util.List; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import mil.nga.giat.geowave.core.cli.annotations.GeowaveOperation; import mil.nga.giat.geowave.core.cli.api.Command; import mi...
Becca42/geowave
extensions/cli/geoserver/src/main/java/mil/nga/giat/geowave/cli/geoserver/GeoServerRemoveStyleCommand.java
Java
apache-2.0
2,009
/* * Copyright (C) 2014 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...
AndroidX/androidx
appcompat/appcompat/src/main/java/androidx/appcompat/widget/ContentFrameLayout.java
Java
apache-2.0
7,578
/* Copyright (c) 2007 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...
michael-jia-sage/libgoogle
src/gapps/userfeed.cs
C#
apache-2.0
1,602
/** 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 use t...
tempbottle/flume-ng-kafka-sink
impl/src/test/java/com.thilinamb.flume.sink/util/ZooKeeperLocal.java
Java
apache-2.0
2,197
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/billing/budgets/v1/budget_model.proto namespace Google\Cloud\Billing\Budgets\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Describes a budget am...
googleapis/google-cloud-php-billing-budgets
src/V1/LastPeriodAmount.php
PHP
apache-2.0
1,331
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
gemfire-core/src/main/java/com/gemstone/gemfire/admin/internal/CacheServerImpl.java
Java
apache-2.0
6,469
/* * 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")...
peridotperiod/isis
tck/tck-viewer-restfulobjects/src/test/java/org/apache/isis/viewer/restfulobjects/tck/domainobject/oid/collection/Get_whenDoesntExistOid_then_404.java
Java
apache-2.0
2,570
/* * 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...
dain/presto
testing/trino-product-tests/src/main/java/io/trino/tests/product/cassandra/TestSelect.java
Java
apache-2.0
19,572
// Copyright John Maddock 2006. // Copyright Paul A. Bristow 2007, 2009 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/math/concepts/real_concept.hpp> #define ...
ryancoleman/autodock-vina
boost_1_54_0/libs/math/test/test_ibeta_inv.hpp
C++
apache-2.0
6,612
# Copyright (C) Mesosphere, Inc. See LICENSE file for details. import copy import logging import os import time import pytest import requests from generic_test_code.common import ( generic_correct_upstream_dest_test, generic_correct_upstream_request_test, generic_upstream_headers_verify_test, generic...
surdy/dcos
packages/adminrouter/extra/src/test-harness/tests/test_master.py
Python
apache-2.0
13,807
# encoding: UTF-8 require 'simplecov' require 'coveralls' SimpleCov.formatter = if ENV['CI'] Coveralls::SimpleCov::Formatter else SimpleCov::Formatter::HTMLFormatter end SimpleCov.start
sbagdadi-gpsw/custom-prometheus-client
spec/spec_helper.rb
Ruby
apache-2.0
203
<?php require_once __DIR__ . "/http_server.php"; /* class swoole_http_server extends swoole_server { public function on($name, $cb) {} // 与 tcp server 的on接受的eventname 不同 } class swoole_http_response { public function cookie() {} public function rawcookie() {} public function status() {} public f...
youzan/zan
php-test/apitest/swoole_http_server/simple_https_server.php
PHP
apache-2.0
704
/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */ /* It's an automatically generated code. Do not modify it. */ package org.intellij.lang.regexp; import com.intellij.lexer.FlexLexer; import com.intellij.psi.StringEscapesTokenTypes; import com.intellij.psi.tree.IElementType; ...
idea4bsd/idea4bsd
RegExpSupport/gen/org/intellij/lang/regexp/_RegExLexer.java
Java
apache-2.0
43,798
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_14) on Tue Aug 17 01:02:51 EDT 2010 --> <TITLE> Uses of Class org.apache.hadoop.conf.Configured (Hadoop-common 0.21.0 API) </TITLE> <META NAME="date...
jayantgolhar/Hadoop-0.21.0
common/docs/api/org/apache/hadoop/conf/class-use/Configured.html
HTML
apache-2.0
23,837
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/rds/model/CreateDBParameterGroupRequest.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> using namespace Aws::RDS::Model; using namespac...
jt70471/aws-sdk-cpp
aws-cpp-sdk-rds/source/model/CreateDBParameterGroupRequest.cpp
C++
apache-2.0
1,483
package node import ( "bytes" "io/ioutil" "testing" "github.com/docker/cli/cli/internal/test" "github.com/docker/docker/api/types/swarm" "github.com/pkg/errors" // Import builders to get the builder function as package function . "github.com/docker/cli/cli/internal/test/builders" "github.com/docker/docker/pk...
kris-nova/klone
vendor/github.com/docker/cli/cli/command/node/promote_test.go
GO
apache-2.0
2,594
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var S18 = (function (_super) { __extends(S18, _super); function S18() { _supe...
hippich/typescript
tests/baselines/reference/recursiveBaseCheck6.js
JavaScript
apache-2.0
400
<!DOCTYPE html> <html devsite> <head> <meta name="project_path" value="/web/tools/workbox/_project.yaml" /> <meta name="book_path" value="/web/tools/workbox/_book.yaml" /> <meta name="gtm_var" data-key="docType" data-value="reference"> <title>Class: Plugin</title> <link href="jsdoc.css" rel="stylesheet"> </h...
ebidel/WebFundamentals
src/content/en/tools/workbox/reference-docs/v3.0.0/workbox.backgroundSync.Plugin.html
HTML
apache-2.0
2,654
/* * 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 ...
krivachy/compgs03_mutation_testing
src/main/java/org/apache/commons/collections4/iterators/FilterIterator.java
Java
apache-2.0
6,056
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
romankagan/DDBWorkbench
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/settings/AbstractImportFromExternalSystemControl.java
Java
apache-2.0
9,041
/* * 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 ...
yajiedesign/mxnet
src/operator/numpy/np_einsum_op.cc
C++
apache-2.0
14,145
/* * Copyright 2014 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...
mprobst/closure-compiler
src/com/google/javascript/jscomp/TypeTransformation.java
Java
apache-2.0
30,898
// Copyright 2015 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...
google/syzygy
syzygy/refinery/types/test_typenames.h
C
apache-2.0
918
from django.utils.translation import ugettext_lazy as _ import horizon from {{ dash_path }} import dashboard class {{ panel_name|title }}(horizon.Panel): name = _("{{ panel_name|title }}") slug = "{{ panel_name|slugify }}" dashboard.register({{ panel_name|title }})
xhorn/xchorizon
horizon/conf/panel_template/panel.py
Python
apache-2.0
280
'use strict'; var TodoServiceFactory = function(database){ return { // Return all todos in the database getTodos: function(){ return database('Todo').select().orderBy('createdAt', 'desc'); }, // Return a single todo by Id getTodo: function(id){ var p = Promise.defer(); database...
raffaeu/Syncho
src/node_modules/kontainer-di/examples/express/services/todo_service.js
JavaScript
apache-2.0
2,050
/* * Copyright @ 2015 Atlassian Pty Ltd * * 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...
gardenia/jitsi-hammer
src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RemoteCandidatePacketExtension.java
Java
apache-2.0
1,149
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * 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 ...
boundlessgeo/sdk
src/components/map/zoom-control.js
JavaScript
apache-2.0
2,469
/* Copyright 2015 Coursera 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 in writing, softwar...
coursera/shift
shift/src/main/java/org/coursera/android/shift/ShiftActionsFragment.java
Java
apache-2.0
2,029
using MongoDB.Bson; namespace MongoDB.Protocol { /// <summary> /// Deprecated. OP_MSG sends a diagnostic message to the database. /// The database sends back a fixed resonse. /// </summary> /// <remarks> /// struct { /// MsgHeader header; // standard message header /...
mongodb-csharp/mongodb-csharp
source/MongoDB/Protocol/MsgMessage.cs
C#
apache-2.0
1,486
package com.inomma.kandu.server; public enum RequestMethod { POST,GET,PUT; }
kandu-community/android
kandu-android/trunk/src/com/inomma/kandu/server/RequestMethod.java
Java
apache-2.0
80
// Copyright 2014 The Bazel 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 appl...
dslomov/bazel
src/main/java/com/google/devtools/build/lib/rules/apple/AppleToolchain.java
Java
apache-2.0
7,703
# automatically generated, do not modify # namespace: NamespaceB import flatbuffers class TableInNestedNS(object): __slots__ = ['_tab'] # TableInNestedNS def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos) # TableInNestedNS def Foo(self): o = flatbuffers.numb...
evanw/flatbuffers
tests/namespace_test/NamespaceA/NamespaceB/TableInNestedNS.py
Python
apache-2.0
693
{% extends 'django_openstack/dash/base.html' %} {% block sidebar %} {% with current_sidebar="networks" %} {{block.super}} {% endwith %} {% endblock %} {% block page_header %} {# to make searchable false, just remove it from the include statement #} {% include "django_openstack/common/_page_header.html" wi...
rnirmal/openstack-dashboard
django-openstack/django_openstack/templates/django_openstack/dash/networks/rename.html
HTML
apache-2.0
1,019
package cgeo.geocaching.files; import cgeo.geocaching.R; import cgeo.geocaching.ui.recyclerview.AbstractRecyclerViewAdapter; import cgeo.geocaching.ui.recyclerview.AbstractRecyclerViewHolder; import android.graphics.Typeface; import android.support.annotation.NonNull; import android.view.LayoutInflater; import androi...
kumy/cgeo
main/src/cgeo/geocaching/files/FileSelectionListAdapter.java
Java
apache-2.0
2,548
#!/usr/bin/env bash # Shutdown script for azkaban solo server set -o nounset source "$(dirname $0)/util.sh" installdir="$(dirname $0)/.." maxattempt=3 pid=`cat ${installdir}/currentpid` pname="solo server" kill_process_with_retry "${pid}" "${pname}" "${maxattempt}" && rm -f ${installdir}/currentpid
tianjianinline/azkaban-psbc
azkaban-solo-server/src/main/bash/azkaban-solo-shutdown.sh
Shell
apache-2.0
302
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 #pragma once #ifndef WINRT_Windows_UI_Xaml_Resources_H #define WINRT_Windows_UI_Xaml_Resources_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.210930.14"), "Mismatched C++/WinRT headers."); #define...
google/nearby-connections
internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h
C
apache-2.0
9,435
/* * Copyright 2005 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...
pkman/droolsjbpm-tools
drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/ruleflow/view/property/constraint/StateConstraintListDialog.java
Java
apache-2.0
5,496
/* * 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 ...
xsm110/Apache-Beam
runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/DataflowMetricsTest.java
Java
apache-2.0
10,530
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-3-21.js
JavaScript
apache-2.0
2,528
#import "UCloudGPUImageHarrisCornerDetectionFilter.h" /** Noble corner detector This is the Noble variant on the Harris detector, from Alison Noble, "Descriptions of Image Surfaces", PhD thesis, Department of Engineering Science, Oxford University 1989, p45. */ @interface UCloudGPUImageNobleCornerDetectionFil...
hsiun/yoyo
ulive/ULive-IOS-SDK/ucloud-ios-live-sdk-v1.2.7/ucloud-ios-live-sdk-v1.2.7/UCloudMediaRecorderDemo/UCloudMediaRecorderDemo/lib/Recorder/Filter/UCloudGPUImageNobleCornerDetectionFilter.h
C
apache-2.0
374
/* * 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 ...
christophd/camel
dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AtomixSetComponentBuilderFactory.java
Java
apache-2.0
16,066
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
hkernbach/arangodb
arangosh/Benchmark/BenchFeature.h
C
apache-2.0
3,371
define(function(require, exports, module) { var Morris=require("morris"); require("jquery.bootstrap-datetimepicker"); var Validator = require('bootstrap.validator'); var autoSubmitCondition=require("./autoSubmitCondition.js"); require('common/validator-rules').inject(Validator); var now = new Da...
18826252059/im
web/bundles/topxiaadmin/js/controller/analysis/classroom-income.js
JavaScript
apache-2.0
1,998
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/license-manager/model/Tag.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace...
aws/aws-sdk-cpp
aws-cpp-sdk-license-manager/source/model/Tag.cpp
C++
apache-2.0
1,136
# # Cookbook Name:: apache2 # Recipe:: mod_auth_cas # # Copyright 2013, 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
ceros/apache2-onehealth
recipes/mod_auth_cas.rb
Ruby
apache-2.0
2,026
/* * 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 ...
mduerig/jackrabbit-oak
oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/package-info.java
Java
apache-2.0
916
/** * @file sf1r/search-manager/ORDocumentIterator.h * @author Yingfeng Zhang * @date Created <2009-09-22> * @date Updated <2010-03-24 14:42:03> * @brief DocumentIterator which implements the OR semantics * NOT semantics is also included */ #ifndef OR_DOCUMENT_ITERATOR_H #define OR_DOCUMENT_ITERATOR_H ...
izenecloud/sf1r-lite
source/core/search-manager/ORDocumentIterator.h
C
apache-2.0
2,728