Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,253 for pairOf (0.12 sec)

  1. src/internal/fmtsort/sort.go

    // it is not always legal to do so and it's easier to avoid the issue than to face it.
    
    // SortedMap is a slice of KeyValue pairs that simplifies sorting
    // and iterating over map entries.
    //
    // Each KeyValue pair contains a map key and its corresponding value.
    type SortedMap []KeyValue
    
    // KeyValue holds a single key and value pair found in a map.
    type KeyValue struct {
    	Key, Value reflect.Value
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc

    constexpr int kUnassigned = -1;
    
    struct AliasInfo {
      AliasInfo() : input_index(kUnassigned), output_index(kUnassigned) {}
      int input_index;
      int output_index;
    };
    
    // Idenitfy tf_device.cluster_func input-output alias pairs.
    // This is currently conservative, primarily handling the following base case:
    // ```
    // %value = tf.ReadVariableOp(%resource_var)
    // %output:N = tf_device.cluster_func(..., /*input index = a*/ %value, ...)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/log/slog/doc.go

    A log record consists of a time, a level, a message, and a set of key-value
    pairs, where the keys are strings and the values may be of any type.
    As an example,
    
    	slog.Info("hello", "count", 3)
    
    creates a record containing the time of the call,
    a level of Info, the message "hello", and a single
    pair with key "count" and value 3.
    
    The [Info] top-level function calls the [Logger.Info] method on the default Logger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashMultimap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multimap} using hash tables.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

    //
    // After the algorithm is converged, pairs of `quantfork::QuantizeCastOp` and
    // `quantfork::DequantizeCastOp` are inserted to the right position to
    // materialize the propagation and requantize results.
    //
    class QuantizationDriver {
     public:
      // Type alias of int used to access `states_`.
      using QuantStateIndex = int;
    
      // (op, operand index) pair.
      using OpWithOperandIndex = std::pair<Operation*, int>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

            List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair));
            checkArgument(!keyAndValue.isEmpty(), "blank key-value pair");
            checkArgument(
                keyAndValue.size() <= 2,
                "key-value pair %s with more than one equals sign",
                keyValuePair);
    
            // Find the ValueParser for the current key.
            String key = keyAndValue.get(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilderSpec.java

            List<String> keyAndValue = ImmutableList.copyOf(KEY_VALUE_SPLITTER.split(keyValuePair));
            checkArgument(!keyAndValue.isEmpty(), "blank key-value pair");
            checkArgument(
                keyAndValue.size() <= 2,
                "key-value pair %s with more than one equals sign",
                keyValuePair);
    
            // Find the ValueParser for the current key.
            String key = keyAndValue.get(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 22 14:27:44 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  8. src/index/suffixarray/suffixarray.go

    				return
    			}
    			slices.Sort(indices)
    			pairs := make([]int, 2*len(indices))
    			result = make([][]int, len(indices))
    			count := 0
    			prev := 0
    			for _, i := range indices {
    				if count == n {
    					break
    				}
    				// ignore indices leading to overlapping matches
    				if prev <= i {
    					j := 2 * count
    					pairs[j+0] = i
    					pairs[j+1] = i + len(lit)
    					result[count] = pairs[j : j+2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/MoreObjects.java

          omitNullValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
         * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is
         * called, in which case this name/value pair will not be added.
         */
        @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top