Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for pairs (0.02 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            List<AvPair> pairs = AvPairs.decode(fullData);
    
            assertNotNull(pairs, "Decoded pairs should not be null");
            assertEquals(1, pairs.size(), "Should have decoded one pair");
    
            AvPair pair = pairs.get(0);
            assertEquals(AvPair.MsvAvFlags, pair.getType(), "Pair type should be MsvAvFlags");
            assertTrue(pair instanceof AvFlags, "Should be decoded as AvFlags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

         *
         * @param pairs the list of AV pairs to modify
         * @param rep the replacement AV pair
         */
        public static void replace(final List<AvPair> pairs, final AvPair rep) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
        /**
         * Encodes a list of AV pairs into byte array format
         *
         * @param pairs the list of AV pairs to encode
         * @return encoded avpairs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/StringsTest.java

        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uD8ABxyz"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            List<AvPair> pairs = new LinkedList<>();
            pairs.add(new AvTargetName("TARGET"));
            pairs.add(new AvTimestamp(System.currentTimeMillis()));
            pairs.add(new AvFlags(0));
            pairs.add(new AvSingleHost(new byte[48])); // Dummy single host data
    
            type2.setTargetInformation(AvPairs.encode(pairs));
    
            return type2;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvPair.java

        private final byte[] raw;
    
        /**
         * Constructs an AV pair with type and raw data
         * @param type the AV pair type
         * @param raw the raw data bytes
         */
        public AvPair(final int type, final byte[] raw) {
            this.type = type;
            this.raw = raw;
        }
    
        /**
         * Gets the AV pair type
         * @return the type
         */
        public final int getType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001.py hl[4,11,15:18] *}
    
    /// note
    
    Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    Also, before that, in previous versions, the `request` object was passed as part of the key-value pairs in the context for Jinja2.
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          Comparator<Entry<K, V>> entryComparator(@Nullable Comparator<? super K> keyComparator) {
        return new EntryComparator<K, V>(keyComparator);
      }
    
      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvFlags.java

    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV (Attribute-Value) pair representing flags information.
     * Contains flag values used in NTLM authentication attribute-value pairs.
     *
     * @author mbechler
     */
    public class AvFlags extends AvPair {
    
        /**
         * Constructs an AV flags pair from raw bytes
         * @param raw the raw flag bytes
         */
        public AvFlags(final byte[] raw) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DosErrorTest.java

        // Returns -1 if the DOS code is not mapped.
        private static int findNtStatusOrMinusOne(int dosCode) {
            for (int[] pair : DosError.DOS_ERROR_CODES) {
                // each pair is [dosCode, ntStatus]
                if (pair != null && pair.length == 2 && pair[0] == dosCode) {
                    return pair[1];
                }
            }
            return -1;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * associated with a key and then add the key back to the multimap, that key will come last in the
     * key iteration order.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top