Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ReadMode (0.14 sec)

  1. cmd/xl-storage.go

    	if contextCanceled(ctx) {
    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) = ntdll.NtCreateNamedPipeFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/cache/cache_test.go

    			if err := cache.RemovePod(logger, pod); err == nil {
    				t.Error("expected error, no error found")
    			}
    
    			// Node that owned the Pod should be at the head of the list.
    			if cache.headNode.info.Node().Name != nodeName {
    				t.Errorf("node %q is not at the head of the list", nodeName)
    			}
    		})
    	}
    }
    
    func TestForgetPod(t *testing.T) {
    	nodeName := "node"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    )
    
    type deadValueChoice bool
    
    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    // deadcode indicates whether rewrite should try to remove any values that become dead.
    func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) {
    	// repeat rewrites until we find no more rewrites
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/regalloc.go

    // SSA form isn't needed after regalloc. We'll just leave the use
    // of x3 not dominated by the definition of x3, and the CX->BX copy
    // will have no use (so don't run deadcode after regalloc!).
    // TODO: maybe we should introduce these extra phis?
    
    package ssa
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    	dynid       map[Sym]int32       // stores Dynid for symbol
    
    	relocVariant map[relocId]sym.RelocVariant // stores variant relocs
    
    	// Used to implement field tracking; created during deadcode if
    	// field tracking is enabled. Reachparent[K] contains the index of
    	// the symbol that triggered the marking of symbol K as live.
    	Reachparent []Sym
    
    	// CgoExports records cgo-exported symbols by SymName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    				sb2.AddUint8(1)
    			} else {
    				sb2.AddUint8(0)
    			}
    		}
    
    		// Set runtime.disableMemoryProfiling bool if
    		// runtime.MemProfile is not retained in the binary after
    		// deadcode (and we're not dynamically linking).
    		memProfile := ctxt.loader.Lookup("runtime.MemProfile", abiInternalVer)
    		if memProfile != 0 && !ctxt.loader.AttrReachable(memProfile) && !ctxt.DynlinkingGo() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top