Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5131 - 5140 of 5,146 for Name (0.05 seconds)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, 1.0f)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, 1.0f)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        int heapSize = 99;
        int numberOfModifications = 100;
        MinMaxPriorityQueue<Integer> mmHeap =
            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(heapSize)).create();
        /*
         * this map would contain the same exact elements as the MinMaxHeap; the
         * value in the map is the number of occurrences of the key.
         */
        SortedMap<Integer, AtomicInteger> replica = Maps.newTreeMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * actually purer. However, in the case of smb we know the
         * wordCount and byteCount. And since every subclass of
         * ServerMessageBlock would have to perform the same read
         * operation on the input stream, we might as will pull that
         * common functionality into the superclass and read wordCount
         * and byteCount worth of data.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Lists.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns consecutive {@linkplain List#subList(int, int) sublists} of a list, each of the same
       * size (the final list may be smaller). For example, partitioning a list containing {@code [a, b,
       * c, d, e]} with a partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer list
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * that this method <i>also</i> throws if this future is not done.
       *
       * <p>This method computes its result based on the internal state of {@link AbstractFuture}, so it
       * does not necessarily return the same result as {@link #get()} if {@link #get()} has been
       * overridden. Thus, it should be called only on instances of {@link Trusted} or from within
       * {@link #get()} itself.
       */
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  7. cmd/notification.go

    	Err  error     // Error returned by the remote peer for an rpc call
    }
    
    // A NotificationGroup is a collection of goroutines working on subtasks that are part of
    // the same overall task.
    //
    // A zero NotificationGroup is valid and does not cancel on error.
    type NotificationGroup struct {
    	workers    *workers.Workers
    	errs       []NotificationPeerErr
    	retryCount int
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        a.setString(1, "a2")
        a.commit()
        assertAbsent("a")
      }
    
      /**
       * Each read sees a snapshot of the file at the time read was called. This means that two reads of
       * the same key can see different data.
       */
      @Test
      fun readAndWriteOverlapsMaintainConsistency() {
        Assumptions.assumeFalse(windows) // Can't edit while a read is in progress.
    
        val v1Creator = cache.edit("k1")!!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  9. cmd/storage-rest-server.go

    	if err != nil {
    		return
    	}
    
    	buf, _ := resp.MarshalMsg(nil)
    	w.Write(buf)
    }
    
    func checkDiskFatalErrs(errs []error) error {
    	// This returns a common error if all errors are
    	// same errors, then there is no point starting
    	// the server.
    	if countErrs(errs, errUnsupportedDisk) == len(errs) {
    		return errUnsupportedDisk
    	}
    
    	if countErrs(errs, errDiskAccessDenied) == len(errs) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Preconditions.java

     * java.util.Objects#requireNonNull(Object)}. Instead, use whichever of {@link
     * #checkNotNull(Object)} or {@link Verify#verifyNotNull(Object)} is appropriate to the situation.
     * (The same goes for the message-accepting overloads.)
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
Back to Top