Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 563 for readInt (0.33 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            int read = response.readParametersWireFormat(buffer, 0, 10);
    
            assertEquals(0, read);
        }
    
        @Test
        void testReadDataWireFormat_SmbInfoAllocation() throws Exception {
            // Test reading SMB_INFO_ALLOCATION data
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Prepare buffer with SmbInfoAllocation data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            assertEquals(4, bytesWritten);
    
            // Verify structure size (4) is written at offset
            assertEquals(4, SMBUtil.readInt2(buffer, offset));
    
            // Verify reserved field (0) is written at offset + 2
            assertEquals(0, SMBUtil.readInt2(buffer, offset + 2));
        }
    
        @Test
        @DisplayName("Should write exact wire format structure")
        void testWriteBytesWireFormatStructure() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file { #reading-a-env-file }
    
    If you have many settings that possibly change a lot, maybe in different environments, it might be useful to put them on a file and then read them from it as if they were environment variables.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Test that the subcommand is properly set
            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test reading parameters from a properly formatted buffer
            byte[] buffer = new byte[20];
    
            // Set up the buffer with test data
            // sid (2 bytes)
            buffer[0] = 0x01;
            buffer[1] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

            final int start = bufferIndex;
            final int nciphers = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.ciphers = new int[nciphers];
            for (int i = 0; i < nciphers; i++) {
                this.ciphers[i] = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
            }
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if (this.nextEntryOffset % 4 != 0) {
                throw new SMBProtocolDecodingException("Non aligned nextEntryOffset");
            }
    
            this.action = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileNameLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test that an IOException is thrown if the input stream does not provide enough bytes.
            // Simulate reading less than 6 bytes.
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(5); // Simulate reading only 5 bytes
    
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            byte[] buffer = new byte[6];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_edit.jsp

                                        <label for="reading" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.dict_kuromoji_reading"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="reading"/>
                                            <la:text styleId="reading" property="reading" styleClass="form-control"/>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 8.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_edit.jsp

                                        <label for="reading" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.elevate_word_reading"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="reading"/>
                                            <la:text styleId="reading" property="reading" styleClass="form-control"/>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @return a SuggestItem representing this ElevateWord
         */
        public SuggestItem toSuggestItem() {
            final String[][] readingArray =
                    this.getReadings().stream().map(reading -> new String[] { reading }).toArray(count -> new String[count][]);
            return new SuggestItem(new String[] { this.getElevateWord() }, readingArray, fields.toArray(new String[fields.size()]), 1, 0,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top