Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for renameat (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            def newInitScript1 = file('new' + initScript1.name)
            def newInitScript2 = file('new' + initScript2.name)
            initScript1.renameTo(newInitScript1)
            initScript2.renameTo(newInitScript2)
            configurationCacheRun 'build', '-I', newInitScript1.absolutePath, '-I', newInitScript2.absolutePath
    
            then:
            outputDoesNotContain 'initscript1!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFile(source, destination);
            }
        }
    
        /**
         * If the destination file exists, then this method will overwrite it.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/export_test.go

    		c.fe = TestFrontend{
    			t:    c.tb,
    			ctxt: c.config.ctxt,
    			f:    fn,
    		}
    	}
    	return c.fe
    }
    
    func (c *Conf) Temp(typ *types.Type) *ir.Name {
    	n := ir.NewNameAt(src.NoXPos, &types.Sym{Name: "aFakeAuto"}, typ)
    	n.Class = ir.PAUTO
    	return n
    }
    
    // TestFrontend is a test-only frontend.
    // It assumes 64 bit integers and pointers.
    type TestFrontend struct {
    	t    testing.TB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-api/src/main/java/org/gradle/declarative/dsl/model/annotations/Restricted.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Target({ElementType.TYPE, ElementType.METHOD})
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:57:00 UTC 2024
    - 1005 bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/fetch.go

    	// or lost after a file system crash. Re-hash the zip without downloading.
    	if zipExists {
    		return hashZip(mod, zipfile, ziphashfile)
    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

                    String renamed = entry.getPath().getLastName();
                    if (renamed.startsWith(RemappingScriptSource.MAPPED_SCRIPT)) {
                        renamed = className + renamed.substring(RemappingScriptSource.MAPPED_SCRIPT.length());
                    }
                    byte[] content = classData.getClassContent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top