Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 785 for useEmpty (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

        }
    
        if (enforceOrder) {
          checkForStartEvent(e)
        }
    
        eventSequence.offer(e)
      }
    
      private fun checkForStartEvent(e: ConnectionEvent) {
        if (eventSequence.isEmpty()) {
          assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java)
        } else {
          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.nameFilter = filter;
            final SmbResourceLocator locator = parent.getLocator();
            this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP;
            if (locator.getURL().getHost().isEmpty()) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
            } else if (this.workgroup) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                Set<Artifact> artifacts, List<ArtifactRepository> remoteRepositories, ArtifactFilter filter)
                throws CyclicDependencyException, OverConstrainedVersionException {
            if (artifacts != null && !artifacts.isEmpty()) {
                children = new ArrayList<>(artifacts.size());
    
                for (Artifact a : artifacts) {
                    if (parents.contains(a.getDependencyConflictId())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
            map.clear();
            assertThat(map.isEmpty(), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsValue() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ContiguousSet.java

          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
        assertFalse(CharSource.concat(c1, c2, c3).isEmpty());
    
        CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
        assertTrue(emptyConcat.isEmpty());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableBiMap.java

      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return RegularImmutableMap.get(key, keyTable, mask);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return isEmpty()
            ? ImmutableSet.of()
            : new ImmutableMapEntrySet.RegularEntrySet<K, V>(this, entries);
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        return new ImmutableMapKeySet<>(this);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. 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());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertThat(testTable.get('a', 2)).isNull();
        assertThat(testTable.get('A', 1)).isNull();
        assertThat(testTable.get('A', 2)).isNull();
      }
    
      public void testIsEmpty() {
        assertFalse(testTable.isEmpty());
      }
    
      public void testSize() {
        assertEquals(1, testTable.size());
      }
    
      public void testValues() {
        assertThat(testTable.values()).contains("blah");
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top