Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 991 for differ (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(testTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile
            SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize
            SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(512, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 15);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 19);
            SMBUtil.writeInt4(-5000, buffer, bufferIndex + 23);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 27);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
            buffer[bufferIndex + 35] = (byte) 0x80; // 128 as unsigned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Group SID at offset 40
            buffer.position(40);
            buffer.put((byte) 0x01); // Revision
            buffer.put((byte) 0x01); // SubAuthorityCount
            buffer.put(new byte[] { 0, 0, 0, 0, 0, 2 }); // IdentifierAuthority
            buffer.putInt(0); // SubAuthority
    
            // DACL at offset 60
            buffer.position(60);
            buffer.put((byte) 0x02); // AclRevision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            }
    
            buffer.append("----------").append(LS);
    
            int size = artifacts.size();
    
            buffer.append(size).append(" required artifact");
    
            if (size > 1) {
                buffer.append("s are");
            } else {
                buffer.append(" is");
            }
    
            buffer.append(" missing.").append(LS).append(LS).append("for artifact: ");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @DisplayName("Should decode minimum buffer size")
            void testDecodeMinimumBufferSize() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[12]; // Exact size needed
                SMBUtil.writeInt4(3, buffer, 0);
                SMBUtil.writeInt4(4096, buffer, 4);
                SMBUtil.writeInt4(12288, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset
                assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
                assertEquals(512, SMBUtil.readInt4(buffer, 32)); // Minimum count
                assertEquals(Smb2ReadRequest.SMB2_CHANNEL_NONE, SMBUtil.readInt4(buffer, 36)); // Channel
                assertEquals(1024, SMBUtil.readInt4(buffer, 40)); // Remaining bytes
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/EncdecTest.java

            int value = 0x12345678;
            byte[] buffer = new byte[4];
    
            // When - encode little endian
            Encdec.enc_uint32le(value, buffer, 0);
            long decoded = Encdec.dec_uint32le(buffer, 0);
    
            // Then
            assertEquals(value & 0xFFFFFFFFL, decoded);
            assertEquals(0x78, buffer[0] & 0xFF);
            assertEquals(0x56, buffer[1] & 0xFF);
            assertEquals(0x34, buffer[2] & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top