Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2571 - 2580 of 3,911 for extenders (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/FakeTicker.java

     * see {@link #setAutoIncrementStep}.
     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
     * @since 10.0
     */
    @NullMarked
    @GwtCompatible
    public class FakeTicker extends Ticker {
    
      private final AtomicLong nanos = new AtomicLong();
      private volatile long autoIncrementStepNanos;
    
      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetAddTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0()));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionContainsAllTester<E> extends AbstractCollectionTester<E> {
      public void testContainsAll_empty() {
        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    @GwtCompatible
    public abstract class SortedMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
    
      protected SortedMapInterfaceTest(
          boolean allowsNullKeys,
          boolean allowsNullValues,
          boolean supportsPut,
          boolean supportsRemove,
          boolean supportsClear) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
        IncrementingLoader loader = incrementingLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

     *
     * <p>The versions returned by this interface are guaranteed to be in ascending order.</p>
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRangeResolverResult extends Result<VersionRangeResolverRequest> {
    
        /**
         * Gets the exceptions that occurred while resolving the version range.
         *
         * @return The list of exceptions that occurred during resolution, never {@code null}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

       *
       * @since 15.0 (since 12.0 in HashCodes)
       */
      public static HashCode fromInt(int hash) {
        return new IntHashCode(hash);
      }
    
      private static final class IntHashCode extends HashCode implements Serializable {
        final int hash;
    
        IntHashCode(int hash) {
          this.hash = hash;
        }
    
        @Override
        public int bits() {
          return 32;
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ImmutableValueGraph.java

     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    @Immutable(containerOf = {"N", "V"})
    @SuppressWarnings("Immutable") // Extends StandardValueGraph but uses ImmutableMaps.
    public final class ImmutableValueGraph<N, V> extends StandardValueGraph<N, V> {
    
      private ImmutableValueGraph(ValueGraph<N, V> graph) {
        super(ValueGraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.opensearch.core.common.Strings;
    
    import junit.framework.TestCase;
    
    public class SuggesterBuilderTest extends TestCase {
        OpenSearchRunner runner;
    
        @Override
        public void setUp() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Nov 01 13:29:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class TransTransactNamedPipe extends SmbComTransaction {
    
        private final byte[] pipeData;
        private final int pipeFid, pipeDataOff, pipeDataLen;
    
        TransTransactNamedPipe(final int fid, final byte[] data, final int off, final int len) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top