Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 435 for _offset (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            Configuration cfg = mock(Configuration.class);
            return new Smb2SessionSetupResponse(cfg);
        }
    
        /**
         * Build a minimal SMB2 header for a response at the given offset.
         * The header is prepared as a synchronous response with server-to-redirector flag.
         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertTrue(bytesWritten > 36);
    
            // Verify negotiate context count
            assertEquals(2, SMBUtil.readInt2(buffer, 32));
    
            // Verify negotiate context offset is set
            int contextOffset = SMBUtil.readInt4(buffer, 28);
            assertTrue(contextOffset > 0);
    
            // Skip detailed context verification since we can't access headerStart
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Test with offset out of bounds
            PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10);
            assertEquals(0, list.size());
            assertTrue(list.isEmpty());
        }
    
        public void test_selectList_negativeOffset() {
            // Load data first
            protwordsFile.reload(null);
    
            // Test with negative offset
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                }
            }
            return str;
        }
    
        int stringWireLength(final String str, final int offset) {
            int len = str.length() + 1;
            if (useUnicode) {
                len = str.length() * 2 + 2;
                len = offset % 2 != 0 ? len + 1 : len;
            }
            return len;
        }
    
        int readStringLength(final byte[] src, final int srcIndex, final int max) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbRandomAccess.java

         */
        int read(byte[] b) throws SmbException;
    
        /**
         * Read into buffer from current position
         *
         * @param b
         *            buffer
         * @param off
         *            offset into buffer
         * @param len
         *            read up to <code>len</code> bytes
         * @return number of bytes read
         * @throws SmbException if an I/O error occurs during read
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(0, buffer[13]);
                assertEquals((byte) 0xFF, buffer[9]); // Should not modify before offset
                assertEquals((byte) 0xFF, buffer[14]); // Should not modify after encoded data
            }
    
            @Test
            @DisplayName("Should handle offset in decode")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
              @Override
              public boolean processBytes(byte[] buffer, int offset, int length) throws IOException {
                if (length >= 0) {
                  out.write(buffer, offset, length);
                }
                return true;
              }
    
              @Override
              public byte[] getResult() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         */
        @Override
        public void getUserSessionKey(final CIFSContext tc, final byte[] chlng, final byte[] dest, final int offset) throws SmbException {
            if (this.hashesExternal) {
                return;
            }
            super.getUserSessionKey(tc, chlng, dest, offset);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

                if (next == 0) {
                    // Last entry - advance by the full structure size
                    bufferIndex += 152;
                    break;
                }
    
                // Move to next entry based on Next offset
                bufferIndex += next;
            }
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                            </div>
                                        </div>
                                        <div class="form-group row">
                                            <div class="offset-sm-2 col-sm-10">
                                                <button type="submit" class="btn btn-primary" id="submit"
                                                        name="search"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.8K bytes
    - Viewed (0)
Back to top