Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for casts (0.08 sec)

  1. src/math/big/float_test.go

    		// prec at upper limit
    		{"0", MaxPrec, "0", Exact},
    		{"-0", MaxPrec, "-0", Exact},
    		{"-Inf", MaxPrec, "-Inf", Exact},
    		{"+Inf", MaxPrec, "+Inf", Exact},
    
    		// just a few regular cases - general rounding is tested elsewhere
    		{"1.5", 1, "2", Above},
    		{"-1.5", 1, "-2", Below},
    		{"123", 1e6, "123", Exact},
    		{"-123", 1e6, "-123", Exact},
    	} {
    		x := makeFloat(test.x).SetPrec(test.prec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
       * the warnings the {@link MoreExecutors#directExecutor} documentation.
       *
       * @param input the primary input {@code Future}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    In prior versions of Gradle, many of these circumstances were detected and handled by failing the build.
    However, some cases went undetected or did not trigger build failures.
    In Gradle 9.0, all changes to a configuration after it has been observed will become an error.
    After a configuration of any type has been observed, it should be considered immutable.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context.go

    	)
    
    	// ProxyStatusNoService represents proxies not selected by any service
    	// This can be normal - for workloads that act only as client, or are not covered by a Service.
    	// It can also be an error, for example in cases the Endpoint list of a service was not updated by the time
    	// the sidecar calls.
    	// Updated by GetProxyServiceTargets
    	ProxyStatusNoService = monitoring.NewGauge(
    		"pilot_no_ip",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  5. src/html/template/exec_test.go

    var (
    	bigInt  = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1))
    	bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1)))
    )
    
    var execTests = []execTest{
    	// Trivial cases.
    	{"empty", "", "", nil, true},
    	{"text", "some text", "some text", nil, true},
    	{"nil action", "{{nil}}", "", nil, false},
    
    	// Ideal constants.
    	{"ideal int", "{{typeOf 3}}", "int", 0, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/time/time.go

    // use case is for printing a floating point number like 1.5s, and
    // a truncation to integer would make them not useful in those cases.
    // Splitting the integer and fraction ourselves guarantees that
    // converting the returned float64 to an integer rounds the same
    // way that a pure integer conversion would have, even in cases
    // where, say, float64(d.Nanoseconds())/1e9 would have rounded
    // differently.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            metadataSupplierClass = 'MP'
            new SimpleSupplierInteractions()
        }
    
        private SupplierInteractions withSupplierWithAttributes(Map<String, Map<String, String>> attributesPerVersion) {
            def cases = attributesPerVersion.collect { version, attributes ->
                def attributesBlock = attributes.collect { k, v ->
                    "it.attribute($k, $v)"
                }.join('; ')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    The report provides both names and types.
    As a last resort, you can also check a plugin's source code, but that shouldn't be necessary in the majority of cases.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    		return map[ConfigKey]bool{
    			{kind.ServiceEntry, svcName, ns}:   contains,
    			{kind.VirtualService, vsName, ns}:  contains,
    			{kind.DestinationRule, drName, ns}: contains,
    		}
    	}
    
    	cases := []struct {
    		name   string
    		egress []string
    
    		contains map[ConfigKey]bool
    	}{
    		{"Just wildcard", []string{"*/*"}, allContains(nsName, true)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    var (
    	bigInt  = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1))
    	bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1)))
    )
    
    var execTests = []execTest{
    	// Trivial cases.
    	{"empty", "", "", nil, true},
    	{"text", "some text", "some text", nil, true},
    	{"nil action", "{{nil}}", "", nil, false},
    
    	// Ideal constants.
    	{"ideal int", "{{typeOf 3}}", "int", 0, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top