- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 454 for positive (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
request.setOffset(4096L); byte[] buffer = new byte[512]; // Test at position 0 int bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(49, bytesWritten); assertEquals(2048, SMBUtil.readInt4(buffer, 4)); // Test at position 100 Arrays.fill(buffer, (byte) 0); bytesWritten = request.writeBytesWireFormat(buffer, 100);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
return Stream.of(Arguments.of(0, 0L, 0L, 0L, 0L), // all zeros Arguments.of(1, 1L, 1L, 1L, 1L), // ones Arguments.of(123, 456L, 789L, 101112L, 131415L), // arbitrary positives Arguments.of(Integer.MAX_VALUE, Long.MAX_VALUE, Long.MIN_VALUE, 999_999_999_999L, -1L), // extremes Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values ); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
// Validate sufficient buffer space for context header if (ncpos + 8 > buffer.length) { throw new SMBProtocolDecodingException("Buffer too small for negotiate context header at position " + i); } final int type = SMBUtil.readInt2(buffer, ncpos); final int dataLen = SMBUtil.readInt2(buffer, ncpos + 2); // Validate context data lengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
factory.addClient(regex, client); } /** * Adds a client to the wrapped factory at a specific position. * @param regex The regular expression for the client. * @param client The CrawlerClient instance. * @param pos The position to add the client. */ @Override public void addClient(final String regex, final CrawlerClient client, final int pos) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 5.2K bytes - Click Count (10) -
src/main/java/jcifs/pac/PacDataInputStream.java
} /** * Aligns the stream position to the specified boundary. * @param mask the alignment mask (typically 2, 4, or 8) * @throws IOException if an I/O error occurs */ public void align(final int mask) throws IOException { final int position = this.size - this.dis.available(); final int shift = position & mask - 1; if (mask != 0 && shift != 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position") void testWriteInt2WithOffset() { byte[] dst = new byte[10]; dst[2] = (byte) 0xFF; // Mark position dst[3] = (byte) 0xFF; SessionServicePacket.writeInt2(0xABCD, dst, 4); assertEquals((byte) 0xFF, dst[2]); // Should be unchanged
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
return checkPositionIndex(index, size, "index"); } /** * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of * size {@code size}. A position index may range from zero to {@code size}, inclusive. * * @param index a user-supplied index identifying a position in an array, list or string * @param size the size of that array, list or string
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
cmd/erasure-sets.go
}) if err != nil { return nil, nil, err } return disk, format, nil } // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference // format, after successful validation. // - i'th position is the set index // - j'th position is the disk index in the current set func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) { if diskID == "" {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/ArrayTable.java
* returned by {@code get(rowKeyList().get(rowIndex), columnKeyList().get(columnIndex))}, but this * method runs more quickly. * * @param rowIndex position of the row key in {@link #rowKeyList()} * @param columnIndex position of the row key in {@link #columnKeyList()} * @return the value with the specified row and columnCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0)