Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 611 for Two (0.02 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

        @Test
        @DisplayName("Should join two elements with delimiter")
        void testJoinTwoElements() {
            String result = StringUtil.join(",", "hello", "world");
            assertEquals("hello,world", result);
        }
    
        @Test
        @DisplayName("Should join multiple elements with delimiter")
        void testJoinMultipleElements() {
            String result = StringUtil.join(",", "one", "two", "three", "four");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * Returns {@literal true} if the two arrays are equal, ignoring the order of elements.
         *
         * @param <T>
         *            the type of the array elements
         * @param array1
         *            the first array
         * @param array2
         *            the second array
         * @return {@literal true} if the two arrays are equal, ignoring the order of elements
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/BigDecimalMath.java

       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Pair.java

        protected T2 second;
    
        /**
         * Creates and returns a pair of two values.
         *
         * @param <T1>
         *            The type of the first value
         * @param <T2>
         *            The type of the second value
         * @param first
         *            The first value
         * @param second
         *            The second value
         * @return A pair of two values
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Each error code mapping contains exactly two ints")
        void testEachPairLength() {
            for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) {
                int[] pair = DosError.DOS_ERROR_CODES[i];
                assertEquals(2, pair.length, String.format("Error mapping at index %d should contain two integers", i));
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableListMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimap.java

       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
       * depending on the implementation. For example, two {@link SetMultimap} instances with the same
       * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // 1. GIVEN
            KerberosAuthData mockAuthData1 = mock(KerberosAuthData.class);
            KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class);
    
            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
       *     long}, i.e. when {@code x > 2^62}
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top