Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 2,100 for instanceof (0.06 seconds)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            executor.shutdown();
    
            // Then - No ConcurrentModificationException
            for (Exception e : exceptions) {
                assertFalse(e instanceof java.util.ConcurrentModificationException, "Should not have ConcurrentModificationException");
            }
    
            assertTrue(successCount.get() > 0, "Operations should succeed");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/ElementOrder.java

        this.comparator = comparator;
        checkState((type == Type.SORTED) == (comparator != null));
      }
    
      /** Returns an instance which specifies that no ordering is guaranteed. */
      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/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)
  4. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        public int hashCode() {
          onHashCode.run();
          return delegateString.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          onEquals.run();
          return other instanceof CountsHashCodeAndEquals
              && delegateString.equals(((CountsHashCodeAndEquals) other).delegateString);
        }
    
        @Override
        public int compareTo(CountsHashCodeAndEquals o) {
          onCompareTo.run();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  5. 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. guava/src/com/google/common/collect/RegularContiguousSet.java

            range.upperBound.withUpperBoundType(upperBoundType, domain));
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (obj == null) {
                return null;
            }
    
            List<String> anchorList;
            if (obj instanceof final String s) {
                anchorList = List.of(s);
            } else if (obj instanceof final List<?> l) {
                anchorList = l.stream().filter(item -> item != null).map(String::valueOf).toList();
            } else {
                return null;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  8. docs/smb3-features/01-smb3-lease-design.md

            this.key = Arrays.copyOf(key, 16);
        }
        
        public byte[] getKey() {
            return Arrays.copyOf(key, 16);
        }
        
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof Smb2LeaseKey) {
                return Arrays.equals(key, ((Smb2LeaseKey)obj).key);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return Arrays.hashCode(key);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if (this.andx instanceof AndXServerMessageBlock) {
    
                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/StandardValueGraph.java

        this.nodeOrder = builder.nodeOrder.cast();
        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
            (nodeConnections instanceof TreeMap)
                ? new MapRetrievalCache<>(nodeConnections)
                : new MapIteratorCache<>(nodeConnections);
        this.edgeCount = checkNonNegative(edgeCount);
      }
    
      @Override
      public Set<N> nodes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top