Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Ix (0.12 sec)

  1. test/cmp.go

    		istrue(ix == z)
    		istrue(iz == x)
    
    		istrue(ix != iy)
    		istrue(iy != ix)
    		istrue(iy != iz)
    		istrue(iz != iy)
    		isfalse(ix != iz)
    		isfalse(iz != ix)
    
    		istrue(x != iy)
    		istrue(y != ix)
    		istrue(y != iz)
    		istrue(z != iy)
    		isfalse(x != iz)
    		isfalse(z != ix)
    
    		istrue(ix != y)
    		istrue(iy != x)
    		istrue(iy != z)
    		istrue(iz != y)
    		isfalse(ix != z)
    		isfalse(iz != x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 26 03:38:21 UTC 2015
    - 7.6K bytes
    - Viewed (0)
  2. src/math/sqrt.go

    		return x
    	case x < 0:
    		return NaN()
    	}
    	ix := Float64bits(x)
    	// normalize x
    	exp := int((ix >> shift) & mask)
    	if exp == 0 { // subnormal x
    		for ix&(1<<shift) == 0 {
    			ix <<= 1
    			exp--
    		}
    		exp++
    	}
    	exp -= bias // unbias exponent
    	ix &^= mask << shift
    	ix |= 1 << shift
    	if exp&1 == 1 { // odd exp, double x to make it even
    		ix <<= 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 15 17:07:57 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue9537.dir/b.go

    	RetPtr(int)  *int
    	RetRPtr(int) (int, *int)
    }
    
    func main() {
    	x := &a.X{T: [32]byte{1, 2, 3, 4}}
    	var ix Intf = X{x}
    	t1 := ix.Get()
    	t2 := x.Get()
    	if !bytes.Equal(t1, t2) {
    		panic(t1)
    	}
    
    	p1 := ix.RetPtr(5)
    	p2 := x.RetPtr(7)
    	if *p1 != 6 || *p2 != 8 {
    		panic(*p1)
    	}
    
    	r1, r2 := ix.RetRPtr(10)
    	r3, r4 := x.RetRPtr(13)
    	if r1 != 11 || *r2 != 11 || r3 != 14 || *r4 != 14 {
    		panic("bad RetRPtr")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 22 03:25:12 UTC 2015
    - 678 bytes
    - Viewed (0)
  4. test/fixedbugs/issue33062.go

    	int
    	string
    }
    
    type complexStruct struct {
    	int
    	simpleStruct
    }
    
    func main() {
    	x := complexStruct{1, simpleStruct{2, "xxx"}}
    	ix := interface{}(x)
    	y := complexStruct{1, simpleStruct{2, "yyy"}}
    	iy := interface{}(y)
    	if ix != ix {
    		panic("FAIL")
    	}
    	if ix == iy {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 11 22:30:42 UTC 2019
    - 568 bytes
    - Viewed (0)
  5. pkg/controller/job/indexed_job_utils.go

    		if isPodFailed(p, jobCtx.job) {
    			if ix := getCompletionIndex(p.Annotations); ix != unknownCompletionIndex && ix < int(*jobCtx.job.Spec.Completions) {
    				if jobCtx.succeededIndexes.has(ix) || jobCtx.failedIndexes.has(ix) || activeIndexes.Has(ix) {
    					return false
    				}
    				if lastPodWithDelayedDeletion, ok := podsWithDelayedDeletionPerIndex[ix]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  6. src/go/types/typexpr.go

    		// errors.
    		check.recordInstance(ix.Orig, inst.TypeArgs().list(), inst)
    
    		if check.validateTArgLen(ix.Pos(), inst.obj.name, inst.TypeParams().Len(), inst.TypeArgs().Len()) {
    			if i, err := check.verify(ix.Pos(), inst.TypeParams().list(), inst.TypeArgs().list(), check.context()); err != nil {
    				// best position for error reporting
    				pos := ix.Pos()
    				if i < len(ix.Indices) {
    					pos = ix.Indices[i].Pos()
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/math/trig_reduce.go

    func trigReduce(x float64) (j uint64, z float64) {
    	const PI4 = Pi / 4
    	if x < PI4 {
    		return 0, x
    	}
    	// Extract out the integer and exponent such that,
    	// x = ix * 2 ** exp.
    	ix := Float64bits(x)
    	exp := int(ix>>shift&mask) - bias - shift
    	ix &^= mask << shift
    	ix |= 1 << shift
    	// Use the exponent to extract the 3 appropriate uint64 digits from mPi4,
    	// B ~ (z0, z1, z2), such that the product leading digit has the exponent -61.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/go/types/call.go

    // and x.mode is set to invalid.
    func (check *Checker) funcInst(T *target, pos token.Pos, x *operand, ix *typeparams.IndexExpr, infer bool) ([]Type, []ast.Expr) {
    	assert(T != nil || ix != nil)
    
    	var instErrPos positioner
    	if ix != nil {
    		instErrPos = inNode(ix.Orig, ix.Lbrack)
    		x.expr = ix.Orig // if we don't have an index expression, keep the existing expression of x
    	} else {
    		instErrPos = atPos(pos)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. pkg/credentialprovider/plugins.go

    	keyring := &providersDockerKeyring{
    		Providers: make([]DockerConfigProvider, 0),
    	}
    
    	keys := reflect.ValueOf(providers).MapKeys()
    	stringKeys := make([]string, len(keys))
    	for ix := range keys {
    		stringKeys[ix] = keys[ix].String()
    	}
    	sort.Strings(stringKeys)
    
    	for _, key := range stringKeys {
    		provider := providers[key]
    		if provider.Enabled() {
    			klog.V(4).Infof("Registering credential provider: %v", key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 22:01:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/regexp/onepass_test.go

    		[]uint32{mergeFailed},
    		1, 2,
    	},
    }
    
    func TestMergeRuneSet(t *testing.T) {
    	for ix, test := range runeMergeTests {
    		merged, next := mergeRuneSets(&test.left, &test.right, test.leftPC, test.rightPC)
    		if !slices.Equal(merged, test.merged) {
    			t.Errorf("mergeRuneSet :%d (%v, %v) merged\n have\n%v\nwant\n%v", ix, test.left, test.right, merged, test.merged)
    		}
    		if !slices.Equal(next, test.next) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top