Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for Empty (0.39 sec)

  1. src/cmd/go/testdata/vcstest/git/empty-v2-without-v1.txt

    git tag v2.0.0
    
    git log --oneline --decorate=short
    cmp stdout .git-log
    
    -- .git-log --
    122733c (HEAD -> master, tag: v2.0.0) add go.mod file without go source files
    -- go.mod --
    module vcs-test.golang.org/git/empty-v2-without-v1.git/v2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 550 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_find.txt

    go mod init
    stderr 'unexpected.com/z'
    rm go.mod
    
    # Empty directory outside GOPATH fails.
    mkdir $WORK/empty
    cd $WORK/empty
    ! go mod init
    stderr 'cannot determine module path for source directory'
    rm go.mod
    
    # Empty directory inside GOPATH/src uses location inside GOPATH.
    mkdir $GOPATH/src/empty
    cd $GOPATH/src/empty
    go mod init
    stderr 'empty'
    rm go.mod
    
    # In Plan 9, directories are automatically created in /n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_empty_err.txt

    # Veries golang.org/issue/35414
    env GO111MODULE=on
    cd $WORK
    
    go list -e -f {{.Error}} .
    stdout 'no Go files in '$WORK
    
    go list -e -f {{.Error}} ./empty
    stdout 'no Go files in '$WORK${/}'empty'
    
    go list -e -f {{.Error}} ./exclude
    stdout 'build constraints exclude all Go files in '$WORK${/}'exclude'
    
    go list -e -f {{.Error}} ./missing
    stdout 'stat '$WORK'[/\\]missing: directory not found'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 922 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/fmt_load_errors.txt

    stdout 'package x'
    
    exec $GOROOT/bin/gofmt gofmt-dir
    ! stdout 'package x'
    
    ! exec $GOROOT/bin/gofmt empty.go nopackage.go
    stderr -count=1 'empty\.go:1:1: expected .package., found .EOF.'
    stderr -count=1 'nopackage\.go:1:1: expected .package., found not'
    
    -- exclude/empty/x.txt --
    -- exclude/ignore/_x.go --
    package x
    -- exclude/x.go --
    // +build linux,!linux
    
    package x
    -- exclude/x_linux.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 09:17:34 UTC 2022
    - 775 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_downgrade_ambiguous.txt

    rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
    -- use.go --
    package use
    
    import (
    	_ "old-indirect/empty"
    
    	_ "rsc.io/quote/v3"
    )
    -- old-indirect/empty/empty.go --
    package empty
    -- old-indirect/go.mod --
    module old-indirect
    
    go 1.16
    
    require rsc.io/quote v1.5.1
    -- old-indirect/go.sum --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 17:32:52 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/version_buildvcs_hg.txt

    # An untracked file is shown as uncommitted, even if it isn't part of the build.
    cp ../../outside/empty.txt .
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.modified=true$'
    rm empty.txt
    rm $GOBIN/a$GOEXE
    
    # An edited file is shown as uncommitted, even if it isn't part of the build.
    cp ../../outside/empty.txt ../README
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.modified=true$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 18:09:02 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_retract.txt

    # 'go get' should not warn about unrelated modules.
    go get ./empty
    ! stderr retracted
    go get ./use
    stderr '^go: warning: example.com/retract/self/prev@v1.9.0: retracted by module author: self$'
    
    -- go.mod.orig --
    module example.com/use
    
    go 1.15
    
    -- use/use.go --
    package use
    
    import _ "example.com/retract/self/prev"
    -- empty/empty.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    }
    
    // Empty buf through repeated reads into fub.
    // The initial contents of buf corresponds to the string s.
    func empty(t *testing.T, testname string, buf *Buffer, s string, fub []byte) {
    	check(t, testname+" (empty 1)", buf, s)
    
    	for {
    		n, err := buf.Read(fub)
    		if n == 0 {
    			break
    		}
    		if err != nil {
    			t.Errorf(testname+" (empty 2): err should always be nil, found err == %s", 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)
  9. src/cmd/compile/internal/types2/instantiate.go

    		}
    		return false
    	}
    
    	// Every type satisfies the empty interface.
    	if Ti.Empty() {
    		return true
    	}
    	// T is not the empty interface (i.e., the type set of T is restricted)
    
    	// An interface V with an empty type set satisfies any interface.
    	// (The empty set is a subset of any set.)
    	Vi, _ := Vu.(*Interface)
    	if Vi != nil && Vi.typeSet().IsEmpty() {
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/interface.go

    // The methods are ordered by their unique Id.
    func (t *Interface) Method(i int) *Func { return t.typeSet().Method(i) }
    
    // Empty reports whether t is the empty interface.
    func (t *Interface) Empty() bool { return t.typeSet().IsAll() }
    
    // IsComparable reports whether each type in interface t's type set is comparable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top