Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 287 for Clone (0.05 seconds)

  1. fastapi/routing.py

                self.response_field = create_model_field(
                    name=response_name,
                    type_=self.response_model,
                    mode="serialization",
                )
                # Create a clone of the field, so that a Pydantic submodel is not returned
                # as is just because it's an instance of a subclass of a more limited class
                # e.g. UserInDB (containing hashed_password) could be a subclass of User
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    	if err != nil {
    		return nil, proxy, err
    	}
    	closeReader := func() { obj.Close() }
    	reader, err := fn(obj, h, closeReader)
    	if err != nil {
    		return nil, proxy, err
    	}
    	reader.ObjInfo = oi.Clone()
    	if rs != nil {
    		contentSize, err := parseSizeFromContentRange(h)
    		if err != nil {
    			return nil, proxy, err
    		}
    		reader.ObjInfo.Size = contentSize
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  3. api/maven-api-model/src/main/mdo/maven.mdo

                profile.</description>
            </field>
          </fields>
        </class>
        -->
        <!-- /BuildProfile support -->
        <class xml.tagName="plugin" xdoc.anchorName="report_plugin" java.clone="deep">
          <name>ReportPlugin</name>
          <version>4.0.0+</version>
          <superClass>ConfigurationContainer</superClass>
          <description>
            <![CDATA[
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                    tailIndex = newIndex;
                    tail = e;
                  }
                }
                newTable.set(tailIndex, tail);
    
                // Clone nodes leading up to the tail.
                for (ReferenceEntry<K, V> e = head; e != tail; e = e.getNext()) {
                  int newIndex = e.getHash() & newMask;
                  ReferenceEntry<K, V> newNext = newTable.get(newIndex);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.17.md

    - New APIs to allow adding/removing pods from pre-calculated prefilter state in the scheduling framework ([#82912](https://github.com/kubernetes/kubernetes/pull/82912), [@ahg-g](https://github.com/ahg-g))
    - Added Clone method to the scheduling framework's PluginContext and ContextData. ([#82951](https://github.com/kubernetes/kubernetes/pull/82951), [@ahg-g](https://github.com/ahg-g))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  6. api/go1.13.txt

    pkg net/http, func NewRequestWithContext(context.Context, string, string, io.Reader) (*Request, error)
    pkg net/http, method (Header) Clone() Header
    pkg net/http, method (*Request) Clone(context.Context) *Request
    pkg net/http, method (*Transport) Clone() *Transport
    pkg net/http, type Server struct, BaseContext func(net.Listener) context.Context
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  7. lib/fips140/v1.1.0-rc1.zip

    errCloneUnsupported) Unwrap() error { return errors.ErrUnsupported } // Clone implements [hash.Cloner] if the underlying hash does. // Otherwise, it returns an error wrapping [errors.ErrUnsupported]. func (h *HMAC) Clone() (hash.Cloner, error) { r := *h ic, ok := h.inner.(hash.Cloner) if !ok { return nil, errCloneUnsupported{} } oc, ok := h.outer.(hash.Cloner) if !ok { return nil, errCloneUnsupported{} } var err error r.inner, err = ic.Clone() if err != nil { return nil, errCloneUnsupported{} } r.outer, err...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  8. docs_src/response_headers/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 309 bytes
    - Click Count (0)
  9. docs_src/response_headers/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 222 bytes
    - Click Count (0)
  10. tests/test_tutorial/test_response_headers/test_tutorial002.py

    def test_path_operation():
        response = client.get("/headers-and-object/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Hello World"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 383 bytes
    - Click Count (0)
Back to Top