- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 253 for getIdx (0.49 sec)
-
cmd/xl-storage-free-version.go
if version.header.VersionID != uv || version.header.Type != ObjectType { continue } // if uv has tiered content we add a // free-version to track it for asynchronous // deletion via scanner. ver, err := x.getIdx(i) if err != nil { return err } if freeVersion, toFree := ver.ObjectV2.InitFreeVersion(fi); toFree { return x.addVersion(freeVersion) } return nil } return nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 3.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
continue } ver, err := x.getIdx(i) if err != nil { return "", err } switch { case fi.ExpireRestored: ver.ObjectV2.RemoveRestoreHdrs() err = x.setIdx(i, *ver) case fi.TransitionStatus == lifecycle.TransitionComplete: ver.ObjectV2.SetTransition(fi) ver.ObjectV2.ResetInlineData() err = x.setIdx(i, *ver) default:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
cmd/xl-storage-format-v2_test.go
return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime }) { t.Errorf("Contents not sorted") } for i := range xl.versions { hdr := xl.versions[i].header ver, err := xl.getIdx(i) if err != nil { t.Error(err) continue } gotHdr := ver.header() if hdr != gotHdr { t.Errorf("Header does not match, index: %+v != meta: %+v", hdr, gotHdr) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
void testHashVariousInputSizes(String input) { // Given byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); MessageDigest md5 = Crypto.getMD5(); byte[] md4Hash = md4.digest(data); byte[] md5Hash = md5.digest(data); // Then assertNotNull(md4Hash); assertNotNull(md5Hash);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} @Override protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getJdk() != null && !profile.getActivation().getJdk().isEmpty(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk()); org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty(); if (profileProp != null) { ActivationProperty prop = new ActivationProperty(); prop.setName(profileProp.getName());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
*/ public static MessageDigest getMD4() { try { return MessageDigest.getInstance("MD4", getProvider()); } catch (final NoSuchAlgorithmException e) { throw new CIFSUnsupportedCryptoException(e); } } /** * Get an MD5 message digest instance. * @return MD5 digest instance */ public static MessageDigest getMD5() { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
public static byte[] getNTHash(final String password) { if (password == null) { throw new NullPointerException("Password parameter is required"); } final MessageDigest md4 = Crypto.getMD4(); md4.update(Strings.getUNIBytes(password)); return md4.digest(); } /** * Generates the NT password hash for the given password.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
@Mock private MessageDigest mockMd5; @BeforeEach void setUp() throws NoSuchAlgorithmException { // Mock Crypto.getMD5() to return our mockMd5 instance // This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it. // If it's not static, we'd need to inject it or mock the class that provides it.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor."); assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor."); } /** * Test method for {@link jcifs.pac.PacGroup#getId()}. */ @Test void testGetId() { // Test the getId method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0)