Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 266 for Trailing (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Execute
            corsHandlerFactory.add(originWithSlash, handlerWithSlash);
            corsHandlerFactory.add(originWithoutSlash, handlerWithoutSlash);
    
            // Verify - trailing slash matters
            assertEquals(handlerWithSlash, corsHandlerFactory.get(originWithSlash));
            assertEquals(handlerWithoutSlash, corsHandlerFactory.get(originWithoutSlash));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <code>SmbFile</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbFile</code>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
         *         resource or <code>smb://</code> if the resource is <code>smb://</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/io/Resources.java

        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
       * include other leading and trailing whitespace.
       *
       * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code
       * Resources.asCharSource(url, charset).readLines()}.
       *
       * @param url the URL to read from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top