Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Positive (0.34 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         */
        void writeLong(long value) throws IOException;
    
        /**
         * Writes a signed 64 bit long value whose value is likely to be small and positive but may not be. The implementation may encode the value in a way that is more efficient for small positive
         * values.
         */
        void writeSmallLong(long value) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionTest.groovy

        }
    
        def "can handle invalid value for command line option with concrete hint"() {
            when:
            Origin.forCommandLine(OPTION).handleInvalidValue(VALUE, HINT)
    
            then:
            Throwable t = thrown(CommandLineArgumentException)
            t.message == "Argument value '0' given for --option option is invalid (must be positive)"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/math/bits.go

    	uvneginf = 0xFFF0000000000000
    	uvone    = 0x3FF0000000000000
    	mask     = 0x7FF
    	shift    = 64 - 11 - 1
    	bias     = 1023
    	signMask = 1 << 63
    	fracMask = 1<<shift - 1
    )
    
    // Inf returns positive infinity if sign >= 0, negative infinity if sign < 0.
    func Inf(sign int) float64 {
    	var v uint64
    	if sign >= 0 {
    		v = uvinf
    	} else {
    		v = uvneginf
    	}
    	return Float64frombits(v)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. test/unsafebuiltins.go

    		assert(&s[0] == &p[0])
    		assert(len(s) == len(p))
    		assert(cap(s) == len(p))
    
    		// nil pointer with zero length returns nil
    		assert(unsafe.Slice((*int)(nil), 0) == nil)
    
    		// nil pointer with positive length panics
    		mustPanic(func() { _ = unsafe.Slice((*int)(nil), 1) })
    
    		// negative length
    		var neg int = -1
    		mustPanic(func() { _ = unsafe.Slice(new(byte), neg) })
    
    		// length too large
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 17:15:15 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_negative_p.txt

    ! go build -p=-1 example.go
    stderr 'go: -p must be a positive integer: -1'
    
    -- example.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 18 17:25:17 UTC 2021
    - 108 bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/DefaultHttpSettings.java

            int maxConnTotal,
            int maxConnPerRoute
        ) {
            Preconditions.checkArgument(maxRedirects >= 0, "maxRedirects must be positive");
            Preconditions.checkArgument(maxConnTotal > 0, "maxConnTotal must be positive");
            Preconditions.checkArgument(maxConnPerRoute > 0, "maxConnPerRoute must be positive");
            Preconditions.checkNotNull(authenticationSettings, "authenticationSettings");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup.go

    	stopCtx context.Context
    
    	mu sync.Mutex
    	// wait indicate whether Wait is called, if true,
    	// then any Add with positive delta will return error.
    	wait bool
    	// number of request(s) currently using the wait group
    	count int
    }
    
    // Add adds delta, which may be negative, similar to sync.WaitGroup.
    // If Add with a positive delta happens after Wait, it will return error,
    // which prevent unsafe Add.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
         * Gets the one-based index of the column containing the error.
         *
         * @return The one-based index of the column containing the error or non-positive value if unknown.
         */
        public int getColumnNumber() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
         * Gets the one-based index of the column containing the error.
         *
         * @return The one-based index of the column containing the error or non-positive value if unknown.
         */
        public int getColumnNumber() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

         *
         * @return The one-based index of the line containing the error or a non-positive value if unknown.
         */
        public int getLineNumber() {
            return lineNumber;
        }
    
        /**
         * Gets the one-based index of the column containing the error.
         *
         * @return The one-based index of the column containing the error or non-positive value if unknown.
         */
        public int getColumnNumber() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top