Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for termination (0.4 sec)

  1. src/main/java/jcifs/util/Strings.java

                if (len > maxLen) {
                    if (log.isDebugEnabled()) {
                        log.warn("Failed to find string termination with max length " + maxLen);
                        log.debug(Hexdump.toHexString(buffer, bufferIndex, len));
                    }
                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/https.md

        * This is one of the reasons why it's very useful when the same TLS Termination Proxy also takes care of the certificate renewal process.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/StringsTest.java

                assertEquals(target, result, "Should decode from offset correctly");
            }
        }
    
        @Nested
        @DisplayName("String Termination Tests")
        class StringTerminationTests {
    
            @Test
            @DisplayName("findUNITermination should find null termination in UTF-16LE")
            void testFindUNITermination() {
                // Given
                String testString = "Hello";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Write filename with null termination
            if (unicode) {
                byte[] filenameBytes = Strings.getUNIBytes(filename);
                System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length);
                // Add null termination
                buffer[94 + filenameBytes.length] = 0;
                buffer[94 + filenameBytes.length + 1] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

    /**
     * A Unicode string representation for DCE/RPC operations in JCIFS.
     * This class wraps strings for use in RPC calls with optional zero termination.
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                                Hexdump.hexdump(System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128);
                            }
                            throw new RuntimeException("zero termination not found");
                        }
                    }
                    str = new String(src, srcIndex, len, UNI_ENCODING);
                } else {
                    while (src[srcIndex + len] != (byte) 0x00) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                                len += 2;
                                if (len > 256) {
                                    throw new RuntimeException("zero termination not found");
                                }
                            }
                            server.oemDomainName = new String(buffer, bufferIndex, len, UNI_ENCODING);
                        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Logoff response message. This response acknowledges the termination of an SMB2 session.
     *
     * @author mbechler
     *
     */
    public class Smb2LogoffResponse extends ServerMessageBlock2Response {
    
        /**
         * Constructs an SMB2 logoff response with the given configuration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

    package jcifs.dcerpc;
    
    /**
     * Unicode string type wrapper
     *
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ├── Dockerfile
    └── requirements.txt
    ```
    
    #### Behind a TLS Termination Proxy { #behind-a-tls-termination-proxy }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 29.5K bytes
    - Viewed (1)
Back to top