Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for Mounts (0.18 sec)

  1. src/go/types/expr.go

    	var yval constant.Value
    	if y.mode == constant_ {
    		// Provide a good error message for negative shift counts.
    		yval = constant.ToInt(y.val) // consider -1, 1.0, but not -1.1
    		if yval.Kind() == constant.Int && constant.Sign(yval) < 0 {
    			check.errorf(y, InvalidShiftCount, invalidOp+"negative shift count %s", y)
    			x.mode = invalid
    			return
    		}
    
    		if isUntyped(y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    					if x&0x80 == 0 {
    						break
    					}
    				}
    			}
    			count := 0
    			for nb := uint(0); ; nb += 7 {
    				x := *p
    				p = add1(p)
    				count |= int(x&0x7f) << nb
    				if x&0x80 == 0 {
    					break
    				}
    			}
    			print("\t", nptr, " repeat ", nbit, " × ", count, "\n")
    			nptr += nbit * count
    		}
    	}
    }
    
    // Testing.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/runtime/mgcmark.go

    			state.putPtr(val, true)
    			continue
    		}
    
    		// Check if val points to a heap span.
    		span := spanOfHeap(val)
    		if span == nil {
    			continue
    		}
    
    		// Check if val points to an allocated object.
    		idx := span.objIndex(val)
    		if span.isFree(idx) {
    			continue
    		}
    
    		// val points to an allocated object. Mark it.
    		obj := span.base() + idx*span.elemsize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    	var yval constant.Value
    	if y.mode == constant_ {
    		// Provide a good error message for negative shift counts.
    		yval = constant.ToInt(y.val) // consider -1, 1.0, but not -1.1
    		if yval.Kind() == constant.Int && constant.Sign(yval) < 0 {
    			check.errorf(y, InvalidShiftCount, invalidOp+"negative shift count %s", y)
    			x.mode = invalid
    			return
    		}
    
    		if isUntyped(y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/time/time.go

    	}
    	return w
    }
    
    // Nanoseconds returns the duration as an integer nanosecond count.
    func (d Duration) Nanoseconds() int64 { return int64(d) }
    
    // Microseconds returns the duration as an integer microsecond count.
    func (d Duration) Microseconds() int64 { return int64(d) / 1e3 }
    
    // Milliseconds returns the duration as an integer millisecond count.
    func (d Duration) Milliseconds() int64 { return int64(d) / 1e6 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    		{
    			Port:   echo.Port{Name: "http"},
    			Scheme: scheme.HTTP,
    			Count:  10, // TODO use more
    		},
    		//{
    		//	Port: echo.Port{Name: "http"},
    		//	Scheme:   scheme.WebSocket,
    		//	Count:    4,
    		//	Timeout:  time.Second * 2,
    		//},
    		{
    			Port:   echo.Port{Name: "tcp"},
    			Scheme: scheme.TCP,
    			Count:  1,
    		},
    		//{
    		//	Port: echo.Port{Name: "grpc"},
    		//	Scheme:   scheme.GRPC,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. src/reflect/type.go

    		current, next = next, current[:0]
    		count := nextCount
    		nextCount = nil
    
    		// Process all the fields at this depth, now listed in 'current'.
    		// The loop queues embedded fields found in 'next', for processing during the next
    		// iteration. The multiplicity of the 'current' field counts is recorded
    		// in 'count'; the multiplicity of the 'next' field counts is recorded in 'nextCount'.
    		for _, scan := range current {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. src/runtime/map.go

    	// the actual copying of the hash table data is done incrementally
    	// by growWork() and evacuate().
    }
    
    // overLoadFactor reports whether count items placed in 1<<B buckets is over loadFactor.
    func overLoadFactor(count int, B uint8) bool {
    	return count > abi.MapBucketCount && uintptr(count) > loadFactorNum*(bucketShift(B)/loadFactorDen)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.go

    //	B) decrement use counts of the values' args.
    func clobber(vv ...*Value) bool {
    	for _, v := range vv {
    		v.reset(OpInvalid)
    		// Note: leave v.Block intact.  The Block field is used after clobber.
    	}
    	return true
    }
    
    // clobberIfDead resets v when use count is 1. Returns true.
    // clobberIfDead is used by rewrite rules to decrement
    // use counts of v's args when v is dead and never used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  10. src/time/time_test.go

    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Skip("skipping; GOMAXPROCS>1")
    	}
    	for _, mt := range mallocTest {
    		allocs := int(testing.AllocsPerRun(100, mt.fn))
    		if allocs > mt.count {
    			t.Errorf("%s: %d allocs, want %d", mt.desc, allocs, mt.count)
    		}
    	}
    }
    
    func TestLoadFixed(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top