Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for toves (0.27 sec)

  1. cmd/kubeadm/app/util/copy.go

    	if err != nil {
    		return err
    	}
    	defer func() {
    		_ = destFile.Close()
    	}()
    
    	_, err = io.Copy(destFile, sourceFile)
    
    	return err
    }
    
    // MoveFile moves a file from src to dest.
    func MoveFile(src, dest string) error {
    	err := os.Rename(src, dest)
    	if err != nil && strings.Contains(err.Error(), "invalid cross-device link") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc

    namespace mlir {
    namespace TFTPU {
    
    namespace {
    
    #define GEN_PASS_DEF_TPUPARALLELEXECUTESINKRESOURCEWRITEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // A pass that moves `tf.AssignVariableOp` into a `tf_device.parallel_execute`
    // region if the `tf.AssignVariableOp` is the only consumer of a
    // `tf_device.parallel_execute` result. This will allow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 06 04:46:18 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

        // Specifically requesting the GradleUserHomeTemporaryFileProvider to ensure that the temporary files are created on the same file system as the target directory
        // This is a prerequisite for atomic moves in most cases, which are used in the provisionFromArchive method
        private final GradleUserHomeTemporaryFileProvider temporaryFileProvider;
    
        @Inject
        public DefaultJdkCacheDirectory(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/runtime/start_line_test.go

    	"runtime"
    	"testing"
    )
    
    // The tests in this file test the function start line metadata included in
    // _func and inlinedCall. TestStartLine hard-codes the start lines of functions
    // in this file. If code moves, the test will need to be updated.
    //
    // The "start line" of a function should be the line containing the func
    // keyword.
    
    func normalFunc() int {
    	return callerStartLine(false)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/postupgrade_test.go

    }
    
    // moveFiles moves files from one directory to another.
    func moveFiles(files map[string]string) error {
    	filesToRecover := make(map[string]string, len(files))
    	for from, to := range files {
    		if err := os.Rename(from, to); err != nil {
    			return rollbackFiles(filesToRecover, err)
    		}
    		filesToRecover[to] = from
    	}
    	return nil
    }
    
    // rollbackFiles moves the files back to the original directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 11:40:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_boost.txt

    # If 'go get -u' finds an upgrade candidate that isn't viable,
    # but some other upgraded module's requirement moves past it
    # (for example, to a higher prerelease), then we should accept
    # the transitive upgrade instead of trying lower roots.
    
    go get -v -u . example.net/b@v0.1.0
    cmp go.mod go.mod.want
    
    -- go.mod --
    module example
    
    go 1.17
    
    require (
    	example.net/a v0.1.0
    	example.net/b v0.1.0
    	example.net/c v0.1.0
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. test/typeparam/list2.go

    }
    
    // MoveToFront moves element e to the front of list l.
    // If e is not an element of l, the list is not modified.
    // The element must not be nil.
    func (l *_List[T]) MoveToFront(e *_Element[T]) {
    	if e.list != l || l.root.next == e {
    		return
    	}
    	// see comment in _List.Remove about initialization of l
    	l.move(e, &l.root)
    }
    
    // MoveToBack moves element e to the back of list l.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/tier-last-day-stats.go

    	UpdatedAt time.Time
    }
    
    func (l *lastDayTierStats) addStats(ts tierStats) {
    	now := time.Now()
    	l.forwardTo(now)
    
    	nowIdx := now.Hour()
    	l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/grad_helper.cc

      // data = { input_shape, axes_ones }
      //      = { [2, 3, 5, 7], [1, 1] }
      // The input_rank_range entry in indices first replicates the
      // input_shape to the result.
      // The axes entry in indices then moves a 1 to each of its entries,
      // resulting in
      // [2, 1, 1, 7]
      std::vector<Output> indices = {input_rank_range, axes};
      std::vector<Output> data = {input_shape, axes_ones};
      return DynamicStitch(scope, indices, data);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

    #include "mlir/IR/OperationSupport.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h"
    
    namespace mlir {
    namespace TFL {
    
    // Moves the TF operations out from the tfl.TFCustomOps wrappers inside the
    // function. This is a no-op for the ops which are not wrapped.
    LogicalResult UnwrapTFCustomOps(func::FuncOp fn, OpBuilder& builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top