Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 280 for Position (0.23 sec)

  1. guava/src/com/google/common/base/Java8Compatibility.java

        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      private Java8Compatibility() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Java8Compatibility.java

        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Path string at offset 22 (relative to start of referral at position 0)
            bb.position(22);
            String path = "\\\\server\\share";
            bb.put(path.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Alt path string at offset 54
            bb.position(54);
            String altPath = "\\\\alt\\path";
            bb.put(altPath.getBytes(StandardCharsets.UTF_16LE));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            if (position == 0) {
                setPosition(1);
            }
            return (child == null) ? null : new Xpp3DomNodePointer(parent, child);
        }
    
        @Override
        public int getPosition() {
            return position;
        }
    
        @Override
        public boolean setPosition(int position) {
            this.position = position;
            filterChildren(position);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *            The method. Cannot be {@literal null}
         * @param position
         *            The position of the parameterized collection in the method's argument list
         * @return The element type of the parameterized collection
         */
        public static Class<?> getElementTypeOfCollectionFromParameterType(final Method method, final int position) {
            assertArgumentNotNull("method", method);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Java8Compatibility.java

        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      private Java8Compatibility() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify max parameter count (4 bytes at position 11)
            assertEquals(1024, SMBUtil.readInt4(dst, 11));
    
            // Verify max data count (4 bytes at position 15)
            assertEquals(2048, SMBUtil.readInt4(dst, 15));
    
            // Verify parameter count (4 bytes at position 19)
            assertEquals(50, SMBUtil.readInt4(dst, 19));
    
            // Verify parameter offset (4 bytes at position 23)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                int bytesWritten = chunk.encode(largeBuffer, position);
    
                // Then
                assertEquals(EXPECTED_SIZE, bytesWritten);
                assertEquals(sourceOffset, SMBUtil.readInt8(largeBuffer, position));
                assertEquals(targetOffset, SMBUtil.readInt8(largeBuffer, position + 8));
                assertEquals(length, SMBUtil.readInt4(largeBuffer, position + 16));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatDifferentBufferPositions() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[1024];
    
            // Test at different positions in the buffer
            int[] positions = { 0, 10, 100, 500 };
    
            for (int position : positions) {
                // Set structure size to 2 at the given position
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @param buffer
         *            The byte buffer. Must not be {@literal null}.
         * @param position
         *            The position to start reading from.
         * @return The number of bytes read.
         */
        public static int read(final FileChannel channel, final ByteBuffer buffer, final long position) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("buffer", buffer);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top