Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for matches (1.53 sec)

  1. src/cmd/cgo/internal/swig/swig_test.go

    		}
    		return x
    	}
    	var major, minor, patch int
    	major = atoi(string(matches[1]))
    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    		t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    			for typ := range matches {
    				if equivalentTypes(obj.Type(), typ) {
    					matches[typ] = append(matches[typ], ident.Name)
    				}
    			}
    		}
    		return true
    	})
    	return matches
    }
    
    func equivalentTypes(want, got types.Type) bool {
    	if types.Identical(want, got) {
    		return true
    	}
    	// Code segment to help check for untyped equality from (golang/go#32146).
    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/build/relnote/relnote.go

    		if line == "" || line[0] == '#' {
    			continue
    		}
    		matches := apiFileLineRegexp.FindStringSubmatch(line)
    		if len(matches) == 0 {
    			return nil, fmt.Errorf("%s: malformed line %q", filename, line)
    		}
    		if len(matches) != 5 {
    			return nil, fmt.Errorf("wrong number of matches for line %q", line)
    		}
    		f := APIFeature{
    			Package: matches[1],
    			Build:   matches[2],
    			Feature: strings.TrimSpace(matches[3]),
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/cmd/trace/tasks.go

    	matches := func(s string) bool {
    		return strings.Contains(s, text)
    	}
    	if matches(t.Name) {
    		return true
    	}
    	for _, r := range t.Regions {
    		if matches(r.Name) {
    			return true
    		}
    	}
    	for _, ev := range t.Logs {
    		log := ev.Log()
    		if matches(log.Category) {
    			return true
    		}
    		if matches(log.Message) {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    			return true
    		}
    		// Recur: map[int]int matches %d.
    		return m.match(typ.Key(), false) && m.match(typ.Elem(), false)
    
    	case *types.Chan:
    		return m.t&argPointer != 0
    
    	case *types.Array:
    		// Same as slice.
    		if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && m.t&argString != 0 {
    			return true // %s matches []byte
    		}
    		// Recur: []int matches %d.
    		return m.match(typ.Elem(), false)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/cmd/buildid/buildid.go

    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    	f, err = os.OpenFile(file, os.O_RDWR, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := buildid.Rewrite(f, matches, newID); err != nil {
    		log.Fatal(err)
    	}
    	if err := f.Close(); err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    		match := modload.MatchInModule(ctx, pattern, m, imports.AnyTags())
    		if len(match.Errs) > 0 {
    			return match.Pkgs, match.Errs[0]
    		}
    		return match.Pkgs, nil
    	})
    }
    
    // queryNone adds a candidate set to q for each module matching q.pattern.
    // Each candidate set has only one possible module version: the matched
    // module at version "none".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

        }});
    
      render();
    
      // Helper functions follow:
    
      // hilite changes the highlighting of elements corresponding to specified src.
      function hilite(src, on) {
        if (on) {
          matches.add(src);
        } else {
          matches.delete(src);
        }
        toggleClass(src, 'hilite', on);
        return true;
      }
    
      // Display action menu (triggered by right-click on a frame)
      function showActionMenu(e, box) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/fsys/fsys.go

    	}
    }
    
    // glob searches for files matching pattern in the directory dir
    // and appends them to matches. If the directory cannot be
    // opened, it returns the existing matches. New matches are
    // added in lexicographical order.
    func glob(dir, pattern string, matches []string) (m []string, e error) {
    	m = matches
    	fi, err := Stat(dir)
    	if err != nil {
    		return // ignore I/O error
    	}
    	if !fi.IsDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/typecheck.go

    	}
    	return n.Args[0], n.Args[1], true
    }
    
    // Lookdot1 looks up the specified method s in the list fs of methods, returning
    // the matching field or nil. If dostrcmp is 0, it matches the symbols. If
    // dostrcmp is 1, it matches by name exactly. If dostrcmp is 2, it matches names
    // with case folding.
    func Lookdot1(errnode ir.Node, s *types.Sym, t *types.Type, fs []*types.Field, dostrcmp int) *types.Field {
    	var r *types.Field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top