Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 108 for new2 (0.06 sec)

  1. src/fmt/print.go

    func parsenum(s string, start, end int) (num int, isnum bool, newi int) {
    	if start >= end {
    		return 0, false, end
    	}
    	for newi = start; newi < end && '0' <= s[newi] && s[newi] <= '9'; newi++ {
    		if tooLarge(num) {
    			return 0, false, end // Overflow; crazy long number most likely.
    		}
    		num = num*10 + int(s[newi]-'0')
    		isnum = true
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. buildscripts/rewrite-old-new.sh

    Harshavardhana <******@****.***> 1716837466 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/conversion/converter_test.go

    		(*A)(nil), (*B)(nil),
    		func(a, b interface{}, s Scope) error {
    			return nil
    		},
    	)
    	newc := c.WithConversions(ext)
    
    	a := A{}
    	b := B{}
    	if err := c.Convert(&a, &b, nil); err == nil || err.Error() != "conversion function should be overridden" {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if err := newc.Convert(&a, &b, nil); err != nil {
    		t.Errorf("%v", err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 06 06:28:24 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/example.com_retract_rename_v1.9.0-new.txt

    Module example.com/retract/rename is renamed in this version.
    
    This happens frequently when a repository is renamed or when a go.mod file
    is added for the first time with a custom module path.
    -- .info --
    {"Version":"v1.9.0-new"}
    -- .mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- go.mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- newname.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 17:59:55 UTC 2020
    - 429 bytes
    - Viewed (0)
  5. pilot/pkg/xds/auth.go

    		id, err := checkConnectionIdentity(con.proxy, identities)
    		if err != nil {
    			log.Warnf("Unauthorized XDS: %v with identity %v: %v", con.Peer(), identities, err)
    			return status.Newf(codes.PermissionDenied, "authorization failed: %v", err).Err()
    		}
    		con.proxy.VerifiedIdentity = id
    	}
    	return nil
    }
    
    func checkConnectionIdentity(proxy *model.Proxy, identities []string) (*spiffe.Identity, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/hash/fnv/fnv.go

    	prime64         = 1099511628211
    	prime128Lower   = 0x13b
    	prime128Shift   = 24
    )
    
    // New32 returns a new 32-bit FNV-1 [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32() hash.Hash32 {
    	var s sum32 = offset32
    	return &s
    }
    
    // New32a returns a new 32-bit FNV-1a [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32a() hash.Hash32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/go/doc/doc_test.go

    type G1[T any] struct {
    	*s3
    }
    
    func NewG1[T any]() G1[T] { return G1[T]{} }
    
    func (G1[T]) MG1() {}
    func (*G1[U]) MG2() {}
    
    type G2[T, U any] struct {}
    
    func NewG2[T, U any]() G2[T, U] { return G2[T, U]{} }
    
    func (G2[T, U]) MG3() {}
    func (*G2[A, B]) MG4() {}
    
    
    `
    
    var funcsPackage = &Package{
    	Funcs: []*Func{{Name: "F"}},
    	Types: []*Type{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. src/hash/marshal_test.go

    		panic(err)
    	}
    	return b
    }
    
    var marshalTests = []struct {
    	name   string
    	new    func() hash.Hash
    	golden []byte
    }{
    	{"adler32", func() hash.Hash { return adler32.New() }, fromHex("61646c01460a789d")},
    	{"crc32", func() hash.Hash { return crc32.NewIEEE() }, fromHex("63726301ca87914dc956d3e8")},
    	{"crc64", func() hash.Hash { return crc64.New(crc64.MakeTable(crc64.ISO)) }, fromHex("6372630273ba8484bbcd5def5d51c83c581695be")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  9. src/runtime/sys_plan9_arm.s

    //func rfork(flags int32) int32
    TEXT runtime·rfork(SB),NOSPLIT,$0-8
    	MOVW	$SYS_RFORK, R0
    	SWI	$0
    	MOVW	R0, ret+4(FP)
    	RET
    
    //func tstart_plan9(newm *m)
    TEXT runtime·tstart_plan9(SB),NOSPLIT,$4-4
    	MOVW	newm+0(FP), R1
    	MOVW	m_g0(R1), g
    
    	// Layout new m scheduler stack on os stack.
    	MOVW	R13, R0
    	MOVW	R0, g_stack+stack_hi(g)
    	SUB	$(64*1024), R0
    	MOVW	R0, (g_stack+stack_lo)(g)
    	MOVW	R0, g_stackguard0(g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 29 14:15:04 UTC 2021
    - 7K bytes
    - Viewed (0)
  10. src/runtime/sys_solaris_amd64.s

    	MOVL	0(AX), AX
    	MOVQ	AX, libcall_err(DI)
    
    skiperrno2:
    	RET
    
    // uint32 tstart_sysvicall(M *newm);
    TEXT runtime·tstart_sysvicall(SB),NOSPLIT,$0
    	// DI contains first arg newm
    	MOVQ	m_g0(DI), DX		// g
    
    	// Make TLS entries point at g and m.
    	get_tls(BX)
    	MOVQ	DX, g(BX)
    	MOVQ	DI, g_m(DX)
    
    	// Layout new m scheduler stack on os stack.
    	MOVQ	SP, AX
    	MOVQ	AX, (g_stack+stack_hi)(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:29:00 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top