Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,425 for equalTo (0.07 sec)

  1. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        Set<E> delegate() {
          return (Set<E>) super.delegate();
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return delegate().equals(o);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
            return delegate().hashCode();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

        @Override
        Set<E> delegate() {
          return (Set<E>) super.delegate();
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return delegate().equals(o);
          }
        }
    
        @Override
        public int hashCode() {
          synchronized (mutex) {
            return delegate().hashCode();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return sb.toString();
            }
    
            @Override
            public boolean equals(final Object other) {
                if (other == null || !(other instanceof MyToken)) {
                    return false;
                }
                final MyToken o = (MyToken) other;
                if (!word.equals(o.word)) {
                    return false;
                }
                if (startOffset != o.startOffset) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                            "msg": "Input should be less than or equal to 100",
                            "input": "150",
                            "ctx": {"le": 100},
                        },
                        {
                            "type": "greater_than_equal",
                            "loc": ["query", "offset"],
                            "msg": "Input should be greater than or equal to 0",
                            "input": "-1",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#equals(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Network)) {
          return false;
        }
        Network<?, ?> other = (Network<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeIncidentNodesMap(this).equals(edgeIncidentNodesMap(other));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Network)) {
          return false;
        }
        Network<?, ?> other = (Network<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeIncidentNodesMap(this).equals(edgeIncidentNodesMap(other));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName.toLowerCase(Locale.ENGLISH);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

            "Payload size must be less than or equal to 125",
          )
        }
      }
    
      @Test fun pongTooLongThrows() {
        assertFailsWith<IllegalArgumentException> {
          serverWriter.writePong((binaryData(1000)))
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Payload size must be less than or equal to 125",
          )
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    		for i := 0; i < b.N; i++ {
    			eq := Equal(buf1, buf2)
    			if !eq {
    				b.Fatal("bad equal")
    			}
    		}
    	})
    
    	sizes := []int{1, 6, 9, 15, 16, 20, 32, 4 << 10, 4 << 20, 64 << 20}
    
    	b.Run("same", func(b *testing.B) {
    		benchBytes(b, sizes, bmEqual(func(a, b []byte) bool { return Equal(a, a) }))
    	})
    
    	benchBytes(b, sizes, bmEqual(Equal))
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top