- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 1,349 for Struct (0.08 sec)
-
cmd/namespace-lock_test.go
nsLk := newNSLock(false) // lk1; ref=1 if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) { t.Fatal("failed to acquire lock") } // lk2 lk2ch := make(chan struct{}) go func() { defer close(lk2ch) nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond) }() time.Sleep(1 * time.Millisecond) // wait for goroutine to advance; ref=2
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 3.1K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
manifestsPath = "" overwrite = false skipConfirmation = false webhookName = "" autoInjectNamespaces = false outputFormat = util.TableFormat ) type tagDescription struct { Tag string `json:"tag"` Revision string `json:"revision"` Namespaces []string `json:"namespaces"` } func TagCommand(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "tag",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/util/sets" ) // RouteFilter is used to pass filter information into route based config writer print functions type RouteFilter struct { Name string Verbose bool } // Verify returns true if the passed route matches the filter fields func (r *RouteFilter) Verify(route *route.RouteConfiguration) bool { if r.Name != "" && r.Name != route.Name {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
} type badConfigErr struct { Err error } // Error - return the error message func (bce badConfigErr) Error() string { return bce.Err.Error() } // Unwrap the error to its underlying error. func (bce badConfigErr) Unwrap() error { return bce.Err } type setConfigResult struct { Cfg config.Config SubSys string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/storage-rest-server.go
} // closeNotifier is itself a ReadCloser that will notify when either an error occurs or // the Close() function is called. type closeNotifier struct { rc io.ReadCloser done chan struct{} } func (c *closeNotifier) Read(p []byte) (n int, err error) { n, err = c.rc.Read(p) if err != nil { if c.done != nil { xioutil.SafeClose(c.done) c.done = nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 45.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
} return SetAttrStringList(attr_name, reinterpret_cast<const void**>(raw_strs.data()), lengths.data(), values.size()); } namespace internal { struct AbstractOperationDeleter { void operator()(AbstractOperation* p) const { if (p != nullptr) { p->Release(); } } }; } // namespace internal using AbstractOperationPtr =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
cni/test/install_k8s_test.go
// and the existence of the CNI plugin binary locations. package install_test import ( "testing" install "istio.io/istio/cni/test" "istio.io/istio/pkg/test/env" ) type testCase struct { name string chainedCNIPlugin bool preConfFile string resultFileName string // Must set chainedCNIPlugin to true if delayedConfFile is specified delayedConfFile string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 23:59:49 UTC 2024 - 7.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
"google.golang.org/protobuf/types/known/anypb" "sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/proto" "istio.io/istio/pilot/pkg/networking/util" "istio.io/istio/pkg/slices" ) type EndpointFilter struct { Address string Port uint32 Cluster string Status string } // Verify returns true if the passed host matches the filter fields
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
newVals := make([][]byte, 0, sz) var removeKey func(s []byte) bool // Copy if big number of compares... if len(keys) > 5 && sz > 5 { mKeys := make(map[string]struct{}, len(keys)) for _, key := range keys { mKeys[key] = struct{}{} } removeKey = func(s []byte) bool { _, ok := mKeys[string(s)] return ok } } else { removeKey = func(s []byte) bool { for _, key := range keys {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
) // Config is whatever you expect your configuration json to be. This is whatever // is passed in on stdin. Your plugin may wish to expose its functionality via // runtime args, see CONVENTIONS.md in the CNI spec. type Config struct { types.NetConf // Add plugin-specific flags here PluginLogLevel string `json:"plugin_log_level"` CNIAgentRunDir string `json:"cni_agent_run_dir"` AmbientEnabled bool `json:"ambient_enabled"`
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 10.5K bytes - Viewed (0)