- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 446 for Parse (0.02 sec)
-
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) -
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) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
try { // parse(String) Method parseMethod = KuromojiCSVUtil.class.getMethod("parse", String.class); assertTrue("parse should be static", java.lang.reflect.Modifier.isStatic(parseMethod.getModifiers())); assertTrue("parse should be public", java.lang.reflect.Modifier.isPublic(parseMethod.getModifiers()));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(parse("http:\\/host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:/\\host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:\\\\host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:///host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:\\//host/path")) .isEqualTo(parse("http://host/path"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K 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) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
* The query is processed through the filter chain before being parsed. * * @param query the query string to parse * @return the parsed Query object * @throws QueryParseException if the query cannot be parsed */ public Query parse(final String query) { return filterChain.parse(query); } /** * Creates a new Lucene query parser with the current configuration.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K 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) -
tests/table_test.go
} t.Run("default", func(t *testing.T) { db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{}) user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy) if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() if len(constraints) != 1 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertNotNull(parsed.getMechanisms(), "Should parse mechanisms"); assertEquals(NegTokenInit.INTEGRITY, parsed.getContextFlags(), "Should parse flags"); assertArrayEquals(new byte[] { 0x42 }, parsed.getMechanismToken(), "Should parse token"); }); } @Test @DisplayName("Parse rejects unknown nested token field")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K 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)