- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,890 for instance (0.04 sec)
-
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* moved to index "distance", and the element at index {@code i} ends up at index {@code (distance * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Shorts.asList(array), * distance)}, but is considerably faster and avoids allocation and garbage collection. * * <p>The provided "distance" may be negative, which will rotate left.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* moved to index "distance", and the element at index {@code i} ends up at index {@code (distance * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Shorts.asList(array), * distance)}, but is considerably faster and avoids allocation and garbage collection. * * <p>The provided "distance" may be negative, which will rotate left.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertNotSame(impl, renewed, "renew() should return a different instance"); assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials"); } else { assertNull(renewed, "renew() may return null for failed renewal"); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
* system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li> * <li>{@link SessionScoped} - One instance per Maven session</li> * <li>{@link MojoExecutionScoped} - One instance per plugin execution</li> * </ul> * * @see Singleton * @see SessionScoped * @see MojoExecutionScoped * @since 4.0.0 */Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/classes-as-dependencies.md
entonces es un "callable". ## Clases como dependencias Puedes notar que para crear una instance de una clase en Python, utilizas esa misma sintaxis. Por ejemplo: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` En este caso, `fluffy` es una instance de la clase `Cat`. Y para crear `fluffy`, estás "llamando" a `Cat`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
/** * Creates a new object instance from the crawler container. * @return A new instance of the component specified by componentName * @throws Exception if the component cannot be created */ @Override public T create() throws Exception { return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act MsrpcSamrConnect2 msg = new MsrpcSamrConnect2(systemName, accessMask, ph); // Assert - instance should be created and extend proper class assertNotNull(msg); assertTrue(msg instanceof samr.SamrConnect2); assertTrue(msg instanceof DcerpcMessage); } } @Nested @DisplayName("Edge case handling") class EdgeCases { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
item.hashCode(), item.hashCode()); if (!(item instanceof String)) { assertTrue( item + " must not be Object#equals to its Object#toString representation", !item.equals(item.toString())); } } } /** * Class used to test whether equals() correctly handles an instance of an incompatible class.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void close_shouldClosePolicySuccessfully() throws IOException { // Arrange // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0; return null;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)