Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for caniuse (0.34 sec)

  1. src/cmd/cgo/doc.go

    	jlongArray
    	jfloatArray
    	jdoubleArray
    	jobjectArray
    	jweak
    
    3. The EGLDisplay and EGLConfig types from the EGL API.
    
    These types are uintptr on the Go side because they would otherwise
    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    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)
  2. src/archive/zip/reader_test.go

    		t.Errorf("Error opening file: %v", err)
    	}
    }
    
    func TestCVE202133196(t *testing.T) {
    	// Archive that indicates it has 1 << 128 -1 files,
    	// this would previously cause a panic due to attempting
    	// to allocate a slice with 1 << 128 -1 elements.
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x08,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    	}
    }
    
    type dataAndEOFReader string
    
    func (r dataAndEOFReader) Read(p []byte) (int, error) {
    	return copy(p, r), io.EOF
    }
    
    func TestPeekThenUnreadRune(t *testing.T) {
    	// This sequence used to cause a crash.
    	r := NewReader(strings.NewReader("x"))
    	r.ReadRune()
    	r.Peek(1)
    	r.UnreadRune()
    	r.ReadRune() // Used to panic here
    }
    
    var testOutput = []byte("0123456789abcdefghijklmnopqrstuvwxy")
    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. doc/go1.17_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    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)
  5. misc/wasm/wasm_exec.html

    	<title>Go wasm</title>
    </head>
    
    <body>
    	<!--
    	Add the following polyfill for Microsoft Edge 17/18 support:
    	<script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
    	(see https://caniuse.com/#feat=textencoder)
    	-->
    	<script src="wasm_exec.js"></script>
    	<script>
    		if (!WebAssembly.instantiateStreaming) { // polyfill
    			WebAssembly.instantiateStreaming = async (resp, importObject) => {
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Oct 02 17:25:11 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  6. doc/go_spec.html

    for operands of the key type; thus the key type must not be a function, map, or
    slice.
    If the key type is an interface type, these
    comparison operators must be defined for the dynamic key values;
    failure will cause a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <pre>
    map[string]int
    map[*T]struct{ x, y float64 }
    map[string]interface{}
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  8. src/bytes/boundary_test.go

    	. "bytes"
    	"syscall"
    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    // gcc to fail.
    func (p *Package) gccErrors(stdin []byte, extraArgs ...string) string {
    	// TODO(rsc): require failure
    	args := p.gccCmd()
    
    	// Optimization options can confuse the error messages; remove them.
    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    		if !strings.HasPrefix(arg, "-O") {
    			nargs = append(nargs, arg)
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg bytes, func Clone([]uint8) []uint8 #45038
    pkg bytes, func CutPrefix([]uint8, []uint8) ([]uint8, bool) #42537
    pkg bytes, func CutSuffix([]uint8, []uint8) ([]uint8, bool) #42537
    pkg context, func Cause(Context) error #51365
    pkg context, func WithCancelCause(Context) (Context, CancelCauseFunc) #51365
    pkg context, type CancelCauseFunc func(error) #51365
    pkg crypto/ecdh, func P256() Curve #52221
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top