- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for dupes (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
String format = "super-duper-thread-%s"; ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) { assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); } } public void testNameFormatWithPercentD_custom() { String format = "super-duper-thread-%d";
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
test/typeparam/nested.go
add(Int(0), T[Int]{}) add(GlobalInt(0), T[GlobalInt]{}) add(A(0), T[A]{}) // NOTE: intentionally dups with int and GlobalInt type U[_ any] int type V U[int] type W V add(U[int](0), T[U[int]]{}) add(U[Int](0), T[U[Int]]{}) add(U[GlobalInt](0), T[U[GlobalInt]]{}) add(U[A](0), T[U[A]]{}) // NOTE: intentionally dups with U[int] and U[GlobalInt] add(V(0), T[V]{}) add(W(0), T[W]{}) } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:23:27 UTC 2022 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
String format = "super-duper-thread-%s"; ThreadFactory factory = builder.setNameFormat(format).build(); for (int i = 0; i < 11; i++) { assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); } } public void testNameFormatWithPercentD_custom() { String format = "super-duper-thread-%d";
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
src/internal/nettrace/nettrace.go
// DNSStart is called with the hostname of a DNS lookup // before it begins. DNSStart func(name string) // DNSDone is called after a DNS lookup completes (or fails). // The coalesced parameter is whether singleflight de-duped // the call. The addrs are of type net.IPAddr but can't // actually be for circular dependency reasons. DNSDone func(netIPs []any, coalesced bool, err error) // ConnectStart is called before a Dial, excluding Dials made
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:57:14 UTC 2023 - 1.8K bytes - Viewed (0) -
src/net/net_windows_test.go
} group[string(line[:i])] = string(bytes.TrimSpace(line[i+1:])) } processGroup() dups := make(map[string][]string) for name, addr := range want { if _, ok := dups[addr]; !ok { dups[addr] = make([]string, 0) } dups[addr] = append(dups[addr], name) } nextWant: for name, wantAddr := range want { if haveAddr, ok := have[name]; ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo2/libgo2.go
import ( "fmt" "os" "syscall" ) // To test this we want to communicate between the main program and // the shared library without using any exported symbols. The init // function creates a pipe and Dups the read end to a known number // that the C code can also use. const ( fd = 30 ) func init() { var p [2]int if e := syscall.Pipe(p[0:]); e != nil { fmt.Fprintf(os.Stderr, "pipe: %v\n", e)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
result.addAll(stories) } return result } /** * Checks if `expected` and `observed` are equal when viewed as a set and headers are * deduped. * * TODO: See if duped headers should be preserved on decode and verify. */ private fun assertSetEquals( message: String, expected: List<Header>, observed: List<Header>, ) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
hack/lib/golang.sh
# kube::util::read-array FOO < <(kube::golang::dups a b c a) # # ALWAYS remember to quote your subshells. Not doing so will break in # bash 4.3, and potentially cause other issues. # ------------ # Returns a sorted newline-separated list containing only duplicated items. kube::golang::dups() { # We use printf to insert newlines, which are required by sort.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilderSpec.groovy
node("leaf1") node("leaf2") resolvedConf("root", [dep("root", "mid1")]) resolvedConf("mid1", [dep("mid1", "leaf1")]) resolvedConf("mid1", [dep("mid1", "leaf1")]) //dupe resolvedConf("mid1", [dep("mid1", "leaf2")]) resolvedConf("leaf1", []) resolvedConf("leaf2", []) when: def result = builder.getRoot(id("root")) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/nm/nm_test.go
return true } } if platform.DefaultPIE(runtime.GOOS, runtime.GOARCH, false) { // Code is always relocated if the default buildmode is PIE. return true } return false } dups := make(map[string]bool) for _, line := range strings.Split(string(out), "\n") { f := strings.Fields(line) if len(f) < 3 { continue } name := f[2] if addr, found := names[name]; found {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 23:32:34 UTC 2023 - 8.8K bytes - Viewed (0)