Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 95 for isint32 (0.43 sec)

  1. src/time/time_test.go

    		}
    	}
    
    	// If the zone begins at the beginning of time, start will be returned as a zero Time.
    	// Use math.MinInt32 to avoid overflow of int arguments on 32-bit systems.
    	beginTime := Date(math.MinInt32, January, 1, 0, 0, 0, 0, loc)
    	start, end := beginTime.ZoneBounds()
    	if !start.IsZero() || end.IsZero() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    		return key
    	}
    	// mapaccess and mapdelete don't distinguish pointer vs. integer key.
    	switch fast {
    	case mapfast32ptr:
    		return ir.NewConvExpr(n.Pos(), ir.OCONVNOP, types.Types[types.TUINT32], key)
    	case mapfast64ptr:
    		return ir.NewConvExpr(n.Pos(), ir.OCONVNOP, types.Types[types.TUINT64], key)
    	default:
    		// fast version takes key by value.
    		return key
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context.go

    	}
    
    	// sort slices by priority
    	for i, slice := range matchedPlugins {
    		sort.SliceStable(slice, func(i, j int) bool {
    			iPriority := int32(math.MinInt32)
    			if prio := slice[i].Priority; prio != nil {
    				iPriority = prio.Value
    			}
    			jPriority := int32(math.MinInt32)
    			if prio := slice[j].Priority; prio != nil {
    				jPriority = prio.Value
    			}
    			return iPriority > jPriority
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  4. src/go/constant/value.go

    func rtof(x ratVal) floatVal     { return floatVal{newFloat().SetRat(x.val)} }
    func vtoc(x Value) complexVal    { return complexVal{x, int64Val(0)} }
    
    func makeInt(x *big.Int) Value {
    	if x.IsInt64() {
    		return int64Val(x.Int64())
    	}
    	return intVal{x}
    }
    
    func makeRat(x *big.Rat) Value {
    	a := x.Num()
    	b := x.Denom()
    	if smallInt(a) && smallInt(b) {
    		// ok to remain fraction
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  5. src/encoding/gob/decode.go

    	}
    	value.SetUint(v)
    }
    
    // decInt32 decodes an integer and stores it as an int32 in value.
    func decInt32(i *decInstr, state *decoderState, value reflect.Value) {
    	v := state.decodeInt()
    	if v < math.MinInt32 || math.MaxInt32 < v {
    		error_(i.ovfl)
    	}
    	value.SetInt(v)
    }
    
    // decUint32 decodes an unsigned integer and stores it as a uint32 in value.
    func decUint32(i *decInstr, state *decoderState, value reflect.Value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  6. src/encoding/gob/codec_test.go

    			t.Errorf("uint16 a = %v not 17", data)
    		}
    	}
    
    	// int32
    	{
    		var data int32
    		instr := &decInstr{decInt32, 6, nil, ovfl}
    		state := newDecodeStateFromData(signedResult)
    		execDec(instr, state, t, reflect.ValueOf(&data))
    		if data != 17 {
    			t.Errorf("int32 a = %v not 17", data)
    		}
    	}
    
    	// uint32
    	{
    		var data uint32
    		instr := &decInstr{decUint32, 6, nil, ovfl}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	entryOff uint32 // start pc, as offset from moduledata.text/pcHeader.textStart
    	nameOff  int32  // function name, as index into moduledata.funcnametab.
    
    	args        int32  // in/out args size
    	deferreturn uint32 // offset of start of a deferreturn call instruction from entry, if any.
    
    	pcsp      uint32
    	pcfile    uint32
    	pcln      uint32
    	npcdata   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/arith_test.go

    	return a - b>>3
    }
    
    //go:noinline
    func rsbshiftRL_ssa(a, b uint32) uint32 {
    	return a>>3 - b
    }
    
    //go:noinline
    func andshiftRL_ssa(a, b uint32) uint32 {
    	return a & (b >> 3)
    }
    
    //go:noinline
    func orshiftRL_ssa(a, b uint32) uint32 {
    	return a | b>>3
    }
    
    //go:noinline
    func xorshiftRL_ssa(a, b uint32) uint32 {
    	return a ^ b>>3
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  9. src/math/big/float.go

    		}
    	}
    	return z
    }
    
    // msb32 returns the 32 most significant bits of x.
    func msb32(x nat) uint32 {
    	i := len(x) - 1
    	if i < 0 {
    		return 0
    	}
    	if debugFloat && x[i]&(1<<(_W-1)) == 0 {
    		panic("x not normalized")
    	}
    	switch _W {
    	case 32:
    		return uint32(x[i])
    	case 64:
    		return uint32(x[i] >> 32)
    	}
    	panic("unreachable")
    }
    
    // msb64 returns the 64 most significant bits of x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	}
    
    	// Update size...
    	binary.BigEndian.PutUint32(dst[dataOffset-4:dataOffset], uint32(len(dst)-dataOffset))
    
    	// Add CRC of metadata as fixed size (5 bytes)
    	// Prior to v1.3 this was variable sized.
    	tmp = tmp[:5]
    	tmp[0] = 0xce // muint32
    	binary.BigEndian.PutUint32(tmp[1:], uint32(xxhash.Sum64(dst[dataOffset:])))
    	dst = append(dst, tmp[:5]...)
    	return append(dst, x.data...), nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
Back to top