Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 1,770 for equal (0.03 sec)

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

    import com.google.common.primitives.Booleans;
    import java.util.Comparator;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link ComparisonChain}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComparisonChainTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

    import java.util.Arrays;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Joiner}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class JoinerTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final String sessionId;
                if (searchLog.getUserSessionId() != null) {
                    sessionId = searchLog.getUserSessionId();
                } else if (Constants.SEARCH_LOG_ACCESS_TYPE_WEB.equals(searchLog.getAccessType())) {
                    sessionId = searchLog.getClientIp();
                } else {
                    sessionId = searchLog.getClientIp() + '_' + searchLog.getSearchWord();
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      }
    
      private void testLogicalKeyEquality(MapMakerInternalMap.Strength keyStrength) {
    
        ConcurrentMap<String, AtomicInteger> map =
            new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.equals()).makeMap();
    
        ConcurrentHashMultiset<String> multiset = ConcurrentHashMultiset.create(map);
    
        String s1 = new String("a");
        String s2 = new String("a");
        assertEquals(s1, s2); // Stating the obvious.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isSupported ( ASN1ObjectIdentifier mechanism ) {
            return NTLMSSP_OID.equals(mechanism);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
                if (!topProject.getVersion().equals(mavenProject.getVersion())) {
                    result = false;
                    break;
                }
            }
    
            return result;
        }
    
        private void logReactorSummary(MavenSession session) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    public Optional<Type> lookup(String id) {
                        return providers.stream()
                                .flatMap(p -> p.provides().stream())
                                .filter(t -> Objects.equals(id, t.id()))
                                .findAny();
                    }
                };
            }
    
            @Provides
            @SuppressWarnings("unused")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	}
    
    	// Extract everything between the space and the final newline.
    	rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:]
    	if nl != "\n" {
    		return "", "", s, ErrHeader
    	}
    
    	// The first equals separates the key from the value.
    	k, v, ok = strings.Cut(rec, "=")
    	if !ok {
    		return "", "", s, ErrHeader
    	}
    
    	if !validPAXRecord(k, v) {
    		return "", "", s, ErrHeader
    	}
    	return k, v, rem, nil
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Floats.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(
                Arrays.equals(
                    new float[] {(float) 1, (float) 0, (float) 0}, Floats.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Doubles.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(
                Arrays.equals(
                    new double[] {(double) 1, (double) 0, (double) 0},
                    Doubles.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top