- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,721 for Size (0.06 sec)
-
src/sync/pool.go
// victim cache to age out if at all possible. size = atomic.LoadUintptr(&p.victimSize) if uintptr(pid) >= size { return nil } locals = p.victim l := indexLocal(locals, pid) if x := l.private; x != nil { l.private = nil return x } for i := 0; i < int(size); i++ { l := indexLocal(locals, (pid+i)%int(size)) if x, _ := l.shared.popTail(); x != nil { return x } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K bytes - Viewed (0) -
src/os/read_test.go
"bytes" . "os" "path/filepath" "runtime" "testing" ) func checkNamedSize(t *testing.T, path string, size int64) { dir, err := Stat(path) if err != nil { t.Fatalf("Stat %q (looking for size %d): %s", path, size, err) } if dir.Size() != size { t.Errorf("Stat %q: size %d want %d", path, dir.Size(), size) } } func TestReadFile(t *testing.T) { t.Parallel() filename := "rumpelstilzchen"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.cc
TypeRangeWithDesc range1) { if (range0.first.size() != range1.first.size()) { return op->emitOpError() << range0.second << "s (size = " << range0.first.size() << ")" << " should have the same number of values as " << range1.second << "s (size = " << range1.first.size() << ")"; } for (const auto &it :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
new_shape_array.size(), builder->getIntegerType(32)); // This is to workaround the unnecessary cast i64 -> i32. :( // TODO(renjieliu): Revisit this later. SmallVector<int32_t, 4> new_shape_array_i32; for (auto size : new_shape_array) { new_shape_array_i32.push_back( ShapedType::isDynamic(size) ? -1 : static_cast<int32_t>(size)); } auto new_shape_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/unroll_batch_matmul.pbtxt
attr { key: "dtype" value { type: DT_FLOAT } } attr { key: "shape" value { shape { dim { size: 2 } dim { size: 5 } dim { size: 3 } } } } } node { name: "Placeholder_1" op: "Placeholder" attr { key: "dtype" value { type: DT_FLOAT
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} /** Returns a byte array of length size that has values 0 .. size - 1. */ static byte[] newPreFilledByteArray(int size) { return newPreFilledByteArray(0, size); } /** Returns a byte array of length size that has values offset .. offset + size - 1. */ static byte[] newPreFilledByteArray(int offset, int size) { byte[] array = new byte[size]; for (int i = 0; i < size; i++) { array[i] = (byte) (offset + i);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
// verify a few typical parameters are not duplicated assertEquals(1, project.getTestCompileSourceRoots().size()); assertEquals(1, project.getCompileSourceRoots().size()); assertEquals(1, project.getMailingLists().size()); assertEquals(1, project.getResources().size()); } @Test void testPropertyInPluginManagementGroupId() throws Exception {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 18.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
template <typename T> bool BroadcastVector(int target_size, SmallVectorImpl<T>& data) { const int size = data.size(); if (size != target_size) { if (target_size % size != 0) return true; data.reserve(target_size); for (int i = 1; i < target_size / size; ++i) { data.insert(data.end(), data.begin(), data.begin() + size); } } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator_test.go
getSizeFunc := func(size string) *resource.Quantity { x := resource.MustParse(size) return &x } nodeResizeFailed := v1.PersistentVolumeClaimNodeResizeFailed nodeResizePending := v1.PersistentVolumeClaimNodeResizePending var tests = []struct { name string pvc *v1.PersistentVolumeClaim pv *v1.PersistentVolume // desired size, defaults to pv.Spec.Capacity
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/pprof/protomem.go
// rate R. The probability of a sample of size S to appear in that // profile is 1-exp(-S/R). func scaleHeapSample(count, size, rate int64) (int64, int64) { if count == 0 || size == 0 { return 0, 0 } if rate <= 1 { // if rate==1 all samples were collected so no adjustment is needed. // if rate<1 treat as unknown and skip scaling. return count, size } avgSize := float64(size) / float64(count)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K bytes - Viewed (0)