Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for terminator (0.28 sec)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals('S', messageBytes[4]);
            assertEquals('S', messageBytes[5]);
            assertEquals('P', messageBytes[6]);
            assertEquals(0, messageBytes[7]); // Null terminator
        }
    
        @Test
        @DisplayName("Should include message type indicator")
        void testMessageTypeIndicator() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Write path string at offset 22
            bb.position(22);
            String expectedPath = "\\\\test";
            bb.put(expectedPath.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0); // null terminator
    
            // Decode
            referral.decode(testBuffer, 0, testBuffer.length);
    
            // Check
            assertEquals(3, referral.getVersion());
            assertEquals(100, referral.getSize());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            }
    
            @Override
            public void enc_ndr_string(String s) {
                // Simulate encoding a string
                offset += (s.length() * 2) + 4; // Length + null terminator + actual string
            }
        }
    
        // Test for LsarQosInfo
        @Test
        void testLsarQosInfoEncode() throws NdrException {
            lsarpc.LsarQosInfo qosInfo = new lsarpc.LsarQosInfo();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

     * 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) {
            this.zterm = zterm;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    }
                }
                currentProcess = null;
    
            }
        }
    
        /**
         * Monitor thread that handles process timeout and termination.
         * This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished.
         */
        protected static class MonitorThread extends Thread {
            /** The process to monitor. */
            private final Process process;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                        logger.debug("Waiting for crawler termination: thread={}, timeout={}ms", parentThread.getName(), millis);
                    }
                    parentThread.join(millis);
                } catch (final InterruptedException e) {
                    logger.warn("Crawler thread was interrupted while waiting for termination: thread={}, sessionId={}", parentThread.getName(),
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/UnicodeString.java

     *
     */
    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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         * @param cmdList the list of command arguments to execute
         * @return the exit code of the process if it finishes normally; -1 if the process fails or is terminated
         */
        protected int executeCommand(final String thumbnailId, final List<String> cmdList) {
            ProcessDestroyer task = null;
            Process p = null;
            InputStreamThread ist = null;
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Verify - the decode method strips null termination, so filename should match
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with null-terminated non-Unicode filename")
        void testDecodeWithNullTerminatedNonUnicodeFilename() throws SMBProtocolDecodingException {
            // Prepare test data with null-terminated filename
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.error("IndexUpdater is terminated.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("IndexUpdater is terminated.");
                }
                forceStop();
            } catch (final Throwable t) {
                if (ComponentUtil.available()) {
                    logger.error("IndexUpdater is terminated.", t);
                } else if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top