Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for bitIsSet (0.11 sec)

  1. src/go/scanner/scanner.go

    // digits accepts the sequence { digit | '_' }.
    // If base <= 10, digits accepts any decimal digit but records
    // the offset (relative to the source start) of a digit >= base
    // in *invalid, if *invalid < 0.
    // digits returns a bitset describing whether the sequence contained
    // digits (bit 0 is set), or separators '_' (bit 1 is set).
    func (s *Scanner) digits(base int, invalid *int) (digsep int) {
    	if base <= 10 {
    		max := rune('0' + base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  2. src/go/types/stmt.go

    		// Don't go inside function literal scopes a second time;
    		// they are handled explicitly by funcBody.
    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stmt.go

    		// Don't go inside function literal scopes a second time;
    		// they are handled explicitly by funcBody.
    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top