Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for termination (0.05 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>awaits executor service termination for half of the specified timeout.
       *   <li>if the timeout expires, it calls {@link ExecutorService#shutdownNow()}, cancelling
       *       pending tasks and interrupting running tasks.
       *   <li>awaits executor service termination for the other half of the specified timeout.
       * </ol>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. 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)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
       * \n}. If the source's content does not end in a line termination sequence, it is treated as if
       * it does.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed. For example:
       *
       * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
       * \n}. If the source's content does not end in a line termination sequence, it is treated as if
       * it does.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed. For example:
       *
       * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top