Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for bySize (0.11 sec)

  1. src/runtime/mstats.go

    	EnableGC bool
    
    	// DebugGC is currently unused.
    	DebugGC bool
    
    	// BySize reports per-size class allocation statistics.
    	//
    	// BySize[N] gives statistics for allocations of size S where
    	// BySize[N-1].Size < S ≤ BySize[N].Size.
    	//
    	// This does not report allocations larger than BySize[60].Size.
    	BySize [61]struct {
    		// Size is the maximum byte size of an object in this
    		// size class.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    		}
    		slow.Frees += m.tinyAllocCount + m.largeFreeCount
    		slow.Mallocs += slow.Frees
    
    		slow.TotalAlloc = slow.Alloc + m.largeFree + smallFree
    
    		for i := range slow.BySize {
    			slow.BySize[i].Mallocs = bySize[i].Mallocs
    			slow.BySize[i].Frees = bySize[i].Frees
    		}
    
    		for i := mheap_.pages.start; i < mheap_.pages.end; i++ {
    			chunk := mheap_.pages.tryChunkOf(i)
    			if chunk == nil {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/runtime/metrics_test.go

    		case "/gc/heap/allocs-by-size:bytes":
    			hist := samples[i].Value.Float64Histogram()
    			// Skip size class 0 in BySize, because it's always empty and not represented
    			// in the histogram.
    			for i, sc := range mstats.BySize[1:] {
    				if b, s := hist.Buckets[i+1], float64(sc.Size+1); b != s {
    					t.Errorf("bucket does not match size class: got %f, want %f", b, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/malloc_test.go

    		"PauseTotalNs": {le(1e11)}, "PauseNs": nil, "PauseEnd": nil,
    		"NumGC": {nz, le(1e9)}, "NumForcedGC": {nz, le(1e9)},
    		"GCCPUFraction": {le(0.99)}, "EnableGC": {eq(true)}, "DebugGC": {eq(false)},
    		"BySize": nil,
    	}
    
    	rst := reflect.ValueOf(st).Elem()
    	for i := 0; i < rst.Type().NumField(); i++ {
    		name, val := rst.Type().Field(i).Name, rst.Field(i).Interface()
    		checks, ok := fields[name]
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.GetPrefix()) {
    			continue
    		}
    		if !rule.Filter.TestTags(obj.UserTags) {
    			continue
    		}
    		if !obj.DeleteMarker && !rule.Filter.BySize(obj.Size) {
    			continue
    		}
    		rules = append(rules, rule)
    	}
    	return rules
    }
    
    // ObjectOpts provides information to deduce the lifecycle actions
    // which can be triggered on the resultant object.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      std::vector<TfLiteDimensionType> format = {};
      std::vector<int> b_size = {};
      std::vector<int> b_map = {};
      PopulateEncodingParams(block_size, &traversal_order, &format, &b_map,
                             &b_size);
    
      if (type.getElementType().isF32()) {
        tflite::internal::sparsity::FormatConverter<float> format_converter(
            shape, traversal_order, format, b_size, b_map);
        std::vector<float> data;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. pilot/pkg/config/file/store.go

    	s.shas = make(map[kubeResourceKey]resourceSha)
    	s.byFile = make(map[string]map[kubeResourceKey]config.GroupVersionKind)
    	s.inner = memory.MakeSkipValidation(*s.schemas)
    }
    
    // ContentNames returns the names known to this source.
    func (s *KubeSource) ContentNames() map[string]struct{} {
    	s.mu.Lock()
    	defer s.mu.Unlock()
    
    	result := sets.New[string]()
    	for n := range s.byFile {
    		result.Insert(n)
    	}
    
    	return result
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    	n := 0
    	for len(out) > 0 {
    		bsize := len(out)
    		if bsize > 1024 {
    			bsize = 1024
    		}
    		err = ptrace64Ptr(PT_READ_BLOCK, int64(pid), int64(addr), bsize, unsafe.Pointer(&out[0]))
    		if err != nil {
    			return 0, err
    		}
    		addr += uintptr(bsize)
    		n += bsize
    		out = out[n:]
    	}
    	return n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/obj6.go

    		// For performance, we also want to avoid:
    		// 2) Frameless leaf functions
    		bpsize = ctxt.Arch.PtrSize
    		autoffset += int32(bpsize)
    		p.To.Offset += int64(bpsize)
    	} else {
    		bpsize = 0
    		p.From.Sym.Set(obj.AttrNoFrame, true)
    	}
    
    	textarg := int64(p.To.Val.(int32))
    	cursym.Func().Args = int32(textarg)
    	cursym.Func().Locals = int32(p.To.Offset)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/cc_op_gen_util.cc

              const float f = attr_value.list().f(i);
              strings::StrAppend(&ret, f, floorf(f) == f ? ".0" : "", "f");
            }
          } else if (attr_value.list().b_size() > 0) {
            for (int i = 0; i < attr_value.list().b_size(); ++i) {
              if (i > 0) strings::StrAppend(&ret, ", ");
              strings::StrAppend(&ret, attr_value.list().b(i) ? "true" : "false");
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top