- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,230 for given (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} /** * Test that releaseBuffer validates buffer before accepting it. */ @Test public void testReleaseBufferValidation() { // Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* Associates the specified session data with the given key. * * @param key the key under which to store the session data, must not be {@code null} * @param value the data to associate with the key, may be {@code null} to remove the mapping */ <T> void set(@Nonnull Key<T> key, @Nullable T value); /** * Associates the specified session data with the given key if the key is currently mapped to the given value. ThisCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* It verifies that a new DfsReferral object is initialized with its 'next' * property pointing to itself. */ @Test void testDefaultConstructor() { // Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null.");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
} /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#SmbComClose(jcifs.Configuration, int, long)}. */ @Test public void testConstructor() { // Given int fid = 123; long lastWriteTime = System.currentTimeMillis(); // When SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* Returns a filter for directories that may contain paths accepted by the given matcher. * The given path matcher should be an instance created by this service. * The path matcher returned by this method expects directory paths. * If that matcher returns {@code false}, then the directory will definitively not contain * the paths selected by the matcher given in argument to this method.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
return mockCtx; } @Test @DisplayName("Should create Type 3 message with authentication data") void testType3MessageCreation() throws Exception { // Given Type2Message type2 = createMockType2Message(); String password = "testpassword"; String domain = "TESTDOMAIN"; String username = "testuser"; String workstation = "TESTWS";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testOriginalMessageSize() { // Given int messageSize = 1024; // When transformHeader.setOriginalMessageSize(messageSize); // Then assertEquals(messageSize, transformHeader.getOriginalMessageSize()); } @Test @DisplayName("Should set and get flags") void testFlags() { // Given int flags = 0x0001; // Encrypted flag
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
* MD5 (128 hash bits) hash function and the given secret key. * * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other * future-proof algorithms <a * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>. * * @param key the secret key * @throws IllegalArgumentException if the given key is inappropriate for initializing this MAC
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
*/ public abstract class FieldUtil { /** * Do not instantiate. */ protected FieldUtil() { } /** * Returns the value of a {@code static} field represented by the given {@link Field}. * * @param <T> the type of the field * @param field the field (must not be {@literal null}) * @return the value represented by the {@code static} fieldCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Constructor should store delegate reference") void testConstructorStoresDelegate() { // Given Configuration testDelegate = mock(Configuration.class); // When DelegatingConfiguration config = new DelegatingConfiguration(testDelegate); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)