Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 975 for writeMsg (0.19 sec)

  1. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBuildOperationIntegrationTest.groovy

            m1.rootMetaData.expectPublish()
    
            succeeds("publish")
    
            then:
            def writes1 = buildOperations.all(ExternalResourceWriteBuildOperationType)
            writes1.size() == 20
            writes1[0].details.location == m1.artifact.uri.toString()
            writes1[0].result.bytesWritten == m1.artifact.file.length()
    
            def reads1 = buildOperations.all(ExternalResourceReadBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/io/multi.go

    }
    
    // MultiWriter creates a writer that duplicates its writes to all the
    // provided writers, similar to the Unix tee(1) command.
    //
    // Each write is written to each listed writer, one at a time.
    // If a listed writer returns an error, that overall write operation
    // stops and returns the error; it does not continue down the list.
    func MultiWriter(writers ...Writer) Writer {
    	allWriters := make([]Writer, 0, len(writers))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    		return bytesWritten, errLessData
    	}
    
    	return bytesWritten, derr
    }
    
    // Heal reads from readers, reconstruct shards and writes the data to the writers.
    func (e Erasure) Heal(ctx context.Context, writers []io.Writer, readers []io.ReaderAt, totalLength int64, prefer []bool) (derr error) {
    	if len(writers) != e.parityBlocks+e.dataBlocks {
    		return errInvalidArgument
    	}
    
    	reader := newParallelReader(readers, e, 0, totalLength)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/runtime/tracetype.go

    	// Insert the pointer to the type itself.
    	id, _ := t.tab.put(noescape(unsafe.Pointer(&typ)), goarch.PtrSize)
    	return id
    }
    
    // dump writes all previously cached types to trace buffers and
    // releases all memory and resets state. It must only be called once the caller
    // can guarantee that there are no more writers to the table.
    func (t *traceTypeTable) dump(gen uintptr) {
    	w := unsafeTraceExpWriter(gen, nil, traceExperimentAllocFree)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. internal/ringbuffer/ring_buffer.go

    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    		r.readCond.Broadcast()
    		r.writeCond.Broadcast()
    	}
    
    	// Unlock the mutex so readers/writers can finish.
    	r.mu.Unlock()
    	r.wg.Wait()
    	r.mu.Lock()
    	r.r = 0
    	r.w = 0
    	r.err = nil
    	r.isFull = false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/net/writev_test.go

    	oldHook := poll.TestHookDidWritev
    	defer func() { poll.TestHookDidWritev = oldHook }()
    	var writeLog struct {
    		sync.Mutex
    		log []int
    	}
    	poll.TestHookDidWritev = func(size int) {
    		writeLog.Lock()
    		writeLog.log = append(writeLog.log, size)
    		writeLog.Unlock()
    	}
    	var want bytes.Buffer
    	for i := 0; i < chunks; i++ {
    		want.WriteByte(byte(i))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. cmd/erasure-encode_test.go

    		closeBitrotWriters(writers)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         */
        OutputStream getOutputStream();
    
        /**
         * Writes a raw byte value to the stream.
         */
        void writeByte(byte value) throws IOException;
    
        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes) throws IOException;
    
        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/mdo/writer.vm

            #if ( ! $def )
                writeTag("$fieldTagName", null, ${classLcapName}.get${fieldCapName}(), serializer);
            #else
                writeTag("$fieldTagName", "${def}", ${classLcapName}.get${fieldCapName}(), serializer);
            #end
          #elseif ( $field.type == "boolean" || $field.type == "Boolean" )
            #if ( ${def} == "true" )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. src/os/exec/internal_test.go

    	tests := []struct {
    		N      int
    		writes []string
    		want   string
    	}{
    		{
    			N:      2,
    			writes: nil,
    			want:   "",
    		},
    		{
    			N:      2,
    			writes: []string{"a"},
    			want:   "a",
    		},
    		{
    			N:      2,
    			writes: []string{"abc", "d"},
    			want:   "abcd",
    		},
    		{
    			N:      2,
    			writes: []string{"abc", "d", "e"},
    			want:   "ab\n... omitting 1 bytes ...\nde",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 14:08:10 UTC 2015
    - 1.2K bytes
    - Viewed (0)
Back to top