Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 1,740 for Equalf (0.07 sec)

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

    import java.util.concurrent.Executors;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Test case for {@link TrustedListenableFutureTask}. */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class TrustedListenableFutureTaskTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedMap.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A sorted map which forwards all its method calls to another sorted map. Subclasses should
     * override one or more methods to modify the behavior of the backing sorted map as desired per the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingQueue.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.NoSuchElementException;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A queue which forwards all its method calls to another queue. Subclasses should override one or
     * more methods to modify the behavior of the backing queue as desired per the <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/CharEscaperBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Cut.java

        return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
      C endpoint() {
        return endpoint;
      }
    
      @SuppressWarnings("unchecked") // catching CCE
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Cut) {
          // It might not really be a Cut<C>, but we'll catch a CCE if it's not
          Cut<C> that = (Cut<C>) obj;
          try {
            int compareResult = compareTo(that);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC);
        assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC));
        assertNull(bimap1.get(Currency.FRANC));
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
        EnumBiMap<Currency, Country> bimap3 = EnumBiMap.create(emptyBimap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. internal/http/listener_test.go

    			}
    		}
    
    		addrs := listener.Addrs()
    		addrSet := set.NewStringSet()
    		for _, addr := range addrs {
    			addrSet.Add(addr.String())
    		}
    
    		if !addrSet.Equals(testCase.expectedAddrs) {
    			t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs)
    		}
    
    		listener.Close()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileOperationsTest.java

                }
                catch ( SmbAuthException e )  {
                    // guest share not accessible
                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    	signature := calculateSignatureV2(stringToSign, cred.SecretKey)
    	return signature
    }
    
    // compareSignatureV2 returns true if and only if both signatures
    // are equal. The signatures are expected to be base64 encoded strings
    // according to the AWS S3 signature V2 spec.
    func compareSignatureV2(sig1, sig2 string) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top