Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for bySize (0.12 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. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

      return profile;
    }
    
    Rematerializer::MemSpec Rematerializer::GetPeakMemory(
        const RematSpec& remat) const {
      MemSpec peak;
      MapMem([&](const MemSpec& m) { peak = std::max(m, peak, BySize); }, remat);
      return peak;
    }
    
    int Rematerializer::FindBestRematPoint(const int begin, const int end,
                                           const int peak_loc) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

                       // inputs of subsequent operations.
        explicit MemSpec(int op_index = 0, SizeT size = 0)
            : op_index(op_index), size(size) {}
      };
    
      static bool BySize(const MemSpec& a, const MemSpec& b) {
        return std::tie(a.size, a.op_index) < std::tie(b.size, b.op_index);
      }
    
      static bool ByOpIndex(const MemSpec& a, const MemSpec& b) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top