Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for VALID (3.84 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                }
            }
            if ( rpc == null ) {
                return false;
            }
    
            boolean valid = false;
            for ( int hash : rpc.getHashAlgos() ) {
                if ( hash == pc.getHashAlgos()[ 0 ] ) {
                    valid = true;
                }
            }
            if ( !valid ) {
                log.error("Server returned invalid hash selection");
                return false;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

      /**
       * Validation method used by {@code from} to ensure that the domain name is syntactically valid
       * according to RFC 1035.
       *
       * @return Is the domain name syntactically valid?
       */
      private static boolean validateSyntax(List<String> parts) {
        int lastIndex = parts.size() - 1;
    
        // Validate the last part specially, as it has different syntax rules.
    
        if (!validatePart(parts.get(lastIndex), true)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("abc", Strings.commonPrefix(new StringBuffer("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Suppliers.java

       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
       *
       * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is
       * returned directly.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            if (recommendedVersion != null) {
                version = recommendedVersion;
            } else {
                if (restrictions.size() == 0) {
                    throw new OverConstrainedVersionException("The artifact has no valid ranges", artifact);
                }
    
                version = null;
            }
            return version;
        }
    
        public boolean isSelectedVersionKnown(Artifact artifact) throws OverConstrainedVersionException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                                BuilderProblem.Severity.ERROR,
                                "pluginGroups.pluginGroup[" + i + "]",
                                null,
                                "must denote a valid group id and match the pattern " + ID);
                    }
                }
            }
    
            List<Server> servers = settings.getServers();
    
            if (servers != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top