- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for setters (0.06 sec)
-
docs/smb3-features/06-witness-protocol-design.md
private String serverAddress; private int flags; // Getters and setters... } class WitnessRegisterResponse { private String registrationId; private int returnCode; public boolean isSuccess() { return returnCode == 0; } public String getError() { return "Error code: " + returnCode; } // Getters and setters... } class WitnessUnregisterRequest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
// Current behavior of test impl: returns same reference assertSame(raw, t.toByteArray(), "should return the same reference as mechanismToken"); } @Test @DisplayName("Setters accept null and getters return null") void settersAcceptNull() { TestSpnegoToken t = new TestSpnegoToken(); t.setMechanismToken(null); t.setMechanismListMIC(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
as an intermediate step. #### Vars and Vals Java doesn’t have language support for properties so developers make do with getters and setters. Kotlin does have properties and we take advantage of them in OkHttp. * **Address**: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (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; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (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; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
return 20; } @Override int readDataWireFormat(byte[] buffer, int bufferIndex, int len) { return 50; } // Setters for test control void setSetupBytesWritten(int bytes) { this.setupBytesWritten = bytes; } void setParameterBytesWritten(int bytes) { this.parameterBytesWritten = bytes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
/** * Check if negotiation was successful * * @return true if successful */ public boolean isSuccess() { return status == STATUS_SUCCESS; } // Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertEquals(Integer.MIN_VALUE, searchRenderData.getCurrentPageNumber()); } public void test_nullSafety() { // Ensure all getters return appropriate values when setters haven't been called SearchRenderData freshData = new SearchRenderData(); // These should return null assertNull(freshData.getDocumentItems());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// This method should always return 0 as the request doesn't read responses assertEquals(0, bytesRead); } @Test @DisplayName("Test complete flow with all setters") void testCompleteFlow() { request = new Smb2SetInfoRequest(mockConfig); // Set all fields byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)