Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 836 for isEmpty (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(model, "model cannot be null");
    
            String encoding = model.getModelEncoding();
            if (encoding == null || encoding.isEmpty()) {
                encoding = "UTF-8";
            }
    
            try (Writer out = new OutputStreamWriter(output, encoding)) {
                write(out, options, model);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        int subMapSize = subMap.size();
        subMap.clear();
        assertEquals(map.size(), oldSize - subMapSize);
        assertTrue(subMap.isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertNull(testTable.get('a', 2));
        assertNull(testTable.get('A', 1));
        assertNull(testTable.get('A', 2));
      }
    
      public void testIsEmpty() {
        assertFalse(testTable.isEmpty());
      }
    
      public void testSize() {
        assertEquals(1, testTable.size());
      }
    
      public void testValues() {
        assertThat(testTable.values()).contains("blah");
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          "Unexpected trust managers: ${result.contentToString()}"
        }
    
        val trustManager = result[0] as X509TrustManager
    
        return when {
          insecureHosts.isEmpty() -> trustManager
          Platform.isAndroid -> InsecureAndroidTrustManager(trustManager, insecureHosts)
          else -> InsecureExtendedTrustManager(trustManager as X509ExtendedTrustManager, insecureHosts)
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") },
        canRunTogether: (T, T) -> Boolean = { _, _ -> true }
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
        }
        if (expectedBucketNumber == 1) {
            return listOf(smallElementAggregateFunction(list))
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 05:17:44 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

            for (E e : set2) {
              if (!set1.contains(e)) {
                size++;
              }
            }
            return size;
          }
    
          @Override
          public boolean isEmpty() {
            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        protected int defaultRowSize = 100;
    
        protected long requestInterval = 500;
    
        public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) {
            if (docList.isEmpty()) {
                return;
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. api/maven-api-metadata/src/main/mdo/metadata.mdo

                            // never convert from legacy to new format if either source or target is legacy format
                            if ( !v.getSnapshotVersions().isEmpty() )
                            {
                                for ( SnapshotVersion sv : versioning.getSnapshotVersions() )
                                {
                                    String key = getSnapshotVersionKey( sv );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertTrue(FluentIterable.<String>from(Collections.<String>emptyList()).isEmpty());
        assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty());
      }
    
      public void testToList() {
        assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList());
      }
    
      public void testToList_empty() {
        assertTrue(fluent().toList().isEmpty());
      }
    
      public void testToSortedList_withComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

      }
    
      /** Test how [HttpUrl] does against the web platform test suite.  */
      @ArgumentsSource(TestDataParamProvider::class)
      @ParameterizedTest
      fun httpUrl(testData: WebPlatformUrlTestData) {
        if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top