Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Clojure (0.2 sec)

  1. cmd/erasure-server-pool.go

    		// mergeEntryChannels will close 'merged' channel upon completion or cancellation.
    		storageLogIf(ctx, mergeEntryChannels(ctx, entries, merged, 1))
    	}()
    
    	return nil
    }
    
    // HealObjectFn closure function heals the object.
    type HealObjectFn func(bucket, object, versionID string, scanMode madmin.HealScanMode) error
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. internal/http/listener.go

    func (listener *httpListener) start() {
    	// Closure to send acceptResult to acceptCh.
    	// It returns true if the result is sent else false if returns when doneCh is closed.
    	send := func(result acceptResult) bool {
    		select {
    		case listener.acceptCh <- result:
    			// Successfully written to acceptCh
    			return true
    		case <-listener.ctx.Done():
    			return false
    		}
    	}
    
    	// Closure to handle TCPListener until done channel is closed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	// try this server to generate a new token.
    
    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. cmd/erasure-sets.go

    		eps := make([]Endpoint, s.setDriveCount)
    		copy(eps, s.endpoints.Endpoints[setIndex*s.setDriveCount:setIndex*s.setDriveCount+s.setDriveCount])
    		return eps
    	}
    }
    
    // GetDisks returns a closure for a given set, which provides list of disks per set.
    func (s *erasureSets) GetDisks(setIndex int) func() []StorageAPI {
    	return func() []StorageAPI {
    		s.erasureDisksMu.RLock()
    		defer s.erasureDisksMu.RUnlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top