Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 280 for parser (4.86 sec)

  1. src/main/java/jcifs/Config.java

         * argument will be returned.
         *
         * @param props the properties to search in
         * @param key the property key to look up
         * @param def the default value to return if key is not found or cannot be parsed
         * @return the integer value of the property or the default value
         */
        public static int getInt(final Properties props, final String key, int def) {
            final String s = props.getProperty(key);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            buffer[9] = 0x00;
    
            int result = response.readParametersWireFormat(buffer, 0, 10);
    
            // Should read 10 bytes
            assertEquals(10, result);
            // Check the values were parsed correctly
            assertEquals(1, response.getSid());
            assertEquals(5, response.getNumEntries());
            assertTrue(response.isEndOfSearch());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int bytesWritten = packet.writeTrailerWireFormat(dst, 0);
    
            assertTrue(bytesWritten > 68); // Should be larger due to scope
        }
    
        @Test
        @DisplayName("readTrailerWireFormat should read complete packet data")
        void testReadTrailerWireFormatSuccess() throws IOException {
            SessionRequestPacket writePacket =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java

        }
    
        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DfsReferralTest.java

            DfsReferral dfsReferral = new DfsReferral(mockData);
    
            // Verify that getData() returns the same mock data object
            assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor.");
        }
    
        /**
         * Test the toString method.
         */
        @Test
        void testToString() {
            // Create a mock DfsReferralData object
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

    import org.bouncycastle.asn1.DERBitString;
    
    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    
    /**
     * Represents a Kerberos AP-REQ (Application Request) message.
     * This class parses and contains the authentication request sent from a client to a server.
     */
    public class KerberosApRequest {
    
        private byte apOptions;
        private KerberosTicket ticket;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
            // The primary responsibility of this constructor is setting ptype and flags,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testOpenConnectionWithNullUrl() {
            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.openConnection(null));
        }
    
        @Test
        @DisplayName("URL created with handler parses SMB URL correctly")
        void testUrlCreationWithHandler() throws Exception {
            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            EXCEPTION,
            /** Indicates that processing of a URL has finished. */
            FINISHED,
            /** Indicates that content was successfully parsed. */
            PARSED,
            /** Indicates that a URL was prepared for crawling. */
            PREPARED,
            /** Indicates that a URL redirect was encountered. */
            REDIRECTED,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/UUID.java

            this.node[5] = uuid.node[5];
        }
    
        /**
         * Construct a UUID from string
         *
         * @param str
         *            the string representation of the UUID to parse
         */
        public UUID(final String str) {
            final char[] arr = str.toCharArray();
            this.time_low = hex_to_bin(arr, 0, 8);
            this.time_mid = S(hex_to_bin(arr, 9, 4));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top