Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for caseIndex (0.41 sec)

  1. src/cmd/cgo/internal/testerrors/argposition_test.go

    func (v *Visitor) Visit(node ast.Node) ast.Visitor {
    	if ident, ok := node.(*ast.Ident); ok {
    		if expectedPositions, ok := v.identPosInfo[ident.Name]; ok {
    			gotMatch := false
    			var errorMessage strings.Builder
    			for caseIndex, expectedPos := range expectedPositions {
    				actualPosition := v.fset.PositionFor(ident.Pos(), true)
    				errorOccured := false
    				if expectedPos.Line != actualPosition.Line {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/branches.go

    						if _, ok := t.Tag.(*TypeSwitchGuard); ok {
    							msg = "cannot fallthrough in type switch"
    						} else if ctxt.caseIndex < 0 || stmtIndex+1 < len(stmtList) {
    							// fallthrough nested in a block or not the last statement
    							// use msg as is
    						} else if ctxt.caseIndex+1 == len(t.Body) {
    							msg = "cannot fallthrough final case in switch"
    						} else {
    							break // fallthrough ok
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/tables9.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 92.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/tables13.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 100.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/tables10.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/tables11.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 97.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/tables12.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 99.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/tables15.0.0.go

    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return caseValues[c0]
    	}
    	i := caseIndex[c0]
    	if c0 < 0xE0 { // 2-byte UTF-8
    		return t.lookupValue(uint32(i), s[1])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[1])]
    	if c0 < 0xF0 { // 3-byte UTF-8
    		return t.lookupValue(uint32(i), s[2])
    	}
    	i = caseIndex[uint32(i)<<6+uint32(s[2])]
    	if c0 < 0xF8 { // 4-byte UTF-8
    		return t.lookupValue(uint32(i), s[3])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 106.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                    }
                    // Don't serialize the causes - we'll serialize them separately later
                    int causeIndex = causes.indexOf(obj);
                    if (causeIndex >= 0) {
                        return new NestedExceptionPlaceholder(NestedExceptionPlaceholder.Kind.cause, causeIndex);
                    }
                    int suppressedIndex = suppressed.indexOf(obj);
                    if (suppressedIndex >= 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/internal/src/xpos.go

    }
    
    // XPos returns the corresponding XPos for the given pos,
    // adding pos to t if necessary.
    func (t *PosTable) XPos(pos Pos) XPos {
    	return XPos{t.baseIndex(pos.base), pos.lico}
    }
    
    func (t *PosTable) baseIndex(base *PosBase) int32 {
    	if base == nil {
    		return 0
    	}
    
    	if i, ok := t.indexMap[base]; ok {
    		return int32(i)
    	}
    
    	if base.fileIndex >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top