Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 242 for writelns (0.14 sec)

  1. src/mime/quotedprintable/writer.go

    type Writer struct {
    	// Binary mode treats the writer's input as pure binary and processes end of
    	// line bytes as binary data.
    	Binary bool
    
    	w    io.Writer
    	i    int
    	line [78]byte
    	cr   bool
    }
    
    // NewWriter returns a new [Writer] that writes to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{w: w}
    }
    
    // Write encodes p using quoted-printable encoding and writes it to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

            expect:
            encoder.writePosition == 0
    
            when:
            encoder.writeBoolean(true)
            encoder.writeByte(12 as byte)
            encoder.writeLong(1234)
    
            then:
            encoder.writePosition == 10
            outstr.size() == 0
    
            when:
            encoder.flush()
    
            then:
            encoder.writePosition == 10
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/internal/coverage/stringtab/stringtab.go

    	stw.tmp = make([]byte, 64)
    }
    
    // Nentries returns the number of strings interned so far.
    func (stw *Writer) Nentries() uint32 {
    	return uint32(len(stw.strs))
    }
    
    // Lookup looks up string 's' in the writer's table, adding
    // a new entry if need be, and returning an index into the table.
    func (stw *Writer) Lookup(s string) uint32 {
    	if idx, ok := stw.stab[s]; ok {
    		return idx
    	}
    	if stw.frozen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    	}
    	// write "ra"
    	err = en.Append(0xa2, 0x72, 0x61)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.RetryAttempts)
    	if err != nil {
    		err = msgp.WrapError(err, "RetryAttempts")
    		return
    	}
    	// write "at"
    	err = en.Append(0xa2, 0x61, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Attempts)
    	if err != nil {
    		err = msgp.WrapError(err, "Attempts")
    		return
    	}
    	// write "cmp"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/image/jpeg/writer.go

    //     should be 0x00, 0x3f, 0x00<<4 | 0x00.
    var sosHeaderYCbCr = []byte{
    	0xff, 0xda, 0x00, 0x0c, 0x03, 0x01, 0x00, 0x02,
    	0x11, 0x03, 0x11, 0x00, 0x3f, 0x00,
    }
    
    // writeSOS writes the StartOfScan marker.
    func (e *encoder) writeSOS(m image.Image) {
    	switch m.(type) {
    	case *image.Gray:
    		e.write(sosHeaderY)
    	default:
    		e.write(sosHeaderYCbCr)
    	}
    	var (
    		// Scratch buffers to hold the YCbCr values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    			defer grid.PutByteBuffer(buf)
    			writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    		}
    	}
    
    	n, erasureErr := erasure.Encode(ctx, data, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, minioMetaBucket, key)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. internal/disk/stat_linux.go

    	}
    	// refer https://www.kernel.org/doc/Documentation/block/stat.txt
    	iostats = IOStats{
    		ReadIOs:      stats[0],
    		ReadMerges:   stats[1],
    		ReadSectors:  stats[2],
    		ReadTicks:    stats[3],
    		WriteIOs:     stats[4],
    		WriteMerges:  stats[5],
    		WriteSectors: stats[6],
    		WriteTicks:   stats[7],
    		CurrentIOs:   stats[8],
    		TotalTicks:   stats[9],
    		ReqTicks:     stats[10],
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LongAdder.java

      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
        busy = 0;
        cells = null;
        base = s.readLong();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/LongAdder.java

      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
        busy = 0;
        cells = null;
        base = s.readLong();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top