Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 243 for Extract (0.1 sec)

  1. pkg/spiffe/spiffe.go

    		m, err := ParseIdentity(id)
    		if err != nil {
    			spiffeLog.Errorf("Failed to extract SPIFFE trust domain from %v: %v", id, err)
    			continue
    		}
    		for _, td := range trustDomainAliases {
    			m.TrustDomain = td
    			out.Insert(m.String())
    		}
    	}
    	return out
    }
    
    // GetTrustDomainFromURISAN extracts the trust domain part from the URI SAN in the X.509 certificate.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

    enum TranslationStatus { kTrSuccess, kTrFailure };
    
    static int PrintFunctionResultMapping(const std::string &result,
                                          ModuleOp module) {
      // Build model from the resultant string to extract the return values from
      // their source of truth.
      auto model =
          tflite::FlatBufferModel::BuildFromBuffer(result.data(), result.size());
      if (!model) return kTrFailure;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. security/pkg/k8s/chiron/utils_test.go

    	if len(strs) < 2 {
    		return 0, fmt.Errorf("server.URL is invalid: %v", server.URL)
    	}
    	port, err := strconv.Atoi(strs[len(strs)-1])
    	if err != nil {
    		return 0, fmt.Errorf("error to extract port from URL: %v", server.URL)
    	}
    	return port, nil
    }
    
    func initFakeKubeClient(t test.Failer, certificate []byte) kube.CLIClient {
    	client := kube.NewFakeClient()
    	ctx := test.NewContext(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/dashboard_test.go

    						if !f {
    							t.Fatalf("Failed to find expected dashboard: %v", d.name)
    						}
    
    						queries, err := extractQueries(config)
    						if err != nil {
    							t.Fatalf("Failed to extract queries: %v", err)
    						}
    
    						for _, query := range queries {
    							retry.UntilSuccessOrFail(t, func() error {
    								return checkMetric(cl, p, query, d.excluded)
    							}, retry.Timeout(time.Minute))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns.go

    	/*
    		for each process, find its netns inode,
    		if we already seen the inode, skip it
    		if we haven't seen the inode, check the process cgroup and see if we
    		can extract a pod uid from it.
    		if we can, open the netns, and save a map of uid->netns-fd
    	*/
    
    	podUIDNetns := make(PodToNetns)
    	netnsObserved := sets.New[uint64]()
    
    	entries, err := fs.ReadDir(p.proc, ".")
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/app/cmd.go

    	log.Debugf("proxy IPAddresses: %v", proxyArgs.IPAddresses)
    
    	// After IP addresses are set, let us discover IPMode.
    	proxyArgs.DiscoverIPMode()
    
    	// Extract pod variables.
    	proxyArgs.ID = proxyArgs.PodName + "." + proxyArgs.PodNamespace
    
    	// If not set, set a default based on platform - podNamespace.svc.cluster.local for
    	// K8S
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    The last `CommonQueryParams`, in:
    
    ```Python
    ... Depends(CommonQueryParams)
    ```
    
    ...is what **FastAPI** will actually use to know what is the dependency.
    
    From it is that FastAPI will extract the declared parameters and that is what FastAPI will actually call.
    
    ---
    
    In this case, the first `CommonQueryParams`, in:
    
    === "Python 3.8+"
    
        ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/runtime/error.go

    //
    // It is called from the generated wrapper code.
    func panicwrap() {
    	pc := getcallerpc()
    	name := funcNameForPrint(funcname(findfunc(pc)))
    	// name is something like "main.(*T).F".
    	// We want to extract pkg ("main"), typ ("T"), and meth ("F").
    	// Do it by finding the parens.
    	i := bytealg.IndexByteString(name, '(')
    	if i < 0 {
    		throw("panicwrap: no ( in " + name)
    	}
    	pkg := name[:i-1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/runtime/stkframe.go

    func (frame *stkframe) argMapInternal() (argMap bitvector, hasReflectStackObj bool) {
    	f := frame.fn
    	if f.args != abi.ArgsSizeUnknown {
    		argMap.n = f.args / goarch.PtrSize
    		return
    	}
    	// Extract argument bitmaps for reflect stubs from the calls they made to reflect.
    	switch funcname(f) {
    	case "reflect.makeFuncStub", "reflect.methodValueCall":
    		// These take a *reflect.methodValue as their
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    		accessKey       string
    		err             error
    	)
    
    	var unescapedQueries []string
    	unescapedQueries, err = unescapeQueries(encodedQuery)
    	if err != nil {
    		return ErrInvalidQueryParams
    	}
    
    	// Extract the necessary values from presigned query, construct a list of new filtered queries.
    	for _, query := range unescapedQueries {
    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top