Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,186 for iguals (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertFalse(multimap.containsKey("foo"));
        assertFalse(multimap.containsValue(1));
        assertFalse(multimap.containsEntry("foo", 1));
        assertTrue(multimap.entries().isEmpty());
        assertTrue(multimap.equals(ArrayListMultimap.create()));
        assertEquals(emptyList(), multimap.get("foo"));
        assertEquals(0, multimap.hashCode());
        assertTrue(multimap.isEmpty());
        assertEquals(HashMultiset.create(), multimap.keys());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
              .put(Equivalence.class, Equivalence.equals())
              .put(Ticker.class, Ticker.systemTicker())
              .put(Stopwatch.class, Stopwatch.createUnstarted())
              // io types
              .put(InputStream.class, new ByteArrayInputStream(new byte[0]))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static File getBuildDir(final String path) {
            assertArgumentNotEmpty("path", path);
    
            File dir = null;
            final URL url = getResource(path);
            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            return result;
        }
    
        private void validatePrerequisitesForNonMavenPluginProjects(List<MavenProject> projects) {
            for (MavenProject mavenProject : projects) {
                if (!"maven-plugin".equals(mavenProject.getPackaging())) {
                    Prerequisites prerequisites =
                            mavenProject.getModel().getDelegate().getPrerequisites();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        FreshValueGenerator generator = new FreshValueGenerator();
        String[] a1 = generator.generateFresh(String[].class);
        String[] a2 = generator.generateFresh(String[].class);
        assertFalse(a1[0].equals(a2[0]));
      }
    
      public void testPrimitiveArray() {
        FreshValueGenerator generator = new FreshValueGenerator();
        int[] a1 = generator.generateFresh(int[].class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    	// Compare two values in terms of in-ness.
    	var cmp func(a, b Value) bool
    	cmp = func(a, b Value) bool {
    		// Convert if needed.
    		inferTypesForCmp(&a, &b)
    
    		if a.Equals(b) {
    			return true
    		}
    
    		// If elements, compare each.
    		aA, aOK := a.ToArray()
    		bA, bOK := b.ToArray()
    		if aOK && bOK {
    			if len(aA) != len(bA) {
    				return false
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

            assertThat(graph.edgeValueOrDefault(node, otherNode, null) != null).isEqualTo(hasEdge);
            assertThat(!graph.edgeValueOrDefault(node, otherNode, DEFAULT).equals(DEFAULT))
                .isEqualTo(hasEdge);
          }
        }
      }
    
      @Test
      public void directedGraph() {
        graph = ValueGraphBuilder.directed().allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/HashCode.java

       * to protect against <a href="http://en.wikipedia.org/wiki/Timing_attack">timing attacks</a>.
       */
      @Override
      public final boolean equals(@CheckForNull Object object) {
        if (object instanceof HashCode) {
          HashCode that = (HashCode) object;
          return bits() == that.bits() && equalsSameBits(that);
        }
        return false;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Invokable}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class InvokableTest extends TestCase {
      // Historically Invokable inherited from java.lang.reflect.AccessibleObject. That's no longer the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (Method method : RateLimiter.class.getMethods()) {
          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top