Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 310 for occur (0.02 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

                    emptyIterator.next();
                    count++;
                    if (count > 10)
                        break; // Safety check
                }
                assertEquals(0, count, "No iterations should occur for empty iterator");
            }, "EmptyIterator should work with manual iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle concurrent access safely")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

     * <p>This pattern ensures the following:
     *
     * <ul>
     *   <li>Each {@code Closeable} resource that is successfully registered will be closed later.
     *   <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
     *       to close resources will be thrown from the finally block. The throwable from the try block
     *       will be thrown.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

         * @throws IOException if an I/O error occurs
         */
        public static void store(final OutputStream out, final String header) throws IOException {
            prp.store(out, header);
        }
    
        /**
         * List the properties in the <code>Config</code>.
         *
         * @param out the print stream to write the properties to
         * @throws IOException if an I/O error occurs
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        enableTlsWithTunnel()
        server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)
        timeToFirstByte()
      }
    
      /**
       * Test to confirm that events are reported at the time they occur and no earlier and no later.
       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                     * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                     * old value when the session is re-established. Otherwise a
                     * "The parameter is incorrect" error can occur.
                     */
                    uid = 0;
    
                    do {
                        switch (state) {
                        case 10: /* NTLM */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

                    }
                } catch (final SmbException e) {
                    if (e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER) {
                        // Silently ignore invalid parameter errors - these may occur with certain server configurations
                        if (log.isDebugEnabled()) {
                            log.debug("Invalid parameter error.", e);
                        }
                        return;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // This test verifies that ProtwordsUpdater constructor properly handles exceptions
            // The actual exception handling is tested by ensuring the updater can be created
            // and properly closed even when errors might occur
    
            protwordsFile.reload(null);
    
            // Test normal creation and cleanup of ProtwordsUpdater
            ProtwordsItem testItem = new ProtwordsItem(0, "testWord");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc;
    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     *
     * @author mbechler
     *
     */
    class SmbTreeConnection implements AutoCloseable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top