Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for typexpr (0.33 sec)

  1. src/encoding/gob/type.go

    var (
    	gobEncoderInterfaceType        = reflect.TypeFor[GobEncoder]()
    	gobDecoderInterfaceType        = reflect.TypeFor[GobDecoder]()
    	binaryMarshalerInterfaceType   = reflect.TypeFor[encoding.BinaryMarshaler]()
    	binaryUnmarshalerInterfaceType = reflect.TypeFor[encoding.BinaryUnmarshaler]()
    	textMarshalerInterfaceType     = reflect.TypeFor[encoding.TextMarshaler]()
    	textUnmarshalerInterfaceType   = reflect.TypeFor[encoding.TextUnmarshaler]()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

                    return asMutable().toString();
                }
    
                private StringBuilder asMutable() {
                    String typeStr = type.toString();
                    StringBuilder result = new StringBuilder(typeStr.length() + name.length() + 3);
                    result.append(typeStr);
                    result.append(" '");
                    result.append(name);
                    result.append('\'');
                    return result;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. src/encoding/asn1/asn1.go

    	return
    }
    
    var (
    	bitStringType        = reflect.TypeFor[BitString]()
    	objectIdentifierType = reflect.TypeFor[ObjectIdentifier]()
    	enumeratedType       = reflect.TypeFor[Enumerated]()
    	flagType             = reflect.TypeFor[Flag]()
    	timeType             = reflect.TypeFor[time.Time]()
    	rawValueType         = reflect.TypeFor[RawValue]()
    	rawContentsType      = reflect.TypeFor[RawContent]()
    	bigIntType           = reflect.TypeFor[*big.Int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  4. src/net/dnsclient_unix.go

    	p.SkipAllAnswers()
    	p.SkipAllAuthorities()
    	hasAdd := false
    	for {
    		ahdr, err := p.AdditionalHeader()
    		if err != nil {
    			return hdr.RCode, hasAdd
    		}
    		hasAdd = true
    		if ahdr.Type == dnsmessage.TypeOPT {
    			return ahdr.ExtendedRCode(hdr.RCode), hasAdd
    		}
    		if err := p.SkipAdditional(); err != nil {
    			return hdr.RCode, hasAdd
    		}
    	}
    }
    
    // Do a lookup for a single name, which must be rooted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/encoding/xml/read.go

    		return nil
    	}
    
    	return copyValue(val, []byte(attr.Value))
    }
    
    var (
    	attrType            = reflect.TypeFor[Attr]()
    	unmarshalerType     = reflect.TypeFor[Unmarshaler]()
    	unmarshalerAttrType = reflect.TypeFor[UnmarshalerAttr]()
    	textUnmarshalerType = reflect.TypeFor[encoding.TextUnmarshaler]()
    )
    
    const (
    	maxUnmarshalDepth     = 10000
    	maxUnmarshalDepthWasm = 5000 // go.dev/issue/56498
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    	// Type '1' to '6' are header-only flags and may not have a data body.
    	TypeLink    = '1' // Hard link
    	TypeSymlink = '2' // Symbolic link
    	TypeChar    = '3' // Character device node
    	TypeBlock   = '4' // Block device node
    	TypeDir     = '5' // Directory
    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    	TypeCont = '7'
    
    	// Type 'x' is used by the PAX format to store key-value records that
    	// are only relevant to the next file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    		return err
    	}
    	tw.hdr = *hdr // Shallow copy of Header
    
    	// Avoid usage of the legacy TypeRegA flag, and automatically promote
    	// it to use TypeReg or TypeDir.
    	if tw.hdr.Typeflag == TypeRegA {
    		if strings.HasSuffix(tw.hdr.Name, "/") {
    			tw.hdr.Typeflag = TypeDir
    		} else {
    			tw.hdr.Typeflag = TypeReg
    		}
    	}
    
    	// Round ModTime and ignore AccessTime and ChangeTime unless
    	// the format is explicitly chosen.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/encoding/xml/read_test.go

    	v, e any
    }{
    	{&BadPathTestA{}, &TagPathError{reflect.TypeFor[BadPathTestA](), "First", "items>item1", "Second", "items"}},
    	{&BadPathTestB{}, &TagPathError{reflect.TypeFor[BadPathTestB](), "First", "items>item1", "Second", "items>item1>value"}},
    	{&BadPathTestC{}, &TagPathError{reflect.TypeFor[BadPathTestC](), "First", "", "Second", "First"}},
    	{&BadPathTestD{}, &TagPathError{reflect.TypeFor[BadPathTestD](), "First", "", "Second", "First"}},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/network.go

    	// No records or OPT is the only record, return a short ttl as a fail safe.
    	if len(m.Answer)+len(m.Ns) == 0 &&
    		(len(m.Extra) == 0 || (len(m.Extra) == 1 && m.Extra[0].Header().Rrtype == dns.TypeOPT)) {
    		return MinGatewayTTL
    	}
    
    	minTTL := MaxGatewayTTL
    	for _, r := range m.Answer {
    		if r.Header().Ttl < uint32(minTTL.Seconds()) {
    			minTTL = time.Duration(r.Header().Ttl) * time.Second
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. pkg/dns/client/dns.go

    func roundRobinResponse(res *dns.Msg) {
    	if res.Rcode != dns.RcodeSuccess {
    		return
    	}
    
    	if res.Question[0].Qtype == dns.TypeAXFR || res.Question[0].Qtype == dns.TypeIXFR {
    		return
    	}
    
    	res.Answer = roundRobin(res.Answer)
    	res.Ns = roundRobin(res.Ns)
    	res.Extra = roundRobin(res.Extra)
    }
    
    func roundRobin(in []dns.RR) []dns.RR {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top