Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,661 for Edit (0.04 sec)

  1. src/cmd/internal/edit/edit.go

    // license that can be found in the LICENSE file.
    
    // Package edit implements buffered position-based editing of byte slices.
    package edit
    
    import (
    	"fmt"
    	"sort"
    )
    
    // A Buffer is a queue of edits to apply to a given byte slice.
    type Buffer struct {
    	old []byte
    	q   edits
    }
    
    // An edit records a single text modification: change the bytes in [start,end) to new.
    type edit struct {
    	start int
    	end   int
    	new   string
    }
    Registered: 2024-06-12 16:32
    - Last Modified: 2017-11-13 14:59
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/edit.go

    // go work edit
    
    package workcmd
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modload"
    	"context"
    	"encoding/json"
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    
    	"golang.org/x/mod/module"
    
    	"golang.org/x/mod/modfile"
    )
    
    var cmdEdit = &base.Command{
    	UsageLine: "go work edit [editing flags] [go.work]",
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-15 13:52
    - 11K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/edit.go

    )
    
    var cmdEdit = &base.Command{
    	UsageLine: "go mod edit [editing flags] [-fmt|-print|-json] [go.mod]",
    	Short:     "edit go.mod from tools or scripts",
    	Long: `
    Edit provides a command-line interface for editing go.mod,
    for use primarily by tools or scripts. It reads only go.mod;
    it does not look up information about the modules involved.
    By default, edit reads and writes the go.mod file of the main module,
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-05-15 13:52
    - 17.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/edit.go

    	if rs.pruning == workspace {
    		panic("editRequirements cannot edit workspace requirements")
    	}
    
    	orig := rs
    	// If we already know what go version we will end up on after the edit, and
    	// the pruning for that version is different, go ahead and apply it now.
    	//
    	// If we are changing from pruned to unpruned, then we MUST check the unpruned
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-03-15 21:46
    - 34.1K bytes
    - Viewed (0)
  5. manifests/helm-profiles/warning-edit.txt

    # WARNING: DO NOT EDIT, THIS FILE IS A COPY.
    # The original version of this file is located at /manifests/helm-profiles directory.
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-04-02 22:30
    - 218 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/ci-systems/teamcity-step-edit.png

    teamcity-step-edit.png...
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 28.3K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_freebsd_amd64.go

    func Geteuid() (uid int) {
    	r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
    	uid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getgid() (gid int) {
    	r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
    	gid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-11-07 10:34
    - 31.1K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_freebsd_arm64.go

    func Geteuid() (uid int) {
    	r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
    	uid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getgid() (gid int) {
    	r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
    	gid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-11-07 10:34
    - 31.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go

    func Geteuid() (uid int) {
    	r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0)
    	uid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getgid() (gid int) {
    	r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0)
    	gid = int(r0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-10-19 23:33
    - 38.8K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_linux_riscv64.go

    // mksyscall.pl -tags linux,riscv64 syscall_linux.go syscall_linux_riscv64.go
    // Code generated by the command above; DO NOT EDIT.
    
    //go:build linux && riscv64
    
    package syscall
    
    import "unsafe"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func faccessat(dirfd int, path string, mode uint32) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-11-08 17:55
    - 37.8K bytes
    - Viewed (0)
Back to top