Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for 0xAA (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
            Smb2CloseRequest alternatingRequest = new Smb2CloseRequest(mockConfig, alternatingFileId, testFileName);
            testFileIdInRequest(alternatingRequest, alternatingFileId);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
            Smb2FlushRequest alternatingRequest = new Smb2FlushRequest(mockConfig, alternatingFileId);
            testFileIdInRequest(alternatingRequest, alternatingFileId);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int readDataAvailable = 256;
            int numberOfMessages = 5;
            int messageLength = 128;
            byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 };
    
            // Write values to buffer at offset
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

                int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY;
                byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
                byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC };
    
                NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
                byte[] firstEncoding = original.toByteArray();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    patternKey[i] = (byte) ((i % 2 == 0) ? 0xAA : 0x55);
                }
                SrvCopychunkCopy copy = new SrvCopychunkCopy(patternKey);
                byte[] buffer = new byte[100];
    
                // When
                copy.encode(buffer, 0);
    
                // Then
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
                    byte expected = (byte) ((i % 2 == 0) ? 0xAA : 0x55);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            Arrays.fill(allOnes, (byte) 0xFF);
            byte[] alternating = new byte[16];
            for (int i = 0; i < alternating.length; i++) {
                alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // All patterns should be accepted
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1_gen.go

    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *ChecksumInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "PartNumber"
    	err = en.Append(0x83, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.PartNumber)
    	if err != nil {
    		err = msgp.WrapError(err, "PartNumber")
    		return
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        void testDeriveKeys_TestVectors() {
            // Given - Use known test vector (simplified for demonstration)
            byte[] testSessionKey = new byte[16];
            Arrays.fill(testSessionKey, (byte) 0xAA);
            byte[] testPreauth = new byte[64];
            Arrays.fill(testPreauth, (byte) 0xBB);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.Started)
    	if err != nil {
    		err = msgp.WrapError(err, "Started")
    		return
    	}
    	// write "LastUpdate"
    	err = en.Append(0xaa, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 24.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            SMBUtil.writeInt4(0, buffer, bodyStart + 12);
    
            // Write test data
            byte[] testData = new byte[dataLength];
            for (int i = 0; i < dataLength; i++) {
                testData[i] = (byte) (0xAA + i);
            }
            System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength);
    
            // Use reflection to set headerStart
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top