Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 298 for copyBuf (0.06 sec)

  1. android/guava/src/com/google/common/collect/ArrayTable.java

      private final @Nullable V[][] array;
    
      private ArrayTable(Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        this.rowList = ImmutableList.copyOf(rowKeys);
        this.columnList = ImmutableList.copyOf(columnKeys);
        checkArgument(rowList.isEmpty() == columnList.isEmpty());
    
        /*
         * TODO(jlevy): Support only one of rowKey / columnKey being empty? If we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        return copyOf(multimap, null);
      }
    
      private static <K, V> ImmutableSetMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap,
          @CheckForNull Comparator<? super V> valueComparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      public void validateNetworkState() {
        validateNetwork(network);
      }
    
      static <N, E> void validateNetwork(Network<N, E> network) {
        assertStronglyEquivalent(network, Graphs.copyOf(network));
        assertStronglyEquivalent(network, ImmutableNetwork.copyOf(network));
    
        String networkString = network.toString();
        assertThat(networkString).contains("isDirected: " + network.isDirected());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.keys = Arrays.copyOf(keys, newCapacity);
        this.values = Arrays.copyOf(values, newCapacity);
        long[] entries = this.entries;
        int oldCapacity = entries.length;
        entries = Arrays.copyOf(entries, newCapacity);
        if (newCapacity > oldCapacity) {
          Arrays.fill(entries, oldCapacity, newCapacity, UNSET);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestOutputStream.java

        this(out, Arrays.asList(options));
      }
    
      public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(out));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        throwIf(closed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

      }
    
      static <N, E> UndirectedNetworkConnections<N, E> ofImmutable(Map<E, N> incidentEdges) {
        return new UndirectedNetworkConnections<>(ImmutableBiMap.copyOf(incidentEdges));
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values());
      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestByteSource.java

      private boolean inputStreamOpened;
      private boolean inputStreamClosed;
    
      TestByteSource(byte[] bytes, TestOption... options) {
        this.bytes = checkNotNull(bytes);
        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AllEqualOrdering.java

        return Lists.newArrayList(iterable);
      }
    
      @Override
      public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) {
        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/TestByteSource.java

      private boolean inputStreamOpened;
      private boolean inputStreamClosed;
    
      TestByteSource(byte[] bytes, TestOption... options) {
        this.bytes = checkNotNull(bytes);
        this.options = ImmutableSet.copyOf(options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return inputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
        return inputStreamClosed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AllEqualOrdering.java

        return Lists.newArrayList(iterable);
      }
    
      @Override
      public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) {
        return ImmutableList.copyOf(iterable);
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public <S extends @Nullable Object> Ordering<S> reverse() {
        return (Ordering<S>) this;
      }
    
      private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:24:26 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top