Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for misbehaving (0.14 sec)

  1. src/net/dnsclient_unix_test.go

    			r.Header.RCode = dnsmessage.RCodeNameError
    		}
    
    		return r, nil
    	}}
    
    	cases := []struct {
    		strictErrors bool
    		wantErr      *DNSError
    	}{
    		{true, &DNSError{Name: fqdn, Err: "server misbehaving", IsTemporary: true}},
    		{false, &DNSError{Name: fqdn, Err: errNoSuchHost.Error(), IsNotFound: true}},
    	}
    	for _, tt := range cases {
    		r := Resolver{PreferGo: true, StrictErrors: tt.strictErrors, Dial: fake.DialContext}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/reflect/type.go

    	f.Offset = p.Offset
    
    	// NOTE(rsc): This is the only allocation in the interface
    	// presented by a reflect.Type. It would be nice to avoid,
    	// at least in the common cases, but we need to make sure
    	// that misbehaving clients of reflect cannot affect other
    	// uses of reflect. One possibility is CL 5371098, but we
    	// postponed that ugliness until there is a demonstrated
    	// need for the performance. This is issue 2320.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top