Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 722 for Iterator (0.06 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            .body("c")
            .build(),
        )
        val urlC = server.url("/c")
        assertThat(get(urlC).body.string()).isEqualTo("c")
    
        // Confirm the iterator returns those responses...
        val i: Iterator<String> = cache.urls()
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlA.toString())
        assertThat(i.hasNext()).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        class EntrySet extends ImmutableMapEntrySet<K, V> {
          @Override
          public UnmodifiableIterator<Entry<K, V>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            // properties will be computed through the RootLocator found in the container.
            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ValueGraphTest.java

                  new Callable<@Nullable Void>() {
                    @Override
                    public @Nullable Void call() throws Exception {
                      barrier.await();
                      Integer first = graph.nodes().iterator().next();
                      for (Integer node : graph.nodes()) {
                        Set<Integer> unused = graph.successors(node);
                      }
                      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/once"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            assertEquals("1.0", artifact.getVersion(), "collect has modified version in originating artifact");
    
            Artifact resolvedArtifact = result.getArtifacts().iterator().next();
    
            assertEquals("1.0", resolvedArtifact.getVersion(), "Resolved version don't match original artifact version");
        }
    
        @Test
        void testResolveCompileScopeOverTestScope()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

      @J2ktIncompatible
      @GwtIncompatible // invokeAccessibleNonThrowingMethod
      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                if (last instanceof SmbException == false)
                    throw new SmbException(url.toString(), last);
                throw (SmbException)last;
            }
    
            Iterator iter = map.keySet().iterator();
            while (iter.hasNext()) {
                e = (FileEntry)iter.next();
                String name = e.getName();
                if (fnf != null && fnf.accept(this, name) == false)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/color"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top