Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,474 for Tconstants (0.28 sec)

  1. pkg/kubelet/types/constants.go

    Sascha Grunert <******@****.***> 1714653658 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/sccp.go

    // and then propagates constant facts only along reachable control flow paths.
    // Since some basic blocks are not visited yet, corresponding inputs of phi become
    // Top, we use the meet(phi) to compute its lattice.
    //
    // 	  Top ∩ any = any
    // 	  Bottom ∩ any = Bottom
    // 	  ConstantAConstantA = ConstantA
    // 	  ConstantAConstantB = Bottom
    //
    // Each lattice value is lowered most twice(Top to Constant, Constant to Bottom)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/const.go

    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    func fitsFloat64(x constant.Value) bool {
    	f, _ := constant.Float64Val(x)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat64(x constant.Value) constant.Value {
    	f, _ := constant.Float64Val(x)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    // representable checks that a constant operand is representable in the given
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/go/types/conversions.go

    					cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T)
    				} else {
    					cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T)
    				}
    				return false
    			}
    			return true
    		})
    		x.mode = value // type parameters are not constants
    	case x.convertibleTo(check, T, &cause):
    		// non-constant conversion
    		ok = true
    		x.mode = value
    	}
    
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/constants.go

    Katarzyna Lach <******@****.***> 1696583617 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 07:22:23 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/remotecommand/constants.go

    Sean Sullivan <******@****.***> 1688703727 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 18:37:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/go/types/builtins.go

    			return
    		}
    
    		// if both arguments are constants, the result is a constant
    		if x.mode == constant_ && y.mode == constant_ {
    			x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    	case constant.Float:
    		i := constant.ToInt(x)
    		if i.Kind() != constant.Int {
    			v, _ := constant.Float64Val(x)
    			return v
    		}
    		x = i
    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-constant.mlir

    module {
      func.func @main() -> tensor<1xi64> {
      %0 = "tfl.custom"() {custom_code = "stablehlo.constant", custom_option = #tfl<const_bytes : "0x76616C75650001020109010101062C022401">} : () -> tensor<1xi64>
      func.return %0 : tensor<1xi64>
      }
    }
    
    // CHECK:  module {
    // CHECK-NEXT:    func @main() -> tensor<1xi64> {
    // CHECK-NEXT:    %[[c0:.+]] = stablehlo.constant dense<2> : tensor<1xi64>
    // CHECK-NEXT:    return %[[c0]] : tensor<1xi64>
    // CHECK-NEXT:    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 574 bytes
    - Viewed (0)
  10. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy

        private void method() {
            for ($constantType i = Constant1.CONSTANT1 $addition; i < Constant2.CONSTANT2 $addition; i += Constant3.CONSTANT3 $addition) {
            }
            $constantType value = Constant3.CONSTANT3 $addition;
            switch((int) value) {
                case (int) (Constant4.CONSTANT4 $addition):
                default:
                    value = (int) (Constant5.CONSTANT5 $addition);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top