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 io.vertx.blueprint.microservice.order; import io.vertx.blueprint.microservice.common.BaseMicroserviceVerticle; import io.vertx.blueprint.microservice.order.api.RestOrderAPIVerticle; import io.vertx.blueprint.microservice.order.impl.OrderServiceImpl; import io.vertx.core.DeploymentOptions; import io.vertx.core....
sczyh30/vertx-blueprint-microservice
order-microservice/src/main/java/io/vertx/blueprint/microservice/order/OrderVerticle.java
Java
apache-2.0
1,914
/* * 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 ...
citlab/vs.msc.ws14
flink-0-7-custom/flink-runtime/src/main/java/org/apache/flink/runtime/operators/resettable/SpillingResettableMutableObjectIterator.java
Java
apache-2.0
5,963
/* * Copyright (c) 2008-2016, 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 ...
lmjacksoniii/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/map/MapEntriesWithPagingPredicateMessageTask.java
Java
apache-2.0
2,748
/** * Copyright (C) 2014-2016 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
sajavadi/pinot
pinot-integration-tests/src/test/java/com/linkedin/pinot/integration/tests/SimpleMinionClusterIntegrationTest.java
Java
apache-2.0
8,846
/* * Copyright 2000-2010 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...
joewalnes/idea-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/converters/repositories/MavenRepositoryConverter.java
Java
apache-2.0
4,311
package ch.hsr.servicecutter.importer; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; i...
ServiceCutter/ServiceCutter
Engine/src/main/java/ch/hsr/servicecutter/importer/UserSystemCompleter.java
Java
apache-2.0
4,143
#include "extensions/filters/listener/original_dst/original_dst.h" #include "envoy/network/listen_socket.h" #include "common/common/assert.h" #include "common/network/utility.h" namespace Envoy { namespace Extensions { namespace ListenerFilters { namespace OriginalDst { Network::Address::InstanceConstSharedPtr Orig...
sebrandon1/envoy
source/extensions/filters/listener/original_dst/original_dst.cc
C++
apache-2.0
1,522
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
lunisolar/magma
magma-func-supp/src/main/java/eu/lunisolar/magma/func/supp/traits/DoIfBoolTrait.java
Java
apache-2.0
7,913
/* * 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...
joewalnes/idea-community
plugins/properties/src/com/intellij/lang/properties/references/PropertyReferenceBase.java
Java
apache-2.0
8,254
/******************************************************************************* * Copyright 2017 AXIANS * * 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 owners...
axians-nl/camel-components
camel-fhir/src/main/java/nl/axians/camel/components/fhir/commands/HistoryCommand.java
Java
apache-2.0
5,097
package org.drools.compiler.kie.builder.impl; import org.drools.compiler.kie.builder.impl.event.KieServicesEventListerner; import org.drools.core.RuleBaseConfiguration; import org.drools.core.SessionConfiguration; import org.drools.core.audit.KnowledgeRuntimeLoggerProviderImpl; import org.drools.core.command.impl.Comm...
bxf12315/drools
drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/KieServicesImpl.java
Java
apache-2.0
7,276
/* * Copyright 2017-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...
romanoid/buck
test/com/facebook/buck/features/python/toolchain/impl/PexToolProviderFactoryTest.java
Java
apache-2.0
3,433
package me.chanjar.weixin.mp.util.requestexecuter.voice; import me.chanjar.weixin.common.util.http.RequestExecutor; import me.chanjar.weixin.common.util.http.RequestHttp; import java.io.File; /** * <pre> * Created by BinaryWang on 2018/6/9. * </pre> * * @author <a href="https://github.com/binarywang">Binary Wa...
comeonc/weixin-java-tools
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/util/requestexecuter/voice/VoiceUploadRequestExecutor.java
Java
apache-2.0
888
/* *     Copyright 2015 IBM Corp. *     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...
ibm-bluemix-mobile-services/bms-clientsdk-android-core
lib/src/main/java/com/ibm/mobilefirstplatform/clientsdk/android/core/internal/TLSEnabledSSLSocketFactory.java
Java
apache-2.0
3,104
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
robinverduijn/gradle
subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultNestedBuild.java
Java
apache-2.0
3,428
// Copyright (c) 2017 Cisco 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 applicabl...
milanlenco/vpp-1
plugins/grpc/clientv2/data_resync_grpc.go
GO
apache-2.0
7,515
/* * 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-lex/source/LexRuntimeServiceErrors.cpp
C++
apache-2.0
3,625
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.servicio.reparaciones.modelo.sql.dao; import com.common.dao.DefaultGenericDAOImple; import com.servicio.reparaciones.model...
ServicioReparaciones/ServicioReparaciones
ServicioReparaciones-ejb/src/main/java/com/servicio/reparaciones/modelo/sql/dao/FacturacionMabeDAO.java
Java
apache-2.0
1,132
package dynoapps.exchange_rates; import android.app.Activity; import android.app.Instrumentation; import androidx.test.rule.ActivityTestRule; import org.junit.ClassRule; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import tools.fastlane.screengrab.Sc...
erdemolkun/instant-rates
app/src/androidTest/java/dynoapps/exchange_rates/JUnit4StyleTests.java
Java
apache-2.0
2,482
package privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.logic.shoppingList.business; import org.joda.time.DateTime; import privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.framework.context.ContextSetter; import privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.log...
SecUSo/privacy-friendly-shopping-list
app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/logic/shoppingList/business/ShoppingListService.java
Java
apache-2.0
1,576
/* * Copyright 2013-2014 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...
alexandrearaujo/modulo
modulo-server-back/src/main/java/org/springframework/data/convert/Jsr310Converters.java
Java
apache-2.0
4,304
package net.sf.microlog.midp.bluetooth.server; import net.sf.microlog.midp.bluetooth.BluetoothServerListener; /** * The default implementation of the BluetoothServerListener. If a separate * BluetoothServerListener is set, this class is not used. * * @author Jarle Hansen (hansjar@gmail.com) * */ class Default...
yuuhhe/microlog
net/sf/microlog/midp/bluetooth/server/DefaultServerListenerImpl.java
Java
apache-2.0
670
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2....
spohnan/geowave
test/src/test/java/org/locationtech/geowave/test/secondary/BasicSecondaryIndexIT.java
Java
apache-2.0
3,558
package com.freetmp.mbg.shellcallback; import com.freetmp.mbg.merge.CompilationUnitMerger; import org.apache.commons.io.FileUtils; import org.mybatis.generator.exception.ShellException; import org.mybatis.generator.internal.DefaultShellCallback; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static o...
beihaifeiwu/dolphin
dolphin-mybatis-generator/src/main/java/com/freetmp/mbg/shellcallback/MergeSupportedShellCallback.java
Java
apache-2.0
1,349
package org.seasar.doma.jdbc; /** * An accessor for {@link SelectOptions}. * * <p>This is used only by DOMA framework. */ public class SelectOptionsAccessor { public static boolean isCount(SelectOptions options) { return options.count; } public static void setCountSize(SelectOptions options, long count...
domaframework/doma
doma-core/src/main/java/org/seasar/doma/jdbc/SelectOptionsAccessor.java
Java
apache-2.0
851
/* * Copyright 2012-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
kdvolder/spring-boot
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/EndpointMappingTests.java
Java
apache-2.0
2,400
package org.semanticweb.clipper.dllog; import com.google.common.base.Joiner; import org.antlr.runtime.ANTLRInputStream; import org.antlr.runtime.CommonTokenStream; import org.antlr.runtime.RecognitionException; import org.antlr.runtime.tree.CommonTree; import org.antlr.runtime.tree.CommonTreeNodeStream; import org.jun...
ghxiao/clipper
clipper-reasoner/src/test/java/org/semanticweb/clipper/dllog/DLLogParserTest.java
Java
apache-2.0
4,260
/* 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, ...
resouer/frakti
pkg/unikernel/service/streaming.go
GO
apache-2.0
1,593
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pants.engine.addressable import Addresses from pants.engine.console import Console from pants.engine.goal import Goal, GoalSubsystem from pants.engine.rules import goal_rule class L...
wisechengyi/pants
pants-plugins/src/python/internal_backend/rules_for_testing/register.py
Python
apache-2.0
858
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp 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/LICE...
dbeaver/dbeaver
plugins/org.jkiss.dbeaver.ext.oracle.ui/src/org/jkiss/dbeaver/ext/oracle/ui/editors/OracleSourceDeclarationEditor.java
Java
apache-2.0
2,616
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
erikdubbelboer/druid
services/src/main/java/io/druid/cli/CliHistorical.java
Java
apache-2.0
3,730
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.payments.provider; import com.opengamma.analytics.financial.instrument.index.IndexON; import com.opengamma.analytics.financial...
McLeodMoores/starling
projects/analytics/src/main/java/com/opengamma/analytics/financial/interestrate/payments/provider/OvernightInterpolatedStubForwardRateProvider.java
Java
apache-2.0
2,025
#include "pch.h" #include "ParticleContactDemo.h" #include "Particle.h" #include "ParticleWorld.h" #include "ParticleRod.h" #include "ParticleCable.h" #include "ParticleGravity.h" using namespace Annulus; namespace Demos { const glm::vec2 ParticleContactDemo::sParticlePosition1 = glm::vec2(-100.0f, 0.0f); const glm...
Siddhant628/Annulus-Physics-Engine
Annulus/source/Testbed/ParticleContactDemo.cpp
C++
apache-2.0
3,799
package org.seasar.doma.jdbc.criteria.statement; import java.util.Objects; import org.seasar.doma.jdbc.Config; import org.seasar.doma.jdbc.OptimisticLockException; import org.seasar.doma.jdbc.Result; import org.seasar.doma.jdbc.command.Command; import org.seasar.doma.jdbc.command.UpdateCommand; import org.seasar.doma....
domaframework/doma
doma-core/src/main/java/org/seasar/doma/jdbc/criteria/statement/EntityqlUpdateStatement.java
Java
apache-2.0
3,424
/** * Copyright © 2010-2014 Nokia * * 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 ...
samskiter/jsonschema2pojo
jsonschema2pojo-integration-tests/src/test/java/org/jsonschema2pojo/integration/config/PrefixSuffixIT.java
Java
apache-2.0
6,382
package xhsun.gw2app.steve.view.dialog.fragment; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFragment; import android.support.v7.app.AlertDialog; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widge...
xhsun/gw2-steve
app/src/main/java/xhsun/gw2app/steve/view/dialog/fragment/SelectAccounts.java
Java
apache-2.0
3,255
/******************************************************************************* * Copyright (c) 2014 Filipe Campos. * * 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....
filipecampos/ws_gossip
src/main/java/org/uminho/di/gsd/membership/service/operations/GetTargetsOperation.java
Java
apache-2.0
4,650
/* * Copyright (c) 2011-2015, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
pacozaa/BoofCV
main/ip/test/boofcv/alg/interpolate/impl/GeneralBilinearRectangleChecks.java
Java
apache-2.0
4,944
package com.shentu.microdream.data.api; import com.shentu.microdream.data.module.ColumnBrowsePageData; import com.shentu.microdream.data.module.ColumnModule; import com.shentu.microdream.data.module.HomePageAllData; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Headers; import retrofit2.http...
walkthehorizon/MicroDream
app/src/main/java/com/shentu/microdream/data/api/MomentService.java
Java
apache-2.0
1,316
package com.incomb.server.services.news; import java.sql.Connection; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType...
XMBomb/InComb
src/main/java/com/incomb/server/services/news/NewsService.java
Java
apache-2.0
4,340
/* * Copyright 2014-2015 See AUTHORS file. * * 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...
StQuote/VisEditor
UI/src/com/kotcrab/vis/ui/widget/color/internal/VerticalChannelBar.java
Java
apache-2.0
2,807
/* * Copyright 2015 Data Artisans GmbH * * 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 ...
chetkhatri/flink-dataflow
src/main/java/com/dataartisans/flink/dataflow/translation/FlinkTransformTranslators.java
Java
apache-2.0
24,639
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache/tez
tez-runtime-library/src/main/java/org/apache/tez/http/async/netty/AsyncHttpConnection.java
Java
apache-2.0
8,840
/* controller.lunch-order.js * Controller for lunch-order module. * Implements changes on the model from the lunch-order view. * */ //--- Begin Module Scope Variables ---// var initSrvc = require("../app/service.init"), appEvent = initSrvc.createManifest(), modelEvent = require("../app/model"), storageSrvc = require("...
seanttaylor/_grillemasters.togo
_js/lunch-order/controller.lunch-order.js
JavaScript
apache-2.0
1,911
/* * 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...
consulo/consulo-maven
maven-server-api/src/main/java/org/jetbrains/idea/maven/server/MavenServerExecutionResult.java
Java
apache-2.0
2,072
// Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
knative-sandbox/kn-plugin-admin
core/root.go
GO
apache-2.0
2,846
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <java/text/fwd-POI.hpp> #include <java/text/AttributedCharacterIterator_Attribute.hpp> struct default_init_tag; class java::text::Format_Fie...
pebble2015/cpoi
ext/src/java/text/Format_Field.hpp
C++
apache-2.0
844
/** * Copyright © 2017 tesshu.com (webmaster@tesshu.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 app...
tesshucom/subsonic-fx-player
subsonic-fx-player-impl/src/main/java/com/tesshu/subsonic/client/fx/view/preference/HelpLabelImpl.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-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/endpointdiscovery/AmazonDynamoDBEndpointCacheLoader.java
Java
apache-2.0
2,066
/* * Copyright 2019 tamacat.org * Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package org.tamacat.httpd.filter; import java.io.IOException; import org.apache.http.HttpException; import org.apache.http.HttpResponse; import org.apache.http.HttpResponseInterceptor; ...
tamacat/tamacat-httpd
src/main/java/org/tamacat/httpd/filter/LocationRedirectResponseInterceptor.java
Java
apache-2.0
1,252
/* For license and copyright information please see LEGAL file in repository */ package persiaos import ( "../../gp" "../../mediatype" "../../protocol" ) // OS implements protocol.OperatingSystem var OS os type os struct { Manifest Manifest State protocol.ApplicationState StateChannel chan protocol...
SabzCity/Go-Library
os/persiaos/os.go
GO
apache-2.0
1,262
/* * 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 ...
greghogan/flink
flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/TestingExecutionGraphBuilder.java
Java
apache-2.0
7,421
package whiteship.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import or...
keesun/adiue2014-moim
src/main/java/whiteship/security/AccountUserDetailsService.java
Java
apache-2.0
996
/* * Copyright (c) 2019. André Mion * * 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...
andremion/Floating-Navigation-View
library/src/main/java/com/andremion/floatingnavigationview/CircularRevealNavigationView.java
Java
apache-2.0
3,007
/* Licensed to the Court of the University of Edinburgh (UofE) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The UofE licenses this file to you under the Apache License, Version 2.0 (the "License")...
stumoodie/CompoundGraph
src/uk/ac/ed/inf/graph/compound/ISubCompoundGraphFactory.java
Java
apache-2.0
1,221
package org.apereo.cas.support.saml.services; import org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext; import org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade; import org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceC...
apereo/cas
support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/services/AttributeQueryAttributeReleasePolicy.java
Java
apache-2.0
2,177
package com.eagleoj.web.controller; import com.eagleoj.web.util.WebUtil; import com.github.pagehelper.Page; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageRowBounds; import org.apache.shiro.authz.annotation.RequiresAuthentication; import com.eagleoj.web.entity.ResponseEntity; import com.eagl...
Smith-Cruise/eagle-oj-api
eagle-oj-web/src/main/java/com/eagleoj/web/controller/MessagesController.java
Java
apache-2.0
1,523
/* * Copyright 2017 Niklas Persson * * 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...
equadon/intellij-mips
src/com/equadon/intellij/mips/tools/registers/MipsRegistersToolWindowFactory.java
Java
apache-2.0
2,854
/* * Copyright 2012-2019 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...
lburgazzoli/spring-boot
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanTests.java
Java
apache-2.0
8,653
/* * Copyright 2020 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 in wr...
MobilityData/gtfs-validator
main/src/main/java/org/mobilitydata/gtfsvalidator/table/GtfsCalendarSchema.java
Java
apache-2.0
1,761
package com.communote.server.web.api.service.filter; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import liquibase.util.StringUtils; import com.communote.common.util.PageableList; import com.communote.common.util.Pair; import com.communote.server.core.s...
Communote/communote-server
communote/webapp/src/main/java/com/communote/server/web/api/service/filter/BlogFilterApiController.java
Java
apache-2.0
2,533
/** * */ package com.ecallac.rentcar.controller; import java.security.Principal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid;...
ecallac/sistemas
applications/rentcar-web/src/main/java/com/ecallac/rentcar/controller/TipoController.java
Java
apache-2.0
4,653
package org.lnu.is.converter.specoffer.subject; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.lnu.is.domain.enrolment.subject.EnrolmentSubject; import org.lnu.is.domain.specoffer.SpecOffer; import org.lnu.is.domain.specoffer.SpecOfferSubject; import org.lnu.is.resource.specoffer.subje...
ifnul/ums-backend
is-lnu-converter/src/test/java/org/lnu/is/converter/specoffer/subject/SpecOfferSubjectResourceConverterTest.java
Java
apache-2.0
2,152
/* * Copyright © 2014-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 required by applicable law or agr...
caskdata/cdap
cdap-data-fabric/src/main/java/co/cask/cdap/data2/datafabric/dataset/service/executor/RemoteDatasetOpExecutor.java
Java
apache-2.0
9,176
/* 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
knative/build
vendor/github.com/knative/pkg/injection/informers/kubeinformers/corev1/endpoints/endpoints.go
GO
apache-2.0
1,527
/* * 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...
jexp/idea2
java/java-impl/src/com/intellij/psi/impl/compiled/ClsTypeParameterReferenceImpl.java
Java
apache-2.0
5,186
/* * 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 ...
zimmermatt/flink
flink-runtime/src/test/java/org/apache/flink/runtime/metrics/groups/TaskManagerJobGroupTest.java
Java
apache-2.0
4,409
package it.scantamburloenrico.actions.impl; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import org.openide.DialogDisplayer; import org.openide.NotifyDescriptor; import org.openide.util.ContextAwareAction; import org.openide.util.Lookup; /** * * @author Enrico Sca...
EnricoScantamburlo/actions
actions/src/it/scantamburloenrico/actions/impl/Custom.java
Java
apache-2.0
826
/* * 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 ...
dhutchis/accumulo
server/master/src/main/java/org/apache/accumulo/master/replication/WorkDriver.java
Java
apache-2.0
3,983
// 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...
valfirst/selenium
java/server/src/org/openqa/grid/web/servlet/RegistrationServlet.java
Java
apache-2.0
3,753
// 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.codeInsight.template; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.extensions....
leafclick/intellij-community
platform/lang-api/src/com/intellij/codeInsight/template/TemplateContextType.java
Java
apache-2.0
2,456
package org.mengyun.tcctransaction.sample.http.order.service; import org.apache.commons.lang3.time.DateFormatUtils; import org.mengyun.tcctransaction.api.Compensable; import org.mengyun.tcctransaction.sample.http.capital.api.dto.CapitalTradeOrderDto; import org.mengyun.tcctransaction.sample.http.redpacket.api.dto.RedP...
changmingxie/tcc-transaction
tcc-transaction-tutorial-sample/tcc-transaction-http-sample/tcc-transaction-http-order/src/main/java/org/mengyun/tcctransaction/sample/http/order/service/PaymentServiceImpl.java
Java
apache-2.0
3,970
/* * 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-sesv2/source/model/TrackingOptions.cpp
C++
apache-2.0
1,555
/* * Copyright (c) 2015-2019 Dzikoysk * * 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...
Panda-Programming-Language/Panda
panda/src/test/java/org/panda_lang/panda/framework/language/resource/parsers/expression/ExpressionBenchmark.java
Java
apache-2.0
2,786
/* * 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-gamelift/src/main/java/com/amazonaws/services/gamelift/model/transform/UpdateFleetAttributesRequestProtocolMarshaller.java
Java
apache-2.0
2,775
// 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.openapi.projectRoots.impl; import com.intellij.openapi.projectRoots.Sdk; import com.intellij.openapi.projectRoots.SdkModel; import com.intellij.openapi.proje...
leafclick/intellij-community
platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/DependentSdkType.java
Java
apache-2.0
2,608
package middleware import ( "bufio" "fmt" "net" "net/http" ) // ResponseWriter is a wrapper around http.ResponseWriter that provides extra information about // the response. type ResponseWriter interface { http.ResponseWriter http.Flusher // Status returns the status code of the response or 200 if the response...
remind101/pkg
httpx/middleware/response_writer.go
GO
bsd-2-clause
1,269
// 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 "chrome/browser/chromeos/login/easy_unlock/easy_unlock_refresh_keys_operation.h" #include "base/bind.h" #include "chrome/browser/chromeos/login/e...
endlessm/chromium-browser
chrome/browser/chromeos/login/easy_unlock/easy_unlock_refresh_keys_operation.cc
C++
bsd-3-clause
2,426
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ABI40_0_0ImageRequest.h" namespace ABI40_0_0facebook { namespace ABI40_0_0React { ImageRequest::ImageRequest( const...
exponent/exponent
ios/versioned-react-native/ABI40_0_0/ReactNative/ReactCommon/fabric/imagemanager/platform/ios/ABI40_0_0ImageRequest.cpp
C++
bsd-3-clause
1,700
/* * 2010 – 2012 Copyright Northwestern University and Stanford University * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. */ package edu.stanford.isis.atb.ui.view.widget.tree; import java.awt.event.MouseAdapter; impo...
NCIP/annotation-and-image-markup
ATB_1.0_src/src/main/java/edu/stanford/isis/atb/ui/view/widget/tree/AbstractTree.java
Java
bsd-3-clause
6,421
/*L * Copyright Oracle Inc, SAIC-F * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-uml-model-browser/LICENSE.txt for details. */ package gov.nih.nci.ncicb.cadsr.umlmodelbrowser.servlets; import gov.nih.nci.ncicb.cadsr.util.UMLBrowserParams; import javax.servlet.ht...
NCIP/cadsr-uml-model-browser
software/umlmodelbrowser/src/java/gov/nih/nci/ncicb/cadsr/umlmodelbrowser/servlets/SessionListener.java
Java
bsd-3-clause
948
// 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 "webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h" #include "cc/layers/layer.h" #include "third_party/WebKit/Source/Platform/ch...
loopCM/chromium
webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
C++
bsd-3-clause
4,283
// Copyright 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/toolbar/toolbar_model_impl.h" #include "base/utf_string_conversions.h" #include "chrome/browser/autocomplete/autocomplete_inp...
junmin-zhu/chromium-rivertrail
chrome/browser/ui/toolbar/toolbar_model_impl.cc
C++
bsd-3-clause
8,429
// 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 "chrome/browser/sync/sessions/sync_sessions_router_tab_helper.h" #include "base/feature_list.h" #include "base/memory/ptr_util.h" #include "chro...
scheib/chromium
chrome/browser/sync/sessions/sync_sessions_router_tab_helper.cc
C++
bsd-3-clause
3,792
/*L * Copyright HealthCare IT, Inc. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/edct-formbuilder/LICENSE.txt for details. */ package com.healthcit.cacure.web.controller; import org.apache.log4j.Logger; import org.springframework.stereotype.Controller; im...
NCIP/edct-formbuilder
src/main/java/com/healthcit/cacure/web/controller/CadsrLookupController.java
Java
bsd-3-clause
834
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
eamodio/vscode
src/vs/platform/accessibility/browser/accessibilityService.ts
TypeScript
mit
2,768
package com.aspose.words.cloud.maths; import android.content.Context; import java.io.File; import com.aspose.storage.api.StorageApi; import com.aspose.words.api.WordsApi; import com.aspose.words.cloud.R; import com.aspose.words.cloud.Utils; import com.aspose.words.cloud.config.Configuration; import com.aspose.words....
aspose-words/Aspose.Words-for-Cloud
Examples/Android/app/src/main/java/com/aspose/words/cloud/maths/DeleteMathObjectByIndexExample.java
Java
mit
1,456
/* The MIT License Copyright (c) 2004-2014 Paul R. Holser, Jr. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
ohr/jopt-simple
src/test/java/joptsimple/internal/StringsUtilityClassTest.java
Java
mit
1,440
/* * Copyright 2014 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...
HenryHarper/Acquire-Reboot
gradle/src/tooling-api-builders/org/gradle/tooling/internal/provider/runner/ClientProvidedBuildActionRunner.java
Java
mit
3,148
/* * Copyright 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 applica...
HenryHarper/Acquire-Reboot
gradle/src/dependency-management/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutions.java
Java
mit
8,132
// Copyright 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 ...
otcshare/iotivity-node
js/server.get.coaps.js
JavaScript
mit
3,167
/** * Copyright 2015, 2021 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.config.1.1/src/com/ibm/ws/microprofile/config/converters/DefaultConverters.java
Java
epl-1.0
4,650
package com.faust; import com.dsp_faust.dsp_faust; import android.content.Context; import android.graphics.Color; import android.view.Gravity; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RadioGroup.OnChec...
antoinevg/faudiostream
architecture/android/app/src/main/java/com/faust/Radio.java
Java
gpl-2.0
3,877
/* * Freeplane - mind map editor * Copyright (C) 2009 Dimitry Polivaev * * This file author is Dimitry Polivaev * * 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 o...
fnatter/freeplane-debian-dev
freeplane/src/main/java/org/freeplane/features/link/LinkConditionController.java
Java
gpl-2.0
9,103
/** * @file * @brief Trigger functions */ /* All original material Copyright (C) 2002-2020 UFO: Alien Invasion. Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.c Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU ...
DarkRainX/ufoai
src/game/g_trigger.h
C
gpl-2.0
1,386
/** * OWASP Benchmark Project v1.1 * * 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 Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest15270.java
Java
gpl-2.0
2,664
package org.scid.android; import android.app.Activity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.os.AsyncTask; import android.widget.Toast; /** * ProgressingTask&lt;Result&gt; is an asynchronous task with ProgressDialog. * Canceling the progress, cancels the activity....
mauronunez/scidonthego
src/org/scid/android/ProgressingTask.java
Java
gpl-2.0
2,478
/* Copyright (C) 2007 - 2016 by Mark de Wever <koraq@xs4all.nl> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 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 ve...
t-zuehlsdorff/wesnoth
src/gui/auxiliary/widget_definition/image.hpp
C++
gpl-2.0
954
#ifndef _ENGINES_H_ #define _ENGINES_H_ #include <gtk/gtk.h> #include <glib.h> //typedef void (*ActionInvokedCb)(GtkWindow *nw, const char *key); typedef void (*UrlClickedCb)(GtkWindow *nw, const char *url); GtkWindow *create_notification(UrlClickedCb url_clicked_cb); void destroy_notification(GtkWindow *nw); void ...
gilir/awn-extras-debian
applets/maintained/notification-daemon/engines.h
C
gpl-3.0
1,074
/** * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
jdegraft/openmrs-module-chartsearch
api/src/main/java/org/openmrs/module/chartsearch/solr/ChartSearchIndexer.java
Java
mpl-2.0
6,107