- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,652 for writeFn (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); cmd = new SmbComQueryInformation(mockConfig, "testfile.txt"); } @Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException { byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
internal/http/headers.go
MinIOSourceMTime = "x-minio-source-mtime" // Header indicates if the etag should be preserved by client MinIOSourceETag = "x-minio-source-etag" // Writes expected write quorum MinIOWriteQuorum = "x-minio-write-quorum" // Reads expected read quorum MinIOReadQuorum = "x-minio-read-quorum" // Indicates if we are using default storage class and there was problem loading config
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Encode the full message to set headerStart request.encode(buffer, headerStart); // Then - verify the body was written correctly byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE); // Verify structure size (9) assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset)); // Verify tree flags (0)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
byte[] dst = new byte[100]; int dstIndex = 10; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, dstIndex); // Verify bytes written assertEquals(8, bytesWritten); // Verify FID (2 bytes) assertEquals(fid, SMBUtil.readInt2(dst, dstIndex)); // Verify reserved bytes (2 bytes at positions 2-3)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
void testRealWorldValues() throws SMBProtocolDecodingException { // Typical server response after copying chunks byte[] buffer = createValidCopyChunkResponse(16, // 16 chunks written 1048576, // 1MB per chunk 16777216 // 16MB total ); int bytesDecoded = response.decode(buffer, 0, buffer.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
// Check that bytes before startIndex are unchanged for (int i = 0; i < startIndex; i++) { assertEquals((byte) (i & 0xFF), dst[i]); } // Check that bytes after written area are unchanged for (int i = startIndex + bytesWritten; i < dst.length; i++) { assertEquals((byte) (i & 0xFF), dst[i]); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} if ((msg.flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG) { return off; } // all fragment but the last get written using read/write semantics doSendFragment(out, off, msg.length); off += fragSize; } throw new IOException(); } /** * @param msg * @param inCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
cmd/tier_gen.go
if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z *TierConfigMgr) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 1 // write "Tiers" err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73) if err != nil { return } err = en.WriteMapHeader(uint32(len(z.Tiers))) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
} finally { lock.writeLock().unlock(); } } private void flushCachedWrites(String path) { // Implementation to flush cached writes // This will be called when losing write cache } private void invalidateReadCache(String path) { // Implementation to invalidate read cache // This will be called when losing read cache } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0)