Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 771 for Prevent (0.05 sec)

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

            }
        }
    
        /**
         * Tests that the accept method returns true when the file has more attributes
         * than the filter, but all filter attributes are present in the file's attributes.
         * @throws SmbException if an SMB error occurs.
         */
        @Test
        void testAccept_FileHasMoreAttributes_Matching() throws SmbException {
            // Given a filter for READONLY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosErrorTest.java

            }
        }
    
        @Test
        @DisplayName("Messages: array is present and contains expected first entries")
        void dosErrorMessagesContainsExpectedTexts() {
            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
            assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present");
            assertEquals("The operation completed successfully.", msgs[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

            hashTableVToK[valueBucket] = entryToRehash;
          }
        }
      }
    
      /**
       * Returns the bucket (in either the K-to-V or V-to-K tables) where elements with the specified
       * hash could be found, if present, or could be inserted.
       */
      private int bucket(int hash) {
        return hash & (hashTableKToV.length - 1);
      }
    
      /** Given a key, returns the index of the entry in the tables, or ABSENT if not found. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/README.md

    ```
    
    ### 3.2 Automatic removal of noncurrent versions keeping only most recent ones after noncurrent days
    
    It is possible to configure automatic removal of older noncurrent versions keeping only the most recent `N` using `NewerNoncurrentVersions`.
    
    e.g, To remove noncurrent versions of all objects keeping the most recent 5 noncurrent versions under the prefix `user-uploads/` 30 days after they become noncurrent ,
    
    ```
    {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtException.java

                    break;
                case CALLED_NOT_PRESENT:
                    result.append("Called name not present");
                    break;
                case NO_RESOURCES:
                    result.append("Called name present, but insufficient resources");
                    break;
                case UNSPECIFIED:
                    result.append("Unspecified error");
                    break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            } finally {
                docList.clear();
            }
        }
    
        /**
         * Deletes old documents that have the same URL but different document IDs
         * as the documents in the provided list. This prevents duplicate documents
         * from accumulating in the index.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param docList the list of new documents to check against
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun event() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val source = newEventSource()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Event(id, type, data))
      }
    
      fun assertOpen(): EventSource {
        val event = nextEvent() as Open
        return event.eventSource
      }
    
      fun assertClose() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    public class MultisetSetCountConditionallyTester<E> extends AbstractMultisetSetCountTester<E> {
      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertTrue(
            "setCount() with the correct expected present count should return true",
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top