Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 456 for compareTo (0.1 sec)

  1. src/archive/zip/zip_test.go

    }
    
    func (r *rleBuffer) ReadAt(p []byte, off int64) (n int, err error) {
    	if len(p) == 0 {
    		return
    	}
    	skipParts, _ := slices.BinarySearchFunc(r.buf, off, func(rb repeatedByte, off int64) int {
    		return cmp.Compare(rb.off+rb.n, off)
    	})
    	parts := r.buf[skipParts:]
    	if len(parts) > 0 {
    		skipBytes := off - parts[0].off
    		for _, part := range parts {
    			repeat := int(min(part.n-skipBytes, int64(len(p)-n)))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.put("bb", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderKeysBy(
            new Ordering<String>() {
              @Override
              public int compare(String left, String right) {
                return left.length() - right.length();
              }
            });
        builder.put("cc", 4);
        builder.put("a", 2);
        builder.put("bb", 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	if r == 0 {
    		r = reseed()
    	}
    	// constants from Numerical Recipes
    	r = r*1664525 + 1013904223
    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multiset.java

         * {@code " x "} (space, letter x, space), followed by the count.
         */
        @Override
        String toString();
      }
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multiset for equality. Returns {@code true} if the
       * given object is also a multiset and contains equal elements with equal counts, regardless of
       * order.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
       * FluentIterable} in the order specified by {@code comparator}, with duplicates (determined by
       * {@code comparator.compare(x, y) == 0}) removed. To produce an {@code ImmutableSortedSet} sorted
       * by its natural ordering, use {@code toSortedSet(Ordering.natural())}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

      }
    
      private static final class DecreasingCount implements Comparator<Entry<?>> {
        static final Comparator<Entry<?>> INSTANCE = new DecreasingCount();
    
        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multisets.java

      }
    
      private static final class DecreasingCount implements Comparator<Entry<?>> {
        static final Comparator<Entry<?>> INSTANCE = new DecreasingCount();
    
        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. internal/s3select/select_test.go

    		},
    		{
    			name:       "compare-mixed",
    			query:      `SELECT id from s3object s WHERE value = true`,
    			wantResult: `{"id":1}`,
    			withJSON: `{"id":0, "value": false}
    {"id":1, "value": true}
    {"id":2, "value": 42}
    {"id":3, "value": "true"}
    `,
    		},
    		{
    			name:       "compare-mixed-not",
    			query:      `SELECT COUNT(id) as n from s3object s WHERE value != true`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

        checkNotNull(action);
        entrySet().forEach(entry -> action.accept(entry.getElement(), entry.getCount()));
      }
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multiset for equality. Returns {@code true} if the
       * given object is also a multiset and contains equal elements with equal counts, regardless of
       * order.
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. docs/ja/docs/deployment/concepts.md

    /// tip
    
    これらの**コンテナ**やDockerそしてKubernetesに関する項目が、まだあまり意味をなしていなくても心配しないでください。
    <!-- NOTE: the current version of docker.md is outdated compared to English one. -->
    
    コンテナ・イメージ、Docker、Kubernetesなどについては、次の章で詳しく説明します: [コンテナ内のFastAPI - Docker](docker.md){.internal-link target=_blank}.
    
    ///
    
    ## 開始前の事前のステップ
    
    アプリケーションを**開始する前**に、いくつかのステップを実行したい場合が多くあります。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top