- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for dec_time (0.13 sec)
-
src/main/java/jcifs/util/Encdec.java
default: throw new IllegalArgumentException("Unsupported time encoding"); } } /* * Decode times */ public static Date dec_time ( byte[] src, int si, int enc ) { long t; switch ( enc ) { case TIME_1970_SEC_32BE: return new Date(dec_uint32be(src, si) * 1000L); case TIME_1970_SEC_32LE:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
default: throw new IllegalArgumentException( "Unsupported time encoding" ); } } /* Decode times */ public static Date dec_time( byte[] src, int si, int enc ) { long t; switch( enc ) { case TIME_1970_SEC_32BE: return new Date( dec_uint32be( src, si ) * 1000L );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 10.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
return Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header) } override fun fromDer(reader: DerReader): Long { val peekHeader = reader.peekHeader() ?: throw ProtocolException("expected time but was exhausted at $reader") return when { peekHeader.tagClass == Adapters.UTC_TIME.tagClass &&
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
}, ) /** * A timestamp like "191216030210Z" or "191215190210-0800" for 2019-12-15T19:02:10-08:00. The * cutoff of the 2-digit year is 1950-01-01T00:00:00Z. */ val UTC_TIME = BasicDerAdapter( name = "UTC TIME", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 23L, codec = object : BasicDerAdapter.Codec<Long> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.UTC_TIME.toDer(utcTime)).isEqualTo(bytes) assertThat(Adapters.UTC_TIME.fromDer(bytes)).isEqualTo(utcTime) } @Test fun `cannot decode malformed utc time`() { val bytes = "170d3139313231362333303231305a".decodeHex() assertFailsWith<ProtocolException> { Adapters.UTC_TIME.fromDer(bytes) }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/config/openapi/openapi-user.yaml
type: string example: Fess query_id: type: string example: bd60f9579a494dfd8c03db7c8aa905b0 exec_time: type: number example: 0.21 query_time: type: integer format: int64 example: 0
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu May 09 06:31:27 UTC 2024 - 21.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
.fromDer(certificateByteString) assertThat(okHttpCertificate.tbsCertificate.subjectPublicKeyInfo.subjectPublicKey) .isEqualTo(BitString(publicKeyBytes, 0)) } @Test fun `time before 2050 uses UTC_TIME`() { val utcTimeDer = "170d3439313233313233353935395a".decodeHex() val decoded = CertificateAdapters.time.fromDer(utcTimeDer) val encoded = CertificateAdapters.time.toDer(decoded)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0)