Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 841 for Zero (0.2 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
         * @param errorCode reason for closing the connection.
         * @param debugData only valid for HTTP/2; opaque debug data to send.
         */
        fun goAway(
          lastGoodStreamId: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
      public static BigInteger ceilingPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, CEILING));
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * BigInteger.valueOf(2).pow(log2(x, FLOOR))}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. internal/lru/lru.go

    	for i := 0; i < numBuckets; i++ {
    		res.buckets[i] = bucket[K, V]{entries: make(map[K]*Entry[K, V])}
    	}
    
    	// enable deleteExpired() running in separate goroutine for cache with non-zero TTL
    	//
    	// Important: done channel is never closed, so deleteExpired() goroutine will never exit,
    	// it's decided to add functionality to close it in the version later than v2.
    	if res.ttl != noEvictionTTL {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with zero values")
        void testDecodeWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zero values
            byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true);
    
            // Set zero values - for SMB times, 0 in wire format represents 0 in Java time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        // hair space
        assertThat(parse("http://h/\u200a").encodedPath).isEqualTo("/%E2%80%8A")
        // zero-width space
        assertThat(parse("http://h/\u200b").encodedPath).isEqualTo("/%E2%80%8B")
        // zero-width non-joiner
        assertThat(parse("http://h/\u200c").encodedPath).isEqualTo("/%E2%80%8C")
        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size) {
        this(size, 0);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            // observed two zero bytes here with at least win98
            return 2;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return switch (informationLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(1048576L * 8 * 512, fileFsSizeInfo.getCapacity());
                assertEquals(524288L * 8 * 512, fileFsSizeInfo.getFree());
            }
    
            @Test
            @DisplayName("Should decode buffer with zero values")
            void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertTrue(response.getResults()[0] instanceof FileBothDirectoryInfo);
            assertTrue(response.getResults()[1] instanceof FileBothDirectoryInfo);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero buffer length returns one empty result")
        void testReadBytesWireFormatZeroBufferLength() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                response = mock(CommonServerMessageBlock.class);
            }
    
            @Test
            @DisplayName("Should sign data correctly with zero signature field")
            void testSignZeroesSignatureField() {
                // Fill signature field with non-zero values
                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
                    data[SIGNATURE_OFFSET + i] = (byte) 0xFF;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top