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
/** * 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 ...
mdecourci/assertj-core
src/test/java/org/assertj/core/api/iterable/Iterable_generics_with_varargs_Test.java
Java
apache-2.0
1,467
/* * 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 t...
googleapis/google-api-java-client-services
clients/google-api-services-classroom/v1/1.29.2/com/google/api/services/classroom/model/DriveFile.java
Java
apache-2.0
3,882
package org.testng; /** * This class describes the result of a test. * * @author Cedric Beust, May 2, 2004 * @since May 2, 2004 * @version $Revision: 721 $, $Date: 2009-05-23 09:55:46 -0700 (Sat, 23 May 2009) $ * */ public interface ITestResult extends IAttributes, Comparable<ITestResult> { // // Test sta...
raindev/testng
src/main/java/org/testng/ITestResult.java
Java
apache-2.0
2,332
/** * Copyright 2015 The AMP HTML 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 require...
lannka/amphtml
extensions/amp-brightcove/0.1/test/test-amp-brightcove.js
JavaScript
apache-2.0
10,948
# -*- coding: utf-8 -*- import logging import itertools import math import urllib import httplib as http from modularodm import Q from modularodm.exceptions import NoResultsFound from flask import request from framework import utils from framework import sentry from framework.auth.core import User from framework.flas...
zachjanicki/osf.io
website/views.py
Python
apache-2.0
7,843
// Copyright 2018 Google LLC 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 l...
knative/test-infra
vendor/github.com/google/go-containerregistry/pkg/authn/authn.go
GO
apache-2.0
1,409
/** * Copyright (C) 2014 Stratio (http://stratio.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 ap...
Stratio/streaming-cep-engine
engine/src/test/java/com/stratio/decision/unit/engine/validator/MongoNameRegularExpressionValidatorTest.java
Java
apache-2.0
1,609
/* * 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 ...
MarkDacek/commons-lang
src/test/java/org/apache/commons/lang3/NotImplementedExceptionTest.java
Java
apache-2.0
2,682
// 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...
Qining/gapid
cmd/gapit/stresstest.go
GO
apache-2.0
2,609
# Copyright 2017 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...
rabipanda/tensorflow
tensorflow/contrib/data/python/kernel_tests/filter_dataset_op_test.py
Python
apache-2.0
7,371
/* * 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...
pperboires/PocDrools
drools-core/src/main/java/org/drools/conflict/AbstractConflictResolver.java
Java
apache-2.0
1,213
/* Copyright 2007-2016 QReal Research Group * * 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...
danilaml/qreal
qrxc/graphicType.cpp
C++
apache-2.0
17,325
package org.zstack.sdk.iam2.entity; public enum StateEvent { enable, disable, }
AlanJager/zstack
sdk/src/main/java/org/zstack/sdk/iam2/entity/StateEvent.java
Java
apache-2.0
83
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual 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 Licen...
kohsuke/jboss-marshalling
river/src/test/java/org/jboss/marshalling/river/ReadWriteTest.java
Java
apache-2.0
2,135
package manager import ( ds "github.com/Comcast/traffic_control/traffic_monitor/experimental/traffic_monitor/deliveryservice" "sync" ) type LastStatsThreadsafe struct { stats *ds.LastStats m *sync.RWMutex } func NewLastStatsThreadsafe() LastStatsThreadsafe { s := ds.NewLastStats() return LastStatsThreadsaf...
dneuman64/traffic_control
traffic_monitor/experimental/traffic_monitor/manager/lastkbpsstats.go
GO
apache-2.0
756
/* * 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 app...
jhrcek/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-backend/src/main/java/org/kie/workbench/common/stunner/bpmn/backend/legacy/profile/impl/DefaultProfileImpl.java
Java
apache-2.0
13,298
package config import ( "encoding/json" "registry/api" "registry/storage" "os" ) type Config struct { API *api.Config `json:"api"` Storage *storage.Config `json:"storage"` } func New(filename string) (*Config, error) { // read in config var cfg Config if cfgFile, err := os.Open(filename); err != nil...
seryl/go-docker-registry
src/registry/config/config.go
GO
apache-2.0
474
/* * Copyright 2010 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...
Rikkola/guvnor
droolsjbpm-ide-common/src/main/java/org/drools/ide/common/client/factconstraints/dataprovider/FieldDataProvider.java
Java
apache-2.0
1,045
/* * 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 ...
mtaal/olingo-odata4-jpa
lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpMerge.java
Java
apache-2.0
1,741
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
rectang/lucy-clownfish
runtime/python/src/clownfish/__init__.py
Python
apache-2.0
846
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may #...
Brocade-OpenSource/OpenStack-DNRM-Nova
nova/service.py
Python
apache-2.0
15,048
/* * 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/jackrabbit-ocm
src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterHashMapTest.java
Java
apache-2.0
5,619
/* * 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; import org.apache.logging.l...
robin13/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/DataTier.java
Java
apache-2.0
6,329
from flask import Blueprint, render_template, request, url_for from CTFd.models import Users from CTFd.utils import config from CTFd.utils.decorators import authed_only from CTFd.utils.decorators.visibility import ( check_account_visibility, check_score_visibility, ) from CTFd.utils.helpers import get_errors, ...
LosFuzzys/CTFd
CTFd/users.py
Python
apache-2.0
2,090
<?php /* private variable and functions are prefixed with underscore('_') */ require_once('TranslationContainer.php'); class TMXParser { private $_parser = null; private $_xmlFile = null; private $_currentTuid = null; private $_boolSeg = false; private $_currentLanguage = null; private $_curre...
mrinsss/Full-Repo
tripezi/system/application/libraries/multilanguage/TMXParser.php
PHP
apache-2.0
4,332
/* * 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 ...
davidkarlsen/camel
components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java
Java
apache-2.0
5,600
/* * 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 ...
Fabryprog/camel
docs/components/modules/ROOT/examples/core/camel-core/src/test/java/org/apache/camel/processor/interceptor/AdviceWithMockMultipleEndpointsWithSkipTest.java
Java
apache-2.0
3,016
//// [tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit2.ts] //// //// [0.ts] export function foo() { return "foo"; } //// [1.ts] var p1 = import("./0"); //// [0.js] export function foo() { return "foo"; } //// [1.js] var p1 = import("./0"); //// [0.d.ts] export declare functi...
synaptek/TypeScript
tests/baselines/reference/importCallExpressionDeclarationEmit2.js
JavaScript
apache-2.0
339
# # Cookbook:: hadoop # Recipe:: pig # # Copyright © 2013-2016 Cask Data, 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 req...
caskdata/hadoop_cookbook
recipes/pig.rb
Ruby
apache-2.0
714
/* * Copyright (c) 2008-2018, Hazelcast, 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 ...
Donnerbart/hazelcast
hazelcast/src/test/java/com/hazelcast/cache/merge/CacheMergePolicyProviderTest.java
Java
apache-2.0
4,605
<?php // locale: great britain english (en-gb) // author: Chris Gedrim https://github.com/chrisgedrim return array( "months" => explode('_', 'January_February_March_April_May_June_July_August_September_October_November_December'), "monthsNominative" => explode('_', 'January_February_March_April_...
novaramedia/novaramedia-com
vendor/fightbulc/moment/src/Locales/en_GB.php
PHP
apache-2.0
2,478
/* * Copyright © 2014-2015 Cask Data, 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...
chtyim/cdap
cdap-api/src/main/java/co/cask/cdap/api/dataset/lib/TimePartitionedFileSet.java
Java
apache-2.0
4,051
/******************************************************************************* * Copyright 2015-2019 Toaker NewBeyondViewPager * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * htt...
RyanTech/NewBeyondViewPager
library/src/main/java/net/soulwolf/newbeyondviewpager/NewBeyondViewPager.java
Java
apache-2.0
2,071
package org.apache.lucene.analysis.hunspell; /* * 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 Lic...
q474818917/solr-5.2.0
lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestHunspellStemFilter.java
Java
apache-2.0
5,177
<?php error_reporting(E_ALL ^ E_NOTICE); include_once("Include_GetString.php") ; $Theme="Office2007"; ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head ID="Head1"> <title><?php echo GetString("MoreColors") ; ?></title> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)" /> <meta http-e...
srinivasans/educloud
others/editor/Dialogs/colorpicker.php
PHP
apache-2.0
3,928
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3...
yaolei/Samoyed
node_modules/material-ui/Card/CardExpandable.js
JavaScript
apache-2.0
3,257
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
payten/nyu-sakai-10.4
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/jsf/renderer/DatePickerRenderer.java
Java
apache-2.0
6,076
import {BrowserDomAdapter} from 'angular2/src/dom/browser_adapter'; import {PromiseWrapper} from 'angular2/src/facade/async'; import {List, ListWrapper, Map, MapWrapper} from 'angular2/src/facade/collection'; import {DateWrapper, Type, print} from 'angular2/src/facade/lang'; import { Parser, Lexer, DynamicChange...
tkarling/angular
modules/benchmarks/src/compiler/compiler_benchmark.ts
TypeScript
apache-2.0
7,166
/** * Copyright 2014 Mozilla 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
yurydelendik/shumway
src/flash/display/IBitmapDrawable.ts
TypeScript
apache-2.0
891
package org.apache.maven.project.inheritance.t08; /* * 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 A...
cstamas/maven
maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java
Java
apache-2.0
3,173
/** * 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/metadata/Storage.java
Java
apache-2.0
20,153
/* * #%L * Wildfly Camel :: Testsuite * %% * Copyright (C) 2013 - 2017 RedHat * %% * 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 ...
jamesnetherton/wildfly-camel
itests/common/src/main/java/org/wildfly/camel/test/common/aws/SQSUtils.java
Java
apache-2.0
1,275
module MiqPolicyController::PolicyProfiles extend ActiveSupport::Concern def profile_edit case params[:button] when "cancel" @edit = nil @profile = MiqPolicySet.find_by_id(session[:edit][:profile_id]) if session[:edit] && session[:edit][:profile_id] if !@profile || (@profile && @profile.i...
maas-ufcg/manageiq
app/controllers/miq_policy_controller/policy_profiles.rb
Ruby
apache-2.0
7,000
/* * 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/jmeter
src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java
Java
apache-2.0
18,933
/***** BEGIN LICENSE BLOCK ***** * Copyright (c) 2006-2007, 2010 Nick Sieger <nick@nicksieger.com> * Copyright (c) 2006-2007 Ola Bini <ola.bini@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to d...
ThoughtWorksStudios/mingle_git_plugin
tools/gems/gems/activerecord-jdbc-adapter-1.1.1/src/java/arjdbc/derby/DerbyModule.java
Java
apache-2.0
15,045
# Copyright (c) 2020 Vestas Wind Systems A/S # # SPDX-License-Identifier: Apache-2.0 '''Runner for performing program download over CANopen (DSP 302-3).''' import argparse import os import time from runners.core import ZephyrBinaryRunner, RunnerCaps try: import canopen from progress.bar import Bar MISSI...
zephyrproject-rtos/zephyr
scripts/west_commands/runners/canopen_program.py
Python
apache-2.0
13,074
/* * * 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 * "Licens...
dlyle65535/metron
metron-analytics/metron-profiler-client/src/main/java/org/apache/metron/profiler/client/stellar/GetProfile.java
Java
apache-2.0
10,633
/* * 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 ...
hbeatty/incubator-trafficcontrol
traffic_portal/app/src/common/api/TypeService.js
JavaScript
apache-2.0
3,066
/* * 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/qpid-jms
qpid-jms-client/src/test/java/org/apache/qpid/jms/producer/JmsQueueSenderTest.java
Java
apache-2.0
5,048
// Copyright 2014 The Closure Library 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 requ...
redforks/closure-library
closure/goog/soy/data_test.js
JavaScript
apache-2.0
1,495
package util import ( "fmt" ) /* BytesRefHash is a special purpose hash map like data structure optimized for BytesRef instances. BytesRefHash maintains mappings of byte arrays to ids (map[[]byte]int) sorting the hashed bytes efficiently in continuous storage. The mapping to the id is encapsulated inside BytesRefHas...
balzaczyy/golucene
core/util/bytesRefHash.go
GO
apache-2.0
10,103
/** * 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...
kfirlevari/zookeeper
src/java/main/org/apache/zookeeper/server/WatchManager.java
Java
apache-2.0
8,715
package org.apache.lucene.queryparser.flexible.standard.processors; /* * 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 Y...
yida-lxw/solr-5.3.1
lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/standard/processors/RemoveEmptyNonLeafQueryNodeProcessor.java
Java
apache-2.0
3,319
/* * Copyright 2000-2009 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/xdebugger-api/src/com/intellij/xdebugger/breakpoints/ui/XBreakpointGroup.java
Java
apache-2.0
1,450
/* Copyright 2016 Goldman Sachs. 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...
goldmansachs/reladomo
reladomo/src/main/java/com/gs/fw/common/mithra/portal/UpdateDataChooser.java
Java
apache-2.0
885
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
devigned/azure-powershell
src/ResourceManager/LogicApp/Commands.LogicApp/Cmdlets/IntegrationAccount/UpdateAzureIntegrationAccountMapCommand.cs
C#
apache-2.0
6,849
/** * * 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"); ...
baishuo/hbase-1.0.0-cdh5.4.7_baishuo
hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java
Java
apache-2.0
14,404
<?php session_start(); include_once("../functions.inc.php"); $CONF['title_header']=lang('NEW_title')." - ".$CONF['name_of_firm']; if (validate_user($_SESSION['helpdesk_user_id'], $_SESSION['code'])) { if ($_SESSION['helpdesk_user_id']) { include("head.inc.php"); include("navbar.inc.php"); //check_unlinked_...
vik0803/hd.rustem
inc/new.php
PHP
apache-2.0
15,273
package org.batfish.question.namedstructures; import static org.batfish.question.namedstructures.NamedStructuresAnswerer.getAllStructureNamesOfType; import static org.batfish.question.namedstructures.NamedStructuresAnswerer.insertedObject; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.ass...
intentionet/batfish
projects/question/src/test/java/org/batfish/question/namedstructures/NamedStructuresAnswererTest.java
Java
apache-2.0
9,212
/* * 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 ...
fschueler/incubator-systemml
src/main/java/org/apache/sysml/runtime/controlprogram/parfor/opt/OptNodeStatistics.java
Java
apache-2.0
2,875
import Check from "./Check.js"; import defaultValue from "./defaultValue.js"; import defined from "./defined.js"; import DeveloperError from "./DeveloperError.js"; import CesiumMath from "./Math.js"; /** * Creates a curve parameterized and evaluated by time. This type describes an interface * and is not intended to ...
progsung/cesium
Source/Core/Spline.js
JavaScript
apache-2.0
4,935
/******************************************************************************* * Copyright (c) 2010 Haifeng Li * * 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...
dublinio/smile
Smile/src/main/java/smile/feature/Nominal2Binary.java
Java
apache-2.0
3,646
# # Copyright 2019 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 agreed to in ...
ketan/gocd
server/src/main/webapp/WEB-INF/rails/spec/views/shared/_build_cause_html_spec.rb
Ruby
apache-2.0
11,695
define(function(require, exports, module) { var Notify = require('common/bootstrap-notify'); exports.run = function() { var $table = $('#teacher-table'); $table.on('click', '.promote-user', function(){ $.post($(this).data('url'),function(response) { window.location.reload(); ...
18826252059/im
web/bundles/topxiaadmin/js/controller/user/teacher-list.js
JavaScript
apache-2.0
539
/* 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 applicable law or a...
karllessard/tensorflow
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
C++
apache-2.0
34,132
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/runtime/runtime-utils.h" #include "src/arguments.h" #include "src/bootstrapper.h" #include "src/conversions.h" #include "src/debug/debug....
weolar/miniblink49
v8_4_8/src/runtime/runtime-internal.cc
C++
apache-2.0
13,940
/* * Copyright (c) 2008-2018, Hazelcast, 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 ...
tufangorel/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/cache/CacheClearMessageTask.java
Java
apache-2.0
3,397
// Copyright 2012 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...
ericmckean/collide
java/com/google/collide/client/workspace/FileTreeModel.java
Java
apache-2.0
23,794
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
kewu1992/test-infra
prow/plugins/trigger/trigger.go
GO
apache-2.0
2,751
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Local Entry</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.wso2.develop...
chanakaudaya/developer-studio
esb/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/LocalEntry.java
Java
apache-2.0
5,960
package md5b60ffeb829f638581ab2bb9b1a7f4f3f; public class ButtonRenderer extends md5b60ffeb829f638581ab2bb9b1a7f4f3f.ViewRenderer_2 implements mono.android.IGCUserPeer, android.view.View.OnAttachStateChangeListener { static final String __md_methods; static { __md_methods = "n_onViewAttachedToWindow:(La...
MobileRez/XFXamlClass
Lab Materials/Part 1/Completed/MeasurementConverter/MeasurementConverter.Droid/obj/Debug/android/src/md5b60ffeb829f638581ab2bb9b1a7f4f3f/ButtonRenderer.java
Java
apache-2.0
3,388
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mhurne/aws-sdk-java
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/CacheBehaviors.java
Java
apache-2.0
6,768
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
ern/elasticsearch
client/rest-high-level/src/main/java/org/elasticsearch/client/security/GetUserPrivilegesResponse.java
Java
apache-2.0
5,778
# Copyright 2012 Nebula, 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 agree...
yangleo/cloud-github
openstack_dashboard/test/test_data/cinder_data.py
Python
apache-2.0
16,279
/** * 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...
PHILO-HE/SSM
smart-hadoop-support/smart-hadoop/src/main/java/org/smartdata/hdfs/action/AllDiskFileAction.java
Java
apache-2.0
1,192
/* * Copyright (c) 2008-2014 MongoDB, 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...
kay-kim/mongo-java-driver
driver-core/src/main/com/mongodb/connection/SocketStreamHelper.java
Java
apache-2.0
2,178
 using System.ComponentModel; using GraphX.Controls.Models; #if WPF using System.Windows; using DefaultEventArgs = System.EventArgs; using System.Windows.Controls; #elif METRO using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; using DefaultEventArgs = System.Object; #endif using GraphX.PCL.C...
edgardozoppi/GraphX
GraphX.Controls/Controls/VertexLabels/AttachableVertexLabelControl.cs
C#
apache-2.0
5,630
/* * 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...
falko/camunda-bpm-platform
engine-rest/engine-rest-jaxrs2/src/test/java-jersey2/org/camunda/bpm/engine/rest/util/container/JerseySpecifics.java
Java
apache-2.0
2,193
/* * 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 ...
hsbhathiya/stratos
extensions/load-balancer/nginx-extension/src/main/java/org/apache/stratos/nginx/extension/NginxConfigWriter.java
Java
apache-2.0
7,122
// Copyright 2015 The Project Buendia 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 agree...
llvasconcellos/client
app/src/main/java/org/projectbuendia/client/json/JsonConceptResponse.java
Java
apache-2.0
762
// 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 "remoting/protocol/authentication_method.h" #include "base/base64.h" #include "base/logging.h" #include "crypto/hmac.h" #include "remoting/p...
plxaye/chromium
src/remoting/protocol/authentication_method.cc
C++
apache-2.0
3,345
# Copyright 2014, Doug Wiegley, A10 Networks. # # 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...
dougwig/acos-client
acos_client/v21/slb/template/persistence.py
Python
apache-2.0
2,099
/* Copyright 2014 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...
GertiPoppel/kubernetes
pkg/client/unversioned/testclient/fake_resource_quotas.go
GO
apache-2.0
2,914
/* * Copyright 2010 The Apache Software Foundation * * 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 ...
indi60/hbase-pmc
target/hbase-0.94.1/hbase-0.94.1/src/main/java/org/apache/hadoop/hbase/replication/regionserver/Replication.java
Java
apache-2.0
7,362
// Copyright 2015 PingCAP, 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...
tiancaiamao/tidb
util/codec/bytes.go
GO
apache-2.0
5,743
// <copyright file="TangoPointCloud.cs" company="Google"> // // Copyright 2016 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...
kyr7/tango-examples-unity
UnityExamples/Assets/TangoPrefabs/Scripts/TangoPointCloud.cs
C#
apache-2.0
18,770
#!/usr/bin/env ruby # Encoding: utf-8 # # Author:: api.dklimkin@gmail.com (Danial Klimkin) # # Copyright:: Copyright 2011, Google Inc. All Rights Reserved. # # License:: Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
claimsmall/google-api-ads-ruby
adwords_api/examples/v201506/targeting/get_targetable_languages_and_carriers.rb
Ruby
apache-2.0
3,071
package application import ( "github.com/cloudfoundry/cli/cf/api/applications" "github.com/cloudfoundry/cli/cf/command_metadata" "github.com/cloudfoundry/cli/cf/configuration/core_config" "github.com/cloudfoundry/cli/cf/errors" . "github.com/cloudfoundry/cli/cf/i18n" "github.com/cloudfoundry/cli/cf/models" "git...
rastasheep/trash-can
cf/commands/application/restage.go
GO
apache-2.0
2,353
/* * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
XidongHuang/aws-sdk-for-java
src/main/java/com/amazonaws/services/elasticmapreduce/model/ActionOnFailure.java
Java
apache-2.0
1,818
'use strict'; /* // [START classdefinition] */ export default class exampleClass { /* // [END classdefinition] */ constructor () { super(); console.log('Example Constructor'); } exampleFunction () { console.log('Example Function'); } }
beaufortfrancois/WebFundamentals
src/content/en/resources/jekyll/_code/example.js
JavaScript
apache-2.0
261
package org.apereo.cas.logout; import lombok.val; import org.junit.jupiter.api.Test; import java.net.URL; import static org.junit.jupiter.api.Assertions.*; /** * This is {@link LogoutHttpMessageTests}. * * @author Misagh Moayyed * @since 6.0.0 */ public class LogoutHttpMessageTests { @Test public void ...
rrenomeron/cas
core/cas-server-core-logout/src/test/java/org/apereo/cas/logout/LogoutHttpMessageTests.java
Java
apache-2.0
562
# Copyright (c) 2015 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.apache.org/licenses/LICENSE-2.0 # # Unless ...
paninetworks/neutron
neutron/tests/unit/db/quota/test_api.py
Python
apache-2.0
10,763
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
ravilr/kubernetes
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
GO
apache-2.0
36,672
/* * 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 ...
smgoller/geode
geode-core/src/main/java/org/apache/geode/internal/cache/control/ResourceMonitor.java
Java
apache-2.0
1,735
// Generated by xsd compiler for android/java // DO NOT CHANGE! package ebay.apis.eblbasecomponents; import java.io.Serializable; import com.leansoft.nano.annotation.*; import java.util.List; import java.util.Date; /** * * Returns the estimated fees for the listing that is being verified for a re-list. * */ @Ro...
bulldog2011/nano-rest
sample/HelloEBayTrading/src/ebay/apis/eblbasecomponents/VerifyRelistItemResponseType.java
Java
apache-2.0
4,812
/* * 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.ssl; import org.elasticsearch.Elas...
ern/elasticsearch
x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/ssl/SSLReloadIntegTests.java
Java
apache-2.0
7,809
// Copyright (C) 2013 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 applicable ...
bootstraponline-archive/gerrit-mirror
gerrit-server/src/main/java/com/google/gerrit/server/access/AccessCollection.java
Java
apache-2.0
1,789
package com.hubspot.singularity.s3.base.config; import static com.hubspot.mesos.JavaUtils.obfuscateValue; import java.util.Objects; import org.jets3t.service.security.AWSCredentials; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson...
calebTomlinson/Singularity
SingularityS3Base/src/main/java/com/hubspot/singularity/s3/base/config/SingularityS3Credentials.java
Java
apache-2.0
1,701
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //----------------------------------------------------------------------------- // // Description: // The package properties are a subset of the standard OLE property ...
badmishkallc/PoshOffice
src/System.IO.Packaging/PartBasedPackageProperties.cs
C#
artistic-2.0
40,857
require "language/go" class Cosi < Formula desc "Implementation of scalable collective signing" homepage "https://github.com/dedis/cosi" url "https://github.com/dedis/cosi/archive/0.8.6.tar.gz" sha256 "007e4c4def13fcecf7301d86f177f098c583151c8a3d940ccb4c65a84413a9eb" license "AGPL-3.0" bottle do cella...
jabenninghoff/homebrew-core
Formula/cosi.rb
Ruby
bsd-2-clause
3,409