Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for playground (0.16 sec)

  1. src/runtime/time_nofake.go

    // license that can be found in the LICENSE file.
    
    //go:build !faketime
    
    package runtime
    
    import "unsafe"
    
    // faketime is the simulated time in nanoseconds since 1970 for the
    // playground.
    //
    // Zero means not to use faketime.
    var faketime int64
    
    // Exported via linkname for use by time and internal/poll.
    //
    // Many external packages also linkname nanotime for a fast monotonic time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/time_fake.go

    // translating the Stdout and Stderr handles into FDs 1 and 2.
    // (See CL 192739 PS 3.)
    
    package runtime
    
    import "unsafe"
    
    // faketime is the simulated time in nanoseconds since 1970 for the
    // playground.
    var faketime int64 = 1257894000000000000
    
    var faketimeState struct {
    	lock mutex
    
    	// lastfaketime is the last faketime value written to fd 1 or 2.
    	lastfaketime int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

            "trail",
            "wing",
            "ring",
            "desk",
            "yak",
            "teaching",
            "street",
            "cattle",
            "sun",
            "wealth",
            "cabbage",
            "playground",
            "wren",
            "flowers",
            "cobweb",
            "shame",
            "plate",
            "authority",
            "cave",
            "floor",
            "shelf",
            "snakes",
            "ants",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. doc/next/9-todo.md

    -->
    
    <!-- Items that don't need to be mentioned in Go 1.23 release notes but are picked up by relnote todo.
    
    CL 458895 - an x/playground fix that mentioned an accepted cmd/go proposal go.dev/issue/40728 in Go 1.16 milestone...
    CL 582097 - an x/build CL working on relnote itself; it doesn't need a release note
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/log/slog/handler_test.go

    	logger := New(h).With(
    		String("app", "playground"),
    		String("role", "tester"),
    		Int("data_version", 2),
    	)
    	appLogger := logger.With("type", "log") // this becomes type=met
    	_ = logger.With("type", "metric")
    	appLogger.Info("foo")
    	got := strings.TrimSpace(buf.String())
    	want := `level=INFO msg=foo app=playground role=tester data_version=2 type=log`
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            def operand16 = moduleId('street', 'cattle')
            def operand17 = group('sun')
            def operand18 = moduleId('crib', 'wealth')
            def operand19 = moduleId('cabbage', 'playground')
            def operand20 = moduleId('wren', 'flowers')
            def operand21 = moduleId('insurance', 'cobweb')
            def operand22 = moduleId('crib', 'shame')
            def operand23 = moduleId('plate', 'authority')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. src/go/doc/example.go

    		if err != nil {
    			continue
    		}
    		if p == "syscall/js" {
    			// We don't support examples that import syscall/js,
    			// because the package syscall/js is not available in the playground.
    			return nil
    		}
    		n := path.Base(p)
    		if s.Name != nil {
    			n = s.Name.Name
    			switch n {
    			case "_":
    				blankImports = append(blankImports, s)
    				continue
    			case ".":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. src/os/exec/exec.go

    // To expand environment variables, use package os's ExpandEnv.
    //
    // Note that the examples in this package assume a Unix system.
    // They may not run on Windows, and they do not run in the Go Playground
    // used by golang.org and godoc.org.
    //
    // # Executables in the current directory
    //
    // The functions [Command] and [LookPath] look for a program
    // in the directories listed in the current path, following the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/arm/obj.go

    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hwindows: /* PE executable */
    		// ld.HEADR, ld.FlagTextAddr, ld.FlagRound are set in ld.Peinit
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ppc64/obj.go

    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(4096, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hlinux, /* ppc64 elf */
    		objabi.Hopenbsd:
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top