Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for safety (0.13 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg tree operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify thread safety and performance
            assertTrue(exceptions.isEmpty(), "No exceptions should occur with thread-safe collections: " + exceptions);
            assertEquals(threadCount * operationsPerThread, treeOperations.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * comparator is not consistent with {@code equals}.
     *
     * <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 Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
                SMBUtil.writeInt4(flags, data, offset + 16);
    
                // Create new Mac instance for thread safety without blocking other operations
                Mac mac;
                try {
                    mac = createMacInstance();
                } catch (GeneralSecurityException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertSame(RootAction.class, exception1.getActionClass());
            assertSame(RootAction.class, exception2.getActionClass());
        }
    
        public void test_synchronizedFillInStackTrace() {
            // Test thread safety of fillInStackTrace method
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
    
            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. README.md

    - **Authentication**: NTLM, Kerberos, SPNEGO unified subsystem
    - **SLF4J Logging**: Comprehensive logging throughout the codebase
    - **Resource Management**: AutoCloseable patterns for file handles and connections
    - **Thread Safety**: Components support concurrent access
    - **DFS Support**: Distributed File System resolution
    - **Streaming Operations**: Efficient directory listings and file operations
    - **Buffer Caching**: Optimized buffer management
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertTrue(status == CrawlerStatus.RUNNING || status == CrawlerStatus.DONE);
            assertFalse(status == CrawlerStatus.INITIALIZING && status == CrawlerStatus.DONE);
        }
    
        /**
         * Test null safety in comparisons
         */
        public void test_nullSafety() {
            CrawlerStatus status = CrawlerStatus.INITIALIZING;
            CrawlerStatus nullStatus = null;
    
            // Enum == null should be false
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * comparator is not consistent with {@code equals}.
     *
     * <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 Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // but PrintStream doesn't throw exceptions on write after close
        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety of getInstance
            LogStream.setInstance(testStream);
    
            final LogStream[] instances = new LogStream[10];
            Thread[] threads = new Thread[10];
    
            for (int i = 0; i < threads.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top