Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 270 for substring (0.04 sec)

  1. android/guava/src/com/google/common/net/MediaType.java

          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
          String token = consumeTokenIfPresent(matcher);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    .stream()
                    .filter(key -> key.endsWith(".overwrite")) //
                    .collect(Collectors.toList())
                    .forEach(key -> {
                        final String baseKey = key.substring(0, key.length() - ".overwrite".length());
                        final Object value = dataMap.remove(key);
                        dataMap.put(baseKey, value);
                    });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        void testServerInfo1GetTypeVariousTypes(String typeHex, int expectedType) throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = (int) Long.parseLong(typeHex.substring(2), 16);
            assertEquals(expectedType, server.getType());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getName")
        void testServerInfo1GetName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                                if (isPrefix || "xmlns".equals(aname)) {
                                    final int index = aname.indexOf(':');
                                    final String p = isPrefix ? aname.substring(index + 1) : StringUtil.EMPTY;
                                    if (p.equals(prefix)) {
                                        namespace = attr.getNodeValue();
                                        break;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         */
        protected String getImageFilename(final String docid) {
            final StringBuilder buf = new StringBuilder(50);
            for (int i = 0; i < docid.length(); i += splitSize) {
                int hash = docid.substring(i).hashCode() % splitHashSize;
                if (hash < 0) {
                    hash *= -1;
                }
                buf.append('_').append(Integer.toString(hash)).append('/');
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                        destPath = destPath.substring(1);
                    }
    
                    // Open the source file for renaming
                    // Use share-relative path for consistency with destination path handling
                    String sourcePath = getUncPath();
                    if (sourcePath.startsWith("\\")) {
                        sourcePath = sourcePath.substring(1);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ListsTest.java

      private static final class RemoveFirstFunction implements Function<String, String>, Serializable {
        @Override
        public String apply(String from) {
          return (from.length() == 0) ? from : from.substring(1);
        }
      }
    
      private static class SomeIterable implements Iterable<Integer>, Serializable {
        @Override
        public Iterator<Integer> iterator() {
          return SOME_COLLECTION.iterator();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

        }
    
        @Override
        public ImmutableList<Character> subList(int fromIndex, int toIndex) {
          checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
          return charactersOf(string.substring(fromIndex, toIndex));
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        @Override
        public Character get(int index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             toMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1),
       *                  MultimapBuilder.treeKeys().arrayListValues()::build));
       *
       * // is equivalent to
       *
       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
       *
       * static {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimaps.java

       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(
       *             toMultimap(
       *                  str -> str.charAt(0),
       *                  str -> str.substring(1),
       *                  MultimapBuilder.treeKeys().arrayListValues()::build));
       *
       * // is equivalent to
       *
       * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP;
       *
       * static {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
Back to top