- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 40 for newRule (0.22 sec)
-
pkg/test/framework/components/prometheus/kube.go
} if err := ctx.ConfigKube().YAML(ns, yaml).Apply(apply.NoCleanup); err != nil { return err } ctx.CleanupConditionally(func() { _ = ctx.ConfigKube().YAML(ns, yaml).Delete() }) return nil } func newKube(ctx resource.Context, cfgIn Config) (Instance, error) { c := &kubeComponent{ clusters: ctx.Clusters(), } c.id = ctx.TrackResource(c) c.api = make(map[string]prometheusApiV1.API)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/signature.go
default: check.errorf(recv, InvalidRecv, "invalid receiver type %s", recv.typ) } }).describef(recv, "validate receiver %s", recv) } sig.params = NewTuple(params...) sig.results = NewTuple(results...) sig.variadic = variadic } // collectParams declares the parameters of list in scope and returns the corresponding // variable list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
src/go/types/call.go
reverse = true } // Rename type parameters to avoid problems with recursive instantiations. // Note that NewTuple(params...) below is (*Tuple)(nil) if len(params) == 0, as desired. tparams, params2 := check.renameTParams(pos, sig.TypeParams().list(), NewTuple(params...)) err := check.newError(CannotInferTypeArgs) targs = check.infer(atPos(pos), tparams, targs, params2.(*Tuple), args, reverse, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
_, err := c.Kube().CoreV1().Namespaces().Patch(context.TODO(), name, types.JSONPatchType, []byte(nsLabelPatch), metav1.PatchOptions{}) return err }) } // NewNamespace allocates a new testing namespace. func newKube(ctx resource.Context, cfg Config) (Instance, error) { mu.Lock() idctr++ nsid := idctr r := rnd.Intn(99999) mu.Unlock() name := fmt.Sprintf("%s-%d-%d", cfg.Prefix, nsid, r) n := &kubeNamespace{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
x := v_0.Args[0] y := v_0.Args[1] v.reset(OpSelect0) v.Type = typ.UInt64 v0 := b.NewValue0(v.Pos, OpPPC64ADDE, types.NewTuple(typ.UInt64, typ.UInt64)) v1 := b.NewValue0(v.Pos, OpSelect1, typ.UInt64) v2 := b.NewValue0(v.Pos, OpPPC64ADDCconst, types.NewTuple(typ.UInt64, typ.UInt64)) v2.AuxInt = int64ToAuxInt(-1) v2.AddArg(c) v1.AddArg(v2) v0.AddArg3(x, y, v1) v.AddArg(v0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
src/cmd/compile/internal/rangefunc/rewrite.go
} } params = append(params, paramVar) } tv := syntax.TypeAndValue{ Type: types2.NewSignatureType(nil, nil, nil, types2.NewTuple(params...), types2.NewTuple(results...), false), } tv.SetIsValue() bodyFunc.SetTypeInfo(tv) loop := r.forStack[len(r.forStack)-1] if r.checkFuncMisuse() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
//go:build wasip1 package syscall import ( "internal/stringslite" "runtime" "unsafe" ) func init() { // Try to set stdio to non-blocking mode before the os package // calls NewFile for each fd. NewFile queries the non-blocking flag // but doesn't change it, even if the runtime supports non-blocking // stdio. Since WebAssembly modules are single-threaded, blocking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value { if s.config.PtrSize == 4 { return s.newValue2(ssa.OpMul32uover, types.NewTuple(types.Types[types.TUINT], types.Types[types.TUINT]), args[0], args[1]) } return s.newValue2(ssa.OpMul64uover, types.NewTuple(types.Types[types.TUINT], types.Types[types.TUINT]), args[0], args[1]) }, sys.AMD64, sys.I386, sys.Loong64, sys.MIPS64, sys.RISCV64, sys.ARM64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
if m := check.Types; m != nil { for { tv := m[x] assert(tv.Type != nil) // should have been recorded already pos := x.Pos() tv.Type = NewTuple( NewVar(pos, check.pkg, "", t0), NewVar(pos, check.pkg, "", t1), ) m[x] = tv // if x is a parenthesized expression (p.X), update p.X p, _ := x.(*syntax.ParenExpr) if p == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
return err } defer dwarff.Close() outf, err := os.OpenFile(outexe, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755) if err != nil { return err } defer outf.Close() dwarfm, err := macho.NewFile(dwarff) if err != nil { return err } defer dwarfm.Close() // The string table needs to be the last thing in the file // for code signing to work. So we'll need to move the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0)