Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 639 for write1 (3.08 sec)

  1. src/cmd/go/internal/cfg/cfg.go

    // WithBuildXWriter returns a Context in which BuildX output is written
    // to given io.Writer.
    func WithBuildXWriter(ctx context.Context, xLog io.Writer) context.Context {
    	return context.WithValue(ctx, buildXContextKey{}, xLog)
    }
    
    type buildXContextKey struct{}
    
    // BuildXWriter returns nil if BuildX is false, or
    // the writer to which BuildX output should be written otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/runtime/map.go

    	}
    	if asanenabled {
    		asanread(key, t.Key.Size_)
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(key, uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher, since t.hasher may panic,
    	// in which case we have not actually done a write.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/runtime/netpoll.go

    	rt      timer     // read deadline timer
    	rd      int64     // read deadline (a nanotime in the future, -1 when expired)
    	wseq    uintptr   // protects from stale write timers
    	wt      timer     // write deadline timer
    	wd      int64     // write deadline (a nanotime in the future, -1 when expired)
    	self    *pollDesc // storage for indirect interface. See (*pollDesc).makeArg.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/BeanPropertyExtensions.kt

    import java.lang.reflect.InvocationTargetException
    
    
    /**
     * Writes a bean property.
     *
     * A property can only be written when there's a suitable [Codec] for its [value].
     */
    suspend fun WriteContext.writeNextProperty(name: String, value: Any?, kind: PropertyKind) {
        withPropertyTrace(kind, name) {
            try {
                write(value)
            } catch (error: Exception) {
                onError(error) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package relnote
    
    import (
    	"fmt"
    	"strings"
    
    	md "rsc.io/markdown"
    )
    
    // DumpMarkdown writes the internal structure of a markdown
    // document to standard output.
    // It is intended for debugging.
    func DumpMarkdown(d *md.Document) {
    	dumpBlocks(d.Blocks, 0)
    }
    
    func dumpBlocks(bs []md.Block, depth int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/emit.go

    	return s.mf != nil
    }
    
    func writeMetaData(w io.Writer, metalist []rtcov.CovMetaBlob, cmode coverage.CounterMode, gran coverage.CounterGranularity, finalHash [16]byte) error {
    	mfw := encodemeta.NewCoverageMetaFileWriter("<io.Writer>", w)
    
    	var blobs [][]byte
    	for _, e := range metalist {
    		sd := unsafe.Slice(e.P, int(e.Len))
    		blobs = append(blobs, sd)
    	}
    	return mfw.Write(finalHash, blobs, cmode, gran)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. pkg/volume/projected/projected.go

    			}
    		}
    	}()
    
    	writerContext := fmt.Sprintf("pod %v/%v volume %v", s.pod.Namespace, s.pod.Name, s.volName)
    	writer, err := volumeutil.NewAtomicWriter(dir, writerContext)
    	if err != nil {
    		klog.Errorf("Error creating atomic writer: %v", err)
    		return err
    	}
    
    	setPerms := func(_ string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

    function WaitFor_KubeletAndKubeProxyReady {
      $waited = 0
      $timeout = 10
      while (((Get-Service kube-proxy).Status -ne 'Running' -or (Get-Service kubelet).Status -ne 'Running') -and $waited -lt $timeout) {
        Start-Sleep 1
        $waited++
      }
    
      # Timeout occurred
      if ($waited -ge $timeout) {
        Log-Output "$(Get-Service kube* | Out-String)"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	// what we expect then there is no need to rotate here.
    	state, errState := h.getCurrentState()
    
    	// allow reads indefinitely in all cases
    	// allow writes indefinitely as long as there is no error
    	// allow writes for only up to kmsv2PluginWriteDEKSourceMaxTTL from now when there are errors
    	// we start the timer before we make the network call because kmsv2PluginWriteDEKSourceMaxTTL is meant to be the upper bound
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. src/net/smtp/smtp.go

    	d.WriteCloser.Close()
    	_, _, err := d.c.Text.ReadResponse(250)
    	return err
    }
    
    // Data issues a DATA command to the server and returns a writer that
    // can be used to write the mail headers and body. The caller should
    // close the writer before calling any more methods on c. A call to
    // Data must be preceded by one or more calls to [Client.Rcpt].
    func (c *Client) Data() (io.WriteCloser, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top