Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for ready (0.05 sec)

  1. src/cmd/go/internal/work/action.go

    	objdirSeq int // counter for NewObjdir
    	pkgSeq    int
    
    	backgroundSh *Shell // Shell that per-Action Shells are derived from
    
    	exec      sync.Mutex
    	readySema chan bool
    	ready     actionQueue
    
    	id           sync.Mutex
    	toolIDCache  map[string]string // tool name -> tool ID
    	buildIDCache map[string]string // file name -> build ID
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api.go

    	// return the same package.
    	ImportFrom(path, dir string, mode ImportMode) (*Package, error)
    }
    
    // A Config specifies the configuration for type checking.
    // The zero value for Config is a ready-to-use default configuration.
    type Config struct {
    	// Context is the context used for resolving global identifiers. If nil, the
    	// type checker will initialize this field with a newly created context.
    	Context *Context
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    	return i
    }
    
    // string reads the next string.
    func (r *reader) string() string {
    	return r.d.stringTableAt(r.int())
    }
    
    // bool reads the next bool.
    func (r *reader) bool() bool {
    	return r.int() != 0
    }
    
    // tokpos reads the next token.Position.
    func (r *reader) tokpos() token.Position {
    	return token.Position{
    		Filename: r.string(),
    		Offset:   r.int(),
    		Line:     r.int(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    	// check not at EOF
    	b.WriteString("abcdefghijklmnopqrstuvwxyz")
    
    	// after unsuccessful read
    	if n, err := b.Read(nil); n != 0 || err != nil {
    		t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err)
    	}
    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after Read(nil): got no error")
    	}
    
    	// after successful read
    	if _, err := b.ReadBytes('m'); err != nil {
    		t.Fatalf("ReadBytes: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/fetch.go

    		return err
    	}
    	if err := os.Rename(f.Name(), zipfile); err != nil {
    		return err
    	}
    
    	// TODO(bcmills): Should we make the .zip and .ziphash files read-only to discourage tampering?
    
    	return nil
    }
    
    // hashZip reads the zip file opened in f, then writes the hash to ziphashfile,
    // overwriting that file if it exists.
    //
    // If the hash does not match go.sum (or the sumdb if enabled), hashZip returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    // readFrom populates the content of the current file by reading from r.
    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    // then readFrom uses Seek to skip past holes defined in Header.SparseHoles,
    // assuming that skipped regions are all NULs.
    // This always reads the last byte to ensure r is the right size.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache.go

    	// the cache was full when the corruption happened. Attempting a trim on
    	// an empty cache is cheap, so there wouldn't be a big performance hit in that case.
    	if data, err := lockedfile.Read(filepath.Join(c.dir, "trim.txt")); err == nil {
    		if t, err := strconv.ParseInt(strings.TrimSpace(string(data)), 10, 64); err == nil {
    			lastTrim := time.Unix(t, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/vcs.go

    	readZip       func(rev, subdir, remote, target string) []string                                   // cmd to read rev's subdir as zip file
    	doReadZip     func(ctx context.Context, dst io.Writer, workDir, rev, subdir, remote string) error // arbitrary function to read rev's subdir as zip file
    }
    
    var re = lazyregexp.New
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/workcmd/edit.go

    	UsageLine: "go work edit [editing flags] [go.work]",
    	Short:     "edit go.work from tools or scripts",
    	Long: `Edit provides a command-line interface for editing go.work,
    for use primarily by tools or scripts. It only reads go.work;
    it does not look up information about the modules involved.
    If no file is specified, Edit looks for a go.work file in the current
    directory and its parent directories
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import.go

    			// Go language version to use, which requires its go.mod file.
    			//
    			// If the module graph is pruned and this is a test-only dependency
    			// of a package in "all", we didn't necessarily load that file
    			// when we read the module graph, so do it now to be sure.
    			if !skipModFile && cfg.BuildMod != "vendor" && mods[0].Path != "" && !MainModules.Contains(mods[0].Path) {
    				if _, err := goModSummary(mods[0]); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top