Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for choosing (0.14 sec)

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

          return filter(unfiltered().tailSet(fromElement, inclusive), predicate);
        }
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. src/go/types/unify.go

    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    					// In this case, either x or y could be viable matches for the corresponding
    					// type parameter, which means choosing either introduces an order dependence.
    					// Therefore, we must fail unification (go.dev/issue/60933).
    					return false
    				}
    				// If we have inexact unification and one of x or y is a defined type, select the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/unify.go

    					}
    				} else if xi != nil || yi != nil {
    					// One but not both of them are interfaces.
    					// In this case, either x or y could be viable matches for the corresponding
    					// type parameter, which means choosing either introduces an order dependence.
    					// Therefore, we must fail unification (go.dev/issue/60933).
    					return false
    				}
    				// If we have inexact unification and one of x or y is a defined type, select the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/encoding/json/encode.go

    	// except that fields with JSON tags are promoted.
    
    	// The fields are sorted in primary order of name, secondary order
    	// of field index length. Loop over names; for each name, delete
    	// hidden fields by choosing the one dominant field that survives.
    	out := fields[:0]
    	for advance, i := 0, 0; i < len(fields); i += advance {
    		// One iteration per name.
    		// Find the sequence of fields with the name of this first field.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. src/time/time.go

    // of the week match up. It simplifies the computations to choose the
    // cycle boundaries so that the exceptional years are always delayed as
    // long as possible. That means choosing a year equal to 1 mod 400, so
    // that the first leap year is the 4th year, the first missed leap year
    // is the 100th year, and the missed missed leap year is the 400th year.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    			}
    		}
    
    		// Since we are comparing pools that may have a different number of sets
    		// we multiply by the number of sets in the pool.
    		// This will compensate for differences in set sizes
    		// when choosing destination pool.
    		// Different set sizes are already compensated by less disks.
    		available *= uint64(nSets[i])
    
    		serverPools[i] = poolAvailableSpace{
    			Index:      i,
    			Available:  available,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/fuzz/FuzzReader/closing-unknown-region

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 240 bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

                    assert registry.getAll(String).sort() == ["12", "123"]
                }
            }
        }
    
        def "cannot look up services while closing"() {
            given:
            def registry = new DefaultServiceRegistry()
            registry.add(Closeable, {
                instant.closing
                thread.blockUntil.lookupDone
            } as Closeable)
    
            when:
            async {
                start() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/runtime/netpoll.go

    func poll_runtime_pollClose(pd *pollDesc) {
    	if !pd.closing {
    		throw("runtime: close polldesc w/o unblock")
    	}
    	wg := pd.wg.Load()
    	if wg != pdNil && wg != pdReady {
    		throw("runtime: blocked write on closing polldesc")
    	}
    	rg := pd.rg.Load()
    	if rg != pdNil && rg != pdReady {
    		throw("runtime: blocked read on closing polldesc")
    	}
    	netpollclose(pd.fd)
    	pollcache.free(pd)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique] package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
Back to top