- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for drained (0.06 sec)
-
android/guava/src/com/google/common/collect/Queues.java
*/ long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; while (added < numElements) { // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) added += q.drainTo(buffer, numElements - added);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
*/ long deadline = System.nanoTime() + unit.toNanos(timeout); int added = 0; while (added < numElements) { // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) added += q.drainTo(buffer, numElements - added);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.2K bytes - Viewed (0) -
src/bytes/buffer.go
c = 2 * cap(b) } b2 := append([]byte(nil), make([]byte, c)...) i := copy(b2, b) return b2[:i] } // WriteTo writes data to w until the buffer is drained or an error occurs. // The return value n is the number of bytes written; it always fits into an // int, but it is int64 to match the [io.WriterTo] interface. Any error // encountered during the write is also returned.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
public static final String MAVEN_VERSION_FILTERS = "maven.versionFilters"; /** * User property for chained LRM: list of "tail" local repository paths (separated by comma), to be used with * {@code org.eclipse.aether.util.repository.ChainedLocalRepositoryManager}. * Default value: <code>null</code>, no chained LRM is used. * * @since 3.9.0 */ @Config
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:24:08 UTC 2024 - 14K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* <ul> * <li>{@link #immutableSortedCopy} * <li>{@link #isOrdered} / {@link #isStrictlyOrdered} * <li>{@link #min} / {@link #max} * </ul> * * <h3>Understanding complex orderings</h3> * * <p>Complex chained orderings like the following example can be challenging to understand. * * <pre>{@code * Ordering<Foo> ordering = * Ordering.natural() * .nullsFirst() * .onResultOf(getBarFunction)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* comes from a data structure supporting efficient indexed random access, typically an array or * list. * * <p>The order of the resulting stream is defined if and only if the order of the original stream * was defined. */ public static <T extends @Nullable Object, R extends @Nullable Object> Stream<R> mapWithIndex( Stream<T> stream, FunctionWithIndex<? super T, ? extends R> function) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
* and model completely decoupled by injecting deep copies rather than the original objects from the profile. * * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>. * @param profile The (read-only) profile whose values should be injected, may be <code>null</code>.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
} } private ReflectionValueExtractor() {} /** * <p>The implementation supports indexed, nested and mapped properties.</p> * <ul> * <li>nested properties should be defined by a dot, i.e. "user.address.street"</li> * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code> * pattern, i.e. "user.addresses[1].street"</li>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
lifecyclesPrinted = true; } // If people are going to make their own lifecycles then we need to tell people how to namespace them correctly // so that they don't interfere with internally defined lifecycles. Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>(); for (Lifecycle lifecycle : getLifeCycles()) { for (String phase : lifecycle.getPhases()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
cni/test/install_k8s_test.go
resultFileName: "YYY-istio-cni.conf", expectedOutputFile: testDataDir + "/expected/YYY-istio-cni.conf", }, { name: "standalone plugin user defined name", preConfFile: "user-defined.conf", resultFileName: "user-defined.conf", expectedOutputFile: testDataDir + "/expected/YYY-istio-cni.conf", }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 23:59:49 UTC 2024 - 7.9K bytes - Viewed (0)