code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | jeffgdotorg/opennms | core/snmp/impl-mock/src/main/java/org/opennms/netmgt/snmp/mock/MockSnmpStrategy.java | Java | gpl-2.0 | 10,693 |
package java_programs_test;
public class QuicksortTest {
@org.junit.Test(timeout = 2000)
public void test_0() throws java.lang.Exception {
java.util.ArrayList result = java_programs.QUICKSORT.quicksort(new java.util.ArrayList(java.util.Arrays.asList(1,2,6,72,7,33,4)));
String resultFormatted =... | SpoonLabs/astor | examples/quixbugscompiled/quicksort/src/java_programs_test/QuicksortTest.java | Java | gpl-2.0 | 5,668 |
package org.telegram.ui.Components;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.text.style.ReplacementSpan;
import androidx.annotation.NonNull;
import android... | tkpb/Telegram | TMessagesProj/src/main/java/org/telegram/ui/Components/ColoredImageSpan.java | Java | gpl-2.0 | 1,502 |
package com.bigdata.rdf.graph.impl.ram;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.log4j.Logger;
import com.bigdata.rdf.graph.IGASEngine;
import com.bigdata.rdf.graph.IGraphAccessor;
import com.bigdata.rdf.graph.impl.ram.RAMGASEngine.RAMGraph;
import com.bigdata.rdf.graph.impl.ram.RAMGASEngi... | rac021/blazegraph_1_5_3_cluster_2_nodes | bigdata-gas/src/main/java/com/bigdata/rdf/graph/impl/ram/RAMGASRunner.java | Java | gpl-2.0 | 3,365 |
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | rschatz/graal-core | graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugMetric.java | Java | gpl-2.0 | 2,208 |
/**
*
*/
package org.dllearner.algorithms.isle.index;
import org.semanticweb.owlapi.model.OWLEntity;
/**
* @author Lorenz Buehmann
*
*/
public class SemanticAnnotation extends Annotation{
private OWLEntity entity;
public SemanticAnnotation(Annotation annotation, OWLEntity entity) {
super(annotation.getR... | AKSW/DL-Learner | components-ext/src/main/java/org/dllearner/algorithms/isle/index/SemanticAnnotation.java | Java | gpl-3.0 | 1,197 |
/*
* This file is part of EchoPet.
*
* EchoPet 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.
*
* EchoPet is distributed in th... | UnlimitedFreedom/UF-EchoPet | modules/v1_6_R3/src/main/java/com/dsh105/echopet/compat/nms/v1_6_R3/entity/EntityPet.java | Java | gpl-3.0 | 17,910 |
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | SKCraft/Applied-Energistics-2 | src/main/java/appeng/block/misc/BlockTinyTNT.java | Java | gpl-3.0 | 5,795 |
/*
* HalfNES by Andrew Hoffman
* Licensed under the GNU GPL Version 3. See LICENSE file
*/
package com.grapeshot.halfnes.mappers;
import com.grapeshot.halfnes.*;
/**
*
* @author Andrew
*/
public class TengenRamboMapper extends Mapper {
private int whichbank = 0;
private boolean prgconfig = false, chrco... | andrew-hoffman/halfnes | src/main/java/com/grapeshot/halfnes/mappers/TengenRamboMapper.java | Java | gpl-3.0 | 9,024 |
/*
* Copyright (c) 2002-2008 LWJGL Project
* 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, this... | kevinwang/minecarft | lwjgl-source-2.8.2/src/java/org/lwjgl/util/ReadableColor.java | Java | gpl-3.0 | 4,020 |
/**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2014 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public Licen... | nvoron23/opensearchserver | src/main/java/com/jaeksoft/searchlib/renderer/RendererException.java | Java | gpl-3.0 | 1,350 |
/**
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
* <p/>
* 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 ... | chiwanpark/flamingo2 | flamingo2-web/src/main/java/org/opencloudengine/flamingo2/engine/hawq/externaltable/Custom.java | Java | gpl-3.0 | 1,730 |
/**
* 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... | ThirdProject/android_external_whispersystems_TextSecure | src/org/thoughtcrime/securesms/notifications/MessageNotifier.java | Java | gpl-3.0 | 15,217 |
/*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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... | raisercostin/mucommander-2 | src/main/com/mucommander/core/LocalLocationHistory.java | Java | gpl-3.0 | 6,600 |
package com.rapidminer.deployment.client.wsimport;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getTopDownloads complex type.
*
* <p>The following schema fragment specifies the expected content... | aborg0/RapidMiner-Unuk | src_generated/com/rapidminer/deployment/client/wsimport/GetTopDownloads.java | Java | agpl-3.0 | 753 |
/*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | ShatalovYaroslav/scheduling-portal | scheduler-portal/src/main/java/org/ow2/proactive_grid_cloud_portal/scheduler/server/jaxb/MapRecord.java | Java | agpl-3.0 | 4,483 |
/*
* NativeAminoAcidLikelihoodCore.java
*
* Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can red... | 4ment/beast-mcmc | src/dr/oldevomodel/treelikelihood/NativeAminoAcidLikelihoodCore.java | Java | lgpl-2.1 | 5,461 |
/*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | liujed/polyglot-eclipse | src/polyglot/visit/InnerTranslator.java | Java | lgpl-2.1 | 52,498 |
/*
* Copyright (c) 2003-2005 The BISON Project
*
* 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 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* bu... | rbraeunlich/ReliableADGSASimulation | target/classes/lib/peersim-1.0.5/src/peersim/core/IdleProtocol.java | Java | lgpl-2.1 | 4,282 |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2003 Ondrej Lhotak
*
* This 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 2.1 of the License, or (at your option)... | cfallin/soot | src/soot/jimple/spark/pag/MethodPAG.java | Java | lgpl-2.1 | 11,382 |
/*
* 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 ... | druid-io/druid | processing/src/main/java/org/apache/druid/segment/filter/Filters.java | Java | apache-2.0 | 22,573 |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | bclozel/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/LaunchScriptConfiguration.java | Java | apache-2.0 | 3,223 |
public class SchemaBuilder_1 {
public static class Schema {}
public static TypeBuilder<Schema> builder() {
throw new UnsupportedOperationException();
}
public static class NamespacedBuilder<R, S extends NamespacedBuilder<R, S>> {}
public static class FixedBuilder<R> extends NamespacedBuilder<R, FixedBu... | dotty-staging/dotty | tests/pos/i10567/SchemaBuilder_1.java | Java | apache-2.0 | 482 |
/*
* 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 ... | intel-hadoop/incubator-sentry | sentry-tests/sentry-tests-solr/src/test/java/org/apache/sentry/tests/e2e/solr/db/integration/TestSolrUpdateOperations.java | Java | apache-2.0 | 4,358 |
/*
* 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 n... | tabish121/activemq-artemis | artemis-server/src/test/java/org/apache/activemq/artemis/spi/core/security/jaas/LDAPLoginModuleTest.java | Java | apache-2.0 | 19,624 |
/*
* Copyright 2012 The Netty Project
*
* The Netty 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 copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | zer0se7en/netty | common/src/main/java/io/netty/util/concurrent/MultithreadEventExecutorGroup.java | Java | apache-2.0 | 8,173 |
package org.wikidata.wdtk.datamodel.implementation;
/*
* #%L
* Wikidata Toolkit Data Model
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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 t... | zazi/Wikidata-Toolkit | wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/implementation/DataObjectFactoryImpl.java | Java | apache-2.0 | 6,558 |
package org.apache.archiva.policies;
/*
* 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... | emsouza/archiva | archiva-modules/archiva-base/archiva-policies/src/main/java/org/apache/archiva/policies/PropagateErrorsOnUpdateDownloadPolicy.java | Java | apache-2.0 | 3,263 |
/*
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... | Squeegee/batik | sources/org/apache/batik/svggen/font/table/CmapFormat0.java | Java | apache-2.0 | 1,855 |
/*
* 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/core/src/main/java/org/infinispan/factories/annotations/DefaultFactoryFor.java | Java | apache-2.0 | 1,896 |
package org.zstack.header.identity;
import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;
import java.sql.Timestamp;
@RestResponse(allTo = "inventory")
public class APIRenewSessionEvent extends APIEvent {
private SessionInventory inventory;
public APIRenewSessionEvent(String... | zstackorg/zstack | header/src/main/java/org/zstack/header/identity/APIRenewSessionEvent.java | Java | apache-2.0 | 1,022 |
package io.dropwizard.client.ssl;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.util.Strings;
import io.dropwizard.validation.ValidationMethod;
import javax.annotation.Nullable;
import javax.validation.constraints.NotEmpty;
import java.io.File;
import java.util.List;
public class TlsConf... | Alexey1Gavrilov/dropwizard | dropwizard-client/src/main/java/io/dropwizard/client/ssl/TlsConfiguration.java | Java | apache-2.0 | 5,442 |
/*
* Copyright 2018 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.apach... | brat000012001/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/authz/UmaDiscoveryDocumentTest.java | Java | apache-2.0 | 3,625 |
package usbong.android.builder.controllers;
import com.activeandroid.query.Select;
import rx.Observable;
import rx.Observer;
import rx.Subscriber;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import usbong.android.builder.models.Screen;
import java.util.List;
/**
* Created by Roc... | cereblanco/usbong-builder | src/main/java/usbong/android/builder/controllers/SelectScreenController.java | Java | apache-2.0 | 1,056 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | falko/camunda-bpm-platform | engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/optimize/OptimizeCompletedTaskInstanceRestServiceTest.java | Java | apache-2.0 | 5,040 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | falko/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/container/impl/deployment/ParseProcessesXmlStep.java | Java | apache-2.0 | 5,414 |
package com.thin.downloadmanager;
import android.os.Process;
import android.util.Log;
import org.apache.http.conn.ConnectTimeoutException;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import j... | hoangsondev/ThinDownloadManager | ThinDownloadManager/src/main/java/com/thin/downloadmanager/DownloadDispatcher.java | Java | apache-2.0 | 14,099 |
/*
* 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 | lib/trino-orc/src/test/java/io/trino/orc/TestOrcReader.java | Java | apache-2.0 | 1,100 |
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.internal.statistic.config;
import com.intellij.internal.statistic.config.bean.EventLogSendConfiguration;
import com.intellij.internal.statistic.config.eventLog.EventLogBuildType... | smmribeiro/intellij-community | platform/statistics/config/src/com/intellij/internal/statistic/config/EventLogExternalSendSettings.java | Java | apache-2.0 | 1,421 |
/**
*
* 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 ... | wildfly/activemq-artemis | tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v6/ProducerInfoTest.java | Java | apache-2.0 | 2,157 |
/**
* 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... | julianpeeters/avro | lang/java/mapred/src/test/java/org/apache/avro/mapred/tether/TetherTask.java | Java | apache-2.0 | 6,884 |
package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class UpdateBaremetalChassisAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParameterM... | AlanJager/zstack | sdk/src/main/java/org/zstack/sdk/UpdateBaremetalChassisAction.java | Java | apache-2.0 | 3,750 |
/*
*
* 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"); y... | dhanuka84/andes | modules/andes-core/broker/src/main/java/org/wso2/andes/qmf/QMFCommandDecoder.java | Java | apache-2.0 | 2,905 |
// 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 ... | vt09/bazel | src/test/java/com/google/devtools/build/lib/testutil/TestRuleClassProvider.java | Java | apache-2.0 | 3,348 |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | tufangorel/hazelcast | hazelcast/src/test/java/com/hazelcast/test/mocknetwork/StaticAddressPicker.java | Java | apache-2.0 | 1,257 |
/*
* 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 | java/debugger/impl/src/com/intellij/debugger/actions/HotSwapAction.java | Java | apache-2.0 | 2,280 |
package org.batfish.grammar.cumulus_nclu;
import java.util.Set;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ParseTreeWalker;
import org.batfish.common.NetworkSnapshot;
import org.batfish.common.Warnings;
import org.batfish.grammar.BatfishParseTreeWalker;
import org.batfish.grammar.C... | arifogel/batfish | projects/batfish/src/main/java/org/batfish/grammar/cumulus_nclu/CumulusNcluControlPlaneExtractor.java | Java | apache-2.0 | 1,941 |
/*
* 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 | qa/test-db-instance-migration/test-fixture-73/src/main/java/org/camunda/bpm/qa/upgrade/scenarios/compensation/InterruptingEventSubProcessCompensationScenario.java | Java | apache-2.0 | 2,223 |
package org.gwtbootstrap3.extras.select.client.ui.event;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2016 GwtBootstrap3
* %%
* 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
*... | gwtbootstrap3/gwtbootstrap3-extras | src/main/java/org/gwtbootstrap3/extras/select/client/ui/event/LoadedEvent.java | Java | apache-2.0 | 1,924 |
/*
* 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 ... | godfreyhe/flink | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/connector/sink2/GlobalCommitterOperator.java | Java | apache-2.0 | 7,334 |
package org.quickbundle.project.login;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.servlet.http.HttpSession;
import org.apache.cxf.jax... | quickbundle/qb-archetype | quickbundle-rmwebdemo/src/main/java/org/quickbundle/project/login/RmSessionService.java | Java | apache-2.0 | 8,874 |
/**
* 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... | cschenyuan/hive-hack | ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunction.java | Java | apache-2.0 | 50,348 |
/*
* 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 ... | pperalta/ignite | modules/core/src/main/java/org/apache/ignite/internal/pagemem/wal/record/delta/DataPageInsertFragmentRecord.java | Java | apache-2.0 | 2,521 |
package com.griddynamics.jagger.engine.e1.services;
/**
* Created with IntelliJ IDEA.
* User: kgribov
* Date: 12/10/13
* Time: 4:17 PM
* To change this template use File | Settings | File Templates.
*/
public enum JaggerPlace {
INVOCATION_LISTENER("InvocationListener"),
TEST_LISTENER("TestListener"),
... | Nmishin/jagger | chassis/core/src/main/java/com/griddynamics/jagger/engine/e1/services/JaggerPlace.java | Java | apache-2.0 | 653 |
/*
* Copyright (C) 2015 Willi Ye
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | SlimSaber/KernelAdiutor | app/src/main/java/com/grarak/kerneladiutor/fragments/tools/RecoveryFragment.java | Java | apache-2.0 | 8,338 |
/* GENERATED SOURCE. DO NOT MODIFY. */
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html#License
/*
*******************************************************************************
* Copyright (C) 2001-2013, International Business Machines
* Corporation a... | life-beam/j2objc | jre_emul/android/platform/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/BidiFmwk.java | Java | apache-2.0 | 18,048 |
package cgeo.geocaching.log;
import static org.assertj.core.api.Java6Assertions.assertThat;
import junit.framework.TestCase;
public class LogTypeTest extends TestCase {
public static void testGetById() {
assertThat(LogType.getById(0)).isEqualTo(LogType.UNKNOWN);
assertThat(LogType.getById(4711))... | Bananeweizen/cgeo | tests/src-android/cgeo/geocaching/log/LogTypeTest.java | Java | apache-2.0 | 1,031 |
/*
* 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
* "Licen... | ankitsinghal/phoenix | phoenix-pherf/src/test/java/org/apache/phoenix/pherf/ResultTest.java | Java | apache-2.0 | 9,199 |
/*
* 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 ... | aureagle/cassandra | test/unit/org/apache/cassandra/cql3/PstmtPersistenceTest.java | Java | apache-2.0 | 8,105 |
package com.fsck.k9.mail.store.pop3;
import com.fsck.k9.mail.AuthType;
import com.fsck.k9.mail.ConnectionSecurity;
interface Pop3Settings {
String getHost();
int getPort();
ConnectionSecurity getConnectionSecurity();
AuthType getAuthType();
String getUsername();
String getPassword();
... | philipwhiuk/q-mail | qmail-library/src/main/java/com/fsck/k9/mail/store/pop3/Pop3Settings.java | Java | apache-2.0 | 361 |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.yoga;
public enum YogaJustify {
FLEX_START(0),
CENTER(1),
FLEX_END(2),
SPACE_BETWEEN(3),
SPACE_AR... | facebook/litho | lib/yoga/src/main/java/com/facebook/yoga/YogaJustify.java | Java | apache-2.0 | 867 |
/*
* 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 ... | rmetzger/flink | flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutorMemoryConfiguration.java | Java | apache-2.0 | 10,479 |
package pack;
public class SubSubType1 extends SubType1 {
}
| TommesDee/cpachecker | test/programs/java/Statements/pack/SubSubType1.java | Java | apache-2.0 | 62 |
/*
* 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-bpmn-model | src/test/java/org/camunda/bpm/model/bpmn/instance/DataObjectTest.java | Java | apache-2.0 | 1,513 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | jhrcek/kie-wb-common | kie-wb-common-forms/kie-wb-common-dynamic-forms/kie-wb-common-dynamic-forms-client/src/main/java/org/kie/workbench/common/forms/dynamic/client/rendering/formGroups/impl/slider/SliderFormGroupViewImpl.java | Java | apache-2.0 | 2,646 |
package org.drip.analytics.holset;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*
* GENERATED on Fri Jan 11 19:54:06 EST 2013 ---- DO NOT DELETE
*/
/*!
* Copyright (C) 2013 Lakshmi Krishnamurthy
* Copyright (C) 2012 Lakshmi Krishnamurthy
* Copyright (C) 2011 Lakshmi ... | tectronics/splinelibrary | 2.3/src/org/drip/analytics/holset/ARSHoliday.java | Java | apache-2.0 | 37,853 |
/**
*
* Core interfaces for Spring's scripting support.
*
*/
package org.springframework.scripting;
| sunpy1106/SpringBeanLifeCycle | src/main/java/org/springframework/scripting/package-info.java | Java | apache-2.0 | 106 |
/*
* 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 ... | sijie/bookkeeper | bookkeeper-server/src/main/java/org/apache/bookkeeper/zookeeper/package-info.java | Java | apache-2.0 | 921 |
/*
* Licensed to ElasticSearch and Shay Banon 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... | andrewvc/elasticsearch | src/main/java/org/elasticsearch/index/aliases/IndexAliasesService.java | Java | apache-2.0 | 5,977 |
// Copyright 2018 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... | meteorcloudy/bazel | src/main/java/com/google/devtools/build/lib/buildtool/CqueryBuildTool.java | Java | apache-2.0 | 2,766 |
/*******************************************************************************
* 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 f... | apache/olingo-odata2 | odata2-lib/odata-core/src/test/java/org/apache/olingo/odata2/core/edm/provider/EdmNamedImplProvTest.java | Java | apache-2.0 | 4,308 |
/*
* 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 ... | shroman/ignite | modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZookeeperClient.java | Java | apache-2.0 | 38,713 |
/*
* Copyright (c) 2008-2017, 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 ... | tombujok/hazelcast | hazelcast/src/test/java/com/hazelcast/internal/partition/impl/PartitionReplicaStateCheckerTest.java | Java | apache-2.0 | 12,515 |
// 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 ... | xindaya/bazel | src/main/java/com/google/devtools/build/lib/packages/NonconfigurableAttributeMapper.java | Java | apache-2.0 | 1,959 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | mhurne/aws-sdk-java | aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/RemoveTagsRequest.java | Java | apache-2.0 | 7,929 |
/*******************************************************************************
* 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... | yuri0x7c1/ofbiz-explorer | src/test/resources/apache-ofbiz-16.11.03/applications/order/src/main/java/org/apache/ofbiz/order/test/PurchaseOrderTest.java | Java | apache-2.0 | 4,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 distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-dlp/v2/1.29.2/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2CryptoKey.java | Java | apache-2.0 | 3,421 |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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... | Shashikanth-Huawei/bmp | web/gui/src/main/java/org/onosproject/ui/impl/topo/cli/ListDevices.java | Java | apache-2.0 | 1,208 |
/*
* Copyright 2018 NAVER 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 agreed to in w... | naver/pinpoint | plugins-it/cassandra-it/src/test/java/com/navercorp/pinpoint/plugin/cassandra/CassandraDatastax_3_0_x_IT.java | Java | apache-2.0 | 1,743 |
/*
* 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... | coding0011/elasticsearch | server/src/test/java/org/elasticsearch/search/aggregations/InternalMultiBucketAggregationTests.java | Java | apache-2.0 | 10,038 |
/**
* 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
* distribu... | shahankhatch/aurora | src/test/java/org/apache/aurora/scheduler/thrift/aop/FeatureToggleInterceptorTest.java | Java | apache-2.0 | 2,870 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | puppetlabs/aws-sdk-for-java | src/main/java/com/amazonaws/services/ec2/model/LaunchPermissionModifications.java | Java | apache-2.0 | 6,993 |
package org.simpleframework.xml.core;
import junit.framework.TestCase;
import java.io.StringWriter;
import java.util.Arrays;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.ElementListUnion;
import org.simpleframework.xml.ElementUnion;
impor... | unisx/simplexml | test/src/org/simpleframework/xml/core/Test5Test.java | Java | apache-2.0 | 3,015 |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | routexl/graphhopper | core/src/main/java/com/graphhopper/util/DistancePlaneProjection.java | Java | apache-2.0 | 2,908 |
/**
* 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... | cguzel/gora | gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java | Java | apache-2.0 | 18,590 |
package com.github.pires.example;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authz.UnauthenticatedException;
import org.apache.shiro.authz.UnauthorizedException;
impor... | sn0wolf/spring-boot-shiro-orientdb | src/main/java/com/github/pires/example/ApplicationExceptionHandler.java | Java | apache-2.0 | 951 |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | djechelon/spring-security | config/src/test/java/org/springframework/security/htmlunit/server/MockWebResponseBuilder.java | Java | apache-2.0 | 2,639 |
/*
* Copyright 2016 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.apach... | mposolda/keycloak | testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/KeycloakArquillianExtension.java | Java | apache-2.0 | 4,834 |
/*
* 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 ... | britter/commons-lang | src/test/java/org/apache/commons/lang3/ArrayUtilsInsertTest.java | Java | apache-2.0 | 13,102 |
package org.apache.lucene.expressions.js;
/*
* 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... | zhangdian/solr4.6.0 | lucene/expressions/src/test/org/apache/lucene/expressions/js/TestJavascriptFunction.java | Java | apache-2.0 | 10,853 |
/*
* Copyright 2012 gitblit.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 applicable law or ... | heavenlyhash/gitblit | src/main/java/com/gitblit/models/SubmoduleModel.java | Java | apache-2.0 | 1,266 |
/*
* Copyright (c) 2008-2017, 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 ... | juanavelez/hazelcast | hazelcast/src/test/java/com/hazelcast/map/QueryListenerTest.java | Java | apache-2.0 | 6,032 |
/*
* Copyright 2000-2016 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... | paplorinc/intellij-community | java/java-impl/src/com/intellij/refactoring/replaceConstructorWithBuilder/ReplaceConstructorWithBuilderViewDescriptor.java | Java | apache-2.0 | 1,084 |
/*******************************************************************************
* Copyright 2012 University of Southern California
*
* 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
*
... | rpiotti/Web-Karma | karma-common/src/main/java/edu/isi/karma/rep/sources/InvocationManager.java | Java | apache-2.0 | 11,985 |
/**
* Copyright 2010 Wallace Wadge
*
* 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 ... | squidsolutions/bonecp | bonecp/src/test/java/com/jolbox/bonecp/TestCloseThreadMonitor.java | Java | apache-2.0 | 3,341 |
/*
* 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 ... | monetate/druid | indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/distribution/ArrayOfStringsNullSafeSerde.java | Java | apache-2.0 | 3,797 |
package com.github.sandor_balazs.nosql_java.web.rest.dto;
public class KeyAndPasswordDTO {
private String key;
private String newPassword;
public KeyAndPasswordDTO() {
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
pu... | sandor-balazs/nosql-java | oracle/src/main/java/com/github/sandor_balazs/nosql_java/web/rest/dto/KeyAndPasswordDTO.java | Java | bsd-2-clause | 487 |
/*
* Copyright (c) 2016 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.ecli... | g-votte/eclipse-collections | eclipse-collections/src/main/java/org/eclipse/collections/impl/block/procedure/MaxComparatorProcedure.java | Java | bsd-3-clause | 1,290 |
package org.webbitserver.stub;
import org.webbitserver.EventSourceConnection;
import org.webbitserver.HttpRequest;
import org.webbitserver.WebSocketConnection;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.Executor;
/**
* Implementation of {@link EventSourceConnection} and {@link W... | webbit/webbit | src/main/java/org/webbitserver/stub/StubConnection.java | Java | bsd-3-clause | 3,190 |
package org.motechproject.tasks.service.util;
import org.joda.time.DateTime;
import org.junit.Test;
import org.motechproject.commons.api.MotechException;
import org.motechproject.commons.date.util.DateUtil;
import org.motechproject.tasks.service.util.KeyEvaluator;
import static junit.framework.Assert.assertEquals;
p... | sebbrudzinski/motech | modules/tasks/tasks/src/test/java/org/motechproject/tasks/service/util/KeyEvaluatorTest.java | Java | bsd-3-clause | 2,767 |