Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 200 for newRule (0.22 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

                """,
                "$objectName.class"
            )
        }
    
        private
        fun compileScript(scriptName: String, scriptBody: String, scriptClass: String): ClassFixture {
            val sourceFile = newFile("$scriptName.kt", scriptBody)
    
            val binDir = newFolder("bin")
            compileToDirectory(
                binDir,
                KotlinCompilerOptions(),
                "test",
                listOf(sourceFile),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/istio.go

    				scopes.Framework.Info("=== SUCCESS: context setup function ===")
    			}
    		}
    
    		t0 := time.Now()
    		scopes.Framework.Infof("=== BEGIN: Deploy Istio [Suite=%s] ===", ctx.Settings().TestID)
    
    		ins, err := newKube(ctx, cfg)
    		if err != nil {
    			scopes.Framework.Infof("=== FAILED: Deploy Istio in %v [Suite=%s] ===", time.Since(t0), ctx.Settings().TestID)
    			return err
    		}
    
    		if i != nil {
    			*i = ins
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. internal/lock/lock_windows.go

    	accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000)
    
    	fd, err := syscall.CreateFile(pathp, access, shareflag, nil, createflag, accessAttr, 0)
    	if err != nil {
    		return nil, err
    	}
    
    	return os.NewFile(uintptr(fd), path), nil
    }
    
    func lockFile(fd syscall.Handle, flags uint32) error {
    	// https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx
    	if fd == syscall.InvalidHandle {
    		return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pkg/test/framework/components/zipkin/kube.go

    		return err
    	}
    	yaml = strings.ReplaceAll(extServiceEntry, "{INGRESS_DOMAIN}", ingressAddr)
    	err = ctx.ConfigIstio().YAML(ns, yaml).Apply()
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    func newKube(ctx resource.Context, cfgIn Config) (Instance, error) {
    	c := &kubeComponent{
    		cluster: ctx.Clusters().GetOrDefault(cfgIn.Cluster),
    	}
    	c.id = ctx.TrackResource(c)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// match: (Div16 x y)
    	// result: (Select1 (DIVV (SignExt16to64 x) (SignExt16to64 y)))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpSelect1)
    		v0 := b.NewValue0(v.Pos, OpMIPS64DIVV, types.NewTuple(typ.Int64, typ.Int64))
    		v1 := b.NewValue0(v.Pos, OpSignExt16to64, typ.Int64)
    		v1.AddArg(x)
    		v2 := b.NewValue0(v.Pos, OpSignExt16to64, typ.Int64)
    		v2.AddArg(y)
    		v0.AddArg2(v1, v2)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  9. src/go/types/selection.go

    		sig := *s.obj.(*Func).typ.(*Signature)
    		arg0 := *sig.recv
    		sig.recv = nil
    		arg0.typ = s.recv
    		var params []*Var
    		if sig.params != nil {
    			params = sig.params.vars
    		}
    		sig.params = NewTuple(append([]*Var{&arg0}, params...)...)
    		return &sig
    	}
    
    	// In all other cases, the type of x.f is the type of x.
    	return s.obj.Type()
    }
    
    // Index describes the path from x to f in x.f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top