Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for Draining (0.04 sec)

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

            // Then
            assertNull(result);
            verify(request, times(1)).createCancel();
        }
    
        @Test
        @DisplayName("Test allowChain returns true when chaining is allowed")
        void testAllowChainReturnsTrue() {
            // Given
            when(request.allowChain(nextRequest)).thenReturn(true);
    
            // When
            boolean result = request.allowChain(nextRequest);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FessAppService.java

         * to support prefix and suffix matching in search operations.
         *
         * @param query the query string to wrap with wildcards
         * @return the wrapped query string with leading and trailing asterisks
         */
        protected static String wrapQuery(final String query) {
            final StringBuilder sb = new StringBuilder();
            if (!query.startsWith("*")) {
                sb.append("*");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Test NotifyResponse chaining with multiple responses")
        void testNotifyResponseChaining() {
            MockNotifyResponse response1 = new MockNotifyResponse(Collections.singletonList(mockNotifyInfo1));
            MockNotifyResponse response2 = new MockNotifyResponse(Collections.singletonList(mockNotifyInfo2));
    
            // Setup chaining
            response1.setNextResponse(response2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "", " b", "c").inOrder();
      }
    
      public void testCharacterSplitWithTrailingDelimiter() {
        String trailing = "a,b,c,";
        Iterable<String> letters = COMMA_SPLITTER.split(trailing);
        assertThat(letters).containsExactly("a", "b", "c", "").inOrder();
      }
    
      public void testCharacterSplitWithLeadingDelimiter() {
        String leading = ",a,b,c";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceLocatorTest.java

                    return host + "/"; // mimic the JVM behaviour for root or server
                }
                if (path.endsWith("/")) {
                    return path.substring(0, path.length()); // keep trailing slash
                }
                String[] parts = path.split("/");
                return parts[parts.length - 1];
            }
    
            @Override
            public String getParent() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(innerMessage, exception.getCause().getMessage());
        }
    
        public void test_multiLevelExceptionChaining() {
            // Test multi-level exception chaining
            Exception level1 = new Exception("Level 1");
            RuntimeException level2 = new RuntimeException("Level 2", level1);
            StorageException level3 = new StorageException("Level 3", level2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob numOfThreads(final int numOfThreads) {
            this.numOfThreads = numOfThreads;
            return this;
        }
    
        /**
         * Enables cleanup operations for this job.
         *
         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob cleanup() {
            cleanup = true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

                assertFalse(addresses[i].groupName);
            }
        }
    
        @Test
        void readRDataWireFormat_shouldTrimTrailingSpaces() throws Exception {
            // Test that trailing spaces (0x20) are trimmed from names
            byte[] src = new byte[50];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

        "output": "xn----xhn"
      },
      {
        "input": "-x.xn--zca",
        "output": "-x.xn--zca"
      },
      {
        "input": "-x.ß",
        "output": "-x.xn--zca"
      },
      {
        "comment": "Label with trailing hyphen",
        "input": "x-.xn--zca",
        "output": "x-.xn--zca"
      },
      {
        "input": "x-.ß",
        "output": "x-.xn--zca"
      },
      {
        "comment": "Empty labels",
        "input": "x..xn--zca",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test path with trailing backslash (should be stripped)
            request.setPath("test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
            // Test path with both leading and trailing backslash
            request.setPath("\\test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top