Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for maddld (0.22 sec)

  1. src/reflect/all_test.go

    		t.Errorf("function returned %d, want 101", r[0].Int())
    	}
    }
    
    func TestStructArg(t *testing.T) {
    	type padded struct {
    		B string
    		C int32
    	}
    	var (
    		gotA  padded
    		gotB  uint32
    		wantA = padded{"3", 4}
    		wantB = uint32(5)
    	)
    	f := func(a padded, b uint32) {
    		gotA, gotB = a, b
    	}
    	ValueOf(f).Call([]Value{ValueOf(wantA), ValueOf(wantB)})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	}
    	return result, unprocessed
    }
    
    func (sp *sourcePrinter) initSamples(flat, cum map[uint64]int64) {
    	for addr, inst := range sp.insts {
    		// Move all samples that were assigned to the middle of an instruction to the
    		// beginning of that instruction. This takes care of samples that were recorded
    		// against pc+1.
    		instEnd := addr + uint64(inst.length)
    		for p := addr; p < instEnd; p++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. src/testing/testing.go

    		//
    		// Moreover, if c.output is non-empty it is important that this write be
    		// atomic with respect to the output of other tests, so that we don't end up
    		// with confusing '=== NAME' lines in the middle of our '--- PASS' block.
    		// Neither humans nor cmd/test2json can parse those easily.
    		// (See https://go.dev/issue/40771.)
    		//
    		// If test2json is used, we never flush to parent tests,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    // The actual bytes laid down are a function of the 3rd entry in the line (that
    // is, the Ztype) and the z bytes.
    //
    // For example, let's look at AADDL.  The optab line says:
    //
    //	{AADDL, yaddl, Px, opBytes{0x83, 00, 0x05, 0x81, 00, 0x01, 0x03}},
    //
    // and yaddl says
    //
    //	var yaddl = []ytab{
    //	        {Yi8, Ynone, Yml, Zibo_m, 2},
    //	        {Yi32, Ynone, Yax, Zil_, 1},
    //	        {Yi32, Ynone, Yml, Zilo_m, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/encoding/json/encode.go

    	// This matches most other JSON generators.
    	// See golang.org/issue/6384 and golang.org/issue/14135.
    	// Like fmt %g, but the exponent cutoffs are different
    	// and exponents themselves are not padded to two digits.
    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	abs := math.Abs(f)
    	fmt := byte('f')
    	// Note: Must use float32 comparisons for underlying float32 value to get precise cutoffs right.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  6. src/runtime/map_test.go

    	for k, v := range m {
    		if m[k] != v {
    			t.Fatalf("m[%q] = %q; want %q", k, m[k], v)
    		}
    	}
    }
    
    // Tests whether the iterator returns the right elements when
    // started in the middle of a grow, when the keys are NaNs.
    func TestMapNanGrowIterator(t *testing.T) {
    	m := make(map[float64]int)
    	nan := math.NaN()
    	const nBuckets = 16
    	// To fill nBuckets buckets takes LOAD * nBuckets keys.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/runtime/trace.go

    		unlock(&trace.lock)
    	})
    
    	if stopTrace {
    		// Clear the sweep state on every P for the next time tracing is enabled.
    		//
    		// It may be stale in the next trace because we may have ended tracing in
    		// the middle of a sweep on a P.
    		//
    		// It's fine not to call forEachP here because tracing is disabled and we
    		// know at this point that nothing is calling into the tracer, but we do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (MADD a (MOVDconst [-1]) x) => (SUB a x)
    (MADD a (MOVDconst [0]) _) => a
    (MADD a (MOVDconst [1]) x) => (ADD a x)
    (MADD a (MOVDconst [c]) x) && isPowerOfTwo64(c) => (ADDshiftLL a x [log64(c)])
    (MADD a (MOVDconst [c]) x) && isPowerOfTwo64(c-1) && c>=3 => (ADD a (ADDshiftLL <x.Type> x x [log64(c-1)]))
    (MADD a (MOVDconst [c]) x) && isPowerOfTwo64(c+1) && c>=7 => (SUB a (SUBshiftLL <x.Type> x x [log64(c+1)]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    		// re-entrant use of the cache. The signal handler can also write inUse,
    		// but will always restore its value, so we can use a regular increment
    		// even if we get signaled in the middle of it.
    		cache.inUse++
    		if cache.inUse == 1 {
    			for i := range cache.entries[ck] {
    				// We check off first because we're more
    				// likely to have multiple entries with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/asm.go

    		case AADDV:
    			opset(AADDVU, r0)
    
    		case AADDF:
    			opset(ADIVF, r0)
    			opset(ADIVD, r0)
    			opset(AMULF, r0)
    			opset(AMULD, r0)
    			opset(ASUBF, r0)
    			opset(ASUBD, r0)
    			opset(AADDD, r0)
    
    		case AAND:
    			opset(AOR, r0)
    			opset(AXOR, r0)
    
    		case ABEQ:
    			opset(ABNE, r0)
    			opset(ABLT, r0)
    			opset(ABGE, r0)
    			opset(ABGEU, r0)
    			opset(ABLTU, r0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
Back to top