Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for progx (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/asm/internal/asm/parse.go

    	pc            int64 // virtual PC; count of Progs; doesn't advance for GLOBL or DATA.
    	input         []lex.Token
    	inputPos      int
    	pendingLabels []string // Labels to attach to next instruction.
    	labels        map[string]*obj.Prog
    	toPatch       []Patch
    	addr          []obj.Addr
    	arch          *arch.Arch
    	ctxt          *obj.Link
    	firstProg     *obj.Prog
    	lastProg      *obj.Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm/asm5.go

    // This allows for multiple functions to be safely concurrently assembled.
    type ctxt5 struct {
    	ctxt       *obj.Link
    	newprog    obj.ProgAlloc
    	cursym     *obj.LSym
    	printp     *obj.Prog
    	blitrl     *obj.Prog
    	elitrl     *obj.Prog
    	autosize   int64
    	instoffset int64
    	pc         int64
    	pool       struct {
    		start uint32
    		size  uint32
    		extra uint32
    	}
    }
    
    type Optab struct {
    	as       obj.As
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  9. src/os/exec/lp_windows.go

    	return lookPath(file, pathExt())
    }
    
    // lookExtensions finds windows executable by its dir and path.
    // It uses LookPath to try appropriate extensions.
    // lookExtensions does not search PATH, instead it converts `prog` into `.\prog`.
    //
    // If the path already has an extension found in PATHEXT,
    // lookExtensions returns it directly without searching
    // for additional extensions. For example,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    		}
    
    		require.Empty(t, missingCompileErrs, "expected compilation errors")
    		return
    	} else if len(issues.Errors()) > 0 {
    		t.Fatalf("%v", issues.Errors())
    	}
    
    	prog, err := env.Program(compiled)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	res, _, err := prog.Eval(map[string]interface{}{})
    	if len(expectRuntimeErr) > 0 {
    		if err == nil {
    			t.Fatalf("no runtime error thrown. Expected: %v", expectRuntimeErr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top