Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,106 for writes (4.7 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializerTest.groovy

        def serializer = new FileCollectionFingerprintSerializer(stringInterner)
    
        def "reads and writes empty fingerprints"() {
            when:
            def out = serialize(FileCollectionFingerprint.EMPTY, serializer)
    
            then:
            out == FileCollectionFingerprint.EMPTY
        }
    
        def "reads and writes fingerprints"() {
            def hash = TestHashCodes.hashCodeFrom(1234)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/runtime/tracebuf.go

    // we can change it if it's deemed too error-prone.
    type traceWriter struct {
    	traceLocker
    	*traceBuf
    }
    
    // write returns an a traceWriter that writes into the current M's stream.
    func (tl traceLocker) writer() traceWriter {
    	return traceWriter{traceLocker: tl, traceBuf: tl.mp.trace.buf[tl.gen%2]}
    }
    
    // unsafeTraceWriter produces a traceWriter that doesn't lock the trace.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy

            then:
            1 * writer.onOutput(3, 1, new DefaultTestOutputEvent(StdErr, "err-1"))
            1 * writer.onOutput(3, 2, new DefaultTestOutputEvent(StdOut, "out-2"))
            1 * writer.onOutput(3, 1, new DefaultTestOutputEvent(StdOut, "out-1"))
            0 * writer._
        }
    
        def "writes test outputs for class"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build linux && gc && 386
    
    package unix
    
    import "syscall"
    
    // Underlying system call writes to newoffset via pointer.
    // Implemented in assembly to avoid allocation.
    func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 585 bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheStateStore.kt

        /**
         * Writes some value to zero or more state files.
         */
        fun <T> useForStore(action: (ConfigurationCacheRepository.Layout) -> T): T
    
        /**
         * Creates a new [ValueStore] that can be used to load and store multiple values.
         */
        fun <T> createValueStore(
            stateType: StateType,
            writer: ValueStore.Writer<T>,
            reader: ValueStore.Reader<T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheEntryWriter.java

    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * Writer to serialize a build cache entry.
     *
     * @since 3.3
     */
    public interface BuildCacheEntryWriter {
        /**
         * Writes a build cache entry to the given stream.
         * <p>
         * The given output stream will be closed by this method.
         *
         * @param output output stream to write build cache entry to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/ValueStore.java

    public interface ValueStore<T> {
        /**
         * Writes the given value and returns an address for the written block.
         * The current thread performs the encoding. The implementation may perform some buffering and this may not necessarily be
         * flushed to the filesystem on completion of this method.
         */
        BlockAddress write(T value);
    
        /**
         * Reads the contents of the given block.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/runtime/map_fast64.go

    				// Copy key.
    				if t.Key.Pointers() && writeBarrier.enabled {
    					if goarch.PtrSize == 8 {
    						// Write with a write barrier.
    						*(*unsafe.Pointer)(dst.k) = *(*unsafe.Pointer)(k)
    					} else {
    						// There are three ways to squeeze at least one 32 bit pointer into 64 bits.
    						// Give up and call typedmemmove.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy

            when:
            def writer = output.writer()
            writer.onOutput(1, output(StdOut, "[out-1]"))
            writer.onOutput(1, 1, output(StdOut, "[out-2]"))
            writer.onOutput(1, output(StdErr, "[out-3]"))
            writer.onOutput(1, output(StdErr, "[out-4]"))
            writer.onOutput(1, output(StdOut, "[out-5]"))
            writer.onOutput(1, 2, output(StdOut, "[out-6]"))
            writer.onOutput(2, output(StdOut, "[out-6]"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportWriter.kt

    import java.io.Writer
    
    
    /**
     * Writes the configuration cache html report.
     *
     * The report is laid out in such a way as to allow extracting the pure JSON model
     * by looking for the `// begin-report-data` and `// end-report-data` markers.
     */
    internal
    class HtmlReportWriter(val writer: Writer) {
    
        private
        val jsonModelWriter = JsonModelWriter(writer)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top