Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for removeStar (0.26 sec)

  1. src/go/doc/reader.go

    			Methods: sortedFuncs(t.methods, allMethods),
    		}
    		i++
    	}
    
    	slices.SortFunc(list, func(a, b *Type) int {
    		return strings.Compare(a.Name, b.Name)
    	})
    
    	return list
    }
    
    func removeStar(s string) string {
    	if len(s) > 0 && s[0] == '*' {
    		return s[1:]
    	}
    	return s
    }
    
    func sortedFuncs(m methodSet, allMethods bool) []*Func {
    	list := make([]*Func, len(m))
    	i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    		if err != nil {
    			return err
    		}
    		// nolint
    		return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o)
    	}
    	return nil
    }
    
    // removeTag removes an existing revision tag.
    func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error {
    	webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        }
    
        // The OK status means this op is quantizable. Return failure since the
        // pattern doesn't rewrite anything yet.
        if (check_status.ok()) return failure();
        call_op->removeAttr(kQuantTraitAttrName);
        removeAttrMapAttribute(call_op, function_name, check_status.message());
        return success();
      }
    
      // Get the quantization method to apply to this composite function. If set,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      // nested ops.
      for (Operation* cluster_op : cluster_ops) {
        cluster_op->moveBefore(body, body->end());
        cluster_op->walk([&](Operation* inner_op) {
          inner_op->removeAttr(mlir::TF::kReplicationInfoAttr);
          inner_op->removeAttr(mlir::TF::kCompileDeviceTypeAttr);
    
          if (auto attr = inner_op->getAttrOfType<StringAttr>(kDeviceAttr)) {
            // Preserve device attribute if the op is placed on a replicated core
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

                               llvm::StringRef host_device) {
      Block* launch_block = new Block;
      for (Operation* head_outside_compiled_op : head_outside_compiled_ops) {
        head_outside_compiled_op->removeAttr(kXlaOutsideCompilationAttr);
        head_outside_compiled_op->moveBefore(launch_block, launch_block->end());
      }
    
      mlir::tf_device::LaunchOp launch = CreateLaunchForBlock(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java

        private static final ImmutableMap<String, Pattern> JAR_FILE_PATTERNS_BY_PREFIX;
        private static final String BUILD_RECEIPT_ZIP_ENTRY_PATH = StringUtils.removeStart(DefaultGradleVersion.RESOURCE_NAME, "/");
    
        static {
            Set<String> prefixes = ImmutableSet.of(
                "gradle-base-services", // 4.x
                "gradle-version-info", // 2.x - 3.x
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        Operation* op, PatternRewriter& rewriter) const {
      // removeAttr will return nullptr if the attribute did not exist. Thus we can
      // return success(result) to indicate if this op has changed.
      return success(/*isSuccess=*/
                     op->removeAttr(kDebugModeOpQuantAttrName) ||
                     op->removeAttr(kDebugModeOpFloatAttrName));
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

      new_call_op->setAttr(kEntryFuncAttrName,
                           rewriter.getStringAttr(new_ref_func_name.getValue()));
      new_call_op->setAttrs(call_op->getAttrs());
      new_call_op->removeAttr(rewriter.getStringAttr(kQuantTraitAttrName));
    
      FlatSymbolRefAttr new_func_name_attr =
          FlatSymbolRefAttr::get(rewriter.getContext(), new_ref_func_name);
      new_call_op->setAttr(kEntryFuncAttrName, new_func_name_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

      func.walk([&](Operation *op) {
        if (op->getDialect() != tf_dialect) return;
        if (IsAllowListedOp(op)) return;
        if (op->hasAttr(kNoFallbackAttr)) {
          op->removeAttr(kNoFallbackAttr);
          return;
        }
        if (!ConvertToFlexOp(op)) signalPassFailure();
      });
    }
    }  // namespace internal
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateFallbackToFlexOpsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    e).find('*[type="submit"]').addClass("disabled").attr("disabled","disabled")},unHaltValidation:function(b){this.numHalted--,0===this.numHalted&&(a.formUtils.haltValidation=!1,b.unbind("submit",e).find('*[type="submit"]').removeClass("disabled").removeAttr("disabled","disabled"))}};d.prototype.reset=function(){this.haltedFormValidation=!1,this.hasRun=!1,this.isRunning=!1,this.result=c},d.prototype.run=function(a,b){return"keyup"===a?null:this.isRunning?(f=a,this.haltedFormValidation||(g.haltValid...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
Back to top