Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 172 for 0xffe0 (0.03 sec)

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

                bufferIndex += 14;
                e.type = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int off = readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - converter;
                off = start + off;
                e.remark = readString(buffer, off, 128, false);
    
                if (LogStream.level >= 4) {
                    log.println(e);
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        void testWriteAndXWireFormatWithoutAndx() {
            DummyAndXBlock block = new DummyAndXBlock();
            byte[] buf = new byte[128];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.convert("0")).isEqualTo(0);
        assertThat(converter.convert("-1")).isEqualTo(-1);
        assertThat(converter.convert("0xff")).isEqualTo(255);
        assertThat(converter.convert("0xFF")).isEqualTo(255);
        assertThat(converter.convert("-0xFF")).isEqualTo(-255);
        assertThat(converter.convert("#0000FF")).isEqualTo(255);
        assertThat(converter.convert("0666")).isEqualTo(438);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusResponse.java

        int readRDataWireFormat(final byte[] src, int srcIndex) {
            final int start = srcIndex;
            this.numberOfNames = src[srcIndex] & 0xFF;
            final int namesLength = this.numberOfNames * 18;
            final int statsLength = this.rDataLength - namesLength - 1;
            this.numberOfNames = src[srcIndex] & 0xFF;
            srcIndex++;
            // gotta read the mac first so we can populate addressArray with it
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static int readInt2(final byte[] src, final int srcIndex) {
            return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8);
        }
    
        static int readInt4(final byte[] src, final int srcIndex) {
            return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8) + ((src[srcIndex + 2] & 0xFF) << 16)
                    + ((src[srcIndex + 3] & 0xFF) << 24);
        }
    
        static long readInt8(final byte[] src, final int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        }
    
        @Test
        public void testByteOperations() {
            // Test byte operations that were used in the original test
            byte b = (byte) 0xFF;
            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify all bytes are 0xFF
            for (int i = 0; i < 24; i++) {
                assertEquals((byte) 0xFF, resumeKey[i], "Resume key byte " + i + " should be 0xFF");
            }
        }
    
        @Test
        @DisplayName("Test decode with larger buffer and length")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                assertTrue(result2 > 0);
    
                // Verify headers in both buffers
                for (int i = 0; i < 8; i++) {
                    assertEquals((byte) 0xFF, buffer1[i]);
                    assertEquals((byte) 0xFF, buffer2[50 + i]);
                }
            }
        }
    
        @Nested
        @DisplayName("Integration Pattern Tests")
        class IntegrationPatternTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

    /** Benchmark for {@code BaseEncoding} performance. */
    @NullUnmarked
    public class BaseEncodingBenchmark {
      private static final int INPUTS_COUNT = 0x1000;
      private static final int INPUTS_MASK = 0xFFF;
    
      enum EncodingOption {
        BASE64(BaseEncoding.base64()),
        BASE64_URL(BaseEncoding.base64Url()),
        BASE32(BaseEncoding.base32()),
        BASE32_HEX(BaseEncoding.base32Hex()),
        BASE16(BaseEncoding.base16());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex] = (byte) 0xFF;
            buffer[bufferIndex + 1] = (byte) 0xFF;
            buffer[bufferIndex + 2] = (byte) 0xFF;
    
            // Set fields with negative values (should be treated as unsigned)
            SMBUtil.writeInt4(-1, buffer, bufferIndex + 3); // Should be read as 0xFFFFFFFF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top