Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for dupes (0.28 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper_test.go

    			mapper: MultiRESTMapper{
    				fixedRESTMapper{resourcesFor: []schema.GroupVersionResource{{Resource: "dupe"}, {Resource: "first"}}},
    				fixedRESTMapper{resourcesFor: []schema.GroupVersionResource{{Resource: "dupe"}, {Resource: "second"}}},
    			},
    			input:  schema.GroupVersionResource{Resource: "foo"},
    			result: []schema.GroupVersionResource{{Resource: "dupe"}, {Resource: "first"}, {Resource: "second"}},
    		},
    		{
    			name: "skip not and continue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 01:49:02 UTC 2018
    - 13.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/collect/RowSortedTable.java

     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * @author Warren Dukes
     * @since 8.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface RowSortedTable<
            R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RowSortedTable.java

     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * @author Warren Dukes
     * @since 8.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface RowSortedTable<
            R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top