Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 564 for caracter (0.04 sec)

  1. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertFalse(table.containsValue(null));
      }
    
      public void testGet() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertNull(table.get("foo", 2));
        assertNull(table.get("bar", 3));
        assertNull(table.get("cat", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),
                        "Should throw IllegalArgumentException for invalid character in UUID string");
            }
    
            @Test
            @DisplayName("Constructor with UUID string containing non-hex character should throw IllegalArgumentException")
            void testConstructorWithStringNonHexCharacter() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

       * Returns a new {@link CharSource} for reading character data from the given file using the given
       * character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(File file, Charset charset) {
        return asByteSource(file).asCharSource(charset);
      }
    
      /**
       * Returns a new {@link CharSink} for writing character data to the given file using the given
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                char character = version.charAt(i);
                int c = character;
                if (Character.isHighSurrogate(character)) {
                    // read the next character as a low surrogate and combine into a single int
                    try {
                        char low = version.charAt(i + 1);
                        char[] both = {character, low};
                        c = Character.codePointAt(both, 0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        val c = this[i]
        // The WHATWG Host parsing rules accepts some character codes which are invalid by
        // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here
        // we rule out characters that would cause problems in host headers.
        if (c <= '\u001f' || c >= '\u007f') {
          return true
        }
        // Check for the characters mentioned in the WHATWG Host parsing spec:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              buffer |= charToTwoUtf8Bytes(c) << shift;
              shift += 16;
              len += 2;
            } else if (c < Character.MIN_SURROGATE || c > Character.MAX_SURROGATE) {
              buffer |= charToThreeUtf8Bytes(c) << shift;
              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

    }
    
    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
      startIndex: Int = 0,
    ): Int {
      for (i in startIndex until length) {
        if (this[i] in characters) {
          return i
        }
      }
      return length
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * Percent encoding replaces a character (like `\ud83c\udf69`) with its UTF-8 hex bytes (like
     * `%F0%9F%8D%A9`). This approach works for whitespace characters, control characters, non-ASCII
     * characters, and characters that already have another meaning in a particular context.
     *
     * Percent encoding is used in every URL component except for the hostname. But the set of
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path contains null bytes");
            }
    
            // Check for control characters
            if (strictMode && CONTROL_CHARS.matcher(path).find()) {
                log.warn("Path contains control characters: {}", sanitizeForLog(path));
                throw new SmbException("Path contains control characters");
            }
    
            // Check for traversal sequences
            if (containsTraversal(path)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test invalid usernames")
        @ValueSource(strings = { "user name", // space
                "user#name", // invalid character
                "user$name" // invalid character
        })
        void testInvalidUsernames(String username) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateUsername(username));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top