- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,209 for structs (0.12 sec)
-
cmd/update_test.go
import ( "encoding/hex" "fmt" "net/http" "net/http/httptest" "net/url" "os" "runtime" "strings" "testing" "time" ) func TestMinioVersionToReleaseTime(t *testing.T) { testCases := []struct { version string isOfficial bool }{ {"2017-09-29T19:16:56Z", true}, {"RELEASE.2017-09-29T19-16-56Z", false}, {"DEVELOPMENT.GOGET", false}, } for i, testCase := range testCases {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/util/clusters/wrapper.go
"istio.io/istio/pkg/util/protomarshal" ) // Wrapper is a wrapper around the Envoy Clusters // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.Clusters } // MarshalJSON is a custom marshaller to handle protobuf pain func (w *Wrapper) MarshalJSON() ([]byte, error) { return protomarshal.Marshal(w) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 1.2K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
*/ type connMgr struct { connectionSet map[*ZtunnelConnection]struct{} latestConn *ZtunnelConnection mu sync.Mutex } func (c *connMgr) addConn(conn *ZtunnelConnection) { log.Debug("ztunnel connected") c.mu.Lock() defer c.mu.Unlock() c.connectionSet[conn] = struct{}{} c.latestConn = conn ztunnelConnected.RecordInt(int64(len(c.connectionSet)))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
internal/config/lambda/event/targetlist.go
type TargetStats struct { TargetStats map[string]TargetStat } // TargetStat is the stats of a single target. type TargetStat struct { ID TargetID ActiveRequests int64 TotalRequests int64 FailedRequests int64 } // TargetList - holds list of targets indexed by target ID. type TargetList struct { sync.RWMutex targets map[TargetID]Target }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
// Internal structures used by the C API. These are likely to change and should // not be depended on. struct TF_SessionOptions { tensorflow::SessionOptions options; }; struct TF_DeprecatedSession { tensorflow::Session* session; }; struct TF_Library { void* lib_handle; TF_Buffer op_list; }; struct TF_Graph { TF_Graph(); mutable tensorflow::mutex mu; tensorflow::Graph graph TF_GUARDED_BY(mu);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
api/go1.22.txt
pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
package configdump import ( "bytes" "os" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestConfigWriter_Prime(t *testing.T) { tests := []struct { name string wantConfigs int inputFile string wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
// license that can be found in the LICENSE file. package tar import ( "math" "strings" "testing" "time" ) func TestFitsInBase256(t *testing.T) { vectors := []struct { in int64 width int ok bool }{ {+1, 8, true}, {0, 8, true}, {-1, 8, true}, {1 << 56, 8, false}, {(1 << 56) - 1, 8, true}, {-1 << 56, 8, true}, {(-1 << 56) - 1, 8, false},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
"istio.io/istio/cni/pkg/pluginlistener" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/sleep" ) // Just a composite of the CNI plugin add event struct + some extracted "args" type CNIPluginAddEvent struct { Netns string PodName string PodNamespace string IPs []IPConfig } // IPConfig contains an interface/gateway/address combo defined for a newly-started pod by CNI.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 6.7K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
cachevalue.Opts{ReturnLastGood: true}, loadNodesUpDown) } type driveIOStatMetrics struct { readsPerSec float64 readsKBPerSec float64 readsAwait float64 writesPerSec float64 writesKBPerSec float64 writesAwait float64 percUtil float64 } // storageMetrics - cached storage metrics. type storageMetrics struct { storageInfo madmin.StorageInfo
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0)