- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 2,175 for match (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache.edit(key) }.also { expected -> assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"") } assertFailsWith<IllegalArgumentException> { key = "has_CR\r" cache.edit(key) }.also { expected -> assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"") } assertFailsWith<IllegalArgumentException> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
assertTrue(result.length > 0, "Result should not be empty"); assertEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE).length, result.length, "Length should match UTF-16LE encoding"); assertArrayEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE), result, "Should produce same bytes as UTF-16LE encoding"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) { // Act int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(expectedNtStatus, actual, "Mapping must match table entry"); } @Test @DisplayName("Edge: zero DOS code maps to zero NTSTATUS") void zeroCodeMapsToZero() { // Act int actual = findNtStatusOrMinusOne(0x00000000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/erasure_test.go
t.Errorf("Test %d: failed to write data blocks: %v", i, err) } if !bytes.Equal(decodedData.Bytes(), data) { t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data) } } } } // Setup for erasureCreateFile and erasureReadFile tests. type erasureTestSetup struct { dataBlocks int
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
String name = "immutableParam"; String[] originalValues = { "original1", "original2" }; RequestParameter param = new RequestParameter(name, originalValues); // Get values and verify they match String[] retrievedValues = param.getValues(); assertEquals("original1", retrievedValues[0]); assertEquals("original2", retrievedValues[1]); // Modify retrieved array
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
int decodedBytes = decoded.decode(buffer, 0, buffer.length); assertEquals(8, decodedBytes); // Verify values match assertEquals(original.toString(), decoded.toString()); } } @Test @DisplayName("Test decode with minimum buffer size")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/metacache-set.go
json := jsoniter.ConfigCompatibleWithStandardLibrary i := 0 for { partKey := fmt.Sprintf("%s-metacache-part-%d", ReservedMetadataPrefixLower, i) v, ok := fi.Metadata[partKey] if !ok { o.debugln("no match in metadata, waiting") return -1, io.ErrUnexpectedEOF } err := json.Unmarshal([]byte(v), &tmp) if !ok { bugLogIf(context.Background(), err) return -1, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
* @return The index updater. */ public static IndexUpdater getIndexUpdater() { return getComponent(INDEX_UPDATER); } /** * Gets the key match helper component. * @return The key match helper. */ public static KeyMatchHelper getKeyMatchHelper() { return getComponent(KEY_MATCH_HELPER); } /** * Gets the indexing helper component.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 28.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
int access = accessCaptor.getValue(); boolean hasReadData = (access & SmbConstants.FILE_READ_DATA) != 0; assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead"); } @Test @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds") void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/kms-handlers.go
return } // 3. Compare generated key with decrypted key if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 { response.DecryptionErr = "The generated and the decrypted data key do not match" resp, err := json.Marshal(response) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return } writeSuccessResponseJSON(w, resp)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 10.1K bytes - Viewed (0)