- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 771 for affects (0.09 seconds)
-
tests/delete_test.go
t.Fatalf("user's primary key should has value after create, got : %v", user.ID) } } if res := DB.Delete(&users[1]); res.Error != nil || res.RowsAffected != 1 { t.Errorf("errors happened when delete: %v, affected: %v", res.Error, res.RowsAffected) } var result User if err := DB.Where("id = ?", users[1].ID).First(&result).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
public void validate(Settings settings, SettingsProblemCollector problems) { if (settings.isUsePluginRegistry()) { addViolation(problems, Severity.WARNING, "usePluginRegistry", null, "is deprecated and has no effect."); } List<String> pluginGroups = settings.getPluginGroups(); if (pluginGroups != null) { for (int i = 0; i < pluginGroups.size(); i++) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
* a black-box test that tries to create lots of different thread-interleavings, and asserts that * each computation is affected by a call to {@code clear()} (and therefore gets passed to the * removal listener), or else is not affected by the {@code clear()} (and therefore exists in the * cache afterward). */ @J2ktIncompatible @GwtIncompatible // QueuingRemovalListenerCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
* a black-box test that tries to create lots of different thread-interleavings, and asserts that * each computation is affected by a call to {@code clear()} (and therefore gets passed to the * removal listener), or else is not affected by the {@code clear()} (and therefore exists in the * cache afterward). */ @J2ktIncompatible @GwtIncompatible // QueuingRemovalListenerCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/TopKSelector.java
* fewer than {@code k} have been offered, in the order specified by the factory used to create * this {@code TopKSelector}. * * <p>The returned list is an unmodifiable copy and will not be affected by further changes to * this {@code TopKSelector}. This method returns in O(k log k) time. */ public List<T> topK() { @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real TsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* reverse of their natural ordering. * * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code * Comparable<? super E>} in order to accommodate users of obsolete javac versions affected by <a * href="https://bugs.openjdk.org/browse/JDK-6468354">JDK-6468354</a>. */ public static <E extends Comparable<?>> Builder<E> reverseOrder() { return new Builder<>(Ordering.<E>natural().reverse()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> notifications = response.getNotifyInformation(); // Verify initial state assertEquals(2, notifications.size()); // Modify input list - should not affect returned list inputList.clear(); assertEquals(2, notifications.size()); // Try to modify returned list - behavior depends on implementationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
internal/pubsub/pubsub_test.go
t.Fatalf("unexpected error: %v", err) } if err := ps.Subscribe(MaskAll, ch2, doneCh2, nil); err != nil { t.Fatalf("unexpected error: %v", err) } close(doneCh1) // Allow for the above statement to take effect. time.Sleep(100 * time.Millisecond) ps.Lock() if len(ps.subs) != 1 { t.Fatal("expected 1 subscriber") } ps.Unlock() close(doneCh2) } type maskString string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* need to clear our reference to the TimeoutFuture is the reason we use a *static* nested * class with a manual reference back to the "containing" class.) * * This has the nice-ish side effect of limiting reentrancy: run() calls * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" isCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings * are inherently approximate, routinely affected by periodic clock corrections. Because this class * (by default) uses {@link System#nanoTime}, it is unaffected by these changes. * * <p>Use this class instead of direct calls to {@link System#nanoTime} for two reasons: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0)