Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 463 for Extract (0.35 sec)

  1. pkg/test/framework/components/istioctl/kube.go

    var invokeMutex sync.Mutex
    
    type kubeComponent struct {
    	config     Config
    	kubeconfig string
    }
    
    // Filenamer is an interface to avoid importing kubecluster package, instead build our own interface
    // to extract kube context
    type Filenamer interface {
    	Filename() string
    }
    
    func newKube(ctx resource.Context, config Config) (Instance, error) {
    	fn, ok := ctx.Clusters().GetOrDefault(config.Cluster).(Filenamer)
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

    #include "tensorflow/compiler/mlir/lite/metrics/types_util.h"
    
    namespace mlir {
    namespace TFL {
    namespace {
    
    // The signature contains namespaces (Ex: mlir::TFL::(anonymous namespace)::).
    // So only extract the function name as the pass name.
    inline std::string extract_pass_name(const std::string &signature) {
      const std::vector<std::string> &v = absl::StrSplit(signature, "::");
      return v.back();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/util.go

    	if err != nil {
    		return 0, err
    	}
    	emptyListAccessor, err := meta.ListAccessor(emptyList)
    	if err != nil {
    		return 0, err
    	}
    	if emptyListAccessor == nil {
    		return 0, fmt.Errorf("unable to extract a list accessor from %T", emptyList)
    	}
    
    	currentResourceVersion, err := strconv.Atoi(emptyListAccessor.GetResourceVersion())
    	if err != nil {
    		return 0, err
    	}
    
    	if currentResourceVersion == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:05:06 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/os/env.go

    func isAlphaNum(c uint8) bool {
    	return c == '_' || '0' <= c && c <= '9' || 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z'
    }
    
    // getShellName returns the name that begins the string and the number of bytes
    // consumed to extract it. If the name is enclosed in {}, it's part of a ${}
    // expansion and two more bytes are needed than the length of the name.
    func getShellName(s string) (string, int) {
    	switch {
    	case s[0] == '{':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h"
    #include "tensorflow/core/public/session.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir {
    namespace {
    
    // Extract the mlir TF module and optionally a ::tensorflow::SavedModelBundle
    // from a saved model or from an mlir file.
    absl::StatusOr<quant::stablehlo::ImportedMlirModuleOp> ImportSavedModelOrTfMlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/util.go

    	for i, ns := range namespaces.Items {
    		nsNames[i] = ns.Name
    	}
    	return nsNames, nil
    }
    
    // GetWebhookTagName extracts tag name from webhook object.
    func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string {
    	return wh.ObjectMeta.Labels[IstioTagLabel]
    }
    
    // GetWebhookRevision extracts tag target revision from webhook object.
    func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            } catch (Throwable ignored) {
    // TODO:ADAM - switch the logging back on. Need to make sending messages from daemon to client async wrt log event generation
    //                LOGGER.debug("Ignoring failure to extract throwable stack trace.", ignored);
                stackTrace = Collections.emptyList();
            }
    
            try {
                message = throwable.getMessage();
            } catch (Throwable failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        alias: Annotated[
            Optional[str],
            Doc(
                """
                An alternative name for the parameter field.
    
                This will be used to extract the data and for the generated OpenAPI.
                It is particularly useful when you can't use the name you want because it
                is a Python reserved keyword or similar.
                """
            ),
        ] = None,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/extension/wasmplugin.go

    	// at in the VM env variables, with value being the secret resource name. We try to find the actual
    	// secret, and replace the env variable value with it. When ECDS config update reaches the proxy,
    	// agent will extract out the secret from env variable, use it for image pulling, and strip the
    	// env variable from VM config before forwarding it to envoy.
    	envs := pluginConfig.GetVmConfig().GetEnvironmentVariables().GetKeyValues()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/trace/gen.go

    // The provided resource is the resource the stack sample should count against.
    type stackSampleGenerator[R resource] struct {
    	// getResource is a function to extract a resource ID from a stack sample event.
    	getResource func(*trace.Event) R
    }
    
    // StackSample implements a stack sample event handler. It expects ev to be one such event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top