Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 558 for Positive (0.23 sec)

  1. ChangeLog.md

    - [`KT-54790`](https://youtrack.jetbrains.com/issue/KT-54790) False positive NO_ELSE_IN_WHEN when all interfaces are sealed
    - [`KT-54920`](https://youtrack.jetbrains.com/issue/KT-54920) K2: `when` with a single branch stops being exhaustive the second time it's done
    - [`KT-53364`](https://youtrack.jetbrains.com/issue/KT-53364) False positive UNUSED_VARIABLE warning for variable that is used across multiple blocks
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. plugin/pkg/auth/authorizer/node/intset.go

    type intSet struct {
    	// members is a map of id to refcounts
    	members map[int]int
    }
    
    func newIntSet() *intSet {
    	return &intSet{members: map[int]int{}}
    }
    
    // has returns true if the specified id has a positive refcount.
    // it is safe to call concurrently, but must not be called concurrently with any of the other methods.
    func (s *intSet) has(i int) bool {
    	if s == nil {
    		return false
    	}
    	return s.members[i] > 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 10 18:24:13 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/fingerprinting.cc

    namespace tensorflow::saved_model::fingerprinting {
    
    namespace {
    
    using ::tensorflow::protobuf::Map;
    // NOLINTNEXTLINE: clang-tidy missing-includes false positive
    using ::tensorflow::protobuf::io::CodedOutputStream;
    // NOLINTNEXTLINE: clang-tidy missing-includes false positive
    using ::tensorflow::protobuf::io::StringOutputStream;
    
    // TODO(b/290063184): remove when USM is GA
    uint64_t HashCheckpointIndexFile(absl::string_view model_dir) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top