Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 365 for bigptr (0.19 sec)

  1. test/fixedbugs/issue27695c.go

    	g(badPtr, badPtr, badPtr, badPtr)
    
    	// Then call a function which returns a pointer.
    	// That return slot starts out holding a bad pointer.
    	return d(io.EOF)
    }
    
    //go:noinline
    func g(x, y, z, w uintptr) {
    }
    
    type T struct {
    }
    
    func (t *T) Foo(e error) error {
    	runtime.GC()
    	return e
    }
    
    func main() {
    	// Functions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 13 22:52:09 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  2. src/go/doc/comment/testdata/list5.txt

    Text.
    
      1. One
      999999999999999999999. Big
      1000000000000000000000. Bigger
      1000000000000000000001. Biggest
    
    -- gofmt --
    Text.
    
     1. One
     999999999999999999999. Big
     1000000000000000000000. Bigger
     1000000000000000000001. Biggest
    
    -- text --
    Text.
    
     1. One
     999999999999999999999. Big
     1000000000000000000000. Bigger
     1000000000000000000001. Biggest
    
    -- markdown --
    Text.
    
     1. One
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 590 bytes
    - Viewed (0)
  3. test/fixedbugs/issue29362.go

    func noPointerArgs(a, b, c, d uintptr) {
    	sink = make([]byte, 4096)
    	<-throttle
    }
    
    func main() {
    	const N = 1000
    	for i := 0; i < N; i++ {
    		throttle <- struct{}{}
    		go noPointerArgs(badPtr, badPtr, badPtr, badPtr)
    		sink = make([]byte, 4096)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 03 20:17:01 UTC 2019
    - 879 bytes
    - Viewed (0)
  4. test/fixedbugs/issue30041.go

    package main
    
    import (
    	"reflect"
    	"runtime"
    	"unsafe"
    )
    
    var badPtr uintptr
    
    var sink []byte
    
    func init() {
    	// Allocate large enough to use largeAlloc.
    	b := make([]byte, 1<<16-1)
    	sink = b // force heap allocation
    	//  Any space between the object and the end of page is invalid to point to.
    	badPtr = uintptr(unsafe.Pointer(&b[len(b)-1])) + 1
    }
    
    type ft func() *int
    
    var fn ft
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 01 19:23:02 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/global-dependencies.md

    ## Dependencies for groups of *path operations*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/encoding/xml/read_test.go

    	Children []Child
    	ChildPtr *Child
    	ChildToEmbed
    }
    
    const (
    	emptyXML = `
    <Parent>
        <I></I>
        <IPtr></IPtr>
        <Is></Is>
        <IPtrs></IPtrs>
        <F></F>
        <FPtr></FPtr>
        <Fs></Fs>
        <FPtrs></FPtrs>
        <B></B>
        <BPtr></BPtr>
        <Bs></Bs>
        <BPtrs></BPtrs>
        <Bytes></Bytes>
        <BytesPtr></BytesPtr>
        <S></S>
        <SPtr></SPtr>
        <Ss></Ss>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. src/go/importer/importer_test.go

    		imp := ForCompiler(fset, compiler, lookup)
    		pkg, err := imp.Import("math/bigger")
    		if err != nil {
    			t.Fatal(err)
    		}
    		// Even though we open math/big.a, the import request was for math/bigger
    		// and that should be recorded in pkg.Path(), at least for the gc toolchain.
    		if pkg.Path() != "math/bigger" {
    			t.Fatalf("Path() = %q, want %q", pkg.Path(), "math/bigger")
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/conversion/helper_test.go

    	default:
    		_, err := EnforcePtr(obj)
    		if err == nil {
    			t.Errorf("Expected error on invalid kind")
    		}
    	}
    }
    
    func TestEnforceNilPtr(t *testing.T) {
    	var nilPtr *struct{}
    	_, err := EnforcePtr(nilPtr)
    	if err == nil {
    		t.Errorf("Expected error on nil pointer")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 978 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/BUILD

    flatbuffer_cc_library(
        name = "schema_fbs_with_mutable",
        srcs = ["schema.fbs"],
        compatible_with = get_compatible_with_portable(),
        flatc_args = [
            "--gen-mutable",
            "--gen-object-api",
        ],
        out_prefix = "mutable/",
    )
    
    # Generic schema for inference on device (but with reflections makes bigger).
    flatbuffer_cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jun 02 08:36:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/global-dependencies.md

    ## Abhängigkeiten für Gruppen von *Pfadoperationen*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top