Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 663 for Prevent (0.04 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

          totalSkipped += skipped;
        }
    
        return totalSkipped;
      }
    
      /**
       * Attempts to skip up to {@code n} bytes from the given input stream, but not more than {@code
       * in.available()} bytes. This prevents {@code FileInputStream} from skipping more bytes than
       * actually remain in the file, something that it {@linkplain java.io.FileInputStream#skip(long)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertNotNull(encrypted, "Encrypted message should not be null");
            assertTrue(encrypted.length > plaintext.length, "Encrypted message should be larger than plaintext");
    
            // Verify transform header is present (first 52 bytes)
            assertTrue(encrypted.length >= 52, "Encrypted message should include transform header");
    
            // When - Decrypt
            byte[] decrypted = context.decryptMessage(encrypted);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          }
          return this;
        }
    
        private void dedupAndCoalesceAndDeleteEmpty() {
          dedupAndCoalesce(false);
    
          // If there was a setCount(elem, 0), those elements are still present.  Eliminate them.
          int size = 0;
          for (int i = 0; i < length; i++) {
            if (counts[i] > 0) {
              elements[size] = elements[i];
              counts[size] = counts[i];
              size++;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            } catch (final IOException e) {
                throw new OpenSearchAccessException("Failed to convert " + target + " to JSON.", e);
            }
        }
    
        /**
         * Refreshes the OpenSearch index to make recent changes visible for search.
         *
         * @return The RefreshResponse from OpenSearch.
         * @throws OpenSearchAccessException if the refresh operation fails.
         */
        protected RefreshResponse refresh() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

        }
    
        @Override
        @ParametricNullness
        public V getValue() {
          Map<K, V> delegate = delegateOrNull();
          if (delegate != null) {
            /*
             * The cast is safe because the entry is present in the map. Or, if it has been removed by a
             * concurrent modification, behavior is undefined.
             */
            return uncheckedCastNullableTToT(delegate.get(key));
          }
          updateLastKnownIndex();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * </ul>
     *
     * <p>Note that detection of potential deadlock does not necessarily indicate that deadlock will
     * happen, as it is possible that higher level application logic prevents the cyclic lock
     * acquisition from occurring. One example of a false positive is:
     *
     * <pre>
     * LockA -&gt; LockB -&gt; LockC
     * LockA -&gt; LockC -&gt; LockB
     * </pre>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param value the value to be associated with the specified key
         * @return the previous value associated with the specified key, or the specified value if the key was not present
         * @see ConcurrentHashMap#putIfAbsent(Object, Object)
         */
        public static <K, V> V putIfAbsent(final ConcurrentMap<K, V> map, final K key, final V value) {
            final V exists = map.putIfAbsent(key, value);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

          TreeMap<K, V> newTreeMap(@Nullable Comparator<C> comparator) {
        // Ideally, the extra type parameter "C" shouldn't be necessary. It is a
        // work-around of a compiler type inference quirk that prevents the
        // following code from being compiled:
        // Comparator<Class<?>> comparator = null;
        // Map<Class<? extends Throwable>, String> map = newTreeMap(comparator);
        return new TreeMap<>(comparator);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top