Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 246 for Position (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should write at different buffer positions")
            void testWriteAtDifferentPositions() {
                byte[] buffer = new byte[512];
    
                // Test at position 0
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
                assertEquals(48, bytesWritten);
                assertEquals(48, SMBUtil.readInt2(buffer, 0));
    
                // Test at position 100
                Arrays.fill(buffer, (byte) 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

          position++;
          return c;
        }
    
        @CanIgnoreReturnValue
        char consumeCharacter(char c) {
          checkState(hasMore());
          checkState(previewChar() == c);
          position++;
          return c;
        }
    
        char previewChar() {
          checkState(hasMore());
          return input.charAt(position);
        }
    
        boolean hasMore() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. 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 == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  4. android/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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/adminlte.min.js

    )}))},t._getContainerId=function(){return this._config.position==xt?"#toastsContainerTopRight":this._config.position==It?"#toastsContainerTopLeft":this._config.position==Tt?"#toastsContainerBottomRight":this._config.position==St?"#toastsContainerBottomLeft":void 0},t._prepareContainer=function(){if(0===n.default(this._getContainerId()).length){var e=n.default("<div />").attr("id",this._getContainerId().replace("#",""));this._config.position==xt?e.addClass("toasts-top-right"):this._config.positio...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. 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 column
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
Back to top