Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for setoverflow (0.15 sec)

  1. src/runtime/map.go

    	// If hint is large zeroing this memory could take a while.
    	if h.B != 0 {
    		var nextOverflow *bmap
    		h.buckets, nextOverflow = makeBucketArray(t, h.B, nil)
    		if nextOverflow != nil {
    			h.extra = new(mapextra)
    			h.extra.nextOverflow = nextOverflow
    		}
    	}
    
    	return h
    }
    
    // makeBucketArray initializes a backing array for map buckets.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    		return false
    	}
    	buf := rb.out[p:]
    	rb.out = rb.out[:p]
    	decomposeToLastBoundary(rb)
    	if s := rb.ss.next(info); s == ssStarter {
    		rb.doFlush()
    		rb.ss.first(info)
    	} else if s == ssOverflow {
    		rb.doFlush()
    		rb.insertCGJ()
    		rb.ss = 0
    	}
    	rb.insertUnsafe(inputBytes(buf), 0, info)
    	return true
    }
    
    func appendQuick(rb *reorderBuffer, i int) int {
    	if rb.nsrc == i {
    		return i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    				i.setDone()
    				i.info = Properties{} // Force BoundaryBefore to succeed.
    			} else {
    				i.info = i.rb.f.info(i.rb.src, i.p)
    			}
    			switch i.rb.ss.next(i.info) {
    			case ssOverflow:
    				i.next = nextCGJDecompose
    				fallthrough
    			case ssStarter:
    				if outp > 0 {
    					copy(i.buf[outp:], d)
    					return i.buf[:p]
    				}
    				return d
    			}
    			copy(i.buf[outp:], d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/map_fast64.go

    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    		// The current bucket and all the overflow buckets connected to it are full, allocate a new one.
    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/runtime/map_fast32.go

    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    		// The current bucket and all the overflow buckets connected to it are full, allocate a new one.
    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	ssSuccess ssState = iota
    	// Indicates a rune starts a new segment and should not be added.
    	ssStarter
    	// Indicates a rune caused a segment overflow and a CGJ should be inserted.
    	ssOverflow
    )
    
    // streamSafe implements the policy of when a CGJ should be inserted.
    type streamSafe uint8
    
    // first inserts the first rune of a segment. It is a faster version of next if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/runtime/map_test.go

    	{bs, 1, 1},
    	{bs + 1, 2, 2},
    	{belowOverflow, 2, 2},  // 1.5 bs = 2 buckets @ 75%
    	{atOverflow + 1, 4, 4}, // 13/8 bs + 1 == overflow to 4
    
    	{2 * belowOverflow, 4, 4}, // 3 bs = 4 buckets @75%
    	{2*atOverflow + 1, 8, 8},  // 13/4 bs + 1 = overflow to 8
    
    	{4 * belowOverflow, 8, 8},  // 6 bs = 8 buckets @ 75%
    	{4*atOverflow + 1, 16, 16}, // 13/2 bs + 1 = overflow to 16
    }
    
    func TestMapBuckets(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    		// The current bucket and all the overflow buckets connected to it are full, allocate a new one.
    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = top // mask inserti to avoid bounds checks
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    	ENOTRECOVERABLE = syscall.Errno(0x83)
    	ENOTSOCK        = syscall.Errno(0x58)
    	ENOTSUP         = syscall.Errno(0x5f)
    	ENOTUNIQ        = syscall.Errno(0x4c)
    	EOPNOTSUPP      = syscall.Errno(0x5f)
    	EOVERFLOW       = syscall.Errno(0x4b)
    	EOWNERDEAD      = syscall.Errno(0x82)
    	EPFNOSUPPORT    = syscall.Errno(0x60)
    	EPROTO          = syscall.Errno(0x47)
    	EPROTONOSUPPORT = syscall.Errno(0x5d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	ENOTRECOVERABLE = syscall.Errno(0x83)
    	ENOTSOCK        = syscall.Errno(0x58)
    	ENOTSUP         = syscall.Errno(0x5f)
    	ENOTUNIQ        = syscall.Errno(0x4c)
    	EOPNOTSUPP      = syscall.Errno(0x5f)
    	EOVERFLOW       = syscall.Errno(0x4b)
    	EOWNERDEAD      = syscall.Errno(0x82)
    	EPFNOSUPPORT    = syscall.Errno(0x60)
    	EPROTO          = syscall.Errno(0x47)
    	EPROTONOSUPPORT = syscall.Errno(0x5d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top