Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 433 for readings2 (0.04 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

     * A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text.
     * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results.
     * The chain stops processing when the maximum number of readings is reached.
     */
    public class ReadingConverterChain implements ReadingConverter {
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            // Verify search attributes (masked with 0x37)
            assertEquals(0x37, SMBUtil.readInt2(buffer, 0));
    
            // Verify max items
            assertEquals(100, SMBUtil.readInt2(buffer, 2));
    
            // Verify flags (should be 0x00)
            assertEquals(0x00, SMBUtil.readInt2(buffer, 4));
    
            // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify sid (2 bytes)
            assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0));
    
            // Verify maxItems (2 bytes)
            assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2));
    
            // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
            assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4));
    
            // Verify resumeKey (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                /*
                 * these fields are common to all andx commands
                 * so let's populate them here
                 */
    
                andxCommand = buffer[bufferIndex];
                andxOffset = readInt2(buffer, bufferIndex + 2);
    
                if (andxOffset == 0) { /* Snap server workaround */
                    andxCommand = (byte) 0xFF;
                }
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param src the source byte array
         * @param srcIndex the starting index in the source array
         * @return the 16-bit integer value
         */
        public static int readInt2(final byte[] src, final int srcIndex) {
            return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8);
        }
    
        /**
         * Reads a 32-bit integer value from a byte array in little-endian format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(12, bytesWritten);
                assertEquals(3, SMBUtil.readInt2(buffer, 0));
                assertEquals(2, SMBUtil.readInt2(buffer, 2));
                assertEquals(0x01, SMBUtil.readInt2(buffer, 4));
                assertEquals(0x02, SMBUtil.readInt2(buffer, 6));
                assertEquals(0x03, SMBUtil.readInt2(buffer, 8));
                assertArrayEquals(salt, Arrays.copyOfRange(buffer, 10, 12));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

        @Override
        public int decode(final byte[] buf, int bi, final int len) {
            this.allow = buf[bi] == (byte) 0x00;
            bi++;
            this.flags = buf[bi++] & 0xFF;
            final int size = SMBUtil.readInt2(buf, bi);
            bi += 2;
            this.access = SMBUtil.readInt4(buf, bi);
            bi += 4;
            this.sid = new SID(buf, bi);
            return size;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 * these fields are common to all andx commands
                 * so let's populate them here
                 */
    
                this.andxCommand = buffer[bufferIndex];
                this.andxOffset = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
                if (this.andxOffset == 0) { /* Snap server workaround */
                    this.andxCommand = (byte) 0xFF;
                }
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Check FID
            int actualFid = SMBUtil.readInt2(buffer, 0);
            assertEquals(TEST_FID, actualFid);
    
            // Check information level (FILE_BASIC_INFO maps to 0x0101)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(0x0101, actualInfoLevel);
    
            // Check reserved bytes (should be 0)
            int reserved = SMBUtil.readInt2(buffer, 4);
            assertEquals(0, reserved);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            available = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            int head = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            status = readInt2(buffer, bufferIndex);
            return 6;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top