Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Xt (0.02 sec)

  1. src/internal/reflectlite/set_test.go

    var _ error = new(mapError)
    
    func TestImplements(t *testing.T) {
    	for _, tt := range implementsTests {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.Implements(xt); b != tt.b {
    			t.Errorf("(%s).Implements(%s) = %v, want %v", TypeString(xv), TypeString(xt), b, tt.b)
    		}
    	}
    }
    
    var assignableTests = []struct {
    	x any
    	t any
    	b bool
    }{
    	{new(chan int), new(<-chan int), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. src/math/big/sqrt.go

    	// then
    	//   g(t) = f(t)/f'(t) = -½t(1 - xt²)
    	// and the next guess is given by
    	//   t2 = t - g(t) = ½t(3 - xt²)
    	u := newFloat(z.prec)
    	v := newFloat(z.prec)
    	three := three()
    	ng := func(t *Float) *Float {
    		u.prec = t.prec
    		v.prec = t.prec
    		u.Mul(t, t)     // u = t²
    		u.Mul(x, u)     //   = xt²
    		v.Sub(three, u) // v = 3 - xt²
    		u.Mul(t, v)     // u = t(3 - xt²)
    		u.exp--         //   = ½t(3 - xt²)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go

    		[6]*argField{ap_VecSReg_31_31_6_10, ap_Reg_11_15, ap_Reg_16_20}},
    	{LXVL, 0xfc0007fe00000000, 0x7c00021a00000000, 0x0, // Load VSX Vector with Length X-form (lxvl XT,RA,RB)
    		[6]*argField{ap_VecSReg_31_31_6_10, ap_Reg_11_15, ap_Reg_16_20}},
    	{LXVLL, 0xfc0007fe00000000, 0x7c00025a00000000, 0x0, // Load VSX Vector with Length Left-justified X-form (lxvll XT,RA,RB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 334.7K bytes
    - Viewed (0)
  4. src/reflect/set_test.go

    	End() token.Pos
    	exprNode()
    }
    
    func TestImplements(t *testing.T) {
    	for _, tt := range implementsTests {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.Implements(xt); b != tt.b {
    			t.Errorf("(%s).Implements(%s) = %v, want %v", xv.String(), xt.String(), b, tt.b)
    		}
    	}
    }
    
    var assignableTests = []struct {
    	x any
    	t any
    	b bool
    }{
    	{new(chan int), new(<-chan int), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 13:56:11 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	// AT <at>, <Xt>
    	{0xfff8ff00, 0xd5087800, AT, instArgs{arg_sysop_AT_SYS_CR_system}, at_sys_cr_system_cond},
    	// DC <dc>, <Xt>
    	{0xfff8f000, 0xd5087000, DC, instArgs{arg_sysop_DC_SYS_CR_system}, dc_sys_cr_system_cond},
    	// IC <ic>, {<Xt>}
    	{0xfff8f000, 0xd5087000, IC, instArgs{arg_sysop_IC_SYS_CR_system}, ic_sys_cr_system_cond},
    	// TLBI <tlbi>, {<Xt>}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue19113.go

    		runTest(reflect.ValueOf(t))
    	}
    }
    
    func runTest(f reflect.Value) {
    	xt := f.Type().In(0)
    	st := f.Type().In(1)
    
    	for _, x := range []int{1, 0, -1} {
    		for _, s := range []int{-99, -64, -63, -32, -31, -16, -15, -8, -7, -1, 0, 1, 7, 8, 15, 16, 31, 32, 63, 64, 99} {
    			args := []reflect.Value{
    				reflect.ValueOf(x).Convert(xt),
    				reflect.ValueOf(s).Convert(st),
    			}
    			if s < 0 {
    				shouldPanic(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 15 23:13:09 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/typeAliases.kt

    typealias X<XT> = List<X>
    class A {
        typealias Y<YS, YV> = Map<YS, YV>
    
        class B {
            typealias Q<QS, QV> = MutableMap<QS, QV>
        }
    }
    
    fun foo() {
        typealias L<LS, LV> = Map<LS, LV>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 198 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByPsi/localDeclarations.kt

    fun x() {
        val xProperty = 10
        fun xFunction() = 11
        typealias xTypealias = 10
        class XClass<XT> {}
        enum class XEnum {
            X_ENUM_ENTRY;
    
            fun xEnumMember(){}
        }
    
        class Y <YT> {
            val yProperty = 10
            fun yFunction() = 11
            typealias yTypealias = 10
            class YClass<YTT> {}
            enum class YEnum {
                Y_ENUM_ENTRY;
    
                fun yEnumMember(){}
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 509 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9_gtables.go

    	if p.To.Offset&0xfffffe07 != 0xfffffe00 {
    		c.ctxt.Diag("Constant(%d) must within the range of [-512,-8] in steps of 8\n%v", p.To.Offset, p)
    	}
    	out[0] = o0
    }
    
    // lxvkq XT,UIM
    func type_lxvkq(c *ctxt9, p *obj.Prog, t *Optab, out *[5]uint32) {
    	o0 := GenOpcodes[p.As-AXXSETACCZ]
    	o0 |= uint32((p.To.Reg>>5)&0x1) << 0   // TX
    	o0 |= uint32(p.To.Reg&0x1f) << 21      // T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 20:18:50 UTC 2022
    - 42.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"")
        assertInvalid(" text/plain", "No subtype found for: \" text/plain\"")
        assertInvalid("te xt/plain", "No subtype found for: \"te xt/plain\"")
        assertInvalid("text /plain", "No subtype found for: \"text /plain\"")
        assertInvalid("text/ plain", "No subtype found for: \"text/ plain\"")
        assertInvalid(
          "text/pl@in",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top