Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 284 for 0xFF (0.02 sec)

  1. 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)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static Stream<Arguments> provideFidTestCases() {
            return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00),
                    Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF),
                    Arguments.of(0x1234, (byte) 0x34, (byte) 0x12));
        }
    
        @Test
        @DisplayName("readSetupWireFormat should return 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UUIDTest.java

                rpcUuid.time_hi_and_version = (short) 0xFFFF;
                rpcUuid.clock_seq_hi_and_reserved = (byte) 0xFF;
                rpcUuid.clock_seq_low = (byte) 0xFF;
                rpcUuid.node = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF };
    
                UUID uuid = new UUID(rpcUuid);
    
                // Act
                String result = uuid.toString();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
            | ((source[offset + 3] & 0xFF) << 24);
      }
    
      /**
       * Indicates that the load and store operations will be very efficient because of use of VarHandle
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.deletePending = (buffer[bufferIndex] & 0xFF) > 0;
            bufferIndex++;
            this.directory = (buffer[bufferIndex++] & 0xFF) > 0;
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    		0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff,
    		0xff, 0xff, 0xff, 0x31, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x50, 0x4b, 0x06, 0x07, 0x00,
    		0x00, 0x00, 0x00, 0x6b, 0x00, 0x00, 0x00, 0x00,
    		0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x50,
    		0x4b, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0xff,
    		0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Arrange
                context = new EncryptionNegotiateContext();
                byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding
                        0x02, 0x00, // 2 ciphers
                        0x01, 0x00, // AES128_CCM
                        0x02, 0x00 // AES128_GCM
                };
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            int readIndex = (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 4] & 0xFF) | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 5] & 0xFF) << 8)
                    | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 6] & 0xFF) << 16)
                    | ((buffer[Smb2Constants.SMB2_HEADER_LENGTH + 7] & 0xFF) << 24);
            assertEquals(fileIndex, readIndex);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    			minor := uint32(dev & 0xffffff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "dragonfly":
    			// Copied from golang.org/x/sys/unix/dev_dragonfly.go.
    			major := uint32((dev >> 8) & 0xff)
    			minor := uint32(dev & 0xffff00ff)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "freebsd":
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        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;
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max share flags
            SMBUtil.writeInt4(0xFFFFFFFF, buffer, 8); // Max capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top