Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 2,658 for Created (0.18 sec)

  1. docs/en/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="31  37"
    {!> ../../docs_src/response_model/tutorial005.py!}
    ```
    
    ////
    
    /// tip
    
    The syntax `{"name", "description"}` creates a `set` with those two values.
    
    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    type metacacheReader struct {
    	mr      *msgp.Reader
    	current metaCacheEntry
    	err     error // stateful error
    	closer  func()
    	creator func() error
    }
    
    // newMetacacheReader creates a new cache reader.
    // Nothing will be read from the stream yet.
    func newMetacacheReader(r io.Reader) *metacacheReader {
    	dec := s2DecPool.Get().(*s2.Reader)
    	dec.Reset(r)
    	mr := msgpNewReader(dec)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. tests/delete_test.go

    	users := []User{*GetUser("delete", Config{}), *GetUser("delete", Config{}), *GetUser("delete", Config{})}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Errorf("errors happened when create: %v", err)
    	}
    
    	for _, user := range users {
    		if user.ID == 0 {
    			t.Fatalf("user's primary key should has value after create, got : %v", user.ID)
    		}
    	}
    
    	if res := DB.Delete(&users[1]); res.Error != nil || res.RowsAffected != 1 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
          return bytes.toRequestBody(finalContentType, 0, bytes.size)
        }
    
        @JvmStatic
        @JvmName("create")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

        private Configuration configuration;
    
    
        /**
         * Create an authenticator using the JAAS service <tt>jcifs</tt>
         * 
         * This will require that a keytab is configured in this service.
         * 
         * 
         */
        public JAASAuthenticator () {
            this("jcifs");
        }
    
    
        /**
         * Create an authenticator using the given JAAS service
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/LinkedListMultimap.java

       * that are not the first to be added or last to be removed for their key.
       */
      private transient int modCount;
    
      /** Creates a new, empty {@code LinkedListMultimap} with the default initial capacity. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedListMultimap<K, V> create() {
        return new LinkedListMultimap<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @Override
        public SampleElements<Entry<K, V>> samples() {
          return generator.samples();
        }
    
        @Override
        public Map<K, V> create(Object... elements) {
          return generator.create(elements);
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return generator.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Doubles.java

       * Compares the two specified {@code double} values. The sign of the value returned is the same as
       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
       * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Double#compare}. It is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_fields/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", "item", "price"],
                        "msg": "Input should be greater than 0",
                        "input": -3.0,
                        "ctx": {"gt": 0.0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_fields/test_tutorial001_py310.py

            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", "item", "price"],
                        "msg": "Input should be greater than 0",
                        "input": -3.0,
                        "ctx": {"gt": 0.0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top