- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,922 for LENGTH (0.09 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java
String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Collection<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); int defaultType = 99; writeLittleEndianInt(baos, defaultType); byte[] checksum = new byte[10]; // Arbitrary length for (int i = 0; i < checksum.length; i++) { checksum[i] = (byte) i; } baos.write(checksum); byte[] data = baos.toByteArray(); // Create PacSignature
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// When String[] messages = NtStatus.NT_STATUS_MESSAGES; // Then assertNotNull(messages); assertTrue(messages.length > 0); // Should have same length as codes array assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length); // First message should be for success assertNotNull(messages[0]);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
buf.enc_ndr_small(2); // ptype = 2 (Response) buf.enc_ndr_small(0); // flags buf.enc_ndr_long(0x00000010); // data representation buf.enc_ndr_short(20); // length buf.enc_ndr_short(0); // auth length buf.enc_ndr_long(0); // call_id // Response body buf.enc_ndr_long(4); // alloc_hint buf.enc_ndr_short(0); // context_id
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
*/ public int writeWireFormat(final byte[] dst, final int dstIndex) { length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH); writeHeaderWireFormat(dst, dstIndex); return HEADER_LENGTH + length; } int readWireFormat(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException { readHeaderWireFormat(in, buffer, bufferIndex);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
byte[] domainBytes = null; if (domainName != null && domainName.length() != 0) { domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp); size += domainBytes.length; } final String userName = getUser(); byte[] userBytes = null; if (userName != null && userName.length() != 0) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
final byte[] lmResponse = getLMResponse(); final int lmLength = lmResponse != null ? lmResponse.length : 0; final byte[] ntResponse = getNTResponse(); final int ntLength = ntResponse != null ? ntResponse.length : 0; final byte[] sessionKey = getSessionKey(); final int keyLength = sessionKey != null ? sessionKey.length : 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
final int startPos = prefix.length(); for (final JarEntry entry : iterable(jarFile.entries())) { final String entryName = entry.getName().replace('\\', '/'); if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) { final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(32 + expectedBytes.length, bytesWritten); // Verify filename length in header int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8); assertEquals(expectedBytes.length, fnLength); } @Test @DisplayName("Test with empty filename")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0)