Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for Willing (0.33 sec)

  1. src/cmd/trace/pprof.go

    		i1.start = i2.start
    	}
    	if i1.end > i2.end { // choose the earlier one
    		i1.end = i2.end
    	}
    	return i1.duration()
    }
    
    // pprofMaxStack is the extent of the deduplication we're willing to do.
    //
    // Because slices aren't comparable and we want to leverage maps for deduplication,
    // we have to choose a fixed constant upper bound on the amount of frames we want
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/branchelim.go

    			if !canCondSelect(v, f.Config.arch, loadAddr) {
    				return false
    			}
    		}
    	}
    	if !hasphis {
    		return false
    	}
    
    	// Pick some upper bound for the number of instructions
    	// we'd be willing to execute just to generate a dead
    	// argument to CondSelect. In the worst case, this is
    	// the number of useless instructions executed.
    	const maxfuseinsts = 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/op.go

    // therefore do this lazily).
    //
    // TODO: there is a Clever Hack that allows pre-generation of a small-ish number of the slices
    // of inputInfo and outputInfo used here, provided that we are willing to reorder the inputs
    // and outputs from calls, so that all integer registers come first, then all floating registers.
    // At this point (active development of register ABI) that is very premature,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git.go

    // ancestors of those commits.
    //
    // We only fetch heads and tags, not arbitrary other commits: we don't want to
    // pull in off-branch commits (such as rejected GitHub pull requests) that the
    // server may be willing to provide. (See the comments within the stat method
    // for more detail.)
    //
    // fetchRefsLocked requires that r.mu remain locked for the duration of the call.
    func (r *gitRepo) fetchRefsLocked(ctx context.Context) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/query.go

    				if err != nil {
    					return nil, nil, err
    				}
    				if ok {
    					// The last compatible version has a go.mod file, so that's the
    					// highest version we're willing to consider. Don't bother even
    					// looking at higher versions, because they're all +incompatible from
    					// here onward.
    					break
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    func (b *Reader) Size() int { return len(b.buf) }
    
    // Reset discards any buffered data, resets all state, and switches
    // the buffered reader to read from r.
    // Calling Reset on the zero value of [Reader] initializes the internal buffer
    // to the default size.
    // Calling b.Reset(b) (that is, resetting a [Reader] to itself) does nothing.
    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/pgo_inl_test.go

    	want := []string{
    		"(*BS).NS",
    	}
    
    	// The functions which are not expected to be inlined are as follows.
    	wantNot := []string{
    		// The calling edge main->A is hot and the cost of A is large
    		// than inlineHotCalleeMaxBudget.
    		"A",
    		// The calling edge BenchmarkA" -> benchmarkB is cold and the
    		// cost of A is large than inlineMaxBudget.
    		"benchmarkB",
    	}
    
    	must := map[string]bool{
    		"(*BS).NS": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    type Auto struct {
    	Asym    *LSym
    	Aoffset int32
    	Name    AddrName
    	Gotype  *LSym
    }
    
    // RegSpill provides spill/fill information for a register-resident argument
    // to a function.  These need spilling/filling in the safepoint/stackgrowth case.
    // At the time of fill/spill, the offset must be adjusted by the architecture-dependent
    // adjustment to hardware SP that occurs in a call instruction.  E.g., for AMD64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/ld_test.go

    	}
    }
    
    func TestRISCVTrampolines(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	tmpDir := t.TempDir()
    	tmpFile := filepath.Join(tmpDir, "x.s")
    
    	// Calling b from a or c should not use trampolines, however
    	// calling from d to a will require one.
    	buf := new(bytes.Buffer)
    	fmt.Fprintf(buf, "TEXT a(SB),$0-0\n")
    	for i := 0; i < 1<<17; i++ {
    		fmt.Fprintf(buf, "\tADD $0, X0, X0\n")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top