Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 816 for Ensure (0.06 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

                SmbTransportImpl transport = new SmbTransportImpl(context, serverUniAddress, port, localAddress, localPort, forceSigning);
    
                // Ensure the transport is connected and ready
                transport.ensureConnected();
    
                // Verify multi-channel capability (SMB3+ required)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setExtendedSecurity(false);
                // Method is empty, just ensure no exception
            }
    
            @Test
            @DisplayName("Should ignore UID setting")
            void testSetUid() {
                testMessage.setUid(123);
                // Method is empty, just ensure no exception
            }
        }
    
        @Nested
        @DisplayName("Equals and HashCode Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
                this.handle =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            float boost = 1.5f;
    
            // Execute and ensure no exceptions are thrown
            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
    
            // Note: Actual log output verification would require a log appender mock
            // but we can at least ensure the method executes without errors
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false
        }
    
        @Test
        void testDeployBuildPomWithMutableMap() {
            // Test with a mutable map to ensure the method doesn't modify the input
            Map<String, Object> properties = new HashMap<>();
            properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false");
    
            assertFalse(Features.deployBuildPom(properties));
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. docs/bucket/replication/DESIGN.md

    `COMPLETED` only after the replication operation succeeds on each of the targets specified in the replication configuration. If multiple targets are configured to use active-active replication and multi destination replication, the administrator should ensure that the replication features enabled (such as replica metadata sync, delete marker replication etc) are identical to avoid asymmetric state. This is because all replication activity is inherently a one-way operation from source to target, irrespective...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
          // Split by line, then ensure each line can fit into Log's maximum length.
          var i = 0
          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. internal/stmt_store/stmt_store.go

    		prepared:    make(chan struct{}),
    	}
    	// Cache the Stmt object with the associated key.
    	s.Set(key, cacheStmt)
    	// Unlock after completing initialization to prevent deadlocks.
    	locker.Unlock()
    
    	// Ensure the prepared channel is closed after the function execution completes.
    	defer close(cacheStmt.prepared)
    
    	// Prepare the SQL statement using the provided connection.
    	cacheStmt.Stmt, err = conn.PrepareContext(ctx, key)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          assertWrapsInterruptedException(expected);
        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
     * conversion.
     */
    @ExtendWith(MockitoExtension.class)
    class NtlmMessageTest {
    
        /** Lightweight concrete implementation used only for testing. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top