Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toPtr (0.07 sec)

  1. src/runtime/slice.go

    		racewriterangepc(toPtr, size, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(fromPtr, size)
    		msanwrite(toPtr, size)
    	}
    	if asanenabled {
    		asanread(fromPtr, size)
    		asanwrite(toPtr, size)
    	}
    
    	if size == 1 { // common case worth about 2x to do here
    		// TODO: is this still worth it with new memmove impl?
    		*(*byte)(toPtr) = *(*byte)(fromPtr) // known to be a byte pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func slicebytetostringtmp(ptr *byte, n int) string
    func slicerunetostring(*[32]byte, []rune) string
    func stringtoslicebyte(*[32]byte, string) []byte
    func stringtoslicerune(*[32]rune, string) []rune
    func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int
    
    func decoderune(string, int) (retv rune, retk int)
    func countrunes(string) int
    
    // Convert non-interface type to the data word of a (empty or nonempty) interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation_test.go

    			GMSACredentialSpecName: toPtr("dummy-gmsa-crep-spec-name"),
    			GMSACredentialSpec:     toPtr("dummy-gmsa-crep-spec-contents"),
    		},
    	}, {
    		testName: "a GMSA cred spec name that is not a valid resource name",
    		windowsOptions: &core.WindowsSecurityContextOptions{
    			// invalid because of the underscore
    			GMSACredentialSpecName: toPtr("not_a-valid-gmsa-crep-spec-name"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  4. test/ken/chan.go

    	tests(100)
    
    	t := 4 * // buffer sizes
    		(4*4 + // tests 1,2,3,4 channels
    			8 + // test 5 channels
    			12) * // test 6 channels
    		76 // sends/recvs on a channel
    
    	if tots != t || totr != t {
    		print("tots=", tots, " totr=", totr, " sb=", t, "\n")
    		os.Exit(1)
    	}
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/const.go

    	case constant.Bool:
    		if t.IsBoolean() {
    			return v
    		}
    
    	case constant.String:
    		if t.IsString() {
    			return v
    		}
    
    	case constant.Int:
    		if explicit && t.IsString() {
    			return tostr(v)
    		}
    		fallthrough
    	case constant.Float, constant.Complex:
    		switch {
    		case t.IsInteger():
    			v = toint(v)
    			return v
    		case t.IsFloat():
    			v = toflt(v)
    			v = truncfltlit(v, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top