Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,692 for writeFn (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/TestCharSink.java

        return byteSink.wasStreamClosed();
      }
    
      @Override
      public Writer openStream() throws IOException {
        // using TestByteSink's output stream to get option behavior, so flush to it on every write
        return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) {
          @Override
          public void write(int c) throws IOException {
            super.write(c);
            flush();
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

     * writes to and reads from an existing pipe descriptor in one operation.
     * <li><code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     * be opened, written to, read from and closed using the standard Win32
     * file operations.
     * </ul>
     *
     * <p>
     * The jCIFS API maps all of these operations into the standard Java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

                    .build());
        }
    
        default void write(@Nonnull T content, @Nonnull Writer writer) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).writer(writer).build());
        }
    
        void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException;
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/HashingOutputStream.java

      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    func (z *CheckPartsResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 1
    	// write "r"
    	err = en.Append(0x81, 0xa1, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Results)))
    	if err != nil {
    		err = msgp.WrapError(err, "Results")
    		return
    	}
    	for za0001 := range z.Results {
    		err = en.WriteInt(z.Results[za0001])
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 152K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

            // Add RDMA read channel info
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getRemoteKey());
            written += 4;
            writeInt8(dst, dstIndex + written, rdmaChannelInfo.getAddress());
            written += 8;
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getLength());
            written += 4;
        }
        
        return written;
    }
    
    public static class RdmaChannelInfo {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. docs/distributed/SIZING.md

    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

         *
         * @return the count of bytes written
         */
        public final long getCount() {
            return this.count;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
            return len;
        }
    
        /**
         * Writes the AndX wire format to buffer
         * @param dst the destination buffer
         * @param dstIndex the starting index
         * @return the number of bytes written
         */
        protected int writeAndXWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. cmd/metacache-walk_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "ForwardTo")
    		return
    	}
    	// write "Limit"
    	err = en.Append(0xa5, 0x4c, 0x69, 0x6d, 0x69, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Limit)
    	if err != nil {
    		err = msgp.WrapError(err, "Limit")
    		return
    	}
    	// write "DiskID"
    	err = en.Append(0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top