Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,997 for write0 (0.11 sec)

  1. src/internal/pkgbits/encoder.go

    // higher-level Unified IR reader/writer code. If syncFrames is
    // negative, then sync markers are omitted entirely.
    func NewPkgEncoder(syncFrames int) PkgEncoder {
    	return PkgEncoder{
    		stringsIdx: make(map[string]Index),
    		syncFrames: syncFrames,
    	}
    }
    
    // DumpTo writes the package's encoded data to out0 and returns the
    // package fingerprint.
    func (pw *PkgEncoder) DumpTo(out0 io.Writer) (fingerprint [8]byte) {
    	h := md5.New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/help/help.go

    			c.wroteSlashes = true
    		}
    		n0, err := c.W.Write(p[i : i+1])
    		n += n0
    		if err != nil {
    			return n, err
    		}
    		if b == '\n' {
    			c.wroteSlashes = false
    		}
    	}
    	return len(p), nil
    }
    
    // An errWriter wraps a writer, recording whether a write error occurred.
    type errWriter struct {
    	w   io.Writer
    	err error
    }
    
    func (w *errWriter) Write(b []byte) (int, error) {
    	n, err := w.w.Write(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/internal/coverage/encodecounter/encode.go

    // coverage counter data.
    type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error
    
    // Write writes the contents of the count-data file to the writer
    // previously supplied to NewCoverageDataWriter. Returns an error
    // if something went wrong somewhere with the write.
    func (cfw *CoverageDataWriter) Write(metaFileHash [16]byte, args map[string]string, visitor CounterVisitor) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

       * @since 15.0 (in 14.0 with return type {@link BufferedWriter})
       */
      public Writer openBufferedStream() throws IOException {
        Writer writer = openStream();
        return (writer instanceof BufferedWriter)
            ? (BufferedWriter) writer
            : new BufferedWriter(writer);
      }
    
      /**
       * Writes the given character sequence to this sink.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof.go

    	p.mu.Lock()
    	defer p.mu.Unlock()
    	delete(p.m, value)
    }
    
    // WriteTo writes a pprof-formatted snapshot of the profile to w.
    // If a write to w returns an error, WriteTo returns that error.
    // Otherwise, WriteTo returns nil.
    //
    // The debug parameter enables additional output.
    // Passing debug=0 writes the gzip-compressed protocol buffer described
    // in https://github.com/google/pprof/tree/main/proto#overview.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/types/InstrumentedTypesResourceGenerator.java

                @Override
                public void write(OutputStream outputStream) {
                    String types = filteredRequests.stream()
                        .map(request -> request.getInterceptedCallable().getOwner().getType().getClassName().replace(".", "/"))
                        .distinct()
                        .sorted()
                        .collect(Collectors.joining("\n"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/runtime/profbuf.go

    //
    // If the writer gets ahead of the reader, so that the buffer fills,
    // future writes are discarded and replaced in the output stream by an
    // overflow entry, which has size 2+hdrsize+1, time set to the time of
    // the first discarded write, a header of all zeroed words, and a "stack"
    // containing one word, the number of discarded writes.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    	}
    	result := writer.write(newRecordsMessage(writer.payloadBuffer[0:writer.payloadBufferIndex]))
    	if result {
    		atomic.AddInt64(&writer.bytesReturned, int64(writer.payloadBufferIndex))
    		writer.payloadBufferIndex = 0
    	}
    	return result
    }
    
    // Finish is the last call to the message writer - it sends any
    // remaining record payload, then sends statistics and finally the end
    // message.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/cover.go

    	dir := filepath.Dir(mf)
    	output, cerr := b.CovData(runAct, "percent", "-i", dir)
    	if cerr != nil {
    		return b.Shell(runAct).reportCmd("", "", output, cerr)
    	}
    	_, werr := w.Write(output)
    	return werr
    }
    
    // WriteCoverageProfile writes out a coverage profile fragment for the
    // package whose test-run action is 'runAct'; content is written to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSink.java

       * @since 15.0 (in 14.0 with return type {@link BufferedWriter})
       */
      public Writer openBufferedStream() throws IOException {
        Writer writer = openStream();
        return (writer instanceof BufferedWriter)
            ? (BufferedWriter) writer
            : new BufferedWriter(writer);
      }
    
      /**
       * Writes the given character sequence to this sink.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top