Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,891 for instanceOf (0.65 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                bytesEncrypted.addAndGet(message.length);
    
                return result;
            } catch (final Exception e) {
                // Clear sensitive data on error
                if (e instanceof CIFSException) {
                    throw (CIFSException) e;
                }
                throw new CIFSException("Failed to encrypt message", e);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

            return bb.array();
        }
        
        @Override
        public String toString() {
            return guid.toString();
        }
        
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof HandleGuid) {
                return guid.equals(((HandleGuid)obj).guid);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    }
    ```
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

      }
    
      /**
       * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array from the
       * beginning.
       */
      @J2ktIncompatible
      public static ByteArrayDataInput newDataInput(byte[] bytes) {
        return newDataInput(new ByteArrayInputStream(bytes));
      }
    
      /**
       * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array,
       * starting at the given position.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       */
      public static <E> ImmutableSortedMultiset<E> copyOf(
          Comparator<? super E> comparator, Iterable<? extends E> elements) {
        if (elements instanceof ImmutableSortedMultiset) {
          @SuppressWarnings("unchecked") // immutable collections are always safe for covariant casts
          ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) elements;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Streams.java

       * Collection#stream} if possible.
       */
      public static <T extends @Nullable Object> Stream<T> stream(Iterable<T> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<T>) iterable).stream()
            : StreamSupport.stream(iterable.spliterator(), false);
      }
    
      /**
       * Returns {@link Collection#stream}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof NtlmPasswordAuthenticator ntlm) {
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
                String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                K, V, StrongKeyStrongValueEntry<K, V>, StrongKeyStrongValueSegment<K, V>> {
          private static final Helper<?, ?> INSTANCE = new Helper<>();
    
          @SuppressWarnings("unchecked")
          static <K, V> Helper<K, V> instance() {
            return (Helper<K, V>) INSTANCE;
          }
    
          @Override
          public Strength keyStrength() {
            return Strength.STRONG;
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

       * for {@code minimumBits}, will return identically-behaving {@link HashFunction} instances.
       *
       * @param minimumBits a positive integer. This can be arbitrarily large. The returned {@link
       *     HashFunction} instance may use memory proportional to this integer.
       * @return a hash function, described above, that produces hash codes of length {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                hcode += 65599 * sub_authority[i];
            }
            return hcode;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SID sid) {
                if (sid == this) {
                    return true;
                }
                if (sid.sub_authority_count == sub_authority_count) {
                    int i = sub_authority_count;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

        return withParameters(attribute, ImmutableSet.of(value));
      }
    
      /**
       * Returns a new instance with the same type and subtype as this instance, with the {@code
       * charset} parameter set to the {@link Charset#name name} of the given charset. Only one {@code
       * charset} parameter will be present on the new instance regardless of the number set on this
       * one.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top