- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for src2 (0.18 sec)
-
src/cmd/compile/internal/types2/check_test.go
// between). Otherwise the line is ignored. func parseFlags(src []byte, flags *flag.FlagSet) error { // we must have a line comment that starts with a "-" const prefix = "//" if !bytes.HasPrefix(src, []byte(prefix)) { return nil // first line is not a line comment } src = src[len(prefix):] if i := bytes.Index(src, []byte("-")); i < 0 || len(bytes.TrimSpace(src[:i])) != 0 { return nil // comment doesn't start with a "-" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/util/iptables/testing/parse_test.go
{ name: "local source", rule: `-A KUBE-XLB-GNZBNJ2PO5MGZ6GT -m comment --comment "masquerade LOCAL traffic for ns2/svc2:p80 LB IP" -m addrtype --src-type LOCAL -j KUBE-MARK-MASQ`, parsed: &Rule{ Raw: `-A KUBE-XLB-GNZBNJ2PO5MGZ6GT -m comment --comment "masquerade LOCAL traffic for ns2/svc2:p80 LB IP" -m addrtype --src-type LOCAL -j KUBE-MARK-MASQ`, Chain: iptables.Chain("KUBE-XLB-GNZBNJ2PO5MGZ6GT"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser_test.go
src_ = flag.String("src", "parser.go", "source file to parse") skip = flag.String("skip", "", "files matching this regular expression are skipped by TestStdLib") ) func TestParse(t *testing.T) { ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0) } func TestVerify(t *testing.T) { ast, err := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 16:30:19 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/builtins_test.go
{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`}, {"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`}, {"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`}, {"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
src/go/types/check_test.go
// between). Otherwise the line is ignored. func parseFlags(src []byte, flags *flag.FlagSet) error { // we must have a line comment that starts with a "-" const prefix = "//" if !bytes.HasPrefix(src, []byte(prefix)) { return nil // first line is not a line comment } src = src[len(prefix):] if i := bytes.Index(src, []byte("-")); i < 0 || len(bytes.TrimSpace(src[:i])) != 0 { return nil // comment doesn't start with a "-" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
auto attr = node_def->mutable_attr(); if (node_def->op() == "Cast" && attr->contains("SrcT") && attr->contains("DstT") && attr->at("SrcT").type() == attr->at("DstT").type() && attr->contains("Truncate") && !attr->at("Truncate").b()) { node_def->set_op("Identity"); attr->insert({{"T", attr->at("SrcT")}}); attr->erase("SrcT"); attr->erase("DstT"); attr->erase("Truncate"); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins_test.go
{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`}, {"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`}, {"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`}, {"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
} while (bb.remaining() >= 16) { crc0 = computeForWord(crc0); crc1 = computeForWord(crc1); crc2 = computeForWord(crc2); crc3 = computeForWord(crc3); crc0 ^= bb.getInt(); crc1 ^= bb.getInt(); crc2 ^= bb.getInt(); crc3 ^= bb.getInt(); } } @Override protected void processRemaining(ByteBuffer bb) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
} while (bb.remaining() >= 16) { crc0 = computeForWord(crc0); crc1 = computeForWord(crc1); crc2 = computeForWord(crc2); crc3 = computeForWord(crc3); crc0 ^= bb.getInt(); crc1 ^= bb.getInt(); crc2 ^= bb.getInt(); crc3 ^= bb.getInt(); } } @Override protected void processRemaining(ByteBuffer bb) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 21.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
return addToCollection(dest, false, src); } @Deprecated public static <V, T extends Collection<? super V>> T addToCollection(T dest, boolean failOnNull, Iterable<? extends V>... srcs) { for (Iterable<? extends V> src : srcs) { for (V v : src) { if (failOnNull && v == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0)