- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,825 for writeFn (0.05 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// When int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex); // Then assertEquals(2, result); // Verify that search attributes are written correctly int expectedAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY; assertEquals((byte) (expectedAttributes & 0xFF), dst[dstIndex]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; import jcifs.internal.util.SMBUtil; /** * SMB2 RDMA Transform structure for READ/WRITE channel info. * * As per MS-SMB2 2.2.13.1.1 and 2.2.21.1.1 */ public class Smb2RdmaTransform {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
if err == nil || err == io.EOF && n > 0 { d.tracker.logSuccess() } return n, err } func (d *diskHealthWrapper) Write(p []byte) (int, error) { if d.w == nil { return 0, fmt.Errorf("diskHealthWrapper: Write with no writer") } n, err := d.w.Write(p) if err == nil && n == len(p) { d.tracker.logSuccess() } return n, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
internal/ioutil/wait_pipe.go
import ( "io" "sync" ) // PipeWriter is similar to io.PipeWriter with wait group type PipeWriter struct { *io.PipeWriter once sync.Once done func() } // CloseWithError close with supplied error the writer end. func (w *PipeWriter) CloseWithError(err error) error { err = w.PipeWriter.CloseWithError(err) w.once.Do(func() { w.done() }) return err } // PipeReader is similar to io.PipeReader with wait group
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 27 14:55:36 UTC 2023 - 1.7K bytes - Viewed (0) -
internal/s3select/select.go
// make a buffer with a reasonable capacity. return bytes.NewBuffer(make([]byte, 0, maxRecordSize)) }, } var bufioWriterPool = bpool.Pool[*bufio.Writer]{ New: func() *bufio.Writer { // io.Discard is just used to create the writer. Actual destination // writer is set later by Reset() before using it. return bufio.NewWriter(xioutil.Discard) }, } // UnmarshalXML - decodes XML data.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 21.2K bytes - Viewed (0) -
cmd/sftp-server-driver.go
nextOffset int64 m sync.Mutex } func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) { w.m.Lock() defer w.m.Unlock() if w.nextOffset == offset { n, err = w.w.Write(b) w.nextOffset += int64(n) } else { if offset > w.nextOffset+ftpMaxWriteOffset { return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
cmd/xl-storage_noatime_supported.go
) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} return 0; } @Override public void write(final int b) throws SmbException { this.tmp[0] = (byte) b; write(this.tmp, 0, 1); } @Override public void write(final byte b[]) throws SmbException { write(b, 0, b.length); } @Override public void write(final byte b[], int off, int len) throws SmbException { if (len <= 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
/** * Converts a long value to hexadecimal characters and writes them to the specified character array. * * @param val the long value to convert to hexadecimal characters * @param dst the destination character array to write the hex digits into * @param dstIndex the starting index in the destination array * @param size the number of hex digits to write (will be left-padded with zeros) */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen.go
if err != nil { err = msgp.WrapError(err) return } } } return } // EncodeMsg implements msgp.Encodable func (z Details) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 2 // write "LimitInBytesPerSecond" err = en.Append(0x82, 0xb5, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64) if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.4K bytes - Viewed (0)