- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 601 for caracter (0.28 sec)
-
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) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa"); assertFailsToDecode(base16(), "EFGH", "Unrecognized character: G"); // Valid base16 strings always have an even length. assertFailsToDecode(base16(), "A", "Invalid input length 1"); assertFailsToDecode(base16(), "ABC"); // These have a combination of invalid length and unrecognized characters.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)