- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 617 for Objects (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
V1 extends @Nullable Object, V2 extends @Nullable Object, V3 extends @Nullable Object, V4 extends @Nullable Object, V5 extends @Nullable Object, U extends @Nullable Object> { /** * Applies this function to five inputs, or throws an exception if unable to do so. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
set conventions in a plugin (2). This keeps the underlying object "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be. In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling between plugins. For external plugins, it's difficult for an object to be used outside the application of a plugin, so following...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
architecture/standards/0002-avoid-using-java-serialization.md
# ADR-0002 - Avoid using Java serialization ## Status - ACCEPTED on 2023-12-01 ## Context In Gradle we often need to serialize in-memory objects for caching, or to transmit them across process barriers, etc. Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks: - **Performance:** Java's built-in serialization mechanism is often slower compared to other serialization solutions.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 14:05:45 GMT 2026 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. // this gets the stripes with #getAt(index) for (int i = 0; i < striped.size(); i++) { Object object = striped.getAt(i); assertThat(object).isNotNull(); assertThat(striped.getAt(i)).isSameInstanceAs(object); // idempotent observed.add(object); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks. // this gets the stripes with #getAt(index) for (int i = 0; i < striped.size(); i++) { Object object = striped.getAt(i); assertThat(object).isNotNull(); assertThat(striped.getAt(i)).isSameInstanceAs(object); // idempotent observed.add(object); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@link Objects#requireNonNullElse} instead. For lazy evaluation of * the fallback, use {@link Objects#requireNonNullElseGet Objects.requireNonNullElseGet(first, () * -> second)}}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
sourcesPath.attributes(a -> { a.attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.class, Usage.JAVA_RUNTIME)); a.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, Category.DOCUMENTATION)); a.attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType.class, "gradle-source-folders")); }); sourcesPath.setCanBeConsumed(false);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 19 17:06:32 GMT 2026 - 7.6K bytes - Click Count (0) -
docs/en/docs/how-to/configure-swagger-ui.md
Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions). FastAPI also includes these JavaScript-only `presets` settings: ```JavaScript presets: [ SwaggerUIBundle.presets.apis, SwaggerUIBundle.SwaggerUIStandalonePreset ] ``` These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
} // Test doFilter when WebApiManagerFactory returns null WebApiManager @Test public void test_doFilter_withNullWebApiManager() throws IOException, ServletException { // Setup mock objects HttpServletRequest request = createMockHttpServletRequest(); HttpServletResponse response = createMockHttpServletResponse(); AtomicBoolean chainCalled = new AtomicBoolean(false);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
@Override public Collection<V> create(Object... elements) { K k = ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .sampleKeys() .e0(); Object[] entries = new Object[elements.length]; for (int i = 0; i < elements.length; i++) { @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere. V value = (V) elements[i];Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 26.7K bytes - Click Count (0)