Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ending2 (0.21 sec)

  1. 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)
  2. doc/go_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
    - 279.3K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg syscall (windows-386), const ERROR_FILE_EXISTS = 80
    pkg syscall (windows-386), const ERROR_FILE_NOT_FOUND = 2
    pkg syscall (windows-386), const ERROR_INSUFFICIENT_BUFFER = 122
    pkg syscall (windows-386), const ERROR_IO_PENDING = 997
    pkg syscall (windows-386), const ERROR_MOD_NOT_FOUND = 126
    pkg syscall (windows-386), const ERROR_NOT_FOUND = 1168
    pkg syscall (windows-386), const ERROR_NOT_FOUND Errno
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec_node.js

    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jan 30 18:49:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    For change proposals, see [Proposing Changes To Go](https://go.dev/s/proposal-process).
    
    ## Contributing code
    
    Please read the [Contribution Guidelines](https://golang.org/doc/contribute.html) before sending patches.
    
    Unless otherwise noted, the Go source files are distributed under
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top