Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 422 for ensures (0.04 sec)

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

         */
        SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException {
            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle implementation
         * @throws CIFSException if a connection error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         */
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        /**
         * Sorts both the current inputs and new inputs arrays in place.
         * This ensures consistent ordering for comparison and equality operations.
         */
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertNotNull(buffer, "Buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
            assertTrue(buffer.length > 0, "Buffer size should be positive");
            assertTrue(buffer.length <= 0x100000, "Buffer size should not exceed 1MB");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * since it represents a POM file that is actively being built and may change during the build process.
         * <p>
         * The request-scoped retention policy ensures that:
         * <ul>
         *   <li>Changes to the POM file during the build are detected</li>
         *   <li>Cache entries don't persist beyond the current build request</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * shouldn't)
         *
         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
         * seenExceptionsField always contains not just the current thread's exception but also the
         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // When - Release session to trigger cleanup
            session.release();
    
            // Then - Trees should be cleared (we can't directly verify as it's internal,
            // but the cleanup code with synchronized block ensures it happens atomically)
            // The important part is that no exception occurs and the operation is atomic
        }
    
        /**
         * Test concurrent acquire and release operations.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

          .isEqualTo("<< 0x00000003 10000 HEADERS       PRIORITY")
        assertThat(frameLog(true, 3, 10000, TYPE_DATA, 0x20))
          .isEqualTo("<< 0x00000003 10000 DATA          COMPRESSED")
      }
    
      /**
       * Ensures that valid flag combinations appear visually correct, and invalid show in hex.  This
       * also demonstrates how sparse the lookup table is.
       */
      @Test
      fun allFormattedFlagsWithValidBits() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

            }).orElse(Collections.emptyList());
        }
    
        /**
         * Retrieves the character mapping file for the specified dictionary ID.
         * <p>
         * This method looks up the dictionary file and ensures it is a character mapping file
         * before returning it wrapped in an OptionalEntity.
         * </p>
         *
         * @param dictId the dictionary ID to retrieve the character mapping file for
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    
    /**
     * Runs a [TaskRunner] in a controlled environment so that everything is sequential and
     * deterministic.
     *
     * This class ensures that at most one thread is running at a time. This is initially the JUnit test
     * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

        }
    
        @Override
        public Lock writeLock() {
          return new WeakSafeLock(delegate.writeLock(), this);
        }
      }
    
      /** Lock object that ensures a strong reference is retained to a specified object. */
      private static final class WeakSafeLock extends ForwardingLock {
        private final Lock delegate;
    
        @SuppressWarnings("unused")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top