Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 298 for copyBuf (0.08 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                        OutputStream err) {
                    this.command = requireNonNull(command, "command");
                    this.commandName = requireNonNull(commandName, "commandName");
                    this.args = List.copyOf(requireNonNull(args, "args"));
                    this.logger = requireNonNull(logger, "logger");
                    this.messageBuilderFactory = requireNonNull(messageBuilderFactory, "messageBuilderFactory");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Network.java

     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
     *
     * <pre>{@code
     * ImmutableNetwork<Integer, MyEdge> immutableGraph = ImmutableNetwork.copyOf(network);
     * }</pre>
     *
     * <p>Instances of {@link ImmutableNetwork} do not implement {@link MutableNetwork} (obviously!) and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
          hashCode.writeBytesTo(bb, 0, bb.length);
    
          assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

          setSucceeds(dstIndex, getSuccessor(srcIndex));
        }
        setLink(srcIndex, 0);
      }
    
      @Override
      void resizeEntries(int newCapacity) {
        super.resizeEntries(newCapacity);
        links = Arrays.copyOf(requireLinks(), newCapacity);
      }
    
      @Override
      int firstEntryIndex() {
        return firstEntry;
      }
    
      @Override
      int adjustAfterRemove(int indexBeforeRemove, int indexRemoved) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

       *     array}, plus {@code element} occupying the last position.
       */
      public static <T extends @Nullable Object> T[] concat(T[] array, @ParametricNullness T element) {
        T[] result = Arrays.copyOf(array, array.length + 1);
        result[array.length] = element;
        return result;
      }
    
      /**
       * Returns an array containing all of the elements in the specified collection; the runtime type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

            MessageDigest mac = Crypto.getHMACT64(sk);
            int seq = SMBUtil.readInt4(mic, 12);
            mac.update(mic, 12, 4); // sequence
            byte[] dgst = mac.digest(data); // data
            byte[] trunc = Arrays.copyOf(dgst, 8);
    
            if ( log.isDebugEnabled() ) {
                log.debug("Digest " + Hexdump.toHexString(dgst));
                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
                    return ImmutableList.copyOf(super.order(insertionOrder)).reverse();
                  }
                })
            .named(parentBuilder.getName() + " descending")
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ReaderInputStream.java

            }
          }
        }
      }
    
      /** Returns a new CharBuffer identical to buf, except twice the capacity. */
      private static CharBuffer grow(CharBuffer buf) {
        char[] copy = Arrays.copyOf(buf.array(), buf.capacity() * 2);
        CharBuffer bigger = CharBuffer.wrap(copy);
        Java8Compatibility.position(bigger, buf.position());
        Java8Compatibility.limit(bigger, buf.limit());
        return bigger;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top