- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for 1970 (0.52 sec)
-
src/main/java/jcifs/smb1/util/Encdec.java
import java.util.Date; import java.io.IOException; public class Encdec { public static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; public static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L; public static final int TIME_1970_SEC_32BE = 1; public static final int TIME_1970_SEC_32LE = 2; public static final int TIME_1904_SEC_32BE = 3; public static final int TIME_1904_SEC_32LE = 4;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
case TIME_1601_NANOS_64BE: t = dec_uint64be(src, si); return new Date(t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601); case TIME_1601_NANOS_64LE: t = dec_uint64le(src, si); return new Date(t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601); case TIME_1970_MILLIS_64BE: return new Date(dec_uint64be(src, si));
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* * @param createTime * the create time as milliseconds since Jan 1, 1970 * @param lastModified * the last modified time as milliseconds since Jan 1, 1970 * @param lastAccess * the last access time as milliseconds since Jan 1, 1970 * @throws CIFSException * @throws jcifs.smb.SmbUnsupportedOperationException
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
long t = ( (long) hi << 32L ) | ( low & 0xFFFFFFFFL ); t = ( t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ); return t; } public static void writeTime ( long t, byte[] dst, int dstIndex ) { if ( t != 0L ) { t = ( t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000L; } writeInt8(t, dst, dstIndex); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
.expiresAt(date("1970-01-01T00:00:01.000+0000").time) .build() assertThat(cookie.toString()).isEqualTo("a=b; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/") } @Test fun builderClampsMinDate() { val cookie = Cookie.Builder() .name("a") .value("b") .hostOnlyDomain("example.com") .expiresAt(date("1970-01-01T00:00:00.000+0000").time)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* (i.e. seconds since Epoch 1970). Times should be the same as those * reported using the properties dialog of the Windows Explorer program. * * For Win95/98/Me this is actually the last write time. It is currently * not possible to retrieve the create time from files on these systems. * * @return The number of milliseconds since the 00:00:00 GMT, January 1, * 1970 as a <code>long</code> value */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
tests/soft_delete_test.go
} } func TestSoftDeleteZeroValue(t *testing.T) { type SoftDeleteBook struct { ID uint Name string Pages uint DeletedAt gorm.DeletedAt `gorm:"zeroValue:'1970-01-01 00:00:01'"` } DB.Migrator().DropTable(&SoftDeleteBook{}) if err := DB.AutoMigrate(&SoftDeleteBook{}); err != nil { t.Fatalf("failed to auto migrate soft delete table") }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L)); completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601)); date = new Date(completeBigInt.longValue()); } return date; } public PacUnicodeString readUnicodeString () throws IOException, PACDecodingException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jul 21 21:19:58 GMT 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
import jcifs.smb1.util.RC4; import java.security.GeneralSecurityException; /** * Represents an NTLMSSP Type-3 message. */ public class Type3Message extends NtlmMessage { static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; private static final int DEFAULT_FLAGS; private static final String DEFAULT_DOMAIN; private static final String DEFAULT_USER;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 21K bytes - Viewed (0)