Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 342 for startswith (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Checking path: {} against entry: {}", path, entry.getKey());
                }
                if (path.startsWith(entry.getKey())) {
                    return entry.getValue();
                }
            }
            return null;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkTester.java

          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        }
      }
    
      @JvmStatic
      fun assumeNotWindows() {
        assumeFalse(windows, "This test fails on Windows.")
      }
    
      @JvmStatic
      val windows: Boolean
        get() = System.getProperty("os.name", "?").startsWith("Windows")
    
      /**
       * Make assertions about the suppressed exceptions on this. Prefer this over making direct calls
       * so tests pass on GraalVM, where suppressed exceptions are silently discarded.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

         */
        @Test
        public void testToString() {
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SmbComQueryInformationResponse["));
            assertTrue(result.contains("fileAttributes=0x0000"));
            assertTrue(result.contains("lastWriteTime=" + new Date(0L)));
            assertTrue(result.contains("fileSize=0"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        public void test_private_methods_are_private() throws Exception {
            Method[] methods = SystemMonitorTarget.class.getDeclaredMethods();
    
            for (Method method : methods) {
                if (method.getName().startsWith("append") && !method.getName().equals("append")) {
                    assertTrue("Private append methods should be private: " + method.getName(),
                            java.lang.reflect.Modifier.isPrivate(method.getModifiers()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         * @return the decoded hash string, or the original hash if decoding fails
         */
        public String decodeSimilarDocHash(final String hash) {
            if (hash != null && hash.startsWith(SIMILAR_DOC_HASH_PREFIX) && hash.length() > SIMILAR_DOC_HASH_PREFIX.length()) {
                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         * </pre></blockquote>
         */
    
        public static void registerSmbURLHandler() {
            String ver, pkgs;
    
            ver = System.getProperty("java.version");
            if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) {
                throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver);
            }
            pkgs = System.getProperty("java.protocol.handler.pkgs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        public void test_errorCodeGeneration() {
            long timestamp = System.currentTimeMillis();
            String errorCode = "error_code:" + Long.toHexString(timestamp);
    
            assertTrue(errorCode.startsWith("error_code:"));
            assertTrue(errorCode.length() > 11); // "error_code:" is 11 chars
        }
    
        // Test with different exception types
        public void test_exceptionTypes() {
            // Test RuntimeException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.startsWith
    import kotlin.test.assertFailsWith
    import kotlin.test.fail
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    import okio.ByteString
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
            final String template = replacement.substring(GROOVY_MATCHER.length());
            return (u, m) -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top