Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 636 for incorrect (0.51 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

                // Expected exception
                assertEquals("Parse error", e.getMessage());
            }
        }
    
        public void test_childUrlsExceptionMessage() {
            // Test that ChildUrlsException contains correct message
            ResponseData responseData = new ResponseData();
            byte[] content = "<sitemap></sitemap>".getBytes();
            responseData.setResponseBody(content);
    
            SitemapUrl sitemap = new SitemapUrl();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedLong.java

        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
        return (double) ((value >>> 1) | (value & 1)) * 2.0;
      }
    
      /** Returns the value of this {@code UnsignedLong} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            setErrorCode(response, 0);
    
            int bytesRead = response.readDataWireFormat(fullBuffer, startIndex, buffer.length);
    
            // Verify the method returns the correct number of bytes read
            assertTrue(bytesRead > 0);
            assertTrue(bytesRead <= buffer.length);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HMACT64Test.java

            byte[] buffer = new byte[32];
            int bytesWritten = hmac.engineDigest(buffer, 5, 16);
    
            assertEquals(16, bytesWritten);
            // Check that bytes were written to the correct position
            byte[] extractedResult = Arrays.copyOfRange(buffer, 5, 21);
            assertEquals(16, extractedResult.length);
        }
    
        @Test
        void testEngineDigestWithInsufficientBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Comparator<byte[]> comparator2 = UnsignedBytes.lexicographicalComparatorJavaImpl();
    
        /*
         * These arrays are set up to test that the comparator compares bytes within a word in the
         * correct order—in order words, that it doesn't mix up big-endian and little-endian. The first
         * array has a smaller element at one index, and then the second array has a smaller element at
         * the next.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  7. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertNull(context.getSalt());
            }
        }
    
        @Nested
        @DisplayName("Context Type Tests")
        class ContextTypeTests {
    
            @Test
            @DisplayName("Should return correct context type")
            void testGetContextType() {
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            Future<?> possiblyIgnoredError = executor.submit(task);
          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(e, obj + " must not be Object#equals to null");
          return;
        }
        fail("Should get equal to null error");
      }
    
      /** Test proper handling where an object incorrectly tests for an incompatible class */
      public void testInvalidEqualsIncompatibleClass() {
        Object obj = new InvalidEqualsIncompatibleClassObject();
        equalsTester.addEqualityGroup(obj);
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.getMessage().contains("DISK_FULL"));
            assertTrue(exception.getMessage().contains("Disk full"));
        }
    
        @Test
        @DisplayName("Should have correct retryable flags for error codes")
        void testErrorCodeRetryableFlags() {
            // Retryable errors
            assertTrue(SmbOperationException.ErrorCode.CONNECTION_FAILED.isRetryable());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top