- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 513 for position (0.05 seconds)
-
guava/src/com/google/common/collect/FluentIterable.java
* Returns the element at the specified position in this fluent iterable. * * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (but note * that this throws different exception types, and throws an exception if {@code null} would be * returned). * * @param position position of the element to return * @return the element at the specified position in this fluent iterableCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
clientMap.put(Pattern.compile(regex), client); } /** * Adds a client with a regular expression pattern at a specific position. * @param regex The regular expression to match URLs. * @param client The CrawlerClient instance. * @param pos The position to add the client. */ public void addClient(final String regex, final CrawlerClient client, final int pos) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should write at different buffer positions") void testWriteAtDifferentPositions() { request.setReadLength(2048); request.setOffset(4096L); byte[] buffer = new byte[512]; // Test at position 0 int bytesWritten = request.writeBytesWireFormat(buffer, 0);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/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) -
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/io/ByteStreams.java
long oldPosition = sourceChannel.position(); long position = oldPosition; long copied; do { copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to); position += copied; sourceChannel.position(position); } while (copied > 0 || position < sourceChannel.size()); return position - oldPosition; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Preconditions.java
* Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or * string of size {@code size}, and are in order. A position index may range from zero to {@code * size}, inclusive. * * @param start a user-supplied index identifying a starting position in an array, list or string * @param end a user-supplied index identifying an ending position in an array, list or stringCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0)