Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 660 for IsList (0.05 seconds)

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

    import static com.google.common.collect.Lists.transform;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.nCopies;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

            // Default behavior when disallowCompound is null
            assertTrue(config.isAllowCompound("AnyCommand"));
    
            // Set disallowCompound
            config.disallowCompound = new HashSet<>(Arrays.asList("Command1", "Command2"));
    
            assertFalse(config.isAllowCompound("Command1"));
            assertFalse(config.isAllowCompound("Command2"));
            assertTrue(config.isAllowCompound("Command3"));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       * <p><b>Note:</b> when possible, you should represent your data as an {@link ImmutableLongArray}
       * instead, which has an {@link ImmutableLongArray#asList asList} view.
       *
       * @param backingArray the array to back the list
       * @return a list view of the array
       */
      public static List<Long> asList(long... backingArray) {
        if (backingArray.length == 0) {
          return Collections.emptyList();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(sendWR)).execute().free();
    
                log.debug("DiSNI RDMA send completed, {} bytes", data.remaining());
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

    public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}")
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {false, ElementOrder.unordered()},
              {true, ElementOrder.unordered()},
              {false, ElementOrder.stable()},
              {true, ElementOrder.stable()},
            });
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            OrArtifactFilter filter1 = new OrArtifactFilter();
    
            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null), "Expected " + filter1 + " to not equal " + null);
            assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.AbstractContainerTester;
    import com.google.common.collect.testing.SampleElements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            when(mockConfig.getNetbiosSndBufSize()).thenReturn(576);
            when(mockConfig.getNetbiosRcvBufSize()).thenReturn(576);
            when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_DNS)); // Only DNS, no broadcast
            when(mockConfig.getNetbiosHostname()).thenReturn("TESTHOST");
            when(mockConfig.getNetbiosScope()).thenReturn(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

        return map.keyIterator();
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return map.containsKey(object);
      }
    
      @Override
      K get(int index) {
        return map.entrySet().asList().get(index).getKey();
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

    /**
     */
    public class ExclusionSetFilter implements ArtifactFilter {
        private Set<String> excludes;
    
        public ExclusionSetFilter(String[] excludes) {
            this.excludes = new LinkedHashSet<>(Arrays.asList(excludes));
        }
    
        public ExclusionSetFilter(Set<String> excludes) {
            this.excludes = excludes;
        }
    
        @Override
        public boolean include(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top