Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 602 for corrupt (0.04 seconds)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            result = response.readParametersWireFormat(smallBuffer, 0, -1);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test command type is correct")
        void testCommandType() {
            // Verify that the command is not set in constructor (defaults to 0)
            assertEquals(0, response.getCommand());
    
            // Verify we can change the subcommand
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

    /**
     * Unit tests for DirectoryLeaseState
     */
    public class DirectoryLeaseStateTest {
    
        @Test
        public void testDirectoryLeaseConstants() {
            // Test that directory lease states use correct base values
            assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING,
                    DirectoryLeaseState.DIRECTORY_READ_HANDLE);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/response-cookies.md

    /// tip | Astuce
    
    Gardez à l'esprit que si vous renvoyez une réponse directement au lieu d'utiliser le paramètre `Response`, FastAPI la renverra telle quelle.
    
    Vous devez donc vous assurer que vos données sont du type correct. Par exemple, qu'elles sont compatibles avec JSON si vous renvoyez une `JSONResponse`.
    
    Et également que vous n'envoyez pas de données qui auraient dû être filtrées par un `response_model`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * to populate fields if the writeXxx operation needs this header data
                 * for whatever reason. I copy over the uid here so it appears correct
                 * in logging output. Logging of andx segments of messages inadvertantly
                 * print header information because of the way toString always makes a
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/MediaType.java

       * font/woff} to be the correct media type for WOFF, but this may be necessary in certain
       * situations for compatibility.
       *
       * @since 17.0
       */
      public static final MediaType WOFF = createConstant(APPLICATION_TYPE, "font-woff");
    
      /**
       * <a href="https://tools.ietf.org/html/rfc8081">RFC 8081</a> declares {@link #FONT_WOFF2
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         * @throws PACDecodingException if the PAC decoding fails.
         */
        @Test
        void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException {
            // A byte array with a length less than 32 should be correct.
            byte[] validData = new byte[31];
            PacCredentialType pacCredentialType = new PacCredentialType(validData);
            assertTrue(pacCredentialType.isCredentialTypeCorrect());
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        }
    
        @Test
        public void test_classStructure() {
            // Test that the class exists and has the expected structure
            assertEquals("CustomSizeValidator should be in correct package", "org.codelibs.fess.validation.CustomSizeValidator",
                    CustomSizeValidator.class.getName());
    
            // Test that it implements ConstraintValidator
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/bug_report.yaml

        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Expected Behavior
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 16 20:08:25 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            NdrLong ndrLong = new NdrLong(testValue);
    
            // Call the encode method
            ndrLong.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_long was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue);
            // Verify that no other interactions occurred with the mock buffer
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/response-cookies.md

    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`.
    
    And also that you are not sending any data that should have been filtered by a `response_model`.
    
    ///
    
    ### More info { #more-info }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top