Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 489 for Values (1.68 sec)

  1. src/cmd/compile/internal/ssa/deadcode.go

    			if live[v.ID] {
    				b.Values[i] = v
    				i++
    			} else {
    				f.freeValue(v)
    			}
    		}
    		b.truncateValues(i)
    	}
    
    	// Remove unreachable blocks. Return dead blocks to allocator.
    	i = 0
    	for _, b := range f.Blocks {
    		if reachable[b.ID] {
    			f.Blocks[i] = b
    			i++
    		} else {
    			if len(b.Values) > 0 {
    				b.Fatalf("live values in unreachable block %v: %v", b, b.Values)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/flagalloc.go

    		}
    	}
    
    	// Add flag spill and recomputation where they are needed.
    	var remove []*Value // values that should be checked for possible removal
    	var oldSched []*Value
    	for _, b := range f.Blocks {
    		oldSched = append(oldSched[:0], b.Values...)
    		b.Values = b.Values[:0]
    		// The current live flag value (the pre-flagalloc copy).
    		var flag *Value
    		if len(b.Preds) > 0 {
    			flag = end[b.Preds[0].b.ID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/cse_test.go

    		Bloc("exit",
    			Exit("rstore")))
    
    	CheckFunc(fun.f)
    	zcse(fun.f)
    	deadcode(fun.f)
    	CheckFunc(fun.f)
    
    	if fun.values["c1"].Op != OpInvalid && fun.values["c2"].Op != OpInvalid {
    		t.Errorf("zsce should have removed c1 or c2")
    	}
    	if fun.values["sb1"].Op != OpInvalid && fun.values["sb2"].Op != OpInvalid {
    		t.Errorf("zsce should have removed sb1 or sb2")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/crypto/rsa/pss_test.go

    		SaltLength: PSSSaltLengthEqualsHash,
    	}
    
    	for marker := range values {
    		switch marker {
    		case newKeyMarker:
    			key = new(PublicKey)
    			nHex, ok := <-values
    			if !ok {
    				continue
    			}
    			key.N = bigFromHex(nHex)
    			key.E = intFromHex(<-values)
    			// We don't care for d, p, q, dP, dQ or qInv.
    			for i := 0; i < 6; i++ {
    				<-values
    			}
    		case newSignatureMarker:
    			msg := fromHex(<-values)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/logic_test.go

    	} {
    		for _, v := range values {
    			for _, w := range values {
    				got := test.f(v, w)
    				want := test.golden(v, w)
    				if want != got {
    					t.Errorf("[%s](%d,%d)=%d, want %d", test.name, v, w, got, want)
    				}
    			}
    		}
    	}
    }
    
    func TestLogic32(t *testing.T) {
    	// test values to determine function equality
    	values := [...]int32{-1 << 31, 1<<31 - 1, -4, -3, -2, -1, 0, 1, 2, 3, 4}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule_test.go

    	var ai, bi, ci, di, ei, fi int
    	for i, v := range fun.f.Blocks[0].Values {
    		switch {
    		case fun.values["A1"] == v:
    			ai = i
    		case fun.values["A1carry"] == v:
    			bi = i
    		case fun.values["A1Carryvalue"] == v:
    			ci = i
    		case fun.values["A2"] == v:
    			di = i
    		case fun.values["A2carry"] == v:
    			ei = i
    		case fun.values["A2Carryvalue"] == v:
    			fi = i
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 01:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/check.go

    		// ops that generate memory values.
    		ss.clear()
    		for _, v := range b.Values {
    			if v.Op == OpPhi || !v.Type.IsMemory() {
    				continue
    			}
    			if m := v.MemoryArg(); m != nil {
    				ss.add(m.ID)
    			}
    		}
    		// There should be at most one remaining unoverwritten memory value.
    		for _, v := range b.Values {
    			if !v.Type.IsMemory() {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/debug/macho/reloctype_string.go

    package macho
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[GENERIC_RELOC_VANILLA-0]
    	_ = x[GENERIC_RELOC_PAIR-1]
    	_ = x[GENERIC_RELOC_SECTDIFF-2]
    	_ = x[GENERIC_RELOC_PB_LA_PTR-3]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/cache.go

    	// Used to put slices in sync.Pools without allocation.
    	hdrValueSlice []*[]*Value
    	hdrInt64Slice []*[]int64
    }
    
    func (c *Cache) Reset() {
    	nv := sort.Search(len(c.values), func(i int) bool { return c.values[i].ID == 0 })
    	xv := c.values[:nv]
    	for i := range xv {
    		xv[i] = Value{}
    	}
    	nb := sort.Search(len(c.blocks), func(i int) bool { return c.blocks[i].ID == 0 })
    	xb := c.blocks[:nb]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 23:00:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    type valueRange struct {
    	value  uint16
    	lo, hi byte
    }
    
    type sparseBlocks struct {
    	values  []valueRange
    	offsets []uint16
    }
    
    // lookup returns the value from values block n for byte b using binary search.
    func (s *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	lo := s.offsets[n]
    	hi := s.offsets[n+1]
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := s.values[m]
    		if r.lo <= b && b <= r.hi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top