Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 978 for present (0.05 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code short} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/primitives/Longs.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Longs.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K 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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top