Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for commit1 (2.97 sec)

  1. src/cmd/go/internal/modload/query.go

    		}
    		// Once we resolve the query to a particular commit, we will need to
    		// also identify the most appropriate version to assign to that commit.
    		// (It may correspond to more than one valid version.)
    		//
    		// The most appropriate version depends on the tags associated with
    		// both the commit itself (if the commit is a tagged version)
    		// and its ancestors (if we need to produce a pseudo-version for it).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  2. finisher_api.go

    	}
    
    	if err != nil {
    		tx.AddError(err)
    	}
    
    	return tx
    }
    
    // Commit commits the changes in a transaction
    func (db *DB) Commit() *DB {
    	if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil && !reflect.ValueOf(committer).IsNil() {
    		db.AddError(committer.Commit())
    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/memcombine.go

    		isBigEndian && !root.Block.Func.Config.BigEndian
    	if needSwap && (size != 1 || !root.Block.Func.Config.haveByteSwap(n)) {
    		return false
    	}
    
    	// This is the commit point.
    
    	// First, issue load at lowest address.
    	v = loadBlock.NewValue2(pos, OpLoad, sizeType(n*size), r[0].load.Args[0], mem)
    
    	// Byte swap if needed,
    	if needSwap {
    		v = byteSwap(loadBlock, pos, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git_test.go

    				Version: "97f6aa59c81c623494825b43d39e445566e429a4",
    				Time:    time.Date(2018, 4, 17, 20, 0, 19, 0, time.UTC),
    			},
    		},
    		{
    			repo: gitrepo1,
    			rev:  "v1.2.4-annotated", // annotated tag uses unwrapped commit hash
    			info: &RevInfo{
    				Name:    "ede458df7cd0fdca520df19a33158086a8a68e81",
    				Short:   "ede458df7cd0",
    				Version: "v1.2.4-annotated",
    				Time:    time.Date(2018, 4, 17, 19, 43, 22, 0, time.UTC),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/vcs.go

    	for _, line := range strings.Split(out, "\n") {
    		if line == "" || line[0] == ' ' || line[0] == '\t' {
    			// End of header, start of commit message.
    			break
    		}
    		if line[0] == '-' {
    			continue
    		}
    		before, after, found := strings.Cut(line, ":")
    		if !found {
    			// End of header, start of commit message.
    			break
    		}
    		key, val := before, strings.TrimSpace(after)
    		switch key {
    		case "revno":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git.go

    	}
    
    	return r.statLocal(ctx, rev, rev)
    }
    
    // fetchRefsLocked fetches all heads and tags from the origin, along with the
    // ancestors of those commits.
    //
    // We only fetch heads and tags, not arbitrary other commits: we don't want to
    // pull in off-branch commits (such as rejected GitHub pull requests) that the
    // server may be willing to provide. (See the comments within the stat method
    // for more detail.)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/imports/build.go

    // for essentially all tags (except "ignore").
    //
    // If we added this API to go/build directly, we wouldn't need this
    // file anymore, but this API is not terribly general-purpose and we
    // don't really want to commit to any public form of it, nor do we
    // want to move the core parts of go/build into a top-level internal package.
    // These details change very infrequently, so the copy is fine.
    
    package imports
    
    import (
    	"bytes"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/cache.go

    		f.Truncate(0)
    		return err
    	}
    	h.Write(buf)
    	sum := h.Sum(nil)
    	if !bytes.Equal(sum, out[:]) {
    		f.Truncate(0)
    		return fmt.Errorf("file content changed underfoot")
    	}
    
    	// Commit cache file entry.
    	if _, err := f.Write(buf); err != nil {
    		f.Truncate(0)
    		return err
    	}
    	if err := f.Close(); err != nil {
    		// Data might not have been written,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    	// is zip-compressed, we need an actual file — or at least an io.ReaderAt — to
    	// validate it: we can't just tee the stream as we write it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/vcweb/vcweb.go

    `[1:]
    
    // hgrc contains a ~/.hgrc file that attempts to provide
    // deterministic, platform-agnostic behavior for the 'hg' command.
    var hgrc = `
    [ui]
    username=Go Gopher <******@****.***>
    [phases]
    new-commit=public
    [extensions]
    convert=
    `[1:]
    
    // ServeHTTP implements [http.Handler] for version-control repositories.
    func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top