- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,941 for pconstants (0.17 sec)
-
src/go/types/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: Wed Apr 03 18:48:38 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
rm.cfg.CertificatesDir, kubeadmconstants.CACertAndKeyBaseName) // adds the certificateRenewHandler. // Certificates embedded kubeConfig files in are indexed by fileName, that is a well know constant defined // in the kubeadm constants package and that can be reused across all the kubeadm codebase rm.certificates[kubeConfig.fileName] = &CertificateRenewHandler{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
x := r.Val() if constant.Sign(x) < 0 { base.Errorf("invalid slice index %v (index must be non-negative)", r) return false } else if tp != nil && tp.NumElem() >= 0 && constant.Compare(x, token.GTR, constant.MakeInt64(tp.NumElem())) { base.Errorf("invalid slice index %v (out of bounds for %d-element array)", r, tp.NumElem()) return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/compute_test.go
const fakeCurrentEtcdVersion = "3.1.12" func getEtcdVersion(v *versionutil.Version) string { etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String()) return etcdVer.String() } const fakeCurrentCoreDNSVersion = "1.0.6" func TestGetAvailableUpgrades(t *testing.T) { // constansts for test cases
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 08:39:51 UTC 2024 - 34.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/unfold-large-splat-constant.mlir
// RUN: tf-opt %s -unfold-large-splat-constant | FileCheck %s // CHECK-LABEL: @unfold_large_constant_splat func.func @unfold_large_constant_splat() -> (tensor<10x10xf32>, tensor<1000x1000xf32>) { %0 = arith.constant dense<0.00000e+00> : tensor<10x10xf32> %1 = arith.constant dense<1.00000e+00> : tensor<1000x1000xf32> func.return %0, %1 : tensor<10x10xf32>, tensor<1000x1000xf32> // CHECK-DAG: %cst = arith.constant dense<0.000000e+00> : tensor<10x10xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 26 23:53:32 UTC 2022 - 781 bytes - Viewed (0) -
pkg/test/framework/features/README.md
## Adding New Feature Constants For consistency, features must be registered in [features.yaml](features.yaml), or your test will fail. Each entry in this file will be equivalent to a dot delimited feature label. For instance: ```yaml usability:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
if (StringUtil.isBlank(form.q)) { // query matches on all documents. form.q = Constants.MATCHES_ALL_QUERY; } final WebRenderData renderData = new WebRenderData(); form.initialize(); request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_ADMIN); try { searchHelper.search(form, renderData, getUserBean());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
// Object dependency graph // A dependency is an object that may be a dependency in an initialization // expression. Only constants, variables, and functions can be dependencies. // Constants are here because constant expression cycles are reported during // initialization order computation. type dependency interface { Object isDependency() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
// Object dependency graph // A dependency is an object that may be a dependency in an initialization // expression. Only constants, variables, and functions can be dependencies. // Constants are here because constant expression cycles are reported during // initialization order computation. type dependency interface { Object isDependency() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/types/eval.go
// to compute types and values, but in addition to Check, as these // functions ignore the context in which an expression is used (e.g., an // assignment). Thus, top-level untyped constants will return an // untyped type rather than the respective context-specific type. func CheckExpr(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err error) { // determine scope var scope *Scope
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3.1K bytes - Viewed (0)