- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,930 for isinstance (0.07 seconds)
-
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
@Nullable Integer expectedNodeCount = null; /** * Creates a new instance with the specified edge directionality. * * @param directed if true, creates an instance for graphs whose edges are each directed; if * false, creates an instance for graphs whose edges are each undirected. */ AbstractGraphBuilder(boolean directed) { this.directed = directed; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 1.4K bytes - Click Count (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 */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* @return this Ansi instance */ public Ansi cursorToColumn(final int x) { return appendEscapeSequence('G', Math.max(1, x)); } /** * Moves the cursor up. If the parameter y is negative it moves the cursor down. * * @param y the number of lines to move up * @return this Ansi instance */ public Ansi cursorUp(final int y) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 23.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} /** * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve * POM expressions, then re-parse into the resolved Model instance. * <p> * <b>NOTE:</b> This will result in a different instance of Model being returned!!! * * @param model The inbound Model instance, to serialize and reference for expression resolutionCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.6K bytes - Click Count (0) -
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() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
ProjectBuilderRequestBuilder() {} /** * Sets the Maven session for this request. * * @param session the Maven session * @return this builder instance */ public ProjectBuilderRequestBuilder session(Session session) { this.session = session; return this; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/tr/docs/advanced/advanced-dependencies.md
## Instance'ı parametreleştirme { #parameterize-the-instance } Ve şimdi, dependency'yi "parametreleştirmek" için kullanacağımız instance parametrelerini tanımlamak üzere `__init__` kullanabiliriz: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *} Bu durumda **FastAPI**, `__init__` ile asla uğraşmaz veya onu önemsemez; onu doğrudan kendi kodumuzda kullanırız. ## Bir instance oluşturma { #create-an-instance }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
* @author Harry Heymann * @since 2.0 */ @GwtCompatible public interface Supplier<T extends @Nullable Object> { /** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type */ @ParametricNullness T get(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
} @J2ktIncompatible @GwtIncompatible // threads public void testRenaming() throws Exception { String oldName = Thread.currentThread().getName(); Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable = () -> { assertThat(Thread.currentThread().getName()).isEqualTo(newName.get()); return null; };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
} @J2ktIncompatible @GwtIncompatible // threads public void testRenaming() throws Exception { String oldName = Thread.currentThread().getName(); Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable = () -> { assertThat(Thread.currentThread().getName()).isEqualTo(newName.get()); return null; };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0)