Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 449 for decodeId (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0);
            assertNotNull(decoded);
            assertEquals(original.getAddress(), decoded.getAddress());
            assertEquals(original.getLinkSpeed(), decoded.getLinkSpeed());
            assertEquals(original.getInterfaceIndex(), decoded.getInterfaceIndex());
            assertEquals(original.getCapability(), decoded.getCapability());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
      /** True if the default value should be used if this value is absent during decoding. */
      val isOptional: Boolean = false,
      /** The value to return if this value is absent. Undefined unless this is optional. */
      val defaultValue: T? = null,
      /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         */
        public void enc_ndr_small(final int s) {
            this.buf[this.index] = (byte) (s & 0xFF);
            advance(1);
        }
    
        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = this.buf[this.index] & 0xFF;
            advance(1);
            return val;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength);
    
            // When
            int encoded = messageBlock.encode(buffer, encodeIndex);
            int decoded = messageBlock.decode(buffer, decodeIndex);
    
            // Then
            assertEquals(encodeLength, encoded);
            assertEquals(decodeLength, decoded);
            verify(messageBlock).encode(buffer, encodeIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        /**
         * Decodes a Base64 string to bytes.
         *
         * @param base64String the Base64 string to decode
         * @return the decoded bytes, or null if input is null
         */
        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Decodes a similar document hash from its compressed and encoded form.
         * Reverses the encoding process applied by encodeSimilarDocHash.
         *
         * @param hash the encoded hash string to decode
         * @return the decoded hash string, or the original hash if decoding fails
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare", "Decoded Remark");
    
            shareInfo1.decode(mockNdrBuffer);
    
            assertEquals("DecodedShare", shareInfo1.netname);
            assertEquals(2, shareInfo1.type);
            assertEquals("Decoded Remark", shareInfo1.remark);
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer, times(3)).dec_ndr_long();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                    logger.debug("Failed to put {}:{}", key, value, e);
                }
            }
        }
    
        /**
         * Decodes MIME-encoded text.
         *
         * @param value the encoded text to decode
         * @return the decoded text or empty string if decoding fails
         */
        protected String getDecodeText(final String value) {
            if (value == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                byte[] buffer = new byte[bufferSize];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                int decoded = info.decode(buffer, 0, Math.min(bufferSize, 24));
    
                assertEquals(24, decoded);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/Base64Test.java

        }
    
        @ParameterizedTest(name = "decode({1}) -> {2}")
        @MethodSource("decodeProvider")
        void testDecode(String encoded, byte[] expected) {
            // Act
            byte[] actual = Base64.decode(encoded);
            // Assert
            assertArrayEquals(expected, actual, "Base64.decode should return original bytes");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top