Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for UNIQUE (0.2 sec)

  1. tests/migrate_test.go

    		if field == nil {
    			t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName)
    		}
    		if field.Unique != unique {
    			t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique)
    		}
    		if field.UniqueIndex != uniqueIndex {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    In this case, you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                String nonceStr = Arrays.toString(nonce);
                assertFalse(nonces.contains(nonceStr), "Nonce should be unique");
                nonces.add(nonceStr);
            }
    
            // Then all nonces should be unique
            assertEquals(numNonces, nonces.size(), "All nonces should be unique");
        }
    
        @Test
        @DisplayName("Should generate secure nonces with proper randomness")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            faultCodes.add(DcerpcError.DCERPC_FAULT_UNK_IF);
            faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR);
    
            // Verify all 9 codes are unique
            assertEquals(9, faultCodes.size(), "All fault codes should be unique");
        }
    
        @Test
        @DisplayName("Should verify fault code value ranges and patterns")
        void testFaultCodeValueRanges() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types { #other-data-types }
    
    Here are some of the additional data types you can use:
    
    * `UUID`:
        * A standard "Universally Unique Identifier", common as an ID in many databases and systems.
        * In requests and responses will be represented as a `str`.
    * `datetime.datetime`:
        * A Python `datetime.datetime`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals((byte) 10, FileInformation.FILE_RENAME_INFO);
        }
    
        /**
         * Test that constants are unique
         */
        @Test
        @DisplayName("Test FileInformation constants are unique")
        void testConstantsAreUnique() {
            byte[] constants = { FileInformation.FILE_ENDOFFILE_INFO, FileInformation.FILE_BASIC_INFO, FileInformation.FILE_STANDARD_INFO,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NetbiosAddress.java

     * ---------------------------------------------
     * JMORRIS2        <00>  UNIQUE      Registered
     * BILLING-NY      <00>  GROUP       Registered
     * JMORRIS2        <03>  UNIQUE      Registered
     * JMORRIS2        <20>  UNIQUE      Registered
     * BILLING-NY      <1E>  GROUP       Registered
     * JMORRIS         <03>  UNIQUE      Registered
     *
     * MAC Address = 00-B0-34-21-FA-3B
     * </pre>
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

        @DisplayName("Constants Validation Tests")
        class ConstantsValidationTests {
    
            @Test
            @DisplayName("All fragment flags should have unique values")
            void testFragmentFlagsUniqueness() {
                // Verify that fragment flags are unique and follow bit pattern
                assertEquals(1, Integer.bitCount(DcerpcConstants.DCERPC_FIRST_FRAG), "DCERPC_FIRST_FRAG should be a single bit");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

        private final RdmaMemoryRegion memoryRegion;
        private volatile boolean completed;
        private volatile Exception error;
    
        /**
         * Create new RDMA work request
         *
         * @param requestId unique request identifier
         * @param type type of request
         * @param memoryRegion associated memory region
         */
        public RdmaWorkRequest(long requestId, RequestType type, RdmaMemoryRegion memoryRegion) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    With this, even if you receive a request with duplicate data, it will be converted to a set of unique items.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top