Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,693 for byte2 (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmContext.java

        }
    
        /**
         * Gets the server's NTLM challenge bytes.
         * @return the server challenge bytes
         */
        public byte[] getServerChallenge() {
            return serverChallenge;
        }
    
        /**
         * Gets the signing key for message authentication.
         * @return the signing key bytes
         */
        public byte[] getSigningKey() {
            return signingKey;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Create buffer with exact decode size
            byte[] tempBuffer = new byte[50];
            original.encode(tempBuffer, 0);
    
            // Copy only the first 36 bytes (what decode reads)
            byte[] buffer = new byte[36];
            System.arraycopy(tempBuffer, 0, buffer, 0, 36);
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @Override
        public Hasher putByte(byte b) {
          update(1, b & 0xFF);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          checkPositionIndexes(off, off + len, bytes.length);
          int i;
          for (i = 0; i + 4 <= len; i += 4) {
            update(4, getIntLittleEndian(bytes, off + i));
          }
          for (; i < len; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. cmd/xl-storage_windows_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int namedPipeState = 0x02;
            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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvFlags.java

     *
     * @author mbechler
     */
    public class AvFlags extends AvPair {
    
        /**
         * Constructs an AV flags pair from raw bytes
         * @param raw the raw flag bytes
         */
        public AvFlags(final byte[] raw) {
            super(AvPair.MsvAvFlags, raw);
        }
    
        /**
         * Constructs an AV flags pair from integer flags
         * @param flags the flag values as integer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            byte[] dst = new byte[150];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    
            // Verify subcommand
            assertEquals(SmbComTransaction.NET_SERVER_ENUM3 & 0xFF, (dst[0] & 0xFF) | ((dst[1] & 0xFF) << 8));
    
            // Verify description
            byte[] descr = NetServerEnum2.DESCR[1].getBytes("ASCII");
            byte[] writtenDescr = new byte[descr.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            long previousSessionId = 0x123456789ABCDEF0L;
            byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 };
    
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
            req.setSessionBinding(true);
            byte[] buffer = new byte[512];
    
            // When
            req.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/bytes/reader.go

    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top