Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 345 for Breest (0.03 sec)

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

            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                if (request != null) {
                    log.debug("Resetting request");
                    request.reset();
                }
                if (rpath != null) {
                    // resolveDfs() and tree.send() modify the request packet.
                    // I want to restore it before retrying. request.reset()
                    // restores almost everything that was modified, except the path.
                    rpath.setPath(savedPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                        throw new SmbException("Account '" + username + "' is locked out until " + account.getLockoutExpiry());
                    } else {
                        // Lockout expired, reset
                        account.reset();
                    }
                }
            }
    
            // Check per-IP limit
            if (sourceIp != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN");
    
            // Manually reset
            circuitBreaker.reset();
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after reset");
            assertEquals(0, circuitBreaker.getFailureCount(), "Failure count should be reset");
        }
    
        @Test
        public void testCustomFailureDetection() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            for (int pos : positions) {
                when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance
                response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response
    
                // Fill buffer at position
                for (int i = 0; i < 37; i++) {
                    buffer[pos + i] = 0x00;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * Creates and returns a new instance of {@link TreeSet}.
         *
         * @param <E> the element type of {@link TreeSet}
         * @return a new instance of {@link TreeSet}
         * @see TreeSet#TreeSet()
         */
        public static <E> TreeSet<E> newTreeSet() {
            return new TreeSet<>();
        }
    
        /**
         * Creates and returns a new instance of {@link TreeSet}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineReset();
                verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset
                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset
            }
        }
    
        @Test
        void testEngineGetDigestLength() throws NoSuchAlgorithmException {
            // Test engineGetDigestLength()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

        }
    
        /**
         * Test that trees collection is properly cleared during cleanup.
         */
        @Test
        public void testTreesCollectionCleanup() {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Add some trees
            SmbTreeImpl tree1 = session.getSmbTree("share1", null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top