Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 2,123 for instanceof (0.11 seconds)

  1. 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)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertTrue(n > 0);
            // Note: In actual implementation, uid is NOT propagated for non-AndX SMBs
            // uid is only set for AndXServerMessageBlock instances (line 167 in AndXServerMessageBlock.java)
            // Only useUnicode is set before the instanceof check (line 149)
            assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                    return lifecycleBindingsInjector;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultModelBuilderRequest that
                            && locationTracking == that.locationTracking
                            && recursive == that.recursive
                            && requestType == that.requestType
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

                } catch (Exception e) {
                    long responseTime = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime);
                    onFailure(e, responseTime);
                    if (e instanceof CIFSException) {
                        throw (CIFSException) e;
                    }
                    throw new CIFSException("Circuit breaker operation failed", e);
                }
            } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Given
            SmbComTreeDisconnect instance1 = new SmbComTreeDisconnect(config);
            SmbComTreeDisconnect instance2 = new SmbComTreeDisconnect(mockConfig);
    
            // Then
            assertNotSame(instance1, instance2);
            assertEquals(instance1.getCommand(), instance2.getCommand());
            assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                return (T) BooleanConversionUtil.toBoolean(arg);
            } else if (arg != null && arg.getClass() != String.class && String.class == propertyType) {
                return (T) arg.toString();
            } else if (arg instanceof String && !String.class.equals(propertyType)) {
                return (T) convertWithString(arg);
            } else if (java.util.Calendar.class.isAssignableFrom(propertyType)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/GeneralRange.java

          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof GeneralRange) {
          GeneralRange<?> r = (GeneralRange<?>) obj;
          return comparator.equals(r.comparator)
              && hasLowerBound == r.hasLowerBound
              && hasUpperBound == r.hasUpperBound
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/RequestTest.java

            // Test initResponse
            CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context);
            assertNotNull(testResponse);
            assertTrue(testResponse instanceof TestResponse);
    
            // Test getResponse
            assertNotNull(testRequest.getResponse());
            assertEquals(testResponse, testRequest.getResponse());
    
            // Test ignoreDisconnect
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    final Field protocolTypeField = ClassUtil.getDeclaredField(handlerClazz, "PROTOCOL_TYPE");
                    if (protocolTypeField.get(null) instanceof final String protocolType) {
                        if ("web".equalsIgnoreCase(protocolType)) {
                            addWebProtocol(protocol);
                        } else if ("file".equalsIgnoreCase(protocolType)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
Back to Top