Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for fortune (0.28 sec)

  1. src/cmd/go/testdata/script/version.txt

    [short] skip
    
    # Check that 'go version' and 'go version -m' work on a binary built in module mode.
    go get rsc.io/fortune
    go build -o fortune.exe rsc.io/fortune
    go version fortune.exe
    stdout '^fortune.exe: .+'
    go version -m fortune.exe
    stdout -buildmode=exe
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    # Check the build info of a binary built from $GOROOT/src/cmd
    go build -o test2json.exe cmd/test2json
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    go mod edit -require=rsc.io/fortune@v1.0.0
    ! go install -mod=readonly $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    ! go install -mod=readonly ../../pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    go get rsc.io/fortune@v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version_cshared.txt

    [!cgo] skip '-buildmode=c-shared requires external linking'
    [!buildmode:c-shared] stop
    
    env GO111MODULE=on
    
    go get rsc.io/fortune
    go build -buildmode=c-shared -o external.so rsc.io/fortune
    go version external.so
    stdout '^external.so: .+'
    go version -m external.so
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    -- go.mod --
    module m
    
    -- empty.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 416 bytes
    - Viewed (0)
  4. src/testing/fstest/mapfs_test.go

    	"strings"
    	"testing"
    )
    
    func TestMapFS(t *testing.T) {
    	m := MapFS{
    		"hello":             {Data: []byte("hello, world\n")},
    		"fortune/k/ken.txt": {Data: []byte("If a program is too slow, it must have a loop.\n")},
    	}
    	if err := TestFS(m, "hello", "fortune", "fortune/k", "fortune/k/ken.txt"); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestMapFSChmodDot(t *testing.T) {
    	m := MapFS{
    		"a/b.txt": &MapFile{Mode: 0666},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 14:59:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_run_pkg_version.txt

    go mod init tmp
    go mod edit -require=rsc.io/fortune@v1.0.0
    ! go run -mod=readonly $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    ! go run -mod=readonly ../../pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    cd ..
    rm tmp
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_trimpath.txt

    # A binary from an external module built with -trimpath should not contain
    # the current workspace or GOROOT.
    go get rsc.io/fortune
    go install -trimpath rsc.io/fortune
    exec $WORK/paths-a.exe $GOPATH/bin/fortune$GOEXE
    stdout 'binary contains module root: false'
    stdout 'binary contains an empty GOROOT'
    go mod edit -droprequire rsc.io/fortune
    
    # Two binaries built from identical packages in different directories
    # should be identical.
    cd $WORK/b/src/paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/gotoolchain_path.txt

    stderr 'running go1.50.0 from PATH'
    
    # NewerToolchain should find Go 1.50.0.
    env GOTOOLCHAIN=local
    go mod edit -toolchain=none -go=1.22
    grep 'go 1.22$' go.mod
    ! grep toolchain go.mod
    env GOTOOLCHAIN=path
    ! go run rsc.io/fortune@v0.0.1
    stderr 'running go1.50.0 from PATH'
    
    -- fakego.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	exe, _ := os.Executable()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 22:21:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    }
    
    var xxx_messageInfo_EndpointSliceList proto.InternalMessageInfo
    
    func (m *ForZone) Reset()      { *m = ForZone{} }
    func (*ForZone) ProtoMessage() {}
    func (*ForZone) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6555bad15de200e0, []int{6}
    }
    func (m *ForZone) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ForZone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

      - ${validationProblem}"""
            }
            _ * work.validate(_ as WorkValidationContext) >> { WorkValidationContext validationContext ->
                validationContext.forType(JobType, true).visitTypeProblem {
                    it
                        .withAnnotationType(Object)
                        .id("test-problem", "Validation error", GradleCoreProblemGroup.validation())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // CHECK-NEXT:    [[HANDLE:%.*]] = "tf.VarHandleOp"()
    // CHECK-NEXT:    [[ARRAYKEY:%.*]], [[FURTURE:%.*]] = "tf_mlrt.tf_ifrt_load_variable"([[HANDLE]])
    // CHECK-SAME:       <{used_by_host = true}> : (tensor<!tf_type.resource<tensor<3x1xf32>>>) -> (tensor<!tf_type.string>, !mlrt.future)
    // CHECK-NEXT:    [[TENSOR:%.*]] = "tf_mlrt.tf_await"([[FURTURE]]) : (!mlrt.future) -> tensor<3x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top