Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 554 for decoded (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

        public void setInterfaces(List<NetworkInterfaceInfo> interfaces) {
            this.interfaces = interfaces;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) {
            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    _src = _src.deferred;
                    root_directory.decode(_src);
    
                }
                if (_object_namep != 0) {
                    if (object_name == null) { /* YOYOYO */
                        object_name = new rpc.unicode_string();
                    }
                    _src = _src.deferred;
                    object_name.decode(_src);
    
                }
                if (_security_quality_of_servicep != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            SMBUtil.writeInt2(20, buffer, 42); // byteCount
    
            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals(4, testBlock.wordCount);
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test decode with retain payload")
        void testDecodeWithRetainPayload() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            // Call the decode method
            ndrLong.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_long was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_long();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

            return stream(getRoles()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            return stream(getGroups()).get(stream -> stream.map(this::decode).toArray(n -> new String[n]));
        }
    
        private String decode(final String value) {
            return new String(Base64.getDecoder().decode(value), Constants.CHARSET_UTF_8);
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            int bytesEncoded = originalInfo.encode(buffer, 0);
    
            // When - Decode
            FileBasicInfo decodedInfo = new FileBasicInfo();
            int bytesDecoded = decodedInfo.decode(buffer, 0, bytesEncoded);
    
            // Then
            assertEquals(40, bytesEncoded);
            assertEquals(36, bytesDecoded); // decode returns 36, encode returns 40
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package.
     *
     * The tests use small stub subclasses to drive encode/decode paths and
     * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling.
     */
    class AndXServerMessageBlockTest {
    
        /**
         * Test stub for AndXServerMessageBlock to control read/write logic.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.java

                }
                _dst.enc_ndr_long(this.access_mask);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                this.handle.decode(_src);
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect4 operation for establishing a connection to the SAM database.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                }
                _dst.enc_ndr_long(access_mask);
            }
    
            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                handle.decode(_src);
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect4 operation for establishing a connection to the SAM database.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top