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
package org.sagebionetworks; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.sagebionetworks.client...
Sage-Bionetworks/Synapse-Repository-Services
integration-test/src/test/java/org/sagebionetworks/ITUnhandledException.java
Java
apache-2.0
2,666
/* * 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 ...
wjsl/jaredcumulo
server/src/main/java/org/apache/accumulo/server/tabletserver/TabletIteratorEnvironment.java
Java
apache-2.0
4,110
/* * Copyright 2021 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 i...
GoogleCloudPlatform/professional-services
examples/cloud-datafusion-functions-plugins/src/main/java/com/google/cloud/pso/functions/InsertOverwriteFunction.java
Java
apache-2.0
2,806
/* * Copyright 2014 Heisenberg Enterprises 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 a...
whitewalter/fleetwood-bounder
src/test/java/com/heisenberg/test/mongo/MongoWorkflowEngineTest.java
Java
apache-2.0
5,200
package com.freud.opc.jeasyopc; import javafish.clients.opc.EmptyValueExample; import javafish.clients.opc.JOpc; import javafish.clients.opc.component.OpcGroup; import javafish.clients.opc.component.OpcItem; import javafish.clients.opc.exception.ComponentNotFoundException; import javafish.clients.opc.exception.SynchRe...
luoyan35714/OPC_Client
OPC_Client_Jeasyopc/src/main/java/com/freud/opc/jeasyopc/JeasyopcTest13.java
Java
apache-2.0
1,810
// Copyright (C) 2018 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 ...
GerritCodeReview/gerrit
java/com/google/gerrit/server/cache/h2/ObjectKeyTypeImpl.java
Java
apache-2.0
1,814
/* * Copyright 2002-2015 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 ap...
shivpun/spring-framework
spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java
Java
apache-2.0
10,102
/******************************************************************************* * Copyright 2017 Capital One Services, LLC and Bitwise, 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...
capitalone/Hydrograph
hydrograph.ui/hydrograph.ui.engine/src/main/java/hydrograph/ui/engine/ui/converter/impl/InputOracleUiConverter.java
Java
apache-2.0
9,093
package org.springframework.social.office365.api.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; /** * Created by: Alireza Afrasiabian (aafrasiabian) * Date: 24/07/2014 */ @JsonIgnoreProp...
silanis/spring-social-office365
src/main/java/org/springframework/social/office365/api/domain/Folder.java
Java
apache-2.0
926
/* * Copyright (C) 2013 salesforce.com, 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 ...
madmax983/aura
aura-impl/src/main/java/org/auraframework/impl/root/parser/handler/TokenDefHandler.java
Java
apache-2.0
5,152
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
google/connectedappssdk
tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/robotests/ManualConnectionManagementTest.java
Java
apache-2.0
3,388
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.errata; import org.ovirt.engine.core.common.businessentities.Erratum; import org.ovirt.engine.ui.common.place.PlaceRequestFactory; import org.ovirt.engine.ui.common.presenter.AbstractSubTabPresenter; import org.ovirt.engine.ui.common.uicommon.model.Detail...
OpenUniversity/ovirt-engine
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/tab/errata/SubTabEngineErrataDetailsPresenter.java
Java
apache-2.0
2,879
// Copyright 2017 Vector Creations 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 agre...
matrix-org/dendrite
syncapi/routing/routing.go
GO
apache-2.0
3,686
/* * Copyright (c) 2020. 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, so...
droolsjbpm/drools
drools-mvel/src/test/java/org/drools/mvel/DoubleBetaConstraintsTest.java
Java
apache-2.0
3,609
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
YoungDigitalPlanet/empiria.player
src/test/java/eu/ydp/empiria/player/client/StyleNameConstantsProvider.java
Java
apache-2.0
4,358
package com.nunez.bookito.mvp; import com.nunez.bookito.entities.BookWrapper; import java.util.ArrayList; /** * Created by paulnunez on 3/26/17. */ public interface BaseContract { interface BasePresenter { void displayMessage(String message); } interface BaseView { void showBooks(ArrayList<BookWra...
paulnunezm/Capstone-Project
Bookito/app/src/main/java/com/nunez/bookito/mvp/BaseContract.java
Java
apache-2.0
572
package org.nmrg.service.impl.sys; import java.util.List; import org.nmrg.dao.sys.ISysRolePermsDAO; import org.nmrg.entity.sys.SysRolePermsEntity; import org.nmrg.service.impl.BaseServiceImpl; import org.nmrg.service.sys.ISysRolePermsService; import org.springframework.beans.factory.annotation.Autowired; imp...
bella0101/websitePortal
src/main/java/org/nmrg/service/impl/sys/SysRolePermsServiceImpl.java
Java
apache-2.0
1,538
""" 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 this ...
alexryndin/ambari
ambari-server/src/main/resources/stacks/BigInsights/4.0/services/YARN/package/scripts/mapreduce2_client.py
Python
apache-2.0
1,759
//go:generate -command mkcode go run mkcode.go -- //go:generate mkcode $GOFILE // Information taken from // - http://www.ntinternals.net/: UserMode / NTDLL / System Information // - http://www.geoffchappell.com/studies/windows/km/index.htm // - MinGW headers package ntdll import ( "reflect" "unsafe" ) /* func: NT...
hillu/go-ntdll
systeminformation.go
GO
bsd-2-clause
9,953
/* * Copyright (c) 2016-2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * ...
abelbriggs1/runelite
runelite-client/src/main/java/net/runelite/client/RuneLite.java
Java
bsd-2-clause
9,453
package net.herit.business.accountmng.service; import java.io.Serializable; import net.herit.common.util.StringUtil; public class MenuMasterVO implements Serializable{ /** 메뉴ID */ private String menuId; /** 메뉴명 */ private String menuName; /** 메뉴URL */ private String urlPath; /** 정렬순서 */ private String ord...
iotoasis/SI
si-modules/DM_Web_Server/src/main/java/net/herit/business/accountmng/service/MenuMasterVO.java
Java
bsd-2-clause
3,947
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/android/data_usage/data_use_ui_tab_model.h" #include <stdint.h> #include "chrome/browser/android/data_usage/data_use_ui_tab_mod...
Bysmyyr/chromium-crosswalk
chrome/browser/android/data_usage/data_use_ui_tab_model_unittest.cc
C++
bsd-3-clause
4,436
import pandas as pd import numpy as np import pyaf.ForecastEngine as autof import pyaf.Bench.TS_datasets as tsds b1 = tsds.load_airline_passengers() df = b1.mPastData df.head() lEngine = autof.cForecastEngine() lEngine H = b1.mHorizon; # lEngine.mOptions.enable_slow_mode(); # lEngine.mOptions.mDebugPerformance = ...
antoinecarme/pyaf
tests/multi_dimensional_engine/test_multi_dimensional_air_passengers.py
Python
bsd-3-clause
1,550
/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
songawee/react
src/browser/ui/React.js
JavaScript
bsd-3-clause
4,762
package edu.northwestern.bioinformatics.studycalendar.web.template; import edu.northwestern.bioinformatics.studycalendar.core.accesscontrol.ApplicationSecurityManager; import edu.northwestern.bioinformatics.studycalendar.dao.*; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.northwestern....
NUBIC/psc-mirror
web/src/main/java/edu/northwestern/bioinformatics/studycalendar/web/template/EditController.java
Java
bsd-3-clause
5,799
// 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 "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop_proxy.h"...
loopCM/chromium
webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
C++
bsd-3-clause
3,739
/* * Copyright 2013, Sebastian Kreisel. All rights reserved. * If you intend to use, modify or redistribute this file contact kreisel.sebastian@gmail.com */ package com.elfeck.unicellular.feature; import com.elfeck.ephemeral.math.EPHResettableVec2f; import com.elfeck.ephemeral.math.EPHVec2f; public cl...
elfeck/Unicellular
src/com/elfeck/unicellular/feature/MovementLine.java
Java
bsd-3-clause
1,177
/* * 07/29/2012 * * This library is distributed under a modified BSD license. See the included * ZScriptLanguageSupport.License.txt file for details. */ package org.fife.rsta.zscript.demo; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Point; import java.awt.Rectangl...
bobbylight/ZScriptLanguageSupport
zscript-lang-support-demo/src/main/java/org/fife/rsta/zscript/demo/ErrorTable.java
Java
bsd-3-clause
4,502
// 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/webstore_inline_installer.h" #include "base/macros.h" #include "base/memory/ptr_util.h" #include "base/strings/utf_st...
was4444/chromium.src
chrome/browser/extensions/webstore_inline_installer_browsertest.cc
C++
bsd-3-clause
13,713
// 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 "components/bookmarks/browser/bookmark_expanded_state_tracker.h" #include "base/files/file_path.h" #include "base/macros.h" #include "base/messa...
was4444/chromium.src
components/bookmarks/browser/bookmark_expanded_state_tracker_unittest.cc
C++
bsd-3-clause
3,631
// 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. package org.chromium.chrome.browser.sync; import android.support.test.InstrumentationRegistry; import android.support.test.filters.SmallTest; import and...
endlessm/chromium-browser
chrome/android/javatests/src/org/chromium/chrome/browser/sync/ManageSyncSettingsWithFakeProfileSyncServiceTest.java
Java
bsd-3-clause
4,098
/******************************************************************************* * @file mapeditor.c * * @author Andrew Wheeler/Genusis * @brief ******************************************************************************/ #include "mapeditor.h" #include "controls.h" #include "render.h" #include "maps.h" #include "bo...
MMORPGCreation/Developers-Engine
client/Source/mapeditor.c
C
bsd-3-clause
10,408
/* * Copyright (c) 2012. HappyDroids LLC, All rights reserved. */ package com.happydroids.droidtowers.gui; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.happydroids.droidtowers.achievements.TutorialEngine; import com.happydroids.droidtowers.input.GestureTool; import com.happydroids.droidtowers.input...
0x90sled/droidtowers
main/source/com/happydroids/droidtowers/gui/SelectGridItemForPurchaseClickListener.java
Java
mit
1,523
// Copyright (c) 2013 GitHub, Inc. // Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/net/atom_url_request_job_factory.h" #include "base/stl_util.h" #include "content/public/browser...
kcrt/electron
atom/browser/net/atom_url_request_job_factory.cc
C++
mit
3,483
package synapticloop.b2.request; import static org.junit.Assert.*; import java.util.List; import org.apache.http.impl.client.HttpClients; import org.junit.Before; import org.junit.Test; import synapticloop.b2.helper.B2TestHelper; import synapticloop.b2.response.B2AuthorizeAccountResponse; import synapticloop.b2.res...
synapticloop/backblaze-b2-java-api
src/test/java/synapticloop/b2/request/B2ListBucketsRequestTest.java
Java
mit
1,609
//go:generate stringer -type=AccessFieldId package apachelogs import "time" // Timestamp formatting in Apache access logs. // You shouldn't need to change this but it's provided as a variable just in case. var DateTimeAccessFormat string = "02/Jan/2006:15:04:05" // A broken down record of each field in an access lo...
lmorg/murex
vendor/github.com/lmorg/apachelogs/accesslogs.go
GO
gpl-2.0
3,193
/** * Copyright 2011 Nikolche Mihajlovski * * This file is part of JAnnocessor. * * JAnnocessor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) an...
muh6mm3d/jannocessor
jannocessor-model-adapter/src/main/java/org/jannocessor/adapter/executable/JavaMethodAdapter.java
Java
gpl-3.0
2,591
/* * Copyright (C) 2009 Universidade Federal de Campina Grande * * This file is part of Commune. * * Commune is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free * Software Foundation, either version 3 of the License, o...
OurGrid/commune
src/main/java/br/edu/ufcg/lsd/commune/network/connection/Uping_Empty.java
Java
gpl-3.0
3,908
#include "google_test.h" #include "BornAgainNamespace.h" #include "LayerRoughness.h" #include "ParameterPattern.h" class LayerRoughnessTest : public ::testing::Test { protected: ~LayerRoughnessTest(); }; LayerRoughnessTest::~LayerRoughnessTest() = default; TEST_F(LayerRoughnessTest, LayerRoughnessInitial) { ...
waltervh/BornAgain
Tests/UnitTests/Core/Sample/LayerRoughnessTest.cpp
C++
gpl-3.0
2,700
/* * This file is part of OppiaMobile - http://oppia-mobile.org/ * * OppiaMobile is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version...
DigitalCampus/ebola-oppia-mobile-android
src/org/digitalcampus/oppia/model/Tag.java
Java
gpl-3.0
2,228
package com.bekvon.bukkit.residence.event; import com.bekvon.bukkit.residence.protection.ClaimedResidence; import com.bekvon.bukkit.residence.protection.CuboidArea; import org.bukkit.entity.Player; import org.bukkit.event.HandlerList; public class ResidenceCreationEvent extends CancellableResidencePlayerEvent { ...
MDrollette/Residence
src/com/bekvon/bukkit/residence/event/ResidenceCreationEvent.java
Java
gpl-3.0
1,077
package org.openconcerto.modules.finance.payment.ebics.crypto; import java.math.BigInteger; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.KeyStore; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.Priva...
mbshopM/openconcerto
Modules/Module EBICS/src/org/openconcerto/modules/finance/payment/ebics/crypto/KeyStoreGenerator.java
Java
gpl-3.0
4,779
/* Part of Libnodave, a free communication libray for Siemens S7 (C) Thomas Hergenhahn (thomas.hergenhahn@web.de) 2005. Libnodave is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either versi...
rudin-io/s7connector
src/main/java/com/github/s7connector/impl/nodave/ResultSet.java
Java
gpl-3.0
1,301
package qa.qcri.aidr.trainer.pybossa.service.impl; import org.apache.log4j.Logger; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import org.springframework.beans.factory.annotation.Autowired; import org.sprin...
roselleebarle04/AIDR
aidr-trainer-pybossa/src/main/java/qa/qcri/aidr/trainer/pybossa/service/impl/PybossaMicroMapperWorker.java
Java
agpl-3.0
1,702
import pkg_resources from cassandra import ConsistencyLevel from cqlengine.columns import * from cqlengine.functions import * from cqlengine.models import Model from cqlengine.query import BatchQuery __cqlengine_version_path__ = pkg_resources.resource_filename('cqlengine', ...
Ahmad31/Web_Flask_Cassandra
flask/lib/python2.7/site-packages/cqlengine/__init__.py
Python
apache-2.0
981
package myfeed.feed; import static org.springframework.web.bind.annotation.RequestMethod.*; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.cloud....
kevintvh/myfeed
myfeed-feed/src/main/java/myfeed/feed/FeedApp.java
Java
apache-2.0
2,642
package de.darwinspl.feature.graphical.base.deltaecore.wrapper.layouter.feature; import java.util.HashMap; import java.util.List; import java.util.Map; import de.darwinspl.feature.graphical.base.model.DwFeatureModelWrapped; import de.darwinspl.feature.graphical.base.model.DwFeatureWrapped; /** * http://code.google...
HyVar/DarwinSPL
plugins/de.darwinspl.feature.graphical.base/src/de/darwinspl/feature/graphical/base/deltaecore/wrapper/layouter/feature/DwFeatureLayouterManager.java
Java
apache-2.0
1,683
/* * 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...
chiaming0914/awe-cpp-sdk
aws-cpp-sdk-ecr/source/model/GetDownloadUrlForLayerRequest.cpp
C++
apache-2.0
1,686
package com.openshift.evg.roadshow.rest; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer; import org.springframework.web.socket.config.an...
cw-paas-dev/mapsapp-webui
src/main/java/com/openshift/evg/roadshow/rest/WebSocketConfig.java
Java
apache-2.0
1,176
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.slm.action; import org.elasticsearch.action....
nknize/elasticsearch
x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/slm/action/TransportGetSnapshotLifecycleStatsAction.java
Java
apache-2.0
2,812
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package testutil import ( "flag" "fmt" "io/ioutil" "strings" "github.com/hyperledger/fabric/bccsp/factory" "github.com/hyperledger/fabric/common/flogging" "github.com/hyperledger/fabric/core/config/configtest" "github.com/hyp...
muralisrini/fabric
core/testutil/config.go
GO
apache-2.0
1,489
/* * 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-kinesis/source/model/DisableEnhancedMonitoringRequest.cpp
C++
apache-2.0
1,969
package org.sakaiproject.gradebookng.tool.panels; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.lang.StringUtils; import org.apache.wicket.AttributeModifier; import org.apache.wicket.Component; import org.apache.wicket.ajax.AjaxReq...
ouit0408/sakai
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.java
Java
apache-2.0
17,324
package com.sun.xacml.finder.impl; import java.util.HashSet; import java.util.Set; import com.sun.xacml.EvaluationCtx; import com.sun.xacml.ParsingException; import com.sun.xacml.UnknownIdentifierException; import com.sun.xacml.attr.AttributeDesignator; import com.sun.xacml.attr.StandardAttributeFactory; import com.s...
GenericBreakGlass/GenericBreakGlass-XACML
src/com.sun.xacml/src/main/java/com/sun/xacml/finder/impl/CurrentRequiredAttributeModule.java
Java
apache-2.0
1,269
// Copyright 2017 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 a...
kenan435/dashboard
src/app/backend/resource/node/list.go
GO
apache-2.0
4,534
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under th...
pokpitch/droolsjbpm-integration
kie-server-parent/kie-server-remote/kie-server-jms/src/main/java/org/kie/server/jms/executor/KieExecutorMDB.java
Java
apache-2.0
3,513
/* * 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...
vschs007/buck
src/com/facebook/buck/lua/LuaLibraryDescription.java
Java
apache-2.0
2,775
/* * 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 ...
aditya1105/gobblin
gobblin-runtime/src/test/java/org/apache/gobblin/runtime/job_monitor/KafkaJobMonitorTest.java
Java
apache-2.0
2,616
/* * 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...
cwurm/elasticsearch
core/src/main/java/org/elasticsearch/action/search/TransportMultiSearchAction.java
Java
apache-2.0
7,392
/* * Copyright 2008 Marc Boorshtein * * 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 ...
TremoloSecurity/MyVirtualDirectory
src/main/java/net/sourceforge/myvd/inserts/cache/simple/SimpleCache.java
Java
apache-2.0
7,551
/* * Copyright 2011-2012 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" ...
zhangzhx/aws-toolkit-eclipse
bundles/com.amazonaws.eclipse.rds/src/com/amazonaws/eclipse/rds/ImportWizard.java
Java
apache-2.0
2,485
/* 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...
dbmalkovsky/flowable-engine
modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/listener/CaseInstanceLifeCycleListenerUtil.java
Java
apache-2.0
4,441
/* * Copyright 2010-2013 Ning, Inc. * Copyright 2014-2018 Groupon, Inc * Copyright 2014-2018 The Billing Project, LLC * * The Billing 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 cop...
killbill/killbill
invoice/src/test/java/org/killbill/billing/invoice/InvoiceTestSuiteNoDB.java
Java
apache-2.0
4,436
/* * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
codecentric/spring-boot-admin
spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/notify/MailNotifier.java
Java
apache-2.0
4,515
/* * 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...
danielmitterdorfer/elasticsearch
core/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/tasks/RestListTasksAction.java
Java
apache-2.0
4,232
// $Id: AbstractEntityTuplizer.java 7516 2005-07-16 22:20:48Z oneovthafew $ package org.hibernate.tuple.entity; import java.io.Serializable; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.hibernate.EntityMode; import org.hibernate.HibernateException; import org.hibernate.MappingExce...
renmeng8875/projects
Hibernate-source/源代码及重要说明/Hibernate相关资料/hibernate-3.2.0.ga/hibernate-3.2/src/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Java
apache-2.0
13,216
package org.purchasenear.service.ticket.impl; import java.util.List; import org.purchasenear.common.util.SpringUtil; import org.purchasenear.domain.TbOrder; import org.purchasenear.service.ticket.interf.Order; import org.purchasenear.service.ticket.interf._TicketServiceDisp; import org.purchasenear.service.ticket.spr...
runfriends/PurchaseNear
purchasenear/purchasenear-common/src/test/java/org/purchasenear/service/ticket/impl/TicketServiceI.java
Java
apache-2.0
1,819
/* * Copyright 2017 LinkedIn Corp. 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 applicab...
cgtz/ambry
ambry-clustermap/src/test/java/com/github/ambry/clustermap/HelixParticipantTest.java
Java
apache-2.0
30,366
/* $Date$ $RCSfile$ $Revision$ */ #ifndef CHELSIO_TP_H #define CHELSIO_TP_H #include "common.h" #define TP_MAX_RX_COALESCING_SIZE 16224U struct tp_mib_statistics { /* IP */ u32 ipInReceive_hi; u32 ipInReceive_lo; u32 ipInHdrErrors_hi; u32 ipInHdrErrors_lo; u32 ipInAddrErrors_hi; u32 ipInAddrErrors_lo; u32 i...
andrewjylee/omniplay
linux-lts-quantal-3.5.0/drivers/net/ethernet/chelsio/cxgb/tp.h
C
bsd-2-clause
1,684
package org.cipres.treebase.util; import java.util.Collection; import org.cipres.treebase.ContextManager; import org.cipres.treebase.domain.tree.PhyloTree; import org.cipres.treebase.domain.tree.PhyloTreeNode; import org.cipres.treebase.domain.tree.PhyloTreeService; public class SetTreeNChar extends AbstractStandalo...
TreeBASE/treebasetest
treebase-core/src/main/java/org/cipres/treebase/util/SetTreeNChar.java
Java
bsd-3-clause
1,231
/* * Copyright (c) 2008-2012 Vrije Universiteit, The Netherlands All rights * reserved. * * 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, t...
kastur/interdroid-vdb-ui
src/interdroid/vdb/persistence/ui/CommitExpandableListAdapter.java
Java
bsd-3-clause
8,707
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/options2/language_options_handler.h" #include <map> #include <string> #include <utility> #include <vector> #includ...
keishi/chromium
chrome/browser/ui/webui/options2/language_options_handler.cc
C++
bsd-3-clause
4,967
# -*- coding: utf-8 -*- # Copyright (c) 2017, Frappe Technologies and contributors # For license information, please see license.txt import frappe def run_webhooks(doc, method): '''Run webhooks for this method''' if frappe.flags.in_import or frappe.flags.in_patch or frappe.flags.in_install: return if frappe.fla...
mbauskar/frappe
frappe/integrations/doctype/webhook/__init__.py
Python
mit
1,894
package org.orienteer.core.component.command; import org.apache.wicket.extensions.markup.html.repeater.data.table.export.ExportToolbar.DataExportResourceStreamWriter; import org.apache.wicket.extensions.markup.html.repeater.data.table.export.IDataExporter; import org.apache.wicket.markup.html.link.AbstractLink; import...
OrienteerDW/Orienteer
orienteer-core/src/main/java/org/orienteer/core/component/command/ExportCommand.java
Java
apache-2.0
2,003
/* * Copyright 2014-2016 CyberVision, 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 o...
vtkhir/kaa
client/client-multi/client-java-android/src/main/java/org/kaaproject/kaa/client/AndroidKaaPlatformContext.java
Java
apache-2.0
3,197
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/servicediscovery/model/HttpInstanceSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
awslabs/aws-sdk-cpp
aws-cpp-sdk-servicediscovery/source/model/HttpInstanceSummary.cpp
C++
apache-2.0
2,880
/* * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Soft...
weolar/miniblink49
third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp
C++
apache-2.0
10,213
/* * 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...
IllusionRom-deprecated/android_platform_tools_idea
platform/lang-impl/src/com/intellij/execution/actions/ChooseRunConfigurationPopupAction.java
Java
apache-2.0
2,502
/* 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...
tkaefer/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/HistoricTaskInstanceQueryProperty.java
Java
apache-2.0
3,212
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
nmirasch/kie-wb-common
kie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/forms/PomEditorScreenPresenter.java
Java
apache-2.0
2,437
package com.msaf.validador.consultaonline.solicitacaovalidacao; import java.util.HashSet; import java.util.Set; import javax.persistence.Transient; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bin...
darciopacifico/omr
vesionamento/msaf_validador-v1.0/core/src/main/java/com/msaf/validador/consultaonline/solicitacaovalidacao/ResulConsVO.java
Java
apache-2.0
2,510
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/comprehend/model/DominantLanguageDetectionJobFilter.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; ...
aws/aws-sdk-cpp
aws-cpp-sdk-comprehend/source/model/DominantLanguageDetectionJobFilter.cpp
C++
apache-2.0
2,341
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/clouddirectory/model/UpdateObjectAttributesRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using na...
awslabs/aws-sdk-cpp
aws-cpp-sdk-clouddirectory/source/model/UpdateObjectAttributesRequest.cpp
C++
apache-2.0
1,644
/* * JBoss, Home of Professional Open Source * Copyright 2009 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/query/src/test/java/org/infinispan/query/config/DeclarativeConfigTest.java
Java
apache-2.0
4,462
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
tensorflow/tensorflow
tensorflow/compiler/mlir/tools/kernel_gen/transforms/kernel_lowering_passes.cc
C++
apache-2.0
5,246
package org.jasig.cas.support.pac4j; import org.jasig.cas.support.pac4j.authentication.ClientAuthenticationMetaDataPopulator; import org.jasig.cas.support.pac4j.authentication.handler.support.ClientAuthenticationHandler; import org.jasig.cas.web.AbstractServletContextInitializer; import org.springframework.beans.facto...
y1011/cas-server
cas-server-support-pac4j/src/main/java/org/jasig/cas/support/pac4j/Pac4jServletContextListener.java
Java
apache-2.0
1,276
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. package utils import ( "crypto/tls" "net" "net/http" "time" ) const ( connectTimeout = 3 * time.Second requestTimeout = 30 * time.Second ) // HttpClient returns a variation the default implementatio...
rodcorsi/mattermail
vendor/github.com/mattermost/mattermost-server/utils/httpclient.go
GO
bsd-3-clause
1,666
// 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 "content/browser/compositor/browser_compositor_output_surface.h" #include "base/bind.h" #include "base/location.h" #include "base/strings/string...
sgraham/nope
content/browser/compositor/browser_compositor_output_surface.cc
C++
bsd-3-clause
2,315
// 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 "ios/public/provider/chrome/browser/chrome_browser_provider.h" namespace ios { namespace { ChromeBrowserProvider* g_chrome_browser_provider; } ...
guorendong/iridium-browser-ubuntu
ios/public/provider/chrome/browser/chrome_browser_provider.cc
C++
bsd-3-clause
1,553
package org.knowm.xchange.bibox.service; import org.knowm.xchange.Exchange; import org.knowm.xchange.bibox.BiboxAuthenticated; import org.knowm.xchange.bibox.dto.BiboxResponse; import org.knowm.xchange.client.ExchangeRestProxyBuilder; import org.knowm.xchange.exceptions.ExchangeException; import org.knowm.xchange.serv...
stachon/XChange
xchange-bibox/src/main/java/org/knowm/xchange/bibox/service/BiboxBaseService.java
Java
mit
1,348
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * 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 */...
lewie/openhab2
addons/binding/org.openhab.binding.hdanywhere/src/main/java/org/openhab/binding/hdanywhere/internal/HDanywhereHandlerFactory.java
Java
epl-1.0
3,789
/** * Copyright (C) 2014 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
SilenceIM/Silence
src/org/smssecure/smssecure/ShareFragment.java
Java
gpl-3.0
3,600
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
metaplinius/TextSecure
src/org/thoughtcrime/securesms/PassphraseCreateActivity.java
Java
gpl-3.0
2,793
/* * 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...
ebyhr/presto
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/expression/ImplementCovariancePop.java
Java
apache-2.0
3,077
/* Copyright 2009 Ramnivas Laddad 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 writin...
sobkowiak/aspectj-in-action-code
ch09/workspace/org.springframework.samples.jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewProductController.java
Java
apache-2.0
2,538
/* * Copyright 2017 StreamSets 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...
rockmkd/datacollector
client-api/src/test/java/com/streamsets/datacollector/client/api/TestStoreApi.java
Java
apache-2.0
5,745
package org.batfish.datamodel.routing_policy.expr; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkState; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; impor...
arifogel/batfish
projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/routing_policy/expr/RibIntersectsPrefixSpace.java
Java
apache-2.0
3,188
/* * 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...
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/util/ClassDelegateUtil.java
Java
apache-2.0
3,650
package org.apereo.cas.config; import org.apereo.cas.BasePrincipalAttributeRepositoryTests; import lombok.val; import org.apereo.services.persondir.IPersonAttributeDao; import org.apereo.services.persondir.IPersonAttributeDaoFilter; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.sprin...
apereo/cas
support/cas-server-support-person-directory/src/test/java/org/apereo/cas/config/CasPersonDirectoryConfigurationCascadeAggregationTests.java
Java
apache-2.0
2,539
// Copyright (c) 2019 The Jaeger Authors. // Copyright (c) 2017 Uber Technologies, 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 //...
uber/jaeger
examples/hotrod/services/driver/server.go
GO
apache-2.0
3,027