Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 3,060 for SHOULD (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

     * Implementations can specify how long cached data should be retained.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
         * @return The CacheRetention indicating how long data should be retained, or null if
         *         no specific cache retention is defined
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      // Comparisons to null *are* defined.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_null() {
        // noinspection ObjectEqualsNull
        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      // A collection should essentially never be equal to a non-collection.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

      public void testRemoveIf_alwaysFalse() {
        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

    /**
     * Verifies scope inheritance of direct and transitive dependencies.
     *
     * Should show three behaviors:
     *
     * 1. dependencyManagement should override the scope of transitive dependencies.
     * 2. Direct dependencies should override the scope of dependencyManagement.
     * 3. Direct dependencies should inherit scope from dependencyManagement when
     *    they do not explicitly state a scope.
     *
     */
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
            assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4));
    
            // Verify resumeKey (4 bytes)
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
            // Verify tflags (2 bytes) - should be 0x00
            assertEquals(0x00, SMBUtil.readInt2(buffer, 10));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
            // The code returns true on line 281 when signatures DON'T match
            boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
    
            // The verification should succeed (return false) since we're using the same key
            assertFalse(result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            boolBuilder.add(new TermQuery(new Term("field1", "value1")), BooleanClause.Occur.MUST);
            boolBuilder.add(new TermQuery(new Term("field2", "value2")), BooleanClause.Occur.SHOULD);
            BooleanQuery boolQuery = boolBuilder.build();
            BoostQuery boostQuery = new BoostQuery(boolQuery, 2.0f);
    
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/PercentEscaper.java

      /** If true we should convert space to the {@code +} character. */
      private final boolean plusForSpace;
    
      /**
       * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c}
       * should remain unmodified in the output. If {@code c >= safeOctets.length} then it should be
       * escaped.
       */
      private final boolean[] safeOctets;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
            assertEquals(SmbConstants.TYPE_PRINTER, info.getType());
    
            typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            // Test List interface (should use get(0) for performance)
            List<BsUser> list = Arrays.asList(entity1, entity2);
            RenderDataUtil.register(data, "list", list);
    
            Object result = data.getDataMap().get("list");
            assertNotNull(result);
            assertTrue(result instanceof List);
    
            // Test Set interface (should use iterator().next())
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top