- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bufferSize (0.17 sec)
-
android/guava/src/com/google/common/collect/TopKSelector.java
T[] castBuffer = (T[]) buffer; sort(castBuffer, 0, bufferSize, comparator); if (bufferSize > k) { Arrays.fill(buffer, k, buffer.length, null); bufferSize = k; threshold = buffer[k - 1]; } // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null) T[] topK = Arrays.copyOf(castBuffer, bufferSize); // we have to support null elements, so no ImmutableList for us
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
} public PluginDescriptor build(ReaderSupplier readerSupplier, String source) throws PlexusConfigurationException { try (BufferedReader br = new BufferedReader(readerSupplier.open(), BUFFER_SIZE)) { br.mark(BUFFER_SIZE); XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br); xsr.nextTag(); String nsUri = xsr.getNamespaceURI();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0)