Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 249 for SUBSTRING (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. 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;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. 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);
                    });
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          if (path == null || !path.startsWith("/")) {
            val encodedPath = url.encodedPath
            val lastSlash = encodedPath.lastIndexOf('/')
            path = if (lastSlash != 0) encodedPath.substring(0, lastSlash) else "/"
          }
    
          return Cookie(
            cookieName,
            cookieValue,
            expiresAt,
            domain,
            path,
            secureOnly,
            httpOnly,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  7. 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('/');
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Collector<String, ?, ImmutableListMultimap<Character, Character>> collector =
            flatteningToImmutableListMultimap(
                str -> str.charAt(0), str -> Chars.asList(str.substring(1).toCharArray()).stream());
        BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence =
            Equivalence.equals()
                .onResultOf((Multimap<?, ?> mm) -> ImmutableList.copyOf(mm.asMap().entrySet()))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                // Check if version is a property reference
                if (currentVersion.startsWith("${") && currentVersion.endsWith("}")) {
                    isProperty = true;
                    propertyName = currentVersion.substring(2, currentVersion.length() - 1);
                }
            } else {
                // Plugin version might be inherited from parent or pluginManagement
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  10. 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);
                    }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top