Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,422 for WRITE (0.39 sec)

  1. src/archive/tar/writer.go

    		return "", "", false
    	}
    	return name[:i], name[i+1:], true
    }
    
    // Write writes to the current file in the tar archive.
    // Write returns the error [ErrWriteTooLong] if more than
    // Header.Size bytes are written after [Writer.WriteHeader].
    //
    // Calling Write on special types like [TypeLink], [TypeSymlink], [TypeChar],
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. cmd/batch-handlers_gen.go

    	err = en.Append(0xa3, 0x66, 0x6c, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Failed)
    	if err != nil {
    		err = msgp.WrapError(err, "Failed")
    		return
    	}
    	// write "lbkt"
    	err = en.Append(0xa4, 0x6c, 0x62, 0x6b, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    	// write "lobj"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

         *
         * @param b the byte array containing the data to write
         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt());
            doNothing().when(raf).writeShort(anyInt());
    
            raf.writeUTF("é"); // 2-byte UTF-8 char
    
            // size prefix should be 2, and then write called with len=2
            verify(raf).writeShort(eq(2));
            verify(raf).write(any(byte[].class), eq(0), eq(2));
        }
    
        @Test
        @DisplayName("write(byte[],off,0): returns without I/O")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

            object : ForwardingSink(sink) {
              private var totalBytesWritten: Long = 0
              private var completed = false
    
              override fun write(
                source: Buffer,
                byteCount: Long,
              ) {
                super.write(source, byteCount)
                totalBytesWritten += byteCount
                progressListener.update(totalBytesWritten, contentLength(), completed)
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

        }
    
        @Override
        public void rdmaWrite(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException {
            // TCP fallback doesn't support real RDMA write
            throw new UnsupportedOperationException("RDMA write not supported by TCP fallback");
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * Pipe instance although this is not a requirement (e.g. a
         * read-only named pipe would write data to this stream on
         * connection). Reading from this stream may block. Therefore it
         * may be necessary that an addition thread be used to read and
         * write to a Named Pipe.
         * @return the input stream for reading from this pipe
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            assertNotNull(lockResponse);
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should always return 0 for write bytes")
            void testWriteBytesWireFormat() {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 0;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        // Write the first headers frame.
        writeMedium(frame, (headerBlock.size / 2).toInt() + paddingLength + 1)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_PADDED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(headerBlock, headerBlock.size / 2)
        frame.write(padding)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ACETest.java

                // Write permissions
                int writeOnly = ACE.FILE_WRITE_DATA | ACE.FILE_APPEND_DATA | ACE.FILE_WRITE_ATTRIBUTES | ACE.FILE_WRITE_EA;
                assertTrue((writeOnly & ACE.FILE_WRITE_DATA) != 0, "Write should include FILE_WRITE_DATA");
                assertTrue((writeOnly & ACE.FILE_APPEND_DATA) != 0, "Write should include FILE_APPEND_DATA");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top