Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 333 for 0x08 (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

            dstIndex += 10;
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/StringsTest.java

                System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length);
                bufferWithTermination[stringBytes.length] = 0x00;
                bufferWithTermination[stringBytes.length + 1] = 0x00;
    
                // When
                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            for (final String dialect : this.dialects) {
                bos.write(0x02);
                try {
                    bos.write(Strings.getASCIIBytes(dialect));
                } catch (final IOException e) {
                    throw new RuntimeCIFSException(e);
                }
                bos.write(0x0);
            }
    
            System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComCreateDirectory.java

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        }
        
        public static class WitnessIPAddress {
            private final InetAddress address;
            private final int flags;
            
            public static final int IPV4 = 0x01;
            public static final int IPV6 = 0x02;
            
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            writeInt2(count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(b, off, dst, dstIndex, count);
            dstIndex += count;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. cmd/xl-storage-errors.go

    		}
    		return false
    	}
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    		var errno syscall.Errno
    		if errors.As(pathErr.Err, &errno) {
    			// ERROR_PATH_NOT_FOUND
    			return errno == 0x03
    		}
    	}
    	return false
    }
    
    // Check if the given error corresponds to the specific ERROR_INVALID_HANDLE for windows
    func isSysErrHandleInvalid(err error) bool {
    	if runtime.GOOS != globalWindowsOSName {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(2, written, "setup packet should write 2 bytes");
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand");
            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
        @Test
        @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian")
        void testWriteParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void setup() throws GeneralSecurityException {
                digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
                data = new byte[128];
                Arrays.fill(data, (byte) 0x00);
    
                // Set up mock messages
                request = mock(CommonServerMessageBlock.class);
                response = mock(CommonServerMessageBlock.class);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic
            name = "\\PIPE\\LANMAN";
    
            maxParameterCount = 8;
            maxDataCount = 16384;
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        void reset(final int key, final String lastName) {
            super.reset();
            this.lastName = lastName;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top