Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for typed (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		return obj, true
    	} else if typedV, ok := obj.(map[string]interface{}); ok {
    		if _, hasDirective := typedV[directiveMarker]; hasDirective {
    			return nil, false
    		}
    
    		for k, v := range typedV {
    			var keep bool
    			typedV[k], keep = removeDirectives(v)
    			if !keep {
    				delete(typedV, k)
    			}
    		}
    		return typedV, true
    	} else if typedV, ok := obj.([]interface{}); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    	}
    	return string(stdout), string(stderr)
    }
    
    // A typeConv is a translator from dwarf types to Go types
    // with equivalent memory layout.
    type typeConv struct {
    	// Cache of already-translated or in-progress types.
    	m map[string]*Type
    
    	// Map from types to incomplete pointers to those types.
    	ptrs map[string][]*Type
    	// Keys of ptrs in insertion order (deterministic worklist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/net/dnsclient_unix_test.go

    			ID:       q.ID,
    			Response: true,
    		},
    		Questions: q.Questions,
    	}
    	if len(q.Questions) == 1 && q.Questions[0].Type == dnsmessage.TypeA {
    		r.Answers = []dnsmessage.Resource{
    			{
    				Header: dnsmessage.ResourceHeader{
    					Name:   q.Questions[0].Name,
    					Type:   dnsmessage.TypeA,
    					Class:  dnsmessage.ClassINET,
    					Length: 4,
    				},
    				Body: &dnsmessage.AResource{
    					A: TestAddr,
    				},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.DefaultTask.doLast(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    )
    
    // Message formats
    
    // A Type is a type of DNS request and response.
    type Type uint16
    
    const (
    	// ResourceHeader.Type and Question.Type
    	TypeA     Type = 1
    	TypeNS    Type = 2
    	TypeCNAME Type = 5
    	TypeSOA   Type = 6
    	TypePTR   Type = 12
    	TypeMX    Type = 15
    	TypeTXT   Type = 16
    	TypeAAAA  Type = 28
    	TypeSRV   Type = 33
    	TypeOPT   Type = 41
    
    	// Question.Type
    	TypeWKS   Type = 11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    	}{
    		// void
    		{`package n0; func f() { f() }`, `f()`, `void`},
    
    		// types
    		{`package t0; type _ int`, `int`, `type`},
    		{`package t1; type _ []int`, `[]int`, `type`},
    		{`package t2; type _ func()`, `func()`, `type`},
    		{`package t3; type _ func(int)`, `int`, `type`},
    		{`package t3; type _ func(...int)`, `...int`, `type`},
    
    		// built-ins
    		{`package b0; var _ = len("")`, `len`, `builtin`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    	}{
    		// void
    		{`package n0; func f() { f() }`, `f()`, `void`},
    
    		// types
    		{`package t0; type _ int`, `int`, `type`},
    		{`package t1; type _ []int`, `[]int`, `type`},
    		{`package t2; type _ func()`, `func()`, `type`},
    		{`package t3; type _ func(int)`, `int`, `type`},
    		{`package t3; type _ func(...int)`, `...int`, `type`},
    
    		// built-ins
    		{`package b0; var _ = len("")`, `len`, `builtin`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/asm0.go

    	o1 := uint32(0)
    	o2 := uint32(0)
    	o3 := uint32(0)
    	o4 := uint32(0)
    
    	add := AADDU
    
    	if c.ctxt.Arch.Family == sys.MIPS64 {
    		add = AADDVU
    	}
    	switch o.type_ {
    	default:
    		c.ctxt.Diag("unknown type %d %v", o.type_)
    		prasm(p)
    
    	case 0: /* pseudo ops */
    		break
    
    	case 1: /* mov r1,r2 ==> OR r1,r0,r2 */
    		a := AOR
    		if p.As == AMOVW && c.ctxt.Arch.Family == sys.MIPS64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/asm.go

    	o1 := uint32(0)
    	o2 := uint32(0)
    	o3 := uint32(0)
    	o4 := uint32(0)
    	o5 := uint32(0)
    
    	add := AADDU
    	add = AADDVU
    
    	switch o.type_ {
    	default:
    		c.ctxt.Diag("unknown type %d %v", o.type_)
    		prasm(p)
    
    	case 0: // pseudo ops
    		break
    
    	case 1: // mov r1,r2 ==> OR r1,r0,r2
    		a := AOR
    		if p.As == AMOVW {
    			a = ASLL
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm/asm5.go

    	o3 := uint32(0)
    	o4 := uint32(0)
    	o5 := uint32(0)
    	o6 := uint32(0)
    	if false { /*debug['P']*/
    		fmt.Printf("%x: %v\ttype %d\n", uint32(p.Pc), p, o.type_)
    	}
    	switch o.type_ {
    	default:
    		c.ctxt.Diag("%v: unknown asm %d", p, o.type_)
    
    	case 0: /* pseudo ops */
    		if false { /*debug['G']*/
    			fmt.Printf("%x: %s: arm\n", uint32(p.Pc), p.From.Sym.Name)
    		}
    
    	case 1: /* op R,[R],R */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
Back to top