- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 934 for typeA (0.31 sec)
-
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) -
pkg/dns/client/dns_test.go
host: "details.ns2.", expectResolutionFailure: dns.RcodeNameError, // on home machines, the ISP may resolve to some generic webpage. So this test may fail on laptops }, { name: "success: TypeA query returns A records only", host: "dual.localhost.", expected: a("dual.localhost.", []netip.Addr{netip.MustParseAddr("2.2.2.2")}), }, { name: "success: wild card returns A record correctly",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
HandleAAAA func(w AAAAWriter, name string) error HandleSRV func(w SRVWriter, name string) error } type ResponseWriter struct{ a *resolverFuncConn } func (w ResponseWriter) header() dnsmessage.ResourceHeader { q := w.a.q return dnsmessage.ResourceHeader{ Name: q.Name, Type: q.Type, Class: q.Class, TTL: w.a.ttl, } } // SetTTL sets the TTL for subsequent written resources.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
src/net/dnsclient_unix.go
case '4': qtypes = []dnsmessage.Type{dnsmessage.TypeA} case '6': qtypes = []dnsmessage.Type{dnsmessage.TypeAAAA} } var queryFn func(fqdn string, qtype dnsmessage.Type) var responseFn func(fqdn string, qtype dnsmessage.Type) result if conf.singleRequest { queryFn = func(fqdn string, qtype dnsmessage.Type) {} responseFn = func(fqdn string, qtype dnsmessage.Type) result { dnsWaitGroup.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/dns/client/dns.go
address := make([]dns.RR, 0) mx := make([]dns.RR, 0) rest := make([]dns.RR, 0) for _, r := range in { switch r.Header().Rrtype { case dns.TypeCNAME: cname = append(cname, r) case dns.TypeA, dns.TypeAAAA: address = append(address, r) case dns.TypeMX: mx = append(mx, r) default: rest = append(rest, r) } } roundRobinShuffle(address) roundRobinShuffle(mx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0) -
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) -
internal/mountinfo/mountinfo_linux_test.go
// and success cases. func TestCrossDeviceMountPaths(t *testing.T) { successCase := `/dev/0 /path/to/0/1 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
func TestTypeToPtrType(t *testing.T) { // Encode a T, decode a *T type Type0 struct { A int } t0 := Type0{7} t0p := new(Type0) if err := encAndDec(t0, t0p); err != nil { t.Error(err) } } func TestPtrTypeToType(t *testing.T) { // Encode a *T, decode a T type Type1 struct { A uint } t1p := &Type1{17} var t1 Type1 if err := encAndDec(t1, t1p); err != nil { t.Error(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(buffer.readByteString()).isEqualTo("A20743054A6F6E6573".decodeHex()) } @Test fun `decode implicit tagged implicit prefixed type`() { // Type1 ::= VisibleString // Type2 ::= [APPLICATION 3] IMPLICIT Type1 // Type3 ::= [2] Type2 // Type4 ::= [APPLICATION 7] IMPLICIT Type3 val buffer = Buffer() .write("670743054A6F6E6573".decodeHex()) val derReader = DerReader(buffer)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt
override val diagnosticClass get() = IncompatibleTypes::class val typeA: KaType val typeB: KaType } interface IncompatibleTypesWarning : KaFirDiagnostic<KtElement> { override val diagnosticClass get() = IncompatibleTypesWarning::class val typeA: KaType val typeB: KaType } interface TypeVarianceConflictError : KaFirDiagnostic<PsiElement> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 11:41:05 UTC 2024 - 172.6K bytes - Viewed (0)