- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 377 for 24 (0.03 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
bb.putShort((short) 2); // rflags bb.putShort((short) 10); // proximity bb.putShort((short) 300); // ttl bb.putShort((short) 20); // pathOffset bb.putShort((short) 24); // altPathOffset bb.putShort((short) 28); // nodeOffset // Add path string at offset 20 (8 + 20 = 28) bb.position(28); bb.put("\\test\0".getBytes(StandardCharsets.UTF_16LE));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
docs/zh/docs/advanced/security/http-basic-auth.md
然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。 {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} 这类似于: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ``` 但使用 `secrets.compare_digest()`,可以防御**时差攻击**,更加安全。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24 + (this.token != null ? this.token.length : 0)); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(cache.asMap().keySet()).containsExactly(2, 4); CacheTesting.processPendingNotifications(cache); assertThat(removalListener.getCount()).isEqualTo(1); // 5 won't be cached, won't dump cache assertThat(cache.getUnchecked(5)).isEqualTo(5); assertThat(cache.asMap().keySet()).containsExactly(2, 4); CacheTesting.processPendingNotifications(cache);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 15.1K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
} return FromInt(dy - 1), nil case timePartMonth: m1 += time.Month(12 * y1) m2 += time.Month(12 * y2) return FromInt(int64(m2 - m1)), nil case timePartDay: return FromInt(int64(duration / (24 * time.Hour))), nil case timePartHour: hours := duration / time.Hour return FromInt(int64(hours)), nil case timePartMinute: minutes := duration / time.Minute return FromInt(int64(minutes)), nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator) byte[] dst = new byte[2 + 4 + filename.length() + 1]; // When int bytesWritten = trans.writeParametersWireFormat(dst, 0); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
cmd/jwt.go
xjwt "github.com/minio/minio/internal/jwt" "github.com/minio/pkg/v3/policy" ) const ( jwtAlgorithm = "Bearer" // Default JWT token for web handlers is one day. defaultJWTExpiry = 24 * time.Hour // Inter-node JWT token expiry is 100 years approx. defaultInterNodeJWTExpiry = 100 * 365 * 24 * time.Hour ) var (
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
final int shortNameLength = buffer[bufferIndex] & 0xFF; bufferIndex += 2; this.shortName = Strings.fromUNIBytes(buffer, bufferIndex, shortNameLength); bufferIndex += 24; String str; if (this.unicode) { if (fileNameLength > 0 && buffer[bufferIndex + fileNameLength - 1] == '\0' && buffer[bufferIndex + fileNameLength - 2] == '\0') {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
cmd/update-notifier_test.go
{1 * time.Hour, "my_download_url", "1 hour before the latest release"}, {61 * time.Minute, "my_download_url", "1 hour before the latest release"}, {122 * time.Minute, "my_download_url", "2 hours before the latest release"}, {24 * time.Hour, "my_download_url", "1 day before the latest release"}, {25 * time.Hour, "my_download_url", "1 day before the latest release"}, {49 * time.Hour, "my_download_url", "2 days before the latest release"},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jul 31 15:36:19 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* SipHash-2-4 algorithm</a> using a seed value of {@code k = 00 01 02 ...}. * * @since 15.0 */ public static HashFunction sipHash24() { return SipHashFunction.SIP_HASH_24; } /** * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit * SipHash-2-4 algorithm</a> using the given seed. * * @since 15.0
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0)