- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 185 for Prog (0.05 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go
ast, issues := env.Compile(exp) if issues != nil { return nil, fmt.Errorf("fail to compile: %v", issues) } prog, err := env.Program(ast) if err != nil { return nil, fmt.Errorf("cannot create program: %w", err) } v, _, err := prog.Eval(activation) if err != nil { return nil, fmt.Errorf("cannot eval program: %w", err) } return v, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go
return resultError("unexpected compilation error: "+err.Error(), apiservercel.ErrorTypeInternal) } prog, err := env.Program(ast) if err != nil { return resultError("program instantiation failed: "+err.Error(), apiservercel.ErrorTypeInternal) } return CompilationResult{ Program: prog, AST: ast, ExpressionAccessor: expressionAccessor, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/internal/obj/arm/obj5.go
ctxt.Diag("invalid auto-SPWRITE in non-assembly") ctxt.DiagFlush() log.Fatalf("bad SPWRITE") } } } } } } func (c *ctxt5) stacksplit(p *obj.Prog, framesize int32) *obj.Prog { if c.ctxt.Flag_maymorestack != "" { // Save LR and make room for REGCTXT. const frameSize = 8 // MOVW.W R14,$-8(SP) p = obj.Appendp(p, c.newprog) p.As = AMOVW p.Scond |= C_WBIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 21.4K bytes - Viewed (0) -
src/cmd/internal/buildid/note.go
// header. The caller has already opened filename, to get f, and read // at least 4 kB out, in data. func readELF(name string, f *os.File, data []byte) (buildid string, err error) { // Assume the note content is in the data, already read. // Rewrite the ELF header to set shoff and shnum to 0, so that we can pass // the data to elf.NewFile and it will decode the Prog list but not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 20:40:42 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/internal/obj/x86/evex.go
case "RZ_SAE": suffix.rounding = rcRZSAE } } evexSuffixMap[i] = suffix } } // toDisp8 tries to convert disp to proper 8-bit displacement value. func toDisp8(disp int32, p *obj.Prog, asmbuf *AsmBuf) (disp8 byte, ok bool) { if asmbuf.evexflag { bcst := evexSuffixMap[p.Scond].broadcast elemSize := asmbuf.evex.DispMultiplier(bcst) return compressedDisp8(disp, elemSize) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.3K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
} c.cursym.Func().Args = p.To.Val.(int32) c.cursym.Func().Locals = int32(textstksiz) /* * find leaf subroutines * expand RET * expand BECOME pseudo */ var q *obj.Prog var q1 *obj.Prog for p := c.cursym.Func().Text; p != nil; p = p.Link { switch p.As { /* too hard, just leave alone */ case obj.ATEXT: q = p p.Mark |= LABEL | LEAF | SYNC if p.Link != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
// It returns a boolean to indicate success; failure means // cond was unrecognized. func ARM64Suffix(prog *obj.Prog, cond string) bool { if cond == "" { return true } bits, ok := parseARM64Suffix(cond) if !ok { return false } prog.Scond = bits return true } // parseARM64Suffix parses the suffix attached to an ARM64 instruction.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 09:04:58 UTC 2022 - 10.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_build_cmdline_pkgs.txt
env GOCOVERDIR=$SAVEGOCOVERDIR # Check to make sure we instrumented just the main package. go tool covdata pkglist -i=$WORK/covdata2 stdout command-line-arguments ! stdout fmt -- go.mod -- module example.prog -- testdata/another.go -- package main import "fmt" func main() { fmt.Println("Hi dad") } -- tiny/tiny.go -- package tiny var Tvar int -- tiny/tiny2.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go
progPkgPath = strings.TrimSuffix(filepath.Base(os.Args[0]), ".exe") } prog := path.Base(progPkgPath) progVers := info.Main.Version if progVers == "(devel)" { // avoid special characters in created file names progVers = "devel" } logBase := strings.ReplaceAll( fmt.Sprintf("%s-%s-%s-%4d%02d%02d-%d.log", prog, progVers, goVers, year, month, day, os.Getpid()), " ", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 5.5K bytes - Viewed (0) -
src/internal/types/testdata/check/issues0.go
// Issue #26234: Make various field/method lookup errors easier to read by matching cmd/compile's output func issue26234a(f *syn.Prog) { // The error message below should refer to the actual package name (syntax) // not the local package name (syn). f.foo /* ERROR "f.foo undefined (type *syntax.Prog has no field or method foo)" */ } type T struct { x int E1 E2 } type E1 struct{ f int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 11.6K bytes - Viewed (0)