Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,370 for forSet (0.21 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      // TODO: test adding element of wrong type
    
      /**
       * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support
       * duplicates so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getSetCountDuplicateInitializingMethods() {
        return Arrays.asList(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      // TODO: test adding element of wrong type
    
      /**
       * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support
       * duplicates so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getSetCountDuplicateInitializingMethods() {
        return Arrays.asList(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/format.go

    	FormatType   = cel.ObjectType("kubernetes.NamedFormat")
    )
    
    // Format provdes a CEL representation of kubernetes format
    type Format struct {
    	Name         string
    	ValidateFunc func(string) []string
    
    	// Size of the regex string or estimated equivalent regex string used
    	// for cost estimation
    	MaxRegexSize int
    }
    
    func (d *Format) ConvertToNative(typeDesc reflect.Type) (interface{}, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    //
    //  Examples:
    //      format.dns1123Label().validate("my-label-name")
    //      format.dns1123Subdomain().validate("apiextensions.k8s.io")
    //      format.dns1035Label().validate("my-label-name")
    //      format.qualifiedName().validate("apiextensions.k8s.io/v1beta1")
    //      format.dns1123LabelPrefix().validate("my-label-prefix-")
    //      format.dns1123SubdomainPrefix().validate("mysubdomain.prefix.-")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/format.go

    			arg = buf.String()
    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var qf Qualifier
    	if check != nil {
    		qf = check.qualifier
    	}
    	return sprintf(qf, false, format, args...)
    }
    
    func (check *Checker) trace(pos syntax.Pos, format string, args ...any) {
    	fmt.Printf("%s:\t%s%s\n",
    		pos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/net/main_conf_test.go

    func allResolvers(t *testing.T, f func(t *testing.T)) {
    	t.Run("default resolver", f)
    	t.Run("forced go resolver", func(t *testing.T) {
    		// On plan9 the forceGoDNS might not force the go resolver, currently
    		// it is only forced when the Resolver.Dial field is populated.
    		// See conf.go mustUseGoResolver.
    		defer forceGoDNS()()
    		f(t)
    	})
    	t.Run("forced cgo resolver", func(t *testing.T) {
    		defer forceCgoDNS()()
    		f(t)
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:29:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/internal/coverage/cformat/format.go

    	})
    }
    
    // EmitTextual writes the accumulated coverage data in the legacy
    // cmd/cover text format to the writer 'w'. We sort the data items by
    // importpath, source file, and line number before emitting (this sorting
    // is not explicitly mandated by the format, but seems like a good idea
    // for repeatable/deterministic dumps).
    func (fm *Formatter) EmitTextual(w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    	format := &formatErasureV3{}
    	format.Version = formatMetaVersionV1
    	format.Format = formatBackendErasure
    	if setLen == 1 {
    		format.Format = formatBackendErasureSingle
    	}
    	format.ID = mustGetUUID()
    	format.Erasure.Version = formatErasureVersionV3
    	format.Erasure.DistributionAlgo = formatErasureVersionV3DistributionAlgoV3
    	format.Erasure.Sets = make([][]string, numSets)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/fmt/format.go

    	}
    }
    
    // fmtFloat formats a float64. It assumes that verb is a valid format specifier
    // for strconv.AppendFloat and therefore fits into a byte.
    func (f *fmt) fmtFloat(v float64, size int, verb rune, prec int) {
    	// Explicit precision in format specifier overrules default precision.
    	if f.precPresent {
    		prec = f.prec
    	}
    	// Format number, reserving space for leading + sign if needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/time/format.go

    //
    // The returned string is meant for debugging; for a stable serialized
    // representation, use t.MarshalText, t.MarshalBinary, or t.Format
    // with an explicit format string.
    func (t Time) String() string {
    	s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")
    
    	// Format monotonic clock reading as m=±ddd.nnnnnnnnn.
    	if t.wall&hasMonotonic != 0 {
    		m2 := uint64(t.ext)
    		sign := byte('+')
    		if t.ext < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top