- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for minSize (0.11 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go
sizes[size] = struct{}{} } minSize := int64(math.MaxInt64) for size := range sizes { if size < minSize { minSize = size } } if amt >= minSize { ident := analysisutil.Format(pass.Fset, x) qualifier := "" if len(sizes) > 1 { qualifier = "may be " } pass.ReportRangef(node, "%s (%s%d bits) too small for shift of %d", ident, qualifier, minSize, amt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http2/hpack/encode.go
func (e *Encoder) WriteField(f HeaderField) error { e.buf = e.buf[:0] if e.tableSizeUpdate { e.tableSizeUpdate = false if e.minSize < e.dynTab.maxSize { e.buf = appendTableSize(e.buf, e.minSize) } e.minSize = uint32Max e.buf = appendTableSize(e.buf, e.dynTab.maxSize) } idx, nameValueMatch := e.searchTable(f) if nameValueMatch { e.buf = appendIndexed(e.buf, idx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 7.1K bytes - Viewed (0) -
src/runtime/debug/heapdump_test.go
defer os.Remove(f.Name()) defer f.Close() WriteHeapDump(f.Fd()) fi, err := f.Stat() if err != nil { t.Fatalf("Stat failed: %v", err) } const minSize = 1 if size := fi.Size(); size < minSize { t.Fatalf("Heap dump size %d bytes, expected at least %d bytes", size, minSize) } } type Obj struct { x, y int } func objfin(x *Obj) { //println("finalized", x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 12 00:32:29 UTC 2022 - 2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/resources/org/gradle/reporting/flot.selection.min.js
nd.y=range.axis.p2c(range.to)}selection.show=true;plot.triggerRedrawOverlay();if(!preventEvent&&selectionIsSane())triggerSelectedEvent()}function selectionIsSane(){var minSize=plot.getOptions().selection.minSize;return Math.abs(selection.second.x-selection.first.x)>=minSize&&Math.abs(selection.second.y-selection.first.y)>=minSize}plot.clearSelection=clearSelection;plot.setSelection=setSelection;plot.getSelection=getSelection;plot.hooks.bindEvents.push(function(plot,eventHolder){var o=plot.getOpt...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go
func estimateMaxArrayItemsFromMinSize(minSize int64) int64 { // subtract 2 to account for [ and ] return (maxRequestSizeBytes - 2) / (minSize + 1) } // estimateMaxAdditionalPropertiesPerRequest estimates the maximum number of additional properties // with the provided minimum serialized size that can fit into a single request. func estimateMaxAdditionalPropertiesFromMinSize(minSize int64) int64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 18:00:45 UTC 2023 - 10.5K bytes - Viewed (0) -
src/runtime/stkframe.go
pcdata = 0 } // Local variables. size := frame.varp - frame.sp var minsize uintptr switch goarch.ArchFamily { case goarch.ARM64: minsize = sys.StackAlign default: minsize = sys.MinFrameSize } if size > minsize { stackid := pcdata stkmap := (*stackmap)(funcdata(f, abi.FUNCDATA_LocalsPointerMaps)) if stkmap == nil || stkmap.n <= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0) -
cmd/kms-router.go
kmsAPI := kmsAPIHandlers{} kmsRouter := router.PathPrefix(kmsPathPrefix).Subrouter() KMSVersions := []string{ kmsAPIVersionPrefix, } gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed)) if err != nil { // Static params, so this is very unlikely. logger.Fatal(err, "Unable to initialize server") } for _, version := range KMSVersions {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go
// this estimates a higher cardinality that would be possible. DeclType.MinSerializedSize is meant to be passed to // this function. func maxCardinality(minSize int64) uint64 { sz := minSize + 1 // assume at least one comma between elements return uint64(celconfig.MaxRequestSizeBytes / sz)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
} t.defaultValue = NewObjectValue(t) return t } func NewSimpleTypeWithMinSize(name string, celType *cel.Type, zeroVal ref.Val, minSize int64) *DeclType { return &DeclType{ name: name, celType: celType, defaultValue: zeroVal, MinSerializedSize: minSize, } } // DeclType represents the universal type descriptor for OpenAPIv3 types. type DeclType struct { fmt.Stringer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
cmd/admin-router.go
adminAPIClientDevExtraTime = "/speedtest/client/devnull/extratime" ) var gzipHandler = func() func(http.Handler) http.HandlerFunc { gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed)) if err != nil { // Static params, so this is very unlikely. logger.Fatal(err, "Unable to initialize server") } return gz }()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 25.5K bytes - Viewed (0)