Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for progx (0.17 sec)

  1. tools/docker-builder/builder/crane.go

    			remoteTargets[repo] = map[name.Reference]remote.Taggable{}
    		}
    		remoteTargets[repo][destRef] = artifact
    	}
    
    	for repo, mw := range remoteTargets {
    		prog := CreateProgress(fmt.Sprintf("upload %v", repo.String()))
    		if err := remote.MultiWrite(mw, remote.WithProgress(prog), remote.WithAuthFromKeychain(authn.DefaultKeychain)); err != nil {
    			return err
    		}
    		s := repo.String()
    		if len(mw) == 1 {
    			for tag := range mw {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/ld_test.go

    // runtime.MemProfileRate, which this test checks.
    func TestMemProfileCheck(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	tests := []struct {
    		name    string
    		prog    string
    		wantOut string
    	}{
    		{
    			"no_memprofile",
    			`
    package main
    import "runtime"
    func main() {
    	println(runtime.MemProfileRate)
    }
    `,
    			"0",
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. src/regexp/onepass_test.go

    	{`^.bc(d|e)*$`, true},
    	{`^(?:(?:aa)|.)$`, false},
    	{`^(?:(?:a{1,2}){1,2})$`, false},
    	{`^l` + strings.Repeat("o", 2<<8) + `ng$`, true},
    }
    
    func TestCompileOnePass(t *testing.T) {
    	var (
    		p   *syntax.Prog
    		re  *syntax.Regexp
    		err error
    	)
    	for _, test := range onePassTests {
    		if re, err = syntax.Parse(test.re, syntax.Perl); err != nil {
    			t.Errorf("Parse(%q) got err:%s, want success", test.re, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/runtime/mbitmap.go

    	lock mutex
    	data *byte
    }
    
    // progToPointerMask returns the 1-bit pointer mask output by the GC program prog.
    // size the size of the region described by prog, in bytes.
    // The resulting bitvector will have no more than size/goarch.PtrSize bits.
    func progToPointerMask(prog *byte, size uintptr) bitvector {
    	n := (size/goarch.PtrSize + 7) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/a.out.go

    	C_ROFF // register offset (including register extended)
    
    	C_GOK
    	C_TEXTSIZE
    	C_NCLASS // must be last
    )
    
    const (
    	C_XPRE  = 1 << 6 // match arm.C_WBIT, so Prog.String know how to print it
    	C_XPOST = 1 << 5 // match arm.C_PBIT, so Prog.String know how to print it
    )
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p arm64
    
    const (
    	AADC = obj.ABaseARM64 + obj.A_ARCHSPECIFIC + iota
    	AADCS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  6. src/runtime/pprof/proto_test.go

    	testenv.MustHaveGoRun(t)
    	testenv.MustHaveCGO(t)
    
    	prog := "./testdata/mappingtest/main.go"
    
    	// GoOnly includes only Go symbols that runtime will symbolize.
    	// Go+C includes C symbols that runtime will not symbolize.
    	for _, traceback := range []string{"GoOnly", "Go+C"} {
    		t.Run("traceback"+traceback, func(t *testing.T) {
    			cmd := exec.Command(testenv.GoToolPath(t), "run", prog)
    			if traceback != "GoOnly" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		return elfexec.FindTextProgHeader(ef), nil
    	}
    
    	// Fetch all the loadable segments.
    	var phdrs []elf.ProgHeader
    	for i := range ef.Progs {
    		if ef.Progs[i].Type == elf.PT_LOAD {
    			phdrs = append(phdrs, ef.Progs[i].ProgHeader)
    		}
    	}
    	// Some ELF files don't contain any loadable program segments, e.g. .ko
    	// kernel modules. It's not an error to have no header in such cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	// TODO: Ideally we could configure the per expression limit at validation time and set it to the remaining overall budget, but we would either need a way to pass in a limit at evaluation time or move program creation to validation time
    	prog, err := ruleEnv.Program(ast,
    		cel.CostLimit(perCallLimit),
    		cel.CostTracking(estimator),
    		cel.InterruptCheckFrequency(celconfig.CheckFrequency),
    	)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/os/exec/exec.go

    //
    // For example, consider these two program snippets:
    //
    //	path, err := exec.LookPath("prog")
    //	if err != nil {
    //		log.Fatal(err)
    //	}
    //	use(path)
    //
    // and
    //
    //	cmd := exec.Command("prog")
    //	if err := cmd.Run(); err != nil {
    //		log.Fatal(err)
    //	}
    //
    // These will not find and run ./prog or .\prog.exe,
    // no matter how the current path is configured.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/cpu.go

    	REG_F24: 56,
    	REG_F25: 57,
    	REG_F26: 58,
    	REG_F27: 59,
    	REG_F28: 60,
    	REG_F29: 61,
    	REG_F30: 62,
    	REG_F31: 63,
    }
    
    // Prog.Mark flags.
    const (
    	// USES_REG_TMP indicates that a machine instruction generated from the
    	// corresponding *obj.Prog uses the temporary register.
    	USES_REG_TMP = 1 << iota
    
    	// NEED_JAL_RELOC is set on JAL instructions to indicate that a
    	// R_RISCV_JAL relocation is needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top