Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for terminating (0.2 sec)

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

         * @param maxLen
         * @return position of terminating null byte
         */
        public static int findTermination ( byte[] buffer, int bufferIndex, int maxLen ) {
            int len = 0;
            while ( buffer[ bufferIndex + len ] != (byte) 0x00 ) {
                len++;
                if ( len > maxLen ) {
                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    }
                });
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Terminating process {}.", p);
                }
                try {
                    if (!p.destroyForcibly().waitFor(timeout, TimeUnit.MILLISECONDS)) {
                        logger.warn("Terminating process {} is timed out.", p);
                    } else if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                            }
                        }
                    }
    
                    if (emptyListCount >= maxEmptyListCount) {
                        if (logger.isInfoEnabled()) {
                            logger.info("Terminating indexUpdater. emptyListCount is over {}.", maxEmptyListCount);
                        }
                        // terminate crawling
                        finishCrawling = true;
                        forceStop();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  4. 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 );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x00;
            // name length without counting null termination
            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4( flags0, dst, dstIndex );
            dstIndex += 4;
            writeInt4( rootDirectoryFid, dst, dstIndex );
            dstIndex += 4;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x00;
            // name length without counting null termination
            this.namelen_index = dstIndex;
            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        if( len > maxLen ) {
    if( log.level > 0 )
    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 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            int len = 0;
            while ( src[ srcIndex + len ] != (byte) 0x00 ) {
                if ( len++ > max ) {
                    throw new RuntimeCIFSException("zero termination not found: " + this);
                }
            }
            return len;
        }
    
    
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = this.headerStart = dstIndex;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top