Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 494 for safety (0.47 sec)

  1. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

     * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Emily Soldal
     * @since 21.0 (since 14.0 as {@link com.google.common.collect.ForwardingBlockingDeque})
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link
     * #getInstance} are available.
     *
     * <p>Generally, implementations don't support {@link #put} and {@link #putAll} because there is no
     * way to check an object at runtime to be an instance of a {@link TypeToken}. Instead, caller
     * should use the type safe {@link #putInstance}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link
     * #getInstance} are available.
     *
     * <p>Generally, implementations don't support {@link #put} and {@link #putAll} because there is no
     * way to check an object at runtime to be an instance of a {@link TypeToken}. Instead, caller
     * should use the type safe {@link #putInstance}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. CHANGELOG.md

    The rest of this release is our highest-quality release yet. Though we continue to use the word
    _alpha_ in the version name, the only unstable thing in it is some non-final APIs tagged
    `@ExperimentalOkHttpApi`. You can safely use this release in production.
    
     *  Fix: Attempt to read the response even if sending the request failed. This makes it possible
        to handle response statuses like `HTTP/1.1 431 "Request Header Fields Too Large`.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  5. cmd/erasure-coding.go

    	blockSize                int64
    }
    
    // NewErasure creates a new ErasureStorage.
    func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) {
    	// Check the parameters for sanity now.
    	if dataBlocks <= 0 || parityBlocks < 0 {
    		return e, reedsolomon.ErrInvShardNum
    	}
    
    	if dataBlocks+parityBlocks > 256 {
    		return e, reedsolomon.ErrMaxShardNum
    	}
    
    	e = Erasure{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertTrue(context instanceof AbstractCIFSContext, "BaseContext should extend AbstractCIFSContext");
        }
    
        @Test
        @DisplayName("Context should handle concurrent access safely")
        void testConcurrentAccess() throws InterruptedException {
            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ResourcesTest.java

        writer.println("rud a chur ar an méar fhada");
        writer.close();
    
        // First check that we can't find it without setting the context loader.
        // This is a sanity check that the test doesn't spuriously pass because
        // the resource is visible to the system class loader.
        assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName()));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_ITERATOR_REMOVE})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          keyList.count = 0;
          modCount++;
        } else {
          // requireNonNull is safe (under the conditions listed in the comment in the branch above).
          KeyList<K, V> keyList = requireNonNull(keyToKeyList.get(node.getKey()));
          keyList.count--;
    
          if (node.previousSibling == null) {
            // requireNonNull is safe because we checked that not *both* siblings were null.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TopKSelector.java

          bufferSize = 1;
        } else if (bufferSize < k) {
          buffer[bufferSize++] = elem;
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top