Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for safety (0.04 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

                return null;
            }).when(smbTree).close();
    
            smbTree.close();
    
            verify(smbTree).close();
        }
    
        /**
         * Test for unwrap preserving type safety.
         * Verifies that unwrap maintains type safety at compile time.
         */
        @Test
        void testUnwrap_typeSafety() {
            CustomSmbTree customTree = mock(CustomSmbTree.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MapIteratorCache.java

                return entryIterator.hasNext();
              }
    
              @Override
              public K next() {
                Entry<K, V> entry = entryIterator.next(); // store local reference for thread-safety
                cacheEntry = entry;
                return entry.getKey();
              }
            };
          }
    
          @Override
          public int size() {
            return backingMap.size();
          }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

            // Null-safety: return null for blank templates
            // Early return is safe here as no resources have been allocated yet
            if (StringUtil.isBlank(template)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Template is blank, returning null");
                }
                return null;
            }
    
            // Null-safety: use empty map if paramMap is null
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. docs/distributed/SIZING.md

    If one or more drives are offline at the start of a PutObject or NewMultipartUpload operation the object will have additional data
    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. CLAUDE.md

        .error(throwable -> { /* handle error */ });
    ```
    
    ---
    
    ## Important Notes
    
    ### Thread Safety
    - **Suggester**: Thread-safe for queries
    - **SuggestIndexer**: Thread-safe for indexing
    - **SuggestSettings**: NOT thread-safe for modifications
    
    ### Performance
    - Use batch operations for indexing (100-500 items)
    - Don't call `refresh()` too frequently
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. architecture/standards/0002-avoid-using-java-serialization.md

    - **Cross-Language Compatibility:**
    Java serialization is inherently Java-centric and does not support cross-language scenarios well.
    
    - **Type Safety:**
    Java serialization does not enforce type safety as strictly as some alternatives, potentially leading to runtime errors.
    
    ## Decision
    
    We do not use Java serialization.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
     * It extends {@link LinkedHashMap} without synchronization. If multiple threads access
     * an instance concurrently, and at least one thread modifies the map structurally,
     * it must be synchronized externally.
     * </p>
     * <p>
     * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}:
     * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

     *   <li>{@link DataService} - The service for managing access results.</li>
     * </ul>
     *
     * <p>Each parameter is stored in a ThreadLocal variable to ensure thread safety.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
     * CrawlingParameterUtil.setUrlQueue(newUrlQueue);
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top