Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 29 of 29 for WriteBytes (0.06 seconds)

  1. cmd/mrf_gen.go

    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	// write "Versions"
    	err = en.Append(0xa8, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.Versions)
    	if err != nil {
    		err = msgp.WrapError(err, "Versions")
    		return
    	}
    	// write "SetIndex"
    	err = en.Append(0xa8, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78)
    	if err != nil {
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        @Override
        public final void writeDouble(final double v) throws SmbException {
            Encdec.enc_doublebe(v, tmp, 0);
            write(tmp, 0, 8);
        }
    
        @Override
        public final void writeBytes(final String s) throws SmbException {
            final byte[] b = s.getBytes();
            write(b, 0, b.length);
        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

         *
         * @param pathname
         *            The path to the file.
         * @param bytes
         *            The byte array to write.
         */
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/ByteStreams.java

          try {
            output.writeByte(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeBytes(String s) {
          try {
            output.writeBytes(s);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeChar(int v) {
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        @Override
        public final void writeDouble(final double v) throws SmbException {
            Encdec.enc_doublebe(v, this.tmp, 0);
            write(this.tmp, 0, 8);
        }
    
        @Override
        public final void writeBytes(final String s) throws SmbException {
            final byte[] b = s.getBytes();
            write(b, 0, b.length);
        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v1_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Algorithm")
    		return
    	}
    	// write "Hash"
    	err = en.Append(0xa4, 0x48, 0x61, 0x73, 0x68)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.Hash)
    	if err != nil {
    		err = msgp.WrapError(err, "Hash")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *ChecksumInfo) MarshalMsg(b []byte) (o []byte, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  7. src/bufio/bufio_test.go

    	}
    }
    
    type readFromWriter struct {
    	buf           []byte
    	writeBytes    int
    	readFromBytes int
    }
    
    func (w *readFromWriter) Write(p []byte) (int, error) {
    	w.buf = append(w.buf, p...)
    	w.writeBytes += len(p)
    	return len(p), nil
    }
    
    func (w *readFromWriter) ReadFrom(r io.Reader) (int64, error) {
    	b, err := io.ReadAll(r)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  8. cmd/metrics-v2.go

    				MetricV2{
    					Description: getMinioProcessIOReadBytesMD(),
    					Value:       float64(io.ReadBytes),
    				})
    		}
    
    		if io.WriteBytes > 0 {
    			metrics = append(metrics,
    				MetricV2{
    					Description: getMinioProcessIOWriteBytesMD(),
    					Value:       float64(io.WriteBytes),
    				})
    		}
    
    		if io.RChar > 0 {
    			metrics = append(metrics,
    				MetricV2{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  9. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if z.Data == nil { // allownil: if nil
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteBytes(z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    	}
    	err = en.WriteInt(z.NumVersions)
    	if err != nil {
    		err = msgp.WrapError(err, "NumVersions")
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 151.7K bytes
    - Click Count (0)
Back to Top