Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,214 for _arrays (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Change file ID
            byte[] newFileId1 = new byte[16];
            Arrays.fill(newFileId1, (byte) 0xAA);
            request.setFileId(newFileId1);
    
            // Change flags
            request.setCloseFlags(0x0000);
    
            // Change file ID again
            byte[] newFileId2 = new byte[16];
            Arrays.fill(newFileId2, (byte) 0xBB);
            request.setFileId(newFileId2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * lies outside the stated safe range. Subclasses should override this method to provide
       * generalized escaping for characters.
       *
       * <p>Note that arrays returned by this method must not be modified once they have been returned.
       * However it is acceptable to return the same array multiple times (even for different input
       * characters).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        }
      }
    
      protected E[] createSamplesArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getSampleElements().toArray(array);
        return array;
      }
    
      protected E[] createOrderedArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getOrderedElements().toArray(array);
        return array;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
        ArrayItr(T[] array, int position) {
          super(array.length, position);
          this.array = array;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        if (toLessThanMid == midLessThanFrom) {
          // Either array[to] < array[mid] < array[from] or array[from] <= array[mid] <= array[to].
          swap(array, mid, from);
        } else if (toLessThanMid != toLessThanFrom) {
          // Either array[from] <= array[to] < array[mid] or array[mid] <= array[to] < array[from].
          swap(array, from, to);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("readUShort throws on too short array")
        void testReadUShortOutOfBounds() {
            byte[] a = new byte[] { 0x02 };
            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0));
        }
    
        @Test
        @DisplayName("readULong throws on too short array")
        void testReadULongOutOfBounds() {
            byte[] a = new byte[] { 0x01, 0x02, 0x03 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data));
      }
    
      private static byte[] fillByteArray(int size, int toFillWith) {
        byte[] array = new byte[size];
        Arrays.fill(array, (byte) toFillWith);
        return array;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            documentList.add(doc2);
    
            QueryResponseList qrList = new QueryResponseList(documentList, 0, 10, 0);
    
            Object[] array = qrList.toArray();
            assertEquals(2, array.length);
            assertEquals(doc1, array[0]);
            assertEquals(doc2, array[1]);
    
            @SuppressWarnings("unchecked")
            Map<String, Object>[] typedArray = qrList.toArray(new Map[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                return true;
            });
    
        }
    
        /**
         * Retrieves multiple documents by their document IDs.
         *
         * @param docIds Array of document IDs to retrieve
         * @param fields Array of field names to include in the results
         * @param userBean Optional user information for permission checking
         * @param searchRequestType Type of search request for role-based access control
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top