Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 731 for prepend (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
        void testPrivateConstructor() throws Exception {
            // Verify constructor is private
            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            assertArrayEquals(fileId, resp.getFileId());
            assertEquals("file.txt", resp.getFileName());
    
            // No create contexts section present -> null
            assertNull(resp.getCreateContexts());
        }
    
        @Test
        void decode_withCreateContext_unrecognized_yieldsEmptyArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionImplTest.java

            verify(transport, times(1)).acquire();
            assertTrue(session.isInUse());
        }
    
        @Test
        @DisplayName("getSessionKey: throws when absent, returns when present")
        void testGetSessionKey() throws Exception {
            SmbSessionImpl session = newSession();
    
            // Absent key -> CIFSException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

            if (!destroyed) {
                boolean failedToDestroy = false;
                Exception destroyException = null;
    
                try {
                    // Mark as destroyed first to prevent further operations
                    destroyed = true;
    
                    // Try to destroy master key if it implements Destroyable
                    if (masterKey instanceof Destroyable) {
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

       * whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to
       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in set(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSetNullSupportedMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isTrue()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** If no domain is present, match only the origin domain.  */
      @Test fun domainMatchesNoDomain() {
        val cookie = parse(url, "a=b")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        assertThat(server.receivedPongCount()).isEqualTo(0)
        closeWebSockets(webSocket, server)
      }
    
      /**
       * Configure the websocket to send pings every 500 ms. Artificially prevent the server from
       * responding to pings. The client should give up when attempting to send its 2nd ping, at about
       * 1000 ms.
       */
      @Test
      fun unacknowledgedPingFailsConnection() {
        assumeNotWindows()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * from the map.
       *
       * The get method returns a WrappedCollection, which decorates the collection
       * in the map (if the key is present) or an empty collection (if the key is
       * not present). When the collection delegate in the WrappedCollection is
       * empty, the multimap may contain subsequently added values for that key. To
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top