Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for modstat (0.21 sec)

  1. src/os/os_unix_test.go

    func TestReaddirRemoveRace(t *testing.T) {
    	oldStat := *LstatP
    	defer func() { *LstatP = oldStat }()
    	*LstatP = func(name string) (FileInfo, error) {
    		if strings.HasSuffix(name, "some-file") {
    			// Act like it's been deleted.
    			return nil, ErrNotExist
    		}
    		return oldStat(name)
    	}
    	dir := newDir("TestReaddirRemoveRace", t)
    	defer RemoveAll(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/list.go

    }
    
    func (b *List) printMarkdown(buf *bytes.Buffer, s mdState) {
    	if buf.Len() > 0 && buf.Bytes()[buf.Len()-1] != '\n' {
    		buf.WriteByte('\n')
    	}
    	s.bullet = b.Bullet
    	s.num = b.Start
    	for i, item := range b.Items {
    		if i > 0 && b.Loose {
    			buf.WriteByte('\n')
    		}
    		item.printMarkdown(buf, s)
    		s.num++
    	}
    }
    
    func (b *Item) printMarkdown(buf *bytes.Buffer, s mdState) {
    	var marker string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/numberlines.go

    		for _, v := range entries {
    			if f.pass.stats > 1 {
    				f.LogStat("file", v.f, "low", v.lp.first, "high", v.lp.last)
    			}
    			total += uint64(v.lp.last - v.lp.first)
    			if maxfile < v.f {
    				maxfile = v.f
    			}
    			if minline > v.lp.first {
    				minline = v.lp.first
    			}
    			if maxline < v.lp.last {
    				maxline = v.lp.last
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	tests := []struct {
    		desc          string
    		hasAddedPods  bool
    		podState      string
    		expectedFound bool // Found pod is added to DSW
    	}{
    		{
    			desc:          "HasAddedPods is false, ShouldPodRuntimeBeRemoved and ShouldPodContainerBeTerminating are both true",
    			hasAddedPods:  false,
    			podState:      Removed,
    			expectedFound: false, // Pod should not be added to DSW
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/heading.go

    		fmt.Fprintf(buf, ` id="%s"`, htmlQuoteEscaper.Replace(b.ID))
    	}
    	buf.WriteByte('>')
    	b.Text.PrintHTML(buf)
    	fmt.Fprintf(buf, "</h%d>\n", b.Level)
    }
    
    func (b *Heading) printMarkdown(buf *bytes.Buffer, s mdState) {
    	// TODO: handle setext headings properly.
    	buf.WriteString(s.prefix)
    	for i := 0; i < b.Level; i++ {
    		buf.WriteByte('#')
    	}
    	buf.WriteByte(' ')
    	// The prefix has already been printed for this line of text.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/provider_test.go

    	return nil, fmt.Errorf("not implemented")
    }
    
    func (p fakeContainerStatsProvider) ListPodStatsAndUpdateCPUNanoCoreUsage(context.Context) ([]statsapi.PodStats, error) {
    	return nil, fmt.Errorf("not implemented")
    }
    
    func (p fakeContainerStatsProvider) ListPodCPUAndMemoryStats(context.Context) ([]statsapi.PodStats, error) {
    	return nil, fmt.Errorf("not implemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/cmd/go/internal/workcmd/sync.go

    			if r := modload.PackageModule(pkg); r.Version != "" && !inMustSelect[r] {
    				// r has a known version, so force that version.
    				mustSelect = append(mustSelect, r)
    				inMustSelect[r] = true
    			}
    		}
    		gover.ModSort(mustSelect) // ensure determinism
    		mustSelectFor[m] = mustSelect
    	}
    
    	workFilePath := modload.WorkFilePath() // save go.work path because EnterModule clobbers it.
    
    	var goV string
    	for _, m := range mms.Versions() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/rsc.io/markdown/code.go

    // func initialSpaces(s string) int {
    // 	for i := 0; i < len(s); i++ {
    // 		if s[i] != ' ' {
    // 			return i
    // 		}
    // 	}
    // 	return len(s)
    // }
    
    func (b *CodeBlock) printMarkdown(buf *bytes.Buffer, s mdState) {
    	prefix1 := s.prefix1
    	if prefix1 == "" {
    		prefix1 = s.prefix
    	}
    	if b.Fence == "" {
    		for i, line := range b.Text {
    			// Ignore final empty line (why is it even there?).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/syscall/fs_wasip1.go

    //go:noescape
    func random_get(buf unsafe.Pointer, bufLen size) Errno
    
    // https://github.com/WebAssembly/WASI/blob/a2b96e81c0586125cc4dc79a5be0b78d9a059925/legacy/preview1/docs.md#-fdstat-record
    // fdflags must be at offset 2, hence the uint16 type rather than the
    // fdflags (uint32) type.
    type fdstat struct {
    	filetype         filetype
    	fdflags          uint16
    	rightsBase       rights
    	rightsInheriting rights
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/table.go

    				buf.WriteString("</td>\n")
    			}
    			buf.WriteString("</tr>\n")
    		}
    		buf.WriteString("</tbody>\n")
    	}
    	buf.WriteString("</table>\n")
    }
    
    func (t *Table) printMarkdown(buf *bytes.Buffer, s mdState) {
    }
    
    func (b *tableBuilder) build(p buildState) Block {
    	pos := p.pos()
    	pos.StartLine-- // builder does not count header
    	pos.EndLine = pos.StartLine + 1 + len(b.rows)
    	t := &Table{
    		Position: pos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top