Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for Positive (0.15 sec)

  1. src/math/atanh.go

    // software is freely granted, provided that this notice
    // is preserved.
    // ====================================================
    //
    //
    // __ieee754_atanh(x)
    // Method :
    //	1. Reduce x to positive by atanh(-x) = -atanh(x)
    //	2. For x>=0.5
    //	            1              2x                          x
    //	atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
    //	            2             1 - x                      1 - x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/delmarker-expiration.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration")
    
    // DelMarkerExpiration used to xml encode/decode ILM action by the same name
    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/initialization/ParallelismBuildOptions.java

            public static final String GRADLE_PROPERTY = "org.gradle.workers.max";
            public static final String LONG_OPTION = "max-workers";
            public static final String HINT = "must be a positive, non-zero, integer";
    
            public MaxWorkersOption() {
                super(GRADLE_PROPERTY, CommandLineOptionConfiguration.create(LONG_OPTION, "Configure the number of concurrent workers Gradle is allowed to use."));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy

            executer.withArgument("--max-workers=$value")
    
            then:
            fails "help"
    
            and:
            failure.assertHasErrorOutput "Argument value '$value' given for --max-workers option is invalid (must be a positive, non-zero, integer)"
    
            where:
            value << ["-1", "0", "foo", " 1"]
        }
    
        def "reasonable failure message when org.gradle.workers.max=#value"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 05:05:14 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

                    property.toPositiveLongOrNull()
                        ?: throw Exception(
                            "Invalid value for system property '$IO_ACTION_TIMEOUT_SYSTEM_PROPERTY': '$property'. It must be a positive number of milliseconds."
                        )
                }
                ?: DEFAULT_IO_ACTION_TIMEOUT
        }
    
        private
        fun String.toPositiveLongOrNull() =
            toLongOrNull()?.takeIf { it > 0 }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/JavaSystemPropertiesAsyncIOScopeSettingsTest.kt

                fail("Expected to fail but succeeded")
            } catch (ex: Exception) {
                assertEquals(
                    "Invalid value for system property '$IO_ACTION_TIMEOUT_SYSTEM_PROPERTY': '$propertyValue'. It must be a positive number of milliseconds.",
                    ex.message
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ConnectionPropertiesTest.groovy

            s3ConnectionProperties.configureErrorRetryCount(value)
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "System property [org.gradle.s3.maxErrorRetry=$value]  must be a valid positive Integer"
    
            where:
            value << ['', 'w', '-1', "${Integer.MAX_VALUE + 1}"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    		}
    		if c.MaxRequestsInFlight+c.MaxMutatingRequestsInFlight <= 0 {
    			return fmt.Errorf("invalid configuration: MaxRequestsInFlight=%d and MaxMutatingRequestsInFlight=%d; they must add up to something positive", c.MaxRequestsInFlight, c.MaxMutatingRequestsInFlight)
    
    		}
    		c.FlowControl = utilflowcontrol.New(
    			informers,
    			clientset.FlowcontrolV1(),
    			c.MaxRequestsInFlight+c.MaxMutatingRequestsInFlight,
    		)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/math/dim.go

    	//      +Inf - +Inf = NaN
    	//      -Inf - -Inf = NaN
    	//       NaN - y    = NaN
    	//         x - NaN  = NaN
    	v := x - y
    	if v <= 0 {
    		// v is negative or 0
    		return 0
    	}
    	// v is positive or NaN
    	return v
    }
    
    // Max returns the larger of x or y.
    //
    // Special cases are:
    //
    //	Max(x, +Inf) = Max(+Inf, x) = +Inf
    //	Max(x, NaN) = Max(NaN, x) = NaN
    //	Max(+0, ±0) = Max(±0, +0) = +0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 15 19:45:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersion.java

            }
        }
    
        public static JavaLanguageVersion of(int version) {
            if (version <= 0) {
                throw new IllegalArgumentException("JavaLanguageVersion must be a positive integer, not " + version);
            }
            if (version >= LOWER_CACHED_VERSION && version <= HIGHER_CACHED_VERSION) {
                return KNOWN_VERSIONS[version - LOWER_CACHED_VERSION];
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top