Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Lbl (0.06 sec)

  1. src/go/types/labels.go

    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                      // enclosing block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/labels.go

    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl.pos, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/names.go

    	domainLabels := strings.Split(segments[0], ".")
    	for _, lbl := range domainLabels {
    		// use IsDNS1123Label as we want to ensure the max length of any single label in the domain
    		// is 63 characters
    		if errs := validation.IsDNS1123Label(lbl); len(errs) > 0 {
    			for _, err := range errs {
    				el = append(el, field.Invalid(fldPath, segments[0], fmt.Sprintf("validating label %q: %s", lbl, err)))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. src/go/ast/scope.go

    	Typ                // type
    	Var                // variable
    	Fun                // function or method
    	Lbl                // label
    )
    
    var objKindStrings = [...]string{
    	Bad: "bad",
    	Pkg: "package",
    	Con: "const",
    	Typ: "type",
    	Var: "var",
    	Fun: "func",
    	Lbl: "label",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/strconv/testdata/testfp.txt

    #	random sources
    #	random targets
    #	random targets ± half a ULP
    
    # Difficult boundary cases, derived from tables given in
    #	Vern Paxson, A Program for Testing IEEE Decimal-Binary Conversion
    #	ftp://ftp.ee.lbl.gov/testbase-report.ps.Z
    
    # Table 1: Stress Inputs for Conversion to 53-bit Binary, < 1/2 ULP
    float64 %b 5e+125 6653062250012735p+365
    float64 %b 69e+267 4705683757438170p+841
    float64 %b 999e-026 6798841691080350p-129
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 7.9K bytes
    - Viewed (0)
Back to top