Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for loser (0.09 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    func metricsBucketHandler() http.Handler {
    	return metricsHTTPHandler(bucketCollector, "handler.MetricsBucket")
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. src/reflect/value.go

    //
    // Deprecated: The memory representation of interface values is not
    // compatible with InterfaceData.
    func (v Value) InterfaceData() [2]uintptr {
    	v.mustBe(Interface)
    	// The compiler loses track as it converts to uintptr. Force escape.
    	escapes(v.ptr)
    	// We treat this as a read operation, so we allow
    	// it even for unexported data, because the caller
    	// has to import "unsafe" to turn it into something
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        }
    
        // Clamp with lower limit.
        auto lower_limit_attr = DenseIntElementsAttr::get(
            single_element_type, {static_cast<int64_t>(0)});
        auto lower_limit_cst =
            rewriter.create<arith::ConstantOp>(op->getLoc(), lower_limit_attr);
        // Dynamic start indices should be clamped with lower limit of
        // 0 as per semantics of `stablehlo.dynamic_slice`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //
    //	go doc <pkg> <sym>[.<methodOrField>]
    //
    // In all forms, when matching symbols, lower-case letters in the argument match
    // either case but upper-case letters match exactly. This means that there may be
    // multiple matches of a lower-case argument in a package if different symbols have
    // different cases. If this occurs, documentation for all matches is printed.
    //
    // Examples:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. src/database/sql/sql.go

    	db.closed = true
    	db.connRequests.CloseAndRemoveAll()
    	db.mu.Unlock()
    	for _, fn := range fns {
    		err1 := fn()
    		if err1 != nil {
    			err = err1
    		}
    	}
    	db.stop()
    	if c, ok := db.connector.(io.Closer); ok {
    		err1 := c.Close()
    		if err1 != nil {
    			err = err1
    		}
    	}
    	return err
    }
    
    const defaultMaxIdleConns = 2
    
    func (db *DB) maxIdleConnsLocked() int {
    	n := db.maxIdleCount
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    	body := []byte("Hello")
    	for i := 0; ; i++ {
    		total, live := d.Read()
    		if live < total {
    			break
    		}
    		if i >= 1<<12 {
    			t.Fatalf("Count of live client net.Conns (%d) not lower than total (%d) after %d Do / GC iterations.", live, total, i)
    		}
    
    		req, err := NewRequest("POST", ts.URL, bytes.NewReader(body))
    		if err != nil {
    			t.Fatal(err)
    		}
    		_, err = c.Do(req)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. cluster/gce/util.sh

      local mode
      mode=$(gcloud compute networks list --filter="name=('${NETWORK}')" --project "${NETWORK_PROJECT}" --format='value(x_gcloud_subnet_mode)' || true)
      # The deprecated field uses lower case. Convert to upper case for consistency.
      echo "$mode" | tr '[:lower:]' '[:upper:]'
    }
    
    function create-network() {
      if ! gcloud compute networks --project "${NETWORK_PROJECT}" describe "${NETWORK}" &>/dev/null; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          // meant that sometimes a too-large threshold is calculated. However, this new threshold is
          // independent of the initial capacity, except that it won't be lower than the threshold
          // computed from that capacity. Because the internal table is only allocated on the first
          // write, we won't see copying because of the new threshold. So it is always OK to use the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top