- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 187 for getters (0.05 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
return data; } /** * Get size of this message * * @return size in bytes (32) */ public static int size() { return 32; } // Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
// Verify that the object was created assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("getters and basic state (happy path)") void testGettersAndState() { SmbSessionImpl session = newSession(); // Basic getters assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext"); assertEquals("EXAMPLE", session.getTargetDomain());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
return someProperty } } ``` It is not acceptable to introduce new properties on a task, extension or domain object that use plain getters and setters. It is also not acceptable to add setters that take a Provider.Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values ); } // --- Mockito interaction: verify each getter is invoked and returns stubbed values --- @Test void mockitoMock_verifiesGetterInteractions() { // Arrange: mock and stub each getter with distinct values SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class); Mockito.when(mock.getAttributes()).thenReturn(7);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0) capCount++; assertEquals(expectedCapabilityCount, capCount); } @Test @DisplayName("Should handle all getters correctly") void testAllGetters() { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.isEncryptionEnabled()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
if (message != null && !message.isEmpty()) { assertTrue(ts.contains(message), "toString should include non-empty message"); } // Ensure constructors/getters don't interact with the cause verifyNoInteractions(mockCause); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
* @return true if the registration is expired */ public boolean isExpired(long timeoutMs) { return System.currentTimeMillis() - lastHeartbeat > timeoutMs; } // Getters and setters /** * Gets the last heartbeat timestamp. * * @return the last heartbeat timestamp in milliseconds */ public long getLastHeartbeat() { return lastHeartbeat;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
CLAUDE.md
├── exentity/, exbhv/ # Extended classes (customize here) └── cbean/ # Condition beans (query builders) ``` ### Form Classes - POJOs with public fields (no getters/setters) - Validation: `@Required`, `@Size`, `@ValidateTypeFailure`, `@Pattern` - Include `crudMode` field for CRUD operations ## Security and Authentication
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 09:48:10 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 6.2K bytes - Click Count (0)