- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 171 for Parse (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt
class WebSocketExtensionsTest { @Test fun emptyHeader() { assertThat(parse("")).isEqualTo(WebSocketExtensions()) } @Test fun noExtensionHeader() { assertThat(WebSocketExtensions.parse(headersOf())) .isEqualTo(WebSocketExtensions()) } @Test fun emptyExtension() { assertThat(parse(", permessage-deflate"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
try { sitemapsHelper.parse(in); fail(); } catch (final CrawlingAccessException e) { // NOP } } public void test_parseXmlSitemaps_invalid2() { final byte[] bytes = "test".getBytes(); final InputStream in = new ByteArrayInputStream(bytes); try { sitemapsHelper.parse(in); fail();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.6K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
*/ @Nonnull Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException; /** * Locate and parse the model in the specified directory. * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}. * * @param dir the directory to locate the pom for, never {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Sep 10 17:18:47 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
@Test fun testIllegalCharsetName() { val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"") assertNull(mediaType.charsetName()) } @Test fun testUnsupportedCharset() { val mediaType = parse("text/plain; charset=utf-wtf") assertNull(mediaType.charsetName()) } @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() { val mediaType = parse("text/plain;charset=\"'utf-8'\"")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
schema/constraint_test.go
Name2 string `gorm:"check:name <> 'jinzhu'"` Name3 string `gorm:"check:,name <> 'jinzhu'"` } func TestParseCheck(t *testing.T) { user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user check, got error %v", err) } results := map[string]schema.CheckConstraint{ "name_checker": { Name: "name_checker", Constraint: "name <> 'jinzhu'",
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java
QueryParser queryParser = new QueryParser(); Query query = queryParser.createDefaultFilterChain().parse("fess"); assertEquals(TermQuery.class, query.getClass()); assertEquals("_default:fess", ((TermQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("title:fess"); assertEquals(TermQuery.class, query.getClass());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun May 18 04:53:52 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"") assertNull(mediaType.charsetName()) } @Test fun testSingleQuotesAreNotSpecial() { val mediaType = parse("text/plain;a=';charset=utf-8;b='") assertEquals("UTF-8", mediaType.charsetName()) } @Test fun testParseWithSpecialCharacters() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* @param stream the input stream to parse * @return the parsed RobotsTxt object, or null if disabled */ public RobotsTxt parse(final InputStream stream) { return parse(stream, Constants.UTF_8); } /** * Parses a robots.txt file from the given input stream using the specified character encoding. * @param stream the input stream to parse * @param charsetName the character encoding to use
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
@Throws(IOException::class) fun parse(statusLine: String): StatusLine { // H T T P / 1 . 1 2 0 0 T e m p o r a r y R e d i r e c t // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 // Parse protocol like "HTTP/1.1" followed by a space. val codeStart: Int val protocol: Protocol
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
} @Test @DisplayName("parse sets mechanismToken and flags parsed") void parseSetsMechanismToken() throws IOException { TestSpnegoToken t = new TestSpnegoToken(); byte[] raw = new byte[] { 5, 6 }; t.parse(raw); assertTrue(t.isParsed(), "parse should mark parsed"); assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0)