Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for unavailable (0.24 sec)

  1. misc/wasm/wasm_exec.js

    	if (!globalThis.crypto) {
    		throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
    	}
    
    	if (!globalThis.performance) {
    		throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");
    	}
    
    	if (!globalThis.TextEncoder) {
    		throw new Error("globalThis.TextEncoder is not available, polyfill required");
    	}
    
    	if (!globalThis.TextDecoder) {
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  2. src/cmd/cgo/doc.go

    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    C.long, C.ulong (unsigned long), C.longlong (long long),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    			t.Fatalf("Available() = %v, want %v", w.Available(), cap(b))
    		}
    
    		// While not recommended, it is valid to append to a shifted buffer.
    		// This forces Write to copy the input.
    		if rn.Intn(8) == 0 && cap(b) > 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    				for bb.Len() < n {
    					bb.Write(block)
    				}
    			}
    		})
    	}
    }
    
    func BenchmarkBufferAppendNoCopy(b *testing.B) {
    	var bb Buffer
    	bb.Grow(16 << 20)
    	b.SetBytes(int64(bb.Available()))
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		bb.Reset()
    		b := bb.AvailableBuffer()
    		b = b[:cap(b)] // use max capacity to simulate a large append operation
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback.go

    var stringFromGo string
    
    //export goWithString
    func goWithString(s string) {
    	stringFromGo = s
    }
    
    func testCallbackStack(t *testing.T) {
    	// Make cgo call and callback with different amount of stack available.
    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    from the channel <code>ch</code>. The channel direction must permit receive operations,
    and the type of the receive operation is the element type of the channel.
    The expression blocks until a value is available.
    Receiving from a <code>nil</code> channel blocks forever.
    A receive operation on a <a href="#Close">closed</a> channel can always proceed
    immediately, yielding the element type's <a href="#The_zero_value">zero value</a>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. README.md

    ### Download and Install
    
    #### Binary Distributions
    
    Official binary distributions are available at https://go.dev/dl/.
    
    After downloading a binary release, visit https://go.dev/doc/install
    for installation instructions.
    
    #### Install From Source
    
    If a binary distribution is not available for your combination of
    operating system and architecture, visit
    https://go.dev/doc/install/source
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 02 20:14:56 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. misc/ios/detect.go

    		fail("no udid found; is a device connected?")
    	}
    
    	mps := detectMobileProvisionFiles(udids)
    	if len(mps) == 0 {
    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/bytes/reader.go

    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    // Size is the number of bytes available for reading via [Reader.ReadAt].
    // The result is unaffected by any method calls except [Reader.Reset].
    func (r *Reader) Size() int64 { return int64(len(r.s)) }
    
    // Read implements the [io.Reader] interface.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    		if r != utf8.RuneError {
    			// r is 2 to 4 bytes
    			if len(chars) == width {
    				if chars == string(r) {
    					return i
    				}
    				continue
    			}
    			// Use bytealg.IndexString for performance if available.
    			if bytealg.MaxLen >= width {
    				if bytealg.IndexString(chars, string(r)) >= 0 {
    					return i
    				}
    				continue
    			}
    		}
    		for _, ch := range chars {
    			if r == ch {
    				return i
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top