Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,607 for writes (0.34 sec)

  1. cmd/metacache-stream_test.go

    "src/compress/lzw/", "src/compress/lzw/reader.go", "src/compress/lzw/reader_test.go", "src/compress/lzw/writer.go", "src/compress/lzw/writer_test.go", "src/compress/testdata/", "src/compress/testdata/e.txt", "src/compress/testdata/gettysburg.txt", "src/compress/testdata/pi.txt", "src/compress/zlib/", "src/compress/zlib/example_test.go", "src/compress/zlib/reader.go", "src/compress/zlib/reader_test.go", "src/compress/zlib/writer.go", "src/compress/zlib/writer_test.go"}
    
    func loadMetacacheSample(t testing.TB)...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

            pipe.close();
        }
    
        @Override
        public void write(final int b) throws IOException {
            tmp[0] = (byte) b;
            write(tmp, 0, 1);
        }
    
        @Override
        public void write(final byte[] b) throws IOException {
            write(b, 0, b.length);
        }
    
        @Override
        public void write(final byte[] b, final int off, int len) throws IOException {
            if (len < 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/WriterUtil.java

    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link Writer} operations.
     *
     * @author koichik
     */
    public abstract class WriterUtil {
    
        /**
         * Do not instantiate.
         */
        protected WriterUtil() {
        }
    
        /**
         * Creates a {@link Writer} to output to a stream with the specified encoding.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. utils/tests/dummy_dialecter.go

    	return clause.Expr{SQL: "DEFAULT"}
    }
    
    func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator {
    	return nil
    }
    
    func (DummyDialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) {
    	writer.WriteByte('?')
    }
    
    func (DummyDialector) QuoteTo(writer clause.Writer, str string) {
    	var (
    		underQuoted, selfQuoted bool
    		continuousBacktick      int8
    		shiftDelimiter          int8
    	)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @DisplayName("Should write zero bytes at various offsets")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbFileHandle.java

         *
         * @return whether the file descriptor is valid
         */
        boolean isValid();
    
        /**
         * Closes this file handle and optionally sets the last write time
         *
         * @param lastWriteTime the last write time to set, or 0 to leave unchanged
         * @throws CIFSException if an error occurs while closing the file
         */
        void close(long lastWriteTime) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8064".decodeHex()).write(bytes, 100, 100)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun twoFrameNotContinuation() {
        val bytes = binaryData(200)
        data.write("0264".decodeHex()).write(bytes, 0, 100)
        data.write("8264".decodeHex()).write(bytes, 100, 100)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            int pos = 8; // Position where content should be written
            int off = 0; // Offset where position should be written
    
            // Test with non-null source array
            int bytesWritten = NtlmMessage.writeSecurityBufferContent(dest, pos, off, src);
            assertEquals(src.length, bytesWritten, "Should return correct number of bytes written.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt4(52, dst, dstIndex); // DataLength
            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write lease V2 data (52 bytes total)
            leaseKey.encode(dst, dstIndex); // LeaseKey (16 bytes)
            dstIndex += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top