Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 580 for Unicode (0.34 sec)

  1. 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)
  2. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            domainInfo.sid.sub_authority_count = 2;
            domainInfo.sid.sub_authority = new int[] { 21, 12345 };
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
            NdrBuffer encodeBuffer = new NdrBuffer(buffer, 0);
            domainInfo.encode(encodeBuffer);
    
            // Decode from buffer
            NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen_test.go

    	v := BucketReplicationStat{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBucketReplicationStat Msgsize() is inaccurate")
    	}
    
    	vn := BucketReplicationStat{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen_test.go

    	v := ChecksumInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeChecksumInfo Msgsize() is inaccurate")
    	}
    
    	vn := ChecksumInfo{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @Test
            @DisplayName("Should encode multiple hash algorithms with salt")
            void testEncodeMultipleHashAlgosWithSalt() {
                int[] hashAlgos = { 0x01, 0x02, 0x03 };
                byte[] salt = { 0x0A, 0x0B };
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                int bytesWritten = context.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode method with valid destination")
        void testEncodeWithValidDestination() {
            // Given
            byte[] dst = new byte[256];
            int dstIndex = 0;
            int expectedLength = 50;
    
            when(messageBlock.encode(dst, dstIndex)).thenReturn(expectedLength);
    
            // When
            int actualLength = messageBlock.encode(dst, dstIndex);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_test.go

    	"testing"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func BenchmarkDecodeVolInfoMsgp(b *testing.B) {
    	v := VolInfo{
    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        @Test
        @DisplayName("Test multiple encode operations")
        void testMultipleEncodeOperations() {
            long endOfFile = 0x1234567890ABCDEFL;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            // Encode multiple times to verify consistency
            byte[] buffer1 = new byte[8];
            byte[] buffer2 = new byte[8];
    
            int bytes1 = info.encode(buffer1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. 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)
  10. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodensScannerOptions Msgsize() is inaccurate")
    	}
    
    	vn := nsScannerOptions{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top