Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 406 for minimal (0.08 sec)

  1. src/test/java/jcifs/util/transport/TransportTest.java

     * with fast execution and comprehensive coverage of key behaviors.
     */
    class TransportTest {
    
        private TestableTransport transport;
    
        /**
         * Minimal Transport implementation for testing core functionality
         */
        static class TestableTransport extends Transport {
            private long nextKey = 1;
            private Long peekedKey = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            when(tree.getConfig()).thenReturn(config);
            when(config.getMaximumBufferSize()).thenReturn(65535);
            when(config.getListSize()).thenReturn(65535);
    
            // Arrange minimal successful open with one entry
            FileEntry fe1 = mock(FileEntry.class);
            lenient().when(fe1.getName()).thenReturn("x");
            when(fe1.getFileIndex()).thenReturn(1);
    
            doAnswer(inv -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNull(sd.getOwnerGroupSid());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes SecurityDescriptor")
        void testConstructorWithBuffer() throws IOException {
            // Prepare minimal valid SecurityDescriptor buffer
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, true, false);
    
            SecurityDescriptor sd = new SecurityDescriptor(testBuffer, 0, testBuffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsPackage;
    import jsinterop.annotations.JsProperty;
    import jsinterop.annotations.JsType;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.Platform}.
     *
     * @author Hayward Chan
     */
    final class Platform {
      static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbResourceLocatorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            super.setUp();
    
            // Create temp directory for testing
            tempDir = Files.createTempDirectory("thumbnail_test").toFile();
            tempDir.deleteOnExit();
    
            // Create a test thumbnail manager with minimal initialization
            thumbnailManager = new TestThumbnailManager();
            thumbnailManager.baseDir = tempDir;
            thumbnailManager.thumbnailTaskQueue = new LinkedBlockingQueue<>(100);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                this.requestURI = requestURI;
            }
    
            @Override
            public String getRequestURI() {
                return requestURI;
            }
    
            // Minimal implementations for other required methods
            @Override
            public String getAuthType() {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/xml/XmlEscapers.java

     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
     * non-ASCII characters to their numeric entity replacements. These XML escapers provide the minimal
     * level of escaping to ensure that the output can be safely included in a Unicode XML document.
     *
     * <p>For details on the behavior of the escapers in this class, see sections <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *
         * Expected outputs are generated by the code itself, but they've been
         * checked against the inputs under Bash in order to confirm that the two
         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
         * Rough instructions to regenerate the test outputs and verify correctness:
         * - Temporarily change this test:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDCacheImplTest.java

            DcerpcHandle handle = mock(DcerpcHandle.class);
            LsaPolicyHandle policy = mock(LsaPolicyHandle.class);
    
            jcifs.SID[] sids = new jcifs.SID[] { sid("S-1-1-0") };
    
            // Arrange a minimal response with given retval
            doAnswer(inv -> {
                jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = inv.getArgument(0);
                rpc.retval = ret;
                // Provide empty arrays to satisfy code paths
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top