Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 954 for zero (0.88 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals((byte) 0x42, andxBlock.getCommand());
        }
    
        @Test
        @DisplayName("Test decode with zero wordCount")
        void testDecodeWithZeroWordCount() throws SMBProtocolDecodingException {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

                // Then
                assertEquals(null, result);
            }
    
            @Test
            @DisplayName("Should handle zero port")
            void testZeroPort() {
                // Given
                when(transportPool.getSmbTransport(context, address, 0, false)).thenReturn(transport);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        if (derivedFeatures.remove(CollectionSize.ANY)) {
          derivedFeatures.addAll(CollectionSize.ANY.getImpliedFeatures());
        }
        derivedFeatures.remove(CollectionSize.ZERO);
        return derivedFeatures;
      }
    
      private static final class AsMapGenerator<K, V, M extends Multimap<K, V>>
          implements TestMapGenerator<K, Collection<V>>, DerivedGenerator {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 starting              : task three",
          "FINE: Q10000 finished run in   0 µs: task three",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If non-zero then we're truly parallel. */
      @Test fun differentQueuesAreParallel() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

                assertEquals(TEST_TOKEN.length, SMBUtil.readInt2(buffer, bodyOffset + 14)); // Token length
            }
        }
    
        @Test
        @DisplayName("Should write channel field as zero")
        void testChannelFieldAlwaysZero() throws Exception {
            // Given
            byte[] buffer = new byte[512];
    
            // When
            request.encode(buffer, 0);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class RealWebSocketTest {
      // NOTE: Fields are named 'client' and 'server' for cognitive simplicity. This differentiation has
      // zero effect on the behavior of the WebSocket API which is why tests are only written once
      // from the perspective of a single peer.
      private val random = Random(0)
      private val taskFaker = TaskFaker()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Suppliers.java

      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, Duration duration) {
        checkNotNull(delegate);
        // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble.
        checkArgument(
            !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration);
        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. internal/event/target/elasticsearch.go

    	switch {
    	case majorVersion <= 6:
    		res = ESSUnsupported
    	default:
    		res = ESSSupported
    	}
    	return res, err
    }
    
    // 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top