- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 116 for preference (3.93 sec)
-
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
@DisplayName("Edge: calling renew() on a null reference throws NPE") void renewOnNullReferenceThrowsNPE() { // Arrange: null reference to the interface SmbRenewableCredentials creds = null; // Act + Assert: invoking renew() on null triggers NullPointerException assertThrows(NullPointerException.class, () -> { // Intentional NPE through dereference of a null interface referenceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
} /** * Increments the reference count for this statistics object. * * @return the new reference count after incrementing */ public int increment() { return count.incrementAndGet(); } /** * Decrements the reference count for this statistics object. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* @throws CIFSException if the type cannot be determined */ int getType() throws CIFSException; /** * Determines whether this resource represents a workgroup reference. * * @return whether this is a workgroup reference * @throws CIFSException if the determination cannot be made */ boolean isWorkgroup() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} } // Clean up expired weak references cleanupExpiredReferences(); // Release all leases releaseAll(); // Clear file cache fileCache.clear(); } /** * Clean up expired weak references from the file cache */ private void cleanupExpiredReferences() { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
} @Test @DisplayName("Test buffer modifications are reflected") void testBufferModifications() { // Since the class returns the same array reference, modifications will be reflected byte[] requestBuffer = negotiation.getRequestRaw(); byte[] responseBuffer = negotiation.getResponseRaw(); // Modify the buffersRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
// Act & Assert: attempting to call any method on null should throw NPE Assertions.assertThrows(NullPointerException.class, () -> { // Intentionally dereference null to validate exception behavior // This checks that callers must handle null references defensively info.getSize(); }); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
@DisplayName("toByteArray returns mechanismToken reference when present") void toByteArrayReturnsToken() throws IOException { TestSpnegoToken t = new TestSpnegoToken(); byte[] raw = new byte[] { 11, 12, 13 }; t.parse(raw); // Current behavior of test impl: returns same reference assertSame(raw, t.toByteArray(), "should return the same reference as mechanismToken"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
originalHash[0] = 0x00; // The value in AvChannelBindings should reflect the change since it stores a reference assertEquals(0x00, avChannelBindings.getRaw()[0], "Value should reflect changes to original array as it stores a reference"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Opaque reference to a SMB tree * * @author mbechler * */ public interface SmbTree extends AutoCloseable { /** * Unwraps the tree instance to the specified type * @param <T> the target tree typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
import java.io.IOException; /** * Exception thrown when an error occurs during NDR encoding or decoding operations. */ public class NdrException extends IOException { /** * Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0)