Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Presence (0.12 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashSet.java

        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        /**
         * Returns true if this set contains the specified element.
         *
         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocMap.java

        @Override
        public boolean isEmpty() {
            return parent.isEmpty();
        }
    
        /**
         * Returns true if this map contains a mapping for the specified key.
         *
         * @param key the key whose presence in this map is to be tested
         * @return true if this map contains a mapping for the specified key
         */
        @Override
        public boolean containsKey(final Object key) {
            return parent.containsKey(key);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        }
    
        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
            assertTrue((flags & SecurityInfo.DACL_SECURITY_INFO) != 0);
    
            // Test absence of flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/MIENameTest.java

            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    First, we create a `GzipRequest` class, which will overwrite the `Request.body()` method to decompress the body in the presence of an appropriate header.
    
    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            // Verify basic properties are preserved
            assertEquals(message, exception.getMessage());
    
            // The presence of serialVersionUID is verified at compile time
            // and the exception extends RuntimeException which is Serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         *
         * @return the top-level directory path
         */
        @Nonnull
        Path topDirectory();
    
        /**
         * Returns the root directory of the Maven invocation, if found. This is determined by the presence of a
         * {@code .mvn} directory or a POM with the root="true" property but is not always applicable (ie invocation
         * from outside a checkout).
         *
         * @return the root directory path, if present
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertEquals(d1, d2);
    
            // Different type -> false
            assertFalse(a.equals("not-an-auth"));
        }
    
        @Test
        @DisplayName("isAnonymous: depends on subject presence and super")
        void isAnonymous_behaviour() {
            Kerb5Authenticator anon = new Kerb5Authenticator((Subject) null);
            assertTrue(anon.isAnonymous(), "Null subject with default super should be anonymous");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Subscriber.java

          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
      }
    
      /**
       * Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link
       * AllowConcurrentEvents} annotation.
       */
      private static boolean isDeclaredThreadSafe(Method method) {
        return method.getAnnotation(AllowConcurrentEvents.class) != null;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            int access = accessCaptor.getValue();
            boolean hasReadData = (access & SmbConstants.FILE_READ_DATA) != 0;
            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
        @DisplayName("openCopyTargetFile retries after removing READONLY and succeeds")
        void openCopyTargetFile_retryOnReadonly_thenSuccess() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top