Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 306 for mpos (0.03 sec)

  1. src/cmd/compile/internal/walk/closure.go

    		n.X = walkExpr(n.X, nil)
    
    		tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, n.X)
    		check := ir.NewUnaryExpr(base.Pos, ir.OCHECKNIL, tab)
    		init.Append(typecheck.Stmt(check))
    	}
    
    	typ := typecheck.MethodValueType(n)
    
    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(n.Esc())
    	clos.List = []ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, methodValueWrapper(n)), n.X}
    
    	addr := typecheck.NodAddr(clos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    // 'pos' represents the position at which the identifiers may be inserted. 'pos' must be within
    // the scope of each of identifier we select. Otherwise, we will insert a variable at 'pos' that
    // is unrecognized.
    func MatchingIdents(typs []types.Type, node ast.Node, pos token.Pos, info *types.Info, pkg *types.Package) map[types.Type][]string {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go

    // package import), not once per call to NewAlias.
    func NewAlias(enabled bool, pos token.Pos, pkg *types.Package, name string, rhs types.Type) *types.TypeName {
    	if enabled {
    		tname := types.NewTypeName(pos, pkg, name, nil)
    		newAlias(tname, rhs)
    		return tname
    	}
    	return types.NewTypeName(pos, pkg, name, rhs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractPropertiesCommandLineConverter.java

            for (String keyValueExpression : options.option(getPropertyOption()).getValues()) {
                int pos = keyValueExpression.indexOf("=");
                if (pos < 0) {
                    properties.put(keyValueExpression, "");
                } else {
                    properties.put(keyValueExpression.substring(0, pos), keyValueExpression.substring(pos+1));
                }
            }
            return properties;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    type commentMetadata struct {
    	isOutput bool
    	pos      token.Pos
    }
    
    func checkExampleOutput(pass *analysis.Pass, fn *ast.FuncDecl, fileComments []*ast.CommentGroup) {
    	commentsInExample := []commentMetadata{}
    	numOutputs := 0
    
    	// Find the comment blocks that are in the example. These comments are
    	// guaranteed to be in order of appearance.
    	for _, cg := range fileComments {
    		if cg.Pos() < fn.Pos() {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParser.java

                }
    
                String path = parsedURI.getPath();
                int pos = path.lastIndexOf('/');
                if (pos < 0) {
                    uris.add(path);
                } else if (pos == path.length() - 1) {
                    int start = path.lastIndexOf('/', pos - 1);
                    if (start < 0) {
                        uris.add(path.substring(0, pos));
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/go/types/eval_test.go

    				pos := comment.Pos()
    				expr, wantObj := split(s[2:len(s)-2], "=>")
    				obj, err := checkExpr(pos, expr)
    				if err != nil {
    					t.Errorf("%s: %s", fset.Position(pos), err)
    					continue
    				}
    				if obj.String() != wantObj {
    					t.Errorf("%s: checkExpr(%s) = %s, want %v",
    						fset.Position(pos), expr, obj, wantObj)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final int pos = buf.indexOf("d");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "dd");
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
                final int pos = buf.indexOf("m");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/net/http/routing_index.go

    	multis []*pattern
    }
    
    type routingIndexKey struct {
    	pos int    // 0-based segment position
    	s   string // literal, or empty for wildcard
    }
    
    func (idx *routingIndex) addPattern(pat *pattern) {
    	if pat.lastSegment().multi {
    		idx.multis = append(idx.multis, pat)
    	} else {
    		if idx.segments == nil {
    			idx.segments = map[routingIndexKey][]*pattern{}
    		}
    		for pos, seg := range pat.segments {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/go/types/instantiate.go

    func (check *Checker) validateTArgLen(pos token.Pos, name string, want, got int) bool {
    	var qual string
    	switch {
    	case got < want:
    		qual = "not enough"
    	case got > want:
    		qual = "too many"
    	default:
    		return true
    	}
    
    	msg := check.sprintf("%s type arguments for type %s: have %d, want %d", qual, name, got, want)
    	if check != nil {
    		check.error(atPos(pos), WrongTypeArgCount, msg)
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top