Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,386 for Byte (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java

            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.trans.SmbComTransaction#writeParametersWireFormat(byte[], int)
         */
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @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)
  2. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            // SMB_COM_LOGOFF_ANDX = 0x74
            assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX");
        }
    
        @Test
        @DisplayName("constructor with mock andx properly sets andx field")
        void constructorWithMockAndx() {
            // Create a mock ServerMessageBlock
            ServerMessageBlock mockAndx = mock(ServerMessageBlock.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

            this.hashAlgos = hashAlgos;
            this.salt = salt;
        }
    
        /**
         * Default constructor for deserialization.
         */
        public PreauthIntegrityNegotiateContext() {
        }
    
        /**
         * Gets the salt value used for preauth integrity.
         *
         * @return the salt
         */
        public byte[] getSalt() {
            return this.salt;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName));
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
            // Mock the superclass method to control its behavior
            doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.writeBodyWireFormat(dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0x80, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0xa0, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32)));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       */
    
      /** Byte 0 flag for whether this is the final fragment in a message. */
      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
      /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV2 = 32
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            macAddress = new byte[6];
        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readResourceRecordWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

                alignmentBytes = 1; // Need 1 byte of padding for 2-byte alignment
            }
    
            // The value 0xCD should be encoded as a 16-bit value (0x00CD) in little-endian
            byte[] bufferData = buf.getBuffer();
            assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    	if isASCII(s) {
    		return s
    	}
    	b := make([]byte, 0, len(s))
    	for _, c := range s {
    		if c < 0x80 && c != 0x00 {
    			b = append(b, byte(c))
    		}
    	}
    	return string(b)
    }
    
    type parser struct {
    	err error // Last error seen
    }
    
    type formatter struct {
    	err error // Last error seen
    }
    
    // parseString parses bytes as a NUL-terminated C-style string.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2-legacy.go

    package cmd
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // unmarshalV unmarshals with a specific header version.
    func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    	switch v {
    	case 1:
    		return x.unmarshalV1(bts)
    	case 2:
    		x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x}
    		return x2.UnmarshalMsg(bts)
    	case xlHeaderVersion:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top