Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 414 for position (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 iterable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  2. 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)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 3); // rflags
                // v1 node string follows
                bb.put("\\server1\0".getBytes(StandardCharsets.UTF_16LE));
    
                // Position for second referral
                bb.position(28); // 8 header + 20 first referral
    
                // Second Referral v1
                bb.putShort((short) 1); // version
                bb.putShort((short) 22); // size
    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)
  4. 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)
  5. 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 length
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

         */
        private void ensureCapacity(int needed) {
          if (buffer.remaining() >= needed) {
            return;
          }
    
          int currentCapacity = buffer.capacity();
          int requiredCapacity = buffer.position() + needed;
          int newCapacity = Math.max(currentCapacity * 2, requiredCapacity);
    
          ByteBuffer newBuffer = ByteBuffer.allocate(newCapacity).order(ByteOrder.LITTLE_ENDIAN);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 04 15:39:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top