- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 759 for Behavior (0.05 sec)
-
internal/ringbuffer/README.md
buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`. # Blocking vs Non-blocking The default behavior of the ring buffer is non-blocking, meaning that reads and writes will return immediately with an error if the operation cannot be completed. If you want to block when reading or writing, you must enable it: ```go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileAuthenticationService.java
* Default constructor for file authentication service. * Creates a new instance with default values. */ public FileAuthenticationService() { // Default constructor } /** * Behavior class for file authentication database operations. */ @Resource protected FileAuthenticationBhv fileAuthenticationBhv; /** * Configuration settings for the Fess application. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; /** * Test for logging configuration behavior in LookupInvoker. * This test verifies that the fix for GH-11199 works correctly. */ class LookupInvokerLoggingTest { private String originalSystemProperty; @BeforeEach void setUp() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 21:10:33 UTC 2025 - 6.4K bytes - Viewed (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"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:48:39 UTC 2025 - 9.9K bytes - Viewed (0) -
internal/s3select/sql/aggregation.go
// updated. return nil } argVal := val if funcName != aggFnCount { // All aggregation functions, except COUNT require a // numeric argument. // Here, we diverge from Amazon S3 behavior by // inferring untyped values are numbers. if !argVal.isNumeric() { if i, ok := argVal.bytesToInt(); ok { argVal.setInt(i) } else if f, ok := argVal.bytesToFloat(); ok { argVal.setFloat(f)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Mock private Configuration mockConfig; @Mock private Name mockName; private NodeStatusRequest nodeStatusRequest; @BeforeEach void setUp() { // Setup default mock behavior lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE"); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written) // This is expected behavior - the reserved fields are not explicitly written to 0 // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written) // This is expected behavior - the reserved fields are not explicitly written to 0 // FileId (16 bytes) - should match our test file ID
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
null // --model )); // Should apply default behavior when all options are explicitly disabled assertTrue( strategy.isApplicable(context), "Strategy should apply default behavior when all options are disabled"); } } @Nested @DisplayName("Duplicate Dependency Fixes")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid * behavior of the stopwatch. * * <p><b>Note:</b> This class is not thread-safe. * * <p><b>Warning for Android users:</b> a stopwatch with default behavior may not continue to keep * time while the device is asleep. Instead, create one like this: * * {@snippet : * Stopwatch.createStarted(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0)