Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for arbitraria (0.35 sec)

  1. docs/en/docs/tutorial/body-nested-models.md

    But you don't have to worry about them either, incoming dicts are converted automatically and your output is converted automatically to JSON too.
    
    ## Bodies of arbitrary `dict`s { #bodies-of-arbitrary-dicts }
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    
    ## Response with arbitrary `dict` { #response-with-arbitrary-dict }
    
    You can also declare a response using a plain arbitrary `dict`, declaring just the type of the keys and values, without using a Pydantic model.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransportPool.java

         *
         * @throws CIFSException if an error occurs during authentication
         *
         */
        boolean close() throws CIFSException;
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacSignatureTest.java

            // Prepare data
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            int defaultType = 99;
            writeLittleEndianInt(baos, defaultType);
            byte[] checksum = new byte[10]; // Arbitrary length
            for (int i = 0; i < checksum.length; i++) {
                checksum[i] = (byte) i;
            }
            baos.write(checksum);
            byte[] data = baos.toByteArray();
    
            // Create PacSignature
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    Apart from all the fancy words used here, the **Dependency Injection** system is quite simple.
    
    Just functions that look the same as the *path operation functions*.
    
    But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees).
    
    /// tip
    
    All this might not seem as useful with these simple examples.
    
    But you will see how useful it is in the chapters about **security**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
            NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation);
            String result = cmd.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/******@****.***" })
        @DisplayName("Name parameter is ignored (null/empty/arbitrary)")
        void nameParameter_isIgnoredAndDoesNotAffectResult(String name) {
            // Arrange
            StaticJAASConfiguration cfg = new StaticJAASConfiguration();
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test constructor DcerpcException(int error) with an unknown error code.
         */
        @Test
        void testConstructorWithError_unknownCode() {
            int errorCode = 0x12345678; // An arbitrary unknown error code
            DcerpcException exception = new DcerpcException(errorCode);
    
            assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            return Stream.of(Arguments.of(0, 0L, 0L, 0L, 0L), // all zeros
                    Arguments.of(1, 1L, 1L, 1L, 1L), // ones
                    Arguments.of(123, 456L, 789L, 101112L, 131415L), // arbitrary positives
                    Arguments.of(Integer.MAX_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 999_999_999_999L, -1L), // extremes
                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

        for (Object item : Iterables.concat(equalityGroups)) {
          assertTrue(item + " must not be Object#equals to null", !item.equals(null));
          assertTrue(
              item + " must not be Object#equals to an arbitrary object of another class",
              !item.equals(NotAnInstance.EQUAL_TO_NOTHING));
          assertTrue(item + " must be Object#equals to itself", item.equals(item));
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top