Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for We (0.25 sec)

  1. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    		// whether it became done before the call began or while we were
    		// waiting for the mutex. We prefer to fail even if we could acquire
    		// the mutex without blocking.
    		s.mu.Unlock()
    		return ctx.Err()
    	default:
    	}
    	if s.size-s.cur >= n && s.waiters.Len() == 0 {
    		// Since we hold s.mu and haven't synchronized since checking done, if
    		// ctx becomes done before we return here, it becoming done must have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/copyelim.go

    // ultimate source of v.  v must be a copy op.
    func copySource(v *Value) *Value {
    	w := v.Args[0]
    
    	// This loop is just:
    	// for w.Op == OpCopy {
    	//     w = w.Args[0]
    	// }
    	// but we take some extra care to make sure we
    	// don't get stuck in an infinite loop.
    	// Infinite copy loops may happen in unreachable code.
    	// (TODO: or can they? Needs a test.)
    	slow := w
    	var advance bool
    	for w.Op == OpCopy {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    
    # If we run 'go mod tidy -e', we should still save enough checksums to run
    # 'go list -m all' reproducibly with go 1.16, even though we can't list
    # the specific package.
    
    go mod tidy -e
    ! stderr '\n\tgo mod tidy'
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/outbuf_nommap.go

    //go:build !unix && !windows
    
    package ld
    
    // Mmap allocates an in-heap output buffer with the given size. It copies
    // any old data (if any) to the new buffer.
    func (out *OutBuf) Mmap(filesize uint64) error {
    	// We need space to put all the symbols before we apply relocations.
    	oldheap := out.heap
    	if filesize < uint64(len(oldheap)) {
    		panic("mmap size too small")
    	}
    	out.heap = make([]byte, filesize)
    	copy(out.heap, oldheap)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 660 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/nowb.go

    // capture precise call graphs. The target of the call is an LSym
    // because that's all we know after we start SSA.
    //
    // This can be called concurrently for different from Nodes.
    func (c *nowritebarrierrecChecker) recordCall(fn *ir.Func, to *obj.LSym, pos src.XPos) {
    	// We record this information on the *Func so this is concurrent-safe.
    	if fn.NWBRCalls == nil {
    		fn.NWBRCalls = new([]ir.SymAndPos)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/trace/threadgen.go

    			g.threads[ev.Thread()] = struct{}{}
    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.ThreadID](goID)
    		g.gStates[goID] = gs
    	}
    	// If we haven't already named this goroutine, try to name it.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    # When we run 'go mod tidy -e', we should proceed past the first error and follow
    # it with a second error describing the version discrepancy.
    #
    # We should not provide advice on how to push past the version discrepancy,
    # because the '-e' flag should already do that, writing out an otherwise-tidied
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/scan.go

    		dir: reldir,
    	}
    
    	absdir := filepath.Join(modroot, reldir)
    
    	// We still haven't checked
    	// that p.dir directory exists. This is the right time to do that check.
    	// We can't do it earlier, because we want to gather partial information for the
    	// non-nil *build.Package returned when an error occurs.
    	// We need to do this before we return early on FindOnly flag.
    	if !isDir(absdir) {
    		// package was not found
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_swigcxx.txt

    [!exec:swig] skip
    [!exec:g++] skip
    [!cgo] skip
    
    # CompiledGoFiles should contain 4 files:
    #  a.go
    #  _cgo_import.go [gc only]
    #  _cgo_gotypes.go
    #  a.cgo1.go
    #
    # These names we see here, other than a.go, will be from the build cache,
    # so we just count them.
    
    go list -f '{{.CompiledGoFiles}}' -compiled=true example/swig
    
    stdout a\.go
    [compiler:gc] stdout -count=3 $GOCACHE
    [compiler:gccgo] stdout -count=2 $GOCACHE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 04:04:13 UTC 2024
    - 581 bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho_update_uuid.go

    // content of the object files being linked but also on things like
    // the timestamps/paths of the objects; this makes it
    // difficult/impossible to support reproducible builds. Since we try
    // hard to maintain build reproducibility for Go, the APIs here
    // compute a new UUID (based on the Go build ID) and write it to the
    // final executable generated by the external linker.
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top