Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,685 for Equalf (0.17 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
          }
        }
        expectContents(expected);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                }
                return null;
            }
    
            @Override
            public boolean equals(Object o) {
                return this == o
                        || o.getClass() == getClass()
                                && Objects.equals(path, ((PomConsumerModelSource) o).path)
                                && Objects.equals(src, ((PomConsumerModelSource) o).src);
            }
    
            @Override
            public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

            return this.share.equalsIgnoreCase( share ) &&
                    ( service == null || service.startsWith( "??" ) ||
                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. tests/update_test.go

    	user.Age = 1
    	if err := DB.Save(user).Error; err != nil {
    		t.Errorf("errors happened when update: %v", err)
    	} else if user.Age != 1 {
    		t.Errorf("Age should equals to 1, but got %v", user.Age)
    	} else if user.Active != false {
    		t.Errorf("Active should equals to false, but got %v", user.Active)
    	}
    	checkUpdatedAtChanged("Save", user.UpdatedAt)
    	checkOtherData("Save")
    
    	var result4 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
            if (Constants.DIGEST.equals(scheme)) {
                return new DigestScheme();
            }
            if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new IssueManagement().equals(null));
    
            new IssueManagement().equals(new IssueManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            IssueManagement thing = new IssueManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
           * consistency with how weak references are cleared). That's a behavior change -- arguably the
           * removal of a feature.
           *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/IncidentEdgeSet.java

          if (!endpointPair.isOrdered()) {
            return false;
          }
    
          Object source = endpointPair.source();
          Object target = endpointPair.target();
          return (node.equals(source) && graph.successors(node).contains(target))
              || (node.equals(target) && graph.predecessors(node).contains(source));
        } else {
          if (endpointPair.isOrdered()) {
            return false;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        int minor;
    
        DcerpcBinding(String proto, String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(String key, Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
                    String iface = (String)INTERFACES.get(lep.substring(6));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
Back to top