Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ReadMode (0.3 sec)

  1. src/runtime/cpuprof.go

    	lock(&cpuprof.lock)
    	log := cpuprof.log
    	unlock(&cpuprof.lock)
    	readMode := profBufBlocking
    	if GOOS == "darwin" || GOOS == "ios" {
    		readMode = profBufNonBlocking // For #61768; on Darwin notes are not async-signal-safe.  See sigNoteSetup in os_darwin.go.
    	}
    	data, tags, eof := log.read(readMode)
    	if len(data) == 0 && eof {
    		lock(&cpuprof.lock)
    		cpuprof.log = nil
    		unlock(&cpuprof.lock)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. 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 (0)
  3. src/cmd/link/internal/ld/deadcode.go

    		if exportsIdx != 0 {
    			relocs := d.ldr.Relocs(exportsIdx)
    			for i := 0; i < relocs.Count(); i++ {
    				d.mark(relocs.At(i).Sym(), 0)
    			}
    		}
    	}
    
    	if d.ctxt.Debugvlog > 1 {
    		d.ctxt.Logf("deadcode start names: %v\n", names)
    	}
    
    	for _, name := range names {
    		// Mark symbol as a data/ABI0 symbol.
    		d.mark(d.ldr.Lookup(name, 0), 0)
    		if abiInternalVer != 0 {
    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/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		ntstatus = NTStatus(r0)
    	}
    	return
    }
    
    func 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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/compile.go

    	{name: "late lower", fn: lateLower, required: true},
    	{name: "lowered deadcode for cse", fn: deadcode}, // deadcode immediately before CSE avoids CSE making dead values live again
    	{name: "lowered cse", fn: cse},
    	{name: "elim unread autos", fn: elimUnreadAutos},
    	{name: "tighten tuple selectors", fn: tightenTupleSelectors, required: true},
    	{name: "lowered deadcode", fn: deadcode, required: true},
    	{name: "checkLower", fn: checkLower, required: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/export_test.go

    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/obj/x86"
    	"cmd/internal/src"
    	"cmd/internal/sys"
    )
    
    var CheckFunc = checkFunc
    var Opt = opt
    var Deadcode = deadcode
    var Copyelim = copyelim
    
    var testCtxts = map[string]*obj.Link{
    	"amd64": obj.Linknew(&x86.Linkamd64),
    	"s390x": obj.Linknew(&s390x.Links390x),
    	"arm64": obj.Linknew(&arm64.Linkarm64),
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt

            val nodeCount = readSmallInt()
            val nodes = ArrayList<Node>(nodeCount)
            val nodesById = HashMap<Int, Node>(nodeCount)
            for (i in 0 until nodeCount) {
                val node = readNode()
                nodesById[nodesById.size] = node
                if (node is LocalTaskNode) {
                    node.prepareNode.require()
                    nodesById[nodesById.size] = node.prepareNode
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/copyelim.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    // combine copyelim and phielim into a single pass.
    // copyelim removes all uses of OpCopy values from f.
    // A subsequent deadcode pass is needed to actually remove the copies.
    func copyelim(f *Func) {
    	phielim(f)
    
    	// loop of copyelimValue(v) process has been done in phielim() pass.
    	// Update block control values.
    	for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/main.go

    		addlibpath(ctxt, "command line", "command line", flag.Arg(0), "main", "", zerofp)
    	}
    	bench.Start("loadlib")
    	ctxt.loadlib()
    
    	bench.Start("inittasks")
    	ctxt.inittasks()
    
    	bench.Start("deadcode")
    	deadcode(ctxt)
    
    	bench.Start("linksetup")
    	ctxt.linksetup()
    
    	bench.Start("dostrdata")
    	ctxt.dostrdata()
    	if buildcfg.Experiment.FieldTrack {
    		bench.Start("fieldtrack")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc

    //    iff tpose(x) or tpose(y) has one use and have same permutation.
    //
    // Proof:
    // WLOG, let tpose(x) have 1 use. Then ewise is the only user, and removing
    // its use of tpose(x) will render tpose(x) deadcode. So in this case
    // we both remove 1 and add 1 transpose to the graph thus the number remains
    // unchanged.
    class CommuteBothInputsTransposedWithEwiseOps : public RewritePattern {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top