Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,386 for Byte (0.01 sec)

  1. cmd/encryption-v1_test.go

    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-738"},
    		ETag:       "916516b396f0f4d4f2a0e7177557bec4-738",
    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-Q"},
    		ETag:       "",
    		ShouldFail: true, // Q is not a number
    	},
    	{
    		ObjectKey:  [32]byte{},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/PrimitiveSink.java

    @Beta
    public interface PrimitiveSink {
      /**
       * Puts a byte into this sink.
       *
       * @param b a byte
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putByte(byte b);
    
      /**
       * Puts an array of bytes into this sink.
       *
       * @param bytes a byte array
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

        }
    
        @Override
        public long getSize() {
            return 0L;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.createTime = SMBUtil.readTime(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            int newResumeKey = 0x5678;
            String newFilename = "newfile.txt";
    
            trans2FindNext2.reset(newResumeKey, newFilename);
    
            // Verify by writing parameters and checking the buffer
            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Check resume key at offset 6 (after sid and maxItems and informationLevel)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Add some dummy security data at offset 64 from start
            buffer[64] = (byte) 0x4E; // NTLMSSP signature start
            buffer[65] = (byte) 0x54;
            buffer[66] = (byte) 0x4C;
            buffer[67] = (byte) 0x4D;
            buffer[68] = (byte) 0x53;
            buffer[69] = (byte) 0x53;
            buffer[70] = (byte) 0x50;
            buffer[71] = (byte) 0x00;
    
            return buffer;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = new byte[100];
    
            int bytesRead = notifyInfo.decode(buffer, 0, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test decode with non-aligned next entry offset throws exception")
        void testDecodeNonAlignedNextOffset() {
            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(0x01, dst[0], "Data block type");
            assertEquals(3, dst[1] & 0xFF, "Data length low byte");
            assertEquals(0, dst[2] & 0xFF, "Data length high byte");
            assertEquals(2, dst[3], "First data byte");
            assertEquals(3, dst[4], "Second data byte");
            assertEquals(4, dst[5], "Third data byte");
        }
    
        /**
         * Test readParameterWordsWireFormat always returns 0
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        boolean verify(final byte[] data, final int offset, final ServerMessageBlock response) {
            update(macSigningKey, 0, macSigningKey.length);
            int index = offset;
            update(data, index, SmbConstants.SIGNATURE_OFFSET);
            index += SmbConstants.SIGNATURE_OFFSET;
            final byte[] sequence = new byte[8];
            ServerMessageBlock.writeInt4(response.signSeq, sequence, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Test with different fileId patterns
                byte[] zeroFileId = new byte[16];
                Smb2CloseResponse zeroIdResponse = new Smb2CloseResponse(mockConfig, zeroFileId, testFileName);
                assertArrayEquals(zeroFileId, zeroIdResponse.getFileId());
    
                byte[] maxFileId = new byte[16];
                Arrays.fill(maxFileId, (byte) 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

        }
    
        // Helper methods to write data to byte arrays for testing read methods
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
            dst[dstIndex + 2] = (byte) (val >> 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top