Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 991 for When (0.46 sec)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to
       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      public void testGet() throws ExecutionException {
        when(mock.get("key")).thenReturn(Boolean.TRUE);
        assertSame(Boolean.TRUE, forward.get("key"));
      }
    
      public void testGetUnchecked() {
        when(mock.getUnchecked("key")).thenReturn(Boolean.TRUE);
        assertSame(Boolean.TRUE, forward.getUnchecked("key"));
      }
    
      public void testGetAll() throws ExecutionException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheLoader.java

       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
       * only the entries for {@code keys} will be returned from {@code getAll}.
       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheLoader.java

       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
       * only the entries for {@code keys} will be returned from {@code getAll}.
       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            MavenExecutionRequest req = new DefaultMavenExecutionRequest();
            when(session.getRequest()).thenReturn(req);
    
            ToolchainPrivate basicToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_basicType.createDefaultToolchain()).thenReturn(basicToolchain);
            ToolchainPrivate rareToolchain = mock(ToolchainPrivate.class);
            when(toolchainFactory_rareType.createDefaultToolchain()).thenReturn(rareToolchain);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheStats.java

     *             missCount}.
     *       </ul>
     *   <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
     *   <li>No stats are modified when a cache entry is invalidated or manually removed.
     *   <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of
     *       the cache.
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheStats.java

     *             missCount}.
     *       </ul>
     *   <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
     *   <li>No stats are modified when a cache entry is invalidated or manually removed.
     *   <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of
     *       the cache.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        // ...and then putIfAbsent. Simulate failure on both
        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
    
        // next map.get()
        when(backingMap.get(KEY)).thenReturn(existingZero);
        // since get returned zero, try a replace; that fails due to a simulated race
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            executionRequest.setToolchains(toolchainModels);
            when(session.getRequest()).thenReturn(executionRequest);
            ToolchainPrivate basicPrivate = mock(ToolchainPrivate.class);
            when(basicPrivate.matchesRequirements(ArgumentMatchers.<String, String>anyMap()))
                    .thenReturn(false)
                    .thenReturn(true);
            when(toolchainFactory_basicType.createToolchain(isA(ToolchainModel.class)))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * The error's stacktrace will be output when this error level is enabled.
         *
         * @param content
         * @param error
         */
        void debug(CharSequence content, Throwable error);
    
        /**
         * Send an exception to the user in the <b>debug</b> error level.<br>
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top