Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for instanceOf (0.21 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_RemovalListener() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
        final CountDownLatch startSignal = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        /**
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object other) {
            if (other instanceof Plugin) {
                Plugin otherPlugin = (Plugin) other;
                return getKey().equals(otherPlugin.getKey());
            }
            return false;
        }
    
        /**
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	# Start MinIO instance using the options
    	START_CMD="CI=on _MINIO_AUTO_DRIVE_HEALING=off minio server ${MINIO_OPTS} &"
    	echo
    	echo "Starting MinIO instance: ${START_CMD}"
    	echo
    	eval "$START_CMD"
    	MINIO_SRVR_PID="$!"
    	echo "MinIO Server PID: ${MINIO_SRVR_PID}"
    	echo
    	echo "Waiting for MinIO instance to get ready!"
    	sleep 10
    }
    
    main "$@"`, scheme)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * to {@code statusFuture} <i>in addition to</i> the call you make to {@link #finishToFuture()} or
       * a derivation method <i>on the same instance</i>. This is important because calling {@code
       * statusFuture} alone does not provide a way to close the pipeline.
       */
      public ListenableFuture<?> statusFuture() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

              "exemplar": true,
              "expr": "minio_bucket_replication_proxied_head_requests_failures{job=\"$scrape_jobs\"}",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{instance}}",
              "refId": "A"
            }
          ],
          "title": "Total Failed Proxied Head Requests",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 102K bytes
    - Viewed (1)
  10. doc/go1.17_spec.html

    For instance, this example:
    </p>
    
    <pre>
    	goto L  // BAD
    	v := 3
    L:
    </pre>
    
    <p>
    is erroneous because the jump to label <code>L</code> skips
    the creation of <code>v</code>.
    </p>
    
    <p>
    A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block.
    For instance, this example:
    </p>
    
    <pre>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top