- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,132 for Expected (0.13 sec)
-
guava/src/com/google/common/collect/EnumMultiset.java
* either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) { throw new ClassCastException("Expected an " + type + " but got " + element); } } @Override int distinctElements() { return distinctElements; } @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/bitrot.go
if left != bitrotShardFileSize(partSize, shardSize, algo) { return errFileCorrupt } bufp := xioutil.ODirectPoolSmall.Get() defer xioutil.ODirectPoolSmall.Put(bufp) for left > 0 { // Read expected hash... h.Reset() n, err := io.ReadFull(r, hashBuf) if err != nil { // Read's failed for object with right size, file is corrupt. return err } // Subtract hash length.. left -= int64(n)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
generator.saveImage(input, outputFile); } assertImageSize(outputFile, 100, 100); } catch (IllegalStateException e) { // Expected when container is not initialized if (e.getMessage().contains("Not initialized")) { // Skip test when container is not available return; } throw e;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java
// ============ /** * Verifies that the CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
} pList.Firstpc, ok = parser.Parse() if !ok || failed { t.Errorf("asm: %s assembly failed", goarch) return } output := strings.Split(testOut.String(), "\n") // Reconstruct expected output by independently "parsing" the input. data, err := os.ReadFile(input) if err != nil { t.Error(err) return } lineno := 0 seq := 0 hexByLine := map[string]string{}
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Mar 26 01:02:50 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
indexUpdater.finishCrawling = true; indexUpdater.destroy(); // finishCrawling should be set when max empty list count is exceeded // In test environment this may not work as expected // assertTrue(indexUpdater.finishCrawling); } // Test addFinishedSessionId public void test_addFinishedSessionId() { final String sessionId = "session123";Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// Pending status is informational (not error) assertTrue((pendingStatus & (int) 0xC0000000L) != (int) 0xC0000000L); } @Test @DisplayName("Should define all expected constants") void testAllExpectedConstants() { // Verify important constants exist assertTrue(NtStatus.NT_STATUS_SUCCESS == 0x00000000); assertTrue(NtStatus.NT_STATUS_ACCESS_DENIED != 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
try { queryFieldConfig.isApiResponseField("field1"); fail("Should throw NullPointerException"); } catch (NullPointerException e) { // Expected } } public void test_getResponseFields() { String[] fields = { "field1", "field2", "field3" }; queryFieldConfig.setResponseFields(fields);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes); assertTrue("ByteBuffers should be equal.", expected.equals(actual)); } public void testMap_noSuchFile() throws IOException { // Setup File file = createTempFile(); boolean deleted = file.delete();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* or method references instead of classes, leaving your code easier to migrate in the future. * * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 3K bytes - Viewed (0)