Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 514 for addUrl (0.14 sec)

  1. guava/src/com/google/common/collect/ForwardingMultiset.java

        add(element, 1);
        return true;
      }
    
      /**
       * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and
       * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
       * {@link #addAll(Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<E> list = new ArrayList<>();
        addAll(list, elements);
        return list;
      }
    
      public static <E extends @Nullable Object> List<E> copyToList(E[] elements) {
        return copyToList(asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
      public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) {
        Set<E> set = new LinkedHashSet<>();
        addAll(set, elements);
        return set;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    var _ ZtunnelServer = &ztunnelServer{}
    
    func newZtunnelServer(addr string, pods PodNetnsCache) (*ztunnelServer, error) {
    	if addr == "" {
    		return nil, fmt.Errorf("addr cannot be empty")
    	}
    
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertTrue(multimap().containsEntry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddAllToMultimap() {
        Collection<V> result = multimap().get(k0());
        assertTrue(result.addAll(singletonList(v3())));
        assertTrue(multimap().containsKey(k0()));
        assertEquals(getNumElements() + 1, multimap().size());
        assertTrue(multimap().containsEntry(k0(), v3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MoreCollectors.java

          } else {
            if (extras.isEmpty()) {
              // Replace immutable empty list with mutable list.
              extras = new ArrayList<>();
            }
            extras.add(other.element);
            extras.addAll(other.extras);
            if (extras.size() > MAX_EXTRAS) {
              extras.subList(MAX_EXTRAS, extras.size()).clear();
              throw multiples(true);
            }
            return this;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        ms.add(Color.BLUE, 3);
        ms.add(Color.YELLOW, 1);
        ms.add(Color.RED, 2);
    
        Set<Object> uniqueEntries = Sets.newIdentityHashSet();
        uniqueEntries.addAll(ms.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

       */
      public static <E extends @Nullable Object> CompactHashSet<E> create(
          Collection<? extends E> collection) {
        CompactHashSet<E> set = createWithExpectedSize(collection.size());
        set.addAll(collection);
        return set;
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the given elements in
       * unspecified order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

            for (MavenProject project : projects) {
                if (whiteList.containsKey(project)) {
                    filtered.add(project);
                } else if (!transitive) {
                    filtered.addAll(upstream ? getUpstreamProjects(project, false) : getDownstreamProjects(project, false));
                }
            }
            return filtered;
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(IllegalArgumentException.class, () -> bazList.add(0, 6));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(ImmutableList.of(7, 8)));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(0, ImmutableList.of(9, 10)));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

            buf.append(":utctime,pid,tags:filecount=5,filesize=64m");
            return jvmOptions(buf.toString());
        }
    
        public ExecJob jvmOptions(final String... options) {
            Collections.addAll(jvmOptions, options);
            return this;
        }
    
        public ExecJob lastaEnv(final String env) {
            lastaEnv = env;
            return this;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top