Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for minimally (0.07 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ContiguousSet.java

       * contained in this set. This is equivalent to {@code range(CLOSED, CLOSED)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range();
    
      /**
       * Returns the minimal range with the given boundary types for which all values in this set are
       * {@linkplain Range#contains(Comparable) contained} within the range.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * the range map, or {@code null} otherwise.
       */
      @Nullable Entry<Range<K>, V> getEntry(K key);
    
      /**
       * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this
       * {@code RangeMap}.
       *
       * @throws NoSuchElementException if this range map is empty
       */
      Range<K> span();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. CLAUDE.md

    public static void afterClass() {
        runner.close();
        runner.clean();
    }
    ```
    
    ### Testing Best Practices
    
    - Minimize `Thread.sleep()` - use only when absolutely necessary
    - For timestamp tests: use minimal delays (50-100ms)
    - Clean only test-specific indices (not `_all` unless needed)
    - Use `runner.refresh()` after index operations
    - Test with realistic multilingual content
    
    ### Key Test Classes
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Create a buffer with only standard lease data (no directory-specific data)
            byte[] buffer = new byte[56]; // Header + name + padding + standard lease data only
    
            // Write minimal header
            SMBUtil.writeInt4(0, buffer, 0); // Next
            SMBUtil.writeInt2(16, buffer, 4); // NameOffset
            SMBUtil.writeInt2(4, buffer, 6); // NameLength
            SMBUtil.writeInt2(0, buffer, 8); // Reserved
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertTrue(parsed.getContextFlag(NegTokenInit.INTEGRITY));
            assertFalse(parsed.getContextFlag(NegTokenInit.CONFIDENTIALITY));
        }
    
        @Test
        @DisplayName("Minimal token: no fields present")
        void testMinimalTokenRoundTrip() throws Exception {
            NegTokenInit init = new NegTokenInit(); // no fields
            byte[] bytes = init.toByteArray();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top