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.fastcatsearch.analytics.analysis.handler;
import java.io.File;
import java.util.List;
import org.fastcatsearch.analytics.analysis.EntryParser;
import org.fastcatsearch.analytics.analysis.util.KeyCountRunEntry;
import org.fastcatsearch.analytics.analysis.util.KeywordLogRankLiteDiffer;
import org.fastcatsea... | fastcat-co/analytics | analytics-server/src/main/java/org/fastcatsearch/analytics/analysis/handler/KeywordRankDiffHandler.java | Java | lgpl-2.1 | 1,524 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can ob... | EgorZhuk/pentaho-reporting | designer/report-designer/src/main/java/org/pentaho/reporting/designer/core/actions/report/SelectionWaitingAction.java | Java | lgpl-2.1 | 3,508 |
package org.cytoscape.tableimport.internal.task;
import java.text.Collator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import org... | cytoscape/cytoscape-impl | table-import-impl/src/main/java/org/cytoscape/tableimport/internal/task/NetworkCollectionHelper.java | Java | lgpl-2.1 | 11,860 |
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | openlimit-signcubes/dss | dss-cookbook/src/test/java/eu/europa/esig/dss/cookbook/example/sign/SignXmlXadesBWithTransformsTest.java | Java | lgpl-2.1 | 14,472 |
/*
* Sonar, open source software quality management tool.
* Copyright (C) 2008-2012 SonarSource
* mailto:contact AT sonarsource DOT com
*
* Sonar 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; e... | jmecosta/sonar | sonar-server/src/main/java/org/sonar/server/charts/ChartsServlet.java | Java | lgpl-3.0 | 7,475 |
/*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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... | lbndev/sonarqube | server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java | Java | lgpl-3.0 | 2,788 |
/*
*** Find Window Functinos
*** src/findwindow_funcs.cpp
Copyright T. Youngs 2012-2016
This file is part of JournalViewer.
JournalViewer 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 o... | trisyoungs/jv | src/findwindow_funcs.cpp | C++ | lgpl-3.0 | 2,461 |
// Copyright 2015 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library 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... | Lopastvertoleta/go-ethereum | eth/api_backend.go | GO | lgpl-3.0 | 7,106 |
/*
* SonarQube Java
* Copyright (C) 2012-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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 Licen... | mbring/sonar-java | java-frontend/src/test/java/org/sonar/java/resolve/SymbolsTest.java | Java | lgpl-3.0 | 7,045 |
/*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* This program 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... | Builders-SonarSource/sonarqube-bis | server/sonar-server/src/test/java/org/sonar/server/permission/ws/UsersActionTest.java | Java | lgpl-3.0 | 11,665 |
package fr.mathdu07.visualshop.player.ability;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerPickupItemEvent;
import fr.mathdu07.visualshop.VisualShop;
import fr.mathdu07.vi... | mathdu07/VisualShop | src/fr/mathdu07/visualshop/player/ability/SetPriceAbility.java | Java | lgpl-3.0 | 1,814 |
/*
* LibrAlign - A GUI library for displaying and editing multiple sequence alignments and attached data
* Copyright (C) 2014-2018 Ben Stöver
* <http://bioinfweb.info/LibrAlign>
*
* This file is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lice... | bioinfweb/LibrAlign | main/info.bioinfweb.libralign.io/src/info/bioinfweb/libralign/dataarea/implementations/pherogram/PherogramEventReaderIO.java | Java | lgpl-3.0 | 5,373 |
/**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | client/src/test/java/org/evosuite/symbolic/solver/z3/TestZ3MathFloat.java | Java | lgpl-3.0 | 3,190 |
package org.para.distributed.slave;
import java.net.UnknownHostException;
import java.util.TimerTask;
import org.apache.log4j.Logger;
import org.para.distributed.dto.WorkerNode;
import org.para.distributed.util.SystemUtil;
/**
* 继承TimerTask,具备定时任务的特性
*
* @author liuyan
*
*/
public class HeartbeatTask extends ... | suhuanzheng7784877/ParallelExecute | project/ParallelExecute/src/main/java/org/para/distributed/slave/HeartbeatTask.java | Java | apache-2.0 | 1,291 |
/*
*
* 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... | izeye/springfox | springfox-schema/src/main/java/springfox/documentation/schema/property/OptimizedModelPropertiesProvider.java | Java | apache-2.0 | 12,352 |
// Copyright 2016-2018 Authors of Cilium
//
// 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... | scanf/cilium | daemon/health.go | GO | apache-2.0 | 3,785 |
/**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under ... | bric3/assertj-core | src/main/java/org/assertj/core/internal/IterableElementComparisonStrategy.java | Java | apache-2.0 | 2,290 |
/*
* Copyright (C) 2021 Axon Ivy AG
*
* 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 ... | axonivy/project-build-plugin | src/main/java/ch/ivyteam/ivy/maven/engine/EngineMojoContext.java | Java | apache-2.0 | 2,699 |
/*
* Copyright 2013-2014 Graham Edgecombe
*
* 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 ... | grahamedgecombe/android-ssl | mitm-common/src/main/java/uk/ac/cam/gpe21/droidssl/mitm/crypto/FixedKeyManager.java | Java | apache-2.0 | 2,097 |
package com.purejadeite.jadegreen.option.book;
import java.util.List;
import java.util.Map;
import com.purejadeite.jadegreen.definition.DefinitionInterface;
import com.purejadeite.jadegreen.option.OptionInterface;
import com.purejadeite.jadegreen.option.OptionManager;
import com.purejadeite.jadegreen.option.O... | purejadeite/jadegreen | src/main/java/com/purejadeite/jadegreen/option/book/BookOptionManager.java | Java | apache-2.0 | 1,162 |
/*
* Copyright 2017 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | bazelbuild/intellij | python/src/com/google/idea/blaze/python/run/BlazePyRunConfigurationHandler.java | Java | apache-2.0 | 2,677 |
/*
* 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 ... | mylog00/flink | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java | Java | apache-2.0 | 26,814 |
// Copyright (c) 2021 Tigera, 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 appli... | projectcalico/calico | felix/fv/bpf_attach_test.go | GO | apache-2.0 | 3,417 |
/*
* 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 ... | abhishekshivanna/samza | samza-sql/src/main/java/org/apache/samza/sql/planner/SamzaSqlUdfOperatorTable.java | Java | apache-2.0 | 3,461 |
/*
* Copyright 2012-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 ap... | joshthornhill/spring-boot | spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpointTests.java | Java | apache-2.0 | 11,685 |
/*
* 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-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/transform/CreateConfigurationSetEventDestinationRequestProtocolMarshaller.java | Java | apache-2.0 | 3,049 |
// Copyright (C) 2015 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 ... | qtproject/qtqa-gerrit | java/com/google/gerrit/httpd/XsrfCookieFilter.java | Java | apache-2.0 | 2,803 |
/*
* 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 ... | ecarm002/incubator-asterixdb | hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/job/JobActivityGraph.java | Java | apache-2.0 | 4,353 |
package org.awesky.webapp.auth;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.PostConstruct;
import org.awesky.api.auth.Resources;
import org.awesky.api.auth.Role;
import org.awesky.provide... | Awesky/awe-awesomesky | awe-awesomesky-webapp/src/main/java/org/awesky/webapp/auth/MainSecurityMetadataSource.java | Java | apache-2.0 | 2,439 |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | TurboOS/android_packages_apps_LockClock | src/com/phonemetra/turbo/lockclock/util/Constants.java | Java | apache-2.0 | 4,985 |
/**
* Copyright (C) 2015 Orange
* 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... | Orange-OpenSource/elpaaso-core | cloud-paas/cloud-paas-activation-v1-impl/src/main/java/com/francetelecom/clara/cloud/paas/activation/v1/async/listener/RetryableMessageListener.java | Java | apache-2.0 | 2,153 |
package com.flexdms.flexims;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.transaction.Transactional;
import com.flexdms.flexims.jpa.JpaHelper;
import com.flexdms.flexims.jpa.eclipselink.FleximsDynamicEntityImpl;
/**
* Entry point to ... | jasonzhang2022/flexims | common/src/main/java/com/flexdms/flexims/EntityDAO.java | Java | apache-2.0 | 1,486 |
/**
* Copyright 2011 Link Intersystems GmbH <rene.link@link-intersystems.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
... | link-intersystems/lis-commons | lis-commons-lang/src/test/java/com/link_intersystems/lang/reflect/SerializableMethodTest.java | Java | apache-2.0 | 4,092 |
/*
* Copyright 2012-2016 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... | neo4j-contrib/spring-boot | spring-boot-tools/spring-boot-configuration-metadata/src/test/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilderTests.java | Java | apache-2.0 | 10,158 |
/*
* Copyright 2000-2012 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 | plugin/src/main/java/org/jetbrains/idea/maven/utils/library/RepositoryLibraryType.java | Java | apache-2.0 | 2,805 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | ahmedlawi92/pnc | integration-test/src/test/java/org/jboss/pnc/integration/BuildRecordSetRestTest.java | Java | apache-2.0 | 9,257 |
/**
* Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
*
* <p> 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, Versio... | spohnan/geowave | extensions/adapters/vector/src/main/java/org/locationtech/geowave/adapter/vector/export/VectorExportMapper.java | Java | apache-2.0 | 5,047 |
// Copyright (C) 2016 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 ... | WANdisco/gerrit | java/com/google/gerrit/server/query/account/InternalAccountQuery.java | Java | apache-2.0 | 6,877 |
/*
Copyright 2014 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 law or agreed to in ... | sdodson/origin | Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/registry/event/rest.go | GO | apache-2.0 | 5,197 |
import json
import pprint
import time
import datetime
import django.core.serializers
from django.contrib.auth import *
from django.contrib.auth.decorators import *
from django.contrib.gis.geos import GEOSGeometry
from django.contrib.gis.serializers import geojson
from django.core import *
from django.http import *
from... | todor943/mapEngine | MapApi/views.py | Python | apache-2.0 | 3,383 |
package controllercmd
import (
"context"
"fmt"
"io/ioutil"
"math/rand"
"os"
"path/filepath"
"time"
"github.com/spf13/cobra"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/apimachinery/pkg/version"
"k8s.io/apiserver/pkg/se... | jim-minter/origin | vendor/github.com/openshift/library-go/pkg/controller/controllercmd/cmd.go | GO | apache-2.0 | 10,587 |
package io.dropwizard.testing.common;
import com.codahale.metrics.MetricRegistry;
import io.dropwizard.jersey.DropwizardResourceConfig;
import io.dropwizard.jersey.jackson.JacksonBinder;
import io.dropwizard.jersey.validation.HibernateValidationFeature;
import io.dropwizard.setup.ExceptionMapperBinder;
import org.glas... | aaanders/dropwizard | dropwizard-testing/src/main/java/io/dropwizard/testing/common/DropwizardTestResourceConfig.java | Java | apache-2.0 | 2,508 |
package no.cantara.csdb.util.basecommands;
import com.github.kevinsawicki.http.HttpRequest;
import com.netflix.hystrix.HystrixCommand;
import com.netflix.hystrix.HystrixCommandGroupKey;
import com.netflix.hystrix.HystrixCommandProperties;
import com.netflix.hystrix.strategy.concurrency.HystrixRequestContext;
import no... | Cantara/ConfigService-Dashboard | src/main/java/no/cantara/csdb/util/basecommands/BaseHttpPostHystrixCommand.java | Java | apache-2.0 | 4,464 |
package org.kasource.validation.url;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PA... | wigforss/Ka-Validation | src/main/java/org/kasource/validation/url/Url.java | Java | apache-2.0 | 1,755 |
/*
* Copyright (C) 2013 appfour 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 or agre... | android-ide/android_sampling_profiler_facade | src/com/appfour/android/samplingprofiler/IcsSamplingProfilerAdapter.java | Java | apache-2.0 | 1,789 |
//============================================================================
//
// Copyright (C) 2006-2022 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receive... | Talend/components | components/components-azurestorage/src/test/java/org/talend/components/azurestorage/blob/definitions/TAzureStorageGetDefinitionTest.java | Java | apache-2.0 | 2,038 |
package com.google.code.morphia.mapping.validation;
import com.google.code.morphia.mapping.MappedClass;
import com.google.code.morphia.mapping.MappedField;
/**
* @author Uwe Schaefer, (us@thomas-daily.de)
*/
public class ConstraintViolation {
public enum Level {
MINOR, INFO, WARNING, SEVERE, FATAL;
}
private ... | crazycode/morphia | src/main/java/com/google/code/morphia/mapping/validation/ConstraintViolation.java | Java | apache-2.0 | 1,267 |
package br.com.cams7.siscom.jpa.domain.entity;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
... | cams7/apps | jee/siserp/siscom-jpa/src/main/java/br/com/cams7/siscom/jpa/domain/entity/RecebimentoEntity.java | Java | apache-2.0 | 2,509 |
// Copyright 2014 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... | danw/blueprint | bootstrap/minibp/main.go | GO | apache-2.0 | 1,534 |
/**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.xmlconfiguration.invalid;
import javax.validation.ValidationException;
import org.hibernate.beanva... | gunnarmorling/beanvalidation-tck | tests/src/main/java/org/hibernate/beanvalidation/tck/tests/xmlconfiguration/invalid/InvalidValidationXmlTest.java | Java | apache-2.0 | 1,355 |
package com.jeesuite.rest.filter;
import java.lang.reflect.Method;
import javax.ws.rs.container.DynamicFeature;
import javax.ws.rs.container.ResourceInfo;
import javax.ws.rs.core.FeatureContext;
import com.jeesuite.rest.filter.annotation.ResponseFormat;
import com.jeesuite.rest.filter.annotation.ResponseFor... | vakinge/jeesuite-libs | jeesuite-rest/src/main/java/com/jeesuite/rest/filter/DefaultFilterDynamicFeature.java | Java | apache-2.0 | 1,000 |
package org.pac4j.async.vertx.core.session;
import io.vertx.ext.web.Session;
import org.pac4j.async.core.context.AsyncWebContext;
import org.pac4j.async.core.session.AsyncSessionStore;
import org.pac4j.core.context.WebContext;
import java.util.concurrent.CompletableFuture;
/**
*
*/
public class VertxAsyncSessionSt... | millross/pac4j-async | vertx-pac4j-async-demo/src/main/java/org/pac4j/async/vertx/core/session/VertxAsyncSessionStore.java | Java | apache-2.0 | 1,136 |
/*
* 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-iotsecuretunneling/source/model/ListTunnelsRequest.cpp | C++ | apache-2.0 | 1,634 |
/*
* Copyright 2000-2014 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... | ernestp/consulo | platform/lang-impl/src/com/intellij/codeInsight/navigation/MethodUpHandler.java | Java | apache-2.0 | 2,321 |
/**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.aggregation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Map... | McLeodMoores/starling | projects/financial/src/main/java/com/opengamma/financial/aggregation/GICSAggregationFunction.java | Java | apache-2.0 | 14,338 |
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium
//go:build !privileged_tests
// +build !privileged_tests
package loader
import (
"bytes"
. "gopkg.in/check.v1"
"github.com/cilium/cilium/pkg/checker"
"github.com/cilium/cilium/pkg/datapath/linux/config"
"github.com/cilium/cilium/pkg/testuti... | cilium/cilium | pkg/datapath/loader/template_test.go | GO | apache-2.0 | 1,402 |
package deployerpod
import (
"time"
"github.com/golang/glog"
kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api"
kerrors "github.com/GoogleCloudPlatform/kubernetes/pkg/api/errors"
kclient "github.com/GoogleCloudPlatform/kubernetes/pkg/client"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client/cache"
"... | hingstarne/origin | pkg/deploy/controller/deployerpod/factory.go | GO | apache-2.0 | 5,880 |
/*
* Copyright 2015 Adaptris 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 agree... | mcwarman/interlok | apt/src/main/java/com/adaptris/annotation/TemplateAnnotationProcessor.java | Java | apache-2.0 | 2,080 |
/*
* 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-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/transform/UpdateDatasetRequestMarshaller.java | Java | apache-2.0 | 4,053 |
/*
* Copyright 2000-2011 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/git4idea/tests/git4idea/tests/GitLineSeparatorsConverterTest.java | Java | apache-2.0 | 9,393 |
package gwbot.bot.impl;
import gwbot.Main;
import gwbot.bot.GenericBot;
import gwbot.car.Car;
import gwbot.message.CarPositionMessage;
import gwbot.message.GameEndMessage;
import gwbot.message.GameInitMessage;
import gwbot.message.GameStartMessage;
import gwbot.message.JoinMessage;
import gwbot.message.PingMessage;
im... | beheh/hwo2014 | java/src/main/java/gwbot/bot/impl/GoldwipfBot.java | Java | apache-2.0 | 3,616 |
package org.txazo.wx.app.remind.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.txazo.wx.app.common.controller.base.BaseController;
import org.txazo.wx.app.common.enums... | txazo/txazo | txazo-application/txazo-wx/src/main/java/org/txazo/wx/app/remind/controller/RemindController.java | Java | apache-2.0 | 1,880 |
/*
* 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.eduardosco.base.controller;
import com.eduardosco.base.entities.UsuarioEntity;
import com.eduardosco.base.services... | eduardosco/eduardoscopruebas | src/main/java/com/eduardosco/base/controller/HomeController.java | Java | apache-2.0 | 1,560 |
/*
* 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-kinesis/src/main/java/com/amazonaws/services/kinesis/model/transform/PutRecordsRequestProtocolMarshaller.java | Java | apache-2.0 | 2,626 |
/*
* 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 org.pieShare.pieShareApp.task.localTasks.fileEventTask;
import java.io.IOException;
import org.pieShare.pieShareApp.model.PieS... | vauvenal5/pieShare | pieShareApp/src/main/java/org/pieShare/pieShareApp/task/localTasks/fileEventTask/LocalFileChangedTask.java | Java | apache-2.0 | 1,228 |
package simple
import (
"fmt"
"code.google.com/p/go-uuid/uuid"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/golang/glog"
routeapi "github.com/projectatomic/atomic-enterprise/pkg/route/api"
)
// Default DNS suffix to use if no configuration is passed to this plugin.
// Would be better if we ... | pombredanne/atomic-enterprise | plugins/route/allocation/simple/plugin.go | GO | apache-2.0 | 2,156 |
package org.apache.sling.validation.impl;
import java.util.Set;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.validation.api.ChildResource;
import org.apache.sling.validation.api.ResourceProperty;
import org.apache.sling.validation.api.ValidatorLookupService;
import org.apache.sling.validatio... | DevDh/org.apache.sling.validation | core/src/main/java/org/apache/sling/validation/impl/ChildResourceImpl.java | Java | apache-2.0 | 1,301 |
/*
* Copyright 2014 Jay Soyer
*
* 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 ... | JaySoyer/Advanced-Adapters | app/src/main/java/com/sawyer/advadapters/app/adapters/android/simpleexpandablelistadapter/AndroidExpandableActivity.java | Java | apache-2.0 | 3,392 |
package apple.foundation;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;... | Sellegit/j2objc | runtime/src/main/java/apple/foundation/NSFileHandle.java | Java | apache-2.0 | 5,572 |
package trustmanager
import (
"database/sql"
"fmt"
"sync"
"github.com/docker/notary/pkg/passphrase"
jose "github.com/dvsekhvalnov/jose2go"
"github.com/endophage/gotuf/data"
"github.com/jinzhu/gorm"
)
// Constants
const (
EncryptionAlg = jose.A256GCM
KeywrapAlg = jose.PBES2_HS256_A128KW
)
// KeyDBStore p... | grunya404/notary | trustmanager/keydbstore.go | GO | apache-2.0 | 5,552 |
// 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... | googleads/googleads-java-lib | examples/admanager_axis/src/main/java/admanager/axis/v202111/lineitemservice/CreateLineItems.java | Java | apache-2.0 | 13,339 |
package com.dosport.service.attachment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.dosport.dao.attachment.AttachmentDao;
import com.dosport.domain.attachment.Attachment;
impor... | pveyron/dosport | dosport-server/src/main/java/com/dosport/service/attachment/AttachmentServiceImpl.java | Java | apache-2.0 | 1,356 |
/*
* Copyright (C) 2017-2019 Dremio 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 l... | dremio/dremio-oss | sabot/kernel/src/test/java/com/dremio/exec/store/deltalake/TestDeltaSnapshotListProcessor.java | Java | apache-2.0 | 3,684 |
import FreeCAD,Part,math
class WoodenBase:
def __init__(self,obj, front=3000, rear=1000, rearOffset=1000, depth=3000, framingTimberX=50, framingTimberY=75, supportTimberX=100, supportTimberY=100):
obj.addProperty("App::PropertyFloat","front","WoodenBase","Front Width.").front = front
obj.addProperty("App::Prope... | ianibo/ParametricWoodenFrameBase | woodenBase.py | Python | apache-2.0 | 2,951 |
/*
* 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... | shybovycha/buck | test/com/facebook/buck/android/RobolectricTestDescriptionTest.java | Java | apache-2.0 | 5,125 |
package cz.metacentrum.perun.wui.registrar.pages;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibi... | ondrejvelisek/perun-wui | perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/pages/AppsView.java | Java | apache-2.0 | 2,415 |
/*
* Copyright 2014-2022 TNG Technology Consulting 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 appl... | TNG/ArchUnit | archunit/src/main/java/com/tngtech/archunit/core/importer/ImportedClasses.java | Java | apache-2.0 | 4,847 |
/*
* Copyright 2015 Philip Gasteiger
*
* 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... | gaste/dwasp-gui | src/main/java/at/aau/dwaspgui/viewmodel/NewProjectViewModel.java | Java | apache-2.0 | 3,297 |
package aufgabe8.flo;
public class GrindingMachine extends AbstractMachine implements InventoryListener, Runnable, LoggingInterface, SupplierListener, ConsumerListener{
private Thread machineThread=null;
private boolean debugmode = false;
private SupplierNotifier supplier;
private ConsumerNotifier consumer;
priva... | patrickfav/tuwien | bakk/OOP WS08/src/aufgabe8/flo/GrindingMachine.java | Java | apache-2.0 | 3,904 |
/*
* 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 ... | iemejia/incubator-beam | sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerAccessor.java | Java | apache-2.0 | 5,979 |
package com.delmar.sys.schedule;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.d... | ldlqdsdcn/wms | system/src/main/java/com/delmar/sys/schedule/DelmarTaskAgent.java | Java | apache-2.0 | 1,590 |
/*
* 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-outposts/src/main/java/com/amazonaws/services/outposts/model/transform/DeleteSiteRequestProtocolMarshaller.java | Java | apache-2.0 | 2,580 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | keycloak/keycloak-quickstarts | action-token-authenticator/src/main/java/org/keycloak/quickstart/actiontoken/token/ExternalApplicationNotificationActionTokenHandler.java | Java | apache-2.0 | 5,059 |
package org.drools.guvnor.client.table;
/*
* Copyright 2005 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | bobmcwhirter/drools | drools-guvnor/src/main/java/org/drools/guvnor/client/table/RowData.java | Java | apache-2.0 | 1,954 |
/*
* Copyright 2011 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | vobruba-martin/closure-compiler | src/com/google/javascript/jscomp/parsing/parser/trees/ParseTreeType.java | Java | apache-2.0 | 2,676 |
/*
* Copyright 2016-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... | sdwilsh/buck | src/com/facebook/buck/rules/keys/ContentAgnosticRuleKeyFactory.java | Java | apache-2.0 | 3,689 |
/*
* Copyright 2015 Kevin Herron
*
* 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... | digitalpetri/opc-ua-stack | stack-core/src/main/java/com/digitalpetri/opcua/stack/core/types/structured/EventFilter.java | Java | apache-2.0 | 3,139 |
package com.shinemo.openapi.client.api;
import com.shinemo.openapi.client.common.OpenApiResult;
import com.shinemo.openapi.client.dto.maillist.DeptInfoDTO;
import com.shinemo.openapi.client.dto.maillist.UserInfoDTO;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
import java.util.Map;
/**
* C... | jituancaiyun/openapi-java-sdk | src/main/java/com/shinemo/openapi/client/api/DepartmentApi.java | Java | apache-2.0 | 1,488 |
package android.bluetooth;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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://ww... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/android/bluetooth/BluetoothDevice.java | Java | apache-2.0 | 8,430 |
/*
* Copyright 2006-2011 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... | ahmadOwais/spring-security-oauth | tests/annotation/common/src/main/java/sparklr/common/AbstractAuthorizationCodeProviderTests.java | Java | apache-2.0 | 9,590 |
/*
* 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-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/transform/CreateAlertRequestProtocolMarshaller.java | Java | apache-2.0 | 2,608 |
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | abergmeier-dsfishlabs/bazel | src/tools/android/java/com/google/devtools/build/android/DataValueFileWithIds.java | Java | apache-2.0 | 3,551 |
// 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... | MissionCriticalCloud/cosmic-plugin-hypervisor-ovm3 | src/test/java/com/cloud/hypervisor/ovm3/resources/Ovm3StorageProcessorTest.java | Java | apache-2.0 | 13,489 |
# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | jhseu/tensorflow | tensorflow/python/distribute/strategy_combinations.py | Python | apache-2.0 | 12,346 |
/**
* Jooby https://jooby.io
* Apache License Version 2.0 https://jooby.io/LICENSE.txt
* Copyright 2014 Edgar Espina
*/
package io.jooby.pebble;
import com.mitchellbosecke.pebble.PebbleEngine;
import com.mitchellbosecke.pebble.template.PebbleTemplate;
import io.jooby.Context;
import io.jooby.ModelAndView;
import i... | jooby-project/jooby | modules/jooby-pebble/src/main/java/io/jooby/pebble/PebbleTemplateEngine.java | Java | apache-2.0 | 1,472 |
/*
* Copyright 2016-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 | src/com/facebook/buck/cxx/toolchain/CxxToolProvider.java | Java | apache-2.0 | 4,065 |
package com.massfords.jaxb;
import com.sun.codemodel.JClass;
import com.sun.codemodel.JDefinedClass;
import com.sun.codemodel.JMethod;
import com.sun.codemodel.JMod;
import com.sun.codemodel.JPackage;
import com.sun.codemodel.JTypeVar;
import com.sun.tools.xjc.outline.ClassOutline;
import com.sun.tools.xjc.outline.Out... | massfords/jaxb-visitor | src/main/java/com/massfords/jaxb/CreateVisitableInterface.java | Java | apache-2.0 | 1,501 |
/* 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... | escardin/camunda-spin | dataformat-json-jackson/src/test/java/org/camunda/spin/json/tree/JsonTreeMapJsonToJavaTest.java | Java | apache-2.0 | 2,896 |
package com.cube.storm.ui.model.page;
import android.os.Parcel;
import com.cube.storm.ui.model.list.ListItem;
import com.cube.storm.ui.model.property.VideoProperty;
import java.util.Collection;
import java.util.Iterator;
import java.util.Locale;
import androidx.annotation.Nullable;
import lombok.AllArgsConstructor... | 3sidedcube/Android-LightningUi | library/src/main/java/com/cube/storm/ui/model/page/ListPage.java | Java | apache-2.0 | 2,346 |
package org.arquillian.cube.containerobject;
import org.arquillian.cube.docker.impl.requirement.RequiresDockerMachine;
import org.arquillian.cube.requirement.ArquillianConditionalRunner;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.junit.runner.RunWith;
import java.... | lordofthejars/arquillian-cube | docker/ftest-docker-containerobject/src/test/java/org/arquillian/cube/containerobject/FtpClientTest.java | Java | apache-2.0 | 1,433 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.