Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 489 for compares (0.08 sec)

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

        @Override
        public String toString() {
          return rootLocaleFormat("%s%s(%s)", typeSignature, name, getTypesString(parameterTypes));
        }
    
        @Override
        public int compareTo(MethodSignature o) {
          return toString().compareTo(o.toString());
        }
      }
    
      private static final class TypeSignature {
        final List<TypeParameterSignature> parameterSignatures;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/archive/zip/example_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.24.md

    - github.com/google/uuid: [v1.1.2 → v1.3.0](https://github.com/google/uuid/compare/v1.1.2...v1.3.0)
    - github.com/kr/pretty: [v0.2.1 → v0.3.0](https://github.com/kr/pretty/compare/v0.2.1...v0.3.0)
    - github.com/rogpeppe/go-internal: [v1.3.0 → v1.6.1](https://github.com/rogpeppe/go-internal/compare/v1.3.0...v1.6.1)
    - github.com/vmware/govmomi: [v0.20.3 → v0.30.0](https://github.com/vmware/govmomi/compare/v0.20.3...v0.30.0)
    
    ### Removed
    _Nothing has changed._
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.available();
        }
    
        /**
         * Indicates whether some other object is equal to this one.
         *
         * @param obj the reference object with which to compare
         * @return true if this object is the same as the obj argument; false otherwise
         */
        @Override
        public boolean equals(final Object obj) {
            return inputStream.equals(obj);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

                    if (range.hasRestrictions()) {
                        return range.containsVersion(version);
                    } else {
                        return range.getRecommendedVersion().compareTo(version) == 0;
                    }
                } catch (InvalidVersionSpecificationException ex) {
                    return false;
                }
            }
    
            @Override
            public String toString() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
            assertThat(aUnsigned.compareTo(bUnsigned))
                .isEqualTo(aUnsigned.bigIntegerValue().compareTo(bUnsigned.bigIntegerValue()));
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // too slow
      public void testEquals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
        if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
          // Range would reject our attempt to create (x, x).
          return new EmptyContiguousSet<>(domain);
        }
        return intersectionInCurrentDomain(
            Range.range(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        @Override
        public boolean isSnapshot() {
            return artifact.isSnapshot();
        }
    
        /** {@inheritDoc} */
        @Override
        public int compareTo(Artifact a) {
            return artifact.compareTo(a);
        }
    
        /** {@inheritDoc} */
        @Override
        public void setResolved(boolean resolved) {
            artifact.setResolved(resolved);
        }
    
        /** {@inheritDoc} */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

       */
      public abstract long distance(C start, C end);
    
      /**
       * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
       * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any
       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
      /**
       * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on
       * {@link #listenersField}.
       */
      final boolean casListeners(@Nullable Listener expect, Listener update) {
        return ATOMIC_HELPER.casListeners(this, expect, update);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top