- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for rwhitespace (0.28 sec)
-
guava-tests/test/com/google/common/io/ResourcesTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; import static com.google.common.base.CharMatcher.whitespace; import static com.google.common.truth.Truth.assertThat; import static java.nio.charset.StandardCharsets.US_ASCII; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertThrows;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.BitSet; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** Benchmark for the {@link CharMatcher#whitespace} implementation. */ @NullUnmarked public class WhitespaceMatcherBenchmark { private static final int STRING_LENGTH = 10000; private static final String OLD_WHITESPACE_TABLE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with whitespace around keys and values value = " key1 = value1 \n key2=value2\n"; paramMap = ParameterUtil.parse(value); assertEquals(2, paramMap.size()); assertEquals("value1", paramMap.get("key1")); assertEquals("value2", paramMap.get("key2")); // Test with empty lines and mixed whitespace value = "key1=value1\n\n\t\nkey2=value2\n \n";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 22.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
val part = parts.nextPart()!! assertThat(part.headers).isEqualTo(headersOf()) assertThat(part.body.readUtf8()).isEqualTo("abcd") assertThat(parts.nextPart()).isNull() } @Test fun `skip whitespace after boundary`() { val multipart = """ |--simple boundary | |abcd |--simple boundary-- """.trimMargin()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* simplifies use of single-valued fields whose values routinely contain commas, such as cookies or * dates. * * This class trims whitespace from values. It never returns values with leading or trailing * whitespace. * * Instances of this class are immutable. Use [Builder] to create instances. */ @Suppress("NAME_SHADOWING") class Headers internal constructor(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
val result = copyOf(size + 1) result[result.lastIndex] = value return result as Array<String> } /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */ internal fun String.indexOfFirstNonAsciiWhitespace( startIndex: Int = 0, endIndex: Int = length, ): Int { for (i in startIndex until endIndex) { when (this[i]) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
import static com.google.common.base.CharMatcher.is; import static com.google.common.base.CharMatcher.isNot; import static com.google.common.base.CharMatcher.noneOf; import static com.google.common.base.CharMatcher.whitespace; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.Sets;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
for (i in 0 until 16) { if (prefix.exhausted()) { break } val codePoint = prefix.readUtf8CodePoint() if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) { return false } } return true } catch (_: EOFException) { return false // Truncated UTF-8 sequence. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
.inOrder(); } public void testCharacterSplitWithMatcherDelimiter() { Iterable<String> testCharacteringMotto = Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks"); assertThat(testCharacteringMotto) .containsExactly("Testing", "rocks", "Debugging", "sucks") .inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertNull(exception.getCause()); } public void test_constructor_withWhitespaceType() { // Test constructor with whitespace in type String type = " Bearer Token "; String message = "Whitespace in token type"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertEquals(" Bearer Token ", exception.getType());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0)