- Sort Score
- Num 10 results
- Language All
Results 2751 - 2760 of 3,736 for onea (0.03 seconds)
-
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
name: Feature Addition Request description: I want to add a new feature labels: ["type=addition"] body: - type: markdown attributes: value: > Filing feature requests is one of the most popular ways to contribute to Guava. Be aware, though: most feature requests are not accepted, even if they're suggested by a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from ourCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
@DisplayName("close() clears pending element and hasNext() becomes false") void closeClearsNext() throws Exception { SmbFile parent = newParent(); List<FileEntry> entries = Collections.singletonList(entry("one", SmbConstants.TYPE_SHARE)); ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null); assertTrue(it.hasNext()); it.close(); assertFalse(it.hasNext());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertSame(c, second, "Second get should return second cached buffer"); assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)"); assertEquals(3, third.length, "Allocated buffer length matches configured maximum size"); } // Parameterized: exercise small variations of cache size for a simple reuse cycle @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.gradle.internal.conventions;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 11 07:30:51 GMT 2021 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
@SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // Another variant of Double Checked Locking. // // We use two volatile reads. We could reduce this to one by // putting our fields into a holder class, but (at least on x86) // the extra memory consumption and indirection are more // expensive than the extra volatile reads. long nanos = expirationNanos;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* {@code iterator().remove()} of an unmodifiable list could throw either {@link * IllegalStateException} or {@link UnsupportedOperationException}. Note that iterator * implementations should always throw one of the exceptions in a {@code PermittedExceptions} * instance, since {@code PermittedExceptions} is thrown only when a method call is invalid. * * <p>This class is accessible but not supported in GWT as it references {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 20.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} finally { joinPool(e); } } private static final String TEST_STRING = "a test string"; /** invokeAny(c) returns result of some task in c if at least one completes */ public void testInvokeAnyImpl() throws Exception { ListeningExecutorService e = newDirectExecutorService(); try { List<Callable<String>> l = new ArrayList<>(); l.add(() -> TEST_STRING);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableDoubleArray.copyOf(new double[0])) .isSameInstanceAs(ImmutableDoubleArray.of()); } public void testCopyOf_array_nonempty() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* java.util.concurrent}, {@code java.util.regex}, {@code com.google.common.base}, {@code * com.google.common.collect} and {@code com.google.common.primitives}. In addition, if the type * exposes at least one public static final constant of the same type, one of the constants will be * used; or if the class exposes a public parameter-less constructor then it will be "new"d and * returned. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0)