Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Patches (0.25 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

    struct HostCallbackContext {
      absl::AnyInvocable<absl::Status() &&> callback;
    };
    
    // This wrapper allows calling `HostCallbackContext::callback` across C API.
    // This function matches `SE_StatusCallbackFn` signature and will be passed as
    // `callback_fn` to `host_callback` in `SP_StreamExecutor`.
    void HostCallbackTrampoline(void* ctx, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			return true
    		}
    		if pol.Namespace != ns {
    			return false
    		}
    		sel := pol.Spec.Selector
    		if sel == nil {
    			return true // No selector matches everything
    		}
    		return labels.Instance(sel.MatchLabels).SubsetOf(matchLabels)
    	}))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/client.go

    	if err != nil {
    		return "", err
    	}
    	return meta.GetResourceVersion(), nil
    }
    
    // Delete implements store interface
    // `resourceVersion` must be matched before deletion is carried out. If not possible, a 409 Conflict status will be
    func (cl *Client) Delete(typ config.GroupVersionKind, name, namespace string, resourceVersion *string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/server_test.go

    		t.Fatalf("WriteFile(%v) failed: %v", caFile, err)
    	}
    
    	tlsOptions := TLSOptions{
    		CertFile:   certFile,
    		KeyFile:    keyFile,
    		CaCertFile: caFile,
    	}
    
    	// setup cert watches.
    	if err := s.initFileCertificateWatches(tlsOptions); err != nil {
    		t.Fatalf("initCertificateWatches failed: %v", err)
    	}
    
    	if err := s.initIstiodCertLoader(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_test.go

    			Number:   7443,
    			Name:     "grpc-core",
    			Protocol: "GRPC",
    		},
    	}
    	svc := findOrCreateService(instances, ingress, "sidecar", "sidecarns")
    	if svc == nil || svc.Hostname.Matches("sidecar.sidecarns") {
    		t.Fatal("Expected to return a valid instance, but got nil/default instance")
    	}
    	if !reflect.DeepEqual(svc, service) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    // - Range over all the available buckets
    // - Check if a bucket has an entry in etcd backend
    // -- If no, make an entry
    // -- If yes, check if the entry matches local IP check if we
    //
    //	need to update the entry then proceed to update
    //
    // -- If yes, check if the IP of entry matches local IP.
    //
    //	This means entry is for this instance.
    //
    // -- If IP of the entry doesn't match, this means entry is
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/analyzers_test.go

    			{msg.VirtualServiceIneffectiveMatch, "VirtualService overlapping-in-single-match"},
    			{msg.VirtualServiceIneffectiveMatch, "VirtualService overlapping-in-two-matches"},
    			{msg.VirtualServiceIneffectiveMatch, "VirtualService overlapping-mathes-with-different-methods"},
    		},
    	},
    	{
    		name: "host defined in virtualservice not found in the gateway",
    		inputFiles: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder.go

    			cb.req.Push.AddMetric(model.DuplicatedClusters, c.Name, cb.proxyID,
    				fmt.Sprintf("Duplicate cluster %s found while pushing CDS", c.Name))
    		}
    	}
    	return out
    }
    
    // getAllCachedSubsetClusters either fetches all cached clusters for a given key (there may be multiple due to subsets)
    // and returns them along with allFound=True, or returns allFound=False indicating a cache miss. In either case,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    // is more efficient than decrypting ETags sequentually.
    func DecryptETags(ctx context.Context, k *kms.KMS, objects []ObjectInfo) error {
    	const BatchSize = 250 // We process the objects in batches - 250 is a reasonable default.
    	var (
    		metadata = make([]map[string]string, 0, BatchSize)
    		buckets  = make([]string, 0, BatchSize)
    		names    = make([]string, 0, BatchSize)
    	)
    	for len(objects) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    			ModTime:    expPart.ModTime,
    			Index:      expPart.Index,
    			Checksums:  nil, // Not transferred since we do not need it.
    		}
    	}
    
    	if opts.WantChecksum != nil {
    		err := opts.WantChecksum.Matches(checksumCombined, len(parts))
    		if err != nil {
    			return oi, err
    		}
    	}
    
    	if !opts.NoLock {
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top