Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 411 for ensures (0.07 sec)

  1. src/test/java/jcifs/smb/DosErrorTest.java

            assertIterableEquals(Arrays.asList(0x00000000, 0x00050001, 0x007b0001), dosCaptor.getAllValues());
            assertIterableEquals(Arrays.asList(0x00000000, 0xc0000022, 0xc0000033), ntCaptor.getAllValues());
    
            // And ensure no further interactions happened
            verifyNoMoreInteractions(consumer);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ResponseTest.java

    @ExtendWith(MockitoExtension.class)
    public class ResponseTest {
    
        @Mock
        private Response mockResponse;
    
        @BeforeEach
        void setUp() {
            // Reset mock before each test to ensure clean state
            // MockitoExtension handles this automatically for @Mock fields, but good to be aware.
        }
    
        @Test
        void testIsReceived() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the Trans2QueryFSInformationResponse class.
     */
    class Trans2QueryFSInformationResponseTest {
    
        /**
         * Tests the constructor to ensure it sets up the command and subcommand correctly.
         */
        @Test
        void testConstructor() {
            Trans2QueryFSInformationResponse response =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

            }
    
            /**
             * Establishes a connection to the GCS service.
             * This method creates a GCS Storage client using environment variables for configuration.
             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

            }
    
            /**
             * Establishes a connection to the S3 service.
             * This method creates an AWS S3 client using environment variables for configuration.
             * This method is synchronized to ensure thread-safe connection initialization.
             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Crypto;
    
    /**
     * SMB2/SMB3 message signing digest implementation.
     *
     * This class handles cryptographic signing of SMB2/SMB3 messages to ensure
     * message integrity and authenticity. It supports different signing algorithms
     * used in various SMB2/SMB3 dialect versions.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                    storage.create(BucketInfo.newBuilder(bucket).build());
                    logger.info("Created storage bucket: {}", bucket);
                }
            } catch (final Exception e) {
                logger.warn("Failed to ensure bucket exists: {}", bucket, e);
            }
        }
    
        @Override
        public boolean isAvailable() {
            try {
                return storage.get(bucket) != null;
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    
            // Act + Assert: checkException should throw the SmbException captured by the thread
            assertThrows(SmbException.class, w::checkException);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. maven-tests/mvnw

    CYGWIN* | MINGW*)
      [ -z "${JAVA_HOME-}" ] || JAVA_HOME="$(cygpath --unix "$JAVA_HOME")"
      native_path() { cygpath --path --windows "$1"; }
      ;;
    esac
    
    # set JAVACMD and JAVACCMD
    set_java_home() {
      # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
      if [ -n "${JAVA_HOME-}" ]; then
        if [ -x "$JAVA_HOME/jre/sh/java" ]; then
          # IBM's JDK on AIX uses strange locations for the executables
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                log.get().log(Level.SEVERE, "Exception while executing runnable " + task, e);
              } finally {
                task = null;
              }
            }
          } finally {
            // Ensure that if the thread was interrupted at all while processing the task queue, it
            // is returned to the delegate Executor interrupted so that it may handle the
            // interruption if it likes.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top