Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for uptr (3.8 sec)

  1. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    		},
    		{
    			input: &baz{
    				Ptr:  intp(5),
    				Bptr: boolp(true),
    			},
    			expected: url.Values{"ptr": {"5"}, "bptr": {"true"}},
    		},
    		{
    			input: &baz{
    				Bptr: boolp(true),
    			},
    			expected: url.Values{"ptr": {""}, "bptr": {"true"}},
    		},
    		{
    			input: &baz{
    				Ptr: intp(5),
    			},
    			expected: url.Values{"ptr": {"5"}},
    		},
    		{
    			input: &childStructs{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/pledge_openbsd.go

    func Pledge(promises, execpromises string) error {
    	if err := pledgeAvailable(); err != nil {
    		return err
    	}
    
    	pptr, err := BytePtrFromString(promises)
    	if err != nil {
    		return err
    	}
    
    	exptr, err := BytePtrFromString(execpromises)
    	if err != nil {
    		return err
    	}
    
    	return pledge(pptr, exptr)
    }
    
    // PledgePromises implements the pledge syscall.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/universe.go

    	Types[TUNSAFEPTR] = defBasic(TUNSAFEPTR, UnsafePkg, "Pointer")
    
    	Types[TBLANK] = newType(TBLANK)
    	Types[TNIL] = newType(TNIL)
    
    	// simple aliases
    	SimType[TMAP] = TPTR
    	SimType[TCHAN] = TPTR
    	SimType[TFUNC] = TPTR
    	SimType[TUNSAFEPTR] = TPTR
    
    	for et := TINT8; et <= TUINT64; et++ {
    		IsInt[et] = true
    	}
    	IsInt[TINT] = true
    	IsInt[TUINT] = true
    	IsInt[TUINTPTR] = true
    
    	IsFloat[TFLOAT32] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. test/fixedbugs/issue15528.go

    		s := fmt.Sprintf("%[1]T %#[1]v %[1]s", test.x)
    		if s != test.s {
    			fmt.Printf("iface(%d)=%q want %q\n", i, s, test.s)
    			fail = true
    		}
    	}
    
    	if got := *(iptr.(*int)); got != 1 {
    		fmt.Printf("bad int ptr %d\n", got)
    		fail = true
    	}
    
    	f.(func())()
    	f.(func())()
    	f.(func())()
    	if clos != 3 {
    		fmt.Printf("bad closure exec %d\n", clos)
    		fail = true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 12 14:31:26 UTC 2016
    - 3.1K bytes
    - Viewed (0)
  5. releasenotes/notes/deprecate-k8sca-upto-v1.20.yaml

    Akshay J Nambiar <******@****.***> 1669910953 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 01 16:09:13 UTC 2022
    - 403 bytes
    - Viewed (0)
  6. src/testing/quick/quick_test.go

    	reportError("fInt32Alias", CheckEqual(fInt32Alias, fInt32Alias, nil), t)
    	reportError("fMap", CheckEqual(fMap, fMap, nil), t)
    	reportError("fMapAlias", CheckEqual(fMapAlias, fMapAlias, nil), t)
    	reportError("fPtr", CheckEqual(fPtr, fPtr, nil), t)
    	reportError("fPtrAlias", CheckEqual(fPtrAlias, fPtrAlias, nil), t)
    	reportError("fSlice", CheckEqual(fSlice, fSlice, nil), t)
    	reportError("fSliceAlias", CheckEqual(fSliceAlias, fSliceAlias, nil), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  7. docs/sts/web-identity.go

    	CodeChallengeMethodsSupported    []string `json:"code_challenge_methods_supported,omitempty"`
    }
    
    func parseDiscoveryDoc(ustr string) (DiscoveryDoc, error) {
    	d := DiscoveryDoc{}
    	req, err := http.NewRequest(http.MethodGet, ustr, nil)
    	if err != nil {
    		return d, err
    	}
    	clnt := http.Client{
    		Transport: http.DefaultTransport,
    	}
    	resp, err := clnt.Do(req)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

                directory("/home/lptr/dev/empty", []),
                directory("/home/lptr/dev/sub", [
                    regularFile("/home/lptr/dev/sub/three.txt"),
                    regularFile("/home/lptr/dev/sub/four.txt"),
                ]),
                regularFile("/home/lptr/dev/link", VIA_SYMLINK),
            ])
    
            when:
            def out = serialize(snapshots, serializer)
    
            then:
            assertEqualSnapshots(out, snapshots)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/runtime/race/output_test.go

    }{
    	{"simple", "run", "", "atexit_sleep_ms=0", `
    package main
    import "time"
    var xptr *int
    var donechan chan bool
    func main() {
    	done := make(chan bool)
    	x := 0
    	startRacer(&x, done)
    	store(&x, 43)
    	<-done
    }
    func store(x *int, v int) {
    	*x = v
    }
    func startRacer(x *int, done chan bool) {
    	xptr = x
    	donechan = done
    	go racer()
    }
    func racer() {
    	time.Sleep(10*time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_wasm.go

    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func Xchgint32(ptr *int32, new int32) int32 {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func Xchgint64(ptr *int64, new int64) int64 {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func Xchguintptr(ptr *uintptr, new uintptr) uintptr {
    	old := *ptr
    	*ptr = new
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top