Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,199 for butter (0.16 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            byte[] buffer = new byte[4096];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = longPath.getBytes(StandardCharsets.UTF_16LE);
            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6));
        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small for path")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating Kuromoji dictionary entries.
     * Kuromoji is a Japanese morphological analyzer and this form allows
     * administrators to add custom dictionary entries for better Japanese text analysis.
     *
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            request.setCloseFlags(testFlags);
    
            byte[] buffer = new byte[256];
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, 0));
            assertEquals(testFlags, SMBUtil.readInt2(buffer, 2));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *            the configuration to use for this request
         * @param fileId
         *            the file ID to read from
         * @param outputBuffer
         *            the buffer to read data into
         * @param outputBufferOffset
         *            the offset in the output buffer to start writing data
         */
        public Smb2ReadRequest(final Configuration config, final byte[] fileId, final byte[] outputBuffer, final int outputBufferOffset) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            void testWriteBytesDoesNotOverflow() {
                byte[] buffer = new byte[100];
                // Fill buffer with known values
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) 0xFF;
                }
    
                int startIndex = 50;
                echoRequest.writeBytesWireFormat(buffer, startIndex);
    
                // Check bytes before written area are unchanged
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] buffer = new byte[8];
            // numEntries = 2
            writeInt2(2, buffer, 0);
            // isEndOfSearch = false
            buffer[2] = 0x00;
            buffer[3] = 0x00;
            // eaErrorOffset = 3
            writeInt2(3, buffer, 4);
            // lastNameOffset = 4
            writeInt2(4, buffer, 6);
    
            int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Validate minimum buffer size for SMB2 negotiate response
            if (buffer == null || buffer.length < bufferIndex + 65) {
                throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top