- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 205 for DUP (0.12 sec)
-
src/go/types/exprstring_test.go
dup("interface{~int | ~string; float64; m()}"), dup("interface{~T[int, string] | string}"), // generic types dup("x[T]"), dup("x[N | A | S]"), dup("x[N, A]"), // non-type expressions dup("(x)"), dup("x.f"), dup("a[i]"), dup("s[:]"), dup("s[i:]"), dup("s[:j]"), dup("s[i:j]"), dup("s[:j:k]"), dup("s[i:j:k]"), dup("x.(T)"), dup("x.([10]int)"), dup("x.([...]int)"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 17:08:18 UTC 2023 - 2.5K bytes - Viewed (0) -
src/go/types/typestring_test.go
dup("func(x ...int) (u string)"), {"func(x int, y ...int) (u string)", "func(x int, y ...int) (u string)"}, // interfaces dup("interface{}"), dup("interface{m()}"), dup(`interface{String() string; m(int) float32}`), dup("interface{int | float32 | complex128}"), dup("interface{int | ~float32 | ~complex128}"), dup("any"), dup("interface{comparable}"), // TODO(gri) adjust test for EvalCompositeTest
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer_test.go
// non-type expressions dup("(x)"), dup("x.f"), dup("a[i]"), dup("s[:]"), dup("s[i:]"), dup("s[:j]"), dup("s[i:j]"), dup("s[:j:k]"), dup("s[i:j:k]"), dup("x.(T)"), dup("x.([10]int)"), dup("x.([...]int)"), dup("x.(struct{})"), dup("x.(struct{x int; y, z float32; E})"), dup("x.(func())"), dup("x.(func(x int))"), dup("x.(func() int)"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 17:08:18 UTC 2023 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring_test.go
dup("func(x ...int) (u string)"), {"func(x int, y ...int) (u string)", "func(x int, y ...int) (u string)"}, // interfaces dup("interface{}"), dup("interface{m()}"), dup(`interface{String() string; m(int) float32}`), dup("interface{int | float32 | complex128}"), dup("interface{int | ~float32 | ~complex128}"), dup("any"), dup("interface{comparable}"), {"comparable", "interface{comparable}"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/api/v1/endpoints/util_test.go
}}, }, { name: "one set, one ip, dup ports", given: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "1.2.3.4"}}, Ports: []v1.EndpointPort{{Port: 111}, {Port: 111}}, }}, expect: []v1.EndpointSubset{{ Addresses: []v1.EndpointAddress{{IP: "1.2.3.4"}}, Ports: []v1.EndpointPort{{Port: 111}}, }}, }, { name: "two sets, dup ip, dup port", given: []v1.EndpointSubset{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 16.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/host/host.go
if got, want := common.X, 2; got != want { log.Fatalf("after loading plugin2, common.X=%d, want %d", got, want) } _, err = plugin.Open("plugin2-dup.so") if err == nil { log.Fatal(`plugin.Open("plugin2-dup.so"): duplicate open should have failed`) } if s := err.Error(); !strings.Contains(s, "already loaded") { log.Fatal(`plugin.Open("plugin2.so"): error does not mention "already loaded"`) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/antbuilder/AntBuilderMemoryLeakTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 26 09:30:27 UTC 2018 - 3.6K bytes - Viewed (0) -
src/crypto/md5/gen.go
Shift4 []int Table1 []uint32 Table2 []uint32 Table3 []uint32 Table4 []uint32 } var funcs = template.FuncMap{ "dup": dup, "relabel": relabel, "rotate": rotate, "idx": idx, "seq": seq, } func dup(count int, x []int) []int { var out []int for i := 0; i < count; i++ { out = append(out, x...) } return out } func relabel(s string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
src/internal/poll/fd_opendir_darwin.go
// syscall is returned along with a syscall.Errno. func (fd *FD) OpenDir() (uintptr, string, error) { // fdopendir(3) takes control of the file descriptor, // so use a dup. fd2, call, err := fd.Dup() if err != nil { return 0, call, err } var dir uintptr for { dir, err = fdopendir(fd2) if err != syscall.EINTR { break } } if err != nil { syscall.Close(fd2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 918 bytes - Viewed (0) -
src/internal/poll/fd_unixjs.go
return CloseFunc(fd) } // dupCloseOnExecOld is the traditional way to dup an fd and // set its O_CLOEXEC bit, using two system calls. func dupCloseOnExecOld(fd int) (int, string, error) { syscall.ForkLock.RLock() defer syscall.ForkLock.RUnlock() newfd, err := syscall.Dup(fd) if err != nil { return -1, "dup", err } syscall.CloseOnExec(newfd) return newfd, "", nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 2K bytes - Viewed (0)