- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 80 for GetLength (0.06 seconds)
-
docs/smb3-features/03-multi-channel-design.md
private boolean isLargeTransfer(SMBMessage message) { if (message instanceof Smb2ReadRequest) { return ((Smb2ReadRequest)message).getLength() > 1048576; // 1MB } if (message instanceof Smb2WriteRequest) { return ((Smb2WriteRequest)message).getLength() > 1048576; } return false; } private boolean isMetadataOperation(SMBMessage message) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
return null; } @Override public Node item(int index) { return null; } @Override public int getLength() { return items.size(); } @Override public Node getNamedItemNS(String namespaceURI, String localName) { return null; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.advance(10); assertEquals(10, ndrBuffer.getLength()); ndrBuffer.setLength(20); assertEquals(20, ndrBuffer.getLength()); // Test with derived buffer NdrBuffer derived = ndrBuffer.derive(0); derived.setLength(5); assertEquals(5, derived.getLength()); assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
public final int getHeaderStart() { return this.headerStart; } /** * Gets the total length of this message. * * @return the length */ public final int getLength() { return this.length; } @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
/** Returns the unbuffered stream with the value for [index]. */ fun getSource(index: Int): Source = sources[index] /** Returns the byte length of the value for [index]. */ fun getLength(index: Int): Long = lengths[index] override fun close() { for (source in sources) { source.closeQuietly() } } } /** Edits the values for an entry. */Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java
protected List<Element> children(Element element, String childName) { List<Element> matches = new ArrayList<Element>(); NodeList childNodes = element.getChildNodes(); for (int i = 0; i < childNodes.getLength(); i++) { Node node = childNodes.item(i); if (node instanceof Element) { Element childElement = (Element) node; if (childElement.getTagName().equals(childName)) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public final int getByteCount() { return this.byteCount; } /** * Gets the total length of this message block * @return the length */ public final int getLength() { return this.length; } /** * Checks if Unicode encoding is forced for this message * @return the forceUnicode */ public boolean isForceUnicode() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should get length") void testGetLength() { assertEquals(0, testMessage.getLength()); byte[] buffer = new byte[1024]; testMessage.setBytesWritten(20); testMessage.encode(buffer, 0); assertTrue(testMessage.getLength() > 0); } @Test @DisplayName("Should get status") void testGetStatus() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
public static void appendChildren(final NodeList children, final StringBuilder buf) { assertArgumentNotNull("children", children); assertArgumentNotNull("buf", buf); final int length = children.getLength(); for (int i = 0; i < length; ++i) { appendNode(children.item(i), buf); } } /** * Appends the string representation of a {@link NamedNodeMap}. *
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockRequest.getSignSeq()).thenReturn(10); when(mockRequest.getCommand()).thenReturn((int) ServerMessageBlock.SMB_COM_WRITE); when(mockRequest.getLength()).thenReturn(100); // Sign the data signDigest.sign(data, 0, data.length, mockRequest, null); // Create a new digest for verification with same key
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)