Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 1,770 for equal (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Floats.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(
                Arrays.equals(
                    new float[] {(float) 1, (float) 0, (float) 0}, Floats.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        /**
         * Returns the project packaging.
         * <p>
         * Note: unlike in legacy code, logical checks against string representing packaging (returned by this method)
         * are NOT recommended (code like {@code "pom".equals(project.getPackaging)} must be avoided). Use method
         * {@link #getArtifacts()} to gain access to POM or build artifact.
         *
         * @see #getArtifacts()
         */
        @Nonnull
        Packaging getPackaging();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            }
    
            private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) {
                try {
                    if ("org.eclipse.sisu.inject.LazyBeanEntry"
                            .equals(entry.getClass().getName())) {
                        Field f = entry.getClass().getDeclaredField("binding");
                        f.setAccessible(true);
                        Object b = f.get(entry);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                        response = client.prepareSearchScroll(scrollId).setScroll(settings.getScrollTimeout()).execute()
                                .actionGet(settings.getSearchTimeout());
                        if (!scrollId.equals(response.getScrollId())) {
                            SuggestUtil.deleteScrollContext(client, scrollId);
                        }
                        scrollId = response.getScrollId();
                    }
                } finally {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.io.OutputStreamWriter;
    import java.io.Reader;
    import java.io.Writer;
    import java.nio.CharBuffer;
    import java.util.Arrays;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

    import com.google.j2objc.annotations.RetainedLocalRef;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.catching*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicBoolean;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities necessary for working with libraries that supply plain {@link Future} instances. Note
     * that, whenever possible, it is strongly preferred to modify those libraries to return {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Maps#transformValues} when the backing map's views have iterators that don't
     * support {@code remove()}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings({
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    import com.google.common.base.Objects;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top