Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,946 for instanceof (0.14 seconds)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            if (!docMap.containsKey(thumbnailFieldName)) {
                return false;
            }
            for (final Map.Entry<String, String> entry : conditionMap.entrySet()) {
                if (docMap.get(entry.getKey()) instanceof final String value && value.matches(entry.getValue())) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("[{}] match {}:{}", entry.getKey(), name, value);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

              /*
               * We avoid reflecting on NullMarked because its @Target(..., MODULE) causes problems
               * under JDK 8.
               */
              if (!(a instanceof NullMarked)
                  && a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
                annotations.add(a);
              }
            }
            annotations = unmodifiableList(annotations);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom")));
                IOException ioe = SmbFileInputStream.seToIoe(se);
                assertTrue(ioe instanceof InterruptedIOException);
                assertTrue(ioe.getMessage().contains("boom"));
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

        //                                                                       =============
        protected void checkEsInvalidAggregation(String name, Object value) {
            if (value == null || (value instanceof String && ((String) value).isEmpty())) {
                String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        waitingThread.start();
        waitingThread.interrupt();
        ExecutionException expected = assertThrows(ExecutionException.class, wasInterrupted::get);
        assertTrue(expected.getCause().toString(), expected.getCause() instanceof InterruptedException);
      }
    
      public void testMakeUninterruptible_timedGetZeroTimeoutAttempted()
          throws TimeoutException, ExecutionException {
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            KeyMatchHelper helper = new KeyMatchHelper();
            assertNotNull(helper);
        }
    
        @Test
        public void test_keyMatchHelper_inheritance() {
            assertTrue(keyMatchHelper instanceof AbstractConfigHelper);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            netdfs.DfsEnumStruct decodedEnumStruct = new netdfs.DfsEnumStruct();
            decodedEnumStruct.decode(src);
    
            assertEquals(enumStruct.level, decodedEnumStruct.level);
            assertTrue(decodedEnumStruct.e instanceof netdfs.DfsEnumArray1);
            netdfs.DfsEnumArray1 decodedArray1 = (netdfs.DfsEnumArray1) decodedEnumStruct.e;
            assertEquals(1, decodedArray1.count);
            assertEquals("struct_path_1", decodedArray1.s[0].entry_path);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * hashes but that it not available with this method.
         */
        @Override
        public boolean equals(final Object obj) {
            if (super.equals(obj)) {
                if (!(obj instanceof final NtlmPasswordAuthentication ntlm)) {
                    return !this.areHashesExternal();
                }
                if (this.areHashesExternal() && ntlm.areHashesExternal()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

                processor.setSearcher(new TestSearcher(1));
                processor.init();
    
                if (processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty()) instanceof QueryResponseList list) {
                    assertEquals(1, list.size());
                    assertEquals(1, list.getAllRecordCount());
                    assertEquals("0", list.get(0).get(ID_FIELD));
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        int dataLength() {
          return data.length();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof LockFreeBitArray) {
            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top