Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 523 for reading4 (0.05 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    (byte) 0xEF, (byte) 0xCD, (byte) 0xAB, (byte) 0x89 // 0x89ABCDEF
            };
    
            assertEquals(0x12345678, SMBUtil.readInt4(src, 0));
            assertEquals(0xFFFFFFFF, SMBUtil.readInt4(src, 4));
            assertEquals(0x00000000, SMBUtil.readInt4(src, 8));
            assertEquals(0x89ABCDEF, SMBUtil.readInt4(src, 12));
        }
    
        @Test
        void testReadInt8() {
            byte[] src = new byte[] {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/SessionServicePacket.java

            dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
            dst[dstIndex] = (byte) (val & 0xFF);
        }
    
        static int readInt2(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF);
        }
    
        static int readInt4(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            if (in.read(buffer, bufferIndex, this.length) != this.length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            readInt2(buffer, bufferIndex);
            return this.length;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            // these are common between SYNC/ASYNC
            SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            SMBUtil.readInt2(buffer, bufferIndex);
            this.creditCharge = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            this.status = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.command = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            final SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo();
            info.allocationSize = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            info.endOfFile = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            info.numberOfLinks = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            info.deletePending = (buffer[bufferIndex] & 0xFF) > 0;
            bufferIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE);
            int retargetPort = readInt2(buffer, bufferIndex);
            return length;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(36, SMBUtil.readInt2(buffer, 0));
    
            // Verify dialect count
            assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302
    
            // Verify security mode
            assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, SMBUtil.readInt2(buffer, 4));
    
            // Verify capabilities
            int caps = SMBUtil.readInt4(buffer, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    if (readings != null && readings.length > i && readings[i].length > 0) {
                        for (final String reading : readings[i]) {
                            if (!l.contains(reading)) {
                                l.add(reading);
                            }
                        }
                    }
    
                    wordsList.add(word);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @param elevateWord the elevate word
         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            assertEquals(32, SMBUtil.readInt2(buffer, 0)); // StructureSize
            assertEquals(0x0001, SMBUtil.readInt2(buffer, 2)); // Flags
            assertEquals(8192, SMBUtil.readInt4(buffer, 4)); // OutputBufferLength
            // FileId at offset 8-23
            assertEquals(0x00000FFF, SMBUtil.readInt4(buffer, 24)); // CompletionFilter
            assertEquals(0, SMBUtil.readInt4(buffer, 28)); // Reserved
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top