- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 401 for extra (0.02 sec)
-
src/test/java/jcifs/util/HMACT64Test.java
byte[] innerDigest = "inner_digest".getBytes(); byte[] expectedOutput = "output_data".getBytes(); byte[] buffer = new byte[expectedOutput.length + 10]; // Buffer with extra space when(mockMd5.digest()).thenReturn(innerDigest); when(mockMd5.digest(buffer, 0, expectedOutput.length)).thenAnswer(invocation -> { byte[] b = invocation.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
import com.google.caliper.Param; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks against the Apache Commons Math utilities. * * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency. * * @author Louis Wasserman */ @NullUnmarked public class ApacheBenchmark { private enum Impl { GUAVA { @Override public double factorialDouble(int n) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertEquals(4, impl.getBuffer().length); } // Capacity behavior: when full, additional releases are dropped; only cached buffers are returned @Test @DisplayName("Cache capacity respected: extra releases dropped; retrieval order by first free slot") void cacheCapacityAndRetrievalOrder() { BufferCacheImpl impl = new BufferCacheImpl(2, 3); byte[] a = new byte[1]; byte[] c = new byte[2];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob longer = new SecurityBlob(new byte[] { 1, 2, 9 }); // Act & Assert // Due to implementation, iteration uses this.b.length and ignores extra bytes in argument assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)"); // In the opposite direction, an out-of-bounds occurs internally and is caught as false
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found"); assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment } /** * Test writeBytesWireFormat with empty file names */ @Test @DisplayName("Test writeBytesWireFormat with empty file names")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 16 }) @DisplayName("Test verify method with different extra padding values") void testVerifyWithDifferentExtraPadding(int extraPad) { // Arrange int offset = 0; int length = testData.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
* techinque that NTLMv2 specifically thwarts. A real NTLM Filter would * need to do a NETLOGON RPC that JCIFS will likely never implement * because it requires a lot of extra crypto not used by CIFS. */ Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0"); Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} } /** * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code * null} even for a map which supposedly does not contain null elements, if the key is not present
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
static class ThrowsAtEndException extends RuntimeException { /* nothing */ } /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator; public ThrowsAtEndIterator(Iterable<E> iterable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0)