Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 640 for tozero (0.22 sec)

  1. schema/utils.go

    				continue
    			}
    			loaded[elemKey] = true
    
    			fieldValues := make([]interface{}, len(fields))
    			notZero = false
    			for idx, field := range fields {
    				fieldValues[idx], zero = field.ValueOf(ctx, elem)
    				notZero = notZero || !zero
    			}
    
    			if notZero {
    				dataKey := utils.ToStringKey(fieldValues...)
    				if _, ok := dataResults[dataKey]; !ok {
    					results = append(results, fieldValues)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testZeroDivIsAlwaysZero() {
        for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertEquals(ZERO, BigIntegerMath.divide(ZERO, q, mode));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testDivByZeroAlwaysFails() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testZeroDivIsAlwaysZero() {
        for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertEquals(ZERO, BigIntegerMath.divide(ZERO, q, mode));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testDivByZeroAlwaysFails() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/transition.go

    	}
    
    	*tDate = TransitionDate{trnDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (tDate TransitionDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if tDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(tDate.Format(time.RFC3339), startElement)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ComparisonChain.java

     *       .result();
     * }
     * }</pre>
     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathTesting.java

        NEGATIVE_BIGINTEGER_CANDIDATES =
            Iterables.transform(POSITIVE_BIGINTEGER_CANDIDATES, NEGATE_BIGINT);
        NONZERO_BIGINTEGER_CANDIDATES =
            Iterables.concat(POSITIVE_BIGINTEGER_CANDIDATES, NEGATIVE_BIGINTEGER_CANDIDATES);
        ALL_BIGINTEGER_CANDIDATES =
            Iterables.concat(NONZERO_BIGINTEGER_CANDIDATES, ImmutableList.of(ZERO));
      }
    
      static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/MathTesting.java

        NEGATIVE_BIGINTEGER_CANDIDATES =
            Iterables.transform(POSITIVE_BIGINTEGER_CANDIDATES, NEGATE_BIGINT);
        NONZERO_BIGINTEGER_CANDIDATES =
            Iterables.concat(POSITIVE_BIGINTEGER_CANDIDATES, NEGATIVE_BIGINTEGER_CANDIDATES);
        ALL_BIGINTEGER_CANDIDATES =
            Iterables.concat(NONZERO_BIGINTEGER_CANDIDATES, ImmutableList.of(ZERO));
      }
    
      static final ImmutableSet<Double> INTEGRAL_DOUBLE_CANDIDATES;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ComparisonChain.java

     *       .result();
     * }
     * }</pre>
     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    			case !rule.Expiration.IsDateNull():
    				if now.IsZero() || now.After(rule.Expiration.Date.Time) {
    					events = append(events, Event{
    						Action: DeleteAction,
    						RuleID: rule.ID,
    						Due:    rule.Expiration.Date.Time,
    					})
    				}
    			case !rule.Expiration.IsDaysNull():
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration.go

    	}
    
    	*eDate = ExpirationDate{expDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (eDate ExpirationDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(eDate.Format(time.RFC3339), startElement)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
Back to top