Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,455 for Tconstants (0.63 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cni/pkg/nodeagent/cni-watcher.go

    package nodeagent
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/netip"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/pluginlistener"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    )
    
    // Just a composite of the CNI plugin add event struct + some extracted "args"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/types/stmt.go

    		}
    		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
    }
    
    // A valueMap maps a case value (of a basic Go type) to a list of positions
    // where the same case value appeared, together with the corresponding case
    // types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top