- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for testKey1 (0.06 sec)
-
cmd/xl-storage-format_test.go
} xlMeta.Stat = StatInfo{ Size: int64(20), ModTime: UTCNow(), } // Set meta data. xlMeta.Meta = make(map[string]string) xlMeta.Meta["testKey1"] = "val1" xlMeta.Meta["testKey2"] = "val2" return xlMeta } func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) { checksum, err := hex.DecodeString(hash) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey); } } // Test caching mechanism public void test_get_caching() { // Get property twice to test caching behavior String testKey = "domain.title"; String value1 = fessConfig.get(testKey); String value2 = fessConfig.get(testKey); // Values should be the same
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
*/ public class SecureKeyManagerTest { private SecureKeyManager keyManager; private byte[] testKey; @BeforeEach public void setUp() { keyManager = new SecureKeyManager(); testKey = new byte[16]; new SecureRandom().nextBytes(testKey); } @AfterEach public void tearDown() { if (keyManager != null) { keyManager.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
public void test_append_nullValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> null; monitorTarget.append(buf, "testKey", supplier); assertEquals("\"testKey\":null", buf.toString()); } // Test append method with Integer value public void test_append_integerValue() { StringBuilder buf = new StringBuilder();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
public void test_setObject_noRequest() { // Test setObject when no HTTP request is available // This should not throw exception, just do nothing try { WebApiUtil.setObject("testKey", "testValue"); } catch (Exception e) { fail("setObject should handle missing request gracefully: " + e.getMessage()); } } public void test_setObject_withNullName() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When byte[] derivedKey = Smb3KeyDerivation.deriveSigningKey(dialect, testKey, preauthIntegrity); // Then assertNotNull(derivedKey, "Should handle " + size + "-byte session key");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] testKey = new byte[16]; new SecureRandom().nextBytes(testKey); // When - Create context with SecureKeyManager using same key for both operations Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testKey, testKey, keyManager);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import org.junit.jupiter.api.Test; class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = "thisisalongtestkeythatislongerthan64bytesandshouldbetruncated".getBytes(); private static final byte[] SHORT_TEST_KEY = "short".getBytes();
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/org/codelibs/fess/exec/CrawlerTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0)