Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,697 for LENGTH (0.25 sec)

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

          ensureRoomFor(values.length());
          System.arraycopy(values.array, values.start, array, count, values.length());
          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
            source.skip(length.toLong())
            length = source.readByte().toInt()
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

                    + (challengeBytes == null ? "null" : "<" + challengeBytes.length + " bytes>") + ",context="
                    + (contextBytes == null ? "null" : "<" + contextBytes.length + " bytes>") + ",targetInformation="
                    + (targetInformationBytes == null ? "null" : "<" + targetInformationBytes.length + " bytes>") + ",flags=0x"
                    + jcifs.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                assertNotNull(utf16Bytes, "UTF-16LE bytes should not be null");
                assertTrue(utf8Bytes.length > 0, "UTF-8 bytes should not be empty");
                assertTrue(utf16Bytes.length > 0, "UTF-16LE bytes should not be empty");
                assertNotEquals(utf8Bytes.length, utf16Bytes.length, "Different encodings should produce different lengths");
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                    offset += name.length;
                }
    
                // Write data if present
                if (data != null && data.length > 0) {
                    System.arraycopy(data, 0, dst, offset, data.length);
                    offset += data.length;
                }
    
                // Pad to 8-byte boundary
                while ((offset - dstIndex) % 8 != 0) {
                    dst[offset++] = 0;
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should handle negative length in verify method")
            void testVerifyNegativeLength() {
                byte[] data = new byte[128];
                boolean result = digest.verify(data, 0, -1, 0, response);
                assertFalse(result, "Should return false for negative length");
            }
    
            @Test
            @DisplayName("Should handle offset+length exceeding buffer size in verify method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            byte[] buffer = new byte[10 + paramBytes.length + dataLen];
            // copy params
            System.arraycopy(paramBytes, 0, buffer, 10, paramBytes.length);
            // copy data
            System.arraycopy(dataBytes, 0, buffer, 10 + paramBytes.length, Math.min(dataBytes.length, dataLen));
            return buffer;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            System.arraycopy(sourceData, 0, buffer, 10, sourceData.length);
    
            // Execute
            int result = response.readDataWireFormat(buffer, 10, sourceData.length);
    
            // Verify
            assertEquals(sourceData.length, result);
            // Check that data was copied to output buffer
            for (int i = 0; i < sourceData.length; i++) {
                assertEquals(sourceData[i], outputBuffer[i]);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacMacTest.java

            byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA);
            assertNotNull(mac);
            assertEquals(16, mac.length);
    
            // Test with a different key usage
            byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA);
            assertNotNull(mac2);
            assertEquals(16, mac2.length);
    
            // Test with another key usage
            byte[] mac3 = PacMac.calculateMacArcfourHMACMD5(23, key, TEST_DATA);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @param length maximum length to receive
         * @return number of bytes received
         * @throws IOException if an I/O error occurs
         */
        int recv(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Send data to the pipe
         *
         * @param buf buffer containing data to send
         * @param off offset in the buffer
         * @param length length of data to send
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top