Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for playground (0.49 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/link/internal/ld/main.go

    	}
    
    	isPowerOfTwo := func(n int64) bool {
    		return n > 0 && n&(n-1) == 0
    	}
    	if *FlagRound != -1 && (*FlagRound < 4096 || !isPowerOfTwo(*FlagRound)) {
    		Exitf("invalid -R value 0x%x", *FlagRound)
    	}
    
    	checkStrictDups = *FlagStrictDups
    
    	switch flagW {
    	case ternaryFlagFalse:
    		*FlagW = false
    	case ternaryFlagTrue:
    		*FlagW = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho.go

    		s6b.Grow(s6b.Size() + n)
    		s6b.SetSize(s6b.Size() + n)
    		size += n
    	}
    
    	if size > 0 {
    		linkoff = Rnd(int64(uint64(HEADR)+Segtext.Length), *FlagRound) + Rnd(int64(Segrelrodata.Filelen), *FlagRound) + Rnd(int64(Segdata.Filelen), *FlagRound) + Rnd(int64(Segdwarf.Filelen), *FlagRound)
    		ctxt.Out.SeekSet(linkoff)
    
    		ctxt.Out.Write(ldr.Data(s1))
    		ctxt.Out.Write(ldr.Data(s2))
    		ctxt.Out.Write(ldr.Data(s3))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	// Kernel requires all loaded segments to be page-aligned in the file,
    	// even though we mark this one as being 0 bytes of virtual address space.
    	dwarfstart := Rnd(int64(linkseg.Offset), *FlagRound)
    	if _, err := outf.Seek(dwarfstart, 0); err != nil {
    		return err
    	}
    
    	if _, err := dwarff.Seek(int64(realdwarf.Offset), 0); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pe.go

    			ctxt.loader.SetAttrSpecial(sb.Sym(), true)
    			ctxt.loader.SetAttrLocal(sb.Sym(), true)
    		}
    	}
    
    	HEADR = PEFILEHEADR
    	if *FlagRound == -1 {
    		*FlagRound = PESECTALIGN
    	}
    	if *FlagTextAddr == -1 {
    		*FlagTextAddr = Rnd(PEBASE, *FlagRound) + int64(PESECTHEADR)
    	}
    }
    
    func pewrite(ctxt *Link) {
    	ctxt.Out.SeekSet(0)
    	if ctxt.LinkMode != LinkExternal {
    		ctxt.Out.Write(dosstub)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
Back to top