Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ParseAddress (0.8 sec)

  1. src/net/mail/message.go

    	}
    	if len(addrs) > 1 {
    		return nil, errors.New("mail: group with multiple addresses")
    	}
    	return addrs[0], nil
    }
    
    // parseAddress parses a single RFC 5322 address at the start of p.
    func (p *addrParser) parseAddress(handleGroup bool) ([]*Address, error) {
    	debug.Printf("parseAddress: %q", p.s)
    	p.skipSpace()
    	if p.empty() {
    		return nil, errors.New("mail: no address")
    	}
    
    	// address = mailbox / group
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. src/net/mail/message_test.go

    		}
    
    		// Check round-trip.
    		if test.addr.Address != "" && test.addr.Address != "@" {
    			a, err := ParseAddress(test.exp)
    			if err != nil {
    				t.Errorf("ParseAddress(%#q): %v", test.exp, err)
    				continue
    			}
    			if a.Name != test.addr.Name || a.Address != test.addr.Address {
    				t.Errorf("ParseAddress(%#q) = %#v, want %#v", test.exp, a, test.addr)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      //
      // - bsonobjectid: a bson object ID, i.e. a 24 characters hex string
      // - uri: an URI as parsed by Golang net/url.ParseRequestURI
      // - email: an email address as parsed by Golang net/mail.ParseAddress
      // - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].
      // - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
      // - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      //
      // - bsonobjectid: a bson object ID, i.e. a 24 characters hex string
      // - uri: an URI as parsed by Golang net/url.ParseRequestURI
      // - email: an email address as parsed by Golang net/mail.ParseAddress
      // - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].
      // - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
      // - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  6. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AddressParser.WordDecoder", Field, 5},
    		{"ErrHeaderNotPresent", Var, 0},
    		{"Header", Type, 0},
    		{"Message", Type, 0},
    		{"Message.Body", Field, 0},
    		{"Message.Header", Field, 0},
    		{"ParseAddress", Func, 1},
    		{"ParseAddressList", Func, 1},
    		{"ParseDate", Func, 8},
    		{"ReadMessage", Func, 0},
    	},
    	"net/netip": {
    		{"(*Addr).UnmarshalBinary", Method, 18},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. pkg/generated/openapi/zz_generated.openapi.go

    Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

    Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
  10. api/openapi-spec/swagger.json

    Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top