Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 1,715 for threw (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          }
          assertThat(remaining).isEqualTo(0);
          assertIntact(queue);
          assertThat(queue).containsExactlyElementsIn(elements);
        }
      }
    
      private enum Element {
        ONE,
        TWO,
        THREE,
        FOUR,
        FIVE;
      }
    
      public void testRandomAddsAndRemoves_duplicateElements() {
        Random random = new Random(0);
        Multiset<Element> elements = HashMultiset.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Floats.java

        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
            lenientFormat("min (%s) must be less than or equal to max (%s)", min, max));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
            lenientFormat("min (%s) must be less than or equal to max (%s)", min, max));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Floats.java

        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
            lenientFormat("min (%s) must be less than or equal to max (%s)", min, max));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    // - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
    //
    // The following three cases all imply that no capacity is available for
    // a certain combination:
    // - no object exists with suitable topology and storage class name
    // - such an object exists, but the capacity is unset
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

          return POSITIVE_INFINITY;
        }
        return lower + (upper - lower) * remainder / scale;
      }
    
      private static void checkIndex(int index, int scale) {
        if (index < 0 || index > scale) {
          throw new IllegalArgumentException(
              "Quantile indexes must be between 0 and the scale, which is " + scale);
        }
      }
    
      private static double[] longsToDoubles(long[] longs) {
        int len = longs.length;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. LICENSE

        the user installs one, as long as the modified version is
        interface-compatible with the version that the work was made with.
    
        c) Accompany the work with a written offer, valid for at
        least three years, to give the same user the materials
        specified in Subsection 6a, above, for a charge no more
        than the cost of performing this distribution.
    
        d) If distribution of the work is made by offering access to copy
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1/generated.proto

    // - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1"
    // - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"
    //
    // The following three cases all imply that no capacity is available for
    // a certain combination:
    // - no object exists with suitable topology and storage class name
    // - such an object exists, but the capacity is unset
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer_test.go

    	}
    	// check empty or full
    	if !rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is true but got false")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    
    	// read three, error
    	_, err = rb.ReadByte()
    	if err == nil {
    		t.Fatalf("expect ErrIsEmpty but got nil")
    	}
    	if rb.Length() != 0 {
    		t.Fatalf("expect len 0 byte but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    	}
    
    	clientETag, err := etag.FromContentMD5(r.Header)
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidDigest), r.URL)
    		return
    	}
    
    	// if Content-Length is unknown/missing, throw away
    	size := r.ContentLength
    
    	rAuthType := getRequestAuthType(r)
    	// For auth type streaming signature, we need to gather a different content length.
    	switch rAuthType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top