- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 278 for Parse (0.03 sec)
-
internal/amztime/parse.go
for _, dateFormat := range httpTimeFormats { t, err := time.Parse(dateFormat, timeStr) if err == nil { return t, nil } } return time.Time{}, ErrMalformedDate } // ParseReplicationTS parse http.TimeFormat first // will try time.RFC3339Nano when parse http.TimeFormat failed func ParseReplicationTS(str string) (time.Time, error) { tm, err := time.Parse(http.TimeFormat, str) if tm.IsZero() || err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/config/lambda/parse.go
Aditya Manthramurthy <******@****.***> 1716591923 -0700
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
parameters = ""; parameterMap = ParameterUtil.parse(parameters); assertEquals(0, parameterMap.size()); parameters = "domain"; parameterMap = ParameterUtil.parse(parameters); assertEquals(1, parameterMap.size()); assertEquals("", parameterMap.get("domain")); parameters = "domain="; parameterMap = ParameterUtil.parse(parameters); assertEquals(1, parameterMap.size());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
then: format(link) == '<someLinkElement/>' _ * nameResolver.resolve('someName', classMetaData) >> 'org.gradle.SomeClass' _ * linkRenderer.link({it.name == 'org.gradle.SomeClass'}, listener) >> parse('<someLinkElement/>') } def convertsFullyQualifiedClassNameToLink() { when: def link = converter.resolve('org.gradle.SomeClass', classMetaData, listener) then:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
} public void test_parse() { PrunedTag[] tags = PrunedTag.parse(""); assertEquals(0, tags.length); tags = PrunedTag.parse("a"); assertEquals(1, tags.length); assertEquals("PrunedTag [tag=a, id=null, css=null, attrName=null, attrValue=null]", tags[0].toString()); tags = PrunedTag.parse("a#test"); assertEquals(1, tags.length);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0)