- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 222 for settable (0.05 seconds)
-
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
} // Stable order tests // Note: Stable order means that the ordering doesn't change between iterations and versions. // Ideally, the ordering in test should never be updated. @Test public void stableIncidentEdgeOrder_edges_returnsInStableOrder() { assume().that(graph.incidentEdgeOrder().type()).isEqualTo(ElementOrder.Type.STABLE); populateTShapedGraph();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable() * stable} order. * * @throws IllegalArgumentException if {@code incidentEdgeOrder} is not either {@code * ElementOrder.unordered()} or {@code ElementOrder.stable()}. * @since 29.0 */ public <N1 extends N> ValueGraphBuilder<N1, V> incidentEdgeOrder(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
/** * A record representing the result of a single request operation, containing the original request, * the result (if successful), and any error that occurred during processing. * <p> * This class is immutable and thread-safe, suitable for use in concurrent operations. * * @param <REQ> The type of the request * @param <REP> The type of the response, which must extend {@code Result<REQ>} * @param request The original request that was processed
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy
def selected = UpdateAgpVersions.selectVersionsFrom(gradleVersion, null, allVersions) then: selected == ["8.9.0", "9.0.0-rc01"] } def "selects matching gradle major versions when stable or rc available (minimumSupported=#minimumSupported)"() { given: def gradleVersion = GradleVersion.version("9.2") def allVersions = [ "8.8.0", "8.9.0",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 15 06:57:24 GMT 2026 - 4.7K bytes - Click Count (0) -
tests/scopes_test.go
if result.RowsAffected != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected) } var maxId int64 userTable := func(db *gorm.DB) *gorm.DB { return db.WithContext(context.Background()).Table("users") } if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil { t.Errorf("select max(id)") } } func TestComplexScopes(t *testing.T) { tests := []struct {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
// We need to rewrite the `next` link of each of the elements so that it is in the appropriate // linked list starting from `newTable`. In general, each element from the old linked list // belongs to a different linked list from `newTable`. We insert each element in turn at the // head of its appropriate `newTable` linked list. while (oldNext != UNSET) { int entryIndex = oldNext - 1;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
} private static final long serialVersionUID = 0; } @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { TestTable<String, Integer, Character> table = new TestTable<>(); Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex); populate(synced, data); return synced; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
ImmutableValueGraph<String, Integer> immutableValueGraph = ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build()); assertThat(immutableValueGraph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable()); } @Test public void incidentEdgeOrder_fromUnorderedGraph_stable() { ImmutableValueGraph<String, Integer> immutableValueGraph = ImmutableValueGraph.copyOf(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/TransferResourceIdentifier.java
/** * Immutable identifier of a {@link TransferResource}. * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods, * making it not very suitable for usage in collections. */ record TransferResourceIdentifier( String repositoryId, String repositoryUrl, String resourceName, @Nullable Path file) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AsyncFunction.java
/** * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for * asynchronous derivations. * * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}. */ ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0)