- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,837 for LENGTH (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
requireNonNull(str, "str"); final int length = str.length(); if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && str.substring(1, length - 1).indexOf('"') == -1) { str = str.substring(1, length - 1); } return str; } @Nonnull
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
} /** * Shortens the last frame from its original length to `length`. This will cause the peer to * close the socket as soon as this frame has been written; otherwise the peer stays open until * explicitly closed. */ fun truncateLastFrame(length: Int): Http2Writer { val lastFrame = outFrames.removeAt(outFrames.size - 1) require(length < bytesOut.size - lastFrame.start)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
} @Test @DisplayName("accept: length-based filter evaluates negative/zero/positive sizes") void accept_lengthBasedFilter_handlesNumericEdges() throws Exception { // Arrange: filter that accepts only strictly positive length SmbFileFilter filter = f -> f.length() > 0; // negative size -> reject when(smbFile.length()).thenReturn(-1L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertEquals("Default groups should be empty", 0, getDefaultGroups().length); assertEquals("Default payload should be empty", 0, getDefaultPayload().length); assertEquals("Default minKey should be empty", StringUtil.EMPTY, getDefaultMinKey()); assertEquals("Default maxKey should be empty", StringUtil.EMPTY, getDefaultMaxKey());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* @param length the number of bytes to dump from the source array */ public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) { if (length == 0) { return; } final int s = length % 16; final int r = s == 0 ? length / 16 : length / 16 + 1; final char[] c = new char[r * (74 + NL_LENGTH)];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
@Test fun serverSmallBufferedPayloadWrittenAsOneFrame() { val length = 5 val payload: ByteString = (binaryData(length)) serverWriter.writeMessageFrame(OPCODE_TEXT, payload) assertData("8105") assertData(payload) } @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() { val length = 12345 val payload: ByteString = (binaryData(length)) serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbRandomAccess.java
*/ void seek(long pos); /** * Get the current file length * * @return file length * @throws SmbException if an I/O error occurs */ long length() throws SmbException; /** * Expand/truncate file length * * @param newLength * new file length * @throws SmbException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
* - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */ private static byte[] messageHeader(int length) { byte[] h = new byte[4]; h[0] = (byte) SessionServicePacket.SESSION_MESSAGE; h[1] = (byte) ((length >> 16) & 0x01); h[2] = (byte) ((length >> 8) & 0xFF); h[3] = (byte) (length & 0xFF); return h; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
return delegate.order(insertionOrder); } @Override public K[] createKeyArray(int length) { return delegate.createKeyArray(length); } @Override public V[] createValueArray(int length) { return delegate.createValueArray(length); } @Override public SampleElements<Entry<K, V>> samples() { return delegate.samples(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
int result = response.readSetupWireFormat(buffer, 0, buffer.length); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat reads length correctly") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)