Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,386 for Byte (0.03 sec)

  1. src/main/java/jcifs/smb1/util/RC4.java

         * @param klen the length of the key to use
         */
        public void init(final byte[] key, final int ki, final int klen) {
            s = new byte[256];
    
            for (i = 0; i < 256; i++) {
                s[i] = (byte) i;
            }
    
            for (i = j = 0; i < 256; i++) {
                j = j + key[ki + i % klen] + s[i] & 0xff;
                final byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test decode method
            byte[] buffer = new byte[512];
            int bufferIndex = 0;
            int expectedDecodeLength = 128;
            when(response.decode(buffer, bufferIndex)).thenReturn(expectedDecodeLength);
            assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex));
    
            // Test encode method
            byte[] dst = new byte[512];
            int dstIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/SpnegoToken.java

         */
        protected SpnegoToken() {
        }
    
        private byte[] mechanismToken;
    
        private byte[] mechanismListMIC;
    
        /**
         * Gets the inner mechanism token wrapped in this SPNEGO token
         * @return the mechanism token bytes
         */
        public byte[] getMechanismToken() {
            return this.mechanismToken;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int
    		zb0001, bts, err = msgp.ReadIntBytes(bts)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 71.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[22] = 8; // ACL size (low byte)
            securityDescriptorBytes[23] = 0; // ACL size (high byte)
            securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs
            securityDescriptorBytes[25] = 0; // ACE count (high byte)
            securityDescriptorBytes[26] = 0; // sbz2 (low byte)
            securityDescriptorBytes[27] = 0; // sbz2 (high byte)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (command != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

        /**
         * Creates a security descriptor by decoding from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmContext.java

     */
    
    public class NtlmContext {
    
        NtlmPasswordAuthentication auth;
        int ntlmsspFlags;
        String workstation;
        boolean isEstablished = false;
        byte[] serverChallenge = null;
        byte[] signingKey = null;
        String netbiosName = null;
        int state = 1;
        LogStream log;
    
        /**
         * Creates a new NTLM context for SMB1 authentication.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hasher.java

      /** Equivalent to {@code putByte(b ? (byte) 1 : (byte) 0)}. */
      @CanIgnoreReturnValue
      @Override
      Hasher putBoolean(boolean b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putChar(char c);
    
      /**
       * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In
       * other words, no character encoding is performed; the low byte and high byte of each {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top