Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,470 for instance1 (0.39 sec)

  1. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
            assertEquals(url1.getProtocol(), url2.getProtocol());
            assertEquals("smb", url1.getProtocol());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

                return new JclLoggerAdapterFactory();
            } catch (final Throwable ignore) {
                return new JulLoggerAdapterFactory();
            }
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz
         *            The class to be used as the logging category.
         */
        protected Logger(final Class<?> clazz) {
            log = factory.getLoggerAdapter(clazz);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should handle multiple write operations")
        void testMultipleWrites() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead);
                assertEquals(999, response.getCount());
                assertEquals(111, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should create new instance with same config")
            void testMultipleInstancesWithSameConfig() throws SMBProtocolDecodingException {
                Smb2WriteResponse response1 = new Smb2WriteResponse(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private static class SingletonHolder {
            private static final SecurityAuditLogger INSTANCE = new SecurityAuditLogger();
        }
    
        /**
         * Get the singleton instance
         *
         * @return SecurityAuditLogger instance
         */
        public static SecurityAuditLogger getInstance() {
            return SingletonHolder.INSTANCE;
        }
    
        private SecurityAuditLogger() {
            // Initialize event counters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                                    mergeResponseData(dataMap, responseDataMap);
                                } catch (final Exception e) {
                                    throw new CrawlerSystemException("Could not create an instance from bytes.", e);
                                }
                            }
                        }
                        crawlerStatsHelper.record(keyObj, StatsAction.ACCESSED);
    
                        // remove
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            for (int i = startIndex + bytesWritten; i < dst.length; i++) {
                assertEquals((byte) (i & 0xFF), dst[i]);
            }
        }
    
        @Test
        @DisplayName("Test multiple instances independence")
        void testMultipleInstancesIndependence() {
            NtTransQuerySecurityDesc desc1 = new NtTransQuerySecurityDesc(mockConfig, 0x1111, OWNER_SECURITY_INFORMATION);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertSame(info, result, "Should return same list instance");
            verify(info, times(1)).clear();
            assertTrue(result.isEmpty(), "List should be cleared");
        }
    
        // Parameterized test to exercise SMB2 with different recursive and filter values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

       * immediately reflected in the other. However, multiset changes may or may not be reflected in
       * any {@code Entry} instances already retrieved from the entry set (this is
       * implementation-dependent). Furthermore, implementations are not required to support
       * modifications to the entry set at all, and the {@code Entry} instances themselves don't even
       * have methods for modification. See the specific implementation class for more details on how
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

     * <p>
     * This class, while technically is not immutable, should be considered as such once set up. If not mutated, it is also
     * thread-safe. The mutation of this class instances should happen beforehand their use in session.
     */
    public class MavenChainedWorkspaceReader implements MavenWorkspaceReader {
    
        protected List<WorkspaceReader> readers;
        protected WorkspaceRepository repository;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top