- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for dupes (0.04 sec)
-
src/internal/diff/testdata/dups.txt
Russ Cox <******@****.***> 1643490792 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 16:56:29 UTC 2022 - 141 bytes - Viewed (0) -
src/internal/singleflight/singleflight.go
g.mu.Lock() if g.m == nil { g.m = make(map[string]*call) } if c, ok := g.m[key]; ok { c.dups++ g.mu.Unlock() c.wg.Wait() return c.val, c.err, true } c := new(call) c.wg.Add(1) g.m[key] = c g.mu.Unlock() g.doCall(c, key, fn) return c.val, c.err, c.dups > 0 } // DoChan is like Do but returns a channel that will receive the // results when they are ready.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 20:49:56 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml
- name: prometheus overrides: - match: metric: ALL_METRICS disabled: false --- apiVersion: telemetry.istio.io/v1alpha1 kind: Telemetry metadata: name: dupe-1 namespace: default spec: selector: matchLabels: app: reviews # Multiple telemetries have the same selector, should generate errors for both metrics: - providers: - name: prometheus
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 06:56:06 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml
apiVersion: networking.istio.io/v1alpha3 kind: Sidecar metadata: name: dupe-1 namespace: default spec: workloadSelector: labels: app: reviews # Multiple sidecars have the same selector, should generate errors for both egress: - hosts: - "./*" --- apiVersion: networking.istio.io/v1alpha3 kind: Sidecar metadata: name: dupe-2 namespace: default spec: workloadSelector: labels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 2.3K bytes - Viewed (0) -
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/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)