Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 660 for write1 (0.34 sec)

  1. src/encoding/base32/base32.go

    // the returned writer will be encoded using enc and then written to w.
    // Base32 encodings operate in 5-byte blocks; when finished
    // writing, the caller must Close the returned encoder to flush any
    // partially written blocks.
    func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser {
    	return &encoder{enc: enc, w: w}
    }
    
    // EncodedLen returns the length in bytes of the base32 encoding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	// TODO
    	return nil
    }
    
    func (c *ConfigWriter) PrintFullSummary() error {
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintWorkloadSummary(WorkloadFilter{}); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintServiceSummary(ServiceFilter{}); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintPolicySummary(PolicyFilter{}); err != nil {
    		return err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	return b
    }
    
    // Write writes the profile as a gzip-compressed marshaled protobuf.
    func (p *Profile) Write(w io.Writer) error {
    	zw := gzip.NewWriter(w)
    	defer zw.Close()
    	_, err := zw.Write(serialize(p))
    	return err
    }
    
    // WriteUncompressed writes the profile as a marshaled protobuf.
    func (p *Profile) WriteUncompressed(w io.Writer) error {
    	_, err := w.Write(serialize(p))
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

                                Writer writer = file.openWriter();
                                writer.write(String.valueOf(ProcessHandle.current().pid()));
                                writer.close();
                                pidWritten = true;
    
                                ${blockingHttpServer.callFromBuild("block")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                        OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(new File("encoded.out")), "utf-8");
                        writer.write(content);
                        writer.close();
                    }
                }
            """
    
            def file = file("src/main/java/Main.java")
            file.parentFile.mkdirs()
            file.withWriter(encoding) { writer ->
                writer.write(code)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. pkg/probe/exec/exec.go

    // errors if any.
    func (pr execProber) Probe(e exec.Cmd) (probe.Result, string, error) {
    	var dataBuffer bytes.Buffer
    	writer := ioutils.LimitWriter(&dataBuffer, maxReadLength)
    
    	e.SetStderr(writer)
    	e.SetStdout(writer)
    	err := e.Start()
    	if err == nil {
    		err = e.Wait()
    	}
    	data := dataBuffer.Bytes()
    
    	klog.V(4).Infof("Exec probe response: %q", string(data))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

            try {
                objectWriter.write(message);
            } catch (ObjectStreamException e) {
                throw new RecoverableMessageIOException(String.format("Could not write message %s to '%s'.", message, remoteAddress), e);
            } catch (ClassNotFoundException e) {
                throw new RecoverableMessageIOException(String.format("Could not write message %s to '%s'.", message, remoteAddress), e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/internal/trace/version/version.go

    	}
    	if !v.Valid() {
    		return v, fmt.Errorf("unknown or unsupported trace version go 1.%d", v)
    	}
    	return v, nil
    }
    
    // WriteHeader writes a header for a trace version v to w.
    func WriteHeader(w io.Writer, v Version) (int, error) {
    	return fmt.Fprintf(w, headerFmt, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. operator/pkg/util/progress/progress.go

    	case StatePruning:
    		p.bar.SetTemplateString(inProgress + `Pruning removed resources`)
    		p.bar.Write()
    	case StateComplete:
    		p.bar.SetTemplateString(`{{ green "✅" }} Installation complete`)
    		p.bar.Write()
    	case StateUninstallComplete:
    		p.bar.SetTemplateString(`{{ green "✅" }} Uninstall complete`)
    		p.bar.Write()
    	}
    }
    
    func (p *Log) NewComponent(component string) *ManifestLog {
    	ml := &ManifestLog{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	//  1. If LogWriter is present, log to it.
    	//  2. If DebugDir is present, log to a file within it.
    	//  3. If both LogWriter and DebugDir are present, log to a multi writer.
    	//  4. If neither LogWriter nor DebugDir are present, log to a noop logger.
    	var logWriters []io.Writer
    	logFile, err := debugLogFile(dir.DebugDir())
    	if err != nil {
    		logFile = nil
    	}
    	if logFile != nil {
    		logWriters = append(logWriters, logFile)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top