Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 604 for presence (0.11 sec)

  1. guava/src/com/google/common/collect/AbstractBiMap.java

        if (containedKey && Objects.equal(value, get(key))) {
          return value;
        }
        if (force) {
          inverse().remove(value);
        } else {
          checkArgument(!containsValue(value), "value already present: %s", value);
        }
        V oldValue = delegate.put(key, value);
        updateInverseMap(key, containedKey, oldValue, value);
        return oldValue;
      }
    
      private void updateInverseMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       */
      object HalfCloseAfterRequest : SocketPolicy
    
      /** Close connection after reading half of the request body (if present). */
      object DisconnectDuringRequestBody : SocketPolicy
    
      /** Close connection after writing half of the response body (if present). */
      object DisconnectDuringResponseBody : SocketPolicy
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

        expectAdded(entry(null, v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testMergePresent() {
        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list_test.go

    				},
    			},
    			expected: true,
    		},
    		{
    			name: "Only label present and enabled",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: nil,
    					Labels: map[string]string{
    						label.SidecarInject.Name: "true",
    					},
    				},
    			},
    			expected: false,
    		},
    		{
    			name: "Only label present and disabled",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

        expectAdded(entry(null, v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testMergePresent() {
        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/ValueGraph.java

       * endpoints are unordered and the graph is directed; it simply returns {@code false}. This is for
       * consistency with the behavior of {@link Collection#contains(Object)} (which does not generally
       * throw if the object cannot be present in the collection), and the desire to have this method's
       * behavior be compatible with {@code edges().contains(endpoints)}.
       *
       * @since 27.1
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapContainsValueTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("containsValue(present) should return true", getMap().containsValue(v0()));
      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional or mandatory.
         * Contrarily to {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
         * The value is computed during the dependencies collection phase.
         *
         * @return {@code true} if the dependency is optional, or {@code false} if mandatory
         * @see DependencyCoordinates#getOptional()
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // `verbs` is a list of matching verbs and may not be empty.
      // "*" matches all verbs and, if present, must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `apiGroups` is a list of matching API groups and may not be empty.
      // "*" matches all API groups and, if present, must be the only entry.
      // +listType=set
      // Required.
      repeated string apiGroups = 2;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // `verbs` is a list of matching verbs and may not be empty.
      // "*" matches all verbs and, if present, must be the only entry.
      // +listType=set
      // Required.
      repeated string verbs = 1;
    
      // `apiGroups` is a list of matching API groups and may not be empty.
      // "*" matches all API groups and, if present, must be the only entry.
      // +listType=set
      // Required.
      repeated string apiGroups = 2;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top