Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,005 for 11 (0.02 seconds)

  1. android/guava/src/com/google/common/collect/Comparators.java

       *
       * <p>Note that {@code Collections.reverseOrder(lexicographical(comparator))} is not equivalent to
       * {@code lexicographical(Collections.reverseOrder(comparator))} (consider how each would order
       * {@code [1]} and {@code [1, 1]}).
       */
      // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the
      // desired return type. However, *nested* generics introduce a special class of problems that we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  2. tests/lru_test.go

    	}
    
    	if lc.Resize(0) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	if lc.Resize(2) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	lc.Add("key2", "val2")
    	if lc.Resize(1) != 1 {
    		t.Fatalf("evicted count differs from expected")
    	}
    }
    
    func TestLRUEdgeCases(t *testing.T) {
    	lc := lru.NewLRU[string, *string](2, nil, 0)
    
    	// Adding a nil value
    	lc.Add("key1", nil)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity = min(CompactHashing.MAX_SIZE, (entriesSize + max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
      }
    
      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"(SI)(DX*1)", "(SI)(DX*1)"},
    	{"(SP)", "(SP)"},
    	{"(SP)(AX*4)", "(SP)(AX*4)"},
    	{"32(SP)(BX*2)", "32(SP)(BX*2)"},
    	{"32323(SP)(R8*4)", "32323(SP)(R8*4)"},
    	{"+3(PC)", "3(PC)"},
    	{"-1(DI)(BX*1)", "-1(DI)(BX*1)"},
    	{"-3(PC)", "-3(PC)"},
    	{"-64(SI)(BX*1)", "-64(SI)(BX*1)"},
    	{"-96(SI)(BX*1)", "-96(SI)(BX*1)"},
    	{"AL", "AL"},
    	{"AX", "AX"},
    	{"BP", "BP"},
    	{"BX", "BX"},
    	{"CX", "CX"},
    	{"DI", "DI"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        // Make an SSL Tunnel on the first message pair of each SSL + proxy connection.
        val url = route.address.url
        val requestLine = "CONNECT ${url.toHostHeader(includeDefaultPort = true)} HTTP/1.1"
        while (true) {
          val tunnelCodec =
            Http1ExchangeCodec(
              // No client for CONNECT tunnels:
              client = null,
              carrier = this,
              socket = socket,
            )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  6. CHANGELOG/CHANGELOG-1.35.md

    - github.com/maruel/natural: [v1.1.1](https://github.com/maruel/natural/tree/v1.1.1)
    - github.com/mfridman/tparse: [v0.18.0](https://github.com/mfridman/tparse/tree/v0.18.0)
    - github.com/tidwall/gjson: [v1.18.0](https://github.com/tidwall/gjson/tree/v1.18.0)
    - github.com/tidwall/match: [v1.1.1](https://github.com/tidwall/match/tree/v1.1.1)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:20:49 GMT 2026
    - 265.9K bytes
    - Click Count (0)
  7. cmd/erasure-metadata-utils.go

    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    // Returns error slice indicating the failed metadata reads.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       * guaranteed to be exactly +/-1 even when the data are perfectly (anti-)correlated, due to
       * numerical errors. However, it is guaranteed to be in the inclusive range [-1, +1].
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/SortedLists.java

            int lower = foundIndex;
            int upper = list.size() - 1;
            // Everything between lower and upper inclusive compares at >= 0.
            while (lower < upper) {
              int middle = (lower + upper + 1) >>> 1;
              int c = comparator.compare(list.get(middle), key);
              if (c > 0) {
                upper = middle - 1;
              } else { // c == 0
                lower = middle;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

                in 300..399 -> "Redirection"
                in 400..499 -> "Client Error"
                in 500..599 -> "Server Error"
                else -> "Mock Response"
              }
            status = "HTTP/1.1 $value $reason"
          }
    
        private var headers_: Headers.Builder
        public val headers: Headers
          get() = headers_.build()
    
        private var trailers_: Headers.Builder
        public val trailers: Headers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top