Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 640 for unicode (0.04 sec)

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

            this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6);
            return 10;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            if (this.largeFile) {
                SMBUtil.writeInt2(this.pid, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

            this.timeoutSpecified = true;
            this.timeout = timeout;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
            SMBUtil.writeInt8(offset, dst, dstIndex);
            SMBUtil.writeInt4(token, dst, dstIndex + 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        }
    
        @Test
        void testEncode() throws NdrException {
            // Create an NdrSmall object with a specific value
            NdrSmall ndrSmall = new NdrSmall(100);
    
            // Call the encode method
            ndrSmall.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_small was called with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_small(100);
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/iam/identity-manager-plugin.go

    package main
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"net/http"
    )
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

         */
        @Override
        public int size() {
            return 40;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeTime(this.createTime, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        public int getContextType() {
            return CONTEXT_ID;
        }
    
        /**
         * Get the context data
         *
         * @return encoded context data
         */
        public byte[] getData() {
            // Encode the context data
            byte[] data = new byte[20]; // 2 + 2 + 4 + 4 + 4 + 4
    
            int idx = 0;
            SMBUtil.writeInt2(transformCount, data, idx);
            idx += 2;
            SMBUtil.writeInt2(reserved1, data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

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

                for (final LockingAndXRange lockingAndXRange : this.unlocks) {
                    dstIndex += lockingAndXRange.encode(dst, dstIndex);
                }
            }
            if (this.locks != null) {
                for (final LockingAndXRange lockingAndXRange : this.locks) {
                    dstIndex += lockingAndXRange.encode(dst, dstIndex);
                }
            }
            return start - dstIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[5]);
            assertEquals((byte) 0x00, dst[6]);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should encode request buffer")
        void testWriteParametersWireFormat() throws Exception {
            // Given
            String filename = "\\\\server\\share";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top