Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Mitake (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

      @Override
      public int remainingCapacity() {
        return delegate().remainingCapacity();
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public E take() throws InterruptedException {
        return delegate().take();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertEquals("Xhe_Xuick_Xrown_Xox_", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          }
        }
      }
    
      /** Invokes {@code queue.}{@link BlockingQueue#take() take()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static <E> E takeUninterruptibly(BlockingQueue<E> queue) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return queue.take();
            } catch (InterruptedException e) {
              interrupted = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        // together and this really shows the problem of constructing a sensible default configuration but
        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugin in the default lifecycle and create
        // fully populated Plugin objects, including executions with goals and default configuration taken
        // from the plugin.xml inside a plugin.
        //
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertThat(Comparators.max(1, 2, reverse)).isEqualTo(1);
        assertThat(Comparators.max(2, 1, reverse)).isEqualTo(1);
      }
    
      /**
       * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>}
       * instead of {@code Comparator<? super T>}.
       */
      public void testMinMaxWithSupertypeComparator() {
        Comparator<Number> numberComparator =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
                        // Take out basedir expression and the leading slash
                        s = chopLeadingFileSeparator(s.substring(basedirExpr.length()));
                    } else {
                        s = ".";
                    }
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertThat(Comparators.max(1, 2, reverse)).isEqualTo(1);
        assertThat(Comparators.max(2, 1, reverse)).isEqualTo(1);
      }
    
      /**
       * Fails compilation if the signature of min and max is changed to take {@code Comparator<T>}
       * instead of {@code Comparator<? super T>}.
       */
      public void testMinMaxWithSupertypeComparator() {
        Comparator<Number> numberComparator =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      /**
       * Generates test cases for the given combination of scenario and timeouts. For methods that take
       * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For
       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
Back to top