Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,160 for Same (0.02 sec)

  1. guava/src/com/google/common/collect/ImmutableMap.java

              newEntries[outI++] = entries[inI];
            }
          }
          return newEntries;
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. The returned map iterates
       * over entries in the same order as the {@code entrySet} of the original map. If {@code map}
       * somehow contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  2. mockwebserver/README.md

    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static boolean[] toArray(Collection<Boolean> collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Booleans.java

       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static boolean[] toArray(Collection<Boolean> collection) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

       * exactly one entry for each distinct element in the multiset (thus it always has the same size
       * as the {@link #elementSet}). The order of the elements in the element set is unspecified.
       *
       * <p>The entry set is backed by the same data as the multiset, so any change to either is
       * immediately reflected in the other. However, multiset changes may or may not be reflected in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeHandleTest.java

         * Verifies that the method returns the correct OEM domain name.
         * @throws CIFSException
         */
        @Test
        void testGetOEMDomainName() throws CIFSException {
            when(smbTreeHandle.getOEMDomainName()).thenReturn("TEST_DOMAIN");
            assertEquals("TEST_DOMAIN", smbTreeHandle.getOEMDomainName(), "OEM domain name should be TEST_DOMAIN");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/federation/lookup/README.md

    be same across the federated deployment, i.e. all the MinIO instances within a federated deployment should use same
    etcd back-end.
    
    #### MINIO_DOMAIN
    
    This is the top level domain name used for the federated setup. This domain name should ideally resolve to a load-balancer
    running in front of all the federated MinIO instances. The domain name is used to create sub domain entries to etcd. For
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append returns the same buffer instance
        public void test_append_returnsSameBuffer() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test";
    
            StringBuilder result = monitorTarget.append(buf, "key", supplier);
            assertSame(buf, result);
        }
    
        // Test appendTimestamp returns the same buffer instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

            CacheBuilder.newBuilder()
                .expireAfterAccess(500000, MILLISECONDS)
                .maximumSize(count)
                .build();
      }
    
      public void testComputeIfAbsent() {
        // simultaneous insertion for same key, expect 1 winner
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfAbsent(key, k -> "value" + n);
            });
        assertEquals(1, cache.size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top