Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,045 for creading (0.14 sec)

  1. src/os/os_test.go

    			t.Fatal(err)
    		}
    		r[i] = rp
    		w[i] = wp
    	}
    
    	defer debug.SetMaxThreads(debug.SetMaxThreads(threads / 2))
    
    	creading := make(chan bool, threads)
    	cdone := make(chan bool, threads)
    	for i := 0; i < threads; i++ {
    		go func(i int) {
    			var b [1]byte
    			creading <- true
    			if _, err := r[i].Read(b[:]); err != nil {
    				t.Error(err)
    			}
    			if err := r[i].Close(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/heading.go

    package markdown
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    )
    
    type Heading struct {
    	Position
    	Level int
    	Text  *Text
    	// The HTML id attribute. The parser populates this field if
    	// [Parser.HeadingIDs] is true and the heading ends with text like "{#id}".
    	ID string
    }
    
    func (b *Heading) PrintHTML(buf *bytes.Buffer) {
    	fmt.Fprintf(buf, "<h%d", b.Level)
    	if b.ID != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/0-heading.md

    Jonathan Amsterdam <******@****.***> 1705947607 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 16:44:53 UTC 2024
    - 60 bytes
    - Viewed (0)
  4. doc/initial/6-stdlib/99-minor/0-heading.md

    Jonathan Amsterdam <******@****.***> 1705624488 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 60 bytes
    - Viewed (0)
  5. doc/initial/6-stdlib/0-heading.md

    Jonathan Amsterdam <******@****.***> 1705624488 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 18:07:49 UTC 2024
    - 32 bytes
    - Viewed (0)
  6. doc/next/6-stdlib/0-heading.md

    Russ Cox <******@****.***> 1710441773 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 03:39:16 UTC 2024
    - 28 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	if err != nil {
    		t.Errorf("unexpected error creating websocket executor: %v", err)
    	}
    	// Generate random data, and set it up to stream on STDIN. The data will be
    	// returned on the STDOUT buffer.
    	randomSize := 1024 * 1024
    	randomData := make([]byte, randomSize)
    	if _, err := rand.Read(randomData); err != nil {
    		t.Errorf("unexpected error reading random data: %v", err)
    	}
    	var stdout bytes.Buffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. pkg/volume/util/subpath/subpath_linux.go

    		return false, "", fmt.Errorf("error creating directory %s: %s", bindParent, err)
    	}
    
    	t, err := os.Lstat(subpath.Path)
    	if err != nil {
    		return false, "", fmt.Errorf("lstat %s failed: %s", subpath.Path, err)
    	}
    
    	if t.Mode()&os.ModeDir > 0 {
    		if err = os.Mkdir(bindPathTarget, 0750); err != nil && !os.IsExist(err) {
    			return false, "", fmt.Errorf("error creating directory %s: %s", bindPathTarget, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/trace/testdata/mktests.go

    	if err != nil {
    		log.Fatalf("creating output file: %v", err)
    	}
    	defer f.Close()
    
    	// Write out the trace.
    	r, err := raw.NewReader(&trace)
    	if err != nil {
    		log.Fatalf("reading trace: %v", err)
    	}
    	w, err := raw.NewTextWriter(f, version.Current)
    	for {
    		ev, err := r.ReadEvent()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			log.Fatalf("reading trace: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. .github/PULL_REQUEST_TEMPLATE.md

    By creating this pull request I represent that I have the right to license the 
    contributions to the project maintainers under the Apache 2 license.
    
    ## Description
    
    
    ## Motivation and Context
    
    
    ## How to test this PR?
    
    
    ## Types of changes
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 14 17:29:11 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top