Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for Contains (0.5 sec)

  1. src/cmd/compile/internal/ssa/nilcheck.go

    						v.Pos = v.Pos.WithIsStmt()
    						pendingLines.remove(v.Pos)
    					}
    				}
    			}
    			// This reduces the lost statement count in "go" by 5 (out of 500 total).
    			for j := range b.Values { // is this an ordering problem?
    				v := b.Values[j]
    				if v.Pos.IsStmt() != src.PosNotStmt && !isPoorStatementOp(v.Op) && pendingLines.contains(v.Pos) {
    					v.Pos = v.Pos.WithIsStmt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    	if remote == "localGitRepo" {
    		return LocalGitRepo(ctx, localGitURL(t))
    	}
    	vcsName := "git"
    	for _, k := range []string{"hg"} {
    		if strings.Contains(remote, "/"+k+"/") {
    			vcsName = k
    		}
    	}
    	if testing.Short() && vcsName == "hg" {
    		t.Skipf("skipping hg test in short mode: hg is slow")
    	}
    	testenv.MustHaveExecPath(t, vcsName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/query.go

    	}
    
    	if strings.Contains(e.Pattern, "...") {
    		return fmt.Sprintf("module %s@%s found%s, but does not contain packages matching %s", e.Mod.Path, e.Query, found, e.Pattern)
    	}
    	return fmt.Sprintf("module %s@%s found%s, but does not contain package %s", e.Mod.Path, e.Query, found, e.Pattern)
    }
    
    func (e *PackageNotInModuleError) ImportPath() string {
    	if !strings.Contains(e.Pattern, "...") {
    		return e.Pattern
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		{name: "LoweredPanicBoundsB", argLength: 3, aux: "Int64", reg: regInfo{inputs: []regMask{r2, r3}}, typ: "Mem", call: true}, // arg0=idx, arg1=len, arg2=mem, returns memory. AuxInt contains report code (see PanicBounds in genericOps.go).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/testflag.go

    	switch {
    	case value == "":
    		*f = vetFlag{flags: defaultVetFlags}
    		return nil
    	case strings.Contains(value, "="):
    		return fmt.Errorf("-vet argument cannot contain equal signs")
    	case strings.Contains(value, " "):
    		return fmt.Errorf("-vet argument is comma-separated list, cannot contain spaces")
    	}
    
    	*f = vetFlag{explicit: true}
    	var single string
    	for _, arg := range strings.Split(value, ",") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/pgo_inl_test.go

    	out := buildPGOInliningTest(t, dir, gcflag)
    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    	if bytes.Contains(out, []byte(hashMatch)) || pgoDebugRE.Match(out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/schedule.go

    		// there is no store, the order does not matter
    		return values
    	}
    
    	// find last store, which is the one that is not used by other stores
    	var last *Value
    	for _, v := range stores {
    		if !sset.contains(v.ID) {
    			if last != nil {
    				f.Fatalf("two stores live simultaneously: %v and %v", v, last)
    			}
    			last = v
    		}
    	}
    
    	// We assign a store number to each value. Store number is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/link.go

    func (s *LSym) File() *FileInfo {
    	if s.Extra == nil {
    		return nil
    	}
    	f, _ := (*s.Extra).(*FileInfo)
    	return f
    }
    
    // A TypeInfo contains information for a symbol
    // that contains a runtime._type.
    type TypeInfo struct {
    	Type interface{} // a *cmd/compile/internal/types.Type
    }
    
    func (s *LSym) NewTypeInfo() *TypeInfo {
    	if s.Extra != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/validtype.go

    // an enclosing function and can be ignored.
    // The nest list describes the stack (the "nest in memory") of types which
    // contain (or embed in the case of interfaces) other types. For instance, a
    // struct named S which contains a field of named type F contains (the memory
    // of) F in S, leading to the nest S->F. If a type appears in its own nest
    // (say S->F->S) we have an invalid recursive type. The path list is the full
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api.go

    	// the package scope, which contains (one or more) files scopes, which enclose
    	// function scopes which in turn enclose statement and function literal scopes.
    	// Note that even though package-level functions are declared in the package
    	// scope, the function scopes are embedded in the file scope of the file
    	// containing the function declaration.
    	//
    	// The Scope of a function contains the declarations of any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top