Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for content_es (0.1 sec)

  1. src/runtime/runtime-gdb.py

    			yield ('[{0}]'.format(idx), item)
    
    
    class MapTypePrinter:
    	"""Pretty print map[K]V types.
    
    	Map-typed go variables are really pointers. dereference them in gdb
    	to inspect their contents with this pretty printer.
    	"""
    
    	pattern = re.compile(r'^map\[.*\].*$')
    
    	def __init__(self, val):
    		self.val = val
    
    	def display_hint(self):
    		return 'map'
    
    	def to_string(self):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    Similarly, the IgnoredFiles field provides the names of Go and non-Go
    source files that are not part of this package with the current build
    configuration but may be part of other build configurations.
    The contents of these files may be read using Pass.ReadFile;
    see the "asmdecl" or "buildtags" analyzers for examples of loading
    non-Go files and reporting diagnostics against them.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/runtime/string.go

    	return s[:n]
    }
    
    // rawstring allocates storage for a new string. The returned
    // string and byte slice both refer to the same storage.
    // The storage is not zeroed. Callers should use
    // b to set the string contents and then drop b.
    func rawstring(size int) (s string, b []byte) {
    	p := mallocgc(uintptr(size), nil, false)
    	return unsafe.String((*byte)(p), size), unsafe.Slice((*byte)(p), size)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/runtime/HACKING.md

    code, such as scheduler and memory allocator state. It's represented
    by type `p`. There are exactly `GOMAXPROCS` Ps. A P can be thought of
    like a CPU in the OS scheduler and the contents of the `p` type like
    per-CPU state. This is a good place to put state that needs to be
    sharded for efficiency, but doesn't need to be per-thread or
    per-goroutine.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		s.NumUnit[k] = uu
    	}
    	copy(s.Value, src.Value)
    	pm.samples[k] = s
    	pm.p.Sample = append(pm.p.Sample, s)
    	return s
    }
    
    func (pm *profileMerger) sampleKey(sample *Sample) sampleKey {
    	// Accumulate contents into a string.
    	var buf strings.Builder
    	buf.Grow(64) // Heuristic to avoid extra allocs
    
    	// encode a number
    	putNumber := func(v uint64) {
    		var num [binary.MaxVarintLen64]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/crypto/tls/auth.go

    	"crypto/ecdsa"
    	"crypto/ed25519"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"errors"
    	"fmt"
    	"hash"
    	"io"
    )
    
    // verifyHandshakeSignature verifies a signature against pre-hashed
    // (if required) handshake contents.
    func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed, sig []byte) error {
    	switch sigType {
    	case signatureECDSA:
    		pubKey, ok := pubkey.(*ecdsa.PublicKey)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    // This implicitly flushes any padding necessary before writing the header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/cmd/link/link_test.go

    		t.Errorf("linking with -strictdups=2 did not fail")
    	}
    	// NB: on amd64 we get the 'new length' error, on arm64 the 'different
    	// contents' error.
    	if !(bytes.Contains(out, []byte("mismatched payload: new length")) ||
    		bytes.Contains(out, []byte("mismatched payload: same length but different contents"))) ||
    		!bytes.Contains(out, []byte("mismatched payload: different sizes")) {
    		t.Errorf("unexpected output:\n%s", out)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    	return b.buf[b.n:][:0]
    }
    
    // Buffered returns the number of bytes that have been written into the current buffer.
    func (b *Writer) Buffered() int { return b.n }
    
    // Write writes the contents of p into the buffer.
    // It returns the number of bytes written.
    // If nn < len(p), it also returns an error explaining
    // why the write is short.
    func (b *Writer) Write(p []byte) (nn int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    // function arguments args, if any. There must be at least one type parameter, no more type arguments
    // than type parameters, and params and args must match in number (incl. zero).
    // If reverse is set, an error message's contents are reversed for a better error message for some
    // errors related to reverse type inference (where the function call is synthetic).
    // If successful, infer returns the complete list of given and inferred type arguments, one for each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top