Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 925 for asArray (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/JvmUtil.java

         * Options can be prefixed with version numbers to specify compatibility.
         * Format: "version:option" or "version-:option" (for version and above).
         *
         * @param values the array of JVM options to filter
         * @return the filtered array of JVM options applicable to the current Java version
         */
        public static String[] filterJvmOptions(final String[] values) {
            final int version = getJavaVersion();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
       * @return the value of {@code index}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere.
            V value = (V) elements[i];
            array[i] = mapEntry(k, value);
          }
          return multimapGenerator.create((Object[]) array).get(k);
        }
      }
    
      static class MultimapAsMapGetGenerator<K, V, M extends Multimap<K, V>>
          extends MultimapGetGenerator<K, V, M> {
    
        public MultimapAsMapGetGenerator(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrException.java

         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
        /**
         * Error message for invalid array conformance.
         */
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        /**
         * Constructs an NdrException with the specified error message.
         *
         * @param msg the error message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
  6. 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)
  7. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test that modifying the original array affects the field (reference test)
         */
        @Test
        @DisplayName("Test byte array reference behavior")
        public void testByteArrayReference() {
            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
            assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteArrayDataInput.java

     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
     * of the supertype's contract, which specifies a checked exception.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

         */
        ArtifactResolverResult resolve(ArtifactResolverRequest request);
    
        /**
         * Resolves several artifacts from their coordinates.
         *
         * @param session {@link Session}
         * @param coordinates array of {@link ArtifactCoordinates}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top