Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 208 for 0xffe3 (0.03 sec)

  1. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.versionMajor = buffer[bufferIndex] & 0xFF;
                bufferIndex++;
                e.versionMinor = buffer[bufferIndex++] & 0xFF;
                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - this.converter;
                off = start + off;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", 35},
    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MIEName.java

                if (TOK_ID[i] != buf[i]) {
                    throw new IllegalArgumentException();
                }
            }
            // MECH_OID_LEN
            len = 0xff00 & buf[i] << 8;
            i++;
            len |= 0xff & buf[i++];
    
            // MECH_OID
            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

                    Arguments.of(0xFFFF, true) // All flags including DFS
            );
        }
    
        @Test
        @DisplayName("Should handle maximum values for all fields")
        void testMaximumValues() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) 0xFF; // Max share type
            buffer[3] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[0] = (byte) 0xFF; // Non-zero = Deny
            testBuffer[1] = (byte) 0xFF; // All flags
            testBuffer[2] = (byte) 0xFF; // Size low byte
            testBuffer[3] = (byte) 0xFF; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask all bits
            testBuffer[5] = (byte) 0xFF;
            testBuffer[6] = (byte) 0xFF;
            testBuffer[7] = (byte) 0xFF;
    
            // Add minimal SID data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            request.setCompletionFilter(0xFFF);
    
            // Second write
            byte[] buffer2 = new byte[512];
            request.writeBytesWireFormat(buffer2, 0);
    
            // Then
            assertEquals(0, SMBUtil.readInt2(buffer1, 2));
            assertEquals(0, SMBUtil.readInt4(buffer1, 24));
            assertEquals(0x0001, SMBUtil.readInt2(buffer2, 2));
            assertEquals(0xFFF, SMBUtil.readInt4(buffer2, 24));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatNegativeStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to -1 (0xFFFF when read as unsigned)
            SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        @Override
        public final int readUnsignedShort() throws SmbException {
            if (read(tmp, 0, 2) < 0) {
                throw new SmbException("EOF");
            }
            return Encdec.dec_uint16be(tmp, 0) & 0xFFFF;
        }
    
        @Override
        public final char readChar() throws SmbException {
            if (read(tmp, 0, 2) < 0) {
                throw new SmbException("EOF");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
              | ((bytes[3] & 0xFF) << 24);
        }
    
        @Override
        public long asLong() {
          checkState(
              bytes.length >= 8,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top