Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,889 for instanceOf (0.04 sec)

  1. guava/src/com/google/common/hash/Funnels.java

      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

         */
        private ManagedVersionMap getManagedVersionsMap(
                Artifact originatingArtifact, Map<String, Artifact> managedVersions) {
            ManagedVersionMap versionMap;
            if (managedVersions instanceof ManagedVersionMap managedVersionMap) {
                versionMap = managedVersionMap;
            } else {
                versionMap = new ManagedVersionMap(managedVersions);
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            if (!(request instanceof final ServerMessageBlock req)) {
                return;
            }
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
            if (req.isUseUnicode()) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if (req instanceof SmbComTransaction) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
    
            // Then
            assertNotNull(req);
            assertTrue(req instanceof ServerMessageBlock2Request);
            assertTrue(req instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should set notify flags correctly")
        void testSetNotifyFlags() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractTable.java

      abstract Iterator<Table.Cell<R, C, V>> cellIterator();
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          Collection<E> collection) {
        if (collection instanceof NavigableSet) {
          return unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractTable.java

      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            if (resp == null) {
                return null;
            }
            resp.setDigest(getDigest());
            setResponse(resp);
    
            final ServerMessageBlock2 n = getNext();
            if (n instanceof ServerMessageBlock2Request<?>) {
                resp.setNext(((ServerMessageBlock2Request<?>) n).initResponse(tc));
            }
            return resp;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should correctly inherit from ServerMessageBlock2Request")
        void testInheritance() {
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should handle different previous session IDs")
        void testDifferentPreviousSessionIds() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top