Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for Walks (0.18 sec)

  1. pkg/kubelet/kubelet_getters.go

    		return nil, fmt.Errorf("error checking if path %q exists: %v", podSubpathsDir, pathErr)
    	} else if !pathExists {
    		return volumes, nil
    	}
    
    	// Explicitly walks /<volume>/<container name>/<subPathIndex>
    	volumePluginDirs, err := os.ReadDir(podSubpathsDir)
    	if err != nil {
    		klog.ErrorS(err, "Could not read directory", "path", podSubpathsDir)
    		return volumes, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer.go

    		return true, nil
    	}
    
    	contentOnFs, err := os.ReadFile(path)
    	if err != nil {
    		return false, err
    	}
    
    	return !bytes.Equal(content, contentOnFs), nil
    }
    
    // pathsToRemove walks the current version of the data directory and
    // determines which paths should be removed (if any) after the payload is
    // written to the target directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode.go

    					d.ctxt.Logf("markable method: %v of sym %v %s\n", m, symIdx, d.ldr.SymName(symIdx))
    				}
    			}
    			d.markableMethods = append(d.markableMethods, methods...)
    		}
    	}
    }
    
    // mapinitcleanup walks all pkg init functions and looks for weak relocations
    // to mapinit symbols that are no longer reachable. It rewrites
    // the relocs to target a new no-op routine in the runtime.
    func (d *deadcodePass) mapinitcleanup() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs.go

    package fstest
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"reflect"
    	"slices"
    	"strings"
    	"testing/iotest"
    )
    
    // TestFS tests a file system implementation.
    // It walks the entire tree of files in fsys,
    // opening and checking that each file behaves correctly.
    // It also checks that the file system contains at least the expected files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/go/parser/resolver.go

    // license that can be found in the LICENSE file.
    
    package parser
    
    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    	"strings"
    )
    
    const debugResolve = false
    
    // resolveFile walks the given file to resolve identifiers within the file
    // scope, updating ast.Ident.Obj fields with declaration information.
    //
    // If declErr is non-nil, it is used to report declaration errors during
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. src/text/template/doc.go

    template refer to elements of the data structure (typically a field of a struct
    or a key in a map) to control execution and derive values to be displayed.
    Execution of the template walks the structure and sets the cursor, represented
    by a period '.' and called "dot", to the value at the current location in the
    structure as execution proceeds.
    
    The input text for a template is UTF-8-encoded text in any format.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/value.go

    func (m *MapValue) Get(key ref.Val) ref.Val {
    	v, found := m.Find(key)
    	if found {
    		return v
    	}
    	return types.ValOrErr(key, "no such key: %v", key)
    }
    
    // Iterator produces a traits.Iterator which walks over the map keys.
    //
    // The Iterator is frequently used within comprehensions.
    func (m *MapValue) Iterator() traits.Iterator {
    	keys := make([]ref.Val, len(m.fieldMap))
    	i := 0
    	for k := range m.fieldMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/complit.go

    	"cmd/compile/internal/ssa"
    	"cmd/compile/internal/staticdata"
    	"cmd/compile/internal/staticinit"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    // walkCompLit walks a composite literal node:
    // OARRAYLIT, OSLICELIT, OMAPLIT, OSTRUCTLIT (all CompLitExpr), or OPTRLIT (AddrExpr).
    func walkCompLit(n ir.Node, init *ir.Nodes) ir.Node {
    	if isStaticCompositeLiteral(n) && !ssa.CanSSA(n.Type()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      // each region attached to Op's within a function is analyzed independently.
      // Seed this analysis for each such region by mapping all resource arguments
      // for such regions to a new unique-id. This is required because walk() walks
      // the attached regions first before visiting the op, so there is no
      // opportunity during the walk to seed region arguments. Also note that walk
      // eventually also visits the Op on which the walk() is called, so make sure
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/dwarf.go

    // function is to identify cases where there are outstanding fixups.
    // This scenario crops up when we have references to variables of an
    // inlined routine, but that routine is defined in some other package.
    // This helper walks through and locate these fixups, then invokes a
    // helper to create an abstract subprogram DIE for each one.
    func (ft *DwarfFixupTable) Finalize(myimportpath string, trace bool) {
    	if trace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top