Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 390 for renameat (0.3 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIncrementalBuildIntegrationTest.groovy

        def "cleans up stale object files when source file renamed"() {
            def oldObjFile = objectFileFor(asmSourceFile, "build/objs/hello/shared/helloAsm")
            def newObjFile = objectFileFor(file('src/hello/asm/changed_sum.s'), "build/objs/hello/shared/helloAsm")
            assert oldObjFile.file
            assert !newObjFile.file
    
            when:
            asmSourceFile.renameTo(file("src/hello/asm/changed_sum.s"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	return er.newMultipartUpload(ctx, bucket, object, opts)
    }
    
    // renamePart - renames multipart part to its relevant location under uploadID.
    func renamePart(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry, dstBucket, dstEntry string, writeQuorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    		index := index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. src/go/printer/testdata/declarations.golden

    import _ "fmt"
    
    import "foo"	// a comment
    import "bar"	// a comment
    
    import (
    	_ "foo"
    	// a comment
    	"bar"
    	"foo"	// a comment
    	"bar"	// a comment
    )
    
    // comments + renames
    import (
    	"unrenamed"	// a comment
    	renamed "renameMe"
    	. "io"		/* a comment */
    	_ "io/ioutil"	// a comment
    	"io"		// testing alignment
    	. "os"
    	// a comment
    )
    
    // a case that caused problems in the past (comment placement)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalElement.java

                }
            };
        }
    
        /**
         * Generic transform class that rename the source of the before element.
         */
        protected static abstract class AbstractRenameTransform implements Transform {
            public static final String DEFAULT_RENAME_PREFIX = "renamed-";
            private final SourceFile sourceFile;
            private final SourceFile destinationFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. cmd/os-reliable_test.go

    	if err = renameAll("foo", "", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != errFileNotFound {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            then:
            file('dest').assertHasDescendants(
                'root.renamed',
                'root.b',
                'accents.c',
                'one/renamed_one.renamed',
                'one/renamed_one.b',
                'one/sub/onesub.renamed',
                'one/sub/onesub.b',
                'two/two.renamed',
                'two/two.b' //do not rename with 'rename { null }'
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java

                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            logDeprecation();
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFileInternal(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
    - 13.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-diff.go

    	cmd.PersistentFlags().StringVar(&diffArgs.renameResources, "rename", "",
    		"Rename resources before comparison.\n"+
    			"The format of each renaming pair is A->B, all renaming pairs are comma separated.\n"+
    			"e.g. Service:*:istiod->Service:*:istio-control - rename istiod service into istio-control")
    }
    
    func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. releasenotes/notes/inbound-cluster-rename.yaml

    John Howard <******@****.***> 1606926239 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 02 16:23:59 UTC 2020
    - 232 bytes
    - Viewed (0)
  10. src/go/printer/testdata/declarations.input

    import "foo"  // a comment
    import "bar"  // a comment
    
    import (
    	_ "foo"
    	// a comment
    	"bar"
    	"foo"  // a comment
    	"bar"  // a comment
    )
    
    // comments + renames
    import (
           "unrenamed" // a comment
           renamed "renameMe"
           . "io" /* a comment */
           _ "io/ioutil" // a comment
           "io" // testing alignment
           . "os"
           // a comment
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
Back to top