- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for totalBytes (0.52 sec)
-
src/main/java/org/codelibs/fess/util/MemoryUtil.java
final long freeBytes = runtime.freeMemory(); final long maxBytes = runtime.maxMemory(); final long totalBytes = runtime.totalMemory(); final long usedBytes = totalBytes - freeBytes; return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max " + byteCountToDisplaySize(maxBytes) + "}"; }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
test/finprofiled.go
var totalBytes int64 for _, p := range prof { bytes := p.AllocBytes - p.FreeBytes nobj := p.AllocObjects - p.FreeObjects if nobj == 0 { // There may be a record that has had all of its objects // freed. That's fine. Avoid a divide-by-zero and skip. continue } size := bytes / nobj if size == tinyBlockSize { totalBytes += bytes } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
src/runtime/mranges.go
// // addrRanges is not thread-safe. type addrRanges struct { // ranges is a slice of ranges sorted by base. ranges []addrRange // totalBytes is the total amount of address space in bytes counted by // this addrRanges. totalBytes uintptr // sysStat is the stat to track allocations by this type sysStat *sysMemStat } func (a *addrRanges) init(sysStat *sysMemStat) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/volume/csi/csi_metrics_test.go
totalBytes := resource.NewQuantity(usage.Total, resource.BinarySI) usedBytes := resource.NewQuantity(usage.Used, resource.BinarySI) if metrics.Available.Cmp(*availableBytes) != 0 { t.Fatalf("for %s: error: expected :%v , got: %v", tc.name, *availableBytes, *(metrics.Available)) } if metrics.Capacity.Cmp(*totalBytes) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/cc/framework/ops.cc
} offset += elem.NumElements(); } else { std::copy_n(elem.tensor_data().data(), elem.TotalBytes(), const_cast<char*>(t.tensor_data().data()) + offset); offset += elem.TotalBytes(); } } tensor = t; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
pkg/volume/configmap/configmap.go
Namespace: b.pod.Namespace, Name: b.source.Name, }, } } totalBytes := totalBytes(configMap) klog.V(3).Infof("Received configMap %v/%v containing (%v) pieces of data, %v total bytes", b.pod.Namespace, b.source.Name, len(configMap.Data)+len(configMap.BinaryData), totalBytes) payload, err := MakePayload(b.source.Items, configMap, b.source.DefaultMode, optional) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
pkg/volume/secret/secret.go
Namespace: b.pod.Namespace, Name: b.source.SecretName, }, } } totalBytes := totalSecretBytes(secret) klog.V(3).Infof("Received secret %v/%v containing (%v) pieces of data, %v total bytes", b.pod.Namespace, b.source.SecretName, len(secret.Data), totalBytes) payload, err := MakePayload(b.source.Items, secret, b.source.DefaultMode, optional) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
} private static void assertReadableBytes(HashCode hashCode) { assertTrue(hashCode.bits() >= 32); // sanity byte[] hashBytes = hashCode.asBytes(); int totalBytes = hashCode.bits() / 8; for (int bytes = 0; bytes < totalBytes; bytes++) { byte[] bb = new byte[bytes]; hashCode.writeBytesTo(bb, 0, bb.length); assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb)); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
var publicSuffixExceptionListBytes: ByteArray? try { GzipSource(fileSystem.source(path)).buffer().use { bufferedSource -> val totalBytes = bufferedSource.readInt() publicSuffixListBytes = bufferedSource.readByteArray(totalBytes.toLong()) val totalExceptionBytes = bufferedSource.readInt() publicSuffixExceptionListBytes = bufferedSource.readByteArray(totalExceptionBytes.toLong())
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.7K bytes - Viewed (0) -
src/runtime/mranges_test.go
t.Errorf("ranges %d and %d overlap", i-1, i) } } } if wantTotalBytes != gotTotalBytes { t.Errorf("expected %d total bytes, got %d", wantTotalBytes, gotTotalBytes) } if b := a.TotalBytes(); b != gotTotalBytes { t.Errorf("inconsistent total bytes: want %d, got %d", gotTotalBytes, b) } if t.Failed() { t.Errorf("addrRanges: %v", ranges) t.Fatal("detected bad addrRanges") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 23:01:52 UTC 2020 - 5.7K bytes - Viewed (0)