Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 1,628 for rethrow (0.19 sec)

  1. 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)
  2. 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)
  3. android/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: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

     * cache after the iterator is created, it is undefined which of these changes, if any, are
     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
        }
        boolean negative = string.charAt(0) == '-';
        int index = negative ? 1 : 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Longs.java

      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
        }
        boolean negative = string.charAt(0) == '-';
        int index = negative ? 1 : 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      }
    
      @SuppressWarnings("CollectionIncompatibleType")
      private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) {
        // Very unlikely that a buggy collection would ever return true. It might accidentally throw.
        assertFalse(entrySet.contains("foo"));
      }
    
      /**
       * Override this to check invariants which should hold true for a particular implementation, but
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default Class<? extends LaJob> getSchedulerJobClassAsClass() {
            try {
                return (Class<? extends LaJob>) Class.forName(getSchedulerJobClass());
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    
        String getSchedulerConcurrentExecMode();
    
        default JobConcurrentExec getSchedulerConcurrentExecModeAsEnum() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
        Ordering<Integer> c = Ordering.explicit(1, 2, 3);
    
        // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed
        assertEquals(0, (int) c.max(asList(0)));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
        Ordering<Integer> c = Ordering.explicit(1, 2, 3);
    
        // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed
        assertEquals(0, (int) c.max(asList(0)));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top