Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Presence (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        // Test payload for validation
        private static class TestPayload implements Payload {
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        // Test annotation presence and structure
        public void test_annotationPresence() {
            assertTrue("CustomSize should be an annotation", CustomSize.class.isAnnotation());
        }
    
        // Test annotation retention policy
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        private static class AnotherTestPayload implements Payload {
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        // Test annotation presence and structure
        public void test_annotationPresence() {
            assertTrue("UriType should be an annotation", UriType.class.isAnnotation());
        }
    
        // Test annotation retention policy
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. doc/go_mem.html

    may be considered to be able to return false
    even when the mutex <i>l</i> is unlocked.
    </p>
    
    <h3 id="once">Once</h3>
    
    <p>
    The <code>sync</code> package provides a safe mechanism for
    initialization in the presence of multiple goroutines
    through the use of the <code>Once</code> type.
    Multiple threads can execute <code>once.Do(f)</code> for a particular <code>f</code>,
    but only one will run <code>f()</code>, and the other calls block
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

             * pending, so its `state` field hasn't been nulled out yet.
             *
             * OK, it's technically possible for this to fail in the presence of unsafe publishing, as
             * discussed in the comments in TimeoutFuture. TODO(cpovirk): Maybe check for null before
             * calling recordOutputCancellation?
             */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top