- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 873 for object6 (0.29 seconds)
-
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) -
tests/migrate_test.go
t.Errorf("Open err:%v", err) } type Object1 struct{} type Object2 struct { Field1 string } type Object3 struct { Field2 string } db.Migrator().DropTable("objects") err = db.Table("objects").AutoMigrate(&Object1{}) if err != nil { t.Errorf("AutoMigrate err:%v", err) } err = db.Table("objects").AutoMigrate(&Object2{}) if err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K 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) -
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.7K 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) -
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) -
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/collect/HashBiMap.java
@Override public boolean containsKey(@Nullable Object key) { Object obverseValue = key; return obverse.containsValue(obverseValue); } @Override public boolean containsValue(@Nullable Object value) { Object obverseKey = value; return obverse.containsKey(obverseKey); } @Override public @Nullable K get(@Nullable Object key) { Object obverseValue = key;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
.testEquals(); } public void testHashCode() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); int expected = Objects.hash("foo", 1, 'a') + Objects.hash("bar", 1, 'b') + Objects.hash("foo", 3, 'c'); assertEquals(expected, table.hashCode()); } public void testToStringSize1() { table = create("foo", 1, 'a');
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.6K bytes - Click Count (0)