Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,413 for Empty (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        ContiguousSet<Integer> empty = ContiguousSet.create(Range.closedOpen(1, 1), integers());
        assertTrue(empty instanceof EmptyContiguousSet);
        reserializeAndAssert(empty);
    
        ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers());
        assertTrue(regular instanceof RegularContiguousSet);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

    /**
     * GWT emulated version of {@link RegularImmutableList}.
     *
     * @author Hayward Chan
     */
    final class RegularImmutableList<E> extends ForwardingImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<Object>(emptyList());
    
      private final List<E> delegate;
    
      RegularImmutableList(List<E> delegate) {
        // TODO(cpovirk): avoid redundant unmodifiableList wrapping
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/DoublesMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Holder for web specializations of methods of {@code Doubles}. Intended to be empty for regular
     * version.
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 860 bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Holder for extra methods of {@code Objects} only in web. Intended to be empty for regular
     * version.
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 854 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Platform.java

       * ObjectArrays, which is the main caller of this method.)
       */
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testIllegalCreate() {
        Collection<Color> empty = EnumSet.noneOf(Color.class);
        assertThrows(IllegalArgumentException.class, () -> EnumMultiset.create(empty));
      }
    
      public void testCreateEmptyWithClass() {
        Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class);
        ms.add(Color.RED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. okhttp-coroutines/build.gradle.kts

      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    }
    
    mavenPublishing {
      configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 936 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        }
                        String virtualHost = keyMatch.getVirtualHost();
                        if (StringUtil.isBlank(virtualHost)) {
                            virtualHost = StringUtil.EMPTY;
                        }
                        Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> queryMap = keyMatchQueryMap.get(virtualHost);
                        if (queryMap == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

                String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationTest.java

            // Verify content is correct
            assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer);
        }
    
        @Test
        @DisplayName("Test with empty buffers")
        void testWithEmptyBuffers() {
            // Test with empty byte arrays
            byte[] emptyRequestBuffer = new byte[0];
            byte[] emptyResponseBuffer = new byte[0];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top