Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,608 for arrays (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

    import static com.google.common.collect.testing.testers.CollectionSpliteratorTester.getSpliteratorNotImmutableCollectionAllowsRemoveMethod;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
        return collection.toArray(array);
      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
       * @return a newly-allocated array into which all the elements of the iterable have been copied
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

            long affinityKey = 0;
            
            if (message instanceof Smb2ReadRequest) {
                affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId());
            } else if (message instanceof Smb2WriteRequest) {
                affinityKey = Arrays.hashCode(((Smb2WriteRequest)message).getFileId());
            }
            
            if (affinityKey != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver;
    
    import javax.inject.Inject;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Arrange a minimal response with given retval
            doAnswer(inv -> {
                jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = inv.getArgument(0);
                rpc.retval = ret;
                // Provide empty arrays to satisfy code paths
                rpc.names = new lsarpc.LsarTransNameArray();
                rpc.names.count = sids.length;
                rpc.names.names = new lsarpc.LsarTranslatedName[sids.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

        }
    
        /**
         * Validates array is not null and has expected length
         *
         * @param array the array to validate
         * @param expectedLength the expected length
         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if array is invalid
         */
        public static void validateArrayLength(byte[] array, int expectedLength, String fieldName) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            void shouldHaveAllRequiredMethodNames() {
                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                java.util.Set<String> methodNames =
                        java.util.Arrays.stream(methods).map(java.lang.reflect.Method::getName).collect(java.util.stream.Collectors.toSet());
    
                assertTrue(methodNames.contains("close"), "Should contain close method");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       *     FIRST_LETTER_MULTIMAP.putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('p', 'p', 'l', 'e'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'));
       * }
       * }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
Back to top