- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for Negative (0.09 sec)
-
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, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
public abstract String symbol(); public static ScaleUnit getScaleUnit(long size) { if (size < 0L) { throw new IllegalArgumentException("file size cannot be negative: " + size); } if (size >= GIGABYTE.bytes()) { return GIGABYTE; } else if (size >= MEGABYTE.bytes()) { return MEGABYTE;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
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."); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.8K bytes - Viewed (0) -
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;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
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", ""},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
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:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2.1K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
// f(NewDummyDataGen(100, 0)) == f(NewDummyDataGen(50, 0)) + f(NewDummyDataGen(50, 50)) func NewDummyDataGen(totalLength, skipOffset int64) io.ReadSeeker { if totalLength < 0 { panic("Negative length passed to DummyDataGen!") } if skipOffset < 0 { panic("Negative rotations are not allowed") } skipOffset %= int64(len(alphabets)) const multiply = 100 as := bytes.Repeat(alphabets, multiply)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 4.7K bytes - Viewed (0) -
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;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
internal/dsync/locked_rand.go
"math/rand" "sync" ) // lockedRandSource provides protected rand source, implements rand.Source interface. type lockedRandSource struct { lk sync.Mutex src rand.Source } // Int63 returns a non-negative pseudo-random 63-bit integer as an int64. func (r *lockedRandSource) Int63() (n int64) { r.lk.Lock() n = r.src.Int63() r.lk.Unlock() return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 18 15:39:59 UTC 2021 - 1.3K bytes - Viewed (0)