Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 173 for minimally (0.09 seconds)

  1. 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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. 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();
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

        @ValueSource(strings = { "", " ", "*", "?" })
        @DisplayName("Supports various wildcard values without throwing (edge cases)")
        void wildcardEdgeCases(String wildcard) throws Exception {
            // minimal successful first response with a single entry
            when(tree.send(any(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class))).thenAnswer((InvocationOnMock inv) -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd);
                double timingRatio = (maxTime - minTime) / maxTime;
    
                // Timing differences should be minimal (within tolerance)
                assertTrue(timingRatio < TIMING_TOLERANCE,
                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. 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
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. 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);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. 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>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jun 10 15:17:16 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with valid security descriptor")
        void testReadDataWireFormatWithValidSecurityDescriptor() throws Exception {
            // Create a minimal valid security descriptor buffer
            byte[] buffer = createValidSecurityDescriptorBuffer();
    
            // Set error code to 0
            setErrorCode(response, 0);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top