- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for writeLine (0.18 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
// ensure file is open if (!file.isOpen()) { file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options); } int w; do { w = len > writeSize ? writeSize : len; file.send(new SmbComWriteAndX(file.fid, fp, len - w, b, off, w, null), write_andx_resp); fp += write_andx_resp.count; len -= write_andx_resp.count;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} // ensure file is open try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) { int w; do { w = len > this.writeSize ? this.writeSize : len; long cnt; if (th.isSMB2()) { final Smb2WriteRequest request = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* the operating system's default line separator. This method is equivalent to {@code * writeLines(lines, System.getProperty("line.separator"))}. * * @throws IOException if an I/O error occurs while writing to this sink */ public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { writeLines(lines, System.getProperty("line.separator")); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
long maxTime = System.currentTimeMillis() + 1000000000000L; SMBUtil.writeTime(maxTime, buffer, 8); // creationTime SMBUtil.writeTime(maxTime, buffer, 16); // lastAccessTime SMBUtil.writeTime(maxTime, buffer, 24); // lastWriteTime SMBUtil.writeTime(maxTime, buffer, 32); // changeTime SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
dos.writeInt(Integer.reverseBytes(3)); // 3 buffers dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION)); // Write buffer entries dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO)); dos.writeInt(Integer.reverseBytes(10)); dos.writeLong(Long.reverseBytes(100));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Use SMBUtil to properly encode times in Windows FILETIME format SMBUtil.writeTime(TEST_CREATE_TIME, buffer, bufferIndex); SMBUtil.writeTime(TEST_LAST_ACCESS_TIME, buffer, bufferIndex + 8); SMBUtil.writeTime(TEST_LAST_WRITE_TIME, buffer, bufferIndex + 16); SMBUtil.writeTime(TEST_CHANGE_TIME, buffer, bufferIndex + 24); SMBUtil.writeInt4(TEST_ATTRIBUTES, buffer, bufferIndex + 32);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
final int start = dstIndex; SMBUtil.writeTime(this.createTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.changeTime, dst, dstIndex); dstIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/os-readdir_test.go
if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue") if err := os.WriteFile(file, []byte(""), 0o644); err != nil { t.Fatal(err) } defer os.RemoveAll(file) // Check if file is given. if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
final int sendBufferSize = th.getSendBufferSize(); if (this.smb2) { this.writeSize = sendBufferSize; this.writeSizeFile = sendBufferSize; return; } this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); /* in case we close and reopen */ this.writeSize = sendBufferSize - 70; this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
// Multiple dynamic table size updates! writeInt(smallestHeaderTableSizeSetting, PREFIX_5_BITS, 0x20) } emitDynamicTableSizeUpdate = false smallestHeaderTableSizeSetting = Integer.MAX_VALUE writeInt(maxDynamicTableByteCount, PREFIX_5_BITS, 0x20) } for (i in 0 until headerBlock.size) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0)