Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,526 for converts (0.12 sec)

  1. src/log/slog/attr.go

    func String(key, value string) Attr {
    	return Attr{key, StringValue(value)}
    }
    
    // Int64 returns an Attr for an int64.
    func Int64(key string, value int64) Attr {
    	return Attr{key, Int64Value(value)}
    }
    
    // Int converts an int to an int64 and returns
    // an Attr with that value.
    func Int(key string, value int) Attr {
    	return Int64(key, int64(value))
    }
    
    // Uint64 returns an Attr for a uint64.
    func Uint64(key string, v uint64) Attr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 18:23:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass converts stateful and stateless partitioned calls
    // with _xla_compile_device_type attribute to XLA launch ops.
    
    #include <stack>
    
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.cc

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/report.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    // Converts `std::optional<absl::string_view>` to `std::optional<std::string>`.
    // A `std::nullopt` is returned when `view` is `std::nullopt`.
    std::optional<std::string> OptionalStringViewToOptionalString(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven remote GAV level metadata generator.
     * <p>
     * Remote snapshot metadata converts artifact on-the-fly to use timestamped snapshot version, and enlist it accordingly.
     */
    class RemoteSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 16 11:43:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven remote GAV level metadata generator.
     * <p>
     * Remote snapshot metadata converts artifact on-the-fly to use timestamped snapshot version, and enlist it accordingly.
     */
    class RemoteSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go

    */
    
    package schema
    
    import (
    	"fmt"
    
    	"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
    	apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    )
    
    // NewStructural converts an OpenAPI v3 schema into a structural schema. A pre-validated JSONSchemaProps will
    // not fail on NewStructural. This means that we require that:
    //
    // - items is not an array of schemas
    // - the following fields are not set:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/scan.go

    	sourceFiles []*rawFile
    }
    
    type parseError struct {
    	ErrorList   *scanner.ErrorList
    	ErrorString string
    }
    
    // parseErrorToString converts the error from parsing the file into a string
    // representation. A nil error is converted to an empty string, and all other
    // errors are converted to a JSON-marshaled parseError struct, with ErrorList
    // set for errors of type scanner.ErrorList, and ErrorString set to the error's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc

    }  // end namespace tflite
    
    int main(int argc, char** argv) {
      if (argc < 2) {
        std::cerr << "Missing input argument. Usage:\n"
                  << argv[0] << " <filename or - for stdin>\n\n"
                  << "Converts TensorFlowLite flatbuffer to textual output format. "
                  << "One positional input argument representing the source of the "
                  << "flatbuffer is supported.\n";
        return 1;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 15:52:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    // fieldPtr returns a pointer to the field identified by f in *cfg.
    func (cfg *config) fieldPtr(f configField) interface{} {
    	// reflect.ValueOf: converts to reflect.Value
    	// Elem: dereferences cfg to make *cfg
    	// FieldByIndex: fetches the field
    	// Addr: takes address of field
    	// Interface: converts back from reflect.Value to a regular value
    	return reflect.ValueOf(cfg).Elem().FieldByIndex(f.field.Index).Addr().Interface()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/upload/Doc.txt

    The upload process converts count files into reports, and
    uploads reports. There will be only one report, named YYYY-MM-DD.json,
    for a given day.
    
    First phase. Look at the localdir (os.UserConfigdir()/go/telemetry/local)
    and find all .count and .json files. Find the count files that are no
    longer active by looking at their metadata.
    
    Second phase. Group the inactive count files by their expiry date, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top