Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for progx (0.04 sec)

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

    	cursym     *obj.LSym
    	blitrl     *obj.Prog
    	elitrl     *obj.Prog
    	autosize   int32
    	extrasize  int32
    	instoffset int64
    	pc         int64
    	pool       struct {
    		start uint32
    		size  uint32
    	}
    }
    
    const (
    	funcAlign = 16
    )
    
    const (
    	REGFROM = 1
    )
    
    type Optab struct {
    	as    obj.As
    	a1    uint8 // Prog.From
    	a2    uint8 // 2nd source operand, Prog.Reg or Prog.RestArgs[XXX]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    		}
    		t.Fatalf("%v", errorStrings)
    	}
    
    	// Typecheck expression
    	_, err = cel.AstToCheckedExpr(compiled)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    
    	prog, err := env.Program(compiled)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	res, _, err := prog.Eval(map[string]interface{}{})
    	if len(expectRuntimeErrPattern) > 0 {
    		if err == nil {
    			t.Fatalf("no runtime error thrown. Expected: %v", expectRuntimeErrPattern)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    func isValid(env *cel.Env, expr string, activation any) (bool, error) {
    	ast, issues := env.Compile(expr)
    	if len(issues.Errors()) > 0 {
    		return false, issues.Err()
    	}
    	prog, err := env.Program(ast)
    	if err != nil {
    		return false, err
    	}
    	result, _, err := prog.Eval(activation)
    	if err != nil {
    		return false, err
    	}
    	return result.Value() == true, nil
    }
    
    type fakeAuthorizer struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    	}
    	prog, err := env.Program(ast,
    		cel.InterruptCheckFrequency(celconfig.CheckFrequency),
    	)
    	if err != nil {
    		return resultError("program instantiation failed: "+err.Error(), apiservercel.ErrorTypeInternal)
    	}
    	return CompilationResult{
    		Program:            prog,
    		ExpressionAccessor: expressionAccessor,
    		OutputType:         ast.OutputType(),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top