Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,279 for array1 (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    import java.util.Arrays;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }
            try {
                suggester.settings().array().delete(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS);
                split(fessConfig.getSuggestFieldIndexContents(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(field -> {
                    try {
                        suggester.settings().array().add(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS, field);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.DataOutput;
    import java.io.IOException;
    
    /**
     * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * Creates an {@code ImmutableMapEntry} array to hold parameterized entries. The result must never
       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
       * <p>The returned array has all its elements set to their initial null values. However, we don't
       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

          this.array = new Object[mask + 1];
          for (int i = 0; i < array.length; i++) {
            array[i] = supplier.get();
          }
        }
    
        @SuppressWarnings("unchecked") // we only put L's in the array
        @Override
        public L getAt(int index) {
          return (L) array[index];
        }
    
        @Override
        public int size() {
          return array.length;
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicates.java

        // TODO(kevinb): understand why we still get a warning despite @SafeVarargs!
        return Arrays.<Predicate<? super T>>asList(first, second);
      }
    
      private static <T> List<T> defensiveCopy(T... array) {
        return defensiveCopy(Arrays.asList(array));
      }
    
      static <T> List<T> defensiveCopy(Iterable<T> iterable) {
        ArrayList<T> list = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/BufferCacheTest.java

            assertNotNull(buffer, "getBuffer should never return null");
            assertSame(expectedBuffer, buffer, "Should return configured buffer");
        }
    
        @Test
        @DisplayName("releaseBuffer should accept byte arrays gracefully")
        void testReleaseBufferContract() {
            // Given
            byte[] buffer = new byte[1024];
            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top