Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 696 for encodes (0.5 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

        class EncodingTests {
    
            @Test
            @DisplayName("Should encode value correctly")
            void testEncode() throws NdrException {
                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
                // Then: Should call enc_ndr_short with masked value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.level);
                final int _descr = this.level;
                _dst.enc_ndr_long(_descr);
                _dst.enc_ndr_referent(this.e, 1);
    
                if (this.e != null) {
                    _dst = _dst.deferred;
                    this.e.encode(_dst);
    
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    				var spHdr block
    				sp2 = formatSPD(sp2, spHdr.Sparse())
    				spb = append(spb, spHdr[:]...)
    			}
    
    			// Update size fields in the header block.
    			realSize := hdr.Size
    			hdr.Size = 0 // Encoded size; does not account for encoded sparse map
    			for _, s := range spd {
    				hdr.Size += s.Length
    			}
    			copy(blk.V7().Size(), zeroBlock[:]) // Reset field
    			f.formatNumeric(blk.V7().Size(), hdr.Size)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                    this.root_directory.encode(_dst);
    
                }
                if (this.object_name != null) {
                    _dst = _dst.deferred;
                    this.object_name.encode(_dst);
    
                }
                if (this.security_quality_of_service != null) {
                    _dst = _dst.deferred;
                    this.security_quality_of_service.encode(_dst);
    
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    // ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b.
    func ContainsAny(b []byte, chars string) bool {
    	return IndexAny(b, chars) >= 0
    }
    
    // ContainsRune reports whether the rune is contained in the UTF-8-encoded byte slice b.
    func ContainsRune(b []byte, r rune) bool {
    	return IndexRune(b, r) >= 0
    }
    
    // ContainsFunc reports whether any of the UTF-8-encoded code points r within b satisfy f(r).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

        }
    
        /**
         * Test case for the encode method.
         * Verifies that the encode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if encoding fails.
         */
        @Test
        void testEncode() throws NdrException {
            // When
            ndrObject.encode(mockBuffer);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		}
    	}
    
    	if opts.WantChecksum != nil {
    		if checksumType.FullObjectRequested() {
    			if opts.WantChecksum.Encoded != checksum.Encoded {
    				err := hash.ChecksumMismatch{
    					Want: opts.WantChecksum.Encoded,
    					Got:  checksum.Encoded,
    				}
    				return oi, err
    			}
    		} else {
    			err := opts.WantChecksum.Matches(checksumCombined, len(parts))
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given
            byte[] buffer = new byte[512];
            int headerStart = 50;
            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(level);
                final int _descr = level;
                _dst.enc_ndr_long(_descr);
                _dst.enc_ndr_referent(e, 1);
    
                if (e != null) {
                    _dst = _dst.deferred;
                    e.encode(_dst);
    
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top