Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 1,726 for Equalf (0.06 sec)

  1. guava/src/com/google/common/collect/BiMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

    import java.util.Collection;
    import java.util.Queue;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code ForwardingQueue}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    public class ForwardingQueueTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/AbstractHasher.java

    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

    import com.google.common.collect.testing.WrongType;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Common parent class for {@link ListIndexOfTester} and {@link ListLastIndexOfTester}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.util.Comparator;
    import java.util.NavigableSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)}, split out into
     * its own file so it can be GWT emulated (to deal with the differing elementSet() types in GWT and
     * non-GWT).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            if (element == target) {
              it.remove();
              return true;
            }
          }
          return false;
        }
    
        /** Removes only this exact instance, not others that are equals() */
        private boolean removeExact(Object target) {
          for (int i = 0; i < size; i++) {
            if (queue[i] == target) {
              removeAt(i);
              return true;
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        public Object load(Object key) {
          return new Object();
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof SerializableCacheLoader);
        }
      }
    
      private static class SerializableRemovalListener<K, V>
          implements RemovalListener<K, V>, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. cmd/erasure-coding.go

    				ok = false
    				continue
    			}
    			// Delete first shard and reconstruct...
    			first := encoded[0]
    			encoded[0] = nil
    			failOnErr(e.DecodeDataBlocks(encoded))
    			if a, b := first, encoded[0]; !bytes.Equal(a, b) {
    				fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], hex.EncodeToString(a), hex.EncodeToString(b))
    				ok = false
    				continue
    			}
    
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals("BigInteger must be greater than or equal to 0", expected.getMessage());
      }
    
      public void testFromIpv6BigIntegerThrowsLessThanZero() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> InetAddresses.fromIPv6BigInteger(BigInteger.valueOf(-1L)));
        assertEquals("BigInteger must be greater than or equal to 0", expected.getMessage());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    
        /**
         *
         * @param svr
         * @return whether the given address is the configured broadcast address
         */
        private boolean isBroadcastAddress(InetAddress svr) {
            return svr.equals(this.baddr) || svr.getAddress()[3] == (byte) 0xFF;
        }
    
    
        protected InetAddress switchWINS () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top