- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 419 for behaviors (0.06 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ @AndroidIncompatible // test-suite builders public final class MapTestSuiteBuilderTests extends TestCase { private MapTestSuiteBuilderTests() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ @AndroidIncompatible // test-suite builders public final class MapTestSuiteBuilderTests extends TestCase { private MapTestSuiteBuilderTests() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@BeforeEach void setUp() { // Create a fresh pool instance for each test pool = new SmbTransportPoolImpl(); // Setup default mock behaviors when(ctx.getConfig()).thenReturn(config); when(ctx.getNameServiceClient()).thenReturn(nameSvc); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getTransportPool()).thenReturn(pool);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertThrows(NullPointerException.class, () -> SmbEnumerationUtil.doEnum(null, "*", 0, null, null)); } } @Nested @DisplayName("Wrapper behaviors") class WrapperBehaviorTests { @Test void resourceFilterWrapper_accept_falseForNonSmbFile_andNoDelegation() throws Exception { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals(type, sid.getType()); assertEquals(text, sid.getTypeText()); } @Test @DisplayName("getDomainName and getAccountName behaviors for unknown, domain, and user") void testNamesByType() { byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; // Unknown: domainName derived from numeric SID, accountName = RID
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer.go
// Callers should always process the n > 0 bytes returned before considering the error err. // Doing so correctly handles I/O errors that happen after reading some bytes and also both of the allowed EOF behaviors. func (r *RingBuffer) Read(p []byte) (n int, err error) { if len(p) == 0 { return 0, r.readErr(false) } r.mu.Lock() defer r.mu.Unlock() if err := r.readErr(true); err != nil { return 0, err
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
import java.util.TreeMap; import java.util.TreeSet; import org.jspecify.annotations.Nullable; /** * An immutable builder for {@link Multimap} instances, letting you independently select the desired * behaviors (for example, ordering) of the backing map and value-collections. Example: * * {@snippet : * ListMultimap<UserId, ErrorResponse> errorsByUser = * MultimapBuilder.linkedHashKeys().arrayListValues().build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 18K bytes - Click Count (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
import java.util.TreeMap; import java.util.TreeSet; import org.jspecify.annotations.Nullable; /** * An immutable builder for {@link Multimap} instances, letting you independently select the desired * behaviors (for example, ordering) of the backing map and value-collections. Example: * * {@snippet : * ListMultimap<UserId, ErrorResponse> errorsByUser = * MultimapBuilder.linkedHashKeys().arrayListValues().build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 18K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertNotNull(combined); } } @Nested @DisplayName("Mock Behavior Verification Tests") class MockBehaviorTests { @Test @DisplayName("Should verify all interface methods can be mocked") void testAllMethodsCanBeMocked() { // Setup all mock behaviors when(mockReferralData.getExpiration()).thenReturn(1000L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
cmd/generic-handlers.go
globalForwarder.ServeHTTP(w, r) return } h.ServeHTTP(w, r) }) } // addCustomHeadersMiddleware adds various HTTP(S) response headers. // Security Headers enable various security protections behaviors in the client's browser. func addCustomHeadersMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { header := w.Header()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1)