Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for renameat (0.18 sec)

  1. docs/en/docs/tutorial/body-updates.md

    Like `item.model_dump(exclude_unset=True)`.
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/mergelocals_test.go

    	"cmd/internal/src"
    	"internal/testenv"
    	"path/filepath"
    	"sort"
    	"strings"
    	"testing"
    )
    
    func mkiv(name string) *ir.Name {
    	i32 := types.Types[types.TINT32]
    	s := typecheck.Lookup(name)
    	v := ir.NewNameAt(src.NoXPos, s, i32)
    	return v
    }
    
    func TestMergeLocalState(t *testing.T) {
    	v1 := mkiv("v1")
    	v2 := mkiv("v2")
    	v3 := mkiv("v3")
    
    	testcases := []struct {
    		vars      []*ir.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder) {
      switch (value.value_case()) {
        case AttrValue::kI:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/storage-interface.go

    	ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (FileInfo, error)
    	ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error)
    	RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error)
    
    	// File operations.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go

    	def("script", loadJS("html/common.js"))
    	def("top", loadFile("html/top.html"))
    	def("sourcelisting", loadFile("html/source.html"))
    	def("plaintext", loadFile("html/plaintext.html"))
    	// TODO: Rename "stacks" to "flamegraph" to seal moving off d3 flamegraph.
    	def("stacks", loadFile("html/stacks.html"))
    	def("stacks_css", loadCSS("html/stacks.css"))
    	def("stacks_js", loadJS("html/stacks.js"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/handling-errors.md

    In this example, to be able to have both `HTTPException`s in the same code, Starlette's exceptions is renamed to `StarletteHTTPException`:
    
    ```Python
    from starlette.exceptions import HTTPException as StarletteHTTPException
    ```
    
    ### Reuse **FastAPI**'s exception handlers
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top