Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ending0 (0.2 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <h3 id="Channel_types">Channel types</h3>
    
    <p>
    A channel provides a mechanism for
    <a href="#Go_statements">concurrently executing functions</a>
    to communicate by
    <a href="#Send_statements">sending</a> and
    <a href="#Receive_operator">receiving</a>
    values of a specified element type.
    The value of an uninitialized channel is <code>nil</code>.
    </p>
    
    <pre class="ebnf">
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/archive/zip/register.go

    package zip
    
    import (
    	"compress/flate"
    	"errors"
    	"io"
    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    		}
    		pre = cur
    	}
    	return true
    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. src/archive/tar/reader_test.go

    type readSeeker struct{ io.ReadSeeker }
    type readBadSeeker struct{ io.ReadSeeker }
    
    func (rbs *readBadSeeker) Seek(int64, int) (int64, error) { return 0, fmt.Errorf("illegal seek") }
    
    // TestReadTruncation test the ending condition on various truncated files and
    // that truncated files are still detected even if the underlying io.Reader
    // satisfies io.Seeker.
    func TestReadTruncation(t *testing.T) {
    	var ss []string
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	// CFTypeRef is a supertype of those, so it can have bad pointers in it as well.
    	// We return true for the other *Ref types just so casting between them is easier.
    	// We identify the correct set of types as those ending in Ref and for which
    	// there exists a corresponding GetTypeID function.
    	// See comment below for details about the bad pointers.
    	if goos != "darwin" && goos != "ios" {
    		return false
    	}
    	s := dt.Name
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg net/http/httputil, method (*ClientConn) Do(*http.Request) (*http.Response, error)
    pkg net/http/httputil, method (*ClientConn) Hijack() (net.Conn, *bufio.Reader)
    pkg net/http/httputil, method (*ClientConn) Pending() int
    pkg net/http/httputil, method (*ClientConn) Read(*http.Request) (*http.Response, error)
    pkg net/http/httputil, method (*ClientConn) Write(*http.Request) error
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. .gitattributes

    # Treat all files in the Go repo as binary, with no git magic updating
    # line endings. This produces predictable results in different environments.
    #
    # Windows users contributing to Go will need to use a modern version
    # of git and editors capable of LF line endings.
    #
    # Windows .bat files are known to have multiple bugs when run with LF
    # endings, and so they are checked in with CRLF endings, with a test
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 08 15:31:43 GMT 2020
    - 639 bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    func CutPrefix(s, prefix []byte) (after []byte, found bool) {
    	if !HasPrefix(s, prefix) {
    		return s, false
    	}
    	return s[len(prefix):], true
    }
    
    // CutSuffix returns s without the provided ending suffix byte slice
    // and reports whether it found the suffix.
    // If s doesn't end with suffix, CutSuffix returns s, false.
    // If suffix is the empty byte slice, CutSuffix returns s, true.
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    	s := 0 // search start index
    	for {
    		// Search buffer.
    		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
    			i += s
    			line = b.buf[b.r : b.r+i+1]
    			b.r += i + 1
    			break
    		}
    
    		// Pending error?
    		if b.err != nil {
    			line = b.buf[b.r:b.w]
    			b.r = b.w
    			err = b.readErr()
    			break
    		}
    
    		// Buffer full?
    		if b.Buffered() >= len(b.buf) {
    			b.r = b.w
    			line = b.buf
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  10. doc/go_mem.html

    It allows a counting semaphore to be modeled by a buffered channel:
    the number of items in the channel corresponds to the number of active uses,
    the capacity of the channel corresponds to the maximum number of simultaneous uses,
    sending an item acquires the semaphore, and receiving an item releases
    the semaphore.
    This is a common idiom for limiting concurrency.
    </p>
    
    <p>
    This program starts a goroutine for every entry in the work list, but the
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top