Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 841 for pentru (0.04 sec)

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

        @DisplayName("With filter: only accepted entries are returned and filter is invoked per entry")
        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("keep1", SmbConstants.TYPE_SHARE), entry("skip1", SmbConstants.TYPE_SHARE),
                    entry("keep2", SmbConstants.TYPE_SHARE));
    
            // Filter accepts names starting with "keep"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertNotNull(key);
            LeaseEntry entry = leaseManager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            assertEquals(path, entry.getPath());
            assertEquals(1, entry.getEpoch());
            assertFalse(entry.isBreaking());
        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

            Entry<?> entry = (Entry<?>) o;
            if (entry.getCount() <= 0) {
              return false;
            }
            int count = count(entry.getElement());
            return count == entry.getCount();
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return ImmutableMultiset.this.hashCode();
        }
    
        @GwtIncompatible
        @J2ktIncompatible
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

                entry.updateState(newState);
                // Flush any cached data if losing write cache
                if (!entry.hasWriteCache()) {
                    flushCachedWrites(entry.path);
                }
                // Invalidate cached data if losing read cache
                if (!entry.hasReadCache()) {
                    invalidateReadCache(entry.path);
                }
                entry.breaking = false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return new StandardImplForwardingNavigableMap<>(map);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          if (o instanceof Map.Entry) {
            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
            return multimap().remove(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public void clear() {
          multimap().clear();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        public boolean remove(@Nullable Object o) {
          if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
          return false;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top