Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 533 for hasNet (0.13 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
        assertFalse(one.hasNext());
    
        one = registry.getSubscribers("");
    
        registry.register(s2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
        assertFalse(one.hasNext());
    
        one = registry.getSubscribers("");
    
        registry.register(s2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        Preconditions.checkArgument(expectedInputSize >= 0);
        return new BufferingHasher(expectedInputSize);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/KerberosTest.java

            KerberosTicket ticket = getKerberosTicket(keytab, principal);
            Set<Object> privCreds = new HashSet<>();
            privCreds.add(ticket);
            return new Subject(false, new HashSet<>(Arrays.asList((Principal) principal)), Collections.EMPTY_SET, privCreds);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
         * Returns ClassLoader used to load extension classes.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.text.SimpleDateFormat;
    import java.util.Arrays;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.HashSet;
    import java.util.Locale;
    import java.util.Set;
    import java.util.regex.Pattern;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.eclipse.aether.artifact.DefaultArtifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

        }
      }
    
      /**
       * Hashes the contents of this byte source using the given hash function.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public HashCode hash(HashFunction hashFunction) throws IOException {
        Hasher hasher = hashFunction.newHasher();
        copyTo(Funnels.asOutputStream(hasher));
        return hasher.hash();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Bar"));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Baz"));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Buck");
        assertEquals(6, all.size());
        assertEquals(5, immut.size());
        assertEquals(5, mut.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top