Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for IsTemporary (0.19 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            this.responseBodyBytes = responseBody;
        }
    
        public void setResponseBody(final File responseBody, final boolean isTemporary) {
            this.responseBodyFile = responseBody;
            this.isTemporaryFile = isTemporary;
        }
    
        public String getCharSet() {
            return charSet;
        }
    
        public void setCharSet(final String charSet) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/net/net.go

    // newDNSError creates a new *DNSError.
    // Based on the err, it sets the UnwrapErr, IsTimeout, IsTemporary, IsNotFound fields.
    func newDNSError(err error, name, server string) *DNSError {
    	var (
    		isTimeout   bool
    		isTemporary bool
    		unwrapErr   error
    	)
    
    	if err, ok := err.(Error); ok {
    		isTimeout = err.Timeout()
    		isTemporary = err.Temporary()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/net/dnsclient_unix_test.go

    		t.Fatalf("Temporary = false for err = %#v; want Temporary == true", err)
    	}
    	if de, ok := err.(*DNSError); !ok {
    		t.Fatalf("err = %#v; wanted a *net.DNSError", err)
    	} else if !de.IsTemporary {
    		t.Fatalf("IsTemporary = false for err = %#v; want IsTemporary == true", err)
    	}
    }
    
    func TestIssueNoSuchHostExists(t *testing.T) {
    	err := lookupWithFake(fakeDNSServer{
    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. src/net/dnsclient_unix.go

    			if err != nil {
    				dnsErr := newDNSError(err, name, server)
    				// Set IsTemporary for socket-level errors. Note that this flag
    				// may also be used to indicate a SERVFAIL response.
    				if _, ok := err.(*OpError); ok {
    					dnsErr.IsTemporary = true
    				}
    				lastErr = dnsErr
    				continue
    			}
    
    			if err := checkHeader(&p, h); err != nil {
    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. api/go1.6.txt

    pkg math/big, method (*Int) Text(int) string
    pkg math/rand, func Read([]uint8) (int, error)
    pkg math/rand, method (*Rand) Read([]uint8) (int, error)
    pkg net, type DNSError struct, IsTemporary bool
    pkg net, type Dialer struct, Cancel <-chan struct
    pkg net/http, const MethodConnect = "CONNECT"
    pkg net/http, const MethodConnect ideal-string
    pkg net/http, const MethodDelete = "DELETE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Conn", Type, 0},
    		{"DNSConfigError", Type, 0},
    		{"DNSConfigError.Err", Field, 0},
    		{"DNSError", Type, 0},
    		{"DNSError.Err", Field, 0},
    		{"DNSError.IsNotFound", Field, 13},
    		{"DNSError.IsTemporary", Field, 6},
    		{"DNSError.IsTimeout", Field, 0},
    		{"DNSError.Name", Field, 0},
    		{"DNSError.Server", Field, 0},
    		{"DefaultResolver", Var, 8},
    		{"Dial", Func, 0},
    		{"DialIP", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top