Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,182 for Check (0.01 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
        // Check that source returns the right data
        assertTrue(Arrays.equals(data, source.read()));
    
        // Make sure that reset deleted the file
        out.reset();
        if (file != null) {
          assertFalse(file.exists());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbExceptionTest.java

            // Then
            assertNotNull(exception);
            assertNotNull(exception.getMessage());
            assertTrue(exception.getMessage().length() > 0);
        }
    
        @Test
        @DisplayName("Should check if exception is retriable")
        void testRetriableExceptions() {
            // Test non-retriable errors
            SmbException accessDenied = new SmbException(NtStatus.NT_STATUS_ACCESS_DENIED, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/index.md

    **FastAPI** provides several tools to help you deal with **Security** easily, rapidly, in a standard way, without having to study and learn all the security specifications.
    
    But first, let's check some small concepts.
    
    ## In a hurry? { #in-a-hurry }
    
    If you don't care about any of these terms and you just need to add security with authentication based on username and password *right now*, skip to the next chapters.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return resultData;
        }
    
        /**
         * Checks if the response data represents HTML content.
         *
         * @param responseData the response data to check
         * @return true if the content is HTML, false otherwise
         */
        protected boolean isHtml(final ResponseData responseData) {
            final String mimeType = responseData.getMimeType();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                // Validate that security buffer doesn't exceed available data
                if (hdrStart + securityBufferOffset < hdrStart || // Check for integer overflow
                        hdrStart + securityBufferOffset + securityBufferLength < 0 || // Check for integer overflow
                        hdrStart + securityBufferOffset + securityBufferLength > buffer.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // When
                copy.encode(buffer, startIndex);
    
                // Then
                // Check bytes before encoded area
                for (int i = 0; i < startIndex; i++) {
                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
    
                // Check bytes after encoded area
                for (int i = startIndex + expectedSize; i < buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertEquals(String.class, m3.getReturnType());
            assertEquals(2, m3.getParameterCount());
            assertEquals(0, m3.getExceptionTypes().length);
    
            // Package check to ensure we are validating the correct type
            assertEquals("jcifs.smb", clazz.getPackage().getName());
        }
    
        // Happy path: shouldForceSigning returns the configured value
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    		vc, err = globalBucketVersioningSys.Get(bi.Name)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bi.Name)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bi.Name}) {
    			return err
    		}
    
    		// Check if bucket is object locked.
    		lr, err = globalBucketObjectLockSys.Get(bi.Name)
    		if err != nil {
    			return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
    
            return null; // No witness service found
        }
    
        /**
         * Check if witness service is available on the given address
         *
         * @param address the address to check
         * @return true if witness service is available
         */
        private boolean isWitnessServiceAvailable(InetAddress address) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top