Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 773 for zeros (0.49 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          ) {
            exchange.noNewExchangesOnConnection()
          }
          if ((code == 204 || code == 205) && response.body.contentLength() > 0L) {
            throw ProtocolException(
              "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}",
            )
          }
          return response
        } catch (e: IOException) {
          if (sendRequestException != null) {
            sendRequestException.addSuppressed(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacTest.java

            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
            // Test PAC with zero buffers (missing required buffers)
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // bufferCount = 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            SMBUtil.writeInt4(maxReceiveSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxFragmentedSize, data, idx);
            idx += 4;
    
            // Reserved fields (8 bytes)
            // Already zero-initialized
    
            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Future}.
       *
       * <p>Usage example:
       *
       * {@snippet :
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MoreCollectors.java

              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "elementum ullamcorper mattis viverra, dictum sit amet lacus.\n"
              + "\n"
              + "Nunc quis lacus est. Sed aliquam pretium cursus. Sed eu libero eros. In hac habitasse "
              + "platea dictumst. Pellentesque molestie, nibh nec iaculis luctus, justo sem lobortis "
              + "enim, at feugiat leo magna nec libero. Mauris quis odio eget nisl rutrum cursus nec "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsNotZero() {
            // Test case when bufDataStart is not 0.
            response.bufDataStart = 50; // Initial non-zero value
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Transport.java

            }
    
            if (usage == 0) {
                if (log.isTraceEnabled()) {
                    log.trace("Transport usage dropped to zero " + this);
                }
            } else if (usage < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

            } else {
                SMBUtil.writeInt2(0, dst, dstIndex);
                SMBUtil.writeInt2(0, dst, dstIndex + 2);
                dstIndex += 4;
            }
    
            // one byte in buffer must be zero
            dst[dstIndex] = 0;
            dstIndex += 1;
    
            // Write SMB2_RDMA_TRANSFORM if using RDMA channel
            if (rdmaChannelInfo != null && channel == Smb2Constants.SMB2_CHANNEL_RDMA_V1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top