- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 232 for negate (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 6.5K bytes - Click Count (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."); } }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
} /** * Test validation of negative buffer sizes. */ @Test public void testNegativeBufferSizes() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Test negative maxReadSize SMBUtil.writeInt4(1024 * 1024, buffer, 28); // 1MB transact - valid SMBUtil.writeInt4(-1, buffer, 32); // Negative read sizeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
} @Test void testConstructor_negativeValue() { // Test with a negative value, expecting it to be masked to a positive byte NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255 assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test void testConstructor_overflowValue() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/s3select/sql/parser.go
type OpUnaryTerm struct { Op string `parser:"@(\"*\" | \"/\" | \"%\")"` Right *UnaryTerm `parser:"@@"` } // UnaryTerm represents a single negated term or a primary term type UnaryTerm struct { Negated *NegatedTerm `parser:" @@"` Primary *PrimaryTerm `parser:"| @@"` } // NegatedTerm has a leading minus sign. type NegatedTerm struct { Term *PrimaryTerm `parser:"\"-\" @@"` }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
} @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter words assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbConnectionTest.java
assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative"); int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory"); assertTrue(treeConnectCheck >= 0, "TreeConnectAndX.CheckDirectory batch limit should be non-negative"); int treeConnectCreate = config.getBatchLimit("TreeConnectAndX.CreateDirectory");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/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;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
smbInfoAllocation.decode(buffer, 0, buffer.length); // The implementation reads values as signed integers and stores them as long // Negative values remain negative when stored in long fields // The calculations will result in negative values long expectedCapacity = (long) alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0)