Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 383 for toArray (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

                }
                else {
                    break;
                }
            }
            while ( bufferIndex < bufferOffset + bufferLength );
            this.results = infos.toArray(new FileEntry[infos.size()]);
            return bufferIndex - start;
        }
    
    
        private FileBothDirectoryInfo createFileInfo () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/FacetInfo.java

                field = StreamUtil.split(fessConfig.getQueryFacetFields(), ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).distinct().toArray(n -> new String[n]));
            }
            if (StringUtil.isNotBlank(fessConfig.getQueryFacetFieldsSize())) {
                size = fessConfig.getQueryFacetFieldsSizeAsInteger();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        int expectedHashCode = 0;
        for (E element : elements) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
    
        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        entries.add(entryWithNull);
    
        int expectedHashCode = 0;
        for (Entry<K, V> entry : entries) {
          expectedHashCode += hash(entry);
        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            return delegate().toArray();
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] a) {
          synchronized (mutex) {
            return delegate().toArray(a);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            return delegate().toArray();
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] a) {
          synchronized (mutex) {
            return delegate().toArray(a);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dfs/Referral.java

                            names.add(en);
                            expandedNameOffset += en.length() * 2 + 2;
                        }
                        this.expandedNames = names.toArray(new String[names.size()]);
                    }
    
                }
            }
            else if ( this.version == 1 ) {
                this.node = readString(buffer, bufferIndex, len);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                while ( it.hasNext() ) {
                    try ( SmbResource n = it.next() ) {
                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n])));
                return entity;
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            final String targets = System.getProperty(TARGET_INDICES);
            if (StringUtil.isNotBlank(targets)) {
                targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]);
            }
        }
    
        public void setAddress(final String address) {
            this.address = address;
        }
    
        public void addOnConnectListener(final OnConnectListener listener) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top