Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for gallery (0.17 sec)

  1. internal/dsync/drwmutex.go

    // resources to ensure no deadlocks for future callers
    func checkFailedUnlocks(locks []string, tolerance int) bool {
    	unlocksFailed := 0
    	for lockID := range locks {
    		if isLocked(locks[lockID]) {
    			unlocksFailed++
    		}
    	}
    
    	// Unlock failures are higher than tolerance limit
    	// for this instance of unlocker, we should let the
    	// caller know that lock is not successfully released
    	// yet.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    		return err
    	}
    
    	sys.Set(meta.Name, meta)
    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    func handleNamespace(istioNamespace string) string {
    	if istioNamespace == "" {
    		istioNamespace = constants.IstioSystemNamespace
    	}
    	return istioNamespace
    }
    
    // TODO(nmittler): Remove this once Pilot migrates to galley schema.
    func convertObjectFromUnstructured(schema resource.Schema, un *unstructured.Unstructured, domain string) (*config.Config, error) {
    	data, err := fromSchemaAndJSONMap(schema, un.Object["spec"])
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. cmd/metacache.go

    		b = ""
    	}
    	if len(b) > 0 && !strings.HasSuffix(b, slashSeparator) {
    		b += slashSeparator
    	}
    	return b
    }
    
    // update cache with new status.
    // The updates are conditional so multiple callers can update with different states.
    func (m *metacache) update(update metacache) {
    	m.lastUpdate = UTCNow()
    
    	if m.lastHandout.After(m.lastHandout) {
    		m.lastHandout = UTCNow()
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/os_other.go

    					return err
    				}
    
    				// Ignore symlinked directories.
    				if fi.IsDir() {
    					continue
    				}
    			}
    			if err = filter(fi.Name(), fi.Mode()); err == errDoneForNow {
    				// filtering requested to return by caller.
    				return nil
    			}
    		}
    	}
    	return nil
    }
    
    // Return entries at the directory dirPath.
    func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err error) {
    	d, err := Open(dirPath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    // for the file metadata. [Writer] takes ownership of fh and may mutate
    // its fields. The caller must not modify fh after calling [Writer.CreateHeader].
    //
    // This returns a [Writer] to which the file contents should be written.
    // The file's contents must be written to the io.Writer before the next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    	}
    
    	// Handle last byte, if any.
    	if i := len(line) - 1; i >= 0 {
    		b.lastByte = int(line[i])
    		b.lastRuneSize = -1
    	}
    
    	return
    }
    
    // ReadLine is a low-level line-reading primitive. Most callers should use
    // [Reader.ReadBytes]('\n') or [Reader.ReadString]('\n') instead or use a [Scanner].
    //
    // ReadLine tries to return a single line, not including the end-of-line bytes.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    	Description     string `json:"description,omitempty"`
    	OutputLevel     string `json:"output_level,omitempty"`
    	StackTraceLevel string `json:"stack_trace_level,omitempty"`
    	LogCallers      bool   `json:"log_callers,omitempty"`
    }
    
    type ScopeLevelPair struct {
    	scope    string
    	logLevel string
    }
    
    type scopeStackTraceLevelPair ScopeLevelPair
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    	if err != nil {
    		return toStorageErr(err)
    	}
    	return toStorageErr(st.Results(func(in []byte) error {
    		_, err := wr.Write(in)
    		return err
    	}))
    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/erasure.go

    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    // Updates are sent on a regular basis and the caller *must* consume them.
    func (er erasureObjects) nsScanner(ctx context.Context, buckets []BucketInfo, wantCycle uint32, updates chan<- dataUsageCache, healScanMode madmin.HealScanMode) error {
    	if len(buckets) == 0 {
    		return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top