- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 224 for getters (0.12 seconds)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
assertEquals(12, qos.length); assertEquals(2, qos.impersonation_level); assertEquals(1, qos.context_mode); assertEquals(0, qos.effective_only); // Assert ptype and flags using getters assertEquals(0, msrpcLsarOpenPolicy2.getPtype()); assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
// Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip"); assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml
<module name="MissingJavadocMethod"> <property name="severity" value="warning" /> <!-- Exclude short methods from this check - we don't want to have to document getters --> <property name="minLineCount" value="2" /> <property name="allowedAnnotations" value="Override,Before,BeforeClass,After,AfterClass,Inject,TaskAction" />Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 21 18:58:39 GMT 2021 - 1.9K 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/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/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/main/java/jcifs/internal/witness/WitnessNotification.java
* * @param address the old IP address */ public void addOldIPAddress(InetAddress address) { oldIPAddresses.add(new WitnessIPAddress(address)); } // Getters and Setters /** * Gets the event type. * * @return the event type */ public WitnessEventType getEventType() { return eventType; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 6.4K 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) -
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)