Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 987 for Tconstants (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/constants.h

    Dan Suh <******@****.***> 1676256638 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 13 02:55:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. fastapi/openapi/constants.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 153 bytes
    - Viewed (0)
  7. 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)
  8. cmd/kubeadm/app/cmd/options/constant.go

    calvin <******@****.***> 1706611761 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Enums.java

          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. src/go/doc/testdata/blank.1.golden

    PACKAGE blank
    
    IMPORTPATH
    	testdata/blank
    
    IMPORTS
    	os
    
    FILENAMES
    	testdata/blank.go
    
    CONSTANTS
    	// T constants counting from unexported constants. 
    	const (
    		tweedledee	T	= iota
    		tweedledum
    		C1
    		C2
    		alice
    		C3
    		redQueen	int	= iota
    		C4
    	)
    
    	// Constants with a single type that is not propagated. 
    	const (
    		zero		os.FileMode	= 0
    		Default				= 0644
    		Useless				= 0312
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 18:01:14 UTC 2017
    - 1001 bytes
    - Viewed (0)
Back to top