Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setoverflow (0.22 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.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)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go

    	ESRCH              = Errno(143)
    	EXDEV              = Errno(144)
    	E2BIG              = Errno(145)
    	ELOOP              = Errno(146)
    	EILSEQ             = Errno(147)
    	ENODATA            = Errno(148)
    	EOVERFLOW          = Errno(149)
    	EMVSNOTUP          = Errno(150)
    	ECMSSTORAGE        = Errno(151)
    	EMVSDYNALC         = Errno(151)
    	EMVSCVAF           = Errno(152)
    	EMVSCATLG          = Errno(153)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. src/syscall/zerrors_solaris_amd64.go

    	ENOTSOCK        = Errno(0x5f)
    	ENOTSUP         = Errno(0x30)
    	ENOTTY          = Errno(0x19)
    	ENOTUNIQ        = Errno(0x50)
    	ENXIO           = Errno(0x6)
    	EOPNOTSUPP      = Errno(0x7a)
    	EOVERFLOW       = Errno(0x4f)
    	EOWNERDEAD      = Errno(0x3a)
    	EPERM           = Errno(0x1)
    	EPFNOSUPPORT    = Errno(0x7b)
    	EPIPE           = Errno(0x20)
    	EPROTO          = Errno(0x47)
    	EPROTONOSUPPORT = Errno(0x78)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
Back to top