- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 115 for setLength (0.09 seconds)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
int calculatedLength = testEncodedLength; setLength(calculatedLength); // Now call the ServerMessageBlock2Request's encode which will do the validation int exp = size(); int actual = getLength(); if (exp != actual) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/SmbRandomAccess.java
/** * Expand/truncate file length * * @param newLength * new file length * @throws SmbException if an I/O error occurs */ void setLength(long newLength) throws SmbException;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/smb/SmbRandomAccessFileTest.java
when(tree.send(any(jcifs.internal.Request.class), any(RequestParam.class))).thenReturn(null); raf.setLength(100L); verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY)); } @Test @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation") void setLength_ntsmbs_usesTrans2() throws Exception {
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) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
*/ public int getLength() { return length; } /** * Sets the total length of the notification response. * * @param length the length in bytes of the entire notification response */ public void setLength(int length) { this.length = length; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL) private interface NativeArray { @JsProperty void setLength(int length); } static MapMaker tryWeakKeys(MapMaker mapMaker) { return mapMaker; } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
} /** * Set the buffer length. * * @param length the new length * @return the current builder */ MessageBuilder setLength(int length); /** * Return the built message. * * @return the message */ @Nonnull String build();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* Returns the length of data in the buffer. * * @return the data length */ public int getLength() { return deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { deferred.length = length; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
* Returns the length of data in the buffer. * * @return the data length */ public int getLength() { return this.deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { this.deferred.length = length; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0)