Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 110 for ditamap (0.23 sec)

  1. src/runtime/gcinfo_test.go

    		// the size of the type, up to the size of the size class. This space
    		// is safe for the GC to scan since it's zero, and GCBits checks to
    		// make sure that's true. But we need to handle the fact that the bitmap
    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/compress/bzip2/bzip2.go

    	}
    	origPtr := uint(br.ReadBits(24))
    
    	// If not every byte value is used in the block (i.e., it's text) then
    	// the symbol set is reduced. The symbols used are stored as a
    	// two-level, 16x16 bitmap.
    	symbolRangeUsedBitmap := br.ReadBits(16)
    	symbolPresent := make([]bool, 256)
    	numSymbols := 0
    	for symRange := uint(0); symRange < 16; symRange++ {
    		if symbolRangeUsedBitmap&(1<<(15-symRange)) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    // scavenged bit is set the alloc bit is necessarily unset, so some
    // of the bits described by scav may be cleared in the final bitmap if
    // ranges in chunks overlap with them.
    //
    // scav is optional, and if nil, the scavenged bitmap will be cleared
    // (as opposed to all 1s, which it usually is). Furthermore, every
    // chunk index in scav must appear in chunks; ones that do not are
    // ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/net/textproto/reader.go

    //	VCHAR          =  %x21-7E
    func validHeaderValueByte(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c >= 128, then 1<<c and 1<<(c-64) will both be zero.
    	// Since this is the obs-text range, we invert the mask to
    	// create a bitmap with 1s for disallowed bytes.
    	const mask = 0 |
    		(1<<(0x7f-0x21)-1)<<0x21 | // VCHAR: %x21-7E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/runtime/malloc.go

    	if !minSizeForMallocHeaderIsSizeClass {
    		throw("min size of malloc header is not a size class boundary")
    	}
    	// Check that the pointer bitmap for all small sizes without a malloc header
    	// fits in a word.
    	if minSizeForMallocHeader/goarch.PtrSize > 8*goarch.PtrSize {
    		throw("max pointer/scan bitmap size for headerless objects is too large")
    	}
    
    	if minTagBits > taggedPointerBits {
    		throw("taggedPointerbits too small")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    	aoff = objw.Uint32(&argsSymTmp, aoff, uint32(args.N))          // number of bits in each bitmap
    
    	locals := bitvec.New(int32(maxLocals / int64(types.PtrSize)))
    	loff := objw.Uint32(&liveSymTmp, 0, uint32(len(lv.stackMaps))) // number of bitmaps
    	loff = objw.Uint32(&liveSymTmp, loff, uint32(locals.N))        // number of bits in each bitmap
    
    	for _, live := range lv.stackMaps {
    		args.Clear()
    		locals.Clear()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/build/relnote/links.go

    			n += nr
    			continue
    		}
    		break
    	}
    	return s[:n], n > 0
    }
    
    // isIdentASCII reports whether c is an ASCII identifier byte.
    func isIdentASCII(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    	// so that the byte c can be tested with a shift and an and.
    	// If c > 128, then 1<<c and 1<<(c-64) will both be zero,
    	// and this function will return false.
    	const mask = 0 |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/runtime/mgcmark.go

    	// gcw.dispose will flush any remaining work to scanWork.
    
    	return workFlushed + gcw.heapScanWork
    }
    
    // scanblock scans b as scanobject would, but using an explicit
    // pointer bitmap instead of the heap bitmap.
    //
    // This is used to scan non-heap roots, so it does not update
    // gcw.bytesMarked or gcw.heapScanWork.
    //
    // If stk != nil, possible stack pointers are also reported to stk.putPtr.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    	// this is similar to the way the injector sets all values proxyConfig.proxyMetadata to the Pod's env
    	clusterEnv := map[string]string{}
    	for _, metaMap := range []map[string]string{config.ProxyMetadata, overrides} {
    		for k, v := range metaMap {
    			clusterEnv[k] = v
    		}
    	}
    
    	return os.WriteFile(filepath.Join(dir, "cluster.env"), []byte(mapToString(clusterEnv)), filePerms)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	} else {
    		types = madmin.MetricsAll
    	}
    
    	diskMap := make(map[string]struct{})
    	for _, disk := range values[peerRESTDisk] {
    		diskMap[disk] = struct{}{}
    	}
    
    	hostMap := make(map[string]struct{})
    	for _, host := range values[peerRESTHost] {
    		hostMap[host] = struct{}{}
    	}
    
    	info := collectLocalMetrics(types, collectMetricsOpts{
    		disks: diskMap,
    		hosts: hostMap,
    		jobID: values.Get(peerRESTJobID),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top