Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 432 for begins (0.19 sec)

  1. src/internal/nettrace/nettrace.go

    // Trace contains a set of hooks for tracing events within
    // the net package. Any specific hook may be nil.
    type Trace struct {
    	// DNSStart is called with the hostname of a DNS lookup
    	// before it begins.
    	DNSStart func(name string)
    
    	// DNSDone is called after a DNS lookup completes (or fails).
    	// The coalesced parameter is whether singleflight de-duped
    	// the call. The addrs are of type net.IPAddr but can't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:57:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/os/exec/lp_plan9.go

    	if m := d.Mode(); !m.IsDir() && m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    // LookPath searches for an executable named file in the
    // directories named by the path environment variable.
    // If file begins with "/", "#", "./", or "../", it is tried
    // directly and the path is not consulted.
    // On success, the result is an absolute path.
    //
    // In older versions of Go, LookPath could return a path relative to the current directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/exportdata.go

    			return
    		}
    	}
    
    	// Now at __.PKGDEF in archive or still at beginning of file.
    	// Either way, line should begin with "go object ".
    	if !strings.HasPrefix(string(line), "go object ") {
    		err = fmt.Errorf("not a Go object file")
    		return
    	}
    	size -= len(line)
    
    	// Skip over object header to export data.
    	// Begins after first line starting with $$.
    	for line[0] != '$' {
    		if line, err = r.ReadSlice('\n'); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    void CopyAttributes(Operation *from, Operation *to, Predicate P) {
      for (const NamedAttribute &attr : from->getAttrs())
        if (P(attr)) to->setAttr(attr.getName(), attr.getValue());
    }
    
    // Copies attributes whose name begins with an _ from `from` to `to`.
    inline void CopyUnderscoredAttributes(Operation *from, Operation *to) {
      CopyAttributes(from, to, [](const NamedAttribute &attr) {
        return attr.getName().strref().front() == '_';
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/os/exec/lp_unix.go

    // [errors.Is](err, [ErrDot]). See the package documentation for more details.
    func LookPath(file string) (string, error) {
    	// NOTE(rsc): I wish we could use the Plan 9 behavior here
    	// (only bypass the path if file begins with / or ./ or ../)
    	// but that would not match all the Unix shells.
    
    	if strings.Contains(file, "/") {
    		err := findExecutable(file)
    		if err == nil {
    			return file, nil
    		}
    		return "", &Error{file, err}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/index_format.txt

    The following is the format for a full module:
    
    “go index v2\n”
    str uint32 - offset of string table
    n uint32 - number of packages
    for each rawPackage:
    	dirname - string offset
    	package - offset where package begins
    for each rawPackage:
    	error uint32 - string offset // error is produced by fsys.ReadDir or fmt.Errorf
    	dir uint32 - string offset (directory path relative to module root)
    	len(sourceFiles) uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/scriptreadme_test.go

    In general script files should have short names: a few words, not whole sentences.
    The first word should be the general category of behavior being tested,
    often the name of a go subcommand (list, build, test, ...) or concept (vendor, pattern).
    
    Each script is a text archive (go doc internal/txtar).
    The script begins with an actual command script to run
    followed by the content of zero or more supporting files to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/runtime/pprof/elf.go

    	buf := make([]byte, 256)
    	f, err := os.Open(file)
    	if err != nil {
    		return "", err
    	}
    	defer f.Close()
    
    	if _, err := f.ReadAt(buf[:64], 0); err != nil {
    		return "", err
    	}
    
    	// ELF file begins with \x7F E L F.
    	if buf[0] != 0x7F || buf[1] != 'E' || buf[2] != 'L' || buf[3] != 'F' {
    		return "", errBadELF
    	}
    
    	var byteOrder binary.ByteOrder
    	switch buf[5] {
    	default:
    		return "", errBadELF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  9. src/net/http/httptrace/trace.go

    	Got1xxResponse func(code int, header textproto.MIMEHeader) error
    
    	// DNSStart is called when a DNS lookup begins.
    	DNSStart func(DNSStartInfo)
    
    	// DNSDone is called when a DNS lookup ends.
    	DNSDone func(DNSDoneInfo)
    
    	// ConnectStart is called when a new connection's Dial begins.
    	// If net.Dialer.DualStack (IPv6 "Happy Eyeballs") support is
    	// enabled, this may be called multiple times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/cmd/internal/objfile/macho.go

    func (f *machoFile) symbols() ([]Sym, error) {
    	if f.macho.Symtab == nil {
    		return nil, nil
    	}
    
    	// Build sorted list of addresses of all symbols.
    	// We infer the size of a symbol by looking at where the next symbol begins.
    	var addrs []uint64
    	for _, s := range f.macho.Symtab.Syms {
    		// Skip stab debug info.
    		if s.Type&stabTypeMask == 0 {
    			addrs = append(addrs, s.Value)
    		}
    	}
    	sort.Sort(uint64s(addrs))
    
    	var syms []Sym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top