Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 529 for Iterators (0.07 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
        return new Iterable<T>() {
          @Override
          public Iterator<T> iterator() {
            return collection.iterator();
          }
        };
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableDoubleArray.of())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                }
            }
            return new String(buf);
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
         * @author koichik
         */
        protected static class DateFormatIterator implements Iterator<DateFormat> {
    
            /** Locale */
            protected final Locale locale;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                }
            }
            return new String(buf);
        }
    
        /**
         * An {@link Iterator} that iterates over {@link DateFormat} instances corresponding to the styles supported by the locale.
         *
         * @author koichik
         */
        protected static class DateFormatIterator implements Iterator<DateFormat> {
    
            /** Locale */
            protected final Locale locale;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

        @Override
        public String getUserDomain() {
            if (this.realm == null && this.getSubject() != null) {
                Set<Principal> pr = this.getSubject().getPrincipals();
                for (Iterator<Principal> ite = pr.iterator(); ite.hasNext();) {
                    try {
                        KerberosPrincipal entry = (KerberosPrincipal) ite.next();
                        return entry.getRealm();
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                String key = "\\" + domain + "\\" + root;
                if (!path.equals("\\")) {
                    key += path;
                }
                key = key.toLowerCase();
    
                final Iterator iter = referrals.map.keySet().iterator();
                while (iter.hasNext()) {
                    final String _key = (String) iter.next();
                    final int _klen = _key.length();
                    boolean match = false;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

       * close the open underlying stream.
       *
       * <p>Note: The input {@code Iterator} will be copied to an {@code ImmutableList} when this method
       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. cmd/warm-backend-gcs.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    
    	"cloud.google.com/go/storage"
    	"github.com/minio/madmin-go/v3"
    	"google.golang.org/api/googleapi"
    	"google.golang.org/api/iterator"
    	"google.golang.org/api/option"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    type warmBackendGCS struct {
    	client       *storage.Client
    	Bucket       string
    	Prefix       string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
     * multiple operators. Note that although the underlying [FileChannel] may be shared,
     * each [FileOperator] should not be.
     */
    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

                return parent.isEmpty();
            }
    
            public boolean contains(final Object o) {
                return parent.contains(o);
            }
    
            public Iterator<E> iterator() {
                return parent.iterator();
            }
    
            public Object[] toArray() {
                return parent.toArray();
            }
    
            public <T> T[] toArray(final T[] a) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

     * a single section.
     */
    internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> {
      val result = mutableListOf<Mapping>()
    
      val i = mappings.iterator()
      var current = i.next()
    
      while (true) {
        if (current.spansSections) {
          result +=
            Mapping(
              current.sourceCodePoint0,
              current.section + 0x7f,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top