Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for Function1 (0.31 sec)

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

      base.SetPayload(mem.payload);
      return base;
    }
    
    // Wrapper that allows passing std::function across C API.
    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`.
    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/networking/core/listener_waypoint.go

    		port = service.Ports[0].Port
    
    		// Do not return blackhole cluster for service==nil case as there is a legitimate use case for
    		// calling this function with nil service: to route to a pre-defined statically configured cluster
    		// declared as part of the bootstrap.
    		// If blackhole cluster is needed, do the check on the caller side. See gateway and tls.go for examples.
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	if crypto.S3.IsRequested(header) && crypto.SSEC.IsRequested(header) {
    		return key, crypto.ErrIncompatibleEncryptionMethod
    	}
    
    	k, err := crypto.SSEC.ParseHTTP(header)
    	return k[:], err
    }
    
    // This function rotates old to new key.
    func rotateKey(ctx context.Context, oldKey []byte, newKeyID string, newKey []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) error {
    	kind, _ := crypto.IsEncrypted(metadata)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    type IAMStorageAPI interface {
    	// The role of the read-write lock is to prevent go routines from
    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    	lock() *iamCache
    	unlock()
    	rlock() *iamCache
    	runlock()
    	getUsersSysType() UsersSysType
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	pod            *v1.Pod
    	container      *v1.Container
    	sandboxAttempt uint32
    	attempt        int
    	createdAt      int64
    	state          runtimeapi.ContainerState
    }
    
    // makeAndSetFakePod is a helper function to create and set one fake sandbox for a pod and
    // one fake container for each of its container.
    func makeAndSetFakePod(t *testing.T, m *kubeGenericRuntimeManager, fakeRuntime *apitest.FakeRuntimeService,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. cmd/iam.go

    // parent is derived as a concatenation of the `sub` and `iss` fields. The
    // policies applicable to the STS credential are associated with this "virtual"
    // parent.
    //
    // When a policyName is given to this function, the policy association is
    // created and stored in the IAM store. Thus, it should NOT be given for the
    // role-arn case (because the role-to-policy mapping is separately stored
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		result.NextUploadIDMarker = ""
    	}
    
    	return result, nil
    }
    
    // newMultipartUpload - wrapper for initializing a new multipart
    // request; returns a unique upload id.
    //
    // Internally this function creates 'uploads.json' associated for the
    // incoming object at
    // '.minio.sys/multipart/bucket/object/uploads.json' on all the
    // disks. `uploads.json` carries metadata regarding on-going multipart
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    // the desired state of the kubelet should be reconciled with the actual state
    // in the pod worker and other pod-related components.
    //
    // This function is executed by the main sync loop, so it must execute quickly
    // and all nested calls should be asynchronous. Any slow reconciliation actions
    // should be performed by other components (like the volume manager). The duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_test.go

    func TestFilterChainMatchFields(t *testing.T) {
    	fcm := listener.FilterChainMatch{}
    	e := reflect.ValueOf(&fcm).Elem()
    	// If this fails, that means new fields have been added to FilterChainMatch, filterChainMatchEqual function needs to be updated.
    	if e.NumField() != 14 {
    		t.Fatalf("Expected 14 fields, got %v. This means we need to update filterChainMatchEqual implementation", e.NumField())
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_builder_test.go

    }
    
    func newGatewayProxy() *model.Proxy {
    	return &model.Proxy{Type: model.Router, Metadata: &model.NodeMetadata{}}
    }
    
    // Helper function to extract TLS context from a cluster
    func getTLSContext(t *testing.T, c *cluster.Cluster) *tls.UpstreamTlsContext {
    	t.Helper()
    	if c.TransportSocket == nil {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top