Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,733 for converts (0.34 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/util/ipvs_linux.go

    		return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
    	}
    	runner.mu.Lock()
    	defer runner.mu.Unlock()
    	return runner.ipvsHandle.NewService(svc)
    }
    
    // UpdateVirtualServer is part of ipvs.Interface.
    func (runner *runner) UpdateVirtualServer(vs *VirtualServer) error {
    	svc, err := toIPVSService(vs)
    	if err != nil {
    		return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/path/filepath/57151.md

    The new [Localize] function safely converts a slash-separated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 98 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.h

    namespace quantfork {
    class UniformQuantizedValueConverter;
    
    /// Converts an attribute from a type based on
    /// quantizedElementType.getExpressedType() to one based on
    /// quantizedElementType.getStorageType(), where quantizedElementType is as from
    /// QuantizedType::getQuantizedElementType().
    /// Returns nullptr if the conversion is not supported. On success, stores the
    /// converted type in outConvertedType.
    ///
    /// Examples:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go

    func SeatsTimesDuration(seats float64, duration time.Duration) SeatSeconds {
    	return SeatSeconds(int64(math.Round(seats * float64(duration/time.Nanosecond) / (1e9 / ssScale))))
    }
    
    // ToFloat converts to a floating-point representation.
    // This conversion may lose precision.
    func (ss SeatSeconds) ToFloat() float64 {
    	return float64(ss) / ssScale
    }
    
    // DurationPerSeat returns duration per seat.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 09:16:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributesToMapConverter.java

    import org.gradle.api.attributes.AttributeContainer;
    
    import java.util.Arrays;
    import java.util.Map;
    
    /**
     * Converts attributes to a stringy map preserving the order.
     */
    public class AttributesToMapConverter {
    
        private AttributesToMapConverter() {}
    
        /**
         * Converts attributes to a stringy map preserving the order.
         */
        public static Map<String, String> convertToMap(AttributeContainer attributes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtPsiTypeProvider.kt

            )
        }
    
        /**
         * Converts given [PsiType] to [KaType].
         *
         * [useSitePosition] may be used to clarify how to resolve some parts of [PsiType].
         * For instance, it can be used to collect type parameters and use them during the conversion.
         *
         * @receiver [PsiType] to be converted.
         * @return The converted [KaType], or null if conversion is not possible e.g., [PsiType] is not resolved
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

            }
            return py::bytes(module_bytecode.value());
          },
          R"pbdoc(
            Converts a TensorFlow SavedModel into StableHLO bytecode.
    
            * input-path: The path to the input TensorFlow SavedModel.
            * exported-model-signatures: Comma-separated list of exported model
              signatures to convert.
            * tag_names: Comma-separated list of tags for loading SavedModel.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. pilot/pkg/util/protoconv/protoconv.go

    	"google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/log"
    )
    
    // MessageToAnyWithError converts from proto message to proto Any
    func MessageToAnyWithError(msg proto.Message) (*anypb.Any, error) {
    	b, err := marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return &anypb.Any{
    		// nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc

    namespace {
    
    // Converts XlaCallModuleOps to func.call.
    class XlaCallModuleToCallPass
        : public impl::XlaCallModuleToCallPassBase<XlaCallModuleToCallPass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(XlaCallModuleToCallPass)
    
      explicit XlaCallModuleToCallPass() = default;
    
     private:
      void runOnOperation() override;
    };
    
    // Converts XlaCallModuleOps to func.call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top