Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 558 for Positive (0.14 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.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