Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for renamer (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

            return this;
        }
    
        @Override
        public CopySpec rename(Closure closure) {
            return rename(new ClosureBackedTransformer(closure));
        }
    
        @Override
        public CopySpec rename(Transformer<String, String> renamer) {
            appendCopyAction(new RenamingCopyAction(renamer));
            return this;
        }
    
        @Override
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. src/go/types/generate_test.go

    // makeRenameMap returns a renameMap populates from renames entries of the form "from->to".
    func makeRenameMap(renames ...string) renameMap {
    	m := make(renameMap)
    	for _, r := range renames {
    		s := strings.Split(r, "->")
    		if len(s) != 2 {
    			panic("invalid rename entry: " + r)
    		}
    		m[s[0]] = s[1]
    	}
    	return m
    }
    
    // rename renames the given string s if a corresponding rename exists in m.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/internal/coverage/cfile/emit.go

    	}
    	if err := s.cf.Close(); err != nil {
    		return fmt.Errorf("closing counter data file: %v", err)
    	}
    
    	// Counter file has now been closed. Rename the temp to the
    	// final desired path.
    	if err := os.Rename(s.cftmp, s.cfname); err != nil {
    		return fmt.Errorf("writing %s: rename from %s failed: %v\n", s.cfname, s.cftmp, err)
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        suffix_id++;
        new_func_name = absl::StrCat(main_func_name.str(), "_", suffix_id);
      }
    
      return new_func_name;
    }
    
    // Renames the existing @main function to avoid conflict with the newly
    // created main function. When it is renamed, its usages will also be replaced.
    // It will be renamed by attaching a number suffix like `@main_{i}`, until there
    // are no conflicts. This function is a no-op when no function called @main
    // exists.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                        rename { "renamed_$it" }
                        filter { "[$it]" }
                    }
                    into('scripts') {
                        from 'test'
                        include '**/*.sh'
                    }
                    into('conf') {
                        from 'test'
                        include '**/*.properties'
                        rename { null }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

    namespace odml {
    
    class RenameEntrypointToMainPass
        : public PassWrapper<RenameEntrypointToMainPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "rename-entrypoint-to-main"; }
      StringRef getDescription() const final {
        return "Renames the entrypoint in SavedModel to `main`";
      }
    
      void runOnOperation() override {
        auto fail = [&](Operation* op, std::string message) {
          op->emitError(message);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/go/doc/reader.go

    // AST reader
    
    // reader accumulates documentation for a single package.
    // It modifies the AST: Comments (declaration documentation)
    // that have been collected by the reader are set to nil
    // in the respective AST nodes so that they are not printed
    // twice (once when printing the documentation and once when
    // printing the corresponding AST node).
    type reader struct {
    	mode Mode
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. src/archive/tar/reader.go

    	"strconv"
    	"strings"
    	"time"
    )
    
    // Reader provides sequential access to the contents of a tar archive.
    // Reader.Next advances to the next file in the archive (including the first),
    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    	curr fileReader // Reader for current file entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top