Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for fortune (0.15 sec)

  1. src/cmd/go/testdata/mod/rsc.io_panicnil_v1.0.0.txt

    rsc.io/panicnil v1.0.0
    written by hand
    
    -- .mod --
    module rsc.io/panicnil
    -- .info --
    {"Version":"v1.0.0"}
    -- fortune.go --
    package main
    
    func main() {
    	panic(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:55:13 UTC 2023
    - 166 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/rsc.io_panicnil_v1.1.0.txt

    rsc.io/panicnil v1.1.0
    written by hand
    
    -- .mod --
    module rsc.io/panicnil
    go 1.21
    -- .info --
    {"Version":"v1.1.0"}
    -- fortune.go --
    package main
    
    func main() {
    	panic(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:55:13 UTC 2023
    - 174 bytes
    - Viewed (0)
  3. src/os/exec/example_test.go

    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    	"time"
    )
    
    func ExampleLookPath() {
    	path, err := exec.LookPath("fortune")
    	if err != nil {
    		log.Fatal("installing fortune is in your future")
    	}
    	fmt.Printf("fortune is available at %s\n", path)
    }
    
    func ExampleCommand() {
    	cmd := exec.Command("tr", "a-z", "A-Z")
    	cmd.Stdin = strings.NewReader("some input")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:18:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/embed/internal/embedtest/embed_test.go

    	t.Logf("//go:embed testdata/*")
    
    	testDir(t, star, "testdata",
    		"-not-hidden/", ".hidden/", "_hidden/", "ascii.txt", "glass.txt", "hello.txt", "i/", "ken.txt")
    
    	testDir(t, star, "testdata/.hidden",
    		"fortune.txt", "more/") // but not .more or _more
    }
    
    func TestUninitialized(t *testing.T) {
    	var uninitialized embed.FS
    	testDir(t, uninitialized, ".")
    	f, err := uninitialized.Open(".")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 20:10:16 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. test/torture.go

    Rémy Oudompheng <******@****.***> 1404199251 +0200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 01 07:20:51 UTC 2014
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_breadthFirstIterable_twoTrees() {
        assertEqualCharNodes(Traverser.forTree(TWO_TREES).breadthFirst(charactersOf("a")), "ab");
        assertEqualCharNodes(Traverser.forTree(TWO_TREES).breadthFirst(charactersOf("ca")), "cadb");
      }
    
      @Test
      public void forTree_breadthFirst_singleRoot() {
        Iterable<Character> result = Traverser.forTree(SINGLE_ROOT).breadthFirst('a');
    
        assertEqualCharNodes(result, "a");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forTree_breadthFirstIterable_twoTrees() {
        assertEqualCharNodes(Traverser.forTree(TWO_TREES).breadthFirst(charactersOf("a")), "ab");
        assertEqualCharNodes(Traverser.forTree(TWO_TREES).breadthFirst(charactersOf("ca")), "cadb");
      }
    
      @Test
      public void forTree_breadthFirst_singleRoot() {
        Iterable<Character> result = Traverser.forTree(SINGLE_ROOT).breadthFirst('a');
    
        assertEqualCharNodes(result, "a");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  10. pkg/apis/discovery/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ForZone)(nil), (*discovery.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ForZone_To_discovery_ForZone(a.(*v1.ForZone), b.(*discovery.ForZone), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*discovery.ForZone)(nil), (*v1.ForZone)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 14.4K bytes
    - Viewed (0)
Back to top