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 |
|---|---|---|---|---|---|
/*
* #%L
* Wildfly Camel :: Example :: Camel REST
* %%
* Copyright (C) 2013 - 2014 RedHat
* %%
* 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/... | grgrzybek/wildfly-camel | itests/standalone/src/test/java/org/wildfly/camel/test/core/subA/RecipientListBean.java | Java | apache-2.0 | 901 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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
*
* http://www.apache.or... | lgobinath/carbon-analytics-common | components/event-monitor/event-statistics/org.wso2.carbon.event.statistics/src/main/java/org/wso2/carbon/event/statistics/EventStatisticsService.java | Java | apache-2.0 | 7,801 |
/*
* 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... | waysact/activemq-artemis | artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/PageCache.java | Java | apache-2.0 | 1,694 |
package com.vaadin.tests.components.combobox;
import java.util.Arrays;
import com.vaadin.annotations.Widgetset;
import com.vaadin.icons.VaadinIcons;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.ComboBox;
@Widgetset("com.vaadin.DefaultWidgetSet")
publ... | Darsstar/framework | uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxVaadinIcons.java | Java | apache-2.0 | 811 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | ern/elasticsearch | server/src/main/java/org/elasticsearch/index/engine/SoftDeletesPolicy.java | Java | apache-2.0 | 7,355 |
/**
* Copyright 2012 Impetus Infotech.
*
* 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... | ravisund/Kundera | src/kundera-cassandra/cassandra-core/src/test/java/com/impetus/client/twitter/entities/ProfessionalDetailCassandra.java | Java | apache-2.0 | 11,577 |
/*
* Copyright 2000-2017 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... | leafclick/intellij-community | java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/inliner/LambdaInliner.java | Java | apache-2.0 | 2,358 |
/*
* 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... | paplorinc/intellij-community | platform/util/src/com/intellij/util/ui/GeometryUtil.java | Java | apache-2.0 | 10,570 |
package org.basex.query.func.prof;
import org.basex.query.*;
import org.basex.query.func.*;
import org.basex.query.value.item.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-16, BSD License
* @author Christian Gruen
*/
public final class ProfCurrentNs extends StandardFunc {... | drmacro/basex | basex-core/src/main/java/org/basex/query/func/prof/ProfCurrentNs.java | Java | bsd-3-clause | 442 |
package org.webbitserver.helpers;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.StringTokenizer;
public class QueryParamete... | lostdj/webbit | src/main/java/org/webbitserver/helpers/QueryParameters.java | Java | bsd-3-clause | 1,858 |
/*
* Copyright (c) 2010-2013, MoPub Inc.
* 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 list of con... | magirtopcu/mopub-android-sdk | mopub-sdk/src/main/java/com/mopub/mobileads/FacebookKeywordProvider.java | Java | bsd-3-clause | 3,315 |
/*
* Copyright 2014, Google Inc. 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 list of conditions a... | wrwg/grpc-java | core/src/main/java/io/grpc/internal/AbstractServerStream.java | Java | bsd-3-clause | 9,371 |
package org.robolectric.res.android;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
// roughly transliterated from system/core/libutils/include/utils/SortedVector.h and
// system/core/libutils/VectorImpl.cpp
public class SortedVector<T extends Comparable<... | spotify/robolectric | resources/src/main/java/org/robolectric/res/android/SortedVector.java | Java | mit | 1,044 |
package mars.mips.instructions.syscalls;
import mars.util.*;
import mars.mips.hardware.*;
import mars.*;
/*
Copyright (c) 2003-2010, Pete Sanderson and Kenneth Vollmar
Developed by Pete Sanderson (psanderson@otterbein.edu)
and Kenneth Vollmar (kenvollmar@missouristate.edu)
Permission is hereb... | adolphenom/MARS_Assembler | mars/mips/instructions/syscalls/SyscallPrintIntUnsigned.java | Java | mit | 2,199 |
package org.spongycastle.asn1.pkcs;
import org.spongycastle.asn1.ASN1ObjectIdentifier;
/**
* pkcs-1 OBJECT IDENTIFIER ::=<p>
* { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 }
*
*/
public interface PKCSObjectIdentifiers
{
/** PKCS#1: 1.2.840.113549.1.1 */
static final ASN1ObjectIdentifier p... | iseki-masaya/spongycastle | core/src/main/java/org/spongycastle/asn1/pkcs/PKCSObjectIdentifiers.java | Java | mit | 21,960 |
package org.kohsuke.stapler.beanutils;
import org.apache.commons.jelly.JellyException;
import org.apache.commons.jelly.Tag;
import org.apache.commons.jelly.TagLibrary;
import org.apache.commons.jelly.impl.TagScript;
import org.xml.sax.Attributes;
public class BeanUtilsTagLibrary extends TagLibrary {
public BeanUt... | v1v/jenkins | test/src/test/java/org/kohsuke/stapler/beanutils/BeanUtilsTagLibrary.java | Java | mit | 855 |
package org.knowm.xchange.kraken.dto.marketdata;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.List;
public class KrakenAssetPair {
private final String altName;
private final String classBase;
private final String base;
private final String classQuote;
... | chrisrico/XChange | xchange-kraken/src/main/java/org/knowm/xchange/kraken/dto/marketdata/KrakenAssetPair.java | Java | mit | 4,457 |
package com.laytonsmith.core.functions;
import com.laytonsmith.PureUtilities.Version;
import com.laytonsmith.abstraction.MCEntity;
import com.laytonsmith.abstraction.MCItemStack;
import com.laytonsmith.abstraction.MCMerchant;
import com.laytonsmith.abstraction.MCMerchantRecipe;
import com.laytonsmith.abstraction.MCPla... | sk89q/CommandHelper | src/main/java/com/laytonsmith/core/functions/Trades.java | Java | mit | 14,831 |
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | Johnson-Chou/test | opendaylight/config/config-persister-impl/src/test/java/org/opendaylight/controller/config/persist/impl/CapabilityStrippingConfigSnapshotHolderTest.java | Java | epl-1.0 | 1,887 |
/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | kaloyan-raev/che | plugins/plugin-java/che-plugin-java-ext-lang-client/src/main/java/org/eclipse/che/ide/ext/java/client/editor/JavaFormatter.java | Java | epl-1.0 | 3,459 |
/*
* 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... | rex-xxx/mt6572_x201 | external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/TestHelper_Driver2.java | Java | gpl-2.0 | 1,715 |
package org.apache.commons.math.ode.sampling;
/** Step normalizer output tests, for problems where the first and last points
* are not fixed points.
*/
public class StepNormalizerOutputTest extends StepNormalizerOutputTestBase {
@Override
protected double getStart() {
return 0.3;
}
@Override... | SpoonLabs/astor | examples/math_50v2/src/test/java/org/apache/commons/math/ode/sampling/StepNormalizerOutputTest.java | Java | gpl-2.0 | 1,717 |
/*
* Copyright (c) 2011, 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... | greghaskins/openjdk-jdk7u-jdk | test/java/lang/invoke/RicochetTest.java | Java | gpl-2.0 | 33,273 |
package org.numixproject.hermes.slides;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.numixproject.hermes.R;
public class FirstSlide extends Fragment {
@Over... | Acidburn0zzz/org.numixproject.hermes | hermes/src/main/java/org/numixproject/hermes/slides/FirstSlide.java | Java | gpl-2.0 | 524 |
/* Copyright (C) 2003-2015 JabRef contributors.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This progra... | marcoaandrade/DC-UFSCar-ES2-201601--Grupo-da-Rapeize-v1.2 | src/main/java/net/sf/jabref/logic/cleanup/FormatterCleanup.java | Java | gpl-2.0 | 1,827 |
package org.checkerframework.eclipse.actions;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.viewe... | jthaine/checker-framework | eclipse/checker-framework-eclipse-plugin/src/org/checkerframework/eclipse/actions/CheckerHandler.java | Java | gpl-2.0 | 3,466 |
/*
* Copyright (c) 2006, 2014, 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 ... | Taichi-SHINDO/jdk9-jdk | test/java/awt/TextArea/ScrollbarIntersectionTest/ScrollbarIntersectionTest.java | Java | gpl-2.0 | 5,748 |
/*
* Copyright 2014 by SCSK Corporation.
*
* This file is part of PrimeCloud Controller(TM).
*
* PrimeCloud Controller(TM) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the Licen... | aigamo/primecloud-controller | auto-project/auto-process/src/main/java/jp/primecloud/auto/component/prjserver/PrjserverConstants.java | Java | gpl-2.0 | 1,214 |
package com.epam.jdi.uitests.testing.unittests.tests.complex.table.base;
import com.epam.jdi.uitests.testing.unittests.InitTests;
import com.epam.web.matcher.verify.Verify;
import org.testng.annotations.BeforeMethod;
import java.io.IOException;
import java.lang.reflect.Method;
/**
* Created by Natalia_Grebenshchiko... | ggasoftware/gga-selenium-framework | jdi-uitest-webtests/src/test/java/com/epam/jdi/uitests/testing/unittests/tests/complex/table/base/TableTestBase.java | Java | gpl-3.0 | 505 |
/*
* Copyright (C) 2007 The Guava 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 agre... | 10xEngineer/My-Wallet-Android | src/com/google/common/collect/Sets.java | Java | gpl-3.0 | 58,742 |
package test0494;
public class A {
Class[][][] cls;
} | Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Converter/src/test0494/A.java | Java | gpl-3.0 | 60 |
package org.jeecgframework.web.cgreport.service.core;
import java.util.List;
import java.util.Map;
import org.jeecgframework.core.common.service.CommonService;
/**
*
* @Title:CgReportServiceI
* @description:动态报表服务接口
* @author 赵俊夫
* @date Jul 30, 2013 8:43:01 AM
* @version V1.0
*/
public interface CgReportSer... | hairongwang/R_BOD | src/main/java/org/jeecgframework/web/cgreport/service/core/CgReportServiceI.java | Java | gpl-3.0 | 1,454 |
/*
* opsu! - an open-source osu! client
* Copyright (C) 2014-2017 Jeffrey Han
*
* opsu! 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 ... | fluddokt/opsu | src/itdelatrisu/opsu/objects/curves/CatmullCurve.java | Java | gpl-3.0 | 2,487 |
/*
* Javolution - Java(TM) Solution for Real-Time and Embedded Systems
* Copyright (C) 2007 - Javolution (http://javolution.org/)
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software is
* freely granted, provided that this notice is preserved.
*/
package javolution.context;
... | jonathant/rhodes | platform/shared/rubyJVM/src/javolution/context/ImmortalContext.java | Java | gpl-3.0 | 5,604 |
/**
* L2FProd.com Common Components 7.3 License.
*
* Copyright 2005-2007 L2FProd.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/L... | pabalexa/calibre2opds | OpdsOutput/src/main/java/com/l2fprod/common/beans/editor/FontPropertyEditor.java | Java | gpl-3.0 | 2,810 |
/*
* ByteArraySeekableSource.java
*
* Created on May 17, 2006, 12:41 PM
* Copyright (c) 2006 Heiko Klein
*
* 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, includi... | Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/cpw/mods/fml/repackage/com/nothome/delta/ByteBufferSeekableSource.java | Java | gpl-3.0 | 2,952 |
package info.nightscout.androidaps.plugins.pump.insight.exceptions.app_layer_errors;
public class BolusDurationNotInRangeException extends AppLayerErrorException {
public BolusDurationNotInRangeException(int errorCode) {
super(errorCode);
}
}
| jotomo/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/pump/insight/exceptions/app_layer_errors/BolusDurationNotInRangeException.java | Java | agpl-3.0 | 261 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | moliva/proactive | src/Extra/org/objectweb/proactive/extra/multiactivecan/JoinResponse.java | Java | agpl-3.0 | 2,203 |
/*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/common/budget/impl/core/category/BudgetCategoryExistenceRule.java | Java | agpl-3.0 | 3,022 |
/**
* Project Wonderland
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved
*
* Redistributions in source code form must reproduce the above
* copyright and this condition.
*
* The contents of this file are subject to the GNU General Public
* License, Version 2 (the "License"); you may no... | AsherBond/MondocosmOS | wonderland/modules/foundation/xremwin/src/classes/org/jdesktop/wonderland/modules/xremwin/client/wm/X11WindowManager.java | Java | agpl-3.0 | 30,493 |
package org.intermine.web.tags.disclosure;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft... | JoeCarlson/intermine | intermine/web/main/src/org/intermine/web/tags/disclosure/DisclosureTag.java | Java | lgpl-2.1 | 4,788 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | jstourac/wildfly | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ee/concurrent/DefaultManagedExecutorServiceTestCase.java | Java | lgpl-2.1 | 2,863 |
package org.intermine.api.query.codegen;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | JoeCarlson/intermine | intermine/api/main/src/org/intermine/api/query/codegen/UnhandledFeatureException.java | Java | lgpl-2.1 | 1,575 |
package org.intermine.bio.webservice;
/*
* Copyright (C) 2002-2016 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/less... | JoeCarlson/intermine | bio/webapp/src/org/intermine/bio/webservice/GenomicRegionBedService.java | Java | lgpl-2.1 | 2,673 |
/*
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2006 Polyglot project group, Cornell University
*
*/
package coffer.ast;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import p... | liujed/polyglot-eclipse | examples/coffer/compiler/src/coffer/ast/CofferConstructorDecl_c.java | Java | lgpl-2.1 | 12,420 |
/*
* This file is part of lanterna (http://code.google.com/p/lanterna/).
*
* lanterna 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, or
* (at your option) any la... | kba/lanterna | src/main/java/com/googlecode/lanterna/gui/component/Separator.java | Java | lgpl-3.0 | 1,338 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/alfresco-repository | src/main/java/org/alfresco/repo/virtual/ref/GetTemplatePathMethod.java | Java | lgpl-3.0 | 1,497 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | dgageot/sonarqube | sonar-batch/src/test/java/org/sonar/batch/repository/DefaultServerIssuesLoaderTest.java | Java | lgpl-3.0 | 3,013 |
/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/alfresco-repository | src/test/java/org/alfresco/repo/preference/PreferenceServiceImplTest.java | Java | lgpl-3.0 | 11,551 |
/*
* Copyright 2013 Radoslav Husár
*
* 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... | mmadzin/clusterbench | clusterbench-ee7-ejb/src/main/java/org/jboss/test/clusterbench/ejb/stateless/RemoteStatelessSBImpl.java | Java | apache-2.0 | 913 |
/*
* 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 ... | pax95/camel | components/camel-seda/src/main/java/org/apache/camel/component/seda/SedaProducer.java | Java | apache-2.0 | 10,782 |
/*
* Copyright 2012 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... | gradle/gradle | subprojects/tooling-api/src/main/java/org/gradle/tooling/model/GradleModuleVersion.java | Java | apache-2.0 | 1,064 |
package antlr.debug;
public abstract class GuessingEvent extends Event {
private int guessing;
public GuessingEvent(Object source) {
super(source);
}
public GuessingEvent(Object source, int type) {
super(source, type);
}
public int getGuessing() {
return guessing;
}
void setGuessing(int ... | HebaKhaled/bposs | src/pt_antlr/antlr/debug/GuessingEvent.java | Java | apache-2.0 | 544 |
/* 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... | lsmall/flowable-engine | modules/flowable-form-rest/src/main/java/org/flowable/form/rest/service/api/form/FormInstanceResource.java | Java | apache-2.0 | 2,939 |
package org.ovirt.engine.core.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import javax.inject.Named;
import javax.inject.Singleton;
import org.apache.commons.lang.NotImplementedException;
import... | walteryang47/ovirt-engine | backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/DiskImageDaoImpl.java | Java | apache-2.0 | 13,907 |
// Copyright 2014 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... | damienmg/bazel | src/main/java/com/google/devtools/build/docgen/BuildDocCollector.java | Java | apache-2.0 | 14,444 |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2016 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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... | esaunders/autopsy | Core/src/org/sleuthkit/autopsy/modules/fileextmismatch/FileExtMismatchDetectorModuleSettings.java | Java | apache-2.0 | 6,986 |
/*
* 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 ... | williamchengit/TestRepo | solr/core/src/java/org/apache/solr/core/PluginInfo.java | Java | apache-2.0 | 4,369 |
/*
* 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 ... | DariusX/camel | components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/internal/processor/JsonRestProcessorTest.java | Java | apache-2.0 | 5,265 |
/*******************************************************************************
* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems
*
* 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 Licens... | hsanjuan/one | src/oca/java/src/org/opennebula/client/vnet/VirtualNetwork.java | Java | apache-2.0 | 21,150 |
/*
* Copyright 2007-2009 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 requi... | haint/jgentle | src/org/jgentleframework/services/eventservices/context/EventServicesContextImpl.java | Java | apache-2.0 | 13,424 |
/*
* Copyright (C) 2014 The Dagger Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | cgruber/dagger | java/dagger/internal/DelegateFactory.java | Java | apache-2.0 | 2,076 |
package org.apache.lucene.search.spell;
/**
* 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... | kiyoka/fuzzy-string-match | original/TestJaroWinklerDistance.java | Java | apache-2.0 | 1,890 |
/*
Copyright 1996-2008 Ariba, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | pascalrobert/aribaweb | src/util/src/main/java/ariba/util/core/LockHandlerConditions.java | Java | apache-2.0 | 1,211 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | knadikari/developer-studio | common/org.wso2.developerstudio.eclipse.artifact.security/src/org/wso2/developerstudio/eclipse/security/project/utils/SecurityPolicyUtils.java | Java | apache-2.0 | 5,554 |
/*
* Copyright 2004-2009 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... | baboune/compass | src/main/test/org/compass/annotations/test/converter/number1/NumberFormatGlobalConverterTests.java | Java | apache-2.0 | 1,746 |
/**
*
* Copyright 2013 VMware, Inc. All rights reserved.
*/
package com.vmware.vmevent;
import org.junit.Assert;
import org.junit.Test;
public class VmEventLogClientTest
{
private static String _hostname = "localhost";
private static int _eventType = 1;
private static int _eventCategory = 1;
priv... | linearregression/lightwave | vmafd/vmevent/interop/java/vmevent/src/test/java/com/vmware/vmevent/VmEventLogClientTest.java | Java | apache-2.0 | 557 |
/*
* 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... | tiarebalbi/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/couchbase/SpringBootCouchbaseReactiveDataConfiguration.java | Java | apache-2.0 | 2,941 |
/*
* Copyright 2000-2015 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... | hurricup/intellij-community | platform/platform-impl/src/com/intellij/ide/FileChangedNotificationProvider.java | Java | apache-2.0 | 4,921 |
/*
* Copyright 2013-2015 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 "lice... | galaxynut/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/util/Base16Codec.java | Java | apache-2.0 | 2,978 |
/*
* 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... | sneivandt/elasticsearch | client/rest-high-level/src/test/java/org/elasticsearch/client/CrudIT.java | Java | apache-2.0 | 40,072 |
// ========================================================================
// Copyright (c) 2010 Intalio, Inc.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public Lice... | thomasbecker/jetty-7 | jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/IWebBundleDeployerHelper.java | Java | apache-2.0 | 3,614 |
package org.zstack.sdk;
public class AddVmNicToSecurityGroupResult {
}
| zstackorg/zstack | sdk/src/main/java/org/zstack/sdk/AddVmNicToSecurityGroupResult.java | Java | apache-2.0 | 75 |
/*
* Copyright (c) 2008-2021, 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 ... | emre-aydin/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/querycache/accumulator/AccumulatorInfoSupplier.java | Java | apache-2.0 | 1,796 |
/*
* Copyright (c) 2008-2014 MongoDB, 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... | b-long/ezbake-data-access | ezmongo/driver/src/main/com/mongodb/gridfs/GridFS.java | Java | apache-2.0 | 14,033 |
package org.joda.time.format;
/*
* Copyright 2001-2009 Stephen Colebourne
*
* 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
*
*... | HonzaKral/elasticsearch | server/src/main/java/org/joda/time/format/StrictISODateTimeFormat.java | Java | apache-2.0 | 79,822 |
/*
* Copyright 2017 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 a... | nmirasch/jbpm-console-ng | jbpm-wb-case-mgmt/jbpm-wb-case-mgmt-showcase/src/test/java/org/jbpm/workbench/cm/server/JGitFileSystemProviderTest.java | Java | apache-2.0 | 2,528 |
/*
* Copyright 2014 SeaClouds
* Contact: SeaClouds
*
* 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
*
* ... | MicheleGuerriero/SeaCloudsPlatform | dashboard/src/test/java/eu/seaclouds/platform/dashboard/rest/SlaResourceTest.java | Java | apache-2.0 | 2,690 |
package org.sakaiproject.hibernate;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Properties;
import org.hibernate.HibernateException;
import org.hibernate.MappingException;
import org.hibernate.dialect.Dialect;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.id.Confi... | OpenCollabZA/sakai | kernel/kernel-private/src/main/java/org/sakaiproject/hibernate/AssignableUUIDGenerator.java | Java | apache-2.0 | 1,692 |
/**
* 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... | yogidevendra/incubator-apex-malhar | examples/distributedistinct/src/main/java/org/apache/apex/examples/distributeddistinct/IntegerUniqueValueCountAppender.java | Java | apache-2.0 | 3,227 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | danielmitterdorfer/elasticsearch | modules/lang-mustache/src/main/java/org/elasticsearch/action/search/template/SearchTemplateRequest.java | Java | apache-2.0 | 5,070 |
package org.nutz.dao.impl.sql;
import java.lang.reflect.Array;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.nut... | nutzam/nutz | src/org/nutz/dao/impl/sql/SqlTemplate.java | Java | apache-2.0 | 18,043 |
/*
* Hibernate Validator, declare and validate application constraints
*
* 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.validator.test.internal.engine.valuehandling.model;
import javax.validation.Val... | fazerish/hibernate-validator | engine/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/model/Account.java | Java | apache-2.0 | 444 |
/**
* 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... | yush1ga/pulsar | pulsar-common/src/test/java/org/apache/pulsar/common/util/collections/ConcurrentLongHashMapTest.java | Java | apache-2.0 | 13,097 |
/*
* Copyright Terracotta, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | lorban/terracotta-platform | management/cluster-topology/src/test/java/org/terracotta/management/model/cluster/AbstractTest.java | Java | apache-2.0 | 5,586 |
/*
* Copyright 2000-2017 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... | goodwinnk/intellij-community | java/java-tests/testSrc/com/intellij/java/codeInsight/intention/AddExplicitTypeArgumentsIntentionTest.java | Java | apache-2.0 | 4,583 |
/*
* Copyright 2017 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | rockmkd/datacollector | sso/src/main/java/com/streamsets/lib/security/http/PrincipalCache.java | Java | apache-2.0 | 2,301 |
/*
* 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... | hurricup/intellij-community | plugins/git4idea/src/git4idea/repo/GitRepositoryImpl.java | Java | apache-2.0 | 7,089 |
/*
* Copyright (c) 2005-2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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
*
* http://www.apache.o... | lgobinath/carbon-analytics-common | components/event-publisher/event-output-adapters/org.wso2.carbon.event.output.adapter.websocket.local/org.wso2.carbon.event.output.adapter.websocket.endpoint/src/main/java/SubscriptionEndpoint.java | Java | apache-2.0 | 2,747 |
/**
* 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... | baishuo/hbase-1.0.0-cdh5.4.7_baishuo | hbase-common/src/test/java/org/apache/hadoop/hbase/types/TestUnion2.java | Java | apache-2.0 | 4,281 |
/*
* 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 ... | objectiser/camel | components/camel-netty/src/test/java/org/apache/camel/component/netty/LogCaptureTest.java | Java | apache-2.0 | 1,346 |
package alien4cloud.security.groups.rest;
import java.util.Set;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;
@Getter
@Setter
@NoArgsConstructor
public class CreateGroupRequest {
@NotBlank
private String name;
private S... | broly-git/alien4cloud | alien4cloud-security/src/main/java/alien4cloud/security/groups/rest/CreateGroupRequest.java | Java | apache-2.0 | 430 |
/*
* 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 ... | objectiser/camel | components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfClientCallback.java | Java | apache-2.0 | 5,600 |
import java.util.List;
import java.util.Map;
import org.dom4j.Element;
import com.justep.ui.component.ComponentContext;
import com.justep.ui.component.ComponentTemplate;
import com.justep.ui2.system.component.data.BaseDataDef;
public class Select implements ComponentTemplate {
public void execute(Elem... | Diaosir/WeX5 | UI2/system/components/justep/select/server/dsrc/Select.java | Java | apache-2.0 | 2,219 |
/*
* 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 ... | josh-mckenzie/cassandra | src/java/org/apache/cassandra/net/StartupClusterConnectivityChecker.java | Java | apache-2.0 | 12,447 |
/*
* 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... | jpountz/elasticsearch | core/src/test/java/org/elasticsearch/search/aggregations/bucket/ChildrenIT.java | Java | apache-2.0 | 26,190 |
/*
* Copyright 2014 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 i... | andyspan/pinpoint | plugins/jetty/src/main/java/com/navercorp/pinpoint/plugin/jetty/JettyDetector.java | Java | apache-2.0 | 1,654 |
package aQute.bnd.osgi;
/**
* Holds the bundle bsn + version pair
*/
public class BundleId implements Comparable<BundleId> {
final String bsn;
final String version;
public BundleId(String bsn, String version) {
this.bsn = bsn.trim();
this.version = version.trim();
}
public String getVersion() {
return v... | joansmith/bnd | biz.aQute.bndlib/src/aQute/bnd/osgi/BundleId.java | Java | apache-2.0 | 853 |
/*
* 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 ... | ravihansa3000/stratos | components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/receiver/domain/mapping/DomainMappingEventMessageDelegator.java | Java | apache-2.0 | 3,753 |
/*
* 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 ... | ra0077/jmeter | test/src/org/apache/jmeter/threads/TestUnmodifiableJMeterVariables.java | Java | apache-2.0 | 4,803 |