- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for src2 (0.04 sec)
-
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) -
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) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy
given: app.sources.writeToSourceDir(file('src/main/cpp')) app.greeter.headers.writeToSourceDir(file('src/main/headers')) app.sum.headers.writeToSourceDir(file('src/sumHeaders/foo')) file("src/main/cpp/main.cpp").text = file("src/main/cpp/main.cpp").text.replace("sum.h", "foo/sum.h") file("src/main/cpp/sum.cpp").text = file("src/main/cpp/sum.cpp").text.replace("sum.h", "foo/sum.h")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 19:11:01 UTC 2024 - 42.5K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
for _, length := range lengths { p := make([]byte, length) _, _ = rand.Read(p) crcInit := uint32(rand.Int63()) crc1 := crcFunc1(crcInit, p) crc2 := crcFunc2(crcInit, p) if crc1 != crc2 { t.Errorf("mismatch: 0x%x vs 0x%x (buffer length %d)", crc1, crc2, length) } } } // TestSimple tests the simple generic algorithm. func TestSimple(t *testing.T) { tab := simpleMakeTable(IEEE)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/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: Wed May 29 06:47:40 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
f.fe.Func().SetWBPos(pos) nWBops-- case OpMoveWB: dst := w.Args[0] src := w.Args[1] if isVolatile(src) { for _, c := range volatiles { if src == c.src { src = c.tmp break } } } typ := reflectdata.TypeLinksym(w.Aux.(*types.Type)) // moveWB(&typ, dst, src) taddr := b.NewValue1A(pos, OpAddr, b.Func.Config.Types.Uintptr, typ, sb)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0)