Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,770 for equal (0.05 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)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/cnieventclient_test.go

    		data, err := io.ReadAll(req.Body)
    		assert.NoError(t, err)
    
    		var msg nodeagent.CNIPluginAddEvent
    		err = json.Unmarshal(data, &msg)
    		assert.NoError(t, err)
    		assert.Equal(t, msg.PodName, testPod)
    		assert.Equal(t, msg.PodNamespace, testNS)
    		assert.Equal(t, msg.Netns, fakeCmdArgs.Netns)
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <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 predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Network.java

       * same structural relationships as those in this network.
       *
       * <p>Thus, two networks A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>Every edge in A and B connects the same nodes in the same direction (if any).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * their caseless domain and username fields are equal and either both hashes are external and they are equal or
         * both internally supplied passwords are equal. If one <tt>NtlmPasswordAuthentication</tt> object has external
         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("expect len 16 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    	if rb.Free() != 48 {
    		t.Fatalf("expect free 48 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    	if !bytes.Equal(rb.Bytes(nil), []byte(strings.Repeat("abcd", 4))) {
    		t.Fatalf("expect 4 abcd but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    
    	// check empty or full
    	if rb.IsEmpty() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Range.java

     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
     *       equals} if at all possible. Otherwise, be aware that concepts used throughout this
     *       documentation such as "equal", "same", "unique" and so on actually refer to whether {@link
     *       Comparable#compareTo compareTo} returns zero, not whether {@link Object#equals equals}
     *       returns {@code true}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. 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
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top