Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 675 for zeros (0.03 sec)

  1. cmd/erasure-metadata_test.go

    		expectedOffset int64
    		expectedErr    error
    	}{
    		{0, 0, 0, nil},
    		{1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil},
    		{1 + humanize.MiByte, 1, 0, nil},
    		{2 + humanize.MiByte, 1, 1, nil},
    		// Its valid for zero sized object.
    		{-1, 0, -1, nil},
    		// Max fffset is always (size - 1).
    		{(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte) - 1, 4, 1048582, nil},
    		// Error if offset is size.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            max(0, saturatedSubtract(hitCount, other.hitCount)),
            max(0, saturatedSubtract(missCount, other.missCount)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            max(0, saturatedSubtract(hitCount, other.hitCount)),
            max(0, saturatedSubtract(missCount, other.missCount)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/riscv64.s

    	JMP	start					// JMP	2
    
    	JMP	2(PC)					// 6f008000
    	JMP	(X5)					// 67800200
    	JMP	4(X5)					// 67804200
    
    	// CALL and JMP to symbol are encoded as JAL (using LR or ZERO
    	// respectively), with a R_RISCV_JAL relocation. The linker resolves
    	// the real address and updates the immediate, using a trampoline in
    	// the case where the address is not directly reachable.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /** Returns the number of values in this array. */
      public int length() {
        return end - start;
      }
    
      /** Returns {@code true} if there are no values in this array ({@link #length} is zero). */
      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code long} value present at the given index.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /** Returns the number of values in this array. */
      public int length() {
        return end - start;
      }
    
      /** Returns {@code true} if there are no values in this array ({@link #length} is zero). */
      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code int} value present at the given index.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        // test that we can get the size even if skip() isn't supported
        assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size());
    
        // test that we can get the size even if available() always returns zero
        assertEquals(bytes.length, new TestByteSource(bytes, AVAILABLE_ALWAYS_ZERO).size());
      }
    
      public void testCopyTo_outputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
     *
     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashFunction.java

     *       produce the same hash code for distinct inputs (a "collision"), every hash function strives
     *       to <i>some</i> degree to make this unlikely. (Without this condition, a function that
     *       always returns zero could be called a hash function. It is not.)
     * </ul>
     *
     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. internal/event/target/elasticsearch.go

    	}
    
    	switch {
    	case majorVersion <= 6:
    		res = ESSUnsupported
    	default:
    		res = ESSSupported
    	}
    	return
    }
    
    // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
    var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
    
    // Interface for elasticsearch client objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top