Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 566 for compare (0.1 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

                @Override
                public int compare(K o1, K o2) {
                  return ((Comparable) o1).compareTo(o2);
                }
              };
        }
        Iterator<Entry<K, V>> entryItr = navigableMap.entrySet().iterator();
        Entry<K, V> prevEntry = entryItr.next();
        while (entryItr.hasNext()) {
          Entry<K, V> nextEntry = entryItr.next();
          assertTrue(comparator.compare(prevEntry.getKey(), nextEntry.getKey()) < 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. clause/set_test.go

    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

              E auntElement = elementData(auntIndex);
              if (ordering.compare(auntElement, parentElement) < 0) {
                parentIndex = auntIndex;
                parentElement = auntElement;
              }
            }
          }
          if (ordering.compare(parentElement, x) < 0) {
            queue[index] = parentElement;
            queue[parentIndex] = x;
            return parentIndex;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.regression.compare;
    
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import static org.junit.Assert.assertEquals;
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.20.md

    - github.com/google/go-cmp: [v0.4.0 → v0.5.2](https://github.com/google/go-cmp/compare/v0.4.0...v0.5.2)
    - github.com/google/pprof: [d4f498a → 1ebb73c](https://github.com/google/pprof/compare/d4f498a...1ebb73c)
    - github.com/google/uuid: [v1.1.1 → v1.1.2](https://github.com/google/uuid/compare/v1.1.1...v1.1.2)
    - github.com/gorilla/mux: [v1.7.3 → v1.8.0](https://github.com/gorilla/mux/compare/v1.7.3...v1.8.0)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableSet<E> delegate;
    
      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    		Use:   "rootca-compare [pod/]<name-1>[.<namespace-1>] [pod/]<name-2>[.<namespace-2>]",
    		Short: "Compare ROOTCA values for the two given pods",
    		Long:  `Compare ROOTCA values for given 2 pods to check the connectivity between them.`,
    		Example: `  # Compare ROOTCA values for given 2 pods to check the connectivity between them.
      istioctl proxy-config rootca-compare <pod-name-1[.namespace]> <pod-name-2[.namespace]>`,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
          return String.valueOf(hash);
        }
      }
    
      static class SlowElement extends Element {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
        TreeMultiset<String> ms = TreeMultiset.create(comparator);
    
        ms.add("b");
        ms.add("c");
        ms.add("a");
        ms.add("b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.26.md

    - github.com/cespare/xxhash/v2: [v2.1.2 → v2.2.0](https://github.com/cespare/xxhash/v2/compare/v2.1.2...v2.2.0)
    - github.com/cncf/udpa/go: [04548b0 → c52dc94](https://github.com/cncf/udpa/go/compare/04548b0...c52dc94)
    - github.com/cncf/xds/go: [cb28da3 → e9ce688](https://github.com/cncf/xds/go/compare/cb28da3...e9ce688)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
Back to top