Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for Deleted (1.02 sec)

  1. src/cmd/link/internal/ld/stackcheck.go

    		if _, ok := nodes[sym]; !ok {
    			// We already deleted this node.
    			return false, 0
    		}
    		delete(nodes, sym)
    
    		if origin == sym {
    			// We found an unrooted cycle. We already
    			// deleted all children of this node. Walk
    			// back up, tracking the lowest numbered
    			// symbol in this cycle.
    			return true, sym
    		}
    
    		// Delete children of this node.
    		for _, out := range sc.graph[sym] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys_test.go

    			file{"file.txt", 9, 0600, false},
    			false,
    		},
    		{
    			"file_cant_exist",
    			`{"Replace": {"deleted": "dummy.txt"}}
    -- deleted/file.txt --
    -- dummy.txt --
    `,
    			"deleted/file.txt",
    			file{},
    			true,
    		},
    		{
    			"deleted",
    			`{"Replace": {"deleted": ""}}
    -- deleted --
    `,
    			"deleted",
    			file{},
    			true,
    		},
    		{
    			"dir_on_disk",
    			`{}
    -- dir/foo.txt --
    `,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_lines_test.go

    // then verifies that the statement-marked lines in that file are the same as those in wantStmts
    // These files must all be short because this is super-fragile.
    // "go build" is run in a temporary directory that is normally deleted, unless -test.v
    func testDebugLines(t *testing.T, gcflags, file, function string, wantStmts []int, ignoreRepeats bool) {
    	dumpBytes := compileAndDump(t, file, function, gcflags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	}
    	if df != 0 {
    		f = f / df
    	}
    	if dc != 0 {
    		c = c / dc
    	}
    
    	// Tags are not scaled with the selected output unit because tags are often
    	// much smaller than other values which appear, so the range of tag sizes
    	// sometimes would appear to be "0..0" when scaled to the selected output unit.
    	return measurement.Label(min.Value, min.Unit) + ".." + measurement.Label(max.Value, max.Unit), f, c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  5. src/cmd/go/script_test.go

    	if err != nil && !os.IsNotExist(err) {
    		t.Fatalf("reading go.sum after -testsum: %v", err)
    	}
    	switch {
    	case os.IsNotExist(err) && gosumIdx >= 0:
    		// go.sum was deleted.
    		rewrite = true
    		archive.Files = append(archive.Files[:gosumIdx], archive.Files[gosumIdx+1:]...)
    	case err == nil && gosumIdx < 0:
    		// go.sum was created.
    		rewrite = true
    		gosumIdx = gomodIdx + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    // RemoveNumLabel removes all numerical labels associated with the specified key for all
    // samples in the profile.
    func (p *Profile) RemoveNumLabel(key string) {
    	for _, sample := range p.Sample {
    		delete(sample.NumLabel, key)
    		delete(sample.NumUnit, key)
    	}
    }
    
    // DiffBaseSample returns true if a sample belongs to the diff base and false
    // otherwise.
    func (s *Sample) DiffBaseSample() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/test2json.go

    	// printed by 'go test' along with an error if the test binary terminates
    	// with an error.
    	bigFailErrorPrefix = []byte("FAIL\t")
    
    	// an === NAME line with no test name, if trailing spaces are deleted
    	emptyName     = []byte("=== NAME")
    	emptyNameLine = []byte("=== NAME  \n")
    
    	updates = [][]byte{
    		[]byte("=== RUN   "),
    		[]byte("=== PAUSE "),
    		[]byte("=== CONT  "),
    		[]byte("=== NAME  "),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/cover/cover_test.go

    	goldenLines := strings.Split(string(golden), "\n")
    	outLines := strings.Split(out.String(), "\n")
    	// Compare at the line level, stopping at first different line so
    	// we don't generate tons of output if there's an inserted or deleted line.
    	for i, goldenLine := range goldenLines {
    		if i >= len(outLines) {
    			t.Fatalf("output shorter than golden; stops before line %d: %s\n", i+1, goldenLine)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/codehost/vcs.go

    	}
    	if err != nil {
    		f.Close()
    		os.Remove(f.Name())
    		return nil, err
    	}
    	return &deleteCloser{f}, nil
    }
    
    // deleteCloser is a file that gets deleted on Close.
    type deleteCloser struct {
    	*os.File
    }
    
    func (d *deleteCloser) Close() error {
    	defer os.Remove(d.File.Name())
    	return d.File.Close()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/regalloc.go

    	for {
    		progress := false
    		for c, used := range s.copies {
    			if !used && c.Uses == 0 {
    				if s.f.pass.debug > regDebug {
    					fmt.Printf("delete copied value %s\n", c.LongString())
    				}
    				c.resetArgs()
    				f.freeValue(c)
    				delete(s.copies, c)
    				progress = true
    			}
    		}
    		if !progress {
    			break
    		}
    	}
    
    	for _, b := range s.visitOrder {
    		i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top