Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,303 for sata (0.04 seconds)

  1. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                parameterOffset += pad;
    
                totalParameterCount = writeParametersWireFormat(txn_buf, bufParameterOffset);
                bufDataOffset = totalParameterCount; // data comes right after data
    
                int available = maxBufferSize - parameterOffset;
                parameterCount = Math.min(totalParameterCount, available);
                available -= parameterCount;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(buffer.size(), bytesEncoded);
    
                // Verify that data before offset is untouched
                for (int i = 0; i < offset; i++) {
                    assertEquals(0, dst[i]);
                }
    
                // Verify encoded data at offset
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                bb.position(offset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Write parameters
            offset += trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
            assertEquals(4, offset);
    
            // Write data
            offset += trans2QueryFSInfo.writeDataWireFormat(buffer, offset);
            assertEquals(4, offset); // Data write returns 0
    
            // Verify content
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            // Verify that data was written (should write 22 bytes based on implementation)
            assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
            int result = setupAndX.writeBytesWireFormat(dst, 0);
    
            // Verify that data was written
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @DisplayName("Should handle buffer with extra data")
            void testBufferWithExtraData() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                // Write valid response data
                SMBUtil.writeInt4(15, buffer, 0);
                SMBUtil.writeInt4(16384, buffer, 4);
                SMBUtil.writeInt4(245760, buffer, 8);
                // Fill rest with random data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java

    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form for plugin installation through the admin web interface.
     * This class represents the form data structure for installing a plugin
     * via file upload through the admin UI.
     */
    public class InstallForm {
    
        /** Plugin identifier (required, max 400 characters) */
        @Required
        @Size(max = 400)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(
      val id: ByteString?,
      val name: String,
    ) {
      fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 834 bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

        }
    
        @Test
        public void testDecodeVersion3WithNameList() {
            // Prepare test data
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Header
            bb.putShort((short) 3); // version
            bb.putShort((short) 100); // size (must be large enough for all data)
            bb.putShort((short) 2); // serverType
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Test with different parameters
            result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with valid data")
        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[8];
            int bufferIndex = 0;
    
            // status (2 bytes)
            SMBUtil.writeInt2(0, buffer, bufferIndex);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top