- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 65 for Ftruncate (0.2 sec)
-
src/bytes/bytes_test.go
if err := recover(); err == nil { t.Fatal("Truncate(-1) should have panicked") } }() var b Buffer b.Truncate(-1) } func TestBufferTruncateOutOfRange(t *testing.T) { defer func() { if err := recover(); err == nil { t.Fatal("Truncate(20) should have panicked") } }() var b Buffer b.Write(make([]byte, 10)) b.Truncate(20) } var containsTests = []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// CHECK-LABEL: add_v2_uint32 // CHECK: %[[CAST:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<ui32>) -> tensor<i32> // CHECK: %[[CAST1:.*]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<ui32>) -> tensor<i32> // CHECK: %[[ADD:.*]] = "tf.AddV2"(%[[CAST]], %[[CAST1]]) : (tensor<i32>, tensor<i32>) -> tensor<i32> // CHECK: %[[CAST2:.*]] = "tf.Cast"(%[[ADD]]) <{Truncate = false}> : (tensor<i32>) -> tensor<ui32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
src/runtime/mprof.go
// we need extra space in order to avoid getting fewer than the // desired maximum number of frames after expansion. // This should be at least as large as the largest skip value // used for profiling; otherwise stacks may be truncated inconsistently maxSkip = 5 // maxProfStackDepth is the highest valid value for debug.profstackdepth. // It's used for the bucket.stk func. // TODO(fg): can we get rid of this? maxProfStackDepth = 1024 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
(ValueOp:$value (MoveOp:$move $input, $move_def)), (MoveOp (ValueOp $input), $move_def), [(SameElementType $input, $value), (HasOneUse $move)]>; } } // Returns truncated shape of a ranked-tensor. // Prefix-Truncated, here, means eliminating any contiguous 1s' in the lower // dimentions of the tensor def GetPrefixTruncatedShape: NativeCodeCall<"GetShape($0, true)">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
cmd/erasure-server-pool.go
if err != nil && err != io.EOF { if !isErrBucketNotFound(err) { storageLogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket) } return loi, toObjectErr(err, bucket) } defer merged.truncate(0) // Release when returning if contextCanceled(ctx) { return ListObjectVersionsInfo{}, ctx.Err() } if versionMarker == "" { o := listPathOptions{Marker: marker}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
if tc.expectedAnnotation { if !ok { t.Errorf("Expected EndpointsOverCapacity annotation to be set") } else if actualAnnotation != "truncated" { t.Errorf("Expected EndpointsOverCapacity annotation to be 'truncated', got %s", actualAnnotation) } } else { if ok { t.Errorf("Expected EndpointsOverCapacity annotation not to be set, got %s", actualAnnotation) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(MOV(WZ|WZ|WZ|W|W|W)reg y:(MOV(WZ|HZ|BZ|W|H|B)reg _)) => y // repeat (MOVWZreg y:(MOV(H|W)BRload _ _)) => y (MOV(W|WZ)reg y:(MOV(WZ|W)reg x)) => (MOV(W|WZ)reg x) // Truncate then logical then truncate: omit first, lesser or equal truncate (MOVWZreg ((OR|XOR|AND) <t> x (MOVWZreg y))) => (MOVWZreg ((OR|XOR|AND) <t> x y)) (MOVHZreg ((OR|XOR|AND) <t> x (MOVWZreg y))) => (MOVHZreg ((OR|XOR|AND) <t> x y))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
} mlir::ElementsAttr value; if (tfl::IsQuantized(tensor)) { bool truncate = shaped_type.getElementType().getIntOrFloatBitWidth() == 64; TF_ASSIGN_OR_RETURN(value, tfl::ConvertIntBuffer(shaped_type, buffer, truncate)); TF_ASSIGN_OR_RETURN( mlir::quant::QuantizedType type, tfl::GetQuantizedType(tensor, builder, /*is_constant=*/true,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
static Value CreateTFCastOpI32(OpBuilder *builder, Location loc, Value x, BoolAttr truncate) { auto x_type = mlir::dyn_cast_or_null<ShapedType>(x.getType()); if (!x_type) llvm_unreachable("unsupported type"); Type type = x_type.clone(builder->getI32Type()); return builder->create<TF::CastOp>(loc, type, x, truncate); } } // namespace //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)