Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for isContained (0.15 sec)

  1. pkg/util/tolerations/tolerations_test.go

    			if VerifyAgainstWhitelist(input, whitelist) {
    				for _, tol := range input {
    					require.True(t, isContained(tol, whitelist), debugMsg(input, whitelist))
    				}
    			} else {
    				uncontained := false
    				for _, tol := range input {
    					if !isContained(tol, whitelist) {
    						uncontained = true
    						break
    					}
    				}
    				require.True(t, uncontained, debugMsg(input, whitelist))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 26 22:25:49 UTC 2019
    - 11.4K bytes
    - Viewed (0)
  2. pkg/test/kube/dump.go

    				fname := podOutputPath(workDir, c, pod, fmt.Sprintf("%s.previous.log", container.Name))
    				// only care about istio components restart
    				if proxyContainer.IsContainer(container) || discoveryContainer.IsContainer(container) || initContainer.IsContainer(container) ||
    					validationContainer.IsContainer(container) || strings.HasPrefix(pod.Name, "istio-cni-node") {
    					// This is only called if the test failed, so we cannot mark it as "failed" again. Instead, output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc

      if (trim_funcs_allowlist_.empty()) return false;
    
      llvm::SmallVector<func::FuncOp, 4> funcs_to_trim;
      for (auto func : getOperation().getOps<func::FuncOp>()) {
        if (llvm::is_contained(trim_funcs_allowlist_, func.getName())) {
          // If no main is specified in the allowlist, use the 1st func
          // in trim_funcs_allowlist as the main.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
          .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
          .filterNot { it in avoidedTests }
          .sorted()
          .distinct()
      knownTestFile.writeText(testClasses.joinToString("\n"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

        }
        originalSystemErr?.print(s)
      }
    
      override fun executionFinished(
        testIdentifier: TestIdentifier,
        testExecutionResult: TestExecutionResult,
      ) {
        if (!testIdentifier.isContainer) {
          when (testExecutionResult.status!!) {
            TestExecutionResult.Status.ABORTED -> printStatus("-")
            TestExecutionResult.Status.FAILED -> printStatus("F")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    namespace {
    bool IsSupportedComposite(::mlir::stablehlo::CompositeOp op) {
      // List of supported composites to represent using CustomOp.
      return llvm::is_contained(
          {"odml.update_kv_cache", "odml.scaled_dot_product_attention"},
          op.getName());
    }
    
    bool IsKVCacheCompositeOp(::mlir::stablehlo::CompositeOp op) {
      return op.getName() == "odml.update_kv_cache";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      }
    
      const auto is_lhs_batch_or_contracting_dim = [&](uint64_t dim) {
        auto dim_nums = first_dot.getDotDimensionNumbers();
        return llvm::is_contained(dim_nums.getLhsBatchingDimensions(), dim) ||
               llvm::is_contained(dim_nums.getLhsContractingDimensions(), dim);
      };
    
      // dot_general outputs are always in the
      //   [batch dims, LHS other dims, RHS other dims]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

            permutation_array.push_back(scatter_dims_to_operand_dims[i]);
          }
          for (int64_t i = 0; i < operand_type.getRank(); ++i) {
            if (!llvm::is_contained(scatter_dims_to_operand_dims, i)) {
              permutation_array.push_back(i);
            }
          }
          auto permutation_and_shape = GetPermutationAndTransposedShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestExecutionListener.java

            descriptorsByUniqueId.computeIfAbsent(node.getUniqueId(), uniqueId -> {
                wasCreated.set(true);
                boolean isTestClassId = isTestClassIdentifier(node);
                if (node.getType().isContainer() || isTestClassId) {
                    if (isTestClassId) {
                        return createTestClassDescriptor(node);
                    }
                    String displayName = node.getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:25 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

        Type type = it.value().getType();
        if (type.isa<TensorType>() &&
            type.cast<TensorType>().getElementType().isa<TF::ResourceType>()) {
          if (!llvm::is_contained(device_var_reads_indices, it.index()) &&
              !llvm::is_contained(device_var_updates_indices, it.index())) {
            return execute_launch.GetBody().front().emitError("operand #")
                   << it.index()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top