Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for negative (4.84 sec)

  1. internal/bucket/lifecycle/rule_test.go

    		},
    		{ // Rule with negative values for ObjectSizeGreaterThan
    			inputXML: `<Rule>
    				<ID>negative-obj-size-greater-than</ID>
    				<Filter><ObjectSizeGreaterThan>-1</ObjectSizeGreaterThan></Filter>
    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/expr_test.go

    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    // This function may return negative numbers.
    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    	// complement encoded number in big-endian byte order.
    	if len(b) > 0 && b[0]&0x80 != 0 {
    		// Handling negative numbers relies on the following identity:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            if (min < 0) {
                throw new IllegalArgumentException("The min parameter cannot be negative.");
            }
            if (max < 0) {
                throw new IllegalArgumentException("The max parameter cannot be negative.");
            }
            if (max < min) {
                throw new IllegalArgumentException("The length cannot be negative.");
            }
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectPreconditions.java

        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonnegative(long value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
      @CanIgnoreReturnValue
      static long checkNonnegative(long value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
        }
        return value;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Jun 30 10:33:07 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/ToDoubleRounder.java

            case HALF_UP:
              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
                  : Double.NEGATIVE_INFINITY;
            case CEILING:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top