- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for minimally (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
* Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic. */ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Range.java
* <li>Terminology note: a range {@code a} is said to be the <i>maximal</i> range having property * <i>P</i> if, for all ranges {@code b} also having property <i>P</i>, {@code a.encloses(b)}. * Likewise, {@code a} is <i>minimal</i> when {@code b.encloses(a)} for all {@code b} having * property <i>P</i>. See, for example, the definition of {@link #intersection intersection}.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
import jcifs.internal.smb1.com.SmbComNTCreateAndX; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; @ExtendWith(MockitoExtension.class) class SmbNamedPipeTest { // Creates a minimal valid CIFS context that does not perform I/O by itself private CIFSContext ctx() { return SingletonContext.getInstance(); } @Nested @DisplayName("Constructor behavior")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertTrue(str.contains("filename=testfile.txt"), "toString must contain the supplied filename"); } @Test @DisplayName("writeBytesWireFormat with null path returns minimal bytes") void testWriteWhenPathIsNull() { // When path is null, Strings.getOEMBytes returns empty array, not NPE when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
* These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test { // Helper method to create a minimal SamrPolicyHandle instance. private static SamrPolicyHandle createMockPolicyHandle() { return mock(SamrPolicyHandle.class); } @Nested @DisplayName("Constructor parameter handling")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertTrue(keywords.size() > 0); } @Test public void testCreateBulkLineWithMinimalItem() { // Test with minimal SuggestItem SuggestItem item = new SuggestItem(new String[] { "minimal" }, new String[0][0], new String[0], 0, // queryFreq 0, // docFreq 1.0f, // userBoost
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2CreateResponseTest { // SMB2 header size in bytes private static final int SMB2_HEADER_LENGTH = 64; /** * Build a minimal SMB2 header for a response. */ private static byte[] buildSmb2Header() { byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length); // Mark as server->client response for realismRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
SMBUtil.writeInt2(dataOffset, buffer, bufferIndex + 2); // Set buffer length SMBUtil.writeInt4(104, buffer, bufferIndex + 4); // Minimal FileBothDirectoryInfo response = spy(response); when(response.getHeaderStart()).thenReturn(0); // Write minimal FileBothDirectoryInfo at dataOffset // NextEntryOffset (0 = last entry) SMBUtil.writeInt4(0, buffer, dataOffset);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
// Valid share URL with trailing slash; constructing does not perform I/O return new SmbFile("smb://test-server/share/"); } // Helper to create a minimal FileEntry mock private FileEntry entry(String name, int type) { FileEntry e = mock(FileEntry.class); when(e.getName()).thenReturn(name); when(e.getType()).thenReturn(type); return e;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
class SmbTreeConnectionTraceTest { // Helper to build a minimal smb URL private static URL smbUrl(String spec) { try { return new URL(null, spec, new Handler()); } catch (MalformedURLException e) { throw new AssertionError("Failed to create SMB URL: " + spec, e); } } // Utility to build a minimal locator for connect testsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0)