- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 692 for Scopes (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
public class ListReplaceAllTester<E> extends AbstractListTester<E> { @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() { getList().replaceAll(e -> samples.e3()); expectContents(Collections.nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
} if (lhs == null) { // lhs (null) comes just before justAfterNull. // If rhs is b, lhs comes first. if (rhs.equals(justAfterNull)) { return -1; } return justAfterNull.compareTo(rhs); } if (rhs == null) { // rhs (null) comes just before justAfterNull. // If lhs is b, rhs comes first. if (lhs.equals(justAfterNull)) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Denotes that a bean should be created as a singleton instance. * <p> * Singleton-scoped beans are instantiated once and reused throughout the entire * Maven execution. This scope should be used for stateless services or components * that can be safely shared across the entire build process. * <p> * Example usage: * <pre> * {@literal @}Singleton
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an * iterator (used as the target iterator). * * <p>This IteratorTester makes copies of the master so that it can later verify that {@link * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code * remove()}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
builder.add("baz"); assertTrue(list.array != builder.contents); } @SuppressWarnings("ModifiedButNotUsed") @GwtIncompatible // actually allocates nCopies @J2ktIncompatible // actually allocates nCopies public void testAddOverflowCollection() { ImmutableList.Builder<String> builder = ImmutableList.builder(); for (int i = 0; i < 100; i++) { builder.add("a"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
docs_src/extra_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 356 bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Whether to force Unicode usage */ boolean FORCE_UNICODE = Config.getBoolean("jcifs.smb1.smb.client.useUnicode", false); /** Whether to use NT status codes */ boolean USE_NTSTATUS = Config.getBoolean("jcifs.smb1.smb.client.useNtStatus", true); /** Whether signing is preferred */ boolean SIGNPREF = Config.getBoolean("jcifs.smb1.smb.client.signingPreferred", false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java
* trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution * scoped components. * </p> * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice. * * @see org.apache.maven.execution.MojoExecutionListener * @since 3.1.2 */
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
String scope = "testScope"; when(nameServiceClient.getNbtByName(host, type, scope)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope)); verify(nameServiceClient, times(1)).getNbtByName(host, type, scope); } @Test void testGetNbtByName_String() throws UnknownHostException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java
protected final MojoExecutionScope scope; public MojoExecutionScopeModule(MojoExecutionScope scope) { this.scope = scope; } @Override protected void configure() { bindScope(MojoExecutionScoped.class, scope); // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope); bind(MojoExecutionScope.class).toInstance(scope); bind(MavenProject.class)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0)