Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 230 for onex (0.91 sec)

  1. src/test/java/jcifs/smb/SIDCacheImplTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
            // Prepare SIDs, two need resolution, one already resolved
            SID s1 = sid("S-1-5-21-10-11-12-1001");
            SID s2 = sid("S-1-5-21-10-11-12-1002");
            SID s3 = sid("S-1-5-21-10-11-12-1003");
            jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            }
            rateLimiter.checkAttempt("user6", ip2); // Will be blocked
    
            // Check stats
            stats = rateLimiter.getStats();
            assertEquals(2, stats.getTotalBlocked()); // One for account, one for IP
            assertEquals(1, stats.getAccountsLocked());
            assertEquals(1, stats.getIpsBlocked());
            assertTrue(stats.getActiveAccounts() > 0);
            assertTrue(stats.getActiveIps() > 0);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void release_invokedOnce() throws Exception {
            // Arrange: no setup needed; we verify interaction only
    
            // Act: call release
            handle.release();
    
            // Assert: verify one invocation and no more
            verify(handle, times(1)).release();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testMultimediaExtensions() throws IOException {
                // Common audio formats
                assertEquals("audio/x-wav", mimeMap.getMimeType("wav"));
                // mp3 has multiple mappings, first one wins
                assertEquals("audio/x-mpegurl", mimeMap.getMimeType("mp3"));
    
                // Common video formats
                assertEquals("video/x-msvideo", mimeMap.getMimeType("avi"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

         * not want to create a new NbtAddress object for this particular
         * address from which the query is constructed, we want to populate
         * the data of the existing address that should be one of several
         * returned by the node status.
         */
    
        NodeStatusResponse(final NbtAddress queryAddress) {
            this.queryAddress = queryAddress;
            recordName = new Name();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/BufferCache.java

        private static final java.util.concurrent.atomic.AtomicInteger queueSize = new java.util.concurrent.atomic.AtomicInteger(0);
    
        /**
         * Gets a buffer from the cache or creates a new one if the cache is empty.
         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            }
    
            startLatch.countDown();
            endLatch.await(10, TimeUnit.SECONDS);
            executor.shutdown();
    
            assertTrue(exceptions.isEmpty());
            // Final name should be from one of the threads
            assertNotNull(testTransformer.getName());
            assertTrue(testTransformer.getName().startsWith("thread"));
        }
    
        /**
         * Test inheritance behavior
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            child2.setUrl("https://example.com/page2");
    
            data.addChildUrl(child1);
            data.addChildUrl(child2);
            assertEquals(2, data.getChildUrlSet().size());
    
            // Remove one child URL
            data.removeChildUrl(child1);
            assertEquals(1, data.getChildUrlSet().size());
            assertFalse(data.getChildUrlSet().contains(child1));
            assertTrue(data.getChildUrlSet().contains(child2));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ACE.java

        int FLAGS_OBJECT_INHERIT = 0x01;
        /**
         * Inheritance flag: child containers inherit this ACE
         */
        int FLAGS_CONTAINER_INHERIT = 0x02;
        /**
         * Inheritance flag: inheritance stops after one level
         */
        int FLAGS_NO_PROPAGATE = 0x04;
        /**
         * Inheritance flag: ACE applies only to children, not to the object itself
         */
        int FLAGS_INHERIT_ONLY = 0x08;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            if (StringUtil.isEmpty(filename) && is == null) {
                throw new MimeTypeException("Cannot detect MIME type: both filename and input stream are empty. At least one is required.");
            }
    
            final Metadata metadata = new Metadata();
            metadata.add(ExtractData.RESOURCE_NAME_KEY, normalizeFilename(filename));
    
            try {
                if (useFilename) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top