Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 982 for Prevent (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapGetTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testGet_yes() {
        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

            this.allHandlers = new ConcurrentHashMap<>();
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent) {
                ExecutionEvent executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Network.java

       * @since 27.1
       */
      Set<E> edgesConnecting(EndpointPair<N> endpoints);
    
      /**
       * Returns the single edge that directly connects {@code nodeU} to {@code nodeV}, if one is
       * present, or {@code Optional.empty()} if no such edge exists.
       *
       * <p>In an undirected network, this is equal to {@code edgeConnecting(nodeV, nodeU)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliRequest.request.setRepositoryCache(new DefaultRepositoryCache());
            }
    
            eventSpyDispatcher.onEvent(request);
    
            MavenExecutionResult result = maven.execute(request);
    
            eventSpyDispatcher.onEvent(result);
    
            eventSpyDispatcher.close();
    
            if (result.hasExceptions()) {
                ExceptionHandler handler = new DefaultExceptionHandler();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. .github/workflows/arm-ci.yml

    permissions:
      contents: read
    
    jobs:
      build:
        # Don't do this in forks, and if labeled, only for 'kokoro:force-run'
        if: github.repository == 'tensorflow/tensorflow' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'kokoro:force-run'))
        runs-on: [self-hosted, linux, ARM64]
        strategy:
          matrix:
            pyver: ['3.10']
        steps:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      /** Returns the authentication scheme, like `Basic`. */
      @get:JvmName("scheme") val scheme: String,
      authParams: Map<String?, String>,
    ) {
      /**
       * Returns the auth params, including [realm] and [charset] if present, but as
       * strings. The map's keys are lowercase and should be treated case-insensitively.
       */
      @get:JvmName("authParams")
      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/and.go

    			return err
    		}
    	}
    
    	if a.ObjectSizeGreaterThan < 0 || a.ObjectSizeLessThan < 0 {
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // ContainsDuplicateTag - returns true if duplicate keys are present in And
    func (a And) ContainsDuplicateTag() bool {
    	x := make(map[string]struct{}, len(a.Tags))
    
    	for _, t := range a.Tags {
    		if _, has := x[t.Key]; has {
    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractNetwork.java

            + nodes()
            + ", edges: "
            + edgeIncidentNodesMap(this);
      }
    
      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
        return InvalidatableSet.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractNetwork.java

            + nodes()
            + ", edges: "
            + edgeIncidentNodesMap(this);
      }
    
      /**
       * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
       * not present in this network.
       *
       * @since 33.1.0
       */
      protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
        return InvalidatableSet.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top