Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for invalidSep (0.13 sec)

  1. src/cmd/compile/internal/syntax/scanner.go

    		return "binary"
    	case 8:
    		return "octal"
    	case 10:
    		return "decimal"
    	case 16:
    		return "hexadecimal"
    	}
    	panic("invalid base")
    }
    
    // invalidSep returns the index of the first invalid separator in x, or -1.
    func invalidSep(x string) int {
    	x1 := ' ' // prefix char, we only care if it's 'x'
    	d := '.'  // digit, one of '_', '0' (a digit), or '.' (anything else)
    	i := 0
    
    	// a prefix counts as a digit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  2. src/text/scanner/scanner.go

    	case 'x':
    		return "hexadecimal literal"
    	case 'o', '0':
    		return "octal literal"
    	case 'b':
    		return "binary literal"
    	}
    }
    
    // invalidSep returns the index of the first invalid separator in x, or -1.
    func invalidSep(x string) int {
    	x1 := ' ' // prefix char, we only care if it's 'x'
    	d := '.'  // digit, one of '_', '0' (a digit), or '.' (anything else)
    	i := 0
    
    	// a prefix counts as a digit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/go/scanner/scanner.go

    	case 'o', '0':
    		return "octal literal"
    	case 'b':
    		return "binary literal"
    	}
    	return "decimal literal"
    }
    
    // invalidSep returns the index of the first invalid separator in x, or -1.
    func invalidSep(x string) int {
    	x1 := ' ' // prefix char, we only care if it's 'x'
    	d := '.'  // digit, one of '_', '0' (a digit), or '.' (anything else)
    	i := 0
    
    	// a prefix counts as a digit
    	if len(x) >= 2 && x[0] == '0' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/go/types/builtins.go

    				return false
    			}) {
    				mode = value
    			}
    		}
    
    		if mode == invalid {
    			// avoid error if underlying type is invalid
    			if isValid(under(x.typ)) {
    				code := InvalidCap
    				if id == _Len {
    					code = InvalidLen
    				}
    				check.errorf(x, code, invalidArg+"%s for built-in %s", x, bin.name)
    			}
    			return
    		}
    
    		// record the signature before changing x.typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins.go

    				return false
    			}) {
    				mode = value
    			}
    		}
    
    		if mode == invalid {
    			// avoid error if underlying type is invalid
    			if isValid(under(x.typ)) {
    				code := InvalidCap
    				if id == _Len {
    					code = InvalidLen
    				}
    				check.errorf(x, code, invalidArg+"%s for built-in %s", x, bin.name)
    			}
    			return
    		}
    
    		// record the signature before changing x.typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/go/types/index.go

    	case nil:
    		check.errorf(x, NonSliceableOperand, invalidOp+"cannot slice %s: %s has no core type", x, x.typ)
    		x.mode = invalid
    		return
    
    	case *Basic:
    		if isString(u) {
    			if e.Slice3 {
    				at := e.Max
    				if at == nil {
    					at = e // e.Index[2] should be present but be careful
    				}
    				check.error(at, InvalidSliceExpr, invalidOp+"3-index slice of string")
    				x.mode = invalid
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/main/resources/fess_message_fr.properties

    constraints.LuhnCheck.message               = Le chiffre de contrôle pour ${value} est invalide, la somme de contrôle Luhn Modulo 10 a échoué.
    constraints.Mod10Check.message              = Le chiffre de contrôle pour ${value} est invalide, la somme de contrôle Modulo 10 a échoué.
    constraints.Mod11Check.message              = Le chiffre de contrôle pour ${value} est invalide, la somme de contrôle Modulo 11 a échoué.
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Feb 06 22:59:17 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    				tc.ResponseRecorder.LogErrBody = true
    			}
    
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    			invalidReq := errorCodes.ToAPIErr(ErrInvalidRequest)
    			invalidReq.Description = fmt.Sprintf("%s (%s)", invalidReq.Description, err)
    			writeErrorResponse(r.Context(), w, invalidReq, r.URL)
    			atomic.AddUint64(&globalHTTPStats.rejectedRequestsInvalid, 1)
    			return
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	expectInvalidKey("Create", store.Create(ctx, invalidKey, nil, nil, 0))
    	expectInvalidKey("Delete", store.Delete(ctx, invalidKey, nil, nil, nil, nil))
    	_, watchErr := store.Watch(ctx, invalidKey, storage.ListOptions{})
    	expectInvalidKey("Watch", watchErr)
    	expectInvalidKey("Get", store.Get(ctx, invalidKey, storage.GetOptions{}, nil))
    	expectInvalidKey("GetList", store.GetList(ctx, invalidKey, storage.ListOptions{}, nil))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/index.go

    	case nil:
    		check.errorf(x, NonSliceableOperand, invalidOp+"cannot slice %s: %s has no core type", x, x.typ)
    		x.mode = invalid
    		return
    
    	case *Basic:
    		if isString(u) {
    			if e.Full {
    				at := e.Index[2]
    				if at == nil {
    					at = e // e.Index[2] should be present but be careful
    				}
    				check.error(at, InvalidSliceExpr, invalidOp+"3-index slice of string")
    				x.mode = invalid
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top