Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 208 for conntrack (0.04 sec)

  1. src/test/java/jcifs/SmbResourceLocatorTest.java

    /**
     * Unit tests for {@link SmbResourceLocator}. Since the interface has no
     * concrete implementation in this repository, a lightweight implementation
     * is provided solely for the purpose of exercising the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for jcifs.SmbResource interface.
     * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbResource Interface Tests")
    class SmbResourceTest {
    
        @Mock
        private SmbResource mockResource;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ACETest.java

    /**
     * Comprehensive test class for ACE interface constants and behavior.
     * Tests all constants, bitwise operations, and interface methods.
     * Achieves 100% coverage of the ACE interface contract.
     */
    @DisplayName("ACE Interface Comprehensive Tests")
    class ACETest {
    
        @Nested
        @DisplayName("File Access Constants Tests")
        class FileAccessConstantsTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          // assumes that each set is a singleton or less (as is done for the samples)
          for (Object elem : elements) {
            @SuppressWarnings("unchecked") // safe by generator contract
            Entry<String, Collection<Integer>> entry = (Entry<String, Collection<Integer>>) elem;
            Integer value = getOnlyElement(entry.getValue());
            builder.put(entry.getKey(), value);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashCodeTest.java

        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

    @GwtIncompatible
    @J2ObjCIncompatible
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
       *     of {@link Files#createTempDir()}, such as if the system does not support creating temporary
       *     directories securely
       */
      abstract File createTempDir();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Test commit (should not throw exception)
            callback.commit();
        }
    
        public void test_multiple_implementations() {
            // Test with different implementations to ensure interface contract
            IndexUpdateCallback callback1 = createMockCallback(10, 500);
            IndexUpdateCallback callback2 = createMockCallback(20, 1000);
    
            assertEquals(10L, callback1.getDocumentSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                //
                // ---
                //
                // If the CAS fails, the provided callable already started running (or it is about
                // to). Our contract promises:
                //
                // 1. not to execute a new callable until the old one has returned
                //
                // If we were to cancel taskFuture, that would let the next task start while the old
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top