Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 227 for locked (0.07 sec)

  1. src/test/java/jcifs/pac/PacTest.java

            // Should indicate missing required buffers
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testMockedSuccessfulParsing() throws PACDecodingException, IOException {
            // Test with mocked PacMac to avoid complex signature calculation
            try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) {
                // Mock the calculateMac method to return a valid checksum
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

       * default initial capacity and load factor.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() {
        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

        }
    
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
            assertNotNull(confPath);
            // Should be empty when not docker app type
            if (!"docker".equalsIgnoreCase(ResourceUtil.getAppType())) {
                assertFalse(confPath.isPresent());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // Then
            assertTrue(result, "Custom implementation should return true when initialized with true");
        }
    
        @Test
        @DisplayName("Test interface can be mocked")
        void testInterfaceCanBeMocked() {
            // Given
            SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            decoded.decode(buf);
            assertEquals(123, decoded.value, "decoded value should equal original");
        }
    
        /**
         * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked
         * (spied) buffer.
         */
        @Test
        void encodeWithSpiedBufferCallsEncMethod() throws NdrException {
            NdrShort ns = new NdrShort(42);
            NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    @NullUnmarked
    public class RegularImmutableMapWithUnhashableValuesMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<Integer, UnhashableObject> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. okcurl/README.md

    OkCurl
    ======
    
    _A curl for the next-generation web._
    
    OkCurl is an OkHttp-backed curl clone which allows you to test OkHttp's HTTP engine (including
    HTTP/2) against web servers.
    
    To run locally, make sure you have GRAALVM_HOME set and run
    
    ```bash
    ./okcurl
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 08:48:55 UTC 2025
    - 261 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java

    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    @NullUnmarked
    public class SingletonImmutableMapWithUnhashableValueMapInterfaceTest
        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbFileHandleTest.java

        @Test
        void testGetTree() {
            when(smbFileHandle.getTree()).thenReturn(smbTreeHandle);
            SmbTreeHandle result = smbFileHandle.getTree();
            assertEquals(smbTreeHandle, result, "getTree should return the mocked SmbTreeHandle.");
            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

          other[size] = null;
        }
        copyIntoArray(other, 0);
        return other;
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      @Nullable Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top