Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 156 for trip (0.5 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(0, SMBUtil.readInt2(encoded, 2), "EOL length should be 0");
        }
    
        /**
         * Test round-trip encoding and decoding
         */
        @Test
        @DisplayName("Round-trip encode and decode should preserve data")
        void testRoundTrip() throws CIFSException {
            List<AvPair> originalPairs = new LinkedList<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

        public void reset() {
            log.info("[{}] Manually resetting circuit breaker to CLOSED", name);
            transitionTo(State.CLOSED);
        }
    
        /**
         * Manually trip the circuit breaker to open state
         */
        public void trip() {
            log.info("[{}] Manually tripping circuit breaker to OPEN", name);
            transitionTo(State.OPEN);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
        }
    
        @Nested
        @DisplayName("Integration Tests")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should sign and verify round trip for SMB 2.0.2")
            void testSignAndVerifyRoundTripSmb202() throws GeneralSecurityException {
                Smb2SigningDigest digest1 = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
                // Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. docs/smb3-features/02-persistent-handles-design.md

            HandleGuid guid2 = new HandleGuid();
            
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            
            // Test round-trip
            HandleGuid guid3 = new HandleGuid(guid1.toBytes());
            assertEquals(guid1, guid3);
        }
        
        @Test
        public void testHandleInfoExpiration() {
            HandleInfo info = new HandleInfo(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                boolean isGroupRecordStarted = false;
    
                while ((line = reader.readLine()) != null) {
                    try {
                        // Strip comments and trim whitespace
                        line = stripComment(line).trim();
                        if (StringUtil.isEmpty(line)) {
                            continue;
                        }
    
                        // Try to parse as User-agent directive
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    if (buf != null && sitemapUrl != null) {
                        sitemapUrl.setLoc(buf.toString().trim());
                        buf = null;
                    }
                } else if (LASTMOD_ELEMENT.equals(elementName)) {
                    if (buf != null && sitemapUrl != null) {
                        sitemapUrl.setLastmod(buf.toString().trim());
                        buf = null;
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        if (pair.length == 2) {
                            String sortValue = pair[1].trim();
                            if (StringUtil.isBlank(sortValue) || "score".equals(sortValue)) {
                                sortValue = "score.desc";
                            }
                            return new Pair<>(pair[0].trim(), sortValue);
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

    import org.xml.sax.InputSource;
    import org.xml.sax.helpers.DefaultHandler;
    
    /**
     * Utility class for XML-related operations.
     *
     * This class provides methods to escape special characters in XML strings,
     * strip invalid XML characters, and parse XML content into a map of data.
     *
     * <p>
     * The class is final and cannot be instantiated.
     * </p>
     *
     * <h2>Methods:</h2>
     * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            buf.append(LF);
            buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```");
            buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```\"}");
            return buf.toString();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top