Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4721 - 4730 of 4,820 for if (0.06 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(1024L * 1024L, 512L * 1024L);
                long requiredSpace = 256L * 1024L;
    
                // When - check if enough space available
                boolean hasEnoughSpace = allocInfo.getFree() >= requiredSpace;
    
                // Then
                assertTrue(hasEnoughSpace);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

            // Only compare the sign of the result of compare().
            int expected = Short.compare(x, y);
            int actual = Shorts.compare(x, y);
            if (expected == 0) {
              assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected);
            } else if (expected < 0) {
              assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")")
                  .that(actual < 0)
                  .isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            int pathStart = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            for (int i = 0; i < testPath.length(); i++) {
                char c = testPath.charAt(i);
                if (c < 128) { // ASCII character
                    assertEquals(c, buffer[pathStart + i * 2]);
                    assertEquals(0, buffer[pathStart + i * 2 + 1]);
                }
            }
        }
    
        @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)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        public static class EngineObj {
            /**
             * Default constructor.
             */
            public EngineObj() {
                // Default constructor
            }
    
            /** Exception message if any error occurred */
            public String exception;
            /** Cluster health status */
            public String status;
            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

                public CIFSContext getContext() {
                    return mock(CIFSContext.class);
                }
    
                @Override
                public <T extends SmbTransport> T unwrap(Class<T> type) {
                    if (type.isInstance(this)) {
                        return type.cast(this);
                    }
                    throw new ClassCastException("Cannot unwrap to " + type.getName());
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/resources/fess_message.properties

    errors.design_editor_disabled = This feature is disabled.
    errors.not_found_on_file_system = Not found. Cause: {0}
    errors.could_not_open_on_system = Could not open {0}.<br>Please check if the file is associated with an application.
    errors.result_size_exceeded = No more results can be displayed.
    errors.target_file_does_not_exist = The file {0} does not exist.
    errors.failed_to_delete_file = Failed to delete the file {0}.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/main/resources/fess_message_en.properties

    errors.design_editor_disabled = This feature is disabled.
    errors.not_found_on_file_system = Not found. Cause: {0}
    errors.could_not_open_on_system = Could not open {0}.<br>Please check if the file is associated with an application.
    errors.result_size_exceeded = No more results can be displayed.
    errors.target_file_does_not_exist = The file {0} does not exist.
    errors.failed_to_delete_file = Failed to delete the file {0}.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/JoinerTest.java

        StringBuilder sb2 = new StringBuilder().append('x');
        joiner.appendTo(sb2, partsArray);
        assertEquals("x" + expected, sb2.toString());
    
        int num = partsArray.length - 2;
        if (num >= 0) {
          Object[] rest = new Integer[num];
          for (int i = 0; i < num; i++) {
            rest[i] = partsArray[i + 2];
          }
    
          assertEquals(expected, joiner.join(partsArray[0], partsArray[1], rest));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        @Test
        @DisplayName("Test decode with negative values interpreted as unsigned")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with values that would be negative if signed
            byte[] buffer = new byte[22];
            int idFileSystem = -1; // 0xFFFFFFFF
            int sectPerAlloc = 8;
            int alloc = -100; // Large unsigned value
            int free = -200; // Large unsigned value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

            BaseConfiguration customConfig = new BaseConfiguration(false) {
                @Override
                protected Integer doGetBatchLimit(String cmd) {
                    if ("CustomCommand".equals(cmd)) {
                        return 5;
                    }
                    return null;
                }
            };
    
            assertEquals(5, customConfig.getBatchLimit("CustomCommand"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top