code
stringlengths
572
46.5k
repo_name
stringlengths
7
62
path
stringlengths
6
247
language
stringclasses
7 values
license
stringclasses
15 values
size
int64
572
46.5k
/* * 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 ...
mbode/flink
flink-python/src/test/java/org/apache/flink/table/runtime/operators/python/BaseRowPythonScalarFunctionOperatorTest.java
Java
apache-2.0
3,452
package com.centurylink.mdw.demo.bugs; import com.centurylink.mdw.activity.ActivityException; import com.centurylink.mdw.annotations.Activity; import com.centurylink.mdw.app.ApplicationContext; import com.centurylink.mdw.dataaccess.DataAccessException; import com.centurylink.mdw.model.Status; import com.centurylink.md...
CenturyLinkCloud/mdw-demo
assets/com/centurylink/mdw/demo/bugs/PersistBugActivity.java
Java
apache-2.0
2,895
/* * Copyright 2017 Google LLC. * * 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 ...
GoogleCloudPlatform/appengine-plugins-core
src/test/java/com/google/cloud/tools/managedcloudsdk/install/InstallerTest.java
Java
apache-2.0
4,600
/************************************************************ Copyright 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that c...
execunix/vinos
xsrc/external/mit/libXi/dist/src/XCloseDev.c
C
apache-2.0
3,154
/** * 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...
vybs/sqoop-on-spark
shell/src/main/java/org/apache/sqoop/shell/UpdateJobFunction.java
Java
apache-2.0
3,908
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/transform/PutImagePolicyRequestProtocolMarshaller.java
Java
apache-2.0
2,640
package edu.mayo.mprc.swift.ui.client.rpc; import java.io.Serializable; /** * Wraps values from {@link edu.mayo.mprc.swift.core.database.DatabaseUndeployerProgress}. */ public final class ClientDatabaseUndeployerProgress implements Serializable { private static final long serialVersionUID = 20111119L; private lon...
romanzenka/swift
swift/web/src/main/java/edu/mayo/mprc/swift/ui/client/rpc/ClientDatabaseUndeployerProgress.java
Java
apache-2.0
1,228
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
Ardesco/selenium
java/client/src/org/openqa/selenium/devtools/v89/V89Events.java
Java
apache-2.0
3,672
/** * Copyright 2008-2017 Qualogy Solutions B.V. * * 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...
qafedev/qafe-platform
qafe-web-gwt/src/main/java/com/qualogy/qafe/gwt/server/helper/UIAssemblerHelper.java
Java
apache-2.0
6,329
package com.tomkasp.common.service; import com.tomkasp.common.config.audit.AuditEventConverter; import com.tomkasp.common.repository.PersistenceAuditEventRepository; import org.springframework.boot.actuate.audit.AuditEvent; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; i...
tomkasp/fitapp
src/main/java/com/tomkasp/common/service/AuditEventService.java
Java
apache-2.0
1,930
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.curve.exposure; import java.util.Arrays; import java.util.List; import com.opengamma.core.position.Trade; import com.opengamma.core.securi...
McLeodMoores/starling
projects/financial/src/main/java/com/opengamma/financial/analytics/curve/exposure/SecurityAndSettlementExchangeExposureFunction.java
Java
apache-2.0
10,793
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/DeleteBasePathMappingRequestProtocolMarshaller.java
Java
apache-2.0
2,785
//Copyright [2011] [Barry Books] // 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...
trsvax/tapestry-facebook
src/main/java/com/trsvax/tapestry/facebook/opengraph/Tags.java
Java
apache-2.0
1,873
/** * 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...
bitemyapp/go_kafka_client
consumer_test.go
GO
apache-2.0
5,755
// Copyright 2012 Peter Hallam // // 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...
peterhal/omakase
src/omakase/semantics/types/TypeContainer.java
Java
apache-2.0
5,574
/* Copyright 2019 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, ...
kubernetes/kubeadm
kinder/pkg/kubeadm/automaticcopycertspatch.go
GO
apache-2.0
2,208
# 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...
RobinQuetin/CAIRIS-web
cairis/cairis/GoalEnvironmentNotebook.py
Python
apache-2.0
5,256
package ca.intelliware.ihtsdo.mlds.service.affiliatesimport; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import ca.intelliware.ihtsdo.mlds.domain.Affiliate; import ca.intelliware.ihtsdo.mlds.domain.AffiliateDetails; import ca.in...
IHTSDO/MLDS
src/main/java/ca/intelliware/ihtsdo/mlds/service/affiliatesimport/AffiliatesMapper.java
Java
apache-2.0
4,007
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
nasa/OpenSPIFe
gov.nasa.ensemble.core.plan.formula.js/test/gov/nasa/ensemble/core/plan/formula/js/TestJSConstraint.java
Java
apache-2.0
6,016
package com.yang.spinach.bussiness.system.controller; import com.yang.spinach.bussiness.system.entity.Dict; import com.yang.spinach.bussiness.system.entity.Resources; import com.yang.spinach.bussiness.system.service.DictService; import com.yang.spinach.bussiness.system.service.ResourcesService; import com.yang.spinach...
yangb0/spinach
spinach/spinach-web/src/main/java/com/yang/spinach/bussiness/system/controller/ResourcesController.java
Java
apache-2.0
3,510
/* * Copyright 2010-2017 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 "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-ssm/source/model/CreateAssociationBatchRequestEntry.cpp
C++
apache-2.0
7,285
/* * 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...
IllusionRom-deprecated/android_platform_tools_idea
java/java-psi-impl/src/com/intellij/psi/impl/source/resolve/graphInference/InferenceVariable.java
Java
apache-2.0
2,677
/* * 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 *...
ThorbenLindhauer/activiti-engine-ppi
modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/HistoricProcessInstanceEntity.java
Java
apache-2.0
3,398
/* Copyright 2016, 2017 Institut National de la Recherche Agronomique 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 applicab...
Bibliome/alvisnlp
alvisnlp-bibliome/src/main/java/fr/inra/maiage/bibliome/alvisnlp/bibliomefactory/modules/projectors/ProjectorException.java
Java
apache-2.0
1,063
/* * Copyright 2015-present Facebook, 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...
LegNeato/buck
src/com/facebook/buck/ide/intellij/BaseIjModuleRule.java
Java
apache-2.0
12,625
package com.adaptris.core.http.jetty; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; import javax.validation.Valid; import javax.validation.constraints.NotNull; import org.apache.commons.lang3.ObjectUtils; import org.eclipse.jetty.security.Authenticator; import org.eclipse.jetty...
adaptris/interlok
interlok-core/src/main/java/com/adaptris/core/http/jetty/ConfigurableSecurityHandler.java
Java
apache-2.0
4,638
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.credit; import static com.opengamma.strata.collect.TestHelper.assertJodaConvert; import static com.opengamma.strata.collect.TestHelper.assertSeria...
OpenGamma/Strata
modules/pricer/src/test/java/com/opengamma/strata/pricer/credit/AccrualOnDefaultFormulaTest.java
Java
apache-2.0
2,655
/* * 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 ...
bpzhang/dubbo
dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/properties/DefaultDubboConfigBinderTest.java
Java
apache-2.0
2,664
/* * Copyright 2011 Damien Bourdette * * 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...
olagache/glass
src/main/java/com/github/dbourdette/glass/web/controller/LogsController.java
Java
apache-2.0
2,894
/*! * ${copyright} */ sap.ui.define(['jquery.sap.global'], function (jQuery) { 'use strict'; /** * LightBox renderer. * @namespace */ var LightBoxRenderer = {}; var className = 'sapMLightBox'; var classNameTwoLines = 'sapMLightBoxTwoLines'; var classNameImageContainer = 'sapMLightBoxImageContainer'; v...
olirogers/openui5
src/sap.m/src/sap/m/LightBoxRenderer.js
JavaScript
apache-2.0
4,481
/* * 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...
uschindler/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/metrics/GeoCentroidAggregationBuilder.java
Java
apache-2.0
4,152
/* Copyright 2020 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, ...
kubernetes/perf-tests
clusterloader2/pkg/measurement/util/pods_metadata.go
GO
apache-2.0
1,780
/* * Copyright 2014-present Facebook, 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...
mread/buck
src/com/facebook/buck/thrift/ThriftJavaEnhancer.java
Java
apache-2.0
6,294
/* * Copyright 2010-2017 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 "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-iotthingsgraph/source/model/UploadEntityDefinitionsRequest.cpp
C++
apache-2.0
1,882
/* * Copyright 2010-2017 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 "license" fil...
JoyIfBam5/aws-sdk-cpp
aws-cpp-sdk-iam/source/model/ListRolePoliciesResult.cpp
C++
apache-2.0
2,749
/** * */ package com.darly.dlclent.widget.floorview; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.ocpsoft.prettytime.PrettyTime; import android.annotation.SuppressLint; /** * @ClassName: DateFormatter ...
darlyhellen/oto
DLClent_A/src/com/darly/dlclent/widget/floorview/DateFormatUtils.java
Java
apache-2.0
1,042
package pl.koziolekweb.guava; import com.google.common.base.Optional; import com.google.common.collect.AbstractIterator; import com.google.common.collect.PeekingIterator; import java.io.Closeable; import java.io.IOException; import static com.google.common.base.Preconditions.checkNotNull; /** * TODO write JAVADOC!...
Koziolek/koziolekweb
guava/pliki/src/main/java/pl/koziolekweb/guava/FileLinesIterator.java
Java
apache-2.0
1,020
/* * Copyright 2014 Bernd Vogt and others. * * 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 ...
sourcepit/common-utils
src/test/java/org/sourcepit/common/utils/content/MimeTypesTest.java
Java
apache-2.0
3,150
package com.jiahaoliuliu.android.absherlockslides; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.actionbarsherlock.view.MenuItem; import android.support.v4.app.FragmentTransaction; import android.support.v4.app.Fragment; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerTo...
jiahaoliuliu/ABSherlockSlides
src/com/jiahaoliuliu/android/absherlockslides/MainActivity.java
Java
apache-2.0
4,814
/* * 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 ...
joshelser/accumulo
server/master/src/main/java/org/apache/accumulo/master/tserverOps/ShutdownTServer.java
Java
apache-2.0
3,829
/* * Copyright 2010-2017 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 "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-pinpoint-email/source/model/KinesisFirehoseDestination.cpp
C++
apache-2.0
1,942
/* * Copyright (c) 2012. Sitemorph Ltd. All rights reserved. */ package net.sitemorph.crawler; import net.sitemorph.crawler.Spider.UrlTarget; import org.testng.annotations.Test; import java.net.MalformedURLException; import java.net.URL; import static org.testng.Assert.assertEquals; /** * Check status codes. *...
SiteMorph/crawler
src/test/java/net/sitemorph/crawler/HttpUrlConnectionFetcherTest.java
Java
apache-2.0
1,088
package Swing_03_BasicComponents; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.JLabel; import java.awt.Font; import java.awt.Color; import javax.swing.ImageIcon; import javax.swing.SwingConstan...
wapalxj/Java
javaworkplace/ZJK_SWING/src/Swing_03_BasicComponents/TestLab.java
Java
apache-2.0
1,567
package com.tradehero.route; import android.app.Activity; import java.util.Map; /** * The class used to determine behavior when opening a URL. If you want to extend Routable to handle * things like transition animations or * fragments, this class should be augmented. */ public class RouterOptions { Class<? exte...
TradeHero/routable
route/src/main/java/com/tradehero/route/RouterOptions.java
Java
apache-2.0
1,338
/* * MinIO Cloud Storage, (C) 2016 MinIO, 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 la...
krishnasrinivas/minio
cmd/object-api-input-checks.go
GO
apache-2.0
6,963
/* * Copyright 2002-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-framework
spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpRequest.java
Java
apache-2.0
4,238
/* Copyright 2019 The Knative 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
knative/test-infra
tools/coverage/io/io_test.go
GO
apache-2.0
1,064
/** * * @author greg (at) myrobotlab.org * * This file is part of MyRobotLab (http://myrobotlab.org). * * MyRobotLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version...
sujitbehera27/MyRoboticsProjects-Arduino
src/org/myrobotlab/serial/gnu/BinaryCommPort.java
Java
apache-2.0
10,331
/** * Copyright 2016-2017 The OpenZipkin 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 ...
DealerDotCom/zipkin-aws
autoconfigure/collector-sqs/src/main/java/zipkin/autoconfigure/collector/sqs/ZipkinSQSCredentialsAutoConfiguration.java
Java
apache-2.0
4,618
/* * Copyright 2017 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...
loom-build-tool/loom
modules/core/src/main/java/builders/loom/core/service/ServiceLoader.java
Java
apache-2.0
4,241
/** * 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...
szegedim/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core/src/test/java/org/apache/hadoop/yarn/service/component/instance/TestComponentInstance.java
Java
apache-2.0
22,716
/** * 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...
prasannapramod/apex-malhar
benchmark/src/main/java/com/datatorrent/benchmark/window/KeyedWindowedOperatorBenchmarkApp.java
Java
apache-2.0
6,433
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/transform/UpdateFlowSourceRequestProtocolMarshaller.java
Java
apache-2.0
2,702
/* * This source file is part of ArkNX * For the latest info, see https://github.com/ArkNX * * Copyright (c) 2013-2019 ArkNX 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 ...
ArkGame/ArkGameFrame
src/plugin/kernel/include/AFCEntity.hpp
C++
apache-2.0
10,950
/* Copyright 2014-2016 Intel 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/addressbookui/ABUnknownPersonViewController.java
Java
apache-2.0
10,459
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.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 ob...
serge-rider/dbeaver
plugins/org.jkiss.dbeaver.ext.erd/src/org/jkiss/dbeaver/ext/erd/ERDMessages.java
Java
apache-2.0
4,127
# Copyright 2020 DeepMind Technologies Limited. # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
deepmind/meltingpot
meltingpot/python/configs/configs_test.py
Python
apache-2.0
4,185
/* * Copyright (c) 2008-2018 Haulmont. * * 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...
cuba-platform/cuba
modules/gui/src/com/haulmont/cuba/gui/components/data/table/DatasourceTableItems.java
Java
apache-2.0
6,538
/** * Copyright (C) 2015 Valkyrie RCP * * 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...
lievendoclo/Valkyrie-RCP
valkyrie-rcp-core/src/main/java/org/valkyriercp/image/DefaultImageSource.java
Java
apache-2.0
7,816
/* * Copyright (c) 2010-2017 Evolveum * * 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...
arnost-starosta/midpoint
model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractUninitializedCertificationTest.java
Java
apache-2.0
3,838
// 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...
edouardKaiser/dashboard
src/app/backend/resource/replicationcontroller/replicationcontrollerevents.go
GO
apache-2.0
2,501
/* * Copyright 2017 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 appli...
viniciusccarvalho/spring-cloud-sockets
spring-cloud-sockets/src/main/java/org/springframework/cloud/reactive/socket/ReactiveSocketServer.java
Java
apache-2.0
2,491
/** * Copyright 2010 Wealthfront 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...
wealthfront/kawala
kawala-testing/src/test/java/com/kaching/platform/testing/AllowNetworkAccessTest.java
Java
apache-2.0
2,428
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-timestreamquery/src/main/java/com/amazonaws/services/timestreamquery/model/transform/DescribeEndpointsRequestProtocolMarshaller.java
Java
apache-2.0
2,752
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md 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 may obtain a copy of the License ...
kamransaleem/waltz
waltz-service/src/main/java/com/khartec/waltz/service/rating_scheme/RatingSchemeService.java
Java
apache-2.0
2,933
package com.java110.api.listener.owner; import com.alibaba.fastjson.JSONObject; import com.java110.api.bmo.owner.IOwnerBMO; import com.java110.api.listener.AbstractServiceApiPlusListener; import com.java110.core.annotation.Java110Listener; import com.java110.core.context.DataFlowContext; import com.java110.core.factor...
java110/MicroCommunity
service-api/src/main/java/com/java110/api/listener/owner/UploadOwnerPhotoListener.java
Java
apache-2.0
4,024
/* * Copyright 2013-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-contract
spring-cloud-contract-tools/spring-cloud-contract-pact/src/main/java/org/springframework/cloud/contract/stubrunner/PactStubDownloaderBuilder.java
Java
apache-2.0
14,329
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/api/history/HistoricDecisionInstanceStatisticsQueryTest.java
Java
apache-2.0
10,696
/** * Copyright 2017-2019 The OpenTracing 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...
opentracing-contrib/java-spring-cloud
instrument-starters/opentracing-spring-cloud-gateway-starter/src/main/java/io/opentracing/contrib/spring/cloud/gateway/TraceRequestHttpHeadersFilter.java
Java
apache-2.0
3,517
// Copyright 2020, OpenTelemetry 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 ag...
open-telemetry/opentelemetry-collector-contrib
exporter/awsemfexporter/factory_test.go
GO
apache-2.0
2,274
// 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.internal.statistic.collectors.fus.actions.persistence; import com.intellij.ide.actions.ActionsCollector; import com.intellij.ide.plugins.PluginManagerCore; i...
mdanielwork/intellij-community
platform/platform-impl/src/com/intellij/internal/statistic/collectors/fus/actions/persistence/ActionsCollectorImpl.java
Java
apache-2.0
2,951
/* * Copyright (C) 2015 Sleepcamel. * * 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 ...
guicamest/bsoneer
compiler/domain/src/main/java/com/sleepcamel/bsoneer/processor/domain/Bean.java
Java
apache-2.0
4,204
#ifndef __COMMON_MONGO_H__ #define __COMMON_MONGO_H__ #include "../includes.h" //#define COMMON_MONGO_DEBUG typedef struct { const char *uri; const char *db; const char *collection; mongoc_client_pool_t *clientPool; } mongo_config_t; typedef struct { mongoc_client_t *client; mongoc_collection_t *collection; ...
maximilianvoss/mongocms
mongocms/common/mongo.h
C
apache-2.0
1,079
package io.boxtape.core; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.google.common.base.Joiner; import com.google.common.collect.Lists; import io.boxtape.core.configuration.BoxtapeSettings; import io.boxtape.core.configuration.Configuration; import org...
martypitt/boxtape
cli/src/test/java/io/boxtape/core/MavenDependencyCollectorTest.java
Java
apache-2.0
2,213
/* * Copyright (c) 2010-2017 Evolveum * * 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...
Pardus-Engerek/engerek
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/SynchronizationInformationDto.java
Java
apache-2.0
3,585
/* * Copyright 2010-2017 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 "license" fil...
cedral/aws-sdk-cpp
aws-cpp-sdk-cognito-identity/source/model/DescribeIdentityPoolResult.cpp
C++
apache-2.0
4,248
'use strict'; const xml = require('xml'); const mkdirp = require('mkdirp'); const fs = require('fs'); const path = require('path'); const buildJsonResults = require('./utils/buildJsonResults'); const getOptions = require('./utils/getOptions'); const getOutputPath = require('./utils/getOutputPath'); // Store console ...
palmerj3/jest-junit
index.js
JavaScript
apache-2.0
2,572
/* ============================================================ * MetadataParserConfig.java * ============================================================ * Copyright 2013 University of Alberta * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
RoddiPotter/cicstart
cicstart/src/main/java/ca/ualberta/physics/cssdp/domain/catalogue/MetadataParserConfig.java
Java
apache-2.0
4,070
package org.broadinstitute.hellbender.cmdline.argumentcollections; import org.broadinstitute.barclay.argparser.Argument; import org.broadinstitute.hellbender.cmdline.StandardArgumentDefinitions; import org.broadinstitute.hellbender.engine.GATKPath; import org.broadinstitute.hellbender.engine.MultiVariantWalker; impor...
broadinstitute/hellbender
src/main/java/org/broadinstitute/hellbender/cmdline/argumentcollections/MultiVariantInputArgumentCollection.java
Java
bsd-3-clause
1,873
// Copyright 2017 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 "third_party/blink/renderer/core/html/canvas/image_element_base.h" #include "third_party/blink/renderer/core/dom/dom_exception.h" #include "thir...
ric2b/Vivaldi-browser
chromium/third_party/blink/renderer/core/html/canvas/image_element_base.cc
C++
bsd-3-clause
7,379
package workspace import ( c "github.com/brocaar/dockerbuilder/config" "github.com/brocaar/dockerbuilder/repository" "testing" ) func init() { config, _ := c.GetConfiguration() SetConfig(config) } // TestGetCloneBasePath tests the GetCloneBasePath function. func TestGetCloneBasePath(t *testing.T) { cloneBasePa...
brocaar/dockerbuilder
workspace/workspace_test.go
GO
bsd-3-clause
1,448
// Package gocrypt is designed to simplify the use of // Golang's default crypto package. For example, the first // version of this repo includes AES helper functions that // work with io.Readers and io.Writers, rather than []byte // arrays directly. This has the benefit of allowing files // to be used directly, rather...
traherom/gocrypt
gocrypt.go
GO
bsd-3-clause
2,614
// Copyright 2020 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 "third_party/blink/renderer/core/svg/animation/svg_smil_element.h" #include "testing/gtest/include/gtest/gtest.h" namespace blink { namespace ...
endlessm/chromium-browser
third_party/blink/renderer/core/svg/animation/svg_smil_element_test.cc
C++
bsd-3-clause
5,236
// Copyright 2014 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 "config.h" #include "modules/presentation/Presentation.h" #include "bindings/core/v8/ScriptPromise.h" #include "bindings/core/v8/ScriptPromiseRe...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/WebKit/Source/modules/presentation/Presentation.cpp
C++
bsd-3-clause
4,517
/** * @file * @copyright This code is licensed under the 3-clause BSD license.\n * Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n * See LICENSE.txt for details. */ #include "ConvergenceAcceleratorFactory.h" #include "ChargeSimple.h" #include "EdiisDiisModifier.h" #in...
qcscine/utilities
src/Utils/Utils/Scf/ConvergenceAccelerators/ConvergenceAcceleratorFactory.cpp
C++
bsd-3-clause
2,007
// Copyright 2016 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 "ash/system/tray/tray_popup_utils.h" #include <algorithm> #include <memory> #include <utility> #include "ash/public/cpp/ash_constants.h" #inclu...
endlessm/chromium-browser
ash/system/tray/tray_popup_utils.cc
C++
bsd-3-clause
14,637
// Copyright 2018 PDFium 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 "fxjs/cfx_globaldata.h" #include <utility> #include <vector> #include "testing/gtest/include/gtest/gtest.h" namespace { class TestDelegate : public...
endlessm/chromium-browser
third_party/pdfium/fxjs/cfx_globaldata_unittest.cpp
C++
bsd-3-clause
5,676
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/browser_action_test_util.h" #include <stddef.h> #include "base/macros.h" #include "base/memory/ptr_util.h" #include ...
was4444/chromium.src
chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
C++
bsd-3-clause
7,881
package com.mnubo.java.sdk.client; public class Constants { // Token public static final String ACCESS_TOKEN = "access_token"; public static final String TOKEN_TYPE = "token_type"; public static final String EXPIRE = "expires_in"; public static final String SCOPE = "scope"; public static final ...
mnubo/mnubo-java-sdk
src/main/java/com/mnubo/java/sdk/client/Constants.java
Java
mit
2,612
package testhelpers import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/ec2" ) // DescribeTagsOutputBuilder helps construct an ec2.DescribeTagsOutput structure for humans type DescribeTagsOutputBuilder struct { tagDescriptions []*ec2.TagDescription } // NewDescribeTagsOutputBuilder...
sneakybeaky/ebs-volumes
shared/testhelpers/builders.go
GO
mit
2,344
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Zalastax/vscode
src/vs/editor/common/controller/oneCursor.ts
TypeScript
mit
5,068
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
MikeJMajor/openhab2-addons-dlinksmarthome
bundles/org.openhab.binding.rfxcom/src/test/java/org/openhab/binding/rfxcom/internal/messages/RFXComLighting5MessageTest.java
Java
epl-1.0
3,995
/** * Copyright (c) 2013-2016 by Brainwy Software Ltda. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.brainwy.liclips...
css-iter/org.csstudio.iter
plugins/org.brainwy.liclipsetext.editor/src/org/brainwy/liclipsetext/editor/parsing/LiClipseParserManager.java
Java
epl-1.0
1,165
/* * Copyright (c) 2015 NetIDE Consortium and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.op...
fp7-netide/Engine
odl-shim/impl/src/main/java/org/opendaylight/netide/impl/NetideProvider.java
Java
epl-1.0
3,175
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
andresriancho/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00113.java
Java
gpl-2.0
2,673
#ifndef __TH_AUTO_H__ #define __TH_AUTO_H__ #include "ptree.h" //Intial node is the node itself //final_node points to the final node; typedef struct th_tree_node{ struct th_tree_link *outlink; struct th_tree_node *final_node;//used for operations. int marked; int nodeID; struct node_list *cn; } Th_Tree_Node; ty...
ysleu/RTL8685
uClinux-dist/u-boot/u-boot-2011.12/arch/mips/cpu/rlx5281/rtl8686/rtk_soc/test/gdma/gdma/Th_Auto.h
C
gpl-2.0
2,213
/** * OWASP Benchmark Project v1.2beta * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The OWASP Benchmark is free software: you can redistribu...
andresriancho/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01510.java
Java
gpl-2.0
3,997
/* Mantis PCI bridge driver Copyright (C) Manu Abraham (abraham.manu@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any...
Jackeagle/android_kernel_sony_c2305
drivers/media/dvb/mantis/mantis_core.h
C
gpl-2.0
1,656
/* IPSec VPN client compatible with Cisco equipment. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This progr...
breiter/vpnc
crypto-gnutls.h
C
gpl-2.0
981
package com.uaq.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import com.uaq.command.WasteContainerCommand; import com.uaq.common.PropertiesUtil; import com.uaq.common.ServiceNameCon...
pritam176/UAQ
UaqDeptSites/src/com/uaq/service/PWSResubmitRequestService.java
Java
gpl-3.0
5,865