Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for renameat (0.45 sec)

  1. cmd/naughty-disk_test.go

    		return err
    	}
    	return d.disk.AppendFile(ctx, volume, path, buf)
    }
    
    func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) {
    	if err := d.calcError(); err != nil {
    		return RenameDataResp{}, err
    	}
    	return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/compiler_internal.go

    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

            build("generateScriptPluginAdapters")
            assertTrue(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/FooPlugin.kt").isFile)
    
            fooScript.renameTo(fooScript.parentFile.resolve("bar.gradle.kts"))
    
            build("generateScriptPluginAdapters")
            assertFalse(existing("build/generated-sources/kotlin-dsl-plugins/kotlin/FooPlugin.kt").exists())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. 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)
  8. src/README.vendor

    be resolved normally. Consequently, a binary may be built with two
    copies of a package at different versions if the package is
    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy

            withBuildCache().run "jar", "customTask"
    
            then:
            skipped ":compileJava", ":customTask"
    
            when:
            def movedLocation = temporaryFolder.file("moved-location")
            originalLocation.renameTo(movedLocation)
            movedLocation.file("build").deleteDir()
            movedLocation.file(".gradle").deleteDir()
    
            executer.usingProjectDirectory(movedLocation)
            withBuildCache().run "jar", "customTask"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. 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)
Back to top