Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 355 for negate (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    fun String.toLongOrDefault(defaultValue: Long): Long {
      return try {
        toLong()
      } catch (_: NumberFormatException) {
        defaultValue
      }
    }
    
    /**
     * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too
     * large, or [defaultValue] if it cannot be parsed.
     */
    internal fun String?.toNonNegativeInt(defaultValue: Int): Int {
      try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/main/resources/CLMessages.properties

    ECL0010=argument[{0}] is null or empty string.
    ECL0011=argument[{0}] is null or empty array.
    ECL0012=argument[{0}] is null or empty collection.
    ECL0013=argument[{0}] is null or empty map.
    ECL0014=argument[{0}] which is null the index of array is negative integer.
    ECL0015=argument[{0}] which is null the index of array exceed the size of array[{1}].
    ECL0016=key[{0}] is not included in this BeanMap : {1}.
    ECL0017=Exception occurred, because {0}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/DoubleUtils.java

         * Double.POSITIVE_INFINITY.
         */
        bits |= x.signum() & SIGN_MASK;
        return longBitsToDouble(bits);
      }
    
      /** Returns its argument if it is non-negative, zero if it is negative. */
      static double ensureNonNegative(double value) {
        checkArgument(!isNaN(value));
        return max(value, 0.0);
      }
    
      @VisibleForTesting static final long ONE_BITS = 0x3ff0000000000000L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.29.md

    - Added `UserNamespacesPodSecurityStandards` feature gate to enable user namespace support for Pod Security Standards.
      Enabling this feature will modify all Pod Security Standard rules to allow setting: `spec[.*].securityContext.[runAsNonRoot,runAsUser]`.
      This feature gate should only be enabled if all nodes in the cluster support the user namespace feature and have it enabled.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initCollectionWithNullElement();
        try {
          assertSetCount(null, 1);
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      // Negative count.
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSetCount_negative_removeSupported() {
        assertThrows(IllegalArgumentException.class, () -> setCountNoCheckReturnValue(e3(), -1));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            that it's for a use case that actually comes up in the real world. We want to hear the
            real-world use case so the community can discuss and debate whether this feature is actually
            the *best* way to address the real use case, or whether or not a different approach might be
            more appropriate.
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MultiReader.java

          advance();
          return read(cbuf, off, len);
        }
        return result;
      }
    
      @Override
      public long skip(long n) throws IOException {
        Preconditions.checkArgument(n >= 0, "n is negative");
        if (n > 0) {
          while (current != null) {
            long result = current.skip(n);
            if (result > 0) {
              return result;
            }
            advance();
          }
        }
        return 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. tests/update_test.go

    	// Update a single field of the user and verify that the changed address is not stored.
    	newAge := uint(100)
    	user.Account.Number = "new_account_number"
    	db := DB.Model(&user).UpdateColumns(User{Age: newAge})
    
    	if db.RowsAffected != 1 {
    		t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected)
    	}
    
    	// Verify that Age now=`newAge`.
    	result := &User{}
    	result.ID = user.ID
    	DB.Preload("Account").First(result)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
     * Static utility methods pertaining to {@code int} primitives that interpret values as
     * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code
     * 2^32 + x}). The methods for which signedness is not an issue are in {@link Ints}, as well as
     * signed versions of methods for which signedness is an issue.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top