Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 604 for Ensure (0.07 sec)

  1. guava/src/com/google/common/collect/SortedMultisetBridge.java

    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Superinterface of {@link SortedMultiset} to introduce a bridge method for {@code elementSet()},
     * to ensure binary compatibility with older Guava versions that specified {@code elementSet()} to
     * return {@code SortedSet}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    interface ServiceManagerBridge {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

              return of();
            case 1:
              /*
               * requireNonNull is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              return of(requireNonNull(dedupedElements[0]));
            default:
              /*
               * The suppression is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            assertEquals(mockPolicyHandle, capturedRpc.handle);
            assertEquals(access, capturedRpc.access_mask);
            assertEquals(mockSid, capturedRpc.sid);
            assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
            int access = 0x01;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/validation/CronExpression.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    /**
     * Validation constraint to ensure that a string is a valid cron expression.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
            // However, given the current structure, testing the fields set by MsrpcEnumerateAliasesInDomain itself is the primary focus.
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV pair representing timestamp information in NTLM authentication.
     * Contains time-based data used to prevent replay attacks and ensure message freshness.
     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            assertFalse(matcher.matches("(1.5.2,1.6)"));
            assertTrue(matcher.matches("(1.4,1.5.2]"));
            assertTrue(matcher.matches("(1.5,)"));
            assertEquals("1.5.2", matcher.toString());
    
            // Ensure it is not printed as 1.5.0
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5");
            assertEquals("1.5", matcher.toString());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    
        val totalBytesToRead = inflater.bytesRead + deflatedBytes.size
    
        // We cannot read all, as the source does not close.
        // Instead, we ensure that all bytes from source have been processed by inflater.
        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    interface ServiceManagerBridge {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top