Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,782 for instanceOf (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            SmbClient client = new SmbClient() {
                @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
    
                if ( cb instanceof NameCallback ) {
                    NameCallback nc = (NameCallback) cb;
                    String userDomain = this.getSpecifiedUserDomain();
                    if ( this.getUsername() != null && userDomain != null ) {
                        nc.setName(this.getUsername() + "@" + userDomain);
                    }
                }
                else if ( cb instanceof PasswordCallback ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    logReactorSummary(event.getSession());
                }
    
                ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
    
                if (iLoggerFactory instanceof org.apache.maven.logging.api.LogLevelRecorder recorder
                        && recorder.hasReachedMaxLevel()) {
                    event.getSession()
                            .getResult()
                            .addException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            assertTrue(is instanceof InputStream);
            CloseableUtil.closeQuietly(responseData);
        }
    
        private void assertMatchFalse(ResponseData responseData) {
            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
            assertFalse(sitemapsRule.match(responseData));
            InputStream is = responseData.getResponseBody();
            if (is instanceof TemporaryFileInputStream) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top