- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,107 for len (0.01 sec)
-
cni/pkg/install/install_test.go
in.cniConfigFilepath = cniConfigFilepath if err := file.AtomicCopy(filepath.Join("testdata", c.saFilename), tempDir, c.saFilename); err != nil { t.Fatal(err) } if len(c.invalidConfigFilename) > 0 { // Copy an invalid config file into tempDir if err := file.AtomicCopy(filepath.Join("testdata", c.invalidConfigFilename), tempDir, c.cniConfigFilename); err != nil { t.Fatal(err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
path = filepath.Dir(path) if v, ok := mountPointCache.Load(path); ok { return v.(bool) } wpath, _ := windows.UTF16PtrFromString(path) wvolume := make([]uint16, len(path)+1) if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil { mountPointCache.Store(path, false) return false } switch windows.GetDriveType(&wvolume[0]) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2K bytes - Viewed (0) -
cmd/site-replication_test.go
set.CreateStringSet("dep1", "dep2", "dep3", "dep4"), []string{}, }, } for i, tc := range testCases { names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites) if len(names) != len(tc.expNames) { t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 2.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
istioctl waypoint delete --all --namespace default`, Args: func(cmd *cobra.Command, args []string) error { if deleteAll && len(args) > 0 { return fmt.Errorf("cannot specify waypoint names when deleting all waypoints") } if !deleteAll && len(args) == 0 { return fmt.Errorf("must either specify a waypoint name or delete all using --all") } return nil },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
clause/returning.go
Columns []Column } // Name where clause name func (returning Returning) Name() string { return "RETURNING" } // Build build where clause func (returning Returning) Build(builder Builder) { if len(returning.Columns) > 0 { for idx, column := range returning.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } } else { builder.WriteByte('*') } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 27 23:56:55 UTC 2021 - 681 bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 5.4K bytes - Viewed (0) -
internal/logger/reqinfo.go
return nil } r.RLock() defer r.RUnlock() return append(make([]KeyVal, 0, len(r.tags)), r.tags...) } // GetTagsMap - returns the user defined tags in a map structure func (r *ReqInfo) GetTagsMap() map[string]string { if r == nil { return nil } r.RLock() defer r.RUnlock() m := make(map[string]string, len(r.tags)) for _, t := range r.tags { m[t.Key] = t.Val } return m }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
} // For each level, there should be two lines, one from direct log, // the other one from UDS server gotLogs := strings.Split( strings.TrimSuffix(string(out), "\n"), "\n") if want, got := len(cases)*2, len(gotLogs); want != got { t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs) } i := 0 for _, l := range gotLogs { var parsedLog map[string]any
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
) // printSecretItemsTabular prints the secret in table format func (w *sdsWriter) printSecretItemsTabular(secrets []SecretItem) error { if len(secrets) == 0 { fmt.Fprintln(w.w, "No secret items to show.") return nil } var hasUnknownTrustDomain bool for _, secret := range secrets { if secret.SecretMeta.TrustDomain == "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0)