Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 449 for decodeId (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

        void testDecode() throws NdrException {
            // Test the decode method
            long decodedValue = 112233445566778L;
            NdrHyper ndrHyper = new NdrHyper(0); // Initialize with a dummy value
    
            // Configure the mock NdrBuffer to return a specific value when dec_ndr_hyper is called
            when(mockNdrBuffer.dec_ndr_hyper()).thenReturn(decodedValue);
    
            // Call the decode method with the mocked NdrBuffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
          unicode = "klmnöpqrst-uvwxy",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                        this.info = new DfsEnumStruct();
                    }
                    this.info.decode(_src);
    
                }
                final int _totalentriesp = _src.dec_ndr_long();
                if (_totalentriesp != 0) {
                    this.totalentries.decode(_src);
    
                }
                this.retval = _src.dec_ndr_long();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // Setup for SamrSamEntry decode chain
                mockDeferredBuffer.deferred = mockDeferredBuffer;
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0);
    
                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode all output parameters
                verify(samArray).decode(mockNdrBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

      private const val PREFIX_5_BITS = 0x1f
      private const val PREFIX_6_BITS = 0x3f
      private const val PREFIX_7_BITS = 0x7f
    
      private const val SETTINGS_HEADER_TABLE_SIZE = 4_096
    
      /**
       * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
       * to use less. We'll put a cap at 16K. This is arbitrary but should be enough for most purposes.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                assertEquals(0, buffer.getNumReferrals());
                assertEquals(0, buffer.getTflags());
            }
        }
    
        @Nested
        @DisplayName("Decode Tests")
        class DecodeTests {
    
            @Test
            @DisplayName("Should decode buffer with no referrals")
            void testDecodeNoReferrals() {
                // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                if (this.netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.netname);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                final int _netnamep = _src.dec_ndr_long();
    
                if (_netnamep != 0) {
                    _src = _src.deferred;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 0);
    
            // Decode with exact length
            int decodedSize = referral.decode(testBuffer, 0, 24);
            assertEquals(24, decodedSize);
    
            // Decode with excess length
            Referral referral2 = new Referral();
            decodedSize = referral2.decode(testBuffer, 0, 512);
            assertEquals(24, decodedSize);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top