Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ipString (0.12 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

        if (hasColon) {
          if (hasDot) {
            ipString = convertDottedQuadToHex(ipString);
            if (ipString == null) {
              return null;
            }
          }
          if (percentIndex != -1) {
            if (scope != null) {
              scope.scope = ipString.substring(percentIndex + 1);
            }
            ipString = ipString.substring(0, percentIndex);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

        if (hasColon) {
          if (hasDot) {
            ipString = convertDottedQuadToHex(ipString);
            if (ipString == null) {
              return null;
            }
          }
          if (percentIndex != -1) {
            if (scope != null) {
              scope.scope = ipString.substring(percentIndex + 1);
            }
            ipString = ipString.substring(0, percentIndex);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/InetAddressesTest.java

        ImmutableSet<String> ipStrings =
            ImmutableSet.of("7::0.128.0.127", "7::0.128.0.128", "7::128.128.0.127", "7::0.128.128.127");
    
        for (String ipString : ipStrings) {
          // Shouldn't hit DNS, because it's an IP string literal.
          InetAddress ipv6Addr = InetAddress.getByName(ipString);
          assertEquals(ipv6Addr, InetAddresses.forString(ipString));
          assertTrue(InetAddresses.isInetAddress(ipString));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. cmd/postpolicyform.go

    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val interface{}) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    type contentLengthRange struct {
    	Min   int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      }
    
      private static void checkFromStringCase(
          String hpString,
          int defaultPort,
          @Nullable String expectHost,
          int expectPort,
          boolean expectHasExplicitPort) {
        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    	_, isString := v.(string)
    	if isBool || isString {
    		i := v                         // type of i is type of x (interface{})
    		printString("type is bool or string")
    	} else {
    		i := v                         // type of i is type of x (interface{})
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    } else if i, isFunc := v.(func(int) float64); isFunc {
    	printFunction(i)                       // type of i is func(int) float64
    } else {
    	_, isBool := v.(bool)
    	_, isString := v.(string)
    	if isBool || isString {
    		i := v                         // type of i is type of x (interface{})
    		printString("type is bool or string")
    	} else {
    		i := v                         // type of i is type of x (interface{})
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/moment-with-locales.min.js.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (0)
Back to top