Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for isIndex (0.28 sec)

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

       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

       *     uniqueIndex(allColors, c -> c.toString());
       * assertThat(colorForName).containsEntry("red", red);
       * }</pre>
       *
       * <p>If your index may associate multiple values with each key, use {@link
       * Multimaps#index(Iterable, Function) Multimaps.index}.
       *
       * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  3. src/database/sql/sql.go

    	// allocation to store the index. But generally the set will be small and
    	// under a scannable-threshold. As an optimization, we could permit the *int
    	// to be nil when the set is small and should be scanned. This works even if
    	// the set grows over the threshold with delete handles outstanding because
    	// an element can only move to a lower index. So if it starts with a nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$`...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      }
      auto index_type = dense_attr.getType();
      const auto index_elem_bits = index_type.getElementTypeBitWidth();
      if (index_elem_bits != 32 && index_elem_bits != 64) {
        return false;
      }
      // Checks that the index has shape of [1, 1, 1, ..., 1, N].
      if (index_type.getRank() < 1 ||
          llvm::any_of(index_type.getShape().drop_back(),
                       [](int64_t dim) { return dim != 1; })) {
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"size(self.array.filter(e, e%2 == 0)) == 3",
    				"self.array.map(e, e * 20).filter(e, e > 50).exists(e, e == 60)",
    				"size(self.array) == 8",
    			},
    			errors: map[string]string{
    				"self.array[100] == 0": "index out of bounds: 100",
    			},
    		},
    		{name: "listSet access",
    			obj: map[string]interface{}{
    				"set": []interface{}{1, 2, 3, 4, 5},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    		// 1 - server prefix
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			t.Errorf("%v: expected no error, but got %v", tc.name, err)
    		}
    	}
    }
    
    type predictableNameGenerator struct {
    	index int
    }
    
    func (p *predictableNameGenerator) GenerateName(base string) string {
    	p.index++
    	return fmt.Sprintf("%s%d", base, p.index)
    }
    
    func TestStoreCreateGenerateNameConflict(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    func.func @eliminatePassThroughCaseRegion(%arg0: tensor<f32>, %arg1: tensor<f32>, %arg2: tensor<!tf_type.resource>) -> (tensor<f32>) {
      // CHECK: %[[INDEX:.*]] = "tf._SomeOp"() : () -> tensor<i32>
      %index = "tf._SomeOp"() : () -> tensor<i32>
      // CHECK: %[[CASE_OUTPUT:.*]] = "tf.CaseRegion"(%[[INDEX]]) <{is_stateless = true}> ({
      // CHECK:   %[[MUL:.*]] = "tf.Mul"(%[[ARG0]], %[[ARG1]])
      // CHECK:   "tf.Yield"(%[[MUL]]) : (tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/validation/validation_test.go

    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				URL: strPtr("arg#backwards=thisis?html.index/port:host//:https"),
    			},
    		},
    		}, true),
    		expectedError: `host must be specified`,
    	}, {
    		name: "path must start with slash",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
Back to top