Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,264 for strong (0.17 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

        }
    
        @Test
        @DisplayName("Should encode and decode strings using byte operations")
        void testStringOperations() {
            // Given
            String testString = "Hello";
            byte[] buffer = new byte[testString.length()];
    
            // When - Manual string encoding using individual bytes
            byte[] strBytes = testString.getBytes();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            advance(i - index);
        }
    
        /**
         * Decodes a string from NDR format.
         *
         * @return the decoded string
         * @throws NdrException if decoding fails
         */
        public String dec_ndr_string() throws NdrException {
            align(4);
            int i = index;
            String val = null;
            int len = Encdec.dec_uint32le(buf, i);
            i += 12;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         * @return a list of extracted URLs
         * @deprecated Use {@link #getUrlFromTagAttribute(URI, Document, String, String, String)} instead.
         */
        @Deprecated
        protected List<String> getUrlFromTagAttribute(final URL url, final Document document, final String xpath, final String attr,
                final String encoding) {
            try {
                return getUrlFromTagAttribute(url.toURI(), document, xpath, attr, encoding);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Whether to use batching */
        boolean USE_BATCHING = Config.getBoolean("jcifs.smb1.smb.client.useBatching", true);
        /** OEM encoding */
        String OEM_ENCODING = Config.getProperty("jcifs.smb1.encoding", Config.DEFAULT_OEM_ENCODING);
        /** Unicode encoding */
        String UNI_ENCODING = "UTF-16LE";
        /** Default FLAGS2 value */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test with special characters in names")
        void testWithSpecialCharacters() {
            String specialName = "Share$\\Special/Name:*?";
            String specialRemark = "Remark with\nnewline\tand\rtabs";
    
            SmbShareInfo info = new SmbShareInfo(specialName, 0, specialRemark);
    
            assertEquals(specialName, info.getName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 76); // nodeOffset
    
            // Path string at offset 22 (relative to start of referral at position 0)
            bb.position(22);
            String path = "\\\\server\\share";
            bb.put(path.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Alt path string at offset 54
            bb.position(54);
            String altPath = "\\\\alt\\path";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                }
            }
        }
    
        /**
         * Returns all buffered lines as a single string, separated by newlines.
         *
         * @return the concatenated output of all buffered lines
         */
        public String getOutput() {
            final StringBuilder buf = new StringBuilder(100);
            for (final String value : list) {
                buf.append(value).append("\n");
            }
            return buf.toString();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
        private static FileEntry entry(String name) {
            return new FileEntry() {
                @Override
                public String getName() {
                    return name;
                }
    
                @Override
                public int getType() {
                    return 0;
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
        @MethodSource("nameProvider")
        void name_edgeCases(String name, String caseDesc) {
            // Arrange
            FileEntry e = new TestFileEntry(name, 0, 0, 0L, 0L, 0L, 0L, 0);
            // Act
            String actual = e.getName();
            // Assert
            assertEquals(name, actual);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        @Test
        @DisplayName("Multiple server names should be handled correctly")
        void testDifferentServerNames() {
            // Test with different server names
            String[] serverNames = { "server1", "domain.local", "192.168.1.100", "FILESERVER" };
    
            for (String serverName : serverNames) {
                MsrpcDfsRootEnum enumInstance = new MsrpcDfsRootEnum(serverName);
                assertEquals(serverName, enumInstance.dfs_name);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top