Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,100 for correctly (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

        private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>();
    
        /**
         * @deprecated we want to use the artifact method only, and ensure artifact.file is set
         *             correctly.
         */
        @Deprecated
        @Override
        public void deploy(
                String basedir,
                String finalName,
                Artifact artifact,
                ArtifactRepository deploymentRepository,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertEquals("NODE_AVAILABLE", WitnessEventType.NODE_AVAILABLE.toString());
        }
    
        @Test
        void testEnumValueOf() {
            // Test that valueOf works correctly
            assertEquals(WitnessServiceType.CLUSTER_WITNESS, WitnessServiceType.valueOf("CLUSTER_WITNESS"));
            assertEquals(WitnessServiceType.FILE_SERVER_WITNESS, WitnessServiceType.valueOf("FILE_SERVER_WITNESS"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. cmd/api-utils.go

    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverterTest.java

            List<String> results = converter.convert("ツェ", null);
            assertTrue(results.contains("tse"));
        }
    
        public void test_convertFyu_BugFix() {
            // Test that フュ correctly maps to "fyu" only (not "hyu")
            List<String> results = converter.convert("フュ", null);
            assertTrue(results.contains("fyu"));
            assertFalse("Should not contain 'hyu' (that's for ヒュ)", results.contains("hyu"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should handle different buffer positions correctly")
            void testReadBytesWireFormatDifferentPositions() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
    
                // Test at different positions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertTrue(fesenClient.onConnectListenerList instanceof java.util.concurrent.CopyOnWriteArrayList);
        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8));
        }
    
        @Test
        @DisplayName("Should handle special byte values correctly")
        void testSpecialByteValues() {
            // Test boundary values
            byte[] data = { (byte) 0x00, // min value
                    (byte) 0xFF, // max value (-1 as signed byte)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
            assertTrue(result.endsWith("]"), "String should end with a closing bracket.");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/DoubleUtils.java

         * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
         * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to
         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            }
            assertEquals(expected, ex.getNtStatus(), "Status should match mapping or fallback");
        }
    
        /**
         * Verify that root causes are stored and returned correctly.
         */
        @Test
        @DisplayName("Root cause propagation")
        void testRootCausePropagation() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException(0, root);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top