Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,024 for constCnt (0.19 sec)

  1. cmd/build-constants.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "runtime"
    
    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K 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. cmd/kubeadm/app/constants/constants.go

    	// ControlPlaneTier is the value used in the tier label to identify control plane components
    	ControlPlaneTier = "control-plane"
    
    	// Mode* constants were copied from pkg/kubeapiserver/authorizer/modes
    	// to avoid kubeadm dependency on the internal module
    	// TODO: share Mode* constants in component config
    
    	// ModeAlwaysAllow is the mode to set all requests as authorized
    	ModeAlwaysAllow string = "AlwaysAllow"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. 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)
  5. tools/bug-report/pkg/content/content.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package content
    
    import (
    	"fmt"
    	"strings"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/istio/istioctl/pkg/util/formatting"
    	"istio.io/istio/pkg/config/analysis/analyzers"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/doc/testdata/pkg.go

    // Package comment.
    package pkg
    
    import "io"
    
    // Constants
    
    // Comment about exported constant.
    const ExportedConstant = 1
    
    // Comment about internal constant.
    const internalConstant = 2
    
    // Comment about block of constants.
    const (
    	// Comment before ConstOne.
    	ConstOne   = 1
    	ConstTwo   = 2 // Comment on line with ConstTwo.
    	constThree = 3 // Comment on line with constThree.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. internal/config/constants.go

    Pedro Juarez <******@****.***> 1704126993 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 01 16:36:33 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/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
    - 9K bytes
    - Viewed (0)
  10. src/html/template/content.go

    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	URL string
    
    	// Srcset encapsulates a known safe srcset attribute
    	// (see https://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset).
    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top