Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 389 for compact (0.05 sec)

  1. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbTreeHandle.java

         * @return the share we are connected to
         */
        String getConnectedShare();
    
        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree(SmbTreeHandle th);
    
        /**
         * Checks if this tree handle uses SMB2 or later protocol
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

        return forUriStringOrNull(ipString, /* parseScope= */ false) != null;
      }
    
      /**
       * Evaluates whether the argument is an IPv6 "compat" address.
       *
       * <p>An "IPv4 compatible", or "compat", address is one with 96 leading bits of zero, with the
       * remaining 32 bits interpreted as an IPv4 address. These are conventionally represented in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     */
    inline fun binarySearch(
      position: Int,
      limit: Int,
      compare: (Int) -> Int,
    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
      while (low <= high) {
        val mid = (low + high) / 2
        val compareResult = compare(mid)
        when {
          compareResult < 0 -> high = mid - 1
          compareResult > 0 -> low = mid + 1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AllEqualOrdering.java

      static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
    
      @Override
      @SuppressWarnings("UnusedVariable") // intentionally weird Comparator
      public int compare(@Nullable Object left, @Nullable Object right) {
        return 0;
      }
    
      @Override
      public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
        return Lists.newArrayList(iterable);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params.md

    ### Working with Python *enumerations* { #working-with-python-enumerations }
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members* { #compare-enumeration-members }
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005.py hl[17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ExplicitOrdering.java

      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
      ExplicitOrdering(ImmutableMap<T, Integer> rankMap) {
        this.rankMap = rankMap;
      }
    
      @Override
      public int compare(T left, T right) {
        return rank(left) - rank(right); // safe because both are nonnegative
      }
    
      private int rank(T value) {
        Integer rank = rankMap.get(value);
        if (rank == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     *
     * <p>Specifies the type of a top-level domain definition.
     *
     * @since 23.3
     */
    @Beta
    @GwtCompatible
    public enum PublicSuffixType {
    
      /** Public suffix that is provided by a private company, e.g. "blogspot.com" */
      PRIVATE(':', ','),
      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
      /** The character used for an inner node in the trie encoding */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top