Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for uint64max (0.25 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          // The segment array is sorted.
          // TODO(b/147449640): Clean this up with util functions.
          int max_of_segments = vector_segments[segments.size() - 1];
          if (max_of_segments <= UINT8_MAX) {
            segments_type = tflite::SparseIndexVector_Uint8Vector;
            std::vector<uint8_t> uint8_vector(vector_segments.begin(),
                                              vector_segments.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    				}
    				return
    			}
    			// rhs must be within reasonable bounds in constant shifts
    			const shiftBound = 1023 - 1 + 52 // so we can express smallestFloat64 (see go.dev/issue/44057)
    			s, ok := constant.Uint64Val(yval)
    			if !ok || s > shiftBound {
    				check.errorf(y, InvalidShiftCount, invalidOp+"invalid shift count %s", y)
    				x.mode = invalid
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/fmt.go

    			fmt.Fprint(s, n.Sym())
    			return
    		}
    
    		typ := n.Type()
    		val := n.Val()
    
    		// Special case for rune constants.
    		if typ == types.RuneType || typ == types.UntypedRune {
    			if x, ok := constant.Uint64Val(val); ok && x <= utf8.MaxRune {
    				fmt.Fprintf(s, "%q", x)
    				return
    			}
    		}
    
    		// Only include typ if it's neither the default nor untyped type
    		// for the constant value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    				}
    				return
    			}
    			// rhs must be within reasonable bounds in constant shifts
    			const shiftBound = 1023 - 1 + 52 // so we can express smallestFloat64 (see go.dev/issue/44057)
    			s, ok := constant.Uint64Val(yval)
    			if !ok || s > shiftBound {
    				check.errorf(y, InvalidShiftCount, invalidOp+"invalid shift count %s", y)
    				x.mode = invalid
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/go/types/stmt.go

    	// and string values, so only create Go values for these
    	// types.
    	switch val.Kind() {
    	case constant.Int:
    		if x, ok := constant.Int64Val(val); ok {
    			return x
    		}
    		if x, ok := constant.Uint64Val(val); ok {
    			return x
    		}
    	case constant.Float:
    		if x, ok := constant.Float64Val(val); ok {
    			return x
    		}
    	case constant.String:
    		return constant.StringVal(val)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/stmt.go

    	// and string values, so only create Go values for these
    	// types.
    	switch val.Kind() {
    	case constant.Int:
    		if x, ok := constant.Int64Val(val); ok {
    			return x
    		}
    		if x, ok := constant.Uint64Val(val); ok {
    			return x
    		}
    	case constant.Float:
    		if x, ok := constant.Float64Val(val); ok {
    			return x
    		}
    	case constant.String:
    		return constant.StringVal(val)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      if (*debug_options_.fuel >= std::numeric_limits<int64_t>::max() / 2) {
        // The assumption is that if fuel started out as INT64_MAX, it will forever
        // stay greater than INT64_MAX / 2.
        VLOG(2) << "Starting fuel: infinity";
      } else {
        VLOG(2) << "Starting fuel: " << *debug_options_.fuel;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/expr.go

    			switch et {
    			case types.TINT64:
    				c := ir.Int64Val(n.Y)
    				if c < 0 {
    					c = -c
    				}
    				if c != 0 && c&(c-1) == 0 {
    					return n
    				}
    			case types.TUINT64:
    				c := ir.Uint64Val(n.Y)
    				if c < 1<<16 {
    					return n
    				}
    				if c != 0 && c&(c-1) == 0 {
    					return n
    				}
    			}
    		}
    		var fn string
    		if et == types.TINT64 {
    			fn = "int64"
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/obj9.go

    			break
    		} else if (p.From.Offset < -0x8000 && int64(int32(p.From.Offset)) == p.From.Offset) || (p.From.Offset > 0xFFFF && p.From.Offset < 0x7FFF8000) {
    			// For a constant x, 0xFFFF (UINT16_MAX) < x < 0x7FFF8000 or -0x80000000 (INT32_MIN) <= x < -0x8000 (INT16_MIN)
    			// This is not done for 0x7FFF < x < 0x10000; the assembler will generate a slightly faster instruction sequence.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg go/constant, func Real(Value) Value
    pkg go/constant, func Shift(Value, token.Token, uint) Value
    pkg go/constant, func Sign(Value) int
    pkg go/constant, func StringVal(Value) string
    pkg go/constant, func Uint64Val(Value) (uint64, bool)
    pkg go/constant, func UnaryOp(token.Token, Value, uint) Value
    pkg go/constant, type Kind int
    pkg go/constant, type Value interface, Kind() Kind
    pkg go/constant, type Value interface, String() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top