Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 133 for DELETE (0.08 sec)

  1. src/go/printer/gobuild.go

    				block = append(block, tabwriter.Escape)
    				block = append(block, line...)
    				block = append(block, tabwriter.Escape, '\n')
    			}
    		}
    	}
    	block = append(block, '\n')
    
    	// Build sorted list of lines to delete from remainder of output.
    	toDelete := append(p.goBuild, p.plusBuild...)
    	slices.Sort(toDelete)
    
    	// Collect output after insertion point, with lines deleted, into after.
    	var after []byte
    	start := insert
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/internal/trace/summary_test.go

    		for _, region := range summary.Regions {
    			want, ok := wantRegions[region.Name]
    			if !ok {
    				continue
    			}
    			checkRegionEvents(t, want.startKind, want.endKind, summary.ID, region)
    			delete(wantRegions, region.Name)
    		}
    	}
    	if len(wantRegions) != 0 {
    		t.Errorf("failed to find regions: %#v", wantRegions)
    	}
    }
    
    func TestSummarizeTasksTrace(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/net/netip/inlining_test.go

    			"Addr.AsSlice",
    			"Addr.Next",
    			"Addr.Prev",
    		)
    	}
    
    	for _, want := range wantInlinable {
    		if !got[want] {
    			t.Errorf("%q is no longer inlinable", want)
    			continue
    		}
    		delete(got, want)
    	}
    	for sym := range got {
    		if strings.Contains(sym, ".func") {
    			continue
    		}
    		t.Logf("not in expected set, but also inlinable: %q", sym)
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/go/types/builtins_test.go

    	{"copy", `var dst []byte; copy(dst, "hello")`, `func([]byte, string) int`},
    
    	{"delete", `var m map[string]bool; delete(m, "foo")`, `func(map[string]bool, string)`},
    	{"delete", `type (K string; V int); var m map[K]V; delete(m, "foo")`, `func(map[p.K]p.V, p.K)`},
    
    	{"imag", `_ = imag(1i)`, `invalid type`}, // constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar.go

    	for id, e := range submap {
    		if e.Persistent && !e.Expires.After(now) {
    			delete(submap, id)
    			modified = true
    			continue
    		}
    		if !e.shouldSend(https, host, path) {
    			continue
    		}
    		e.LastAccess = now
    		submap[id] = e
    		selected = append(selected, e)
    		modified = true
    	}
    	if modified {
    		if len(submap) == 0 {
    			delete(j.entries, key)
    		} else {
    			j.entries[key] = submap
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		if o.SampleMeanDivisor != nil {
    			dw = o.SampleMeanDivisor(sample.Value)
    		}
    		if dw == 0 && w == 0 {
    			continue
    		}
    		for k := range seenNode {
    			delete(seenNode, k)
    		}
    		for k := range seenEdge {
    			delete(seenEdge, k)
    		}
    		var parent *Node
    		// A residual edge goes over one or more nodes that were not kept.
    		residual := false
    
    		labels := joinLabels(sample)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadstore.go

    		loadUse.clear()
    		storeUse.clear()
    		// TODO(deparker): use the 'clear' builtin once compiler bootstrap minimum version is raised to 1.21.
    		for k := range localAddrs {
    			delete(localAddrs, k)
    		}
    		stores = stores[:0]
    		for _, v := range b.Values {
    			if v.Op == OpPhi {
    				// Ignore phis - they will always be first and can't be eliminated
    				continue
    			}
    			if v.Type.IsMemory() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/slices/slices_test.go

    	} {
    		if !panics(func() { _ = Delete(test.s, test.i, test.j) }) {
    			t.Errorf("Delete %s: got no panic, want panic", test.name)
    		}
    	}
    }
    
    func TestDeleteClearTail(t *testing.T) {
    	mem := []*int{new(int), new(int), new(int), new(int), new(int), new(int)}
    	s := mem[0:5] // there is 1 element beyond len(s), within cap(s)
    
    	s = Delete(s, 2, 4)
    
    	if mem[3] != nil || mem[4] != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. src/reflect/iter_test.go

    			i := int64(0)
    			copy := maps.Clone(m)
    			for v := range s {
    				if _, ok := copy[v.String()]; !ok {
    					t.Fatalf("unexpected %v", v.Interface())
    				}
    				delete(copy, v.String())
    				i++
    			}
    			if len(copy) != 0 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"chan int", ValueOf(c), func(t *testing.T, s iter.Seq[Value]) {
    			i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/default.go

    // README as a courtesy to explain where it came from.
    const cacheREADME = `This directory holds cached build artifacts from the Go build system.
    Run "go clean -cache" if the directory is getting too large.
    Run "go clean -fuzzcache" to delete the fuzz cache.
    See golang.org to learn more about Go.
    `
    
    // initDefaultCache does the work of finding the default cache
    // the first time Default is called.
    func initDefaultCache() {
    	dir, _ := DefaultDir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top