Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 306 for mpos (0.06 sec)

  1. src/cmd/compile/internal/types2/alias.go

    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos syntax.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    	obj := NewTypeName(pos, orig.obj.pkg, orig.obj.name, nil)
    	rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), nil, ctxt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            }
    
            String candidateClassName;
            String[] innerNames = name.split("\\.");
            ClassMetaData pos = classMetaData;
            for (int i = 0; i < innerNames.length; i++) {
                String innerName = innerNames[i];
                candidateClassName = pos.getClassName() + '.' + innerName;
                if (!pos.getInnerClassNames().contains(candidateClassName)) {
                    break;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. test/typeparam/cons.go

    // argument
    type any interface{}
    
    type Function[a, b any] interface {
    	Apply(x a) b
    }
    
    type incr struct{ n int }
    
    func (this incr) Apply(x int) int {
    	return x + this.n
    }
    
    type pos struct{}
    
    func (this pos) Apply(x int) bool {
    	return x > 0
    }
    
    type compose[a, b, c any] struct {
    	f Function[a, b]
    	g Function[b, c]
    }
    
    func (this compose[a, b, c]) Apply(x a) c {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 21 23:41:49 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go

    	What    uint16
    	Name    [16]int8
    }
    
    type RtMsghdr struct {
    	Msglen   uint16
    	Version  uint8
    	Type     uint8
    	Hdrlen   uint16
    	Index    uint16
    	Tableid  uint16
    	Priority uint8
    	Mpls     uint8
    	Addrs    int32
    	Flags    int32
    	Fmask    int32
    	Pid      int32
    	Seq      int32
    	Errno    int32
    	Inits    uint32
    	Rmx      RtMetrics
    }
    
    type RtMetrics struct {
    	Pksent   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/go/scanner/example_test.go

    	s.Init(file, src, nil /* no error handler */, scanner.ScanComments)
    
    	// Repeated calls to Scan yield the token sequence found in the input.
    	for {
    		pos, tok, lit := s.Scan()
    		if tok == token.EOF {
    			break
    		}
    		fmt.Printf("%s\t%s\t%q\n", fset.Position(pos), tok, lit)
    	}
    
    	// output:
    	// 1:1	IDENT	"cos"
    	// 1:4	(	""
    	// 1:5	IDENT	"x"
    	// 1:6	)	""
    	// 1:8	+	""
    	// 1:10	IMAG	"1i"
    	// 1:12	*	""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. src/go/types/alias.go

    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos token.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    	obj := NewTypeName(pos, orig.obj.pkg, orig.obj.name, nil)
    	rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), nil, ctxt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/expand_calls.go

    		}
    	}
    
    	return
    }
    
    func (x *expandState) decomposePair(pos src.XPos, b *Block, a, mem *Value, t0, t1 *types.Type, o0, o1 Op, rc *registerCursor) *Value {
    	e := b.NewValue1(pos, o0, t0, a)
    	pos = pos.WithNotStmt()
    	mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(t0))
    	e = b.NewValue1(pos, o1, t1, a)
    	mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(t1))
    	return mem
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  8. src/syscall/ztypes_openbsd_ppc64.go

    	What    uint16
    	Name    [16]int8
    }
    
    type RtMsghdr struct {
    	Msglen   uint16
    	Version  uint8
    	Type     uint8
    	Hdrlen   uint16
    	Index    uint16
    	Tableid  uint16
    	Priority uint8
    	Mpls     uint8
    	Addrs    int32
    	Flags    int32
    	Fmask    int32
    	Pid      int32
    	Seq      int32
    	Errno    int32
    	Inits    uint32
    	Rmx      RtMetrics
    }
    
    type RtMetrics struct {
    	Pksent   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go

    			// do not warn about unreachable empty statements
    		default:
    			d.pass.Report(analysis.Diagnostic{
    				Pos:     stmt.Pos(),
    				End:     stmt.End(),
    				Message: "unreachable code",
    				SuggestedFixes: []analysis.SuggestedFix{{
    					Message: "Remove",
    					TextEdits: []analysis.TextEdit{{
    						Pos: stmt.Pos(),
    						End: stmt.End(),
    					}},
    				}},
    			})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

                return null;
            }
            StringBuilder builder = new StringBuilder();
            int pos = 0;
            Matcher matcher = UPPER_LOWER.matcher(string);
            while (pos < string.length()) {
                matcher.find(pos);
                if (matcher.end() == pos) {
                    // Not looking at a match
                    pos++;
                    continue;
                }
                if (builder.length() > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top