Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 268 for SUBSTRING (0.05 seconds)

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

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            int startBracket = transportStr.indexOf('[');
            int endBracket = transportStr.indexOf(',');
            if (startBracket != -1 && endBracket != -1 && endBracket > startBracket) {
                return transportStr.substring(startBracket + 1, endBracket);
            }
            // Fallback: just use address
            return transport.getRemoteAddress().getHostAddress();
        }
    
        /**
         * Get connection key from address and port
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        maskedHeader = "null";
                    } else if (authzHeader.length() <= 10) {
                        maskedHeader = "***";
                    } else {
                        maskedHeader = authzHeader.substring(0, 10) + "***";
                    }
                    final String msg = "Failed to process Authorization Header: " + maskedHeader;
                    if (logger.isDebugEnabled()) {
                        logger.debug(msg);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        void setValuePrefix(int valuePrefix) {
          this.valuePrefix = valuePrefix;
        }
    
        @Override
        public Integer load(String key) {
          wasCalled = true;
          return valuePrefix + parseInt(key.substring(keyPrefix.length()));
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertThat(domain.toString()).isEqualTo(expectedName);
        }
      }
    
      public void testPublicSuffixExclusion() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops());
    
        int nodeStart = graphString.indexOf("nodes:");
        int edgeStart = graphString.indexOf("edges:");
        String nodeString = graphString.substring(nodeStart, edgeStart);
    
        Network<N, EndpointPair<N>> asNetwork = graph.asNetwork();
        // Don't call AbstractNetworkTest.validateNetwork(asNetwork).  Mutual recursion.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          String urlString = finalizerUrl.toString();
          if (!urlString.endsWith(finalizerPath)) {
            throw new IOException("Unsupported path style: " + urlString);
          }
          urlString = urlString.substring(0, urlString.length() - finalizerPath.length());
          return new URL(finalizerUrl, urlString);
        }
    
        /** Creates a class loader with the given base URL as its classpath. */
        URLClassLoader newLoader(URL base) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

        if (name == null) {
          return "";
        }
    
        String fileName = name.toString();
        int dotIndex = fileName.lastIndexOf('.');
        return dotIndex == -1 ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                if (path == null) {
                    return tempDir.getAbsolutePath();
                }
                // Remove leading slash if present
                if (path.startsWith("/")) {
                    path = path.substring(1);
                }
                return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath();
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (username == null) {
                value = StringUtil.EMPTY;
            } else if (maxLength >= 0 && username.length() > maxLength) {
                value = LdapUtil.escapeValue(username.substring(0, maxLength));
            } else {
                value = LdapUtil.escapeValue(username);
            }
            return String.format(getSystemProperty(Constants.LDAP_SECURITY_PRINCIPAL, StringUtil.EMPTY), value);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            @Nullable String chop(String str) {
              if (str.endsWith(suffix)) {
                return str.substring(0, str.length() - suffix.length());
              } else {
                return null;
              }
            }
          };
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top