- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 690 for ok (0.04 sec)
-
cmd/metacache-entries.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
association.go
for idx, field := range rel.FieldSchema.PrimaryFields { primaryValues[idx], _ = field.ValueOf(association.DB.Statement.Context, fieldValue.Index(i)) } if _, ok := relValuesMap[utils.ToStringKey(primaryValues...)]; !ok { validFieldValues = reflect.Append(validFieldValues, fieldValue.Index(i)) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
var mountPointCache sync.Map // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { 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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2K bytes - Viewed (0) -
src/archive/tar/writer.go
default: return n, nil } } func (sw *sparseFileWriter) ReadFrom(r io.Reader) (n int64, err error) { rs, ok := r.(io.ReadSeeker) if ok { if _, err := rs.Seek(0, io.SeekCurrent); err != nil { ok = false // Not all io.Seeker can really seek } } if !ok { return io.Copy(struct{ io.Writer }{sw}, r) } var readLastByte bool pos0 := sw.pos
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/tar/strconv.go
// return the remainder as r. func parsePAXRecord(s string) (k, v, r string, err error) { // The size field ends at the first space. nStr, rest, ok := strings.Cut(s, " ") if !ok { return "", "", s, ErrHeader } // Parse the first token as a decimal integer. n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
return } func tokenDataFromSecret(tokenSecret *v1.Secret) (ca, token []byte, err error) { var ok bool ca, ok = tokenSecret.Data[v1.ServiceAccountRootCAKey] if !ok { err = errMissingRootCAKey return } token, ok = tokenSecret.Data[v1.ServiceAccountTokenKey] if !ok { err = errMissingTokenKey return } return }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/erasure-sets.go
for i := 0; i < setCount; i++ { s.erasureDisks[i] = make([]StorageAPI, setDriveCount) } erasureLockers := map[string]dsync.NetLocker{} for _, endpoint := range endpoints.Endpoints { if _, ok := erasureLockers[endpoint.Host]; !ok { erasureLockers[endpoint.Host] = newLockAPI(endpoint) } } var wg sync.WaitGroup var lk sync.Mutex for i := 0; i < setCount; i++ { lockerEpSet := set.NewStringSet()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1) -
src/cmd/asm/internal/arch/arm64.go
"CS": arm64.SPOP_HS, "CC": arm64.SPOP_LO, } for s, opd := range specialMapping { arm64SpecialOperand[s] = opd } } if opd, ok := arm64SpecialOperand[name]; ok { return opd } return arm64.SPOP_END } // IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Sep 29 09:04:58 UTC 2022 - 10.4K bytes - Viewed (0) -
cmd/peer-rest-server.go
wg.Wait() return nil } func (s *peerRESTServer) BackgroundHealStatusHandler(_ *grid.MSS) (*grid.JSON[madmin.BgHealState], *grid.RemoteErr) { state, ok := getLocalBackgroundHealStatus(context.Background(), newObjectLayerFn()) if !ok { return nil, grid.NewRemoteErr(errServerNotInitialized) } return madminBgHealState.NewJSONWith(&state), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
istioctl/pkg/authz/listener.go
} } buf := strings.Builder{} buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n") for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} { if names, ok := actionToPolicy[action]; ok { sortedNames := make([]string, 0, len(names)) for name := range names { sortedNames = append(sortedNames, name) } sort.Strings(sortedNames) for _, name := range sortedNames {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 6K bytes - Viewed (0)