- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 933 for behaviour (0.07 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null; } else if (behavior == 2) { // slight delay before returning
Created: 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
int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null; } else if (behavior == 2) { // slight delay before returning
Created: 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-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
public void overriddenNotAnnotatedInSubclass(Object o) { super.overriddenNotAnnotatedInSubclass(o); } @Subscribe @Override // We are testing how we treat an override with the same behavior and annotations. @SuppressWarnings("RedundantOverride") public void overriddenAndAnnotatedInSubclass(Object o) { super.overriddenAndAnnotatedInSubclass(o); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array. // If a defensive copy were made, this test would fail, and the behavior would be more robust. // Given the current implementation, direct modification of the passed array affects the AvPair. // If this is not desired, a defensive copy should be added in the AvPair constructor.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertEquals(0, exit, "mvnup --help should exit 0"); assertTrue( help.contains("Default behavior: --model --plugins --infer"), "Help footer should advertise --infer as part of the defaults"); assertFalse( help.contains("Default behavior: --model and --plugins"), "Old/incorrect default text must be gone"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
@DisplayName("Interface Methods Tests") class InterfaceMethodsTests { @Test @DisplayName("Test getAction method with mock") void testGetAction() { // Setup mock behavior when(mockFileNotifyInfo.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); // Test int action = mockFileNotifyInfo.getAction(); // VerifyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
// Should not throw exception even if .mvn creation fails int result = upgradeGoal.testExecuteWithTargetModel(context, "4.0.0"); // The exact behavior depends on implementation, but it should handle gracefully // and not crash the entire upgrade process assertTrue(result >= 0, "Should handle .mvn creation failure gracefully"); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
docs/distributed/DESIGN.md
``` ## Architecture Expansion of ellipses and choice of erasure sets based on this expansion is an automated process in MinIO. Here are some of the details of our underlying erasure coding behavior.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
src/bytes/reader_test.go
} wg.Wait() } func TestEmptyReaderConcurrent(t *testing.T) { // Test for the race detector, to verify a Read that doesn't yield any bytes // is okay to use from multiple goroutines. This was our historic behavior. // See golang.org/issue/7856 r := NewReader([]byte{}) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(2) go func() { defer wg.Done() var buf [1]byte r.Read(buf[:]) }()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Flushables}. * * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. * * @author Michael Lancaster */ @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0)