Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5071 - 5080 of 8,165 for public (0.04 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ForwardingListenableFutureTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingListenableFuture}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingListenableFutureTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingListenableFuture.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/misc/LocaleUtilTest.java

     */
    package org.codelibs.core.misc;
    
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class LocaleUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetLocale() throws Exception {
            assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/elasticsearch.local-distribution.gradle

     * 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
     * Side Public License, v 1.
     */
    
    /**
     * This script sets up a local distribution.
     * To install a local distribution run `localDistro`.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableCollectionTests {
    
      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

       *
       * {@snippet :
       * awaitDone(new FinalizationPredicate() {
       *   public boolean isDone() {
       *     return ref.get() == null;
       *   }
       * });
       * }
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      public static void awaitClear(WeakReference<?> ref) {
        awaitDone(() -> ref.get() == null);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        this.keyOffset = 1;
        this.size = size;
        this.inverse = inverse;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      public ImmutableBiMap<V, K> inverse() {
        return inverse;
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public @Nullable V get(@Nullable Object key) {
        Object result =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            }
        }
    
        @Test
        @DisplayName("Should use public methods from DcerpcMessage")
        void shouldUsePublicMethodsFromDcerpcMessage() {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);
    
            // Then - Test public methods
            assertEquals(0, msrpcSamrConnect2.getPtype(), "getPtype() should return 0");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     * and will be called in sequence during model building.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomModelTransformer implements ModelTransformer {
     *     public Model transformEffectiveModel(Model model) throws ModelTransformerException {
     *         // Add a custom property to all models
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * The logout action.
     */
    public class LogoutAction extends FessSearchAction {
    
        /**
         * Default constructor.
         */
        public LogoutAction() {
            super();
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top