Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for negative (0.17 sec)

  1. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
      public void testMappingAnd_infiniteX2() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NEGATIVE_INFINITY, 7.8));
      }
    
      public void testMappingAnd_infiniteY2() {
        assertThrows(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
      public void testMappingAnd_infiniteX2() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NEGATIVE_INFINITY, 7.8));
      }
    
      public void testMappingAnd_infiniteY2() {
        assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSequenceReader.java

          cbuf[off + i] = seq.charAt(pos++);
        }
        return charsToRead;
      }
    
      @Override
      public synchronized long skip(long n) throws IOException {
        checkArgument(n >= 0, "n (%s) may not be negative", n);
        checkOpen();
        int charsToSkip = (int) Math.min(remaining(), n); // safe because remaining is an int
        pos += charsToSkip;
        return charsToSkip;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/FileBackedOutputStream.java

       *     ByteSource} returned by {@link #asByteSource} is finalized.
       * @throws IllegalArgumentException if {@code fileThreshold} is negative
       */
      public FileBackedOutputStream(int fileThreshold, boolean resetOnFinalize) {
        checkArgument(
            fileThreshold >= 0, "fileThreshold must be non-negative, but was %s", fileThreshold);
        this.fileThreshold = fileThreshold;
        this.resetOnFinalize = resetOnFinalize;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. cmd/httprange.go

    }
    
    // GetLength - get length of range
    func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) {
    	switch {
    	case resourceSize < 0:
    		return 0, errors.New("Resource size cannot be negative")
    
    	case h == nil:
    		rangeLength = resourceSize
    
    	case h.IsSuffixLength:
    		specifiedLen := -h.Start
    		rangeLength = specifiedLen
    		if specifiedLen > resourceSize {
    			rangeLength = resourceSize
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       * Returns a {@code UnsignedInteger} representing the same value as the specified {@link
       * BigInteger}. This is the inverse operation of {@link #bigIntegerValue()}.
       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32}
       */
      public static UnsignedInteger valueOf(BigInteger value) {
        checkNotNull(value);
        checkArgument(
            value.signum() >= 0 && value.bitLength() <= Integer.SIZE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Weigher.java

    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Weigher.java

    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/html5.js

    (j="0"),i||(i="9007199254740992"),k||(k="1"),h["data-validation-allowing"]="range["+j+";"+i+"]",0!==j.indexOf("-")&&0!==i.indexOf("-")||(h["data-validation-allowing"]+=",negative"),(j.indexOf(".")>-1||i.indexOf(".")>-1||k.indexOf(".")>-1)&&(h["data-validation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.6K bytes
    - Viewed (0)
Back to top