- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 89 for Pat (0.48 sec)
-
src/regexp/find_test.go
// and the byte results from the string results. Therefore the table includes // only the FindAllStringSubmatchIndex result. type FindTest struct { pat string text string matches [][]int } func (t FindTest) String() string { return fmt.Sprintf("pat: %#q text: %#q", t.pat, t.text) } var findTests = []FindTest{ {``, ``, build(1, 0, 0)}, {`^abcdefg`, "abcdefg", build(1, 0, 7)}, {`a+`, "baaab", build(1, 1, 4)},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 11 15:28:50 UTC 2021 - 16.3K bytes - Viewed (0) -
src/net/http/routing_index.go
} func (idx *routingIndex) addPattern(pat *pattern) { if pat.lastSegment().multi { idx.multis = append(idx.multis, pat) } else { if idx.segments == nil { idx.segments = map[routingIndexKey][]*pattern{} } for pos, seg := range pat.segments { key := routingIndexKey{pos: pos, s: ""} if !seg.wild { key.s = seg.s } idx.segments[key] = append(idx.segments[key], pat) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 18:35:22 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize.td
// Checks if the value has only one user. def HasOneUse : Constraint<CPred<"$0.hasOneUse()">>; // If we see a Conv2D op followed by Mul, then multiply the filter // with the value in Mul. def FuseMulAndConv2D : Pat<(TF_MulOp:$mul (TF_Conv2DOp:$conv $input, (Arith_ConstantOp:$filter F32ElementsAttr:$filter_value), $strides, $use_cudnn, $padding, $explicit_padding,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 22 07:31:23 UTC 2023 - 5.4K bytes - Viewed (0) -
src/net/http/sniff.go
&maskedSig{ mask: []byte("\xFF\xFF\xFF\xFF\x00\x00\x00\x00\xFF\xFF\xFF\xFF"), pat: []byte("FORM\x00\x00\x00\x00AIFF"), ct: "audio/aiff", }, &maskedSig{ mask: []byte("\xFF\xFF\xFF"), pat: []byte("ID3"), ct: "audio/mpeg", }, &maskedSig{ mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("OggS\x00"), ct: "application/ogg", }, &maskedSig{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 21:51:06 UTC 2022 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo_patterns.td
def LegalizeTranspose : Pat<(MHLO_TransposeOp $arg, $perm), (TFL_TransposeOp $arg, (CreateTFLCastToInt32Op (TFL_ConstOp $perm)))>; def ConvertDotGeneralOp : NativeCodeCall<"ConvertDotGeneralOp($_builder, " "$0.getDefiningOp())">; def LegalizeDotGeneral: Pat<(MHLO_DotGeneralOp:$old_value $lhs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 18 18:07:41 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/transform_patterns.td
include "mlir/Dialect/Func/IR/FuncOps.td" include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td" include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" // Basically x - y => x + y * -1 def SubToAdd : Pat<(TFL_SubOp $lhs, $rhs, $act), (TFL_AddOp $lhs, (TFL_MulOp $rhs, (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "-1.0f">), TFL_AF_None), $act)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 29 21:02:21 UTC 2022 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_variables.td
def LegalizeVarHandle : Pat< (TF_VarHandleOp:$result $container, $shared_name), (TFL_VarHandleOp $container, $shared_name), [(HasSupportedElementType $result)]>; def LegalizeReadVariable : Pat< (TF_ReadVariableOp:$result $resource), (TFL_ReadVariableOp $resource), [(HasSupportedElementType $result)]>; def LegalizeAssignVariable : Pat< (TF_AssignVariableOp $resource, $value, $validate_shape),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 16 23:20:46 UTC 2022 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td
include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" // Remove redundant `CastOp` to int8 if the input is properly clipped. def RemoveRedundantCastOps : Pat< (TF_CastOp:$root_cast (TF_CastOp:$i8_cast (TF_ClipByValueOp:$clip $input, $min_value, $max_value), ConstBoolAttrFalse:$truncate2), ConstBoolAttrFalse:$truncate1),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 2.3K bytes - Viewed (0) -
src/testing/match.go
// given match function. matches(name []string, matchString func(pat, str string) (bool, error)) (ok, partial bool) // verify checks that the receiver's pattern strings are valid filters by // calling the given match function. verify(name string, matchString func(pat, str string) (bool, error)) error } // simpleMatch matches a test name if all of the pattern strings match in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
} return string(s) == text, nil } // matcher - Finds `pat` in `text`, and returns the part remainder of // `text`, after the match. If leadingPercent is false, `pat` must be // the prefix of `text`, otherwise it must be a substring. func matcher(text, pat string, leadingPercent bool) (res string, match bool) { if !leadingPercent { res = strings.TrimPrefix(text, pat) if len(text) == len(res) { return "", false }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0)