Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 284 for 0xFF (0.02 sec)

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

            this.path = path;
            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            final int c = command & 0xFF;
            // why isn't this just return batchLimits[c]?
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return batchLimits[0];
            case SMB_COM_CREATE_DIRECTORY:
                return batchLimits[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

            h1 = mixH1(h1, mixK1((int) buffer));
            buffer >>>= 32;
            shift -= 32;
          }
        }
    
        @CanIgnoreReturnValue
        @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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        void testDifferentFileIds() {
            // Given
            byte[] fileId1 = new byte[16];
            Arrays.fill(fileId1, (byte) 0x11);
    
            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
            // When & Then for each file ID
            testFileIdWriting(fileId1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

            bufferIndex += 2;
            this.deviceState = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.directory = (buffer[bufferIndex++] & 0xFF) > 0;
            return bufferIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            this.server = server;
            this.path = path;
            this.service = service;
        }
    
        @Override
        protected int getBatchLimit(final Configuration cfg, final byte cmd) {
            final int c = cmd & 0xFF;
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory");
            case SMB_COM_CREATE_DIRECTORY:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                    log.println("session established ok with " + address);
                }
                return;
            case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                final int errorCode = in.read() & 0xFF;
                close();
                throw new NbtException(NbtException.ERR_SSN_SRVC, errorCode);
            case -1:
                throw new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        break;
                    case ServerMessageBlock.SMB_COM_TRANSACTION:
                    case ServerMessageBlock.SMB_COM_TRANSACTION2:
                        switch (((SmbComTransaction) request).subCommand & 0xFF) {
                        case SmbComTransaction.NET_SHARE_ENUM:
                        case SmbComTransaction.NET_SERVER_ENUM2:
                        case SmbComTransaction.NET_SERVER_ENUM3:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertEquals(0x123, buf.dec_ndr_long()); // call_id
        }
    
        @Test
        void testEncodeWithDifferentFlags() throws Exception {
            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils_test.go

    		{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}},
    		{string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                switch (this.sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (log.isDebugEnabled()) {
                        log.debug("session established ok with " + this.address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = this.in.read() & 0xFF;
                    switch (errorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top