Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for Equal (0.62 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    	// send ack so the server doesn't wait for us.
    	sendAck(ztunClient)
    
    	// second message should be the snap sent message
    	m, fds = readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Function.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code Objects.equal(function.apply(a),
       *       function.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this function does not accept null
       *     arguments
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net_test.go

    	err := netServer.RemovePodFromMesh(ctx, pod)
    	assert.NoError(t, err)
    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

                numbers.
                """
            ),
        ] = None,
        ge: Annotated[
            Optional[float],
            Doc(
                """
                Greater than or equal. If set, value must be greater than or equal to
                this. Only applicable to numbers.
                """
            ),
        ] = None,
        lt: Annotated[
            Optional[float],
            Doc(
                """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns_test.go

    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    	if cred.Status == AccountOff {
    		return false
    	}
    	return IsAccessKeyValid(cred.AccessKey) && IsSecretKeyValid(cred.SecretKey) && !cred.IsExpired()
    }
    
    // Equal - returns whether two credentials are equal or not.
    func (cred Credentials) Equal(ccred Credentials) bool {
    	if !ccred.IsValid() {
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *
         * @throws IllegalArgumentException if any two keys are equal according to the comparator (which
         *     might be the keys' natural order)
         */
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable sorted map, or throws an exception if any two keys are
         * equal.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. tests/test_path.py

        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "greater_than_equal",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be greater than or equal to 3",
                        "input": "2",
                        "ctx": {"ge": 3.0},
                    }
                ]
            }
        ) | IsDict(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/2-unique.md

    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
Back to top