Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 154 for reminder (0.18 sec)

  1. docs/en/docs/advanced/templates.md

    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
    
    ```Python hl_lines="4  11  15-18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath.go

    		default:
    			return nil, false, errWildcardObjectLookup
    		}
    
    	case p[0].ArrayWildcard:
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errWildcardArrayLookup
    		}
    
    		// Lookup remainder of path in each array element and
    		// make result array.
    		var result []interface{}
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. fastapi/responses.py

        Read more about it in the
        [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
            return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
    
    
    class ORJSONResponse(JSONResponse):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    TF_Graph::TF_Graph()
        : graph(tensorflow::OpRegistry::Global()),
          refiner(graph.versions().producer(), graph.op_registry()),
          delete_requested(false),
          parent(nullptr),
          parent_inputs(nullptr) {
      // Tell the shape refiner to also run shape inference on functions.
      refiner.set_function_library_for_shape_inference(&graph.flib_def());
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

        }
    
        public void addMessage(String message) {
            messages.add(message);
        }
    
        public String toString() {
            return render("");
        }
    
        public String render(String indentation) {
            if (messages.size() == 0) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * @param dividend the dividend (numerator)
       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       * @since 11.0
       */
      public static long remainder(long dividend, long divisor) {
        if (divisor < 0) { // i.e., divisor >= 2^63:
          if (compare(dividend, divisor) < 0) {
            return dividend; // dividend < divisor
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        // Now process directly from the rest of the input buffer
        while (readBuffer.remaining() >= chunkSize) {
          process(readBuffer);
        }
    
        // Finally stick the remainder back in our usual buffer
        buffer.put(readBuffer);
        return this;
      }
    
      /*
       * Note: hashString(CharSequence, Charset) is intentionally not overridden.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/cloud.md

    * <a href="https://docs.render.com/deploy-fastapi?utm_source=deploydoc&utm_medium=referral&utm_campaign=fastapi" class="external-link" target="_blank">Render</a>...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. internal/grid/types.go

    func (m *MSS) Set(key, value string) {
    	if m == nil {
    		*m = mssPool.Get().(map[string]string)
    	}
    	(*m)[key] = value
    }
    
    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    func (m *MSS) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	if m == nil {
    		return bts, errors.New("MSS: UnmarshalMsg on nil pointer")
    	}
    	if msgp.IsNil(bts) {
    		bts = bts[1:]
    		*m = nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
              UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
              long expected =
                  aUnsigned.bigIntegerValue().remainder(bUnsigned.bigIntegerValue()).longValue();
              UnsignedLong unsignedRem = aUnsigned.mod(bUnsigned);
              assertThat(unsignedRem.longValue()).isEqualTo(expected);
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top