Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 419 for negate (0.04 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            assertEquals("1000000.0 GB/s", builder.build());
        }
    
        @Test
        void testFormatRateInvalidValues() {
            FileSizeFormat format = new FileSizeFormat();
    
            // Test negative rate
            MessageBuilder builder = new DefaultMessageBuilder();
            format.formatRate(builder, -1.0);
            assertEquals("? B/s", builder.build());
    
            // Test NaN
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheStats.java

       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
       * 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

                0x00100000, // SYNCHRONIZE
                0x10000000, // GENERIC_ALL
                0x20000000, // GENERIC_EXECUTE
                0x40000000, // GENERIC_WRITE
                0x80000000 // GENERIC_READ (as int will be negative)
        })
        void testVariousAccessMaskValues(int accessMask) {
            ace.access = accessMask;
            assertEquals(accessMask, ace.getAccessMask());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            if (expectEqual) {
                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
            // Test negative case with different tree id handles
            SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class);
            lenient().when(tC.acquire()).thenReturn(tC);
            lenient().when(tC.getTreeId()).thenReturn(treeId + 1);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testOverflowTimeout() throws Exception {
        // First, sanity check that naive multiplication would really overflow to a negative number:
        long nanosPerSecond = NANOSECONDS.convert(1, SECONDS);
        assertThat(nanosPerSecond * Long.MAX_VALUE).isLessThan(0L);
    
        // Check that we wait long enough anyway (presumably as long as MAX_VALUE nanos):
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. cmd/bucket-listobjects-handlers.go

    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    	if encodingType != "" {
    		// AWS S3 spec only supports 'url' encoding type
    		if !strings.EqualFold(encodingType, "url") {
    			return ErrInvalidEncodingMethod
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#limit} (same).
       *
       * @param maxSize the maximum number of elements in the returned fluent iterable
       * @throws IllegalArgumentException if {@code size} is negative
       */
      public final FluentIterable<E> limit(int maxSize) {
        return from(Iterables.limit(getDelegate(), maxSize));
      }
    
      /**
       * Determines whether this fluent iterable is empty.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       * @since 33.3.0
       */
      public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new Builder<>(expectedKeys);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/arch/arch.go

    	instructions["JLS"] = x86.AJLS  /* lower or same (unsigned) (CF = 1 || ZF = 1) */
    	instructions["JLT"] = x86.AJLT  /* less than (signed) (SF != OF) */
    	instructions["JMI"] = x86.AJMI  /* negative (minus) (SF = 1) */
    	instructions["JNA"] = x86.AJLS  /* alternate */
    	instructions["JNAE"] = x86.AJCS /* alternate */
    	instructions["JNB"] = x86.AJCC  /* alternate */
    	instructions["JNBE"] = x86.AJHI /* alternate */
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top