Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 975 for writeMsg (0.3 sec)

  1. src/runtime/tracecpu.go

    // has completed and that there are no more writers to it.
    func traceCPUFlush(gen uintptr) {
    	// Flush any remaining trace buffers containing CPU samples.
    	if buf := trace.cpuBuf[gen%2]; buf != nil {
    		systemstack(func() {
    			lock(&trace.lock)
    			traceBufFlush(buf, gen)
    			unlock(&trace.lock)
    			trace.cpuBuf[gen%2] = nil
    		})
    	}
    }
    
    // traceCPUSample writes a CPU profile sample stack to the execution tracer's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/internal/pkgbits/encoder.go

    	w.checkErr(err)
    	return b
    }
    
    // Int64 encodes and writes an int64 value into the element bitstream.
    func (w *Encoder) Int64(x int64) {
    	w.Sync(SyncInt64)
    	w.rawVarint(x)
    }
    
    // Uint64 encodes and writes a uint64 value into the element bitstream.
    func (w *Encoder) Uint64(x uint64) {
    	w.Sync(SyncUint64)
    	w.rawUvarint(x)
    }
    
    // Len encodes and writes a non-negative int value into the element bitstream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/data.go

    	}
    	l := off + int64(siz)
    	s.Grow(l)
    	if l > s.Size {
    		s.Size = l
    	}
    }
    
    // WriteFloat32 writes f into s at offset off.
    func (s *LSym) WriteFloat32(ctxt *Link, off int64, f float32) {
    	s.prepwrite(ctxt, off, 4)
    	ctxt.Arch.ByteOrder.PutUint32(s.P[off:], math.Float32bits(f))
    }
    
    // WriteFloat64 writes f into s at offset off.
    func (s *LSym) WriteFloat64(ctxt *Link, off int64, f float64) {
    	s.prepwrite(ctxt, off, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 14:38:53 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  4. cmd/erasure-heal_test.go

    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "testobject", erasure.ShardFileSize(test.size), test.algorithm, erasure.ShardSize())
    		}
    		_, err = erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. pkg/test/cert/cert.go

    	"os/exec"
    )
    
    // GenerateKey and writes output to keyFile.
    func GenerateKey(keyFile string) error {
    	return openssl("genrsa", "-out", keyFile, "1024")
    }
    
    // GenerateCSR and writes output to csrFile.
    func GenerateCSR(confFile, keyFile, csrFile string) error {
    	return openssl("req", "-new",
    		"-config", confFile,
    		"-key", keyFile,
    		"-out", csrFile)
    }
    
    // GenerateCert and writes output to certFile.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    
    /**
     * Handles serialization of a model into some kind of textual format like XML.
     *
     */
    public interface ModelWriter {
    
        /**
         * Writes the supplied model to the specified file. Any non-existing parent directories of the output file will be
         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/internal/byteorder/byteorder.go

    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    }
    
    func LeUint32(b []byte) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/encoding/csv/writer.go

    	w       *bufio.Writer
    }
    
    // NewWriter returns a new Writer that writes to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		Comma: ',',
    		w:     bufio.NewWriter(w),
    	}
    }
    
    // Write writes a single CSV record to w along with any necessary quoting.
    // A record is a slice of strings with each string being one field.
    // Writes are buffered, so [Writer.Flush] must eventually be called to ensure
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        ((DataOutputStream) out).writeBytes(s);
      }
    
      /**
       * Writes a char as specified by {@link DataOutputStream#writeChar(int)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeChar(int v) throws IOException {
        writeShort(v);
      }
    
      /**
       * Writes a {@code String} as specified by {@link DataOutputStream#writeChars(String)}, except
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy

    """))
        }
    
        def "writes Gradle metadata marker"() {
            given:
            pom.getWriteGradleMetadataMarker().set(markerPresent)
    
            when:
            def pomFile = writePomFile()
    
            then:
            pomFile.text.contains(MetaDataParser.GRADLE_6_METADATA_MARKER) == markerPresent
    
            where:
            markerPresent << [true, false]
        }
    
        def "writes configured coordinates"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top