Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,541 for swan (0.19 sec)

  1. src/strconv/makeisprint.go

    			panic("bad 32->16 conversion")
    		}
    		y = append(y, uint16(v))
    	}
    	return y
    }
    
    func main() {
    	flag.Parse()
    
    	rang, except := scan(0, 0xFFFF)
    	range16 = to16(rang)
    	except16 = to16(except)
    	range32, except32 = scan(0x10000, unicode.MaxRune)
    
    	for i := rune(0); i <= unicode.MaxRune; i++ {
    		if isPrint(i) != unicode.IsPrint(i) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/runtime/mgcwork.go

    	const batchSize = 64 // ~1–2 µs per span.
    	lock(&work.wbufSpans.lock)
    	if gcphase != _GCoff || work.wbufSpans.free.isEmpty() {
    		unlock(&work.wbufSpans.lock)
    		return false
    	}
    	systemstack(func() {
    		gp := getg().m.curg
    		for i := 0; i < batchSize && !(preemptible && gp.preempt); i++ {
    			span := work.wbufSpans.free.first
    			if span == nil {
    				break
    			}
    			work.wbufSpans.free.remove(span)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/runtime/arena.go

    		rzSize := computeRZlog(span.elemsize)
    		span.elemsize -= rzSize
    		span.largeType.Size_ = span.elemsize
    		rzStart := span.base() + span.elemsize
    		span.userArenaChunkFree = makeAddrRange(span.base(), rzStart)
    		asanpoison(unsafe.Pointer(rzStart), span.limit-rzStart)
    		asanunpoison(unsafe.Pointer(span.base()), span.elemsize)
    	}
    
    	if rate := MemProfileRate; rate > 0 {
    		c := getMCache(mp)
    		if c == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/compose.go

    		t.pExt = uint16(p)
    		p += appendTokens(buf[p:], b.extensions...)
    		t.str = string(buf[:p])
    		// We may not always need to remake the string, but when or when not
    		// to do so is rather tricky.
    		scan := makeScanner(buf[:p])
    		t, _ = parse(&scan, "")
    		return t
    
    	} else if b.private != "" {
    		t.str = b.private
    		t.RemakeString()
    	}
    	return t
    }
    
    // SetTag copies all the settings from a given Tag. Any previously set values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/runtime/mwbbuf.go

    			continue
    		}
    		obj, span, objIndex := findObject(ptr, 0, 0)
    		if obj == 0 {
    			continue
    		}
    		// TODO: Consider making two passes where the first
    		// just prefetches the mark bits.
    		mbits := span.markBitsForIndex(objIndex)
    		if mbits.isMarked() {
    			continue
    		}
    		mbits.setMarked()
    
    		// Mark span.
    		arena, pageIdx, pageMask := pageIndexOf(span.base())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	if rgot != rwant {
    		t.Errorf("testcase %q: Results mismatch for %q: got:\n%swant:\n%s",
    			tc, dfn, rgot, rwant)
    	}
    	// Compare receiver + params.
    	pgot := propBitsToString[ParamPropBits](dfp.ParamFlags)
    	pwant := propBitsToString[ParamPropBits](efp.ParamFlags)
    	if pgot != pwant {
    		t.Errorf("testcase %q: Params mismatch for %q: got:\n%swant:\n%s",
    			tc, dfn, pgot, pwant)
    	}
    	// Compare call sites.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. releasenotes/notes/dr-san-validation.yaml

    John Howard <******@****.***> 1662658353 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 08 17:32:33 UTC 2022
    - 357 bytes
    - Viewed (0)
  8. src/runtime/mgcpacer.go

    	// excludes these objects (and hence only goes up between GCs).
    	//
    	// To reduce contention, this is updated only when obtaining a span
    	// from an mcentral and at this point it counts all of the unallocated
    	// slots in that span (which will be allocated before that mcache
    	// obtains another span from that mcentral). Hence, it slightly
    	// overestimates the "true" live heap size. It's better to overestimate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    	}
    	return tp
    }
    
    // objBase returns the base pointer for the object containing addr in span.
    //
    // Assumes that addr points into a valid part of span (span.base() <= addr < span.limit).
    //
    //go:nosplit
    func (span *mspan) objBase(addr uintptr) uintptr {
    	return span.base() + span.objIndex(addr)*span.elemsize
    }
    
    // bulkBarrierPreWrite executes a write barrier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. src/runtime/mgcsweep.go

    	// to go so release the span.
    	atomic.Store(&s.sweepgen, sweepgen)
    
    	if s.isUserArenaChunk {
    		if preserve {
    			// This is a case that should never be handled by a sweeper that
    			// preserves the span for reuse.
    			throw("sweep: tried to preserve a user arena span")
    		}
    		if nalloc > 0 {
    			// There still exist pointers into the span or the span hasn't been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top