Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 402 for safely (0.08 seconds)

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

          CombinedFuture.this.task = null;
    
          if (error instanceof ExecutionException) {
            /*
             * Cast to ExecutionException to satisfy our nullness checker, which (unsoundly but
             * *usually* safely) assumes that getCause() returns non-null on an ExecutionException.
             */
            CombinedFuture.this.setException(((ExecutionException) error).getCause());
          } else if (error instanceof CancellationException) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  2. cmd/last-minute.go

    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    type LastMinuteHistogram [sizeLastElemMarker]lastMinuteLatency
    
    // Merge safely merges two LastMinuteHistogram structures into one
    func (l LastMinuteHistogram) Merge(o LastMinuteHistogram) (merged LastMinuteHistogram) {
    	for i := range l {
    		merged[i] = l[i].merge(o[i])
    	}
    	return merged
    }
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    abstract class TypeVisitor {
    
      private final Set<Type> visited = new HashSet<>();
    
      /**
       * Visits the given types. Null types are ignored. This allows subclasses to call {@code
       * visit(parameterizedType.getOwnerType())} safely without having to check nulls.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. docs/compression/README.md

    Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if
    your setup can use this feature combination safely.
    
    To enable compression+encryption use:
    
    ```bash
    ~ mc admin config set myminio compression allow_encryption=on
    ```
    
    Or alternatively through the environment variable `MINIO_COMPRESSION_ALLOW_ENCRYPTION=on`.
    
    ### 4. Excluded Types
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

    @GwtCompatible
    abstract class CollectionFuture<V extends @Nullable Object, C extends @Nullable Object>
        extends AggregateFuture<V, C> {
      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("video/mpeg", mimeMap.getMimeType("mpeg"));
                assertEquals("video/quicktime", mimeMap.getMimeType("mov"));
            }
    
            @Test
            @DisplayName("Should handle empty extensions safely")
            void testEmptyExtensions() throws IOException {
                // Empty extension seems to match first entry in mime.map
                String result = mimeMap.getMimeType("");
                assertNotNull(result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            }
    
            // Verify alive is false
            assertFalse("alive should be false after all stop() calls", dataStore.alive);
        }
    
        /**
         * Test that multiple threads can safely read alive field while one writes.
         */
        @Test
        public void test_aliveField_concurrentReadWrite() throws Exception {
            dataStore.alive = true;
    
            final int readerCount = 5;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  8. docs/debugging/README.md

    mc: Decryption key: ad2b43d847fdb14e54c5836200177f7158b3f745433525f5d23c0e0208e50c9948540b54
    
    mc: The decryption key will ONLY be shown here. It cannot be recovered.
    mc: The encrypted file can safely be shared without the decryption key.
    mc: Even with the decryption key, data stored with encryption cannot be accessed.
    ```
    
    This file can be decrypted using the decryption tool below:
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

         */
        @Test
        public void testTryWithResources_nullInputStreamSafety() {
            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
                }
                fail("Should not reach this point");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
       * call cancel() and be unable to cancel the delegate.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
Back to Top