Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for tn (0.16 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    	// parameter lists, fall back on types.AssignableTo.
    
    	VN, Vnamed := V.(*types.Named)
    	TN, Tnamed := T.(*types.Named)
    	if !Vnamed || !Tnamed {
    		return types.AssignableTo(V, T)
    	}
    
    	vtparams := VN.TypeParams()
    	ttparams := TN.TypeParams()
    	if vtparams.Len() == 0 || vtparams.Len() != ttparams.Len() || VN.TypeArgs().Len() != 0 || TN.TypeArgs().Len() != 0 {
    		return types.AssignableTo(V, T)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    			apiResources: []metav1.APIResource{
    				{
    					Kind: customGVK.Kind,
    					Name: resourceName,
    				},
    			},
    			expectError: true,
    		},
    	}
    
    	for tn, tc := range testCases {
    		t.Run(tn, func(t *testing.T) {
    			customResourceUID := uuid.NewUUID()
    
    			_, ctx := ktesting.NewTestContext(t)
    			dc, _ := newFakeDisruptionController(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. src/net/ip.go

    		return netip.AddrFrom4([4]byte(p4)).String()
    	}
    	return netip.AddrFrom16([16]byte(ip)).String()
    }
    
    func hexString(b []byte) string {
    	s := make([]byte, len(b)*2)
    	for i, tn := range b {
    		s[i*2], s[i*2+1] = hexDigit[tn>>4], hexDigit[tn&0xf]
    	}
    	return string(s)
    }
    
    // ipEmptyString is like ip.String except that it returns
    // an empty string when ip is unset.
    func ipEmptyString(ip IP) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/math/rand/rand_test.go

    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    	const m2 = 1 << 32
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand_test.go

    	testFn[0] = 1.0
    	testFn[127] = float32(math.Exp(-0.5 * dn * dn))
    	for i := 126; i >= 1; i-- {
    		dn = math.Sqrt(-2.0 * math.Log(vn/dn+math.Exp(-0.5*dn*dn)))
    		testKn[i+1] = uint32((dn / tn) * m1)
    		tn = dn
    		testFn[i] = float32(math.Exp(-0.5 * dn * dn))
    		testWn[i] = float32(dn / m1)
    	}
    	return
    }
    
    func initExp() (testKe []uint32, testWe, testFe []float32) {
    	const m2 = 1 << 32
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    			apiVersion: "v1",
    			validation: true,
    		},
    		"policy/some-version should do update validation": {
    			apiVersion: "some-version",
    			validation: true,
    		},
    	}
    
    	for tn, tc := range testCases {
    		t.Run(tn, func(t *testing.T) {
    			ctx := genericapirequest.WithRequestInfo(genericapirequest.NewDefaultContext(),
    				&genericapirequest.RequestInfo{
    					APIGroup:   "policy",
    					APIVersion: tc.apiVersion,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/runtime/string.go

    // The function is only called when instrumenting
    // and otherwise intrinsified by the compiler.
    //
    // Some internal compiler optimizations use this function.
    //   - Used for m[T1{... Tn{..., string(k), ...} ...}] and m[string(k)]
    //     where k is []byte, T1 to Tn is a nesting of struct and array literals.
    //   - Used for "<"+string(b)+">" concatenation where b is []byte.
    //   - Used for string(b)=="foo" comparison where b is []byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		}
    		// Remove the "path" from the type param name that makes it unique,
    		// and revert any unique name used for blank typeparams.
    		name0 := tparamName(name)
    		tn := types.NewTypeName(pos, r.currPkg, name0, nil)
    		t := types.NewTypeParam(tn, nil)
    		// To handle recursive references to the typeparam within its
    		// bound, save the partial type in tparamIndex before reading the bounds.
    		id := ident{r.currPkg, name}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    			un, isUnCast := st.unqualifiedName(module)
    			next = un
    			module = nil
    			if isUnCast {
    				if tn, ok := un.(*TaggedName); ok {
    					un = tn.Name
    				}
    				cast = un.(*Cast)
    			}
    		} else {
    			switch st.str[0] {
    			case 'C':
    				inheriting := false
    				st.advance(1)
    				if len(st.str) > 0 && st.str[0] == 'I' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    J)),R.walkDecls(ee=>{ee.important=w.important||b});let De=(0,Tn.default)().astSync(R.selector);De.each(ee=>Nt(ee)),R.selector=De.toString()}),!!I.nodes[0]&&d.push([w.sort,I.nodes[0]])}}let p=e.offsets.sort(d).map(m=>m[1]);u.after(p)}for(let u of n)u.parent.nodes.length>1?u.remove():u.parent.remove();Ph(i,e,t)}function _o(i){return e=>{let t=n2(()=>r2(e,i));Ph(e,i,t)}}var Tn,ZC,Dh=C(()=>{l();nt();Tn=X(Me());Sn();Ft();eo();yn();ZC=(0,Tn.default)()});var Ih=v((lD,Dn)=>{l();(function(){"use strict";function...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
Back to top