Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for decodeId (0.08 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /*
         * Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

            dst[di] = (byte) (i >> 24 & 0xFF);
            return 4;
        }
    
        /* Decode integers
         */
    
        /**
         * Decodes a 16-bit unsigned integer from big-endian byte order.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @return the decoded short value
         */
        public static short dec_uint16be(final byte[] src, final int si) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                    notifications.add(notification);
                }
            }
        }
    
        /**
         * Decodes a single notification from the NDR buffer.
         *
         * @param buf the NDR buffer
         * @return the decoded notification
         * @throws NdrException if decoding fails
         */
        private WitnessNotificationResponse decodeNotification(NdrBuffer buf) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Decode
            FileEndOfFileInformation decoded = new FileEndOfFileInformation();
            int decodedBytes = decoded.decode(buffer, 0, 8);
            assertEquals(8, decodedBytes);
    
            // Verify the round trip preserves the value
            // Note: We can't directly access endOfFile field, but toString contains it
            assertEquals(original.toString(), decoded.toString());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                // Decode
                PreauthIntegrityNegotiateContext decoded = new PreauthIntegrityNegotiateContext();
                int decodedSize = decoded.decode(buffer, 0, encodedSize);
    
                // Verify
                assertEquals(encodedSize, decodedSize);
                assertArrayEquals(hashAlgos, decoded.getHashAlgos());
                assertArrayEquals(salt, decoded.getSalt());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(40, bytesWritten);
    
            // Decode to verify encoding
            FileBasicInfo decoded = new FileBasicInfo();
            decoded.decode(buffer, offset, 36);
    
            assertEquals(TEST_CREATE_TIME, decoded.getCreateTime());
            assertEquals(TEST_LAST_ACCESS_TIME, decoded.getLastAccessTime());
            assertEquals(TEST_LAST_WRITE_TIME, decoded.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                if (encoded != null) {
                    String decoded = permissionHelper.decode(encoded);
                    assertNotNull("Decoded value should not be null for: " + value, decoded);
                    assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded);
                }
            }
        }
    
        public void test_encode_withLongValues() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
       * example, extensions type IDs specify what types to use for the corresponding values.
       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                int decoded = decodedContext.decode(buffer, 0, encoded);
    
                assertEquals(encoded, decoded);
                assertArrayEquals(originalCiphers, decodedContext.getCiphers());
            }
    
            @Test
            @DisplayName("Should encode and decode correctly with multiple ciphers")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top