Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for Training (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

     *
     */
    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		{
    			path:   "/bucket/object/1/",
    			bucket: "bucket",
    			object: "object/1/",
    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    			bucket: "bucket",
    			object: "object/1///",
    		},
    		// Test case 6 object has only trailing separators.
    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                // Test UNC path conversion
                assertEquals("\\\\server\\share\\file.txt", new SmbFile("smb1://server/share/file.txt").getUncPath());
                // For share URLs with trailing slash, the UNC path includes the trailing slash
                assertEquals("\\\\server\\share\\", new SmbFile("smb1://server/share/").getUncPath());
                assertEquals("\\\\server", new SmbFile("smb1://server/").getUncPath());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/PathValidator.java

                }
    
                // Check for trailing spaces or periods (Windows doesn't handle well)
                if (component.endsWith(" ") || component.endsWith(".")) {
                    throw new SmbException("Path component has trailing space or period: " + component);
                }
            }
        }
    
        /**
         * Validate host name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbException.java

         * @param value the context value
         * @return this exception for chaining
         */
        public SmbException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbOperationException.java

         * @return this exception for chaining
         */
        public SmbOperationException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Add multiple context values
         *
         * @param contextMap the context map to add
         * @return this exception for chaining
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top